From dbc93b085f18cf00b6c0e077c902b5f83ecbe76c Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 16 Aug 2024 16:34:01 +0200 Subject: syz-manager: define a reminimization threshold Let it be equal to 15 calls for now. Don't reminimize corpus programs that have fewer calls. Always reminimize hub programs that no less calls. --- syz-manager/hub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syz-manager/hub.go') diff --git a/syz-manager/hub.go b/syz-manager/hub.go index 75ac8f6a0..5fd2356f6 100644 --- a/syz-manager/hub.go +++ b/syz-manager/hub.go @@ -245,7 +245,7 @@ func (hc *HubConnector) processProgs(inputs []rpctype.HubInput) (minimized, smas } min, smash := matchDomains(hc.domain, inp.Domain) var flags fuzzer.ProgFlags - if min { + if min && len(p.Calls) < reminimizeThreshold { minimized++ flags |= fuzzer.ProgMinimized } -- cgit mrf-deployment