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

A warning should be emphasized in README! #32

Open
CookedMelon opened this issue Dec 18, 2024 · 0 comments
Open

A warning should be emphasized in README! #32

CookedMelon opened this issue Dec 18, 2024 · 0 comments

Comments

@CookedMelon
Copy link

When running project with docker, you should not let the tested library in the /fuzz directory(which is the working directory set by Dockerfile).

More strictly speaking, the user should keep the full path of the tested library not have words like (fuzzing|fuzz|test|OT|cre2|oss|examples), which is mentioned in the cov part of hopper file.

So if you don't notice this you will see the coverage ars zero in the report.

image

Since the working directory mounted by the Docker is /fuzz, the above problems are more likely to be encountered. It is best to be highlighted it in the README OR display the concrete content of -ignore-filename-regex when running llvm-cov report in the hopper script .

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