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