Skip to content
Snippets Groups Projects
Commit 85496d4a authored by Dmitriy Nesterov's avatar Dmitriy Nesterov Committed by Igor Munkin
Browse files

test/fuzz: add options for better fuzzing

Added options for fuzzing and for getting more information
on debugging.

NO_CHANGELOG=<fuzzing options>
NO_DOC=<fuzzing options>
NO_TEST=<fuzzing options>

(cherry picked from commit 69f21e25)
parent 2fc54ba1
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,10 @@ target_compile_options(
INTERFACE
$<$<NOT:$<BOOL:${OSS_FUZZ}>>:
-fsanitize=fuzzer
-fsanitize-coverage=trace-cmp
-fprofile-instr-generate
-fcoverage-mapping
-g
>
$<$<BOOL:${OSS_FUZZ}>:
${CXX}
......@@ -22,6 +26,10 @@ target_link_libraries(
INTERFACE
$<$<NOT:$<BOOL:${OSS_FUZZ}>>:
-fsanitize=fuzzer
-fsanitize-coverage=trace-cmp
-fprofile-instr-generate
-fcoverage-mapping
-g
>
$<$<BOOL:${OSS_FUZZ}>:
$ENV{LIB_FUZZING_ENGINE}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment