1
Fork 0
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:
Tim Schumacher 2022-03-21 18:31:37 +01:00 committed by Brian Gianforcaro
parent bf502ae3b0
commit 743922984c
2 changed files with 93 additions and 0 deletions

View file

@ -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()