Skip to content

Commit

Permalink
FuzzTargetRunner: log coverage input directories on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
zgtm committed Jun 9, 2023
1 parent 10954df commit 8a2655c
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,15 @@ public static int startLibFuzzer(List<String> args) {
// https://github.com/llvm/llvm-project/blob/da3623de2411dd931913eb510e94fe846c929c24/compiler-rt/lib/fuzzer/FuzzerFlags.def#L19
args.add("-len_control=100");
}

for (String arg : args.subList(1, args.size())) {
if (!arg.startsWith("-")) {
String message = "using inputs from: ";
message += arg;
Log.info(message);
}
}

if (!IS_ANDROID) {
SignalHandler.initialize();
}
Expand Down

0 comments on commit 8a2655c

Please sign in to comment.