Skip to content

Commit 1083053

Browse files
committed
syz-manager: check that coverage is enabled in ifaceprobe mode
Check coverage early. Otherwise we do machine check w/o coverage, but then it's enabled by ifaceprobe package for all programs anyway.
1 parent c799dfd commit 1083053

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

syz-manager/manager.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ var (
168168
if cfg.Sandbox != "none" {
169169
return fmt.Errorf("sandbox \"%v\" is not supported (only \"none\")", cfg.Sandbox)
170170
}
171+
if !cfg.Coverage {
172+
return fmt.Errorf("coverage is required")
173+
}
171174
return nil
172175
},
173176
}

0 commit comments

Comments
 (0)