aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPimyn Girgis <pimyn@google.com>2025-10-24 17:51:20 +0000
committerAleksandr Nogikh <nogikh@google.com>2025-11-03 13:16:21 +0000
commit963c9328faae3b3db7e6ec4989b6ad5c3c06f423 (patch)
treeeaf9c8586767af3cddcc71d0e19100d819cdba25 /tools
parent367d6e2f26472340aebf50604137461000c681dd (diff)
tools/syz-execprog: redirect syz-executor output to Os.Stderr
This change is necessary as it allows us to access the reports printed by syz-executor, such as KMEMLEAK reports. Fixes google#4728.
Diffstat (limited to 'tools')
-rw-r--r--tools/syz-execprog/execprog.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/syz-execprog/execprog.go b/tools/syz-execprog/execprog.go
index d2435141e..5b3244c28 100644
--- a/tools/syz-execprog/execprog.go
+++ b/tools/syz-execprog/execprog.go
@@ -182,6 +182,7 @@ func main() {
HandleInterrupts: true,
GDB: *flagGDB,
MachineChecked: ctx.machineChecked,
+ OutputWriter: os.Stderr,
}
if err := rpcserver.RunLocal(rpcCtx, cfg); err != nil {
tool.Fail(err)