[LLVMdev] libFuzzer newbie question
Chandler Carruth
chandlerc at google.com
Thu Jul 9 18:20:08 PDT 2015
Explicitly CC-ing Kostya...
On Sat, Jul 4, 2015 at 1:30 PM Juan Ceasar <juan.d.ceasar at gmail.com> wrote:
> So I was curious to start using the libFuzzer, but trying to follow along
> I got the following error:
>
> 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
>
> "_dfsan_read_label", referenced from:
>
> _dfsan_weak_hook_memcmp in FuzzerTraceState.o
>
> "_dfsan_set_label", referenced from:
>
> fuzzer::Fuzzer::InitializeTraceState() in FuzzerTraceState.o
>
> ld: symbol(s) not found for architecture x86_64
>
> clang-3.7: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
>
>
>
> Any hints as to what I'm doing wrong? Thanks
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150710/d082c61a/attachment.html>
More information about the llvm-dev
mailing list