From 539e603206f427ff6549cde661fef0205a4c9034 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 15 Sep 2017 10:15:00 +0200 Subject: syz-manager, syz-fuzzer, executor: ensure that binaries are consistent Check that manager/fuzzer/executor are build on the same git revision, use the same syscall descriptions and the same target arch. Update #336 --- sys/linux/amd64.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/linux/amd64.go') diff --git a/sys/linux/amd64.go b/sys/linux/amd64.go index 5a64db3e7..53f1aacc4 100644 --- a/sys/linux/amd64.go +++ b/sys/linux/amd64.go @@ -4,7 +4,7 @@ package linux import . "github.com/google/syzkaller/prog" func init() { - initArch(syscalls_amd64, resources_amd64, structDescs_amd64, consts_amd64, "amd64", 8) + initArch(revision_amd64, syscalls_amd64, resources_amd64, structDescs_amd64, consts_amd64, "amd64", 8) } var resources_amd64 = []*ResourceDesc{ @@ -17268,3 +17268,5 @@ var consts_amd64 = []ConstValue{ {Name: "__WCLONE", Value: 2147483648}, {Name: "__WNOTHREAD", Value: 536870912}, } + +const revision_amd64 = "c14ec0f07c2984481a0bf1453ea928549382eb25" -- cgit mrf-deployment