Skip to content

Commit 6c0c847

Browse files
lebe-gV8-internal LUCI CQ
authored andcommitted
Use logger.warning() instead of logger.info() on instrumentation crash
We need at least "warning" level to see logs from worker threads. Change-Id: I4ec5d9d89f5697cf5710a250888e054789716f78 Reviewed-on: https://chrome-internal-review.googlesource.com/c/v8/fuzzilli/+/9151416 Commit-Queue: Leon Bettscheider <bettscheider@google.com> Reviewed-by: Matthias Liedtke <mliedtke@google.com> Reviewed-by: Michael Achenbach <machenbach@google.com>
1 parent e0f0b0b commit 6c0c847

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/Fuzzilli/Mutators/RuntimeAssistedMutator.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,15 +129,15 @@ public class RuntimeAssistedMutator: Mutator {
129129

130130
let execution = fuzzer.execute(mutatedProgram, withTimeout: fuzzer.config.timeout , purpose: .runtimeAssistedMutation)
131131
if case .crashed(let signal) = execution.outcome {
132-
logger.info("Mutated program crashed as well, reporting mutated program instead")
132+
logger.warning("Mutated program crashed as well, reporting mutated program instead")
133133
let stdout = execution.fuzzout + "\n" + execution.stdout
134134
fuzzer.processCrash(mutatedProgram, withSignal: signal, withStderr: execution.stderr, withStdout: stdout, origin: .local, withExectime: execution.execTime)
135135
return failure(.instrumentedProgramCrashed)
136136
}
137137
}
138138

139139
// If we reach here, the process()'d program did not crash, so we need to report the instrumented program.
140-
logger.info("Mutated program did not crash, reporting original crash of the instrumented program")
140+
logger.warning("Mutated program did not crash, reporting original crash of the instrumented program")
141141
fuzzer.processCrash(instrumentedProgram, withSignal: signal, withStderr: oldStderr, withStdout: stdout, origin: .local, withExectime: execution.execTime)
142142
case .succeeded:
143143
// The expected case.

0 commit comments

Comments
 (0)