From 8e50c0c103cade9723f115fc92e3065f64c79713 Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Mon, 10 Jun 2024 09:08:44 +0200 Subject: [PATCH] frida verbose --- docs/Changelog.md | 4 +++- frida_mode/src/util.c | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/Changelog.md b/docs/Changelog.md index 1eb284a0..be3e088c 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -4,7 +4,9 @@ release of the tool. See README.md for the general instruction manual. ### Version ++4.22a (dev) - - + - frida_mode: + - AFL_DEBUG is now the same as AFL_FRIDA_VERBOSE + - AFL_FRIDA_DEBUG_MAPS now works as expected ### Version ++4.21c (release) diff --git a/frida_mode/src/util.c b/frida_mode/src/util.c index 90c10917..1843a78b 100644 --- a/frida_mode/src/util.c +++ b/frida_mode/src/util.c @@ -110,7 +110,11 @@ gboolean util_verbose_enabled(void) { if (!initialized) { initialized = TRUE; - if (getenv("AFL_FRIDA_VERBOSE") != NULL) { util_verbose = TRUE; } + if (getenv("AFL_FRIDA_VERBOSE") || getenv("AFL_DEBUG")) { + + util_verbose = TRUE; + + } }