aboutsummaryrefslogtreecommitdiffstats
path: root/prog/minimization.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/minimization.go')
-rw-r--r--prog/minimization.go3
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; {