-
Is there a way to see code-coverage similar to the report that JaCoCoi tself provides? It would be useful to see how to improve the fuzzing implementation to visit more code parts. I tried the coverage functionality of libfuzzer but this is too low-level. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
We just merged a commit that makes Jazzer honor JAVA_OPTS. With this, you can get coverage as follows:
@centic9 Could you give this process a try? If it works for you, we could add it to the README. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the hints, the new JAVA_OPTS is actually not even required as the --java_args option already allows to do this. Only tricky thing is to escape the colon in the -javaagent argument to not have the java_args split by Jazzer. The following steps did work for me with the current release 0.10.0:
Adding something like this to the README would be nice! |
Beta Was this translation helpful? Give feedback.
Thanks for the hints, the new JAVA_OPTS is actually not even required as the --java_args option already allows to do this.
Only tricky thing is to escape the colon in the -javaagent argument to not have the java_args split by Jazzer.
The following steps did work for me with the current release 0.10.0: