-
Notifications
You must be signed in to change notification settings - Fork 83
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
lcov: ERROR: no valid records found in tracefile #36
Comments
I’ve just released 0.6.2 - any chance you could try to reproduce this with that version? Thanks. |
I can confirm that this problem still exists with 0.6.2, albeit in a slightly different way. Anyway, the problem seems to be still the same - for some reason trace.lcov_info is always empty while trace.lcov_base has at least some of the coverage information. As a result of lcov not being able to read trace.lcov_info it also cannot generate trace.lcov_info_final which is what afl-cov is trying to read. I can't understand or solve why lcov_info is not being populated with any of the afl-cov versions :( Any hints would be really appreciated. Thanks @mrash ! |
Hi guys, you need to change arguments in this part |
how exactly, I do not understand what this argument is ( even after reading the readme) |
|
I am having the same problem. My program is successfully being fuzzed, afl-cov is running and I'm getting this message amongst the errors: lcov: ERROR: no valid records found in tracefile ../fuzzgoat/out/cov/lcov/trace.lcov_info It appears that the trace.lcov_info file is not getting populated correctly (the trace.lcov_base file is though, so somethings working). Ideas? |
@jdwoolc How is the result with the hints I gave earlier in this thread? Make sure you pass the binary with coverage support only (you don't need the one instrumented with AFL). Should you also check the binary itself runs normally. Hope this help! |
@zhangysh1995 Thanks. It works. |
I still seem to be getting the errors below. Any guidance would be appreciated. gcc version: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 cmd to run afl-cov: ./afl-cov -d /tmp/fuzzgoat/out/ --live --coverage-cmd "./dir/fuzzgoat_inst -f AFL_FILE @@" --code-dir ./dir |
Hi, |
This is happening for flutter as well with |
I followed the instructions given in the workflow section. Running afl-cov gives me following error:
What am I doing wrong ?
The text was updated successfully, but these errors were encountered: