aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-crush
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-06-01 11:17:54 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-06-01 11:17:54 +0200
commit84eb5fd389bc4ae247048d1f20ec9577935f4f04 (patch)
treeb7ff3a69478dc0965788e84e5c5ddbb35a9f3e01 /tools/syz-crush
parent2cf166ec847e808c72cc8942d696d7c66e78acff (diff)
config: split and refactor
Introduce generic config.Load function that can be reused across multiple programs (syz-manager, syz-gce, etc). Move the generic config functionality to pkg/config package. The idea is to move all helper (non-main) packages to pkg/ dir, because we have more and more of them and they pollute the top dir. Move the syz-manager config parts into syz-manager/config package.
Diffstat (limited to 'tools/syz-crush')
-rw-r--r--tools/syz-crush/crush.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-crush/crush.go b/tools/syz-crush/crush.go
index d519107f9..f1796baf0 100644
--- a/tools/syz-crush/crush.go
+++ b/tools/syz-crush/crush.go
@@ -18,8 +18,8 @@ import (
"syscall"
"time"
- "github.com/google/syzkaller/config"
. "github.com/google/syzkaller/log"
+ "github.com/google/syzkaller/syz-manager/config"
"github.com/google/syzkaller/vm"
_ "github.com/google/syzkaller/vm/adb"
_ "github.com/google/syzkaller/vm/gce"