mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 05:17:34 +00:00
Fuzzers: Add a basic input shim when running standalone
This commit is contained in:
parent
bf502ae3b0
commit
743922984c
2 changed files with 93 additions and 0 deletions
|
@ -12,6 +12,9 @@ function(add_simple_fuzzer name)
|
|||
PUBLIC ${ARGN} LagomCore
|
||||
PRIVATE $<$<CXX_COMPILER_ID:Clang>:-fsanitize=fuzzer>
|
||||
)
|
||||
else()
|
||||
target_sources(${name} PRIVATE "EntryShim.cpp")
|
||||
target_link_libraries(${name} PUBLIC ${ARGN} LagomCore)
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue