Please note that this feature was hacked in a short time and there might be some better way to do that or there might be a better set of flags to get profiling.
I am happy to update this PR according to the comments.
This can also be further updated by e.g. adding a run-grcov which would run such built binary against all crashes and inputs and generate a zip with grcov profiling data (that can later be used to generate coverage report for given sources/package).
Thanks @disconnect3d ! (and sorry for answering lately)
Would you mind very quickly explaining how you then use the resulting binary so that maybe I'll also create a run-grcov command too :-)
This adds a
build-grcov
command described in https://github.com/rust-fuzz/honggfuzz-rs/issues/28.Please note that this feature was hacked in a short time and there might be some better way to do that or there might be a better set of flags to get profiling.
I am happy to update this PR according to the comments.
This can also be further updated by e.g. adding a
run-grcov
which would run such built binary against all crashes and inputs and generate a zip with grcov profiling data (that can later be used to generate coverage report for given sources/package).