[LLVMdev] DataFlowSanitizer only for Linux

Juan Ceasar juan.d.ceasar at gmail.com
Mon Jul 6 12:59:31 PDT 2015


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150706/d2a1e623/attachment.html>


More information about the llvm-dev mailing list