afl-cc: Add missing debug statement

For each path that is tried, there's a debug log printed, _except_ for
this one. Fix it.
This commit is contained in:
Arnaud Rebillout 2024-04-16 14:15:32 +07:00
parent 6b049536f1
commit d84cc73d13

View File

@ -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);