mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-01 21:43:57 +00:00
[fuzzer] Add monster_debug target (#6513)
Add the `monster_debug` target for better troubleshooting. Improve oss-fuzz logs.
This commit is contained in:
@@ -175,4 +175,16 @@ if(BUILD_DEBUGGER)
|
||||
scalar_debug.cpp
|
||||
)
|
||||
target_link_libraries(scalar_debug PRIVATE flatbuffers_nonfuzz)
|
||||
|
||||
add_executable(monster_debug
|
||||
flatbuffers_monster_fuzzer.cc
|
||||
monster_debug.cpp
|
||||
)
|
||||
target_link_libraries(monster_debug PRIVATE flatbuffers_nonfuzz)
|
||||
add_custom_command(
|
||||
TARGET monster_debug PRE_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy
|
||||
${CMAKE_SOURCE_DIR}/../monster_test.bfbs
|
||||
${CMAKE_CURRENT_BINARY_DIR}/monster_test.bfbs)
|
||||
|
||||
endif(BUILD_DEBUGGER)
|
||||
|
||||
Reference in New Issue
Block a user