about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArnaud Rebillout <arnaudr@kali.org>2024-04-16 14:15:32 +0700
committerArnaud Rebillout <arnaudr@kali.org>2024-04-17 16:40:55 +0700
commitd84cc73d1350409b13c035da1179d7fd270041c8 (patch)
treec2e7bf43314cdbeab1279a77bec43f13e132c9cd
parent6b049536f1614892df99f7c1ebd7710192b607a8 (diff)
downloadafl++-d84cc73d1350409b13c035da1179d7fd270041c8.tar.gz
afl-cc: Add missing debug statement
For each path that is tried, there's a debug log printed, _except_ for
this one. Fix it.
-rw-r--r--src/afl-cc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c
index 45fd398b..5c059be2 100644
--- a/src/afl-cc.c
+++ b/src/afl-cc.c
@@ -464,6 +464,8 @@ u8 *find_object(aflcc_state_t *aflcc, u8 *obj) {
             *slash = 0;
             tmp = alloc_printf("%s/%s", exepath, obj);
 
+            if (aflcc->debug) DEBUGF("Trying %s\n", tmp);
+
             if (!access(tmp, R_OK)) { return tmp; }
 
             ck_free(tmp);