diff options
author | Fabian Meumertzheim <meumertzheim@code-intelligence.com> | 2021-12-10 22:24:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-10 22:24:36 +0100 |
commit | 3daebce38644ea1ec432bbc7e37825e58d0fea43 (patch) | |
tree | 8c322038cd6d63f5fd7db6f9289a137b2585051d /agent | |
parent | 1571e29446b4a574a34c043262a1c53ff0019ef7 (diff) | |
download | jazzer-api-3daebce38644ea1ec432bbc7e37825e58d0fea43.tar.gz |
Disable GEP instrumentation by default (#248)
Diffstat (limited to 'agent')
-rw-r--r-- | agent/src/main/java/com/code_intelligence/jazzer/agent/Agent.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/agent/src/main/java/com/code_intelligence/jazzer/agent/Agent.kt b/agent/src/main/java/com/code_intelligence/jazzer/agent/Agent.kt index cd8d7255..33d02263 100644 --- a/agent/src/main/java/com/code_intelligence/jazzer/agent/Agent.kt +++ b/agent/src/main/java/com/code_intelligence/jazzer/agent/Agent.kt @@ -95,7 +95,11 @@ fun premain(agentArgs: String?, instrumentation: Instrumentation) { "gep" -> setOf(InstrumentationType.GEP) "indir" -> setOf(InstrumentationType.INDIR) "native" -> setOf(InstrumentationType.NATIVE) - "all" -> InstrumentationType.values().toSet() + // Disable GEP instrumentation by default as it appears to negatively affect fuzzing + // performance. Our current GEP instrumentation only reports constant indices, but even + // when we instead reported non-constant indices, they tended to completely fill up the + // table of recent compares and value profile map. + "all" -> InstrumentationType.values().toSet() - InstrumentationType.GEP else -> { println("WARN: Skipping unknown instrumentation type $it") emptySet() |