add other overflow test
This commit is contained in:
parent
eea3248bfc
commit
711cd7ed3d
@ -71,6 +71,12 @@ if (BUILD_LIBFUZZER)
|
|||||||
target_link_libraries(IntegerOverflow_LF deepstate_LF)
|
target_link_libraries(IntegerOverflow_LF deepstate_LF)
|
||||||
target_link_libraries (IntegerOverflow_LF "-fsanitize=fuzzer")
|
target_link_libraries (IntegerOverflow_LF "-fsanitize=fuzzer")
|
||||||
set_target_properties(IntegerOverflow_LF PROPERTIES COMPILE_DEFINITIONS "LIBFUZZER")
|
set_target_properties(IntegerOverflow_LF PROPERTIES COMPILE_DEFINITIONS "LIBFUZZER")
|
||||||
|
|
||||||
|
add_executable(IntegerOverflow_Addition_LF IntegerArithmetic.cpp)
|
||||||
|
target_link_libraries(IntegerOverflow_LF deepstate_LF)
|
||||||
|
target_link_libraries (IntegerOverflow_LF "-fsanitize=fuzzer")
|
||||||
|
set_target_properties(IntegerOverflow_LF PROPERTIES COMPILE_DEFINITIONS
|
||||||
|
"LIBFUZZER LIBFUZZER_WHICH_TEST=\"SignedInteger_AdditionOverflow\"")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_executable(IntegerArithmetic IntegerArithmetic.cpp)
|
add_executable(IntegerArithmetic IntegerArithmetic.cpp)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user