Skip to content
Snippets Groups Projects
Commit 91017d3e authored by Serge Lamikhov-Center's avatar Serge Lamikhov-Center
Browse files

Add ASAN sanitizer to the fuzzer

parent 1b4dc7be
No related branches found
No related tags found
No related merge requests found
......@@ -65,11 +65,11 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
elfio::elfio)
target_compile_options(elfio_fuzzer
PRIVATE $<$<C_COMPILER_ID:Clang>:-g -O1 -fsanitize=fuzzer>
PRIVATE $<$<C_COMPILER_ID:Clang>:-g -O1 -fsanitize=fuzzer,address>
)
target_link_libraries(elfio_fuzzer
PRIVATE $<$<C_COMPILER_ID:Clang>:-fsanitize=fuzzer>
PRIVATE $<$<C_COMPILER_ID:Clang>:-fsanitize=fuzzer,address>
)
endif()
......
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