@@ -889,7 +889,7 @@ def is_gcov_enabled(cargs):
889
889
continue
890
890
if (which (part )):
891
891
found_exec = True
892
- if is_bin_gcov_enabled (part , cargs ):
892
+ if not cargs . disable_gcov_check and is_bin_gcov_enabled (part , cargs ):
893
893
found_code_cov_binary = True
894
894
break
895
895
@@ -898,7 +898,7 @@ def is_gcov_enabled(cargs):
898
898
"--coverage-cmd '%s'" % cargs .coverage_cmd
899
899
return False
900
900
901
- if not found_code_cov_binary :
901
+ if not cargs . disable_gcov_check and not found_code_cov_binary :
902
902
print "[*] Could not find an executable binary with code " \
903
903
"coverage support ('-fprofile-arcs -ftest-coverage') " \
904
904
"in --coverage-cmd '%s'" % cargs .coverage_cmd
@@ -1139,6 +1139,9 @@ def parse_cmdline():
1139
1139
p .add_argument ("--gcov-check-bin" , type = str ,
1140
1140
help = "Test a specific binary for code coverage support" ,
1141
1141
default = False )
1142
+ p .add_argument ("--disable-gcov-check" , type = str ,
1143
+ help = "Disable check for code coverage support" ,
1144
+ default = False )
1142
1145
p .add_argument ("--background" , action = 'store_true' ,
1143
1146
help = "Background mode - if also in --live mode, will exit when the alf-fuzz process is finished" ,
1144
1147
default = False )
0 commit comments