From 76fc461b55cfe334e8d4be121f61fa25d079f8ba Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 16 May 2019 18:05:05 +0200 Subject: pkg/compiler: add offsetof type Similar to C offsetof gives offset of a field from the beginning of the parent struct. We have several TODOs in descriptions asking for this. --- executor/defs.h | 2 +- executor/syscalls.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'executor') diff --git a/executor/defs.h b/executor/defs.h index a6ec85997..bf0d34fee 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -165,7 +165,7 @@ #if GOARCH_64 #define GOARCH "64" -#define SYZ_REVISION "e07c8657b55348a9385e59d435ee7ad303ccc728" +#define SYZ_REVISION "74c87d08a1f72c38c85e889813b60823a1e5755c" #define SYZ_EXECUTOR_USES_FORK_SERVER 0 #define SYZ_EXECUTOR_USES_SHMEM 0 #define SYZ_PAGE_SIZE 4096 diff --git a/executor/syscalls.h b/executor/syscalls.h index 8c6e6f0fb..a0810f527 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -15509,6 +15509,7 @@ const call_t syscalls[] = { {"test$length9", 0}, {"test$missing_resource", 0}, {"test$missing_struct", 0}, + {"test$offsetof0", 0}, {"test$opt0", 0}, {"test$opt1", 0}, {"test$opt2", 0}, -- cgit mrf-deployment