You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
macro(fuzzer name)
|
|
add_executable(${name} ${name}.cpp)
|
|
set_target_properties(${name}
|
|
PROPERTIES
|
|
COMPILE_FLAGS "-fsanitize=fuzzer"
|
|
LINK_FLAGS "-fsanitize=fuzzer")
|
|
target_link_libraries(${name}
|
|
PRIVATE
|
|
exiv2lib
|
|
)
|
|
endmacro()
|
|
|
|
fuzzer(fuzz-read-print-write)
|