aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-10-19 19:08:19 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-10-19 19:11:22 +0100
commitecb386fe6f6849c451955e16556d04b388b1fde1 (patch)
tree96b30f75d77e5c950103da0ee202bb42b587265a /executor
parent9aba67b521aa5a2669f2f0c3cee2c4f46d23a4f3 (diff)
sys: check that target consts are defined
Currently when we get target consts with target.ConstMap["name"] during target initialization, we just get 0 for missing consts. This is error-prone as we can mis-type a const, or a const may be undefined only on some archs (as we have common unix code shared between several OSes). Check that all the consts are actually defined. The check detects several violations, to fix them: 1. move mremap to linux as it's only defined on linux 2. move S_IFMT to openbsd, as it's only defined and used on openbsd 3. define missing MAP_ANONYMOUS for freebsd and netbsd 4. fix extract for netbsd
Diffstat (limited to 'executor')
-rw-r--r--executor/defs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/executor/defs.h b/executor/defs.h
index cdd8519e6..2a83d0141 100644
--- a/executor/defs.h
+++ b/executor/defs.h
@@ -20,7 +20,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
-#define SYZ_REVISION "06d50288c46275b56218cab0097fcb71a7f0f80e"
+#define SYZ_REVISION "b8fc36a63d4105cc2a16b4671864f7a5adddadaa"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -115,7 +115,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
-#define SYZ_REVISION "741d8f94955b7b371dee88f03db02ab85d5a9384"
+#define SYZ_REVISION "f7c2c212cb60211857a9c1c50c9336f899bb9ce9"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096