Enable data flow guided fuzzing using traces

This commit is contained in:
Daniel J. Hofmann 2016-04-13 15:10:01 +02:00 committed by Patrick Niklaus
parent cdf6baba1d
commit 5971822f82
No known key found for this signature in database
GPG Key ID: E426891B5F978B1B

View File

@ -26,7 +26,7 @@ if (ENABLE_FUZZING)
DEPENDS ${binary}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMAND ${CMAKE_COMMAND} -E make_directory "corpus/${binary}"
COMMAND ${binary} -jobs=${nproc} -workers=${nproc} -max_len=4096 "corpus/${binary}"
COMMAND ${binary} -use_traces=1 -jobs=${nproc} -workers=${nproc} -max_len=4096 "corpus/${binary}"
COMMENT "Fuzzing ${binary}" VERBATIM)
endmacro ()