Commit cab3f42
chromium: Log target stdout and stderr on REPRL execution failures
Currently, when Fuzzilli fails to execute a script via the REPRL
protocol (e.g., if the target fails to launch and send the HELO message,
or crashes unexpectedly), the resulting error message is opaque (e.g.,
"Did not receive HELO message from child: Bad file descriptor").
Fuzzilli already captures the target's stdout and stderr in
memory-mapped files by default, this change extracts those buffers and
appends them to the Fuzzilli warning and error logs whenever
`reprl_execute` fails. This surfaces the actual crash dump, missing
dependencies, or startup errors directly in the logs, making debugging
broken targets locally or on bots significantly easier.
Bug: 492209808
Change-Id: If94fc9eadc97645ab240f648b7e6cf42378d091e
Reviewed-on: https://chrome-internal-review.googlesource.com/c/v8/fuzzilli/+/9095283
Auto-Submit: Giovanni Ortuño Urquidi <ortuno@google.com>
Reviewed-by: Matthias Liedtke <mliedtke@google.com>
Commit-Queue: Matthias Liedtke <mliedtke@google.com>1 parent b3dcb49 commit cab3f42
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
126 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
127 | 137 | | |
128 | 138 | | |
129 | 139 | | |
| |||
0 commit comments