From e16e2c9a4cb6937323e861b646792a6c4c978a3c Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 4 Jun 2024 12:55:41 +0200 Subject: executor: add runner mode Move all syz-fuzzer logic into syz-executor and remove syz-fuzzer. Also restore syz-runtest functionality in the manager. Update #4917 (sets most signal handlers to SIG_IGN) --- vm/vmimpl/vmimpl.go | 8 -------- 1 file changed, 8 deletions(-) (limited to 'vm/vmimpl/vmimpl.go') diff --git a/vm/vmimpl/vmimpl.go b/vm/vmimpl/vmimpl.go index a9afdc1f1..0a4ada028 100644 --- a/vm/vmimpl/vmimpl.go +++ b/vm/vmimpl/vmimpl.go @@ -67,11 +67,6 @@ type Infoer interface { Info() ([]byte, error) } -// PprofPortProvider is used when the instance wants to define a custom pprof port. -type PprofPortProvider interface { - PprofPort() int -} - // Env contains global constant parameters for a pool of VMs. type Env struct { // Unique name @@ -191,9 +186,6 @@ func Multiplex(cmd *exec.Cmd, merger *OutputMerger, console io.Closer, timeout t return merger.Output, errc, nil } -// On VMs, pprof will be listening to this port. -const PprofPort = 6060 - func RandomPort() int { n, err := rand.Int(rand.Reader, big.NewInt(64<<10-1<<10)) if err != nil { -- cgit mrf-deployment