From ef148a2da4b0d19aa9b105fa713a374c9438080c Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 8 Aug 2024 11:58:22 +0200 Subject: prog: remove minimization TODOs We have too many corpus minimization executions, so it does not make sense to do even finer grained minimizations. These TODOs are super old and nobody ever complained about poor minimization. So remove them. --- prog/minimization.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'prog') diff --git a/prog/minimization.go b/prog/minimization.go index b5b18c4fa..4d943995d 100644 --- a/prog/minimization.go +++ b/prog/minimization.go @@ -317,8 +317,6 @@ func (typ *ProcType) minimize(ctx *minimizeArgsCtx, arg Arg, path string) bool { } func minimizeInt(ctx *minimizeArgsCtx, arg Arg, path string) bool { - // TODO: try to reset bits in ints - // TODO: try to set separate flags if ctx.mode != MinimizeCrashSnapshot { return false } @@ -377,7 +375,6 @@ func (typ *BufferType) minimize(ctx *minimizeArgsCtx, arg Arg, path string) bool a := arg.(*DataArg) switch typ.Kind { case BufferBlobRand, BufferBlobRange: - // TODO: try to set individual bytes to 0 len0 := len(a.Data()) minLen := int(typ.RangeBegin) for step := len(a.Data()) - minLen; len(a.Data()) > minLen && step > 0; { -- cgit mrf-deployment