We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9649bdf + fe62be1 commit cc40a88Copy full SHA for cc40a88
afl-cov
@@ -821,7 +821,13 @@ def is_bin_gcov_enabled(binary, cargs):
821
False, cargs, WANT_OUTPUT)[1]:
822
if ' __gcov' in line:
823
if cargs.validate_args or cargs.gcov_check or cargs.gcov_check_bin:
824
- print "[+] Binary '%s' is compiled with code coverage support." % binary
+ print "[+] Binary '%s' is compiled with code coverage support gcc." % binary
825
+ rv = True
826
+ break
827
+
828
+ if '__llvm_gcov' in line:
829
+ if cargs.validate_args or cargs.gcov_check or cargs.gcov_check_bin:
830
+ print "[+] Binary '%s' is compiled with code coverage support via llvm." % binary
831
rv = True
832
break
833
0 commit comments