about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-06-10 09:08:44 +0200
committervanhauser-thc <vh@thc.org>2024-06-10 09:08:44 +0200
commit8e50c0c103cade9723f115fc92e3065f64c79713 (patch)
tree6835e9763ae54b4e06654b38e5b243f491c0dfc6
parentf2cd5e1d8e8a97ed86990c0eeb6f00e7c289fc44 (diff)
downloadafl++-8e50c0c103cade9723f115fc92e3065f64c79713.tar.gz
frida verbose
-rw-r--r--docs/Changelog.md4
-rw-r--r--frida_mode/src/util.c6
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;
+
+    }
 
   }