diff options
| author | van Hauser <vh@thc.org> | 2023-02-02 09:32:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-02 09:32:19 +0100 |
| commit | f01bf77604c7d5b2ee12a44cbb3dbd615ad9565e (patch) | |
| tree | aeda5c81d08afdcea747397d4b84f4d0cbc8d153 /frida_mode/src/instrument/instrument.c | |
| parent | 3e8a691a81c08c174467e3d7ae04328a4d6be29e (diff) | |
| parent | 686382c328ab3a131fe151504c6e113ddfbdf168 (diff) | |
| download | afl++-f01bf77604c7d5b2ee12a44cbb3dbd615ad9565e.tar.gz | |
Merge pull request #1632 from AFLplusplus/dev
push to stable
Diffstat (limited to 'frida_mode/src/instrument/instrument.c')
| -rw-r--r-- | frida_mode/src/instrument/instrument.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/frida_mode/src/instrument/instrument.c b/frida_mode/src/instrument/instrument.c index e1e4ac22..a6aac666 100644 --- a/frida_mode/src/instrument/instrument.c +++ b/frida_mode/src/instrument/instrument.c @@ -27,6 +27,7 @@ gboolean instrument_optimize = false; gboolean instrument_unique = false; guint64 instrument_hash_zero = 0; guint64 instrument_hash_seed = 0; +gboolean instrument_suppress = false; gboolean instrument_use_fixed_seed = FALSE; guint64 instrument_fixed_seed = 0; @@ -290,6 +291,7 @@ void instrument_config(void) { (getenv("AFL_FRIDA_INST_UNSTABLE_COVERAGE_FILE")); instrument_coverage_insn = (getenv("AFL_FRIDA_INST_INSN") != NULL); instrument_regs_filename = getenv("AFL_FRIDA_INST_REGS_FILE"); + instrument_suppress = (getenv("AFL_FRIDA_INST_NO_SUPPRESS") == NULL); instrument_debug_config(); instrument_coverage_config(); @@ -321,6 +323,9 @@ void instrument_init(void) { FOKF(cBLU "Instrumentation" cRST " - " cGRN "instructions:" cYEL " [%c]", instrument_coverage_insn ? 'X' : ' '); + FOKF(cBLU "Instrumentation" cRST " - " cGRN "suppression:" cYEL " [%c]", + instrument_suppress ? 'X' : ' '); + if (instrument_tracing && instrument_optimize) { WARNF("AFL_FRIDA_INST_TRACE implies AFL_FRIDA_INST_NO_OPTIMIZE"); |
