[google/syzkaller] 08415f: pkg/instance: refactor execprog interface

0 views
Skip to first unread message

Aleksandr Nogikh

unread,
Mar 31, 2026, 4:31:46 AM (10 days ago) Mar 31
to syzk...@googlegroups.com
Branch: refs/heads/gh-readonly-queue/master/pr-6860-d0af506ef4609d1bffbbbbae776b857a63d84b20
Home: https://github.com/google/syzkaller
Commit: 08415fb29b50aef4d30fe80a1c4f9a905d167cc9
https://github.com/google/syzkaller/commit/08415fb29b50aef4d30fe80a1c4f9a905d167cc9
Author: Aleksandr Nogikh <nog...@google.com>
Date: 2026-03-31 (Tue, 31 Mar 2026)

Changed paths:
M pkg/instance/execprog.go
M pkg/instance/instance.go
M pkg/manager/diff/repro.go
M pkg/repro/repro.go
M pkg/repro/repro_test.go
M pkg/repro/strace.go
M tools/syz-crush/crush.go

Log Message:
-----------
pkg/instance: refactor execprog interface

Unify the Run* methods: now they all take RunOptions plus the extra
parameters specific to each Run* method.

The new RunOptions structure also forces us to separate syz and C repro
execution in pkg/repro.


Commit: 942c5ae2bbcc84228ca6526477a4dc5fc145e2ab
https://github.com/google/syzkaller/commit/942c5ae2bbcc84228ca6526477a4dc5fc145e2ab
Author: Aleksandr Nogikh <nog...@google.com>
Date: 2026-03-31 (Tue, 31 Mar 2026)

Changed paths:
M pkg/instance/execprog.go

Log Message:
-----------
pkg/instance: refactor runCommand and runBinary

Make them accept RunOptions as well.


Commit: 58f74483b88879e6d9effcfb296b39d5a720bff9
https://github.com/google/syzkaller/commit/58f74483b88879e6d9effcfb296b39d5a720bff9
Author: Aleksandr Nogikh <nog...@google.com>
Date: 2026-03-31 (Tue, 31 Mar 2026)

Changed paths:
M pkg/instance/execprog.go
M pkg/osutil/osutil.go

Log Message:
-----------
pkg/instance: support crash dumps in ExecProgInstance

Try to extract a crash dump if the caller instructs the type to do so.


Commit: 6d1f78adfe61497cd23dd10e71cb0c63138caa43
https://github.com/google/syzkaller/commit/6d1f78adfe61497cd23dd10e71cb0c63138caa43
Author: Aleksandr Nogikh <nog...@google.com>
Date: 2026-03-31 (Tue, 31 Mar 2026)

Changed paths:
M tools/syz-crush/crush.go

Log Message:
-----------
tools/syz-crush: extract coverage dumps

Collect and save memory dumps for the crashed instances if memory_dump
is set in the syz-manager config.


Commit: e6229b76d4039b446f3981755c90440c4db3abb1
https://github.com/google/syzkaller/commit/e6229b76d4039b446f3981755c90440c4db3abb1
Author: Aleksandr Nogikh <nog...@google.com>
Date: 2026-03-31 (Tue, 31 Mar 2026)

Changed paths:
M pkg/instance/execprog.go

Log Message:
-----------
pkg/instance: report dump extraction errors more agressively

This way there's more chance they will be noticed.


Commit: 6100c168e6eb858c5022b78a9ac4e92daadd101e
https://github.com/google/syzkaller/commit/6100c168e6eb858c5022b78a9ac4e92daadd101e
Author: Aleksandr Nogikh <nog...@google.com>
Date: 2026-03-31 (Tue, 31 Mar 2026)

Changed paths:
M pkg/instance/execprog.go
M tools/syz-crush/crush.go

Log Message:
-----------
pkg/instance: rename CrashDump to MemoryDump

Improve the naming consistency.
Also, update the comments to make them more clear.


Compare: https://github.com/google/syzkaller/compare/08415fb29b50%5E...6100c168e6eb

To unsubscribe from these emails, change your notification settings at https://github.com/google/syzkaller/settings/notifications

Aleksandr Nogikh

unread,
Mar 31, 2026, 4:43:34 AM (10 days ago) Mar 31
to syzk...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages