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

--lcov-web-all crashes after the second report is finished #20

Closed MarkusTeufelberger closed 8 years ago

MarkusTeufelberger commented 8 years ago

Python complains that the file "lcov-web-final.html" already exists and kills the whole program, as soon as genhtml finishes the second report (around line 600).

http://stackoverflow.com/a/27103129 has a nice short function to fix this issue that works beautifully as a drop-in replacement.

mrash commented 8 years ago

Please let me know if you see any additional issues with this fix.