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