Skip to content

Commit dd36023

Browse files
authored
Fix incorrect variable name in search_cov
1 parent 5a53be1 commit dd36023

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

afl-cov

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ def search_cov(cargs):
510510
if cargs.src_file:
511511
if cargs.src_file == src_file:
512512
logr("[+] Function '%s' in file: '%s' executed by: '%s', cycle: %s" \
513-
% (val, current_file, id_file, cycle_num),
513+
% (val, src_file, id_file, cycle_num),
514514
log_file, cargs)
515515
search_rv = True
516516
else:
@@ -523,7 +523,7 @@ def search_cov(cargs):
523523
and cargs.line_search and val == cargs.line_search:
524524
if cargs.src_file == src_file:
525525
logr("[+] Line '%s' in file: '%s' executed by: '%s', cycle: %s" \
526-
% (val, current_file, id_file, cycle_num),
526+
% (val, src_file, id_file, cycle_num),
527527
log_file, cargs)
528528
search_rv = True
529529

0 commit comments

Comments
 (0)