diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-01-29 14:15:32 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-01-29 14:52:42 +0000 |
| commit | 027f2aadfd85276928ca057e2d7b6dec7bd80e8a (patch) | |
| tree | 52ffa363df91075360c2727b7b7da3657946bff6 /tools/syz-diff | |
| parent | 98a45d340c85ad1ad7feb9e7174fb9a12ddf0fb6 (diff) | |
pkg/manager: accept multiple patches in PatchFocusAreas
Make the method more flexible.
Rename the variables to better reflect what is being done.
Diffstat (limited to 'tools/syz-diff')
| -rw-r--r-- | tools/syz-diff/diff.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-diff/diff.go b/tools/syz-diff/diff.go index 7abd232d3..d4813e8a3 100644 --- a/tools/syz-diff/diff.go +++ b/tools/syz-diff/diff.go @@ -43,7 +43,7 @@ func main() { if err != nil { log.Fatal(err) } - manager.PatchFocusAreas(newCfg, data) + manager.PatchFocusAreas(newCfg, [][]byte{data}) } ctx := vm.ShutdownCtx() |
