Some error about Instrumentment

201 views
Skip to first unread message

Xiaobo Xiang

unread,
Mar 16, 2017, 12:50:55 AM3/16/17
to libf...@googlegroups.com
Hello , 

I've met a  problem when using libfuzzer , I'm not sure whether it is my problem . 

I followed the instructions in the website :
===

$ export CXX=clang++-3.8

$ ./build.sh
ar : `u' modifier gnored since `D' is the defualt (see `U')
ar : creating libFuzzer.a

$ clang++-3.8 fsanitize-coverage=bb -fsanitize=address test/MemcmpTest.cpp libFuzzer.a -std=gnu++11

$ ./a.out
INFO: Seed 194626137
INFO: Loaded 0 modules ( 0 guards) : 
INFO: -max-len is not provided , using 64
INFO: A corpus is not providec, starting from an empty corpus
#0    : READ units: 1 
#1    : INITED exec/s: 0  rss: 15Mb
ERROR:  no interesting inputs were found. Is the code instrumented for coverage? Exiting.

===

I also tried $ ASAN_OPTIONS=coverage=1 ./a.out , and tried to add test cases as init corpus , and even tried to give it a crash testcase directly , the crash could occur , but still show :

ERROR:  no interesting inputs were found. Is the code instrumented for coverage? Exiting.

Could you please help me point out the reason to this issue , 
Thanks a lot !

Best wishes . 
Xiang Xiaobo

Konstantin Serebryany

unread,
Mar 16, 2017, 12:52:41 AM3/16/17
to Xiaobo Xiang, libfuzzer
Hi Xiaobo, 
Please make sure to use the fresh clang: http://libfuzzer.info#versions
Clang 3.8 is not going to work. 

--kcc 

--
You received this message because you are subscribed to the Google Groups "libfuzzer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libfuzzer+unsubscribe@googlegroups.com.
To post to this group, send email to libf...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/libfuzzer/CAHHvYcrUd1OFp6jEFDEu77G0deocxeeH-eP6RCiyGgrcf2FZOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages