diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/syz-execprog/execprog.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/syz-execprog/execprog.go b/tools/syz-execprog/execprog.go index 03518c2d3..7e0a25d75 100644 --- a/tools/syz-execprog/execprog.go +++ b/tools/syz-execprog/execprog.go @@ -68,6 +68,16 @@ func main() { dedupCover = false } + handled := make(map[string]bool) + for _, prog := range progs { + for _, call := range prog.Calls { + handled[call.Meta.CallName] = true + } + } + if handled["syz_emit_ethernet"] { + flags |= ipc.FlagEnableTun + } + var wg sync.WaitGroup wg.Add(*flagProcs) var posMu, logMu sync.Mutex |
