diff options
| author | Pimyn Girgis <bemenboshra2001@gmail.com> | 2024-08-06 14:10:45 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-08-12 09:22:32 +0000 |
| commit | 421e1cbedb47cb499201512defc2baf79d7b87f7 (patch) | |
| tree | d3575138e30c98c96e6ecc180b4b06fdcd71fa4b /tools/syz-mutate | |
| parent | 1fef415f27727712346c8e7ad9c945e74d217b1b (diff) | |
pkg/mgrconfig, prog, tools: allow automatically generated or manually written descriptions or both
Add "Auto" type and allow to choose descriptions mode in configurations. Defaults to using manual only.
Diffstat (limited to 'tools/syz-mutate')
| -rw-r--r-- | tools/syz-mutate/mutate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-mutate/mutate.go b/tools/syz-mutate/mutate.go index 351d0ae6a..aa812a447 100644 --- a/tools/syz-mutate/mutate.go +++ b/tools/syz-mutate/mutate.go @@ -42,7 +42,7 @@ func main() { var syscalls map[*prog.Syscall]bool if *flagEnable != "" { enabled := strings.Split(*flagEnable, ",") - syscallsIDs, err := mgrconfig.ParseEnabledSyscalls(target, enabled, nil) + syscallsIDs, err := mgrconfig.ParseEnabledSyscalls(target, enabled, nil, mgrconfig.AnyDescriptions) if err != nil { fmt.Fprintf(os.Stderr, "failed to parse enabled syscalls: %v\n", err) os.Exit(1) |
