Skip to content
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

No coverage percentage output in Hyperpill fuzzing with Clang source coverage #14

Open
HanzhongPeng opened this issue Feb 7, 2025 · 0 comments

Comments

@HanzhongPeng
Copy link

Hello Hyperpill team,

I am trying to enable source coverage output while fuzzing Hyperpill using Clang's source-based coverage. I followed the instructions from Discord and compiled L1 QEMU with the following configuration
export CC=clang export CXX=clang++ export CFLAGS="-fprofile-instr-generate -fcoverage-mapping" export CXXFLAGS="-fprofile-instr-generate -fcoverage-mapping" ./configure --target-list=x86_64-softmmu --enable-slirp --enable-sanitizers
I also set NOCOV=0 in scripts/run_hyperpill.sh. However, there is no coverage percentage output during fuzzing.
I have checked that Clang's coverage instrumentation should be enabled, but I am unsure if there are additional configurations required for Hyperpill to generate and display coverage data.
Could you provide any guidance on how to properly enable and retrieve coverage statistics while fuzzing Hyperpill?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant