Skip to content

Commit 6d4fe06

Browse files
committed
driver: Fix condition for calling dumpReproducer
Previously, `dumpReproducer` was called for `@FuzzTest`s using Autofuzz, which is implemented as a static fuzz target method.
1 parent 9b3c1ae commit 6d4fe06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/code_intelligence/jazzer/driver/FuzzTargetRunner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ private static int runOne(long dataPtr, int dataLength) {
316316
// that satisfies the same purpose.
317317
// It also doesn't support the experimental mutator yet as that requires implementing Java code
318318
// generation for mutators.
319-
if (fuzzTargetInstance == null && !useExperimentalMutator) {
319+
if (findingHandler == null && !useExperimentalMutator) {
320320
dumpReproducer(data);
321321
}
322322

0 commit comments

Comments
 (0)