-
Notifications
You must be signed in to change notification settings - Fork 138
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
Code coverage instrumentation crashes without a stack trace. #776
Comments
Thanks for the report! We will take a look. |
I tested this on some of Jazzer's own examples and ran into a different exception when trying to instrument
The error went away when I added What are you ultimately trying to achieve? Since broad instrumentation filters, even when they don't lead to internal crashes, usually hurt the performance of the fuzzer, could you try using a more targeted filter? |
I work in a research group at TU Darmstadt (https://www.stg.tu-darmstadt.de/). We use Jazzer to dynamically record a call graph, which we compare to a static call graph to measure precision and recall. To assess the quality of the dynamic call graph, we would like to understand how well the dynamic call graph covers the complete program, including the JDK. That said, we now record coverage in a subsequent run without Jazzer. The subsequent run executes the program with inputs from the corpus jazzer created, while Jacoco records coverage and our own JVMTI agent records calls. So from my side, the issue can be closed. That said, it would have been helpful if Jazzer could list the classes that could not be instrumented, rather than crashing with a non-descriptive error message. Thanks for investigating this. |
Thanks for providing the context, this is very interesting.
It generally does this and also includes the exception that is the reason for a class not having been instrumented. However, determining these classes and printing the exceptions requires |
Hi, thanks for the great work!
I tried instrumenting all classes in the JDK with
--instrumentation_includes=java.**
. However, during instrumentation jazzer crashes without a stack trace:This makes it hard to understand what is going wrong.
To reproduce run
The text was updated successfully, but these errors were encountered: