1 # Tests the data flow tracer.
2 REQUIRES: linux, x86_64
4 # Disabling due to dfs$ prefix to .dfsan suffix change in DFSan.
5 # TODO(kcc): re-enable.
9 # Build the tracer and the test.
10 DISABLED: %no_fuzzer_cpp_compiler -c -fno-sanitize=all -fsanitize=dataflow %S/../../lib/fuzzer/dataflow/DataFlow.cpp -o %t-DataFlow.o
11 DISABLED: %no_fuzzer_cpp_compiler -c -fno-sanitize=all -fPIC %S/../../lib/fuzzer/dataflow/DataFlowCallbacks.cpp -o %t-DataFlowCallbacks.o
12 DISABLED: %no_fuzzer_cpp_compiler -fno-sanitize=all -fsanitize=dataflow -fsanitize-coverage=trace-pc-guard,pc-table,bb,trace-cmp %S/OnlySomeBytesTest.cpp %t-DataFlow*.o -o %t-DFT
13 DISABLED: %cpp_compiler %S/OnlySomeBytesTest.cpp -o %t-Fuzz
15 # Test that the fork mode can collect and use the DFT
16 DISABLED: rm -rf %t && mkdir %t
17 DISABLED: not %t-Fuzz -collect_data_flow=%t-DFT -use_value_profile=1 -runs=100000000 -fork=20 2> %t/log
18 DISABLED: grep BINGO %t/log