jazzer icon indicating copy to clipboard operation
jazzer copied to clipboard

Coverage keep increasing for Tomcat fuzz targets

Open henryrneh opened this issue 3 years ago • 0 comments

When I am writing fuzz targets for Tomcat, sometimes the coverage will keep increasing until it reaches JAZZER_MAX_NUM_COUNTERS. The Jazzer output shows that Jazzer keep instrumenting JdbcLeakPrevention.

I think this issue is triggered when I call tomcat.start() in the fuzzerTestOneInput.

Screenshot from 2022-07-08 13-44-45

https://github.com/apache/tomcat/blob/main/java/org/apache/catalina/loader/JdbcLeakPrevention.java

Maybe it's worth looking at how Jazzer interacts with JdbcLeakPrevention.

Thank you! Henry

henryrneh avatar Jul 08 '22 12:07 henryrneh