Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit 55aa7e5

Browse files
authored
Improve error output in libfuzzer verification (#3355)
1 parent 733247c commit 55aa7e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/agent/onefuzz/src/libfuzzer.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,10 @@ impl LibFuzzer {
278278

279279
if !result.status.success() {
280280
bail!(
281-
"libFuzzer failed when parsing an initial seed {:?}: stdout:{:?} stderr:{:?}",
281+
"libFuzzer failed when parsing an initial seed {:?}: cmd:{:?} exit_code: {:?} stdout:{:?} stderr:{:?}",
282282
input.file_name().unwrap_or_else(|| input.as_ref()),
283+
cmd,
284+
result.status,
283285
String::from_utf8_lossy(&result.stdout),
284286
String::from_utf8_lossy(&result.stderr),
285287
);

0 commit comments

Comments
 (0)