(original) (raw)

Afternoon,

I had an issue with trying to link a program with the DataFlowSanitizer functionality, this is from the libFuzzer project, and I was seeing:

clang++ -fsanitize=address -fsanitize-coverage=edge test\_fuzzer.cc Fuzzer\*.o

Undefined symbols for architecture x86\_64:

"\_dfsan\_create\_label", referenced from:

fuzzer::TraceState::DFSanCmpCallback(unsigned long, unsigned long, unsigned long, unsigned long long, unsigned long long, unsigned short, unsigned short) in FuzzerTraceState.o

fuzzer::Fuzzer::InitializeTraceState() in FuzzerTraceState.o

"\_dfsan\_get\_label\_info", referenced from:

fuzzer::TraceState::GetLabelRange(unsigned short) in FuzzerTraceState.o

.....

But then looking at the docs: http://clang.llvm.org/docs/DataFlowSanitizer.html

It appears that this is only supported under Linux? Is that right?