Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No instrumentation targets found during make: #1

Closed
genewitch opened this issue Jan 10, 2019 · 4 comments
Closed

No instrumentation targets found during make: #1

genewitch opened this issue Jan 10, 2019 · 4 comments

Comments

@genewitch
Copy link

$ CFLAGS="-Wa,-F" CC=/home/genewitch/UnTracer-AFL/untracer-clang CXX=/home/genewitch/UnTracer-AFL/untracer-clang++ ./configure --disable-shared

$ make

make[1]: Entering directory '/home/genewitch/libarchive-libarchive-b52dd6c'
  CC       libarchive/archive_entry_link_resolver.lo
afl-cc 2.52b by <lcamtuf@google.com>
afl-as 2.52b by <lcamtuf@google.com>
Instrumenting in forkserver-only mode...
Instrumenting in forkserver-only mode...
[!] WARNING: No instrumentation targets found.
  CC       libarchive/archive_entry_sparse.lo
afl-cc 2.52b by <lcamtuf@google.com>
afl-as 2.52b by <lcamtuf@google.com>
Instrumenting in forkserver-only mode...
Instrumenting in forkserver-only mode...
[!] WARNING: No instrumentation targets found.
  CC       libarchive/archive_entry_stat.lo
afl-cc 2.52b by <lcamtuf@google.com>
afl-as 2.52b by <lcamtuf@google.com>
Instrumenting in forkserver-only mode...
Instrumenting in forkserver-only mode...
[!] WARNING: No instrumentation targets found.
  CC       libarchive/archive_entry_strmode.lo
afl-cc 2.52b by <lcamtuf@google.com>
afl-as 2.52b by <lcamtuf@google.com>
Instrumenting in forkserver-only mode...
Instrumenting in forkserver-only mode...
[!] WARNING: No instrumentation targets found.
  CC       libarchive/archive_entry_xattr.lo
afl-cc 2.52b by <lcamtuf@google.com>
afl-as 2.52b by <lcamtuf@google.com>
Instrumenting in forkserver-only mode...
Instrumenting in forkserver-only mode...
[!] WARNING: No instrumentation targets found.
  CC       libarchive/archive_getdate.lo
afl-cc 2.52b by <lcamtuf@google.com>

this continues on until the binary is built, with some afl-as with the same warnings. Am i just too tired to do this tonight?

@genewitch
Copy link
Author

i should add that even with CC=/home/genewitch/UnTracer-AFL/untracer-gcc CXX=/home/genewitch/UnTracer-AFL/untracer-g++ ./configure --disable-shared CFLAGS="-g -O2 -Wall -Wformat -Wformat-security -no-pie" it still says "No instrumentation targets found"

@stevenagy
Copy link
Collaborator

That message is normal (I didn't really "clean up" all the infrastructure of afl-as/afl-cc). I'm a little surprised you aren't seeing instrumented 1 locations though. Have you tried running UnTracer-AFL with the resulting binary?

@genewitch
Copy link
Author

This was my fault :-) you can close it. I've been using AFL for so long (and i got the command switches wrong on the binary!) that i assumed it was broken. Thanks!

@stevenagy
Copy link
Collaborator

No worries! Glad you got it working. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants