fuzzcheck-rs
fuzzcheck-rs copied to clipboard
failed to parse LLVM covmap: InvalidVersion(6)
The version of LLVM covmap was updated to version 6, hence fuzzcheck-rs does no longer work with the latest rust version.
This results in the error
failed to parse LLVM covmap: InvalidVersion(6)
when trying to run fuzzcheck.
Just bumping the version number https://github.com/loiclec/fuzzcheck-rs/blob/9077693abd90bb44955ed008749b5902acfa65bd/fuzzcheck/src/code_coverage_sensor/llvm_coverage.rs#L710 does not seem to be sufficient.
From the LLVM documentation
There is one difference between versions 6 and 5: The first entry in the filename list is the compilation directory. When the filename is relative, the compilation directory is combined with the relative path to get an absolute path. This can reduce size by omitting the duplicate prefix in filenames.
I am not familiar with the LLVM coverage format, but (assuming this is the problem) this shouldn't be too hard to fix. I am quite busy at the moment, but will try to have a look on the weekend.