solidity/cmake/toolchains/libfuzzer.cmake
2019-04-03 10:27:05 +02:00

3 lines
179 B
CMake

# Require libfuzzer specific flags
set(CMAKE_CXX_FLAGS "-O1 -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libstdc++")