-
Notifications
You must be signed in to change notification settings - Fork 74
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
How can I generate a profraw file based on the output of my custom fuzzer? #1009
Comments
Hi, Any idea on how to solve it? |
Thanks for flagging this! You need to use either We need to check and alert if both flags are set, or maybe we need to change the semantics so that they are not mutually exclusive. |
Hi @lszekeres , What do you think? Thanks |
Sorry, I misspoke, they can be combined: fuzztest/fuzztest/init_fuzztest.cc Lines 57 to 61 in 787fb76
I initially understood that the problem was that when you use the two flags together the process doesn't stop. But I think that's not what you meant. |
No worries. In the end I now have coverage via the coverage.py file so If I remember properly even with |
@lszekeres , I'm running the fuzzer in this way:
As output I have the following
Is it possible to pass some sort of timeout for the entire fuzzing process? I have tried to find an option with no luck. Thanks |
Hi all,
I'm trying to get the code coverage of a simple test fuzzer but I cannot obtain a `.profraw" file.
I have enabled
-fprofile-instr-generate
and-fcoverage-mapping
in theBUILD.gn
file.I have tried the following so far
The text was updated successfully, but these errors were encountered: