File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -564,6 +564,8 @@ def lcov_gen_coverage(cov_paths, cargs):
564
564
lcov_opts = ''
565
565
if cargs .enable_branch_coverage :
566
566
lcov_opts += ' --rc lcov_branch_coverage=1'
567
+ if cargs .follow :
568
+ lcov_opts += ' --follow'
567
569
568
570
run_cmd (cargs .lcov_path \
569
571
+ lcov_opts
@@ -1104,6 +1106,8 @@ def parse_cmdline():
1104
1106
help = "top level AFL fuzzing directory" )
1105
1107
p .add_argument ("-c" , "--code-dir" , type = str ,
1106
1108
help = "Directory where the code lives (compiled with code coverage support)" )
1109
+ p .add_argument ("-f" , "--follow" , action = 'store_true' ,
1110
+ help = "Follow links when searching .da files" , default = False )
1107
1111
p .add_argument ("-O" , "--overwrite" , action = 'store_true' ,
1108
1112
help = "Overwrite existing coverage results" , default = False )
1109
1113
p .add_argument ("--disable-cmd-redirection" , action = 'store_true' ,
You can’t perform that action at this time.
0 commit comments