diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-08-08 11:58:22 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-08-08 14:06:39 +0000 |
| commit | ef148a2da4b0d19aa9b105fa713a374c9438080c (patch) | |
| tree | a6f4786b71d469513285a74d47a021593c1a9c89 /prog | |
| parent | 2f8c6cbdaa38eda1ed286f33eb0345f227dd0c6d (diff) | |
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.
Diffstat (limited to 'prog')
| -rw-r--r-- | prog/minimization.go | 3 |
1 files changed, 0 insertions, 3 deletions
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; { |
