From 1fd901159188a5e0c2b3559ae7ec7deff7c4e7a2 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 29 Nov 2020 10:40:36 +0100 Subject: pkg/mgrconfig: add prog&sys.targets targets to Config These are widely used with the config as the refactoring shows. This removes a bunch of unnecessary code. Also fixes a number of bugs where we confused Arch with VMArch. --- tools/syz-bisect/bisect.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/syz-bisect') diff --git a/tools/syz-bisect/bisect.go b/tools/syz-bisect/bisect.go index f50b29095..a7f3ca180 100644 --- a/tools/syz-bisect/bisect.go +++ b/tools/syz-bisect/bisect.go @@ -70,7 +70,7 @@ func main() { fmt.Fprintln(os.Stderr, err) os.Exit(1) } - mgrcfg, err := mgrconfig.LoadPartialData(mycfg.Manager) + mgrcfg, err := mgrconfig.LoadData(mycfg.Manager) if err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) @@ -99,7 +99,7 @@ func main() { Syzkaller: bisect.SyzkallerConfig{ Repo: mycfg.SyzkallerRepo, }, - Manager: *mgrcfg, + Manager: mgrcfg, } loadString("syzkaller.commit", &cfg.Syzkaller.Commit) loadString("kernel.commit", &cfg.Kernel.Commit) -- cgit mrf-deployment