aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorJulia Hansbrough <flowerhack@google.com>2018-10-02 11:54:35 -0700
committerDmitry Vyukov <dvyukov@google.com>2018-10-10 12:00:14 +0200
commit5b11ac2c91d99eababa8f04c7e2f9484c0763b53 (patch)
tree2b32a43e7e7366b17806a8949bcc8f98a610c129 /executor
parentf37861df632a8e4c78cb3f174820eb915efb7ae2 (diff)
Update fidlgen to keep current with upstream.
The Syzkaller IR upstream has been updated, so we can properly update consts/fidl descriptions now.
Diffstat (limited to 'executor')
-rw-r--r--executor/defs.h4
-rw-r--r--executor/syscalls.h70
2 files changed, 64 insertions, 10 deletions
diff --git a/executor/defs.h b/executor/defs.h
index cdce25291..26996a0a0 100644
--- a/executor/defs.h
+++ b/executor/defs.h
@@ -35,7 +35,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
-#define SYZ_REVISION "3571a2f7f80027a975be3d8ac724b374715e7834"
+#define SYZ_REVISION "10918eaa4696a9df4961ecf0e72042e805e814f6"
#define SYZ_EXECUTOR_USES_FORK_SERVER 0
#define SYZ_EXECUTOR_USES_SHMEM 0
#define SYZ_PAGE_SIZE 4096
@@ -45,7 +45,7 @@
#if GOARCH_arm64
#define GOARCH "arm64"
-#define SYZ_REVISION "1e3edab159d14634f4649a11cb4f7060f2b3be25"
+#define SYZ_REVISION "0921e5c7c43e273ab8675658a8ff52a08f56e244"
#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 86abe454a..cda0b0ab2 100644
--- a/executor/syscalls.h
+++ b/executor/syscalls.h
@@ -510,9 +510,12 @@ const call_t syscalls[] = {
{"fdio_service_connect$fuchsia_cobalt_LoggerBase", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_cobalt_LoggerFactory", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_cobalt_LoggerSimple", 0, (syscall_t)fdio_service_connect},
+ {"fdio_service_connect$fuchsia_cobalt_SystemDataUpdater", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_devicesettings_DeviceSettingsManager", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_devicesettings_DeviceSettingsWatcher", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_io_Directory", 0, (syscall_t)fdio_service_connect},
+ {"fdio_service_connect$fuchsia_io_DirectoryAdmin", 0, (syscall_t)fdio_service_connect},
+ {"fdio_service_connect$fuchsia_io_DirectoryWatcher", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_io_File", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_io_Node", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_ldsvc_Loader", 0, (syscall_t)fdio_service_connect},
@@ -613,11 +616,31 @@ const call_t syscalls[] = {
{"zx_channel_call$fuchsia_cobalt_LoggerSimpleLogString", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_cobalt_LoggerSimpleStartTimer", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_cobalt_LoggerStartTimer", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_cobalt_SystemDataUpdaterSetExperimentState", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_devicesettings_DeviceSettingsManagerGetInteger", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_devicesettings_DeviceSettingsManagerGetString", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_devicesettings_DeviceSettingsManagerSetInteger", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_devicesettings_DeviceSettingsManagerSetString", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_devicesettings_DeviceSettingsManagerWatch", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminClose", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminDescribe", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminGetAttr", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminGetDevicePath", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminGetToken", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminIoctl", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminLink", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminMount", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminMountAndCreate", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminQueryFilesystem", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminReadDirents", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminRename", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminRewind", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminSetAttr", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminSync", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminUnlink", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminUnmount", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminUnmountNode", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminWatch", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_DirectoryClose", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_DirectoryDescribe", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_DirectoryGetAttr", 0, (syscall_t)zx_channel_call},
@@ -630,12 +653,12 @@ const call_t syscalls[] = {
{"zx_channel_call$fuchsia_io_DirectorySetAttr", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_DirectorySync", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_DirectoryUnlink", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryWatch", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_FileClose", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_FileDescribe", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_FileGetAttr", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_FileGetFlags", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_FileGetVmo", 0, (syscall_t)zx_channel_call},
- {"zx_channel_call$fuchsia_io_FileGetVmoAt", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_FileIoctl", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_FileRead", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_FileReadAt", 0, (syscall_t)zx_channel_call},
@@ -686,9 +709,12 @@ const call_t syscalls[] = {
{"zx_channel_create$fuchsia_cobalt_LoggerBase", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_cobalt_LoggerFactory", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_cobalt_LoggerSimple", 0, (syscall_t)zx_channel_create},
+ {"zx_channel_create$fuchsia_cobalt_SystemDataUpdater", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_devicesettings_DeviceSettingsManager", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_devicesettings_DeviceSettingsWatcher", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_io_Directory", 0, (syscall_t)zx_channel_create},
+ {"zx_channel_create$fuchsia_io_DirectoryAdmin", 0, (syscall_t)zx_channel_create},
+ {"zx_channel_create$fuchsia_io_DirectoryWatcher", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_io_File", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_io_Node", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_ldsvc_Loader", 0, (syscall_t)zx_channel_create},
@@ -706,6 +732,7 @@ const call_t syscalls[] = {
{"zx_channel_create$fuchsia_timezone_Timezone", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_timezone_TimezoneWatcher", 0, (syscall_t)zx_channel_create},
{"zx_channel_read", 0, (syscall_t)zx_channel_read},
+ {"zx_channel_read$fuchsia_io_DirectoryAdminOnOpen", 0, (syscall_t)zx_channel_read},
{"zx_channel_read$fuchsia_io_DirectoryOnOpen", 0, (syscall_t)zx_channel_read},
{"zx_channel_read$fuchsia_io_FileOnOpen", 0, (syscall_t)zx_channel_read},
{"zx_channel_read$fuchsia_io_NodeOnOpen", 0, (syscall_t)zx_channel_read},
@@ -722,12 +749,12 @@ const call_t syscalls[] = {
{"zx_channel_read_etc", 0, (syscall_t)zx_channel_read_etc},
{"zx_channel_write", 0, (syscall_t)zx_channel_write},
{"zx_channel_write$fuchsia_devicesettings_DeviceSettingsWatcherOnChangeSettings", 0, (syscall_t)zx_channel_write},
- {"zx_channel_write$fuchsia_io_DirectoryBind", 0, (syscall_t)zx_channel_write},
+ {"zx_channel_write$fuchsia_io_DirectoryAdminClone", 0, (syscall_t)zx_channel_write},
+ {"zx_channel_write$fuchsia_io_DirectoryAdminOpen", 0, (syscall_t)zx_channel_write},
{"zx_channel_write$fuchsia_io_DirectoryClone", 0, (syscall_t)zx_channel_write},
{"zx_channel_write$fuchsia_io_DirectoryOpen", 0, (syscall_t)zx_channel_write},
- {"zx_channel_write$fuchsia_io_FileBind", 0, (syscall_t)zx_channel_write},
+ {"zx_channel_write$fuchsia_io_DirectoryWatcherOnEvent", 0, (syscall_t)zx_channel_write},
{"zx_channel_write$fuchsia_io_FileClone", 0, (syscall_t)zx_channel_write},
- {"zx_channel_write$fuchsia_io_NodeBind", 0, (syscall_t)zx_channel_write},
{"zx_channel_write$fuchsia_io_NodeClone", 0, (syscall_t)zx_channel_write},
{"zx_channel_write$fuchsia_ldsvc_LoaderDone", 0, (syscall_t)zx_channel_write},
{"zx_channel_write$fuchsia_mediacodec_CodecAddInputBuffer", 0, (syscall_t)zx_channel_write},
@@ -883,9 +910,12 @@ const call_t syscalls[] = {
{"fdio_service_connect$fuchsia_cobalt_LoggerBase", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_cobalt_LoggerFactory", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_cobalt_LoggerSimple", 0, (syscall_t)fdio_service_connect},
+ {"fdio_service_connect$fuchsia_cobalt_SystemDataUpdater", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_devicesettings_DeviceSettingsManager", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_devicesettings_DeviceSettingsWatcher", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_io_Directory", 0, (syscall_t)fdio_service_connect},
+ {"fdio_service_connect$fuchsia_io_DirectoryAdmin", 0, (syscall_t)fdio_service_connect},
+ {"fdio_service_connect$fuchsia_io_DirectoryWatcher", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_io_File", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_io_Node", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_ldsvc_Loader", 0, (syscall_t)fdio_service_connect},
@@ -986,11 +1016,31 @@ const call_t syscalls[] = {
{"zx_channel_call$fuchsia_cobalt_LoggerSimpleLogString", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_cobalt_LoggerSimpleStartTimer", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_cobalt_LoggerStartTimer", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_cobalt_SystemDataUpdaterSetExperimentState", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_devicesettings_DeviceSettingsManagerGetInteger", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_devicesettings_DeviceSettingsManagerGetString", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_devicesettings_DeviceSettingsManagerSetInteger", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_devicesettings_DeviceSettingsManagerSetString", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_devicesettings_DeviceSettingsManagerWatch", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminClose", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminDescribe", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminGetAttr", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminGetDevicePath", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminGetToken", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminIoctl", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminLink", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminMount", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminMountAndCreate", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminQueryFilesystem", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminReadDirents", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminRename", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminRewind", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminSetAttr", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminSync", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminUnlink", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminUnmount", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminUnmountNode", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryAdminWatch", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_DirectoryClose", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_DirectoryDescribe", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_DirectoryGetAttr", 0, (syscall_t)zx_channel_call},
@@ -1003,12 +1053,12 @@ const call_t syscalls[] = {
{"zx_channel_call$fuchsia_io_DirectorySetAttr", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_DirectorySync", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_DirectoryUnlink", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_io_DirectoryWatch", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_FileClose", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_FileDescribe", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_FileGetAttr", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_FileGetFlags", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_FileGetVmo", 0, (syscall_t)zx_channel_call},
- {"zx_channel_call$fuchsia_io_FileGetVmoAt", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_FileIoctl", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_FileRead", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_io_FileReadAt", 0, (syscall_t)zx_channel_call},
@@ -1059,9 +1109,12 @@ const call_t syscalls[] = {
{"zx_channel_create$fuchsia_cobalt_LoggerBase", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_cobalt_LoggerFactory", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_cobalt_LoggerSimple", 0, (syscall_t)zx_channel_create},
+ {"zx_channel_create$fuchsia_cobalt_SystemDataUpdater", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_devicesettings_DeviceSettingsManager", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_devicesettings_DeviceSettingsWatcher", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_io_Directory", 0, (syscall_t)zx_channel_create},
+ {"zx_channel_create$fuchsia_io_DirectoryAdmin", 0, (syscall_t)zx_channel_create},
+ {"zx_channel_create$fuchsia_io_DirectoryWatcher", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_io_File", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_io_Node", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_ldsvc_Loader", 0, (syscall_t)zx_channel_create},
@@ -1079,6 +1132,7 @@ const call_t syscalls[] = {
{"zx_channel_create$fuchsia_timezone_Timezone", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_timezone_TimezoneWatcher", 0, (syscall_t)zx_channel_create},
{"zx_channel_read", 0, (syscall_t)zx_channel_read},
+ {"zx_channel_read$fuchsia_io_DirectoryAdminOnOpen", 0, (syscall_t)zx_channel_read},
{"zx_channel_read$fuchsia_io_DirectoryOnOpen", 0, (syscall_t)zx_channel_read},
{"zx_channel_read$fuchsia_io_FileOnOpen", 0, (syscall_t)zx_channel_read},
{"zx_channel_read$fuchsia_io_NodeOnOpen", 0, (syscall_t)zx_channel_read},
@@ -1095,12 +1149,12 @@ const call_t syscalls[] = {
{"zx_channel_read_etc", 0, (syscall_t)zx_channel_read_etc},
{"zx_channel_write", 0, (syscall_t)zx_channel_write},
{"zx_channel_write$fuchsia_devicesettings_DeviceSettingsWatcherOnChangeSettings", 0, (syscall_t)zx_channel_write},
- {"zx_channel_write$fuchsia_io_DirectoryBind", 0, (syscall_t)zx_channel_write},
+ {"zx_channel_write$fuchsia_io_DirectoryAdminClone", 0, (syscall_t)zx_channel_write},
+ {"zx_channel_write$fuchsia_io_DirectoryAdminOpen", 0, (syscall_t)zx_channel_write},
{"zx_channel_write$fuchsia_io_DirectoryClone", 0, (syscall_t)zx_channel_write},
{"zx_channel_write$fuchsia_io_DirectoryOpen", 0, (syscall_t)zx_channel_write},
- {"zx_channel_write$fuchsia_io_FileBind", 0, (syscall_t)zx_channel_write},
+ {"zx_channel_write$fuchsia_io_DirectoryWatcherOnEvent", 0, (syscall_t)zx_channel_write},
{"zx_channel_write$fuchsia_io_FileClone", 0, (syscall_t)zx_channel_write},
- {"zx_channel_write$fuchsia_io_NodeBind", 0, (syscall_t)zx_channel_write},
{"zx_channel_write$fuchsia_io_NodeClone", 0, (syscall_t)zx_channel_write},
{"zx_channel_write$fuchsia_ldsvc_LoaderDone", 0, (syscall_t)zx_channel_write},
{"zx_channel_write$fuchsia_mediacodec_CodecAddInputBuffer", 0, (syscall_t)zx_channel_write},