Lines Matching +full:- +full:fsanitize
17 # Usage '-fsanitize=address' doesn't allowed with '-fsanitize=memory'.
18 # MemorySanitizer will not work out-of-the-box, and will instead report false
19 # positives coming from uninstrumented code. Need to re-build both C++ standard
23 option(OSS_FUZZ "Set this option to use flags by oss-fuzz" OFF)
26 set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=lld")
28 # add_link_options(-stdlib=libc++)
31 # -stdlib=libc++ # Use Clang libc++ instead of GNU.
32 -std=c++17
33 -Wall
34 -pedantic
35 -Werror
36 -Wextra
37 -Wno-unused-parameter
38 -fsigned-char
39 -fno-omit-frame-pointer
40 -g # Generate source-level debug information
41 # -flto # enable link-time optimisation
45 # file:> llvm-link *.bc -o out.bc print call-graph:> opt out.bc -analyze -print-
46 # callgraph &> callgraph.txt set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -save-temps
47 # -flto")
56 -fsanitize-coverage=edge,trace-cmp
59 -fsanitize=fuzzer,undefined,address
62 -fsanitize=fuzzer,undefined,memory
63 -fsanitize-memory-track-origins=2
75 -fsanitize=fuzzer,undefined,address
78 -fsanitize=fuzzer,undefined,memory
140 COMMAND ${CMAKE_COMMAND} -E copy
152 -fsanitize=undefined,address
154 -fno-limit-debug-info
161 -fsanitize=undefined,address
186 COMMAND ${CMAKE_COMMAND} -E copy