diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2025-12-29 10:57:44 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2025-12-29 10:40:10 +0000 |
| commit | f2002a20b29a753c857b8ba5134836ad7a20b9f7 (patch) | |
| tree | 2c6d485414616429f54317f9fd6f7c4082f0ad6a /pkg | |
| parent | 5dc09de14fb47240806b1269b9704a64c2fd17f9 (diff) | |
pkg/instance: fix 386 repros/jobs
All repros and jobs that use syz rerpos are broken for linux/amd64/386 since Mar 2022 with:
SYZFAIL: failed to recv rpc
aborting RPC server: mismatching manager/executor arches: amd64 vs 386
The problem is that ExecProgInstance.RunSyzProgFile passes sysTarget.Arch
(which is VMArch) to syz-execprog, so it expects executor to be amd64.
Restore the orignal logic.
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/instance/execprog.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/instance/execprog.go b/pkg/instance/execprog.go index 6a365cdb7..94a6ddbd5 100644 --- a/pkg/instance/execprog.go +++ b/pkg/instance/execprog.go @@ -198,9 +198,8 @@ func (inst *ExecProgInstance) RunSyzProgFile(progFile string, duration time.Dura if err != nil { return nil, &TestError{Title: fmt.Sprintf("failed to copy prog to VM: %v", err)} } - target := inst.mgrCfg.SysTarget - command := ExecprogCmd(inst.execprogBin, inst.executorBin, target.OS, target.Arch, inst.mgrCfg.Type, opts, - !inst.OldFlagsCompatMode, inst.mgrCfg.Timeouts.Slowdown, vmProgFile) + command := ExecprogCmd(inst.execprogBin, inst.executorBin, inst.mgrCfg.TargetOS, inst.mgrCfg.TargetArch, + inst.mgrCfg.Type, opts, !inst.OldFlagsCompatMode, inst.mgrCfg.Timeouts.Slowdown, vmProgFile) return inst.runCommand(command, duration, exitCondition) } |
