jazzer
jazzer copied to clipboard
Suggestion.Listeners
Please add a listener to receive data when a failure|slow is detected. I am using
Jazzer.main(new String[]{"--autofuzz=...Class::method", "..."},Here);
I would like these fields:
- id execution
- DEDUP_TOKEN
- "test" execution time
- full stacktrace
- Crash-....java in byte[]
Mostly but not only due to our dependency on libFuzzer, which maintains quite a bit of global state, it is currently not possible to execute multiple fuzzing runs in a single process (that is, JVM). At least at the moment this means that a listener API of this kind would suggest use cases that aren't possible.
Could you describe in more detail what you would want to use this information for? Would more structured log output (e.g. in JSON) that you could parse be sufficient?
For some reason I can't get the output from system.err . JSON would be fine
CC @HenrichN for interest in structured logging.
By the way, fix where Paths.get("") was rewritten in junit tests. (https://github.com/CodeIntelligenceTesting/jazzer/issues/546)
crash-id creates Doesn't create Crash-ID.java files
Could you create a separate issue for that? I am not entirely sure I understand the problem, could you add some more details?
@fmeum https://github.com/CodeIntelligenceTesting/jazzer/issues/607
@henryrneh