mrash / afl-cov

Produce code coverage results with gcov from afl-fuzz test cases
GNU General Public License v2.0
465 stars 83 forks source link

option to skip found_code_cov_binary test #28

Closed umlaeute closed 8 years ago

umlaeute commented 8 years ago

i'm currently trying to use afl-cov to test a dlopen()ed library.

unfortunately the safety-nets in afl-cov give me a hard time, esp. the check whether the cmdline contains instrumented executables.

my main executable is not instrumented, but it loads a configuration that will trigger the dlopen()ing (and use) of an instrumented binary - so the coverage-cmd doesn't contain any hint about the binary in question.

rather than patching the afl-cov script, would it be possible to add a cmdline-flag to disable the found_code_cov_binary-test?

mrash commented 8 years ago

Thanks for the suggestion, added --disable-gcov-check