<div dir="ltr">Explicitly CC-ing Kostya...<br><br><div class="gmail_quote"><div dir="ltr">On Sat, Jul 4, 2015 at 1:30 PM Juan Ceasar <<a href="mailto:juan.d.ceasar@gmail.com">juan.d.ceasar@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">So I was curious to start using the libFuzzer, but trying to follow along I got the following error:<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>clang++ -fsanitize=address -fsanitize-coverage=edge test_fuzzer.cc Fuzzer*.o</div><div><br></div><div>Undefined symbols for architecture x86_64:</div><div><br></div><div> "_dfsan_create_label", referenced from:</div><div><br></div><div> fuzzer::TraceState::DFSanCmpCallback(unsigned long, unsigned long, unsigned long, unsigned long long, unsigned long long, unsigned short, unsigned short) in FuzzerTraceState.o</div><div><br></div><div> fuzzer::Fuzzer::InitializeTraceState() in FuzzerTraceState.o</div><div><br></div><div> "_dfsan_get_label_info", referenced from:</div><div><br></div><div> fuzzer::TraceState::GetLabelRange(unsigned short) in FuzzerTraceState.o</div><div><br></div><div> "_dfsan_read_label", referenced from:</div><div><br></div><div> _dfsan_weak_hook_memcmp in FuzzerTraceState.o</div><div><br></div><div> "_dfsan_set_label", referenced from:</div><div><br></div><div> fuzzer::Fuzzer::InitializeTraceState() in FuzzerTraceState.o</div><div><br></div><div>ld: symbol(s) not found for architecture x86_64</div><div><br></div><div>clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)</div></blockquote><div><br><br><br>Any hints as to what I'm doing wrong? Thanks<div><div><br></div></div></div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" rel="noreferrer" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div></div>