diff options
Diffstat (limited to 'executor')
35 files changed, 6620 insertions, 7252 deletions
diff --git a/executor/common.h b/executor/common.h index 59812411e..9f7552900 100644 --- a/executor/common.h +++ b/executor/common.h @@ -3,151 +3,293 @@ // This file is shared between executor and csource package. -#include <stdint.h> -#include <string.h> -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) || \ - defined(SYZ_USE_TMP_DIR) || defined(SYZ_TUN_ENABLE) || defined(SYZ_SANDBOX_NAMESPACE) || \ - defined(SYZ_SANDBOX_NONE) || defined(SYZ_SANDBOX_SETUID) || defined(SYZ_FAULT_INJECTION) || \ - defined(__NR_syz_kvm_setup_cpu) || defined(__NR_syz_init_net_socket) || \ - defined(__NR_syz_mmap) -#include <errno.h> -#include <stdarg.h> -#include <stdio.h> +#ifndef _GNU_SOURCE +#define _GNU_SOURCE #endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_USE_TMP_DIR) + +#include <endian.h> // for htobe*. +#include <stdint.h> +#include <stdio.h> // for fmt arguments #include <stdlib.h> -#include <sys/stat.h> +#include <string.h> + +#if SYZ_EXECUTOR && !GOOS_linux +#include <unistd.h> +NORETURN void doexit(int status) +{ + _exit(status); + for (;;) { + } +} #endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_HANDLE_SEGV) + +#if !GOOS_fuchsia && !GOOS_windows +#if SYZ_EXECUTOR || SYZ_HANDLE_SEGV #include <setjmp.h> #include <signal.h> #include <string.h> + +#if GOOS_linux +#include <sys/syscall.h> #endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_DEBUG) -#include <stdarg.h> -#include <stdio.h> + +static __thread int skip_segv; +static __thread jmp_buf segv_env; + +#if GOOS_akaros +#include <parlib/parlib.h> +static void recover() +{ + _longjmp(segv_env, 1); +} #endif -#if defined(SYZ_EXECUTOR) -// exit/_exit do not necessary work (e.g. if fuzzer sets seccomp filter that prohibits exit_group). -// Use doexit instead. We must redefine exit to something that exists in stdlib, -// because some standard libraries contain "using ::exit;", but has different signature. -#define exit vsnprintf -#define _exit vsnprintf - -// uint64 is impossible to printf without using the clumsy and verbose "%" PRId64. -// So we define and use uint64. Note: pkg/csource does s/uint64/uint64/. -// Also define uint32/16/8 for consistency. -typedef unsigned long long uint64; -typedef unsigned int uint32; -typedef unsigned short uint16; -typedef unsigned char uint8; - -#ifdef SYZ_EXECUTOR -// Note: zircon max fd is 256. -const int kInPipeFd = 250; // remapped from stdin -const int kOutPipeFd = 251; // remapped from stdout -#endif - -#if defined(__GNUC__) -#define SYSCALLAPI -#define NORETURN __attribute__((noreturn)) -#define ALIGNED(N) __attribute__((aligned(N))) -#define PRINTF __attribute__((format(printf, 1, 2))) +static void segv_handler(int sig, siginfo_t* info, void* ctx) +{ + // Generated programs can contain bad (unmapped/protected) addresses, + // which cause SIGSEGVs during copyin/copyout. + // This handler ignores such crashes to allow the program to proceed. + // We additionally opportunistically check that the faulty address + // is not within executable data region, because such accesses can corrupt + // output region and then fuzzer will fail on corrupted data. + uintptr_t addr = (uintptr_t)info->si_addr; + const uintptr_t prog_start = 1 << 20; + const uintptr_t prog_end = 100 << 20; + if (__atomic_load_n(&skip_segv, __ATOMIC_RELAXED) && (addr < prog_start || addr > prog_end)) { + debug("SIGSEGV on %p, skipping\n", (void*)addr); +#if GOOS_akaros + struct user_context* uctx = (struct user_context*)ctx; + uctx->tf.hw_tf.tf_rip = (long)(void*)recover; + return; #else -// Assuming windows/cl. -#define SYSCALLAPI WINAPI -#define NORETURN __declspec(noreturn) -#define ALIGNED(N) __declspec(align(N)) -#define PRINTF + _longjmp(segv_env, 1); #endif + } + debug("SIGSEGV on %p, exiting\n", (void*)addr); + doexit(sig); +} -typedef long(SYSCALLAPI* syscall_t)(long, long, long, long, long, long, long, long, long); +static void install_segv_handler() +{ + struct sigaction sa; +#if GOOS_linux + // Don't need that SIGCANCEL/SIGSETXID glibc stuff. + // SIGCANCEL sent to main thread causes it to exit + // without bringing down the whole group. + memset(&sa, 0, sizeof(sa)); + sa.sa_handler = SIG_IGN; + syscall(SYS_rt_sigaction, 0x20, &sa, NULL, 8); + syscall(SYS_rt_sigaction, 0x21, &sa, NULL, 8); +#endif + memset(&sa, 0, sizeof(sa)); + sa.sa_sigaction = segv_handler; + sa.sa_flags = SA_NODEFER | SA_SIGINFO; + sigaction(SIGSEGV, &sa, NULL); + sigaction(SIGBUS, &sa, NULL); +} -struct call_t { - const char* name; - int sys_nr; - syscall_t call; -}; +#define NONFAILING(...) \ + { \ + __atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST); \ + if (_setjmp(segv_env) == 0) { \ + __VA_ARGS__; \ + } \ + __atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST); \ + } +#endif +#endif -#endif // #if defined(SYZ_EXECUTOR) +#if !GOOS_windows +#if SYZ_EXECUTOR || SYZ_THREADED || SYZ_REPEAT +static void sleep_ms(uint64 ms) +{ + usleep(ms * 1000); +} +#endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) || \ - defined(SYZ_USE_TMP_DIR) || defined(SYZ_TUN_ENABLE) || defined(SYZ_SANDBOX_NAMESPACE) || \ - defined(SYZ_SANDBOX_NONE) || defined(SYZ_SANDBOX_SETUID) || defined(SYZ_FAULT_INJECTION) || \ - defined(__NR_syz_kvm_setup_cpu) || defined(__NR_syz_mmap) -const int kFailStatus = 67; -const int kRetryStatus = 69; +#if SYZ_EXECUTOR || SYZ_THREADED || SYZ_REPEAT +#include <time.h> + +uint64 current_time_ms() +{ + struct timespec ts; + if (clock_gettime(CLOCK_MONOTONIC, &ts)) + fail("clock_gettime failed"); + return (uint64)ts.tv_sec * 1000 + (uint64)ts.tv_nsec / 1000000; +} #endif -#if defined(SYZ_EXECUTOR) -const int kErrorStatus = 68; +#if SYZ_EXECUTOR || SYZ_USE_TMP_DIR +#include <stdlib.h> +#include <sys/stat.h> +#include <unistd.h> + +static void use_temporary_dir() +{ + char tmpdir_template[] = "./syzkaller.XXXXXX"; + char* tmpdir = mkdtemp(tmpdir_template); + if (!tmpdir) + fail("failed to mkdtemp"); + if (chmod(tmpdir, 0777)) + fail("failed to chmod"); + if (chdir(tmpdir)) + fail("failed to chdir"); +} #endif +#endif + +#if GOOS_akaros || GOOS_netbsd || GOOS_freebsd || GOOS_test +#if SYZ_EXECUTOR || SYZ_EXECUTOR_USES_FORK_SERVER && SYZ_REPEAT && SYZ_USE_TMP_DIR +#include <dirent.h> +#include <stdio.h> +#include <string.h> +#include <sys/stat.h> +#include <sys/types.h> -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) || \ - defined(SYZ_USE_TMP_DIR) || defined(SYZ_TUN_ENABLE) || defined(SYZ_SANDBOX_NAMESPACE) || \ - defined(SYZ_SANDBOX_NONE) || defined(SYZ_SANDBOX_SETUID) || defined(__NR_syz_kvm_setup_cpu) || \ - defined(__NR_syz_init_net_socket) && \ - (defined(SYZ_SANDBOX_NONE) || defined(SYZ_SANDBOX_SETUID) || defined(SYZ_SANDBOX_NAMESPACE)) || \ - defined(__NR_syz_mmap) -// logical error (e.g. invalid input program), use as an assert() alternative -NORETURN PRINTF static void fail(const char* msg, ...) +static void remove_dir(const char* dir) { - int e = errno; - va_list args; - va_start(args, msg); - vfprintf(stderr, msg, args); - va_end(args); - fprintf(stderr, " (errno %d)\n", e); - // ENOMEM/EAGAIN is frequent cause of failures in fuzzing context, - // so handle it here as non-fatal error. - doexit((e == ENOMEM || e == EAGAIN) ? kRetryStatus : kFailStatus); + DIR* dp; + struct dirent* ep; + dp = opendir(dir); + if (dp == NULL) + exitf("opendir(%s) failed", dir); + while ((ep = readdir(dp))) { + if (strcmp(ep->d_name, ".") == 0 || strcmp(ep->d_name, "..") == 0) + continue; + char filename[FILENAME_MAX]; + snprintf(filename, sizeof(filename), "%s/%s", dir, ep->d_name); + struct stat st; + if (lstat(filename, &st)) + exitf("lstat(%s) failed", filename); + if (S_ISDIR(st.st_mode)) { + remove_dir(filename); + continue; + } + if (unlink(filename)) + exitf("unlink(%s) failed", filename); + } + closedir(dp); + if (rmdir(dir)) + exitf("rmdir(%s) failed", dir); } #endif +#endif -#if defined(SYZ_EXECUTOR) -// kernel error (e.g. wrong syscall return value) -NORETURN PRINTF static void error(const char* msg, ...) +#if !GOOS_linux +#if SYZ_EXECUTOR || SYZ_FAULT_INJECTION +static int inject_fault(int nth) { - va_list args; - va_start(args, msg); - vfprintf(stderr, msg, args); - va_end(args); - fprintf(stderr, "\n"); - doexit(kErrorStatus); + return 0; } #endif +#if SYZ_EXECUTOR +static int fault_injected(int fail_fd) +{ + return 0; +} +#endif +#endif + +#if !GOOS_windows +#if SYZ_EXECUTOR || SYZ_THREADED +#include <pthread.h> -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT) && defined(SYZ_USE_TMP_DIR)) || defined(SYZ_FAULT_INJECTION) -// just exit (e.g. due to temporal ENOMEM error) -NORETURN PRINTF static void exitf(const char* msg, ...) +static void thread_start(void* (*fn)(void*), void* arg) { - int e = errno; - va_list args; - va_start(args, msg); - vfprintf(stderr, msg, args); - va_end(args); - fprintf(stderr, " (errno %d)\n", e); - doexit(kRetryStatus); + pthread_t th; + pthread_attr_t attr; + pthread_attr_init(&attr); + pthread_attr_setstacksize(&attr, 128 << 10); + if (pthread_create(&th, &attr, fn, arg)) + exitf("pthread_create failed"); + pthread_attr_destroy(&attr); } + +#endif #endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_DEBUG) -static int flag_debug; +#if GOOS_freebsd || GOOS_netbsd || GOOS_akaros || GOOS_test +#if SYZ_EXECUTOR || SYZ_THREADED + +#include <pthread.h> +#include <time.h> + +typedef struct { + pthread_mutex_t mu; + pthread_cond_t cv; + int state; +} event_t; -PRINTF static void debug(const char* msg, ...) +static void event_init(event_t* ev) { - if (!flag_debug) - return; - va_list args; - va_start(args, msg); - vfprintf(stderr, msg, args); - va_end(args); - fflush(stderr); + if (pthread_mutex_init(&ev->mu, 0)) + fail("pthread_mutex_init failed"); + if (pthread_cond_init(&ev->cv, 0)) + fail("pthread_cond_init failed"); + ev->state = 0; +} + +static void event_reset(event_t* ev) +{ + ev->state = 0; +} + +static void event_set(event_t* ev) +{ + pthread_mutex_lock(&ev->mu); + if (ev->state) + fail("event already set"); + ev->state = 1; + pthread_mutex_unlock(&ev->mu); + pthread_cond_broadcast(&ev->cv); +} + +static void event_wait(event_t* ev) +{ + pthread_mutex_lock(&ev->mu); + while (!ev->state) + pthread_cond_wait(&ev->cv, &ev->mu); + pthread_mutex_unlock(&ev->mu); +} + +static int event_isset(event_t* ev) +{ + pthread_mutex_lock(&ev->mu); + int res = ev->state; + pthread_mutex_unlock(&ev->mu); + return res; +} + +static int event_timedwait(event_t* ev, uint64 timeout_ms) +{ + struct timespec ts; + if (clock_gettime(CLOCK_MONOTONIC, &ts)) + fail("clock_gettime failed"); + const uint64 kNsPerSec = 1000 * 1000 * 1000; + uint64 start_ns = (uint64)ts.tv_sec * kNsPerSec + (uint64)ts.tv_nsec; + uint64 timeout_ns = timeout_ms * 1000 * 1000; + pthread_mutex_lock(&ev->mu); + for (;;) { + if (ev->state) + break; + if (clock_gettime(CLOCK_MONOTONIC, &ts)) + fail("clock_gettime failed"); + uint64 now_ns = (uint64)ts.tv_sec * kNsPerSec + (uint64)ts.tv_nsec; + if (now_ns - start_ns > timeout_ns) + break; + uint64 remain_ns = timeout_ns - (now_ns - start_ns); + ts.tv_sec = remain_ns / kNsPerSec; + ts.tv_nsec = remain_ns % kNsPerSec; + pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); + } + int res = ev->state; + pthread_mutex_unlock(&ev->mu); + return res; } #endif +#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_USE_BITMASKS) +#if SYZ_EXECUTOR || SYZ_USE_BITMASKS #define BITMASK_LEN(type, bf_len) (type)((1ull << (bf_len)) - 1) #define BITMASK_LEN_OFF(type, bf_off, bf_len) (type)(BITMASK_LEN(type, (bf_len)) << (bf_off)) @@ -163,7 +305,7 @@ PRINTF static void debug(const char* msg, ...) } #endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_USE_CHECKSUMS) +#if SYZ_EXECUTOR || SYZ_USE_CHECKSUMS struct csum_inet { uint32 acc; }; @@ -194,3 +336,228 @@ static uint16 csum_inet_digest(struct csum_inet* csum) return ~csum->acc; } #endif + +#if GOOS_akaros +#include "common_akaros.h" +#elif GOOS_freebsd || GOOS_netbsd +#include "common_bsd.h" +#elif GOOS_fuchsia +#include "common_fuchsia.h" +#elif GOOS_linux +#include "common_linux.h" +#elif GOOS_test +#include "common_test.h" +#elif GOOS_windows +#include "common_windows.h" +#elif GOOS_test +#include "common_test.h" +#else +#error "unknown OS" +#endif + +#if SYZ_THREADED +struct thread_t { + int created, call; + event_t ready, done; +}; + +static struct thread_t threads[16]; +static void execute_call(int call); +static int running; +#if SYZ_COLLIDE +static int collide; +#endif + +static void* thr(void* arg) +{ + struct thread_t* th = (struct thread_t*)arg; + for (;;) { + event_wait(&th->ready); + event_reset(&th->ready); + execute_call(th->call); + __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); + event_set(&th->done); + } + return 0; +} + +static void execute(int num_calls) +{ + int call, thread; + running = 0; + for (call = 0; call < num_calls; call++) { + for (thread = 0; thread < sizeof(threads) / sizeof(threads[0]); thread++) { + struct thread_t* th = &threads[thread]; + if (!th->created) { + th->created = 1; + event_init(&th->ready); + event_init(&th->done); + event_set(&th->done); + thread_start(thr, th); + } + if (!event_isset(&th->done)) + continue; + event_reset(&th->done); + th->call = call; + __atomic_fetch_add(&running, 1, __ATOMIC_RELAXED); + event_set(&th->ready); +#if SYZ_COLLIDE + if (collide && (call % 2) == 0) + break; +#endif + event_timedwait(&th->done, 25); + if (__atomic_load_n(&running, __ATOMIC_RELAXED)) + sleep_ms((call == num_calls - 1) ? 10 : 2); + break; + } + } +} +#endif + +#if SYZ_EXECUTOR || SYZ_REPEAT +static void execute_one(); +#if SYZ_EXECUTOR_USES_FORK_SERVER +#include <signal.h> +#include <sys/types.h> +#include <sys/wait.h> + +#if GOOS_linux +#define WAIT_FLAGS __WALL +#else +#define WAIT_FLAGS 0 +#endif + +#if SYZ_EXECUTOR +static void reply_handshake(); +#endif + +static void loop() +{ + setup_loop(); +#if SYZ_EXECUTOR + // Tell parent that we are ready to serve. + reply_handshake(); +#endif +#if SYZ_EXECUTOR && GOOS_akaros + // For akaros we do exec in the child process because new threads can't be created in the fork child. + // Thus we proxy input program over the child_pipe to the child process. + int child_pipe[2]; + if (pipe(child_pipe)) + fail("pipe failed"); +#endif + int iter; + for (iter = 0;; iter++) { +#if SYZ_EXECUTOR || SYZ_USE_TMP_DIR + // Create a new private work dir for this test (removed at the end of the loop). + char cwdbuf[32]; + sprintf(cwdbuf, "./%d", iter); + if (mkdir(cwdbuf, 0777)) + fail("failed to mkdir"); +#endif + reset_loop(); +#if SYZ_EXECUTOR + receive_execute(); +#endif + int pid = fork(); + if (pid < 0) + fail("clone failed"); + if (pid == 0) { + setup_test(); +#if SYZ_EXECUTOR || SYZ_USE_TMP_DIR + if (chdir(cwdbuf)) + fail("failed to chdir"); +#endif +#if GOOS_akaros +#if SYZ_EXECUTOR + dup2(child_pipe[0], kInPipeFd); + close(child_pipe[0]); + close(child_pipe[1]); +#endif + execl(program_name, program_name, "child", NULL); + fail("execl failed"); +#else +#if SYZ_EXECUTOR + close(kInPipeFd); +#endif +#if SYZ_EXECUTOR && SYZ_EXECUTOR_USES_SHMEM + close(kOutPipeFd); +#endif + execute_one(); + debug("worker exiting\n"); + reset_test(); + doexit(0); +#endif + } + debug("spawned worker pid %d\n", pid); + +#if SYZ_EXECUTOR && GOOS_akaros + resend_execute(child_pipe[1]); +#endif + // We used to use sigtimedwait(SIGCHLD) to wait for the subprocess. + // But SIGCHLD is also delivered when a process stops/continues, + // so it would require a loop with status analysis and timeout recalculation. + // SIGCHLD should also unblock the usleep below, so the spin loop + // should be as efficient as sigtimedwait. + int status = 0; + uint64 start = current_time_ms(); +#if SYZ_EXECUTOR && SYZ_EXECUTOR_USES_SHMEM + uint64 last_executed = start; + uint32 executed_calls = __atomic_load_n(output_data, __ATOMIC_RELAXED); +#endif + for (;;) { + if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) + break; + sleep_ms(1); +#if SYZ_EXECUTOR && SYZ_EXECUTOR_USES_SHMEM + // Even though the test process executes exit at the end + // and execution time of each syscall is bounded by 20ms, + // this backup watchdog is necessary and its performance is important. + // The problem is that exit in the test processes can fail (sic). + // One observed scenario is that the test processes prohibits + // exit_group syscall using seccomp. Another observed scenario + // is that the test processes setups a userfaultfd for itself, + // then the main thread hangs when it wants to page in a page. + // Below we check if the test process still executes syscalls + // and kill it after 1s of inactivity. + uint64 now = current_time_ms(); + uint32 now_executed = __atomic_load_n(output_data, __ATOMIC_RELAXED); + if (executed_calls != now_executed) { + executed_calls = now_executed; + last_executed = now; + } + if ((now - start < 5 * 1000) && (now - start < 3 * 1000 || now - last_executed < 1000)) + continue; +#else + if (current_time_ms() - start < 5 * 1000) + continue; +#endif + debug("killing\n"); +#if GOOS_linux + kill(-pid, SIGKILL); +#endif + kill(pid, SIGKILL); + while (waitpid(-1, &status, WAIT_FLAGS) != pid) { + } + break; + } +#if SYZ_EXECUTOR + status = WEXITSTATUS(status); + if (status == kFailStatus) + fail("child failed"); + if (status == kErrorStatus) + error("child errored"); + reply_execute(0); +#endif +#if SYZ_EXECUTOR || SYZ_USE_TMP_DIR + remove_dir(cwdbuf); +#endif + } +} +#else +static void loop() +{ + (void)sleep_ms; + execute_one(); +} +#endif +#endif diff --git a/executor/common_akaros.h b/executor/common_akaros.h index 15902d472..f2f89033e 100644 --- a/executor/common_akaros.h +++ b/executor/common_akaros.h @@ -3,302 +3,41 @@ // This file is shared between executor and csource package. -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif - +#include <stdlib.h> +#include <sys/mman.h> #include <sys/syscall.h> #include <unistd.h> -#if defined(SYZ_EXECUTOR) || defined(SYZ_THREADED) || defined(SYZ_COLLIDE) -#include <pthread.h> -#include <stdlib.h> -#endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) -#include <errno.h> -#include <signal.h> -#include <stdarg.h> -#include <stdio.h> -#include <sys/time.h> -#include <sys/wait.h> -#include <time.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_HANDLE_SEGV) -#include <parlib/parlib.h> -#include <setjmp.h> -#include <signal.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_USE_TMP_DIR) -#include <stdlib.h> -#include <sys/stat.h> -#endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT) && defined(SYZ_USE_TMP_DIR)) -#include <dirent.h> -#endif - -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) || \ - defined(SYZ_USE_TMP_DIR) || defined(SYZ_HANDLE_SEGV) || defined(SYZ_TUN_ENABLE) || \ - defined(SYZ_SANDBOX_NAMESPACE) || defined(SYZ_SANDBOX_SETUID) || \ - defined(SYZ_SANDBOX_NONE) || defined(SYZ_FAULT_INJECTION) || defined(__NR_syz_kvm_setup_cpu) -__attribute__((noreturn)) static void doexit(int status) -{ - _exit(status); - for (;;) { - } -} -#endif - -#include "common.h" - -#if defined(SYZ_EXECUTOR) || defined(SYZ_HANDLE_SEGV) -static __thread int skip_segv; -static __thread jmp_buf segv_env; - -static void recover() -{ - _longjmp(segv_env, 1); -} - -static void segv_handler(int sig, siginfo_t* info, void* ctx) -{ - // Generated programs can contain bad (unmapped/protected) addresses, - // which cause SIGSEGVs during copyin/copyout. - // This handler ignores such crashes to allow the program to proceed. - // We additionally opportunistically check that the faulty address - // is not within executable data region, because such accesses can corrupt - // output region and then fuzzer will fail on corrupted data. - uintptr_t addr = (uintptr_t)info->si_addr; - const uintptr_t prog_start = 1 << 20; - const uintptr_t prog_end = 100 << 20; - if (__atomic_load_n(&skip_segv, __ATOMIC_RELAXED) && (addr < prog_start || addr > prog_end)) { - debug("SIGSEGV on 0x%lx, skipping\n", addr); - struct user_context* uctx = (struct user_context*)ctx; - uctx->tf.hw_tf.tf_rip = (long)(void*)recover; - return; - } - debug("SIGSEGV on 0x%lx, exiting\n", addr); - doexit(sig); - for (;;) { - } -} - -static void install_segv_handler() -{ - struct sigaction sa; - - memset(&sa, 0, sizeof(sa)); - sa.sa_sigaction = segv_handler; - sa.sa_flags = SA_NODEFER | SA_SIGINFO; - sigemptyset(&sa.sa_mask); - sigaction(SIGSEGV, &sa, NULL); - sigaction(SIGBUS, &sa, NULL); -} -#define NONFAILING(...) \ - { \ - __atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST); \ - if (_setjmp(segv_env) == 0) { \ - __VA_ARGS__; \ - } \ - __atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST); \ - } -#endif - -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) -static uint64 current_time_ms() -{ - struct timespec ts; - - if (clock_gettime(CLOCK_MONOTONIC, &ts)) - fail("clock_gettime failed"); - return (uint64)ts.tv_sec * 1000 + (uint64)ts.tv_nsec / 1000000; -} -#endif - -#if defined(SYZ_EXECUTOR) || defined(SYZ_USE_TMP_DIR) -static void use_temporary_dir() -{ - char tmpdir_template[] = "./syzkaller.XXXXXX"; - char* tmpdir = mkdtemp(tmpdir_template); - if (!tmpdir) - fail("failed to mkdtemp"); - if (chmod(tmpdir, 0777)) - fail("failed to chmod"); - if (chdir(tmpdir)) - fail("failed to chdir"); -} -#endif - -#if defined(SYZ_EXECUTOR) -static void sleep_ms(uint64 ms) -{ - usleep(ms * 1000); -} -#endif - -#if defined(SYZ_EXECUTOR) || defined(SYZ_FAULT_INJECTION) -static int inject_fault(int nth) -{ - return 0; -} - -static int fault_injected(int fail_fd) -{ - return 0; -} -#endif - -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT) && defined(SYZ_USE_TMP_DIR)) -static void remove_dir(const char* dir) -{ - DIR* dp; - struct dirent* ep; - dp = opendir(dir); - if (dp == NULL) - exitf("opendir(%s) failed", dir); - while ((ep = readdir(dp))) { - if (strcmp(ep->d_name, ".") == 0 || strcmp(ep->d_name, "..") == 0) - continue; - char filename[FILENAME_MAX]; - snprintf(filename, sizeof(filename), "%s/%s", dir, ep->d_name); - struct stat st; - if (lstat(filename, &st)) - exitf("lstat(%s) failed", filename); - if (S_ISDIR(st.st_mode)) { - remove_dir(filename); - continue; - } - if (unlink(filename)) - exitf("unlink(%s) failed", filename); - } - closedir(dp); - if (rmdir(dir)) - exitf("rmdir(%s) failed", dir); -} -#endif - -#if defined(SYZ_SANDBOX_NONE) +#if SYZ_EXECUTOR || SYZ_SANDBOX_NONE static void loop(); static int do_sandbox_none(void) { loop(); doexit(0); - fail("doexit returned"); - return 0; } #endif -#if defined(SYZ_REPEAT) +#if SYZ_EXECUTOR || SYZ_REPEAT static void execute_one(); +const char* program_name; -#if defined(SYZ_WAIT_REPEAT) -void loop() +void child() { - int iter; - for (iter = 0;; iter++) { -#ifdef SYZ_USE_TMP_DIR - char cwdbuf[256]; - sprintf(cwdbuf, "./%d", iter); - if (mkdir(cwdbuf, 0777)) - fail("failed to mkdir"); -#endif - int pid = fork(); - if (pid < 0) - fail("clone failed"); - if (pid == 0) { -#ifdef SYZ_USE_TMP_DIR - if (chdir(cwdbuf)) - fail("failed to chdir"); +#if SYZ_EXECUTOR || SYZ_HANDLE_SEGV + install_segv_handler(); #endif - execute_one(); - doexit(0); - } - int status = 0; - uint64 start = current_time_ms(); - for (;;) { - int res = waitpid(-1, &status, WNOHANG); - if (res == pid) - break; - usleep(1000); - if (current_time_ms() - start > 5 * 1000) { - kill(pid, SIGKILL); - while (waitpid(-1, &status, 0) != pid) { - } - break; - } - } -#ifdef SYZ_USE_TMP_DIR - remove_dir(cwdbuf); +#if SYZ_EXECUTOR + receive_execute(); + close(kInPipeFd); #endif - } -} -#else -void loop() -{ - while (1) { - execute_one(); - } + execute_one(); + doexit(0); } #endif -#endif - -#if defined(SYZ_THREADED) -struct thread_t { - int created, running, call; - pthread_t th; -}; - -static struct thread_t threads[16]; -static void execute_call(int call); -static int running; -#if defined(SYZ_COLLIDE) -static int collide; -#endif - -static void* thr(void* arg) -{ - struct thread_t* th = (struct thread_t*)arg; - for (;;) { - while (!__atomic_load_n(&th->running, __ATOMIC_ACQUIRE)) - usleep(200); - execute_call(th->call); - __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); - __atomic_store_n(&th->running, 0, __ATOMIC_RELEASE); - } - return 0; -} -static void execute(int num_calls) -{ - int i, call, thread; - running = 0; - for (call = 0; call < num_calls; call++) { - for (thread = 0; thread < sizeof(threads) / sizeof(threads[0]); thread++) { - struct thread_t* th = &threads[thread]; - if (!th->created) { - th->created = 1; - pthread_attr_t attr; - pthread_attr_init(&attr); - pthread_attr_setstacksize(&attr, 128 << 10); - pthread_create(&th->th, &attr, thr, th); - } - if (!__atomic_load_n(&th->running, __ATOMIC_ACQUIRE)) { - th->call = call; - __atomic_fetch_add(&running, 1, __ATOMIC_RELAXED); - __atomic_store_n(&th->running, 1, __ATOMIC_RELEASE); -#if defined(SYZ_COLLIDE) - if (collide && call % 2) - break; -#endif - for (i = 0; i < 100; i++) { - if (!__atomic_load_n(&th->running, __ATOMIC_ACQUIRE)) - break; - usleep(200); - } - if (__atomic_load_n(&running, __ATOMIC_RELAXED)) - usleep((call == num_calls - 1) ? 10000 : 1000); - break; - } - } - } -} -#endif +#define do_sandbox_setuid() 0 +#define do_sandbox_namespace() 0 +#define setup_loop() +#define reset_loop() +#define setup_test() +#define reset_test() diff --git a/executor/common_bsd.h b/executor/common_bsd.h index 16c919059..164d16a36 100644 --- a/executor/common_bsd.h +++ b/executor/common_bsd.h @@ -4,159 +4,19 @@ // This file is shared between executor and csource package. #include <unistd.h> -#if defined(SYZ_EXECUTOR) || defined(SYZ_THREADED) || defined(SYZ_COLLIDE) -#include <pthread.h> -#include <stdlib.h> -#endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) -#include <errno.h> -#include <signal.h> -#include <stdarg.h> -#include <stdio.h> -#include <sys/time.h> -#include <sys/wait.h> -#include <time.h> -#endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT) && defined(SYZ_USE_TMP_DIR)) -#include <dirent.h> -#endif - -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) || \ - defined(SYZ_USE_TMP_DIR) || defined(SYZ_HANDLE_SEGV) || defined(SYZ_TUN_ENABLE) || \ - defined(SYZ_SANDBOX_NAMESPACE) || defined(SYZ_SANDBOX_SETUID) || \ - defined(SYZ_SANDBOX_NONE) || defined(SYZ_FAULT_INJECTION) || defined(__NR_syz_kvm_setup_cpu) -__attribute__((noreturn)) static void doexit(int status) -{ - _exit(status); - for (;;) { - } -} -#endif - -#include "common.h" - -#if defined(SYZ_EXECUTOR) || defined(SYZ_HANDLE_SEGV) -static __thread int skip_segv; -static __thread jmp_buf segv_env; - -static void segv_handler(int sig, siginfo_t* info, void* uctx) -{ - // Generated programs can contain bad (unmapped/protected) addresses, - // which cause SIGSEGVs during copyin/copyout. - // This handler ignores such crashes to allow the program to proceed. - // We additionally opportunistically check that the faulty address - // is not within executable data region, because such accesses can corrupt - // output region and then fuzzer will fail on corrupted data. - uintptr_t addr = (uintptr_t)info->si_addr; - const uintptr_t prog_start = 1 << 20; - const uintptr_t prog_end = 100 << 20; - if (__atomic_load_n(&skip_segv, __ATOMIC_RELAXED) && (addr < prog_start || addr > prog_end)) { - debug("SIGSEGV on %p, skipping\n", (void*)addr); - _longjmp(segv_env, 1); - } - debug("SIGSEGV on %p, exiting\n", (void*)addr); - doexit(sig); -} - -static void install_segv_handler() -{ - struct sigaction sa; - - memset(&sa, 0, sizeof(sa)); - sa.sa_sigaction = segv_handler; - sa.sa_flags = SA_NODEFER | SA_SIGINFO; - sigaction(SIGSEGV, &sa, NULL); - sigaction(SIGBUS, &sa, NULL); -} - -#define NONFAILING(...) \ - { \ - __atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST); \ - if (_setjmp(segv_env) == 0) { \ - __VA_ARGS__; \ - } \ - __atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST); \ - } -#endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) -static uint64 current_time_ms() -{ - struct timespec ts; - - if (clock_gettime(CLOCK_MONOTONIC, &ts)) - fail("clock_gettime failed"); - return (uint64)ts.tv_sec * 1000 + (uint64)ts.tv_nsec / 1000000; -} -#endif - -#if defined(SYZ_EXECUTOR) -static void sleep_ms(uint64 ms) -{ - usleep(ms * 1000); -} -#endif - -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT) && defined(SYZ_USE_TMP_DIR)) -static void remove_dir(const char* dir) -{ - DIR* dp; - struct dirent* ep; - int iter = 0; -retry: - dp = opendir(dir); - if (dp == NULL) - return; - while ((ep = readdir(dp))) { - if (strcmp(ep->d_name, ".") == 0 || strcmp(ep->d_name, "..") == 0) - continue; - char filename[FILENAME_MAX]; - snprintf(filename, sizeof(filename), "%s/%s", dir, ep->d_name); - struct stat st; - if (lstat(filename, &st)) - return; - if (S_ISDIR(st.st_mode)) { - remove_dir(filename); - continue; - } - int i; - for (i = 0;; i++) { - if (unlink(filename) == 0) - break; - if (errno == EROFS) - break; - if (errno != EBUSY || i > 100) - return; - } - } - closedir(dp); - int i; - for (i = 0;; i++) { - if (rmdir(dir) == 0) - break; - if (i < 100) { - if (errno == EROFS) - break; - if (errno == ENOTEMPTY) { - if (iter < 100) { - iter++; - goto retry; - } - } - } - return; - } -} -#endif - -#if defined(SYZ_EXECUTOR) || defined(SYZ_FAULT_INJECTION) -static int inject_fault(int nth) -{ - return 0; -} - -static int fault_injected(int fail_fd) +#if SYZ_EXECUTOR || SYZ_SANDBOX_NONE +static void loop(); +static int do_sandbox_none(void) { + loop(); return 0; } #endif + +#define do_sandbox_setuid() 0 +#define do_sandbox_namespace() 0 +#define setup_loop() +#define reset_loop() +#define setup_test() +#define reset_test() diff --git a/executor/common_fuchsia.h b/executor/common_fuchsia.h index d9436e40a..1affa5650 100644 --- a/executor/common_fuchsia.h +++ b/executor/common_fuchsia.h @@ -3,14 +3,11 @@ // This file is shared between executor and csource package. -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif - #include <ddk/driver.h> #include <fcntl.h> #include <poll.h> #include <signal.h> +#include <stdlib.h> #include <sys/file.h> #include <sys/ioctl.h> #include <sys/socket.h> @@ -23,43 +20,15 @@ #include <utime.h> #include <zircon/process.h> #include <zircon/syscalls.h> -#if defined(SYZ_EXECUTOR) || defined(SYZ_THREADED) || defined(SYZ_COLLIDE) || defined(SYZ_HANDLE_SEGV) + +#if SYZ_EXECUTOR || SYZ_HANDLE_SEGV #include <pthread.h> -#include <stdlib.h> -#endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT) && defined(SYZ_USE_TMP_DIR)) -#include <dirent.h> -#endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) -#include <errno.h> -#include <stdarg.h> -#include <stdio.h> -#include <sys/time.h> -#include <sys/wait.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_HANDLE_SEGV) +#include <setjmp.h> #include <zircon/syscalls/debug.h> #include <zircon/syscalls/exception.h> #include <zircon/syscalls/object.h> #include <zircon/syscalls/port.h> -#endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) || \ - defined(SYZ_USE_TMP_DIR) || defined(SYZ_HANDLE_SEGV) || defined(SYZ_TUN_ENABLE) || \ - defined(SYZ_SANDBOX_NAMESPACE) || defined(SYZ_SANDBOX_SETUID) || \ - defined(SYZ_SANDBOX_NONE) || defined(SYZ_FAULT_INJECTION) || \ - defined(__NR_syz_mmap) -__attribute__((noreturn)) static void doexit(int status) -{ - _exit(status); - for (;;) { - } -} -#endif - -#include "common.h" - -#if defined(SYZ_EXECUTOR) || defined(SYZ_HANDLE_SEGV) static __thread int skip_segv; static __thread jmp_buf segv_env; @@ -99,9 +68,9 @@ static void* ex_handler(void* arg) debug("zx_thread_read_state failed: %d (%d)\n", (int)sizeof(regs), status); } else { -#if defined(__x86_64__) +#if GOARCH_amd64 regs.rip = (uint64)(void*)&segv_handler; -#elif defined(__aarch64__) +#elif GOARCH_arm64 regs.pc = (uint64)(void*)&segv_handler; #else #error "unsupported arch" @@ -144,37 +113,56 @@ static void install_segv_handler() } #endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) -static uint64 current_time_ms() +#if SYZ_EXECUTOR || SYZ_THREADED +#include <unistd.h> + +// Fuchsia's pthread_cond_timedwait just returns immidiately, so we use simple spin wait. +typedef struct { + int state; +} event_t; + +static void event_init(event_t* ev) { - struct timespec ts; + ev->state = 0; +} - if (clock_gettime(CLOCK_MONOTONIC, &ts)) - fail("clock_gettime failed"); - return (uint64)ts.tv_sec * 1000 + (uint64)ts.tv_nsec / 1000000; +static void event_reset(event_t* ev) +{ + ev->state = 0; } -#endif -#if defined(SYZ_EXECUTOR) -static void sleep_ms(uint64 ms) +static void event_set(event_t* ev) { - usleep(ms * 1000); + if (ev->state) + fail("event already set"); + __atomic_store_n(&ev->state, 1, __ATOMIC_RELEASE); } -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_FAULT_INJECTION) -static int inject_fault(int nth) +static void event_wait(event_t* ev) { - return 0; + while (!__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE)) + usleep(200); } -static int fault_injected(int fail_fd) +static int event_isset(event_t* ev) { - return 0; + return __atomic_load_n(&ev->state, __ATOMIC_ACQUIRE); +} + +static int event_timedwait(event_t* ev, uint64 timeout_ms) +{ + uint64 start = current_time_ms(); + for (;;) { + if (__atomic_load_n(&ev->state, __ATOMIC_RELAXED)) + return 1; + if (current_time_ms() - start > timeout_ms) + return 0; + usleep(200); + } } #endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_mmap) +#if SYZ_EXECUTOR || __NR_syz_mmap long syz_mmap(size_t addr, size_t size) { zx_handle_t root = zx_vmar_root_self(); @@ -195,36 +183,36 @@ long syz_mmap(size_t addr, size_t size) } #endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_process_self) -long syz_process_self() +#if SYZ_EXECUTOR || __NR_syz_process_self +static long syz_process_self() { return zx_process_self(); } #endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_thread_self) -long syz_thread_self() +#if SYZ_EXECUTOR || __NR_syz_thread_self +static long syz_thread_self() { return zx_thread_self(); } #endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_vmar_root_self) -long syz_vmar_root_self() +#if SYZ_EXECUTOR || __NR_syz_vmar_root_self +static long syz_vmar_root_self() { return zx_vmar_root_self(); } #endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_job_default) -long syz_job_default() +#if SYZ_EXECUTOR || __NR_syz_job_default +static long syz_job_default() { return zx_job_default(); } #endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_future_time) -long syz_future_time(long when) +#if SYZ_EXECUTOR || __NR_syz_future_time +static long syz_future_time(long when) { zx_time_t delta_ms; switch (when) { @@ -240,7 +228,7 @@ long syz_future_time(long when) } #endif -#if defined(SYZ_SANDBOX_NONE) +#if SYZ_EXECUTOR || SYZ_SANDBOX_NONE static void loop(); static int do_sandbox_none(void) { @@ -249,233 +237,9 @@ static int do_sandbox_none(void) } #endif -#if defined(SYZ_USE_TMP_DIR) -static void use_temporary_dir() -{ - char tmpdir_template[] = "./syzkaller.XXXXXX"; - char* tmpdir = mkdtemp(tmpdir_template); - if (!tmpdir) - fail("failed to mkdtemp"); - if (chmod(tmpdir, 0777)) - fail("failed to chmod"); - if (chdir(tmpdir)) - fail("failed to chdir"); -} -#endif - -#if defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT) && defined(SYZ_USE_TMP_DIR) -static void remove_dir(const char* dir) -{ - struct dirent* ep; - DIR* dp = opendir(dir); - if (dp == NULL) - exitf("opendir(%s) failed", dir); - while ((ep = readdir(dp))) { - if (strcmp(ep->d_name, ".") == 0 || strcmp(ep->d_name, "..") == 0) - continue; - char filename[FILENAME_MAX]; - snprintf(filename, sizeof(filename), "%s/%s", dir, ep->d_name); - struct stat st; - if (lstat(filename, &st)) - exitf("lstat(%s) failed", filename); - if (S_ISDIR(st.st_mode)) { - remove_dir(filename); - continue; - } - if (unlink(filename)) - exitf("unlink(%s) failed", filename); - } - closedir(dp); - if (rmdir(dir)) - exitf("rmdir(%s) failed", dir); -} -#endif - -#if defined(SYZ_EXECUTOR) || defined(SYZ_REPEAT) -static void execute_one(); -extern unsigned long long procid; - -#if defined(SYZ_EXECUTOR) -void reply_handshake(); -void receive_execute(); -void reply_execute(int status); -extern uint32* output_data; -extern uint32* output_pos; -#endif - -#if defined(SYZ_WAIT_REPEAT) -static void loop() -{ -#if defined(SYZ_EXECUTOR) - // Tell parent that we are ready to serve. - reply_handshake(); -#endif - int iter; - for (iter = 0;; iter++) { -#if defined(SYZ_EXECUTOR) || defined(SYZ_USE_TMP_DIR) - // Create a new private work dir for this test (removed at the end of the loop). - char cwdbuf[32]; - sprintf(cwdbuf, "./%d", iter); - if (mkdir(cwdbuf, 0777)) - fail("failed to mkdir"); -#endif -#if defined(SYZ_EXECUTOR) - // TODO: consider moving the read into the child. - // Potentially it can speed up things a bit -- when the read finishes - // we already have a forked worker process. - receive_execute(); -#endif - int pid = fork(); - if (pid < 0) - fail("clone failed"); - if (pid == 0) { -#if defined(SYZ_EXECUTOR) || defined(SYZ_USE_TMP_DIR) - if (chdir(cwdbuf)) - fail("failed to chdir"); -#endif -#if defined(SYZ_EXECUTOR) - close(kInPipeFd); - close(kOutPipeFd); -#endif -#if defined(SYZ_EXECUTOR) - output_pos = output_data; -#endif - execute_one(); - debug("worker exiting\n"); - doexit(0); - } - debug("spawned worker pid %d\n", pid); - - // We used to use sigtimedwait(SIGCHLD) to wait for the subprocess. - // But SIGCHLD is also delivered when a process stops/continues, - // so it would require a loop with status analysis and timeout recalculation. - // SIGCHLD should also unblock the usleep below, so the spin loop - // should be as efficient as sigtimedwait. - int status = 0; - uint64 start = current_time_ms(); -#if defined(SYZ_EXECUTOR) - uint64 last_executed = start; - uint32 executed_calls = __atomic_load_n(output_data, __ATOMIC_RELAXED); -#endif - for (;;) { - int res = waitpid(-1, &status, WNOHANG); - if (res == pid) { - debug("waitpid(%d)=%d\n", pid, res); - break; - } - usleep(1000); -#if defined(SYZ_EXECUTOR) - // Even though the test process executes exit at the end - // and execution time of each syscall is bounded by 20ms, - // this backup watchdog is necessary and its performance is important. - // The problem is that exit in the test processes can fail (sic). - // One observed scenario is that the test processes prohibits - // exit_group syscall using seccomp. Another observed scenario - // is that the test processes setups a userfaultfd for itself, - // then the main thread hangs when it wants to page in a page. - // Below we check if the test process still executes syscalls - // and kill it after 500ms of inactivity. - uint64 now = current_time_ms(); - uint32 now_executed = __atomic_load_n(output_data, __ATOMIC_RELAXED); - if (executed_calls != now_executed) { - executed_calls = now_executed; - last_executed = now; - } - if ((now - start < 3 * 1000) && (now - start < 1000 || now - last_executed < 500)) - continue; -#else - if (current_time_ms() - start < 3 * 1000) - continue; -#endif - debug("waitpid(%d)=%d\n", pid, res); - debug("killing\n"); - kill(-pid, SIGKILL); - kill(pid, SIGKILL); - while (waitpid(-1, &status, 0) != pid) { - } - break; - } -#if defined(SYZ_EXECUTOR) - status = WEXITSTATUS(status); - if (status == kFailStatus) - fail("child failed"); - if (status == kErrorStatus) - error("child errored"); - reply_execute(0); -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_USE_TMP_DIR) - remove_dir(cwdbuf); -#endif - } -} -#else -void loop() -{ - while (1) { - execute_one(); - } -} -#endif -#endif - -#if defined(SYZ_THREADED) -struct thread_t { - int created, running, call; - pthread_t th; -}; - -static struct thread_t threads[16]; -static void execute_call(int call); -static int running; -#if defined(SYZ_COLLIDE) -static int collide; -#endif - -static void* thr(void* arg) -{ - struct thread_t* th = (struct thread_t*)arg; - for (;;) { - while (!__atomic_load_n(&th->running, __ATOMIC_ACQUIRE)) - usleep(200); - execute_call(th->call); - __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); - __atomic_store_n(&th->running, 0, __ATOMIC_RELEASE); - } - return 0; -} - -static void execute(int num_calls) -{ - int i, call, thread; - running = 0; - for (call = 0; call < num_calls; call++) { - for (thread = 0; thread < sizeof(threads) / sizeof(threads[0]); thread++) { - struct thread_t* th = &threads[thread]; - if (!th->created) { - th->created = 1; - pthread_attr_t attr; - pthread_attr_init(&attr); - pthread_attr_setstacksize(&attr, 128 << 10); - pthread_create(&th->th, &attr, thr, th); - } - if (!__atomic_load_n(&th->running, __ATOMIC_ACQUIRE)) { - th->call = call; - __atomic_fetch_add(&running, 1, __ATOMIC_RELAXED); - __atomic_store_n(&th->running, 1, __ATOMIC_RELEASE); -#if defined(SYZ_COLLIDE) - if (collide && call % 2) - break; -#endif - for (i = 0; i < 100; i++) { - if (!__atomic_load_n(&th->running, __ATOMIC_ACQUIRE)) - break; - usleep(200); - } - if (__atomic_load_n(&running, __ATOMIC_RELAXED)) - usleep((call == num_calls - 1) ? 10000 : 1000); - break; - } - } - } -} -#endif +#define do_sandbox_setuid() 0 +#define do_sandbox_namespace() 0 +#define setup_loop() +#define reset_loop() +#define setup_test() +#define reset_test() diff --git a/executor/common_linux.h b/executor/common_linux.h index ff043cb8a..1819739c5 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -3,252 +3,84 @@ // This file is shared between executor and csource package. -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif - -#include <endian.h> -#include <stdio.h> -#include <sys/syscall.h> -#include <unistd.h> -#if defined(SYZ_EXECUTOR) || defined(SYZ_THREADED) || defined(SYZ_COLLIDE) -#include <linux/futex.h> -#include <pthread.h> #include <stdlib.h> -#endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) -#include <errno.h> -#include <signal.h> -#include <stdarg.h> -#include <sys/time.h> -#include <sys/wait.h> -#include <time.h> -#endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) -#include <sys/prctl.h> -#endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT) && defined(SYZ_USE_TMP_DIR)) -#include <dirent.h> #include <sys/mount.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_SANDBOX_NONE) || defined(SYZ_SANDBOX_SETUID) || defined(SYZ_SANDBOX_NAMESPACE) -#include <errno.h> -#include <sched.h> -#include <signal.h> -#include <stdarg.h> -#include <stdbool.h> -#include <sys/prctl.h> -#include <sys/resource.h> -#include <sys/time.h> -#include <sys/wait.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_FAULT_INJECTION) || defined(SYZ_SANDBOX_NAMESPACE) || \ - defined(SYZ_ENABLE_CGROUPS) -#include <errno.h> -#include <fcntl.h> -#include <sys/stat.h> -#include <sys/types.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_SANDBOX_SETUID) -#include <grp.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_SANDBOX_NAMESPACE) -#include <linux/capability.h> -#include <sys/mman.h> -#include <sys/mount.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_TUN_ENABLE) || defined(SYZ_ENABLE_NETDEV) -#include <arpa/inet.h> -#include <errno.h> -#include <fcntl.h> -#include <linux/if.h> -#include <linux/if_ether.h> -#include <linux/if_tun.h> -#include <linux/ip.h> -#include <linux/tcp.h> -#include <net/if_arp.h> -#include <stdarg.h> -#include <stdbool.h> -#include <stdlib.h> -#include <sys/ioctl.h> -#include <sys/stat.h> -#include <sys/uio.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_RESET_NET_NAMESPACE) -#include <linux/net.h> -#include <netinet/in.h> -#include <sys/socket.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_FAULT_INJECTION) -#include <errno.h> -#include <fcntl.h> -#include <stdarg.h> -#include <stdbool.h> -#include <sys/stat.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_open_dev) || defined(__NR_syz_open_procfs) -#include <fcntl.h> -#include <string.h> -#include <sys/stat.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_open_pts) -#include <fcntl.h> -#include <sys/ioctl.h> -#include <sys/stat.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_kvm_setup_cpu) -#include <errno.h> -#include <fcntl.h> -#include <linux/kvm.h> -#include <stdarg.h> -#include <stddef.h> -#include <sys/ioctl.h> -#include <sys/stat.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_init_net_socket) -#include <fcntl.h> -#include <sched.h> -#include <sys/stat.h> +#include <sys/syscall.h> #include <sys/types.h> #include <unistd.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_genetlink_get_family_id) -#include <errno.h> -#include <linux/genetlink.h> -#include <linux/netlink.h> -#include <sys/socket.h> -#include <sys/types.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_ENABLE_CGROUPS) -#include <sys/mount.h> -#endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_mount_image) || defined(__NR_syz_read_part_table) -#include <errno.h> -#include <fcntl.h> -#include <linux/loop.h> -#include <sys/ioctl.h> -#include <sys/mount.h> -#include <sys/stat.h> -#include <sys/types.h> -#endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) || \ - defined(SYZ_USE_TMP_DIR) || defined(SYZ_HANDLE_SEGV) || defined(SYZ_TUN_ENABLE) || \ - defined(SYZ_SANDBOX_NAMESPACE) || defined(SYZ_SANDBOX_SETUID) || \ - defined(SYZ_SANDBOX_NONE) || defined(SYZ_FAULT_INJECTION) || \ - defined(__NR_syz_kvm_setup_cpu) || defined(__NR_syz_init_net_socket) && (defined(SYZ_SANDBOX_NONE) || defined(SYZ_SANDBOX_SETUID) || defined(SYZ_SANDBOX_NAMESPACE)) -// One does not simply exit. -// _exit can in fact fail. -// syzkaller did manage to generate a seccomp filter that prohibits exit_group syscall. -// Previously, we get into infinite recursion via segv_handler in such case -// and corrupted output_data, which does matter in our case since it is shared -// with fuzzer process. Loop infinitely instead. Parent will kill us. -// But one does not simply loop either. Compilers are sure that _exit never returns, -// so they remove all code after _exit as dead. Call _exit via volatile indirection. -// And this does not work as well. _exit has own handling of failing exit_group -// in the form of HLT instruction, it will divert control flow from our loop. -// So call the syscall directly. -__attribute__((noreturn)) static void doexit(int status) -{ - volatile unsigned i; - syscall(__NR_exit_group, status); - for (i = 0;; i++) { - } -} +#if SYZ_EXECUTOR +struct cover_t; +static void cover_reset(cover_t* cov); #endif -#include "common.h" - -#if defined(SYZ_EXECUTOR) -struct thread_t; -void cover_reset(thread_t* th); -#endif +#if SYZ_EXECUTOR || SYZ_THREADED +#include <linux/futex.h> +#include <pthread.h> -#if defined(SYZ_EXECUTOR) || defined(SYZ_HANDLE_SEGV) -static __thread int skip_segv; -static __thread jmp_buf segv_env; +typedef struct { + int state; +} event_t; -static void segv_handler(int sig, siginfo_t* info, void* uctx) +static void event_init(event_t* ev) { - // Generated programs can contain bad (unmapped/protected) addresses, - // which cause SIGSEGVs during copyin/copyout. - // This handler ignores such crashes to allow the program to proceed. - // We additionally opportunistically check that the faulty address - // is not within executable data region, because such accesses can corrupt - // output region and then fuzzer will fail on corrupted data. - uintptr_t addr = (uintptr_t)info->si_addr; - const uintptr_t prog_start = 1 << 20; - const uintptr_t prog_end = 100 << 20; - if (__atomic_load_n(&skip_segv, __ATOMIC_RELAXED) && (addr < prog_start || addr > prog_end)) { - debug("SIGSEGV on %p, skipping\n", (void*)addr); - _longjmp(segv_env, 1); - } - debug("SIGSEGV on %p, exiting\n", (void*)addr); - doexit(sig); + ev->state = 0; } -static void install_segv_handler() +static void event_reset(event_t* ev) { - struct sigaction sa; - - // Don't need that SIGCANCEL/SIGSETXID glibc stuff. - // SIGCANCEL sent to main thread causes it to exit - // without bringing down the whole group. - memset(&sa, 0, sizeof(sa)); - sa.sa_handler = SIG_IGN; - syscall(SYS_rt_sigaction, 0x20, &sa, NULL, 8); - syscall(SYS_rt_sigaction, 0x21, &sa, NULL, 8); - - memset(&sa, 0, sizeof(sa)); - sa.sa_sigaction = segv_handler; - sa.sa_flags = SA_NODEFER | SA_SIGINFO; - sigaction(SIGSEGV, &sa, NULL); - sigaction(SIGBUS, &sa, NULL); + ev->state = 0; } -#define NONFAILING(...) \ - { \ - __atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST); \ - if (_setjmp(segv_env) == 0) { \ - __VA_ARGS__; \ - } \ - __atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST); \ - } -#endif - -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) -static uint64 current_time_ms() +static void event_set(event_t* ev) { - struct timespec ts; + if (ev->state) + fail("event already set"); + __atomic_store_n(&ev->state, 1, __ATOMIC_RELEASE); + syscall(SYS_futex, &ev->state, FUTEX_WAKE); +} - if (clock_gettime(CLOCK_MONOTONIC, &ts)) - fail("clock_gettime failed"); - return (uint64)ts.tv_sec * 1000 + (uint64)ts.tv_nsec / 1000000; +static void event_wait(event_t* ev) +{ + while (!__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE)) + syscall(SYS_futex, &ev->state, FUTEX_WAIT, 0, 0); } -#endif -#if defined(SYZ_EXECUTOR) -static void sleep_ms(uint64 ms) +static int event_isset(event_t* ev) { - usleep(ms * 1000); + return __atomic_load_n(&ev->state, __ATOMIC_ACQUIRE); } -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_USE_TMP_DIR) -static void use_temporary_dir() +static int event_timedwait(event_t* ev, uint64 timeout_ms) { - char tmpdir_template[] = "./syzkaller.XXXXXX"; - char* tmpdir = mkdtemp(tmpdir_template); - if (!tmpdir) - fail("failed to mkdtemp"); - if (chmod(tmpdir, 0777)) - fail("failed to chmod"); - if (chdir(tmpdir)) - fail("failed to chdir"); + struct timespec ts; + if (clock_gettime(CLOCK_MONOTONIC, &ts)) + fail("clock_gettime failed"); + const uint64 kNsPerSec = 1000 * 1000 * 1000; + uint64 start_ns = (uint64)ts.tv_sec * kNsPerSec + (uint64)ts.tv_nsec; + uint64 now_ns = start_ns; + uint64 timeout_ns = timeout_ms * 1000 * 1000; + for (;;) { + uint64 remain_ns = timeout_ns - (now_ns - start_ns); + ts.tv_sec = remain_ns / kNsPerSec; + ts.tv_nsec = remain_ns % kNsPerSec; + syscall(SYS_futex, &ev->state, FUTEX_WAIT, 0, &ts); + if (__atomic_load_n(&ev->state, __ATOMIC_RELAXED)) + return 1; + if (clock_gettime(CLOCK_MONOTONIC, &ts)) + fail("clock_gettime failed"); + now_ns = (uint64)ts.tv_sec * kNsPerSec + (uint64)ts.tv_nsec; + if (now_ns - start_ns > timeout_ns) + return 0; + } } #endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_TUN_ENABLE) || defined(SYZ_ENABLE_NETDEV) +#if SYZ_EXECUTOR || SYZ_TUN_ENABLE || SYZ_ENABLE_NETDEV +#include <stdarg.h> +#include <stdbool.h> +#include <string.h> + static void vsnprintf_check(char* str, size_t size, const char* format, va_list args) { int rv; @@ -286,7 +118,21 @@ static void execute_command(bool panic, const char* format, ...) } #endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_TUN_ENABLE) +#if SYZ_EXECUTOR || SYZ_TUN_ENABLE +#include <arpa/inet.h> +#include <errno.h> +#include <fcntl.h> +#include <linux/if.h> +#include <linux/if_ether.h> +#include <linux/if_tun.h> +#include <linux/ip.h> +#include <linux/tcp.h> +#include <net/if_arp.h> +#include <stdarg.h> +#include <stdbool.h> +#include <sys/ioctl.h> +#include <sys/stat.h> + static int tunfd = -1; static int tun_frags_enabled; @@ -312,19 +158,15 @@ static int tun_frags_enabled; #define IFF_NAPI_FRAGS 0x0020 #endif -#ifdef SYZ_EXECUTOR -extern bool flag_enable_tun; -#endif - static void initialize_tun(void) { -#ifdef SYZ_EXECUTOR +#if SYZ_EXECUTOR if (!flag_enable_tun) return; #endif tunfd = open("/dev/net/tun", O_RDWR | O_NONBLOCK); if (tunfd == -1) { -#ifdef SYZ_EXECUTOR +#if SYZ_EXECUTOR fail("tun: can't open /dev/net/tun\n"); #else printf("tun: can't open /dev/net/tun: please enable CONFIG_TUN=y\n"); @@ -333,8 +175,8 @@ static void initialize_tun(void) #endif } // Remap tun onto higher fd number to hide it from fuzzer and to keep - // fd numbers stable regardless of whether tun is opened or not. - const int kTunFd = 252; + // fd numbers stable regardless of whether tun is opened or not (also see kMaxFd). + const int kTunFd = 240; if (dup2(tunfd, kTunFd) < 0) fail("dup2(tunfd, kTunFd) failed"); close(tunfd); @@ -378,7 +220,21 @@ static void initialize_tun(void) } #endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_ENABLE_NETDEV) +#if SYZ_EXECUTOR || SYZ_ENABLE_NETDEV +#include <arpa/inet.h> +#include <errno.h> +#include <fcntl.h> +#include <linux/if.h> +#include <linux/if_ether.h> +#include <linux/if_tun.h> +#include <linux/ip.h> +#include <linux/tcp.h> +#include <net/if_arp.h> +#include <stdarg.h> +#include <stdbool.h> +#include <sys/ioctl.h> +#include <sys/stat.h> +#include <sys/uio.h> // Addresses are chosen to be in the same subnet as tun addresses. #define DEV_IPV4 "172.20.20.%d" @@ -394,15 +250,11 @@ static void snprintf_check(char* str, size_t size, const char* format, ...) va_end(args); } -#ifdef SYZ_EXECUTOR -extern bool flag_enable_net_dev; -#endif - // We test in a separate namespace, which does not have any network devices initially (even lo). // Create/up as many as we can. static void initialize_netdevices(void) { -#ifdef SYZ_EXECUTOR +#if SYZ_EXECUTOR if (!flag_enable_net_dev) return; #endif @@ -456,7 +308,9 @@ static void initialize_netdevices(void) } #endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_TUN_ENABLE) && (defined(__NR_syz_extract_tcp_res) || defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT))) +#if SYZ_EXECUTOR || SYZ_TUN_ENABLE && (__NR_syz_extract_tcp_res || SYZ_REPEAT) +#include <errno.h> + static int read_tun(char* data, int size) { if (tunfd < 0) @@ -475,21 +329,10 @@ static int read_tun(char* data, int size) } #endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_DEBUG) && defined(SYZ_TUN_ENABLE) && (defined(__NR_syz_emit_ethernet) || defined(__NR_syz_extract_tcp_res))) -static void debug_dump_data(const char* data, int length) -{ - int i; - for (i = 0; i < length; i++) { - debug("%02x ", data[i] & 0xff); - if (i % 16 == 15) - debug("\n"); - } - if (i % 16 != 0) - debug("\n"); -} -#endif +#if SYZ_EXECUTOR || __NR_syz_emit_ethernet && SYZ_TUN_ENABLE +#include <stdbool.h> +#include <sys/uio.h> -#if defined(SYZ_EXECUTOR) || (defined(__NR_syz_emit_ethernet) && defined(SYZ_TUN_ENABLE)) #define MAX_FRAGS 4 struct vnet_fragmentation { uint32 full; @@ -497,7 +340,7 @@ struct vnet_fragmentation { uint32 frags[MAX_FRAGS]; }; -static uintptr_t syz_emit_ethernet(uintptr_t a0, uintptr_t a1, uintptr_t a2) +static long syz_emit_ethernet(long a0, long a1, long a2) { // syz_emit_ethernet(len len[packet], packet ptr[in, eth_packet], frags ptr[in, vnet_fragmentation, opt]) // vnet_fragmentation { @@ -547,16 +390,20 @@ static uintptr_t syz_emit_ethernet(uintptr_t a0, uintptr_t a1, uintptr_t a2) } #endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT) && defined(SYZ_TUN_ENABLE)) +#if SYZ_EXECUTOR || SYZ_REPEAT && SYZ_TUN_ENABLE static void flush_tun() { +#if SYZ_EXECUTOR + if (!flag_enable_tun) + return; +#endif char data[SYZ_TUN_MAX_PACKET_SIZE]; - while (read_tun(&data[0], sizeof(data)) != -1) - ; + while (read_tun(&data[0], sizeof(data)) != -1) { + } } #endif -#if defined(SYZ_EXECUTOR) || (defined(__NR_syz_extract_tcp_res) && defined(SYZ_TUN_ENABLE)) +#if SYZ_EXECUTOR || __NR_syz_extract_tcp_res && SYZ_TUN_ENABLE #ifndef __ANDROID__ // Can't include <linux/ipv6.h>, since it causes // conflicts due to some structs redefinition. @@ -579,7 +426,7 @@ struct tcp_resources { uint32 ack; }; -static uintptr_t syz_extract_tcp_res(uintptr_t a0, uintptr_t a1, uintptr_t a2) +static long syz_extract_tcp_res(long a0, long a1, long a2) { // syz_extract_tcp_res(res ptr[out, tcp_resources], seq_inc int32, ack_inc int32) @@ -631,8 +478,13 @@ static uintptr_t syz_extract_tcp_res(uintptr_t a0, uintptr_t a1, uintptr_t a2) } #endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_open_dev) -static uintptr_t syz_open_dev(uintptr_t a0, uintptr_t a1, uintptr_t a2) +#if SYZ_EXECUTOR || __NR_syz_open_dev +#include <fcntl.h> +#include <string.h> +#include <sys/stat.h> +#include <sys/types.h> + +static long syz_open_dev(long a0, long a1, long a2) { if (a0 == 0xc || a0 == 0xb) { // syz_open_dev$char(dev const[0xc], major intptr, minor intptr) fd @@ -655,8 +507,13 @@ static uintptr_t syz_open_dev(uintptr_t a0, uintptr_t a1, uintptr_t a2) } #endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_open_procfs) -static uintptr_t syz_open_procfs(uintptr_t a0, uintptr_t a1) +#if SYZ_EXECUTOR || __NR_syz_open_procfs +#include <fcntl.h> +#include <string.h> +#include <sys/stat.h> +#include <sys/types.h> + +static long syz_open_procfs(long a0, long a1) { // syz_open_procfs(pid pid, file ptr[in, string[procfs_file]]) fd @@ -664,7 +521,7 @@ static uintptr_t syz_open_procfs(uintptr_t a0, uintptr_t a1) memset(buf, 0, sizeof(buf)); if (a0 == 0) { NONFAILING(snprintf(buf, sizeof(buf), "/proc/self/%s", (char*)a1)); - } else if (a0 == (uintptr_t)-1) { + } else if (a0 == -1) { NONFAILING(snprintf(buf, sizeof(buf), "/proc/thread-self/%s", (char*)a1)); } else { NONFAILING(snprintf(buf, sizeof(buf), "/proc/self/task/%d/%s", (int)a0, (char*)a1)); @@ -676,8 +533,13 @@ static uintptr_t syz_open_procfs(uintptr_t a0, uintptr_t a1) } #endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_open_pts) -static uintptr_t syz_open_pts(uintptr_t a0, uintptr_t a1) +#if SYZ_EXECUTOR || __NR_syz_open_pts +#include <fcntl.h> +#include <sys/ioctl.h> +#include <sys/stat.h> +#include <sys/types.h> + +static long syz_open_pts(long a0, long a1) { // syz_openpts(fd fd[tty], flags flags[open_flags]) fd[tty] int ptyno = 0; @@ -689,12 +551,18 @@ static uintptr_t syz_open_pts(uintptr_t a0, uintptr_t a1) } #endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_init_net_socket) -#if defined(SYZ_EXECUTOR) || defined(SYZ_SANDBOX_NONE) || defined(SYZ_SANDBOX_SETUID) || defined(SYZ_SANDBOX_NAMESPACE) -const int kInitNetNsFd = 253; +#if SYZ_EXECUTOR || __NR_syz_init_net_socket +#if SYZ_EXECUTOR || SYZ_SANDBOX_NONE || SYZ_SANDBOX_SETUID || SYZ_SANDBOX_NAMESPACE +#include <fcntl.h> +#include <sched.h> +#include <sys/stat.h> +#include <sys/types.h> +#include <unistd.h> + +const int kInitNetNsFd = 239; // see kMaxFd // syz_init_net_socket opens a socket in init net namespace. // Used for families that can only be created in init net namespace. -static uintptr_t syz_init_net_socket(uintptr_t domain, uintptr_t type, uintptr_t proto) +static long syz_init_net_socket(long domain, long type, long proto) { int netns = open("/proc/self/ns/net", O_RDONLY); if (netns == -1) @@ -710,15 +578,21 @@ static uintptr_t syz_init_net_socket(uintptr_t domain, uintptr_t type, uintptr_t return sock; } #else -static uintptr_t syz_init_net_socket(uintptr_t domain, uintptr_t type, uintptr_t proto) +static long syz_init_net_socket(long domain, long type, long proto) { return syscall(__NR_socket, domain, type, proto); } #endif #endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_genetlink_get_family_id) -static uintptr_t syz_genetlink_get_family_id(uintptr_t name) +#if SYZ_EXECUTOR || __NR_syz_genetlink_get_family_id +#include <errno.h> +#include <linux/genetlink.h> +#include <linux/netlink.h> +#include <sys/socket.h> +#include <sys/types.h> + +static long syz_genetlink_get_family_id(long name) { char buf[512] = {0}; struct nlmsghdr* hdr = (struct nlmsghdr*)buf; @@ -765,7 +639,14 @@ static uintptr_t syz_genetlink_get_family_id(uintptr_t name) } #endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_mount_image) || defined(__NR_syz_read_part_table) +#if SYZ_EXECUTOR || __NR_syz_mount_image || __NR_syz_read_part_table +#include <errno.h> +#include <fcntl.h> +#include <linux/loop.h> +#include <sys/ioctl.h> +#include <sys/stat.h> +#include <sys/types.h> + extern unsigned long long procid; struct fs_image_segment { @@ -777,26 +658,26 @@ struct fs_image_segment { #define IMAGE_MAX_SEGMENTS 4096 #define IMAGE_MAX_SIZE (129 << 20) -#if defined(__i386__) +#if GOARCH_386 #define SYZ_memfd_create 356 -#elif defined(__x86_64__) +#elif GOARCH_amd64 #define SYZ_memfd_create 319 -#elif defined(__arm__) +#elif GOARCH_arm #define SYZ_memfd_create 385 -#elif defined(__aarch64__) +#elif GOARCH_arm64 #define SYZ_memfd_create 279 -#elif defined(__ppc64__) || defined(__PPC64__) || defined(__powerpc64__) +#elif GOARCH_ppc64le #define SYZ_memfd_create 360 #endif #endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_read_part_table) +#if SYZ_EXECUTOR || __NR_syz_read_part_table // syz_read_part_table(size intptr, nsegs len[segments], segments ptr[in, array[fs_image_segment]]) -static uintptr_t syz_read_part_table(uintptr_t size, uintptr_t nsegs, uintptr_t segments) +static long syz_read_part_table(unsigned long size, unsigned long nsegs, long segments) { char loopname[64], linkname[64]; int loopfd, err = 0, res = -1; - uintptr_t i, j; + unsigned long i, j; // See the comment in syz_mount_image. struct fs_image_segment* segs = (struct fs_image_segment*)segments; @@ -850,7 +731,7 @@ static uintptr_t syz_read_part_table(uintptr_t size, uintptr_t nsegs, uintptr_t err = errno; goto error_clear_loop; } -#if defined(SYZ_EXECUTOR) +#if SYZ_EXECUTOR cover_reset(0); #endif info.lo_flags |= LO_FLAGS_PARTSCAN; @@ -882,18 +763,18 @@ error: } #endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_mount_image) +#if SYZ_EXECUTOR || __NR_syz_mount_image //syz_mount_image(fs ptr[in, string[disk_filesystems]], dir ptr[in, filename], size intptr, nsegs len[segments], segments ptr[in, array[fs_image_segment]], flags flags[mount_flags], opts ptr[in, fs_options[vfat_options]]) //fs_image_segment { // data ptr[in, array[int8]] // size len[data, intptr] // offset intptr //} -static uintptr_t syz_mount_image(uintptr_t fsarg, uintptr_t dir, uintptr_t size, uintptr_t nsegs, uintptr_t segments, uintptr_t flags, uintptr_t optsarg) +static long syz_mount_image(long fsarg, long dir, unsigned long size, unsigned long nsegs, long segments, long flags, long optsarg) { char loopname[64], fs[32], opts[256]; int loopfd, err = 0, res = -1; - uintptr_t i; + unsigned long i; // Strictly saying we ought to do a nonfailing copyout of segments into a local var. // But some filesystems have large number of segments (2000+), // we can't allocate that much on stack and allocating elsewhere is problematic, @@ -964,7 +845,7 @@ static uintptr_t syz_mount_image(uintptr_t fsarg, uintptr_t dir, uintptr_t size, strcat(opts, ",nouuid"); } debug("syz_mount_image: size=%llu segs=%llu loop='%s' dir='%s' fs='%s' flags=%llu opts='%s'\n", (uint64)size, (uint64)nsegs, loopname, (char*)dir, fs, (uint64)flags, opts); -#if defined(SYZ_EXECUTOR) +#if SYZ_EXECUTOR cover_reset(0); #endif if (mount(loopname, (char*)dir, fs, flags, opts)) { @@ -984,21 +865,35 @@ error: } #endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_kvm_setup_cpu) +#if SYZ_EXECUTOR || __NR_syz_kvm_setup_cpu +#include <errno.h> +#include <fcntl.h> +#include <linux/kvm.h> +#include <stdarg.h> +#include <stddef.h> +#include <sys/ioctl.h> +#include <sys/stat.h> + #if defined(__x86_64__) #include "common_kvm_amd64.h" #elif defined(__aarch64__) #include "common_kvm_arm64.h" #else -static uintptr_t syz_kvm_setup_cpu(uintptr_t a0, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintptr_t a4, uintptr_t a5, uintptr_t a6, uintptr_t a7) +static long syz_kvm_setup_cpu(long a0, long a1, long a2, long a3, long a4, long a5, long a6, long a7) { return 0; } #endif -#endif // #ifdef __NR_syz_kvm_setup_cpu +#endif + +#if SYZ_EXECUTOR || SYZ_FAULT_INJECTION || SYZ_SANDBOX_NAMESPACE || SYZ_ENABLE_CGROUPS +#include <errno.h> +#include <fcntl.h> +#include <stdarg.h> +#include <stdbool.h> +#include <sys/stat.h> +#include <sys/types.h> -#if defined(SYZ_EXECUTOR) || defined(SYZ_FAULT_INJECTION) || defined(SYZ_SANDBOX_NAMESPACE) || \ - defined(SYZ_ENABLE_CGROUPS) static bool write_file(const char* file, const char* what, ...) { char buf[1024]; @@ -1023,332 +918,12 @@ static bool write_file(const char* file, const char* what, ...) } #endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_ENABLE_CGROUPS) -static void setup_cgroups() -{ - if (mkdir("/syzcgroup", 0777)) { - debug("mkdir(/syzcgroup) failed: %d\n", errno); - } - if (mkdir("/syzcgroup/unified", 0777)) { - debug("mkdir(/syzcgroup/unified) failed: %d\n", errno); - } - if (mount("none", "/syzcgroup/unified", "cgroup2", 0, NULL)) { - debug("mount(cgroup2) failed: %d\n", errno); - } - if (chmod("/syzcgroup/unified", 0777)) { - debug("chmod(/syzcgroup/unified) failed: %d\n", errno); - } - if (!write_file("/syzcgroup/unified/cgroup.subtree_control", "+cpu +memory +io +pids +rdma")) { - debug("write(cgroup.subtree_control) failed: %d\n", errno); - } - if (mkdir("/syzcgroup/cpu", 0777)) { - debug("mkdir(/syzcgroup/cpu) failed: %d\n", errno); - } - if (mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuset,cpuacct,perf_event,hugetlb")) { - debug("mount(cgroup cpu) failed: %d\n", errno); - } - if (!write_file("/syzcgroup/cpu/cgroup.clone_children", "1")) { - debug("write(/syzcgroup/cpu/cgroup.clone_children) failed: %d\n", errno); - } - if (chmod("/syzcgroup/cpu", 0777)) { - debug("chmod(/syzcgroup/cpu) failed: %d\n", errno); - } - if (mkdir("/syzcgroup/net", 0777)) { - debug("mkdir(/syzcgroup/net) failed: %d\n", errno); - } - if (mount("none", "/syzcgroup/net", "cgroup", 0, "net_cls,net_prio,devices,freezer")) { - debug("mount(cgroup net) failed: %d\n", errno); - } - if (chmod("/syzcgroup/net", 0777)) { - debug("chmod(/syzcgroup/net) failed: %d\n", errno); - } -} - -// TODO(dvyukov): this should be under a separate define for separate minimization, -// but for now we bundle this with cgroups. -static void setup_binfmt_misc() -{ - if (!write_file("/proc/sys/fs/binfmt_misc/register", ":syz0:M:0:syz0::./file0:")) { - debug("write(/proc/sys/fs/binfmt_misc/register, syz0) failed: %d\n", errno); - } - if (!write_file("/proc/sys/fs/binfmt_misc/register", ":syz1:M:1:yz1::./file0:POC")) { - debug("write(/proc/sys/fs/binfmt_misc/register, syz1) failed: %d\n", errno); - } -} -#endif - -#if defined(SYZ_EXECUTOR) || defined(SYZ_SANDBOX_NONE) || defined(SYZ_SANDBOX_SETUID) || defined(SYZ_SANDBOX_NAMESPACE) -static void loop(); - -static void sandbox_common() -{ - prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); - setpgrp(); - setsid(); - -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_init_net_socket) - int netns = open("/proc/self/ns/net", O_RDONLY); - if (netns == -1) - fail("open(/proc/self/ns/net) failed"); - if (dup2(netns, kInitNetNsFd) < 0) - fail("dup2(netns, kInitNetNsFd) failed"); - close(netns); -#endif - - struct rlimit rlim; - rlim.rlim_cur = rlim.rlim_max = 160 << 20; - setrlimit(RLIMIT_AS, &rlim); - rlim.rlim_cur = rlim.rlim_max = 8 << 20; - setrlimit(RLIMIT_MEMLOCK, &rlim); - rlim.rlim_cur = rlim.rlim_max = 136 << 20; - setrlimit(RLIMIT_FSIZE, &rlim); - rlim.rlim_cur = rlim.rlim_max = 1 << 20; - setrlimit(RLIMIT_STACK, &rlim); - rlim.rlim_cur = rlim.rlim_max = 0; - setrlimit(RLIMIT_CORE, &rlim); - - // CLONE_NEWNS/NEWCGROUP cause EINVAL on some systems, - // so we do them separately of clone in do_sandbox_namespace. - if (unshare(CLONE_NEWNS)) { - debug("unshare(CLONE_NEWNS): %d\n", errno); - } - if (unshare(CLONE_NEWIPC)) { - debug("unshare(CLONE_NEWIPC): %d\n", errno); - } - if (unshare(0x02000000)) { - debug("unshare(CLONE_NEWCGROUP): %d\n", errno); - } - if (unshare(CLONE_NEWUTS)) { - debug("unshare(CLONE_NEWUTS): %d\n", errno); - } - if (unshare(CLONE_SYSVSEM)) { - debug("unshare(CLONE_SYSVSEM): %d\n", errno); - } -} - -int wait_for_loop(int pid) -{ - if (pid < 0) - fail("sandbox fork failed"); - debug("spawned loop pid %d\n", pid); - int status = 0; - while (waitpid(-1, &status, __WALL) != pid) { - } - return WEXITSTATUS(status); -} -#endif - -#if defined(SYZ_EXECUTOR) || defined(SYZ_SANDBOX_NONE) -static int do_sandbox_none(void) -{ - // CLONE_NEWPID takes effect for the first child of the current process, - // so we do it before fork to make the loop "init" process of the namespace. - // We ought to do fail here, but sandbox=none is used in pkg/ipc tests - // and they are usually run under non-root. - // Also since debug is stripped by pkg/csource, we need to do {} - // even though we generally don't do {} around single statements. - if (unshare(CLONE_NEWPID)) { - debug("unshare(CLONE_NEWPID): %d\n", errno); - } - int pid = fork(); - if (pid != 0) - return wait_for_loop(pid); - -#if defined(SYZ_EXECUTOR) || defined(SYZ_ENABLE_CGROUPS) - setup_cgroups(); - setup_binfmt_misc(); -#endif - sandbox_common(); - if (unshare(CLONE_NEWNET)) { - debug("unshare(CLONE_NEWNET): %d\n", errno); - } -#if defined(SYZ_EXECUTOR) || defined(SYZ_TUN_ENABLE) - initialize_tun(); -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_ENABLE_NETDEV) - initialize_netdevices(); -#endif - loop(); - doexit(1); -} -#endif - -#if defined(SYZ_EXECUTOR) || defined(SYZ_SANDBOX_SETUID) -static int do_sandbox_setuid(void) -{ - if (unshare(CLONE_NEWPID)) - fail("unshare(CLONE_NEWPID)"); - int pid = fork(); - if (pid != 0) - return wait_for_loop(pid); - -#if defined(SYZ_EXECUTOR) || defined(SYZ_ENABLE_CGROUPS) - setup_cgroups(); - setup_binfmt_misc(); -#endif - sandbox_common(); - if (unshare(CLONE_NEWNET)) - fail("unshare(CLONE_NEWNET)"); -#if defined(SYZ_EXECUTOR) || defined(SYZ_TUN_ENABLE) - initialize_tun(); -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_ENABLE_NETDEV) - initialize_netdevices(); -#endif - - const int nobody = 65534; - if (setgroups(0, NULL)) - fail("failed to setgroups"); - if (syscall(SYS_setresgid, nobody, nobody, nobody)) - fail("failed to setresgid"); - if (syscall(SYS_setresuid, nobody, nobody, nobody)) - fail("failed to setresuid"); - - // This is required to open /proc/self/* files. - // Otherwise they are owned by root and we can't open them after setuid. - // See task_dump_owner function in kernel. - prctl(PR_SET_DUMPABLE, 1, 0, 0, 0); - - loop(); - doexit(1); -} -#endif - -#if defined(SYZ_EXECUTOR) || defined(SYZ_SANDBOX_NAMESPACE) -static int real_uid; -static int real_gid; -__attribute__((aligned(64 << 10))) static char sandbox_stack[1 << 20]; - -static int namespace_sandbox_proc(void* arg) -{ - sandbox_common(); - - // /proc/self/setgroups is not present on some systems, ignore error. - write_file("/proc/self/setgroups", "deny"); - if (!write_file("/proc/self/uid_map", "0 %d 1\n", real_uid)) - fail("write of /proc/self/uid_map failed"); - if (!write_file("/proc/self/gid_map", "0 %d 1\n", real_gid)) - fail("write of /proc/self/gid_map failed"); - - // CLONE_NEWNET must always happen before tun setup, - // because we want the tun device in the test namespace. - if (unshare(CLONE_NEWNET)) - fail("unshare(CLONE_NEWNET)"); -#if defined(SYZ_EXECUTOR) || defined(SYZ_TUN_ENABLE) - // We setup tun here as it needs to be in the test net namespace, - // which in turn needs to be in the test user namespace. - // However, IFF_NAPI_FRAGS will fail as we are not root already. - // There does not seem to be a call sequence that would satisfy all of that. - initialize_tun(); -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_ENABLE_NETDEV) - initialize_netdevices(); -#endif - - if (mkdir("./syz-tmp", 0777)) - fail("mkdir(syz-tmp) failed"); - if (mount("", "./syz-tmp", "tmpfs", 0, NULL)) - fail("mount(tmpfs) failed"); - if (mkdir("./syz-tmp/newroot", 0777)) - fail("mkdir failed"); - if (mkdir("./syz-tmp/newroot/dev", 0700)) - fail("mkdir failed"); - unsigned mount_flags = MS_BIND | MS_REC | MS_PRIVATE; - if (mount("/dev", "./syz-tmp/newroot/dev", NULL, mount_flags, NULL)) - fail("mount(dev) failed"); - if (mkdir("./syz-tmp/newroot/proc", 0700)) - fail("mkdir failed"); - if (mount(NULL, "./syz-tmp/newroot/proc", "proc", 0, NULL)) - fail("mount(proc) failed"); - if (mkdir("./syz-tmp/newroot/selinux", 0700)) - fail("mkdir failed"); - // selinux mount used to be at /selinux, but then moved to /sys/fs/selinux. - const char* selinux_path = "./syz-tmp/newroot/selinux"; - if (mount("/selinux", selinux_path, NULL, mount_flags, NULL)) { - if (errno != ENOENT) - fail("mount(/selinux) failed"); - if (mount("/sys/fs/selinux", selinux_path, NULL, mount_flags, NULL) && errno != ENOENT) - fail("mount(/sys/fs/selinux) failed"); - } - if (mkdir("./syz-tmp/newroot/sys", 0700)) - fail("mkdir failed"); - if (mount(NULL, "./syz-tmp/newroot/sys", "sysfs", 0, NULL)) - fail("mount(sysfs) failed"); -#if defined(SYZ_EXECUTOR) || defined(SYZ_ENABLE_CGROUPS) - if (mkdir("./syz-tmp/newroot/syzcgroup", 0700)) - fail("mkdir failed"); - if (mkdir("./syz-tmp/newroot/syzcgroup/unified", 0700)) - fail("mkdir failed"); - if (mkdir("./syz-tmp/newroot/syzcgroup/cpu", 0700)) - fail("mkdir failed"); - if (mkdir("./syz-tmp/newroot/syzcgroup/net", 0700)) - fail("mkdir failed"); - if (mount("/syzcgroup/unified", "./syz-tmp/newroot/syzcgroup/unified", NULL, mount_flags, NULL)) { - debug("mount(cgroup2, MS_BIND) failed: %d\n", errno); - } - if (mount("/syzcgroup/cpu", "./syz-tmp/newroot/syzcgroup/cpu", NULL, mount_flags, NULL)) { - debug("mount(cgroup/cpu, MS_BIND) failed: %d\n", errno); - } - if (mount("/syzcgroup/net", "./syz-tmp/newroot/syzcgroup/net", NULL, mount_flags, NULL)) { - debug("mount(cgroup/net, MS_BIND) failed: %d\n", errno); - } -#endif - if (mkdir("./syz-tmp/pivot", 0777)) - fail("mkdir failed"); - if (syscall(SYS_pivot_root, "./syz-tmp", "./syz-tmp/pivot")) { - debug("pivot_root failed\n"); - if (chdir("./syz-tmp")) - fail("chdir failed"); - } else { - debug("pivot_root OK\n"); - if (chdir("/")) - fail("chdir failed"); - if (umount2("./pivot", MNT_DETACH)) - fail("umount failed"); - } - if (chroot("./newroot")) - fail("chroot failed"); - if (chdir("/")) - fail("chdir failed"); - - // Drop CAP_SYS_PTRACE so that test processes can't attach to parent processes. - // Previously it lead to hangs because the loop process stopped due to SIGSTOP. - // Note that a process can always ptrace its direct children, which is enough - // for testing purposes. - struct __user_cap_header_struct cap_hdr = {}; - struct __user_cap_data_struct cap_data[2] = {}; - cap_hdr.version = _LINUX_CAPABILITY_VERSION_3; - cap_hdr.pid = getpid(); - if (syscall(SYS_capget, &cap_hdr, &cap_data)) - fail("capget failed"); - cap_data[0].effective &= ~(1 << CAP_SYS_PTRACE); - cap_data[0].permitted &= ~(1 << CAP_SYS_PTRACE); - cap_data[0].inheritable &= ~(1 << CAP_SYS_PTRACE); - if (syscall(SYS_capset, &cap_hdr, &cap_data)) - fail("capset failed"); - - loop(); - doexit(1); -} - -static int do_sandbox_namespace(void) -{ - int pid; - -#if defined(SYZ_EXECUTOR) || defined(SYZ_ENABLE_CGROUPS) - setup_cgroups(); - setup_binfmt_misc(); -#endif - real_uid = getuid(); - real_gid = getgid(); - mprotect(sandbox_stack, 4096, PROT_NONE); // to catch stack underflows - pid = clone(namespace_sandbox_proc, &sandbox_stack[sizeof(sandbox_stack) - 64], - CLONE_NEWUSER | CLONE_NEWPID, 0); - return wait_for_loop(pid); -} -#endif +#if SYZ_EXECUTOR || SYZ_RESET_NET_NAMESPACE +#include <errno.h> +#include <linux/net.h> +#include <netinet/in.h> +#include <sys/socket.h> -#if defined(SYZ_EXECUTOR) || defined(SYZ_RESET_NET_NAMESPACE) // checkpoint/reset_net_namespace partially resets net namespace to initial state // after each test. Currently it resets only ipv4 netfilter state. // Ideally, we just create a new net namespace for each test, @@ -1779,7 +1354,361 @@ static void reset_net_namespace(void) } #endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT) && defined(SYZ_USE_TMP_DIR)) +#if SYZ_EXECUTOR || SYZ_ENABLE_CGROUPS +#include <fcntl.h> +#include <sys/mount.h> +#include <sys/stat.h> +#include <sys/types.h> + +static void setup_cgroups() +{ + if (mkdir("/syzcgroup", 0777)) { + debug("mkdir(/syzcgroup) failed: %d\n", errno); + } + if (mkdir("/syzcgroup/unified", 0777)) { + debug("mkdir(/syzcgroup/unified) failed: %d\n", errno); + } + if (mount("none", "/syzcgroup/unified", "cgroup2", 0, NULL)) { + debug("mount(cgroup2) failed: %d\n", errno); + } + if (chmod("/syzcgroup/unified", 0777)) { + debug("chmod(/syzcgroup/unified) failed: %d\n", errno); + } + if (!write_file("/syzcgroup/unified/cgroup.subtree_control", "+cpu +memory +io +pids +rdma")) { + debug("write(cgroup.subtree_control) failed: %d\n", errno); + } + if (mkdir("/syzcgroup/cpu", 0777)) { + debug("mkdir(/syzcgroup/cpu) failed: %d\n", errno); + } + if (mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuset,cpuacct,perf_event,hugetlb")) { + debug("mount(cgroup cpu) failed: %d\n", errno); + } + if (!write_file("/syzcgroup/cpu/cgroup.clone_children", "1")) { + debug("write(/syzcgroup/cpu/cgroup.clone_children) failed: %d\n", errno); + } + if (chmod("/syzcgroup/cpu", 0777)) { + debug("chmod(/syzcgroup/cpu) failed: %d\n", errno); + } + if (mkdir("/syzcgroup/net", 0777)) { + debug("mkdir(/syzcgroup/net) failed: %d\n", errno); + } + if (mount("none", "/syzcgroup/net", "cgroup", 0, "net_cls,net_prio,devices,freezer")) { + debug("mount(cgroup net) failed: %d\n", errno); + } + if (chmod("/syzcgroup/net", 0777)) { + debug("chmod(/syzcgroup/net) failed: %d\n", errno); + } +} + +// TODO(dvyukov): this should be under a separate define for separate minimization, +// but for now we bundle this with cgroups. +static void setup_binfmt_misc() +{ + if (!write_file("/proc/sys/fs/binfmt_misc/register", ":syz0:M:0:syz0::./file0:")) { + debug("write(/proc/sys/fs/binfmt_misc/register, syz0) failed: %d\n", errno); + } + if (!write_file("/proc/sys/fs/binfmt_misc/register", ":syz1:M:1:yz1::./file0:POC")) { + debug("write(/proc/sys/fs/binfmt_misc/register, syz1) failed: %d\n", errno); + } +} +#endif + +#if SYZ_EXECUTOR || SYZ_SANDBOX_NONE || SYZ_SANDBOX_SETUID || SYZ_SANDBOX_NAMESPACE +static void setup_common() +{ +#if SYZ_EXECUTOR || SYZ_ENABLE_CGROUPS + setup_cgroups(); + setup_binfmt_misc(); +#endif +#if SYZ_EXECUTOR || SYZ_RESET_NET_NAMESPACE + checkpoint_net_namespace(); +#endif +} +#endif + +#if SYZ_EXECUTOR || SYZ_SANDBOX_NONE || SYZ_SANDBOX_SETUID || SYZ_SANDBOX_NAMESPACE +#include <sys/prctl.h> +#include <sys/resource.h> +#include <sys/time.h> +#include <sys/wait.h> + +static void loop(); + +static void sandbox_common() +{ + prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); + setpgrp(); + setsid(); + +#if SYZ_EXECUTOR || __NR_syz_init_net_socket + int netns = open("/proc/self/ns/net", O_RDONLY); + if (netns == -1) + fail("open(/proc/self/ns/net) failed"); + if (dup2(netns, kInitNetNsFd) < 0) + fail("dup2(netns, kInitNetNsFd) failed"); + close(netns); +#endif + + struct rlimit rlim; + rlim.rlim_cur = rlim.rlim_max = 160 << 20; + setrlimit(RLIMIT_AS, &rlim); + rlim.rlim_cur = rlim.rlim_max = 8 << 20; + setrlimit(RLIMIT_MEMLOCK, &rlim); + rlim.rlim_cur = rlim.rlim_max = 136 << 20; + setrlimit(RLIMIT_FSIZE, &rlim); + rlim.rlim_cur = rlim.rlim_max = 1 << 20; + setrlimit(RLIMIT_STACK, &rlim); + rlim.rlim_cur = rlim.rlim_max = 0; + setrlimit(RLIMIT_CORE, &rlim); + rlim.rlim_cur = rlim.rlim_max = 256; // see kMaxFd + setrlimit(RLIMIT_NOFILE, &rlim); + + // CLONE_NEWNS/NEWCGROUP cause EINVAL on some systems, + // so we do them separately of clone in do_sandbox_namespace. + if (unshare(CLONE_NEWNS)) { + debug("unshare(CLONE_NEWNS): %d\n", errno); + } + if (unshare(CLONE_NEWIPC)) { + debug("unshare(CLONE_NEWIPC): %d\n", errno); + } + if (unshare(0x02000000)) { + debug("unshare(CLONE_NEWCGROUP): %d\n", errno); + } + if (unshare(CLONE_NEWUTS)) { + debug("unshare(CLONE_NEWUTS): %d\n", errno); + } + if (unshare(CLONE_SYSVSEM)) { + debug("unshare(CLONE_SYSVSEM): %d\n", errno); + } +} + +int wait_for_loop(int pid) +{ + if (pid < 0) + fail("sandbox fork failed"); + debug("spawned loop pid %d\n", pid); + int status = 0; + while (waitpid(-1, &status, __WALL) != pid) { + } + return WEXITSTATUS(status); +} +#endif + +#if SYZ_EXECUTOR || SYZ_SANDBOX_NONE +#include <sched.h> +#include <sys/types.h> + +static int do_sandbox_none(void) +{ + // CLONE_NEWPID takes effect for the first child of the current process, + // so we do it before fork to make the loop "init" process of the namespace. + // We ought to do fail here, but sandbox=none is used in pkg/ipc tests + // and they are usually run under non-root. + // Also since debug is stripped by pkg/csource, we need to do {} + // even though we generally don't do {} around single statements. + if (unshare(CLONE_NEWPID)) { + debug("unshare(CLONE_NEWPID): %d\n", errno); + } + int pid = fork(); + if (pid != 0) + return wait_for_loop(pid); + + setup_common(); + sandbox_common(); + if (unshare(CLONE_NEWNET)) { + debug("unshare(CLONE_NEWNET): %d\n", errno); + } +#if SYZ_EXECUTOR || SYZ_TUN_ENABLE + initialize_tun(); +#endif +#if SYZ_EXECUTOR || SYZ_ENABLE_NETDEV + initialize_netdevices(); +#endif + loop(); + doexit(1); +} +#endif + +#if SYZ_EXECUTOR || SYZ_SANDBOX_SETUID +#include <grp.h> +#include <sched.h> +#include <sys/prctl.h> + +static int do_sandbox_setuid(void) +{ + if (unshare(CLONE_NEWPID)) + fail("unshare(CLONE_NEWPID)"); + int pid = fork(); + if (pid != 0) + return wait_for_loop(pid); + + setup_common(); + sandbox_common(); + if (unshare(CLONE_NEWNET)) + fail("unshare(CLONE_NEWNET)"); +#if SYZ_EXECUTOR || SYZ_TUN_ENABLE + initialize_tun(); +#endif +#if SYZ_EXECUTOR || SYZ_ENABLE_NETDEV + initialize_netdevices(); +#endif + + const int nobody = 65534; + if (setgroups(0, NULL)) + fail("failed to setgroups"); + if (syscall(SYS_setresgid, nobody, nobody, nobody)) + fail("failed to setresgid"); + if (syscall(SYS_setresuid, nobody, nobody, nobody)) + fail("failed to setresuid"); + + // This is required to open /proc/self/* files. + // Otherwise they are owned by root and we can't open them after setuid. + // See task_dump_owner function in kernel. + prctl(PR_SET_DUMPABLE, 1, 0, 0, 0); + + loop(); + doexit(1); +} +#endif + +#if SYZ_EXECUTOR || SYZ_SANDBOX_NAMESPACE +#include <linux/capability.h> +#include <sys/mman.h> + +static int real_uid; +static int real_gid; +__attribute__((aligned(64 << 10))) static char sandbox_stack[1 << 20]; + +static int namespace_sandbox_proc(void* arg) +{ + sandbox_common(); + + // /proc/self/setgroups is not present on some systems, ignore error. + write_file("/proc/self/setgroups", "deny"); + if (!write_file("/proc/self/uid_map", "0 %d 1\n", real_uid)) + fail("write of /proc/self/uid_map failed"); + if (!write_file("/proc/self/gid_map", "0 %d 1\n", real_gid)) + fail("write of /proc/self/gid_map failed"); + + // CLONE_NEWNET must always happen before tun setup, + // because we want the tun device in the test namespace. + if (unshare(CLONE_NEWNET)) + fail("unshare(CLONE_NEWNET)"); +#if SYZ_EXECUTOR || SYZ_TUN_ENABLE + // We setup tun here as it needs to be in the test net namespace, + // which in turn needs to be in the test user namespace. + // However, IFF_NAPI_FRAGS will fail as we are not root already. + // There does not seem to be a call sequence that would satisfy all of that. + initialize_tun(); +#endif +#if SYZ_EXECUTOR || SYZ_ENABLE_NETDEV + initialize_netdevices(); +#endif + + if (mkdir("./syz-tmp", 0777)) + fail("mkdir(syz-tmp) failed"); + if (mount("", "./syz-tmp", "tmpfs", 0, NULL)) + fail("mount(tmpfs) failed"); + if (mkdir("./syz-tmp/newroot", 0777)) + fail("mkdir failed"); + if (mkdir("./syz-tmp/newroot/dev", 0700)) + fail("mkdir failed"); + unsigned bind_mount_flags = MS_BIND | MS_REC | MS_PRIVATE; + if (mount("/dev", "./syz-tmp/newroot/dev", NULL, bind_mount_flags, NULL)) + fail("mount(dev) failed"); + if (mkdir("./syz-tmp/newroot/proc", 0700)) + fail("mkdir failed"); + if (mount(NULL, "./syz-tmp/newroot/proc", "proc", 0, NULL)) + fail("mount(proc) failed"); + if (mkdir("./syz-tmp/newroot/selinux", 0700)) + fail("mkdir failed"); + // selinux mount used to be at /selinux, but then moved to /sys/fs/selinux. + const char* selinux_path = "./syz-tmp/newroot/selinux"; + if (mount("/selinux", selinux_path, NULL, bind_mount_flags, NULL)) { + if (errno != ENOENT) + fail("mount(/selinux) failed"); + if (mount("/sys/fs/selinux", selinux_path, NULL, bind_mount_flags, NULL) && errno != ENOENT) + fail("mount(/sys/fs/selinux) failed"); + } + if (mkdir("./syz-tmp/newroot/sys", 0700)) + fail("mkdir failed"); + if (mount("/sys", "./syz-tmp/newroot/sys", 0, bind_mount_flags, NULL)) + fail("mount(sysfs) failed"); +#if SYZ_EXECUTOR || SYZ_ENABLE_CGROUPS + if (mkdir("./syz-tmp/newroot/syzcgroup", 0700)) + fail("mkdir failed"); + if (mkdir("./syz-tmp/newroot/syzcgroup/unified", 0700)) + fail("mkdir failed"); + if (mkdir("./syz-tmp/newroot/syzcgroup/cpu", 0700)) + fail("mkdir failed"); + if (mkdir("./syz-tmp/newroot/syzcgroup/net", 0700)) + fail("mkdir failed"); + if (mount("/syzcgroup/unified", "./syz-tmp/newroot/syzcgroup/unified", NULL, bind_mount_flags, NULL)) { + debug("mount(cgroup2, MS_BIND) failed: %d\n", errno); + } + if (mount("/syzcgroup/cpu", "./syz-tmp/newroot/syzcgroup/cpu", NULL, bind_mount_flags, NULL)) { + debug("mount(cgroup/cpu, MS_BIND) failed: %d\n", errno); + } + if (mount("/syzcgroup/net", "./syz-tmp/newroot/syzcgroup/net", NULL, bind_mount_flags, NULL)) { + debug("mount(cgroup/net, MS_BIND) failed: %d\n", errno); + } +#endif + if (mkdir("./syz-tmp/pivot", 0777)) + fail("mkdir failed"); + if (syscall(SYS_pivot_root, "./syz-tmp", "./syz-tmp/pivot")) { + debug("pivot_root failed\n"); + if (chdir("./syz-tmp")) + fail("chdir failed"); + } else { + debug("pivot_root OK\n"); + if (chdir("/")) + fail("chdir failed"); + if (umount2("./pivot", MNT_DETACH)) + fail("umount failed"); + } + if (chroot("./newroot")) + fail("chroot failed"); + if (chdir("/")) + fail("chdir failed"); + + // Drop CAP_SYS_PTRACE so that test processes can't attach to parent processes. + // Previously it lead to hangs because the loop process stopped due to SIGSTOP. + // Note that a process can always ptrace its direct children, which is enough + // for testing purposes. + struct __user_cap_header_struct cap_hdr = {}; + struct __user_cap_data_struct cap_data[2] = {}; + cap_hdr.version = _LINUX_CAPABILITY_VERSION_3; + cap_hdr.pid = getpid(); + if (syscall(SYS_capget, &cap_hdr, &cap_data)) + fail("capget failed"); + cap_data[0].effective &= ~(1 << CAP_SYS_PTRACE); + cap_data[0].permitted &= ~(1 << CAP_SYS_PTRACE); + cap_data[0].inheritable &= ~(1 << CAP_SYS_PTRACE); + if (syscall(SYS_capset, &cap_hdr, &cap_data)) + fail("capset failed"); + + loop(); + doexit(1); +} + +static int do_sandbox_namespace(void) +{ + int pid; + + setup_common(); + real_uid = getuid(); + real_gid = getgid(); + mprotect(sandbox_stack, 4096, PROT_NONE); // to catch stack underflows + pid = clone(namespace_sandbox_proc, &sandbox_stack[sizeof(sandbox_stack) - 64], + CLONE_NEWUSER | CLONE_NEWPID, 0); + return wait_for_loop(pid); +} +#endif + +#if SYZ_EXECUTOR || SYZ_REPEAT && SYZ_USE_TMP_DIR +#include <dirent.h> +#include <errno.h> + // One does not simply remove a directory. // There can be mounts, so we need to try to umount. // Moreover, a mount can be mounted several times, so we need to try to umount in a loop. @@ -1866,7 +1795,11 @@ retry: } #endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_FAULT_INJECTION) +#if SYZ_EXECUTOR || SYZ_FAULT_INJECTION +#include <fcntl.h> +#include <sys/stat.h> +#include <sys/types.h> + static int inject_fault(int nth) { int fd; @@ -1885,7 +1818,7 @@ static int inject_fault(int nth) } #endif -#if defined(SYZ_EXECUTOR) +#if SYZ_EXECUTOR static int fault_injected(int fail_fd) { char buf[16]; @@ -1901,263 +1834,97 @@ static int fault_injected(int fail_fd) } #endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_REPEAT) -static void execute_one(); -extern unsigned long long procid; +#if SYZ_EXECUTOR || SYZ_REPEAT +#include <fcntl.h> +#include <sys/ioctl.h> +#include <sys/prctl.h> +#include <sys/stat.h> +#include <sys/types.h> +#include <unistd.h> -#if defined(SYZ_EXECUTOR) -void reply_handshake(); -void receive_execute(); -void reply_execute(int status); -extern uint32* output_data; -extern uint32* output_pos; -#endif +extern unsigned long long procid; -#if defined(SYZ_EXECUTOR) || defined(SYZ_WAIT_REPEAT) -static void loop() +static void setup_loop() { -#if defined(SYZ_EXECUTOR) - // Tell parent that we are ready to serve. - reply_handshake(); -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_RESET_NET_NAMESPACE) - checkpoint_net_namespace(); -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_ENABLE_CGROUPS) +#if SYZ_ENABLE_CGROUPS + int pid = getpid(); char cgroupdir[64]; + char procs_file[128]; snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/unified/syz%llu", procid); - char cgroupdir_cpu[64]; - snprintf(cgroupdir_cpu, sizeof(cgroupdir_cpu), "/syzcgroup/cpu/syz%llu", procid); - char cgroupdir_net[64]; - snprintf(cgroupdir_net, sizeof(cgroupdir_net), "/syzcgroup/net/syz%llu", procid); if (mkdir(cgroupdir, 0777)) { debug("mkdir(%s) failed: %d\n", cgroupdir, errno); } - if (mkdir(cgroupdir_cpu, 0777)) { - debug("mkdir(%s) failed: %d\n", cgroupdir_cpu, errno); - } - if (mkdir(cgroupdir_net, 0777)) { - debug("mkdir(%s) failed: %d\n", cgroupdir_net, errno); - } - int pid = getpid(); - char procs_file[128]; snprintf(procs_file, sizeof(procs_file), "%s/cgroup.procs", cgroupdir); if (!write_file(procs_file, "%d", pid)) { debug("write(%s) failed: %d\n", procs_file, errno); } - snprintf(procs_file, sizeof(procs_file), "%s/cgroup.procs", cgroupdir_cpu); + snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/cpu/syz%llu", procid); + if (mkdir(cgroupdir, 0777)) { + debug("mkdir(%s) failed: %d\n", cgroupdir, errno); + } + snprintf(procs_file, sizeof(procs_file), "%s/cgroup.procs", cgroupdir); if (!write_file(procs_file, "%d", pid)) { debug("write(%s) failed: %d\n", procs_file, errno); } - snprintf(procs_file, sizeof(procs_file), "%s/cgroup.procs", cgroupdir_net); + snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/net/syz%llu", procid); + if (mkdir(cgroupdir, 0777)) { + debug("mkdir(%s) failed: %d\n", cgroupdir, errno); + } + snprintf(procs_file, sizeof(procs_file), "%s/cgroup.procs", cgroupdir); if (!write_file(procs_file, "%d", pid)) { debug("write(%s) failed: %d\n", procs_file, errno); } #endif - int iter; - for (iter = 0;; iter++) { -#if defined(SYZ_EXECUTOR) || defined(SYZ_USE_TMP_DIR) - // Create a new private work dir for this test (removed at the end of the loop). - char cwdbuf[32]; - sprintf(cwdbuf, "./%d", iter); - if (mkdir(cwdbuf, 0777)) - fail("failed to mkdir"); -#endif -#if defined(SYZ_EXECUTOR) || defined(__NR_syz_mount_image) || defined(__NR_syz_read_part_table) - char buf[64]; - snprintf(buf, sizeof(buf), "/dev/loop%llu", procid); - int loopfd = open(buf, O_RDWR); - if (loopfd != -1) { - ioctl(loopfd, LOOP_CLR_FD, 0); - close(loopfd); - } -#endif -#if defined(SYZ_EXECUTOR) - // TODO: consider moving the read into the child. - // Potentially it can speed up things a bit -- when the read finishes - // we already have a forked worker process. - receive_execute(); -#endif - int pid = fork(); - if (pid < 0) - fail("clone failed"); - if (pid == 0) { - prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); - setpgrp(); -#if defined(SYZ_EXECUTOR) || defined(SYZ_USE_TMP_DIR) - if (chdir(cwdbuf)) - fail("failed to chdir"); -#endif -#if defined(SYZ_EXECUTOR) - close(kInPipeFd); - close(kOutPipeFd); -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_ENABLE_CGROUPS) - if (symlink(cgroupdir, "./cgroup")) { - debug("symlink(%s, ./cgroup) failed: %d\n", cgroupdir, errno); - } - if (symlink(cgroupdir_cpu, "./cgroup.cpu")) { - debug("symlink(%s, ./cgroup.cpu) failed: %d\n", cgroupdir_cpu, errno); - } - if (symlink(cgroupdir_net, "./cgroup.net")) { - debug("symlink(%s, ./cgroup.net) failed: %d\n", cgroupdir_net, errno); - } -#endif -#if defined(SYZ_EXECUTOR) - if (flag_enable_tun) { - // Read all remaining packets from tun to better - // isolate consequently executing programs. - flush_tun(); - } - output_pos = output_data; -#elif defined(SYZ_TUN_ENABLE) - flush_tun(); -#endif - execute_one(); - debug("worker exiting\n"); - // Keeping a 9p transport pipe open will hang the proccess dead, - // so close all opened file descriptors. - int fd; - for (fd = 3; fd < 30; fd++) - close(fd); - doexit(0); - } - debug("spawned worker pid %d\n", pid); - - // We used to use sigtimedwait(SIGCHLD) to wait for the subprocess. - // But SIGCHLD is also delivered when a process stops/continues, - // so it would require a loop with status analysis and timeout recalculation. - // SIGCHLD should also unblock the usleep below, so the spin loop - // should be as efficient as sigtimedwait. - int status = 0; - uint64 start = current_time_ms(); -#if defined(SYZ_EXECUTOR) - uint64 last_executed = start; - uint32 executed_calls = __atomic_load_n(output_data, __ATOMIC_RELAXED); -#endif - for (;;) { - int res = waitpid(-1, &status, __WALL | WNOHANG); - if (res == pid) { - debug("waitpid(%d)=%d\n", pid, res); - break; - } - usleep(1000); -#if defined(SYZ_EXECUTOR) - // Even though the test process executes exit at the end - // and execution time of each syscall is bounded by 20ms, - // this backup watchdog is necessary and its performance is important. - // The problem is that exit in the test processes can fail (sic). - // One observed scenario is that the test processes prohibits - // exit_group syscall using seccomp. Another observed scenario - // is that the test processes setups a userfaultfd for itself, - // then the main thread hangs when it wants to page in a page. - // Below we check if the test process still executes syscalls - // and kill it after 1s of inactivity. - uint64 now = current_time_ms(); - uint32 now_executed = __atomic_load_n(output_data, __ATOMIC_RELAXED); - if (executed_calls != now_executed) { - executed_calls = now_executed; - last_executed = now; - } - if ((now - start < 5 * 1000) && (now - start < 3000 || now - last_executed < 1000)) - continue; -#else - if (current_time_ms() - start < 5 * 1000) - continue; -#endif - debug("waitpid(%d)=%d\n", pid, res); - debug("killing\n"); - kill(-pid, SIGKILL); - kill(pid, SIGKILL); - while (waitpid(-1, &status, __WALL) != pid) { - } - break; - } -#if defined(SYZ_EXECUTOR) - status = WEXITSTATUS(status); - if (status == kFailStatus) - fail("child failed"); - if (status == kErrorStatus) - error("child errored"); - reply_execute(0); -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_USE_TMP_DIR) - remove_dir(cwdbuf); -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_RESET_NET_NAMESPACE) - reset_net_namespace(); -#endif - } } -#else -void loop() + +static void reset_loop() { - while (1) { - execute_one(); +#if SYZ_EXECUTOR || __NR_syz_mount_image || __NR_syz_read_part_table + char buf[64]; + snprintf(buf, sizeof(buf), "/dev/loop%llu", procid); + int loopfd = open(buf, O_RDWR); + if (loopfd != -1) { + ioctl(loopfd, LOOP_CLR_FD, 0); + close(loopfd); } -} #endif +#if SYZ_EXECUTOR || SYZ_RESET_NET_NAMESPACE + reset_net_namespace(); #endif +} -#if defined(SYZ_THREADED) -struct thread_t { - int created, running, call; - pthread_t th; -}; - -static struct thread_t threads[16]; -static void execute_call(int call); -static int running; -#if defined(SYZ_COLLIDE) -static int collide; -#endif - -static void* thr(void* arg) +static void setup_test() { - struct thread_t* th = (struct thread_t*)arg; - for (;;) { - while (!__atomic_load_n(&th->running, __ATOMIC_ACQUIRE)) - syscall(SYS_futex, &th->running, FUTEX_WAIT, 0, 0); - execute_call(th->call); - __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); - __atomic_store_n(&th->running, 0, __ATOMIC_RELEASE); - syscall(SYS_futex, &th->running, FUTEX_WAKE); + prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); + setpgrp(); +#if SYZ_EXECUTOR || SYZ_ENABLE_CGROUPS + char cgroupdir[64]; + snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/unified/syz%llu", procid); + if (symlink(cgroupdir, "./cgroup")) { + debug("symlink(%s, ./cgroup) failed: %d\n", cgroupdir, errno); } - return 0; + snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/cpu/syz%llu", procid); + if (symlink(cgroupdir, "./cgroup.cpu")) { + debug("symlink(%s, ./cgroup.cpu) failed: %d\n", cgroupdir, errno); + } + snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/net/syz%llu", procid); + if (symlink(cgroupdir, "./cgroup.net")) { + debug("symlink(%s, ./cgroup.net) failed: %d\n", cgroupdir, errno); + } +#endif +#if SYZ_EXECUTOR || SYZ_TUN_ENABLE + // Read all remaining packets from tun to better + // isolate consequently executing programs. + flush_tun(); +#endif } -static void execute(int num_calls) +static void reset_test() { - int call, thread; - running = 0; - for (call = 0; call < num_calls; call++) { - for (thread = 0; thread < sizeof(threads) / sizeof(threads[0]); thread++) { - struct thread_t* th = &threads[thread]; - if (!th->created) { - th->created = 1; - pthread_attr_t attr; - pthread_attr_init(&attr); - pthread_attr_setstacksize(&attr, 128 << 10); - pthread_create(&th->th, &attr, thr, th); - } - if (!__atomic_load_n(&th->running, __ATOMIC_ACQUIRE)) { - th->call = call; - __atomic_fetch_add(&running, 1, __ATOMIC_RELAXED); - __atomic_store_n(&th->running, 1, __ATOMIC_RELEASE); - syscall(SYS_futex, &th->running, FUTEX_WAKE); -#if defined(SYZ_COLLIDE) - if (collide && call % 2) - break; -#endif - struct timespec ts; - ts.tv_sec = 0; - ts.tv_nsec = 20 * 1000 * 1000; - syscall(SYS_futex, &th->running, FUTEX_WAIT, 1, &ts); - if (__atomic_load_n(&running, __ATOMIC_RELAXED)) - usleep((call == num_calls - 1) ? 10000 : 1000); - break; - } - } - } + // Keeping a 9p transport pipe open will hang the proccess dead, + // so close all opened file descriptors. + int fd; + for (fd = 3; fd < 30; fd++) + close(fd); } #endif diff --git a/executor/common_test.h b/executor/common_test.h new file mode 100644 index 000000000..38accf58a --- /dev/null +++ b/executor/common_test.h @@ -0,0 +1,30 @@ +// Copyright 2018 syzkaller project authors. All rights reserved. +// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +// This file is shared between executor and csource package. + +#include <stdlib.h> +#include <unistd.h> + +#if SYZ_EXECUTOR || __NR_syz_mmap +static long syz_mmap(long a0, long a1) +{ + return 0; +} +#endif + +#if SYZ_EXECUTOR || SYZ_SANDBOX_NONE +static void loop(); +static int do_sandbox_none(void) +{ + loop(); + doexit(0); +} +#endif + +#define do_sandbox_setuid() 0 +#define do_sandbox_namespace() 0 +#define setup_loop() +#define reset_loop() +#define setup_test() +#define reset_test() diff --git a/executor/common_windows.h b/executor/common_windows.h index d52092017..c4fdcd66f 100644 --- a/executor/common_windows.h +++ b/executor/common_windows.h @@ -5,26 +5,13 @@ #include <windows.h> -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) || \ - defined(SYZ_USE_TMP_DIR) || defined(SYZ_HANDLE_SEGV) || defined(SYZ_TUN_ENABLE) || \ - defined(SYZ_SANDBOX_NAMESPACE) || defined(SYZ_SANDBOX_SETUID) || \ - defined(SYZ_SANDBOX_NONE) || defined(SYZ_FAULT_INJECTION) || defined(__NR_syz_kvm_setup_cpu) -__attribute__((noreturn)) static void doexit(int status) -{ - _exit(status); - for (;;) { - } -} -#endif - #include "common.h" -#if defined(SYZ_EXECUTOR) || defined(SYZ_HANDLE_SEGV) +#if SYZ_EXECUTOR || SYZ_HANDLE_SEGV static void install_segv_handler() { } -// TODO(dvyukov): implement me #define NONFAILING(...) \ __try { \ __VA_ARGS__; \ @@ -32,28 +19,91 @@ static void install_segv_handler() } #endif -#if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) -static uint64 current_time_ms() +#if SYZ_EXECUTOR || SYZ_REPEAT +uint64 current_time_ms() { return GetTickCount64(); } #endif -#if defined(SYZ_EXECUTOR) +#if SYZ_EXECUTOR || SYZ_THREADED || SYZ_REPEAT static void sleep_ms(uint64 ms) { Sleep(ms); } #endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_FAULT_INJECTION) -static int inject_fault(int nth) +#if SYZ_EXECUTOR || SYZ_THREADED +static void thread_start(void* (*fn)(void*), void* arg) +{ + HANDLE th = CreateThread(NULL, 128 << 10, (LPTHREAD_START_ROUTINE)fn, arg, 0, NULL); + if (th == NULL) + exitf("CreateThread failed"); +} + +struct event_t { + CRITICAL_SECTION cs; + CONDITION_VARIABLE cv; + int state; +}; + +static void event_init(event_t* ev) +{ + InitializeCriticalSection(&ev->cs); + InitializeConditionVariable(&ev->cv); + ev->state = 0; +} + +static void event_reset(event_t* ev) { - return 0; + ev->state = 0; } -static int fault_injected(int fail_fd) +static void event_set(event_t* ev) { - return 0; + EnterCriticalSection(&ev->cs); + if (ev->state) + fail("event already set"); + ev->state = 1; + LeaveCriticalSection(&ev->cs); + WakeAllConditionVariable(&ev->cv); +} + +static void event_wait(event_t* ev) +{ + EnterCriticalSection(&ev->cs); + while (!ev->state) + SleepConditionVariableCS(&ev->cv, &ev->cs, INFINITE); + LeaveCriticalSection(&ev->cs); +} + +static int event_isset(event_t* ev) +{ + EnterCriticalSection(&ev->cs); + int res = ev->state; + LeaveCriticalSection(&ev->cs); + return res; +} + +static int event_timedwait(event_t* ev, uint64 timeout_ms) +{ + EnterCriticalSection(&ev->cs); + uint64 start = current_time_ms(); + for (;;) { + if (ev->state) + break; + uint64 now = current_time_ms(); + if (now - start > timeout_ms) + break; + SleepConditionVariableCS(&ev->cv, &ev->cs, timeout_ms - (now - start)); + } + int res = ev->state; + LeaveCriticalSection(&ev->cs); + return res; } #endif + +#define setup_loop() +#define reset_loop() +#define setup_test() +#define reset_test() diff --git a/executor/defs.h b/executor/defs.h new file mode 100644 index 000000000..b834970ee --- /dev/null +++ b/executor/defs.h @@ -0,0 +1,186 @@ +// AUTOGENERATED FILE + +#if GOOS_akaros +#define GOOS "akaros" + +#if GOARCH_amd64 +#define GOARCH "amd64" +#define SYZ_REVISION "36f0e5da1becfe451b2936a2b8b1739deb53c609" +#define SYZ_EXECUTOR_USES_FORK_SERVER 1 +#define SYZ_EXECUTOR_USES_SHMEM 0 +#define SYZ_PAGE_SIZE 4096 +#define SYZ_NUM_PAGES 4096 +#define SYZ_DATA_OFFSET 536870912 +#endif + +#endif + +#if GOOS_freebsd +#define GOOS "freebsd" + +#if GOARCH_amd64 +#define GOARCH "amd64" +#define SYZ_REVISION "fd7de83a3ebf8e454b041bbfe7513ed4a139d44d" +#define SYZ_EXECUTOR_USES_FORK_SERVER 1 +#define SYZ_EXECUTOR_USES_SHMEM 1 +#define SYZ_PAGE_SIZE 4096 +#define SYZ_NUM_PAGES 4096 +#define SYZ_DATA_OFFSET 536870912 +#endif + +#endif + +#if GOOS_fuchsia +#define GOOS "fuchsia" + +#if GOARCH_amd64 +#define GOARCH "amd64" +#define SYZ_REVISION "9540132f74bbe9bfb7e8f215844bdb3a88b9a665" +#define SYZ_EXECUTOR_USES_FORK_SERVER 0 +#define SYZ_EXECUTOR_USES_SHMEM 0 +#define SYZ_PAGE_SIZE 4096 +#define SYZ_NUM_PAGES 4096 +#define SYZ_DATA_OFFSET 536870912 +#endif + +#if GOARCH_arm64 +#define GOARCH "arm64" +#define SYZ_REVISION "ebb425942f2bbfd2db293e4a2a0a417f6aaafb1c" +#define SYZ_EXECUTOR_USES_FORK_SERVER 0 +#define SYZ_EXECUTOR_USES_SHMEM 0 +#define SYZ_PAGE_SIZE 4096 +#define SYZ_NUM_PAGES 4096 +#define SYZ_DATA_OFFSET 536870912 +#endif + +#endif + +#if GOOS_linux +#define GOOS "linux" + +#if GOARCH_386 +#define GOARCH "386" +#define SYZ_REVISION "d16df4bd3b5d63c53207d8d48f0e7aa8375ae471" +#define SYZ_EXECUTOR_USES_FORK_SERVER 1 +#define SYZ_EXECUTOR_USES_SHMEM 1 +#define SYZ_PAGE_SIZE 4096 +#define SYZ_NUM_PAGES 4096 +#define SYZ_DATA_OFFSET 536870912 +#endif + +#if GOARCH_amd64 +#define GOARCH "amd64" +#define SYZ_REVISION "22bac64bd4f91440dd851726a290b9eb1f1ae092" +#define SYZ_EXECUTOR_USES_FORK_SERVER 1 +#define SYZ_EXECUTOR_USES_SHMEM 1 +#define SYZ_PAGE_SIZE 4096 +#define SYZ_NUM_PAGES 4096 +#define SYZ_DATA_OFFSET 536870912 +#endif + +#if GOARCH_arm +#define GOARCH "arm" +#define SYZ_REVISION "c46361b24a9d8c4d25f99c6a74ed373b73b0cdd1" +#define SYZ_EXECUTOR_USES_FORK_SERVER 1 +#define SYZ_EXECUTOR_USES_SHMEM 1 +#define SYZ_PAGE_SIZE 4096 +#define SYZ_NUM_PAGES 4096 +#define SYZ_DATA_OFFSET 536870912 +#endif + +#if GOARCH_arm64 +#define GOARCH "arm64" +#define SYZ_REVISION "e1ce203bf0cb9e092e65fc6ca9cd1cde96e19316" +#define SYZ_EXECUTOR_USES_FORK_SERVER 1 +#define SYZ_EXECUTOR_USES_SHMEM 1 +#define SYZ_PAGE_SIZE 4096 +#define SYZ_NUM_PAGES 4096 +#define SYZ_DATA_OFFSET 536870912 +#endif + +#if GOARCH_ppc64le +#define GOARCH "ppc64le" +#define SYZ_REVISION "1ccba534d5c6adaffc5ebfbea33c22833f5cb846" +#define SYZ_EXECUTOR_USES_FORK_SERVER 1 +#define SYZ_EXECUTOR_USES_SHMEM 1 +#define SYZ_PAGE_SIZE 4096 +#define SYZ_NUM_PAGES 4096 +#define SYZ_DATA_OFFSET 536870912 +#endif + +#endif + +#if GOOS_netbsd +#define GOOS "netbsd" + +#if GOARCH_amd64 +#define GOARCH "amd64" +#define SYZ_REVISION "cea6c87ab1f9e36df1927913a619e71cd29abcbf" +#define SYZ_EXECUTOR_USES_FORK_SERVER 1 +#define SYZ_EXECUTOR_USES_SHMEM 1 +#define SYZ_PAGE_SIZE 4096 +#define SYZ_NUM_PAGES 4096 +#define SYZ_DATA_OFFSET 536870912 +#endif + +#endif + +#if GOOS_test +#define GOOS "test" + +#if GOARCH_32_fork_shmem +#define GOARCH "32_fork_shmem" +#define SYZ_REVISION "f3f80dea03f2b372f892da4a49e6af7f47106120" +#define SYZ_EXECUTOR_USES_FORK_SERVER 1 +#define SYZ_EXECUTOR_USES_SHMEM 1 +#define SYZ_PAGE_SIZE 4096 +#define SYZ_NUM_PAGES 4096 +#define SYZ_DATA_OFFSET 536870912 +#endif + +#if GOARCH_32_shmem +#define GOARCH "32_shmem" +#define SYZ_REVISION "9819b8a5a8ea14bf3a71d86bb2012bafd6ab25b6" +#define SYZ_EXECUTOR_USES_FORK_SERVER 0 +#define SYZ_EXECUTOR_USES_SHMEM 1 +#define SYZ_PAGE_SIZE 8192 +#define SYZ_NUM_PAGES 2048 +#define SYZ_DATA_OFFSET 536870912 +#endif + +#if GOARCH_64 +#define GOARCH "64" +#define SYZ_REVISION "96964f599c9870f5d27e4d6054b0d16011652c81" +#define SYZ_EXECUTOR_USES_FORK_SERVER 0 +#define SYZ_EXECUTOR_USES_SHMEM 0 +#define SYZ_PAGE_SIZE 4096 +#define SYZ_NUM_PAGES 4096 +#define SYZ_DATA_OFFSET 536870912 +#endif + +#if GOARCH_64_fork +#define GOARCH "64_fork" +#define SYZ_REVISION "96f1f19d85a4d091cba7b036633c3b48ccfe4439" +#define SYZ_EXECUTOR_USES_FORK_SERVER 1 +#define SYZ_EXECUTOR_USES_SHMEM 0 +#define SYZ_PAGE_SIZE 8192 +#define SYZ_NUM_PAGES 2048 +#define SYZ_DATA_OFFSET 536870912 +#endif + +#endif + +#if GOOS_windows +#define GOOS "windows" + +#if GOARCH_amd64 +#define GOARCH "amd64" +#define SYZ_REVISION "e9562f6b9973e9e9a9522fd8ec12b4e913f13b4c" +#define SYZ_EXECUTOR_USES_FORK_SERVER 0 +#define SYZ_EXECUTOR_USES_SHMEM 0 +#define SYZ_PAGE_SIZE 4096 +#define SYZ_NUM_PAGES 4096 +#define SYZ_DATA_OFFSET 536870912 +#endif + +#endif diff --git a/executor/executor.h b/executor/executor.cc index 6741a4baf..1efba1060 100644 --- a/executor/executor.h +++ b/executor/executor.cc @@ -1,6 +1,8 @@ // Copyright 2017 syzkaller project authors. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. +// +build + #include <algorithm> #include <errno.h> #include <signal.h> @@ -11,38 +13,87 @@ #include <stdlib.h> #include <string.h> #include <time.h> +#include <unistd.h> + +#include "defs.h" + +#if defined(__GNUC__) +#define SYSCALLAPI +#define NORETURN __attribute__((noreturn)) +#define ALIGNED(N) __attribute__((aligned(N))) +#define PRINTF __attribute__((format(printf, 1, 2))) +#else +// Assuming windows/cl. +#define SYSCALLAPI WINAPI +#define NORETURN __declspec(noreturn) +#define ALIGNED(N) __declspec(align(N)) +#define PRINTF +#endif #ifndef GIT_REVISION #define GIT_REVISION "unknown" #endif -#ifndef GOOS -#define GOOS "unknown" -#endif - -const int kMaxInput = 2 << 20; -const int kMaxOutput = 16 << 20; -const int kCoverSize = 256 << 10; +#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) + +// uint64 is impossible to printf without using the clumsy and verbose "%" PRId64. +// So we define and use uint64. Note: pkg/csource does s/uint64/uint64/. +// Also define uint32/16/8 for consistency. +typedef unsigned long long uint64; +typedef unsigned int uint32; +typedef unsigned short uint16; +typedef unsigned char uint8; + +// exit/_exit do not necessary work (e.g. if fuzzer sets seccomp filter that prohibits exit_group). +// Use doexit instead. We must redefine exit to something that exists in stdlib, +// because some standard libraries contain "using ::exit;", but has different signature. +#define exit vsnprintf + +// Note: zircon max fd is 256. +// Some common_OS.h files know about this constant for RLIMIT_NOFILE. +const int kMaxFd = 250; +const int kInPipeFd = kMaxFd - 1; // remapped from stdin +const int kOutPipeFd = kMaxFd - 2; // remapped from stdout const int kMaxArgs = 9; -const int kMaxThreads = 16; -const int kMaxCommands = 1000; - -const uint64 instr_eof = -1; -const uint64 instr_copyin = -2; -const uint64 instr_copyout = -3; - -const uint64 arg_const = 0; -const uint64 arg_result = 1; -const uint64 arg_data = 2; -const uint64 arg_csum = 3; +const int kCoverSize = 256 << 10; +const int kFailStatus = 67; +const int kRetryStatus = 69; +const int kErrorStatus = 68; + +// Logical error (e.g. invalid input program), use as an assert() alternative. +NORETURN PRINTF void fail(const char* msg, ...); +// Kernel error (e.g. wrong syscall return value). +NORETURN PRINTF void error(const char* msg, ...); +// Just exit (e.g. due to temporal ENOMEM error). +NORETURN PRINTF void exitf(const char* msg, ...); +// Print debug output, does not add \n at the end of msg as opposed to the previous functions. +PRINTF void debug(const char* msg, ...); +void debug_dump_data(const char* data, int length); +NORETURN void doexit(int status); + +static void receive_execute(); +static void reply_execute(int status); + +#if GOOS_akaros +static void resend_execute(int fd); +#endif -const uint64 binary_format_native = 0; -const uint64 binary_format_bigendian = 1; -const uint64 binary_format_strdec = 2; -const uint64 binary_format_strhex = 3; -const uint64 binary_format_stroct = 4; +#if SYZ_EXECUTOR_USES_FORK_SERVER +static void receive_handshake(); +static void reply_handshake(); +#endif -const uint64 no_copyout = -1; +#if SYZ_EXECUTOR_USES_SHMEM +const int kMaxOutput = 16 << 20; +const int kInFd = 3; +const int kOutFd = 4; +uint32* output_data; +uint32* output_pos; +static uint32* write_output(uint32 v); +static void write_completed(uint32 completed); +static uint32 hash(uint32 a); +static bool dedup(uint32 sig); +#endif enum sandbox_type { sandbox_none, @@ -50,6 +101,7 @@ enum sandbox_type { sandbox_namespace, }; +bool flag_debug; bool flag_cover; bool flag_sandbox_privs; sandbox_type flag_sandbox; @@ -70,8 +122,31 @@ bool flag_inject_fault; int flag_fault_call; int flag_fault_nth; -unsigned long long procid; +#define SYZ_EXECUTOR 1 +#include "common.h" +const int kMaxCommands = 1000; +const int kMaxInput = 2 << 20; +const int kMaxThreads = 16; + +const uint64 instr_eof = -1; +const uint64 instr_copyin = -2; +const uint64 instr_copyout = -3; + +const uint64 arg_const = 0; +const uint64 arg_result = 1; +const uint64 arg_data = 2; +const uint64 arg_csum = 3; + +const uint64 binary_format_native = 0; +const uint64 binary_format_bigendian = 1; +const uint64 binary_format_strdec = 2; +const uint64 binary_format_strhex = 3; +const uint64 binary_format_stroct = 4; + +const uint64 no_copyout = -1; + +unsigned long long procid; int running; uint32 completed; bool collide; @@ -87,14 +162,24 @@ const uint64 arg_csum_inet = 0; const uint64 arg_csum_chunk_data = 0; const uint64 arg_csum_chunk_const = 1; +typedef long(SYSCALLAPI* syscall_t)(long, long, long, long, long, long, long, long, long); + +struct call_t { + const char* name; + int sys_nr; + syscall_t call; +}; + +struct cover_t { + int fd; + uint32 size; + char* data; + char* data_end; +}; + struct thread_t { - bool created; int id; - osthread_t th; - char* cover_data; - char* cover_end; - uint64* cover_size_ptr; - + bool created; event_t ready; event_t done; uint64* copyout_pos; @@ -107,9 +192,8 @@ struct thread_t { long args[kMaxArgs]; long res; uint32 reserrno; - uint32 cover_size; bool fault_injected; - int cover_fd; + cover_t cov; }; thread_t threads[kMaxThreads]; @@ -184,41 +268,124 @@ struct kcov_comparison_t { bool operator<(const struct kcov_comparison_t& other) const; }; -long execute_syscall(const call_t* c, long a0, long a1, long a2, long a3, long a4, long a5, long a6, long a7, long a8); -thread_t* schedule_call(int call_index, int call_num, bool colliding, uint64 copyout_index, uint64 num_args, uint64* args, uint64* pos); -void handle_completion(thread_t* th); -void execute_call(thread_t* th); -void thread_create(thread_t* th, int id); -void* worker_thread(void* arg); -uint32* write_output(uint32 v); -void write_completed(uint32 completed); -uint64 read_input(uint64** input_posp, bool peek = false); -uint64 read_arg(uint64** input_posp); -uint64 read_const_arg(uint64** input_posp, uint64* size_p, uint64* bf, uint64* bf_off_p, uint64* bf_len_p); -uint64 read_result(uint64** input_posp); -void copyin(char* addr, uint64 val, uint64 size, uint64 bf, uint64 bf_off, uint64 bf_len); -bool copyout(char* addr, uint64 size, uint64* res); -void cover_open(); -void cover_enable(thread_t* th); -void cover_reset(thread_t* th); -uint32 cover_read_size(thread_t* th); -bool cover_check(uint32 pc); -bool cover_check(uint64 pc); -static uint32 hash(uint32 a); -static bool dedup(uint32 sig); -void setup_control_pipes(); -void receive_handshake(); -void receive_execute(); +static thread_t* schedule_call(int call_index, int call_num, bool colliding, uint64 copyout_index, uint64 num_args, uint64* args, uint64* pos); +static void handle_completion(thread_t* th); +static void execute_call(thread_t* th); +static void thread_create(thread_t* th, int id); +static void* worker_thread(void* arg); +static uint64 read_input(uint64** input_posp, bool peek = false); +static uint64 read_arg(uint64** input_posp); +static uint64 read_const_arg(uint64** input_posp, uint64* size_p, uint64* bf, uint64* bf_off_p, uint64* bf_len_p); +static uint64 read_result(uint64** input_posp); +static void copyin(char* addr, uint64 val, uint64 size, uint64 bf, uint64 bf_off, uint64 bf_len); +static bool copyout(char* addr, uint64 size, uint64* res); +static void setup_control_pipes(); + +#include "syscalls.h" + +#if GOOS_linux +#include "executor_linux.h" +#elif GOOS_fuchsia +#include "executor_fuchsia.h" +#elif GOOS_akaros +#include "executor_akaros.h" +#elif GOOS_freebsd || GOOS_netbsd +#include "executor_bsd.h" +#elif GOOS_windows +#include "executor_windows.h" +#elif GOOS_test +#include "executor_test.h" +#else +#error "unknown OS" +#endif + +#include "test.h" -void main_init() +int main(int argc, char** argv) { + if (argc == 2 && strcmp(argv[1], "version") == 0) { + puts(GOOS " " GOARCH " " SYZ_REVISION " " GIT_REVISION); + return 0; + } + if (argc == 2 && strcmp(argv[1], "test") == 0) + return run_tests(); + + os_init(argc, argv, (void*)SYZ_DATA_OFFSET, SYZ_NUM_PAGES * SYZ_PAGE_SIZE); + +#if SYZ_EXECUTOR_USES_SHMEM + if (mmap(&input_data[0], kMaxInput, PROT_READ, MAP_PRIVATE | MAP_FIXED, kInFd, 0) != &input_data[0]) + fail("mmap of input file failed"); + // The output region is the only thing in executor process for which consistency matters. + // If it is corrupted ipc package will fail to parse its contents and panic. + // But fuzzer constantly invents new ways of how to currupt the region, + // so we map the region at a (hopefully) hard to guess address with random offset, + // surrounded by unmapped pages. + // The address chosen must also work on 32-bit kernels with 1GB user address space. + void* preferred = (void*)(0x1b2bc20000ull + (1 << 20) * (getpid() % 128)); + output_data = (uint32*)mmap(preferred, kMaxOutput, + PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, kOutFd, 0); + if (output_data != preferred) + fail("mmap of output file failed"); + + // Prevent test programs to mess with these fds. + // Due to races in collider mode, a program can e.g. ftruncate one of these fds, + // which will cause fuzzer to crash. + close(kInFd); + close(kOutFd); +#endif + + use_temporary_dir(); + install_segv_handler(); setup_control_pipes(); - if (SYZ_EXECUTOR_USES_FORK_SERVER) - receive_handshake(); - else - receive_execute(); - if (flag_cover) - cover_open(); +#if SYZ_EXECUTOR_USES_FORK_SERVER + receive_handshake(); +#else + receive_execute(); +#endif + if (flag_cover) { + for (int i = 0; i < kMaxThreads; i++) + cover_open(&threads[i].cov); + } + + int status = 0; + switch (flag_sandbox) { + case sandbox_none: + status = do_sandbox_none(); + break; + case sandbox_setuid: + status = do_sandbox_setuid(); + break; + case sandbox_namespace: + status = do_sandbox_namespace(); + break; + default: + fail("unknown sandbox type"); + } +#if SYZ_EXECUTOR_USES_FORK_SERVER + // Other statuses happen when fuzzer processes manages to kill loop. + if (status != kFailStatus && status != kErrorStatus) + status = kRetryStatus; + // If an external sandbox process wraps executor, the out pipe will be closed + // before the sandbox process exits this will make ipc package kill the sandbox. + // As the result sandbox process will exit with exit status 9 instead of the executor + // exit status (notably kRetryStatus). Consequently, ipc will treat it as hard + // failure rather than a temporal failure. So we duplicate the exit status on the pipe. + reply_execute(status); + errno = 0; + if (status == kFailStatus) + fail("loop failed"); + if (status == kErrorStatus) + error("loop errored"); + // Loop can be killed by a test process with e.g.: + // ptrace(PTRACE_SEIZE, 1, 0, 0x100040) + // This is unfortunate, but I don't have a better solution than ignoring it for now. + exitf("loop exited with status %d", status); + // Unreachable. + return 1; +#else + reply_execute(status); + return status; +#endif } void setup_control_pipes() @@ -249,6 +416,7 @@ void parse_env_flags(uint64 flags) flag_enable_fault_injection = flags & (1 << 6); } +#if SYZ_EXECUTOR_USES_FORK_SERVER void receive_handshake() { handshake_req req = {}; @@ -268,10 +436,13 @@ void reply_handshake() if (write(kOutPipeFd, &reply, sizeof(reply)) != sizeof(reply)) fail("control pipe write failed"); } +#endif + +static execute_req last_execute_req; void receive_execute() { - execute_req req; + execute_req& req = last_execute_req; if (read(kInPipeFd, &req, sizeof(req)) != (ssize_t)sizeof(req)) fail("control pipe read failed"); if (req.magic != kInMagic) @@ -314,6 +485,17 @@ void receive_execute() fail("bad input size %lld, want %lld", pos, req.prog_size); } +#if GOOS_akaros +void resend_execute(int fd) +{ + execute_req& req = last_execute_req; + if (write(fd, &req, sizeof(req)) != sizeof(req)) + fail("child pipe header write failed"); + if (write(fd, input_data, req.prog_size) != (ssize_t)req.prog_size) + fail("child pipe program write failed"); +} +#endif + void reply_execute(int status) { execute_reply reply = {}; @@ -331,14 +513,17 @@ void execute_one() // Fuzzer once come up with ioctl(fd, FIONREAD, 0x920000), // where 0x920000 was exactly collide address, so every iteration reset collide to 0. bool colliding = false; +#if SYZ_EXECUTOR_USES_SHMEM + output_pos = output_data; write_output(0); // Number of executed syscalls (updated later). +#endif uint64 start = current_time_ms(); retry: uint64* input_pos = (uint64*)input_data; if (flag_cover && !colliding && !flag_threaded) - cover_enable(&threads[0]); + cover_enable(&threads[0].cov, flag_collect_comps); int call_index = 0; for (;;) { @@ -430,7 +615,7 @@ retry: } // Normal syscall. - if (call_num >= SYZ_SYSCALL_COUNT) + if (call_num >= ARRAY_SIZE(syscalls)) fail("invalid command number %llu", call_num); uint64 copyout_index = read_input(&input_pos); uint64 num_args = read_input(&input_pos); @@ -478,7 +663,9 @@ retry: // Execute directly. if (th != &threads[0]) fail("using non-main thread in non-thread mode"); + event_reset(&th->ready); execute_call(th); + event_set(&th->done); handle_completion(th); } } @@ -526,15 +713,16 @@ thread_t* schedule_call(int call_index, int call_num, bool colliding, uint64 cop return th; } +#if SYZ_EXECUTOR_USES_SHMEM template <typename cover_t> void write_coverage_signal(thread_t* th, uint32* signal_count_pos, uint32* cover_count_pos) { // Write out feedback signals. // Currently it is code edges computed as xor of two subsequent basic block PCs. - cover_t* cover_data = ((cover_t*)th->cover_data) + 1; + cover_t* cover_data = ((cover_t*)th->cov.data) + 1; uint32 nsig = 0; cover_t prev = 0; - for (uint32 i = 0; i < th->cover_size; i++) { + for (uint32 i = 0; i < th->cov.size; i++) { cover_t pc = cover_data[i]; if (!cover_check(pc)) { debug("got bad pc: 0x%llx\n", (uint64)pc); @@ -553,7 +741,7 @@ void write_coverage_signal(thread_t* th, uint32* signal_count_pos, uint32* cover if (!flag_collect_cover) return; // Write out real coverage (basic block PCs). - uint32 cover_size = th->cover_size; + uint32 cover_size = th->cov.size; if (flag_dedup_cover) { cover_t* end = cover_data + cover_size; std::sort(cover_data, end); @@ -565,6 +753,7 @@ void write_coverage_signal(thread_t* th, uint32* signal_count_pos, uint32* cover write_output(cover_data[i]); *cover_count_pos = cover_size; } +#endif void handle_completion(thread_t* th) { @@ -604,60 +793,60 @@ void handle_completion(thread_t* th) } if (!collide && !th->colliding) { uint32 reserrno = th->res != -1 ? 0 : th->reserrno; - if (SYZ_EXECUTOR_USES_SHMEM) { - write_output(th->call_index); - write_output(th->call_num); - write_output(reserrno); - write_output(th->fault_injected); - uint32* signal_count_pos = write_output(0); // filled in later - uint32* cover_count_pos = write_output(0); // filled in later - uint32* comps_count_pos = write_output(0); // filled in later - - if (flag_collect_comps) { - // Collect only the comparisons - uint32 ncomps = th->cover_size; - kcov_comparison_t* start = (kcov_comparison_t*)(th->cover_data + sizeof(uint64)); - kcov_comparison_t* end = start + ncomps; - if ((char*)end > th->cover_end) - fail("too many comparisons %u", ncomps); - std::sort(start, end); - ncomps = std::unique(start, end) - start; - uint32 comps_size = 0; - for (uint32 i = 0; i < ncomps; ++i) { - if (start[i].ignore()) - continue; - comps_size++; - start[i].write(); - } - // Write out number of comparisons. - *comps_count_pos = comps_size; - } else if (flag_cover) { - if (is_kernel_64_bit) - write_coverage_signal<uint64>(th, signal_count_pos, cover_count_pos); - else - write_coverage_signal<uint32>(th, signal_count_pos, cover_count_pos); +#if SYZ_EXECUTOR_USES_SHMEM + write_output(th->call_index); + write_output(th->call_num); + write_output(reserrno); + write_output(th->fault_injected); + uint32* signal_count_pos = write_output(0); // filled in later + uint32* cover_count_pos = write_output(0); // filled in later + uint32* comps_count_pos = write_output(0); // filled in later + + if (flag_collect_comps) { + // Collect only the comparisons + uint32 ncomps = th->cov.size; + kcov_comparison_t* start = (kcov_comparison_t*)(th->cov.data + sizeof(uint64)); + kcov_comparison_t* end = start + ncomps; + if ((char*)end > th->cov.data_end) + fail("too many comparisons %u", ncomps); + std::sort(start, end); + ncomps = std::unique(start, end) - start; + uint32 comps_size = 0; + for (uint32 i = 0; i < ncomps; ++i) { + if (start[i].ignore()) + continue; + comps_size++; + start[i].write(); } - debug("out #%u: index=%u num=%u errno=%d sig=%u cover=%u comps=%u\n", - completed, th->call_index, th->call_num, reserrno, - *signal_count_pos, *cover_count_pos, *comps_count_pos); - completed++; - write_completed(completed); - } else { - call_reply reply; - reply.header.magic = kOutMagic; - reply.header.done = 0; - reply.header.status = 0; - reply.call_index = th->call_index; - reply.call_num = th->call_num; - reply.reserrno = reserrno; - reply.fault_injected = th->fault_injected; - reply.signal_size = 0; - reply.cover_size = 0; - reply.comps_size = 0; - if (write(kOutPipeFd, &reply, sizeof(reply)) != sizeof(reply)) - fail("control pipe call write failed"); - debug("out: index=%u num=%u errno=%d\n", th->call_index, th->call_num, reserrno); + // Write out number of comparisons. + *comps_count_pos = comps_size; + } else if (flag_cover) { + if (is_kernel_64_bit) + write_coverage_signal<uint64>(th, signal_count_pos, cover_count_pos); + else + write_coverage_signal<uint32>(th, signal_count_pos, cover_count_pos); } + debug("out #%u: index=%u num=%u errno=%d sig=%u cover=%u comps=%u\n", + completed, th->call_index, th->call_num, reserrno, + *signal_count_pos, *cover_count_pos, *comps_count_pos); + completed++; + write_completed(completed); +#else + call_reply reply; + reply.header.magic = kOutMagic; + reply.header.done = 0; + reply.header.status = 0; + reply.call_index = th->call_index; + reply.call_num = th->call_num; + reply.reserrno = reserrno; + reply.fault_injected = th->fault_injected; + reply.signal_size = 0; + reply.cover_size = 0; + reply.comps_size = 0; + if (write(kOutPipeFd, &reply, sizeof(reply)) != sizeof(reply)) + fail("control pipe call write failed"); + debug("out: index=%u num=%u errno=%d\n", th->call_index, th->call_num, reserrno); +#endif } th->handled = true; running--; @@ -672,7 +861,7 @@ void thread_create(thread_t* th, int id) event_init(&th->done); event_set(&th->done); if (flag_threaded) - thread_start(&th->th, worker_thread, th); + thread_start(worker_thread, th); } void* worker_thread(void* arg) @@ -680,17 +869,18 @@ void* worker_thread(void* arg) thread_t* th = (thread_t*)arg; if (flag_cover) - cover_enable(th); + cover_enable(&th->cov, flag_collect_comps); for (;;) { event_wait(&th->ready); + event_reset(&th->ready); execute_call(th); + event_set(&th->done); } return 0; } void execute_call(thread_t* th) { - event_reset(&th->ready); const call_t* call = &syscalls[th->call_num]; debug("#%d: %s(", th->id, call->name); for (int i = 0; i < th->num_args; i++) { @@ -709,16 +899,18 @@ void execute_call(thread_t* th) } if (flag_cover) - cover_reset(th); + cover_reset(&th->cov); errno = 0; - th->res = execute_syscall(call, th->args[0], th->args[1], th->args[2], - th->args[3], th->args[4], th->args[5], - th->args[6], th->args[7], th->args[8]); + th->res = execute_syscall(call, th->args); th->reserrno = errno; if (th->res == -1 && th->reserrno == 0) th->reserrno = EINVAL; // our syz syscalls may misbehave - if (flag_cover) - th->cover_size = cover_read_size(th); + if (flag_cover) { + cover_collect(&th->cov); + debug("#%d: read cover size = %u\n", th->id, th->cov.size); + if (th->cov.size >= kCoverSize) + fail("#%d: too much cover %u", th->id, th->cov.size); + } th->fault_injected = false; if (flag_inject_fault && th->call_index == flag_fault_call) { @@ -730,9 +922,9 @@ void execute_call(thread_t* th) debug("#%d: %s = errno(%d)\n", th->id, call->name, th->reserrno); else debug("#%d: %s = 0x%lx\n", th->id, call->name, th->res); - event_set(&th->done); } +#if SYZ_EXECUTOR_USES_SHMEM static uint32 hash(uint32 a) { a = (a ^ 61) ^ (a >> 16); @@ -763,6 +955,7 @@ static bool dedup(uint32 sig) dedup_table[sig % dedup_table_size] = sig; return false; } +#endif void copyin(char* addr, uint64 val, uint64 size, uint64 bf, uint64 bf_off, uint64 bf_len) { @@ -912,6 +1105,23 @@ uint64 read_input(uint64** input_posp, bool peek) return *input_pos; } +#if SYZ_EXECUTOR_USES_SHMEM +uint32* write_output(uint32 v) +{ + if (output_pos < output_data || (char*)output_pos >= (char*)output_data + kMaxOutput) + fail("output overflow: pos=%p region=[%p:%p]", + output_pos, output_data, (char*)output_data + kMaxOutput); + *output_pos = v; + return output_pos++; +} + +void write_completed(uint32 completed) +{ + __atomic_store_n(output_data, completed, __ATOMIC_RELEASE); +} +#endif + +#if SYZ_EXECUTOR_USES_SHMEM void kcov_comparison_t::write() { // Write order: type arg1 arg2 pc. @@ -950,6 +1160,40 @@ void kcov_comparison_t::write() write_output((uint32)(arg2 >> 32)); } +bool kcov_comparison_t::ignore() const +{ + // Comparisons with 0 are not interesting, fuzzer should be able to guess 0's without help. + if (arg1 == 0 && (arg2 == 0 || (type & KCOV_CMP_CONST))) + return true; + if ((type & KCOV_CMP_SIZE_MASK) == KCOV_CMP_SIZE8) { + // This can be a pointer (assuming 64-bit kernel). + // First of all, we want avert fuzzer from our output region. + // Without this fuzzer manages to discover and corrupt it. + uint64 out_start = (uint64)output_data; + uint64 out_end = out_start + kMaxOutput; + if (arg1 >= out_start && arg1 <= out_end) + return true; + if (arg2 >= out_start && arg2 <= out_end) + return true; +#if defined(GOOS_linux) + // Filter out kernel physical memory addresses. + // These are internal kernel comparisons and should not be interesting. + // The range covers first 1TB of physical mapping. + uint64 kmem_start = (uint64)0xffff880000000000ull; + uint64 kmem_end = (uint64)0xffff890000000000ull; + bool kptr1 = arg1 >= kmem_start && arg1 <= kmem_end; + bool kptr2 = arg2 >= kmem_start && arg2 <= kmem_end; + if (kptr1 && kptr2) + return true; + if (kptr1 && arg2 == 0) + return true; + if (kptr2 && arg1 == 0) + return true; +#endif + } + return false; +} + bool kcov_comparison_t::operator==(const struct kcov_comparison_t& other) const { // We don't check for PC equality now, because it is not used. @@ -965,3 +1209,61 @@ bool kcov_comparison_t::operator<(const struct kcov_comparison_t& other) const // We don't check for PC equality now, because it is not used. return arg2 < other.arg2; } +#endif + +void fail(const char* msg, ...) +{ + int e = errno; + va_list args; + va_start(args, msg); + vfprintf(stderr, msg, args); + va_end(args); + fprintf(stderr, " (errno %d)\n", e); + // ENOMEM/EAGAIN is frequent cause of failures in fuzzing context, + // so handle it here as non-fatal error. + doexit((e == ENOMEM || e == EAGAIN) ? kRetryStatus : kFailStatus); +} + +void error(const char* msg, ...) +{ + va_list args; + va_start(args, msg); + vfprintf(stderr, msg, args); + va_end(args); + fprintf(stderr, "\n"); + doexit(kErrorStatus); +} + +void exitf(const char* msg, ...) +{ + int e = errno; + va_list args; + va_start(args, msg); + vfprintf(stderr, msg, args); + va_end(args); + fprintf(stderr, " (errno %d)\n", e); + doexit(kRetryStatus); +} + +void debug(const char* msg, ...) +{ + if (!flag_debug) + return; + va_list args; + va_start(args, msg); + vfprintf(stderr, msg, args); + va_end(args); + fflush(stderr); +} + +void debug_dump_data(const char* data, int length) +{ + if (!flag_debug) + return; + for (int i = 0; i < length; i++) { + debug("%02x ", data[i] & 0xff); + if (i % 16 == 15) + debug("\n"); + } + debug("\n"); +} diff --git a/executor/executor_akaros.cc b/executor/executor_akaros.cc deleted file mode 100644 index 76006b513..000000000 --- a/executor/executor_akaros.cc +++ /dev/null @@ -1,130 +0,0 @@ -// Copyright 2017 syzkaller project authors. All rights reserved. -// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. - -// +build - -#define SYZ_EXECUTOR -#include "common_akaros.h" - -#include "executor_posix.h" - -#include "syscalls_akaros.h" - -#include "executor.h" - -#include <sys/mman.h> - -uint32 output; - -static void child(); - -int main(int argc, char** argv) -{ - if (argc == 2 && strcmp(argv[1], "version") == 0) { - puts(GOOS " " GOARCH " " SYZ_REVISION " " GIT_REVISION); - return 0; - } - if (argc == 2 && strcmp(argv[1], "child") == 0) { - child(); - doexit(0); - } - - use_temporary_dir(); - main_init(); - reply_handshake(); - - for (;;) { - char cwdbuf[128] = "/syz-tmpXXXXXX"; - mkdtemp(cwdbuf); - int pid = fork(); - if (pid < 0) - fail("fork failed"); - if (pid == 0) { - if (chdir(cwdbuf)) - fail("chdir failed"); - execl(argv[0], argv[0], "child", NULL); - fail("execl failed"); - return 0; - } - - int status = 0; - uint64 start = current_time_ms(); - for (;;) { - int res = waitpid(-1, &status, WNOHANG); - if (res == pid) - break; - usleep(1000); - if (current_time_ms() - start < 6 * 1000) - continue; - kill(pid, SIGKILL); - while (waitpid(-1, &status, 0) != pid) { - } - break; - } - status = WEXITSTATUS(status); - if (status == kFailStatus) - fail("child failed"); - if (status == kErrorStatus) - error("child errored"); - remove_dir(cwdbuf); - reply_execute(0); - } - return 0; -} - -static void child() -{ - install_segv_handler(); - if (mmap((void*)SYZ_DATA_OFFSET, SYZ_NUM_PAGES * SYZ_PAGE_SIZE, PROT_READ | PROT_WRITE, - MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0) != (void*)SYZ_DATA_OFFSET) - fail("mmap of data segment failed"); - receive_execute(); - close(kInPipeFd); - execute_one(); -} - -long execute_syscall(const call_t* c, long a0, long a1, long a2, long a3, long a4, long a5, long a6, long a7, long a8) -{ - return syscall(c->sys_nr, a0, a1, a2, a3, a4, a5, a6, a7, a8); -} - -void cover_open() -{ -} - -void cover_enable(thread_t* th) -{ -} - -void cover_reset(thread_t* th) -{ -} - -uint32 cover_read_size(thread_t* th) -{ - return 0; -} - -bool cover_check(uint32 pc) -{ - return true; -} - -bool cover_check(uint64 pc) -{ - return true; -} - -uint32* write_output(uint32 v) -{ - return &output; -} - -void write_completed(uint32 completed) -{ -} - -bool kcov_comparison_t::ignore() const -{ - return false; -} diff --git a/executor/executor_akaros.h b/executor/executor_akaros.h new file mode 100644 index 000000000..566781c2e --- /dev/null +++ b/executor/executor_akaros.h @@ -0,0 +1,25 @@ +// Copyright 2017 syzkaller project authors. All rights reserved. +// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <sys/mman.h> +#include <unistd.h> + +#include "nocover.h" + +static void os_init(int argc, char** argv, void* data, size_t data_size) +{ + program_name = argv[0]; + if (argc == 2 && strcmp(argv[1], "child") == 0) { + if (mmap(data, data_size, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0) != data) + fail("mmap of data segment failed"); + child(); + } +} + +static long execute_syscall(const call_t* c, long a[kMaxArgs]) +{ + return syscall(c->sys_nr, a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]); +} diff --git a/executor/executor_bsd.h b/executor/executor_bsd.h new file mode 100644 index 000000000..0bed21679 --- /dev/null +++ b/executor/executor_bsd.h @@ -0,0 +1,104 @@ +// Copyright 2017 syzkaller project authors. All rights reserved. +// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +#include <fcntl.h> +#include <stdlib.h> +#include <sys/ioctl.h> +#include <sys/mman.h> +#include <sys/resource.h> +#include <sys/stat.h> +#include <sys/types.h> +#include <unistd.h> + +#if !defined(__FreeBSD__) && !defined(__NetBSD__) +// This is just so that "make executor TARGETOS=freebsd/netbsd" works on linux. +#define __syscall syscall +#endif + +static void os_init(int argc, char** argv, void* data, size_t data_size) +{ + if (mmap(data, data_size, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0) != data) + fail("mmap of data segment failed"); + + // Some minimal sandboxing. + // TODO: this should go into common_bsd.h because csource needs this too. + struct rlimit rlim; +#if GOOS_netbsd + // This causes frequent random aborts on netbsd. Reason unknown. + rlim.rlim_cur = rlim.rlim_max = 128 << 20; + setrlimit(RLIMIT_AS, &rlim); +#endif + rlim.rlim_cur = rlim.rlim_max = 8 << 20; + setrlimit(RLIMIT_MEMLOCK, &rlim); + rlim.rlim_cur = rlim.rlim_max = 1 << 20; + setrlimit(RLIMIT_FSIZE, &rlim); + rlim.rlim_cur = rlim.rlim_max = 1 << 20; + setrlimit(RLIMIT_STACK, &rlim); + rlim.rlim_cur = rlim.rlim_max = 0; + setrlimit(RLIMIT_CORE, &rlim); + rlim.rlim_cur = rlim.rlim_max = 256; // see kMaxFd + setrlimit(RLIMIT_NOFILE, &rlim); +} + +static long execute_syscall(const call_t* c, long a[kMaxArgs]) +{ + if (c->call) + return c->call(a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]); + return __syscall(c->sys_nr, a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]); +} + +#if GOOS_freebsd +#define KIOENABLE _IOW('c', 2, int) // Enable coverage recording +#define KIODISABLE _IO('c', 3) // Disable coverage recording +#define KIOSETBUFSIZE _IOW('c', 4, unsigned int) // Set the buffer size + +#define KCOV_MODE_NONE -1 +#define KCOV_MODE_TRACE_PC 0 +#define KCOV_MODE_TRACE_CMP 1 + +static void cover_open(cover_t* cov) +{ + cov->fd = open("/dev/kcov", O_RDWR); + if (cov->fd == -1) + fail("open of /dev/kcov failed"); + if (ioctl(cov->fd, KIOSETBUFSIZE, &kCoverSize)) + fail("ioctl init trace write failed"); + size_t mmap_alloc_size = kCoverSize * (is_kernel_64_bit ? 8 : 4); + char* mmap_ptr = (char*)mmap(NULL, mmap_alloc_size, + PROT_READ | PROT_WRITE, + MAP_SHARED, cov->fd, 0); + if (mmap_ptr == NULL) + fail("cover mmap failed"); + cov->data = mmap_ptr; + cov->data_end = mmap_ptr + mmap_alloc_size; +} + +static void cover_enable(cover_t* cov, bool collect_comps) +{ + int kcov_mode = flag_collect_comps ? KCOV_MODE_TRACE_CMP : KCOV_MODE_TRACE_PC; + if (ioctl(cov->fd, KIOENABLE, &kcov_mode)) + exitf("cover enable write trace failed, mode=%d", kcov_mode); +} + +static void cover_reset(cover_t* cov) +{ + *(uint64*)cov->data = 0; +} + +static void cover_collect(cover_t* cov) +{ + cov->size = *(uint64*)cov->data; +} + +static bool cover_check(uint32 pc) +{ + return true; +} + +static bool cover_check(uint64 pc) +{ + return true; +} +#else +#include "nocover.h" +#endif diff --git a/executor/executor_freebsd.cc b/executor/executor_freebsd.cc deleted file mode 120000 index df42b10fa..000000000 --- a/executor/executor_freebsd.cc +++ /dev/null @@ -1 +0,0 @@ -executor_bsd.cc
\ No newline at end of file diff --git a/executor/executor_fuchsia.cc b/executor/executor_fuchsia.cc deleted file mode 100644 index 6d4819d32..000000000 --- a/executor/executor_fuchsia.cc +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2017 syzkaller project authors. All rights reserved. -// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. - -// +build - -#define SYZ_EXECUTOR -#include "common_fuchsia.h" - -#include "executor_fuchsia.h" - -#include "syscalls_fuchsia.h" - -#include "executor.h" - -uint32 output; - -int main(int argc, char** argv) -{ - if (argc == 2 && strcmp(argv[1], "version") == 0) { - puts(GOOS " " GOARCH " " SYZ_REVISION " " GIT_REVISION); - return 0; - } - - if (syz_mmap(SYZ_DATA_OFFSET, SYZ_NUM_PAGES * SYZ_PAGE_SIZE) != ZX_OK) - fail("mmap of data segment failed"); - - install_segv_handler(); - main_init(); - execute_one(); - reply_execute(0); - (void)error; // prevent unused function warning - return 0; -} - -long execute_syscall(const call_t* c, long a0, long a1, long a2, long a3, long a4, long a5, long a6, long a7, long a8) -{ - long res = ZX_ERR_INVALID_ARGS; - NONFAILING(res = c->call(a0, a1, a2, a3, a4, a5, a6, a7, a8)); - if (strncmp(c->name, "zx_", 3) == 0) { - // Convert zircon error convention to the libc convention that executor expects. - if (res == ZX_OK || - !strcmp(c->name, "zx_log_read") || - !strcmp(c->name, "zx_clock_get") || - !strcmp(c->name, "zx_ticks_get")) - return 0; - errno = (-res) & 0x7f; - return -1; - } - // We cast libc functions to signature returning long, - // as the result int -1 is returned as 0x00000000ffffffff rather than full -1. - if (res == 0xffffffff) - res = (long)-1; - return res; -} - -void cover_open() -{ -} - -void cover_enable(thread_t* th) -{ -} - -void cover_reset(thread_t* th) -{ -} - -uint32 cover_read_size(thread_t* th) -{ - return 0; -} - -bool cover_check(uint32 pc) -{ - return true; -} - -bool cover_check(uint64 pc) -{ - return true; -} - -uint32* write_output(uint32 v) -{ - return &output; -} - -void write_completed(uint32 completed) -{ -} - -bool kcov_comparison_t::ignore() const -{ - return false; -} diff --git a/executor/executor_fuchsia.h b/executor/executor_fuchsia.h index e49f75b67..6e7dab0b0 100644 --- a/executor/executor_fuchsia.h +++ b/executor/executor_fuchsia.h @@ -1,62 +1,37 @@ -// Copyright 2018 syzkaller project authors. All rights reserved. +// Copyright 2017 syzkaller project authors. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. -// Fuchsia's pthread_cond_timedwait just returns immidiately, so we use simple spin wait. - +#include <errno.h> #include <pthread.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> +#include <zircon/syscalls.h> -typedef pthread_t osthread_t; - -void thread_start(osthread_t* t, void* (*fn)(void*), void* arg) -{ - pthread_attr_t attr; - pthread_attr_init(&attr); - pthread_attr_setstacksize(&attr, 128 << 10); - if (pthread_create(t, &attr, fn, arg)) - exitf("pthread_create failed"); - pthread_attr_destroy(&attr); -} - -struct event_t { - int state; -}; - -void event_init(event_t* ev) -{ - ev->state = 0; -} - -void event_reset(event_t* ev) -{ - ev->state = 0; -} - -void event_set(event_t* ev) -{ - if (ev->state) - fail("event already set"); - __atomic_store_n(&ev->state, 1, __ATOMIC_RELEASE); -} - -void event_wait(event_t* ev) -{ - while (!__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE)) - usleep(200); -} +#include "nocover.h" -bool event_isset(event_t* ev) +static void os_init(int argc, char** argv, void* data, size_t data_size) { - return __atomic_load_n(&ev->state, __ATOMIC_ACQUIRE); + if (syz_mmap((size_t)data, data_size) != ZX_OK) + fail("mmap of data segment failed"); } -bool event_timedwait(event_t* ev, uint64 timeout_ms) +static long execute_syscall(const call_t* c, long a[kMaxArgs]) { - uint64 start = current_time_ms(); - for (;;) { - if (__atomic_load_n(&ev->state, __ATOMIC_RELAXED)) - return true; - if (current_time_ms() - start > timeout_ms) - return false; - usleep(200); + long res = c->call(a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]); + if (strncmp(c->name, "zx_", 3) == 0) { + // Convert zircon error convention to the libc convention that executor expects. + if (res == ZX_OK || + !strcmp(c->name, "zx_log_read") || + !strcmp(c->name, "zx_clock_get") || + !strcmp(c->name, "zx_ticks_get")) + return 0; + errno = (-res) & 0x7f; + return -1; } + // We cast libc functions to signature returning long, + // as the result int -1 is returned as 0x00000000ffffffff rather than full -1. + if (res == 0xffffffff) + res = (long)-1; + return res; } diff --git a/executor/executor_linux.cc b/executor/executor_linux.cc deleted file mode 100644 index f2a21343a..000000000 --- a/executor/executor_linux.cc +++ /dev/null @@ -1,258 +0,0 @@ -// Copyright 2015 syzkaller project authors. All rights reserved. -// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. - -// +build - -#include <fcntl.h> -#include <limits.h> -#include <pthread.h> -#include <string.h> -#include <sys/ioctl.h> -#include <sys/prctl.h> -#include <sys/stat.h> -#include <sys/syscall.h> -#include <sys/time.h> -#include <sys/types.h> -#include <sys/wait.h> -#include <unistd.h> - -#define SYZ_EXECUTOR -#include "common_linux.h" - -#include "executor_linux.h" - -#include "syscalls_linux.h" - -#include "executor.h" - -#define KCOV_INIT_TRACE32 _IOR('c', 1, uint32) -#define KCOV_INIT_TRACE64 _IOR('c', 1, uint64) -#define KCOV_ENABLE _IO('c', 100) -#define KCOV_DISABLE _IO('c', 101) - -const unsigned long KCOV_TRACE_PC = 0; -const unsigned long KCOV_TRACE_CMP = 1; - -const int kInFd = 3; -const int kOutFd = 4; - -uint32* output_data; -uint32* output_pos; - -static bool detect_kernel_bitness(); - -int main(int argc, char** argv) -{ - is_kernel_64_bit = detect_kernel_bitness(); - if (argc == 2 && strcmp(argv[1], "version") == 0) { - puts(GOOS " " GOARCH " " SYZ_REVISION " " GIT_REVISION); - return 0; - } - - prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); - if (mmap(&input_data[0], kMaxInput, PROT_READ, MAP_PRIVATE | MAP_FIXED, kInFd, 0) != &input_data[0]) - fail("mmap of input file failed"); - // The output region is the only thing in executor process for which consistency matters. - // If it is corrupted ipc package will fail to parse its contents and panic. - // But fuzzer constantly invents new ways of how to currupt the region, - // so we map the region at a (hopefully) hard to guess address with random offset, - // surrounded by unmapped pages. - // The address chosen must also work on 32-bit kernels with 1GB user address space. - void* preferred = (void*)(0x1b2bc20000ull + (1 << 20) * (getpid() % 128)); - output_data = (uint32*)mmap(preferred, kMaxOutput, - PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, kOutFd, 0); - if (output_data != preferred) - fail("mmap of output file failed"); - if (mmap((void*)SYZ_DATA_OFFSET, SYZ_NUM_PAGES * SYZ_PAGE_SIZE, PROT_READ | PROT_WRITE, - MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0) != (void*)SYZ_DATA_OFFSET) - fail("mmap of data segment failed"); - // Prevent random programs to mess with these fds. - // Due to races in collider mode, a program can e.g. ftruncate one of these fds, - // which will cause fuzzer to crash. - // That's also the reason why we close kInPipeFd/kOutPipeFd below. - close(kInFd); - close(kOutFd); - main_init(); - install_segv_handler(); - use_temporary_dir(); - - int status = 0; - switch (flag_sandbox) { - case sandbox_none: - status = do_sandbox_none(); - break; - case sandbox_setuid: - status = do_sandbox_setuid(); - break; - case sandbox_namespace: - status = do_sandbox_namespace(); - break; - default: - fail("unknown sandbox type"); - } - // Other statuses happen when fuzzer processes manages to kill loop. - if (status != kFailStatus && status != kErrorStatus) - status = kRetryStatus; - // If an external sandbox process wraps executor, the out pipe will be closed - // before the sandbox process exits this will make ipc package kill the sandbox. - // As the result sandbox process will exit with exit status 9 instead of the executor - // exit status (notably kRetryStatus). Consequently, ipc will treat it as hard - // failure rather than a temporal failure. So we duplicate the exit status on the pipe. - reply_execute(status); - errno = 0; - if (status == kFailStatus) - fail("loop failed"); - if (status == kErrorStatus) - error("loop errored"); - // Loop can be killed by a test process with e.g.: - // ptrace(PTRACE_SEIZE, 1, 0, 0x100040) - // This is unfortunate, but I don't have a better solution than ignoring it for now. - exitf("loop exited with status %d", status); - // Unreachable. - return 1; -} - -static __thread thread_t* current_thread; - -long execute_syscall(const call_t* c, long a0, long a1, long a2, long a3, long a4, long a5, long a6, long a7, long a8) -{ - if (c->call) - return c->call(a0, a1, a2, a3, a4, a5, a6, a7, a8); - return syscall(c->sys_nr, a0, a1, a2, a3, a4, a5); -} - -void cover_open() -{ - for (int i = 0; i < kMaxThreads; i++) { - thread_t* th = &threads[i]; - th->cover_fd = open("/sys/kernel/debug/kcov", O_RDWR); - if (th->cover_fd == -1) - fail("open of /sys/kernel/debug/kcov failed"); - const int kcov_init_trace = is_kernel_64_bit ? KCOV_INIT_TRACE64 : KCOV_INIT_TRACE32; - if (ioctl(th->cover_fd, kcov_init_trace, kCoverSize)) - fail("cover init trace write failed"); - size_t mmap_alloc_size = kCoverSize * (is_kernel_64_bit ? 8 : 4); - th->cover_data = (char*)mmap(NULL, mmap_alloc_size, - PROT_READ | PROT_WRITE, MAP_SHARED, th->cover_fd, 0); - th->cover_end = th->cover_data + mmap_alloc_size; - if (th->cover_data == MAP_FAILED) - fail("cover mmap failed"); - } -} - -void cover_enable(thread_t* th) -{ - debug("#%d: enabling /sys/kernel/debug/kcov\n", th->id); - int kcov_mode = flag_collect_comps ? KCOV_TRACE_CMP : KCOV_TRACE_PC; - // This should be fatal, - // but in practice ioctl fails with assorted errors (9, 14, 25), - // so we use exitf. - if (ioctl(th->cover_fd, KCOV_ENABLE, kcov_mode)) - exitf("cover enable write trace failed, mode=%d", kcov_mode); - debug("#%d: enabled /sys/kernel/debug/kcov\n", th->id); - current_thread = th; -} - -void cover_reset(thread_t* th) -{ - if (th == 0) - th = current_thread; - *(uint64*)th->cover_data = 0; -} - -uint32 cover_read_size(thread_t* th) -{ - // Note: this assumes little-endian kernel. - uint32 n = *(uint32*)th->cover_data; - debug("#%d: read cover size = %u\n", th->id, n); - if (n >= kCoverSize) - fail("#%d: too much cover %u", th->id, n); - return n; -} - -bool cover_check(uint32 pc) -{ - return true; -} - -bool cover_check(uint64 pc) -{ -#if defined(__i386__) || defined(__x86_64__) - // Text/modules range for x86_64. - return pc >= 0xffffffff80000000ull && pc < 0xffffffffff000000ull; -#else - return true; -#endif -} - -uint32* write_output(uint32 v) -{ - if (collide) - return 0; - if (output_pos < output_data || (char*)output_pos >= (char*)output_data + kMaxOutput) - fail("output overflow: pos=%p region=[%p:%p]", - output_pos, output_data, (char*)output_data + kMaxOutput); - *output_pos = v; - return output_pos++; -} - -void write_completed(uint32 completed) -{ - __atomic_store_n(output_data, completed, __ATOMIC_RELEASE); -} - -bool kcov_comparison_t::ignore() const -{ - // Comparisons with 0 are not interesting, fuzzer should be able to guess 0's without help. - if (arg1 == 0 && (arg2 == 0 || (type & KCOV_CMP_CONST))) - return true; - if ((type & KCOV_CMP_SIZE_MASK) == KCOV_CMP_SIZE8) { - // This can be a pointer (assuming 64-bit kernel). - // First of all, we want avert fuzzer from our output region. - // Without this fuzzer manages to discover and corrupt it. - uint64 out_start = (uint64)output_data; - uint64 out_end = out_start + kMaxOutput; - if (arg1 >= out_start && arg1 <= out_end) - return true; - if (arg2 >= out_start && arg2 <= out_end) - return true; -#if defined(__i386__) || defined(__x86_64__) - // Filter out kernel physical memory addresses. - // These are internal kernel comparisons and should not be interesting. - // The range covers first 1TB of physical mapping. - uint64 kmem_start = (uint64)0xffff880000000000ull; - uint64 kmem_end = (uint64)0xffff890000000000ull; - bool kptr1 = arg1 >= kmem_start && arg1 <= kmem_end; - bool kptr2 = arg2 >= kmem_start && arg2 <= kmem_end; - if (kptr1 && kptr2) - return true; - if (kptr1 && arg2 == 0) - return true; - if (kptr2 && arg1 == 0) - return true; -#endif - } - return false; -} - -static bool detect_kernel_bitness() -{ - if (sizeof(void*) == 8) - return true; - // It turns out to be surprisingly hard to understand if the kernel underneath is 64-bits. - // A common method is to look at uname.machine. But it is produced in some involved ways, - // and we will need to know about all strings it returns and in the end it can be overriden - // during build and lie (and there are known precedents of this). - // So instead we look at size of addresses in /proc/kallsyms. - bool wide = true; - int fd = open("/proc/kallsyms", O_RDONLY); - if (fd != -1) { - char buf[16]; - if (read(fd, buf, sizeof(buf)) == sizeof(buf) && - (buf[8] == ' ' || buf[8] == '\t')) - wide = false; - close(fd); - } - debug("detected %d-bit kernel\n", wide ? 64 : 32); - return wide; -} diff --git a/executor/executor_linux.h b/executor/executor_linux.h index cf01327a7..1cdb2dc46 100644 --- a/executor/executor_linux.h +++ b/executor/executor_linux.h @@ -1,66 +1,135 @@ -// Copyright 2017 syzkaller project authors. All rights reserved. +// Copyright 2015 syzkaller project authors. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. -#include <pthread.h> +#include <fcntl.h> +#include <signal.h> +#include <stdio.h> +#include <stdlib.h> +#include <sys/ioctl.h> +#include <sys/mman.h> +#include <sys/prctl.h> +#include <sys/syscall.h> +#include <unistd.h> -typedef pthread_t osthread_t; +#define KCOV_INIT_TRACE32 _IOR('c', 1, uint32) +#define KCOV_INIT_TRACE64 _IOR('c', 1, uint64) +#define KCOV_ENABLE _IO('c', 100) +#define KCOV_DISABLE _IO('c', 101) -void thread_start(osthread_t* t, void* (*fn)(void*), void* arg) +const unsigned long KCOV_TRACE_PC = 0; +const unsigned long KCOV_TRACE_CMP = 1; + +static bool detect_kernel_bitness(); + +static void os_init(int argc, char** argv, void* data, size_t data_size) +{ + prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); + is_kernel_64_bit = detect_kernel_bitness(); + if (mmap(data, data_size, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0) != data) + fail("mmap of data segment failed"); +} + +static __thread cover_t* current_cover; + +static long execute_syscall(const call_t* c, long a[kMaxArgs]) { - pthread_attr_t attr; - pthread_attr_init(&attr); - pthread_attr_setstacksize(&attr, 128 << 10); - if (pthread_create(t, &attr, fn, arg)) - exitf("pthread_create failed"); - pthread_attr_destroy(&attr); + if (c->call) + return c->call(a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]); + return syscall(c->sys_nr, a[0], a[1], a[2], a[3], a[4], a[5]); } -struct event_t { - int state; -}; +static void cover_open(cover_t* cov) +{ + cov->fd = open("/sys/kernel/debug/kcov", O_RDWR); + if (cov->fd == -1) + fail("open of /sys/kernel/debug/kcov failed"); + const int kcov_init_trace = is_kernel_64_bit ? KCOV_INIT_TRACE64 : KCOV_INIT_TRACE32; + if (ioctl(cov->fd, kcov_init_trace, kCoverSize)) + fail("cover init trace write failed"); + size_t mmap_alloc_size = kCoverSize * (is_kernel_64_bit ? 8 : 4); + cov->data = (char*)mmap(NULL, mmap_alloc_size, + PROT_READ | PROT_WRITE, MAP_SHARED, cov->fd, 0); + if (cov->data == MAP_FAILED) + fail("cover mmap failed"); + cov->data_end = cov->data + mmap_alloc_size; +} + +static void cover_enable(cover_t* cov, bool collect_comps) +{ + int kcov_mode = collect_comps ? KCOV_TRACE_CMP : KCOV_TRACE_PC; + // This should be fatal, + // but in practice ioctl fails with assorted errors (9, 14, 25), + // so we use exitf. + if (ioctl(cov->fd, KCOV_ENABLE, kcov_mode)) + exitf("cover enable write trace failed, mode=%d", kcov_mode); + current_cover = cov; +} -void event_init(event_t* ev) +static void cover_reset(cover_t* cov) { - ev->state = 0; + if (cov == 0) + cov = current_cover; + *(uint64*)cov->data = 0; } -void event_reset(event_t* ev) +static void cover_collect(cover_t* cov) { - ev->state = 0; + // Note: this assumes little-endian kernel. + cov->size = *(uint32*)cov->data; } -void event_set(event_t* ev) +static bool cover_check(uint32 pc) { - if (ev->state) - fail("event already set"); - __atomic_store_n(&ev->state, 1, __ATOMIC_RELEASE); - syscall(SYS_futex, &ev->state, FUTEX_WAKE); + return true; } -void event_wait(event_t* ev) +static bool cover_check(uint64 pc) { - while (!__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE)) - syscall(SYS_futex, &ev->state, FUTEX_WAIT, 0, 0); +#if defined(__i386__) || defined(__x86_64__) + // Text/modules range for x86_64. + return pc >= 0xffffffff80000000ull && pc < 0xffffffffff000000ull; +#else + return true; +#endif } -bool event_isset(event_t* ev) +static bool detect_kernel_bitness() { - return __atomic_load_n(&ev->state, __ATOMIC_ACQUIRE); + if (sizeof(void*) == 8) + return true; + // It turns out to be surprisingly hard to understand if the kernel underneath is 64-bits. + // A common method is to look at uname.machine. But it is produced in some involved ways, + // and we will need to know about all strings it returns and in the end it can be overriden + // during build and lie (and there are known precedents of this). + // So instead we look at size of addresses in /proc/kallsyms. + bool wide = true; + int fd = open("/proc/kallsyms", O_RDONLY); + if (fd != -1) { + char buf[16]; + if (read(fd, buf, sizeof(buf)) == sizeof(buf) && + (buf[8] == ' ' || buf[8] == '\t')) + wide = false; + close(fd); + } + debug("detected %d-bit kernel\n", wide ? 64 : 32); + return wide; } -bool event_timedwait(event_t* ev, uint64 timeout_ms) +// One does not simply exit. +// _exit can in fact fail. +// syzkaller did manage to generate a seccomp filter that prohibits exit_group syscall. +// Previously, we get into infinite recursion via segv_handler in such case +// and corrupted output_data, which does matter in our case since it is shared +// with fuzzer process. Loop infinitely instead. Parent will kill us. +// But one does not simply loop either. Compilers are sure that _exit never returns, +// so they remove all code after _exit as dead. Call _exit via volatile indirection. +// And this does not work as well. _exit has own handling of failing exit_group +// in the form of HLT instruction, it will divert control flow from our loop. +// So call the syscall directly. +NORETURN void doexit(int status) { - uint64 start = current_time_ms(); - uint64 now = start; - for (;;) { - timespec ts = {}; - ts.tv_sec = 0; - ts.tv_nsec = (timeout_ms - (now - start)) * 1000 * 1000; - syscall(SYS_futex, &ev->state, FUTEX_WAIT, 0, &ts); - if (__atomic_load_n(&ev->state, __ATOMIC_RELAXED)) - return true; - now = current_time_ms(); - if (now - start > timeout_ms) - return false; + volatile unsigned i; + syscall(__NR_exit_group, status); + for (i = 0;; i++) { } } diff --git a/executor/executor_netbsd.cc b/executor/executor_netbsd.cc deleted file mode 120000 index df42b10fa..000000000 --- a/executor/executor_netbsd.cc +++ /dev/null @@ -1 +0,0 @@ -executor_bsd.cc
\ No newline at end of file diff --git a/executor/executor_posix.h b/executor/executor_posix.h deleted file mode 100644 index 3e8b78b3e..000000000 --- a/executor/executor_posix.h +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2017 syzkaller project authors. All rights reserved. -// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. - -#include <pthread.h> - -typedef pthread_t osthread_t; - -void thread_start(osthread_t* t, void* (*fn)(void*), void* arg) -{ - pthread_attr_t attr; - pthread_attr_init(&attr); - pthread_attr_setstacksize(&attr, 128 << 10); - if (pthread_create(t, &attr, fn, arg)) - exitf("pthread_create failed"); - pthread_attr_destroy(&attr); -} - -struct event_t { - pthread_mutex_t mu; - pthread_cond_t cv; - bool state; -}; - -void event_init(event_t* ev) -{ - if (pthread_mutex_init(&ev->mu, 0)) - fail("pthread_mutex_init failed"); - if (pthread_cond_init(&ev->cv, 0)) - fail("pthread_cond_init failed"); - ev->state = false; -} - -void event_reset(event_t* ev) -{ - ev->state = false; -} - -void event_set(event_t* ev) -{ - pthread_mutex_lock(&ev->mu); - if (ev->state) - fail("event already set"); - ev->state = true; - pthread_mutex_unlock(&ev->mu); - pthread_cond_broadcast(&ev->cv); -} - -void event_wait(event_t* ev) -{ - pthread_mutex_lock(&ev->mu); - while (!ev->state) - pthread_cond_wait(&ev->cv, &ev->mu); - pthread_mutex_unlock(&ev->mu); -} - -bool event_isset(event_t* ev) -{ - pthread_mutex_lock(&ev->mu); - bool res = ev->state; - pthread_mutex_unlock(&ev->mu); - return res; -} - -bool event_timedwait(event_t* ev, uint64 timeout_ms) -{ - pthread_mutex_lock(&ev->mu); - uint64 start = current_time_ms(); - for (;;) { - if (ev->state) - break; - uint64 now = current_time_ms(); - if (now - start > timeout_ms) - break; - timespec ts; - ts.tv_sec = 0; - ts.tv_nsec = (timeout_ms - (now - start)) * 1000 * 1000; - pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); - } - bool res = ev->state; - pthread_mutex_unlock(&ev->mu); - return res; -} diff --git a/executor/executor_test.h b/executor/executor_test.h new file mode 100644 index 000000000..e85057d23 --- /dev/null +++ b/executor/executor_test.h @@ -0,0 +1,19 @@ +// Copyright 2018 syzkaller project authors. All rights reserved. +// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +#include <stdlib.h> +#include <sys/mman.h> +#include <unistd.h> + +#include "nocover.h" + +static void os_init(int argc, char** argv, void* data, size_t data_size) +{ + if (mmap(data, data_size, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0) != data) + fail("mmap of data segment failed"); +} + +static long execute_syscall(const call_t* c, long a[kMaxArgs]) +{ + return c->call(a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]); +} diff --git a/executor/executor_windows.cc b/executor/executor_windows.cc deleted file mode 100644 index 73477bb4f..000000000 --- a/executor/executor_windows.cc +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2017 syzkaller project authors. All rights reserved. -// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. - -// +build - -#include <io.h> - -#define SYZ_EXECUTOR -#include "common_windows.h" - -#include "executor_windows.h" - -#include "syscalls_windows.h" - -#include "executor.h" - -uint32 output; - -int main(int argc, char** argv) -{ - if (argc == 2 && strcmp(argv[1], "version") == 0) { - puts(GOOS " " GOARCH " " SYZ_REVISION " " GIT_REVISION); - return 0; - } - - if (VirtualAlloc((void*)SYZ_DATA_OFFSET, SYZ_NUM_PAGES * SYZ_PAGE_SIZE, - MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE) != (void*)SYZ_DATA_OFFSET) - fail("mmap of data segment failed"); - - main_init(); - execute_one(); - return 0; -} - -long execute_syscall(const call_t* c, long a0, long a1, long a2, long a3, long a4, long a5, long a6, long a7, long a8) -{ - __try { - return c->call(a0, a1, a2, a3, a4, a5, a6, a7, a8); - } __except (EXCEPTION_EXECUTE_HANDLER) { - return -1; - } -} - -void cover_open() -{ -} - -void cover_enable(thread_t* th) -{ -} - -void cover_reset(thread_t* th) -{ -} - -uint32 cover_read_size(thread_t* th) -{ - return 0; -} - -bool cover_check(uint32 pc) -{ - return true; -} - -bool cover_check(uint64 pc) -{ - return true; -} - -uint32* write_output(uint32 v) -{ - return &output; -} - -void write_completed(uint32 completed) -{ -} - -bool kcov_comparison_t::ignore() const -{ - return false; -} diff --git a/executor/executor_windows.h b/executor/executor_windows.h index b29095011..a6159fb44 100644 --- a/executor/executor_windows.h +++ b/executor/executor_windows.h @@ -1,74 +1,22 @@ // Copyright 2017 syzkaller project authors. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. +#include <io.h> #include <windows.h> -typedef HANDLE osthread_t; +#include "nocover.h" -void thread_start(osthread_t* t, void* (*fn)(void*), void* arg) +static void os_init(int argc, char** argv, void* data, size_t data_size) { - *t = CreateThread(NULL, 128 << 10, (LPTHREAD_START_ROUTINE)fn, arg, 0, NULL); - if (*t == NULL) - exitf("CreateThread failed"); + if (VirtualAlloc(data, data_size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE) != data) + fail("mmap of data segment failed"); } -struct event_t { - CRITICAL_SECTION cs; - CONDITION_VARIABLE cv; - int state; -}; - -void event_init(event_t* ev) -{ - InitializeCriticalSection(&ev->cs); - InitializeConditionVariable(&ev->cv); - ev->state = 0; -} - -void event_reset(event_t* ev) -{ - ev->state = 0; -} - -void event_set(event_t* ev) -{ - EnterCriticalSection(&ev->cs); - if (ev->state) - fail("event already set"); - ev->state = true; - LeaveCriticalSection(&ev->cs); - WakeAllConditionVariable(&ev->cv); -} - -void event_wait(event_t* ev) -{ - EnterCriticalSection(&ev->cs); - while (!ev->state) - SleepConditionVariableCS(&ev->cv, &ev->cs, INFINITE); - LeaveCriticalSection(&ev->cs); -} - -bool event_isset(event_t* ev) -{ - EnterCriticalSection(&ev->cs); - bool res = ev->state; - LeaveCriticalSection(&ev->cs); - return res; -} - -bool event_timedwait(event_t* ev, uint64 timeout_ms) +static long execute_syscall(const call_t* c, long a[kMaxArgs]) { - EnterCriticalSection(&ev->cs); - uint64 start = current_time_ms(); - for (;;) { - if (ev->state) - break; - uint64 now = current_time_ms(); - if (now - start > timeout_ms) - break; - SleepConditionVariableCS(&ev->cv, &ev->cs, timeout_ms - (now - start)); + __try { + return c->call(a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]); + } __except (EXCEPTION_EXECUTE_HANDLER) { + return -1; } - bool res = ev->state; - LeaveCriticalSection(&ev->cs); - return res; } diff --git a/executor/gen.go b/executor/gen.go new file mode 100644 index 000000000..bd31529c0 --- /dev/null +++ b/executor/gen.go @@ -0,0 +1,6 @@ +// Copyright 2017 syzkaller project authors. All rights reserved. +// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +//go:generate bash -c "gcc kvm_gen.cc kvm.S -o kvm_gen && ./kvm_gen > kvm.S.h && rm ./kvm_gen" + +package executor diff --git a/executor/nocover.h b/executor/nocover.h new file mode 100644 index 000000000..94f3707f0 --- /dev/null +++ b/executor/nocover.h @@ -0,0 +1,30 @@ +// Copyright 2018 syzkaller project authors. All rights reserved. +// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +static void cover_open(cover_t* cov) +{ +} + +static void cover_enable(cover_t* cov, bool collect_comps) +{ +} + +static void cover_reset(cover_t* cov) +{ +} + +static void cover_collect(cover_t* cov) +{ +} + +#if SYZ_EXECUTOR_USES_SHMEM +static bool cover_check(uint32 pc) +{ + return true; +} + +static bool cover_check(uint64 pc) +{ + return true; +} +#endif diff --git a/executor/syscalls_linux.h b/executor/syscalls.h index 9c2012e3b..9fb55019f 100644 --- a/executor/syscalls_linux.h +++ b/executor/syscalls.h @@ -1,14 +1,869 @@ // AUTOGENERATED FILE -#if defined(__i386__) || 0 -#define GOARCH "386" -#define SYZ_REVISION "d16df4bd3b5d63c53207d8d48f0e7aa8375ae471" -#define SYZ_EXECUTOR_USES_FORK_SERVER true -#define SYZ_EXECUTOR_USES_SHMEM true -#define SYZ_PAGE_SIZE 4096 -#define SYZ_NUM_PAGES 4096 -#define SYZ_DATA_OFFSET 536870912 -#define SYZ_SYSCALL_COUNT 2088 +#if GOOS_akaros + +#if GOARCH_amd64 +const call_t syscalls[] = { + {"abort_sysc", 31}, + {"abort_sysc_fd", 33}, + {"access", 108}, + {"block", 2}, + {"cache_invalidate", 3}, + {"change_to_m", 29}, + {"change_vcore", 14}, + {"chdir", 116}, + {"close", 103}, + {"dup_fds_to", 125}, + {"exec", 16}, + {"fchdir", 124}, + {"fcntl$F_DUPFD", 107}, + {"fcntl$F_GETFD", 107}, + {"fcntl$F_GETFL", 107}, + {"fcntl$F_SETFD", 107}, + {"fcntl$F_SETFL", 107}, + {"fcntl$F_SYNC", 107}, + {"fd2path", 149}, + {"fork", 15}, + {"fstat", 104}, + {"fwstat", 122}, + {"getcwd", 117}, + {"getpcoreid", 7}, + {"getvcoreid", 8}, + {"halt_core", 27}, + {"link", 112}, + {"llseek", 111}, + {"lstat", 106}, + {"mkdir", 118}, + {"mmap", 18}, + {"mprotect", 20}, + {"munmap", 19}, + {"nanosleep", 36}, + {"nbind", 145}, + {"nmount", 146}, + {"notify", 25}, + {"nunmount", 147}, + {"openat", 102}, + {"openat$dev_bintime", 102}, + {"openat$dev_caphash", 102}, + {"openat$dev_capuse", 102}, + {"openat$dev_config", 102}, + {"openat$dev_cons", 102}, + {"openat$dev_consctl", 102}, + {"openat$dev_cputime", 102}, + {"openat$dev_drivers", 102}, + {"openat$dev_empty", 102}, + {"openat$dev_hostdomain", 102}, + {"openat$dev_hostowner", 102}, + {"openat$dev_killkid", 102}, + {"openat$dev_klog", 102}, + {"openat$dev_kmesg", 102}, + {"openat$dev_kprint", 102}, + {"openat$dev_null", 102}, + {"openat$dev_osversion", 102}, + {"openat$dev_pgrpid", 102}, + {"openat$dev_pid", 102}, + {"openat$dev_ppid", 102}, + {"openat$dev_random", 102}, + {"openat$dev_sdctl", 102}, + {"openat$dev_stderr", 102}, + {"openat$dev_stdin", 102}, + {"openat$dev_stdout", 102}, + {"openat$dev_swap", 102}, + {"openat$dev_sysctl", 102}, + {"openat$dev_sysname", 102}, + {"openat$dev_sysstat", 102}, + {"openat$dev_time", 102}, + {"openat$dev_urandom", 102}, + {"openat$dev_user", 102}, + {"openat$dev_zero", 102}, + {"openat$net_arp", 102}, + {"openat$net_cs", 102}, + {"openat$net_empty", 102}, + {"openat$net_ether0_0_ctl", 102}, + {"openat$net_ether0_0_data", 102}, + {"openat$net_ether0_0_ifstats", 102}, + {"openat$net_ether0_0_stats", 102}, + {"openat$net_ether0_0_type", 102}, + {"openat$net_ether0_1_ctl", 102}, + {"openat$net_ether0_1_data", 102}, + {"openat$net_ether0_1_ifstats", 102}, + {"openat$net_ether0_1_stats", 102}, + {"openat$net_ether0_1_type", 102}, + {"openat$net_ether0_2_ctl", 102}, + {"openat$net_ether0_2_data", 102}, + {"openat$net_ether0_2_ifstats", 102}, + {"openat$net_ether0_2_stats", 102}, + {"openat$net_ether0_2_type", 102}, + {"openat$net_ether0_addr", 102}, + {"openat$net_ether0_clone", 102}, + {"openat$net_ether0_ifstats", 102}, + {"openat$net_ether0_stats", 102}, + {"openat$net_icmp_clone", 102}, + {"openat$net_icmp_stats", 102}, + {"openat$net_icmpv6_clone", 102}, + {"openat$net_icmpv6_stats", 102}, + {"openat$net_ipifc_0_ctl", 102}, + {"openat$net_ipifc_0_data", 102}, + {"openat$net_ipifc_0_err", 102}, + {"openat$net_ipifc_0_listen", 102}, + {"openat$net_ipifc_0_local", 102}, + {"openat$net_ipifc_0_remote", 102}, + {"openat$net_ipifc_0_snoop", 102}, + {"openat$net_ipifc_0_status", 102}, + {"openat$net_ipifc_1_ctl", 102}, + {"openat$net_ipifc_1_data", 102}, + {"openat$net_ipifc_1_err", 102}, + {"openat$net_ipifc_1_listen", 102}, + {"openat$net_ipifc_1_local", 102}, + {"openat$net_ipifc_1_remote", 102}, + {"openat$net_ipifc_1_snoop", 102}, + {"openat$net_ipifc_1_status", 102}, + {"openat$net_ipifc_clone", 102}, + {"openat$net_ipifc_stats", 102}, + {"openat$net_iproute", 102}, + {"openat$net_iprouter", 102}, + {"openat$net_ipselftab", 102}, + {"openat$net_log", 102}, + {"openat$net_ndb", 102}, + {"openat$net_tcp_0_ctl", 102}, + {"openat$net_tcp_0_data", 102}, + {"openat$net_tcp_0_err", 102}, + {"openat$net_tcp_0_listen", 102}, + {"openat$net_tcp_0_local", 102}, + {"openat$net_tcp_0_remote", 102}, + {"openat$net_tcp_0_status", 102}, + {"openat$net_tcp_1_ctl", 102}, + {"openat$net_tcp_1_data", 102}, + {"openat$net_tcp_1_err", 102}, + {"openat$net_tcp_1_listen", 102}, + {"openat$net_tcp_1_local", 102}, + {"openat$net_tcp_1_remote", 102}, + {"openat$net_tcp_1_status", 102}, + {"openat$net_tcp_2_ctl", 102}, + {"openat$net_tcp_2_data", 102}, + {"openat$net_tcp_2_err", 102}, + {"openat$net_tcp_2_listen", 102}, + {"openat$net_tcp_2_local", 102}, + {"openat$net_tcp_2_remote", 102}, + {"openat$net_tcp_2_status", 102}, + {"openat$net_tcp_clone", 102}, + {"openat$net_tcp_stats", 102}, + {"openat$net_udp_0_ctl", 102}, + {"openat$net_udp_0_data", 102}, + {"openat$net_udp_0_err", 102}, + {"openat$net_udp_0_listen", 102}, + {"openat$net_udp_0_local", 102}, + {"openat$net_udp_0_remote", 102}, + {"openat$net_udp_0_status", 102}, + {"openat$net_udp_clone", 102}, + {"openat$net_udp_stats", 102}, + {"openat$proc_self_args", 102}, + {"openat$proc_self_core", 102}, + {"openat$proc_self_ctl", 102}, + {"openat$proc_self_fd", 102}, + {"openat$proc_self_fpregs", 102}, + {"openat$proc_self_maps", 102}, + {"openat$proc_self_mem", 102}, + {"openat$proc_self_note", 102}, + {"openat$proc_self_noteid", 102}, + {"openat$proc_self_notepg", 102}, + {"openat$proc_self_ns", 102}, + {"openat$proc_self_proc", 102}, + {"openat$proc_self_profile", 102}, + {"openat$proc_self_segment", 102}, + {"openat$proc_self_status", 102}, + {"openat$proc_self_strace", 102}, + {"openat$proc_self_strace_traceset", 102}, + {"openat$proc_self_syscall", 102}, + {"openat$proc_self_text", 102}, + {"openat$proc_self_user", 102}, + {"openat$proc_self_vmstatus", 102}, + {"openat$proc_self_wait", 102}, + {"openat$prof_empty", 102}, + {"openat$prof_kpctl", 102}, + {"openat$prof_kpdata", 102}, + {"openat$prof_kprintx", 102}, + {"openat$prof_kptrace", 102}, + {"openat$prof_kptrace_ctl", 102}, + {"openat$prof_mpstat", 102}, + {"openat$prof_mpstat_raw", 102}, + {"poke_ksched", 30}, + {"pop_ctx", 37}, + {"populate_va", 32}, + {"proc_create", 10}, + {"proc_destroy", 12}, + {"proc_run", 11}, + {"proc_yield", 13}, + {"provision", 24}, + {"read", 100}, + {"readlink", 115}, + {"rename", 123}, + {"rmdir", 119}, + {"self_notify", 26}, + {"send_event", 39}, + {"stat", 105}, + {"symlink", 114}, + {"tap_fds", 126}, + {"tcgetattr", 141}, + {"umask", 109}, + {"unlink", 113}, + {"vc_entry", 35}, + {"vmm_add_gpcs", 34}, + {"vmm_ctl$VMM_CTL_GET_EXITS", 40}, + {"vmm_ctl$VMM_CTL_GET_FLAGS", 40}, + {"vmm_ctl$VMM_CTL_SET_EXITS", 40}, + {"vmm_ctl$VMM_CTL_SET_FLAGS", 40}, + {"vmm_poke_guest", 38}, + {"waitpid", 17}, + {"write", 101}, + {"wstat", 121}, + +}; +#endif + +#endif + +#if GOOS_freebsd + +#if GOARCH_amd64 +const call_t syscalls[] = { + {"accept", 30}, + {"accept$inet", 30}, + {"accept$inet6", 30}, + {"accept$unix", 30}, + {"accept4", 541}, + {"accept4$inet", 541}, + {"accept4$inet6", 541}, + {"accept4$unix", 541}, + {"bind", 104}, + {"bind$inet", 104}, + {"bind$inet6", 104}, + {"bind$unix", 104}, + {"chdir", 12}, + {"chmod", 15}, + {"chown", 16}, + {"chroot", 61}, + {"clock_getres", 234}, + {"clock_gettime", 232}, + {"clock_nanosleep", 244}, + {"clock_settime", 233}, + {"close", 6}, + {"connect", 98}, + {"connect$inet", 98}, + {"connect$inet6", 98}, + {"connect$unix", 98}, + {"dup", 41}, + {"dup2", 90}, + {"execve", 59}, + {"exit", 1}, + {"faccessat", 489}, + {"fchdir", 13}, + {"fchmod", 124}, + {"fchmodat", 490}, + {"fchown", 123}, + {"fchownat", 491}, + {"fcntl$dupfd", 92}, + {"fcntl$getflags", 92}, + {"fcntl$getown", 92}, + {"fcntl$lock", 92}, + {"fcntl$setflags", 92}, + {"fcntl$setown", 92}, + {"fcntl$setstatus", 92}, + {"fdatasync", 550}, + {"flock", 131}, + {"fstat", 551}, + {"fsync", 95}, + {"ftruncate", 480}, + {"futimesat", 494}, + {"getcwd", 326}, + {"getdents", 272}, + {"getegid", 43}, + {"geteuid", 25}, + {"getgid", 47}, + {"getgroups", 79}, + {"getitimer", 86}, + {"getpeername", 31}, + {"getpeername$inet", 31}, + {"getpeername$inet6", 31}, + {"getpeername$unix", 31}, + {"getpgid", 207}, + {"getpgrp", 81}, + {"getpid", 20}, + {"getresgid", 361}, + {"getresuid", 360}, + {"getrlimit", 194}, + {"getrusage", 117}, + {"getsockname", 32}, + {"getsockname$inet", 32}, + {"getsockname$inet6", 32}, + {"getsockname$unix", 32}, + {"getsockopt", 118}, + {"getsockopt$SO_PEERCRED", 118}, + {"getsockopt$inet6_buf", 118}, + {"getsockopt$inet6_int", 118}, + {"getsockopt$inet6_tcp_buf", 118}, + {"getsockopt$inet6_tcp_int", 118}, + {"getsockopt$inet_buf", 118}, + {"getsockopt$inet_int", 118}, + {"getsockopt$inet_mreq", 118}, + {"getsockopt$inet_mreqn", 118}, + {"getsockopt$inet_mreqsrc", 118}, + {"getsockopt$inet_opts", 118}, + {"getsockopt$inet_tcp_buf", 118}, + {"getsockopt$inet_tcp_int", 118}, + {"getsockopt$sock_cred", 118}, + {"getsockopt$sock_int", 118}, + {"getsockopt$sock_linger", 118}, + {"getsockopt$sock_timeval", 118}, + {"getuid", 24}, + {"lchown", 254}, + {"link", 9}, + {"linkat", 495}, + {"listen", 106}, + {"lseek", 478}, + {"lstat", 190}, + {"madvise", 75}, + {"mincore", 78}, + {"mkdir", 136}, + {"mkdirat", 496}, + {"mknod", 14}, + {"mknod$loop", 14}, + {"mknodat", 559}, + {"mlock", 203}, + {"mlockall", 324}, + {"mmap", 477}, + {"mprotect", 74}, + {"msgctl$IPC_INFO", 511}, + {"msgctl$IPC_RMID", 511}, + {"msgctl$IPC_SET", 511}, + {"msgctl$IPC_STAT", 511}, + {"msgget", 225}, + {"msgget$private", 225}, + {"msgrcv", 227}, + {"msgsnd", 226}, + {"msync", 65}, + {"munlock", 204}, + {"munlockall", 325}, + {"munmap", 73}, + {"nanosleep", 240}, + {"open", 5}, + {"open$dir", 5}, + {"openat", 499}, + {"pipe", 42}, + {"pipe2", 542}, + {"poll", 209}, + {"ppoll", 545}, + {"preadv", 289}, + {"pwritev", 290}, + {"read", 3}, + {"readlink", 58}, + {"readlinkat", 500}, + {"readv", 120}, + {"recvfrom", 29}, + {"recvfrom$inet", 29}, + {"recvfrom$inet6", 29}, + {"recvfrom$unix", 29}, + {"recvmsg", 27}, + {"rename", 128}, + {"renameat", 501}, + {"rmdir", 137}, + {"select", 93}, + {"semctl$GETALL", 510}, + {"semctl$GETNCNT", 510}, + {"semctl$GETPID", 510}, + {"semctl$GETVAL", 510}, + {"semctl$GETZCNT", 510}, + {"semctl$IPC_INFO", 510}, + {"semctl$IPC_RMID", 510}, + {"semctl$IPC_SET", 510}, + {"semctl$IPC_STAT", 510}, + {"semctl$SEM_INFO", 510}, + {"semctl$SEM_STAT", 510}, + {"semctl$SETALL", 510}, + {"semctl$SETVAL", 510}, + {"semget", 221}, + {"semget$private", 221}, + {"semop", 222}, + {"sendfile", 393}, + {"sendmsg", 28}, + {"sendmsg$unix", 28}, + {"sendto", 133}, + {"sendto$inet", 133}, + {"sendto$inet6", 133}, + {"sendto$unix", 133}, + {"setgid", 181}, + {"setgroups", 80}, + {"setitimer", 83}, + {"setpgid", 82}, + {"setregid", 127}, + {"setresgid", 312}, + {"setresuid", 311}, + {"setreuid", 126}, + {"setrlimit", 195}, + {"setsockopt", 105}, + {"setsockopt$inet6_IPV6_PKTINFO", 105}, + {"setsockopt$inet6_MCAST_JOIN_GROUP", 105}, + {"setsockopt$inet6_MCAST_LEAVE_GROUP", 105}, + {"setsockopt$inet6_MRT6_ADD_MFC", 105}, + {"setsockopt$inet6_MRT6_ADD_MIF", 105}, + {"setsockopt$inet6_MRT6_DEL_MFC", 105}, + {"setsockopt$inet6_buf", 105}, + {"setsockopt$inet6_group_source_req", 105}, + {"setsockopt$inet6_int", 105}, + {"setsockopt$inet6_tcp_TCP_CONGESTION", 105}, + {"setsockopt$inet6_tcp_buf", 105}, + {"setsockopt$inet6_tcp_int", 105}, + {"setsockopt$inet_MCAST_JOIN_GROUP", 105}, + {"setsockopt$inet_MCAST_LEAVE_GROUP", 105}, + {"setsockopt$inet_buf", 105}, + {"setsockopt$inet_group_source_req", 105}, + {"setsockopt$inet_int", 105}, + {"setsockopt$inet_mreq", 105}, + {"setsockopt$inet_mreqn", 105}, + {"setsockopt$inet_mreqsrc", 105}, + {"setsockopt$inet_msfilter", 105}, + {"setsockopt$inet_opts", 105}, + {"setsockopt$inet_tcp_TCP_CONGESTION", 105}, + {"setsockopt$inet_tcp_buf", 105}, + {"setsockopt$inet_tcp_int", 105}, + {"setsockopt$sock_cred", 105}, + {"setsockopt$sock_int", 105}, + {"setsockopt$sock_linger", 105}, + {"setsockopt$sock_timeval", 105}, + {"setuid", 23}, + {"shmat", 228}, + {"shmctl$IPC_INFO", 512}, + {"shmctl$IPC_RMID", 512}, + {"shmctl$IPC_SET", 512}, + {"shmctl$IPC_STAT", 512}, + {"shmctl$SHM_INFO", 512}, + {"shmctl$SHM_LOCK", 512}, + {"shmctl$SHM_STAT", 512}, + {"shmctl$SHM_UNLOCK", 512}, + {"shmdt", 230}, + {"shmget", 231}, + {"shmget$private", 231}, + {"shutdown", 134}, + {"sigaltstack", 53}, + {"socket", 97}, + {"socket$inet", 97}, + {"socket$inet6", 97}, + {"socket$inet6_icmp", 97}, + {"socket$inet6_icmp_raw", 97}, + {"socket$inet6_tcp", 97}, + {"socket$inet6_udp", 97}, + {"socket$inet_icmp", 97}, + {"socket$inet_icmp_raw", 97}, + {"socket$inet_tcp", 97}, + {"socket$inet_udp", 97}, + {"socket$unix", 97}, + {"socketpair", 135}, + {"socketpair$inet", 135}, + {"socketpair$inet6", 135}, + {"socketpair$inet6_icmp", 135}, + {"socketpair$inet6_icmp_raw", 135}, + {"socketpair$inet6_tcp", 135}, + {"socketpair$inet6_udp", 135}, + {"socketpair$inet_icmp", 135}, + {"socketpair$inet_icmp_raw", 135}, + {"socketpair$inet_tcp", 135}, + {"socketpair$inet_udp", 135}, + {"socketpair$unix", 135}, + {"stat", 188}, + {"symlink", 57}, + {"symlinkat", 502}, + {"sync", 36}, + {"truncate", 479}, + {"unlink", 10}, + {"unlinkat", 503}, + {"utimensat", 547}, + {"utimes", 138}, + {"wait4", 7}, + {"write", 4}, + {"writev", 121}, + +}; +#endif + +#endif + +#if GOOS_fuchsia + +#if GOARCH_amd64 +const call_t syscalls[] = { + {"chdir", 0, (syscall_t)chdir}, + {"chmod", 0, (syscall_t)chmod}, + {"chown", 0, (syscall_t)chown}, + {"close", 0, (syscall_t)close}, + {"creat", 0, (syscall_t)creat}, + {"dup", 0, (syscall_t)dup}, + {"dup2", 0, (syscall_t)dup2}, + {"dup3", 0, (syscall_t)dup3}, + {"faccessat", 0, (syscall_t)faccessat}, + {"fchmod", 0, (syscall_t)fchmod}, + {"fchmodat", 0, (syscall_t)fchmodat}, + {"fchown", 0, (syscall_t)fchown}, + {"fchownat", 0, (syscall_t)fchownat}, + {"fdatasync", 0, (syscall_t)fdatasync}, + {"fstat", 0, (syscall_t)fstat}, + {"fsync", 0, (syscall_t)fsync}, + {"ftruncate", 0, (syscall_t)ftruncate}, + {"get_root_resource", 0, (syscall_t)get_root_resource}, + {"getcwd", 0, (syscall_t)getcwd}, + {"getgid", 0, (syscall_t)getgid}, + {"getpid", 0, (syscall_t)getpid}, + {"getuid", 0, (syscall_t)getuid}, + {"lchown", 0, (syscall_t)lchown}, + {"link", 0, (syscall_t)link}, + {"linkat", 0, (syscall_t)linkat}, + {"lseek", 0, (syscall_t)lseek}, + {"lstat", 0, (syscall_t)lstat}, + {"mkdir", 0, (syscall_t)mkdir}, + {"mkdirat", 0, (syscall_t)mkdirat}, + {"open", 0, (syscall_t)open}, + {"openat", 0, (syscall_t)openat}, + {"pipe", 0, (syscall_t)pipe}, + {"poll", 0, (syscall_t)poll}, + {"ppoll", 0, (syscall_t)ppoll}, + {"preadv", 0, (syscall_t)preadv}, + {"pwritev", 0, (syscall_t)pwritev}, + {"read", 0, (syscall_t)read}, + {"readlink", 0, (syscall_t)readlink}, + {"readlinkat", 0, (syscall_t)readlinkat}, + {"readv", 0, (syscall_t)readv}, + {"rename", 0, (syscall_t)rename}, + {"renameat", 0, (syscall_t)renameat}, + {"rmdir", 0, (syscall_t)rmdir}, + {"select", 0, (syscall_t)select}, + {"stat", 0, (syscall_t)stat}, + {"symlink", 0, (syscall_t)symlink}, + {"symlinkat", 0, (syscall_t)symlinkat}, + {"sync", 0, (syscall_t)sync}, + {"syz_future_time", 0, (syscall_t)syz_future_time}, + {"syz_job_default", 0, (syscall_t)syz_job_default}, + {"syz_mmap", 0, (syscall_t)syz_mmap}, + {"syz_process_self", 0, (syscall_t)syz_process_self}, + {"syz_thread_self", 0, (syscall_t)syz_thread_self}, + {"syz_vmar_root_self", 0, (syscall_t)syz_vmar_root_self}, + {"truncate", 0, (syscall_t)truncate}, + {"unlink", 0, (syscall_t)unlink}, + {"unlinkat", 0, (syscall_t)unlinkat}, + {"utime", 0, (syscall_t)utime}, + {"utimensat", 0, (syscall_t)utimensat}, + {"utimes", 0, (syscall_t)utimes}, + {"write", 0, (syscall_t)write}, + {"writev", 0, (syscall_t)writev}, + {"zx_cache_flush", 0, (syscall_t)zx_cache_flush}, + {"zx_channel_call", 0, (syscall_t)zx_channel_call}, + {"zx_channel_create", 0, (syscall_t)zx_channel_create}, + {"zx_channel_read", 0, (syscall_t)zx_channel_read}, + {"zx_channel_read_etc", 0, (syscall_t)zx_channel_read_etc}, + {"zx_channel_write", 0, (syscall_t)zx_channel_write}, + {"zx_clock_get", 0, (syscall_t)zx_clock_get}, + {"zx_clock_get_monotonic", 0, (syscall_t)zx_clock_get_monotonic}, + {"zx_clock_get_new", 0, (syscall_t)zx_clock_get_new}, + {"zx_cprng_add_entropy", 0, (syscall_t)zx_cprng_add_entropy}, + {"zx_cprng_draw", 0, (syscall_t)zx_cprng_draw}, + {"zx_debuglog_create", 0, (syscall_t)zx_debuglog_create}, + {"zx_debuglog_read", 0, (syscall_t)zx_debuglog_read}, + {"zx_debuglog_write", 0, (syscall_t)zx_debuglog_write}, + {"zx_event_create", 0, (syscall_t)zx_event_create}, + {"zx_eventpair_create", 0, (syscall_t)zx_eventpair_create}, + {"zx_fifo_create", 0, (syscall_t)zx_fifo_create}, + {"zx_fifo_read", 0, (syscall_t)zx_fifo_read}, + {"zx_fifo_write", 0, (syscall_t)zx_fifo_write}, + {"zx_futex_requeue", 0, (syscall_t)zx_futex_requeue}, + {"zx_futex_wait", 0, (syscall_t)zx_futex_wait}, + {"zx_futex_wake", 0, (syscall_t)zx_futex_wake}, + {"zx_futex_wake_handle_close_thread_exit", 0, (syscall_t)zx_futex_wake_handle_close_thread_exit}, + {"zx_guest_create", 0, (syscall_t)zx_guest_create}, + {"zx_guest_set_trap", 0, (syscall_t)zx_guest_set_trap}, + {"zx_handle_close", 0, (syscall_t)zx_handle_close}, + {"zx_handle_close_many", 0, (syscall_t)zx_handle_close_many}, + {"zx_handle_duplicate", 0, (syscall_t)zx_handle_duplicate}, + {"zx_handle_replace", 0, (syscall_t)zx_handle_replace}, + {"zx_interrupt_ack", 0, (syscall_t)zx_interrupt_ack}, + {"zx_interrupt_create", 0, (syscall_t)zx_interrupt_create}, + {"zx_interrupt_destroy", 0, (syscall_t)zx_interrupt_destroy}, + {"zx_job_create", 0, (syscall_t)zx_job_create}, + {"zx_job_set_policy", 0, (syscall_t)zx_job_set_policy}, + {"zx_log_create", 0, (syscall_t)zx_log_create}, + {"zx_log_read", 0, (syscall_t)zx_log_read}, + {"zx_log_write", 0, (syscall_t)zx_log_write}, + {"zx_nanosleep", 0, (syscall_t)zx_nanosleep}, + {"zx_object_get_cookie", 0, (syscall_t)zx_object_get_cookie}, + {"zx_object_get_info$ZX_INFO_CPU_STATS", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_HANDLE_BASIC", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_HANDLE_VALID", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_JOB_CHILDREN", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_JOB_PROCESSES", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_KMEM_STATS", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_PROCESS", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_PROCESS_MAPS", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_PROCESS_THREADS", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_PROCESS_VMOS", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_RESOURCE", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_TASK_STATS", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_THREAD_EXCEPTION_REPORT", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_THREAD_STATS", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_VMAR", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_property", 0, (syscall_t)zx_object_get_property}, + {"zx_object_set_cookie", 0, (syscall_t)zx_object_set_cookie}, + {"zx_object_set_profile", 0, (syscall_t)zx_object_set_profile}, + {"zx_object_set_property", 0, (syscall_t)zx_object_set_property}, + {"zx_object_signal", 0, (syscall_t)zx_object_signal}, + {"zx_object_signal_peer", 0, (syscall_t)zx_object_signal_peer}, + {"zx_object_wait_async", 0, (syscall_t)zx_object_wait_async}, + {"zx_object_wait_many", 0, (syscall_t)zx_object_wait_many}, + {"zx_object_wait_one", 0, (syscall_t)zx_object_wait_one}, + {"zx_port_cancel", 0, (syscall_t)zx_port_cancel}, + {"zx_port_create", 0, (syscall_t)zx_port_create}, + {"zx_port_queue", 0, (syscall_t)zx_port_queue}, + {"zx_port_wait", 0, (syscall_t)zx_port_wait}, + {"zx_process_create", 0, (syscall_t)zx_process_create}, + {"zx_process_exit", 0, (syscall_t)zx_process_exit}, + {"zx_process_read_memory", 0, (syscall_t)zx_process_read_memory}, + {"zx_process_start", 0, (syscall_t)zx_process_start}, + {"zx_socket_accept", 0, (syscall_t)zx_socket_accept}, + {"zx_socket_create", 0, (syscall_t)zx_socket_create}, + {"zx_socket_read", 0, (syscall_t)zx_socket_read}, + {"zx_socket_share", 0, (syscall_t)zx_socket_share}, + {"zx_socket_write", 0, (syscall_t)zx_socket_write}, + {"zx_system_get_num_cpus", 0, (syscall_t)zx_system_get_num_cpus}, + {"zx_system_get_physmem", 0, (syscall_t)zx_system_get_physmem}, + {"zx_system_get_version", 0, (syscall_t)zx_system_get_version}, + {"zx_task_bind_exception_port", 0, (syscall_t)zx_task_bind_exception_port}, + {"zx_task_resume", 0, (syscall_t)zx_task_resume}, + {"zx_thread_create", 0, (syscall_t)zx_thread_create}, + {"zx_thread_exit", 0, (syscall_t)zx_thread_exit}, + {"zx_thread_read_state", 0, (syscall_t)zx_thread_read_state}, + {"zx_thread_read_state$0", 0, (syscall_t)zx_thread_read_state}, + {"zx_thread_start", 0, (syscall_t)zx_thread_start}, + {"zx_thread_write_state", 0, (syscall_t)zx_thread_write_state}, + {"zx_thread_write_state$0", 0, (syscall_t)zx_thread_write_state}, + {"zx_ticks_get", 0, (syscall_t)zx_ticks_get}, + {"zx_ticks_per_second", 0, (syscall_t)zx_ticks_per_second}, + {"zx_timer_cancel", 0, (syscall_t)zx_timer_cancel}, + {"zx_timer_create", 0, (syscall_t)zx_timer_create}, + {"zx_timer_set", 0, (syscall_t)zx_timer_set}, + {"zx_vcpu_create", 0, (syscall_t)zx_vcpu_create}, + {"zx_vcpu_interrupt", 0, (syscall_t)zx_vcpu_interrupt}, + {"zx_vcpu_read_state", 0, (syscall_t)zx_vcpu_read_state}, + {"zx_vcpu_resume", 0, (syscall_t)zx_vcpu_resume}, + {"zx_vcpu_write_state", 0, (syscall_t)zx_vcpu_write_state}, + {"zx_vmar_allocate", 0, (syscall_t)zx_vmar_allocate}, + {"zx_vmar_destroy", 0, (syscall_t)zx_vmar_destroy}, + {"zx_vmar_map", 0, (syscall_t)zx_vmar_map}, + {"zx_vmar_protect", 0, (syscall_t)zx_vmar_protect}, + {"zx_vmar_unmap", 0, (syscall_t)zx_vmar_unmap}, + {"zx_vmar_unmap_handle_close_thread_exit", 0, (syscall_t)zx_vmar_unmap_handle_close_thread_exit}, + {"zx_vmo_clone", 0, (syscall_t)zx_vmo_clone}, + {"zx_vmo_create", 0, (syscall_t)zx_vmo_create}, + {"zx_vmo_get_size", 0, (syscall_t)zx_vmo_get_size}, + {"zx_vmo_op_range$ZX_VMO_OP_CACHE_CLEAN", 0, (syscall_t)zx_vmo_op_range}, + {"zx_vmo_op_range$ZX_VMO_OP_CACHE_CLEAN_INVALIDATE", 0, (syscall_t)zx_vmo_op_range}, + {"zx_vmo_op_range$ZX_VMO_OP_CACHE_INVALIDATE", 0, (syscall_t)zx_vmo_op_range}, + {"zx_vmo_op_range$ZX_VMO_OP_CACHE_SYNC", 0, (syscall_t)zx_vmo_op_range}, + {"zx_vmo_op_range$ZX_VMO_OP_COMMIT", 0, (syscall_t)zx_vmo_op_range}, + {"zx_vmo_op_range$ZX_VMO_OP_DECOMMIT", 0, (syscall_t)zx_vmo_op_range}, + {"zx_vmo_read", 0, (syscall_t)zx_vmo_read}, + {"zx_vmo_set_cache_policy", 0, (syscall_t)zx_vmo_set_cache_policy}, + {"zx_vmo_set_size", 0, (syscall_t)zx_vmo_set_size}, + {"zx_vmo_write", 0, (syscall_t)zx_vmo_write}, + +}; +#endif + +#if GOARCH_arm64 +const call_t syscalls[] = { + {"chdir", 0, (syscall_t)chdir}, + {"chmod", 0, (syscall_t)chmod}, + {"chown", 0, (syscall_t)chown}, + {"close", 0, (syscall_t)close}, + {"creat", 0, (syscall_t)creat}, + {"dup", 0, (syscall_t)dup}, + {"dup2", 0, (syscall_t)dup2}, + {"dup3", 0, (syscall_t)dup3}, + {"faccessat", 0, (syscall_t)faccessat}, + {"fchmod", 0, (syscall_t)fchmod}, + {"fchmodat", 0, (syscall_t)fchmodat}, + {"fchown", 0, (syscall_t)fchown}, + {"fchownat", 0, (syscall_t)fchownat}, + {"fdatasync", 0, (syscall_t)fdatasync}, + {"fstat", 0, (syscall_t)fstat}, + {"fsync", 0, (syscall_t)fsync}, + {"ftruncate", 0, (syscall_t)ftruncate}, + {"get_root_resource", 0, (syscall_t)get_root_resource}, + {"getcwd", 0, (syscall_t)getcwd}, + {"getgid", 0, (syscall_t)getgid}, + {"getpid", 0, (syscall_t)getpid}, + {"getuid", 0, (syscall_t)getuid}, + {"lchown", 0, (syscall_t)lchown}, + {"link", 0, (syscall_t)link}, + {"linkat", 0, (syscall_t)linkat}, + {"lseek", 0, (syscall_t)lseek}, + {"lstat", 0, (syscall_t)lstat}, + {"mkdir", 0, (syscall_t)mkdir}, + {"mkdirat", 0, (syscall_t)mkdirat}, + {"open", 0, (syscall_t)open}, + {"openat", 0, (syscall_t)openat}, + {"pipe", 0, (syscall_t)pipe}, + {"poll", 0, (syscall_t)poll}, + {"ppoll", 0, (syscall_t)ppoll}, + {"preadv", 0, (syscall_t)preadv}, + {"pwritev", 0, (syscall_t)pwritev}, + {"read", 0, (syscall_t)read}, + {"readlink", 0, (syscall_t)readlink}, + {"readlinkat", 0, (syscall_t)readlinkat}, + {"readv", 0, (syscall_t)readv}, + {"rename", 0, (syscall_t)rename}, + {"renameat", 0, (syscall_t)renameat}, + {"rmdir", 0, (syscall_t)rmdir}, + {"select", 0, (syscall_t)select}, + {"stat", 0, (syscall_t)stat}, + {"symlink", 0, (syscall_t)symlink}, + {"symlinkat", 0, (syscall_t)symlinkat}, + {"sync", 0, (syscall_t)sync}, + {"syz_future_time", 0, (syscall_t)syz_future_time}, + {"syz_job_default", 0, (syscall_t)syz_job_default}, + {"syz_mmap", 0, (syscall_t)syz_mmap}, + {"syz_process_self", 0, (syscall_t)syz_process_self}, + {"syz_thread_self", 0, (syscall_t)syz_thread_self}, + {"syz_vmar_root_self", 0, (syscall_t)syz_vmar_root_self}, + {"truncate", 0, (syscall_t)truncate}, + {"unlink", 0, (syscall_t)unlink}, + {"unlinkat", 0, (syscall_t)unlinkat}, + {"utime", 0, (syscall_t)utime}, + {"utimensat", 0, (syscall_t)utimensat}, + {"utimes", 0, (syscall_t)utimes}, + {"write", 0, (syscall_t)write}, + {"writev", 0, (syscall_t)writev}, + {"zx_cache_flush", 0, (syscall_t)zx_cache_flush}, + {"zx_channel_call", 0, (syscall_t)zx_channel_call}, + {"zx_channel_create", 0, (syscall_t)zx_channel_create}, + {"zx_channel_read", 0, (syscall_t)zx_channel_read}, + {"zx_channel_read_etc", 0, (syscall_t)zx_channel_read_etc}, + {"zx_channel_write", 0, (syscall_t)zx_channel_write}, + {"zx_clock_get", 0, (syscall_t)zx_clock_get}, + {"zx_clock_get_monotonic", 0, (syscall_t)zx_clock_get_monotonic}, + {"zx_clock_get_new", 0, (syscall_t)zx_clock_get_new}, + {"zx_cprng_add_entropy", 0, (syscall_t)zx_cprng_add_entropy}, + {"zx_cprng_draw", 0, (syscall_t)zx_cprng_draw}, + {"zx_debuglog_create", 0, (syscall_t)zx_debuglog_create}, + {"zx_debuglog_read", 0, (syscall_t)zx_debuglog_read}, + {"zx_debuglog_write", 0, (syscall_t)zx_debuglog_write}, + {"zx_event_create", 0, (syscall_t)zx_event_create}, + {"zx_eventpair_create", 0, (syscall_t)zx_eventpair_create}, + {"zx_fifo_create", 0, (syscall_t)zx_fifo_create}, + {"zx_fifo_read", 0, (syscall_t)zx_fifo_read}, + {"zx_fifo_write", 0, (syscall_t)zx_fifo_write}, + {"zx_futex_requeue", 0, (syscall_t)zx_futex_requeue}, + {"zx_futex_wait", 0, (syscall_t)zx_futex_wait}, + {"zx_futex_wake", 0, (syscall_t)zx_futex_wake}, + {"zx_futex_wake_handle_close_thread_exit", 0, (syscall_t)zx_futex_wake_handle_close_thread_exit}, + {"zx_guest_create", 0, (syscall_t)zx_guest_create}, + {"zx_guest_set_trap", 0, (syscall_t)zx_guest_set_trap}, + {"zx_handle_close", 0, (syscall_t)zx_handle_close}, + {"zx_handle_close_many", 0, (syscall_t)zx_handle_close_many}, + {"zx_handle_duplicate", 0, (syscall_t)zx_handle_duplicate}, + {"zx_handle_replace", 0, (syscall_t)zx_handle_replace}, + {"zx_interrupt_ack", 0, (syscall_t)zx_interrupt_ack}, + {"zx_interrupt_create", 0, (syscall_t)zx_interrupt_create}, + {"zx_interrupt_destroy", 0, (syscall_t)zx_interrupt_destroy}, + {"zx_job_create", 0, (syscall_t)zx_job_create}, + {"zx_job_set_policy", 0, (syscall_t)zx_job_set_policy}, + {"zx_log_create", 0, (syscall_t)zx_log_create}, + {"zx_log_read", 0, (syscall_t)zx_log_read}, + {"zx_log_write", 0, (syscall_t)zx_log_write}, + {"zx_nanosleep", 0, (syscall_t)zx_nanosleep}, + {"zx_object_get_cookie", 0, (syscall_t)zx_object_get_cookie}, + {"zx_object_get_info$ZX_INFO_CPU_STATS", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_HANDLE_BASIC", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_HANDLE_VALID", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_JOB_CHILDREN", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_JOB_PROCESSES", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_KMEM_STATS", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_PROCESS", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_PROCESS_MAPS", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_PROCESS_THREADS", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_PROCESS_VMOS", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_RESOURCE", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_TASK_STATS", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_THREAD_EXCEPTION_REPORT", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_THREAD_STATS", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_info$ZX_INFO_VMAR", 0, (syscall_t)zx_object_get_info}, + {"zx_object_get_property", 0, (syscall_t)zx_object_get_property}, + {"zx_object_set_cookie", 0, (syscall_t)zx_object_set_cookie}, + {"zx_object_set_profile", 0, (syscall_t)zx_object_set_profile}, + {"zx_object_set_property", 0, (syscall_t)zx_object_set_property}, + {"zx_object_signal", 0, (syscall_t)zx_object_signal}, + {"zx_object_signal_peer", 0, (syscall_t)zx_object_signal_peer}, + {"zx_object_wait_async", 0, (syscall_t)zx_object_wait_async}, + {"zx_object_wait_many", 0, (syscall_t)zx_object_wait_many}, + {"zx_object_wait_one", 0, (syscall_t)zx_object_wait_one}, + {"zx_port_cancel", 0, (syscall_t)zx_port_cancel}, + {"zx_port_create", 0, (syscall_t)zx_port_create}, + {"zx_port_queue", 0, (syscall_t)zx_port_queue}, + {"zx_port_wait", 0, (syscall_t)zx_port_wait}, + {"zx_process_create", 0, (syscall_t)zx_process_create}, + {"zx_process_exit", 0, (syscall_t)zx_process_exit}, + {"zx_process_read_memory", 0, (syscall_t)zx_process_read_memory}, + {"zx_process_start", 0, (syscall_t)zx_process_start}, + {"zx_socket_accept", 0, (syscall_t)zx_socket_accept}, + {"zx_socket_create", 0, (syscall_t)zx_socket_create}, + {"zx_socket_read", 0, (syscall_t)zx_socket_read}, + {"zx_socket_share", 0, (syscall_t)zx_socket_share}, + {"zx_socket_write", 0, (syscall_t)zx_socket_write}, + {"zx_system_get_num_cpus", 0, (syscall_t)zx_system_get_num_cpus}, + {"zx_system_get_physmem", 0, (syscall_t)zx_system_get_physmem}, + {"zx_system_get_version", 0, (syscall_t)zx_system_get_version}, + {"zx_task_bind_exception_port", 0, (syscall_t)zx_task_bind_exception_port}, + {"zx_task_resume", 0, (syscall_t)zx_task_resume}, + {"zx_thread_create", 0, (syscall_t)zx_thread_create}, + {"zx_thread_exit", 0, (syscall_t)zx_thread_exit}, + {"zx_thread_read_state", 0, (syscall_t)zx_thread_read_state}, + {"zx_thread_read_state$0", 0, (syscall_t)zx_thread_read_state}, + {"zx_thread_start", 0, (syscall_t)zx_thread_start}, + {"zx_thread_write_state", 0, (syscall_t)zx_thread_write_state}, + {"zx_thread_write_state$0", 0, (syscall_t)zx_thread_write_state}, + {"zx_ticks_get", 0, (syscall_t)zx_ticks_get}, + {"zx_ticks_per_second", 0, (syscall_t)zx_ticks_per_second}, + {"zx_timer_cancel", 0, (syscall_t)zx_timer_cancel}, + {"zx_timer_create", 0, (syscall_t)zx_timer_create}, + {"zx_timer_set", 0, (syscall_t)zx_timer_set}, + {"zx_vcpu_create", 0, (syscall_t)zx_vcpu_create}, + {"zx_vcpu_interrupt", 0, (syscall_t)zx_vcpu_interrupt}, + {"zx_vcpu_read_state", 0, (syscall_t)zx_vcpu_read_state}, + {"zx_vcpu_resume", 0, (syscall_t)zx_vcpu_resume}, + {"zx_vcpu_write_state", 0, (syscall_t)zx_vcpu_write_state}, + {"zx_vmar_allocate", 0, (syscall_t)zx_vmar_allocate}, + {"zx_vmar_destroy", 0, (syscall_t)zx_vmar_destroy}, + {"zx_vmar_map", 0, (syscall_t)zx_vmar_map}, + {"zx_vmar_protect", 0, (syscall_t)zx_vmar_protect}, + {"zx_vmar_unmap", 0, (syscall_t)zx_vmar_unmap}, + {"zx_vmar_unmap_handle_close_thread_exit", 0, (syscall_t)zx_vmar_unmap_handle_close_thread_exit}, + {"zx_vmo_clone", 0, (syscall_t)zx_vmo_clone}, + {"zx_vmo_create", 0, (syscall_t)zx_vmo_create}, + {"zx_vmo_get_size", 0, (syscall_t)zx_vmo_get_size}, + {"zx_vmo_op_range$ZX_VMO_OP_CACHE_CLEAN", 0, (syscall_t)zx_vmo_op_range}, + {"zx_vmo_op_range$ZX_VMO_OP_CACHE_CLEAN_INVALIDATE", 0, (syscall_t)zx_vmo_op_range}, + {"zx_vmo_op_range$ZX_VMO_OP_CACHE_INVALIDATE", 0, (syscall_t)zx_vmo_op_range}, + {"zx_vmo_op_range$ZX_VMO_OP_CACHE_SYNC", 0, (syscall_t)zx_vmo_op_range}, + {"zx_vmo_op_range$ZX_VMO_OP_COMMIT", 0, (syscall_t)zx_vmo_op_range}, + {"zx_vmo_op_range$ZX_VMO_OP_DECOMMIT", 0, (syscall_t)zx_vmo_op_range}, + {"zx_vmo_read", 0, (syscall_t)zx_vmo_read}, + {"zx_vmo_set_cache_policy", 0, (syscall_t)zx_vmo_set_cache_policy}, + {"zx_vmo_set_size", 0, (syscall_t)zx_vmo_set_size}, + {"zx_vmo_write", 0, (syscall_t)zx_vmo_write}, + +}; +#endif + +#endif + +#if GOOS_linux + +#if GOARCH_386 const call_t syscalls[] = { {"accept4", 364}, {"accept4$alg", 364}, @@ -2102,15 +2957,7 @@ const call_t syscalls[] = { }; #endif -#if defined(__x86_64__) || 0 -#define GOARCH "amd64" -#define SYZ_REVISION "22bac64bd4f91440dd851726a290b9eb1f1ae092" -#define SYZ_EXECUTOR_USES_FORK_SERVER true -#define SYZ_EXECUTOR_USES_SHMEM true -#define SYZ_PAGE_SIZE 4096 -#define SYZ_NUM_PAGES 4096 -#define SYZ_DATA_OFFSET 536870912 -#define SYZ_SYSCALL_COUNT 2140 +#if GOARCH_amd64 const call_t syscalls[] = { {"accept", 43}, {"accept$alg", 43}, @@ -4256,15 +5103,7 @@ const call_t syscalls[] = { }; #endif -#if defined(__arm__) || 0 -#define GOARCH "arm" -#define SYZ_REVISION "c46361b24a9d8c4d25f99c6a74ed373b73b0cdd1" -#define SYZ_EXECUTOR_USES_FORK_SERVER true -#define SYZ_EXECUTOR_USES_SHMEM true -#define SYZ_PAGE_SIZE 4096 -#define SYZ_NUM_PAGES 4096 -#define SYZ_DATA_OFFSET 536870912 -#define SYZ_SYSCALL_COUNT 2096 +#if GOARCH_arm const call_t syscalls[] = { {"accept", 285}, {"accept$alg", 285}, @@ -6366,15 +7205,7 @@ const call_t syscalls[] = { }; #endif -#if defined(__aarch64__) || 0 -#define GOARCH "arm64" -#define SYZ_REVISION "e1ce203bf0cb9e092e65fc6ca9cd1cde96e19316" -#define SYZ_EXECUTOR_USES_FORK_SERVER true -#define SYZ_EXECUTOR_USES_SHMEM true -#define SYZ_PAGE_SIZE 4096 -#define SYZ_NUM_PAGES 4096 -#define SYZ_DATA_OFFSET 536870912 -#define SYZ_SYSCALL_COUNT 2068 +#if GOARCH_arm64 const call_t syscalls[] = { {"accept", 202}, {"accept$alg", 202}, @@ -8448,15 +9279,7 @@ const call_t syscalls[] = { }; #endif -#if defined(__ppc64__) || defined(__PPC64__) || defined(__powerpc64__) || 0 -#define GOARCH "ppc64le" -#define SYZ_REVISION "1ccba534d5c6adaffc5ebfbea33c22833f5cb846" -#define SYZ_EXECUTOR_USES_FORK_SERVER true -#define SYZ_EXECUTOR_USES_SHMEM true -#define SYZ_PAGE_SIZE 4096 -#define SYZ_NUM_PAGES 4096 -#define SYZ_DATA_OFFSET 536870912 -#define SYZ_SYSCALL_COUNT 1958 +#if GOARCH_ppc64le const call_t syscalls[] = { {"accept", 330}, {"accept$alg", 330}, @@ -10419,3 +11242,3306 @@ const call_t syscalls[] = { }; #endif + +#endif + +#if GOOS_netbsd + +#if GOARCH_amd64 +const call_t syscalls[] = { + {"accept", 30}, + {"accept$inet", 30}, + {"accept$inet6", 30}, + {"accept$unix", 30}, + {"bind", 104}, + {"bind$inet", 104}, + {"bind$inet6", 104}, + {"bind$unix", 104}, + {"chdir", 12}, + {"chmod", 15}, + {"chown", 16}, + {"chroot", 61}, + {"clock_getres", 429}, + {"clock_gettime", 427}, + {"clock_nanosleep", 477}, + {"clock_settime", 428}, + {"close", 6}, + {"connect", 98}, + {"connect$inet", 98}, + {"connect$inet6", 98}, + {"connect$unix", 98}, + {"dup", 41}, + {"dup2", 90}, + {"execve", 59}, + {"faccessat", 462}, + {"fchdir", 13}, + {"fchmod", 124}, + {"fchmodat", 463}, + {"fchown", 123}, + {"fchownat", 464}, + {"fchroot", 297}, + {"fcntl$dupfd", 92}, + {"fcntl$getflags", 92}, + {"fcntl$getown", 92}, + {"fcntl$lock", 92}, + {"fcntl$setflags", 92}, + {"fcntl$setown", 92}, + {"fcntl$setstatus", 92}, + {"fdatasync", 241}, + {"flock", 131}, + {"fsync", 95}, + {"ftruncate", 201}, + {"getdents", 390}, + {"getegid", 43}, + {"geteuid", 25}, + {"getgid", 47}, + {"getgroups", 79}, + {"getitimer", 426}, + {"getpeername", 31}, + {"getpeername$inet", 31}, + {"getpeername$inet6", 31}, + {"getpeername$unix", 31}, + {"getpgid", 207}, + {"getpgrp", 81}, + {"getpid", 20}, + {"getppid", 39}, + {"getrlimit", 194}, + {"getrusage", 445}, + {"getsockname", 32}, + {"getsockname$inet", 32}, + {"getsockname$inet6", 32}, + {"getsockname$unix", 32}, + {"getsockopt", 118}, + {"getsockopt$SO_PEERCRED", 118}, + {"getsockopt$inet_opts", 118}, + {"getsockopt$sock_cred", 118}, + {"getsockopt$sock_int", 118}, + {"getsockopt$sock_linger", 118}, + {"getsockopt$sock_timeval", 118}, + {"getuid", 24}, + {"lchown", 275}, + {"link", 9}, + {"linkat", 457}, + {"listen", 106}, + {"lseek", 199}, + {"lstat", 441}, + {"madvise", 75}, + {"mincore", 78}, + {"mkdir", 136}, + {"mkdirat", 461}, + {"mknod", 450}, + {"mknod$loop", 450}, + {"mknodat", 460}, + {"mlock", 203}, + {"mlockall", 242}, + {"mmap", 197}, + {"mprotect", 74}, + {"msgctl$IPC_RMID", 444}, + {"msgctl$IPC_SET", 444}, + {"msgctl$IPC_STAT", 444}, + {"msgget", 225}, + {"msgget$private", 225}, + {"msgrcv", 227}, + {"msgsnd", 226}, + {"munlock", 204}, + {"munlockall", 243}, + {"munmap", 73}, + {"nanosleep", 430}, + {"open", 5}, + {"open$dir", 5}, + {"openat", 468}, + {"paccept", 456}, + {"pipe", 42}, + {"pipe2", 453}, + {"poll", 209}, + {"preadv", 289}, + {"pwritev", 290}, + {"read", 3}, + {"readlink", 58}, + {"readlinkat", 469}, + {"readv", 120}, + {"recvfrom", 29}, + {"recvfrom$inet", 29}, + {"recvfrom$inet6", 29}, + {"recvfrom$unix", 29}, + {"recvmsg", 27}, + {"rename", 128}, + {"renameat", 458}, + {"rmdir", 137}, + {"select", 417}, + {"semctl$GETALL", 442}, + {"semctl$GETNCNT", 442}, + {"semctl$GETPID", 442}, + {"semctl$GETVAL", 442}, + {"semctl$GETZCNT", 442}, + {"semctl$IPC_RMID", 442}, + {"semctl$IPC_SET", 442}, + {"semctl$IPC_STAT", 442}, + {"semctl$SETALL", 442}, + {"semctl$SETVAL", 442}, + {"semget", 221}, + {"semget$private", 221}, + {"semop", 222}, + {"sendmsg", 28}, + {"sendmsg$unix", 28}, + {"sendto", 133}, + {"sendto$inet", 133}, + {"sendto$inet6", 133}, + {"sendto$unix", 133}, + {"setegid", 182}, + {"seteuid", 183}, + {"setgid", 181}, + {"setgroups", 80}, + {"setitimer", 425}, + {"setpgid", 82}, + {"setregid", 127}, + {"setreuid", 126}, + {"setrlimit", 195}, + {"setsockopt", 105}, + {"setsockopt$inet6_MRT6_ADD_MFC", 105}, + {"setsockopt$inet6_MRT6_ADD_MIF", 105}, + {"setsockopt$inet6_MRT6_DEL_MFC", 105}, + {"setsockopt$inet_opts", 105}, + {"setsockopt$sock_cred", 105}, + {"setsockopt$sock_int", 105}, + {"setsockopt$sock_linger", 105}, + {"setsockopt$sock_timeval", 105}, + {"setuid", 23}, + {"shmat", 228}, + {"shmctl$IPC_RMID", 443}, + {"shmctl$IPC_SET", 443}, + {"shmctl$IPC_STAT", 443}, + {"shmctl$SHM_LOCK", 443}, + {"shmctl$SHM_UNLOCK", 443}, + {"shmdt", 230}, + {"shmget", 231}, + {"shmget$private", 231}, + {"shutdown", 134}, + {"socket", 394}, + {"socket$inet", 394}, + {"socket$inet6", 394}, + {"socket$unix", 394}, + {"socketpair", 135}, + {"socketpair$inet", 135}, + {"socketpair$inet6", 135}, + {"socketpair$unix", 135}, + {"stat", 439}, + {"symlink", 57}, + {"symlinkat", 470}, + {"sync", 36}, + {"truncate", 200}, + {"unlink", 10}, + {"unlinkat", 471}, + {"utimensat", 467}, + {"utimes", 420}, + {"wait4", 449}, + {"write", 4}, + {"writev", 121}, + +}; +#endif + +#endif + +#if GOOS_test + +#if GOARCH_32_fork_shmem +const call_t syscalls[] = { + {"syz_mmap", 0, (syscall_t)syz_mmap}, + +}; +#endif + +#if GOARCH_32_shmem +const call_t syscalls[] = { + {"syz_mmap", 0, (syscall_t)syz_mmap}, + +}; +#endif + +#if GOARCH_64 +const call_t syscalls[] = { + {"foo$any0", 0}, + {"foo$anyres", 0}, + {"foo$fmt0", 0}, + {"foo$fmt1", 0}, + {"foo$fmt2", 0}, + {"foo$fmt3", 0}, + {"foo$fmt4", 0}, + {"foo$fmt5", 0}, + {"mutate0", 0}, + {"mutate1", 0}, + {"mutate2", 0}, + {"mutate3", 0}, + {"mutate4", 0}, + {"mutate5", 0}, + {"mutate6", 0}, + {"mutate7", 0}, + {"mutate8", 0}, + {"serialize0", 0}, + {"serialize1", 0}, + {"syz_mmap", 0, (syscall_t)syz_mmap}, + {"test", 0}, + {"test$align0", 0}, + {"test$align1", 0}, + {"test$align2", 0}, + {"test$align3", 0}, + {"test$align4", 0}, + {"test$align5", 0}, + {"test$align6", 0}, + {"test$align7", 0}, + {"test$array0", 0}, + {"test$array1", 0}, + {"test$array2", 0}, + {"test$bf0", 0}, + {"test$bf1", 0}, + {"test$csum_encode", 0}, + {"test$csum_ipv4", 0}, + {"test$csum_ipv4_tcp", 0}, + {"test$csum_ipv4_udp", 0}, + {"test$csum_ipv6_icmp", 0}, + {"test$csum_ipv6_tcp", 0}, + {"test$csum_ipv6_udp", 0}, + {"test$end0", 0}, + {"test$end1", 0}, + {"test$excessive_args1", 0}, + {"test$excessive_args2", 0}, + {"test$excessive_fields1", 0}, + {"test$hint_data", 0}, + {"test$int", 0}, + {"test$length0", 0}, + {"test$length1", 0}, + {"test$length10", 0}, + {"test$length11", 0}, + {"test$length12", 0}, + {"test$length13", 0}, + {"test$length14", 0}, + {"test$length15", 0}, + {"test$length16", 0}, + {"test$length17", 0}, + {"test$length18", 0}, + {"test$length19", 0}, + {"test$length2", 0}, + {"test$length20", 0}, + {"test$length21", 0}, + {"test$length22", 0}, + {"test$length23", 0}, + {"test$length24", 0}, + {"test$length25", 0}, + {"test$length26", 0}, + {"test$length27", 0}, + {"test$length28", 0}, + {"test$length29", 0}, + {"test$length3", 0}, + {"test$length4", 0}, + {"test$length5", 0}, + {"test$length6", 0}, + {"test$length7", 0}, + {"test$length8", 0}, + {"test$length9", 0}, + {"test$missing_resource", 0}, + {"test$missing_struct", 0}, + {"test$opt0", 0}, + {"test$opt1", 0}, + {"test$opt2", 0}, + {"test$opt3", 0}, + {"test$recur0", 0}, + {"test$recur1", 0}, + {"test$recur2", 0}, + {"test$regression0", 0}, + {"test$regression1", 0}, + {"test$regression2", 0}, + {"test$res0", 0}, + {"test$res1", 0}, + {"test$res2", 0}, + {"test$struct", 0}, + {"test$syz_union3", 0}, + {"test$syz_union4", 0}, + {"test$text_x86_16", 0}, + {"test$text_x86_32", 0}, + {"test$text_x86_64", 0}, + {"test$text_x86_real", 0}, + {"test$type_confusion1", 0}, + {"test$union0", 0}, + {"test$union1", 0}, + {"test$union2", 0}, + {"test$vma0", 0}, + {"unsupported$0", 0}, + {"unsupported$1", 0}, + +}; +#endif + +#if GOARCH_64_fork +const call_t syscalls[] = { + {"syz_mmap", 0, (syscall_t)syz_mmap}, + +}; +#endif + +#endif + +#if GOOS_windows + +#if GOARCH_amd64 +const call_t syscalls[] = { + {"AbortDoc", 0, (syscall_t)AbortDoc}, + {"AbortPath", 0, (syscall_t)AbortPath}, + {"AbortPrinter", 0, (syscall_t)AbortPrinter}, + {"AbortSystemShutdownA", 0, (syscall_t)AbortSystemShutdownA}, + {"AcceptEx", 0, (syscall_t)AcceptEx}, + {"AccessCheck", 0, (syscall_t)AccessCheck}, + {"AccessCheckAndAuditAlarmA", 0, (syscall_t)AccessCheckAndAuditAlarmA}, + {"AccessCheckByType", 0, (syscall_t)AccessCheckByType}, + {"AccessCheckByTypeAndAuditAlarmA", 0, (syscall_t)AccessCheckByTypeAndAuditAlarmA}, + {"AccessCheckByTypeResultList", 0, (syscall_t)AccessCheckByTypeResultList}, + {"AccessCheckByTypeResultListAndAuditAlarmA", 0, (syscall_t)AccessCheckByTypeResultListAndAuditAlarmA}, + {"AccessCheckByTypeResultListAndAuditAlarmByHandleA", 0, (syscall_t)AccessCheckByTypeResultListAndAuditAlarmByHandleA}, + {"AcquireSRWLockExclusive", 0, (syscall_t)AcquireSRWLockExclusive}, + {"AcquireSRWLockShared", 0, (syscall_t)AcquireSRWLockShared}, + {"ActivateActCtx", 0, (syscall_t)ActivateActCtx}, + {"ActivateKeyboardLayout", 0, (syscall_t)ActivateKeyboardLayout}, + {"AddAccessAllowedAce", 0, (syscall_t)AddAccessAllowedAce}, + {"AddAccessAllowedAceEx", 0, (syscall_t)AddAccessAllowedAceEx}, + {"AddAccessAllowedObjectAce", 0, (syscall_t)AddAccessAllowedObjectAce}, + {"AddAccessDeniedAce", 0, (syscall_t)AddAccessDeniedAce}, + {"AddAccessDeniedAceEx", 0, (syscall_t)AddAccessDeniedAceEx}, + {"AddAccessDeniedObjectAce", 0, (syscall_t)AddAccessDeniedObjectAce}, + {"AddAce", 0, (syscall_t)AddAce}, + {"AddAtomA", 0, (syscall_t)AddAtomA}, + {"AddAuditAccessAce", 0, (syscall_t)AddAuditAccessAce}, + {"AddAuditAccessAceEx", 0, (syscall_t)AddAuditAccessAceEx}, + {"AddAuditAccessObjectAce", 0, (syscall_t)AddAuditAccessObjectAce}, + {"AddClipboardFormatListener", 0, (syscall_t)AddClipboardFormatListener}, + {"AddConditionalAce", 0, (syscall_t)AddConditionalAce}, + {"AddConsoleAliasA", 0, (syscall_t)AddConsoleAliasA}, + {"AddDllDirectory", 0, (syscall_t)AddDllDirectory}, + {"AddFontMemResourceEx", 0, (syscall_t)AddFontMemResourceEx}, + {"AddFontResourceA", 0, (syscall_t)AddFontResourceA}, + {"AddFontResourceExA", 0, (syscall_t)AddFontResourceExA}, + {"AddFormA", 0, (syscall_t)AddFormA}, + {"AddIntegrityLabelToBoundaryDescriptor", 0, (syscall_t)AddIntegrityLabelToBoundaryDescriptor}, + {"AddJobA", 0, (syscall_t)AddJobA}, + {"AddMandatoryAce", 0, (syscall_t)AddMandatoryAce}, + {"AddMonitorA", 0, (syscall_t)AddMonitorA}, + {"AddPortA", 0, (syscall_t)AddPortA}, + {"AddPrintProcessorA", 0, (syscall_t)AddPrintProcessorA}, + {"AddPrintProvidorA", 0, (syscall_t)AddPrintProvidorA}, + {"AddPrinterA", 0, (syscall_t)AddPrinterA}, + {"AddPrinterConnection2A", 0, (syscall_t)AddPrinterConnection2A}, + {"AddPrinterConnectionA", 0, (syscall_t)AddPrinterConnectionA}, + {"AddPrinterDriverA", 0, (syscall_t)AddPrinterDriverA}, + {"AddPrinterDriverExA", 0, (syscall_t)AddPrinterDriverExA}, + {"AddRefActCtx", 0, (syscall_t)AddRefActCtx}, + {"AddResourceAttributeAce", 0, (syscall_t)AddResourceAttributeAce}, + {"AddSIDToBoundaryDescriptor", 0, (syscall_t)AddSIDToBoundaryDescriptor}, + {"AddScopedPolicyIDAce", 0, (syscall_t)AddScopedPolicyIDAce}, + {"AddSecureMemoryCacheCallback", 0, (syscall_t)AddSecureMemoryCacheCallback}, + {"AddUsersToEncryptedFile", 0, (syscall_t)AddUsersToEncryptedFile}, + {"AddVectoredContinueHandler", 0, (syscall_t)AddVectoredContinueHandler}, + {"AddVectoredExceptionHandler", 0, (syscall_t)AddVectoredExceptionHandler}, + {"AdjustTokenGroups", 0, (syscall_t)AdjustTokenGroups}, + {"AdjustTokenPrivileges", 0, (syscall_t)AdjustTokenPrivileges}, + {"AdjustWindowRect", 0, (syscall_t)AdjustWindowRect}, + {"AdjustWindowRectEx", 0, (syscall_t)AdjustWindowRectEx}, + {"AdjustWindowRectExForDpi", 0, (syscall_t)AdjustWindowRectExForDpi}, + {"AdvancedDocumentPropertiesA", 0, (syscall_t)AdvancedDocumentPropertiesA}, + {"AllocConsole", 0, (syscall_t)AllocConsole}, + {"AllocateAndInitializeSid", 0, (syscall_t)AllocateAndInitializeSid}, + {"AllocateLocallyUniqueId", 0, (syscall_t)AllocateLocallyUniqueId}, + {"AllocateUserPhysicalPages", 0, (syscall_t)AllocateUserPhysicalPages}, + {"AllocateUserPhysicalPagesNuma", 0, (syscall_t)AllocateUserPhysicalPagesNuma}, + {"AllowSetForegroundWindow", 0, (syscall_t)AllowSetForegroundWindow}, + {"AlphaBlend", 0, (syscall_t)AlphaBlend}, + {"AngleArc", 0, (syscall_t)AngleArc}, + {"AnimatePalette", 0, (syscall_t)AnimatePalette}, + {"AnimateWindow", 0, (syscall_t)AnimateWindow}, + {"AnyPopup", 0, (syscall_t)AnyPopup}, + {"AppendMenuA", 0, (syscall_t)AppendMenuA}, + {"ApplicationRecoveryFinished", 0, (syscall_t)ApplicationRecoveryFinished}, + {"ApplicationRecoveryInProgress", 0, (syscall_t)ApplicationRecoveryInProgress}, + {"Arc", 0, (syscall_t)Arc}, + {"ArcTo", 0, (syscall_t)ArcTo}, + {"AreAllAccessesGranted", 0, (syscall_t)AreAllAccessesGranted}, + {"AreAnyAccessesGranted", 0, (syscall_t)AreAnyAccessesGranted}, + {"AreDpiAwarenessContextsEqual", 0, (syscall_t)AreDpiAwarenessContextsEqual}, + {"AreFileApisANSI", 0, (syscall_t)AreFileApisANSI}, + {"ArrangeIconicWindows", 0, (syscall_t)ArrangeIconicWindows}, + {"AssignProcessToJobObject", 0, (syscall_t)AssignProcessToJobObject}, + {"AssocCreateForClasses", 0, (syscall_t)AssocCreateForClasses}, + {"AttachConsole", 0, (syscall_t)AttachConsole}, + {"AttachThreadInput", 0, (syscall_t)AttachThreadInput}, + {"BCryptFreeBuffer", 0, (syscall_t)BCryptFreeBuffer}, + {"BSTR_UserFree", 0, (syscall_t)BSTR_UserFree}, + {"BSTR_UserFree64", 0, (syscall_t)BSTR_UserFree64}, + {"BSTR_UserMarshal", 0, (syscall_t)BSTR_UserMarshal}, + {"BSTR_UserMarshal64", 0, (syscall_t)BSTR_UserMarshal64}, + {"BSTR_UserSize", 0, (syscall_t)BSTR_UserSize}, + {"BSTR_UserSize64", 0, (syscall_t)BSTR_UserSize64}, + {"BSTR_UserUnmarshal", 0, (syscall_t)BSTR_UserUnmarshal}, + {"BSTR_UserUnmarshal64", 0, (syscall_t)BSTR_UserUnmarshal64}, + {"BackupEventLogA", 0, (syscall_t)BackupEventLogA}, + {"BackupRead", 0, (syscall_t)BackupRead}, + {"BackupSeek", 0, (syscall_t)BackupSeek}, + {"BackupWrite", 0, (syscall_t)BackupWrite}, + {"Beep", 0, (syscall_t)Beep}, + {"BeginDeferWindowPos", 0, (syscall_t)BeginDeferWindowPos}, + {"BeginPaint", 0, (syscall_t)BeginPaint}, + {"BeginPath", 0, (syscall_t)BeginPath}, + {"BeginUpdateResourceA", 0, (syscall_t)BeginUpdateResourceA}, + {"BindIoCompletionCallback", 0, (syscall_t)BindIoCompletionCallback}, + {"BitBlt", 0, (syscall_t)BitBlt}, + {"BlockInput", 0, (syscall_t)BlockInput}, + {"BringWindowToTop", 0, (syscall_t)BringWindowToTop}, + {"BroadcastSystemMessageA", 0, (syscall_t)BroadcastSystemMessageA}, + {"BroadcastSystemMessageExA", 0, (syscall_t)BroadcastSystemMessageExA}, + {"BuildCommDCBA", 0, (syscall_t)BuildCommDCBA}, + {"BuildCommDCBAndTimeoutsA", 0, (syscall_t)BuildCommDCBAndTimeoutsA}, + {"CalculatePopupWindowPosition", 0, (syscall_t)CalculatePopupWindowPosition}, + {"CallMsgFilterA", 0, (syscall_t)CallMsgFilterA}, + {"CallNamedPipeA", 0, (syscall_t)CallNamedPipeA}, + {"CallNextHookEx", 0, (syscall_t)CallNextHookEx}, + {"CallWindowProcA", 0, (syscall_t)CallWindowProcA}, + {"CallbackMayRunLong", 0, (syscall_t)CallbackMayRunLong}, + {"CancelDC", 0, (syscall_t)CancelDC}, + {"CancelDeviceWakeupRequest", 0, (syscall_t)CancelDeviceWakeupRequest}, + {"CancelIo", 0, (syscall_t)CancelIo}, + {"CancelIoEx", 0, (syscall_t)CancelIoEx}, + {"CancelShutdown", 0, (syscall_t)CancelShutdown}, + {"CancelSynchronousIo", 0, (syscall_t)CancelSynchronousIo}, + {"CancelThreadpoolIo", 0, (syscall_t)CancelThreadpoolIo}, + {"CancelTimerQueueTimer", 0, (syscall_t)CancelTimerQueueTimer}, + {"CancelWaitableTimer", 0, (syscall_t)CancelWaitableTimer}, + {"CascadeWindows", 0, (syscall_t)CascadeWindows}, + {"CertAddCRLContextToStore", 0, (syscall_t)CertAddCRLContextToStore}, + {"CertAddCRLLinkToStore", 0, (syscall_t)CertAddCRLLinkToStore}, + {"CertAddCTLContextToStore", 0, (syscall_t)CertAddCTLContextToStore}, + {"CertAddCTLLinkToStore", 0, (syscall_t)CertAddCTLLinkToStore}, + {"CertAddCertificateContextToStore", 0, (syscall_t)CertAddCertificateContextToStore}, + {"CertAddCertificateLinkToStore", 0, (syscall_t)CertAddCertificateLinkToStore}, + {"CertAddEncodedCRLToStore", 0, (syscall_t)CertAddEncodedCRLToStore}, + {"CertAddEncodedCTLToStore", 0, (syscall_t)CertAddEncodedCTLToStore}, + {"CertAddEncodedCertificateToStore", 0, (syscall_t)CertAddEncodedCertificateToStore}, + {"CertAddEncodedCertificateToSystemStoreA", 0, (syscall_t)CertAddEncodedCertificateToSystemStoreA}, + {"CertAddEnhancedKeyUsageIdentifier", 0, (syscall_t)CertAddEnhancedKeyUsageIdentifier}, + {"CertAddRefServerOcspResponse", 0, (syscall_t)CertAddRefServerOcspResponse}, + {"CertAddRefServerOcspResponseContext", 0, (syscall_t)CertAddRefServerOcspResponseContext}, + {"CertAddSerializedElementToStore", 0, (syscall_t)CertAddSerializedElementToStore}, + {"CertAddStoreToCollection", 0, (syscall_t)CertAddStoreToCollection}, + {"CertAlgIdToOID", 0, (syscall_t)CertAlgIdToOID}, + {"CertCloseServerOcspResponse", 0, (syscall_t)CertCloseServerOcspResponse}, + {"CertCloseStore", 0, (syscall_t)CertCloseStore}, + {"CertCompareCertificate", 0, (syscall_t)CertCompareCertificate}, + {"CertCompareCertificateName", 0, (syscall_t)CertCompareCertificateName}, + {"CertCompareIntegerBlob", 0, (syscall_t)CertCompareIntegerBlob}, + {"CertComparePublicKeyInfo", 0, (syscall_t)CertComparePublicKeyInfo}, + {"CertControlStore", 0, (syscall_t)CertControlStore}, + {"CertCreateCRLContext", 0, (syscall_t)CertCreateCRLContext}, + {"CertCreateCTLContext", 0, (syscall_t)CertCreateCTLContext}, + {"CertCreateCTLEntryFromCertificateContextProperties", 0, (syscall_t)CertCreateCTLEntryFromCertificateContextProperties}, + {"CertCreateCertificateChainEngine", 0, (syscall_t)CertCreateCertificateChainEngine}, + {"CertCreateCertificateContext", 0, (syscall_t)CertCreateCertificateContext}, + {"CertCreateContext", 0, (syscall_t)CertCreateContext}, + {"CertCreateSelfSignCertificate", 0, (syscall_t)CertCreateSelfSignCertificate}, + {"CertDeleteCRLFromStore", 0, (syscall_t)CertDeleteCRLFromStore}, + {"CertDeleteCTLFromStore", 0, (syscall_t)CertDeleteCTLFromStore}, + {"CertDeleteCertificateFromStore", 0, (syscall_t)CertDeleteCertificateFromStore}, + {"CertDuplicateCRLContext", 0, (syscall_t)CertDuplicateCRLContext}, + {"CertDuplicateCTLContext", 0, (syscall_t)CertDuplicateCTLContext}, + {"CertDuplicateCertificateChain", 0, (syscall_t)CertDuplicateCertificateChain}, + {"CertDuplicateCertificateContext", 0, (syscall_t)CertDuplicateCertificateContext}, + {"CertDuplicateStore", 0, (syscall_t)CertDuplicateStore}, + {"CertEnumCRLContextProperties", 0, (syscall_t)CertEnumCRLContextProperties}, + {"CertEnumCRLsInStore", 0, (syscall_t)CertEnumCRLsInStore}, + {"CertEnumCTLContextProperties", 0, (syscall_t)CertEnumCTLContextProperties}, + {"CertEnumCTLsInStore", 0, (syscall_t)CertEnumCTLsInStore}, + {"CertEnumCertificateContextProperties", 0, (syscall_t)CertEnumCertificateContextProperties}, + {"CertEnumCertificatesInStore", 0, (syscall_t)CertEnumCertificatesInStore}, + {"CertEnumPhysicalStore", 0, (syscall_t)CertEnumPhysicalStore}, + {"CertEnumSubjectInSortedCTL", 0, (syscall_t)CertEnumSubjectInSortedCTL}, + {"CertEnumSystemStore", 0, (syscall_t)CertEnumSystemStore}, + {"CertEnumSystemStoreLocation", 0, (syscall_t)CertEnumSystemStoreLocation}, + {"CertFindAttribute", 0, (syscall_t)CertFindAttribute}, + {"CertFindCRLInStore", 0, (syscall_t)CertFindCRLInStore}, + {"CertFindCTLInStore", 0, (syscall_t)CertFindCTLInStore}, + {"CertFindCertificateInCRL", 0, (syscall_t)CertFindCertificateInCRL}, + {"CertFindCertificateInStore", 0, (syscall_t)CertFindCertificateInStore}, + {"CertFindChainInStore", 0, (syscall_t)CertFindChainInStore}, + {"CertFindExtension", 0, (syscall_t)CertFindExtension}, + {"CertFindRDNAttr", 0, (syscall_t)CertFindRDNAttr}, + {"CertFindSubjectInCTL", 0, (syscall_t)CertFindSubjectInCTL}, + {"CertFindSubjectInSortedCTL", 0, (syscall_t)CertFindSubjectInSortedCTL}, + {"CertFreeCRLContext", 0, (syscall_t)CertFreeCRLContext}, + {"CertFreeCTLContext", 0, (syscall_t)CertFreeCTLContext}, + {"CertFreeCertificateChain", 0, (syscall_t)CertFreeCertificateChain}, + {"CertFreeCertificateChainEngine", 0, (syscall_t)CertFreeCertificateChainEngine}, + {"CertFreeCertificateChainList", 0, (syscall_t)CertFreeCertificateChainList}, + {"CertFreeCertificateContext", 0, (syscall_t)CertFreeCertificateContext}, + {"CertFreeServerOcspResponseContext", 0, (syscall_t)CertFreeServerOcspResponseContext}, + {"CertGetCRLContextProperty", 0, (syscall_t)CertGetCRLContextProperty}, + {"CertGetCRLFromStore", 0, (syscall_t)CertGetCRLFromStore}, + {"CertGetCTLContextProperty", 0, (syscall_t)CertGetCTLContextProperty}, + {"CertGetCertificateChain", 0, (syscall_t)CertGetCertificateChain}, + {"CertGetCertificateContextProperty", 0, (syscall_t)CertGetCertificateContextProperty}, + {"CertGetEnhancedKeyUsage", 0, (syscall_t)CertGetEnhancedKeyUsage}, + {"CertGetIntendedKeyUsage", 0, (syscall_t)CertGetIntendedKeyUsage}, + {"CertGetIssuerCertificateFromStore", 0, (syscall_t)CertGetIssuerCertificateFromStore}, + {"CertGetNameStringA", 0, (syscall_t)CertGetNameStringA}, + {"CertGetPublicKeyLength", 0, (syscall_t)CertGetPublicKeyLength}, + {"CertGetServerOcspResponseContext", 0, (syscall_t)CertGetServerOcspResponseContext}, + {"CertGetStoreProperty", 0, (syscall_t)CertGetStoreProperty}, + {"CertGetSubjectCertificateFromStore", 0, (syscall_t)CertGetSubjectCertificateFromStore}, + {"CertGetValidUsages", 0, (syscall_t)CertGetValidUsages}, + {"CertIsRDNAttrsInCertificateName", 0, (syscall_t)CertIsRDNAttrsInCertificateName}, + {"CertIsStrongHashToSign", 0, (syscall_t)CertIsStrongHashToSign}, + {"CertIsValidCRLForCertificate", 0, (syscall_t)CertIsValidCRLForCertificate}, + {"CertIsWeakHash", 0, (syscall_t)CertIsWeakHash}, + {"CertNameToStrA", 0, (syscall_t)CertNameToStrA}, + {"CertOIDToAlgId", 0, (syscall_t)CertOIDToAlgId}, + {"CertOpenServerOcspResponse", 0, (syscall_t)CertOpenServerOcspResponse}, + {"CertOpenStore", 0, (syscall_t)CertOpenStore}, + {"CertOpenSystemStoreA", 0, (syscall_t)CertOpenSystemStoreA}, + {"CertRDNValueToStrA", 0, (syscall_t)CertRDNValueToStrA}, + {"CertRegisterPhysicalStore", 0, (syscall_t)CertRegisterPhysicalStore}, + {"CertRegisterSystemStore", 0, (syscall_t)CertRegisterSystemStore}, + {"CertRemoveEnhancedKeyUsageIdentifier", 0, (syscall_t)CertRemoveEnhancedKeyUsageIdentifier}, + {"CertRemoveStoreFromCollection", 0, (syscall_t)CertRemoveStoreFromCollection}, + {"CertResyncCertificateChainEngine", 0, (syscall_t)CertResyncCertificateChainEngine}, + {"CertRetrieveLogoOrBiometricInfo", 0, (syscall_t)CertRetrieveLogoOrBiometricInfo}, + {"CertSaveStore", 0, (syscall_t)CertSaveStore}, + {"CertSelectCertificateChains", 0, (syscall_t)CertSelectCertificateChains}, + {"CertSerializeCRLStoreElement", 0, (syscall_t)CertSerializeCRLStoreElement}, + {"CertSerializeCTLStoreElement", 0, (syscall_t)CertSerializeCTLStoreElement}, + {"CertSerializeCertificateStoreElement", 0, (syscall_t)CertSerializeCertificateStoreElement}, + {"CertSetCRLContextProperty", 0, (syscall_t)CertSetCRLContextProperty}, + {"CertSetCTLContextProperty", 0, (syscall_t)CertSetCTLContextProperty}, + {"CertSetCertificateContextPropertiesFromCTLEntry", 0, (syscall_t)CertSetCertificateContextPropertiesFromCTLEntry}, + {"CertSetCertificateContextProperty", 0, (syscall_t)CertSetCertificateContextProperty}, + {"CertSetEnhancedKeyUsage", 0, (syscall_t)CertSetEnhancedKeyUsage}, + {"CertSetStoreProperty", 0, (syscall_t)CertSetStoreProperty}, + {"CertStrToNameA", 0, (syscall_t)CertStrToNameA}, + {"CertUnregisterPhysicalStore", 0, (syscall_t)CertUnregisterPhysicalStore}, + {"CertUnregisterSystemStore", 0, (syscall_t)CertUnregisterSystemStore}, + {"CertVerifyCRLRevocation", 0, (syscall_t)CertVerifyCRLRevocation}, + {"CertVerifyCRLTimeValidity", 0, (syscall_t)CertVerifyCRLTimeValidity}, + {"CertVerifyCTLUsage", 0, (syscall_t)CertVerifyCTLUsage}, + {"CertVerifyCertificateChainPolicy", 0, (syscall_t)CertVerifyCertificateChainPolicy}, + {"CertVerifyRevocation", 0, (syscall_t)CertVerifyRevocation}, + {"CertVerifySubjectCertificateContext", 0, (syscall_t)CertVerifySubjectCertificateContext}, + {"CertVerifyTimeValidity", 0, (syscall_t)CertVerifyTimeValidity}, + {"CertVerifyValidityNesting", 0, (syscall_t)CertVerifyValidityNesting}, + {"ChangeClipboardChain", 0, (syscall_t)ChangeClipboardChain}, + {"ChangeDisplaySettingsA", 0, (syscall_t)ChangeDisplaySettingsA}, + {"ChangeDisplaySettingsExA", 0, (syscall_t)ChangeDisplaySettingsExA}, + {"ChangeMenuA", 0, (syscall_t)ChangeMenuA}, + {"ChangeServiceConfig2A", 0, (syscall_t)ChangeServiceConfig2A}, + {"ChangeServiceConfigA", 0, (syscall_t)ChangeServiceConfigA}, + {"ChangeTimerQueueTimer", 0, (syscall_t)ChangeTimerQueueTimer}, + {"ChangeWindowMessageFilter", 0, (syscall_t)ChangeWindowMessageFilter}, + {"ChangeWindowMessageFilterEx", 0, (syscall_t)ChangeWindowMessageFilterEx}, + {"CharLowerA", 0, (syscall_t)CharLowerA}, + {"CharLowerBuffA", 0, (syscall_t)CharLowerBuffA}, + {"CharNextA", 0, (syscall_t)CharNextA}, + {"CharNextExA", 0, (syscall_t)CharNextExA}, + {"CharPrevA", 0, (syscall_t)CharPrevA}, + {"CharPrevExA", 0, (syscall_t)CharPrevExA}, + {"CharToOemA", 0, (syscall_t)CharToOemA}, + {"CharToOemBuffA", 0, (syscall_t)CharToOemBuffA}, + {"CharUpperA", 0, (syscall_t)CharUpperA}, + {"CharUpperBuffA", 0, (syscall_t)CharUpperBuffA}, + {"CheckColorsInGamut", 0, (syscall_t)CheckColorsInGamut}, + {"CheckDlgButton", 0, (syscall_t)CheckDlgButton}, + {"CheckForHiberboot", 0, (syscall_t)CheckForHiberboot}, + {"CheckMenuItem", 0, (syscall_t)CheckMenuItem}, + {"CheckMenuRadioItem", 0, (syscall_t)CheckMenuRadioItem}, + {"CheckNameLegalDOS8Dot3A", 0, (syscall_t)CheckNameLegalDOS8Dot3A}, + {"CheckRadioButton", 0, (syscall_t)CheckRadioButton}, + {"CheckRemoteDebuggerPresent", 0, (syscall_t)CheckRemoteDebuggerPresent}, + {"CheckTokenCapability", 0, (syscall_t)CheckTokenCapability}, + {"CheckTokenMembership", 0, (syscall_t)CheckTokenMembership}, + {"CheckTokenMembershipEx", 0, (syscall_t)CheckTokenMembershipEx}, + {"ChildWindowFromPoint", 0, (syscall_t)ChildWindowFromPoint}, + {"ChildWindowFromPointEx", 0, (syscall_t)ChildWindowFromPointEx}, + {"ChooseColorA", 0, (syscall_t)ChooseColorA}, + {"ChooseFontA", 0, (syscall_t)ChooseFontA}, + {"ChoosePixelFormat", 0, (syscall_t)ChoosePixelFormat}, + {"Chord", 0, (syscall_t)Chord}, + {"ClearCommBreak", 0, (syscall_t)ClearCommBreak}, + {"ClearCommError", 0, (syscall_t)ClearCommError}, + {"ClearEventLogA", 0, (syscall_t)ClearEventLogA}, + {"ClientToScreen", 0, (syscall_t)ClientToScreen}, + {"ClipCursor", 0, (syscall_t)ClipCursor}, + {"CloseClipboard", 0, (syscall_t)CloseClipboard}, + {"CloseDesktop", 0, (syscall_t)CloseDesktop}, + {"CloseDriver", 0, (syscall_t)CloseDriver}, + {"CloseEncryptedFileRaw", 0, (syscall_t)CloseEncryptedFileRaw}, + {"CloseEnhMetaFile", 0, (syscall_t)CloseEnhMetaFile}, + {"CloseEventLog", 0, (syscall_t)CloseEventLog}, + {"CloseFigure", 0, (syscall_t)CloseFigure}, + {"CloseGestureInfoHandle", 0, (syscall_t)CloseGestureInfoHandle}, + {"CloseHandle", 0, (syscall_t)CloseHandle}, + {"CloseMetaFile", 0, (syscall_t)CloseMetaFile}, + {"ClosePrinter", 0, (syscall_t)ClosePrinter}, + {"ClosePrivateNamespace", 0, (syscall_t)ClosePrivateNamespace}, + {"CloseServiceHandle", 0, (syscall_t)CloseServiceHandle}, + {"CloseSpoolFileHandle", 0, (syscall_t)CloseSpoolFileHandle}, + {"CloseThreadpool", 0, (syscall_t)CloseThreadpool}, + {"CloseThreadpoolCleanupGroup", 0, (syscall_t)CloseThreadpoolCleanupGroup}, + {"CloseThreadpoolCleanupGroupMembers", 0, (syscall_t)CloseThreadpoolCleanupGroupMembers}, + {"CloseThreadpoolIo", 0, (syscall_t)CloseThreadpoolIo}, + {"CloseThreadpoolTimer", 0, (syscall_t)CloseThreadpoolTimer}, + {"CloseThreadpoolWait", 0, (syscall_t)CloseThreadpoolWait}, + {"CloseThreadpoolWork", 0, (syscall_t)CloseThreadpoolWork}, + {"CloseTouchInputHandle", 0, (syscall_t)CloseTouchInputHandle}, + {"CloseWindow", 0, (syscall_t)CloseWindow}, + {"CloseWindowStation", 0, (syscall_t)CloseWindowStation}, + {"ColorCorrectPalette", 0, (syscall_t)ColorCorrectPalette}, + {"ColorMatchToTarget", 0, (syscall_t)ColorMatchToTarget}, + {"CombineRgn", 0, (syscall_t)CombineRgn}, + {"CombineTransform", 0, (syscall_t)CombineTransform}, + {"CommConfigDialogA", 0, (syscall_t)CommConfigDialogA}, + {"CommDlgExtendedError", 0, (syscall_t)CommDlgExtendedError}, + {"CommitSpoolData", 0, (syscall_t)CommitSpoolData}, + {"CompareFileTime", 0, (syscall_t)CompareFileTime}, + {"CompareObjectHandles", 0, (syscall_t)CompareObjectHandles}, + {"CompareStringA", 0, (syscall_t)CompareStringA}, + {"CompareStringEx", 0, (syscall_t)CompareStringEx}, + {"CompareStringOrdinal", 0, (syscall_t)CompareStringOrdinal}, + {"ConfigurePortA", 0, (syscall_t)ConfigurePortA}, + {"ConnectNamedPipe", 0, (syscall_t)ConnectNamedPipe}, + {"ConnectToPrinterDlg", 0, (syscall_t)ConnectToPrinterDlg}, + {"ContinueDebugEvent", 0, (syscall_t)ContinueDebugEvent}, + {"ControlService", 0, (syscall_t)ControlService}, + {"ControlServiceExA", 0, (syscall_t)ControlServiceExA}, + {"ConvertDefaultLocale", 0, (syscall_t)ConvertDefaultLocale}, + {"ConvertFiberToThread", 0, (syscall_t)ConvertFiberToThread}, + {"ConvertThreadToFiber", 0, (syscall_t)ConvertThreadToFiber}, + {"ConvertThreadToFiberEx", 0, (syscall_t)ConvertThreadToFiberEx}, + {"ConvertToAutoInheritPrivateObjectSecurity", 0, (syscall_t)ConvertToAutoInheritPrivateObjectSecurity}, + {"CopyAcceleratorTableA", 0, (syscall_t)CopyAcceleratorTableA}, + {"CopyContext", 0, (syscall_t)CopyContext}, + {"CopyEnhMetaFileA", 0, (syscall_t)CopyEnhMetaFileA}, + {"CopyFile2", 0, (syscall_t)CopyFile2}, + {"CopyFileA", 0, (syscall_t)CopyFileA}, + {"CopyFileExA", 0, (syscall_t)CopyFileExA}, + {"CopyFileTransactedA", 0, (syscall_t)CopyFileTransactedA}, + {"CopyIcon", 0, (syscall_t)CopyIcon}, + {"CopyImage", 0, (syscall_t)CopyImage}, + {"CopyLZFile", 0, (syscall_t)CopyLZFile}, + {"CopyMetaFileA", 0, (syscall_t)CopyMetaFileA}, + {"CopyRect", 0, (syscall_t)CopyRect}, + {"CopySid", 0, (syscall_t)CopySid}, + {"CorePrinterDriverInstalledA", 0, (syscall_t)CorePrinterDriverInstalledA}, + {"CountClipboardFormats", 0, (syscall_t)CountClipboardFormats}, + {"CreateAcceleratorTableA", 0, (syscall_t)CreateAcceleratorTableA}, + {"CreateActCtxA", 0, (syscall_t)CreateActCtxA}, + {"CreateBitmap", 0, (syscall_t)CreateBitmap}, + {"CreateBitmapIndirect", 0, (syscall_t)CreateBitmapIndirect}, + {"CreateBoundaryDescriptorA", 0, (syscall_t)CreateBoundaryDescriptorA}, + {"CreateBrushIndirect", 0, (syscall_t)CreateBrushIndirect}, + {"CreateCaret", 0, (syscall_t)CreateCaret}, + {"CreateColorSpaceA", 0, (syscall_t)CreateColorSpaceA}, + {"CreateCompatibleBitmap", 0, (syscall_t)CreateCompatibleBitmap}, + {"CreateCompatibleDC", 0, (syscall_t)CreateCompatibleDC}, + {"CreateConsoleScreenBuffer", 0, (syscall_t)CreateConsoleScreenBuffer}, + {"CreateCursor", 0, (syscall_t)CreateCursor}, + {"CreateDCA", 0, (syscall_t)CreateDCA}, + {"CreateDIBPatternBrush", 0, (syscall_t)CreateDIBPatternBrush}, + {"CreateDIBPatternBrushPt", 0, (syscall_t)CreateDIBPatternBrushPt}, + {"CreateDIBSection", 0, (syscall_t)CreateDIBSection}, + {"CreateDIBitmap", 0, (syscall_t)CreateDIBitmap}, + {"CreateDesktopA", 0, (syscall_t)CreateDesktopA}, + {"CreateDesktopExA", 0, (syscall_t)CreateDesktopExA}, + {"CreateDialogIndirectParamA", 0, (syscall_t)CreateDialogIndirectParamA}, + {"CreateDialogParamA", 0, (syscall_t)CreateDialogParamA}, + {"CreateDirectoryA", 0, (syscall_t)CreateDirectoryA}, + {"CreateDirectoryExA", 0, (syscall_t)CreateDirectoryExA}, + {"CreateDirectoryTransactedA", 0, (syscall_t)CreateDirectoryTransactedA}, + {"CreateDiscardableBitmap", 0, (syscall_t)CreateDiscardableBitmap}, + {"CreateEllipticRgn", 0, (syscall_t)CreateEllipticRgn}, + {"CreateEllipticRgnIndirect", 0, (syscall_t)CreateEllipticRgnIndirect}, + {"CreateEnclave", 0, (syscall_t)CreateEnclave}, + {"CreateEnhMetaFileA", 0, (syscall_t)CreateEnhMetaFileA}, + {"CreateEventA", 0, (syscall_t)CreateEventA}, + {"CreateEventExA", 0, (syscall_t)CreateEventExA}, + {"CreateFiber", 0, (syscall_t)CreateFiber}, + {"CreateFiberEx", 0, (syscall_t)CreateFiberEx}, + {"CreateFile2", 0, (syscall_t)CreateFile2}, + {"CreateFileA", 0, (syscall_t)CreateFileA}, + {"CreateFileMappingA", 0, (syscall_t)CreateFileMappingA}, + {"CreateFileMappingFromApp", 0, (syscall_t)CreateFileMappingFromApp}, + {"CreateFileMappingNumaA", 0, (syscall_t)CreateFileMappingNumaA}, + {"CreateFileTransactedA", 0, (syscall_t)CreateFileTransactedA}, + {"CreateFontA", 0, (syscall_t)CreateFontA}, + {"CreateFontIndirectA", 0, (syscall_t)CreateFontIndirectA}, + {"CreateFontIndirectExA", 0, (syscall_t)CreateFontIndirectExA}, + {"CreateHalftonePalette", 0, (syscall_t)CreateHalftonePalette}, + {"CreateHardLinkA", 0, (syscall_t)CreateHardLinkA}, + {"CreateHardLinkTransactedA", 0, (syscall_t)CreateHardLinkTransactedA}, + {"CreateHatchBrush", 0, (syscall_t)CreateHatchBrush}, + {"CreateICA", 0, (syscall_t)CreateICA}, + {"CreateILockBytesOnHGlobal", 0, (syscall_t)CreateILockBytesOnHGlobal}, + {"CreateIcon", 0, (syscall_t)CreateIcon}, + {"CreateIconFromResource", 0, (syscall_t)CreateIconFromResource}, + {"CreateIconFromResourceEx", 0, (syscall_t)CreateIconFromResourceEx}, + {"CreateIconIndirect", 0, (syscall_t)CreateIconIndirect}, + {"CreateIoCompletionPort", 0, (syscall_t)CreateIoCompletionPort}, + {"CreateJobObjectA", 0, (syscall_t)CreateJobObjectA}, + {"CreateJobSet", 0, (syscall_t)CreateJobSet}, + {"CreateMDIWindowA", 0, (syscall_t)CreateMDIWindowA}, + {"CreateMailslotA", 0, (syscall_t)CreateMailslotA}, + {"CreateMemoryResourceNotification", 0, (syscall_t)CreateMemoryResourceNotification}, + {"CreateMenu", 0, (syscall_t)CreateMenu}, + {"CreateMetaFileA", 0, (syscall_t)CreateMetaFileA}, + {"CreateMutexA", 0, (syscall_t)CreateMutexA}, + {"CreateMutexExA", 0, (syscall_t)CreateMutexExA}, + {"CreateNamedPipeA", 0, (syscall_t)CreateNamedPipeA}, + {"CreatePalette", 0, (syscall_t)CreatePalette}, + {"CreatePatternBrush", 0, (syscall_t)CreatePatternBrush}, + {"CreatePen", 0, (syscall_t)CreatePen}, + {"CreatePenIndirect", 0, (syscall_t)CreatePenIndirect}, + {"CreatePipe", 0, (syscall_t)CreatePipe}, + {"CreatePolyPolygonRgn", 0, (syscall_t)CreatePolyPolygonRgn}, + {"CreatePolygonRgn", 0, (syscall_t)CreatePolygonRgn}, + {"CreatePopupMenu", 0, (syscall_t)CreatePopupMenu}, + {"CreatePrivateNamespaceA", 0, (syscall_t)CreatePrivateNamespaceA}, + {"CreatePrivateObjectSecurity", 0, (syscall_t)CreatePrivateObjectSecurity}, + {"CreatePrivateObjectSecurityEx", 0, (syscall_t)CreatePrivateObjectSecurityEx}, + {"CreatePrivateObjectSecurityWithMultipleInheritance", 0, (syscall_t)CreatePrivateObjectSecurityWithMultipleInheritance}, + {"CreateProcessA", 0, (syscall_t)CreateProcessA}, + {"CreateProcessAsUserA", 0, (syscall_t)CreateProcessAsUserA}, + {"CreateRectRgn", 0, (syscall_t)CreateRectRgn}, + {"CreateRectRgnIndirect", 0, (syscall_t)CreateRectRgnIndirect}, + {"CreateRemoteThread", 0, (syscall_t)CreateRemoteThread}, + {"CreateRemoteThreadEx", 0, (syscall_t)CreateRemoteThreadEx}, + {"CreateRestrictedToken", 0, (syscall_t)CreateRestrictedToken}, + {"CreateRoundRectRgn", 0, (syscall_t)CreateRoundRectRgn}, + {"CreateScalableFontResourceA", 0, (syscall_t)CreateScalableFontResourceA}, + {"CreateSemaphoreA", 0, (syscall_t)CreateSemaphoreA}, + {"CreateSemaphoreExA", 0, (syscall_t)CreateSemaphoreExA}, + {"CreateServiceA", 0, (syscall_t)CreateServiceA}, + {"CreateSolidBrush", 0, (syscall_t)CreateSolidBrush}, + {"CreateSymbolicLinkA", 0, (syscall_t)CreateSymbolicLinkA}, + {"CreateSymbolicLinkTransactedA", 0, (syscall_t)CreateSymbolicLinkTransactedA}, + {"CreateTapePartition", 0, (syscall_t)CreateTapePartition}, + {"CreateThread", 0, (syscall_t)CreateThread}, + {"CreateThreadpool", 0, (syscall_t)CreateThreadpool}, + {"CreateThreadpoolCleanupGroup", 0, (syscall_t)CreateThreadpoolCleanupGroup}, + {"CreateThreadpoolIo", 0, (syscall_t)CreateThreadpoolIo}, + {"CreateThreadpoolTimer", 0, (syscall_t)CreateThreadpoolTimer}, + {"CreateThreadpoolWait", 0, (syscall_t)CreateThreadpoolWait}, + {"CreateThreadpoolWork", 0, (syscall_t)CreateThreadpoolWork}, + {"CreateTimerQueue", 0, (syscall_t)CreateTimerQueue}, + {"CreateTimerQueueTimer", 0, (syscall_t)CreateTimerQueueTimer}, + {"CreateUmsCompletionList", 0, (syscall_t)CreateUmsCompletionList}, + {"CreateUmsThreadContext", 0, (syscall_t)CreateUmsThreadContext}, + {"CreateWaitableTimerA", 0, (syscall_t)CreateWaitableTimerA}, + {"CreateWaitableTimerExA", 0, (syscall_t)CreateWaitableTimerExA}, + {"CreateWellKnownSid", 0, (syscall_t)CreateWellKnownSid}, + {"CreateWindowExA", 0, (syscall_t)CreateWindowExA}, + {"CreateWindowStationA", 0, (syscall_t)CreateWindowStationA}, + {"CryptAcquireCertificatePrivateKey", 0, (syscall_t)CryptAcquireCertificatePrivateKey}, + {"CryptAcquireContextA", 0, (syscall_t)CryptAcquireContextA}, + {"CryptBinaryToStringA", 0, (syscall_t)CryptBinaryToStringA}, + {"CryptCloseAsyncHandle", 0, (syscall_t)CryptCloseAsyncHandle}, + {"CryptContextAddRef", 0, (syscall_t)CryptContextAddRef}, + {"CryptCreateAsyncHandle", 0, (syscall_t)CryptCreateAsyncHandle}, + {"CryptCreateHash", 0, (syscall_t)CryptCreateHash}, + {"CryptCreateKeyIdentifierFromCSP", 0, (syscall_t)CryptCreateKeyIdentifierFromCSP}, + {"CryptDecodeMessage", 0, (syscall_t)CryptDecodeMessage}, + {"CryptDecodeObject", 0, (syscall_t)CryptDecodeObject}, + {"CryptDecodeObjectEx", 0, (syscall_t)CryptDecodeObjectEx}, + {"CryptDecrypt", 0, (syscall_t)CryptDecrypt}, + {"CryptDecryptAndVerifyMessageSignature", 0, (syscall_t)CryptDecryptAndVerifyMessageSignature}, + {"CryptDecryptMessage", 0, (syscall_t)CryptDecryptMessage}, + {"CryptDeriveKey", 0, (syscall_t)CryptDeriveKey}, + {"CryptDestroyHash", 0, (syscall_t)CryptDestroyHash}, + {"CryptDestroyKey", 0, (syscall_t)CryptDestroyKey}, + {"CryptDuplicateHash", 0, (syscall_t)CryptDuplicateHash}, + {"CryptDuplicateKey", 0, (syscall_t)CryptDuplicateKey}, + {"CryptEncodeObject", 0, (syscall_t)CryptEncodeObject}, + {"CryptEncodeObjectEx", 0, (syscall_t)CryptEncodeObjectEx}, + {"CryptEncrypt", 0, (syscall_t)CryptEncrypt}, + {"CryptEncryptMessage", 0, (syscall_t)CryptEncryptMessage}, + {"CryptEnumKeyIdentifierProperties", 0, (syscall_t)CryptEnumKeyIdentifierProperties}, + {"CryptEnumOIDFunction", 0, (syscall_t)CryptEnumOIDFunction}, + {"CryptEnumOIDInfo", 0, (syscall_t)CryptEnumOIDInfo}, + {"CryptEnumProviderTypesA", 0, (syscall_t)CryptEnumProviderTypesA}, + {"CryptEnumProvidersA", 0, (syscall_t)CryptEnumProvidersA}, + {"CryptExportKey", 0, (syscall_t)CryptExportKey}, + {"CryptExportPKCS8", 0, (syscall_t)CryptExportPKCS8}, + {"CryptExportPublicKeyInfo", 0, (syscall_t)CryptExportPublicKeyInfo}, + {"CryptExportPublicKeyInfoEx", 0, (syscall_t)CryptExportPublicKeyInfoEx}, + {"CryptExportPublicKeyInfoFromBCryptKeyHandle", 0, (syscall_t)CryptExportPublicKeyInfoFromBCryptKeyHandle}, + {"CryptFindCertificateKeyProvInfo", 0, (syscall_t)CryptFindCertificateKeyProvInfo}, + {"CryptFindLocalizedName", 0, (syscall_t)CryptFindLocalizedName}, + {"CryptFindOIDInfo", 0, (syscall_t)CryptFindOIDInfo}, + {"CryptFormatObject", 0, (syscall_t)CryptFormatObject}, + {"CryptFreeOIDFunctionAddress", 0, (syscall_t)CryptFreeOIDFunctionAddress}, + {"CryptGenKey", 0, (syscall_t)CryptGenKey}, + {"CryptGenRandom", 0, (syscall_t)CryptGenRandom}, + {"CryptGetAsyncParam", 0, (syscall_t)CryptGetAsyncParam}, + {"CryptGetDefaultOIDDllList", 0, (syscall_t)CryptGetDefaultOIDDllList}, + {"CryptGetDefaultOIDFunctionAddress", 0, (syscall_t)CryptGetDefaultOIDFunctionAddress}, + {"CryptGetDefaultProviderA", 0, (syscall_t)CryptGetDefaultProviderA}, + {"CryptGetHashParam", 0, (syscall_t)CryptGetHashParam}, + {"CryptGetKeyIdentifierProperty", 0, (syscall_t)CryptGetKeyIdentifierProperty}, + {"CryptGetKeyParam", 0, (syscall_t)CryptGetKeyParam}, + {"CryptGetMessageCertificates", 0, (syscall_t)CryptGetMessageCertificates}, + {"CryptGetMessageSignerCount", 0, (syscall_t)CryptGetMessageSignerCount}, + {"CryptGetOIDFunctionAddress", 0, (syscall_t)CryptGetOIDFunctionAddress}, + {"CryptGetOIDFunctionValue", 0, (syscall_t)CryptGetOIDFunctionValue}, + {"CryptGetObjectUrl", 0, (syscall_t)CryptGetObjectUrl}, + {"CryptGetProvParam", 0, (syscall_t)CryptGetProvParam}, + {"CryptGetUserKey", 0, (syscall_t)CryptGetUserKey}, + {"CryptHashCertificate", 0, (syscall_t)CryptHashCertificate}, + {"CryptHashCertificate2", 0, (syscall_t)CryptHashCertificate2}, + {"CryptHashData", 0, (syscall_t)CryptHashData}, + {"CryptHashMessage", 0, (syscall_t)CryptHashMessage}, + {"CryptHashPublicKeyInfo", 0, (syscall_t)CryptHashPublicKeyInfo}, + {"CryptHashSessionKey", 0, (syscall_t)CryptHashSessionKey}, + {"CryptHashToBeSigned", 0, (syscall_t)CryptHashToBeSigned}, + {"CryptImportKey", 0, (syscall_t)CryptImportKey}, + {"CryptImportPKCS8", 0, (syscall_t)CryptImportPKCS8}, + {"CryptImportPublicKeyInfo", 0, (syscall_t)CryptImportPublicKeyInfo}, + {"CryptImportPublicKeyInfoEx", 0, (syscall_t)CryptImportPublicKeyInfoEx}, + {"CryptImportPublicKeyInfoEx2", 0, (syscall_t)CryptImportPublicKeyInfoEx2}, + {"CryptInitOIDFunctionSet", 0, (syscall_t)CryptInitOIDFunctionSet}, + {"CryptInstallCancelRetrieval", 0, (syscall_t)CryptInstallCancelRetrieval}, + {"CryptInstallDefaultContext", 0, (syscall_t)CryptInstallDefaultContext}, + {"CryptInstallOIDFunctionAddress", 0, (syscall_t)CryptInstallOIDFunctionAddress}, + {"CryptMemAlloc", 0, (syscall_t)CryptMemAlloc}, + {"CryptMemFree", 0, (syscall_t)CryptMemFree}, + {"CryptMemRealloc", 0, (syscall_t)CryptMemRealloc}, + {"CryptMsgCalculateEncodedLength", 0, (syscall_t)CryptMsgCalculateEncodedLength}, + {"CryptMsgClose", 0, (syscall_t)CryptMsgClose}, + {"CryptMsgControl", 0, (syscall_t)CryptMsgControl}, + {"CryptMsgCountersign", 0, (syscall_t)CryptMsgCountersign}, + {"CryptMsgCountersignEncoded", 0, (syscall_t)CryptMsgCountersignEncoded}, + {"CryptMsgDuplicate", 0, (syscall_t)CryptMsgDuplicate}, + {"CryptMsgEncodeAndSignCTL", 0, (syscall_t)CryptMsgEncodeAndSignCTL}, + {"CryptMsgGetAndVerifySigner", 0, (syscall_t)CryptMsgGetAndVerifySigner}, + {"CryptMsgGetParam", 0, (syscall_t)CryptMsgGetParam}, + {"CryptMsgOpenToDecode", 0, (syscall_t)CryptMsgOpenToDecode}, + {"CryptMsgOpenToEncode", 0, (syscall_t)CryptMsgOpenToEncode}, + {"CryptMsgSignCTL", 0, (syscall_t)CryptMsgSignCTL}, + {"CryptMsgUpdate", 0, (syscall_t)CryptMsgUpdate}, + {"CryptMsgVerifyCountersignatureEncoded", 0, (syscall_t)CryptMsgVerifyCountersignatureEncoded}, + {"CryptMsgVerifyCountersignatureEncodedEx", 0, (syscall_t)CryptMsgVerifyCountersignatureEncodedEx}, + {"CryptProtectData", 0, (syscall_t)CryptProtectData}, + {"CryptProtectMemory", 0, (syscall_t)CryptProtectMemory}, + {"CryptQueryObject", 0, (syscall_t)CryptQueryObject}, + {"CryptRegisterDefaultOIDFunction", 0, (syscall_t)CryptRegisterDefaultOIDFunction}, + {"CryptRegisterOIDFunction", 0, (syscall_t)CryptRegisterOIDFunction}, + {"CryptRegisterOIDInfo", 0, (syscall_t)CryptRegisterOIDInfo}, + {"CryptReleaseContext", 0, (syscall_t)CryptReleaseContext}, + {"CryptRetrieveObjectByUrlA", 0, (syscall_t)CryptRetrieveObjectByUrlA}, + {"CryptRetrieveTimeStamp", 0, (syscall_t)CryptRetrieveTimeStamp}, + {"CryptSetAsyncParam", 0, (syscall_t)CryptSetAsyncParam}, + {"CryptSetHashParam", 0, (syscall_t)CryptSetHashParam}, + {"CryptSetKeyIdentifierProperty", 0, (syscall_t)CryptSetKeyIdentifierProperty}, + {"CryptSetKeyParam", 0, (syscall_t)CryptSetKeyParam}, + {"CryptSetOIDFunctionValue", 0, (syscall_t)CryptSetOIDFunctionValue}, + {"CryptSetProvParam", 0, (syscall_t)CryptSetProvParam}, + {"CryptSetProviderA", 0, (syscall_t)CryptSetProviderA}, + {"CryptSetProviderExA", 0, (syscall_t)CryptSetProviderExA}, + {"CryptSignAndEncodeCertificate", 0, (syscall_t)CryptSignAndEncodeCertificate}, + {"CryptSignAndEncryptMessage", 0, (syscall_t)CryptSignAndEncryptMessage}, + {"CryptSignCertificate", 0, (syscall_t)CryptSignCertificate}, + {"CryptSignHashA", 0, (syscall_t)CryptSignHashA}, + {"CryptSignMessage", 0, (syscall_t)CryptSignMessage}, + {"CryptSignMessageWithKey", 0, (syscall_t)CryptSignMessageWithKey}, + {"CryptStringToBinaryA", 0, (syscall_t)CryptStringToBinaryA}, + {"CryptUninstallCancelRetrieval", 0, (syscall_t)CryptUninstallCancelRetrieval}, + {"CryptUninstallDefaultContext", 0, (syscall_t)CryptUninstallDefaultContext}, + {"CryptUnprotectData", 0, (syscall_t)CryptUnprotectData}, + {"CryptUnprotectMemory", 0, (syscall_t)CryptUnprotectMemory}, + {"CryptUnregisterDefaultOIDFunction", 0, (syscall_t)CryptUnregisterDefaultOIDFunction}, + {"CryptUnregisterOIDFunction", 0, (syscall_t)CryptUnregisterOIDFunction}, + {"CryptUnregisterOIDInfo", 0, (syscall_t)CryptUnregisterOIDInfo}, + {"CryptUpdateProtectedState", 0, (syscall_t)CryptUpdateProtectedState}, + {"CryptVerifyCertificateSignature", 0, (syscall_t)CryptVerifyCertificateSignature}, + {"CryptVerifyCertificateSignatureEx", 0, (syscall_t)CryptVerifyCertificateSignatureEx}, + {"CryptVerifyDetachedMessageHash", 0, (syscall_t)CryptVerifyDetachedMessageHash}, + {"CryptVerifyDetachedMessageSignature", 0, (syscall_t)CryptVerifyDetachedMessageSignature}, + {"CryptVerifyMessageHash", 0, (syscall_t)CryptVerifyMessageHash}, + {"CryptVerifyMessageSignature", 0, (syscall_t)CryptVerifyMessageSignature}, + {"CryptVerifyMessageSignatureWithKey", 0, (syscall_t)CryptVerifyMessageSignatureWithKey}, + {"CryptVerifySignatureA", 0, (syscall_t)CryptVerifySignatureA}, + {"CryptVerifyTimeStampSignature", 0, (syscall_t)CryptVerifyTimeStampSignature}, + {"CveEventWrite", 0, (syscall_t)CveEventWrite}, + {"DPtoLP", 0, (syscall_t)DPtoLP}, + {"DceErrorInqTextA", 0, (syscall_t)DceErrorInqTextA}, + {"DdeAbandonTransaction", 0, (syscall_t)DdeAbandonTransaction}, + {"DdeAccessData", 0, (syscall_t)DdeAccessData}, + {"DdeAddData", 0, (syscall_t)DdeAddData}, + {"DdeClientTransaction", 0, (syscall_t)DdeClientTransaction}, + {"DdeCmpStringHandles", 0, (syscall_t)DdeCmpStringHandles}, + {"DdeConnect", 0, (syscall_t)DdeConnect}, + {"DdeConnectList", 0, (syscall_t)DdeConnectList}, + {"DdeCreateDataHandle", 0, (syscall_t)DdeCreateDataHandle}, + {"DdeCreateStringHandleA", 0, (syscall_t)DdeCreateStringHandleA}, + {"DdeDisconnect", 0, (syscall_t)DdeDisconnect}, + {"DdeDisconnectList", 0, (syscall_t)DdeDisconnectList}, + {"DdeEnableCallback", 0, (syscall_t)DdeEnableCallback}, + {"DdeFreeDataHandle", 0, (syscall_t)DdeFreeDataHandle}, + {"DdeFreeStringHandle", 0, (syscall_t)DdeFreeStringHandle}, + {"DdeGetData", 0, (syscall_t)DdeGetData}, + {"DdeGetLastError", 0, (syscall_t)DdeGetLastError}, + {"DdeImpersonateClient", 0, (syscall_t)DdeImpersonateClient}, + {"DdeInitializeA", 0, (syscall_t)DdeInitializeA}, + {"DdeKeepStringHandle", 0, (syscall_t)DdeKeepStringHandle}, + {"DdeNameService", 0, (syscall_t)DdeNameService}, + {"DdePostAdvise", 0, (syscall_t)DdePostAdvise}, + {"DdeQueryConvInfo", 0, (syscall_t)DdeQueryConvInfo}, + {"DdeQueryNextServer", 0, (syscall_t)DdeQueryNextServer}, + {"DdeQueryStringA", 0, (syscall_t)DdeQueryStringA}, + {"DdeReconnect", 0, (syscall_t)DdeReconnect}, + {"DdeSetQualityOfService", 0, (syscall_t)DdeSetQualityOfService}, + {"DdeSetUserHandle", 0, (syscall_t)DdeSetUserHandle}, + {"DdeUnaccessData", 0, (syscall_t)DdeUnaccessData}, + {"DdeUninitialize", 0, (syscall_t)DdeUninitialize}, + {"DeactivateActCtx", 0, (syscall_t)DeactivateActCtx}, + {"DebugActiveProcess", 0, (syscall_t)DebugActiveProcess}, + {"DebugActiveProcessStop", 0, (syscall_t)DebugActiveProcessStop}, + {"DebugBreak", 0, (syscall_t)DebugBreak}, + {"DebugBreakProcess", 0, (syscall_t)DebugBreakProcess}, + {"DebugSetProcessKillOnExit", 0, (syscall_t)DebugSetProcessKillOnExit}, + {"DecryptFileA", 0, (syscall_t)DecryptFileA}, + {"DefDlgProcA", 0, (syscall_t)DefDlgProcA}, + {"DefDriverProc", 0, (syscall_t)DefDriverProc}, + {"DefFrameProcA", 0, (syscall_t)DefFrameProcA}, + {"DefMDIChildProcA", 0, (syscall_t)DefMDIChildProcA}, + {"DefRawInputProc", 0, (syscall_t)DefRawInputProc}, + {"DefWindowProcA", 0, (syscall_t)DefWindowProcA}, + {"DeferWindowPos", 0, (syscall_t)DeferWindowPos}, + {"DefineDosDeviceA", 0, (syscall_t)DefineDosDeviceA}, + {"DeleteAce", 0, (syscall_t)DeleteAce}, + {"DeleteAtom", 0, (syscall_t)DeleteAtom}, + {"DeleteBoundaryDescriptor", 0, (syscall_t)DeleteBoundaryDescriptor}, + {"DeleteColorSpace", 0, (syscall_t)DeleteColorSpace}, + {"DeleteCriticalSection", 0, (syscall_t)DeleteCriticalSection}, + {"DeleteDC", 0, (syscall_t)DeleteDC}, + {"DeleteEnhMetaFile", 0, (syscall_t)DeleteEnhMetaFile}, + {"DeleteFiber", 0, (syscall_t)DeleteFiber}, + {"DeleteFileA", 0, (syscall_t)DeleteFileA}, + {"DeleteFileTransactedA", 0, (syscall_t)DeleteFileTransactedA}, + {"DeleteFormA", 0, (syscall_t)DeleteFormA}, + {"DeleteJobNamedProperty", 0, (syscall_t)DeleteJobNamedProperty}, + {"DeleteMenu", 0, (syscall_t)DeleteMenu}, + {"DeleteMetaFile", 0, (syscall_t)DeleteMetaFile}, + {"DeleteMonitorA", 0, (syscall_t)DeleteMonitorA}, + {"DeleteObject", 0, (syscall_t)DeleteObject}, + {"DeletePortA", 0, (syscall_t)DeletePortA}, + {"DeletePrintProcessorA", 0, (syscall_t)DeletePrintProcessorA}, + {"DeletePrintProvidorA", 0, (syscall_t)DeletePrintProvidorA}, + {"DeletePrinter", 0, (syscall_t)DeletePrinter}, + {"DeletePrinterConnectionA", 0, (syscall_t)DeletePrinterConnectionA}, + {"DeletePrinterDataA", 0, (syscall_t)DeletePrinterDataA}, + {"DeletePrinterDataExA", 0, (syscall_t)DeletePrinterDataExA}, + {"DeletePrinterDriverA", 0, (syscall_t)DeletePrinterDriverA}, + {"DeletePrinterDriverExA", 0, (syscall_t)DeletePrinterDriverExA}, + {"DeletePrinterDriverPackageA", 0, (syscall_t)DeletePrinterDriverPackageA}, + {"DeletePrinterKeyA", 0, (syscall_t)DeletePrinterKeyA}, + {"DeleteProcThreadAttributeList", 0, (syscall_t)DeleteProcThreadAttributeList}, + {"DeleteService", 0, (syscall_t)DeleteService}, + {"DeleteSynchronizationBarrier", 0, (syscall_t)DeleteSynchronizationBarrier}, + {"DeleteTimerQueue", 0, (syscall_t)DeleteTimerQueue}, + {"DeleteTimerQueueEx", 0, (syscall_t)DeleteTimerQueueEx}, + {"DeleteTimerQueueTimer", 0, (syscall_t)DeleteTimerQueueTimer}, + {"DeleteUmsCompletionList", 0, (syscall_t)DeleteUmsCompletionList}, + {"DeleteUmsThreadContext", 0, (syscall_t)DeleteUmsThreadContext}, + {"DeleteVolumeMountPointA", 0, (syscall_t)DeleteVolumeMountPointA}, + {"DequeueUmsCompletionListItems", 0, (syscall_t)DequeueUmsCompletionListItems}, + {"DeregisterEventSource", 0, (syscall_t)DeregisterEventSource}, + {"DeregisterShellHookWindow", 0, (syscall_t)DeregisterShellHookWindow}, + {"DescribePixelFormat", 0, (syscall_t)DescribePixelFormat}, + {"DestroyAcceleratorTable", 0, (syscall_t)DestroyAcceleratorTable}, + {"DestroyCaret", 0, (syscall_t)DestroyCaret}, + {"DestroyCursor", 0, (syscall_t)DestroyCursor}, + {"DestroyIcon", 0, (syscall_t)DestroyIcon}, + {"DestroyMenu", 0, (syscall_t)DestroyMenu}, + {"DestroyPrivateObjectSecurity", 0, (syscall_t)DestroyPrivateObjectSecurity}, + {"DestroyWindow", 0, (syscall_t)DestroyWindow}, + {"DeviceCapabilitiesA", 0, (syscall_t)DeviceCapabilitiesA}, + {"DeviceIoControl", 0, (syscall_t)DeviceIoControl}, + {"DialogBoxIndirectParamA", 0, (syscall_t)DialogBoxIndirectParamA}, + {"DialogBoxParamA", 0, (syscall_t)DialogBoxParamA}, + {"DisableProcessWindowsGhosting", 0, (syscall_t)DisableProcessWindowsGhosting}, + {"DisableThreadLibraryCalls", 0, (syscall_t)DisableThreadLibraryCalls}, + {"DisableThreadProfiling", 0, (syscall_t)DisableThreadProfiling}, + {"DisassociateCurrentThreadFromCallback", 0, (syscall_t)DisassociateCurrentThreadFromCallback}, + {"DiscardVirtualMemory", 0, (syscall_t)DiscardVirtualMemory}, + {"DisconnectNamedPipe", 0, (syscall_t)DisconnectNamedPipe}, + {"DispatchMessageA", 0, (syscall_t)DispatchMessageA}, + {"DisplayConfigGetDeviceInfo", 0, (syscall_t)DisplayConfigGetDeviceInfo}, + {"DisplayConfigSetDeviceInfo", 0, (syscall_t)DisplayConfigSetDeviceInfo}, + {"DlgDirListA", 0, (syscall_t)DlgDirListA}, + {"DlgDirListComboBoxA", 0, (syscall_t)DlgDirListComboBoxA}, + {"DlgDirSelectComboBoxExA", 0, (syscall_t)DlgDirSelectComboBoxExA}, + {"DlgDirSelectExA", 0, (syscall_t)DlgDirSelectExA}, + {"DnsHostnameToComputerNameA", 0, (syscall_t)DnsHostnameToComputerNameA}, + {"DoEnvironmentSubstA", 0, (syscall_t)DoEnvironmentSubstA}, + {"DocumentPropertiesA", 0, (syscall_t)DocumentPropertiesA}, + {"DosDateTimeToFileTime", 0, (syscall_t)DosDateTimeToFileTime}, + {"DragAcceptFiles", 0, (syscall_t)DragAcceptFiles}, + {"DragDetect", 0, (syscall_t)DragDetect}, + {"DragFinish", 0, (syscall_t)DragFinish}, + {"DragObject", 0, (syscall_t)DragObject}, + {"DragQueryFileA", 0, (syscall_t)DragQueryFileA}, + {"DragQueryPoint", 0, (syscall_t)DragQueryPoint}, + {"DrawAnimatedRects", 0, (syscall_t)DrawAnimatedRects}, + {"DrawCaption", 0, (syscall_t)DrawCaption}, + {"DrawEdge", 0, (syscall_t)DrawEdge}, + {"DrawEscape", 0, (syscall_t)DrawEscape}, + {"DrawFocusRect", 0, (syscall_t)DrawFocusRect}, + {"DrawFrameControl", 0, (syscall_t)DrawFrameControl}, + {"DrawIcon", 0, (syscall_t)DrawIcon}, + {"DrawIconEx", 0, (syscall_t)DrawIconEx}, + {"DrawMenuBar", 0, (syscall_t)DrawMenuBar}, + {"DrawStateA", 0, (syscall_t)DrawStateA}, + {"DrawTextA", 0, (syscall_t)DrawTextA}, + {"DrawTextExA", 0, (syscall_t)DrawTextExA}, + {"DriverCallback", 0, (syscall_t)DriverCallback}, + {"DrvGetModuleHandle", 0, (syscall_t)DrvGetModuleHandle}, + {"DuplicateEncryptionInfoFile", 0, (syscall_t)DuplicateEncryptionInfoFile}, + {"DuplicateHandle", 0, (syscall_t)DuplicateHandle}, + {"DuplicateIcon", 0, (syscall_t)DuplicateIcon}, + {"DuplicateToken", 0, (syscall_t)DuplicateToken}, + {"DuplicateTokenEx", 0, (syscall_t)DuplicateTokenEx}, + {"Ellipse", 0, (syscall_t)Ellipse}, + {"EmptyClipboard", 0, (syscall_t)EmptyClipboard}, + {"EnableMenuItem", 0, (syscall_t)EnableMenuItem}, + {"EnableMouseInPointer", 0, (syscall_t)EnableMouseInPointer}, + {"EnableNonClientDpiScaling", 0, (syscall_t)EnableNonClientDpiScaling}, + {"EnableScrollBar", 0, (syscall_t)EnableScrollBar}, + {"EnableThreadProfiling", 0, (syscall_t)EnableThreadProfiling}, + {"EnableWindow", 0, (syscall_t)EnableWindow}, + {"EncryptFileA", 0, (syscall_t)EncryptFileA}, + {"EncryptionDisable", 0, (syscall_t)EncryptionDisable}, + {"EndDeferWindowPos", 0, (syscall_t)EndDeferWindowPos}, + {"EndDialog", 0, (syscall_t)EndDialog}, + {"EndDoc", 0, (syscall_t)EndDoc}, + {"EndDocPrinter", 0, (syscall_t)EndDocPrinter}, + {"EndMenu", 0, (syscall_t)EndMenu}, + {"EndPage", 0, (syscall_t)EndPage}, + {"EndPagePrinter", 0, (syscall_t)EndPagePrinter}, + {"EndPaint", 0, (syscall_t)EndPaint}, + {"EndPath", 0, (syscall_t)EndPath}, + {"EndUpdateResourceA", 0, (syscall_t)EndUpdateResourceA}, + {"EnterCriticalSection", 0, (syscall_t)EnterCriticalSection}, + {"EnterSynchronizationBarrier", 0, (syscall_t)EnterSynchronizationBarrier}, + {"EnterUmsSchedulingMode", 0, (syscall_t)EnterUmsSchedulingMode}, + {"EnumCalendarInfoA", 0, (syscall_t)EnumCalendarInfoA}, + {"EnumCalendarInfoExA", 0, (syscall_t)EnumCalendarInfoExA}, + {"EnumCalendarInfoExEx", 0, (syscall_t)EnumCalendarInfoExEx}, + {"EnumChildWindows", 0, (syscall_t)EnumChildWindows}, + {"EnumClipboardFormats", 0, (syscall_t)EnumClipboardFormats}, + {"EnumDateFormatsA", 0, (syscall_t)EnumDateFormatsA}, + {"EnumDateFormatsExA", 0, (syscall_t)EnumDateFormatsExA}, + {"EnumDateFormatsExEx", 0, (syscall_t)EnumDateFormatsExEx}, + {"EnumDependentServicesA", 0, (syscall_t)EnumDependentServicesA}, + {"EnumDesktopWindows", 0, (syscall_t)EnumDesktopWindows}, + {"EnumDesktopsA", 0, (syscall_t)EnumDesktopsA}, + {"EnumDisplayDevicesA", 0, (syscall_t)EnumDisplayDevicesA}, + {"EnumDisplayMonitors", 0, (syscall_t)EnumDisplayMonitors}, + {"EnumDisplaySettingsA", 0, (syscall_t)EnumDisplaySettingsA}, + {"EnumDisplaySettingsExA", 0, (syscall_t)EnumDisplaySettingsExA}, + {"EnumDynamicTimeZoneInformation", 0, (syscall_t)EnumDynamicTimeZoneInformation}, + {"EnumEnhMetaFile", 0, (syscall_t)EnumEnhMetaFile}, + {"EnumFontFamiliesA", 0, (syscall_t)EnumFontFamiliesA}, + {"EnumFontFamiliesExA", 0, (syscall_t)EnumFontFamiliesExA}, + {"EnumFontsA", 0, (syscall_t)EnumFontsA}, + {"EnumFormsA", 0, (syscall_t)EnumFormsA}, + {"EnumICMProfilesA", 0, (syscall_t)EnumICMProfilesA}, + {"EnumJobNamedProperties", 0, (syscall_t)EnumJobNamedProperties}, + {"EnumJobsA", 0, (syscall_t)EnumJobsA}, + {"EnumLanguageGroupLocalesA", 0, (syscall_t)EnumLanguageGroupLocalesA}, + {"EnumMetaFile", 0, (syscall_t)EnumMetaFile}, + {"EnumMonitorsA", 0, (syscall_t)EnumMonitorsA}, + {"EnumObjects", 0, (syscall_t)EnumObjects}, + {"EnumPortsA", 0, (syscall_t)EnumPortsA}, + {"EnumPrintProcessorDatatypesA", 0, (syscall_t)EnumPrintProcessorDatatypesA}, + {"EnumPrintProcessorsA", 0, (syscall_t)EnumPrintProcessorsA}, + {"EnumPrinterDataA", 0, (syscall_t)EnumPrinterDataA}, + {"EnumPrinterDataExA", 0, (syscall_t)EnumPrinterDataExA}, + {"EnumPrinterDriversA", 0, (syscall_t)EnumPrinterDriversA}, + {"EnumPrinterKeyA", 0, (syscall_t)EnumPrinterKeyA}, + {"EnumPrintersA", 0, (syscall_t)EnumPrintersA}, + {"EnumPropsA", 0, (syscall_t)EnumPropsA}, + {"EnumPropsExA", 0, (syscall_t)EnumPropsExA}, + {"EnumResourceLanguagesA", 0, (syscall_t)EnumResourceLanguagesA}, + {"EnumResourceLanguagesExA", 0, (syscall_t)EnumResourceLanguagesExA}, + {"EnumResourceNamesA", 0, (syscall_t)EnumResourceNamesA}, + {"EnumResourceNamesExA", 0, (syscall_t)EnumResourceNamesExA}, + {"EnumResourceTypesA", 0, (syscall_t)EnumResourceTypesA}, + {"EnumResourceTypesExA", 0, (syscall_t)EnumResourceTypesExA}, + {"EnumServicesStatusA", 0, (syscall_t)EnumServicesStatusA}, + {"EnumServicesStatusExA", 0, (syscall_t)EnumServicesStatusExA}, + {"EnumSystemCodePagesA", 0, (syscall_t)EnumSystemCodePagesA}, + {"EnumSystemFirmwareTables", 0, (syscall_t)EnumSystemFirmwareTables}, + {"EnumSystemGeoID", 0, (syscall_t)EnumSystemGeoID}, + {"EnumSystemLanguageGroupsA", 0, (syscall_t)EnumSystemLanguageGroupsA}, + {"EnumSystemLocalesA", 0, (syscall_t)EnumSystemLocalesA}, + {"EnumSystemLocalesEx", 0, (syscall_t)EnumSystemLocalesEx}, + {"EnumThreadWindows", 0, (syscall_t)EnumThreadWindows}, + {"EnumTimeFormatsA", 0, (syscall_t)EnumTimeFormatsA}, + {"EnumTimeFormatsEx", 0, (syscall_t)EnumTimeFormatsEx}, + {"EnumUILanguagesA", 0, (syscall_t)EnumUILanguagesA}, + {"EnumWindowStationsA", 0, (syscall_t)EnumWindowStationsA}, + {"EnumWindows", 0, (syscall_t)EnumWindows}, + {"EqualDomainSid", 0, (syscall_t)EqualDomainSid}, + {"EqualPrefixSid", 0, (syscall_t)EqualPrefixSid}, + {"EqualRect", 0, (syscall_t)EqualRect}, + {"EqualRgn", 0, (syscall_t)EqualRgn}, + {"EqualSid", 0, (syscall_t)EqualSid}, + {"EraseTape", 0, (syscall_t)EraseTape}, + {"Escape", 0, (syscall_t)Escape}, + {"EscapeCommFunction", 0, (syscall_t)EscapeCommFunction}, + {"EvaluateProximityToPolygon", 0, (syscall_t)EvaluateProximityToPolygon}, + {"EvaluateProximityToRect", 0, (syscall_t)EvaluateProximityToRect}, + {"ExcludeClipRect", 0, (syscall_t)ExcludeClipRect}, + {"ExcludeUpdateRgn", 0, (syscall_t)ExcludeUpdateRgn}, + {"ExecuteUmsThread", 0, (syscall_t)ExecuteUmsThread}, + {"ExitProcess", 0, (syscall_t)ExitProcess}, + {"ExitThread", 0, (syscall_t)ExitThread}, + {"ExpandEnvironmentStringsA", 0, (syscall_t)ExpandEnvironmentStringsA}, + {"ExtCreatePen", 0, (syscall_t)ExtCreatePen}, + {"ExtCreateRegion", 0, (syscall_t)ExtCreateRegion}, + {"ExtDeviceMode", 0, (syscall_t)ExtDeviceMode}, + {"ExtEscape", 0, (syscall_t)ExtEscape}, + {"ExtFloodFill", 0, (syscall_t)ExtFloodFill}, + {"ExtSelectClipRgn", 0, (syscall_t)ExtSelectClipRgn}, + {"ExtTextOutA", 0, (syscall_t)ExtTextOutA}, + {"ExtractAssociatedIconA", 0, (syscall_t)ExtractAssociatedIconA}, + {"ExtractAssociatedIconExA", 0, (syscall_t)ExtractAssociatedIconExA}, + {"ExtractIconA", 0, (syscall_t)ExtractIconA}, + {"ExtractIconExA", 0, (syscall_t)ExtractIconExA}, + {"FatalAppExitA", 0, (syscall_t)FatalAppExitA}, + {"FatalExit", 0, (syscall_t)FatalExit}, + {"FileEncryptionStatusA", 0, (syscall_t)FileEncryptionStatusA}, + {"FileTimeToDosDateTime", 0, (syscall_t)FileTimeToDosDateTime}, + {"FileTimeToLocalFileTime", 0, (syscall_t)FileTimeToLocalFileTime}, + {"FileTimeToSystemTime", 0, (syscall_t)FileTimeToSystemTime}, + {"FillConsoleOutputAttribute", 0, (syscall_t)FillConsoleOutputAttribute}, + {"FillConsoleOutputCharacterA", 0, (syscall_t)FillConsoleOutputCharacterA}, + {"FillPath", 0, (syscall_t)FillPath}, + {"FillRect", 0, (syscall_t)FillRect}, + {"FillRgn", 0, (syscall_t)FillRgn}, + {"FindActCtxSectionGuid", 0, (syscall_t)FindActCtxSectionGuid}, + {"FindActCtxSectionStringA", 0, (syscall_t)FindActCtxSectionStringA}, + {"FindAtomA", 0, (syscall_t)FindAtomA}, + {"FindClose", 0, (syscall_t)FindClose}, + {"FindCloseChangeNotification", 0, (syscall_t)FindCloseChangeNotification}, + {"FindClosePrinterChangeNotification", 0, (syscall_t)FindClosePrinterChangeNotification}, + {"FindExecutableA", 0, (syscall_t)FindExecutableA}, + {"FindFirstChangeNotificationA", 0, (syscall_t)FindFirstChangeNotificationA}, + {"FindFirstFileA", 0, (syscall_t)FindFirstFileA}, + {"FindFirstFileExA", 0, (syscall_t)FindFirstFileExA}, + {"FindFirstFileTransactedA", 0, (syscall_t)FindFirstFileTransactedA}, + {"FindFirstFreeAce", 0, (syscall_t)FindFirstFreeAce}, + {"FindFirstPrinterChangeNotification", 0, (syscall_t)FindFirstPrinterChangeNotification}, + {"FindFirstVolumeA", 0, (syscall_t)FindFirstVolumeA}, + {"FindFirstVolumeMountPointA", 0, (syscall_t)FindFirstVolumeMountPointA}, + {"FindNLSString", 0, (syscall_t)FindNLSString}, + {"FindNLSStringEx", 0, (syscall_t)FindNLSStringEx}, + {"FindNextChangeNotification", 0, (syscall_t)FindNextChangeNotification}, + {"FindNextFileA", 0, (syscall_t)FindNextFileA}, + {"FindNextPrinterChangeNotification", 0, (syscall_t)FindNextPrinterChangeNotification}, + {"FindNextVolumeA", 0, (syscall_t)FindNextVolumeA}, + {"FindNextVolumeMountPointA", 0, (syscall_t)FindNextVolumeMountPointA}, + {"FindResourceA", 0, (syscall_t)FindResourceA}, + {"FindResourceExA", 0, (syscall_t)FindResourceExA}, + {"FindStringOrdinal", 0, (syscall_t)FindStringOrdinal}, + {"FindTextA", 0, (syscall_t)FindTextA}, + {"FindVolumeClose", 0, (syscall_t)FindVolumeClose}, + {"FindVolumeMountPointClose", 0, (syscall_t)FindVolumeMountPointClose}, + {"FindWindowA", 0, (syscall_t)FindWindowA}, + {"FindWindowExA", 0, (syscall_t)FindWindowExA}, + {"FixBrushOrgEx", 0, (syscall_t)FixBrushOrgEx}, + {"FlashWindow", 0, (syscall_t)FlashWindow}, + {"FlashWindowEx", 0, (syscall_t)FlashWindowEx}, + {"FlattenPath", 0, (syscall_t)FlattenPath}, + {"FloodFill", 0, (syscall_t)FloodFill}, + {"FlsAlloc", 0, (syscall_t)FlsAlloc}, + {"FlsFree", 0, (syscall_t)FlsFree}, + {"FlsGetValue", 0, (syscall_t)FlsGetValue}, + {"FlsSetValue", 0, (syscall_t)FlsSetValue}, + {"FlushConsoleInputBuffer", 0, (syscall_t)FlushConsoleInputBuffer}, + {"FlushFileBuffers", 0, (syscall_t)FlushFileBuffers}, + {"FlushInstructionCache", 0, (syscall_t)FlushInstructionCache}, + {"FlushPrinter", 0, (syscall_t)FlushPrinter}, + {"FlushProcessWriteBuffers", 0, (syscall_t)FlushProcessWriteBuffers}, + {"FlushViewOfFile", 0, (syscall_t)FlushViewOfFile}, + {"FmtIdToPropStgName", 0, (syscall_t)FmtIdToPropStgName}, + {"FoldStringA", 0, (syscall_t)FoldStringA}, + {"FormatMessageA", 0, (syscall_t)FormatMessageA}, + {"FrameRect", 0, (syscall_t)FrameRect}, + {"FrameRgn", 0, (syscall_t)FrameRgn}, + {"FreeConsole", 0, (syscall_t)FreeConsole}, + {"FreeDDElParam", 0, (syscall_t)FreeDDElParam}, + {"FreeEncryptedFileMetadata", 0, (syscall_t)FreeEncryptedFileMetadata}, + {"FreeEncryptionCertificateHashList", 0, (syscall_t)FreeEncryptionCertificateHashList}, + {"FreeEnvironmentStringsA", 0, (syscall_t)FreeEnvironmentStringsA}, + {"FreeLibrary", 0, (syscall_t)FreeLibrary}, + {"FreeLibraryAndExitThread", 0, (syscall_t)FreeLibraryAndExitThread}, + {"FreeLibraryWhenCallbackReturns", 0, (syscall_t)FreeLibraryWhenCallbackReturns}, + {"FreeMemoryJobObject", 0, (syscall_t)FreeMemoryJobObject}, + {"FreePrintNamedPropertyArray", 0, (syscall_t)FreePrintNamedPropertyArray}, + {"FreePrintPropertyValue", 0, (syscall_t)FreePrintPropertyValue}, + {"FreePrinterNotifyInfo", 0, (syscall_t)FreePrinterNotifyInfo}, + {"FreeResource", 0, (syscall_t)FreeResource}, + {"FreeSid", 0, (syscall_t)FreeSid}, + {"FreeUserPhysicalPages", 0, (syscall_t)FreeUserPhysicalPages}, + {"GdiAlphaBlend", 0, (syscall_t)GdiAlphaBlend}, + {"GdiComment", 0, (syscall_t)GdiComment}, + {"GdiFlush", 0, (syscall_t)GdiFlush}, + {"GdiGetBatchLimit", 0, (syscall_t)GdiGetBatchLimit}, + {"GdiGradientFill", 0, (syscall_t)GdiGradientFill}, + {"GdiSetBatchLimit", 0, (syscall_t)GdiSetBatchLimit}, + {"GdiTransparentBlt", 0, (syscall_t)GdiTransparentBlt}, + {"GenerateConsoleCtrlEvent", 0, (syscall_t)GenerateConsoleCtrlEvent}, + {"GetACP", 0, (syscall_t)GetACP}, + {"GetAcceptExSockaddrs", 0, (syscall_t)GetAcceptExSockaddrs}, + {"GetAce", 0, (syscall_t)GetAce}, + {"GetAclInformation", 0, (syscall_t)GetAclInformation}, + {"GetActiveProcessorCount", 0, (syscall_t)GetActiveProcessorCount}, + {"GetActiveProcessorGroupCount", 0, (syscall_t)GetActiveProcessorGroupCount}, + {"GetActiveWindow", 0, (syscall_t)GetActiveWindow}, + {"GetAltTabInfoA", 0, (syscall_t)GetAltTabInfoA}, + {"GetAncestor", 0, (syscall_t)GetAncestor}, + {"GetAppContainerAce", 0, (syscall_t)GetAppContainerAce}, + {"GetAppContainerNamedObjectPath", 0, (syscall_t)GetAppContainerNamedObjectPath}, + {"GetApplicationRecoveryCallback", 0, (syscall_t)GetApplicationRecoveryCallback}, + {"GetApplicationRestartSettings", 0, (syscall_t)GetApplicationRestartSettings}, + {"GetArcDirection", 0, (syscall_t)GetArcDirection}, + {"GetAspectRatioFilterEx", 0, (syscall_t)GetAspectRatioFilterEx}, + {"GetAsyncKeyState", 0, (syscall_t)GetAsyncKeyState}, + {"GetAtomNameA", 0, (syscall_t)GetAtomNameA}, + {"GetAutoRotationState", 0, (syscall_t)GetAutoRotationState}, + {"GetAwarenessFromDpiAwarenessContext", 0, (syscall_t)GetAwarenessFromDpiAwarenessContext}, + {"GetBinaryTypeA", 0, (syscall_t)GetBinaryTypeA}, + {"GetBitmapBits", 0, (syscall_t)GetBitmapBits}, + {"GetBitmapDimensionEx", 0, (syscall_t)GetBitmapDimensionEx}, + {"GetBkColor", 0, (syscall_t)GetBkColor}, + {"GetBkMode", 0, (syscall_t)GetBkMode}, + {"GetBoundsRect", 0, (syscall_t)GetBoundsRect}, + {"GetBrushOrgEx", 0, (syscall_t)GetBrushOrgEx}, + {"GetCIMSSM", 0, (syscall_t)GetCIMSSM}, + {"GetCPInfo", 0, (syscall_t)GetCPInfo}, + {"GetCPInfoExA", 0, (syscall_t)GetCPInfoExA}, + {"GetCachedSigningLevel", 0, (syscall_t)GetCachedSigningLevel}, + {"GetCalendarInfoA", 0, (syscall_t)GetCalendarInfoA}, + {"GetCalendarInfoEx", 0, (syscall_t)GetCalendarInfoEx}, + {"GetCapture", 0, (syscall_t)GetCapture}, + {"GetCaretBlinkTime", 0, (syscall_t)GetCaretBlinkTime}, + {"GetCaretPos", 0, (syscall_t)GetCaretPos}, + {"GetCharABCWidthsA", 0, (syscall_t)GetCharABCWidthsA}, + {"GetCharABCWidthsFloatA", 0, (syscall_t)GetCharABCWidthsFloatA}, + {"GetCharABCWidthsI", 0, (syscall_t)GetCharABCWidthsI}, + {"GetCharWidth32A", 0, (syscall_t)GetCharWidth32A}, + {"GetCharWidthA", 0, (syscall_t)GetCharWidthA}, + {"GetCharWidthFloatA", 0, (syscall_t)GetCharWidthFloatA}, + {"GetCharWidthI", 0, (syscall_t)GetCharWidthI}, + {"GetCharacterPlacementA", 0, (syscall_t)GetCharacterPlacementA}, + {"GetClassInfoA", 0, (syscall_t)GetClassInfoA}, + {"GetClassInfoExA", 0, (syscall_t)GetClassInfoExA}, + {"GetClassLongA", 0, (syscall_t)GetClassLongA}, + {"GetClassLongPtrA", 0, (syscall_t)GetClassLongPtrA}, + {"GetClassNameA", 0, (syscall_t)GetClassNameA}, + {"GetClassWord", 0, (syscall_t)GetClassWord}, + {"GetClientRect", 0, (syscall_t)GetClientRect}, + {"GetClipBox", 0, (syscall_t)GetClipBox}, + {"GetClipCursor", 0, (syscall_t)GetClipCursor}, + {"GetClipRgn", 0, (syscall_t)GetClipRgn}, + {"GetClipboardData", 0, (syscall_t)GetClipboardData}, + {"GetClipboardFormatNameA", 0, (syscall_t)GetClipboardFormatNameA}, + {"GetClipboardOwner", 0, (syscall_t)GetClipboardOwner}, + {"GetClipboardSequenceNumber", 0, (syscall_t)GetClipboardSequenceNumber}, + {"GetClipboardViewer", 0, (syscall_t)GetClipboardViewer}, + {"GetColorAdjustment", 0, (syscall_t)GetColorAdjustment}, + {"GetColorSpace", 0, (syscall_t)GetColorSpace}, + {"GetComboBoxInfo", 0, (syscall_t)GetComboBoxInfo}, + {"GetCommConfig", 0, (syscall_t)GetCommConfig}, + {"GetCommMask", 0, (syscall_t)GetCommMask}, + {"GetCommModemStatus", 0, (syscall_t)GetCommModemStatus}, + {"GetCommProperties", 0, (syscall_t)GetCommProperties}, + {"GetCommState", 0, (syscall_t)GetCommState}, + {"GetCommTimeouts", 0, (syscall_t)GetCommTimeouts}, + {"GetCommandLineA", 0, (syscall_t)GetCommandLineA}, + {"GetCompressedFileSizeA", 0, (syscall_t)GetCompressedFileSizeA}, + {"GetCompressedFileSizeTransactedA", 0, (syscall_t)GetCompressedFileSizeTransactedA}, + {"GetComputerNameA", 0, (syscall_t)GetComputerNameA}, + {"GetComputerNameExA", 0, (syscall_t)GetComputerNameExA}, + {"GetConsoleAliasA", 0, (syscall_t)GetConsoleAliasA}, + {"GetConsoleAliasExesA", 0, (syscall_t)GetConsoleAliasExesA}, + {"GetConsoleAliasExesLengthA", 0, (syscall_t)GetConsoleAliasExesLengthA}, + {"GetConsoleAliasesA", 0, (syscall_t)GetConsoleAliasesA}, + {"GetConsoleAliasesLengthA", 0, (syscall_t)GetConsoleAliasesLengthA}, + {"GetConsoleCP", 0, (syscall_t)GetConsoleCP}, + {"GetConsoleCursorInfo", 0, (syscall_t)GetConsoleCursorInfo}, + {"GetConsoleDisplayMode", 0, (syscall_t)GetConsoleDisplayMode}, + {"GetConsoleFontSize", 0, (syscall_t)GetConsoleFontSize}, + {"GetConsoleHistoryInfo", 0, (syscall_t)GetConsoleHistoryInfo}, + {"GetConsoleMode", 0, (syscall_t)GetConsoleMode}, + {"GetConsoleOriginalTitleA", 0, (syscall_t)GetConsoleOriginalTitleA}, + {"GetConsoleOutputCP", 0, (syscall_t)GetConsoleOutputCP}, + {"GetConsoleProcessList", 0, (syscall_t)GetConsoleProcessList}, + {"GetConsoleScreenBufferInfo", 0, (syscall_t)GetConsoleScreenBufferInfo}, + {"GetConsoleScreenBufferInfoEx", 0, (syscall_t)GetConsoleScreenBufferInfoEx}, + {"GetConsoleSelectionInfo", 0, (syscall_t)GetConsoleSelectionInfo}, + {"GetConsoleTitleA", 0, (syscall_t)GetConsoleTitleA}, + {"GetConsoleWindow", 0, (syscall_t)GetConsoleWindow}, + {"GetConvertStg", 0, (syscall_t)GetConvertStg}, + {"GetCorePrinterDriversA", 0, (syscall_t)GetCorePrinterDriversA}, + {"GetCurrencyFormatA", 0, (syscall_t)GetCurrencyFormatA}, + {"GetCurrencyFormatEx", 0, (syscall_t)GetCurrencyFormatEx}, + {"GetCurrentActCtx", 0, (syscall_t)GetCurrentActCtx}, + {"GetCurrentConsoleFont", 0, (syscall_t)GetCurrentConsoleFont}, + {"GetCurrentConsoleFontEx", 0, (syscall_t)GetCurrentConsoleFontEx}, + {"GetCurrentDirectoryA", 0, (syscall_t)GetCurrentDirectoryA}, + {"GetCurrentHwProfileA", 0, (syscall_t)GetCurrentHwProfileA}, + {"GetCurrentInputMessageSource", 0, (syscall_t)GetCurrentInputMessageSource}, + {"GetCurrentObject", 0, (syscall_t)GetCurrentObject}, + {"GetCurrentPositionEx", 0, (syscall_t)GetCurrentPositionEx}, + {"GetCurrentProcess", 0, (syscall_t)GetCurrentProcess}, + {"GetCurrentProcessId", 0, (syscall_t)GetCurrentProcessId}, + {"GetCurrentProcessorNumber", 0, (syscall_t)GetCurrentProcessorNumber}, + {"GetCurrentProcessorNumberEx", 0, (syscall_t)GetCurrentProcessorNumberEx}, + {"GetCurrentThread", 0, (syscall_t)GetCurrentThread}, + {"GetCurrentThreadId", 0, (syscall_t)GetCurrentThreadId}, + {"GetCurrentThreadStackLimits", 0, (syscall_t)GetCurrentThreadStackLimits}, + {"GetCurrentUmsThread", 0, (syscall_t)GetCurrentUmsThread}, + {"GetCursor", 0, (syscall_t)GetCursor}, + {"GetCursorInfo", 0, (syscall_t)GetCursorInfo}, + {"GetCursorPos", 0, (syscall_t)GetCursorPos}, + {"GetDC", 0, (syscall_t)GetDC}, + {"GetDCBrushColor", 0, (syscall_t)GetDCBrushColor}, + {"GetDCEx", 0, (syscall_t)GetDCEx}, + {"GetDCOrgEx", 0, (syscall_t)GetDCOrgEx}, + {"GetDCPenColor", 0, (syscall_t)GetDCPenColor}, + {"GetDIBColorTable", 0, (syscall_t)GetDIBColorTable}, + {"GetDIBits", 0, (syscall_t)GetDIBits}, + {"GetDateFormatA", 0, (syscall_t)GetDateFormatA}, + {"GetDateFormatEx", 0, (syscall_t)GetDateFormatEx}, + {"GetDefaultCommConfigA", 0, (syscall_t)GetDefaultCommConfigA}, + {"GetDefaultPrinterA", 0, (syscall_t)GetDefaultPrinterA}, + {"GetDesktopWindow", 0, (syscall_t)GetDesktopWindow}, + {"GetDeviceCaps", 0, (syscall_t)GetDeviceCaps}, + {"GetDeviceGammaRamp", 0, (syscall_t)GetDeviceGammaRamp}, + {"GetDevicePowerState", 0, (syscall_t)GetDevicePowerState}, + {"GetDialogBaseUnits", 0, (syscall_t)GetDialogBaseUnits}, + {"GetDiskFreeSpaceA", 0, (syscall_t)GetDiskFreeSpaceA}, + {"GetDiskFreeSpaceExA", 0, (syscall_t)GetDiskFreeSpaceExA}, + {"GetDisplayAutoRotationPreferences", 0, (syscall_t)GetDisplayAutoRotationPreferences}, + {"GetDisplayConfigBufferSizes", 0, (syscall_t)GetDisplayConfigBufferSizes}, + {"GetDlgCtrlID", 0, (syscall_t)GetDlgCtrlID}, + {"GetDlgItem", 0, (syscall_t)GetDlgItem}, + {"GetDlgItemInt", 0, (syscall_t)GetDlgItemInt}, + {"GetDlgItemTextA", 0, (syscall_t)GetDlgItemTextA}, + {"GetDllDirectoryA", 0, (syscall_t)GetDllDirectoryA}, + {"GetDoubleClickTime", 0, (syscall_t)GetDoubleClickTime}, + {"GetDpiForSystem", 0, (syscall_t)GetDpiForSystem}, + {"GetDpiForWindow", 0, (syscall_t)GetDpiForWindow}, + {"GetDriveTypeA", 0, (syscall_t)GetDriveTypeA}, + {"GetDriverModuleHandle", 0, (syscall_t)GetDriverModuleHandle}, + {"GetDurationFormat", 0, (syscall_t)GetDurationFormat}, + {"GetDurationFormatEx", 0, (syscall_t)GetDurationFormatEx}, + {"GetDynamicTimeZoneInformation", 0, (syscall_t)GetDynamicTimeZoneInformation}, + {"GetDynamicTimeZoneInformationEffectiveYears", 0, (syscall_t)GetDynamicTimeZoneInformationEffectiveYears}, + {"GetEnabledXStateFeatures", 0, (syscall_t)GetEnabledXStateFeatures}, + {"GetEncryptedFileMetadata", 0, (syscall_t)GetEncryptedFileMetadata}, + {"GetEnhMetaFileA", 0, (syscall_t)GetEnhMetaFileA}, + {"GetEnhMetaFileBits", 0, (syscall_t)GetEnhMetaFileBits}, + {"GetEnhMetaFileDescriptionA", 0, (syscall_t)GetEnhMetaFileDescriptionA}, + {"GetEnhMetaFileHeader", 0, (syscall_t)GetEnhMetaFileHeader}, + {"GetEnhMetaFilePaletteEntries", 0, (syscall_t)GetEnhMetaFilePaletteEntries}, + {"GetEnhMetaFilePixelFormat", 0, (syscall_t)GetEnhMetaFilePixelFormat}, + {"GetEnvironmentStrings", 0, (syscall_t)GetEnvironmentStrings}, + {"GetEnvironmentVariableA", 0, (syscall_t)GetEnvironmentVariableA}, + {"GetErrorMode", 0, (syscall_t)GetErrorMode}, + {"GetEventLogInformation", 0, (syscall_t)GetEventLogInformation}, + {"GetExitCodeProcess", 0, (syscall_t)GetExitCodeProcess}, + {"GetExitCodeThread", 0, (syscall_t)GetExitCodeThread}, + {"GetExpandedNameA", 0, (syscall_t)GetExpandedNameA}, + {"GetFileAttributesA", 0, (syscall_t)GetFileAttributesA}, + {"GetFileAttributesExA", 0, (syscall_t)GetFileAttributesExA}, + {"GetFileAttributesTransactedA", 0, (syscall_t)GetFileAttributesTransactedA}, + {"GetFileBandwidthReservation", 0, (syscall_t)GetFileBandwidthReservation}, + {"GetFileInformationByHandle", 0, (syscall_t)GetFileInformationByHandle}, + {"GetFileInformationByHandleEx", 0, (syscall_t)GetFileInformationByHandleEx}, + {"GetFileMUIInfo", 0, (syscall_t)GetFileMUIInfo}, + {"GetFileMUIPath", 0, (syscall_t)GetFileMUIPath}, + {"GetFileSecurityA", 0, (syscall_t)GetFileSecurityA}, + {"GetFileSize", 0, (syscall_t)GetFileSize}, + {"GetFileSizeEx", 0, (syscall_t)GetFileSizeEx}, + {"GetFileTime", 0, (syscall_t)GetFileTime}, + {"GetFileTitleA", 0, (syscall_t)GetFileTitleA}, + {"GetFileType", 0, (syscall_t)GetFileType}, + {"GetFinalPathNameByHandleA", 0, (syscall_t)GetFinalPathNameByHandleA}, + {"GetFirmwareEnvironmentVariableA", 0, (syscall_t)GetFirmwareEnvironmentVariableA}, + {"GetFirmwareEnvironmentVariableExA", 0, (syscall_t)GetFirmwareEnvironmentVariableExA}, + {"GetFirmwareType", 0, (syscall_t)GetFirmwareType}, + {"GetFocus", 0, (syscall_t)GetFocus}, + {"GetFontData", 0, (syscall_t)GetFontData}, + {"GetFontLanguageInfo", 0, (syscall_t)GetFontLanguageInfo}, + {"GetFontUnicodeRanges", 0, (syscall_t)GetFontUnicodeRanges}, + {"GetForegroundWindow", 0, (syscall_t)GetForegroundWindow}, + {"GetFormA", 0, (syscall_t)GetFormA}, + {"GetFullPathNameA", 0, (syscall_t)GetFullPathNameA}, + {"GetFullPathNameTransactedA", 0, (syscall_t)GetFullPathNameTransactedA}, + {"GetGUIThreadInfo", 0, (syscall_t)GetGUIThreadInfo}, + {"GetGeoInfoA", 0, (syscall_t)GetGeoInfoA}, + {"GetGestureConfig", 0, (syscall_t)GetGestureConfig}, + {"GetGestureExtraArgs", 0, (syscall_t)GetGestureExtraArgs}, + {"GetGestureInfo", 0, (syscall_t)GetGestureInfo}, + {"GetGlyphIndicesA", 0, (syscall_t)GetGlyphIndicesA}, + {"GetGlyphOutlineA", 0, (syscall_t)GetGlyphOutlineA}, + {"GetGraphicsMode", 0, (syscall_t)GetGraphicsMode}, + {"GetGuiResources", 0, (syscall_t)GetGuiResources}, + {"GetHGlobalFromILockBytes", 0, (syscall_t)GetHGlobalFromILockBytes}, + {"GetHandleInformation", 0, (syscall_t)GetHandleInformation}, + {"GetICMProfileA", 0, (syscall_t)GetICMProfileA}, + {"GetIconInfo", 0, (syscall_t)GetIconInfo}, + {"GetIconInfoExA", 0, (syscall_t)GetIconInfoExA}, + {"GetInputState", 0, (syscall_t)GetInputState}, + {"GetIntegratedDisplaySize", 0, (syscall_t)GetIntegratedDisplaySize}, + {"GetJobA", 0, (syscall_t)GetJobA}, + {"GetJobNamedPropertyValue", 0, (syscall_t)GetJobNamedPropertyValue}, + {"GetKBCodePage", 0, (syscall_t)GetKBCodePage}, + {"GetKernelObjectSecurity", 0, (syscall_t)GetKernelObjectSecurity}, + {"GetKerningPairsA", 0, (syscall_t)GetKerningPairsA}, + {"GetKeyNameTextA", 0, (syscall_t)GetKeyNameTextA}, + {"GetKeyState", 0, (syscall_t)GetKeyState}, + {"GetKeyboardLayout", 0, (syscall_t)GetKeyboardLayout}, + {"GetKeyboardLayoutList", 0, (syscall_t)GetKeyboardLayoutList}, + {"GetKeyboardLayoutNameA", 0, (syscall_t)GetKeyboardLayoutNameA}, + {"GetKeyboardState", 0, (syscall_t)GetKeyboardState}, + {"GetKeyboardType", 0, (syscall_t)GetKeyboardType}, + {"GetLargePageMinimum", 0, (syscall_t)GetLargePageMinimum}, + {"GetLargestConsoleWindowSize", 0, (syscall_t)GetLargestConsoleWindowSize}, + {"GetLastActivePopup", 0, (syscall_t)GetLastActivePopup}, + {"GetLastError", 0, (syscall_t)GetLastError}, + {"GetLastInputInfo", 0, (syscall_t)GetLastInputInfo}, + {"GetLayeredWindowAttributes", 0, (syscall_t)GetLayeredWindowAttributes}, + {"GetLayout", 0, (syscall_t)GetLayout}, + {"GetLengthSid", 0, (syscall_t)GetLengthSid}, + {"GetListBoxInfo", 0, (syscall_t)GetListBoxInfo}, + {"GetLocalTime", 0, (syscall_t)GetLocalTime}, + {"GetLocaleInfoA", 0, (syscall_t)GetLocaleInfoA}, + {"GetLocaleInfoEx", 0, (syscall_t)GetLocaleInfoEx}, + {"GetLogColorSpaceA", 0, (syscall_t)GetLogColorSpaceA}, + {"GetLogicalDriveStringsA", 0, (syscall_t)GetLogicalDriveStringsA}, + {"GetLogicalDrives", 0, (syscall_t)GetLogicalDrives}, + {"GetLogicalProcessorInformation", 0, (syscall_t)GetLogicalProcessorInformation}, + {"GetLogicalProcessorInformationEx", 0, (syscall_t)GetLogicalProcessorInformationEx}, + {"GetLongPathNameA", 0, (syscall_t)GetLongPathNameA}, + {"GetLongPathNameTransactedA", 0, (syscall_t)GetLongPathNameTransactedA}, + {"GetMailslotInfo", 0, (syscall_t)GetMailslotInfo}, + {"GetMapMode", 0, (syscall_t)GetMapMode}, + {"GetMaximumProcessorCount", 0, (syscall_t)GetMaximumProcessorCount}, + {"GetMaximumProcessorGroupCount", 0, (syscall_t)GetMaximumProcessorGroupCount}, + {"GetMemoryErrorHandlingCapabilities", 0, (syscall_t)GetMemoryErrorHandlingCapabilities}, + {"GetMenu", 0, (syscall_t)GetMenu}, + {"GetMenuBarInfo", 0, (syscall_t)GetMenuBarInfo}, + {"GetMenuCheckMarkDimensions", 0, (syscall_t)GetMenuCheckMarkDimensions}, + {"GetMenuContextHelpId", 0, (syscall_t)GetMenuContextHelpId}, + {"GetMenuDefaultItem", 0, (syscall_t)GetMenuDefaultItem}, + {"GetMenuInfo", 0, (syscall_t)GetMenuInfo}, + {"GetMenuItemCount", 0, (syscall_t)GetMenuItemCount}, + {"GetMenuItemID", 0, (syscall_t)GetMenuItemID}, + {"GetMenuItemInfoA", 0, (syscall_t)GetMenuItemInfoA}, + {"GetMenuItemRect", 0, (syscall_t)GetMenuItemRect}, + {"GetMenuState", 0, (syscall_t)GetMenuState}, + {"GetMenuStringA", 0, (syscall_t)GetMenuStringA}, + {"GetMessageA", 0, (syscall_t)GetMessageA}, + {"GetMessageExtraInfo", 0, (syscall_t)GetMessageExtraInfo}, + {"GetMessagePos", 0, (syscall_t)GetMessagePos}, + {"GetMessageTime", 0, (syscall_t)GetMessageTime}, + {"GetMetaFileA", 0, (syscall_t)GetMetaFileA}, + {"GetMetaFileBitsEx", 0, (syscall_t)GetMetaFileBitsEx}, + {"GetMetaRgn", 0, (syscall_t)GetMetaRgn}, + {"GetMiterLimit", 0, (syscall_t)GetMiterLimit}, + {"GetModuleFileNameA", 0, (syscall_t)GetModuleFileNameA}, + {"GetModuleHandleA", 0, (syscall_t)GetModuleHandleA}, + {"GetModuleHandleExA", 0, (syscall_t)GetModuleHandleExA}, + {"GetMonitorInfoA", 0, (syscall_t)GetMonitorInfoA}, + {"GetMouseMovePointsEx", 0, (syscall_t)GetMouseMovePointsEx}, + {"GetNLSVersion", 0, (syscall_t)GetNLSVersion}, + {"GetNLSVersionEx", 0, (syscall_t)GetNLSVersionEx}, + {"GetNamedPipeClientComputerNameA", 0, (syscall_t)GetNamedPipeClientComputerNameA}, + {"GetNamedPipeClientProcessId", 0, (syscall_t)GetNamedPipeClientProcessId}, + {"GetNamedPipeClientSessionId", 0, (syscall_t)GetNamedPipeClientSessionId}, + {"GetNamedPipeHandleStateA", 0, (syscall_t)GetNamedPipeHandleStateA}, + {"GetNamedPipeInfo", 0, (syscall_t)GetNamedPipeInfo}, + {"GetNamedPipeServerProcessId", 0, (syscall_t)GetNamedPipeServerProcessId}, + {"GetNamedPipeServerSessionId", 0, (syscall_t)GetNamedPipeServerSessionId}, + {"GetNativeSystemInfo", 0, (syscall_t)GetNativeSystemInfo}, + {"GetNearestColor", 0, (syscall_t)GetNearestColor}, + {"GetNearestPaletteIndex", 0, (syscall_t)GetNearestPaletteIndex}, + {"GetNextDlgGroupItem", 0, (syscall_t)GetNextDlgGroupItem}, + {"GetNextDlgTabItem", 0, (syscall_t)GetNextDlgTabItem}, + {"GetNextUmsListItem", 0, (syscall_t)GetNextUmsListItem}, + {"GetNumaAvailableMemoryNode", 0, (syscall_t)GetNumaAvailableMemoryNode}, + {"GetNumaAvailableMemoryNodeEx", 0, (syscall_t)GetNumaAvailableMemoryNodeEx}, + {"GetNumaHighestNodeNumber", 0, (syscall_t)GetNumaHighestNodeNumber}, + {"GetNumaNodeNumberFromHandle", 0, (syscall_t)GetNumaNodeNumberFromHandle}, + {"GetNumaNodeProcessorMask", 0, (syscall_t)GetNumaNodeProcessorMask}, + {"GetNumaNodeProcessorMaskEx", 0, (syscall_t)GetNumaNodeProcessorMaskEx}, + {"GetNumaProcessorNode", 0, (syscall_t)GetNumaProcessorNode}, + {"GetNumaProcessorNodeEx", 0, (syscall_t)GetNumaProcessorNodeEx}, + {"GetNumaProximityNode", 0, (syscall_t)GetNumaProximityNode}, + {"GetNumaProximityNodeEx", 0, (syscall_t)GetNumaProximityNodeEx}, + {"GetNumberFormatA", 0, (syscall_t)GetNumberFormatA}, + {"GetNumberFormatEx", 0, (syscall_t)GetNumberFormatEx}, + {"GetNumberOfConsoleInputEvents", 0, (syscall_t)GetNumberOfConsoleInputEvents}, + {"GetNumberOfConsoleMouseButtons", 0, (syscall_t)GetNumberOfConsoleMouseButtons}, + {"GetNumberOfEventLogRecords", 0, (syscall_t)GetNumberOfEventLogRecords}, + {"GetOEMCP", 0, (syscall_t)GetOEMCP}, + {"GetObjectA", 0, (syscall_t)GetObjectA}, + {"GetObjectType", 0, (syscall_t)GetObjectType}, + {"GetOldestEventLogRecord", 0, (syscall_t)GetOldestEventLogRecord}, + {"GetOpenClipboardWindow", 0, (syscall_t)GetOpenClipboardWindow}, + {"GetOpenFileNameA", 0, (syscall_t)GetOpenFileNameA}, + {"GetOsManufacturingMode", 0, (syscall_t)GetOsManufacturingMode}, + {"GetOsSafeBootMode", 0, (syscall_t)GetOsSafeBootMode}, + {"GetOutlineTextMetricsA", 0, (syscall_t)GetOutlineTextMetricsA}, + {"GetOverlappedResult", 0, (syscall_t)GetOverlappedResult}, + {"GetOverlappedResultEx", 0, (syscall_t)GetOverlappedResultEx}, + {"GetPaletteEntries", 0, (syscall_t)GetPaletteEntries}, + {"GetParent", 0, (syscall_t)GetParent}, + {"GetPath", 0, (syscall_t)GetPath}, + {"GetPhysicalCursorPos", 0, (syscall_t)GetPhysicalCursorPos}, + {"GetPhysicallyInstalledSystemMemory", 0, (syscall_t)GetPhysicallyInstalledSystemMemory}, + {"GetPixel", 0, (syscall_t)GetPixel}, + {"GetPixelFormat", 0, (syscall_t)GetPixelFormat}, + {"GetPointerCursorId", 0, (syscall_t)GetPointerCursorId}, + {"GetPointerDevice", 0, (syscall_t)GetPointerDevice}, + {"GetPointerDeviceCursors", 0, (syscall_t)GetPointerDeviceCursors}, + {"GetPointerDeviceProperties", 0, (syscall_t)GetPointerDeviceProperties}, + {"GetPointerDeviceRects", 0, (syscall_t)GetPointerDeviceRects}, + {"GetPointerDevices", 0, (syscall_t)GetPointerDevices}, + {"GetPointerFrameInfo", 0, (syscall_t)GetPointerFrameInfo}, + {"GetPointerFrameInfoHistory", 0, (syscall_t)GetPointerFrameInfoHistory}, + {"GetPointerFramePenInfo", 0, (syscall_t)GetPointerFramePenInfo}, + {"GetPointerFramePenInfoHistory", 0, (syscall_t)GetPointerFramePenInfoHistory}, + {"GetPointerFrameTouchInfo", 0, (syscall_t)GetPointerFrameTouchInfo}, + {"GetPointerFrameTouchInfoHistory", 0, (syscall_t)GetPointerFrameTouchInfoHistory}, + {"GetPointerInfo", 0, (syscall_t)GetPointerInfo}, + {"GetPointerInfoHistory", 0, (syscall_t)GetPointerInfoHistory}, + {"GetPointerInputTransform", 0, (syscall_t)GetPointerInputTransform}, + {"GetPointerPenInfo", 0, (syscall_t)GetPointerPenInfo}, + {"GetPointerPenInfoHistory", 0, (syscall_t)GetPointerPenInfoHistory}, + {"GetPointerTouchInfo", 0, (syscall_t)GetPointerTouchInfo}, + {"GetPointerTouchInfoHistory", 0, (syscall_t)GetPointerTouchInfoHistory}, + {"GetPointerType", 0, (syscall_t)GetPointerType}, + {"GetPolyFillMode", 0, (syscall_t)GetPolyFillMode}, + {"GetPrintExecutionData", 0, (syscall_t)GetPrintExecutionData}, + {"GetPrintOutputInfo", 0, (syscall_t)GetPrintOutputInfo}, + {"GetPrintProcessorDirectoryA", 0, (syscall_t)GetPrintProcessorDirectoryA}, + {"GetPrinterA", 0, (syscall_t)GetPrinterA}, + {"GetPrinterDataA", 0, (syscall_t)GetPrinterDataA}, + {"GetPrinterDataExA", 0, (syscall_t)GetPrinterDataExA}, + {"GetPrinterDriver2A", 0, (syscall_t)GetPrinterDriver2A}, + {"GetPrinterDriverA", 0, (syscall_t)GetPrinterDriverA}, + {"GetPrinterDriverDirectoryA", 0, (syscall_t)GetPrinterDriverDirectoryA}, + {"GetPrinterDriverPackagePathA", 0, (syscall_t)GetPrinterDriverPackagePathA}, + {"GetPriorityClass", 0, (syscall_t)GetPriorityClass}, + {"GetPriorityClipboardFormat", 0, (syscall_t)GetPriorityClipboardFormat}, + {"GetPrivateObjectSecurity", 0, (syscall_t)GetPrivateObjectSecurity}, + {"GetPrivateProfileIntA", 0, (syscall_t)GetPrivateProfileIntA}, + {"GetPrivateProfileSectionA", 0, (syscall_t)GetPrivateProfileSectionA}, + {"GetPrivateProfileSectionNamesA", 0, (syscall_t)GetPrivateProfileSectionNamesA}, + {"GetPrivateProfileStringA", 0, (syscall_t)GetPrivateProfileStringA}, + {"GetPrivateProfileStructA", 0, (syscall_t)GetPrivateProfileStructA}, + {"GetProcAddress", 0, (syscall_t)GetProcAddress}, + {"GetProcessAffinityMask", 0, (syscall_t)GetProcessAffinityMask}, + {"GetProcessDEPPolicy", 0, (syscall_t)GetProcessDEPPolicy}, + {"GetProcessDefaultCpuSets", 0, (syscall_t)GetProcessDefaultCpuSets}, + {"GetProcessDefaultLayout", 0, (syscall_t)GetProcessDefaultLayout}, + {"GetProcessGroupAffinity", 0, (syscall_t)GetProcessGroupAffinity}, + {"GetProcessHandleCount", 0, (syscall_t)GetProcessHandleCount}, + {"GetProcessHeap", 0, (syscall_t)GetProcessHeap}, + {"GetProcessHeaps", 0, (syscall_t)GetProcessHeaps}, + {"GetProcessId", 0, (syscall_t)GetProcessId}, + {"GetProcessIdOfThread", 0, (syscall_t)GetProcessIdOfThread}, + {"GetProcessInformation", 0, (syscall_t)GetProcessInformation}, + {"GetProcessIoCounters", 0, (syscall_t)GetProcessIoCounters}, + {"GetProcessMitigationPolicy", 0, (syscall_t)GetProcessMitigationPolicy}, + {"GetProcessPreferredUILanguages", 0, (syscall_t)GetProcessPreferredUILanguages}, + {"GetProcessPriorityBoost", 0, (syscall_t)GetProcessPriorityBoost}, + {"GetProcessShutdownParameters", 0, (syscall_t)GetProcessShutdownParameters}, + {"GetProcessTimes", 0, (syscall_t)GetProcessTimes}, + {"GetProcessVersion", 0, (syscall_t)GetProcessVersion}, + {"GetProcessWindowStation", 0, (syscall_t)GetProcessWindowStation}, + {"GetProcessWorkingSetSize", 0, (syscall_t)GetProcessWorkingSetSize}, + {"GetProcessWorkingSetSizeEx", 0, (syscall_t)GetProcessWorkingSetSizeEx}, + {"GetProcessorSystemCycleTime", 0, (syscall_t)GetProcessorSystemCycleTime}, + {"GetProductInfo", 0, (syscall_t)GetProductInfo}, + {"GetProfileIntA", 0, (syscall_t)GetProfileIntA}, + {"GetProfileSectionA", 0, (syscall_t)GetProfileSectionA}, + {"GetProfileStringA", 0, (syscall_t)GetProfileStringA}, + {"GetPropA", 0, (syscall_t)GetPropA}, + {"GetQueueStatus", 0, (syscall_t)GetQueueStatus}, + {"GetQueuedCompletionStatus", 0, (syscall_t)GetQueuedCompletionStatus}, + {"GetQueuedCompletionStatusEx", 0, (syscall_t)GetQueuedCompletionStatusEx}, + {"GetROP2", 0, (syscall_t)GetROP2}, + {"GetRandomRgn", 0, (syscall_t)GetRandomRgn}, + {"GetRasterizerCaps", 0, (syscall_t)GetRasterizerCaps}, + {"GetRawInputBuffer", 0, (syscall_t)GetRawInputBuffer}, + {"GetRawInputData", 0, (syscall_t)GetRawInputData}, + {"GetRawInputDeviceInfoA", 0, (syscall_t)GetRawInputDeviceInfoA}, + {"GetRawInputDeviceList", 0, (syscall_t)GetRawInputDeviceList}, + {"GetRawPointerDeviceData", 0, (syscall_t)GetRawPointerDeviceData}, + {"GetRegionData", 0, (syscall_t)GetRegionData}, + {"GetRegisteredRawInputDevices", 0, (syscall_t)GetRegisteredRawInputDevices}, + {"GetRgnBox", 0, (syscall_t)GetRgnBox}, + {"GetSaveFileNameA", 0, (syscall_t)GetSaveFileNameA}, + {"GetScrollBarInfo", 0, (syscall_t)GetScrollBarInfo}, + {"GetScrollInfo", 0, (syscall_t)GetScrollInfo}, + {"GetScrollPos", 0, (syscall_t)GetScrollPos}, + {"GetScrollRange", 0, (syscall_t)GetScrollRange}, + {"GetSecurityDescriptorControl", 0, (syscall_t)GetSecurityDescriptorControl}, + {"GetSecurityDescriptorDacl", 0, (syscall_t)GetSecurityDescriptorDacl}, + {"GetSecurityDescriptorGroup", 0, (syscall_t)GetSecurityDescriptorGroup}, + {"GetSecurityDescriptorLength", 0, (syscall_t)GetSecurityDescriptorLength}, + {"GetSecurityDescriptorOwner", 0, (syscall_t)GetSecurityDescriptorOwner}, + {"GetSecurityDescriptorRMControl", 0, (syscall_t)GetSecurityDescriptorRMControl}, + {"GetSecurityDescriptorSacl", 0, (syscall_t)GetSecurityDescriptorSacl}, + {"GetServiceDisplayNameA", 0, (syscall_t)GetServiceDisplayNameA}, + {"GetServiceKeyNameA", 0, (syscall_t)GetServiceKeyNameA}, + {"GetShellWindow", 0, (syscall_t)GetShellWindow}, + {"GetShortPathNameA", 0, (syscall_t)GetShortPathNameA}, + {"GetSidIdentifierAuthority", 0, (syscall_t)GetSidIdentifierAuthority}, + {"GetSidLengthRequired", 0, (syscall_t)GetSidLengthRequired}, + {"GetSidSubAuthority", 0, (syscall_t)GetSidSubAuthority}, + {"GetSidSubAuthorityCount", 0, (syscall_t)GetSidSubAuthorityCount}, + {"GetSpoolFileHandle", 0, (syscall_t)GetSpoolFileHandle}, + {"GetStartupInfoA", 0, (syscall_t)GetStartupInfoA}, + {"GetStdHandle", 0, (syscall_t)GetStdHandle}, + {"GetStockObject", 0, (syscall_t)GetStockObject}, + {"GetStretchBltMode", 0, (syscall_t)GetStretchBltMode}, + {"GetStringScripts", 0, (syscall_t)GetStringScripts}, + {"GetStringTypeA", 0, (syscall_t)GetStringTypeA}, + {"GetStringTypeExA", 0, (syscall_t)GetStringTypeExA}, + {"GetSubMenu", 0, (syscall_t)GetSubMenu}, + {"GetSysColor", 0, (syscall_t)GetSysColor}, + {"GetSysColorBrush", 0, (syscall_t)GetSysColorBrush}, + {"GetSystemCpuSetInformation", 0, (syscall_t)GetSystemCpuSetInformation}, + {"GetSystemDEPPolicy", 0, (syscall_t)GetSystemDEPPolicy}, + {"GetSystemDefaultLCID", 0, (syscall_t)GetSystemDefaultLCID}, + {"GetSystemDefaultLangID", 0, (syscall_t)GetSystemDefaultLangID}, + {"GetSystemDefaultLocaleName", 0, (syscall_t)GetSystemDefaultLocaleName}, + {"GetSystemDefaultUILanguage", 0, (syscall_t)GetSystemDefaultUILanguage}, + {"GetSystemDirectoryA", 0, (syscall_t)GetSystemDirectoryA}, + {"GetSystemFileCacheSize", 0, (syscall_t)GetSystemFileCacheSize}, + {"GetSystemFirmwareTable", 0, (syscall_t)GetSystemFirmwareTable}, + {"GetSystemInfo", 0, (syscall_t)GetSystemInfo}, + {"GetSystemMenu", 0, (syscall_t)GetSystemMenu}, + {"GetSystemMetrics", 0, (syscall_t)GetSystemMetrics}, + {"GetSystemMetricsForDpi", 0, (syscall_t)GetSystemMetricsForDpi}, + {"GetSystemPaletteEntries", 0, (syscall_t)GetSystemPaletteEntries}, + {"GetSystemPaletteUse", 0, (syscall_t)GetSystemPaletteUse}, + {"GetSystemPowerStatus", 0, (syscall_t)GetSystemPowerStatus}, + {"GetSystemPreferredUILanguages", 0, (syscall_t)GetSystemPreferredUILanguages}, + {"GetSystemRegistryQuota", 0, (syscall_t)GetSystemRegistryQuota}, + {"GetSystemTime", 0, (syscall_t)GetSystemTime}, + {"GetSystemTimeAdjustment", 0, (syscall_t)GetSystemTimeAdjustment}, + {"GetSystemTimeAsFileTime", 0, (syscall_t)GetSystemTimeAsFileTime}, + {"GetSystemTimePreciseAsFileTime", 0, (syscall_t)GetSystemTimePreciseAsFileTime}, + {"GetSystemTimes", 0, (syscall_t)GetSystemTimes}, + {"GetSystemWindowsDirectoryA", 0, (syscall_t)GetSystemWindowsDirectoryA}, + {"GetSystemWow64Directory2A", 0, (syscall_t)GetSystemWow64Directory2A}, + {"GetSystemWow64DirectoryA", 0, (syscall_t)GetSystemWow64DirectoryA}, + {"GetTabbedTextExtentA", 0, (syscall_t)GetTabbedTextExtentA}, + {"GetTapeParameters", 0, (syscall_t)GetTapeParameters}, + {"GetTapePosition", 0, (syscall_t)GetTapePosition}, + {"GetTapeStatus", 0, (syscall_t)GetTapeStatus}, + {"GetTempFileNameA", 0, (syscall_t)GetTempFileNameA}, + {"GetTempPathA", 0, (syscall_t)GetTempPathA}, + {"GetTextAlign", 0, (syscall_t)GetTextAlign}, + {"GetTextCharacterExtra", 0, (syscall_t)GetTextCharacterExtra}, + {"GetTextCharset", 0, (syscall_t)GetTextCharset}, + {"GetTextCharsetInfo", 0, (syscall_t)GetTextCharsetInfo}, + {"GetTextColor", 0, (syscall_t)GetTextColor}, + {"GetTextExtentExPointA", 0, (syscall_t)GetTextExtentExPointA}, + {"GetTextExtentExPointI", 0, (syscall_t)GetTextExtentExPointI}, + {"GetTextExtentPoint32A", 0, (syscall_t)GetTextExtentPoint32A}, + {"GetTextExtentPointA", 0, (syscall_t)GetTextExtentPointA}, + {"GetTextExtentPointI", 0, (syscall_t)GetTextExtentPointI}, + {"GetTextFaceA", 0, (syscall_t)GetTextFaceA}, + {"GetTextMetricsA", 0, (syscall_t)GetTextMetricsA}, + {"GetThreadContext", 0, (syscall_t)GetThreadContext}, + {"GetThreadDesktop", 0, (syscall_t)GetThreadDesktop}, + {"GetThreadDpiAwarenessContext", 0, (syscall_t)GetThreadDpiAwarenessContext}, + {"GetThreadErrorMode", 0, (syscall_t)GetThreadErrorMode}, + {"GetThreadGroupAffinity", 0, (syscall_t)GetThreadGroupAffinity}, + {"GetThreadIOPendingFlag", 0, (syscall_t)GetThreadIOPendingFlag}, + {"GetThreadId", 0, (syscall_t)GetThreadId}, + {"GetThreadIdealProcessorEx", 0, (syscall_t)GetThreadIdealProcessorEx}, + {"GetThreadInformation", 0, (syscall_t)GetThreadInformation}, + {"GetThreadLocale", 0, (syscall_t)GetThreadLocale}, + {"GetThreadPreferredUILanguages", 0, (syscall_t)GetThreadPreferredUILanguages}, + {"GetThreadPriority", 0, (syscall_t)GetThreadPriority}, + {"GetThreadPriorityBoost", 0, (syscall_t)GetThreadPriorityBoost}, + {"GetThreadSelectedCpuSets", 0, (syscall_t)GetThreadSelectedCpuSets}, + {"GetThreadSelectorEntry", 0, (syscall_t)GetThreadSelectorEntry}, + {"GetThreadTimes", 0, (syscall_t)GetThreadTimes}, + {"GetThreadUILanguage", 0, (syscall_t)GetThreadUILanguage}, + {"GetTickCount", 0, (syscall_t)GetTickCount}, + {"GetTickCount64", 0, (syscall_t)GetTickCount64}, + {"GetTimeFormatA", 0, (syscall_t)GetTimeFormatA}, + {"GetTimeFormatEx", 0, (syscall_t)GetTimeFormatEx}, + {"GetTimeZoneInformation", 0, (syscall_t)GetTimeZoneInformation}, + {"GetTimeZoneInformationForYear", 0, (syscall_t)GetTimeZoneInformationForYear}, + {"GetTitleBarInfo", 0, (syscall_t)GetTitleBarInfo}, + {"GetTokenInformation", 0, (syscall_t)GetTokenInformation}, + {"GetTopWindow", 0, (syscall_t)GetTopWindow}, + {"GetTouchInputInfo", 0, (syscall_t)GetTouchInputInfo}, + {"GetUILanguageInfo", 0, (syscall_t)GetUILanguageInfo}, + {"GetUmsCompletionListEvent", 0, (syscall_t)GetUmsCompletionListEvent}, + {"GetUmsSystemThreadInformation", 0, (syscall_t)GetUmsSystemThreadInformation}, + {"GetUnpredictedMessagePos", 0, (syscall_t)GetUnpredictedMessagePos}, + {"GetUpdateRect", 0, (syscall_t)GetUpdateRect}, + {"GetUpdateRgn", 0, (syscall_t)GetUpdateRgn}, + {"GetUpdatedClipboardFormats", 0, (syscall_t)GetUpdatedClipboardFormats}, + {"GetUserDefaultLCID", 0, (syscall_t)GetUserDefaultLCID}, + {"GetUserDefaultLangID", 0, (syscall_t)GetUserDefaultLangID}, + {"GetUserDefaultLocaleName", 0, (syscall_t)GetUserDefaultLocaleName}, + {"GetUserDefaultUILanguage", 0, (syscall_t)GetUserDefaultUILanguage}, + {"GetUserGeoID", 0, (syscall_t)GetUserGeoID}, + {"GetUserNameA", 0, (syscall_t)GetUserNameA}, + {"GetUserObjectInformationA", 0, (syscall_t)GetUserObjectInformationA}, + {"GetUserObjectSecurity", 0, (syscall_t)GetUserObjectSecurity}, + {"GetUserPreferredUILanguages", 0, (syscall_t)GetUserPreferredUILanguages}, + {"GetVersion", 0, (syscall_t)GetVersion}, + {"GetVersionExA", 0, (syscall_t)GetVersionExA}, + {"GetViewportExtEx", 0, (syscall_t)GetViewportExtEx}, + {"GetViewportOrgEx", 0, (syscall_t)GetViewportOrgEx}, + {"GetVolumeInformationA", 0, (syscall_t)GetVolumeInformationA}, + {"GetVolumeNameForVolumeMountPointA", 0, (syscall_t)GetVolumeNameForVolumeMountPointA}, + {"GetVolumePathNameA", 0, (syscall_t)GetVolumePathNameA}, + {"GetVolumePathNamesForVolumeNameA", 0, (syscall_t)GetVolumePathNamesForVolumeNameA}, + {"GetWinMetaFileBits", 0, (syscall_t)GetWinMetaFileBits}, + {"GetWindow", 0, (syscall_t)GetWindow}, + {"GetWindowContextHelpId", 0, (syscall_t)GetWindowContextHelpId}, + {"GetWindowDC", 0, (syscall_t)GetWindowDC}, + {"GetWindowDisplayAffinity", 0, (syscall_t)GetWindowDisplayAffinity}, + {"GetWindowDpiAwarenessContext", 0, (syscall_t)GetWindowDpiAwarenessContext}, + {"GetWindowExtEx", 0, (syscall_t)GetWindowExtEx}, + {"GetWindowFeedbackSetting", 0, (syscall_t)GetWindowFeedbackSetting}, + {"GetWindowInfo", 0, (syscall_t)GetWindowInfo}, + {"GetWindowLongA", 0, (syscall_t)GetWindowLongA}, + {"GetWindowLongPtrA", 0, (syscall_t)GetWindowLongPtrA}, + {"GetWindowModuleFileNameA", 0, (syscall_t)GetWindowModuleFileNameA}, + {"GetWindowOrgEx", 0, (syscall_t)GetWindowOrgEx}, + {"GetWindowPlacement", 0, (syscall_t)GetWindowPlacement}, + {"GetWindowRect", 0, (syscall_t)GetWindowRect}, + {"GetWindowRgn", 0, (syscall_t)GetWindowRgn}, + {"GetWindowRgnBox", 0, (syscall_t)GetWindowRgnBox}, + {"GetWindowTextA", 0, (syscall_t)GetWindowTextA}, + {"GetWindowTextLengthA", 0, (syscall_t)GetWindowTextLengthA}, + {"GetWindowThreadProcessId", 0, (syscall_t)GetWindowThreadProcessId}, + {"GetWindowWord", 0, (syscall_t)GetWindowWord}, + {"GetWindowsAccountDomainSid", 0, (syscall_t)GetWindowsAccountDomainSid}, + {"GetWindowsDirectoryA", 0, (syscall_t)GetWindowsDirectoryA}, + {"GetWorldTransform", 0, (syscall_t)GetWorldTransform}, + {"GetWriteWatch", 0, (syscall_t)GetWriteWatch}, + {"GetXStateFeaturesMask", 0, (syscall_t)GetXStateFeaturesMask}, + {"GlobalAddAtomA", 0, (syscall_t)GlobalAddAtomA}, + {"GlobalAddAtomExA", 0, (syscall_t)GlobalAddAtomExA}, + {"GlobalAlloc", 0, (syscall_t)GlobalAlloc}, + {"GlobalCompact", 0, (syscall_t)GlobalCompact}, + {"GlobalDeleteAtom", 0, (syscall_t)GlobalDeleteAtom}, + {"GlobalFindAtomA", 0, (syscall_t)GlobalFindAtomA}, + {"GlobalFix", 0, (syscall_t)GlobalFix}, + {"GlobalFlags", 0, (syscall_t)GlobalFlags}, + {"GlobalFree", 0, (syscall_t)GlobalFree}, + {"GlobalGetAtomNameA", 0, (syscall_t)GlobalGetAtomNameA}, + {"GlobalHandle", 0, (syscall_t)GlobalHandle}, + {"GlobalLock", 0, (syscall_t)GlobalLock}, + {"GlobalMemoryStatus", 0, (syscall_t)GlobalMemoryStatus}, + {"GlobalMemoryStatusEx", 0, (syscall_t)GlobalMemoryStatusEx}, + {"GlobalReAlloc", 0, (syscall_t)GlobalReAlloc}, + {"GlobalSize", 0, (syscall_t)GlobalSize}, + {"GlobalUnWire", 0, (syscall_t)GlobalUnWire}, + {"GlobalUnfix", 0, (syscall_t)GlobalUnfix}, + {"GlobalUnlock", 0, (syscall_t)GlobalUnlock}, + {"GlobalWire", 0, (syscall_t)GlobalWire}, + {"GradientFill", 0, (syscall_t)GradientFill}, + {"GrayStringA", 0, (syscall_t)GrayStringA}, + {"HeapAlloc", 0, (syscall_t)HeapAlloc}, + {"HeapCompact", 0, (syscall_t)HeapCompact}, + {"HeapCreate", 0, (syscall_t)HeapCreate}, + {"HeapDestroy", 0, (syscall_t)HeapDestroy}, + {"HeapFree", 0, (syscall_t)HeapFree}, + {"HeapLock", 0, (syscall_t)HeapLock}, + {"HeapQueryInformation", 0, (syscall_t)HeapQueryInformation}, + {"HeapReAlloc", 0, (syscall_t)HeapReAlloc}, + {"HeapSetInformation", 0, (syscall_t)HeapSetInformation}, + {"HeapSize", 0, (syscall_t)HeapSize}, + {"HeapSummary", 0, (syscall_t)HeapSummary}, + {"HeapUnlock", 0, (syscall_t)HeapUnlock}, + {"HeapValidate", 0, (syscall_t)HeapValidate}, + {"HeapWalk", 0, (syscall_t)HeapWalk}, + {"HideCaret", 0, (syscall_t)HideCaret}, + {"HiliteMenuItem", 0, (syscall_t)HiliteMenuItem}, + {"I_UuidCreate", 0, (syscall_t)I_UuidCreate}, + {"IdnToAscii", 0, (syscall_t)IdnToAscii}, + {"IdnToUnicode", 0, (syscall_t)IdnToUnicode}, + {"ImmAssociateContext", 0, (syscall_t)ImmAssociateContext}, + {"ImmAssociateContextEx", 0, (syscall_t)ImmAssociateContextEx}, + {"ImmConfigureIMEA", 0, (syscall_t)ImmConfigureIMEA}, + {"ImmCreateContext", 0, (syscall_t)ImmCreateContext}, + {"ImmDestroyContext", 0, (syscall_t)ImmDestroyContext}, + {"ImmDisableIME", 0, (syscall_t)ImmDisableIME}, + {"ImmDisableLegacyIME", 0, (syscall_t)ImmDisableLegacyIME}, + {"ImmDisableTextFrameService", 0, (syscall_t)ImmDisableTextFrameService}, + {"ImmEnumInputContext", 0, (syscall_t)ImmEnumInputContext}, + {"ImmEnumRegisterWordA", 0, (syscall_t)ImmEnumRegisterWordA}, + {"ImmEscapeA", 0, (syscall_t)ImmEscapeA}, + {"ImmGetCandidateListA", 0, (syscall_t)ImmGetCandidateListA}, + {"ImmGetCandidateListCountA", 0, (syscall_t)ImmGetCandidateListCountA}, + {"ImmGetCandidateWindow", 0, (syscall_t)ImmGetCandidateWindow}, + {"ImmGetCompositionFontA", 0, (syscall_t)ImmGetCompositionFontA}, + {"ImmGetCompositionStringA", 0, (syscall_t)ImmGetCompositionStringA}, + {"ImmGetCompositionWindow", 0, (syscall_t)ImmGetCompositionWindow}, + {"ImmGetContext", 0, (syscall_t)ImmGetContext}, + {"ImmGetConversionListA", 0, (syscall_t)ImmGetConversionListA}, + {"ImmGetConversionStatus", 0, (syscall_t)ImmGetConversionStatus}, + {"ImmGetDefaultIMEWnd", 0, (syscall_t)ImmGetDefaultIMEWnd}, + {"ImmGetDescriptionA", 0, (syscall_t)ImmGetDescriptionA}, + {"ImmGetGuideLineA", 0, (syscall_t)ImmGetGuideLineA}, + {"ImmGetIMEFileNameA", 0, (syscall_t)ImmGetIMEFileNameA}, + {"ImmGetImeMenuItemsA", 0, (syscall_t)ImmGetImeMenuItemsA}, + {"ImmGetOpenStatus", 0, (syscall_t)ImmGetOpenStatus}, + {"ImmGetProperty", 0, (syscall_t)ImmGetProperty}, + {"ImmGetRegisterWordStyleA", 0, (syscall_t)ImmGetRegisterWordStyleA}, + {"ImmGetStatusWindowPos", 0, (syscall_t)ImmGetStatusWindowPos}, + {"ImmGetVirtualKey", 0, (syscall_t)ImmGetVirtualKey}, + {"ImmInstallIMEA", 0, (syscall_t)ImmInstallIMEA}, + {"ImmIsIME", 0, (syscall_t)ImmIsIME}, + {"ImmIsUIMessageA", 0, (syscall_t)ImmIsUIMessageA}, + {"ImmNotifyIME", 0, (syscall_t)ImmNotifyIME}, + {"ImmRegisterWordA", 0, (syscall_t)ImmRegisterWordA}, + {"ImmReleaseContext", 0, (syscall_t)ImmReleaseContext}, + {"ImmSetCandidateWindow", 0, (syscall_t)ImmSetCandidateWindow}, + {"ImmSetCompositionFontA", 0, (syscall_t)ImmSetCompositionFontA}, + {"ImmSetCompositionStringA", 0, (syscall_t)ImmSetCompositionStringA}, + {"ImmSetCompositionWindow", 0, (syscall_t)ImmSetCompositionWindow}, + {"ImmSetConversionStatus", 0, (syscall_t)ImmSetConversionStatus}, + {"ImmSetOpenStatus", 0, (syscall_t)ImmSetOpenStatus}, + {"ImmSetStatusWindowPos", 0, (syscall_t)ImmSetStatusWindowPos}, + {"ImmSimulateHotKey", 0, (syscall_t)ImmSimulateHotKey}, + {"ImmUnregisterWordA", 0, (syscall_t)ImmUnregisterWordA}, + {"ImpersonateAnonymousToken", 0, (syscall_t)ImpersonateAnonymousToken}, + {"ImpersonateDdeClientWindow", 0, (syscall_t)ImpersonateDdeClientWindow}, + {"ImpersonateLoggedOnUser", 0, (syscall_t)ImpersonateLoggedOnUser}, + {"ImpersonateNamedPipeClient", 0, (syscall_t)ImpersonateNamedPipeClient}, + {"ImpersonateSelf", 0, (syscall_t)ImpersonateSelf}, + {"InSendMessage", 0, (syscall_t)InSendMessage}, + {"InSendMessageEx", 0, (syscall_t)InSendMessageEx}, + {"InflateRect", 0, (syscall_t)InflateRect}, + {"InheritWindowMonitor", 0, (syscall_t)InheritWindowMonitor}, + {"InitAtomTable", 0, (syscall_t)InitAtomTable}, + {"InitNetworkAddressControl", 0, (syscall_t)InitNetworkAddressControl}, + {"InitOnceBeginInitialize", 0, (syscall_t)InitOnceBeginInitialize}, + {"InitOnceComplete", 0, (syscall_t)InitOnceComplete}, + {"InitOnceExecuteOnce", 0, (syscall_t)InitOnceExecuteOnce}, + {"InitOnceInitialize", 0, (syscall_t)InitOnceInitialize}, + {"InitializeAcl", 0, (syscall_t)InitializeAcl}, + {"InitializeConditionVariable", 0, (syscall_t)InitializeConditionVariable}, + {"InitializeContext", 0, (syscall_t)InitializeContext}, + {"InitializeCriticalSection", 0, (syscall_t)InitializeCriticalSection}, + {"InitializeCriticalSectionAndSpinCount", 0, (syscall_t)InitializeCriticalSectionAndSpinCount}, + {"InitializeCriticalSectionEx", 0, (syscall_t)InitializeCriticalSectionEx}, + {"InitializeEnclave", 0, (syscall_t)InitializeEnclave}, + {"InitializeProcThreadAttributeList", 0, (syscall_t)InitializeProcThreadAttributeList}, + {"InitializeSListHead", 0, (syscall_t)InitializeSListHead}, + {"InitializeSRWLock", 0, (syscall_t)InitializeSRWLock}, + {"InitializeSecurityDescriptor", 0, (syscall_t)InitializeSecurityDescriptor}, + {"InitializeSid", 0, (syscall_t)InitializeSid}, + {"InitializeSynchronizationBarrier", 0, (syscall_t)InitializeSynchronizationBarrier}, + {"InitializeTouchInjection", 0, (syscall_t)InitializeTouchInjection}, + {"InjectTouchInput", 0, (syscall_t)InjectTouchInput}, + {"InsertMenuA", 0, (syscall_t)InsertMenuA}, + {"InsertMenuItemA", 0, (syscall_t)InsertMenuItemA}, + {"InstallELAMCertificateInfo", 0, (syscall_t)InstallELAMCertificateInfo}, + {"InstallPrinterDriverFromPackageA", 0, (syscall_t)InstallPrinterDriverFromPackageA}, + {"InterlockedFlushSList", 0, (syscall_t)InterlockedFlushSList}, + {"InterlockedPopEntrySList", 0, (syscall_t)InterlockedPopEntrySList}, + {"InterlockedPushEntrySList", 0, (syscall_t)InterlockedPushEntrySList}, + {"InterlockedPushListSListEx", 0, (syscall_t)InterlockedPushListSListEx}, + {"InternalGetWindowText", 0, (syscall_t)InternalGetWindowText}, + {"IntersectClipRect", 0, (syscall_t)IntersectClipRect}, + {"IntersectRect", 0, (syscall_t)IntersectRect}, + {"InvalidateRect", 0, (syscall_t)InvalidateRect}, + {"InvalidateRgn", 0, (syscall_t)InvalidateRgn}, + {"InvertRect", 0, (syscall_t)InvertRect}, + {"InvertRgn", 0, (syscall_t)InvertRgn}, + {"IsBadCodePtr", 0, (syscall_t)IsBadCodePtr}, + {"IsBadHugeReadPtr", 0, (syscall_t)IsBadHugeReadPtr}, + {"IsBadHugeWritePtr", 0, (syscall_t)IsBadHugeWritePtr}, + {"IsBadReadPtr", 0, (syscall_t)IsBadReadPtr}, + {"IsBadStringPtrA", 0, (syscall_t)IsBadStringPtrA}, + {"IsBadWritePtr", 0, (syscall_t)IsBadWritePtr}, + {"IsCharAlphaA", 0, (syscall_t)IsCharAlphaA}, + {"IsCharAlphaNumericA", 0, (syscall_t)IsCharAlphaNumericA}, + {"IsCharLowerA", 0, (syscall_t)IsCharLowerA}, + {"IsCharUpperA", 0, (syscall_t)IsCharUpperA}, + {"IsChild", 0, (syscall_t)IsChild}, + {"IsClipboardFormatAvailable", 0, (syscall_t)IsClipboardFormatAvailable}, + {"IsDBCSLeadByte", 0, (syscall_t)IsDBCSLeadByte}, + {"IsDBCSLeadByteEx", 0, (syscall_t)IsDBCSLeadByteEx}, + {"IsDebuggerPresent", 0, (syscall_t)IsDebuggerPresent}, + {"IsDialogMessageA", 0, (syscall_t)IsDialogMessageA}, + {"IsDlgButtonChecked", 0, (syscall_t)IsDlgButtonChecked}, + {"IsEnclaveTypeSupported", 0, (syscall_t)IsEnclaveTypeSupported}, + {"IsGUIThread", 0, (syscall_t)IsGUIThread}, + {"IsHungAppWindow", 0, (syscall_t)IsHungAppWindow}, + {"IsIconic", 0, (syscall_t)IsIconic}, + {"IsImmersiveProcess", 0, (syscall_t)IsImmersiveProcess}, + {"IsLFNDriveA", 0, (syscall_t)IsLFNDriveA}, + {"IsMenu", 0, (syscall_t)IsMenu}, + {"IsMouseInPointerEnabled", 0, (syscall_t)IsMouseInPointerEnabled}, + {"IsNLSDefinedString", 0, (syscall_t)IsNLSDefinedString}, + {"IsNativeVhdBoot", 0, (syscall_t)IsNativeVhdBoot}, + {"IsNormalizedString", 0, (syscall_t)IsNormalizedString}, + {"IsProcessCritical", 0, (syscall_t)IsProcessCritical}, + {"IsProcessDPIAware", 0, (syscall_t)IsProcessDPIAware}, + {"IsProcessInJob", 0, (syscall_t)IsProcessInJob}, + {"IsProcessorFeaturePresent", 0, (syscall_t)IsProcessorFeaturePresent}, + {"IsRectEmpty", 0, (syscall_t)IsRectEmpty}, + {"IsSystemResumeAutomatic", 0, (syscall_t)IsSystemResumeAutomatic}, + {"IsTextUnicode", 0, (syscall_t)IsTextUnicode}, + {"IsThreadAFiber", 0, (syscall_t)IsThreadAFiber}, + {"IsThreadpoolTimerSet", 0, (syscall_t)IsThreadpoolTimerSet}, + {"IsTokenRestricted", 0, (syscall_t)IsTokenRestricted}, + {"IsTokenUntrusted", 0, (syscall_t)IsTokenUntrusted}, + {"IsTouchWindow", 0, (syscall_t)IsTouchWindow}, + {"IsValidAcl", 0, (syscall_t)IsValidAcl}, + {"IsValidCodePage", 0, (syscall_t)IsValidCodePage}, + {"IsValidDevmodeA", 0, (syscall_t)IsValidDevmodeA}, + {"IsValidDpiAwarenessContext", 0, (syscall_t)IsValidDpiAwarenessContext}, + {"IsValidLanguageGroup", 0, (syscall_t)IsValidLanguageGroup}, + {"IsValidLocale", 0, (syscall_t)IsValidLocale}, + {"IsValidLocaleName", 0, (syscall_t)IsValidLocaleName}, + {"IsValidNLSVersion", 0, (syscall_t)IsValidNLSVersion}, + {"IsValidSecurityDescriptor", 0, (syscall_t)IsValidSecurityDescriptor}, + {"IsValidSid", 0, (syscall_t)IsValidSid}, + {"IsWellKnownSid", 0, (syscall_t)IsWellKnownSid}, + {"IsWinEventHookInstalled", 0, (syscall_t)IsWinEventHookInstalled}, + {"IsWindow", 0, (syscall_t)IsWindow}, + {"IsWindowEnabled", 0, (syscall_t)IsWindowEnabled}, + {"IsWindowUnicode", 0, (syscall_t)IsWindowUnicode}, + {"IsWindowVisible", 0, (syscall_t)IsWindowVisible}, + {"IsWow64Message", 0, (syscall_t)IsWow64Message}, + {"IsWow64Process", 0, (syscall_t)IsWow64Process}, + {"IsWow64Process2", 0, (syscall_t)IsWow64Process2}, + {"IsZoomed", 0, (syscall_t)IsZoomed}, + {"KillTimer", 0, (syscall_t)KillTimer}, + {"LCIDToLocaleName", 0, (syscall_t)LCIDToLocaleName}, + {"LCMapStringA", 0, (syscall_t)LCMapStringA}, + {"LCMapStringEx", 0, (syscall_t)LCMapStringEx}, + {"LPSAFEARRAY_UserFree", 0, (syscall_t)LPSAFEARRAY_UserFree}, + {"LPSAFEARRAY_UserFree64", 0, (syscall_t)LPSAFEARRAY_UserFree64}, + {"LPSAFEARRAY_UserMarshal", 0, (syscall_t)LPSAFEARRAY_UserMarshal}, + {"LPSAFEARRAY_UserMarshal64", 0, (syscall_t)LPSAFEARRAY_UserMarshal64}, + {"LPSAFEARRAY_UserSize", 0, (syscall_t)LPSAFEARRAY_UserSize}, + {"LPSAFEARRAY_UserSize64", 0, (syscall_t)LPSAFEARRAY_UserSize64}, + {"LPSAFEARRAY_UserUnmarshal", 0, (syscall_t)LPSAFEARRAY_UserUnmarshal}, + {"LPSAFEARRAY_UserUnmarshal64", 0, (syscall_t)LPSAFEARRAY_UserUnmarshal64}, + {"LPtoDP", 0, (syscall_t)LPtoDP}, + {"LZClose", 0, (syscall_t)LZClose}, + {"LZCopy", 0, (syscall_t)LZCopy}, + {"LZDone", 0, (syscall_t)LZDone}, + {"LZInit", 0, (syscall_t)LZInit}, + {"LZOpenFileA", 0, (syscall_t)LZOpenFileA}, + {"LZRead", 0, (syscall_t)LZRead}, + {"LZSeek", 0, (syscall_t)LZSeek}, + {"LZStart", 0, (syscall_t)LZStart}, + {"LeaveCriticalSection", 0, (syscall_t)LeaveCriticalSection}, + {"LeaveCriticalSectionWhenCallbackReturns", 0, (syscall_t)LeaveCriticalSectionWhenCallbackReturns}, + {"LineDDA", 0, (syscall_t)LineDDA}, + {"LineTo", 0, (syscall_t)LineTo}, + {"LoadAcceleratorsA", 0, (syscall_t)LoadAcceleratorsA}, + {"LoadBitmapA", 0, (syscall_t)LoadBitmapA}, + {"LoadCursorA", 0, (syscall_t)LoadCursorA}, + {"LoadCursorFromFileA", 0, (syscall_t)LoadCursorFromFileA}, + {"LoadEnclaveData", 0, (syscall_t)LoadEnclaveData}, + {"LoadIconA", 0, (syscall_t)LoadIconA}, + {"LoadImageA", 0, (syscall_t)LoadImageA}, + {"LoadKeyboardLayoutA", 0, (syscall_t)LoadKeyboardLayoutA}, + {"LoadLibraryA", 0, (syscall_t)LoadLibraryA}, + {"LoadLibraryExA", 0, (syscall_t)LoadLibraryExA}, + {"LoadMenuA", 0, (syscall_t)LoadMenuA}, + {"LoadMenuIndirectA", 0, (syscall_t)LoadMenuIndirectA}, + {"LoadModule", 0, (syscall_t)LoadModule}, + {"LoadPackagedLibrary", 0, (syscall_t)LoadPackagedLibrary}, + {"LoadResource", 0, (syscall_t)LoadResource}, + {"LoadStringA", 0, (syscall_t)LoadStringA}, + {"LocalAlloc", 0, (syscall_t)LocalAlloc}, + {"LocalCompact", 0, (syscall_t)LocalCompact}, + {"LocalFileTimeToFileTime", 0, (syscall_t)LocalFileTimeToFileTime}, + {"LocalFlags", 0, (syscall_t)LocalFlags}, + {"LocalFree", 0, (syscall_t)LocalFree}, + {"LocalHandle", 0, (syscall_t)LocalHandle}, + {"LocalLock", 0, (syscall_t)LocalLock}, + {"LocalReAlloc", 0, (syscall_t)LocalReAlloc}, + {"LocalShrink", 0, (syscall_t)LocalShrink}, + {"LocalSize", 0, (syscall_t)LocalSize}, + {"LocalUnlock", 0, (syscall_t)LocalUnlock}, + {"LocaleNameToLCID", 0, (syscall_t)LocaleNameToLCID}, + {"LocateXStateFeature", 0, (syscall_t)LocateXStateFeature}, + {"LockFile", 0, (syscall_t)LockFile}, + {"LockFileEx", 0, (syscall_t)LockFileEx}, + {"LockResource", 0, (syscall_t)LockResource}, + {"LockServiceDatabase", 0, (syscall_t)LockServiceDatabase}, + {"LockSetForegroundWindow", 0, (syscall_t)LockSetForegroundWindow}, + {"LockWindowUpdate", 0, (syscall_t)LockWindowUpdate}, + {"LogicalToPhysicalPoint", 0, (syscall_t)LogicalToPhysicalPoint}, + {"LogicalToPhysicalPointForPerMonitorDPI", 0, (syscall_t)LogicalToPhysicalPointForPerMonitorDPI}, + {"LogonUserA", 0, (syscall_t)LogonUserA}, + {"LogonUserExA", 0, (syscall_t)LogonUserExA}, + {"LookupAccountNameA", 0, (syscall_t)LookupAccountNameA}, + {"LookupAccountSidA", 0, (syscall_t)LookupAccountSidA}, + {"LookupIconIdFromDirectory", 0, (syscall_t)LookupIconIdFromDirectory}, + {"LookupIconIdFromDirectoryEx", 0, (syscall_t)LookupIconIdFromDirectoryEx}, + {"LookupPrivilegeDisplayNameA", 0, (syscall_t)LookupPrivilegeDisplayNameA}, + {"LookupPrivilegeNameA", 0, (syscall_t)LookupPrivilegeNameA}, + {"LookupPrivilegeValueA", 0, (syscall_t)LookupPrivilegeValueA}, + {"MakeAbsoluteSD", 0, (syscall_t)MakeAbsoluteSD}, + {"MakeSelfRelativeSD", 0, (syscall_t)MakeSelfRelativeSD}, + {"MapDialogRect", 0, (syscall_t)MapDialogRect}, + {"MapGenericMask", 0, (syscall_t)MapGenericMask}, + {"MapUserPhysicalPages", 0, (syscall_t)MapUserPhysicalPages}, + {"MapUserPhysicalPagesScatter", 0, (syscall_t)MapUserPhysicalPagesScatter}, + {"MapViewOfFile", 0, (syscall_t)MapViewOfFile}, + {"MapViewOfFileEx", 0, (syscall_t)MapViewOfFileEx}, + {"MapViewOfFileExNuma", 0, (syscall_t)MapViewOfFileExNuma}, + {"MapViewOfFileFromApp", 0, (syscall_t)MapViewOfFileFromApp}, + {"MapVirtualKeyA", 0, (syscall_t)MapVirtualKeyA}, + {"MapVirtualKeyExA", 0, (syscall_t)MapVirtualKeyExA}, + {"MapWindowPoints", 0, (syscall_t)MapWindowPoints}, + {"MaskBlt", 0, (syscall_t)MaskBlt}, + {"MenuItemFromPoint", 0, (syscall_t)MenuItemFromPoint}, + {"MessageBeep", 0, (syscall_t)MessageBeep}, + {"MessageBoxA", 0, (syscall_t)MessageBoxA}, + {"MessageBoxExA", 0, (syscall_t)MessageBoxExA}, + {"MessageBoxIndirectA", 0, (syscall_t)MessageBoxIndirectA}, + {"ModifyMenuA", 0, (syscall_t)ModifyMenuA}, + {"ModifyWorldTransform", 0, (syscall_t)ModifyWorldTransform}, + {"MonitorFromPoint", 0, (syscall_t)MonitorFromPoint}, + {"MonitorFromRect", 0, (syscall_t)MonitorFromRect}, + {"MonitorFromWindow", 0, (syscall_t)MonitorFromWindow}, + {"MoveFileA", 0, (syscall_t)MoveFileA}, + {"MoveFileExA", 0, (syscall_t)MoveFileExA}, + {"MoveFileTransactedA", 0, (syscall_t)MoveFileTransactedA}, + {"MoveFileWithProgressA", 0, (syscall_t)MoveFileWithProgressA}, + {"MoveToEx", 0, (syscall_t)MoveToEx}, + {"MoveWindow", 0, (syscall_t)MoveWindow}, + {"MsgWaitForMultipleObjects", 0, (syscall_t)MsgWaitForMultipleObjects}, + {"MsgWaitForMultipleObjectsEx", 0, (syscall_t)MsgWaitForMultipleObjectsEx}, + {"MulDiv", 0, (syscall_t)MulDiv}, + {"MultiByteToWideChar", 0, (syscall_t)MultiByteToWideChar}, + {"MultinetGetConnectionPerformanceA", 0, (syscall_t)MultinetGetConnectionPerformanceA}, + {"NCryptCreateClaim", 0, (syscall_t)NCryptCreateClaim}, + {"NCryptCreatePersistedKey", 0, (syscall_t)NCryptCreatePersistedKey}, + {"NCryptDecrypt", 0, (syscall_t)NCryptDecrypt}, + {"NCryptDeleteKey", 0, (syscall_t)NCryptDeleteKey}, + {"NCryptDeriveKey", 0, (syscall_t)NCryptDeriveKey}, + {"NCryptEncrypt", 0, (syscall_t)NCryptEncrypt}, + {"NCryptEnumAlgorithms", 0, (syscall_t)NCryptEnumAlgorithms}, + {"NCryptEnumKeys", 0, (syscall_t)NCryptEnumKeys}, + {"NCryptEnumStorageProviders", 0, (syscall_t)NCryptEnumStorageProviders}, + {"NCryptExportKey", 0, (syscall_t)NCryptExportKey}, + {"NCryptFinalizeKey", 0, (syscall_t)NCryptFinalizeKey}, + {"NCryptFreeBuffer", 0, (syscall_t)NCryptFreeBuffer}, + {"NCryptFreeObject", 0, (syscall_t)NCryptFreeObject}, + {"NCryptGetProperty", 0, (syscall_t)NCryptGetProperty}, + {"NCryptImportKey", 0, (syscall_t)NCryptImportKey}, + {"NCryptIsAlgSupported", 0, (syscall_t)NCryptIsAlgSupported}, + {"NCryptIsKeyHandle", 0, (syscall_t)NCryptIsKeyHandle}, + {"NCryptKeyDerivation", 0, (syscall_t)NCryptKeyDerivation}, + {"NCryptNotifyChangeKey", 0, (syscall_t)NCryptNotifyChangeKey}, + {"NCryptOpenKey", 0, (syscall_t)NCryptOpenKey}, + {"NCryptOpenStorageProvider", 0, (syscall_t)NCryptOpenStorageProvider}, + {"NCryptSecretAgreement", 0, (syscall_t)NCryptSecretAgreement}, + {"NCryptSetProperty", 0, (syscall_t)NCryptSetProperty}, + {"NCryptSignHash", 0, (syscall_t)NCryptSignHash}, + {"NCryptTranslateHandle", 0, (syscall_t)NCryptTranslateHandle}, + {"NCryptVerifyClaim", 0, (syscall_t)NCryptVerifyClaim}, + {"NCryptVerifySignature", 0, (syscall_t)NCryptVerifySignature}, + {"NeedCurrentDirectoryForExePathA", 0, (syscall_t)NeedCurrentDirectoryForExePathA}, + {"NormalizeString", 0, (syscall_t)NormalizeString}, + {"NotifyBootConfigStatus", 0, (syscall_t)NotifyBootConfigStatus}, + {"NotifyChangeEventLog", 0, (syscall_t)NotifyChangeEventLog}, + {"NotifyServiceStatusChangeA", 0, (syscall_t)NotifyServiceStatusChangeA}, + {"NotifyUILanguageChange", 0, (syscall_t)NotifyUILanguageChange}, + {"NotifyWinEvent", 0, (syscall_t)NotifyWinEvent}, + {"ObjectCloseAuditAlarmA", 0, (syscall_t)ObjectCloseAuditAlarmA}, + {"ObjectDeleteAuditAlarmA", 0, (syscall_t)ObjectDeleteAuditAlarmA}, + {"ObjectOpenAuditAlarmA", 0, (syscall_t)ObjectOpenAuditAlarmA}, + {"ObjectPrivilegeAuditAlarmA", 0, (syscall_t)ObjectPrivilegeAuditAlarmA}, + {"OemKeyScan", 0, (syscall_t)OemKeyScan}, + {"OemToCharA", 0, (syscall_t)OemToCharA}, + {"OemToCharBuffA", 0, (syscall_t)OemToCharBuffA}, + {"OfferVirtualMemory", 0, (syscall_t)OfferVirtualMemory}, + {"OffsetClipRgn", 0, (syscall_t)OffsetClipRgn}, + {"OffsetRect", 0, (syscall_t)OffsetRect}, + {"OffsetRgn", 0, (syscall_t)OffsetRgn}, + {"OffsetViewportOrgEx", 0, (syscall_t)OffsetViewportOrgEx}, + {"OffsetWindowOrgEx", 0, (syscall_t)OffsetWindowOrgEx}, + {"OpenBackupEventLogA", 0, (syscall_t)OpenBackupEventLogA}, + {"OpenClipboard", 0, (syscall_t)OpenClipboard}, + {"OpenDesktopA", 0, (syscall_t)OpenDesktopA}, + {"OpenDriver", 0, (syscall_t)OpenDriver}, + {"OpenEncryptedFileRawA", 0, (syscall_t)OpenEncryptedFileRawA}, + {"OpenEventA", 0, (syscall_t)OpenEventA}, + {"OpenEventLogA", 0, (syscall_t)OpenEventLogA}, + {"OpenFile", 0, (syscall_t)OpenFile}, + {"OpenFileById", 0, (syscall_t)OpenFileById}, + {"OpenFileMappingA", 0, (syscall_t)OpenFileMappingA}, + {"OpenFileMappingFromApp", 0, (syscall_t)OpenFileMappingFromApp}, + {"OpenIcon", 0, (syscall_t)OpenIcon}, + {"OpenInputDesktop", 0, (syscall_t)OpenInputDesktop}, + {"OpenJobObjectA", 0, (syscall_t)OpenJobObjectA}, + {"OpenMutexA", 0, (syscall_t)OpenMutexA}, + {"OpenPrinter2A", 0, (syscall_t)OpenPrinter2A}, + {"OpenPrinterA", 0, (syscall_t)OpenPrinterA}, + {"OpenPrivateNamespaceA", 0, (syscall_t)OpenPrivateNamespaceA}, + {"OpenProcess", 0, (syscall_t)OpenProcess}, + {"OpenProcessToken", 0, (syscall_t)OpenProcessToken}, + {"OpenSCManagerA", 0, (syscall_t)OpenSCManagerA}, + {"OpenSemaphoreA", 0, (syscall_t)OpenSemaphoreA}, + {"OpenServiceA", 0, (syscall_t)OpenServiceA}, + {"OpenThread", 0, (syscall_t)OpenThread}, + {"OpenThreadToken", 0, (syscall_t)OpenThreadToken}, + {"OpenWaitableTimerA", 0, (syscall_t)OpenWaitableTimerA}, + {"OpenWindowStationA", 0, (syscall_t)OpenWindowStationA}, + {"OperationEnd", 0, (syscall_t)OperationEnd}, + {"OperationStart", 0, (syscall_t)OperationStart}, + {"OutputDebugStringA", 0, (syscall_t)OutputDebugStringA}, + {"PFXExportCertStore", 0, (syscall_t)PFXExportCertStore}, + {"PFXExportCertStoreEx", 0, (syscall_t)PFXExportCertStoreEx}, + {"PFXImportCertStore", 0, (syscall_t)PFXImportCertStore}, + {"PFXIsPFXBlob", 0, (syscall_t)PFXIsPFXBlob}, + {"PFXVerifyPassword", 0, (syscall_t)PFXVerifyPassword}, + {"PackDDElParam", 0, (syscall_t)PackDDElParam}, + {"PackTouchHitTestingProximityEvaluation", 0, (syscall_t)PackTouchHitTestingProximityEvaluation}, + {"PageSetupDlgA", 0, (syscall_t)PageSetupDlgA}, + {"PaintDesktop", 0, (syscall_t)PaintDesktop}, + {"PaintRgn", 0, (syscall_t)PaintRgn}, + {"PatBlt", 0, (syscall_t)PatBlt}, + {"PathToRegion", 0, (syscall_t)PathToRegion}, + {"PeekConsoleInputA", 0, (syscall_t)PeekConsoleInputA}, + {"PeekMessageA", 0, (syscall_t)PeekMessageA}, + {"PeekNamedPipe", 0, (syscall_t)PeekNamedPipe}, + {"PhysicalToLogicalPoint", 0, (syscall_t)PhysicalToLogicalPoint}, + {"PhysicalToLogicalPointForPerMonitorDPI", 0, (syscall_t)PhysicalToLogicalPointForPerMonitorDPI}, + {"Pie", 0, (syscall_t)Pie}, + {"PlayEnhMetaFile", 0, (syscall_t)PlayEnhMetaFile}, + {"PlayEnhMetaFileRecord", 0, (syscall_t)PlayEnhMetaFileRecord}, + {"PlayMetaFile", 0, (syscall_t)PlayMetaFile}, + {"PlayMetaFileRecord", 0, (syscall_t)PlayMetaFileRecord}, + {"PlaySoundA", 0, (syscall_t)PlaySoundA}, + {"PlgBlt", 0, (syscall_t)PlgBlt}, + {"PolyBezier", 0, (syscall_t)PolyBezier}, + {"PolyBezierTo", 0, (syscall_t)PolyBezierTo}, + {"PolyDraw", 0, (syscall_t)PolyDraw}, + {"PolyPolygon", 0, (syscall_t)PolyPolygon}, + {"PolyPolyline", 0, (syscall_t)PolyPolyline}, + {"PolyTextOutA", 0, (syscall_t)PolyTextOutA}, + {"Polygon", 0, (syscall_t)Polygon}, + {"Polyline", 0, (syscall_t)Polyline}, + {"PolylineTo", 0, (syscall_t)PolylineTo}, + {"PostMessageA", 0, (syscall_t)PostMessageA}, + {"PostQueuedCompletionStatus", 0, (syscall_t)PostQueuedCompletionStatus}, + {"PostQuitMessage", 0, (syscall_t)PostQuitMessage}, + {"PostThreadMessageA", 0, (syscall_t)PostThreadMessageA}, + {"PowerClearRequest", 0, (syscall_t)PowerClearRequest}, + {"PowerCreateRequest", 0, (syscall_t)PowerCreateRequest}, + {"PowerSetRequest", 0, (syscall_t)PowerSetRequest}, + {"PrefetchVirtualMemory", 0, (syscall_t)PrefetchVirtualMemory}, + {"PrepareTape", 0, (syscall_t)PrepareTape}, + {"PrintDlgA", 0, (syscall_t)PrintDlgA}, + {"PrintDlgExA", 0, (syscall_t)PrintDlgExA}, + {"PrintWindow", 0, (syscall_t)PrintWindow}, + {"PrinterMessageBoxA", 0, (syscall_t)PrinterMessageBoxA}, + {"PrinterProperties", 0, (syscall_t)PrinterProperties}, + {"PrivateExtractIconsA", 0, (syscall_t)PrivateExtractIconsA}, + {"PrivilegeCheck", 0, (syscall_t)PrivilegeCheck}, + {"PrivilegedServiceAuditAlarmA", 0, (syscall_t)PrivilegedServiceAuditAlarmA}, + {"ProcessIdToSessionId", 0, (syscall_t)ProcessIdToSessionId}, + {"PropStgNameToFmtId", 0, (syscall_t)PropStgNameToFmtId}, + {"PtInRect", 0, (syscall_t)PtInRect}, + {"PtInRegion", 0, (syscall_t)PtInRegion}, + {"PtVisible", 0, (syscall_t)PtVisible}, + {"PulseEvent", 0, (syscall_t)PulseEvent}, + {"PurgeComm", 0, (syscall_t)PurgeComm}, + {"QueryDepthSList", 0, (syscall_t)QueryDepthSList}, + {"QueryDisplayConfig", 0, (syscall_t)QueryDisplayConfig}, + {"QueryDosDeviceA", 0, (syscall_t)QueryDosDeviceA}, + {"QueryFullProcessImageNameA", 0, (syscall_t)QueryFullProcessImageNameA}, + {"QueryIdleProcessorCycleTime", 0, (syscall_t)QueryIdleProcessorCycleTime}, + {"QueryIdleProcessorCycleTimeEx", 0, (syscall_t)QueryIdleProcessorCycleTimeEx}, + {"QueryInformationJobObject", 0, (syscall_t)QueryInformationJobObject}, + {"QueryInterruptTime", 0, (syscall_t)QueryInterruptTime}, + {"QueryInterruptTimePrecise", 0, (syscall_t)QueryInterruptTimePrecise}, + {"QueryIoRateControlInformationJobObject", 0, (syscall_t)QueryIoRateControlInformationJobObject}, + {"QueryMemoryResourceNotification", 0, (syscall_t)QueryMemoryResourceNotification}, + {"QueryPerformanceCounter", 0, (syscall_t)QueryPerformanceCounter}, + {"QueryPerformanceFrequency", 0, (syscall_t)QueryPerformanceFrequency}, + {"QueryProcessAffinityUpdateMode", 0, (syscall_t)QueryProcessAffinityUpdateMode}, + {"QueryProcessCycleTime", 0, (syscall_t)QueryProcessCycleTime}, + {"QueryProtectedPolicy", 0, (syscall_t)QueryProtectedPolicy}, + {"QueryRecoveryAgentsOnEncryptedFile", 0, (syscall_t)QueryRecoveryAgentsOnEncryptedFile}, + {"QuerySecurityAccessMask", 0, (syscall_t)QuerySecurityAccessMask}, + {"QueryServiceConfig2A", 0, (syscall_t)QueryServiceConfig2A}, + {"QueryServiceConfigA", 0, (syscall_t)QueryServiceConfigA}, + {"QueryServiceDynamicInformation", 0, (syscall_t)QueryServiceDynamicInformation}, + {"QueryServiceLockStatusA", 0, (syscall_t)QueryServiceLockStatusA}, + {"QueryServiceObjectSecurity", 0, (syscall_t)QueryServiceObjectSecurity}, + {"QueryServiceStatus", 0, (syscall_t)QueryServiceStatus}, + {"QueryServiceStatusEx", 0, (syscall_t)QueryServiceStatusEx}, + {"QueryThreadCycleTime", 0, (syscall_t)QueryThreadCycleTime}, + {"QueryThreadProfiling", 0, (syscall_t)QueryThreadProfiling}, + {"QueryThreadpoolStackInformation", 0, (syscall_t)QueryThreadpoolStackInformation}, + {"QueryUmsThreadInformation", 0, (syscall_t)QueryUmsThreadInformation}, + {"QueryUnbiasedInterruptTime", 0, (syscall_t)QueryUnbiasedInterruptTime}, + {"QueryUnbiasedInterruptTimePrecise", 0, (syscall_t)QueryUnbiasedInterruptTimePrecise}, + {"QueryUsersOnEncryptedFile", 0, (syscall_t)QueryUsersOnEncryptedFile}, + {"QueryVirtualMemoryInformation", 0, (syscall_t)QueryVirtualMemoryInformation}, + {"QueueUserAPC", 0, (syscall_t)QueueUserAPC}, + {"QueueUserWorkItem", 0, (syscall_t)QueueUserWorkItem}, + {"RaiseException", 0, (syscall_t)RaiseException}, + {"RaiseFailFastException", 0, (syscall_t)RaiseFailFastException}, + {"ReOpenFile", 0, (syscall_t)ReOpenFile}, + {"ReadClassStg", 0, (syscall_t)ReadClassStg}, + {"ReadClassStm", 0, (syscall_t)ReadClassStm}, + {"ReadConsoleA", 0, (syscall_t)ReadConsoleA}, + {"ReadConsoleInputA", 0, (syscall_t)ReadConsoleInputA}, + {"ReadConsoleOutputA", 0, (syscall_t)ReadConsoleOutputA}, + {"ReadConsoleOutputAttribute", 0, (syscall_t)ReadConsoleOutputAttribute}, + {"ReadConsoleOutputCharacterA", 0, (syscall_t)ReadConsoleOutputCharacterA}, + {"ReadEncryptedFileRaw", 0, (syscall_t)ReadEncryptedFileRaw}, + {"ReadEventLogA", 0, (syscall_t)ReadEventLogA}, + {"ReadFile", 0, (syscall_t)ReadFile}, + {"ReadFileEx", 0, (syscall_t)ReadFileEx}, + {"ReadFileScatter", 0, (syscall_t)ReadFileScatter}, + {"ReadPrinter", 0, (syscall_t)ReadPrinter}, + {"ReadProcessMemory", 0, (syscall_t)ReadProcessMemory}, + {"ReadThreadProfilingData", 0, (syscall_t)ReadThreadProfilingData}, + {"RealChildWindowFromPoint", 0, (syscall_t)RealChildWindowFromPoint}, + {"RealGetWindowClassA", 0, (syscall_t)RealGetWindowClassA}, + {"RealizePalette", 0, (syscall_t)RealizePalette}, + {"ReclaimVirtualMemory", 0, (syscall_t)ReclaimVirtualMemory}, + {"RectInRegion", 0, (syscall_t)RectInRegion}, + {"RectVisible", 0, (syscall_t)RectVisible}, + {"Rectangle", 0, (syscall_t)Rectangle}, + {"RedrawWindow", 0, (syscall_t)RedrawWindow}, + {"RegCloseKey", 0, (syscall_t)RegCloseKey}, + {"RegConnectRegistryA", 0, (syscall_t)RegConnectRegistryA}, + {"RegConnectRegistryExA", 0, (syscall_t)RegConnectRegistryExA}, + {"RegCopyTreeA", 0, (syscall_t)RegCopyTreeA}, + {"RegCreateKeyA", 0, (syscall_t)RegCreateKeyA}, + {"RegCreateKeyExA", 0, (syscall_t)RegCreateKeyExA}, + {"RegCreateKeyTransactedA", 0, (syscall_t)RegCreateKeyTransactedA}, + {"RegDeleteKeyA", 0, (syscall_t)RegDeleteKeyA}, + {"RegDeleteKeyExA", 0, (syscall_t)RegDeleteKeyExA}, + {"RegDeleteKeyTransactedA", 0, (syscall_t)RegDeleteKeyTransactedA}, + {"RegDeleteKeyValueA", 0, (syscall_t)RegDeleteKeyValueA}, + {"RegDeleteTreeA", 0, (syscall_t)RegDeleteTreeA}, + {"RegDeleteValueA", 0, (syscall_t)RegDeleteValueA}, + {"RegDisablePredefinedCache", 0, (syscall_t)RegDisablePredefinedCache}, + {"RegDisablePredefinedCacheEx", 0, (syscall_t)RegDisablePredefinedCacheEx}, + {"RegDisableReflectionKey", 0, (syscall_t)RegDisableReflectionKey}, + {"RegEnableReflectionKey", 0, (syscall_t)RegEnableReflectionKey}, + {"RegEnumKeyA", 0, (syscall_t)RegEnumKeyA}, + {"RegEnumKeyExA", 0, (syscall_t)RegEnumKeyExA}, + {"RegEnumValueA", 0, (syscall_t)RegEnumValueA}, + {"RegFlushKey", 0, (syscall_t)RegFlushKey}, + {"RegGetKeySecurity", 0, (syscall_t)RegGetKeySecurity}, + {"RegGetValueA", 0, (syscall_t)RegGetValueA}, + {"RegLoadAppKeyA", 0, (syscall_t)RegLoadAppKeyA}, + {"RegLoadKeyA", 0, (syscall_t)RegLoadKeyA}, + {"RegLoadMUIStringA", 0, (syscall_t)RegLoadMUIStringA}, + {"RegNotifyChangeKeyValue", 0, (syscall_t)RegNotifyChangeKeyValue}, + {"RegOpenCurrentUser", 0, (syscall_t)RegOpenCurrentUser}, + {"RegOpenKeyA", 0, (syscall_t)RegOpenKeyA}, + {"RegOpenKeyExA", 0, (syscall_t)RegOpenKeyExA}, + {"RegOpenKeyTransactedA", 0, (syscall_t)RegOpenKeyTransactedA}, + {"RegOpenUserClassesRoot", 0, (syscall_t)RegOpenUserClassesRoot}, + {"RegOverridePredefKey", 0, (syscall_t)RegOverridePredefKey}, + {"RegQueryInfoKeyA", 0, (syscall_t)RegQueryInfoKeyA}, + {"RegQueryMultipleValuesA", 0, (syscall_t)RegQueryMultipleValuesA}, + {"RegQueryReflectionKey", 0, (syscall_t)RegQueryReflectionKey}, + {"RegQueryValueA", 0, (syscall_t)RegQueryValueA}, + {"RegQueryValueExA", 0, (syscall_t)RegQueryValueExA}, + {"RegRenameKey", 0, (syscall_t)RegRenameKey}, + {"RegReplaceKeyA", 0, (syscall_t)RegReplaceKeyA}, + {"RegRestoreKeyA", 0, (syscall_t)RegRestoreKeyA}, + {"RegSaveKeyA", 0, (syscall_t)RegSaveKeyA}, + {"RegSaveKeyExA", 0, (syscall_t)RegSaveKeyExA}, + {"RegSetKeySecurity", 0, (syscall_t)RegSetKeySecurity}, + {"RegSetKeyValueA", 0, (syscall_t)RegSetKeyValueA}, + {"RegSetValueA", 0, (syscall_t)RegSetValueA}, + {"RegSetValueExA", 0, (syscall_t)RegSetValueExA}, + {"RegUnLoadKeyA", 0, (syscall_t)RegUnLoadKeyA}, + {"RegisterApplicationRecoveryCallback", 0, (syscall_t)RegisterApplicationRecoveryCallback}, + {"RegisterApplicationRestart", 0, (syscall_t)RegisterApplicationRestart}, + {"RegisterBadMemoryNotification", 0, (syscall_t)RegisterBadMemoryNotification}, + {"RegisterClassA", 0, (syscall_t)RegisterClassA}, + {"RegisterClassExA", 0, (syscall_t)RegisterClassExA}, + {"RegisterClipboardFormatA", 0, (syscall_t)RegisterClipboardFormatA}, + {"RegisterDeviceNotificationA", 0, (syscall_t)RegisterDeviceNotificationA}, + {"RegisterEventSourceA", 0, (syscall_t)RegisterEventSourceA}, + {"RegisterHotKey", 0, (syscall_t)RegisterHotKey}, + {"RegisterPointerDeviceNotifications", 0, (syscall_t)RegisterPointerDeviceNotifications}, + {"RegisterPointerInputTarget", 0, (syscall_t)RegisterPointerInputTarget}, + {"RegisterPointerInputTargetEx", 0, (syscall_t)RegisterPointerInputTargetEx}, + {"RegisterPowerSettingNotification", 0, (syscall_t)RegisterPowerSettingNotification}, + {"RegisterRawInputDevices", 0, (syscall_t)RegisterRawInputDevices}, + {"RegisterServiceCtrlHandlerA", 0, (syscall_t)RegisterServiceCtrlHandlerA}, + {"RegisterServiceCtrlHandlerExA", 0, (syscall_t)RegisterServiceCtrlHandlerExA}, + {"RegisterShellHookWindow", 0, (syscall_t)RegisterShellHookWindow}, + {"RegisterSuspendResumeNotification", 0, (syscall_t)RegisterSuspendResumeNotification}, + {"RegisterTouchHitTestingWindow", 0, (syscall_t)RegisterTouchHitTestingWindow}, + {"RegisterTouchWindow", 0, (syscall_t)RegisterTouchWindow}, + {"RegisterWaitForSingleObject", 0, (syscall_t)RegisterWaitForSingleObject}, + {"RegisterWindowMessageA", 0, (syscall_t)RegisterWindowMessageA}, + {"ReleaseActCtx", 0, (syscall_t)ReleaseActCtx}, + {"ReleaseCapture", 0, (syscall_t)ReleaseCapture}, + {"ReleaseDC", 0, (syscall_t)ReleaseDC}, + {"ReleaseMutex", 0, (syscall_t)ReleaseMutex}, + {"ReleaseMutexWhenCallbackReturns", 0, (syscall_t)ReleaseMutexWhenCallbackReturns}, + {"ReleaseSRWLockExclusive", 0, (syscall_t)ReleaseSRWLockExclusive}, + {"ReleaseSRWLockShared", 0, (syscall_t)ReleaseSRWLockShared}, + {"ReleaseSemaphore", 0, (syscall_t)ReleaseSemaphore}, + {"ReleaseSemaphoreWhenCallbackReturns", 0, (syscall_t)ReleaseSemaphoreWhenCallbackReturns}, + {"RemoveClipboardFormatListener", 0, (syscall_t)RemoveClipboardFormatListener}, + {"RemoveDirectoryA", 0, (syscall_t)RemoveDirectoryA}, + {"RemoveDirectoryTransactedA", 0, (syscall_t)RemoveDirectoryTransactedA}, + {"RemoveDllDirectory", 0, (syscall_t)RemoveDllDirectory}, + {"RemoveFontMemResourceEx", 0, (syscall_t)RemoveFontMemResourceEx}, + {"RemoveFontResourceA", 0, (syscall_t)RemoveFontResourceA}, + {"RemoveFontResourceExA", 0, (syscall_t)RemoveFontResourceExA}, + {"RemoveMenu", 0, (syscall_t)RemoveMenu}, + {"RemovePropA", 0, (syscall_t)RemovePropA}, + {"RemoveSecureMemoryCacheCallback", 0, (syscall_t)RemoveSecureMemoryCacheCallback}, + {"RemoveUsersFromEncryptedFile", 0, (syscall_t)RemoveUsersFromEncryptedFile}, + {"RemoveVectoredContinueHandler", 0, (syscall_t)RemoveVectoredContinueHandler}, + {"RemoveVectoredExceptionHandler", 0, (syscall_t)RemoveVectoredExceptionHandler}, + {"ReplaceFileA", 0, (syscall_t)ReplaceFileA}, + {"ReplacePartitionUnit", 0, (syscall_t)ReplacePartitionUnit}, + {"ReplaceTextA", 0, (syscall_t)ReplaceTextA}, + {"ReplyMessage", 0, (syscall_t)ReplyMessage}, + {"ReportEventA", 0, (syscall_t)ReportEventA}, + {"ReportJobProcessingProgress", 0, (syscall_t)ReportJobProcessingProgress}, + {"RequestDeviceWakeup", 0, (syscall_t)RequestDeviceWakeup}, + {"RequestWakeupLatency", 0, (syscall_t)RequestWakeupLatency}, + {"ResetDCA", 0, (syscall_t)ResetDCA}, + {"ResetEvent", 0, (syscall_t)ResetEvent}, + {"ResetPrinterA", 0, (syscall_t)ResetPrinterA}, + {"ResetWriteWatch", 0, (syscall_t)ResetWriteWatch}, + {"ResizePalette", 0, (syscall_t)ResizePalette}, + {"ResolveLocaleName", 0, (syscall_t)ResolveLocaleName}, + {"RestoreDC", 0, (syscall_t)RestoreDC}, + {"ResumeThread", 0, (syscall_t)ResumeThread}, + {"ReuseDDElParam", 0, (syscall_t)ReuseDDElParam}, + {"RevertToSelf", 0, (syscall_t)RevertToSelf}, + {"RoundRect", 0, (syscall_t)RoundRect}, + {"RpcAsyncAbortCall", 0, (syscall_t)RpcAsyncAbortCall}, + {"RpcAsyncCancelCall", 0, (syscall_t)RpcAsyncCancelCall}, + {"RpcAsyncCompleteCall", 0, (syscall_t)RpcAsyncCompleteCall}, + {"RpcAsyncGetCallStatus", 0, (syscall_t)RpcAsyncGetCallStatus}, + {"RpcAsyncInitializeHandle", 0, (syscall_t)RpcAsyncInitializeHandle}, + {"RpcAsyncRegisterInfo", 0, (syscall_t)RpcAsyncRegisterInfo}, + {"RpcBindingBind", 0, (syscall_t)RpcBindingBind}, + {"RpcBindingCopy", 0, (syscall_t)RpcBindingCopy}, + {"RpcBindingCreateA", 0, (syscall_t)RpcBindingCreateA}, + {"RpcBindingFree", 0, (syscall_t)RpcBindingFree}, + {"RpcBindingFromStringBindingA", 0, (syscall_t)RpcBindingFromStringBindingA}, + {"RpcBindingInqAuthClientA", 0, (syscall_t)RpcBindingInqAuthClientA}, + {"RpcBindingInqAuthClientExA", 0, (syscall_t)RpcBindingInqAuthClientExA}, + {"RpcBindingInqAuthInfoA", 0, (syscall_t)RpcBindingInqAuthInfoA}, + {"RpcBindingInqAuthInfoExA", 0, (syscall_t)RpcBindingInqAuthInfoExA}, + {"RpcBindingInqObject", 0, (syscall_t)RpcBindingInqObject}, + {"RpcBindingInqOption", 0, (syscall_t)RpcBindingInqOption}, + {"RpcBindingReset", 0, (syscall_t)RpcBindingReset}, + {"RpcBindingServerFromClient", 0, (syscall_t)RpcBindingServerFromClient}, + {"RpcBindingSetAuthInfoA", 0, (syscall_t)RpcBindingSetAuthInfoA}, + {"RpcBindingSetAuthInfoExA", 0, (syscall_t)RpcBindingSetAuthInfoExA}, + {"RpcBindingSetObject", 0, (syscall_t)RpcBindingSetObject}, + {"RpcBindingSetOption", 0, (syscall_t)RpcBindingSetOption}, + {"RpcBindingToStringBindingA", 0, (syscall_t)RpcBindingToStringBindingA}, + {"RpcBindingUnbind", 0, (syscall_t)RpcBindingUnbind}, + {"RpcBindingVectorFree", 0, (syscall_t)RpcBindingVectorFree}, + {"RpcCancelThread", 0, (syscall_t)RpcCancelThread}, + {"RpcCancelThreadEx", 0, (syscall_t)RpcCancelThreadEx}, + {"RpcEpRegisterA", 0, (syscall_t)RpcEpRegisterA}, + {"RpcEpRegisterNoReplaceA", 0, (syscall_t)RpcEpRegisterNoReplaceA}, + {"RpcEpResolveBinding", 0, (syscall_t)RpcEpResolveBinding}, + {"RpcEpUnregister", 0, (syscall_t)RpcEpUnregister}, + {"RpcErrorAddRecord", 0, (syscall_t)RpcErrorAddRecord}, + {"RpcErrorClearInformation", 0, (syscall_t)RpcErrorClearInformation}, + {"RpcErrorEndEnumeration", 0, (syscall_t)RpcErrorEndEnumeration}, + {"RpcErrorGetNextRecord", 0, (syscall_t)RpcErrorGetNextRecord}, + {"RpcErrorGetNumberOfRecords", 0, (syscall_t)RpcErrorGetNumberOfRecords}, + {"RpcErrorLoadErrorInfo", 0, (syscall_t)RpcErrorLoadErrorInfo}, + {"RpcErrorResetEnumeration", 0, (syscall_t)RpcErrorResetEnumeration}, + {"RpcErrorSaveErrorInfo", 0, (syscall_t)RpcErrorSaveErrorInfo}, + {"RpcErrorStartEnumeration", 0, (syscall_t)RpcErrorStartEnumeration}, + {"RpcExceptionFilter", 0, (syscall_t)RpcExceptionFilter}, + {"RpcFreeAuthorizationContext", 0, (syscall_t)RpcFreeAuthorizationContext}, + {"RpcGetAuthorizationContextForClient", 0, (syscall_t)RpcGetAuthorizationContextForClient}, + {"RpcIfIdVectorFree", 0, (syscall_t)RpcIfIdVectorFree}, + {"RpcIfInqId", 0, (syscall_t)RpcIfInqId}, + {"RpcImpersonateClient", 0, (syscall_t)RpcImpersonateClient}, + {"RpcImpersonateClient2", 0, (syscall_t)RpcImpersonateClient2}, + {"RpcImpersonateClientContainer", 0, (syscall_t)RpcImpersonateClientContainer}, + {"RpcMgmtEnableIdleCleanup", 0, (syscall_t)RpcMgmtEnableIdleCleanup}, + {"RpcMgmtEpEltInqBegin", 0, (syscall_t)RpcMgmtEpEltInqBegin}, + {"RpcMgmtEpEltInqDone", 0, (syscall_t)RpcMgmtEpEltInqDone}, + {"RpcMgmtEpEltInqNextA", 0, (syscall_t)RpcMgmtEpEltInqNextA}, + {"RpcMgmtEpUnregister", 0, (syscall_t)RpcMgmtEpUnregister}, + {"RpcMgmtInqComTimeout", 0, (syscall_t)RpcMgmtInqComTimeout}, + {"RpcMgmtInqDefaultProtectLevel", 0, (syscall_t)RpcMgmtInqDefaultProtectLevel}, + {"RpcMgmtInqIfIds", 0, (syscall_t)RpcMgmtInqIfIds}, + {"RpcMgmtInqServerPrincNameA", 0, (syscall_t)RpcMgmtInqServerPrincNameA}, + {"RpcMgmtInqStats", 0, (syscall_t)RpcMgmtInqStats}, + {"RpcMgmtIsServerListening", 0, (syscall_t)RpcMgmtIsServerListening}, + {"RpcMgmtSetAuthorizationFn", 0, (syscall_t)RpcMgmtSetAuthorizationFn}, + {"RpcMgmtSetCancelTimeout", 0, (syscall_t)RpcMgmtSetCancelTimeout}, + {"RpcMgmtSetComTimeout", 0, (syscall_t)RpcMgmtSetComTimeout}, + {"RpcMgmtSetServerStackSize", 0, (syscall_t)RpcMgmtSetServerStackSize}, + {"RpcMgmtStatsVectorFree", 0, (syscall_t)RpcMgmtStatsVectorFree}, + {"RpcMgmtStopServerListening", 0, (syscall_t)RpcMgmtStopServerListening}, + {"RpcMgmtWaitServerListen", 0, (syscall_t)RpcMgmtWaitServerListen}, + {"RpcNetworkInqProtseqsA", 0, (syscall_t)RpcNetworkInqProtseqsA}, + {"RpcNetworkIsProtseqValidA", 0, (syscall_t)RpcNetworkIsProtseqValidA}, + {"RpcNsBindingExportA", 0, (syscall_t)RpcNsBindingExportA}, + {"RpcNsBindingExportPnPA", 0, (syscall_t)RpcNsBindingExportPnPA}, + {"RpcNsBindingImportBeginA", 0, (syscall_t)RpcNsBindingImportBeginA}, + {"RpcNsBindingImportDone", 0, (syscall_t)RpcNsBindingImportDone}, + {"RpcNsBindingImportNext", 0, (syscall_t)RpcNsBindingImportNext}, + {"RpcNsBindingInqEntryNameA", 0, (syscall_t)RpcNsBindingInqEntryNameA}, + {"RpcNsBindingLookupBeginA", 0, (syscall_t)RpcNsBindingLookupBeginA}, + {"RpcNsBindingLookupDone", 0, (syscall_t)RpcNsBindingLookupDone}, + {"RpcNsBindingLookupNext", 0, (syscall_t)RpcNsBindingLookupNext}, + {"RpcNsBindingSelect", 0, (syscall_t)RpcNsBindingSelect}, + {"RpcNsBindingUnexportA", 0, (syscall_t)RpcNsBindingUnexportA}, + {"RpcNsBindingUnexportPnPA", 0, (syscall_t)RpcNsBindingUnexportPnPA}, + {"RpcNsEntryExpandNameA", 0, (syscall_t)RpcNsEntryExpandNameA}, + {"RpcNsEntryObjectInqBeginA", 0, (syscall_t)RpcNsEntryObjectInqBeginA}, + {"RpcNsEntryObjectInqDone", 0, (syscall_t)RpcNsEntryObjectInqDone}, + {"RpcNsEntryObjectInqNext", 0, (syscall_t)RpcNsEntryObjectInqNext}, + {"RpcNsGroupDeleteA", 0, (syscall_t)RpcNsGroupDeleteA}, + {"RpcNsGroupMbrAddA", 0, (syscall_t)RpcNsGroupMbrAddA}, + {"RpcNsGroupMbrInqBeginA", 0, (syscall_t)RpcNsGroupMbrInqBeginA}, + {"RpcNsGroupMbrInqDone", 0, (syscall_t)RpcNsGroupMbrInqDone}, + {"RpcNsGroupMbrInqNextA", 0, (syscall_t)RpcNsGroupMbrInqNextA}, + {"RpcNsGroupMbrRemoveA", 0, (syscall_t)RpcNsGroupMbrRemoveA}, + {"RpcNsMgmtBindingUnexportA", 0, (syscall_t)RpcNsMgmtBindingUnexportA}, + {"RpcNsMgmtEntryCreateA", 0, (syscall_t)RpcNsMgmtEntryCreateA}, + {"RpcNsMgmtEntryDeleteA", 0, (syscall_t)RpcNsMgmtEntryDeleteA}, + {"RpcNsMgmtEntryInqIfIdsA", 0, (syscall_t)RpcNsMgmtEntryInqIfIdsA}, + {"RpcNsMgmtHandleSetExpAge", 0, (syscall_t)RpcNsMgmtHandleSetExpAge}, + {"RpcNsMgmtInqExpAge", 0, (syscall_t)RpcNsMgmtInqExpAge}, + {"RpcNsMgmtSetExpAge", 0, (syscall_t)RpcNsMgmtSetExpAge}, + {"RpcNsProfileDeleteA", 0, (syscall_t)RpcNsProfileDeleteA}, + {"RpcNsProfileEltAddA", 0, (syscall_t)RpcNsProfileEltAddA}, + {"RpcNsProfileEltInqBeginA", 0, (syscall_t)RpcNsProfileEltInqBeginA}, + {"RpcNsProfileEltInqDone", 0, (syscall_t)RpcNsProfileEltInqDone}, + {"RpcNsProfileEltInqNextA", 0, (syscall_t)RpcNsProfileEltInqNextA}, + {"RpcNsProfileEltRemoveA", 0, (syscall_t)RpcNsProfileEltRemoveA}, + {"RpcObjectInqType", 0, (syscall_t)RpcObjectInqType}, + {"RpcObjectSetInqFn", 0, (syscall_t)RpcObjectSetInqFn}, + {"RpcObjectSetType", 0, (syscall_t)RpcObjectSetType}, + {"RpcProtseqVectorFreeA", 0, (syscall_t)RpcProtseqVectorFreeA}, + {"RpcRaiseException", 0, (syscall_t)RpcRaiseException}, + {"RpcRevertContainerImpersonation", 0, (syscall_t)RpcRevertContainerImpersonation}, + {"RpcRevertToSelf", 0, (syscall_t)RpcRevertToSelf}, + {"RpcRevertToSelfEx", 0, (syscall_t)RpcRevertToSelfEx}, + {"RpcSmAllocate", 0, (syscall_t)RpcSmAllocate}, + {"RpcSmClientFree", 0, (syscall_t)RpcSmClientFree}, + {"RpcSmDestroyClientContext", 0, (syscall_t)RpcSmDestroyClientContext}, + {"RpcSmDisableAllocate", 0, (syscall_t)RpcSmDisableAllocate}, + {"RpcSmEnableAllocate", 0, (syscall_t)RpcSmEnableAllocate}, + {"RpcSmFree", 0, (syscall_t)RpcSmFree}, + {"RpcSmGetThreadHandle", 0, (syscall_t)RpcSmGetThreadHandle}, + {"RpcSmSetClientAllocFree", 0, (syscall_t)RpcSmSetClientAllocFree}, + {"RpcSmSetThreadHandle", 0, (syscall_t)RpcSmSetThreadHandle}, + {"RpcSmSwapClientAllocFree", 0, (syscall_t)RpcSmSwapClientAllocFree}, + {"RpcSsAllocate", 0, (syscall_t)RpcSsAllocate}, + {"RpcSsContextLockExclusive", 0, (syscall_t)RpcSsContextLockExclusive}, + {"RpcSsContextLockShared", 0, (syscall_t)RpcSsContextLockShared}, + {"RpcSsDestroyClientContext", 0, (syscall_t)RpcSsDestroyClientContext}, + {"RpcSsDisableAllocate", 0, (syscall_t)RpcSsDisableAllocate}, + {"RpcSsDontSerializeContext", 0, (syscall_t)RpcSsDontSerializeContext}, + {"RpcSsEnableAllocate", 0, (syscall_t)RpcSsEnableAllocate}, + {"RpcSsFree", 0, (syscall_t)RpcSsFree}, + {"RpcSsGetContextBinding", 0, (syscall_t)RpcSsGetContextBinding}, + {"RpcSsGetThreadHandle", 0, (syscall_t)RpcSsGetThreadHandle}, + {"RpcSsSetClientAllocFree", 0, (syscall_t)RpcSsSetClientAllocFree}, + {"RpcSsSetThreadHandle", 0, (syscall_t)RpcSsSetThreadHandle}, + {"RpcSsSwapClientAllocFree", 0, (syscall_t)RpcSsSwapClientAllocFree}, + {"RpcStringBindingComposeA", 0, (syscall_t)RpcStringBindingComposeA}, + {"RpcStringBindingParseA", 0, (syscall_t)RpcStringBindingParseA}, + {"RpcStringFreeA", 0, (syscall_t)RpcStringFreeA}, + {"RpcTestCancel", 0, (syscall_t)RpcTestCancel}, + {"SHAppBarMessage", 0, (syscall_t)SHAppBarMessage}, + {"SHEmptyRecycleBinA", 0, (syscall_t)SHEmptyRecycleBinA}, + {"SHEvaluateSystemCommandTemplate", 0, (syscall_t)SHEvaluateSystemCommandTemplate}, + {"SHFileOperationA", 0, (syscall_t)SHFileOperationA}, + {"SHFreeNameMappings", 0, (syscall_t)SHFreeNameMappings}, + {"SHGetDiskFreeSpaceExA", 0, (syscall_t)SHGetDiskFreeSpaceExA}, + {"SHGetDriveMedia", 0, (syscall_t)SHGetDriveMedia}, + {"SHGetFileInfoA", 0, (syscall_t)SHGetFileInfoA}, + {"SHGetImageList", 0, (syscall_t)SHGetImageList}, + {"SHGetLocalizedName", 0, (syscall_t)SHGetLocalizedName}, + {"SHGetNewLinkInfoA", 0, (syscall_t)SHGetNewLinkInfoA}, + {"SHGetPropertyStoreForWindow", 0, (syscall_t)SHGetPropertyStoreForWindow}, + {"SHGetStockIconInfo", 0, (syscall_t)SHGetStockIconInfo}, + {"SHInvokePrinterCommandA", 0, (syscall_t)SHInvokePrinterCommandA}, + {"SHIsFileAvailableOffline", 0, (syscall_t)SHIsFileAvailableOffline}, + {"SHLoadNonloadedIconOverlayIdentifiers", 0, (syscall_t)SHLoadNonloadedIconOverlayIdentifiers}, + {"SHQueryRecycleBinA", 0, (syscall_t)SHQueryRecycleBinA}, + {"SHQueryUserNotificationState", 0, (syscall_t)SHQueryUserNotificationState}, + {"SHRemoveLocalizedName", 0, (syscall_t)SHRemoveLocalizedName}, + {"SHSetLocalizedName", 0, (syscall_t)SHSetLocalizedName}, + {"SHTestTokenMembership", 0, (syscall_t)SHTestTokenMembership}, + {"SaveDC", 0, (syscall_t)SaveDC}, + {"ScaleViewportExtEx", 0, (syscall_t)ScaleViewportExtEx}, + {"ScaleWindowExtEx", 0, (syscall_t)ScaleWindowExtEx}, + {"ScheduleJob", 0, (syscall_t)ScheduleJob}, + {"ScreenToClient", 0, (syscall_t)ScreenToClient}, + {"ScrollConsoleScreenBufferA", 0, (syscall_t)ScrollConsoleScreenBufferA}, + {"ScrollDC", 0, (syscall_t)ScrollDC}, + {"ScrollWindow", 0, (syscall_t)ScrollWindow}, + {"ScrollWindowEx", 0, (syscall_t)ScrollWindowEx}, + {"SearchPathA", 0, (syscall_t)SearchPathA}, + {"SelectClipPath", 0, (syscall_t)SelectClipPath}, + {"SelectClipRgn", 0, (syscall_t)SelectClipRgn}, + {"SelectObject", 0, (syscall_t)SelectObject}, + {"SelectPalette", 0, (syscall_t)SelectPalette}, + {"SendDlgItemMessageA", 0, (syscall_t)SendDlgItemMessageA}, + {"SendDriverMessage", 0, (syscall_t)SendDriverMessage}, + {"SendInput", 0, (syscall_t)SendInput}, + {"SendMessageA", 0, (syscall_t)SendMessageA}, + {"SendMessageCallbackA", 0, (syscall_t)SendMessageCallbackA}, + {"SendMessageTimeoutA", 0, (syscall_t)SendMessageTimeoutA}, + {"SendNotifyMessageA", 0, (syscall_t)SendNotifyMessageA}, + {"SetAbortProc", 0, (syscall_t)SetAbortProc}, + {"SetAclInformation", 0, (syscall_t)SetAclInformation}, + {"SetActiveWindow", 0, (syscall_t)SetActiveWindow}, + {"SetArcDirection", 0, (syscall_t)SetArcDirection}, + {"SetBitmapBits", 0, (syscall_t)SetBitmapBits}, + {"SetBitmapDimensionEx", 0, (syscall_t)SetBitmapDimensionEx}, + {"SetBkColor", 0, (syscall_t)SetBkColor}, + {"SetBkMode", 0, (syscall_t)SetBkMode}, + {"SetBoundsRect", 0, (syscall_t)SetBoundsRect}, + {"SetBrushOrgEx", 0, (syscall_t)SetBrushOrgEx}, + {"SetCachedSigningLevel", 0, (syscall_t)SetCachedSigningLevel}, + {"SetCalendarInfoA", 0, (syscall_t)SetCalendarInfoA}, + {"SetCapture", 0, (syscall_t)SetCapture}, + {"SetCaretBlinkTime", 0, (syscall_t)SetCaretBlinkTime}, + {"SetCaretPos", 0, (syscall_t)SetCaretPos}, + {"SetClassLongA", 0, (syscall_t)SetClassLongA}, + {"SetClassLongPtrA", 0, (syscall_t)SetClassLongPtrA}, + {"SetClassWord", 0, (syscall_t)SetClassWord}, + {"SetClipboardData", 0, (syscall_t)SetClipboardData}, + {"SetClipboardViewer", 0, (syscall_t)SetClipboardViewer}, + {"SetCoalescableTimer", 0, (syscall_t)SetCoalescableTimer}, + {"SetColorAdjustment", 0, (syscall_t)SetColorAdjustment}, + {"SetColorSpace", 0, (syscall_t)SetColorSpace}, + {"SetCommBreak", 0, (syscall_t)SetCommBreak}, + {"SetCommConfig", 0, (syscall_t)SetCommConfig}, + {"SetCommMask", 0, (syscall_t)SetCommMask}, + {"SetCommState", 0, (syscall_t)SetCommState}, + {"SetCommTimeouts", 0, (syscall_t)SetCommTimeouts}, + {"SetComputerNameA", 0, (syscall_t)SetComputerNameA}, + {"SetComputerNameExA", 0, (syscall_t)SetComputerNameExA}, + {"SetConsoleActiveScreenBuffer", 0, (syscall_t)SetConsoleActiveScreenBuffer}, + {"SetConsoleCP", 0, (syscall_t)SetConsoleCP}, + {"SetConsoleCtrlHandler", 0, (syscall_t)SetConsoleCtrlHandler}, + {"SetConsoleCursorInfo", 0, (syscall_t)SetConsoleCursorInfo}, + {"SetConsoleCursorPosition", 0, (syscall_t)SetConsoleCursorPosition}, + {"SetConsoleDisplayMode", 0, (syscall_t)SetConsoleDisplayMode}, + {"SetConsoleHistoryInfo", 0, (syscall_t)SetConsoleHistoryInfo}, + {"SetConsoleMode", 0, (syscall_t)SetConsoleMode}, + {"SetConsoleOutputCP", 0, (syscall_t)SetConsoleOutputCP}, + {"SetConsoleScreenBufferInfoEx", 0, (syscall_t)SetConsoleScreenBufferInfoEx}, + {"SetConsoleScreenBufferSize", 0, (syscall_t)SetConsoleScreenBufferSize}, + {"SetConsoleTextAttribute", 0, (syscall_t)SetConsoleTextAttribute}, + {"SetConsoleTitleA", 0, (syscall_t)SetConsoleTitleA}, + {"SetConsoleWindowInfo", 0, (syscall_t)SetConsoleWindowInfo}, + {"SetCriticalSectionSpinCount", 0, (syscall_t)SetCriticalSectionSpinCount}, + {"SetCurrentConsoleFontEx", 0, (syscall_t)SetCurrentConsoleFontEx}, + {"SetCurrentDirectoryA", 0, (syscall_t)SetCurrentDirectoryA}, + {"SetCursor", 0, (syscall_t)SetCursor}, + {"SetCursorPos", 0, (syscall_t)SetCursorPos}, + {"SetDCBrushColor", 0, (syscall_t)SetDCBrushColor}, + {"SetDCPenColor", 0, (syscall_t)SetDCPenColor}, + {"SetDIBColorTable", 0, (syscall_t)SetDIBColorTable}, + {"SetDIBits", 0, (syscall_t)SetDIBits}, + {"SetDIBitsToDevice", 0, (syscall_t)SetDIBitsToDevice}, + {"SetDebugErrorLevel", 0, (syscall_t)SetDebugErrorLevel}, + {"SetDefaultCommConfigA", 0, (syscall_t)SetDefaultCommConfigA}, + {"SetDefaultDllDirectories", 0, (syscall_t)SetDefaultDllDirectories}, + {"SetDefaultPrinterA", 0, (syscall_t)SetDefaultPrinterA}, + {"SetDeviceGammaRamp", 0, (syscall_t)SetDeviceGammaRamp}, + {"SetDisplayAutoRotationPreferences", 0, (syscall_t)SetDisplayAutoRotationPreferences}, + {"SetDisplayConfig", 0, (syscall_t)SetDisplayConfig}, + {"SetDlgItemInt", 0, (syscall_t)SetDlgItemInt}, + {"SetDlgItemTextA", 0, (syscall_t)SetDlgItemTextA}, + {"SetDllDirectoryA", 0, (syscall_t)SetDllDirectoryA}, + {"SetDoubleClickTime", 0, (syscall_t)SetDoubleClickTime}, + {"SetDynamicTimeZoneInformation", 0, (syscall_t)SetDynamicTimeZoneInformation}, + {"SetEncryptedFileMetadata", 0, (syscall_t)SetEncryptedFileMetadata}, + {"SetEndOfFile", 0, (syscall_t)SetEndOfFile}, + {"SetEnhMetaFileBits", 0, (syscall_t)SetEnhMetaFileBits}, + {"SetEnvironmentStringsA", 0, (syscall_t)SetEnvironmentStringsA}, + {"SetEnvironmentVariableA", 0, (syscall_t)SetEnvironmentVariableA}, + {"SetErrorMode", 0, (syscall_t)SetErrorMode}, + {"SetEvent", 0, (syscall_t)SetEvent}, + {"SetEventWhenCallbackReturns", 0, (syscall_t)SetEventWhenCallbackReturns}, + {"SetFileApisToANSI", 0, (syscall_t)SetFileApisToANSI}, + {"SetFileApisToOEM", 0, (syscall_t)SetFileApisToOEM}, + {"SetFileAttributesA", 0, (syscall_t)SetFileAttributesA}, + {"SetFileAttributesTransactedA", 0, (syscall_t)SetFileAttributesTransactedA}, + {"SetFileBandwidthReservation", 0, (syscall_t)SetFileBandwidthReservation}, + {"SetFileCompletionNotificationModes", 0, (syscall_t)SetFileCompletionNotificationModes}, + {"SetFileInformationByHandle", 0, (syscall_t)SetFileInformationByHandle}, + {"SetFileIoOverlappedRange", 0, (syscall_t)SetFileIoOverlappedRange}, + {"SetFilePointer", 0, (syscall_t)SetFilePointer}, + {"SetFilePointerEx", 0, (syscall_t)SetFilePointerEx}, + {"SetFileSecurityA", 0, (syscall_t)SetFileSecurityA}, + {"SetFileShortNameA", 0, (syscall_t)SetFileShortNameA}, + {"SetFileTime", 0, (syscall_t)SetFileTime}, + {"SetFileValidData", 0, (syscall_t)SetFileValidData}, + {"SetFirmwareEnvironmentVariableA", 0, (syscall_t)SetFirmwareEnvironmentVariableA}, + {"SetFirmwareEnvironmentVariableExA", 0, (syscall_t)SetFirmwareEnvironmentVariableExA}, + {"SetFocus", 0, (syscall_t)SetFocus}, + {"SetForegroundWindow", 0, (syscall_t)SetForegroundWindow}, + {"SetFormA", 0, (syscall_t)SetFormA}, + {"SetGestureConfig", 0, (syscall_t)SetGestureConfig}, + {"SetGraphicsMode", 0, (syscall_t)SetGraphicsMode}, + {"SetHandleCount", 0, (syscall_t)SetHandleCount}, + {"SetHandleInformation", 0, (syscall_t)SetHandleInformation}, + {"SetICMMode", 0, (syscall_t)SetICMMode}, + {"SetICMProfileA", 0, (syscall_t)SetICMProfileA}, + {"SetInformationJobObject", 0, (syscall_t)SetInformationJobObject}, + {"SetIoRateControlInformationJobObject", 0, (syscall_t)SetIoRateControlInformationJobObject}, + {"SetJobA", 0, (syscall_t)SetJobA}, + {"SetJobNamedProperty", 0, (syscall_t)SetJobNamedProperty}, + {"SetKernelObjectSecurity", 0, (syscall_t)SetKernelObjectSecurity}, + {"SetKeyboardState", 0, (syscall_t)SetKeyboardState}, + {"SetLastError", 0, (syscall_t)SetLastError}, + {"SetLastErrorEx", 0, (syscall_t)SetLastErrorEx}, + {"SetLayeredWindowAttributes", 0, (syscall_t)SetLayeredWindowAttributes}, + {"SetLayout", 0, (syscall_t)SetLayout}, + {"SetLocalTime", 0, (syscall_t)SetLocalTime}, + {"SetLocaleInfoA", 0, (syscall_t)SetLocaleInfoA}, + {"SetMailslotInfo", 0, (syscall_t)SetMailslotInfo}, + {"SetMapMode", 0, (syscall_t)SetMapMode}, + {"SetMapperFlags", 0, (syscall_t)SetMapperFlags}, + {"SetMenu", 0, (syscall_t)SetMenu}, + {"SetMenuContextHelpId", 0, (syscall_t)SetMenuContextHelpId}, + {"SetMenuDefaultItem", 0, (syscall_t)SetMenuDefaultItem}, + {"SetMenuInfo", 0, (syscall_t)SetMenuInfo}, + {"SetMenuItemBitmaps", 0, (syscall_t)SetMenuItemBitmaps}, + {"SetMenuItemInfoA", 0, (syscall_t)SetMenuItemInfoA}, + {"SetMessageExtraInfo", 0, (syscall_t)SetMessageExtraInfo}, + {"SetMessageQueue", 0, (syscall_t)SetMessageQueue}, + {"SetMessageWaitingIndicator", 0, (syscall_t)SetMessageWaitingIndicator}, + {"SetMetaFileBitsEx", 0, (syscall_t)SetMetaFileBitsEx}, + {"SetMetaRgn", 0, (syscall_t)SetMetaRgn}, + {"SetMiterLimit", 0, (syscall_t)SetMiterLimit}, + {"SetNamedPipeHandleState", 0, (syscall_t)SetNamedPipeHandleState}, + {"SetPaletteEntries", 0, (syscall_t)SetPaletteEntries}, + {"SetParent", 0, (syscall_t)SetParent}, + {"SetPhysicalCursorPos", 0, (syscall_t)SetPhysicalCursorPos}, + {"SetPixel", 0, (syscall_t)SetPixel}, + {"SetPixelFormat", 0, (syscall_t)SetPixelFormat}, + {"SetPixelV", 0, (syscall_t)SetPixelV}, + {"SetPolyFillMode", 0, (syscall_t)SetPolyFillMode}, + {"SetPortA", 0, (syscall_t)SetPortA}, + {"SetPrinterA", 0, (syscall_t)SetPrinterA}, + {"SetPrinterDataA", 0, (syscall_t)SetPrinterDataA}, + {"SetPrinterDataExA", 0, (syscall_t)SetPrinterDataExA}, + {"SetPriorityClass", 0, (syscall_t)SetPriorityClass}, + {"SetPrivateObjectSecurity", 0, (syscall_t)SetPrivateObjectSecurity}, + {"SetPrivateObjectSecurityEx", 0, (syscall_t)SetPrivateObjectSecurityEx}, + {"SetProcessAffinityMask", 0, (syscall_t)SetProcessAffinityMask}, + {"SetProcessAffinityUpdateMode", 0, (syscall_t)SetProcessAffinityUpdateMode}, + {"SetProcessDEPPolicy", 0, (syscall_t)SetProcessDEPPolicy}, + {"SetProcessDPIAware", 0, (syscall_t)SetProcessDPIAware}, + {"SetProcessDefaultCpuSets", 0, (syscall_t)SetProcessDefaultCpuSets}, + {"SetProcessDefaultLayout", 0, (syscall_t)SetProcessDefaultLayout}, + {"SetProcessDpiAwarenessContext", 0, (syscall_t)SetProcessDpiAwarenessContext}, + {"SetProcessInformation", 0, (syscall_t)SetProcessInformation}, + {"SetProcessMitigationPolicy", 0, (syscall_t)SetProcessMitigationPolicy}, + {"SetProcessPreferredUILanguages", 0, (syscall_t)SetProcessPreferredUILanguages}, + {"SetProcessPriorityBoost", 0, (syscall_t)SetProcessPriorityBoost}, + {"SetProcessRestrictionExemption", 0, (syscall_t)SetProcessRestrictionExemption}, + {"SetProcessShutdownParameters", 0, (syscall_t)SetProcessShutdownParameters}, + {"SetProcessValidCallTargets", 0, (syscall_t)SetProcessValidCallTargets}, + {"SetProcessWindowStation", 0, (syscall_t)SetProcessWindowStation}, + {"SetProcessWorkingSetSize", 0, (syscall_t)SetProcessWorkingSetSize}, + {"SetProcessWorkingSetSizeEx", 0, (syscall_t)SetProcessWorkingSetSizeEx}, + {"SetPropA", 0, (syscall_t)SetPropA}, + {"SetProtectedPolicy", 0, (syscall_t)SetProtectedPolicy}, + {"SetROP2", 0, (syscall_t)SetROP2}, + {"SetRect", 0, (syscall_t)SetRect}, + {"SetRectEmpty", 0, (syscall_t)SetRectEmpty}, + {"SetRectRgn", 0, (syscall_t)SetRectRgn}, + {"SetScrollInfo", 0, (syscall_t)SetScrollInfo}, + {"SetScrollPos", 0, (syscall_t)SetScrollPos}, + {"SetScrollRange", 0, (syscall_t)SetScrollRange}, + {"SetSearchPathMode", 0, (syscall_t)SetSearchPathMode}, + {"SetSecurityAccessMask", 0, (syscall_t)SetSecurityAccessMask}, + {"SetSecurityDescriptorControl", 0, (syscall_t)SetSecurityDescriptorControl}, + {"SetSecurityDescriptorDacl", 0, (syscall_t)SetSecurityDescriptorDacl}, + {"SetSecurityDescriptorGroup", 0, (syscall_t)SetSecurityDescriptorGroup}, + {"SetSecurityDescriptorOwner", 0, (syscall_t)SetSecurityDescriptorOwner}, + {"SetSecurityDescriptorRMControl", 0, (syscall_t)SetSecurityDescriptorRMControl}, + {"SetSecurityDescriptorSacl", 0, (syscall_t)SetSecurityDescriptorSacl}, + {"SetServiceObjectSecurity", 0, (syscall_t)SetServiceObjectSecurity}, + {"SetServiceStatus", 0, (syscall_t)SetServiceStatus}, + {"SetStdHandle", 0, (syscall_t)SetStdHandle}, + {"SetStdHandleEx", 0, (syscall_t)SetStdHandleEx}, + {"SetStretchBltMode", 0, (syscall_t)SetStretchBltMode}, + {"SetSysColors", 0, (syscall_t)SetSysColors}, + {"SetSystemCursor", 0, (syscall_t)SetSystemCursor}, + {"SetSystemFileCacheSize", 0, (syscall_t)SetSystemFileCacheSize}, + {"SetSystemPaletteUse", 0, (syscall_t)SetSystemPaletteUse}, + {"SetSystemPowerState", 0, (syscall_t)SetSystemPowerState}, + {"SetSystemTime", 0, (syscall_t)SetSystemTime}, + {"SetSystemTimeAdjustment", 0, (syscall_t)SetSystemTimeAdjustment}, + {"SetTapeParameters", 0, (syscall_t)SetTapeParameters}, + {"SetTapePosition", 0, (syscall_t)SetTapePosition}, + {"SetTextAlign", 0, (syscall_t)SetTextAlign}, + {"SetTextCharacterExtra", 0, (syscall_t)SetTextCharacterExtra}, + {"SetTextColor", 0, (syscall_t)SetTextColor}, + {"SetTextJustification", 0, (syscall_t)SetTextJustification}, + {"SetThreadAffinityMask", 0, (syscall_t)SetThreadAffinityMask}, + {"SetThreadContext", 0, (syscall_t)SetThreadContext}, + {"SetThreadDesktop", 0, (syscall_t)SetThreadDesktop}, + {"SetThreadDpiAwarenessContext", 0, (syscall_t)SetThreadDpiAwarenessContext}, + {"SetThreadErrorMode", 0, (syscall_t)SetThreadErrorMode}, + {"SetThreadExecutionState", 0, (syscall_t)SetThreadExecutionState}, + {"SetThreadGroupAffinity", 0, (syscall_t)SetThreadGroupAffinity}, + {"SetThreadIdealProcessor", 0, (syscall_t)SetThreadIdealProcessor}, + {"SetThreadIdealProcessorEx", 0, (syscall_t)SetThreadIdealProcessorEx}, + {"SetThreadInformation", 0, (syscall_t)SetThreadInformation}, + {"SetThreadLocale", 0, (syscall_t)SetThreadLocale}, + {"SetThreadPreferredUILanguages", 0, (syscall_t)SetThreadPreferredUILanguages}, + {"SetThreadPriority", 0, (syscall_t)SetThreadPriority}, + {"SetThreadPriorityBoost", 0, (syscall_t)SetThreadPriorityBoost}, + {"SetThreadSelectedCpuSets", 0, (syscall_t)SetThreadSelectedCpuSets}, + {"SetThreadStackGuarantee", 0, (syscall_t)SetThreadStackGuarantee}, + {"SetThreadToken", 0, (syscall_t)SetThreadToken}, + {"SetThreadUILanguage", 0, (syscall_t)SetThreadUILanguage}, + {"SetThreadpoolStackInformation", 0, (syscall_t)SetThreadpoolStackInformation}, + {"SetThreadpoolThreadMaximum", 0, (syscall_t)SetThreadpoolThreadMaximum}, + {"SetThreadpoolThreadMinimum", 0, (syscall_t)SetThreadpoolThreadMinimum}, + {"SetThreadpoolTimer", 0, (syscall_t)SetThreadpoolTimer}, + {"SetThreadpoolTimerEx", 0, (syscall_t)SetThreadpoolTimerEx}, + {"SetThreadpoolWait", 0, (syscall_t)SetThreadpoolWait}, + {"SetThreadpoolWaitEx", 0, (syscall_t)SetThreadpoolWaitEx}, + {"SetTimeZoneInformation", 0, (syscall_t)SetTimeZoneInformation}, + {"SetTimer", 0, (syscall_t)SetTimer}, + {"SetTimerQueueTimer", 0, (syscall_t)SetTimerQueueTimer}, + {"SetTokenInformation", 0, (syscall_t)SetTokenInformation}, + {"SetUmsThreadInformation", 0, (syscall_t)SetUmsThreadInformation}, + {"SetUnhandledExceptionFilter", 0, (syscall_t)SetUnhandledExceptionFilter}, + {"SetUserFileEncryptionKey", 0, (syscall_t)SetUserFileEncryptionKey}, + {"SetUserFileEncryptionKeyEx", 0, (syscall_t)SetUserFileEncryptionKeyEx}, + {"SetUserGeoID", 0, (syscall_t)SetUserGeoID}, + {"SetUserObjectInformationA", 0, (syscall_t)SetUserObjectInformationA}, + {"SetUserObjectSecurity", 0, (syscall_t)SetUserObjectSecurity}, + {"SetViewportExtEx", 0, (syscall_t)SetViewportExtEx}, + {"SetViewportOrgEx", 0, (syscall_t)SetViewportOrgEx}, + {"SetVolumeLabelA", 0, (syscall_t)SetVolumeLabelA}, + {"SetVolumeMountPointA", 0, (syscall_t)SetVolumeMountPointA}, + {"SetWaitableTimer", 0, (syscall_t)SetWaitableTimer}, + {"SetWaitableTimerEx", 0, (syscall_t)SetWaitableTimerEx}, + {"SetWinEventHook", 0, (syscall_t)SetWinEventHook}, + {"SetWinMetaFileBits", 0, (syscall_t)SetWinMetaFileBits}, + {"SetWindowContextHelpId", 0, (syscall_t)SetWindowContextHelpId}, + {"SetWindowDisplayAffinity", 0, (syscall_t)SetWindowDisplayAffinity}, + {"SetWindowExtEx", 0, (syscall_t)SetWindowExtEx}, + {"SetWindowFeedbackSetting", 0, (syscall_t)SetWindowFeedbackSetting}, + {"SetWindowLongA", 0, (syscall_t)SetWindowLongA}, + {"SetWindowLongPtrA", 0, (syscall_t)SetWindowLongPtrA}, + {"SetWindowOrgEx", 0, (syscall_t)SetWindowOrgEx}, + {"SetWindowPlacement", 0, (syscall_t)SetWindowPlacement}, + {"SetWindowPos", 0, (syscall_t)SetWindowPos}, + {"SetWindowRgn", 0, (syscall_t)SetWindowRgn}, + {"SetWindowTextA", 0, (syscall_t)SetWindowTextA}, + {"SetWindowWord", 0, (syscall_t)SetWindowWord}, + {"SetWindowsHookA", 0, (syscall_t)SetWindowsHookA}, + {"SetWindowsHookExA", 0, (syscall_t)SetWindowsHookExA}, + {"SetWorldTransform", 0, (syscall_t)SetWorldTransform}, + {"SetXStateFeaturesMask", 0, (syscall_t)SetXStateFeaturesMask}, + {"SetupComm", 0, (syscall_t)SetupComm}, + {"ShellAboutA", 0, (syscall_t)ShellAboutA}, + {"ShellExecuteA", 0, (syscall_t)ShellExecuteA}, + {"ShellExecuteExA", 0, (syscall_t)ShellExecuteExA}, + {"Shell_NotifyIconA", 0, (syscall_t)Shell_NotifyIconA}, + {"Shell_NotifyIconGetRect", 0, (syscall_t)Shell_NotifyIconGetRect}, + {"ShowCaret", 0, (syscall_t)ShowCaret}, + {"ShowCursor", 0, (syscall_t)ShowCursor}, + {"ShowOwnedPopups", 0, (syscall_t)ShowOwnedPopups}, + {"ShowScrollBar", 0, (syscall_t)ShowScrollBar}, + {"ShowWindow", 0, (syscall_t)ShowWindow}, + {"ShowWindowAsync", 0, (syscall_t)ShowWindowAsync}, + {"ShutdownBlockReasonCreate", 0, (syscall_t)ShutdownBlockReasonCreate}, + {"ShutdownBlockReasonDestroy", 0, (syscall_t)ShutdownBlockReasonDestroy}, + {"ShutdownBlockReasonQuery", 0, (syscall_t)ShutdownBlockReasonQuery}, + {"SignalObjectAndWait", 0, (syscall_t)SignalObjectAndWait}, + {"SizeofResource", 0, (syscall_t)SizeofResource}, + {"SkipPointerFrameMessages", 0, (syscall_t)SkipPointerFrameMessages}, + {"Sleep", 0, (syscall_t)Sleep}, + {"SleepConditionVariableCS", 0, (syscall_t)SleepConditionVariableCS}, + {"SleepEx", 0, (syscall_t)SleepEx}, + {"SoundSentry", 0, (syscall_t)SoundSentry}, + {"StartDocA", 0, (syscall_t)StartDocA}, + {"StartDocPrinterA", 0, (syscall_t)StartDocPrinterA}, + {"StartPage", 0, (syscall_t)StartPage}, + {"StartPagePrinter", 0, (syscall_t)StartPagePrinter}, + {"StartServiceA", 0, (syscall_t)StartServiceA}, + {"StartServiceCtrlDispatcherA", 0, (syscall_t)StartServiceCtrlDispatcherA}, + {"StartThreadpoolIo", 0, (syscall_t)StartThreadpoolIo}, + {"StgConvertVariantToProperty", 0, (syscall_t)StgConvertVariantToProperty}, + {"StgCreateDocfile", 0, (syscall_t)StgCreateDocfile}, + {"StgCreateDocfileOnILockBytes", 0, (syscall_t)StgCreateDocfileOnILockBytes}, + {"StgCreatePropSetStg", 0, (syscall_t)StgCreatePropSetStg}, + {"StgCreatePropStg", 0, (syscall_t)StgCreatePropStg}, + {"StgCreateStorageEx", 0, (syscall_t)StgCreateStorageEx}, + {"StgIsStorageFile", 0, (syscall_t)StgIsStorageFile}, + {"StgIsStorageILockBytes", 0, (syscall_t)StgIsStorageILockBytes}, + {"StgOpenPropStg", 0, (syscall_t)StgOpenPropStg}, + {"StgOpenStorage", 0, (syscall_t)StgOpenStorage}, + {"StgOpenStorageEx", 0, (syscall_t)StgOpenStorageEx}, + {"StgOpenStorageOnILockBytes", 0, (syscall_t)StgOpenStorageOnILockBytes}, + {"StgSetTimes", 0, (syscall_t)StgSetTimes}, + {"StretchBlt", 0, (syscall_t)StretchBlt}, + {"StretchDIBits", 0, (syscall_t)StretchDIBits}, + {"StrokeAndFillPath", 0, (syscall_t)StrokeAndFillPath}, + {"StrokePath", 0, (syscall_t)StrokePath}, + {"SubmitThreadpoolWork", 0, (syscall_t)SubmitThreadpoolWork}, + {"SubtractRect", 0, (syscall_t)SubtractRect}, + {"SuspendThread", 0, (syscall_t)SuspendThread}, + {"SwapBuffers", 0, (syscall_t)SwapBuffers}, + {"SwapMouseButton", 0, (syscall_t)SwapMouseButton}, + {"SwitchDesktop", 0, (syscall_t)SwitchDesktop}, + {"SwitchToFiber", 0, (syscall_t)SwitchToFiber}, + {"SwitchToThisWindow", 0, (syscall_t)SwitchToThisWindow}, + {"SwitchToThread", 0, (syscall_t)SwitchToThread}, + {"SystemParametersInfoA", 0, (syscall_t)SystemParametersInfoA}, + {"SystemParametersInfoForDpi", 0, (syscall_t)SystemParametersInfoForDpi}, + {"SystemTimeToFileTime", 0, (syscall_t)SystemTimeToFileTime}, + {"SystemTimeToTzSpecificLocalTime", 0, (syscall_t)SystemTimeToTzSpecificLocalTime}, + {"SystemTimeToTzSpecificLocalTimeEx", 0, (syscall_t)SystemTimeToTzSpecificLocalTimeEx}, + {"TabbedTextOutA", 0, (syscall_t)TabbedTextOutA}, + {"TerminateJobObject", 0, (syscall_t)TerminateJobObject}, + {"TerminateProcess", 0, (syscall_t)TerminateProcess}, + {"TerminateProcessOnMemoryExhaustion", 0, (syscall_t)TerminateProcessOnMemoryExhaustion}, + {"TerminateThread", 0, (syscall_t)TerminateThread}, + {"TextOutA", 0, (syscall_t)TextOutA}, + {"TileWindows", 0, (syscall_t)TileWindows}, + {"TlsAlloc", 0, (syscall_t)TlsAlloc}, + {"TlsFree", 0, (syscall_t)TlsFree}, + {"TlsGetValue", 0, (syscall_t)TlsGetValue}, + {"TlsSetValue", 0, (syscall_t)TlsSetValue}, + {"ToAscii", 0, (syscall_t)ToAscii}, + {"ToAsciiEx", 0, (syscall_t)ToAsciiEx}, + {"ToUnicode", 0, (syscall_t)ToUnicode}, + {"ToUnicodeEx", 0, (syscall_t)ToUnicodeEx}, + {"TrackMouseEvent", 0, (syscall_t)TrackMouseEvent}, + {"TrackPopupMenu", 0, (syscall_t)TrackPopupMenu}, + {"TrackPopupMenuEx", 0, (syscall_t)TrackPopupMenuEx}, + {"TransactNamedPipe", 0, (syscall_t)TransactNamedPipe}, + {"TranslateAcceleratorA", 0, (syscall_t)TranslateAcceleratorA}, + {"TranslateCharsetInfo", 0, (syscall_t)TranslateCharsetInfo}, + {"TranslateMDISysAccel", 0, (syscall_t)TranslateMDISysAccel}, + {"TranslateMessage", 0, (syscall_t)TranslateMessage}, + {"TransmitCommChar", 0, (syscall_t)TransmitCommChar}, + {"TransmitFile", 0, (syscall_t)TransmitFile}, + {"TransparentBlt", 0, (syscall_t)TransparentBlt}, + {"TryAcquireSRWLockExclusive", 0, (syscall_t)TryAcquireSRWLockExclusive}, + {"TryAcquireSRWLockShared", 0, (syscall_t)TryAcquireSRWLockShared}, + {"TryEnterCriticalSection", 0, (syscall_t)TryEnterCriticalSection}, + {"TrySubmitThreadpoolCallback", 0, (syscall_t)TrySubmitThreadpoolCallback}, + {"TzSpecificLocalTimeToSystemTime", 0, (syscall_t)TzSpecificLocalTimeToSystemTime}, + {"TzSpecificLocalTimeToSystemTimeEx", 0, (syscall_t)TzSpecificLocalTimeToSystemTimeEx}, + {"UmsThreadYield", 0, (syscall_t)UmsThreadYield}, + {"UnhandledExceptionFilter", 0, (syscall_t)UnhandledExceptionFilter}, + {"UnhookWinEvent", 0, (syscall_t)UnhookWinEvent}, + {"UnhookWindowsHook", 0, (syscall_t)UnhookWindowsHook}, + {"UnhookWindowsHookEx", 0, (syscall_t)UnhookWindowsHookEx}, + {"UnionRect", 0, (syscall_t)UnionRect}, + {"UnloadKeyboardLayout", 0, (syscall_t)UnloadKeyboardLayout}, + {"UnlockFile", 0, (syscall_t)UnlockFile}, + {"UnlockFileEx", 0, (syscall_t)UnlockFileEx}, + {"UnlockServiceDatabase", 0, (syscall_t)UnlockServiceDatabase}, + {"UnmapViewOfFile", 0, (syscall_t)UnmapViewOfFile}, + {"UnmapViewOfFileEx", 0, (syscall_t)UnmapViewOfFileEx}, + {"UnpackDDElParam", 0, (syscall_t)UnpackDDElParam}, + {"UnrealizeObject", 0, (syscall_t)UnrealizeObject}, + {"UnregisterApplicationRecoveryCallback", 0, (syscall_t)UnregisterApplicationRecoveryCallback}, + {"UnregisterApplicationRestart", 0, (syscall_t)UnregisterApplicationRestart}, + {"UnregisterBadMemoryNotification", 0, (syscall_t)UnregisterBadMemoryNotification}, + {"UnregisterClassA", 0, (syscall_t)UnregisterClassA}, + {"UnregisterDeviceNotification", 0, (syscall_t)UnregisterDeviceNotification}, + {"UnregisterHotKey", 0, (syscall_t)UnregisterHotKey}, + {"UnregisterPointerInputTarget", 0, (syscall_t)UnregisterPointerInputTarget}, + {"UnregisterPointerInputTargetEx", 0, (syscall_t)UnregisterPointerInputTargetEx}, + {"UnregisterPowerSettingNotification", 0, (syscall_t)UnregisterPowerSettingNotification}, + {"UnregisterSuspendResumeNotification", 0, (syscall_t)UnregisterSuspendResumeNotification}, + {"UnregisterTouchWindow", 0, (syscall_t)UnregisterTouchWindow}, + {"UnregisterWait", 0, (syscall_t)UnregisterWait}, + {"UnregisterWaitEx", 0, (syscall_t)UnregisterWaitEx}, + {"UpdateColors", 0, (syscall_t)UpdateColors}, + {"UpdateICMRegKeyA", 0, (syscall_t)UpdateICMRegKeyA}, + {"UpdateLayeredWindow", 0, (syscall_t)UpdateLayeredWindow}, + {"UpdateLayeredWindowIndirect", 0, (syscall_t)UpdateLayeredWindowIndirect}, + {"UpdateProcThreadAttribute", 0, (syscall_t)UpdateProcThreadAttribute}, + {"UpdateResourceA", 0, (syscall_t)UpdateResourceA}, + {"UpdateWindow", 0, (syscall_t)UpdateWindow}, + {"UploadPrinterDriverPackageA", 0, (syscall_t)UploadPrinterDriverPackageA}, + {"UserHandleGrantAccess", 0, (syscall_t)UserHandleGrantAccess}, + {"UuidCompare", 0, (syscall_t)UuidCompare}, + {"UuidCreate", 0, (syscall_t)UuidCreate}, + {"UuidCreateNil", 0, (syscall_t)UuidCreateNil}, + {"UuidCreateSequential", 0, (syscall_t)UuidCreateSequential}, + {"UuidEqual", 0, (syscall_t)UuidEqual}, + {"UuidFromStringA", 0, (syscall_t)UuidFromStringA}, + {"UuidHash", 0, (syscall_t)UuidHash}, + {"UuidIsNil", 0, (syscall_t)UuidIsNil}, + {"UuidToStringA", 0, (syscall_t)UuidToStringA}, + {"VARIANT_UserFree", 0, (syscall_t)VARIANT_UserFree}, + {"VARIANT_UserFree64", 0, (syscall_t)VARIANT_UserFree64}, + {"VARIANT_UserMarshal", 0, (syscall_t)VARIANT_UserMarshal}, + {"VARIANT_UserMarshal64", 0, (syscall_t)VARIANT_UserMarshal64}, + {"VARIANT_UserSize", 0, (syscall_t)VARIANT_UserSize}, + {"VARIANT_UserSize64", 0, (syscall_t)VARIANT_UserSize64}, + {"VARIANT_UserUnmarshal", 0, (syscall_t)VARIANT_UserUnmarshal}, + {"VARIANT_UserUnmarshal64", 0, (syscall_t)VARIANT_UserUnmarshal64}, + {"ValidateRect", 0, (syscall_t)ValidateRect}, + {"ValidateRgn", 0, (syscall_t)ValidateRgn}, + {"VerLanguageNameA", 0, (syscall_t)VerLanguageNameA}, + {"VerSetConditionMask", 0, (syscall_t)VerSetConditionMask}, + {"VerifyScripts", 0, (syscall_t)VerifyScripts}, + {"VerifyVersionInfoA", 0, (syscall_t)VerifyVersionInfoA}, + {"VirtualAlloc", 0, (syscall_t)VirtualAlloc}, + {"VirtualAllocEx", 0, (syscall_t)VirtualAllocEx}, + {"VirtualAllocExNuma", 0, (syscall_t)VirtualAllocExNuma}, + {"VirtualAllocFromApp", 0, (syscall_t)VirtualAllocFromApp}, + {"VirtualFree", 0, (syscall_t)VirtualFree}, + {"VirtualFreeEx", 0, (syscall_t)VirtualFreeEx}, + {"VirtualLock", 0, (syscall_t)VirtualLock}, + {"VirtualProtect", 0, (syscall_t)VirtualProtect}, + {"VirtualProtectEx", 0, (syscall_t)VirtualProtectEx}, + {"VirtualProtectFromApp", 0, (syscall_t)VirtualProtectFromApp}, + {"VirtualQuery", 0, (syscall_t)VirtualQuery}, + {"VirtualQueryEx", 0, (syscall_t)VirtualQueryEx}, + {"VirtualUnlock", 0, (syscall_t)VirtualUnlock}, + {"VkKeyScanA", 0, (syscall_t)VkKeyScanA}, + {"VkKeyScanExA", 0, (syscall_t)VkKeyScanExA}, + {"WNetAddConnection2A", 0, (syscall_t)WNetAddConnection2A}, + {"WNetAddConnection3A", 0, (syscall_t)WNetAddConnection3A}, + {"WNetAddConnectionA", 0, (syscall_t)WNetAddConnectionA}, + {"WNetCancelConnection2A", 0, (syscall_t)WNetCancelConnection2A}, + {"WNetCancelConnectionA", 0, (syscall_t)WNetCancelConnectionA}, + {"WNetCloseEnum", 0, (syscall_t)WNetCloseEnum}, + {"WNetConnectionDialog", 0, (syscall_t)WNetConnectionDialog}, + {"WNetConnectionDialog1A", 0, (syscall_t)WNetConnectionDialog1A}, + {"WNetDisconnectDialog", 0, (syscall_t)WNetDisconnectDialog}, + {"WNetDisconnectDialog1A", 0, (syscall_t)WNetDisconnectDialog1A}, + {"WNetEnumResourceA", 0, (syscall_t)WNetEnumResourceA}, + {"WNetGetConnectionA", 0, (syscall_t)WNetGetConnectionA}, + {"WNetGetLastErrorA", 0, (syscall_t)WNetGetLastErrorA}, + {"WNetGetNetworkInformationA", 0, (syscall_t)WNetGetNetworkInformationA}, + {"WNetGetProviderNameA", 0, (syscall_t)WNetGetProviderNameA}, + {"WNetGetResourceInformationA", 0, (syscall_t)WNetGetResourceInformationA}, + {"WNetGetResourceParentA", 0, (syscall_t)WNetGetResourceParentA}, + {"WNetGetUniversalNameA", 0, (syscall_t)WNetGetUniversalNameA}, + {"WNetGetUserA", 0, (syscall_t)WNetGetUserA}, + {"WNetOpenEnumA", 0, (syscall_t)WNetOpenEnumA}, + {"WNetUseConnectionA", 0, (syscall_t)WNetUseConnectionA}, + {"WSAAsyncGetHostByAddr", 0, (syscall_t)WSAAsyncGetHostByAddr}, + {"WSAAsyncGetHostByName", 0, (syscall_t)WSAAsyncGetHostByName}, + {"WSAAsyncGetProtoByName", 0, (syscall_t)WSAAsyncGetProtoByName}, + {"WSAAsyncGetProtoByNumber", 0, (syscall_t)WSAAsyncGetProtoByNumber}, + {"WSAAsyncGetServByName", 0, (syscall_t)WSAAsyncGetServByName}, + {"WSAAsyncGetServByPort", 0, (syscall_t)WSAAsyncGetServByPort}, + {"WSAAsyncSelect", 0, (syscall_t)WSAAsyncSelect}, + {"WSACancelAsyncRequest", 0, (syscall_t)WSACancelAsyncRequest}, + {"WSACancelBlockingCall", 0, (syscall_t)WSACancelBlockingCall}, + {"WSACleanup", 0, (syscall_t)WSACleanup}, + {"WSAGetLastError", 0, (syscall_t)WSAGetLastError}, + {"WSAIsBlocking", 0, (syscall_t)WSAIsBlocking}, + {"WSARecvEx", 0, (syscall_t)WSARecvEx}, + {"WSASetBlockingHook", 0, (syscall_t)WSASetBlockingHook}, + {"WSASetLastError", 0, (syscall_t)WSASetLastError}, + {"WSAStartup", 0, (syscall_t)WSAStartup}, + {"WSAUnhookBlockingHook", 0, (syscall_t)WSAUnhookBlockingHook}, + {"WTSGetActiveConsoleSessionId", 0, (syscall_t)WTSGetActiveConsoleSessionId}, + {"WaitCommEvent", 0, (syscall_t)WaitCommEvent}, + {"WaitForDebugEvent", 0, (syscall_t)WaitForDebugEvent}, + {"WaitForDebugEventEx", 0, (syscall_t)WaitForDebugEventEx}, + {"WaitForInputIdle", 0, (syscall_t)WaitForInputIdle}, + {"WaitForMultipleObjects", 0, (syscall_t)WaitForMultipleObjects}, + {"WaitForMultipleObjectsEx", 0, (syscall_t)WaitForMultipleObjectsEx}, + {"WaitForPrinterChange", 0, (syscall_t)WaitForPrinterChange}, + {"WaitForSingleObject", 0, (syscall_t)WaitForSingleObject}, + {"WaitForSingleObjectEx", 0, (syscall_t)WaitForSingleObjectEx}, + {"WaitForThreadpoolIoCallbacks", 0, (syscall_t)WaitForThreadpoolIoCallbacks}, + {"WaitForThreadpoolTimerCallbacks", 0, (syscall_t)WaitForThreadpoolTimerCallbacks}, + {"WaitForThreadpoolWaitCallbacks", 0, (syscall_t)WaitForThreadpoolWaitCallbacks}, + {"WaitForThreadpoolWorkCallbacks", 0, (syscall_t)WaitForThreadpoolWorkCallbacks}, + {"WaitMessage", 0, (syscall_t)WaitMessage}, + {"WaitNamedPipeA", 0, (syscall_t)WaitNamedPipeA}, + {"WaitOnAddress", 0, (syscall_t)WaitOnAddress}, + {"WaitServiceState", 0, (syscall_t)WaitServiceState}, + {"WakeAllConditionVariable", 0, (syscall_t)WakeAllConditionVariable}, + {"WakeByAddressAll", 0, (syscall_t)WakeByAddressAll}, + {"WakeByAddressSingle", 0, (syscall_t)WakeByAddressSingle}, + {"WakeConditionVariable", 0, (syscall_t)WakeConditionVariable}, + {"WideCharToMultiByte", 0, (syscall_t)WideCharToMultiByte}, + {"WidenPath", 0, (syscall_t)WidenPath}, + {"WinExec", 0, (syscall_t)WinExec}, + {"WinHelpA", 0, (syscall_t)WinHelpA}, + {"WindowFromDC", 0, (syscall_t)WindowFromDC}, + {"WindowFromPhysicalPoint", 0, (syscall_t)WindowFromPhysicalPoint}, + {"WindowFromPoint", 0, (syscall_t)WindowFromPoint}, + {"Wow64DisableWow64FsRedirection", 0, (syscall_t)Wow64DisableWow64FsRedirection}, + {"Wow64EnableWow64FsRedirection", 0, (syscall_t)Wow64EnableWow64FsRedirection}, + {"Wow64GetThreadContext", 0, (syscall_t)Wow64GetThreadContext}, + {"Wow64GetThreadSelectorEntry", 0, (syscall_t)Wow64GetThreadSelectorEntry}, + {"Wow64RevertWow64FsRedirection", 0, (syscall_t)Wow64RevertWow64FsRedirection}, + {"Wow64SetThreadContext", 0, (syscall_t)Wow64SetThreadContext}, + {"Wow64SetThreadDefaultGuestMachine", 0, (syscall_t)Wow64SetThreadDefaultGuestMachine}, + {"Wow64SuspendThread", 0, (syscall_t)Wow64SuspendThread}, + {"WriteClassStg", 0, (syscall_t)WriteClassStg}, + {"WriteClassStm", 0, (syscall_t)WriteClassStm}, + {"WriteConsoleA", 0, (syscall_t)WriteConsoleA}, + {"WriteConsoleInputA", 0, (syscall_t)WriteConsoleInputA}, + {"WriteConsoleOutputA", 0, (syscall_t)WriteConsoleOutputA}, + {"WriteConsoleOutputAttribute", 0, (syscall_t)WriteConsoleOutputAttribute}, + {"WriteConsoleOutputCharacterA", 0, (syscall_t)WriteConsoleOutputCharacterA}, + {"WriteEncryptedFileRaw", 0, (syscall_t)WriteEncryptedFileRaw}, + {"WriteFile", 0, (syscall_t)WriteFile}, + {"WriteFileEx", 0, (syscall_t)WriteFileEx}, + {"WriteFileGather", 0, (syscall_t)WriteFileGather}, + {"WritePrinter", 0, (syscall_t)WritePrinter}, + {"WritePrivateProfileSectionA", 0, (syscall_t)WritePrivateProfileSectionA}, + {"WritePrivateProfileStringA", 0, (syscall_t)WritePrivateProfileStringA}, + {"WritePrivateProfileStructA", 0, (syscall_t)WritePrivateProfileStructA}, + {"WriteProcessMemory", 0, (syscall_t)WriteProcessMemory}, + {"WriteProfileSectionA", 0, (syscall_t)WriteProfileSectionA}, + {"WriteProfileStringA", 0, (syscall_t)WriteProfileStringA}, + {"WriteTapemark", 0, (syscall_t)WriteTapemark}, + {"ZombifyActCtx", 0, (syscall_t)ZombifyActCtx}, + {"accept", 0, (syscall_t)accept}, + {"auxGetDevCapsA", 0, (syscall_t)auxGetDevCapsA}, + {"auxGetNumDevs", 0, (syscall_t)auxGetNumDevs}, + {"auxGetVolume", 0, (syscall_t)auxGetVolume}, + {"auxOutMessage", 0, (syscall_t)auxOutMessage}, + {"auxSetVolume", 0, (syscall_t)auxSetVolume}, + {"bind", 0, (syscall_t)bind}, + {"closesocket", 0, (syscall_t)closesocket}, + {"connect", 0, (syscall_t)connect}, + {"gethostbyaddr", 0, (syscall_t)gethostbyaddr}, + {"gethostbyname", 0, (syscall_t)gethostbyname}, + {"gethostname", 0, (syscall_t)gethostname}, + {"getpeername", 0, (syscall_t)getpeername}, + {"getprotobyname", 0, (syscall_t)getprotobyname}, + {"getprotobynumber", 0, (syscall_t)getprotobynumber}, + {"getservbyname", 0, (syscall_t)getservbyname}, + {"getservbyport", 0, (syscall_t)getservbyport}, + {"getsockname", 0, (syscall_t)getsockname}, + {"getsockopt", 0, (syscall_t)getsockopt}, + {"htonl", 0, (syscall_t)htonl}, + {"htons", 0, (syscall_t)htons}, + {"inet_addr", 0, (syscall_t)inet_addr}, + {"inet_ntoa", 0, (syscall_t)inet_ntoa}, + {"ioctlsocket", 0, (syscall_t)ioctlsocket}, + {"joyConfigChanged", 0, (syscall_t)joyConfigChanged}, + {"joyGetDevCapsA", 0, (syscall_t)joyGetDevCapsA}, + {"joyGetNumDevs", 0, (syscall_t)joyGetNumDevs}, + {"joyGetPos", 0, (syscall_t)joyGetPos}, + {"joyGetPosEx", 0, (syscall_t)joyGetPosEx}, + {"joyGetThreshold", 0, (syscall_t)joyGetThreshold}, + {"joyReleaseCapture", 0, (syscall_t)joyReleaseCapture}, + {"joySetCapture", 0, (syscall_t)joySetCapture}, + {"joySetThreshold", 0, (syscall_t)joySetThreshold}, + {"keybd_event", 0, (syscall_t)keybd_event}, + {"listen", 0, (syscall_t)listen}, + {"lstrcatA", 0, (syscall_t)lstrcatA}, + {"lstrcmpA", 0, (syscall_t)lstrcmpA}, + {"lstrcmpiA", 0, (syscall_t)lstrcmpiA}, + {"lstrcpyA", 0, (syscall_t)lstrcpyA}, + {"lstrcpynA", 0, (syscall_t)lstrcpynA}, + {"lstrlenA", 0, (syscall_t)lstrlenA}, + {"mciDriverNotify", 0, (syscall_t)mciDriverNotify}, + {"mciDriverYield", 0, (syscall_t)mciDriverYield}, + {"mciFreeCommandResource", 0, (syscall_t)mciFreeCommandResource}, + {"mciGetCreatorTask", 0, (syscall_t)mciGetCreatorTask}, + {"mciGetDeviceIDA", 0, (syscall_t)mciGetDeviceIDA}, + {"mciGetDeviceIDFromElementIDA", 0, (syscall_t)mciGetDeviceIDFromElementIDA}, + {"mciGetDriverData", 0, (syscall_t)mciGetDriverData}, + {"mciGetErrorStringA", 0, (syscall_t)mciGetErrorStringA}, + {"mciGetYieldProc", 0, (syscall_t)mciGetYieldProc}, + {"mciLoadCommandResource", 0, (syscall_t)mciLoadCommandResource}, + {"mciSendCommandA", 0, (syscall_t)mciSendCommandA}, + {"mciSendStringA", 0, (syscall_t)mciSendStringA}, + {"mciSetDriverData", 0, (syscall_t)mciSetDriverData}, + {"mciSetYieldProc", 0, (syscall_t)mciSetYieldProc}, + {"midiConnect", 0, (syscall_t)midiConnect}, + {"midiDisconnect", 0, (syscall_t)midiDisconnect}, + {"midiInAddBuffer", 0, (syscall_t)midiInAddBuffer}, + {"midiInClose", 0, (syscall_t)midiInClose}, + {"midiInGetDevCapsA", 0, (syscall_t)midiInGetDevCapsA}, + {"midiInGetErrorTextA", 0, (syscall_t)midiInGetErrorTextA}, + {"midiInGetID", 0, (syscall_t)midiInGetID}, + {"midiInGetNumDevs", 0, (syscall_t)midiInGetNumDevs}, + {"midiInMessage", 0, (syscall_t)midiInMessage}, + {"midiInOpen", 0, (syscall_t)midiInOpen}, + {"midiInPrepareHeader", 0, (syscall_t)midiInPrepareHeader}, + {"midiInReset", 0, (syscall_t)midiInReset}, + {"midiInStart", 0, (syscall_t)midiInStart}, + {"midiInStop", 0, (syscall_t)midiInStop}, + {"midiInUnprepareHeader", 0, (syscall_t)midiInUnprepareHeader}, + {"midiOutCacheDrumPatches", 0, (syscall_t)midiOutCacheDrumPatches}, + {"midiOutCachePatches", 0, (syscall_t)midiOutCachePatches}, + {"midiOutClose", 0, (syscall_t)midiOutClose}, + {"midiOutGetDevCapsA", 0, (syscall_t)midiOutGetDevCapsA}, + {"midiOutGetErrorTextA", 0, (syscall_t)midiOutGetErrorTextA}, + {"midiOutGetID", 0, (syscall_t)midiOutGetID}, + {"midiOutGetNumDevs", 0, (syscall_t)midiOutGetNumDevs}, + {"midiOutGetVolume", 0, (syscall_t)midiOutGetVolume}, + {"midiOutLongMsg", 0, (syscall_t)midiOutLongMsg}, + {"midiOutMessage", 0, (syscall_t)midiOutMessage}, + {"midiOutOpen", 0, (syscall_t)midiOutOpen}, + {"midiOutPrepareHeader", 0, (syscall_t)midiOutPrepareHeader}, + {"midiOutReset", 0, (syscall_t)midiOutReset}, + {"midiOutSetVolume", 0, (syscall_t)midiOutSetVolume}, + {"midiOutShortMsg", 0, (syscall_t)midiOutShortMsg}, + {"midiOutUnprepareHeader", 0, (syscall_t)midiOutUnprepareHeader}, + {"midiStreamClose", 0, (syscall_t)midiStreamClose}, + {"midiStreamOpen", 0, (syscall_t)midiStreamOpen}, + {"midiStreamOut", 0, (syscall_t)midiStreamOut}, + {"midiStreamPause", 0, (syscall_t)midiStreamPause}, + {"midiStreamPosition", 0, (syscall_t)midiStreamPosition}, + {"midiStreamProperty", 0, (syscall_t)midiStreamProperty}, + {"midiStreamRestart", 0, (syscall_t)midiStreamRestart}, + {"midiStreamStop", 0, (syscall_t)midiStreamStop}, + {"mixerClose", 0, (syscall_t)mixerClose}, + {"mixerGetControlDetailsA", 0, (syscall_t)mixerGetControlDetailsA}, + {"mixerGetDevCapsA", 0, (syscall_t)mixerGetDevCapsA}, + {"mixerGetID", 0, (syscall_t)mixerGetID}, + {"mixerGetLineControlsA", 0, (syscall_t)mixerGetLineControlsA}, + {"mixerGetLineInfoA", 0, (syscall_t)mixerGetLineInfoA}, + {"mixerGetNumDevs", 0, (syscall_t)mixerGetNumDevs}, + {"mixerMessage", 0, (syscall_t)mixerMessage}, + {"mixerOpen", 0, (syscall_t)mixerOpen}, + {"mixerSetControlDetails", 0, (syscall_t)mixerSetControlDetails}, + {"mmDrvInstall", 0, (syscall_t)mmDrvInstall}, + {"mmioAdvance", 0, (syscall_t)mmioAdvance}, + {"mmioAscend", 0, (syscall_t)mmioAscend}, + {"mmioClose", 0, (syscall_t)mmioClose}, + {"mmioCreateChunk", 0, (syscall_t)mmioCreateChunk}, + {"mmioDescend", 0, (syscall_t)mmioDescend}, + {"mmioFlush", 0, (syscall_t)mmioFlush}, + {"mmioGetInfo", 0, (syscall_t)mmioGetInfo}, + {"mmioInstallIOProcA", 0, (syscall_t)mmioInstallIOProcA}, + {"mmioOpenA", 0, (syscall_t)mmioOpenA}, + {"mmioRead", 0, (syscall_t)mmioRead}, + {"mmioRenameA", 0, (syscall_t)mmioRenameA}, + {"mmioSeek", 0, (syscall_t)mmioSeek}, + {"mmioSendMessage", 0, (syscall_t)mmioSendMessage}, + {"mmioSetBuffer", 0, (syscall_t)mmioSetBuffer}, + {"mmioSetInfo", 0, (syscall_t)mmioSetInfo}, + {"mmioStringToFOURCCA", 0, (syscall_t)mmioStringToFOURCCA}, + {"mmioWrite", 0, (syscall_t)mmioWrite}, + {"mouse_event", 0, (syscall_t)mouse_event}, + {"ntohl", 0, (syscall_t)ntohl}, + {"ntohs", 0, (syscall_t)ntohs}, + {"recv", 0, (syscall_t)recv}, + {"recvfrom", 0, (syscall_t)recvfrom}, + {"select", 0, (syscall_t)select}, + {"send", 0, (syscall_t)send}, + {"sendto", 0, (syscall_t)sendto}, + {"setsockopt", 0, (syscall_t)setsockopt}, + {"sndPlaySoundA", 0, (syscall_t)sndPlaySoundA}, + {"socket", 0, (syscall_t)socket}, + {"timeBeginPeriod", 0, (syscall_t)timeBeginPeriod}, + {"timeEndPeriod", 0, (syscall_t)timeEndPeriod}, + {"timeGetDevCaps", 0, (syscall_t)timeGetDevCaps}, + {"timeGetSystemTime", 0, (syscall_t)timeGetSystemTime}, + {"timeGetTime", 0, (syscall_t)timeGetTime}, + {"timeKillEvent", 0, (syscall_t)timeKillEvent}, + {"timeSetEvent", 0, (syscall_t)timeSetEvent}, + {"waveInAddBuffer", 0, (syscall_t)waveInAddBuffer}, + {"waveInClose", 0, (syscall_t)waveInClose}, + {"waveInGetDevCapsA", 0, (syscall_t)waveInGetDevCapsA}, + {"waveInGetErrorTextA", 0, (syscall_t)waveInGetErrorTextA}, + {"waveInGetID", 0, (syscall_t)waveInGetID}, + {"waveInGetNumDevs", 0, (syscall_t)waveInGetNumDevs}, + {"waveInGetPosition", 0, (syscall_t)waveInGetPosition}, + {"waveInMessage", 0, (syscall_t)waveInMessage}, + {"waveInOpen", 0, (syscall_t)waveInOpen}, + {"waveInPrepareHeader", 0, (syscall_t)waveInPrepareHeader}, + {"waveInReset", 0, (syscall_t)waveInReset}, + {"waveInStart", 0, (syscall_t)waveInStart}, + {"waveInStop", 0, (syscall_t)waveInStop}, + {"waveInUnprepareHeader", 0, (syscall_t)waveInUnprepareHeader}, + {"waveOutBreakLoop", 0, (syscall_t)waveOutBreakLoop}, + {"waveOutClose", 0, (syscall_t)waveOutClose}, + {"waveOutGetDevCapsA", 0, (syscall_t)waveOutGetDevCapsA}, + {"waveOutGetErrorTextA", 0, (syscall_t)waveOutGetErrorTextA}, + {"waveOutGetID", 0, (syscall_t)waveOutGetID}, + {"waveOutGetNumDevs", 0, (syscall_t)waveOutGetNumDevs}, + {"waveOutGetPitch", 0, (syscall_t)waveOutGetPitch}, + {"waveOutGetPlaybackRate", 0, (syscall_t)waveOutGetPlaybackRate}, + {"waveOutGetPosition", 0, (syscall_t)waveOutGetPosition}, + {"waveOutGetVolume", 0, (syscall_t)waveOutGetVolume}, + {"waveOutMessage", 0, (syscall_t)waveOutMessage}, + {"waveOutOpen", 0, (syscall_t)waveOutOpen}, + {"waveOutPause", 0, (syscall_t)waveOutPause}, + {"waveOutPrepareHeader", 0, (syscall_t)waveOutPrepareHeader}, + {"waveOutReset", 0, (syscall_t)waveOutReset}, + {"waveOutRestart", 0, (syscall_t)waveOutRestart}, + {"waveOutSetPitch", 0, (syscall_t)waveOutSetPitch}, + {"waveOutSetPlaybackRate", 0, (syscall_t)waveOutSetPlaybackRate}, + {"waveOutSetVolume", 0, (syscall_t)waveOutSetVolume}, + {"waveOutUnprepareHeader", 0, (syscall_t)waveOutUnprepareHeader}, + {"waveOutWrite", 0, (syscall_t)waveOutWrite}, + {"wglCopyContext", 0, (syscall_t)wglCopyContext}, + {"wglCreateContext", 0, (syscall_t)wglCreateContext}, + {"wglCreateLayerContext", 0, (syscall_t)wglCreateLayerContext}, + {"wglDeleteContext", 0, (syscall_t)wglDeleteContext}, + {"wglDescribeLayerPlane", 0, (syscall_t)wglDescribeLayerPlane}, + {"wglGetCurrentContext", 0, (syscall_t)wglGetCurrentContext}, + {"wglGetCurrentDC", 0, (syscall_t)wglGetCurrentDC}, + {"wglGetLayerPaletteEntries", 0, (syscall_t)wglGetLayerPaletteEntries}, + {"wglGetProcAddress", 0, (syscall_t)wglGetProcAddress}, + {"wglMakeCurrent", 0, (syscall_t)wglMakeCurrent}, + {"wglRealizeLayerPalette", 0, (syscall_t)wglRealizeLayerPalette}, + {"wglSetLayerPaletteEntries", 0, (syscall_t)wglSetLayerPaletteEntries}, + {"wglShareLists", 0, (syscall_t)wglShareLists}, + {"wglSwapLayerBuffers", 0, (syscall_t)wglSwapLayerBuffers}, + {"wglSwapMultipleBuffers", 0, (syscall_t)wglSwapMultipleBuffers}, + {"wglUseFontBitmapsA", 0, (syscall_t)wglUseFontBitmapsA}, + {"wglUseFontOutlinesA", 0, (syscall_t)wglUseFontOutlinesA}, + {"wsprintfA", 0, (syscall_t)wsprintfA}, + {"wvsprintfA", 0, (syscall_t)wvsprintfA}, + +}; +#endif + +#endif diff --git a/executor/syscalls_akaros.h b/executor/syscalls_akaros.h deleted file mode 100644 index c7e8a3e89..000000000 --- a/executor/syscalls_akaros.h +++ /dev/null @@ -1,228 +0,0 @@ -// AUTOGENERATED FILE - -#if defined(__x86_64__) || 0 -#define GOARCH "amd64" -#define SYZ_REVISION "36f0e5da1becfe451b2936a2b8b1739deb53c609" -#define SYZ_EXECUTOR_USES_FORK_SERVER true -#define SYZ_EXECUTOR_USES_SHMEM false -#define SYZ_PAGE_SIZE 4096 -#define SYZ_NUM_PAGES 4096 -#define SYZ_DATA_OFFSET 536870912 -#define SYZ_SYSCALL_COUNT 213 -const call_t syscalls[] = { - {"abort_sysc", 31}, - {"abort_sysc_fd", 33}, - {"access", 108}, - {"block", 2}, - {"cache_invalidate", 3}, - {"change_to_m", 29}, - {"change_vcore", 14}, - {"chdir", 116}, - {"close", 103}, - {"dup_fds_to", 125}, - {"exec", 16}, - {"fchdir", 124}, - {"fcntl$F_DUPFD", 107}, - {"fcntl$F_GETFD", 107}, - {"fcntl$F_GETFL", 107}, - {"fcntl$F_SETFD", 107}, - {"fcntl$F_SETFL", 107}, - {"fcntl$F_SYNC", 107}, - {"fd2path", 149}, - {"fork", 15}, - {"fstat", 104}, - {"fwstat", 122}, - {"getcwd", 117}, - {"getpcoreid", 7}, - {"getvcoreid", 8}, - {"halt_core", 27}, - {"link", 112}, - {"llseek", 111}, - {"lstat", 106}, - {"mkdir", 118}, - {"mmap", 18}, - {"mprotect", 20}, - {"munmap", 19}, - {"nanosleep", 36}, - {"nbind", 145}, - {"nmount", 146}, - {"notify", 25}, - {"nunmount", 147}, - {"openat", 102}, - {"openat$dev_bintime", 102}, - {"openat$dev_caphash", 102}, - {"openat$dev_capuse", 102}, - {"openat$dev_config", 102}, - {"openat$dev_cons", 102}, - {"openat$dev_consctl", 102}, - {"openat$dev_cputime", 102}, - {"openat$dev_drivers", 102}, - {"openat$dev_empty", 102}, - {"openat$dev_hostdomain", 102}, - {"openat$dev_hostowner", 102}, - {"openat$dev_killkid", 102}, - {"openat$dev_klog", 102}, - {"openat$dev_kmesg", 102}, - {"openat$dev_kprint", 102}, - {"openat$dev_null", 102}, - {"openat$dev_osversion", 102}, - {"openat$dev_pgrpid", 102}, - {"openat$dev_pid", 102}, - {"openat$dev_ppid", 102}, - {"openat$dev_random", 102}, - {"openat$dev_sdctl", 102}, - {"openat$dev_stderr", 102}, - {"openat$dev_stdin", 102}, - {"openat$dev_stdout", 102}, - {"openat$dev_swap", 102}, - {"openat$dev_sysctl", 102}, - {"openat$dev_sysname", 102}, - {"openat$dev_sysstat", 102}, - {"openat$dev_time", 102}, - {"openat$dev_urandom", 102}, - {"openat$dev_user", 102}, - {"openat$dev_zero", 102}, - {"openat$net_arp", 102}, - {"openat$net_cs", 102}, - {"openat$net_empty", 102}, - {"openat$net_ether0_0_ctl", 102}, - {"openat$net_ether0_0_data", 102}, - {"openat$net_ether0_0_ifstats", 102}, - {"openat$net_ether0_0_stats", 102}, - {"openat$net_ether0_0_type", 102}, - {"openat$net_ether0_1_ctl", 102}, - {"openat$net_ether0_1_data", 102}, - {"openat$net_ether0_1_ifstats", 102}, - {"openat$net_ether0_1_stats", 102}, - {"openat$net_ether0_1_type", 102}, - {"openat$net_ether0_2_ctl", 102}, - {"openat$net_ether0_2_data", 102}, - {"openat$net_ether0_2_ifstats", 102}, - {"openat$net_ether0_2_stats", 102}, - {"openat$net_ether0_2_type", 102}, - {"openat$net_ether0_addr", 102}, - {"openat$net_ether0_clone", 102}, - {"openat$net_ether0_ifstats", 102}, - {"openat$net_ether0_stats", 102}, - {"openat$net_icmp_clone", 102}, - {"openat$net_icmp_stats", 102}, - {"openat$net_icmpv6_clone", 102}, - {"openat$net_icmpv6_stats", 102}, - {"openat$net_ipifc_0_ctl", 102}, - {"openat$net_ipifc_0_data", 102}, - {"openat$net_ipifc_0_err", 102}, - {"openat$net_ipifc_0_listen", 102}, - {"openat$net_ipifc_0_local", 102}, - {"openat$net_ipifc_0_remote", 102}, - {"openat$net_ipifc_0_snoop", 102}, - {"openat$net_ipifc_0_status", 102}, - {"openat$net_ipifc_1_ctl", 102}, - {"openat$net_ipifc_1_data", 102}, - {"openat$net_ipifc_1_err", 102}, - {"openat$net_ipifc_1_listen", 102}, - {"openat$net_ipifc_1_local", 102}, - {"openat$net_ipifc_1_remote", 102}, - {"openat$net_ipifc_1_snoop", 102}, - {"openat$net_ipifc_1_status", 102}, - {"openat$net_ipifc_clone", 102}, - {"openat$net_ipifc_stats", 102}, - {"openat$net_iproute", 102}, - {"openat$net_iprouter", 102}, - {"openat$net_ipselftab", 102}, - {"openat$net_log", 102}, - {"openat$net_ndb", 102}, - {"openat$net_tcp_0_ctl", 102}, - {"openat$net_tcp_0_data", 102}, - {"openat$net_tcp_0_err", 102}, - {"openat$net_tcp_0_listen", 102}, - {"openat$net_tcp_0_local", 102}, - {"openat$net_tcp_0_remote", 102}, - {"openat$net_tcp_0_status", 102}, - {"openat$net_tcp_1_ctl", 102}, - {"openat$net_tcp_1_data", 102}, - {"openat$net_tcp_1_err", 102}, - {"openat$net_tcp_1_listen", 102}, - {"openat$net_tcp_1_local", 102}, - {"openat$net_tcp_1_remote", 102}, - {"openat$net_tcp_1_status", 102}, - {"openat$net_tcp_2_ctl", 102}, - {"openat$net_tcp_2_data", 102}, - {"openat$net_tcp_2_err", 102}, - {"openat$net_tcp_2_listen", 102}, - {"openat$net_tcp_2_local", 102}, - {"openat$net_tcp_2_remote", 102}, - {"openat$net_tcp_2_status", 102}, - {"openat$net_tcp_clone", 102}, - {"openat$net_tcp_stats", 102}, - {"openat$net_udp_0_ctl", 102}, - {"openat$net_udp_0_data", 102}, - {"openat$net_udp_0_err", 102}, - {"openat$net_udp_0_listen", 102}, - {"openat$net_udp_0_local", 102}, - {"openat$net_udp_0_remote", 102}, - {"openat$net_udp_0_status", 102}, - {"openat$net_udp_clone", 102}, - {"openat$net_udp_stats", 102}, - {"openat$proc_self_args", 102}, - {"openat$proc_self_core", 102}, - {"openat$proc_self_ctl", 102}, - {"openat$proc_self_fd", 102}, - {"openat$proc_self_fpregs", 102}, - {"openat$proc_self_maps", 102}, - {"openat$proc_self_mem", 102}, - {"openat$proc_self_note", 102}, - {"openat$proc_self_noteid", 102}, - {"openat$proc_self_notepg", 102}, - {"openat$proc_self_ns", 102}, - {"openat$proc_self_proc", 102}, - {"openat$proc_self_profile", 102}, - {"openat$proc_self_segment", 102}, - {"openat$proc_self_status", 102}, - {"openat$proc_self_strace", 102}, - {"openat$proc_self_strace_traceset", 102}, - {"openat$proc_self_syscall", 102}, - {"openat$proc_self_text", 102}, - {"openat$proc_self_user", 102}, - {"openat$proc_self_vmstatus", 102}, - {"openat$proc_self_wait", 102}, - {"openat$prof_empty", 102}, - {"openat$prof_kpctl", 102}, - {"openat$prof_kpdata", 102}, - {"openat$prof_kprintx", 102}, - {"openat$prof_kptrace", 102}, - {"openat$prof_kptrace_ctl", 102}, - {"openat$prof_mpstat", 102}, - {"openat$prof_mpstat_raw", 102}, - {"poke_ksched", 30}, - {"pop_ctx", 37}, - {"populate_va", 32}, - {"proc_create", 10}, - {"proc_destroy", 12}, - {"proc_run", 11}, - {"proc_yield", 13}, - {"provision", 24}, - {"read", 100}, - {"readlink", 115}, - {"rename", 123}, - {"rmdir", 119}, - {"self_notify", 26}, - {"send_event", 39}, - {"stat", 105}, - {"symlink", 114}, - {"tap_fds", 126}, - {"tcgetattr", 141}, - {"umask", 109}, - {"unlink", 113}, - {"vc_entry", 35}, - {"vmm_add_gpcs", 34}, - {"vmm_ctl$VMM_CTL_GET_EXITS", 40}, - {"vmm_ctl$VMM_CTL_GET_FLAGS", 40}, - {"vmm_ctl$VMM_CTL_SET_EXITS", 40}, - {"vmm_ctl$VMM_CTL_SET_FLAGS", 40}, - {"vmm_poke_guest", 38}, - {"waitpid", 17}, - {"write", 101}, - {"wstat", 121}, - -}; -#endif diff --git a/executor/syscalls_freebsd.h b/executor/syscalls_freebsd.h deleted file mode 100644 index f50c2fc7d..000000000 --- a/executor/syscalls_freebsd.h +++ /dev/null @@ -1,269 +0,0 @@ -// AUTOGENERATED FILE - -#if defined(__x86_64__) || 0 -#define GOARCH "amd64" -#define SYZ_REVISION "fd7de83a3ebf8e454b041bbfe7513ed4a139d44d" -#define SYZ_EXECUTOR_USES_FORK_SERVER true -#define SYZ_EXECUTOR_USES_SHMEM true -#define SYZ_PAGE_SIZE 4096 -#define SYZ_NUM_PAGES 4096 -#define SYZ_DATA_OFFSET 536870912 -#define SYZ_SYSCALL_COUNT 254 -const call_t syscalls[] = { - {"accept", 30}, - {"accept$inet", 30}, - {"accept$inet6", 30}, - {"accept$unix", 30}, - {"accept4", 541}, - {"accept4$inet", 541}, - {"accept4$inet6", 541}, - {"accept4$unix", 541}, - {"bind", 104}, - {"bind$inet", 104}, - {"bind$inet6", 104}, - {"bind$unix", 104}, - {"chdir", 12}, - {"chmod", 15}, - {"chown", 16}, - {"chroot", 61}, - {"clock_getres", 234}, - {"clock_gettime", 232}, - {"clock_nanosleep", 244}, - {"clock_settime", 233}, - {"close", 6}, - {"connect", 98}, - {"connect$inet", 98}, - {"connect$inet6", 98}, - {"connect$unix", 98}, - {"dup", 41}, - {"dup2", 90}, - {"execve", 59}, - {"exit", 1}, - {"faccessat", 489}, - {"fchdir", 13}, - {"fchmod", 124}, - {"fchmodat", 490}, - {"fchown", 123}, - {"fchownat", 491}, - {"fcntl$dupfd", 92}, - {"fcntl$getflags", 92}, - {"fcntl$getown", 92}, - {"fcntl$lock", 92}, - {"fcntl$setflags", 92}, - {"fcntl$setown", 92}, - {"fcntl$setstatus", 92}, - {"fdatasync", 550}, - {"flock", 131}, - {"fstat", 551}, - {"fsync", 95}, - {"ftruncate", 480}, - {"futimesat", 494}, - {"getcwd", 326}, - {"getdents", 272}, - {"getegid", 43}, - {"geteuid", 25}, - {"getgid", 47}, - {"getgroups", 79}, - {"getitimer", 86}, - {"getpeername", 31}, - {"getpeername$inet", 31}, - {"getpeername$inet6", 31}, - {"getpeername$unix", 31}, - {"getpgid", 207}, - {"getpgrp", 81}, - {"getpid", 20}, - {"getresgid", 361}, - {"getresuid", 360}, - {"getrlimit", 194}, - {"getrusage", 117}, - {"getsockname", 32}, - {"getsockname$inet", 32}, - {"getsockname$inet6", 32}, - {"getsockname$unix", 32}, - {"getsockopt", 118}, - {"getsockopt$SO_PEERCRED", 118}, - {"getsockopt$inet6_buf", 118}, - {"getsockopt$inet6_int", 118}, - {"getsockopt$inet6_tcp_buf", 118}, - {"getsockopt$inet6_tcp_int", 118}, - {"getsockopt$inet_buf", 118}, - {"getsockopt$inet_int", 118}, - {"getsockopt$inet_mreq", 118}, - {"getsockopt$inet_mreqn", 118}, - {"getsockopt$inet_mreqsrc", 118}, - {"getsockopt$inet_opts", 118}, - {"getsockopt$inet_tcp_buf", 118}, - {"getsockopt$inet_tcp_int", 118}, - {"getsockopt$sock_cred", 118}, - {"getsockopt$sock_int", 118}, - {"getsockopt$sock_linger", 118}, - {"getsockopt$sock_timeval", 118}, - {"getuid", 24}, - {"lchown", 254}, - {"link", 9}, - {"linkat", 495}, - {"listen", 106}, - {"lseek", 478}, - {"lstat", 190}, - {"madvise", 75}, - {"mincore", 78}, - {"mkdir", 136}, - {"mkdirat", 496}, - {"mknod", 14}, - {"mknod$loop", 14}, - {"mknodat", 559}, - {"mlock", 203}, - {"mlockall", 324}, - {"mmap", 477}, - {"mprotect", 74}, - {"msgctl$IPC_INFO", 511}, - {"msgctl$IPC_RMID", 511}, - {"msgctl$IPC_SET", 511}, - {"msgctl$IPC_STAT", 511}, - {"msgget", 225}, - {"msgget$private", 225}, - {"msgrcv", 227}, - {"msgsnd", 226}, - {"msync", 65}, - {"munlock", 204}, - {"munlockall", 325}, - {"munmap", 73}, - {"nanosleep", 240}, - {"open", 5}, - {"open$dir", 5}, - {"openat", 499}, - {"pipe", 42}, - {"pipe2", 542}, - {"poll", 209}, - {"ppoll", 545}, - {"preadv", 289}, - {"pwritev", 290}, - {"read", 3}, - {"readlink", 58}, - {"readlinkat", 500}, - {"readv", 120}, - {"recvfrom", 29}, - {"recvfrom$inet", 29}, - {"recvfrom$inet6", 29}, - {"recvfrom$unix", 29}, - {"recvmsg", 27}, - {"rename", 128}, - {"renameat", 501}, - {"rmdir", 137}, - {"select", 93}, - {"semctl$GETALL", 510}, - {"semctl$GETNCNT", 510}, - {"semctl$GETPID", 510}, - {"semctl$GETVAL", 510}, - {"semctl$GETZCNT", 510}, - {"semctl$IPC_INFO", 510}, - {"semctl$IPC_RMID", 510}, - {"semctl$IPC_SET", 510}, - {"semctl$IPC_STAT", 510}, - {"semctl$SEM_INFO", 510}, - {"semctl$SEM_STAT", 510}, - {"semctl$SETALL", 510}, - {"semctl$SETVAL", 510}, - {"semget", 221}, - {"semget$private", 221}, - {"semop", 222}, - {"sendfile", 393}, - {"sendmsg", 28}, - {"sendmsg$unix", 28}, - {"sendto", 133}, - {"sendto$inet", 133}, - {"sendto$inet6", 133}, - {"sendto$unix", 133}, - {"setgid", 181}, - {"setgroups", 80}, - {"setitimer", 83}, - {"setpgid", 82}, - {"setregid", 127}, - {"setresgid", 312}, - {"setresuid", 311}, - {"setreuid", 126}, - {"setrlimit", 195}, - {"setsockopt", 105}, - {"setsockopt$inet6_IPV6_PKTINFO", 105}, - {"setsockopt$inet6_MCAST_JOIN_GROUP", 105}, - {"setsockopt$inet6_MCAST_LEAVE_GROUP", 105}, - {"setsockopt$inet6_MRT6_ADD_MFC", 105}, - {"setsockopt$inet6_MRT6_ADD_MIF", 105}, - {"setsockopt$inet6_MRT6_DEL_MFC", 105}, - {"setsockopt$inet6_buf", 105}, - {"setsockopt$inet6_group_source_req", 105}, - {"setsockopt$inet6_int", 105}, - {"setsockopt$inet6_tcp_TCP_CONGESTION", 105}, - {"setsockopt$inet6_tcp_buf", 105}, - {"setsockopt$inet6_tcp_int", 105}, - {"setsockopt$inet_MCAST_JOIN_GROUP", 105}, - {"setsockopt$inet_MCAST_LEAVE_GROUP", 105}, - {"setsockopt$inet_buf", 105}, - {"setsockopt$inet_group_source_req", 105}, - {"setsockopt$inet_int", 105}, - {"setsockopt$inet_mreq", 105}, - {"setsockopt$inet_mreqn", 105}, - {"setsockopt$inet_mreqsrc", 105}, - {"setsockopt$inet_msfilter", 105}, - {"setsockopt$inet_opts", 105}, - {"setsockopt$inet_tcp_TCP_CONGESTION", 105}, - {"setsockopt$inet_tcp_buf", 105}, - {"setsockopt$inet_tcp_int", 105}, - {"setsockopt$sock_cred", 105}, - {"setsockopt$sock_int", 105}, - {"setsockopt$sock_linger", 105}, - {"setsockopt$sock_timeval", 105}, - {"setuid", 23}, - {"shmat", 228}, - {"shmctl$IPC_INFO", 512}, - {"shmctl$IPC_RMID", 512}, - {"shmctl$IPC_SET", 512}, - {"shmctl$IPC_STAT", 512}, - {"shmctl$SHM_INFO", 512}, - {"shmctl$SHM_LOCK", 512}, - {"shmctl$SHM_STAT", 512}, - {"shmctl$SHM_UNLOCK", 512}, - {"shmdt", 230}, - {"shmget", 231}, - {"shmget$private", 231}, - {"shutdown", 134}, - {"sigaltstack", 53}, - {"socket", 97}, - {"socket$inet", 97}, - {"socket$inet6", 97}, - {"socket$inet6_icmp", 97}, - {"socket$inet6_icmp_raw", 97}, - {"socket$inet6_tcp", 97}, - {"socket$inet6_udp", 97}, - {"socket$inet_icmp", 97}, - {"socket$inet_icmp_raw", 97}, - {"socket$inet_tcp", 97}, - {"socket$inet_udp", 97}, - {"socket$unix", 97}, - {"socketpair", 135}, - {"socketpair$inet", 135}, - {"socketpair$inet6", 135}, - {"socketpair$inet6_icmp", 135}, - {"socketpair$inet6_icmp_raw", 135}, - {"socketpair$inet6_tcp", 135}, - {"socketpair$inet6_udp", 135}, - {"socketpair$inet_icmp", 135}, - {"socketpair$inet_icmp_raw", 135}, - {"socketpair$inet_tcp", 135}, - {"socketpair$inet_udp", 135}, - {"socketpair$unix", 135}, - {"stat", 188}, - {"symlink", 57}, - {"symlinkat", 502}, - {"sync", 36}, - {"truncate", 479}, - {"unlink", 10}, - {"unlinkat", 503}, - {"utimensat", 547}, - {"utimes", 138}, - {"wait4", 7}, - {"write", 4}, - {"writev", 121}, - -}; -#endif diff --git a/executor/syscalls_fuchsia.h b/executor/syscalls_fuchsia.h deleted file mode 100644 index 7066d6f9f..000000000 --- a/executor/syscalls_fuchsia.h +++ /dev/null @@ -1,387 +0,0 @@ -// AUTOGENERATED FILE - -#if defined(__x86_64__) || 0 -#define GOARCH "amd64" -#define SYZ_REVISION "9540132f74bbe9bfb7e8f215844bdb3a88b9a665" -#define SYZ_EXECUTOR_USES_FORK_SERVER false -#define SYZ_EXECUTOR_USES_SHMEM false -#define SYZ_PAGE_SIZE 4096 -#define SYZ_NUM_PAGES 4096 -#define SYZ_DATA_OFFSET 536870912 -#define SYZ_SYSCALL_COUNT 179 -const call_t syscalls[] = { - {"chdir", 0, (syscall_t)chdir}, - {"chmod", 0, (syscall_t)chmod}, - {"chown", 0, (syscall_t)chown}, - {"close", 0, (syscall_t)close}, - {"creat", 0, (syscall_t)creat}, - {"dup", 0, (syscall_t)dup}, - {"dup2", 0, (syscall_t)dup2}, - {"dup3", 0, (syscall_t)dup3}, - {"faccessat", 0, (syscall_t)faccessat}, - {"fchmod", 0, (syscall_t)fchmod}, - {"fchmodat", 0, (syscall_t)fchmodat}, - {"fchown", 0, (syscall_t)fchown}, - {"fchownat", 0, (syscall_t)fchownat}, - {"fdatasync", 0, (syscall_t)fdatasync}, - {"fstat", 0, (syscall_t)fstat}, - {"fsync", 0, (syscall_t)fsync}, - {"ftruncate", 0, (syscall_t)ftruncate}, - {"get_root_resource", 0, (syscall_t)get_root_resource}, - {"getcwd", 0, (syscall_t)getcwd}, - {"getgid", 0, (syscall_t)getgid}, - {"getpid", 0, (syscall_t)getpid}, - {"getuid", 0, (syscall_t)getuid}, - {"lchown", 0, (syscall_t)lchown}, - {"link", 0, (syscall_t)link}, - {"linkat", 0, (syscall_t)linkat}, - {"lseek", 0, (syscall_t)lseek}, - {"lstat", 0, (syscall_t)lstat}, - {"mkdir", 0, (syscall_t)mkdir}, - {"mkdirat", 0, (syscall_t)mkdirat}, - {"open", 0, (syscall_t)open}, - {"openat", 0, (syscall_t)openat}, - {"pipe", 0, (syscall_t)pipe}, - {"poll", 0, (syscall_t)poll}, - {"ppoll", 0, (syscall_t)ppoll}, - {"preadv", 0, (syscall_t)preadv}, - {"pwritev", 0, (syscall_t)pwritev}, - {"read", 0, (syscall_t)read}, - {"readlink", 0, (syscall_t)readlink}, - {"readlinkat", 0, (syscall_t)readlinkat}, - {"readv", 0, (syscall_t)readv}, - {"rename", 0, (syscall_t)rename}, - {"renameat", 0, (syscall_t)renameat}, - {"rmdir", 0, (syscall_t)rmdir}, - {"select", 0, (syscall_t)select}, - {"stat", 0, (syscall_t)stat}, - {"symlink", 0, (syscall_t)symlink}, - {"symlinkat", 0, (syscall_t)symlinkat}, - {"sync", 0, (syscall_t)sync}, - {"syz_future_time", 0, (syscall_t)syz_future_time}, - {"syz_job_default", 0, (syscall_t)syz_job_default}, - {"syz_mmap", 0, (syscall_t)syz_mmap}, - {"syz_process_self", 0, (syscall_t)syz_process_self}, - {"syz_thread_self", 0, (syscall_t)syz_thread_self}, - {"syz_vmar_root_self", 0, (syscall_t)syz_vmar_root_self}, - {"truncate", 0, (syscall_t)truncate}, - {"unlink", 0, (syscall_t)unlink}, - {"unlinkat", 0, (syscall_t)unlinkat}, - {"utime", 0, (syscall_t)utime}, - {"utimensat", 0, (syscall_t)utimensat}, - {"utimes", 0, (syscall_t)utimes}, - {"write", 0, (syscall_t)write}, - {"writev", 0, (syscall_t)writev}, - {"zx_cache_flush", 0, (syscall_t)zx_cache_flush}, - {"zx_channel_call", 0, (syscall_t)zx_channel_call}, - {"zx_channel_create", 0, (syscall_t)zx_channel_create}, - {"zx_channel_read", 0, (syscall_t)zx_channel_read}, - {"zx_channel_read_etc", 0, (syscall_t)zx_channel_read_etc}, - {"zx_channel_write", 0, (syscall_t)zx_channel_write}, - {"zx_clock_get", 0, (syscall_t)zx_clock_get}, - {"zx_clock_get_monotonic", 0, (syscall_t)zx_clock_get_monotonic}, - {"zx_clock_get_new", 0, (syscall_t)zx_clock_get_new}, - {"zx_cprng_add_entropy", 0, (syscall_t)zx_cprng_add_entropy}, - {"zx_cprng_draw", 0, (syscall_t)zx_cprng_draw}, - {"zx_debuglog_create", 0, (syscall_t)zx_debuglog_create}, - {"zx_debuglog_read", 0, (syscall_t)zx_debuglog_read}, - {"zx_debuglog_write", 0, (syscall_t)zx_debuglog_write}, - {"zx_event_create", 0, (syscall_t)zx_event_create}, - {"zx_eventpair_create", 0, (syscall_t)zx_eventpair_create}, - {"zx_fifo_create", 0, (syscall_t)zx_fifo_create}, - {"zx_fifo_read", 0, (syscall_t)zx_fifo_read}, - {"zx_fifo_write", 0, (syscall_t)zx_fifo_write}, - {"zx_futex_requeue", 0, (syscall_t)zx_futex_requeue}, - {"zx_futex_wait", 0, (syscall_t)zx_futex_wait}, - {"zx_futex_wake", 0, (syscall_t)zx_futex_wake}, - {"zx_futex_wake_handle_close_thread_exit", 0, (syscall_t)zx_futex_wake_handle_close_thread_exit}, - {"zx_guest_create", 0, (syscall_t)zx_guest_create}, - {"zx_guest_set_trap", 0, (syscall_t)zx_guest_set_trap}, - {"zx_handle_close", 0, (syscall_t)zx_handle_close}, - {"zx_handle_close_many", 0, (syscall_t)zx_handle_close_many}, - {"zx_handle_duplicate", 0, (syscall_t)zx_handle_duplicate}, - {"zx_handle_replace", 0, (syscall_t)zx_handle_replace}, - {"zx_interrupt_ack", 0, (syscall_t)zx_interrupt_ack}, - {"zx_interrupt_create", 0, (syscall_t)zx_interrupt_create}, - {"zx_interrupt_destroy", 0, (syscall_t)zx_interrupt_destroy}, - {"zx_job_create", 0, (syscall_t)zx_job_create}, - {"zx_job_set_policy", 0, (syscall_t)zx_job_set_policy}, - {"zx_log_create", 0, (syscall_t)zx_log_create}, - {"zx_log_read", 0, (syscall_t)zx_log_read}, - {"zx_log_write", 0, (syscall_t)zx_log_write}, - {"zx_nanosleep", 0, (syscall_t)zx_nanosleep}, - {"zx_object_get_cookie", 0, (syscall_t)zx_object_get_cookie}, - {"zx_object_get_info$ZX_INFO_CPU_STATS", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_HANDLE_BASIC", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_HANDLE_VALID", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_JOB_CHILDREN", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_JOB_PROCESSES", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_KMEM_STATS", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_PROCESS", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_PROCESS_MAPS", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_PROCESS_THREADS", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_PROCESS_VMOS", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_RESOURCE", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_TASK_STATS", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_THREAD_EXCEPTION_REPORT", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_THREAD_STATS", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_VMAR", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_property", 0, (syscall_t)zx_object_get_property}, - {"zx_object_set_cookie", 0, (syscall_t)zx_object_set_cookie}, - {"zx_object_set_profile", 0, (syscall_t)zx_object_set_profile}, - {"zx_object_set_property", 0, (syscall_t)zx_object_set_property}, - {"zx_object_signal", 0, (syscall_t)zx_object_signal}, - {"zx_object_signal_peer", 0, (syscall_t)zx_object_signal_peer}, - {"zx_object_wait_async", 0, (syscall_t)zx_object_wait_async}, - {"zx_object_wait_many", 0, (syscall_t)zx_object_wait_many}, - {"zx_object_wait_one", 0, (syscall_t)zx_object_wait_one}, - {"zx_port_cancel", 0, (syscall_t)zx_port_cancel}, - {"zx_port_create", 0, (syscall_t)zx_port_create}, - {"zx_port_queue", 0, (syscall_t)zx_port_queue}, - {"zx_port_wait", 0, (syscall_t)zx_port_wait}, - {"zx_process_create", 0, (syscall_t)zx_process_create}, - {"zx_process_exit", 0, (syscall_t)zx_process_exit}, - {"zx_process_read_memory", 0, (syscall_t)zx_process_read_memory}, - {"zx_process_start", 0, (syscall_t)zx_process_start}, - {"zx_socket_accept", 0, (syscall_t)zx_socket_accept}, - {"zx_socket_create", 0, (syscall_t)zx_socket_create}, - {"zx_socket_read", 0, (syscall_t)zx_socket_read}, - {"zx_socket_share", 0, (syscall_t)zx_socket_share}, - {"zx_socket_write", 0, (syscall_t)zx_socket_write}, - {"zx_system_get_num_cpus", 0, (syscall_t)zx_system_get_num_cpus}, - {"zx_system_get_physmem", 0, (syscall_t)zx_system_get_physmem}, - {"zx_system_get_version", 0, (syscall_t)zx_system_get_version}, - {"zx_task_bind_exception_port", 0, (syscall_t)zx_task_bind_exception_port}, - {"zx_task_resume", 0, (syscall_t)zx_task_resume}, - {"zx_thread_create", 0, (syscall_t)zx_thread_create}, - {"zx_thread_exit", 0, (syscall_t)zx_thread_exit}, - {"zx_thread_read_state", 0, (syscall_t)zx_thread_read_state}, - {"zx_thread_read_state$0", 0, (syscall_t)zx_thread_read_state}, - {"zx_thread_start", 0, (syscall_t)zx_thread_start}, - {"zx_thread_write_state", 0, (syscall_t)zx_thread_write_state}, - {"zx_thread_write_state$0", 0, (syscall_t)zx_thread_write_state}, - {"zx_ticks_get", 0, (syscall_t)zx_ticks_get}, - {"zx_ticks_per_second", 0, (syscall_t)zx_ticks_per_second}, - {"zx_timer_cancel", 0, (syscall_t)zx_timer_cancel}, - {"zx_timer_create", 0, (syscall_t)zx_timer_create}, - {"zx_timer_set", 0, (syscall_t)zx_timer_set}, - {"zx_vcpu_create", 0, (syscall_t)zx_vcpu_create}, - {"zx_vcpu_interrupt", 0, (syscall_t)zx_vcpu_interrupt}, - {"zx_vcpu_read_state", 0, (syscall_t)zx_vcpu_read_state}, - {"zx_vcpu_resume", 0, (syscall_t)zx_vcpu_resume}, - {"zx_vcpu_write_state", 0, (syscall_t)zx_vcpu_write_state}, - {"zx_vmar_allocate", 0, (syscall_t)zx_vmar_allocate}, - {"zx_vmar_destroy", 0, (syscall_t)zx_vmar_destroy}, - {"zx_vmar_map", 0, (syscall_t)zx_vmar_map}, - {"zx_vmar_protect", 0, (syscall_t)zx_vmar_protect}, - {"zx_vmar_unmap", 0, (syscall_t)zx_vmar_unmap}, - {"zx_vmar_unmap_handle_close_thread_exit", 0, (syscall_t)zx_vmar_unmap_handle_close_thread_exit}, - {"zx_vmo_clone", 0, (syscall_t)zx_vmo_clone}, - {"zx_vmo_create", 0, (syscall_t)zx_vmo_create}, - {"zx_vmo_get_size", 0, (syscall_t)zx_vmo_get_size}, - {"zx_vmo_op_range$ZX_VMO_OP_CACHE_CLEAN", 0, (syscall_t)zx_vmo_op_range}, - {"zx_vmo_op_range$ZX_VMO_OP_CACHE_CLEAN_INVALIDATE", 0, (syscall_t)zx_vmo_op_range}, - {"zx_vmo_op_range$ZX_VMO_OP_CACHE_INVALIDATE", 0, (syscall_t)zx_vmo_op_range}, - {"zx_vmo_op_range$ZX_VMO_OP_CACHE_SYNC", 0, (syscall_t)zx_vmo_op_range}, - {"zx_vmo_op_range$ZX_VMO_OP_COMMIT", 0, (syscall_t)zx_vmo_op_range}, - {"zx_vmo_op_range$ZX_VMO_OP_DECOMMIT", 0, (syscall_t)zx_vmo_op_range}, - {"zx_vmo_read", 0, (syscall_t)zx_vmo_read}, - {"zx_vmo_set_cache_policy", 0, (syscall_t)zx_vmo_set_cache_policy}, - {"zx_vmo_set_size", 0, (syscall_t)zx_vmo_set_size}, - {"zx_vmo_write", 0, (syscall_t)zx_vmo_write}, - -}; -#endif - -#if defined(__aarch64__) || 0 -#define GOARCH "arm64" -#define SYZ_REVISION "ebb425942f2bbfd2db293e4a2a0a417f6aaafb1c" -#define SYZ_EXECUTOR_USES_FORK_SERVER false -#define SYZ_EXECUTOR_USES_SHMEM false -#define SYZ_PAGE_SIZE 4096 -#define SYZ_NUM_PAGES 4096 -#define SYZ_DATA_OFFSET 536870912 -#define SYZ_SYSCALL_COUNT 179 -const call_t syscalls[] = { - {"chdir", 0, (syscall_t)chdir}, - {"chmod", 0, (syscall_t)chmod}, - {"chown", 0, (syscall_t)chown}, - {"close", 0, (syscall_t)close}, - {"creat", 0, (syscall_t)creat}, - {"dup", 0, (syscall_t)dup}, - {"dup2", 0, (syscall_t)dup2}, - {"dup3", 0, (syscall_t)dup3}, - {"faccessat", 0, (syscall_t)faccessat}, - {"fchmod", 0, (syscall_t)fchmod}, - {"fchmodat", 0, (syscall_t)fchmodat}, - {"fchown", 0, (syscall_t)fchown}, - {"fchownat", 0, (syscall_t)fchownat}, - {"fdatasync", 0, (syscall_t)fdatasync}, - {"fstat", 0, (syscall_t)fstat}, - {"fsync", 0, (syscall_t)fsync}, - {"ftruncate", 0, (syscall_t)ftruncate}, - {"get_root_resource", 0, (syscall_t)get_root_resource}, - {"getcwd", 0, (syscall_t)getcwd}, - {"getgid", 0, (syscall_t)getgid}, - {"getpid", 0, (syscall_t)getpid}, - {"getuid", 0, (syscall_t)getuid}, - {"lchown", 0, (syscall_t)lchown}, - {"link", 0, (syscall_t)link}, - {"linkat", 0, (syscall_t)linkat}, - {"lseek", 0, (syscall_t)lseek}, - {"lstat", 0, (syscall_t)lstat}, - {"mkdir", 0, (syscall_t)mkdir}, - {"mkdirat", 0, (syscall_t)mkdirat}, - {"open", 0, (syscall_t)open}, - {"openat", 0, (syscall_t)openat}, - {"pipe", 0, (syscall_t)pipe}, - {"poll", 0, (syscall_t)poll}, - {"ppoll", 0, (syscall_t)ppoll}, - {"preadv", 0, (syscall_t)preadv}, - {"pwritev", 0, (syscall_t)pwritev}, - {"read", 0, (syscall_t)read}, - {"readlink", 0, (syscall_t)readlink}, - {"readlinkat", 0, (syscall_t)readlinkat}, - {"readv", 0, (syscall_t)readv}, - {"rename", 0, (syscall_t)rename}, - {"renameat", 0, (syscall_t)renameat}, - {"rmdir", 0, (syscall_t)rmdir}, - {"select", 0, (syscall_t)select}, - {"stat", 0, (syscall_t)stat}, - {"symlink", 0, (syscall_t)symlink}, - {"symlinkat", 0, (syscall_t)symlinkat}, - {"sync", 0, (syscall_t)sync}, - {"syz_future_time", 0, (syscall_t)syz_future_time}, - {"syz_job_default", 0, (syscall_t)syz_job_default}, - {"syz_mmap", 0, (syscall_t)syz_mmap}, - {"syz_process_self", 0, (syscall_t)syz_process_self}, - {"syz_thread_self", 0, (syscall_t)syz_thread_self}, - {"syz_vmar_root_self", 0, (syscall_t)syz_vmar_root_self}, - {"truncate", 0, (syscall_t)truncate}, - {"unlink", 0, (syscall_t)unlink}, - {"unlinkat", 0, (syscall_t)unlinkat}, - {"utime", 0, (syscall_t)utime}, - {"utimensat", 0, (syscall_t)utimensat}, - {"utimes", 0, (syscall_t)utimes}, - {"write", 0, (syscall_t)write}, - {"writev", 0, (syscall_t)writev}, - {"zx_cache_flush", 0, (syscall_t)zx_cache_flush}, - {"zx_channel_call", 0, (syscall_t)zx_channel_call}, - {"zx_channel_create", 0, (syscall_t)zx_channel_create}, - {"zx_channel_read", 0, (syscall_t)zx_channel_read}, - {"zx_channel_read_etc", 0, (syscall_t)zx_channel_read_etc}, - {"zx_channel_write", 0, (syscall_t)zx_channel_write}, - {"zx_clock_get", 0, (syscall_t)zx_clock_get}, - {"zx_clock_get_monotonic", 0, (syscall_t)zx_clock_get_monotonic}, - {"zx_clock_get_new", 0, (syscall_t)zx_clock_get_new}, - {"zx_cprng_add_entropy", 0, (syscall_t)zx_cprng_add_entropy}, - {"zx_cprng_draw", 0, (syscall_t)zx_cprng_draw}, - {"zx_debuglog_create", 0, (syscall_t)zx_debuglog_create}, - {"zx_debuglog_read", 0, (syscall_t)zx_debuglog_read}, - {"zx_debuglog_write", 0, (syscall_t)zx_debuglog_write}, - {"zx_event_create", 0, (syscall_t)zx_event_create}, - {"zx_eventpair_create", 0, (syscall_t)zx_eventpair_create}, - {"zx_fifo_create", 0, (syscall_t)zx_fifo_create}, - {"zx_fifo_read", 0, (syscall_t)zx_fifo_read}, - {"zx_fifo_write", 0, (syscall_t)zx_fifo_write}, - {"zx_futex_requeue", 0, (syscall_t)zx_futex_requeue}, - {"zx_futex_wait", 0, (syscall_t)zx_futex_wait}, - {"zx_futex_wake", 0, (syscall_t)zx_futex_wake}, - {"zx_futex_wake_handle_close_thread_exit", 0, (syscall_t)zx_futex_wake_handle_close_thread_exit}, - {"zx_guest_create", 0, (syscall_t)zx_guest_create}, - {"zx_guest_set_trap", 0, (syscall_t)zx_guest_set_trap}, - {"zx_handle_close", 0, (syscall_t)zx_handle_close}, - {"zx_handle_close_many", 0, (syscall_t)zx_handle_close_many}, - {"zx_handle_duplicate", 0, (syscall_t)zx_handle_duplicate}, - {"zx_handle_replace", 0, (syscall_t)zx_handle_replace}, - {"zx_interrupt_ack", 0, (syscall_t)zx_interrupt_ack}, - {"zx_interrupt_create", 0, (syscall_t)zx_interrupt_create}, - {"zx_interrupt_destroy", 0, (syscall_t)zx_interrupt_destroy}, - {"zx_job_create", 0, (syscall_t)zx_job_create}, - {"zx_job_set_policy", 0, (syscall_t)zx_job_set_policy}, - {"zx_log_create", 0, (syscall_t)zx_log_create}, - {"zx_log_read", 0, (syscall_t)zx_log_read}, - {"zx_log_write", 0, (syscall_t)zx_log_write}, - {"zx_nanosleep", 0, (syscall_t)zx_nanosleep}, - {"zx_object_get_cookie", 0, (syscall_t)zx_object_get_cookie}, - {"zx_object_get_info$ZX_INFO_CPU_STATS", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_HANDLE_BASIC", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_HANDLE_VALID", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_JOB_CHILDREN", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_JOB_PROCESSES", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_KMEM_STATS", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_PROCESS", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_PROCESS_MAPS", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_PROCESS_THREADS", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_PROCESS_VMOS", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_RESOURCE", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_TASK_STATS", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_THREAD_EXCEPTION_REPORT", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_THREAD_STATS", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_info$ZX_INFO_VMAR", 0, (syscall_t)zx_object_get_info}, - {"zx_object_get_property", 0, (syscall_t)zx_object_get_property}, - {"zx_object_set_cookie", 0, (syscall_t)zx_object_set_cookie}, - {"zx_object_set_profile", 0, (syscall_t)zx_object_set_profile}, - {"zx_object_set_property", 0, (syscall_t)zx_object_set_property}, - {"zx_object_signal", 0, (syscall_t)zx_object_signal}, - {"zx_object_signal_peer", 0, (syscall_t)zx_object_signal_peer}, - {"zx_object_wait_async", 0, (syscall_t)zx_object_wait_async}, - {"zx_object_wait_many", 0, (syscall_t)zx_object_wait_many}, - {"zx_object_wait_one", 0, (syscall_t)zx_object_wait_one}, - {"zx_port_cancel", 0, (syscall_t)zx_port_cancel}, - {"zx_port_create", 0, (syscall_t)zx_port_create}, - {"zx_port_queue", 0, (syscall_t)zx_port_queue}, - {"zx_port_wait", 0, (syscall_t)zx_port_wait}, - {"zx_process_create", 0, (syscall_t)zx_process_create}, - {"zx_process_exit", 0, (syscall_t)zx_process_exit}, - {"zx_process_read_memory", 0, (syscall_t)zx_process_read_memory}, - {"zx_process_start", 0, (syscall_t)zx_process_start}, - {"zx_socket_accept", 0, (syscall_t)zx_socket_accept}, - {"zx_socket_create", 0, (syscall_t)zx_socket_create}, - {"zx_socket_read", 0, (syscall_t)zx_socket_read}, - {"zx_socket_share", 0, (syscall_t)zx_socket_share}, - {"zx_socket_write", 0, (syscall_t)zx_socket_write}, - {"zx_system_get_num_cpus", 0, (syscall_t)zx_system_get_num_cpus}, - {"zx_system_get_physmem", 0, (syscall_t)zx_system_get_physmem}, - {"zx_system_get_version", 0, (syscall_t)zx_system_get_version}, - {"zx_task_bind_exception_port", 0, (syscall_t)zx_task_bind_exception_port}, - {"zx_task_resume", 0, (syscall_t)zx_task_resume}, - {"zx_thread_create", 0, (syscall_t)zx_thread_create}, - {"zx_thread_exit", 0, (syscall_t)zx_thread_exit}, - {"zx_thread_read_state", 0, (syscall_t)zx_thread_read_state}, - {"zx_thread_read_state$0", 0, (syscall_t)zx_thread_read_state}, - {"zx_thread_start", 0, (syscall_t)zx_thread_start}, - {"zx_thread_write_state", 0, (syscall_t)zx_thread_write_state}, - {"zx_thread_write_state$0", 0, (syscall_t)zx_thread_write_state}, - {"zx_ticks_get", 0, (syscall_t)zx_ticks_get}, - {"zx_ticks_per_second", 0, (syscall_t)zx_ticks_per_second}, - {"zx_timer_cancel", 0, (syscall_t)zx_timer_cancel}, - {"zx_timer_create", 0, (syscall_t)zx_timer_create}, - {"zx_timer_set", 0, (syscall_t)zx_timer_set}, - {"zx_vcpu_create", 0, (syscall_t)zx_vcpu_create}, - {"zx_vcpu_interrupt", 0, (syscall_t)zx_vcpu_interrupt}, - {"zx_vcpu_read_state", 0, (syscall_t)zx_vcpu_read_state}, - {"zx_vcpu_resume", 0, (syscall_t)zx_vcpu_resume}, - {"zx_vcpu_write_state", 0, (syscall_t)zx_vcpu_write_state}, - {"zx_vmar_allocate", 0, (syscall_t)zx_vmar_allocate}, - {"zx_vmar_destroy", 0, (syscall_t)zx_vmar_destroy}, - {"zx_vmar_map", 0, (syscall_t)zx_vmar_map}, - {"zx_vmar_protect", 0, (syscall_t)zx_vmar_protect}, - {"zx_vmar_unmap", 0, (syscall_t)zx_vmar_unmap}, - {"zx_vmar_unmap_handle_close_thread_exit", 0, (syscall_t)zx_vmar_unmap_handle_close_thread_exit}, - {"zx_vmo_clone", 0, (syscall_t)zx_vmo_clone}, - {"zx_vmo_create", 0, (syscall_t)zx_vmo_create}, - {"zx_vmo_get_size", 0, (syscall_t)zx_vmo_get_size}, - {"zx_vmo_op_range$ZX_VMO_OP_CACHE_CLEAN", 0, (syscall_t)zx_vmo_op_range}, - {"zx_vmo_op_range$ZX_VMO_OP_CACHE_CLEAN_INVALIDATE", 0, (syscall_t)zx_vmo_op_range}, - {"zx_vmo_op_range$ZX_VMO_OP_CACHE_INVALIDATE", 0, (syscall_t)zx_vmo_op_range}, - {"zx_vmo_op_range$ZX_VMO_OP_CACHE_SYNC", 0, (syscall_t)zx_vmo_op_range}, - {"zx_vmo_op_range$ZX_VMO_OP_COMMIT", 0, (syscall_t)zx_vmo_op_range}, - {"zx_vmo_op_range$ZX_VMO_OP_DECOMMIT", 0, (syscall_t)zx_vmo_op_range}, - {"zx_vmo_read", 0, (syscall_t)zx_vmo_read}, - {"zx_vmo_set_cache_policy", 0, (syscall_t)zx_vmo_set_cache_policy}, - {"zx_vmo_set_size", 0, (syscall_t)zx_vmo_set_size}, - {"zx_vmo_write", 0, (syscall_t)zx_vmo_write}, - -}; -#endif diff --git a/executor/syscalls_netbsd.h b/executor/syscalls_netbsd.h deleted file mode 100644 index b9a62b1b7..000000000 --- a/executor/syscalls_netbsd.h +++ /dev/null @@ -1,203 +0,0 @@ -// AUTOGENERATED FILE - -#if defined(__x86_64__) || 0 -#define GOARCH "amd64" -#define SYZ_REVISION "cea6c87ab1f9e36df1927913a619e71cd29abcbf" -#define SYZ_EXECUTOR_USES_FORK_SERVER true -#define SYZ_EXECUTOR_USES_SHMEM true -#define SYZ_PAGE_SIZE 4096 -#define SYZ_NUM_PAGES 4096 -#define SYZ_DATA_OFFSET 536870912 -#define SYZ_SYSCALL_COUNT 188 -const call_t syscalls[] = { - {"accept", 30}, - {"accept$inet", 30}, - {"accept$inet6", 30}, - {"accept$unix", 30}, - {"bind", 104}, - {"bind$inet", 104}, - {"bind$inet6", 104}, - {"bind$unix", 104}, - {"chdir", 12}, - {"chmod", 15}, - {"chown", 16}, - {"chroot", 61}, - {"clock_getres", 429}, - {"clock_gettime", 427}, - {"clock_nanosleep", 477}, - {"clock_settime", 428}, - {"close", 6}, - {"connect", 98}, - {"connect$inet", 98}, - {"connect$inet6", 98}, - {"connect$unix", 98}, - {"dup", 41}, - {"dup2", 90}, - {"execve", 59}, - {"faccessat", 462}, - {"fchdir", 13}, - {"fchmod", 124}, - {"fchmodat", 463}, - {"fchown", 123}, - {"fchownat", 464}, - {"fchroot", 297}, - {"fcntl$dupfd", 92}, - {"fcntl$getflags", 92}, - {"fcntl$getown", 92}, - {"fcntl$lock", 92}, - {"fcntl$setflags", 92}, - {"fcntl$setown", 92}, - {"fcntl$setstatus", 92}, - {"fdatasync", 241}, - {"flock", 131}, - {"fsync", 95}, - {"ftruncate", 201}, - {"getdents", 390}, - {"getegid", 43}, - {"geteuid", 25}, - {"getgid", 47}, - {"getgroups", 79}, - {"getitimer", 426}, - {"getpeername", 31}, - {"getpeername$inet", 31}, - {"getpeername$inet6", 31}, - {"getpeername$unix", 31}, - {"getpgid", 207}, - {"getpgrp", 81}, - {"getpid", 20}, - {"getppid", 39}, - {"getrlimit", 194}, - {"getrusage", 445}, - {"getsockname", 32}, - {"getsockname$inet", 32}, - {"getsockname$inet6", 32}, - {"getsockname$unix", 32}, - {"getsockopt", 118}, - {"getsockopt$SO_PEERCRED", 118}, - {"getsockopt$inet_opts", 118}, - {"getsockopt$sock_cred", 118}, - {"getsockopt$sock_int", 118}, - {"getsockopt$sock_linger", 118}, - {"getsockopt$sock_timeval", 118}, - {"getuid", 24}, - {"lchown", 275}, - {"link", 9}, - {"linkat", 457}, - {"listen", 106}, - {"lseek", 199}, - {"lstat", 441}, - {"madvise", 75}, - {"mincore", 78}, - {"mkdir", 136}, - {"mkdirat", 461}, - {"mknod", 450}, - {"mknod$loop", 450}, - {"mknodat", 460}, - {"mlock", 203}, - {"mlockall", 242}, - {"mmap", 197}, - {"mprotect", 74}, - {"msgctl$IPC_RMID", 444}, - {"msgctl$IPC_SET", 444}, - {"msgctl$IPC_STAT", 444}, - {"msgget", 225}, - {"msgget$private", 225}, - {"msgrcv", 227}, - {"msgsnd", 226}, - {"munlock", 204}, - {"munlockall", 243}, - {"munmap", 73}, - {"nanosleep", 430}, - {"open", 5}, - {"open$dir", 5}, - {"openat", 468}, - {"paccept", 456}, - {"pipe", 42}, - {"pipe2", 453}, - {"poll", 209}, - {"preadv", 289}, - {"pwritev", 290}, - {"read", 3}, - {"readlink", 58}, - {"readlinkat", 469}, - {"readv", 120}, - {"recvfrom", 29}, - {"recvfrom$inet", 29}, - {"recvfrom$inet6", 29}, - {"recvfrom$unix", 29}, - {"recvmsg", 27}, - {"rename", 128}, - {"renameat", 458}, - {"rmdir", 137}, - {"select", 417}, - {"semctl$GETALL", 442}, - {"semctl$GETNCNT", 442}, - {"semctl$GETPID", 442}, - {"semctl$GETVAL", 442}, - {"semctl$GETZCNT", 442}, - {"semctl$IPC_RMID", 442}, - {"semctl$IPC_SET", 442}, - {"semctl$IPC_STAT", 442}, - {"semctl$SETALL", 442}, - {"semctl$SETVAL", 442}, - {"semget", 221}, - {"semget$private", 221}, - {"semop", 222}, - {"sendmsg", 28}, - {"sendmsg$unix", 28}, - {"sendto", 133}, - {"sendto$inet", 133}, - {"sendto$inet6", 133}, - {"sendto$unix", 133}, - {"setegid", 182}, - {"seteuid", 183}, - {"setgid", 181}, - {"setgroups", 80}, - {"setitimer", 425}, - {"setpgid", 82}, - {"setregid", 127}, - {"setreuid", 126}, - {"setrlimit", 195}, - {"setsockopt", 105}, - {"setsockopt$inet6_MRT6_ADD_MFC", 105}, - {"setsockopt$inet6_MRT6_ADD_MIF", 105}, - {"setsockopt$inet6_MRT6_DEL_MFC", 105}, - {"setsockopt$inet_opts", 105}, - {"setsockopt$sock_cred", 105}, - {"setsockopt$sock_int", 105}, - {"setsockopt$sock_linger", 105}, - {"setsockopt$sock_timeval", 105}, - {"setuid", 23}, - {"shmat", 228}, - {"shmctl$IPC_RMID", 443}, - {"shmctl$IPC_SET", 443}, - {"shmctl$IPC_STAT", 443}, - {"shmctl$SHM_LOCK", 443}, - {"shmctl$SHM_UNLOCK", 443}, - {"shmdt", 230}, - {"shmget", 231}, - {"shmget$private", 231}, - {"shutdown", 134}, - {"socket", 394}, - {"socket$inet", 394}, - {"socket$inet6", 394}, - {"socket$unix", 394}, - {"socketpair", 135}, - {"socketpair$inet", 135}, - {"socketpair$inet6", 135}, - {"socketpair$unix", 135}, - {"stat", 439}, - {"symlink", 57}, - {"symlinkat", 470}, - {"sync", 36}, - {"truncate", 200}, - {"unlink", 10}, - {"unlinkat", 471}, - {"utimensat", 467}, - {"utimes", 420}, - {"wait4", 449}, - {"write", 4}, - {"writev", 121}, - -}; -#endif diff --git a/executor/syscalls_test.h b/executor/syscalls_test.h deleted file mode 100644 index 2e7a82fbb..000000000 --- a/executor/syscalls_test.h +++ /dev/null @@ -1,241 +0,0 @@ -// AUTOGENERATED FILE - -#if 0 -#define GOARCH "32" -#define SYZ_REVISION "17f0e197820547caba2ae18c65c67a5ed775a9c5" -#define SYZ_EXECUTOR_USES_FORK_SERVER false -#define SYZ_EXECUTOR_USES_SHMEM false -#define SYZ_PAGE_SIZE 8192 -#define SYZ_NUM_PAGES 2048 -#define SYZ_DATA_OFFSET 536870912 -#define SYZ_SYSCALL_COUNT 106 -const call_t syscalls[] = { - {"foo$any0", 0, (syscall_t)foo}, - {"foo$anyres", 0, (syscall_t)foo}, - {"foo$fmt0", 0, (syscall_t)foo}, - {"foo$fmt1", 0, (syscall_t)foo}, - {"foo$fmt2", 0, (syscall_t)foo}, - {"foo$fmt3", 0, (syscall_t)foo}, - {"foo$fmt4", 0, (syscall_t)foo}, - {"foo$fmt5", 0, (syscall_t)foo}, - {"mutate0", 0, (syscall_t)mutate0}, - {"mutate1", 0, (syscall_t)mutate1}, - {"mutate2", 0, (syscall_t)mutate2}, - {"mutate3", 0, (syscall_t)mutate3}, - {"mutate4", 0, (syscall_t)mutate4}, - {"mutate5", 0, (syscall_t)mutate5}, - {"mutate6", 0, (syscall_t)mutate6}, - {"mutate7", 0, (syscall_t)mutate7}, - {"mutate8", 0, (syscall_t)mutate8}, - {"serialize0", 0, (syscall_t)serialize0}, - {"serialize1", 0, (syscall_t)serialize1}, - {"syz_mmap", 0, (syscall_t)syz_mmap}, - {"syz_test", 0, (syscall_t)syz_test}, - {"syz_test$align0", 0, (syscall_t)syz_test}, - {"syz_test$align1", 0, (syscall_t)syz_test}, - {"syz_test$align2", 0, (syscall_t)syz_test}, - {"syz_test$align3", 0, (syscall_t)syz_test}, - {"syz_test$align4", 0, (syscall_t)syz_test}, - {"syz_test$align5", 0, (syscall_t)syz_test}, - {"syz_test$align6", 0, (syscall_t)syz_test}, - {"syz_test$align7", 0, (syscall_t)syz_test}, - {"syz_test$array0", 0, (syscall_t)syz_test}, - {"syz_test$array1", 0, (syscall_t)syz_test}, - {"syz_test$array2", 0, (syscall_t)syz_test}, - {"syz_test$bf0", 0, (syscall_t)syz_test}, - {"syz_test$bf1", 0, (syscall_t)syz_test}, - {"syz_test$csum_encode", 0, (syscall_t)syz_test}, - {"syz_test$csum_ipv4", 0, (syscall_t)syz_test}, - {"syz_test$csum_ipv4_tcp", 0, (syscall_t)syz_test}, - {"syz_test$csum_ipv4_udp", 0, (syscall_t)syz_test}, - {"syz_test$csum_ipv6_icmp", 0, (syscall_t)syz_test}, - {"syz_test$csum_ipv6_tcp", 0, (syscall_t)syz_test}, - {"syz_test$csum_ipv6_udp", 0, (syscall_t)syz_test}, - {"syz_test$end0", 0, (syscall_t)syz_test}, - {"syz_test$end1", 0, (syscall_t)syz_test}, - {"syz_test$excessive_args1", 0, (syscall_t)syz_test}, - {"syz_test$excessive_args2", 0, (syscall_t)syz_test}, - {"syz_test$excessive_fields1", 0, (syscall_t)syz_test}, - {"syz_test$hint_data", 0, (syscall_t)syz_test}, - {"syz_test$int", 0, (syscall_t)syz_test}, - {"syz_test$length0", 0, (syscall_t)syz_test}, - {"syz_test$length1", 0, (syscall_t)syz_test}, - {"syz_test$length10", 0, (syscall_t)syz_test}, - {"syz_test$length11", 0, (syscall_t)syz_test}, - {"syz_test$length12", 0, (syscall_t)syz_test}, - {"syz_test$length13", 0, (syscall_t)syz_test}, - {"syz_test$length14", 0, (syscall_t)syz_test}, - {"syz_test$length15", 0, (syscall_t)syz_test}, - {"syz_test$length16", 0, (syscall_t)syz_test}, - {"syz_test$length17", 0, (syscall_t)syz_test}, - {"syz_test$length18", 0, (syscall_t)syz_test}, - {"syz_test$length19", 0, (syscall_t)syz_test}, - {"syz_test$length2", 0, (syscall_t)syz_test}, - {"syz_test$length20", 0, (syscall_t)syz_test}, - {"syz_test$length21", 0, (syscall_t)syz_test}, - {"syz_test$length22", 0, (syscall_t)syz_test}, - {"syz_test$length23", 0, (syscall_t)syz_test}, - {"syz_test$length24", 0, (syscall_t)syz_test}, - {"syz_test$length25", 0, (syscall_t)syz_test}, - {"syz_test$length26", 0, (syscall_t)syz_test}, - {"syz_test$length27", 0, (syscall_t)syz_test}, - {"syz_test$length28", 0, (syscall_t)syz_test}, - {"syz_test$length29", 0, (syscall_t)syz_test}, - {"syz_test$length3", 0, (syscall_t)syz_test}, - {"syz_test$length4", 0, (syscall_t)syz_test}, - {"syz_test$length5", 0, (syscall_t)syz_test}, - {"syz_test$length6", 0, (syscall_t)syz_test}, - {"syz_test$length7", 0, (syscall_t)syz_test}, - {"syz_test$length8", 0, (syscall_t)syz_test}, - {"syz_test$length9", 0, (syscall_t)syz_test}, - {"syz_test$missing_resource", 0, (syscall_t)syz_test}, - {"syz_test$missing_struct", 0, (syscall_t)syz_test}, - {"syz_test$opt0", 0, (syscall_t)syz_test}, - {"syz_test$opt1", 0, (syscall_t)syz_test}, - {"syz_test$opt2", 0, (syscall_t)syz_test}, - {"syz_test$opt3", 0, (syscall_t)syz_test}, - {"syz_test$recur0", 0, (syscall_t)syz_test}, - {"syz_test$recur1", 0, (syscall_t)syz_test}, - {"syz_test$recur2", 0, (syscall_t)syz_test}, - {"syz_test$regression0", 0, (syscall_t)syz_test}, - {"syz_test$regression1", 0, (syscall_t)syz_test}, - {"syz_test$regression2", 0, (syscall_t)syz_test}, - {"syz_test$res0", 0, (syscall_t)syz_test}, - {"syz_test$res1", 0, (syscall_t)syz_test}, - {"syz_test$struct", 0, (syscall_t)syz_test}, - {"syz_test$syz_union3", 0, (syscall_t)syz_test}, - {"syz_test$syz_union4", 0, (syscall_t)syz_test}, - {"syz_test$text_x86_16", 0, (syscall_t)syz_test}, - {"syz_test$text_x86_32", 0, (syscall_t)syz_test}, - {"syz_test$text_x86_64", 0, (syscall_t)syz_test}, - {"syz_test$text_x86_real", 0, (syscall_t)syz_test}, - {"syz_test$type_confusion1", 0, (syscall_t)syz_test}, - {"syz_test$union0", 0, (syscall_t)syz_test}, - {"syz_test$union1", 0, (syscall_t)syz_test}, - {"syz_test$union2", 0, (syscall_t)syz_test}, - {"syz_test$vma0", 0, (syscall_t)syz_test}, - {"unsupported$0", 0, (syscall_t)unsupported}, - {"unsupported$1", 0, (syscall_t)unsupported}, - -}; -#endif - -#if 0 -#define GOARCH "64" -#define SYZ_REVISION "61f15ef8197569e37704fff170d17ff7164f5fae" -#define SYZ_EXECUTOR_USES_FORK_SERVER false -#define SYZ_EXECUTOR_USES_SHMEM false -#define SYZ_PAGE_SIZE 4096 -#define SYZ_NUM_PAGES 4096 -#define SYZ_DATA_OFFSET 536870912 -#define SYZ_SYSCALL_COUNT 106 -const call_t syscalls[] = { - {"foo$any0", 0, (syscall_t)foo}, - {"foo$anyres", 0, (syscall_t)foo}, - {"foo$fmt0", 0, (syscall_t)foo}, - {"foo$fmt1", 0, (syscall_t)foo}, - {"foo$fmt2", 0, (syscall_t)foo}, - {"foo$fmt3", 0, (syscall_t)foo}, - {"foo$fmt4", 0, (syscall_t)foo}, - {"foo$fmt5", 0, (syscall_t)foo}, - {"mutate0", 0, (syscall_t)mutate0}, - {"mutate1", 0, (syscall_t)mutate1}, - {"mutate2", 0, (syscall_t)mutate2}, - {"mutate3", 0, (syscall_t)mutate3}, - {"mutate4", 0, (syscall_t)mutate4}, - {"mutate5", 0, (syscall_t)mutate5}, - {"mutate6", 0, (syscall_t)mutate6}, - {"mutate7", 0, (syscall_t)mutate7}, - {"mutate8", 0, (syscall_t)mutate8}, - {"serialize0", 0, (syscall_t)serialize0}, - {"serialize1", 0, (syscall_t)serialize1}, - {"syz_mmap", 0, (syscall_t)syz_mmap}, - {"syz_test", 0, (syscall_t)syz_test}, - {"syz_test$align0", 0, (syscall_t)syz_test}, - {"syz_test$align1", 0, (syscall_t)syz_test}, - {"syz_test$align2", 0, (syscall_t)syz_test}, - {"syz_test$align3", 0, (syscall_t)syz_test}, - {"syz_test$align4", 0, (syscall_t)syz_test}, - {"syz_test$align5", 0, (syscall_t)syz_test}, - {"syz_test$align6", 0, (syscall_t)syz_test}, - {"syz_test$align7", 0, (syscall_t)syz_test}, - {"syz_test$array0", 0, (syscall_t)syz_test}, - {"syz_test$array1", 0, (syscall_t)syz_test}, - {"syz_test$array2", 0, (syscall_t)syz_test}, - {"syz_test$bf0", 0, (syscall_t)syz_test}, - {"syz_test$bf1", 0, (syscall_t)syz_test}, - {"syz_test$csum_encode", 0, (syscall_t)syz_test}, - {"syz_test$csum_ipv4", 0, (syscall_t)syz_test}, - {"syz_test$csum_ipv4_tcp", 0, (syscall_t)syz_test}, - {"syz_test$csum_ipv4_udp", 0, (syscall_t)syz_test}, - {"syz_test$csum_ipv6_icmp", 0, (syscall_t)syz_test}, - {"syz_test$csum_ipv6_tcp", 0, (syscall_t)syz_test}, - {"syz_test$csum_ipv6_udp", 0, (syscall_t)syz_test}, - {"syz_test$end0", 0, (syscall_t)syz_test}, - {"syz_test$end1", 0, (syscall_t)syz_test}, - {"syz_test$excessive_args1", 0, (syscall_t)syz_test}, - {"syz_test$excessive_args2", 0, (syscall_t)syz_test}, - {"syz_test$excessive_fields1", 0, (syscall_t)syz_test}, - {"syz_test$hint_data", 0, (syscall_t)syz_test}, - {"syz_test$int", 0, (syscall_t)syz_test}, - {"syz_test$length0", 0, (syscall_t)syz_test}, - {"syz_test$length1", 0, (syscall_t)syz_test}, - {"syz_test$length10", 0, (syscall_t)syz_test}, - {"syz_test$length11", 0, (syscall_t)syz_test}, - {"syz_test$length12", 0, (syscall_t)syz_test}, - {"syz_test$length13", 0, (syscall_t)syz_test}, - {"syz_test$length14", 0, (syscall_t)syz_test}, - {"syz_test$length15", 0, (syscall_t)syz_test}, - {"syz_test$length16", 0, (syscall_t)syz_test}, - {"syz_test$length17", 0, (syscall_t)syz_test}, - {"syz_test$length18", 0, (syscall_t)syz_test}, - {"syz_test$length19", 0, (syscall_t)syz_test}, - {"syz_test$length2", 0, (syscall_t)syz_test}, - {"syz_test$length20", 0, (syscall_t)syz_test}, - {"syz_test$length21", 0, (syscall_t)syz_test}, - {"syz_test$length22", 0, (syscall_t)syz_test}, - {"syz_test$length23", 0, (syscall_t)syz_test}, - {"syz_test$length24", 0, (syscall_t)syz_test}, - {"syz_test$length25", 0, (syscall_t)syz_test}, - {"syz_test$length26", 0, (syscall_t)syz_test}, - {"syz_test$length27", 0, (syscall_t)syz_test}, - {"syz_test$length28", 0, (syscall_t)syz_test}, - {"syz_test$length29", 0, (syscall_t)syz_test}, - {"syz_test$length3", 0, (syscall_t)syz_test}, - {"syz_test$length4", 0, (syscall_t)syz_test}, - {"syz_test$length5", 0, (syscall_t)syz_test}, - {"syz_test$length6", 0, (syscall_t)syz_test}, - {"syz_test$length7", 0, (syscall_t)syz_test}, - {"syz_test$length8", 0, (syscall_t)syz_test}, - {"syz_test$length9", 0, (syscall_t)syz_test}, - {"syz_test$missing_resource", 0, (syscall_t)syz_test}, - {"syz_test$missing_struct", 0, (syscall_t)syz_test}, - {"syz_test$opt0", 0, (syscall_t)syz_test}, - {"syz_test$opt1", 0, (syscall_t)syz_test}, - {"syz_test$opt2", 0, (syscall_t)syz_test}, - {"syz_test$opt3", 0, (syscall_t)syz_test}, - {"syz_test$recur0", 0, (syscall_t)syz_test}, - {"syz_test$recur1", 0, (syscall_t)syz_test}, - {"syz_test$recur2", 0, (syscall_t)syz_test}, - {"syz_test$regression0", 0, (syscall_t)syz_test}, - {"syz_test$regression1", 0, (syscall_t)syz_test}, - {"syz_test$regression2", 0, (syscall_t)syz_test}, - {"syz_test$res0", 0, (syscall_t)syz_test}, - {"syz_test$res1", 0, (syscall_t)syz_test}, - {"syz_test$struct", 0, (syscall_t)syz_test}, - {"syz_test$syz_union3", 0, (syscall_t)syz_test}, - {"syz_test$syz_union4", 0, (syscall_t)syz_test}, - {"syz_test$text_x86_16", 0, (syscall_t)syz_test}, - {"syz_test$text_x86_32", 0, (syscall_t)syz_test}, - {"syz_test$text_x86_64", 0, (syscall_t)syz_test}, - {"syz_test$text_x86_real", 0, (syscall_t)syz_test}, - {"syz_test$type_confusion1", 0, (syscall_t)syz_test}, - {"syz_test$union0", 0, (syscall_t)syz_test}, - {"syz_test$union1", 0, (syscall_t)syz_test}, - {"syz_test$union2", 0, (syscall_t)syz_test}, - {"syz_test$vma0", 0, (syscall_t)syz_test}, - {"unsupported$0", 0, (syscall_t)unsupported}, - {"unsupported$1", 0, (syscall_t)unsupported}, - -}; -#endif diff --git a/executor/syscalls_windows.h b/executor/syscalls_windows.h deleted file mode 100644 index 0b2b32984..000000000 --- a/executor/syscalls_windows.h +++ /dev/null @@ -1,2970 +0,0 @@ -// AUTOGENERATED FILE - -#if defined(_M_X64) || 0 -#define GOARCH "amd64" -#define SYZ_REVISION "e9562f6b9973e9e9a9522fd8ec12b4e913f13b4c" -#define SYZ_EXECUTOR_USES_FORK_SERVER false -#define SYZ_EXECUTOR_USES_SHMEM false -#define SYZ_PAGE_SIZE 4096 -#define SYZ_NUM_PAGES 4096 -#define SYZ_DATA_OFFSET 536870912 -#define SYZ_SYSCALL_COUNT 2955 -const call_t syscalls[] = { - {"AbortDoc", 0, (syscall_t)AbortDoc}, - {"AbortPath", 0, (syscall_t)AbortPath}, - {"AbortPrinter", 0, (syscall_t)AbortPrinter}, - {"AbortSystemShutdownA", 0, (syscall_t)AbortSystemShutdownA}, - {"AcceptEx", 0, (syscall_t)AcceptEx}, - {"AccessCheck", 0, (syscall_t)AccessCheck}, - {"AccessCheckAndAuditAlarmA", 0, (syscall_t)AccessCheckAndAuditAlarmA}, - {"AccessCheckByType", 0, (syscall_t)AccessCheckByType}, - {"AccessCheckByTypeAndAuditAlarmA", 0, (syscall_t)AccessCheckByTypeAndAuditAlarmA}, - {"AccessCheckByTypeResultList", 0, (syscall_t)AccessCheckByTypeResultList}, - {"AccessCheckByTypeResultListAndAuditAlarmA", 0, (syscall_t)AccessCheckByTypeResultListAndAuditAlarmA}, - {"AccessCheckByTypeResultListAndAuditAlarmByHandleA", 0, (syscall_t)AccessCheckByTypeResultListAndAuditAlarmByHandleA}, - {"AcquireSRWLockExclusive", 0, (syscall_t)AcquireSRWLockExclusive}, - {"AcquireSRWLockShared", 0, (syscall_t)AcquireSRWLockShared}, - {"ActivateActCtx", 0, (syscall_t)ActivateActCtx}, - {"ActivateKeyboardLayout", 0, (syscall_t)ActivateKeyboardLayout}, - {"AddAccessAllowedAce", 0, (syscall_t)AddAccessAllowedAce}, - {"AddAccessAllowedAceEx", 0, (syscall_t)AddAccessAllowedAceEx}, - {"AddAccessAllowedObjectAce", 0, (syscall_t)AddAccessAllowedObjectAce}, - {"AddAccessDeniedAce", 0, (syscall_t)AddAccessDeniedAce}, - {"AddAccessDeniedAceEx", 0, (syscall_t)AddAccessDeniedAceEx}, - {"AddAccessDeniedObjectAce", 0, (syscall_t)AddAccessDeniedObjectAce}, - {"AddAce", 0, (syscall_t)AddAce}, - {"AddAtomA", 0, (syscall_t)AddAtomA}, - {"AddAuditAccessAce", 0, (syscall_t)AddAuditAccessAce}, - {"AddAuditAccessAceEx", 0, (syscall_t)AddAuditAccessAceEx}, - {"AddAuditAccessObjectAce", 0, (syscall_t)AddAuditAccessObjectAce}, - {"AddClipboardFormatListener", 0, (syscall_t)AddClipboardFormatListener}, - {"AddConditionalAce", 0, (syscall_t)AddConditionalAce}, - {"AddConsoleAliasA", 0, (syscall_t)AddConsoleAliasA}, - {"AddDllDirectory", 0, (syscall_t)AddDllDirectory}, - {"AddFontMemResourceEx", 0, (syscall_t)AddFontMemResourceEx}, - {"AddFontResourceA", 0, (syscall_t)AddFontResourceA}, - {"AddFontResourceExA", 0, (syscall_t)AddFontResourceExA}, - {"AddFormA", 0, (syscall_t)AddFormA}, - {"AddIntegrityLabelToBoundaryDescriptor", 0, (syscall_t)AddIntegrityLabelToBoundaryDescriptor}, - {"AddJobA", 0, (syscall_t)AddJobA}, - {"AddMandatoryAce", 0, (syscall_t)AddMandatoryAce}, - {"AddMonitorA", 0, (syscall_t)AddMonitorA}, - {"AddPortA", 0, (syscall_t)AddPortA}, - {"AddPrintProcessorA", 0, (syscall_t)AddPrintProcessorA}, - {"AddPrintProvidorA", 0, (syscall_t)AddPrintProvidorA}, - {"AddPrinterA", 0, (syscall_t)AddPrinterA}, - {"AddPrinterConnection2A", 0, (syscall_t)AddPrinterConnection2A}, - {"AddPrinterConnectionA", 0, (syscall_t)AddPrinterConnectionA}, - {"AddPrinterDriverA", 0, (syscall_t)AddPrinterDriverA}, - {"AddPrinterDriverExA", 0, (syscall_t)AddPrinterDriverExA}, - {"AddRefActCtx", 0, (syscall_t)AddRefActCtx}, - {"AddResourceAttributeAce", 0, (syscall_t)AddResourceAttributeAce}, - {"AddSIDToBoundaryDescriptor", 0, (syscall_t)AddSIDToBoundaryDescriptor}, - {"AddScopedPolicyIDAce", 0, (syscall_t)AddScopedPolicyIDAce}, - {"AddSecureMemoryCacheCallback", 0, (syscall_t)AddSecureMemoryCacheCallback}, - {"AddUsersToEncryptedFile", 0, (syscall_t)AddUsersToEncryptedFile}, - {"AddVectoredContinueHandler", 0, (syscall_t)AddVectoredContinueHandler}, - {"AddVectoredExceptionHandler", 0, (syscall_t)AddVectoredExceptionHandler}, - {"AdjustTokenGroups", 0, (syscall_t)AdjustTokenGroups}, - {"AdjustTokenPrivileges", 0, (syscall_t)AdjustTokenPrivileges}, - {"AdjustWindowRect", 0, (syscall_t)AdjustWindowRect}, - {"AdjustWindowRectEx", 0, (syscall_t)AdjustWindowRectEx}, - {"AdjustWindowRectExForDpi", 0, (syscall_t)AdjustWindowRectExForDpi}, - {"AdvancedDocumentPropertiesA", 0, (syscall_t)AdvancedDocumentPropertiesA}, - {"AllocConsole", 0, (syscall_t)AllocConsole}, - {"AllocateAndInitializeSid", 0, (syscall_t)AllocateAndInitializeSid}, - {"AllocateLocallyUniqueId", 0, (syscall_t)AllocateLocallyUniqueId}, - {"AllocateUserPhysicalPages", 0, (syscall_t)AllocateUserPhysicalPages}, - {"AllocateUserPhysicalPagesNuma", 0, (syscall_t)AllocateUserPhysicalPagesNuma}, - {"AllowSetForegroundWindow", 0, (syscall_t)AllowSetForegroundWindow}, - {"AlphaBlend", 0, (syscall_t)AlphaBlend}, - {"AngleArc", 0, (syscall_t)AngleArc}, - {"AnimatePalette", 0, (syscall_t)AnimatePalette}, - {"AnimateWindow", 0, (syscall_t)AnimateWindow}, - {"AnyPopup", 0, (syscall_t)AnyPopup}, - {"AppendMenuA", 0, (syscall_t)AppendMenuA}, - {"ApplicationRecoveryFinished", 0, (syscall_t)ApplicationRecoveryFinished}, - {"ApplicationRecoveryInProgress", 0, (syscall_t)ApplicationRecoveryInProgress}, - {"Arc", 0, (syscall_t)Arc}, - {"ArcTo", 0, (syscall_t)ArcTo}, - {"AreAllAccessesGranted", 0, (syscall_t)AreAllAccessesGranted}, - {"AreAnyAccessesGranted", 0, (syscall_t)AreAnyAccessesGranted}, - {"AreDpiAwarenessContextsEqual", 0, (syscall_t)AreDpiAwarenessContextsEqual}, - {"AreFileApisANSI", 0, (syscall_t)AreFileApisANSI}, - {"ArrangeIconicWindows", 0, (syscall_t)ArrangeIconicWindows}, - {"AssignProcessToJobObject", 0, (syscall_t)AssignProcessToJobObject}, - {"AssocCreateForClasses", 0, (syscall_t)AssocCreateForClasses}, - {"AttachConsole", 0, (syscall_t)AttachConsole}, - {"AttachThreadInput", 0, (syscall_t)AttachThreadInput}, - {"BCryptFreeBuffer", 0, (syscall_t)BCryptFreeBuffer}, - {"BSTR_UserFree", 0, (syscall_t)BSTR_UserFree}, - {"BSTR_UserFree64", 0, (syscall_t)BSTR_UserFree64}, - {"BSTR_UserMarshal", 0, (syscall_t)BSTR_UserMarshal}, - {"BSTR_UserMarshal64", 0, (syscall_t)BSTR_UserMarshal64}, - {"BSTR_UserSize", 0, (syscall_t)BSTR_UserSize}, - {"BSTR_UserSize64", 0, (syscall_t)BSTR_UserSize64}, - {"BSTR_UserUnmarshal", 0, (syscall_t)BSTR_UserUnmarshal}, - {"BSTR_UserUnmarshal64", 0, (syscall_t)BSTR_UserUnmarshal64}, - {"BackupEventLogA", 0, (syscall_t)BackupEventLogA}, - {"BackupRead", 0, (syscall_t)BackupRead}, - {"BackupSeek", 0, (syscall_t)BackupSeek}, - {"BackupWrite", 0, (syscall_t)BackupWrite}, - {"Beep", 0, (syscall_t)Beep}, - {"BeginDeferWindowPos", 0, (syscall_t)BeginDeferWindowPos}, - {"BeginPaint", 0, (syscall_t)BeginPaint}, - {"BeginPath", 0, (syscall_t)BeginPath}, - {"BeginUpdateResourceA", 0, (syscall_t)BeginUpdateResourceA}, - {"BindIoCompletionCallback", 0, (syscall_t)BindIoCompletionCallback}, - {"BitBlt", 0, (syscall_t)BitBlt}, - {"BlockInput", 0, (syscall_t)BlockInput}, - {"BringWindowToTop", 0, (syscall_t)BringWindowToTop}, - {"BroadcastSystemMessageA", 0, (syscall_t)BroadcastSystemMessageA}, - {"BroadcastSystemMessageExA", 0, (syscall_t)BroadcastSystemMessageExA}, - {"BuildCommDCBA", 0, (syscall_t)BuildCommDCBA}, - {"BuildCommDCBAndTimeoutsA", 0, (syscall_t)BuildCommDCBAndTimeoutsA}, - {"CalculatePopupWindowPosition", 0, (syscall_t)CalculatePopupWindowPosition}, - {"CallMsgFilterA", 0, (syscall_t)CallMsgFilterA}, - {"CallNamedPipeA", 0, (syscall_t)CallNamedPipeA}, - {"CallNextHookEx", 0, (syscall_t)CallNextHookEx}, - {"CallWindowProcA", 0, (syscall_t)CallWindowProcA}, - {"CallbackMayRunLong", 0, (syscall_t)CallbackMayRunLong}, - {"CancelDC", 0, (syscall_t)CancelDC}, - {"CancelDeviceWakeupRequest", 0, (syscall_t)CancelDeviceWakeupRequest}, - {"CancelIo", 0, (syscall_t)CancelIo}, - {"CancelIoEx", 0, (syscall_t)CancelIoEx}, - {"CancelShutdown", 0, (syscall_t)CancelShutdown}, - {"CancelSynchronousIo", 0, (syscall_t)CancelSynchronousIo}, - {"CancelThreadpoolIo", 0, (syscall_t)CancelThreadpoolIo}, - {"CancelTimerQueueTimer", 0, (syscall_t)CancelTimerQueueTimer}, - {"CancelWaitableTimer", 0, (syscall_t)CancelWaitableTimer}, - {"CascadeWindows", 0, (syscall_t)CascadeWindows}, - {"CertAddCRLContextToStore", 0, (syscall_t)CertAddCRLContextToStore}, - {"CertAddCRLLinkToStore", 0, (syscall_t)CertAddCRLLinkToStore}, - {"CertAddCTLContextToStore", 0, (syscall_t)CertAddCTLContextToStore}, - {"CertAddCTLLinkToStore", 0, (syscall_t)CertAddCTLLinkToStore}, - {"CertAddCertificateContextToStore", 0, (syscall_t)CertAddCertificateContextToStore}, - {"CertAddCertificateLinkToStore", 0, (syscall_t)CertAddCertificateLinkToStore}, - {"CertAddEncodedCRLToStore", 0, (syscall_t)CertAddEncodedCRLToStore}, - {"CertAddEncodedCTLToStore", 0, (syscall_t)CertAddEncodedCTLToStore}, - {"CertAddEncodedCertificateToStore", 0, (syscall_t)CertAddEncodedCertificateToStore}, - {"CertAddEncodedCertificateToSystemStoreA", 0, (syscall_t)CertAddEncodedCertificateToSystemStoreA}, - {"CertAddEnhancedKeyUsageIdentifier", 0, (syscall_t)CertAddEnhancedKeyUsageIdentifier}, - {"CertAddRefServerOcspResponse", 0, (syscall_t)CertAddRefServerOcspResponse}, - {"CertAddRefServerOcspResponseContext", 0, (syscall_t)CertAddRefServerOcspResponseContext}, - {"CertAddSerializedElementToStore", 0, (syscall_t)CertAddSerializedElementToStore}, - {"CertAddStoreToCollection", 0, (syscall_t)CertAddStoreToCollection}, - {"CertAlgIdToOID", 0, (syscall_t)CertAlgIdToOID}, - {"CertCloseServerOcspResponse", 0, (syscall_t)CertCloseServerOcspResponse}, - {"CertCloseStore", 0, (syscall_t)CertCloseStore}, - {"CertCompareCertificate", 0, (syscall_t)CertCompareCertificate}, - {"CertCompareCertificateName", 0, (syscall_t)CertCompareCertificateName}, - {"CertCompareIntegerBlob", 0, (syscall_t)CertCompareIntegerBlob}, - {"CertComparePublicKeyInfo", 0, (syscall_t)CertComparePublicKeyInfo}, - {"CertControlStore", 0, (syscall_t)CertControlStore}, - {"CertCreateCRLContext", 0, (syscall_t)CertCreateCRLContext}, - {"CertCreateCTLContext", 0, (syscall_t)CertCreateCTLContext}, - {"CertCreateCTLEntryFromCertificateContextProperties", 0, (syscall_t)CertCreateCTLEntryFromCertificateContextProperties}, - {"CertCreateCertificateChainEngine", 0, (syscall_t)CertCreateCertificateChainEngine}, - {"CertCreateCertificateContext", 0, (syscall_t)CertCreateCertificateContext}, - {"CertCreateContext", 0, (syscall_t)CertCreateContext}, - {"CertCreateSelfSignCertificate", 0, (syscall_t)CertCreateSelfSignCertificate}, - {"CertDeleteCRLFromStore", 0, (syscall_t)CertDeleteCRLFromStore}, - {"CertDeleteCTLFromStore", 0, (syscall_t)CertDeleteCTLFromStore}, - {"CertDeleteCertificateFromStore", 0, (syscall_t)CertDeleteCertificateFromStore}, - {"CertDuplicateCRLContext", 0, (syscall_t)CertDuplicateCRLContext}, - {"CertDuplicateCTLContext", 0, (syscall_t)CertDuplicateCTLContext}, - {"CertDuplicateCertificateChain", 0, (syscall_t)CertDuplicateCertificateChain}, - {"CertDuplicateCertificateContext", 0, (syscall_t)CertDuplicateCertificateContext}, - {"CertDuplicateStore", 0, (syscall_t)CertDuplicateStore}, - {"CertEnumCRLContextProperties", 0, (syscall_t)CertEnumCRLContextProperties}, - {"CertEnumCRLsInStore", 0, (syscall_t)CertEnumCRLsInStore}, - {"CertEnumCTLContextProperties", 0, (syscall_t)CertEnumCTLContextProperties}, - {"CertEnumCTLsInStore", 0, (syscall_t)CertEnumCTLsInStore}, - {"CertEnumCertificateContextProperties", 0, (syscall_t)CertEnumCertificateContextProperties}, - {"CertEnumCertificatesInStore", 0, (syscall_t)CertEnumCertificatesInStore}, - {"CertEnumPhysicalStore", 0, (syscall_t)CertEnumPhysicalStore}, - {"CertEnumSubjectInSortedCTL", 0, (syscall_t)CertEnumSubjectInSortedCTL}, - {"CertEnumSystemStore", 0, (syscall_t)CertEnumSystemStore}, - {"CertEnumSystemStoreLocation", 0, (syscall_t)CertEnumSystemStoreLocation}, - {"CertFindAttribute", 0, (syscall_t)CertFindAttribute}, - {"CertFindCRLInStore", 0, (syscall_t)CertFindCRLInStore}, - {"CertFindCTLInStore", 0, (syscall_t)CertFindCTLInStore}, - {"CertFindCertificateInCRL", 0, (syscall_t)CertFindCertificateInCRL}, - {"CertFindCertificateInStore", 0, (syscall_t)CertFindCertificateInStore}, - {"CertFindChainInStore", 0, (syscall_t)CertFindChainInStore}, - {"CertFindExtension", 0, (syscall_t)CertFindExtension}, - {"CertFindRDNAttr", 0, (syscall_t)CertFindRDNAttr}, - {"CertFindSubjectInCTL", 0, (syscall_t)CertFindSubjectInCTL}, - {"CertFindSubjectInSortedCTL", 0, (syscall_t)CertFindSubjectInSortedCTL}, - {"CertFreeCRLContext", 0, (syscall_t)CertFreeCRLContext}, - {"CertFreeCTLContext", 0, (syscall_t)CertFreeCTLContext}, - {"CertFreeCertificateChain", 0, (syscall_t)CertFreeCertificateChain}, - {"CertFreeCertificateChainEngine", 0, (syscall_t)CertFreeCertificateChainEngine}, - {"CertFreeCertificateChainList", 0, (syscall_t)CertFreeCertificateChainList}, - {"CertFreeCertificateContext", 0, (syscall_t)CertFreeCertificateContext}, - {"CertFreeServerOcspResponseContext", 0, (syscall_t)CertFreeServerOcspResponseContext}, - {"CertGetCRLContextProperty", 0, (syscall_t)CertGetCRLContextProperty}, - {"CertGetCRLFromStore", 0, (syscall_t)CertGetCRLFromStore}, - {"CertGetCTLContextProperty", 0, (syscall_t)CertGetCTLContextProperty}, - {"CertGetCertificateChain", 0, (syscall_t)CertGetCertificateChain}, - {"CertGetCertificateContextProperty", 0, (syscall_t)CertGetCertificateContextProperty}, - {"CertGetEnhancedKeyUsage", 0, (syscall_t)CertGetEnhancedKeyUsage}, - {"CertGetIntendedKeyUsage", 0, (syscall_t)CertGetIntendedKeyUsage}, - {"CertGetIssuerCertificateFromStore", 0, (syscall_t)CertGetIssuerCertificateFromStore}, - {"CertGetNameStringA", 0, (syscall_t)CertGetNameStringA}, - {"CertGetPublicKeyLength", 0, (syscall_t)CertGetPublicKeyLength}, - {"CertGetServerOcspResponseContext", 0, (syscall_t)CertGetServerOcspResponseContext}, - {"CertGetStoreProperty", 0, (syscall_t)CertGetStoreProperty}, - {"CertGetSubjectCertificateFromStore", 0, (syscall_t)CertGetSubjectCertificateFromStore}, - {"CertGetValidUsages", 0, (syscall_t)CertGetValidUsages}, - {"CertIsRDNAttrsInCertificateName", 0, (syscall_t)CertIsRDNAttrsInCertificateName}, - {"CertIsStrongHashToSign", 0, (syscall_t)CertIsStrongHashToSign}, - {"CertIsValidCRLForCertificate", 0, (syscall_t)CertIsValidCRLForCertificate}, - {"CertIsWeakHash", 0, (syscall_t)CertIsWeakHash}, - {"CertNameToStrA", 0, (syscall_t)CertNameToStrA}, - {"CertOIDToAlgId", 0, (syscall_t)CertOIDToAlgId}, - {"CertOpenServerOcspResponse", 0, (syscall_t)CertOpenServerOcspResponse}, - {"CertOpenStore", 0, (syscall_t)CertOpenStore}, - {"CertOpenSystemStoreA", 0, (syscall_t)CertOpenSystemStoreA}, - {"CertRDNValueToStrA", 0, (syscall_t)CertRDNValueToStrA}, - {"CertRegisterPhysicalStore", 0, (syscall_t)CertRegisterPhysicalStore}, - {"CertRegisterSystemStore", 0, (syscall_t)CertRegisterSystemStore}, - {"CertRemoveEnhancedKeyUsageIdentifier", 0, (syscall_t)CertRemoveEnhancedKeyUsageIdentifier}, - {"CertRemoveStoreFromCollection", 0, (syscall_t)CertRemoveStoreFromCollection}, - {"CertResyncCertificateChainEngine", 0, (syscall_t)CertResyncCertificateChainEngine}, - {"CertRetrieveLogoOrBiometricInfo", 0, (syscall_t)CertRetrieveLogoOrBiometricInfo}, - {"CertSaveStore", 0, (syscall_t)CertSaveStore}, - {"CertSelectCertificateChains", 0, (syscall_t)CertSelectCertificateChains}, - {"CertSerializeCRLStoreElement", 0, (syscall_t)CertSerializeCRLStoreElement}, - {"CertSerializeCTLStoreElement", 0, (syscall_t)CertSerializeCTLStoreElement}, - {"CertSerializeCertificateStoreElement", 0, (syscall_t)CertSerializeCertificateStoreElement}, - {"CertSetCRLContextProperty", 0, (syscall_t)CertSetCRLContextProperty}, - {"CertSetCTLContextProperty", 0, (syscall_t)CertSetCTLContextProperty}, - {"CertSetCertificateContextPropertiesFromCTLEntry", 0, (syscall_t)CertSetCertificateContextPropertiesFromCTLEntry}, - {"CertSetCertificateContextProperty", 0, (syscall_t)CertSetCertificateContextProperty}, - {"CertSetEnhancedKeyUsage", 0, (syscall_t)CertSetEnhancedKeyUsage}, - {"CertSetStoreProperty", 0, (syscall_t)CertSetStoreProperty}, - {"CertStrToNameA", 0, (syscall_t)CertStrToNameA}, - {"CertUnregisterPhysicalStore", 0, (syscall_t)CertUnregisterPhysicalStore}, - {"CertUnregisterSystemStore", 0, (syscall_t)CertUnregisterSystemStore}, - {"CertVerifyCRLRevocation", 0, (syscall_t)CertVerifyCRLRevocation}, - {"CertVerifyCRLTimeValidity", 0, (syscall_t)CertVerifyCRLTimeValidity}, - {"CertVerifyCTLUsage", 0, (syscall_t)CertVerifyCTLUsage}, - {"CertVerifyCertificateChainPolicy", 0, (syscall_t)CertVerifyCertificateChainPolicy}, - {"CertVerifyRevocation", 0, (syscall_t)CertVerifyRevocation}, - {"CertVerifySubjectCertificateContext", 0, (syscall_t)CertVerifySubjectCertificateContext}, - {"CertVerifyTimeValidity", 0, (syscall_t)CertVerifyTimeValidity}, - {"CertVerifyValidityNesting", 0, (syscall_t)CertVerifyValidityNesting}, - {"ChangeClipboardChain", 0, (syscall_t)ChangeClipboardChain}, - {"ChangeDisplaySettingsA", 0, (syscall_t)ChangeDisplaySettingsA}, - {"ChangeDisplaySettingsExA", 0, (syscall_t)ChangeDisplaySettingsExA}, - {"ChangeMenuA", 0, (syscall_t)ChangeMenuA}, - {"ChangeServiceConfig2A", 0, (syscall_t)ChangeServiceConfig2A}, - {"ChangeServiceConfigA", 0, (syscall_t)ChangeServiceConfigA}, - {"ChangeTimerQueueTimer", 0, (syscall_t)ChangeTimerQueueTimer}, - {"ChangeWindowMessageFilter", 0, (syscall_t)ChangeWindowMessageFilter}, - {"ChangeWindowMessageFilterEx", 0, (syscall_t)ChangeWindowMessageFilterEx}, - {"CharLowerA", 0, (syscall_t)CharLowerA}, - {"CharLowerBuffA", 0, (syscall_t)CharLowerBuffA}, - {"CharNextA", 0, (syscall_t)CharNextA}, - {"CharNextExA", 0, (syscall_t)CharNextExA}, - {"CharPrevA", 0, (syscall_t)CharPrevA}, - {"CharPrevExA", 0, (syscall_t)CharPrevExA}, - {"CharToOemA", 0, (syscall_t)CharToOemA}, - {"CharToOemBuffA", 0, (syscall_t)CharToOemBuffA}, - {"CharUpperA", 0, (syscall_t)CharUpperA}, - {"CharUpperBuffA", 0, (syscall_t)CharUpperBuffA}, - {"CheckColorsInGamut", 0, (syscall_t)CheckColorsInGamut}, - {"CheckDlgButton", 0, (syscall_t)CheckDlgButton}, - {"CheckForHiberboot", 0, (syscall_t)CheckForHiberboot}, - {"CheckMenuItem", 0, (syscall_t)CheckMenuItem}, - {"CheckMenuRadioItem", 0, (syscall_t)CheckMenuRadioItem}, - {"CheckNameLegalDOS8Dot3A", 0, (syscall_t)CheckNameLegalDOS8Dot3A}, - {"CheckRadioButton", 0, (syscall_t)CheckRadioButton}, - {"CheckRemoteDebuggerPresent", 0, (syscall_t)CheckRemoteDebuggerPresent}, - {"CheckTokenCapability", 0, (syscall_t)CheckTokenCapability}, - {"CheckTokenMembership", 0, (syscall_t)CheckTokenMembership}, - {"CheckTokenMembershipEx", 0, (syscall_t)CheckTokenMembershipEx}, - {"ChildWindowFromPoint", 0, (syscall_t)ChildWindowFromPoint}, - {"ChildWindowFromPointEx", 0, (syscall_t)ChildWindowFromPointEx}, - {"ChooseColorA", 0, (syscall_t)ChooseColorA}, - {"ChooseFontA", 0, (syscall_t)ChooseFontA}, - {"ChoosePixelFormat", 0, (syscall_t)ChoosePixelFormat}, - {"Chord", 0, (syscall_t)Chord}, - {"ClearCommBreak", 0, (syscall_t)ClearCommBreak}, - {"ClearCommError", 0, (syscall_t)ClearCommError}, - {"ClearEventLogA", 0, (syscall_t)ClearEventLogA}, - {"ClientToScreen", 0, (syscall_t)ClientToScreen}, - {"ClipCursor", 0, (syscall_t)ClipCursor}, - {"CloseClipboard", 0, (syscall_t)CloseClipboard}, - {"CloseDesktop", 0, (syscall_t)CloseDesktop}, - {"CloseDriver", 0, (syscall_t)CloseDriver}, - {"CloseEncryptedFileRaw", 0, (syscall_t)CloseEncryptedFileRaw}, - {"CloseEnhMetaFile", 0, (syscall_t)CloseEnhMetaFile}, - {"CloseEventLog", 0, (syscall_t)CloseEventLog}, - {"CloseFigure", 0, (syscall_t)CloseFigure}, - {"CloseGestureInfoHandle", 0, (syscall_t)CloseGestureInfoHandle}, - {"CloseHandle", 0, (syscall_t)CloseHandle}, - {"CloseMetaFile", 0, (syscall_t)CloseMetaFile}, - {"ClosePrinter", 0, (syscall_t)ClosePrinter}, - {"ClosePrivateNamespace", 0, (syscall_t)ClosePrivateNamespace}, - {"CloseServiceHandle", 0, (syscall_t)CloseServiceHandle}, - {"CloseSpoolFileHandle", 0, (syscall_t)CloseSpoolFileHandle}, - {"CloseThreadpool", 0, (syscall_t)CloseThreadpool}, - {"CloseThreadpoolCleanupGroup", 0, (syscall_t)CloseThreadpoolCleanupGroup}, - {"CloseThreadpoolCleanupGroupMembers", 0, (syscall_t)CloseThreadpoolCleanupGroupMembers}, - {"CloseThreadpoolIo", 0, (syscall_t)CloseThreadpoolIo}, - {"CloseThreadpoolTimer", 0, (syscall_t)CloseThreadpoolTimer}, - {"CloseThreadpoolWait", 0, (syscall_t)CloseThreadpoolWait}, - {"CloseThreadpoolWork", 0, (syscall_t)CloseThreadpoolWork}, - {"CloseTouchInputHandle", 0, (syscall_t)CloseTouchInputHandle}, - {"CloseWindow", 0, (syscall_t)CloseWindow}, - {"CloseWindowStation", 0, (syscall_t)CloseWindowStation}, - {"ColorCorrectPalette", 0, (syscall_t)ColorCorrectPalette}, - {"ColorMatchToTarget", 0, (syscall_t)ColorMatchToTarget}, - {"CombineRgn", 0, (syscall_t)CombineRgn}, - {"CombineTransform", 0, (syscall_t)CombineTransform}, - {"CommConfigDialogA", 0, (syscall_t)CommConfigDialogA}, - {"CommDlgExtendedError", 0, (syscall_t)CommDlgExtendedError}, - {"CommitSpoolData", 0, (syscall_t)CommitSpoolData}, - {"CompareFileTime", 0, (syscall_t)CompareFileTime}, - {"CompareObjectHandles", 0, (syscall_t)CompareObjectHandles}, - {"CompareStringA", 0, (syscall_t)CompareStringA}, - {"CompareStringEx", 0, (syscall_t)CompareStringEx}, - {"CompareStringOrdinal", 0, (syscall_t)CompareStringOrdinal}, - {"ConfigurePortA", 0, (syscall_t)ConfigurePortA}, - {"ConnectNamedPipe", 0, (syscall_t)ConnectNamedPipe}, - {"ConnectToPrinterDlg", 0, (syscall_t)ConnectToPrinterDlg}, - {"ContinueDebugEvent", 0, (syscall_t)ContinueDebugEvent}, - {"ControlService", 0, (syscall_t)ControlService}, - {"ControlServiceExA", 0, (syscall_t)ControlServiceExA}, - {"ConvertDefaultLocale", 0, (syscall_t)ConvertDefaultLocale}, - {"ConvertFiberToThread", 0, (syscall_t)ConvertFiberToThread}, - {"ConvertThreadToFiber", 0, (syscall_t)ConvertThreadToFiber}, - {"ConvertThreadToFiberEx", 0, (syscall_t)ConvertThreadToFiberEx}, - {"ConvertToAutoInheritPrivateObjectSecurity", 0, (syscall_t)ConvertToAutoInheritPrivateObjectSecurity}, - {"CopyAcceleratorTableA", 0, (syscall_t)CopyAcceleratorTableA}, - {"CopyContext", 0, (syscall_t)CopyContext}, - {"CopyEnhMetaFileA", 0, (syscall_t)CopyEnhMetaFileA}, - {"CopyFile2", 0, (syscall_t)CopyFile2}, - {"CopyFileA", 0, (syscall_t)CopyFileA}, - {"CopyFileExA", 0, (syscall_t)CopyFileExA}, - {"CopyFileTransactedA", 0, (syscall_t)CopyFileTransactedA}, - {"CopyIcon", 0, (syscall_t)CopyIcon}, - {"CopyImage", 0, (syscall_t)CopyImage}, - {"CopyLZFile", 0, (syscall_t)CopyLZFile}, - {"CopyMetaFileA", 0, (syscall_t)CopyMetaFileA}, - {"CopyRect", 0, (syscall_t)CopyRect}, - {"CopySid", 0, (syscall_t)CopySid}, - {"CorePrinterDriverInstalledA", 0, (syscall_t)CorePrinterDriverInstalledA}, - {"CountClipboardFormats", 0, (syscall_t)CountClipboardFormats}, - {"CreateAcceleratorTableA", 0, (syscall_t)CreateAcceleratorTableA}, - {"CreateActCtxA", 0, (syscall_t)CreateActCtxA}, - {"CreateBitmap", 0, (syscall_t)CreateBitmap}, - {"CreateBitmapIndirect", 0, (syscall_t)CreateBitmapIndirect}, - {"CreateBoundaryDescriptorA", 0, (syscall_t)CreateBoundaryDescriptorA}, - {"CreateBrushIndirect", 0, (syscall_t)CreateBrushIndirect}, - {"CreateCaret", 0, (syscall_t)CreateCaret}, - {"CreateColorSpaceA", 0, (syscall_t)CreateColorSpaceA}, - {"CreateCompatibleBitmap", 0, (syscall_t)CreateCompatibleBitmap}, - {"CreateCompatibleDC", 0, (syscall_t)CreateCompatibleDC}, - {"CreateConsoleScreenBuffer", 0, (syscall_t)CreateConsoleScreenBuffer}, - {"CreateCursor", 0, (syscall_t)CreateCursor}, - {"CreateDCA", 0, (syscall_t)CreateDCA}, - {"CreateDIBPatternBrush", 0, (syscall_t)CreateDIBPatternBrush}, - {"CreateDIBPatternBrushPt", 0, (syscall_t)CreateDIBPatternBrushPt}, - {"CreateDIBSection", 0, (syscall_t)CreateDIBSection}, - {"CreateDIBitmap", 0, (syscall_t)CreateDIBitmap}, - {"CreateDesktopA", 0, (syscall_t)CreateDesktopA}, - {"CreateDesktopExA", 0, (syscall_t)CreateDesktopExA}, - {"CreateDialogIndirectParamA", 0, (syscall_t)CreateDialogIndirectParamA}, - {"CreateDialogParamA", 0, (syscall_t)CreateDialogParamA}, - {"CreateDirectoryA", 0, (syscall_t)CreateDirectoryA}, - {"CreateDirectoryExA", 0, (syscall_t)CreateDirectoryExA}, - {"CreateDirectoryTransactedA", 0, (syscall_t)CreateDirectoryTransactedA}, - {"CreateDiscardableBitmap", 0, (syscall_t)CreateDiscardableBitmap}, - {"CreateEllipticRgn", 0, (syscall_t)CreateEllipticRgn}, - {"CreateEllipticRgnIndirect", 0, (syscall_t)CreateEllipticRgnIndirect}, - {"CreateEnclave", 0, (syscall_t)CreateEnclave}, - {"CreateEnhMetaFileA", 0, (syscall_t)CreateEnhMetaFileA}, - {"CreateEventA", 0, (syscall_t)CreateEventA}, - {"CreateEventExA", 0, (syscall_t)CreateEventExA}, - {"CreateFiber", 0, (syscall_t)CreateFiber}, - {"CreateFiberEx", 0, (syscall_t)CreateFiberEx}, - {"CreateFile2", 0, (syscall_t)CreateFile2}, - {"CreateFileA", 0, (syscall_t)CreateFileA}, - {"CreateFileMappingA", 0, (syscall_t)CreateFileMappingA}, - {"CreateFileMappingFromApp", 0, (syscall_t)CreateFileMappingFromApp}, - {"CreateFileMappingNumaA", 0, (syscall_t)CreateFileMappingNumaA}, - {"CreateFileTransactedA", 0, (syscall_t)CreateFileTransactedA}, - {"CreateFontA", 0, (syscall_t)CreateFontA}, - {"CreateFontIndirectA", 0, (syscall_t)CreateFontIndirectA}, - {"CreateFontIndirectExA", 0, (syscall_t)CreateFontIndirectExA}, - {"CreateHalftonePalette", 0, (syscall_t)CreateHalftonePalette}, - {"CreateHardLinkA", 0, (syscall_t)CreateHardLinkA}, - {"CreateHardLinkTransactedA", 0, (syscall_t)CreateHardLinkTransactedA}, - {"CreateHatchBrush", 0, (syscall_t)CreateHatchBrush}, - {"CreateICA", 0, (syscall_t)CreateICA}, - {"CreateILockBytesOnHGlobal", 0, (syscall_t)CreateILockBytesOnHGlobal}, - {"CreateIcon", 0, (syscall_t)CreateIcon}, - {"CreateIconFromResource", 0, (syscall_t)CreateIconFromResource}, - {"CreateIconFromResourceEx", 0, (syscall_t)CreateIconFromResourceEx}, - {"CreateIconIndirect", 0, (syscall_t)CreateIconIndirect}, - {"CreateIoCompletionPort", 0, (syscall_t)CreateIoCompletionPort}, - {"CreateJobObjectA", 0, (syscall_t)CreateJobObjectA}, - {"CreateJobSet", 0, (syscall_t)CreateJobSet}, - {"CreateMDIWindowA", 0, (syscall_t)CreateMDIWindowA}, - {"CreateMailslotA", 0, (syscall_t)CreateMailslotA}, - {"CreateMemoryResourceNotification", 0, (syscall_t)CreateMemoryResourceNotification}, - {"CreateMenu", 0, (syscall_t)CreateMenu}, - {"CreateMetaFileA", 0, (syscall_t)CreateMetaFileA}, - {"CreateMutexA", 0, (syscall_t)CreateMutexA}, - {"CreateMutexExA", 0, (syscall_t)CreateMutexExA}, - {"CreateNamedPipeA", 0, (syscall_t)CreateNamedPipeA}, - {"CreatePalette", 0, (syscall_t)CreatePalette}, - {"CreatePatternBrush", 0, (syscall_t)CreatePatternBrush}, - {"CreatePen", 0, (syscall_t)CreatePen}, - {"CreatePenIndirect", 0, (syscall_t)CreatePenIndirect}, - {"CreatePipe", 0, (syscall_t)CreatePipe}, - {"CreatePolyPolygonRgn", 0, (syscall_t)CreatePolyPolygonRgn}, - {"CreatePolygonRgn", 0, (syscall_t)CreatePolygonRgn}, - {"CreatePopupMenu", 0, (syscall_t)CreatePopupMenu}, - {"CreatePrivateNamespaceA", 0, (syscall_t)CreatePrivateNamespaceA}, - {"CreatePrivateObjectSecurity", 0, (syscall_t)CreatePrivateObjectSecurity}, - {"CreatePrivateObjectSecurityEx", 0, (syscall_t)CreatePrivateObjectSecurityEx}, - {"CreatePrivateObjectSecurityWithMultipleInheritance", 0, (syscall_t)CreatePrivateObjectSecurityWithMultipleInheritance}, - {"CreateProcessA", 0, (syscall_t)CreateProcessA}, - {"CreateProcessAsUserA", 0, (syscall_t)CreateProcessAsUserA}, - {"CreateRectRgn", 0, (syscall_t)CreateRectRgn}, - {"CreateRectRgnIndirect", 0, (syscall_t)CreateRectRgnIndirect}, - {"CreateRemoteThread", 0, (syscall_t)CreateRemoteThread}, - {"CreateRemoteThreadEx", 0, (syscall_t)CreateRemoteThreadEx}, - {"CreateRestrictedToken", 0, (syscall_t)CreateRestrictedToken}, - {"CreateRoundRectRgn", 0, (syscall_t)CreateRoundRectRgn}, - {"CreateScalableFontResourceA", 0, (syscall_t)CreateScalableFontResourceA}, - {"CreateSemaphoreA", 0, (syscall_t)CreateSemaphoreA}, - {"CreateSemaphoreExA", 0, (syscall_t)CreateSemaphoreExA}, - {"CreateServiceA", 0, (syscall_t)CreateServiceA}, - {"CreateSolidBrush", 0, (syscall_t)CreateSolidBrush}, - {"CreateSymbolicLinkA", 0, (syscall_t)CreateSymbolicLinkA}, - {"CreateSymbolicLinkTransactedA", 0, (syscall_t)CreateSymbolicLinkTransactedA}, - {"CreateTapePartition", 0, (syscall_t)CreateTapePartition}, - {"CreateThread", 0, (syscall_t)CreateThread}, - {"CreateThreadpool", 0, (syscall_t)CreateThreadpool}, - {"CreateThreadpoolCleanupGroup", 0, (syscall_t)CreateThreadpoolCleanupGroup}, - {"CreateThreadpoolIo", 0, (syscall_t)CreateThreadpoolIo}, - {"CreateThreadpoolTimer", 0, (syscall_t)CreateThreadpoolTimer}, - {"CreateThreadpoolWait", 0, (syscall_t)CreateThreadpoolWait}, - {"CreateThreadpoolWork", 0, (syscall_t)CreateThreadpoolWork}, - {"CreateTimerQueue", 0, (syscall_t)CreateTimerQueue}, - {"CreateTimerQueueTimer", 0, (syscall_t)CreateTimerQueueTimer}, - {"CreateUmsCompletionList", 0, (syscall_t)CreateUmsCompletionList}, - {"CreateUmsThreadContext", 0, (syscall_t)CreateUmsThreadContext}, - {"CreateWaitableTimerA", 0, (syscall_t)CreateWaitableTimerA}, - {"CreateWaitableTimerExA", 0, (syscall_t)CreateWaitableTimerExA}, - {"CreateWellKnownSid", 0, (syscall_t)CreateWellKnownSid}, - {"CreateWindowExA", 0, (syscall_t)CreateWindowExA}, - {"CreateWindowStationA", 0, (syscall_t)CreateWindowStationA}, - {"CryptAcquireCertificatePrivateKey", 0, (syscall_t)CryptAcquireCertificatePrivateKey}, - {"CryptAcquireContextA", 0, (syscall_t)CryptAcquireContextA}, - {"CryptBinaryToStringA", 0, (syscall_t)CryptBinaryToStringA}, - {"CryptCloseAsyncHandle", 0, (syscall_t)CryptCloseAsyncHandle}, - {"CryptContextAddRef", 0, (syscall_t)CryptContextAddRef}, - {"CryptCreateAsyncHandle", 0, (syscall_t)CryptCreateAsyncHandle}, - {"CryptCreateHash", 0, (syscall_t)CryptCreateHash}, - {"CryptCreateKeyIdentifierFromCSP", 0, (syscall_t)CryptCreateKeyIdentifierFromCSP}, - {"CryptDecodeMessage", 0, (syscall_t)CryptDecodeMessage}, - {"CryptDecodeObject", 0, (syscall_t)CryptDecodeObject}, - {"CryptDecodeObjectEx", 0, (syscall_t)CryptDecodeObjectEx}, - {"CryptDecrypt", 0, (syscall_t)CryptDecrypt}, - {"CryptDecryptAndVerifyMessageSignature", 0, (syscall_t)CryptDecryptAndVerifyMessageSignature}, - {"CryptDecryptMessage", 0, (syscall_t)CryptDecryptMessage}, - {"CryptDeriveKey", 0, (syscall_t)CryptDeriveKey}, - {"CryptDestroyHash", 0, (syscall_t)CryptDestroyHash}, - {"CryptDestroyKey", 0, (syscall_t)CryptDestroyKey}, - {"CryptDuplicateHash", 0, (syscall_t)CryptDuplicateHash}, - {"CryptDuplicateKey", 0, (syscall_t)CryptDuplicateKey}, - {"CryptEncodeObject", 0, (syscall_t)CryptEncodeObject}, - {"CryptEncodeObjectEx", 0, (syscall_t)CryptEncodeObjectEx}, - {"CryptEncrypt", 0, (syscall_t)CryptEncrypt}, - {"CryptEncryptMessage", 0, (syscall_t)CryptEncryptMessage}, - {"CryptEnumKeyIdentifierProperties", 0, (syscall_t)CryptEnumKeyIdentifierProperties}, - {"CryptEnumOIDFunction", 0, (syscall_t)CryptEnumOIDFunction}, - {"CryptEnumOIDInfo", 0, (syscall_t)CryptEnumOIDInfo}, - {"CryptEnumProviderTypesA", 0, (syscall_t)CryptEnumProviderTypesA}, - {"CryptEnumProvidersA", 0, (syscall_t)CryptEnumProvidersA}, - {"CryptExportKey", 0, (syscall_t)CryptExportKey}, - {"CryptExportPKCS8", 0, (syscall_t)CryptExportPKCS8}, - {"CryptExportPublicKeyInfo", 0, (syscall_t)CryptExportPublicKeyInfo}, - {"CryptExportPublicKeyInfoEx", 0, (syscall_t)CryptExportPublicKeyInfoEx}, - {"CryptExportPublicKeyInfoFromBCryptKeyHandle", 0, (syscall_t)CryptExportPublicKeyInfoFromBCryptKeyHandle}, - {"CryptFindCertificateKeyProvInfo", 0, (syscall_t)CryptFindCertificateKeyProvInfo}, - {"CryptFindLocalizedName", 0, (syscall_t)CryptFindLocalizedName}, - {"CryptFindOIDInfo", 0, (syscall_t)CryptFindOIDInfo}, - {"CryptFormatObject", 0, (syscall_t)CryptFormatObject}, - {"CryptFreeOIDFunctionAddress", 0, (syscall_t)CryptFreeOIDFunctionAddress}, - {"CryptGenKey", 0, (syscall_t)CryptGenKey}, - {"CryptGenRandom", 0, (syscall_t)CryptGenRandom}, - {"CryptGetAsyncParam", 0, (syscall_t)CryptGetAsyncParam}, - {"CryptGetDefaultOIDDllList", 0, (syscall_t)CryptGetDefaultOIDDllList}, - {"CryptGetDefaultOIDFunctionAddress", 0, (syscall_t)CryptGetDefaultOIDFunctionAddress}, - {"CryptGetDefaultProviderA", 0, (syscall_t)CryptGetDefaultProviderA}, - {"CryptGetHashParam", 0, (syscall_t)CryptGetHashParam}, - {"CryptGetKeyIdentifierProperty", 0, (syscall_t)CryptGetKeyIdentifierProperty}, - {"CryptGetKeyParam", 0, (syscall_t)CryptGetKeyParam}, - {"CryptGetMessageCertificates", 0, (syscall_t)CryptGetMessageCertificates}, - {"CryptGetMessageSignerCount", 0, (syscall_t)CryptGetMessageSignerCount}, - {"CryptGetOIDFunctionAddress", 0, (syscall_t)CryptGetOIDFunctionAddress}, - {"CryptGetOIDFunctionValue", 0, (syscall_t)CryptGetOIDFunctionValue}, - {"CryptGetObjectUrl", 0, (syscall_t)CryptGetObjectUrl}, - {"CryptGetProvParam", 0, (syscall_t)CryptGetProvParam}, - {"CryptGetUserKey", 0, (syscall_t)CryptGetUserKey}, - {"CryptHashCertificate", 0, (syscall_t)CryptHashCertificate}, - {"CryptHashCertificate2", 0, (syscall_t)CryptHashCertificate2}, - {"CryptHashData", 0, (syscall_t)CryptHashData}, - {"CryptHashMessage", 0, (syscall_t)CryptHashMessage}, - {"CryptHashPublicKeyInfo", 0, (syscall_t)CryptHashPublicKeyInfo}, - {"CryptHashSessionKey", 0, (syscall_t)CryptHashSessionKey}, - {"CryptHashToBeSigned", 0, (syscall_t)CryptHashToBeSigned}, - {"CryptImportKey", 0, (syscall_t)CryptImportKey}, - {"CryptImportPKCS8", 0, (syscall_t)CryptImportPKCS8}, - {"CryptImportPublicKeyInfo", 0, (syscall_t)CryptImportPublicKeyInfo}, - {"CryptImportPublicKeyInfoEx", 0, (syscall_t)CryptImportPublicKeyInfoEx}, - {"CryptImportPublicKeyInfoEx2", 0, (syscall_t)CryptImportPublicKeyInfoEx2}, - {"CryptInitOIDFunctionSet", 0, (syscall_t)CryptInitOIDFunctionSet}, - {"CryptInstallCancelRetrieval", 0, (syscall_t)CryptInstallCancelRetrieval}, - {"CryptInstallDefaultContext", 0, (syscall_t)CryptInstallDefaultContext}, - {"CryptInstallOIDFunctionAddress", 0, (syscall_t)CryptInstallOIDFunctionAddress}, - {"CryptMemAlloc", 0, (syscall_t)CryptMemAlloc}, - {"CryptMemFree", 0, (syscall_t)CryptMemFree}, - {"CryptMemRealloc", 0, (syscall_t)CryptMemRealloc}, - {"CryptMsgCalculateEncodedLength", 0, (syscall_t)CryptMsgCalculateEncodedLength}, - {"CryptMsgClose", 0, (syscall_t)CryptMsgClose}, - {"CryptMsgControl", 0, (syscall_t)CryptMsgControl}, - {"CryptMsgCountersign", 0, (syscall_t)CryptMsgCountersign}, - {"CryptMsgCountersignEncoded", 0, (syscall_t)CryptMsgCountersignEncoded}, - {"CryptMsgDuplicate", 0, (syscall_t)CryptMsgDuplicate}, - {"CryptMsgEncodeAndSignCTL", 0, (syscall_t)CryptMsgEncodeAndSignCTL}, - {"CryptMsgGetAndVerifySigner", 0, (syscall_t)CryptMsgGetAndVerifySigner}, - {"CryptMsgGetParam", 0, (syscall_t)CryptMsgGetParam}, - {"CryptMsgOpenToDecode", 0, (syscall_t)CryptMsgOpenToDecode}, - {"CryptMsgOpenToEncode", 0, (syscall_t)CryptMsgOpenToEncode}, - {"CryptMsgSignCTL", 0, (syscall_t)CryptMsgSignCTL}, - {"CryptMsgUpdate", 0, (syscall_t)CryptMsgUpdate}, - {"CryptMsgVerifyCountersignatureEncoded", 0, (syscall_t)CryptMsgVerifyCountersignatureEncoded}, - {"CryptMsgVerifyCountersignatureEncodedEx", 0, (syscall_t)CryptMsgVerifyCountersignatureEncodedEx}, - {"CryptProtectData", 0, (syscall_t)CryptProtectData}, - {"CryptProtectMemory", 0, (syscall_t)CryptProtectMemory}, - {"CryptQueryObject", 0, (syscall_t)CryptQueryObject}, - {"CryptRegisterDefaultOIDFunction", 0, (syscall_t)CryptRegisterDefaultOIDFunction}, - {"CryptRegisterOIDFunction", 0, (syscall_t)CryptRegisterOIDFunction}, - {"CryptRegisterOIDInfo", 0, (syscall_t)CryptRegisterOIDInfo}, - {"CryptReleaseContext", 0, (syscall_t)CryptReleaseContext}, - {"CryptRetrieveObjectByUrlA", 0, (syscall_t)CryptRetrieveObjectByUrlA}, - {"CryptRetrieveTimeStamp", 0, (syscall_t)CryptRetrieveTimeStamp}, - {"CryptSetAsyncParam", 0, (syscall_t)CryptSetAsyncParam}, - {"CryptSetHashParam", 0, (syscall_t)CryptSetHashParam}, - {"CryptSetKeyIdentifierProperty", 0, (syscall_t)CryptSetKeyIdentifierProperty}, - {"CryptSetKeyParam", 0, (syscall_t)CryptSetKeyParam}, - {"CryptSetOIDFunctionValue", 0, (syscall_t)CryptSetOIDFunctionValue}, - {"CryptSetProvParam", 0, (syscall_t)CryptSetProvParam}, - {"CryptSetProviderA", 0, (syscall_t)CryptSetProviderA}, - {"CryptSetProviderExA", 0, (syscall_t)CryptSetProviderExA}, - {"CryptSignAndEncodeCertificate", 0, (syscall_t)CryptSignAndEncodeCertificate}, - {"CryptSignAndEncryptMessage", 0, (syscall_t)CryptSignAndEncryptMessage}, - {"CryptSignCertificate", 0, (syscall_t)CryptSignCertificate}, - {"CryptSignHashA", 0, (syscall_t)CryptSignHashA}, - {"CryptSignMessage", 0, (syscall_t)CryptSignMessage}, - {"CryptSignMessageWithKey", 0, (syscall_t)CryptSignMessageWithKey}, - {"CryptStringToBinaryA", 0, (syscall_t)CryptStringToBinaryA}, - {"CryptUninstallCancelRetrieval", 0, (syscall_t)CryptUninstallCancelRetrieval}, - {"CryptUninstallDefaultContext", 0, (syscall_t)CryptUninstallDefaultContext}, - {"CryptUnprotectData", 0, (syscall_t)CryptUnprotectData}, - {"CryptUnprotectMemory", 0, (syscall_t)CryptUnprotectMemory}, - {"CryptUnregisterDefaultOIDFunction", 0, (syscall_t)CryptUnregisterDefaultOIDFunction}, - {"CryptUnregisterOIDFunction", 0, (syscall_t)CryptUnregisterOIDFunction}, - {"CryptUnregisterOIDInfo", 0, (syscall_t)CryptUnregisterOIDInfo}, - {"CryptUpdateProtectedState", 0, (syscall_t)CryptUpdateProtectedState}, - {"CryptVerifyCertificateSignature", 0, (syscall_t)CryptVerifyCertificateSignature}, - {"CryptVerifyCertificateSignatureEx", 0, (syscall_t)CryptVerifyCertificateSignatureEx}, - {"CryptVerifyDetachedMessageHash", 0, (syscall_t)CryptVerifyDetachedMessageHash}, - {"CryptVerifyDetachedMessageSignature", 0, (syscall_t)CryptVerifyDetachedMessageSignature}, - {"CryptVerifyMessageHash", 0, (syscall_t)CryptVerifyMessageHash}, - {"CryptVerifyMessageSignature", 0, (syscall_t)CryptVerifyMessageSignature}, - {"CryptVerifyMessageSignatureWithKey", 0, (syscall_t)CryptVerifyMessageSignatureWithKey}, - {"CryptVerifySignatureA", 0, (syscall_t)CryptVerifySignatureA}, - {"CryptVerifyTimeStampSignature", 0, (syscall_t)CryptVerifyTimeStampSignature}, - {"CveEventWrite", 0, (syscall_t)CveEventWrite}, - {"DPtoLP", 0, (syscall_t)DPtoLP}, - {"DceErrorInqTextA", 0, (syscall_t)DceErrorInqTextA}, - {"DdeAbandonTransaction", 0, (syscall_t)DdeAbandonTransaction}, - {"DdeAccessData", 0, (syscall_t)DdeAccessData}, - {"DdeAddData", 0, (syscall_t)DdeAddData}, - {"DdeClientTransaction", 0, (syscall_t)DdeClientTransaction}, - {"DdeCmpStringHandles", 0, (syscall_t)DdeCmpStringHandles}, - {"DdeConnect", 0, (syscall_t)DdeConnect}, - {"DdeConnectList", 0, (syscall_t)DdeConnectList}, - {"DdeCreateDataHandle", 0, (syscall_t)DdeCreateDataHandle}, - {"DdeCreateStringHandleA", 0, (syscall_t)DdeCreateStringHandleA}, - {"DdeDisconnect", 0, (syscall_t)DdeDisconnect}, - {"DdeDisconnectList", 0, (syscall_t)DdeDisconnectList}, - {"DdeEnableCallback", 0, (syscall_t)DdeEnableCallback}, - {"DdeFreeDataHandle", 0, (syscall_t)DdeFreeDataHandle}, - {"DdeFreeStringHandle", 0, (syscall_t)DdeFreeStringHandle}, - {"DdeGetData", 0, (syscall_t)DdeGetData}, - {"DdeGetLastError", 0, (syscall_t)DdeGetLastError}, - {"DdeImpersonateClient", 0, (syscall_t)DdeImpersonateClient}, - {"DdeInitializeA", 0, (syscall_t)DdeInitializeA}, - {"DdeKeepStringHandle", 0, (syscall_t)DdeKeepStringHandle}, - {"DdeNameService", 0, (syscall_t)DdeNameService}, - {"DdePostAdvise", 0, (syscall_t)DdePostAdvise}, - {"DdeQueryConvInfo", 0, (syscall_t)DdeQueryConvInfo}, - {"DdeQueryNextServer", 0, (syscall_t)DdeQueryNextServer}, - {"DdeQueryStringA", 0, (syscall_t)DdeQueryStringA}, - {"DdeReconnect", 0, (syscall_t)DdeReconnect}, - {"DdeSetQualityOfService", 0, (syscall_t)DdeSetQualityOfService}, - {"DdeSetUserHandle", 0, (syscall_t)DdeSetUserHandle}, - {"DdeUnaccessData", 0, (syscall_t)DdeUnaccessData}, - {"DdeUninitialize", 0, (syscall_t)DdeUninitialize}, - {"DeactivateActCtx", 0, (syscall_t)DeactivateActCtx}, - {"DebugActiveProcess", 0, (syscall_t)DebugActiveProcess}, - {"DebugActiveProcessStop", 0, (syscall_t)DebugActiveProcessStop}, - {"DebugBreak", 0, (syscall_t)DebugBreak}, - {"DebugBreakProcess", 0, (syscall_t)DebugBreakProcess}, - {"DebugSetProcessKillOnExit", 0, (syscall_t)DebugSetProcessKillOnExit}, - {"DecryptFileA", 0, (syscall_t)DecryptFileA}, - {"DefDlgProcA", 0, (syscall_t)DefDlgProcA}, - {"DefDriverProc", 0, (syscall_t)DefDriverProc}, - {"DefFrameProcA", 0, (syscall_t)DefFrameProcA}, - {"DefMDIChildProcA", 0, (syscall_t)DefMDIChildProcA}, - {"DefRawInputProc", 0, (syscall_t)DefRawInputProc}, - {"DefWindowProcA", 0, (syscall_t)DefWindowProcA}, - {"DeferWindowPos", 0, (syscall_t)DeferWindowPos}, - {"DefineDosDeviceA", 0, (syscall_t)DefineDosDeviceA}, - {"DeleteAce", 0, (syscall_t)DeleteAce}, - {"DeleteAtom", 0, (syscall_t)DeleteAtom}, - {"DeleteBoundaryDescriptor", 0, (syscall_t)DeleteBoundaryDescriptor}, - {"DeleteColorSpace", 0, (syscall_t)DeleteColorSpace}, - {"DeleteCriticalSection", 0, (syscall_t)DeleteCriticalSection}, - {"DeleteDC", 0, (syscall_t)DeleteDC}, - {"DeleteEnhMetaFile", 0, (syscall_t)DeleteEnhMetaFile}, - {"DeleteFiber", 0, (syscall_t)DeleteFiber}, - {"DeleteFileA", 0, (syscall_t)DeleteFileA}, - {"DeleteFileTransactedA", 0, (syscall_t)DeleteFileTransactedA}, - {"DeleteFormA", 0, (syscall_t)DeleteFormA}, - {"DeleteJobNamedProperty", 0, (syscall_t)DeleteJobNamedProperty}, - {"DeleteMenu", 0, (syscall_t)DeleteMenu}, - {"DeleteMetaFile", 0, (syscall_t)DeleteMetaFile}, - {"DeleteMonitorA", 0, (syscall_t)DeleteMonitorA}, - {"DeleteObject", 0, (syscall_t)DeleteObject}, - {"DeletePortA", 0, (syscall_t)DeletePortA}, - {"DeletePrintProcessorA", 0, (syscall_t)DeletePrintProcessorA}, - {"DeletePrintProvidorA", 0, (syscall_t)DeletePrintProvidorA}, - {"DeletePrinter", 0, (syscall_t)DeletePrinter}, - {"DeletePrinterConnectionA", 0, (syscall_t)DeletePrinterConnectionA}, - {"DeletePrinterDataA", 0, (syscall_t)DeletePrinterDataA}, - {"DeletePrinterDataExA", 0, (syscall_t)DeletePrinterDataExA}, - {"DeletePrinterDriverA", 0, (syscall_t)DeletePrinterDriverA}, - {"DeletePrinterDriverExA", 0, (syscall_t)DeletePrinterDriverExA}, - {"DeletePrinterDriverPackageA", 0, (syscall_t)DeletePrinterDriverPackageA}, - {"DeletePrinterKeyA", 0, (syscall_t)DeletePrinterKeyA}, - {"DeleteProcThreadAttributeList", 0, (syscall_t)DeleteProcThreadAttributeList}, - {"DeleteService", 0, (syscall_t)DeleteService}, - {"DeleteSynchronizationBarrier", 0, (syscall_t)DeleteSynchronizationBarrier}, - {"DeleteTimerQueue", 0, (syscall_t)DeleteTimerQueue}, - {"DeleteTimerQueueEx", 0, (syscall_t)DeleteTimerQueueEx}, - {"DeleteTimerQueueTimer", 0, (syscall_t)DeleteTimerQueueTimer}, - {"DeleteUmsCompletionList", 0, (syscall_t)DeleteUmsCompletionList}, - {"DeleteUmsThreadContext", 0, (syscall_t)DeleteUmsThreadContext}, - {"DeleteVolumeMountPointA", 0, (syscall_t)DeleteVolumeMountPointA}, - {"DequeueUmsCompletionListItems", 0, (syscall_t)DequeueUmsCompletionListItems}, - {"DeregisterEventSource", 0, (syscall_t)DeregisterEventSource}, - {"DeregisterShellHookWindow", 0, (syscall_t)DeregisterShellHookWindow}, - {"DescribePixelFormat", 0, (syscall_t)DescribePixelFormat}, - {"DestroyAcceleratorTable", 0, (syscall_t)DestroyAcceleratorTable}, - {"DestroyCaret", 0, (syscall_t)DestroyCaret}, - {"DestroyCursor", 0, (syscall_t)DestroyCursor}, - {"DestroyIcon", 0, (syscall_t)DestroyIcon}, - {"DestroyMenu", 0, (syscall_t)DestroyMenu}, - {"DestroyPrivateObjectSecurity", 0, (syscall_t)DestroyPrivateObjectSecurity}, - {"DestroyWindow", 0, (syscall_t)DestroyWindow}, - {"DeviceCapabilitiesA", 0, (syscall_t)DeviceCapabilitiesA}, - {"DeviceIoControl", 0, (syscall_t)DeviceIoControl}, - {"DialogBoxIndirectParamA", 0, (syscall_t)DialogBoxIndirectParamA}, - {"DialogBoxParamA", 0, (syscall_t)DialogBoxParamA}, - {"DisableProcessWindowsGhosting", 0, (syscall_t)DisableProcessWindowsGhosting}, - {"DisableThreadLibraryCalls", 0, (syscall_t)DisableThreadLibraryCalls}, - {"DisableThreadProfiling", 0, (syscall_t)DisableThreadProfiling}, - {"DisassociateCurrentThreadFromCallback", 0, (syscall_t)DisassociateCurrentThreadFromCallback}, - {"DiscardVirtualMemory", 0, (syscall_t)DiscardVirtualMemory}, - {"DisconnectNamedPipe", 0, (syscall_t)DisconnectNamedPipe}, - {"DispatchMessageA", 0, (syscall_t)DispatchMessageA}, - {"DisplayConfigGetDeviceInfo", 0, (syscall_t)DisplayConfigGetDeviceInfo}, - {"DisplayConfigSetDeviceInfo", 0, (syscall_t)DisplayConfigSetDeviceInfo}, - {"DlgDirListA", 0, (syscall_t)DlgDirListA}, - {"DlgDirListComboBoxA", 0, (syscall_t)DlgDirListComboBoxA}, - {"DlgDirSelectComboBoxExA", 0, (syscall_t)DlgDirSelectComboBoxExA}, - {"DlgDirSelectExA", 0, (syscall_t)DlgDirSelectExA}, - {"DnsHostnameToComputerNameA", 0, (syscall_t)DnsHostnameToComputerNameA}, - {"DoEnvironmentSubstA", 0, (syscall_t)DoEnvironmentSubstA}, - {"DocumentPropertiesA", 0, (syscall_t)DocumentPropertiesA}, - {"DosDateTimeToFileTime", 0, (syscall_t)DosDateTimeToFileTime}, - {"DragAcceptFiles", 0, (syscall_t)DragAcceptFiles}, - {"DragDetect", 0, (syscall_t)DragDetect}, - {"DragFinish", 0, (syscall_t)DragFinish}, - {"DragObject", 0, (syscall_t)DragObject}, - {"DragQueryFileA", 0, (syscall_t)DragQueryFileA}, - {"DragQueryPoint", 0, (syscall_t)DragQueryPoint}, - {"DrawAnimatedRects", 0, (syscall_t)DrawAnimatedRects}, - {"DrawCaption", 0, (syscall_t)DrawCaption}, - {"DrawEdge", 0, (syscall_t)DrawEdge}, - {"DrawEscape", 0, (syscall_t)DrawEscape}, - {"DrawFocusRect", 0, (syscall_t)DrawFocusRect}, - {"DrawFrameControl", 0, (syscall_t)DrawFrameControl}, - {"DrawIcon", 0, (syscall_t)DrawIcon}, - {"DrawIconEx", 0, (syscall_t)DrawIconEx}, - {"DrawMenuBar", 0, (syscall_t)DrawMenuBar}, - {"DrawStateA", 0, (syscall_t)DrawStateA}, - {"DrawTextA", 0, (syscall_t)DrawTextA}, - {"DrawTextExA", 0, (syscall_t)DrawTextExA}, - {"DriverCallback", 0, (syscall_t)DriverCallback}, - {"DrvGetModuleHandle", 0, (syscall_t)DrvGetModuleHandle}, - {"DuplicateEncryptionInfoFile", 0, (syscall_t)DuplicateEncryptionInfoFile}, - {"DuplicateHandle", 0, (syscall_t)DuplicateHandle}, - {"DuplicateIcon", 0, (syscall_t)DuplicateIcon}, - {"DuplicateToken", 0, (syscall_t)DuplicateToken}, - {"DuplicateTokenEx", 0, (syscall_t)DuplicateTokenEx}, - {"Ellipse", 0, (syscall_t)Ellipse}, - {"EmptyClipboard", 0, (syscall_t)EmptyClipboard}, - {"EnableMenuItem", 0, (syscall_t)EnableMenuItem}, - {"EnableMouseInPointer", 0, (syscall_t)EnableMouseInPointer}, - {"EnableNonClientDpiScaling", 0, (syscall_t)EnableNonClientDpiScaling}, - {"EnableScrollBar", 0, (syscall_t)EnableScrollBar}, - {"EnableThreadProfiling", 0, (syscall_t)EnableThreadProfiling}, - {"EnableWindow", 0, (syscall_t)EnableWindow}, - {"EncryptFileA", 0, (syscall_t)EncryptFileA}, - {"EncryptionDisable", 0, (syscall_t)EncryptionDisable}, - {"EndDeferWindowPos", 0, (syscall_t)EndDeferWindowPos}, - {"EndDialog", 0, (syscall_t)EndDialog}, - {"EndDoc", 0, (syscall_t)EndDoc}, - {"EndDocPrinter", 0, (syscall_t)EndDocPrinter}, - {"EndMenu", 0, (syscall_t)EndMenu}, - {"EndPage", 0, (syscall_t)EndPage}, - {"EndPagePrinter", 0, (syscall_t)EndPagePrinter}, - {"EndPaint", 0, (syscall_t)EndPaint}, - {"EndPath", 0, (syscall_t)EndPath}, - {"EndUpdateResourceA", 0, (syscall_t)EndUpdateResourceA}, - {"EnterCriticalSection", 0, (syscall_t)EnterCriticalSection}, - {"EnterSynchronizationBarrier", 0, (syscall_t)EnterSynchronizationBarrier}, - {"EnterUmsSchedulingMode", 0, (syscall_t)EnterUmsSchedulingMode}, - {"EnumCalendarInfoA", 0, (syscall_t)EnumCalendarInfoA}, - {"EnumCalendarInfoExA", 0, (syscall_t)EnumCalendarInfoExA}, - {"EnumCalendarInfoExEx", 0, (syscall_t)EnumCalendarInfoExEx}, - {"EnumChildWindows", 0, (syscall_t)EnumChildWindows}, - {"EnumClipboardFormats", 0, (syscall_t)EnumClipboardFormats}, - {"EnumDateFormatsA", 0, (syscall_t)EnumDateFormatsA}, - {"EnumDateFormatsExA", 0, (syscall_t)EnumDateFormatsExA}, - {"EnumDateFormatsExEx", 0, (syscall_t)EnumDateFormatsExEx}, - {"EnumDependentServicesA", 0, (syscall_t)EnumDependentServicesA}, - {"EnumDesktopWindows", 0, (syscall_t)EnumDesktopWindows}, - {"EnumDesktopsA", 0, (syscall_t)EnumDesktopsA}, - {"EnumDisplayDevicesA", 0, (syscall_t)EnumDisplayDevicesA}, - {"EnumDisplayMonitors", 0, (syscall_t)EnumDisplayMonitors}, - {"EnumDisplaySettingsA", 0, (syscall_t)EnumDisplaySettingsA}, - {"EnumDisplaySettingsExA", 0, (syscall_t)EnumDisplaySettingsExA}, - {"EnumDynamicTimeZoneInformation", 0, (syscall_t)EnumDynamicTimeZoneInformation}, - {"EnumEnhMetaFile", 0, (syscall_t)EnumEnhMetaFile}, - {"EnumFontFamiliesA", 0, (syscall_t)EnumFontFamiliesA}, - {"EnumFontFamiliesExA", 0, (syscall_t)EnumFontFamiliesExA}, - {"EnumFontsA", 0, (syscall_t)EnumFontsA}, - {"EnumFormsA", 0, (syscall_t)EnumFormsA}, - {"EnumICMProfilesA", 0, (syscall_t)EnumICMProfilesA}, - {"EnumJobNamedProperties", 0, (syscall_t)EnumJobNamedProperties}, - {"EnumJobsA", 0, (syscall_t)EnumJobsA}, - {"EnumLanguageGroupLocalesA", 0, (syscall_t)EnumLanguageGroupLocalesA}, - {"EnumMetaFile", 0, (syscall_t)EnumMetaFile}, - {"EnumMonitorsA", 0, (syscall_t)EnumMonitorsA}, - {"EnumObjects", 0, (syscall_t)EnumObjects}, - {"EnumPortsA", 0, (syscall_t)EnumPortsA}, - {"EnumPrintProcessorDatatypesA", 0, (syscall_t)EnumPrintProcessorDatatypesA}, - {"EnumPrintProcessorsA", 0, (syscall_t)EnumPrintProcessorsA}, - {"EnumPrinterDataA", 0, (syscall_t)EnumPrinterDataA}, - {"EnumPrinterDataExA", 0, (syscall_t)EnumPrinterDataExA}, - {"EnumPrinterDriversA", 0, (syscall_t)EnumPrinterDriversA}, - {"EnumPrinterKeyA", 0, (syscall_t)EnumPrinterKeyA}, - {"EnumPrintersA", 0, (syscall_t)EnumPrintersA}, - {"EnumPropsA", 0, (syscall_t)EnumPropsA}, - {"EnumPropsExA", 0, (syscall_t)EnumPropsExA}, - {"EnumResourceLanguagesA", 0, (syscall_t)EnumResourceLanguagesA}, - {"EnumResourceLanguagesExA", 0, (syscall_t)EnumResourceLanguagesExA}, - {"EnumResourceNamesA", 0, (syscall_t)EnumResourceNamesA}, - {"EnumResourceNamesExA", 0, (syscall_t)EnumResourceNamesExA}, - {"EnumResourceTypesA", 0, (syscall_t)EnumResourceTypesA}, - {"EnumResourceTypesExA", 0, (syscall_t)EnumResourceTypesExA}, - {"EnumServicesStatusA", 0, (syscall_t)EnumServicesStatusA}, - {"EnumServicesStatusExA", 0, (syscall_t)EnumServicesStatusExA}, - {"EnumSystemCodePagesA", 0, (syscall_t)EnumSystemCodePagesA}, - {"EnumSystemFirmwareTables", 0, (syscall_t)EnumSystemFirmwareTables}, - {"EnumSystemGeoID", 0, (syscall_t)EnumSystemGeoID}, - {"EnumSystemLanguageGroupsA", 0, (syscall_t)EnumSystemLanguageGroupsA}, - {"EnumSystemLocalesA", 0, (syscall_t)EnumSystemLocalesA}, - {"EnumSystemLocalesEx", 0, (syscall_t)EnumSystemLocalesEx}, - {"EnumThreadWindows", 0, (syscall_t)EnumThreadWindows}, - {"EnumTimeFormatsA", 0, (syscall_t)EnumTimeFormatsA}, - {"EnumTimeFormatsEx", 0, (syscall_t)EnumTimeFormatsEx}, - {"EnumUILanguagesA", 0, (syscall_t)EnumUILanguagesA}, - {"EnumWindowStationsA", 0, (syscall_t)EnumWindowStationsA}, - {"EnumWindows", 0, (syscall_t)EnumWindows}, - {"EqualDomainSid", 0, (syscall_t)EqualDomainSid}, - {"EqualPrefixSid", 0, (syscall_t)EqualPrefixSid}, - {"EqualRect", 0, (syscall_t)EqualRect}, - {"EqualRgn", 0, (syscall_t)EqualRgn}, - {"EqualSid", 0, (syscall_t)EqualSid}, - {"EraseTape", 0, (syscall_t)EraseTape}, - {"Escape", 0, (syscall_t)Escape}, - {"EscapeCommFunction", 0, (syscall_t)EscapeCommFunction}, - {"EvaluateProximityToPolygon", 0, (syscall_t)EvaluateProximityToPolygon}, - {"EvaluateProximityToRect", 0, (syscall_t)EvaluateProximityToRect}, - {"ExcludeClipRect", 0, (syscall_t)ExcludeClipRect}, - {"ExcludeUpdateRgn", 0, (syscall_t)ExcludeUpdateRgn}, - {"ExecuteUmsThread", 0, (syscall_t)ExecuteUmsThread}, - {"ExitProcess", 0, (syscall_t)ExitProcess}, - {"ExitThread", 0, (syscall_t)ExitThread}, - {"ExpandEnvironmentStringsA", 0, (syscall_t)ExpandEnvironmentStringsA}, - {"ExtCreatePen", 0, (syscall_t)ExtCreatePen}, - {"ExtCreateRegion", 0, (syscall_t)ExtCreateRegion}, - {"ExtDeviceMode", 0, (syscall_t)ExtDeviceMode}, - {"ExtEscape", 0, (syscall_t)ExtEscape}, - {"ExtFloodFill", 0, (syscall_t)ExtFloodFill}, - {"ExtSelectClipRgn", 0, (syscall_t)ExtSelectClipRgn}, - {"ExtTextOutA", 0, (syscall_t)ExtTextOutA}, - {"ExtractAssociatedIconA", 0, (syscall_t)ExtractAssociatedIconA}, - {"ExtractAssociatedIconExA", 0, (syscall_t)ExtractAssociatedIconExA}, - {"ExtractIconA", 0, (syscall_t)ExtractIconA}, - {"ExtractIconExA", 0, (syscall_t)ExtractIconExA}, - {"FatalAppExitA", 0, (syscall_t)FatalAppExitA}, - {"FatalExit", 0, (syscall_t)FatalExit}, - {"FileEncryptionStatusA", 0, (syscall_t)FileEncryptionStatusA}, - {"FileTimeToDosDateTime", 0, (syscall_t)FileTimeToDosDateTime}, - {"FileTimeToLocalFileTime", 0, (syscall_t)FileTimeToLocalFileTime}, - {"FileTimeToSystemTime", 0, (syscall_t)FileTimeToSystemTime}, - {"FillConsoleOutputAttribute", 0, (syscall_t)FillConsoleOutputAttribute}, - {"FillConsoleOutputCharacterA", 0, (syscall_t)FillConsoleOutputCharacterA}, - {"FillPath", 0, (syscall_t)FillPath}, - {"FillRect", 0, (syscall_t)FillRect}, - {"FillRgn", 0, (syscall_t)FillRgn}, - {"FindActCtxSectionGuid", 0, (syscall_t)FindActCtxSectionGuid}, - {"FindActCtxSectionStringA", 0, (syscall_t)FindActCtxSectionStringA}, - {"FindAtomA", 0, (syscall_t)FindAtomA}, - {"FindClose", 0, (syscall_t)FindClose}, - {"FindCloseChangeNotification", 0, (syscall_t)FindCloseChangeNotification}, - {"FindClosePrinterChangeNotification", 0, (syscall_t)FindClosePrinterChangeNotification}, - {"FindExecutableA", 0, (syscall_t)FindExecutableA}, - {"FindFirstChangeNotificationA", 0, (syscall_t)FindFirstChangeNotificationA}, - {"FindFirstFileA", 0, (syscall_t)FindFirstFileA}, - {"FindFirstFileExA", 0, (syscall_t)FindFirstFileExA}, - {"FindFirstFileTransactedA", 0, (syscall_t)FindFirstFileTransactedA}, - {"FindFirstFreeAce", 0, (syscall_t)FindFirstFreeAce}, - {"FindFirstPrinterChangeNotification", 0, (syscall_t)FindFirstPrinterChangeNotification}, - {"FindFirstVolumeA", 0, (syscall_t)FindFirstVolumeA}, - {"FindFirstVolumeMountPointA", 0, (syscall_t)FindFirstVolumeMountPointA}, - {"FindNLSString", 0, (syscall_t)FindNLSString}, - {"FindNLSStringEx", 0, (syscall_t)FindNLSStringEx}, - {"FindNextChangeNotification", 0, (syscall_t)FindNextChangeNotification}, - {"FindNextFileA", 0, (syscall_t)FindNextFileA}, - {"FindNextPrinterChangeNotification", 0, (syscall_t)FindNextPrinterChangeNotification}, - {"FindNextVolumeA", 0, (syscall_t)FindNextVolumeA}, - {"FindNextVolumeMountPointA", 0, (syscall_t)FindNextVolumeMountPointA}, - {"FindResourceA", 0, (syscall_t)FindResourceA}, - {"FindResourceExA", 0, (syscall_t)FindResourceExA}, - {"FindStringOrdinal", 0, (syscall_t)FindStringOrdinal}, - {"FindTextA", 0, (syscall_t)FindTextA}, - {"FindVolumeClose", 0, (syscall_t)FindVolumeClose}, - {"FindVolumeMountPointClose", 0, (syscall_t)FindVolumeMountPointClose}, - {"FindWindowA", 0, (syscall_t)FindWindowA}, - {"FindWindowExA", 0, (syscall_t)FindWindowExA}, - {"FixBrushOrgEx", 0, (syscall_t)FixBrushOrgEx}, - {"FlashWindow", 0, (syscall_t)FlashWindow}, - {"FlashWindowEx", 0, (syscall_t)FlashWindowEx}, - {"FlattenPath", 0, (syscall_t)FlattenPath}, - {"FloodFill", 0, (syscall_t)FloodFill}, - {"FlsAlloc", 0, (syscall_t)FlsAlloc}, - {"FlsFree", 0, (syscall_t)FlsFree}, - {"FlsGetValue", 0, (syscall_t)FlsGetValue}, - {"FlsSetValue", 0, (syscall_t)FlsSetValue}, - {"FlushConsoleInputBuffer", 0, (syscall_t)FlushConsoleInputBuffer}, - {"FlushFileBuffers", 0, (syscall_t)FlushFileBuffers}, - {"FlushInstructionCache", 0, (syscall_t)FlushInstructionCache}, - {"FlushPrinter", 0, (syscall_t)FlushPrinter}, - {"FlushProcessWriteBuffers", 0, (syscall_t)FlushProcessWriteBuffers}, - {"FlushViewOfFile", 0, (syscall_t)FlushViewOfFile}, - {"FmtIdToPropStgName", 0, (syscall_t)FmtIdToPropStgName}, - {"FoldStringA", 0, (syscall_t)FoldStringA}, - {"FormatMessageA", 0, (syscall_t)FormatMessageA}, - {"FrameRect", 0, (syscall_t)FrameRect}, - {"FrameRgn", 0, (syscall_t)FrameRgn}, - {"FreeConsole", 0, (syscall_t)FreeConsole}, - {"FreeDDElParam", 0, (syscall_t)FreeDDElParam}, - {"FreeEncryptedFileMetadata", 0, (syscall_t)FreeEncryptedFileMetadata}, - {"FreeEncryptionCertificateHashList", 0, (syscall_t)FreeEncryptionCertificateHashList}, - {"FreeEnvironmentStringsA", 0, (syscall_t)FreeEnvironmentStringsA}, - {"FreeLibrary", 0, (syscall_t)FreeLibrary}, - {"FreeLibraryAndExitThread", 0, (syscall_t)FreeLibraryAndExitThread}, - {"FreeLibraryWhenCallbackReturns", 0, (syscall_t)FreeLibraryWhenCallbackReturns}, - {"FreeMemoryJobObject", 0, (syscall_t)FreeMemoryJobObject}, - {"FreePrintNamedPropertyArray", 0, (syscall_t)FreePrintNamedPropertyArray}, - {"FreePrintPropertyValue", 0, (syscall_t)FreePrintPropertyValue}, - {"FreePrinterNotifyInfo", 0, (syscall_t)FreePrinterNotifyInfo}, - {"FreeResource", 0, (syscall_t)FreeResource}, - {"FreeSid", 0, (syscall_t)FreeSid}, - {"FreeUserPhysicalPages", 0, (syscall_t)FreeUserPhysicalPages}, - {"GdiAlphaBlend", 0, (syscall_t)GdiAlphaBlend}, - {"GdiComment", 0, (syscall_t)GdiComment}, - {"GdiFlush", 0, (syscall_t)GdiFlush}, - {"GdiGetBatchLimit", 0, (syscall_t)GdiGetBatchLimit}, - {"GdiGradientFill", 0, (syscall_t)GdiGradientFill}, - {"GdiSetBatchLimit", 0, (syscall_t)GdiSetBatchLimit}, - {"GdiTransparentBlt", 0, (syscall_t)GdiTransparentBlt}, - {"GenerateConsoleCtrlEvent", 0, (syscall_t)GenerateConsoleCtrlEvent}, - {"GetACP", 0, (syscall_t)GetACP}, - {"GetAcceptExSockaddrs", 0, (syscall_t)GetAcceptExSockaddrs}, - {"GetAce", 0, (syscall_t)GetAce}, - {"GetAclInformation", 0, (syscall_t)GetAclInformation}, - {"GetActiveProcessorCount", 0, (syscall_t)GetActiveProcessorCount}, - {"GetActiveProcessorGroupCount", 0, (syscall_t)GetActiveProcessorGroupCount}, - {"GetActiveWindow", 0, (syscall_t)GetActiveWindow}, - {"GetAltTabInfoA", 0, (syscall_t)GetAltTabInfoA}, - {"GetAncestor", 0, (syscall_t)GetAncestor}, - {"GetAppContainerAce", 0, (syscall_t)GetAppContainerAce}, - {"GetAppContainerNamedObjectPath", 0, (syscall_t)GetAppContainerNamedObjectPath}, - {"GetApplicationRecoveryCallback", 0, (syscall_t)GetApplicationRecoveryCallback}, - {"GetApplicationRestartSettings", 0, (syscall_t)GetApplicationRestartSettings}, - {"GetArcDirection", 0, (syscall_t)GetArcDirection}, - {"GetAspectRatioFilterEx", 0, (syscall_t)GetAspectRatioFilterEx}, - {"GetAsyncKeyState", 0, (syscall_t)GetAsyncKeyState}, - {"GetAtomNameA", 0, (syscall_t)GetAtomNameA}, - {"GetAutoRotationState", 0, (syscall_t)GetAutoRotationState}, - {"GetAwarenessFromDpiAwarenessContext", 0, (syscall_t)GetAwarenessFromDpiAwarenessContext}, - {"GetBinaryTypeA", 0, (syscall_t)GetBinaryTypeA}, - {"GetBitmapBits", 0, (syscall_t)GetBitmapBits}, - {"GetBitmapDimensionEx", 0, (syscall_t)GetBitmapDimensionEx}, - {"GetBkColor", 0, (syscall_t)GetBkColor}, - {"GetBkMode", 0, (syscall_t)GetBkMode}, - {"GetBoundsRect", 0, (syscall_t)GetBoundsRect}, - {"GetBrushOrgEx", 0, (syscall_t)GetBrushOrgEx}, - {"GetCIMSSM", 0, (syscall_t)GetCIMSSM}, - {"GetCPInfo", 0, (syscall_t)GetCPInfo}, - {"GetCPInfoExA", 0, (syscall_t)GetCPInfoExA}, - {"GetCachedSigningLevel", 0, (syscall_t)GetCachedSigningLevel}, - {"GetCalendarInfoA", 0, (syscall_t)GetCalendarInfoA}, - {"GetCalendarInfoEx", 0, (syscall_t)GetCalendarInfoEx}, - {"GetCapture", 0, (syscall_t)GetCapture}, - {"GetCaretBlinkTime", 0, (syscall_t)GetCaretBlinkTime}, - {"GetCaretPos", 0, (syscall_t)GetCaretPos}, - {"GetCharABCWidthsA", 0, (syscall_t)GetCharABCWidthsA}, - {"GetCharABCWidthsFloatA", 0, (syscall_t)GetCharABCWidthsFloatA}, - {"GetCharABCWidthsI", 0, (syscall_t)GetCharABCWidthsI}, - {"GetCharWidth32A", 0, (syscall_t)GetCharWidth32A}, - {"GetCharWidthA", 0, (syscall_t)GetCharWidthA}, - {"GetCharWidthFloatA", 0, (syscall_t)GetCharWidthFloatA}, - {"GetCharWidthI", 0, (syscall_t)GetCharWidthI}, - {"GetCharacterPlacementA", 0, (syscall_t)GetCharacterPlacementA}, - {"GetClassInfoA", 0, (syscall_t)GetClassInfoA}, - {"GetClassInfoExA", 0, (syscall_t)GetClassInfoExA}, - {"GetClassLongA", 0, (syscall_t)GetClassLongA}, - {"GetClassLongPtrA", 0, (syscall_t)GetClassLongPtrA}, - {"GetClassNameA", 0, (syscall_t)GetClassNameA}, - {"GetClassWord", 0, (syscall_t)GetClassWord}, - {"GetClientRect", 0, (syscall_t)GetClientRect}, - {"GetClipBox", 0, (syscall_t)GetClipBox}, - {"GetClipCursor", 0, (syscall_t)GetClipCursor}, - {"GetClipRgn", 0, (syscall_t)GetClipRgn}, - {"GetClipboardData", 0, (syscall_t)GetClipboardData}, - {"GetClipboardFormatNameA", 0, (syscall_t)GetClipboardFormatNameA}, - {"GetClipboardOwner", 0, (syscall_t)GetClipboardOwner}, - {"GetClipboardSequenceNumber", 0, (syscall_t)GetClipboardSequenceNumber}, - {"GetClipboardViewer", 0, (syscall_t)GetClipboardViewer}, - {"GetColorAdjustment", 0, (syscall_t)GetColorAdjustment}, - {"GetColorSpace", 0, (syscall_t)GetColorSpace}, - {"GetComboBoxInfo", 0, (syscall_t)GetComboBoxInfo}, - {"GetCommConfig", 0, (syscall_t)GetCommConfig}, - {"GetCommMask", 0, (syscall_t)GetCommMask}, - {"GetCommModemStatus", 0, (syscall_t)GetCommModemStatus}, - {"GetCommProperties", 0, (syscall_t)GetCommProperties}, - {"GetCommState", 0, (syscall_t)GetCommState}, - {"GetCommTimeouts", 0, (syscall_t)GetCommTimeouts}, - {"GetCommandLineA", 0, (syscall_t)GetCommandLineA}, - {"GetCompressedFileSizeA", 0, (syscall_t)GetCompressedFileSizeA}, - {"GetCompressedFileSizeTransactedA", 0, (syscall_t)GetCompressedFileSizeTransactedA}, - {"GetComputerNameA", 0, (syscall_t)GetComputerNameA}, - {"GetComputerNameExA", 0, (syscall_t)GetComputerNameExA}, - {"GetConsoleAliasA", 0, (syscall_t)GetConsoleAliasA}, - {"GetConsoleAliasExesA", 0, (syscall_t)GetConsoleAliasExesA}, - {"GetConsoleAliasExesLengthA", 0, (syscall_t)GetConsoleAliasExesLengthA}, - {"GetConsoleAliasesA", 0, (syscall_t)GetConsoleAliasesA}, - {"GetConsoleAliasesLengthA", 0, (syscall_t)GetConsoleAliasesLengthA}, - {"GetConsoleCP", 0, (syscall_t)GetConsoleCP}, - {"GetConsoleCursorInfo", 0, (syscall_t)GetConsoleCursorInfo}, - {"GetConsoleDisplayMode", 0, (syscall_t)GetConsoleDisplayMode}, - {"GetConsoleFontSize", 0, (syscall_t)GetConsoleFontSize}, - {"GetConsoleHistoryInfo", 0, (syscall_t)GetConsoleHistoryInfo}, - {"GetConsoleMode", 0, (syscall_t)GetConsoleMode}, - {"GetConsoleOriginalTitleA", 0, (syscall_t)GetConsoleOriginalTitleA}, - {"GetConsoleOutputCP", 0, (syscall_t)GetConsoleOutputCP}, - {"GetConsoleProcessList", 0, (syscall_t)GetConsoleProcessList}, - {"GetConsoleScreenBufferInfo", 0, (syscall_t)GetConsoleScreenBufferInfo}, - {"GetConsoleScreenBufferInfoEx", 0, (syscall_t)GetConsoleScreenBufferInfoEx}, - {"GetConsoleSelectionInfo", 0, (syscall_t)GetConsoleSelectionInfo}, - {"GetConsoleTitleA", 0, (syscall_t)GetConsoleTitleA}, - {"GetConsoleWindow", 0, (syscall_t)GetConsoleWindow}, - {"GetConvertStg", 0, (syscall_t)GetConvertStg}, - {"GetCorePrinterDriversA", 0, (syscall_t)GetCorePrinterDriversA}, - {"GetCurrencyFormatA", 0, (syscall_t)GetCurrencyFormatA}, - {"GetCurrencyFormatEx", 0, (syscall_t)GetCurrencyFormatEx}, - {"GetCurrentActCtx", 0, (syscall_t)GetCurrentActCtx}, - {"GetCurrentConsoleFont", 0, (syscall_t)GetCurrentConsoleFont}, - {"GetCurrentConsoleFontEx", 0, (syscall_t)GetCurrentConsoleFontEx}, - {"GetCurrentDirectoryA", 0, (syscall_t)GetCurrentDirectoryA}, - {"GetCurrentHwProfileA", 0, (syscall_t)GetCurrentHwProfileA}, - {"GetCurrentInputMessageSource", 0, (syscall_t)GetCurrentInputMessageSource}, - {"GetCurrentObject", 0, (syscall_t)GetCurrentObject}, - {"GetCurrentPositionEx", 0, (syscall_t)GetCurrentPositionEx}, - {"GetCurrentProcess", 0, (syscall_t)GetCurrentProcess}, - {"GetCurrentProcessId", 0, (syscall_t)GetCurrentProcessId}, - {"GetCurrentProcessorNumber", 0, (syscall_t)GetCurrentProcessorNumber}, - {"GetCurrentProcessorNumberEx", 0, (syscall_t)GetCurrentProcessorNumberEx}, - {"GetCurrentThread", 0, (syscall_t)GetCurrentThread}, - {"GetCurrentThreadId", 0, (syscall_t)GetCurrentThreadId}, - {"GetCurrentThreadStackLimits", 0, (syscall_t)GetCurrentThreadStackLimits}, - {"GetCurrentUmsThread", 0, (syscall_t)GetCurrentUmsThread}, - {"GetCursor", 0, (syscall_t)GetCursor}, - {"GetCursorInfo", 0, (syscall_t)GetCursorInfo}, - {"GetCursorPos", 0, (syscall_t)GetCursorPos}, - {"GetDC", 0, (syscall_t)GetDC}, - {"GetDCBrushColor", 0, (syscall_t)GetDCBrushColor}, - {"GetDCEx", 0, (syscall_t)GetDCEx}, - {"GetDCOrgEx", 0, (syscall_t)GetDCOrgEx}, - {"GetDCPenColor", 0, (syscall_t)GetDCPenColor}, - {"GetDIBColorTable", 0, (syscall_t)GetDIBColorTable}, - {"GetDIBits", 0, (syscall_t)GetDIBits}, - {"GetDateFormatA", 0, (syscall_t)GetDateFormatA}, - {"GetDateFormatEx", 0, (syscall_t)GetDateFormatEx}, - {"GetDefaultCommConfigA", 0, (syscall_t)GetDefaultCommConfigA}, - {"GetDefaultPrinterA", 0, (syscall_t)GetDefaultPrinterA}, - {"GetDesktopWindow", 0, (syscall_t)GetDesktopWindow}, - {"GetDeviceCaps", 0, (syscall_t)GetDeviceCaps}, - {"GetDeviceGammaRamp", 0, (syscall_t)GetDeviceGammaRamp}, - {"GetDevicePowerState", 0, (syscall_t)GetDevicePowerState}, - {"GetDialogBaseUnits", 0, (syscall_t)GetDialogBaseUnits}, - {"GetDiskFreeSpaceA", 0, (syscall_t)GetDiskFreeSpaceA}, - {"GetDiskFreeSpaceExA", 0, (syscall_t)GetDiskFreeSpaceExA}, - {"GetDisplayAutoRotationPreferences", 0, (syscall_t)GetDisplayAutoRotationPreferences}, - {"GetDisplayConfigBufferSizes", 0, (syscall_t)GetDisplayConfigBufferSizes}, - {"GetDlgCtrlID", 0, (syscall_t)GetDlgCtrlID}, - {"GetDlgItem", 0, (syscall_t)GetDlgItem}, - {"GetDlgItemInt", 0, (syscall_t)GetDlgItemInt}, - {"GetDlgItemTextA", 0, (syscall_t)GetDlgItemTextA}, - {"GetDllDirectoryA", 0, (syscall_t)GetDllDirectoryA}, - {"GetDoubleClickTime", 0, (syscall_t)GetDoubleClickTime}, - {"GetDpiForSystem", 0, (syscall_t)GetDpiForSystem}, - {"GetDpiForWindow", 0, (syscall_t)GetDpiForWindow}, - {"GetDriveTypeA", 0, (syscall_t)GetDriveTypeA}, - {"GetDriverModuleHandle", 0, (syscall_t)GetDriverModuleHandle}, - {"GetDurationFormat", 0, (syscall_t)GetDurationFormat}, - {"GetDurationFormatEx", 0, (syscall_t)GetDurationFormatEx}, - {"GetDynamicTimeZoneInformation", 0, (syscall_t)GetDynamicTimeZoneInformation}, - {"GetDynamicTimeZoneInformationEffectiveYears", 0, (syscall_t)GetDynamicTimeZoneInformationEffectiveYears}, - {"GetEnabledXStateFeatures", 0, (syscall_t)GetEnabledXStateFeatures}, - {"GetEncryptedFileMetadata", 0, (syscall_t)GetEncryptedFileMetadata}, - {"GetEnhMetaFileA", 0, (syscall_t)GetEnhMetaFileA}, - {"GetEnhMetaFileBits", 0, (syscall_t)GetEnhMetaFileBits}, - {"GetEnhMetaFileDescriptionA", 0, (syscall_t)GetEnhMetaFileDescriptionA}, - {"GetEnhMetaFileHeader", 0, (syscall_t)GetEnhMetaFileHeader}, - {"GetEnhMetaFilePaletteEntries", 0, (syscall_t)GetEnhMetaFilePaletteEntries}, - {"GetEnhMetaFilePixelFormat", 0, (syscall_t)GetEnhMetaFilePixelFormat}, - {"GetEnvironmentStrings", 0, (syscall_t)GetEnvironmentStrings}, - {"GetEnvironmentVariableA", 0, (syscall_t)GetEnvironmentVariableA}, - {"GetErrorMode", 0, (syscall_t)GetErrorMode}, - {"GetEventLogInformation", 0, (syscall_t)GetEventLogInformation}, - {"GetExitCodeProcess", 0, (syscall_t)GetExitCodeProcess}, - {"GetExitCodeThread", 0, (syscall_t)GetExitCodeThread}, - {"GetExpandedNameA", 0, (syscall_t)GetExpandedNameA}, - {"GetFileAttributesA", 0, (syscall_t)GetFileAttributesA}, - {"GetFileAttributesExA", 0, (syscall_t)GetFileAttributesExA}, - {"GetFileAttributesTransactedA", 0, (syscall_t)GetFileAttributesTransactedA}, - {"GetFileBandwidthReservation", 0, (syscall_t)GetFileBandwidthReservation}, - {"GetFileInformationByHandle", 0, (syscall_t)GetFileInformationByHandle}, - {"GetFileInformationByHandleEx", 0, (syscall_t)GetFileInformationByHandleEx}, - {"GetFileMUIInfo", 0, (syscall_t)GetFileMUIInfo}, - {"GetFileMUIPath", 0, (syscall_t)GetFileMUIPath}, - {"GetFileSecurityA", 0, (syscall_t)GetFileSecurityA}, - {"GetFileSize", 0, (syscall_t)GetFileSize}, - {"GetFileSizeEx", 0, (syscall_t)GetFileSizeEx}, - {"GetFileTime", 0, (syscall_t)GetFileTime}, - {"GetFileTitleA", 0, (syscall_t)GetFileTitleA}, - {"GetFileType", 0, (syscall_t)GetFileType}, - {"GetFinalPathNameByHandleA", 0, (syscall_t)GetFinalPathNameByHandleA}, - {"GetFirmwareEnvironmentVariableA", 0, (syscall_t)GetFirmwareEnvironmentVariableA}, - {"GetFirmwareEnvironmentVariableExA", 0, (syscall_t)GetFirmwareEnvironmentVariableExA}, - {"GetFirmwareType", 0, (syscall_t)GetFirmwareType}, - {"GetFocus", 0, (syscall_t)GetFocus}, - {"GetFontData", 0, (syscall_t)GetFontData}, - {"GetFontLanguageInfo", 0, (syscall_t)GetFontLanguageInfo}, - {"GetFontUnicodeRanges", 0, (syscall_t)GetFontUnicodeRanges}, - {"GetForegroundWindow", 0, (syscall_t)GetForegroundWindow}, - {"GetFormA", 0, (syscall_t)GetFormA}, - {"GetFullPathNameA", 0, (syscall_t)GetFullPathNameA}, - {"GetFullPathNameTransactedA", 0, (syscall_t)GetFullPathNameTransactedA}, - {"GetGUIThreadInfo", 0, (syscall_t)GetGUIThreadInfo}, - {"GetGeoInfoA", 0, (syscall_t)GetGeoInfoA}, - {"GetGestureConfig", 0, (syscall_t)GetGestureConfig}, - {"GetGestureExtraArgs", 0, (syscall_t)GetGestureExtraArgs}, - {"GetGestureInfo", 0, (syscall_t)GetGestureInfo}, - {"GetGlyphIndicesA", 0, (syscall_t)GetGlyphIndicesA}, - {"GetGlyphOutlineA", 0, (syscall_t)GetGlyphOutlineA}, - {"GetGraphicsMode", 0, (syscall_t)GetGraphicsMode}, - {"GetGuiResources", 0, (syscall_t)GetGuiResources}, - {"GetHGlobalFromILockBytes", 0, (syscall_t)GetHGlobalFromILockBytes}, - {"GetHandleInformation", 0, (syscall_t)GetHandleInformation}, - {"GetICMProfileA", 0, (syscall_t)GetICMProfileA}, - {"GetIconInfo", 0, (syscall_t)GetIconInfo}, - {"GetIconInfoExA", 0, (syscall_t)GetIconInfoExA}, - {"GetInputState", 0, (syscall_t)GetInputState}, - {"GetIntegratedDisplaySize", 0, (syscall_t)GetIntegratedDisplaySize}, - {"GetJobA", 0, (syscall_t)GetJobA}, - {"GetJobNamedPropertyValue", 0, (syscall_t)GetJobNamedPropertyValue}, - {"GetKBCodePage", 0, (syscall_t)GetKBCodePage}, - {"GetKernelObjectSecurity", 0, (syscall_t)GetKernelObjectSecurity}, - {"GetKerningPairsA", 0, (syscall_t)GetKerningPairsA}, - {"GetKeyNameTextA", 0, (syscall_t)GetKeyNameTextA}, - {"GetKeyState", 0, (syscall_t)GetKeyState}, - {"GetKeyboardLayout", 0, (syscall_t)GetKeyboardLayout}, - {"GetKeyboardLayoutList", 0, (syscall_t)GetKeyboardLayoutList}, - {"GetKeyboardLayoutNameA", 0, (syscall_t)GetKeyboardLayoutNameA}, - {"GetKeyboardState", 0, (syscall_t)GetKeyboardState}, - {"GetKeyboardType", 0, (syscall_t)GetKeyboardType}, - {"GetLargePageMinimum", 0, (syscall_t)GetLargePageMinimum}, - {"GetLargestConsoleWindowSize", 0, (syscall_t)GetLargestConsoleWindowSize}, - {"GetLastActivePopup", 0, (syscall_t)GetLastActivePopup}, - {"GetLastError", 0, (syscall_t)GetLastError}, - {"GetLastInputInfo", 0, (syscall_t)GetLastInputInfo}, - {"GetLayeredWindowAttributes", 0, (syscall_t)GetLayeredWindowAttributes}, - {"GetLayout", 0, (syscall_t)GetLayout}, - {"GetLengthSid", 0, (syscall_t)GetLengthSid}, - {"GetListBoxInfo", 0, (syscall_t)GetListBoxInfo}, - {"GetLocalTime", 0, (syscall_t)GetLocalTime}, - {"GetLocaleInfoA", 0, (syscall_t)GetLocaleInfoA}, - {"GetLocaleInfoEx", 0, (syscall_t)GetLocaleInfoEx}, - {"GetLogColorSpaceA", 0, (syscall_t)GetLogColorSpaceA}, - {"GetLogicalDriveStringsA", 0, (syscall_t)GetLogicalDriveStringsA}, - {"GetLogicalDrives", 0, (syscall_t)GetLogicalDrives}, - {"GetLogicalProcessorInformation", 0, (syscall_t)GetLogicalProcessorInformation}, - {"GetLogicalProcessorInformationEx", 0, (syscall_t)GetLogicalProcessorInformationEx}, - {"GetLongPathNameA", 0, (syscall_t)GetLongPathNameA}, - {"GetLongPathNameTransactedA", 0, (syscall_t)GetLongPathNameTransactedA}, - {"GetMailslotInfo", 0, (syscall_t)GetMailslotInfo}, - {"GetMapMode", 0, (syscall_t)GetMapMode}, - {"GetMaximumProcessorCount", 0, (syscall_t)GetMaximumProcessorCount}, - {"GetMaximumProcessorGroupCount", 0, (syscall_t)GetMaximumProcessorGroupCount}, - {"GetMemoryErrorHandlingCapabilities", 0, (syscall_t)GetMemoryErrorHandlingCapabilities}, - {"GetMenu", 0, (syscall_t)GetMenu}, - {"GetMenuBarInfo", 0, (syscall_t)GetMenuBarInfo}, - {"GetMenuCheckMarkDimensions", 0, (syscall_t)GetMenuCheckMarkDimensions}, - {"GetMenuContextHelpId", 0, (syscall_t)GetMenuContextHelpId}, - {"GetMenuDefaultItem", 0, (syscall_t)GetMenuDefaultItem}, - {"GetMenuInfo", 0, (syscall_t)GetMenuInfo}, - {"GetMenuItemCount", 0, (syscall_t)GetMenuItemCount}, - {"GetMenuItemID", 0, (syscall_t)GetMenuItemID}, - {"GetMenuItemInfoA", 0, (syscall_t)GetMenuItemInfoA}, - {"GetMenuItemRect", 0, (syscall_t)GetMenuItemRect}, - {"GetMenuState", 0, (syscall_t)GetMenuState}, - {"GetMenuStringA", 0, (syscall_t)GetMenuStringA}, - {"GetMessageA", 0, (syscall_t)GetMessageA}, - {"GetMessageExtraInfo", 0, (syscall_t)GetMessageExtraInfo}, - {"GetMessagePos", 0, (syscall_t)GetMessagePos}, - {"GetMessageTime", 0, (syscall_t)GetMessageTime}, - {"GetMetaFileA", 0, (syscall_t)GetMetaFileA}, - {"GetMetaFileBitsEx", 0, (syscall_t)GetMetaFileBitsEx}, - {"GetMetaRgn", 0, (syscall_t)GetMetaRgn}, - {"GetMiterLimit", 0, (syscall_t)GetMiterLimit}, - {"GetModuleFileNameA", 0, (syscall_t)GetModuleFileNameA}, - {"GetModuleHandleA", 0, (syscall_t)GetModuleHandleA}, - {"GetModuleHandleExA", 0, (syscall_t)GetModuleHandleExA}, - {"GetMonitorInfoA", 0, (syscall_t)GetMonitorInfoA}, - {"GetMouseMovePointsEx", 0, (syscall_t)GetMouseMovePointsEx}, - {"GetNLSVersion", 0, (syscall_t)GetNLSVersion}, - {"GetNLSVersionEx", 0, (syscall_t)GetNLSVersionEx}, - {"GetNamedPipeClientComputerNameA", 0, (syscall_t)GetNamedPipeClientComputerNameA}, - {"GetNamedPipeClientProcessId", 0, (syscall_t)GetNamedPipeClientProcessId}, - {"GetNamedPipeClientSessionId", 0, (syscall_t)GetNamedPipeClientSessionId}, - {"GetNamedPipeHandleStateA", 0, (syscall_t)GetNamedPipeHandleStateA}, - {"GetNamedPipeInfo", 0, (syscall_t)GetNamedPipeInfo}, - {"GetNamedPipeServerProcessId", 0, (syscall_t)GetNamedPipeServerProcessId}, - {"GetNamedPipeServerSessionId", 0, (syscall_t)GetNamedPipeServerSessionId}, - {"GetNativeSystemInfo", 0, (syscall_t)GetNativeSystemInfo}, - {"GetNearestColor", 0, (syscall_t)GetNearestColor}, - {"GetNearestPaletteIndex", 0, (syscall_t)GetNearestPaletteIndex}, - {"GetNextDlgGroupItem", 0, (syscall_t)GetNextDlgGroupItem}, - {"GetNextDlgTabItem", 0, (syscall_t)GetNextDlgTabItem}, - {"GetNextUmsListItem", 0, (syscall_t)GetNextUmsListItem}, - {"GetNumaAvailableMemoryNode", 0, (syscall_t)GetNumaAvailableMemoryNode}, - {"GetNumaAvailableMemoryNodeEx", 0, (syscall_t)GetNumaAvailableMemoryNodeEx}, - {"GetNumaHighestNodeNumber", 0, (syscall_t)GetNumaHighestNodeNumber}, - {"GetNumaNodeNumberFromHandle", 0, (syscall_t)GetNumaNodeNumberFromHandle}, - {"GetNumaNodeProcessorMask", 0, (syscall_t)GetNumaNodeProcessorMask}, - {"GetNumaNodeProcessorMaskEx", 0, (syscall_t)GetNumaNodeProcessorMaskEx}, - {"GetNumaProcessorNode", 0, (syscall_t)GetNumaProcessorNode}, - {"GetNumaProcessorNodeEx", 0, (syscall_t)GetNumaProcessorNodeEx}, - {"GetNumaProximityNode", 0, (syscall_t)GetNumaProximityNode}, - {"GetNumaProximityNodeEx", 0, (syscall_t)GetNumaProximityNodeEx}, - {"GetNumberFormatA", 0, (syscall_t)GetNumberFormatA}, - {"GetNumberFormatEx", 0, (syscall_t)GetNumberFormatEx}, - {"GetNumberOfConsoleInputEvents", 0, (syscall_t)GetNumberOfConsoleInputEvents}, - {"GetNumberOfConsoleMouseButtons", 0, (syscall_t)GetNumberOfConsoleMouseButtons}, - {"GetNumberOfEventLogRecords", 0, (syscall_t)GetNumberOfEventLogRecords}, - {"GetOEMCP", 0, (syscall_t)GetOEMCP}, - {"GetObjectA", 0, (syscall_t)GetObjectA}, - {"GetObjectType", 0, (syscall_t)GetObjectType}, - {"GetOldestEventLogRecord", 0, (syscall_t)GetOldestEventLogRecord}, - {"GetOpenClipboardWindow", 0, (syscall_t)GetOpenClipboardWindow}, - {"GetOpenFileNameA", 0, (syscall_t)GetOpenFileNameA}, - {"GetOsManufacturingMode", 0, (syscall_t)GetOsManufacturingMode}, - {"GetOsSafeBootMode", 0, (syscall_t)GetOsSafeBootMode}, - {"GetOutlineTextMetricsA", 0, (syscall_t)GetOutlineTextMetricsA}, - {"GetOverlappedResult", 0, (syscall_t)GetOverlappedResult}, - {"GetOverlappedResultEx", 0, (syscall_t)GetOverlappedResultEx}, - {"GetPaletteEntries", 0, (syscall_t)GetPaletteEntries}, - {"GetParent", 0, (syscall_t)GetParent}, - {"GetPath", 0, (syscall_t)GetPath}, - {"GetPhysicalCursorPos", 0, (syscall_t)GetPhysicalCursorPos}, - {"GetPhysicallyInstalledSystemMemory", 0, (syscall_t)GetPhysicallyInstalledSystemMemory}, - {"GetPixel", 0, (syscall_t)GetPixel}, - {"GetPixelFormat", 0, (syscall_t)GetPixelFormat}, - {"GetPointerCursorId", 0, (syscall_t)GetPointerCursorId}, - {"GetPointerDevice", 0, (syscall_t)GetPointerDevice}, - {"GetPointerDeviceCursors", 0, (syscall_t)GetPointerDeviceCursors}, - {"GetPointerDeviceProperties", 0, (syscall_t)GetPointerDeviceProperties}, - {"GetPointerDeviceRects", 0, (syscall_t)GetPointerDeviceRects}, - {"GetPointerDevices", 0, (syscall_t)GetPointerDevices}, - {"GetPointerFrameInfo", 0, (syscall_t)GetPointerFrameInfo}, - {"GetPointerFrameInfoHistory", 0, (syscall_t)GetPointerFrameInfoHistory}, - {"GetPointerFramePenInfo", 0, (syscall_t)GetPointerFramePenInfo}, - {"GetPointerFramePenInfoHistory", 0, (syscall_t)GetPointerFramePenInfoHistory}, - {"GetPointerFrameTouchInfo", 0, (syscall_t)GetPointerFrameTouchInfo}, - {"GetPointerFrameTouchInfoHistory", 0, (syscall_t)GetPointerFrameTouchInfoHistory}, - {"GetPointerInfo", 0, (syscall_t)GetPointerInfo}, - {"GetPointerInfoHistory", 0, (syscall_t)GetPointerInfoHistory}, - {"GetPointerInputTransform", 0, (syscall_t)GetPointerInputTransform}, - {"GetPointerPenInfo", 0, (syscall_t)GetPointerPenInfo}, - {"GetPointerPenInfoHistory", 0, (syscall_t)GetPointerPenInfoHistory}, - {"GetPointerTouchInfo", 0, (syscall_t)GetPointerTouchInfo}, - {"GetPointerTouchInfoHistory", 0, (syscall_t)GetPointerTouchInfoHistory}, - {"GetPointerType", 0, (syscall_t)GetPointerType}, - {"GetPolyFillMode", 0, (syscall_t)GetPolyFillMode}, - {"GetPrintExecutionData", 0, (syscall_t)GetPrintExecutionData}, - {"GetPrintOutputInfo", 0, (syscall_t)GetPrintOutputInfo}, - {"GetPrintProcessorDirectoryA", 0, (syscall_t)GetPrintProcessorDirectoryA}, - {"GetPrinterA", 0, (syscall_t)GetPrinterA}, - {"GetPrinterDataA", 0, (syscall_t)GetPrinterDataA}, - {"GetPrinterDataExA", 0, (syscall_t)GetPrinterDataExA}, - {"GetPrinterDriver2A", 0, (syscall_t)GetPrinterDriver2A}, - {"GetPrinterDriverA", 0, (syscall_t)GetPrinterDriverA}, - {"GetPrinterDriverDirectoryA", 0, (syscall_t)GetPrinterDriverDirectoryA}, - {"GetPrinterDriverPackagePathA", 0, (syscall_t)GetPrinterDriverPackagePathA}, - {"GetPriorityClass", 0, (syscall_t)GetPriorityClass}, - {"GetPriorityClipboardFormat", 0, (syscall_t)GetPriorityClipboardFormat}, - {"GetPrivateObjectSecurity", 0, (syscall_t)GetPrivateObjectSecurity}, - {"GetPrivateProfileIntA", 0, (syscall_t)GetPrivateProfileIntA}, - {"GetPrivateProfileSectionA", 0, (syscall_t)GetPrivateProfileSectionA}, - {"GetPrivateProfileSectionNamesA", 0, (syscall_t)GetPrivateProfileSectionNamesA}, - {"GetPrivateProfileStringA", 0, (syscall_t)GetPrivateProfileStringA}, - {"GetPrivateProfileStructA", 0, (syscall_t)GetPrivateProfileStructA}, - {"GetProcAddress", 0, (syscall_t)GetProcAddress}, - {"GetProcessAffinityMask", 0, (syscall_t)GetProcessAffinityMask}, - {"GetProcessDEPPolicy", 0, (syscall_t)GetProcessDEPPolicy}, - {"GetProcessDefaultCpuSets", 0, (syscall_t)GetProcessDefaultCpuSets}, - {"GetProcessDefaultLayout", 0, (syscall_t)GetProcessDefaultLayout}, - {"GetProcessGroupAffinity", 0, (syscall_t)GetProcessGroupAffinity}, - {"GetProcessHandleCount", 0, (syscall_t)GetProcessHandleCount}, - {"GetProcessHeap", 0, (syscall_t)GetProcessHeap}, - {"GetProcessHeaps", 0, (syscall_t)GetProcessHeaps}, - {"GetProcessId", 0, (syscall_t)GetProcessId}, - {"GetProcessIdOfThread", 0, (syscall_t)GetProcessIdOfThread}, - {"GetProcessInformation", 0, (syscall_t)GetProcessInformation}, - {"GetProcessIoCounters", 0, (syscall_t)GetProcessIoCounters}, - {"GetProcessMitigationPolicy", 0, (syscall_t)GetProcessMitigationPolicy}, - {"GetProcessPreferredUILanguages", 0, (syscall_t)GetProcessPreferredUILanguages}, - {"GetProcessPriorityBoost", 0, (syscall_t)GetProcessPriorityBoost}, - {"GetProcessShutdownParameters", 0, (syscall_t)GetProcessShutdownParameters}, - {"GetProcessTimes", 0, (syscall_t)GetProcessTimes}, - {"GetProcessVersion", 0, (syscall_t)GetProcessVersion}, - {"GetProcessWindowStation", 0, (syscall_t)GetProcessWindowStation}, - {"GetProcessWorkingSetSize", 0, (syscall_t)GetProcessWorkingSetSize}, - {"GetProcessWorkingSetSizeEx", 0, (syscall_t)GetProcessWorkingSetSizeEx}, - {"GetProcessorSystemCycleTime", 0, (syscall_t)GetProcessorSystemCycleTime}, - {"GetProductInfo", 0, (syscall_t)GetProductInfo}, - {"GetProfileIntA", 0, (syscall_t)GetProfileIntA}, - {"GetProfileSectionA", 0, (syscall_t)GetProfileSectionA}, - {"GetProfileStringA", 0, (syscall_t)GetProfileStringA}, - {"GetPropA", 0, (syscall_t)GetPropA}, - {"GetQueueStatus", 0, (syscall_t)GetQueueStatus}, - {"GetQueuedCompletionStatus", 0, (syscall_t)GetQueuedCompletionStatus}, - {"GetQueuedCompletionStatusEx", 0, (syscall_t)GetQueuedCompletionStatusEx}, - {"GetROP2", 0, (syscall_t)GetROP2}, - {"GetRandomRgn", 0, (syscall_t)GetRandomRgn}, - {"GetRasterizerCaps", 0, (syscall_t)GetRasterizerCaps}, - {"GetRawInputBuffer", 0, (syscall_t)GetRawInputBuffer}, - {"GetRawInputData", 0, (syscall_t)GetRawInputData}, - {"GetRawInputDeviceInfoA", 0, (syscall_t)GetRawInputDeviceInfoA}, - {"GetRawInputDeviceList", 0, (syscall_t)GetRawInputDeviceList}, - {"GetRawPointerDeviceData", 0, (syscall_t)GetRawPointerDeviceData}, - {"GetRegionData", 0, (syscall_t)GetRegionData}, - {"GetRegisteredRawInputDevices", 0, (syscall_t)GetRegisteredRawInputDevices}, - {"GetRgnBox", 0, (syscall_t)GetRgnBox}, - {"GetSaveFileNameA", 0, (syscall_t)GetSaveFileNameA}, - {"GetScrollBarInfo", 0, (syscall_t)GetScrollBarInfo}, - {"GetScrollInfo", 0, (syscall_t)GetScrollInfo}, - {"GetScrollPos", 0, (syscall_t)GetScrollPos}, - {"GetScrollRange", 0, (syscall_t)GetScrollRange}, - {"GetSecurityDescriptorControl", 0, (syscall_t)GetSecurityDescriptorControl}, - {"GetSecurityDescriptorDacl", 0, (syscall_t)GetSecurityDescriptorDacl}, - {"GetSecurityDescriptorGroup", 0, (syscall_t)GetSecurityDescriptorGroup}, - {"GetSecurityDescriptorLength", 0, (syscall_t)GetSecurityDescriptorLength}, - {"GetSecurityDescriptorOwner", 0, (syscall_t)GetSecurityDescriptorOwner}, - {"GetSecurityDescriptorRMControl", 0, (syscall_t)GetSecurityDescriptorRMControl}, - {"GetSecurityDescriptorSacl", 0, (syscall_t)GetSecurityDescriptorSacl}, - {"GetServiceDisplayNameA", 0, (syscall_t)GetServiceDisplayNameA}, - {"GetServiceKeyNameA", 0, (syscall_t)GetServiceKeyNameA}, - {"GetShellWindow", 0, (syscall_t)GetShellWindow}, - {"GetShortPathNameA", 0, (syscall_t)GetShortPathNameA}, - {"GetSidIdentifierAuthority", 0, (syscall_t)GetSidIdentifierAuthority}, - {"GetSidLengthRequired", 0, (syscall_t)GetSidLengthRequired}, - {"GetSidSubAuthority", 0, (syscall_t)GetSidSubAuthority}, - {"GetSidSubAuthorityCount", 0, (syscall_t)GetSidSubAuthorityCount}, - {"GetSpoolFileHandle", 0, (syscall_t)GetSpoolFileHandle}, - {"GetStartupInfoA", 0, (syscall_t)GetStartupInfoA}, - {"GetStdHandle", 0, (syscall_t)GetStdHandle}, - {"GetStockObject", 0, (syscall_t)GetStockObject}, - {"GetStretchBltMode", 0, (syscall_t)GetStretchBltMode}, - {"GetStringScripts", 0, (syscall_t)GetStringScripts}, - {"GetStringTypeA", 0, (syscall_t)GetStringTypeA}, - {"GetStringTypeExA", 0, (syscall_t)GetStringTypeExA}, - {"GetSubMenu", 0, (syscall_t)GetSubMenu}, - {"GetSysColor", 0, (syscall_t)GetSysColor}, - {"GetSysColorBrush", 0, (syscall_t)GetSysColorBrush}, - {"GetSystemCpuSetInformation", 0, (syscall_t)GetSystemCpuSetInformation}, - {"GetSystemDEPPolicy", 0, (syscall_t)GetSystemDEPPolicy}, - {"GetSystemDefaultLCID", 0, (syscall_t)GetSystemDefaultLCID}, - {"GetSystemDefaultLangID", 0, (syscall_t)GetSystemDefaultLangID}, - {"GetSystemDefaultLocaleName", 0, (syscall_t)GetSystemDefaultLocaleName}, - {"GetSystemDefaultUILanguage", 0, (syscall_t)GetSystemDefaultUILanguage}, - {"GetSystemDirectoryA", 0, (syscall_t)GetSystemDirectoryA}, - {"GetSystemFileCacheSize", 0, (syscall_t)GetSystemFileCacheSize}, - {"GetSystemFirmwareTable", 0, (syscall_t)GetSystemFirmwareTable}, - {"GetSystemInfo", 0, (syscall_t)GetSystemInfo}, - {"GetSystemMenu", 0, (syscall_t)GetSystemMenu}, - {"GetSystemMetrics", 0, (syscall_t)GetSystemMetrics}, - {"GetSystemMetricsForDpi", 0, (syscall_t)GetSystemMetricsForDpi}, - {"GetSystemPaletteEntries", 0, (syscall_t)GetSystemPaletteEntries}, - {"GetSystemPaletteUse", 0, (syscall_t)GetSystemPaletteUse}, - {"GetSystemPowerStatus", 0, (syscall_t)GetSystemPowerStatus}, - {"GetSystemPreferredUILanguages", 0, (syscall_t)GetSystemPreferredUILanguages}, - {"GetSystemRegistryQuota", 0, (syscall_t)GetSystemRegistryQuota}, - {"GetSystemTime", 0, (syscall_t)GetSystemTime}, - {"GetSystemTimeAdjustment", 0, (syscall_t)GetSystemTimeAdjustment}, - {"GetSystemTimeAsFileTime", 0, (syscall_t)GetSystemTimeAsFileTime}, - {"GetSystemTimePreciseAsFileTime", 0, (syscall_t)GetSystemTimePreciseAsFileTime}, - {"GetSystemTimes", 0, (syscall_t)GetSystemTimes}, - {"GetSystemWindowsDirectoryA", 0, (syscall_t)GetSystemWindowsDirectoryA}, - {"GetSystemWow64Directory2A", 0, (syscall_t)GetSystemWow64Directory2A}, - {"GetSystemWow64DirectoryA", 0, (syscall_t)GetSystemWow64DirectoryA}, - {"GetTabbedTextExtentA", 0, (syscall_t)GetTabbedTextExtentA}, - {"GetTapeParameters", 0, (syscall_t)GetTapeParameters}, - {"GetTapePosition", 0, (syscall_t)GetTapePosition}, - {"GetTapeStatus", 0, (syscall_t)GetTapeStatus}, - {"GetTempFileNameA", 0, (syscall_t)GetTempFileNameA}, - {"GetTempPathA", 0, (syscall_t)GetTempPathA}, - {"GetTextAlign", 0, (syscall_t)GetTextAlign}, - {"GetTextCharacterExtra", 0, (syscall_t)GetTextCharacterExtra}, - {"GetTextCharset", 0, (syscall_t)GetTextCharset}, - {"GetTextCharsetInfo", 0, (syscall_t)GetTextCharsetInfo}, - {"GetTextColor", 0, (syscall_t)GetTextColor}, - {"GetTextExtentExPointA", 0, (syscall_t)GetTextExtentExPointA}, - {"GetTextExtentExPointI", 0, (syscall_t)GetTextExtentExPointI}, - {"GetTextExtentPoint32A", 0, (syscall_t)GetTextExtentPoint32A}, - {"GetTextExtentPointA", 0, (syscall_t)GetTextExtentPointA}, - {"GetTextExtentPointI", 0, (syscall_t)GetTextExtentPointI}, - {"GetTextFaceA", 0, (syscall_t)GetTextFaceA}, - {"GetTextMetricsA", 0, (syscall_t)GetTextMetricsA}, - {"GetThreadContext", 0, (syscall_t)GetThreadContext}, - {"GetThreadDesktop", 0, (syscall_t)GetThreadDesktop}, - {"GetThreadDpiAwarenessContext", 0, (syscall_t)GetThreadDpiAwarenessContext}, - {"GetThreadErrorMode", 0, (syscall_t)GetThreadErrorMode}, - {"GetThreadGroupAffinity", 0, (syscall_t)GetThreadGroupAffinity}, - {"GetThreadIOPendingFlag", 0, (syscall_t)GetThreadIOPendingFlag}, - {"GetThreadId", 0, (syscall_t)GetThreadId}, - {"GetThreadIdealProcessorEx", 0, (syscall_t)GetThreadIdealProcessorEx}, - {"GetThreadInformation", 0, (syscall_t)GetThreadInformation}, - {"GetThreadLocale", 0, (syscall_t)GetThreadLocale}, - {"GetThreadPreferredUILanguages", 0, (syscall_t)GetThreadPreferredUILanguages}, - {"GetThreadPriority", 0, (syscall_t)GetThreadPriority}, - {"GetThreadPriorityBoost", 0, (syscall_t)GetThreadPriorityBoost}, - {"GetThreadSelectedCpuSets", 0, (syscall_t)GetThreadSelectedCpuSets}, - {"GetThreadSelectorEntry", 0, (syscall_t)GetThreadSelectorEntry}, - {"GetThreadTimes", 0, (syscall_t)GetThreadTimes}, - {"GetThreadUILanguage", 0, (syscall_t)GetThreadUILanguage}, - {"GetTickCount", 0, (syscall_t)GetTickCount}, - {"GetTickCount64", 0, (syscall_t)GetTickCount64}, - {"GetTimeFormatA", 0, (syscall_t)GetTimeFormatA}, - {"GetTimeFormatEx", 0, (syscall_t)GetTimeFormatEx}, - {"GetTimeZoneInformation", 0, (syscall_t)GetTimeZoneInformation}, - {"GetTimeZoneInformationForYear", 0, (syscall_t)GetTimeZoneInformationForYear}, - {"GetTitleBarInfo", 0, (syscall_t)GetTitleBarInfo}, - {"GetTokenInformation", 0, (syscall_t)GetTokenInformation}, - {"GetTopWindow", 0, (syscall_t)GetTopWindow}, - {"GetTouchInputInfo", 0, (syscall_t)GetTouchInputInfo}, - {"GetUILanguageInfo", 0, (syscall_t)GetUILanguageInfo}, - {"GetUmsCompletionListEvent", 0, (syscall_t)GetUmsCompletionListEvent}, - {"GetUmsSystemThreadInformation", 0, (syscall_t)GetUmsSystemThreadInformation}, - {"GetUnpredictedMessagePos", 0, (syscall_t)GetUnpredictedMessagePos}, - {"GetUpdateRect", 0, (syscall_t)GetUpdateRect}, - {"GetUpdateRgn", 0, (syscall_t)GetUpdateRgn}, - {"GetUpdatedClipboardFormats", 0, (syscall_t)GetUpdatedClipboardFormats}, - {"GetUserDefaultLCID", 0, (syscall_t)GetUserDefaultLCID}, - {"GetUserDefaultLangID", 0, (syscall_t)GetUserDefaultLangID}, - {"GetUserDefaultLocaleName", 0, (syscall_t)GetUserDefaultLocaleName}, - {"GetUserDefaultUILanguage", 0, (syscall_t)GetUserDefaultUILanguage}, - {"GetUserGeoID", 0, (syscall_t)GetUserGeoID}, - {"GetUserNameA", 0, (syscall_t)GetUserNameA}, - {"GetUserObjectInformationA", 0, (syscall_t)GetUserObjectInformationA}, - {"GetUserObjectSecurity", 0, (syscall_t)GetUserObjectSecurity}, - {"GetUserPreferredUILanguages", 0, (syscall_t)GetUserPreferredUILanguages}, - {"GetVersion", 0, (syscall_t)GetVersion}, - {"GetVersionExA", 0, (syscall_t)GetVersionExA}, - {"GetViewportExtEx", 0, (syscall_t)GetViewportExtEx}, - {"GetViewportOrgEx", 0, (syscall_t)GetViewportOrgEx}, - {"GetVolumeInformationA", 0, (syscall_t)GetVolumeInformationA}, - {"GetVolumeNameForVolumeMountPointA", 0, (syscall_t)GetVolumeNameForVolumeMountPointA}, - {"GetVolumePathNameA", 0, (syscall_t)GetVolumePathNameA}, - {"GetVolumePathNamesForVolumeNameA", 0, (syscall_t)GetVolumePathNamesForVolumeNameA}, - {"GetWinMetaFileBits", 0, (syscall_t)GetWinMetaFileBits}, - {"GetWindow", 0, (syscall_t)GetWindow}, - {"GetWindowContextHelpId", 0, (syscall_t)GetWindowContextHelpId}, - {"GetWindowDC", 0, (syscall_t)GetWindowDC}, - {"GetWindowDisplayAffinity", 0, (syscall_t)GetWindowDisplayAffinity}, - {"GetWindowDpiAwarenessContext", 0, (syscall_t)GetWindowDpiAwarenessContext}, - {"GetWindowExtEx", 0, (syscall_t)GetWindowExtEx}, - {"GetWindowFeedbackSetting", 0, (syscall_t)GetWindowFeedbackSetting}, - {"GetWindowInfo", 0, (syscall_t)GetWindowInfo}, - {"GetWindowLongA", 0, (syscall_t)GetWindowLongA}, - {"GetWindowLongPtrA", 0, (syscall_t)GetWindowLongPtrA}, - {"GetWindowModuleFileNameA", 0, (syscall_t)GetWindowModuleFileNameA}, - {"GetWindowOrgEx", 0, (syscall_t)GetWindowOrgEx}, - {"GetWindowPlacement", 0, (syscall_t)GetWindowPlacement}, - {"GetWindowRect", 0, (syscall_t)GetWindowRect}, - {"GetWindowRgn", 0, (syscall_t)GetWindowRgn}, - {"GetWindowRgnBox", 0, (syscall_t)GetWindowRgnBox}, - {"GetWindowTextA", 0, (syscall_t)GetWindowTextA}, - {"GetWindowTextLengthA", 0, (syscall_t)GetWindowTextLengthA}, - {"GetWindowThreadProcessId", 0, (syscall_t)GetWindowThreadProcessId}, - {"GetWindowWord", 0, (syscall_t)GetWindowWord}, - {"GetWindowsAccountDomainSid", 0, (syscall_t)GetWindowsAccountDomainSid}, - {"GetWindowsDirectoryA", 0, (syscall_t)GetWindowsDirectoryA}, - {"GetWorldTransform", 0, (syscall_t)GetWorldTransform}, - {"GetWriteWatch", 0, (syscall_t)GetWriteWatch}, - {"GetXStateFeaturesMask", 0, (syscall_t)GetXStateFeaturesMask}, - {"GlobalAddAtomA", 0, (syscall_t)GlobalAddAtomA}, - {"GlobalAddAtomExA", 0, (syscall_t)GlobalAddAtomExA}, - {"GlobalAlloc", 0, (syscall_t)GlobalAlloc}, - {"GlobalCompact", 0, (syscall_t)GlobalCompact}, - {"GlobalDeleteAtom", 0, (syscall_t)GlobalDeleteAtom}, - {"GlobalFindAtomA", 0, (syscall_t)GlobalFindAtomA}, - {"GlobalFix", 0, (syscall_t)GlobalFix}, - {"GlobalFlags", 0, (syscall_t)GlobalFlags}, - {"GlobalFree", 0, (syscall_t)GlobalFree}, - {"GlobalGetAtomNameA", 0, (syscall_t)GlobalGetAtomNameA}, - {"GlobalHandle", 0, (syscall_t)GlobalHandle}, - {"GlobalLock", 0, (syscall_t)GlobalLock}, - {"GlobalMemoryStatus", 0, (syscall_t)GlobalMemoryStatus}, - {"GlobalMemoryStatusEx", 0, (syscall_t)GlobalMemoryStatusEx}, - {"GlobalReAlloc", 0, (syscall_t)GlobalReAlloc}, - {"GlobalSize", 0, (syscall_t)GlobalSize}, - {"GlobalUnWire", 0, (syscall_t)GlobalUnWire}, - {"GlobalUnfix", 0, (syscall_t)GlobalUnfix}, - {"GlobalUnlock", 0, (syscall_t)GlobalUnlock}, - {"GlobalWire", 0, (syscall_t)GlobalWire}, - {"GradientFill", 0, (syscall_t)GradientFill}, - {"GrayStringA", 0, (syscall_t)GrayStringA}, - {"HeapAlloc", 0, (syscall_t)HeapAlloc}, - {"HeapCompact", 0, (syscall_t)HeapCompact}, - {"HeapCreate", 0, (syscall_t)HeapCreate}, - {"HeapDestroy", 0, (syscall_t)HeapDestroy}, - {"HeapFree", 0, (syscall_t)HeapFree}, - {"HeapLock", 0, (syscall_t)HeapLock}, - {"HeapQueryInformation", 0, (syscall_t)HeapQueryInformation}, - {"HeapReAlloc", 0, (syscall_t)HeapReAlloc}, - {"HeapSetInformation", 0, (syscall_t)HeapSetInformation}, - {"HeapSize", 0, (syscall_t)HeapSize}, - {"HeapSummary", 0, (syscall_t)HeapSummary}, - {"HeapUnlock", 0, (syscall_t)HeapUnlock}, - {"HeapValidate", 0, (syscall_t)HeapValidate}, - {"HeapWalk", 0, (syscall_t)HeapWalk}, - {"HideCaret", 0, (syscall_t)HideCaret}, - {"HiliteMenuItem", 0, (syscall_t)HiliteMenuItem}, - {"I_UuidCreate", 0, (syscall_t)I_UuidCreate}, - {"IdnToAscii", 0, (syscall_t)IdnToAscii}, - {"IdnToUnicode", 0, (syscall_t)IdnToUnicode}, - {"ImmAssociateContext", 0, (syscall_t)ImmAssociateContext}, - {"ImmAssociateContextEx", 0, (syscall_t)ImmAssociateContextEx}, - {"ImmConfigureIMEA", 0, (syscall_t)ImmConfigureIMEA}, - {"ImmCreateContext", 0, (syscall_t)ImmCreateContext}, - {"ImmDestroyContext", 0, (syscall_t)ImmDestroyContext}, - {"ImmDisableIME", 0, (syscall_t)ImmDisableIME}, - {"ImmDisableLegacyIME", 0, (syscall_t)ImmDisableLegacyIME}, - {"ImmDisableTextFrameService", 0, (syscall_t)ImmDisableTextFrameService}, - {"ImmEnumInputContext", 0, (syscall_t)ImmEnumInputContext}, - {"ImmEnumRegisterWordA", 0, (syscall_t)ImmEnumRegisterWordA}, - {"ImmEscapeA", 0, (syscall_t)ImmEscapeA}, - {"ImmGetCandidateListA", 0, (syscall_t)ImmGetCandidateListA}, - {"ImmGetCandidateListCountA", 0, (syscall_t)ImmGetCandidateListCountA}, - {"ImmGetCandidateWindow", 0, (syscall_t)ImmGetCandidateWindow}, - {"ImmGetCompositionFontA", 0, (syscall_t)ImmGetCompositionFontA}, - {"ImmGetCompositionStringA", 0, (syscall_t)ImmGetCompositionStringA}, - {"ImmGetCompositionWindow", 0, (syscall_t)ImmGetCompositionWindow}, - {"ImmGetContext", 0, (syscall_t)ImmGetContext}, - {"ImmGetConversionListA", 0, (syscall_t)ImmGetConversionListA}, - {"ImmGetConversionStatus", 0, (syscall_t)ImmGetConversionStatus}, - {"ImmGetDefaultIMEWnd", 0, (syscall_t)ImmGetDefaultIMEWnd}, - {"ImmGetDescriptionA", 0, (syscall_t)ImmGetDescriptionA}, - {"ImmGetGuideLineA", 0, (syscall_t)ImmGetGuideLineA}, - {"ImmGetIMEFileNameA", 0, (syscall_t)ImmGetIMEFileNameA}, - {"ImmGetImeMenuItemsA", 0, (syscall_t)ImmGetImeMenuItemsA}, - {"ImmGetOpenStatus", 0, (syscall_t)ImmGetOpenStatus}, - {"ImmGetProperty", 0, (syscall_t)ImmGetProperty}, - {"ImmGetRegisterWordStyleA", 0, (syscall_t)ImmGetRegisterWordStyleA}, - {"ImmGetStatusWindowPos", 0, (syscall_t)ImmGetStatusWindowPos}, - {"ImmGetVirtualKey", 0, (syscall_t)ImmGetVirtualKey}, - {"ImmInstallIMEA", 0, (syscall_t)ImmInstallIMEA}, - {"ImmIsIME", 0, (syscall_t)ImmIsIME}, - {"ImmIsUIMessageA", 0, (syscall_t)ImmIsUIMessageA}, - {"ImmNotifyIME", 0, (syscall_t)ImmNotifyIME}, - {"ImmRegisterWordA", 0, (syscall_t)ImmRegisterWordA}, - {"ImmReleaseContext", 0, (syscall_t)ImmReleaseContext}, - {"ImmSetCandidateWindow", 0, (syscall_t)ImmSetCandidateWindow}, - {"ImmSetCompositionFontA", 0, (syscall_t)ImmSetCompositionFontA}, - {"ImmSetCompositionStringA", 0, (syscall_t)ImmSetCompositionStringA}, - {"ImmSetCompositionWindow", 0, (syscall_t)ImmSetCompositionWindow}, - {"ImmSetConversionStatus", 0, (syscall_t)ImmSetConversionStatus}, - {"ImmSetOpenStatus", 0, (syscall_t)ImmSetOpenStatus}, - {"ImmSetStatusWindowPos", 0, (syscall_t)ImmSetStatusWindowPos}, - {"ImmSimulateHotKey", 0, (syscall_t)ImmSimulateHotKey}, - {"ImmUnregisterWordA", 0, (syscall_t)ImmUnregisterWordA}, - {"ImpersonateAnonymousToken", 0, (syscall_t)ImpersonateAnonymousToken}, - {"ImpersonateDdeClientWindow", 0, (syscall_t)ImpersonateDdeClientWindow}, - {"ImpersonateLoggedOnUser", 0, (syscall_t)ImpersonateLoggedOnUser}, - {"ImpersonateNamedPipeClient", 0, (syscall_t)ImpersonateNamedPipeClient}, - {"ImpersonateSelf", 0, (syscall_t)ImpersonateSelf}, - {"InSendMessage", 0, (syscall_t)InSendMessage}, - {"InSendMessageEx", 0, (syscall_t)InSendMessageEx}, - {"InflateRect", 0, (syscall_t)InflateRect}, - {"InheritWindowMonitor", 0, (syscall_t)InheritWindowMonitor}, - {"InitAtomTable", 0, (syscall_t)InitAtomTable}, - {"InitNetworkAddressControl", 0, (syscall_t)InitNetworkAddressControl}, - {"InitOnceBeginInitialize", 0, (syscall_t)InitOnceBeginInitialize}, - {"InitOnceComplete", 0, (syscall_t)InitOnceComplete}, - {"InitOnceExecuteOnce", 0, (syscall_t)InitOnceExecuteOnce}, - {"InitOnceInitialize", 0, (syscall_t)InitOnceInitialize}, - {"InitializeAcl", 0, (syscall_t)InitializeAcl}, - {"InitializeConditionVariable", 0, (syscall_t)InitializeConditionVariable}, - {"InitializeContext", 0, (syscall_t)InitializeContext}, - {"InitializeCriticalSection", 0, (syscall_t)InitializeCriticalSection}, - {"InitializeCriticalSectionAndSpinCount", 0, (syscall_t)InitializeCriticalSectionAndSpinCount}, - {"InitializeCriticalSectionEx", 0, (syscall_t)InitializeCriticalSectionEx}, - {"InitializeEnclave", 0, (syscall_t)InitializeEnclave}, - {"InitializeProcThreadAttributeList", 0, (syscall_t)InitializeProcThreadAttributeList}, - {"InitializeSListHead", 0, (syscall_t)InitializeSListHead}, - {"InitializeSRWLock", 0, (syscall_t)InitializeSRWLock}, - {"InitializeSecurityDescriptor", 0, (syscall_t)InitializeSecurityDescriptor}, - {"InitializeSid", 0, (syscall_t)InitializeSid}, - {"InitializeSynchronizationBarrier", 0, (syscall_t)InitializeSynchronizationBarrier}, - {"InitializeTouchInjection", 0, (syscall_t)InitializeTouchInjection}, - {"InjectTouchInput", 0, (syscall_t)InjectTouchInput}, - {"InsertMenuA", 0, (syscall_t)InsertMenuA}, - {"InsertMenuItemA", 0, (syscall_t)InsertMenuItemA}, - {"InstallELAMCertificateInfo", 0, (syscall_t)InstallELAMCertificateInfo}, - {"InstallPrinterDriverFromPackageA", 0, (syscall_t)InstallPrinterDriverFromPackageA}, - {"InterlockedFlushSList", 0, (syscall_t)InterlockedFlushSList}, - {"InterlockedPopEntrySList", 0, (syscall_t)InterlockedPopEntrySList}, - {"InterlockedPushEntrySList", 0, (syscall_t)InterlockedPushEntrySList}, - {"InterlockedPushListSListEx", 0, (syscall_t)InterlockedPushListSListEx}, - {"InternalGetWindowText", 0, (syscall_t)InternalGetWindowText}, - {"IntersectClipRect", 0, (syscall_t)IntersectClipRect}, - {"IntersectRect", 0, (syscall_t)IntersectRect}, - {"InvalidateRect", 0, (syscall_t)InvalidateRect}, - {"InvalidateRgn", 0, (syscall_t)InvalidateRgn}, - {"InvertRect", 0, (syscall_t)InvertRect}, - {"InvertRgn", 0, (syscall_t)InvertRgn}, - {"IsBadCodePtr", 0, (syscall_t)IsBadCodePtr}, - {"IsBadHugeReadPtr", 0, (syscall_t)IsBadHugeReadPtr}, - {"IsBadHugeWritePtr", 0, (syscall_t)IsBadHugeWritePtr}, - {"IsBadReadPtr", 0, (syscall_t)IsBadReadPtr}, - {"IsBadStringPtrA", 0, (syscall_t)IsBadStringPtrA}, - {"IsBadWritePtr", 0, (syscall_t)IsBadWritePtr}, - {"IsCharAlphaA", 0, (syscall_t)IsCharAlphaA}, - {"IsCharAlphaNumericA", 0, (syscall_t)IsCharAlphaNumericA}, - {"IsCharLowerA", 0, (syscall_t)IsCharLowerA}, - {"IsCharUpperA", 0, (syscall_t)IsCharUpperA}, - {"IsChild", 0, (syscall_t)IsChild}, - {"IsClipboardFormatAvailable", 0, (syscall_t)IsClipboardFormatAvailable}, - {"IsDBCSLeadByte", 0, (syscall_t)IsDBCSLeadByte}, - {"IsDBCSLeadByteEx", 0, (syscall_t)IsDBCSLeadByteEx}, - {"IsDebuggerPresent", 0, (syscall_t)IsDebuggerPresent}, - {"IsDialogMessageA", 0, (syscall_t)IsDialogMessageA}, - {"IsDlgButtonChecked", 0, (syscall_t)IsDlgButtonChecked}, - {"IsEnclaveTypeSupported", 0, (syscall_t)IsEnclaveTypeSupported}, - {"IsGUIThread", 0, (syscall_t)IsGUIThread}, - {"IsHungAppWindow", 0, (syscall_t)IsHungAppWindow}, - {"IsIconic", 0, (syscall_t)IsIconic}, - {"IsImmersiveProcess", 0, (syscall_t)IsImmersiveProcess}, - {"IsLFNDriveA", 0, (syscall_t)IsLFNDriveA}, - {"IsMenu", 0, (syscall_t)IsMenu}, - {"IsMouseInPointerEnabled", 0, (syscall_t)IsMouseInPointerEnabled}, - {"IsNLSDefinedString", 0, (syscall_t)IsNLSDefinedString}, - {"IsNativeVhdBoot", 0, (syscall_t)IsNativeVhdBoot}, - {"IsNormalizedString", 0, (syscall_t)IsNormalizedString}, - {"IsProcessCritical", 0, (syscall_t)IsProcessCritical}, - {"IsProcessDPIAware", 0, (syscall_t)IsProcessDPIAware}, - {"IsProcessInJob", 0, (syscall_t)IsProcessInJob}, - {"IsProcessorFeaturePresent", 0, (syscall_t)IsProcessorFeaturePresent}, - {"IsRectEmpty", 0, (syscall_t)IsRectEmpty}, - {"IsSystemResumeAutomatic", 0, (syscall_t)IsSystemResumeAutomatic}, - {"IsTextUnicode", 0, (syscall_t)IsTextUnicode}, - {"IsThreadAFiber", 0, (syscall_t)IsThreadAFiber}, - {"IsThreadpoolTimerSet", 0, (syscall_t)IsThreadpoolTimerSet}, - {"IsTokenRestricted", 0, (syscall_t)IsTokenRestricted}, - {"IsTokenUntrusted", 0, (syscall_t)IsTokenUntrusted}, - {"IsTouchWindow", 0, (syscall_t)IsTouchWindow}, - {"IsValidAcl", 0, (syscall_t)IsValidAcl}, - {"IsValidCodePage", 0, (syscall_t)IsValidCodePage}, - {"IsValidDevmodeA", 0, (syscall_t)IsValidDevmodeA}, - {"IsValidDpiAwarenessContext", 0, (syscall_t)IsValidDpiAwarenessContext}, - {"IsValidLanguageGroup", 0, (syscall_t)IsValidLanguageGroup}, - {"IsValidLocale", 0, (syscall_t)IsValidLocale}, - {"IsValidLocaleName", 0, (syscall_t)IsValidLocaleName}, - {"IsValidNLSVersion", 0, (syscall_t)IsValidNLSVersion}, - {"IsValidSecurityDescriptor", 0, (syscall_t)IsValidSecurityDescriptor}, - {"IsValidSid", 0, (syscall_t)IsValidSid}, - {"IsWellKnownSid", 0, (syscall_t)IsWellKnownSid}, - {"IsWinEventHookInstalled", 0, (syscall_t)IsWinEventHookInstalled}, - {"IsWindow", 0, (syscall_t)IsWindow}, - {"IsWindowEnabled", 0, (syscall_t)IsWindowEnabled}, - {"IsWindowUnicode", 0, (syscall_t)IsWindowUnicode}, - {"IsWindowVisible", 0, (syscall_t)IsWindowVisible}, - {"IsWow64Message", 0, (syscall_t)IsWow64Message}, - {"IsWow64Process", 0, (syscall_t)IsWow64Process}, - {"IsWow64Process2", 0, (syscall_t)IsWow64Process2}, - {"IsZoomed", 0, (syscall_t)IsZoomed}, - {"KillTimer", 0, (syscall_t)KillTimer}, - {"LCIDToLocaleName", 0, (syscall_t)LCIDToLocaleName}, - {"LCMapStringA", 0, (syscall_t)LCMapStringA}, - {"LCMapStringEx", 0, (syscall_t)LCMapStringEx}, - {"LPSAFEARRAY_UserFree", 0, (syscall_t)LPSAFEARRAY_UserFree}, - {"LPSAFEARRAY_UserFree64", 0, (syscall_t)LPSAFEARRAY_UserFree64}, - {"LPSAFEARRAY_UserMarshal", 0, (syscall_t)LPSAFEARRAY_UserMarshal}, - {"LPSAFEARRAY_UserMarshal64", 0, (syscall_t)LPSAFEARRAY_UserMarshal64}, - {"LPSAFEARRAY_UserSize", 0, (syscall_t)LPSAFEARRAY_UserSize}, - {"LPSAFEARRAY_UserSize64", 0, (syscall_t)LPSAFEARRAY_UserSize64}, - {"LPSAFEARRAY_UserUnmarshal", 0, (syscall_t)LPSAFEARRAY_UserUnmarshal}, - {"LPSAFEARRAY_UserUnmarshal64", 0, (syscall_t)LPSAFEARRAY_UserUnmarshal64}, - {"LPtoDP", 0, (syscall_t)LPtoDP}, - {"LZClose", 0, (syscall_t)LZClose}, - {"LZCopy", 0, (syscall_t)LZCopy}, - {"LZDone", 0, (syscall_t)LZDone}, - {"LZInit", 0, (syscall_t)LZInit}, - {"LZOpenFileA", 0, (syscall_t)LZOpenFileA}, - {"LZRead", 0, (syscall_t)LZRead}, - {"LZSeek", 0, (syscall_t)LZSeek}, - {"LZStart", 0, (syscall_t)LZStart}, - {"LeaveCriticalSection", 0, (syscall_t)LeaveCriticalSection}, - {"LeaveCriticalSectionWhenCallbackReturns", 0, (syscall_t)LeaveCriticalSectionWhenCallbackReturns}, - {"LineDDA", 0, (syscall_t)LineDDA}, - {"LineTo", 0, (syscall_t)LineTo}, - {"LoadAcceleratorsA", 0, (syscall_t)LoadAcceleratorsA}, - {"LoadBitmapA", 0, (syscall_t)LoadBitmapA}, - {"LoadCursorA", 0, (syscall_t)LoadCursorA}, - {"LoadCursorFromFileA", 0, (syscall_t)LoadCursorFromFileA}, - {"LoadEnclaveData", 0, (syscall_t)LoadEnclaveData}, - {"LoadIconA", 0, (syscall_t)LoadIconA}, - {"LoadImageA", 0, (syscall_t)LoadImageA}, - {"LoadKeyboardLayoutA", 0, (syscall_t)LoadKeyboardLayoutA}, - {"LoadLibraryA", 0, (syscall_t)LoadLibraryA}, - {"LoadLibraryExA", 0, (syscall_t)LoadLibraryExA}, - {"LoadMenuA", 0, (syscall_t)LoadMenuA}, - {"LoadMenuIndirectA", 0, (syscall_t)LoadMenuIndirectA}, - {"LoadModule", 0, (syscall_t)LoadModule}, - {"LoadPackagedLibrary", 0, (syscall_t)LoadPackagedLibrary}, - {"LoadResource", 0, (syscall_t)LoadResource}, - {"LoadStringA", 0, (syscall_t)LoadStringA}, - {"LocalAlloc", 0, (syscall_t)LocalAlloc}, - {"LocalCompact", 0, (syscall_t)LocalCompact}, - {"LocalFileTimeToFileTime", 0, (syscall_t)LocalFileTimeToFileTime}, - {"LocalFlags", 0, (syscall_t)LocalFlags}, - {"LocalFree", 0, (syscall_t)LocalFree}, - {"LocalHandle", 0, (syscall_t)LocalHandle}, - {"LocalLock", 0, (syscall_t)LocalLock}, - {"LocalReAlloc", 0, (syscall_t)LocalReAlloc}, - {"LocalShrink", 0, (syscall_t)LocalShrink}, - {"LocalSize", 0, (syscall_t)LocalSize}, - {"LocalUnlock", 0, (syscall_t)LocalUnlock}, - {"LocaleNameToLCID", 0, (syscall_t)LocaleNameToLCID}, - {"LocateXStateFeature", 0, (syscall_t)LocateXStateFeature}, - {"LockFile", 0, (syscall_t)LockFile}, - {"LockFileEx", 0, (syscall_t)LockFileEx}, - {"LockResource", 0, (syscall_t)LockResource}, - {"LockServiceDatabase", 0, (syscall_t)LockServiceDatabase}, - {"LockSetForegroundWindow", 0, (syscall_t)LockSetForegroundWindow}, - {"LockWindowUpdate", 0, (syscall_t)LockWindowUpdate}, - {"LogicalToPhysicalPoint", 0, (syscall_t)LogicalToPhysicalPoint}, - {"LogicalToPhysicalPointForPerMonitorDPI", 0, (syscall_t)LogicalToPhysicalPointForPerMonitorDPI}, - {"LogonUserA", 0, (syscall_t)LogonUserA}, - {"LogonUserExA", 0, (syscall_t)LogonUserExA}, - {"LookupAccountNameA", 0, (syscall_t)LookupAccountNameA}, - {"LookupAccountSidA", 0, (syscall_t)LookupAccountSidA}, - {"LookupIconIdFromDirectory", 0, (syscall_t)LookupIconIdFromDirectory}, - {"LookupIconIdFromDirectoryEx", 0, (syscall_t)LookupIconIdFromDirectoryEx}, - {"LookupPrivilegeDisplayNameA", 0, (syscall_t)LookupPrivilegeDisplayNameA}, - {"LookupPrivilegeNameA", 0, (syscall_t)LookupPrivilegeNameA}, - {"LookupPrivilegeValueA", 0, (syscall_t)LookupPrivilegeValueA}, - {"MakeAbsoluteSD", 0, (syscall_t)MakeAbsoluteSD}, - {"MakeSelfRelativeSD", 0, (syscall_t)MakeSelfRelativeSD}, - {"MapDialogRect", 0, (syscall_t)MapDialogRect}, - {"MapGenericMask", 0, (syscall_t)MapGenericMask}, - {"MapUserPhysicalPages", 0, (syscall_t)MapUserPhysicalPages}, - {"MapUserPhysicalPagesScatter", 0, (syscall_t)MapUserPhysicalPagesScatter}, - {"MapViewOfFile", 0, (syscall_t)MapViewOfFile}, - {"MapViewOfFileEx", 0, (syscall_t)MapViewOfFileEx}, - {"MapViewOfFileExNuma", 0, (syscall_t)MapViewOfFileExNuma}, - {"MapViewOfFileFromApp", 0, (syscall_t)MapViewOfFileFromApp}, - {"MapVirtualKeyA", 0, (syscall_t)MapVirtualKeyA}, - {"MapVirtualKeyExA", 0, (syscall_t)MapVirtualKeyExA}, - {"MapWindowPoints", 0, (syscall_t)MapWindowPoints}, - {"MaskBlt", 0, (syscall_t)MaskBlt}, - {"MenuItemFromPoint", 0, (syscall_t)MenuItemFromPoint}, - {"MessageBeep", 0, (syscall_t)MessageBeep}, - {"MessageBoxA", 0, (syscall_t)MessageBoxA}, - {"MessageBoxExA", 0, (syscall_t)MessageBoxExA}, - {"MessageBoxIndirectA", 0, (syscall_t)MessageBoxIndirectA}, - {"ModifyMenuA", 0, (syscall_t)ModifyMenuA}, - {"ModifyWorldTransform", 0, (syscall_t)ModifyWorldTransform}, - {"MonitorFromPoint", 0, (syscall_t)MonitorFromPoint}, - {"MonitorFromRect", 0, (syscall_t)MonitorFromRect}, - {"MonitorFromWindow", 0, (syscall_t)MonitorFromWindow}, - {"MoveFileA", 0, (syscall_t)MoveFileA}, - {"MoveFileExA", 0, (syscall_t)MoveFileExA}, - {"MoveFileTransactedA", 0, (syscall_t)MoveFileTransactedA}, - {"MoveFileWithProgressA", 0, (syscall_t)MoveFileWithProgressA}, - {"MoveToEx", 0, (syscall_t)MoveToEx}, - {"MoveWindow", 0, (syscall_t)MoveWindow}, - {"MsgWaitForMultipleObjects", 0, (syscall_t)MsgWaitForMultipleObjects}, - {"MsgWaitForMultipleObjectsEx", 0, (syscall_t)MsgWaitForMultipleObjectsEx}, - {"MulDiv", 0, (syscall_t)MulDiv}, - {"MultiByteToWideChar", 0, (syscall_t)MultiByteToWideChar}, - {"MultinetGetConnectionPerformanceA", 0, (syscall_t)MultinetGetConnectionPerformanceA}, - {"NCryptCreateClaim", 0, (syscall_t)NCryptCreateClaim}, - {"NCryptCreatePersistedKey", 0, (syscall_t)NCryptCreatePersistedKey}, - {"NCryptDecrypt", 0, (syscall_t)NCryptDecrypt}, - {"NCryptDeleteKey", 0, (syscall_t)NCryptDeleteKey}, - {"NCryptDeriveKey", 0, (syscall_t)NCryptDeriveKey}, - {"NCryptEncrypt", 0, (syscall_t)NCryptEncrypt}, - {"NCryptEnumAlgorithms", 0, (syscall_t)NCryptEnumAlgorithms}, - {"NCryptEnumKeys", 0, (syscall_t)NCryptEnumKeys}, - {"NCryptEnumStorageProviders", 0, (syscall_t)NCryptEnumStorageProviders}, - {"NCryptExportKey", 0, (syscall_t)NCryptExportKey}, - {"NCryptFinalizeKey", 0, (syscall_t)NCryptFinalizeKey}, - {"NCryptFreeBuffer", 0, (syscall_t)NCryptFreeBuffer}, - {"NCryptFreeObject", 0, (syscall_t)NCryptFreeObject}, - {"NCryptGetProperty", 0, (syscall_t)NCryptGetProperty}, - {"NCryptImportKey", 0, (syscall_t)NCryptImportKey}, - {"NCryptIsAlgSupported", 0, (syscall_t)NCryptIsAlgSupported}, - {"NCryptIsKeyHandle", 0, (syscall_t)NCryptIsKeyHandle}, - {"NCryptKeyDerivation", 0, (syscall_t)NCryptKeyDerivation}, - {"NCryptNotifyChangeKey", 0, (syscall_t)NCryptNotifyChangeKey}, - {"NCryptOpenKey", 0, (syscall_t)NCryptOpenKey}, - {"NCryptOpenStorageProvider", 0, (syscall_t)NCryptOpenStorageProvider}, - {"NCryptSecretAgreement", 0, (syscall_t)NCryptSecretAgreement}, - {"NCryptSetProperty", 0, (syscall_t)NCryptSetProperty}, - {"NCryptSignHash", 0, (syscall_t)NCryptSignHash}, - {"NCryptTranslateHandle", 0, (syscall_t)NCryptTranslateHandle}, - {"NCryptVerifyClaim", 0, (syscall_t)NCryptVerifyClaim}, - {"NCryptVerifySignature", 0, (syscall_t)NCryptVerifySignature}, - {"NeedCurrentDirectoryForExePathA", 0, (syscall_t)NeedCurrentDirectoryForExePathA}, - {"NormalizeString", 0, (syscall_t)NormalizeString}, - {"NotifyBootConfigStatus", 0, (syscall_t)NotifyBootConfigStatus}, - {"NotifyChangeEventLog", 0, (syscall_t)NotifyChangeEventLog}, - {"NotifyServiceStatusChangeA", 0, (syscall_t)NotifyServiceStatusChangeA}, - {"NotifyUILanguageChange", 0, (syscall_t)NotifyUILanguageChange}, - {"NotifyWinEvent", 0, (syscall_t)NotifyWinEvent}, - {"ObjectCloseAuditAlarmA", 0, (syscall_t)ObjectCloseAuditAlarmA}, - {"ObjectDeleteAuditAlarmA", 0, (syscall_t)ObjectDeleteAuditAlarmA}, - {"ObjectOpenAuditAlarmA", 0, (syscall_t)ObjectOpenAuditAlarmA}, - {"ObjectPrivilegeAuditAlarmA", 0, (syscall_t)ObjectPrivilegeAuditAlarmA}, - {"OemKeyScan", 0, (syscall_t)OemKeyScan}, - {"OemToCharA", 0, (syscall_t)OemToCharA}, - {"OemToCharBuffA", 0, (syscall_t)OemToCharBuffA}, - {"OfferVirtualMemory", 0, (syscall_t)OfferVirtualMemory}, - {"OffsetClipRgn", 0, (syscall_t)OffsetClipRgn}, - {"OffsetRect", 0, (syscall_t)OffsetRect}, - {"OffsetRgn", 0, (syscall_t)OffsetRgn}, - {"OffsetViewportOrgEx", 0, (syscall_t)OffsetViewportOrgEx}, - {"OffsetWindowOrgEx", 0, (syscall_t)OffsetWindowOrgEx}, - {"OpenBackupEventLogA", 0, (syscall_t)OpenBackupEventLogA}, - {"OpenClipboard", 0, (syscall_t)OpenClipboard}, - {"OpenDesktopA", 0, (syscall_t)OpenDesktopA}, - {"OpenDriver", 0, (syscall_t)OpenDriver}, - {"OpenEncryptedFileRawA", 0, (syscall_t)OpenEncryptedFileRawA}, - {"OpenEventA", 0, (syscall_t)OpenEventA}, - {"OpenEventLogA", 0, (syscall_t)OpenEventLogA}, - {"OpenFile", 0, (syscall_t)OpenFile}, - {"OpenFileById", 0, (syscall_t)OpenFileById}, - {"OpenFileMappingA", 0, (syscall_t)OpenFileMappingA}, - {"OpenFileMappingFromApp", 0, (syscall_t)OpenFileMappingFromApp}, - {"OpenIcon", 0, (syscall_t)OpenIcon}, - {"OpenInputDesktop", 0, (syscall_t)OpenInputDesktop}, - {"OpenJobObjectA", 0, (syscall_t)OpenJobObjectA}, - {"OpenMutexA", 0, (syscall_t)OpenMutexA}, - {"OpenPrinter2A", 0, (syscall_t)OpenPrinter2A}, - {"OpenPrinterA", 0, (syscall_t)OpenPrinterA}, - {"OpenPrivateNamespaceA", 0, (syscall_t)OpenPrivateNamespaceA}, - {"OpenProcess", 0, (syscall_t)OpenProcess}, - {"OpenProcessToken", 0, (syscall_t)OpenProcessToken}, - {"OpenSCManagerA", 0, (syscall_t)OpenSCManagerA}, - {"OpenSemaphoreA", 0, (syscall_t)OpenSemaphoreA}, - {"OpenServiceA", 0, (syscall_t)OpenServiceA}, - {"OpenThread", 0, (syscall_t)OpenThread}, - {"OpenThreadToken", 0, (syscall_t)OpenThreadToken}, - {"OpenWaitableTimerA", 0, (syscall_t)OpenWaitableTimerA}, - {"OpenWindowStationA", 0, (syscall_t)OpenWindowStationA}, - {"OperationEnd", 0, (syscall_t)OperationEnd}, - {"OperationStart", 0, (syscall_t)OperationStart}, - {"OutputDebugStringA", 0, (syscall_t)OutputDebugStringA}, - {"PFXExportCertStore", 0, (syscall_t)PFXExportCertStore}, - {"PFXExportCertStoreEx", 0, (syscall_t)PFXExportCertStoreEx}, - {"PFXImportCertStore", 0, (syscall_t)PFXImportCertStore}, - {"PFXIsPFXBlob", 0, (syscall_t)PFXIsPFXBlob}, - {"PFXVerifyPassword", 0, (syscall_t)PFXVerifyPassword}, - {"PackDDElParam", 0, (syscall_t)PackDDElParam}, - {"PackTouchHitTestingProximityEvaluation", 0, (syscall_t)PackTouchHitTestingProximityEvaluation}, - {"PageSetupDlgA", 0, (syscall_t)PageSetupDlgA}, - {"PaintDesktop", 0, (syscall_t)PaintDesktop}, - {"PaintRgn", 0, (syscall_t)PaintRgn}, - {"PatBlt", 0, (syscall_t)PatBlt}, - {"PathToRegion", 0, (syscall_t)PathToRegion}, - {"PeekConsoleInputA", 0, (syscall_t)PeekConsoleInputA}, - {"PeekMessageA", 0, (syscall_t)PeekMessageA}, - {"PeekNamedPipe", 0, (syscall_t)PeekNamedPipe}, - {"PhysicalToLogicalPoint", 0, (syscall_t)PhysicalToLogicalPoint}, - {"PhysicalToLogicalPointForPerMonitorDPI", 0, (syscall_t)PhysicalToLogicalPointForPerMonitorDPI}, - {"Pie", 0, (syscall_t)Pie}, - {"PlayEnhMetaFile", 0, (syscall_t)PlayEnhMetaFile}, - {"PlayEnhMetaFileRecord", 0, (syscall_t)PlayEnhMetaFileRecord}, - {"PlayMetaFile", 0, (syscall_t)PlayMetaFile}, - {"PlayMetaFileRecord", 0, (syscall_t)PlayMetaFileRecord}, - {"PlaySoundA", 0, (syscall_t)PlaySoundA}, - {"PlgBlt", 0, (syscall_t)PlgBlt}, - {"PolyBezier", 0, (syscall_t)PolyBezier}, - {"PolyBezierTo", 0, (syscall_t)PolyBezierTo}, - {"PolyDraw", 0, (syscall_t)PolyDraw}, - {"PolyPolygon", 0, (syscall_t)PolyPolygon}, - {"PolyPolyline", 0, (syscall_t)PolyPolyline}, - {"PolyTextOutA", 0, (syscall_t)PolyTextOutA}, - {"Polygon", 0, (syscall_t)Polygon}, - {"Polyline", 0, (syscall_t)Polyline}, - {"PolylineTo", 0, (syscall_t)PolylineTo}, - {"PostMessageA", 0, (syscall_t)PostMessageA}, - {"PostQueuedCompletionStatus", 0, (syscall_t)PostQueuedCompletionStatus}, - {"PostQuitMessage", 0, (syscall_t)PostQuitMessage}, - {"PostThreadMessageA", 0, (syscall_t)PostThreadMessageA}, - {"PowerClearRequest", 0, (syscall_t)PowerClearRequest}, - {"PowerCreateRequest", 0, (syscall_t)PowerCreateRequest}, - {"PowerSetRequest", 0, (syscall_t)PowerSetRequest}, - {"PrefetchVirtualMemory", 0, (syscall_t)PrefetchVirtualMemory}, - {"PrepareTape", 0, (syscall_t)PrepareTape}, - {"PrintDlgA", 0, (syscall_t)PrintDlgA}, - {"PrintDlgExA", 0, (syscall_t)PrintDlgExA}, - {"PrintWindow", 0, (syscall_t)PrintWindow}, - {"PrinterMessageBoxA", 0, (syscall_t)PrinterMessageBoxA}, - {"PrinterProperties", 0, (syscall_t)PrinterProperties}, - {"PrivateExtractIconsA", 0, (syscall_t)PrivateExtractIconsA}, - {"PrivilegeCheck", 0, (syscall_t)PrivilegeCheck}, - {"PrivilegedServiceAuditAlarmA", 0, (syscall_t)PrivilegedServiceAuditAlarmA}, - {"ProcessIdToSessionId", 0, (syscall_t)ProcessIdToSessionId}, - {"PropStgNameToFmtId", 0, (syscall_t)PropStgNameToFmtId}, - {"PtInRect", 0, (syscall_t)PtInRect}, - {"PtInRegion", 0, (syscall_t)PtInRegion}, - {"PtVisible", 0, (syscall_t)PtVisible}, - {"PulseEvent", 0, (syscall_t)PulseEvent}, - {"PurgeComm", 0, (syscall_t)PurgeComm}, - {"QueryDepthSList", 0, (syscall_t)QueryDepthSList}, - {"QueryDisplayConfig", 0, (syscall_t)QueryDisplayConfig}, - {"QueryDosDeviceA", 0, (syscall_t)QueryDosDeviceA}, - {"QueryFullProcessImageNameA", 0, (syscall_t)QueryFullProcessImageNameA}, - {"QueryIdleProcessorCycleTime", 0, (syscall_t)QueryIdleProcessorCycleTime}, - {"QueryIdleProcessorCycleTimeEx", 0, (syscall_t)QueryIdleProcessorCycleTimeEx}, - {"QueryInformationJobObject", 0, (syscall_t)QueryInformationJobObject}, - {"QueryInterruptTime", 0, (syscall_t)QueryInterruptTime}, - {"QueryInterruptTimePrecise", 0, (syscall_t)QueryInterruptTimePrecise}, - {"QueryIoRateControlInformationJobObject", 0, (syscall_t)QueryIoRateControlInformationJobObject}, - {"QueryMemoryResourceNotification", 0, (syscall_t)QueryMemoryResourceNotification}, - {"QueryPerformanceCounter", 0, (syscall_t)QueryPerformanceCounter}, - {"QueryPerformanceFrequency", 0, (syscall_t)QueryPerformanceFrequency}, - {"QueryProcessAffinityUpdateMode", 0, (syscall_t)QueryProcessAffinityUpdateMode}, - {"QueryProcessCycleTime", 0, (syscall_t)QueryProcessCycleTime}, - {"QueryProtectedPolicy", 0, (syscall_t)QueryProtectedPolicy}, - {"QueryRecoveryAgentsOnEncryptedFile", 0, (syscall_t)QueryRecoveryAgentsOnEncryptedFile}, - {"QuerySecurityAccessMask", 0, (syscall_t)QuerySecurityAccessMask}, - {"QueryServiceConfig2A", 0, (syscall_t)QueryServiceConfig2A}, - {"QueryServiceConfigA", 0, (syscall_t)QueryServiceConfigA}, - {"QueryServiceDynamicInformation", 0, (syscall_t)QueryServiceDynamicInformation}, - {"QueryServiceLockStatusA", 0, (syscall_t)QueryServiceLockStatusA}, - {"QueryServiceObjectSecurity", 0, (syscall_t)QueryServiceObjectSecurity}, - {"QueryServiceStatus", 0, (syscall_t)QueryServiceStatus}, - {"QueryServiceStatusEx", 0, (syscall_t)QueryServiceStatusEx}, - {"QueryThreadCycleTime", 0, (syscall_t)QueryThreadCycleTime}, - {"QueryThreadProfiling", 0, (syscall_t)QueryThreadProfiling}, - {"QueryThreadpoolStackInformation", 0, (syscall_t)QueryThreadpoolStackInformation}, - {"QueryUmsThreadInformation", 0, (syscall_t)QueryUmsThreadInformation}, - {"QueryUnbiasedInterruptTime", 0, (syscall_t)QueryUnbiasedInterruptTime}, - {"QueryUnbiasedInterruptTimePrecise", 0, (syscall_t)QueryUnbiasedInterruptTimePrecise}, - {"QueryUsersOnEncryptedFile", 0, (syscall_t)QueryUsersOnEncryptedFile}, - {"QueryVirtualMemoryInformation", 0, (syscall_t)QueryVirtualMemoryInformation}, - {"QueueUserAPC", 0, (syscall_t)QueueUserAPC}, - {"QueueUserWorkItem", 0, (syscall_t)QueueUserWorkItem}, - {"RaiseException", 0, (syscall_t)RaiseException}, - {"RaiseFailFastException", 0, (syscall_t)RaiseFailFastException}, - {"ReOpenFile", 0, (syscall_t)ReOpenFile}, - {"ReadClassStg", 0, (syscall_t)ReadClassStg}, - {"ReadClassStm", 0, (syscall_t)ReadClassStm}, - {"ReadConsoleA", 0, (syscall_t)ReadConsoleA}, - {"ReadConsoleInputA", 0, (syscall_t)ReadConsoleInputA}, - {"ReadConsoleOutputA", 0, (syscall_t)ReadConsoleOutputA}, - {"ReadConsoleOutputAttribute", 0, (syscall_t)ReadConsoleOutputAttribute}, - {"ReadConsoleOutputCharacterA", 0, (syscall_t)ReadConsoleOutputCharacterA}, - {"ReadEncryptedFileRaw", 0, (syscall_t)ReadEncryptedFileRaw}, - {"ReadEventLogA", 0, (syscall_t)ReadEventLogA}, - {"ReadFile", 0, (syscall_t)ReadFile}, - {"ReadFileEx", 0, (syscall_t)ReadFileEx}, - {"ReadFileScatter", 0, (syscall_t)ReadFileScatter}, - {"ReadPrinter", 0, (syscall_t)ReadPrinter}, - {"ReadProcessMemory", 0, (syscall_t)ReadProcessMemory}, - {"ReadThreadProfilingData", 0, (syscall_t)ReadThreadProfilingData}, - {"RealChildWindowFromPoint", 0, (syscall_t)RealChildWindowFromPoint}, - {"RealGetWindowClassA", 0, (syscall_t)RealGetWindowClassA}, - {"RealizePalette", 0, (syscall_t)RealizePalette}, - {"ReclaimVirtualMemory", 0, (syscall_t)ReclaimVirtualMemory}, - {"RectInRegion", 0, (syscall_t)RectInRegion}, - {"RectVisible", 0, (syscall_t)RectVisible}, - {"Rectangle", 0, (syscall_t)Rectangle}, - {"RedrawWindow", 0, (syscall_t)RedrawWindow}, - {"RegCloseKey", 0, (syscall_t)RegCloseKey}, - {"RegConnectRegistryA", 0, (syscall_t)RegConnectRegistryA}, - {"RegConnectRegistryExA", 0, (syscall_t)RegConnectRegistryExA}, - {"RegCopyTreeA", 0, (syscall_t)RegCopyTreeA}, - {"RegCreateKeyA", 0, (syscall_t)RegCreateKeyA}, - {"RegCreateKeyExA", 0, (syscall_t)RegCreateKeyExA}, - {"RegCreateKeyTransactedA", 0, (syscall_t)RegCreateKeyTransactedA}, - {"RegDeleteKeyA", 0, (syscall_t)RegDeleteKeyA}, - {"RegDeleteKeyExA", 0, (syscall_t)RegDeleteKeyExA}, - {"RegDeleteKeyTransactedA", 0, (syscall_t)RegDeleteKeyTransactedA}, - {"RegDeleteKeyValueA", 0, (syscall_t)RegDeleteKeyValueA}, - {"RegDeleteTreeA", 0, (syscall_t)RegDeleteTreeA}, - {"RegDeleteValueA", 0, (syscall_t)RegDeleteValueA}, - {"RegDisablePredefinedCache", 0, (syscall_t)RegDisablePredefinedCache}, - {"RegDisablePredefinedCacheEx", 0, (syscall_t)RegDisablePredefinedCacheEx}, - {"RegDisableReflectionKey", 0, (syscall_t)RegDisableReflectionKey}, - {"RegEnableReflectionKey", 0, (syscall_t)RegEnableReflectionKey}, - {"RegEnumKeyA", 0, (syscall_t)RegEnumKeyA}, - {"RegEnumKeyExA", 0, (syscall_t)RegEnumKeyExA}, - {"RegEnumValueA", 0, (syscall_t)RegEnumValueA}, - {"RegFlushKey", 0, (syscall_t)RegFlushKey}, - {"RegGetKeySecurity", 0, (syscall_t)RegGetKeySecurity}, - {"RegGetValueA", 0, (syscall_t)RegGetValueA}, - {"RegLoadAppKeyA", 0, (syscall_t)RegLoadAppKeyA}, - {"RegLoadKeyA", 0, (syscall_t)RegLoadKeyA}, - {"RegLoadMUIStringA", 0, (syscall_t)RegLoadMUIStringA}, - {"RegNotifyChangeKeyValue", 0, (syscall_t)RegNotifyChangeKeyValue}, - {"RegOpenCurrentUser", 0, (syscall_t)RegOpenCurrentUser}, - {"RegOpenKeyA", 0, (syscall_t)RegOpenKeyA}, - {"RegOpenKeyExA", 0, (syscall_t)RegOpenKeyExA}, - {"RegOpenKeyTransactedA", 0, (syscall_t)RegOpenKeyTransactedA}, - {"RegOpenUserClassesRoot", 0, (syscall_t)RegOpenUserClassesRoot}, - {"RegOverridePredefKey", 0, (syscall_t)RegOverridePredefKey}, - {"RegQueryInfoKeyA", 0, (syscall_t)RegQueryInfoKeyA}, - {"RegQueryMultipleValuesA", 0, (syscall_t)RegQueryMultipleValuesA}, - {"RegQueryReflectionKey", 0, (syscall_t)RegQueryReflectionKey}, - {"RegQueryValueA", 0, (syscall_t)RegQueryValueA}, - {"RegQueryValueExA", 0, (syscall_t)RegQueryValueExA}, - {"RegRenameKey", 0, (syscall_t)RegRenameKey}, - {"RegReplaceKeyA", 0, (syscall_t)RegReplaceKeyA}, - {"RegRestoreKeyA", 0, (syscall_t)RegRestoreKeyA}, - {"RegSaveKeyA", 0, (syscall_t)RegSaveKeyA}, - {"RegSaveKeyExA", 0, (syscall_t)RegSaveKeyExA}, - {"RegSetKeySecurity", 0, (syscall_t)RegSetKeySecurity}, - {"RegSetKeyValueA", 0, (syscall_t)RegSetKeyValueA}, - {"RegSetValueA", 0, (syscall_t)RegSetValueA}, - {"RegSetValueExA", 0, (syscall_t)RegSetValueExA}, - {"RegUnLoadKeyA", 0, (syscall_t)RegUnLoadKeyA}, - {"RegisterApplicationRecoveryCallback", 0, (syscall_t)RegisterApplicationRecoveryCallback}, - {"RegisterApplicationRestart", 0, (syscall_t)RegisterApplicationRestart}, - {"RegisterBadMemoryNotification", 0, (syscall_t)RegisterBadMemoryNotification}, - {"RegisterClassA", 0, (syscall_t)RegisterClassA}, - {"RegisterClassExA", 0, (syscall_t)RegisterClassExA}, - {"RegisterClipboardFormatA", 0, (syscall_t)RegisterClipboardFormatA}, - {"RegisterDeviceNotificationA", 0, (syscall_t)RegisterDeviceNotificationA}, - {"RegisterEventSourceA", 0, (syscall_t)RegisterEventSourceA}, - {"RegisterHotKey", 0, (syscall_t)RegisterHotKey}, - {"RegisterPointerDeviceNotifications", 0, (syscall_t)RegisterPointerDeviceNotifications}, - {"RegisterPointerInputTarget", 0, (syscall_t)RegisterPointerInputTarget}, - {"RegisterPointerInputTargetEx", 0, (syscall_t)RegisterPointerInputTargetEx}, - {"RegisterPowerSettingNotification", 0, (syscall_t)RegisterPowerSettingNotification}, - {"RegisterRawInputDevices", 0, (syscall_t)RegisterRawInputDevices}, - {"RegisterServiceCtrlHandlerA", 0, (syscall_t)RegisterServiceCtrlHandlerA}, - {"RegisterServiceCtrlHandlerExA", 0, (syscall_t)RegisterServiceCtrlHandlerExA}, - {"RegisterShellHookWindow", 0, (syscall_t)RegisterShellHookWindow}, - {"RegisterSuspendResumeNotification", 0, (syscall_t)RegisterSuspendResumeNotification}, - {"RegisterTouchHitTestingWindow", 0, (syscall_t)RegisterTouchHitTestingWindow}, - {"RegisterTouchWindow", 0, (syscall_t)RegisterTouchWindow}, - {"RegisterWaitForSingleObject", 0, (syscall_t)RegisterWaitForSingleObject}, - {"RegisterWindowMessageA", 0, (syscall_t)RegisterWindowMessageA}, - {"ReleaseActCtx", 0, (syscall_t)ReleaseActCtx}, - {"ReleaseCapture", 0, (syscall_t)ReleaseCapture}, - {"ReleaseDC", 0, (syscall_t)ReleaseDC}, - {"ReleaseMutex", 0, (syscall_t)ReleaseMutex}, - {"ReleaseMutexWhenCallbackReturns", 0, (syscall_t)ReleaseMutexWhenCallbackReturns}, - {"ReleaseSRWLockExclusive", 0, (syscall_t)ReleaseSRWLockExclusive}, - {"ReleaseSRWLockShared", 0, (syscall_t)ReleaseSRWLockShared}, - {"ReleaseSemaphore", 0, (syscall_t)ReleaseSemaphore}, - {"ReleaseSemaphoreWhenCallbackReturns", 0, (syscall_t)ReleaseSemaphoreWhenCallbackReturns}, - {"RemoveClipboardFormatListener", 0, (syscall_t)RemoveClipboardFormatListener}, - {"RemoveDirectoryA", 0, (syscall_t)RemoveDirectoryA}, - {"RemoveDirectoryTransactedA", 0, (syscall_t)RemoveDirectoryTransactedA}, - {"RemoveDllDirectory", 0, (syscall_t)RemoveDllDirectory}, - {"RemoveFontMemResourceEx", 0, (syscall_t)RemoveFontMemResourceEx}, - {"RemoveFontResourceA", 0, (syscall_t)RemoveFontResourceA}, - {"RemoveFontResourceExA", 0, (syscall_t)RemoveFontResourceExA}, - {"RemoveMenu", 0, (syscall_t)RemoveMenu}, - {"RemovePropA", 0, (syscall_t)RemovePropA}, - {"RemoveSecureMemoryCacheCallback", 0, (syscall_t)RemoveSecureMemoryCacheCallback}, - {"RemoveUsersFromEncryptedFile", 0, (syscall_t)RemoveUsersFromEncryptedFile}, - {"RemoveVectoredContinueHandler", 0, (syscall_t)RemoveVectoredContinueHandler}, - {"RemoveVectoredExceptionHandler", 0, (syscall_t)RemoveVectoredExceptionHandler}, - {"ReplaceFileA", 0, (syscall_t)ReplaceFileA}, - {"ReplacePartitionUnit", 0, (syscall_t)ReplacePartitionUnit}, - {"ReplaceTextA", 0, (syscall_t)ReplaceTextA}, - {"ReplyMessage", 0, (syscall_t)ReplyMessage}, - {"ReportEventA", 0, (syscall_t)ReportEventA}, - {"ReportJobProcessingProgress", 0, (syscall_t)ReportJobProcessingProgress}, - {"RequestDeviceWakeup", 0, (syscall_t)RequestDeviceWakeup}, - {"RequestWakeupLatency", 0, (syscall_t)RequestWakeupLatency}, - {"ResetDCA", 0, (syscall_t)ResetDCA}, - {"ResetEvent", 0, (syscall_t)ResetEvent}, - {"ResetPrinterA", 0, (syscall_t)ResetPrinterA}, - {"ResetWriteWatch", 0, (syscall_t)ResetWriteWatch}, - {"ResizePalette", 0, (syscall_t)ResizePalette}, - {"ResolveLocaleName", 0, (syscall_t)ResolveLocaleName}, - {"RestoreDC", 0, (syscall_t)RestoreDC}, - {"ResumeThread", 0, (syscall_t)ResumeThread}, - {"ReuseDDElParam", 0, (syscall_t)ReuseDDElParam}, - {"RevertToSelf", 0, (syscall_t)RevertToSelf}, - {"RoundRect", 0, (syscall_t)RoundRect}, - {"RpcAsyncAbortCall", 0, (syscall_t)RpcAsyncAbortCall}, - {"RpcAsyncCancelCall", 0, (syscall_t)RpcAsyncCancelCall}, - {"RpcAsyncCompleteCall", 0, (syscall_t)RpcAsyncCompleteCall}, - {"RpcAsyncGetCallStatus", 0, (syscall_t)RpcAsyncGetCallStatus}, - {"RpcAsyncInitializeHandle", 0, (syscall_t)RpcAsyncInitializeHandle}, - {"RpcAsyncRegisterInfo", 0, (syscall_t)RpcAsyncRegisterInfo}, - {"RpcBindingBind", 0, (syscall_t)RpcBindingBind}, - {"RpcBindingCopy", 0, (syscall_t)RpcBindingCopy}, - {"RpcBindingCreateA", 0, (syscall_t)RpcBindingCreateA}, - {"RpcBindingFree", 0, (syscall_t)RpcBindingFree}, - {"RpcBindingFromStringBindingA", 0, (syscall_t)RpcBindingFromStringBindingA}, - {"RpcBindingInqAuthClientA", 0, (syscall_t)RpcBindingInqAuthClientA}, - {"RpcBindingInqAuthClientExA", 0, (syscall_t)RpcBindingInqAuthClientExA}, - {"RpcBindingInqAuthInfoA", 0, (syscall_t)RpcBindingInqAuthInfoA}, - {"RpcBindingInqAuthInfoExA", 0, (syscall_t)RpcBindingInqAuthInfoExA}, - {"RpcBindingInqObject", 0, (syscall_t)RpcBindingInqObject}, - {"RpcBindingInqOption", 0, (syscall_t)RpcBindingInqOption}, - {"RpcBindingReset", 0, (syscall_t)RpcBindingReset}, - {"RpcBindingServerFromClient", 0, (syscall_t)RpcBindingServerFromClient}, - {"RpcBindingSetAuthInfoA", 0, (syscall_t)RpcBindingSetAuthInfoA}, - {"RpcBindingSetAuthInfoExA", 0, (syscall_t)RpcBindingSetAuthInfoExA}, - {"RpcBindingSetObject", 0, (syscall_t)RpcBindingSetObject}, - {"RpcBindingSetOption", 0, (syscall_t)RpcBindingSetOption}, - {"RpcBindingToStringBindingA", 0, (syscall_t)RpcBindingToStringBindingA}, - {"RpcBindingUnbind", 0, (syscall_t)RpcBindingUnbind}, - {"RpcBindingVectorFree", 0, (syscall_t)RpcBindingVectorFree}, - {"RpcCancelThread", 0, (syscall_t)RpcCancelThread}, - {"RpcCancelThreadEx", 0, (syscall_t)RpcCancelThreadEx}, - {"RpcEpRegisterA", 0, (syscall_t)RpcEpRegisterA}, - {"RpcEpRegisterNoReplaceA", 0, (syscall_t)RpcEpRegisterNoReplaceA}, - {"RpcEpResolveBinding", 0, (syscall_t)RpcEpResolveBinding}, - {"RpcEpUnregister", 0, (syscall_t)RpcEpUnregister}, - {"RpcErrorAddRecord", 0, (syscall_t)RpcErrorAddRecord}, - {"RpcErrorClearInformation", 0, (syscall_t)RpcErrorClearInformation}, - {"RpcErrorEndEnumeration", 0, (syscall_t)RpcErrorEndEnumeration}, - {"RpcErrorGetNextRecord", 0, (syscall_t)RpcErrorGetNextRecord}, - {"RpcErrorGetNumberOfRecords", 0, (syscall_t)RpcErrorGetNumberOfRecords}, - {"RpcErrorLoadErrorInfo", 0, (syscall_t)RpcErrorLoadErrorInfo}, - {"RpcErrorResetEnumeration", 0, (syscall_t)RpcErrorResetEnumeration}, - {"RpcErrorSaveErrorInfo", 0, (syscall_t)RpcErrorSaveErrorInfo}, - {"RpcErrorStartEnumeration", 0, (syscall_t)RpcErrorStartEnumeration}, - {"RpcExceptionFilter", 0, (syscall_t)RpcExceptionFilter}, - {"RpcFreeAuthorizationContext", 0, (syscall_t)RpcFreeAuthorizationContext}, - {"RpcGetAuthorizationContextForClient", 0, (syscall_t)RpcGetAuthorizationContextForClient}, - {"RpcIfIdVectorFree", 0, (syscall_t)RpcIfIdVectorFree}, - {"RpcIfInqId", 0, (syscall_t)RpcIfInqId}, - {"RpcImpersonateClient", 0, (syscall_t)RpcImpersonateClient}, - {"RpcImpersonateClient2", 0, (syscall_t)RpcImpersonateClient2}, - {"RpcImpersonateClientContainer", 0, (syscall_t)RpcImpersonateClientContainer}, - {"RpcMgmtEnableIdleCleanup", 0, (syscall_t)RpcMgmtEnableIdleCleanup}, - {"RpcMgmtEpEltInqBegin", 0, (syscall_t)RpcMgmtEpEltInqBegin}, - {"RpcMgmtEpEltInqDone", 0, (syscall_t)RpcMgmtEpEltInqDone}, - {"RpcMgmtEpEltInqNextA", 0, (syscall_t)RpcMgmtEpEltInqNextA}, - {"RpcMgmtEpUnregister", 0, (syscall_t)RpcMgmtEpUnregister}, - {"RpcMgmtInqComTimeout", 0, (syscall_t)RpcMgmtInqComTimeout}, - {"RpcMgmtInqDefaultProtectLevel", 0, (syscall_t)RpcMgmtInqDefaultProtectLevel}, - {"RpcMgmtInqIfIds", 0, (syscall_t)RpcMgmtInqIfIds}, - {"RpcMgmtInqServerPrincNameA", 0, (syscall_t)RpcMgmtInqServerPrincNameA}, - {"RpcMgmtInqStats", 0, (syscall_t)RpcMgmtInqStats}, - {"RpcMgmtIsServerListening", 0, (syscall_t)RpcMgmtIsServerListening}, - {"RpcMgmtSetAuthorizationFn", 0, (syscall_t)RpcMgmtSetAuthorizationFn}, - {"RpcMgmtSetCancelTimeout", 0, (syscall_t)RpcMgmtSetCancelTimeout}, - {"RpcMgmtSetComTimeout", 0, (syscall_t)RpcMgmtSetComTimeout}, - {"RpcMgmtSetServerStackSize", 0, (syscall_t)RpcMgmtSetServerStackSize}, - {"RpcMgmtStatsVectorFree", 0, (syscall_t)RpcMgmtStatsVectorFree}, - {"RpcMgmtStopServerListening", 0, (syscall_t)RpcMgmtStopServerListening}, - {"RpcMgmtWaitServerListen", 0, (syscall_t)RpcMgmtWaitServerListen}, - {"RpcNetworkInqProtseqsA", 0, (syscall_t)RpcNetworkInqProtseqsA}, - {"RpcNetworkIsProtseqValidA", 0, (syscall_t)RpcNetworkIsProtseqValidA}, - {"RpcNsBindingExportA", 0, (syscall_t)RpcNsBindingExportA}, - {"RpcNsBindingExportPnPA", 0, (syscall_t)RpcNsBindingExportPnPA}, - {"RpcNsBindingImportBeginA", 0, (syscall_t)RpcNsBindingImportBeginA}, - {"RpcNsBindingImportDone", 0, (syscall_t)RpcNsBindingImportDone}, - {"RpcNsBindingImportNext", 0, (syscall_t)RpcNsBindingImportNext}, - {"RpcNsBindingInqEntryNameA", 0, (syscall_t)RpcNsBindingInqEntryNameA}, - {"RpcNsBindingLookupBeginA", 0, (syscall_t)RpcNsBindingLookupBeginA}, - {"RpcNsBindingLookupDone", 0, (syscall_t)RpcNsBindingLookupDone}, - {"RpcNsBindingLookupNext", 0, (syscall_t)RpcNsBindingLookupNext}, - {"RpcNsBindingSelect", 0, (syscall_t)RpcNsBindingSelect}, - {"RpcNsBindingUnexportA", 0, (syscall_t)RpcNsBindingUnexportA}, - {"RpcNsBindingUnexportPnPA", 0, (syscall_t)RpcNsBindingUnexportPnPA}, - {"RpcNsEntryExpandNameA", 0, (syscall_t)RpcNsEntryExpandNameA}, - {"RpcNsEntryObjectInqBeginA", 0, (syscall_t)RpcNsEntryObjectInqBeginA}, - {"RpcNsEntryObjectInqDone", 0, (syscall_t)RpcNsEntryObjectInqDone}, - {"RpcNsEntryObjectInqNext", 0, (syscall_t)RpcNsEntryObjectInqNext}, - {"RpcNsGroupDeleteA", 0, (syscall_t)RpcNsGroupDeleteA}, - {"RpcNsGroupMbrAddA", 0, (syscall_t)RpcNsGroupMbrAddA}, - {"RpcNsGroupMbrInqBeginA", 0, (syscall_t)RpcNsGroupMbrInqBeginA}, - {"RpcNsGroupMbrInqDone", 0, (syscall_t)RpcNsGroupMbrInqDone}, - {"RpcNsGroupMbrInqNextA", 0, (syscall_t)RpcNsGroupMbrInqNextA}, - {"RpcNsGroupMbrRemoveA", 0, (syscall_t)RpcNsGroupMbrRemoveA}, - {"RpcNsMgmtBindingUnexportA", 0, (syscall_t)RpcNsMgmtBindingUnexportA}, - {"RpcNsMgmtEntryCreateA", 0, (syscall_t)RpcNsMgmtEntryCreateA}, - {"RpcNsMgmtEntryDeleteA", 0, (syscall_t)RpcNsMgmtEntryDeleteA}, - {"RpcNsMgmtEntryInqIfIdsA", 0, (syscall_t)RpcNsMgmtEntryInqIfIdsA}, - {"RpcNsMgmtHandleSetExpAge", 0, (syscall_t)RpcNsMgmtHandleSetExpAge}, - {"RpcNsMgmtInqExpAge", 0, (syscall_t)RpcNsMgmtInqExpAge}, - {"RpcNsMgmtSetExpAge", 0, (syscall_t)RpcNsMgmtSetExpAge}, - {"RpcNsProfileDeleteA", 0, (syscall_t)RpcNsProfileDeleteA}, - {"RpcNsProfileEltAddA", 0, (syscall_t)RpcNsProfileEltAddA}, - {"RpcNsProfileEltInqBeginA", 0, (syscall_t)RpcNsProfileEltInqBeginA}, - {"RpcNsProfileEltInqDone", 0, (syscall_t)RpcNsProfileEltInqDone}, - {"RpcNsProfileEltInqNextA", 0, (syscall_t)RpcNsProfileEltInqNextA}, - {"RpcNsProfileEltRemoveA", 0, (syscall_t)RpcNsProfileEltRemoveA}, - {"RpcObjectInqType", 0, (syscall_t)RpcObjectInqType}, - {"RpcObjectSetInqFn", 0, (syscall_t)RpcObjectSetInqFn}, - {"RpcObjectSetType", 0, (syscall_t)RpcObjectSetType}, - {"RpcProtseqVectorFreeA", 0, (syscall_t)RpcProtseqVectorFreeA}, - {"RpcRaiseException", 0, (syscall_t)RpcRaiseException}, - {"RpcRevertContainerImpersonation", 0, (syscall_t)RpcRevertContainerImpersonation}, - {"RpcRevertToSelf", 0, (syscall_t)RpcRevertToSelf}, - {"RpcRevertToSelfEx", 0, (syscall_t)RpcRevertToSelfEx}, - {"RpcSmAllocate", 0, (syscall_t)RpcSmAllocate}, - {"RpcSmClientFree", 0, (syscall_t)RpcSmClientFree}, - {"RpcSmDestroyClientContext", 0, (syscall_t)RpcSmDestroyClientContext}, - {"RpcSmDisableAllocate", 0, (syscall_t)RpcSmDisableAllocate}, - {"RpcSmEnableAllocate", 0, (syscall_t)RpcSmEnableAllocate}, - {"RpcSmFree", 0, (syscall_t)RpcSmFree}, - {"RpcSmGetThreadHandle", 0, (syscall_t)RpcSmGetThreadHandle}, - {"RpcSmSetClientAllocFree", 0, (syscall_t)RpcSmSetClientAllocFree}, - {"RpcSmSetThreadHandle", 0, (syscall_t)RpcSmSetThreadHandle}, - {"RpcSmSwapClientAllocFree", 0, (syscall_t)RpcSmSwapClientAllocFree}, - {"RpcSsAllocate", 0, (syscall_t)RpcSsAllocate}, - {"RpcSsContextLockExclusive", 0, (syscall_t)RpcSsContextLockExclusive}, - {"RpcSsContextLockShared", 0, (syscall_t)RpcSsContextLockShared}, - {"RpcSsDestroyClientContext", 0, (syscall_t)RpcSsDestroyClientContext}, - {"RpcSsDisableAllocate", 0, (syscall_t)RpcSsDisableAllocate}, - {"RpcSsDontSerializeContext", 0, (syscall_t)RpcSsDontSerializeContext}, - {"RpcSsEnableAllocate", 0, (syscall_t)RpcSsEnableAllocate}, - {"RpcSsFree", 0, (syscall_t)RpcSsFree}, - {"RpcSsGetContextBinding", 0, (syscall_t)RpcSsGetContextBinding}, - {"RpcSsGetThreadHandle", 0, (syscall_t)RpcSsGetThreadHandle}, - {"RpcSsSetClientAllocFree", 0, (syscall_t)RpcSsSetClientAllocFree}, - {"RpcSsSetThreadHandle", 0, (syscall_t)RpcSsSetThreadHandle}, - {"RpcSsSwapClientAllocFree", 0, (syscall_t)RpcSsSwapClientAllocFree}, - {"RpcStringBindingComposeA", 0, (syscall_t)RpcStringBindingComposeA}, - {"RpcStringBindingParseA", 0, (syscall_t)RpcStringBindingParseA}, - {"RpcStringFreeA", 0, (syscall_t)RpcStringFreeA}, - {"RpcTestCancel", 0, (syscall_t)RpcTestCancel}, - {"SHAppBarMessage", 0, (syscall_t)SHAppBarMessage}, - {"SHEmptyRecycleBinA", 0, (syscall_t)SHEmptyRecycleBinA}, - {"SHEvaluateSystemCommandTemplate", 0, (syscall_t)SHEvaluateSystemCommandTemplate}, - {"SHFileOperationA", 0, (syscall_t)SHFileOperationA}, - {"SHFreeNameMappings", 0, (syscall_t)SHFreeNameMappings}, - {"SHGetDiskFreeSpaceExA", 0, (syscall_t)SHGetDiskFreeSpaceExA}, - {"SHGetDriveMedia", 0, (syscall_t)SHGetDriveMedia}, - {"SHGetFileInfoA", 0, (syscall_t)SHGetFileInfoA}, - {"SHGetImageList", 0, (syscall_t)SHGetImageList}, - {"SHGetLocalizedName", 0, (syscall_t)SHGetLocalizedName}, - {"SHGetNewLinkInfoA", 0, (syscall_t)SHGetNewLinkInfoA}, - {"SHGetPropertyStoreForWindow", 0, (syscall_t)SHGetPropertyStoreForWindow}, - {"SHGetStockIconInfo", 0, (syscall_t)SHGetStockIconInfo}, - {"SHInvokePrinterCommandA", 0, (syscall_t)SHInvokePrinterCommandA}, - {"SHIsFileAvailableOffline", 0, (syscall_t)SHIsFileAvailableOffline}, - {"SHLoadNonloadedIconOverlayIdentifiers", 0, (syscall_t)SHLoadNonloadedIconOverlayIdentifiers}, - {"SHQueryRecycleBinA", 0, (syscall_t)SHQueryRecycleBinA}, - {"SHQueryUserNotificationState", 0, (syscall_t)SHQueryUserNotificationState}, - {"SHRemoveLocalizedName", 0, (syscall_t)SHRemoveLocalizedName}, - {"SHSetLocalizedName", 0, (syscall_t)SHSetLocalizedName}, - {"SHTestTokenMembership", 0, (syscall_t)SHTestTokenMembership}, - {"SaveDC", 0, (syscall_t)SaveDC}, - {"ScaleViewportExtEx", 0, (syscall_t)ScaleViewportExtEx}, - {"ScaleWindowExtEx", 0, (syscall_t)ScaleWindowExtEx}, - {"ScheduleJob", 0, (syscall_t)ScheduleJob}, - {"ScreenToClient", 0, (syscall_t)ScreenToClient}, - {"ScrollConsoleScreenBufferA", 0, (syscall_t)ScrollConsoleScreenBufferA}, - {"ScrollDC", 0, (syscall_t)ScrollDC}, - {"ScrollWindow", 0, (syscall_t)ScrollWindow}, - {"ScrollWindowEx", 0, (syscall_t)ScrollWindowEx}, - {"SearchPathA", 0, (syscall_t)SearchPathA}, - {"SelectClipPath", 0, (syscall_t)SelectClipPath}, - {"SelectClipRgn", 0, (syscall_t)SelectClipRgn}, - {"SelectObject", 0, (syscall_t)SelectObject}, - {"SelectPalette", 0, (syscall_t)SelectPalette}, - {"SendDlgItemMessageA", 0, (syscall_t)SendDlgItemMessageA}, - {"SendDriverMessage", 0, (syscall_t)SendDriverMessage}, - {"SendInput", 0, (syscall_t)SendInput}, - {"SendMessageA", 0, (syscall_t)SendMessageA}, - {"SendMessageCallbackA", 0, (syscall_t)SendMessageCallbackA}, - {"SendMessageTimeoutA", 0, (syscall_t)SendMessageTimeoutA}, - {"SendNotifyMessageA", 0, (syscall_t)SendNotifyMessageA}, - {"SetAbortProc", 0, (syscall_t)SetAbortProc}, - {"SetAclInformation", 0, (syscall_t)SetAclInformation}, - {"SetActiveWindow", 0, (syscall_t)SetActiveWindow}, - {"SetArcDirection", 0, (syscall_t)SetArcDirection}, - {"SetBitmapBits", 0, (syscall_t)SetBitmapBits}, - {"SetBitmapDimensionEx", 0, (syscall_t)SetBitmapDimensionEx}, - {"SetBkColor", 0, (syscall_t)SetBkColor}, - {"SetBkMode", 0, (syscall_t)SetBkMode}, - {"SetBoundsRect", 0, (syscall_t)SetBoundsRect}, - {"SetBrushOrgEx", 0, (syscall_t)SetBrushOrgEx}, - {"SetCachedSigningLevel", 0, (syscall_t)SetCachedSigningLevel}, - {"SetCalendarInfoA", 0, (syscall_t)SetCalendarInfoA}, - {"SetCapture", 0, (syscall_t)SetCapture}, - {"SetCaretBlinkTime", 0, (syscall_t)SetCaretBlinkTime}, - {"SetCaretPos", 0, (syscall_t)SetCaretPos}, - {"SetClassLongA", 0, (syscall_t)SetClassLongA}, - {"SetClassLongPtrA", 0, (syscall_t)SetClassLongPtrA}, - {"SetClassWord", 0, (syscall_t)SetClassWord}, - {"SetClipboardData", 0, (syscall_t)SetClipboardData}, - {"SetClipboardViewer", 0, (syscall_t)SetClipboardViewer}, - {"SetCoalescableTimer", 0, (syscall_t)SetCoalescableTimer}, - {"SetColorAdjustment", 0, (syscall_t)SetColorAdjustment}, - {"SetColorSpace", 0, (syscall_t)SetColorSpace}, - {"SetCommBreak", 0, (syscall_t)SetCommBreak}, - {"SetCommConfig", 0, (syscall_t)SetCommConfig}, - {"SetCommMask", 0, (syscall_t)SetCommMask}, - {"SetCommState", 0, (syscall_t)SetCommState}, - {"SetCommTimeouts", 0, (syscall_t)SetCommTimeouts}, - {"SetComputerNameA", 0, (syscall_t)SetComputerNameA}, - {"SetComputerNameExA", 0, (syscall_t)SetComputerNameExA}, - {"SetConsoleActiveScreenBuffer", 0, (syscall_t)SetConsoleActiveScreenBuffer}, - {"SetConsoleCP", 0, (syscall_t)SetConsoleCP}, - {"SetConsoleCtrlHandler", 0, (syscall_t)SetConsoleCtrlHandler}, - {"SetConsoleCursorInfo", 0, (syscall_t)SetConsoleCursorInfo}, - {"SetConsoleCursorPosition", 0, (syscall_t)SetConsoleCursorPosition}, - {"SetConsoleDisplayMode", 0, (syscall_t)SetConsoleDisplayMode}, - {"SetConsoleHistoryInfo", 0, (syscall_t)SetConsoleHistoryInfo}, - {"SetConsoleMode", 0, (syscall_t)SetConsoleMode}, - {"SetConsoleOutputCP", 0, (syscall_t)SetConsoleOutputCP}, - {"SetConsoleScreenBufferInfoEx", 0, (syscall_t)SetConsoleScreenBufferInfoEx}, - {"SetConsoleScreenBufferSize", 0, (syscall_t)SetConsoleScreenBufferSize}, - {"SetConsoleTextAttribute", 0, (syscall_t)SetConsoleTextAttribute}, - {"SetConsoleTitleA", 0, (syscall_t)SetConsoleTitleA}, - {"SetConsoleWindowInfo", 0, (syscall_t)SetConsoleWindowInfo}, - {"SetCriticalSectionSpinCount", 0, (syscall_t)SetCriticalSectionSpinCount}, - {"SetCurrentConsoleFontEx", 0, (syscall_t)SetCurrentConsoleFontEx}, - {"SetCurrentDirectoryA", 0, (syscall_t)SetCurrentDirectoryA}, - {"SetCursor", 0, (syscall_t)SetCursor}, - {"SetCursorPos", 0, (syscall_t)SetCursorPos}, - {"SetDCBrushColor", 0, (syscall_t)SetDCBrushColor}, - {"SetDCPenColor", 0, (syscall_t)SetDCPenColor}, - {"SetDIBColorTable", 0, (syscall_t)SetDIBColorTable}, - {"SetDIBits", 0, (syscall_t)SetDIBits}, - {"SetDIBitsToDevice", 0, (syscall_t)SetDIBitsToDevice}, - {"SetDebugErrorLevel", 0, (syscall_t)SetDebugErrorLevel}, - {"SetDefaultCommConfigA", 0, (syscall_t)SetDefaultCommConfigA}, - {"SetDefaultDllDirectories", 0, (syscall_t)SetDefaultDllDirectories}, - {"SetDefaultPrinterA", 0, (syscall_t)SetDefaultPrinterA}, - {"SetDeviceGammaRamp", 0, (syscall_t)SetDeviceGammaRamp}, - {"SetDisplayAutoRotationPreferences", 0, (syscall_t)SetDisplayAutoRotationPreferences}, - {"SetDisplayConfig", 0, (syscall_t)SetDisplayConfig}, - {"SetDlgItemInt", 0, (syscall_t)SetDlgItemInt}, - {"SetDlgItemTextA", 0, (syscall_t)SetDlgItemTextA}, - {"SetDllDirectoryA", 0, (syscall_t)SetDllDirectoryA}, - {"SetDoubleClickTime", 0, (syscall_t)SetDoubleClickTime}, - {"SetDynamicTimeZoneInformation", 0, (syscall_t)SetDynamicTimeZoneInformation}, - {"SetEncryptedFileMetadata", 0, (syscall_t)SetEncryptedFileMetadata}, - {"SetEndOfFile", 0, (syscall_t)SetEndOfFile}, - {"SetEnhMetaFileBits", 0, (syscall_t)SetEnhMetaFileBits}, - {"SetEnvironmentStringsA", 0, (syscall_t)SetEnvironmentStringsA}, - {"SetEnvironmentVariableA", 0, (syscall_t)SetEnvironmentVariableA}, - {"SetErrorMode", 0, (syscall_t)SetErrorMode}, - {"SetEvent", 0, (syscall_t)SetEvent}, - {"SetEventWhenCallbackReturns", 0, (syscall_t)SetEventWhenCallbackReturns}, - {"SetFileApisToANSI", 0, (syscall_t)SetFileApisToANSI}, - {"SetFileApisToOEM", 0, (syscall_t)SetFileApisToOEM}, - {"SetFileAttributesA", 0, (syscall_t)SetFileAttributesA}, - {"SetFileAttributesTransactedA", 0, (syscall_t)SetFileAttributesTransactedA}, - {"SetFileBandwidthReservation", 0, (syscall_t)SetFileBandwidthReservation}, - {"SetFileCompletionNotificationModes", 0, (syscall_t)SetFileCompletionNotificationModes}, - {"SetFileInformationByHandle", 0, (syscall_t)SetFileInformationByHandle}, - {"SetFileIoOverlappedRange", 0, (syscall_t)SetFileIoOverlappedRange}, - {"SetFilePointer", 0, (syscall_t)SetFilePointer}, - {"SetFilePointerEx", 0, (syscall_t)SetFilePointerEx}, - {"SetFileSecurityA", 0, (syscall_t)SetFileSecurityA}, - {"SetFileShortNameA", 0, (syscall_t)SetFileShortNameA}, - {"SetFileTime", 0, (syscall_t)SetFileTime}, - {"SetFileValidData", 0, (syscall_t)SetFileValidData}, - {"SetFirmwareEnvironmentVariableA", 0, (syscall_t)SetFirmwareEnvironmentVariableA}, - {"SetFirmwareEnvironmentVariableExA", 0, (syscall_t)SetFirmwareEnvironmentVariableExA}, - {"SetFocus", 0, (syscall_t)SetFocus}, - {"SetForegroundWindow", 0, (syscall_t)SetForegroundWindow}, - {"SetFormA", 0, (syscall_t)SetFormA}, - {"SetGestureConfig", 0, (syscall_t)SetGestureConfig}, - {"SetGraphicsMode", 0, (syscall_t)SetGraphicsMode}, - {"SetHandleCount", 0, (syscall_t)SetHandleCount}, - {"SetHandleInformation", 0, (syscall_t)SetHandleInformation}, - {"SetICMMode", 0, (syscall_t)SetICMMode}, - {"SetICMProfileA", 0, (syscall_t)SetICMProfileA}, - {"SetInformationJobObject", 0, (syscall_t)SetInformationJobObject}, - {"SetIoRateControlInformationJobObject", 0, (syscall_t)SetIoRateControlInformationJobObject}, - {"SetJobA", 0, (syscall_t)SetJobA}, - {"SetJobNamedProperty", 0, (syscall_t)SetJobNamedProperty}, - {"SetKernelObjectSecurity", 0, (syscall_t)SetKernelObjectSecurity}, - {"SetKeyboardState", 0, (syscall_t)SetKeyboardState}, - {"SetLastError", 0, (syscall_t)SetLastError}, - {"SetLastErrorEx", 0, (syscall_t)SetLastErrorEx}, - {"SetLayeredWindowAttributes", 0, (syscall_t)SetLayeredWindowAttributes}, - {"SetLayout", 0, (syscall_t)SetLayout}, - {"SetLocalTime", 0, (syscall_t)SetLocalTime}, - {"SetLocaleInfoA", 0, (syscall_t)SetLocaleInfoA}, - {"SetMailslotInfo", 0, (syscall_t)SetMailslotInfo}, - {"SetMapMode", 0, (syscall_t)SetMapMode}, - {"SetMapperFlags", 0, (syscall_t)SetMapperFlags}, - {"SetMenu", 0, (syscall_t)SetMenu}, - {"SetMenuContextHelpId", 0, (syscall_t)SetMenuContextHelpId}, - {"SetMenuDefaultItem", 0, (syscall_t)SetMenuDefaultItem}, - {"SetMenuInfo", 0, (syscall_t)SetMenuInfo}, - {"SetMenuItemBitmaps", 0, (syscall_t)SetMenuItemBitmaps}, - {"SetMenuItemInfoA", 0, (syscall_t)SetMenuItemInfoA}, - {"SetMessageExtraInfo", 0, (syscall_t)SetMessageExtraInfo}, - {"SetMessageQueue", 0, (syscall_t)SetMessageQueue}, - {"SetMessageWaitingIndicator", 0, (syscall_t)SetMessageWaitingIndicator}, - {"SetMetaFileBitsEx", 0, (syscall_t)SetMetaFileBitsEx}, - {"SetMetaRgn", 0, (syscall_t)SetMetaRgn}, - {"SetMiterLimit", 0, (syscall_t)SetMiterLimit}, - {"SetNamedPipeHandleState", 0, (syscall_t)SetNamedPipeHandleState}, - {"SetPaletteEntries", 0, (syscall_t)SetPaletteEntries}, - {"SetParent", 0, (syscall_t)SetParent}, - {"SetPhysicalCursorPos", 0, (syscall_t)SetPhysicalCursorPos}, - {"SetPixel", 0, (syscall_t)SetPixel}, - {"SetPixelFormat", 0, (syscall_t)SetPixelFormat}, - {"SetPixelV", 0, (syscall_t)SetPixelV}, - {"SetPolyFillMode", 0, (syscall_t)SetPolyFillMode}, - {"SetPortA", 0, (syscall_t)SetPortA}, - {"SetPrinterA", 0, (syscall_t)SetPrinterA}, - {"SetPrinterDataA", 0, (syscall_t)SetPrinterDataA}, - {"SetPrinterDataExA", 0, (syscall_t)SetPrinterDataExA}, - {"SetPriorityClass", 0, (syscall_t)SetPriorityClass}, - {"SetPrivateObjectSecurity", 0, (syscall_t)SetPrivateObjectSecurity}, - {"SetPrivateObjectSecurityEx", 0, (syscall_t)SetPrivateObjectSecurityEx}, - {"SetProcessAffinityMask", 0, (syscall_t)SetProcessAffinityMask}, - {"SetProcessAffinityUpdateMode", 0, (syscall_t)SetProcessAffinityUpdateMode}, - {"SetProcessDEPPolicy", 0, (syscall_t)SetProcessDEPPolicy}, - {"SetProcessDPIAware", 0, (syscall_t)SetProcessDPIAware}, - {"SetProcessDefaultCpuSets", 0, (syscall_t)SetProcessDefaultCpuSets}, - {"SetProcessDefaultLayout", 0, (syscall_t)SetProcessDefaultLayout}, - {"SetProcessDpiAwarenessContext", 0, (syscall_t)SetProcessDpiAwarenessContext}, - {"SetProcessInformation", 0, (syscall_t)SetProcessInformation}, - {"SetProcessMitigationPolicy", 0, (syscall_t)SetProcessMitigationPolicy}, - {"SetProcessPreferredUILanguages", 0, (syscall_t)SetProcessPreferredUILanguages}, - {"SetProcessPriorityBoost", 0, (syscall_t)SetProcessPriorityBoost}, - {"SetProcessRestrictionExemption", 0, (syscall_t)SetProcessRestrictionExemption}, - {"SetProcessShutdownParameters", 0, (syscall_t)SetProcessShutdownParameters}, - {"SetProcessValidCallTargets", 0, (syscall_t)SetProcessValidCallTargets}, - {"SetProcessWindowStation", 0, (syscall_t)SetProcessWindowStation}, - {"SetProcessWorkingSetSize", 0, (syscall_t)SetProcessWorkingSetSize}, - {"SetProcessWorkingSetSizeEx", 0, (syscall_t)SetProcessWorkingSetSizeEx}, - {"SetPropA", 0, (syscall_t)SetPropA}, - {"SetProtectedPolicy", 0, (syscall_t)SetProtectedPolicy}, - {"SetROP2", 0, (syscall_t)SetROP2}, - {"SetRect", 0, (syscall_t)SetRect}, - {"SetRectEmpty", 0, (syscall_t)SetRectEmpty}, - {"SetRectRgn", 0, (syscall_t)SetRectRgn}, - {"SetScrollInfo", 0, (syscall_t)SetScrollInfo}, - {"SetScrollPos", 0, (syscall_t)SetScrollPos}, - {"SetScrollRange", 0, (syscall_t)SetScrollRange}, - {"SetSearchPathMode", 0, (syscall_t)SetSearchPathMode}, - {"SetSecurityAccessMask", 0, (syscall_t)SetSecurityAccessMask}, - {"SetSecurityDescriptorControl", 0, (syscall_t)SetSecurityDescriptorControl}, - {"SetSecurityDescriptorDacl", 0, (syscall_t)SetSecurityDescriptorDacl}, - {"SetSecurityDescriptorGroup", 0, (syscall_t)SetSecurityDescriptorGroup}, - {"SetSecurityDescriptorOwner", 0, (syscall_t)SetSecurityDescriptorOwner}, - {"SetSecurityDescriptorRMControl", 0, (syscall_t)SetSecurityDescriptorRMControl}, - {"SetSecurityDescriptorSacl", 0, (syscall_t)SetSecurityDescriptorSacl}, - {"SetServiceObjectSecurity", 0, (syscall_t)SetServiceObjectSecurity}, - {"SetServiceStatus", 0, (syscall_t)SetServiceStatus}, - {"SetStdHandle", 0, (syscall_t)SetStdHandle}, - {"SetStdHandleEx", 0, (syscall_t)SetStdHandleEx}, - {"SetStretchBltMode", 0, (syscall_t)SetStretchBltMode}, - {"SetSysColors", 0, (syscall_t)SetSysColors}, - {"SetSystemCursor", 0, (syscall_t)SetSystemCursor}, - {"SetSystemFileCacheSize", 0, (syscall_t)SetSystemFileCacheSize}, - {"SetSystemPaletteUse", 0, (syscall_t)SetSystemPaletteUse}, - {"SetSystemPowerState", 0, (syscall_t)SetSystemPowerState}, - {"SetSystemTime", 0, (syscall_t)SetSystemTime}, - {"SetSystemTimeAdjustment", 0, (syscall_t)SetSystemTimeAdjustment}, - {"SetTapeParameters", 0, (syscall_t)SetTapeParameters}, - {"SetTapePosition", 0, (syscall_t)SetTapePosition}, - {"SetTextAlign", 0, (syscall_t)SetTextAlign}, - {"SetTextCharacterExtra", 0, (syscall_t)SetTextCharacterExtra}, - {"SetTextColor", 0, (syscall_t)SetTextColor}, - {"SetTextJustification", 0, (syscall_t)SetTextJustification}, - {"SetThreadAffinityMask", 0, (syscall_t)SetThreadAffinityMask}, - {"SetThreadContext", 0, (syscall_t)SetThreadContext}, - {"SetThreadDesktop", 0, (syscall_t)SetThreadDesktop}, - {"SetThreadDpiAwarenessContext", 0, (syscall_t)SetThreadDpiAwarenessContext}, - {"SetThreadErrorMode", 0, (syscall_t)SetThreadErrorMode}, - {"SetThreadExecutionState", 0, (syscall_t)SetThreadExecutionState}, - {"SetThreadGroupAffinity", 0, (syscall_t)SetThreadGroupAffinity}, - {"SetThreadIdealProcessor", 0, (syscall_t)SetThreadIdealProcessor}, - {"SetThreadIdealProcessorEx", 0, (syscall_t)SetThreadIdealProcessorEx}, - {"SetThreadInformation", 0, (syscall_t)SetThreadInformation}, - {"SetThreadLocale", 0, (syscall_t)SetThreadLocale}, - {"SetThreadPreferredUILanguages", 0, (syscall_t)SetThreadPreferredUILanguages}, - {"SetThreadPriority", 0, (syscall_t)SetThreadPriority}, - {"SetThreadPriorityBoost", 0, (syscall_t)SetThreadPriorityBoost}, - {"SetThreadSelectedCpuSets", 0, (syscall_t)SetThreadSelectedCpuSets}, - {"SetThreadStackGuarantee", 0, (syscall_t)SetThreadStackGuarantee}, - {"SetThreadToken", 0, (syscall_t)SetThreadToken}, - {"SetThreadUILanguage", 0, (syscall_t)SetThreadUILanguage}, - {"SetThreadpoolStackInformation", 0, (syscall_t)SetThreadpoolStackInformation}, - {"SetThreadpoolThreadMaximum", 0, (syscall_t)SetThreadpoolThreadMaximum}, - {"SetThreadpoolThreadMinimum", 0, (syscall_t)SetThreadpoolThreadMinimum}, - {"SetThreadpoolTimer", 0, (syscall_t)SetThreadpoolTimer}, - {"SetThreadpoolTimerEx", 0, (syscall_t)SetThreadpoolTimerEx}, - {"SetThreadpoolWait", 0, (syscall_t)SetThreadpoolWait}, - {"SetThreadpoolWaitEx", 0, (syscall_t)SetThreadpoolWaitEx}, - {"SetTimeZoneInformation", 0, (syscall_t)SetTimeZoneInformation}, - {"SetTimer", 0, (syscall_t)SetTimer}, - {"SetTimerQueueTimer", 0, (syscall_t)SetTimerQueueTimer}, - {"SetTokenInformation", 0, (syscall_t)SetTokenInformation}, - {"SetUmsThreadInformation", 0, (syscall_t)SetUmsThreadInformation}, - {"SetUnhandledExceptionFilter", 0, (syscall_t)SetUnhandledExceptionFilter}, - {"SetUserFileEncryptionKey", 0, (syscall_t)SetUserFileEncryptionKey}, - {"SetUserFileEncryptionKeyEx", 0, (syscall_t)SetUserFileEncryptionKeyEx}, - {"SetUserGeoID", 0, (syscall_t)SetUserGeoID}, - {"SetUserObjectInformationA", 0, (syscall_t)SetUserObjectInformationA}, - {"SetUserObjectSecurity", 0, (syscall_t)SetUserObjectSecurity}, - {"SetViewportExtEx", 0, (syscall_t)SetViewportExtEx}, - {"SetViewportOrgEx", 0, (syscall_t)SetViewportOrgEx}, - {"SetVolumeLabelA", 0, (syscall_t)SetVolumeLabelA}, - {"SetVolumeMountPointA", 0, (syscall_t)SetVolumeMountPointA}, - {"SetWaitableTimer", 0, (syscall_t)SetWaitableTimer}, - {"SetWaitableTimerEx", 0, (syscall_t)SetWaitableTimerEx}, - {"SetWinEventHook", 0, (syscall_t)SetWinEventHook}, - {"SetWinMetaFileBits", 0, (syscall_t)SetWinMetaFileBits}, - {"SetWindowContextHelpId", 0, (syscall_t)SetWindowContextHelpId}, - {"SetWindowDisplayAffinity", 0, (syscall_t)SetWindowDisplayAffinity}, - {"SetWindowExtEx", 0, (syscall_t)SetWindowExtEx}, - {"SetWindowFeedbackSetting", 0, (syscall_t)SetWindowFeedbackSetting}, - {"SetWindowLongA", 0, (syscall_t)SetWindowLongA}, - {"SetWindowLongPtrA", 0, (syscall_t)SetWindowLongPtrA}, - {"SetWindowOrgEx", 0, (syscall_t)SetWindowOrgEx}, - {"SetWindowPlacement", 0, (syscall_t)SetWindowPlacement}, - {"SetWindowPos", 0, (syscall_t)SetWindowPos}, - {"SetWindowRgn", 0, (syscall_t)SetWindowRgn}, - {"SetWindowTextA", 0, (syscall_t)SetWindowTextA}, - {"SetWindowWord", 0, (syscall_t)SetWindowWord}, - {"SetWindowsHookA", 0, (syscall_t)SetWindowsHookA}, - {"SetWindowsHookExA", 0, (syscall_t)SetWindowsHookExA}, - {"SetWorldTransform", 0, (syscall_t)SetWorldTransform}, - {"SetXStateFeaturesMask", 0, (syscall_t)SetXStateFeaturesMask}, - {"SetupComm", 0, (syscall_t)SetupComm}, - {"ShellAboutA", 0, (syscall_t)ShellAboutA}, - {"ShellExecuteA", 0, (syscall_t)ShellExecuteA}, - {"ShellExecuteExA", 0, (syscall_t)ShellExecuteExA}, - {"Shell_NotifyIconA", 0, (syscall_t)Shell_NotifyIconA}, - {"Shell_NotifyIconGetRect", 0, (syscall_t)Shell_NotifyIconGetRect}, - {"ShowCaret", 0, (syscall_t)ShowCaret}, - {"ShowCursor", 0, (syscall_t)ShowCursor}, - {"ShowOwnedPopups", 0, (syscall_t)ShowOwnedPopups}, - {"ShowScrollBar", 0, (syscall_t)ShowScrollBar}, - {"ShowWindow", 0, (syscall_t)ShowWindow}, - {"ShowWindowAsync", 0, (syscall_t)ShowWindowAsync}, - {"ShutdownBlockReasonCreate", 0, (syscall_t)ShutdownBlockReasonCreate}, - {"ShutdownBlockReasonDestroy", 0, (syscall_t)ShutdownBlockReasonDestroy}, - {"ShutdownBlockReasonQuery", 0, (syscall_t)ShutdownBlockReasonQuery}, - {"SignalObjectAndWait", 0, (syscall_t)SignalObjectAndWait}, - {"SizeofResource", 0, (syscall_t)SizeofResource}, - {"SkipPointerFrameMessages", 0, (syscall_t)SkipPointerFrameMessages}, - {"Sleep", 0, (syscall_t)Sleep}, - {"SleepConditionVariableCS", 0, (syscall_t)SleepConditionVariableCS}, - {"SleepEx", 0, (syscall_t)SleepEx}, - {"SoundSentry", 0, (syscall_t)SoundSentry}, - {"StartDocA", 0, (syscall_t)StartDocA}, - {"StartDocPrinterA", 0, (syscall_t)StartDocPrinterA}, - {"StartPage", 0, (syscall_t)StartPage}, - {"StartPagePrinter", 0, (syscall_t)StartPagePrinter}, - {"StartServiceA", 0, (syscall_t)StartServiceA}, - {"StartServiceCtrlDispatcherA", 0, (syscall_t)StartServiceCtrlDispatcherA}, - {"StartThreadpoolIo", 0, (syscall_t)StartThreadpoolIo}, - {"StgConvertVariantToProperty", 0, (syscall_t)StgConvertVariantToProperty}, - {"StgCreateDocfile", 0, (syscall_t)StgCreateDocfile}, - {"StgCreateDocfileOnILockBytes", 0, (syscall_t)StgCreateDocfileOnILockBytes}, - {"StgCreatePropSetStg", 0, (syscall_t)StgCreatePropSetStg}, - {"StgCreatePropStg", 0, (syscall_t)StgCreatePropStg}, - {"StgCreateStorageEx", 0, (syscall_t)StgCreateStorageEx}, - {"StgIsStorageFile", 0, (syscall_t)StgIsStorageFile}, - {"StgIsStorageILockBytes", 0, (syscall_t)StgIsStorageILockBytes}, - {"StgOpenPropStg", 0, (syscall_t)StgOpenPropStg}, - {"StgOpenStorage", 0, (syscall_t)StgOpenStorage}, - {"StgOpenStorageEx", 0, (syscall_t)StgOpenStorageEx}, - {"StgOpenStorageOnILockBytes", 0, (syscall_t)StgOpenStorageOnILockBytes}, - {"StgSetTimes", 0, (syscall_t)StgSetTimes}, - {"StretchBlt", 0, (syscall_t)StretchBlt}, - {"StretchDIBits", 0, (syscall_t)StretchDIBits}, - {"StrokeAndFillPath", 0, (syscall_t)StrokeAndFillPath}, - {"StrokePath", 0, (syscall_t)StrokePath}, - {"SubmitThreadpoolWork", 0, (syscall_t)SubmitThreadpoolWork}, - {"SubtractRect", 0, (syscall_t)SubtractRect}, - {"SuspendThread", 0, (syscall_t)SuspendThread}, - {"SwapBuffers", 0, (syscall_t)SwapBuffers}, - {"SwapMouseButton", 0, (syscall_t)SwapMouseButton}, - {"SwitchDesktop", 0, (syscall_t)SwitchDesktop}, - {"SwitchToFiber", 0, (syscall_t)SwitchToFiber}, - {"SwitchToThisWindow", 0, (syscall_t)SwitchToThisWindow}, - {"SwitchToThread", 0, (syscall_t)SwitchToThread}, - {"SystemParametersInfoA", 0, (syscall_t)SystemParametersInfoA}, - {"SystemParametersInfoForDpi", 0, (syscall_t)SystemParametersInfoForDpi}, - {"SystemTimeToFileTime", 0, (syscall_t)SystemTimeToFileTime}, - {"SystemTimeToTzSpecificLocalTime", 0, (syscall_t)SystemTimeToTzSpecificLocalTime}, - {"SystemTimeToTzSpecificLocalTimeEx", 0, (syscall_t)SystemTimeToTzSpecificLocalTimeEx}, - {"TabbedTextOutA", 0, (syscall_t)TabbedTextOutA}, - {"TerminateJobObject", 0, (syscall_t)TerminateJobObject}, - {"TerminateProcess", 0, (syscall_t)TerminateProcess}, - {"TerminateProcessOnMemoryExhaustion", 0, (syscall_t)TerminateProcessOnMemoryExhaustion}, - {"TerminateThread", 0, (syscall_t)TerminateThread}, - {"TextOutA", 0, (syscall_t)TextOutA}, - {"TileWindows", 0, (syscall_t)TileWindows}, - {"TlsAlloc", 0, (syscall_t)TlsAlloc}, - {"TlsFree", 0, (syscall_t)TlsFree}, - {"TlsGetValue", 0, (syscall_t)TlsGetValue}, - {"TlsSetValue", 0, (syscall_t)TlsSetValue}, - {"ToAscii", 0, (syscall_t)ToAscii}, - {"ToAsciiEx", 0, (syscall_t)ToAsciiEx}, - {"ToUnicode", 0, (syscall_t)ToUnicode}, - {"ToUnicodeEx", 0, (syscall_t)ToUnicodeEx}, - {"TrackMouseEvent", 0, (syscall_t)TrackMouseEvent}, - {"TrackPopupMenu", 0, (syscall_t)TrackPopupMenu}, - {"TrackPopupMenuEx", 0, (syscall_t)TrackPopupMenuEx}, - {"TransactNamedPipe", 0, (syscall_t)TransactNamedPipe}, - {"TranslateAcceleratorA", 0, (syscall_t)TranslateAcceleratorA}, - {"TranslateCharsetInfo", 0, (syscall_t)TranslateCharsetInfo}, - {"TranslateMDISysAccel", 0, (syscall_t)TranslateMDISysAccel}, - {"TranslateMessage", 0, (syscall_t)TranslateMessage}, - {"TransmitCommChar", 0, (syscall_t)TransmitCommChar}, - {"TransmitFile", 0, (syscall_t)TransmitFile}, - {"TransparentBlt", 0, (syscall_t)TransparentBlt}, - {"TryAcquireSRWLockExclusive", 0, (syscall_t)TryAcquireSRWLockExclusive}, - {"TryAcquireSRWLockShared", 0, (syscall_t)TryAcquireSRWLockShared}, - {"TryEnterCriticalSection", 0, (syscall_t)TryEnterCriticalSection}, - {"TrySubmitThreadpoolCallback", 0, (syscall_t)TrySubmitThreadpoolCallback}, - {"TzSpecificLocalTimeToSystemTime", 0, (syscall_t)TzSpecificLocalTimeToSystemTime}, - {"TzSpecificLocalTimeToSystemTimeEx", 0, (syscall_t)TzSpecificLocalTimeToSystemTimeEx}, - {"UmsThreadYield", 0, (syscall_t)UmsThreadYield}, - {"UnhandledExceptionFilter", 0, (syscall_t)UnhandledExceptionFilter}, - {"UnhookWinEvent", 0, (syscall_t)UnhookWinEvent}, - {"UnhookWindowsHook", 0, (syscall_t)UnhookWindowsHook}, - {"UnhookWindowsHookEx", 0, (syscall_t)UnhookWindowsHookEx}, - {"UnionRect", 0, (syscall_t)UnionRect}, - {"UnloadKeyboardLayout", 0, (syscall_t)UnloadKeyboardLayout}, - {"UnlockFile", 0, (syscall_t)UnlockFile}, - {"UnlockFileEx", 0, (syscall_t)UnlockFileEx}, - {"UnlockServiceDatabase", 0, (syscall_t)UnlockServiceDatabase}, - {"UnmapViewOfFile", 0, (syscall_t)UnmapViewOfFile}, - {"UnmapViewOfFileEx", 0, (syscall_t)UnmapViewOfFileEx}, - {"UnpackDDElParam", 0, (syscall_t)UnpackDDElParam}, - {"UnrealizeObject", 0, (syscall_t)UnrealizeObject}, - {"UnregisterApplicationRecoveryCallback", 0, (syscall_t)UnregisterApplicationRecoveryCallback}, - {"UnregisterApplicationRestart", 0, (syscall_t)UnregisterApplicationRestart}, - {"UnregisterBadMemoryNotification", 0, (syscall_t)UnregisterBadMemoryNotification}, - {"UnregisterClassA", 0, (syscall_t)UnregisterClassA}, - {"UnregisterDeviceNotification", 0, (syscall_t)UnregisterDeviceNotification}, - {"UnregisterHotKey", 0, (syscall_t)UnregisterHotKey}, - {"UnregisterPointerInputTarget", 0, (syscall_t)UnregisterPointerInputTarget}, - {"UnregisterPointerInputTargetEx", 0, (syscall_t)UnregisterPointerInputTargetEx}, - {"UnregisterPowerSettingNotification", 0, (syscall_t)UnregisterPowerSettingNotification}, - {"UnregisterSuspendResumeNotification", 0, (syscall_t)UnregisterSuspendResumeNotification}, - {"UnregisterTouchWindow", 0, (syscall_t)UnregisterTouchWindow}, - {"UnregisterWait", 0, (syscall_t)UnregisterWait}, - {"UnregisterWaitEx", 0, (syscall_t)UnregisterWaitEx}, - {"UpdateColors", 0, (syscall_t)UpdateColors}, - {"UpdateICMRegKeyA", 0, (syscall_t)UpdateICMRegKeyA}, - {"UpdateLayeredWindow", 0, (syscall_t)UpdateLayeredWindow}, - {"UpdateLayeredWindowIndirect", 0, (syscall_t)UpdateLayeredWindowIndirect}, - {"UpdateProcThreadAttribute", 0, (syscall_t)UpdateProcThreadAttribute}, - {"UpdateResourceA", 0, (syscall_t)UpdateResourceA}, - {"UpdateWindow", 0, (syscall_t)UpdateWindow}, - {"UploadPrinterDriverPackageA", 0, (syscall_t)UploadPrinterDriverPackageA}, - {"UserHandleGrantAccess", 0, (syscall_t)UserHandleGrantAccess}, - {"UuidCompare", 0, (syscall_t)UuidCompare}, - {"UuidCreate", 0, (syscall_t)UuidCreate}, - {"UuidCreateNil", 0, (syscall_t)UuidCreateNil}, - {"UuidCreateSequential", 0, (syscall_t)UuidCreateSequential}, - {"UuidEqual", 0, (syscall_t)UuidEqual}, - {"UuidFromStringA", 0, (syscall_t)UuidFromStringA}, - {"UuidHash", 0, (syscall_t)UuidHash}, - {"UuidIsNil", 0, (syscall_t)UuidIsNil}, - {"UuidToStringA", 0, (syscall_t)UuidToStringA}, - {"VARIANT_UserFree", 0, (syscall_t)VARIANT_UserFree}, - {"VARIANT_UserFree64", 0, (syscall_t)VARIANT_UserFree64}, - {"VARIANT_UserMarshal", 0, (syscall_t)VARIANT_UserMarshal}, - {"VARIANT_UserMarshal64", 0, (syscall_t)VARIANT_UserMarshal64}, - {"VARIANT_UserSize", 0, (syscall_t)VARIANT_UserSize}, - {"VARIANT_UserSize64", 0, (syscall_t)VARIANT_UserSize64}, - {"VARIANT_UserUnmarshal", 0, (syscall_t)VARIANT_UserUnmarshal}, - {"VARIANT_UserUnmarshal64", 0, (syscall_t)VARIANT_UserUnmarshal64}, - {"ValidateRect", 0, (syscall_t)ValidateRect}, - {"ValidateRgn", 0, (syscall_t)ValidateRgn}, - {"VerLanguageNameA", 0, (syscall_t)VerLanguageNameA}, - {"VerSetConditionMask", 0, (syscall_t)VerSetConditionMask}, - {"VerifyScripts", 0, (syscall_t)VerifyScripts}, - {"VerifyVersionInfoA", 0, (syscall_t)VerifyVersionInfoA}, - {"VirtualAlloc", 0, (syscall_t)VirtualAlloc}, - {"VirtualAllocEx", 0, (syscall_t)VirtualAllocEx}, - {"VirtualAllocExNuma", 0, (syscall_t)VirtualAllocExNuma}, - {"VirtualAllocFromApp", 0, (syscall_t)VirtualAllocFromApp}, - {"VirtualFree", 0, (syscall_t)VirtualFree}, - {"VirtualFreeEx", 0, (syscall_t)VirtualFreeEx}, - {"VirtualLock", 0, (syscall_t)VirtualLock}, - {"VirtualProtect", 0, (syscall_t)VirtualProtect}, - {"VirtualProtectEx", 0, (syscall_t)VirtualProtectEx}, - {"VirtualProtectFromApp", 0, (syscall_t)VirtualProtectFromApp}, - {"VirtualQuery", 0, (syscall_t)VirtualQuery}, - {"VirtualQueryEx", 0, (syscall_t)VirtualQueryEx}, - {"VirtualUnlock", 0, (syscall_t)VirtualUnlock}, - {"VkKeyScanA", 0, (syscall_t)VkKeyScanA}, - {"VkKeyScanExA", 0, (syscall_t)VkKeyScanExA}, - {"WNetAddConnection2A", 0, (syscall_t)WNetAddConnection2A}, - {"WNetAddConnection3A", 0, (syscall_t)WNetAddConnection3A}, - {"WNetAddConnectionA", 0, (syscall_t)WNetAddConnectionA}, - {"WNetCancelConnection2A", 0, (syscall_t)WNetCancelConnection2A}, - {"WNetCancelConnectionA", 0, (syscall_t)WNetCancelConnectionA}, - {"WNetCloseEnum", 0, (syscall_t)WNetCloseEnum}, - {"WNetConnectionDialog", 0, (syscall_t)WNetConnectionDialog}, - {"WNetConnectionDialog1A", 0, (syscall_t)WNetConnectionDialog1A}, - {"WNetDisconnectDialog", 0, (syscall_t)WNetDisconnectDialog}, - {"WNetDisconnectDialog1A", 0, (syscall_t)WNetDisconnectDialog1A}, - {"WNetEnumResourceA", 0, (syscall_t)WNetEnumResourceA}, - {"WNetGetConnectionA", 0, (syscall_t)WNetGetConnectionA}, - {"WNetGetLastErrorA", 0, (syscall_t)WNetGetLastErrorA}, - {"WNetGetNetworkInformationA", 0, (syscall_t)WNetGetNetworkInformationA}, - {"WNetGetProviderNameA", 0, (syscall_t)WNetGetProviderNameA}, - {"WNetGetResourceInformationA", 0, (syscall_t)WNetGetResourceInformationA}, - {"WNetGetResourceParentA", 0, (syscall_t)WNetGetResourceParentA}, - {"WNetGetUniversalNameA", 0, (syscall_t)WNetGetUniversalNameA}, - {"WNetGetUserA", 0, (syscall_t)WNetGetUserA}, - {"WNetOpenEnumA", 0, (syscall_t)WNetOpenEnumA}, - {"WNetUseConnectionA", 0, (syscall_t)WNetUseConnectionA}, - {"WSAAsyncGetHostByAddr", 0, (syscall_t)WSAAsyncGetHostByAddr}, - {"WSAAsyncGetHostByName", 0, (syscall_t)WSAAsyncGetHostByName}, - {"WSAAsyncGetProtoByName", 0, (syscall_t)WSAAsyncGetProtoByName}, - {"WSAAsyncGetProtoByNumber", 0, (syscall_t)WSAAsyncGetProtoByNumber}, - {"WSAAsyncGetServByName", 0, (syscall_t)WSAAsyncGetServByName}, - {"WSAAsyncGetServByPort", 0, (syscall_t)WSAAsyncGetServByPort}, - {"WSAAsyncSelect", 0, (syscall_t)WSAAsyncSelect}, - {"WSACancelAsyncRequest", 0, (syscall_t)WSACancelAsyncRequest}, - {"WSACancelBlockingCall", 0, (syscall_t)WSACancelBlockingCall}, - {"WSACleanup", 0, (syscall_t)WSACleanup}, - {"WSAGetLastError", 0, (syscall_t)WSAGetLastError}, - {"WSAIsBlocking", 0, (syscall_t)WSAIsBlocking}, - {"WSARecvEx", 0, (syscall_t)WSARecvEx}, - {"WSASetBlockingHook", 0, (syscall_t)WSASetBlockingHook}, - {"WSASetLastError", 0, (syscall_t)WSASetLastError}, - {"WSAStartup", 0, (syscall_t)WSAStartup}, - {"WSAUnhookBlockingHook", 0, (syscall_t)WSAUnhookBlockingHook}, - {"WTSGetActiveConsoleSessionId", 0, (syscall_t)WTSGetActiveConsoleSessionId}, - {"WaitCommEvent", 0, (syscall_t)WaitCommEvent}, - {"WaitForDebugEvent", 0, (syscall_t)WaitForDebugEvent}, - {"WaitForDebugEventEx", 0, (syscall_t)WaitForDebugEventEx}, - {"WaitForInputIdle", 0, (syscall_t)WaitForInputIdle}, - {"WaitForMultipleObjects", 0, (syscall_t)WaitForMultipleObjects}, - {"WaitForMultipleObjectsEx", 0, (syscall_t)WaitForMultipleObjectsEx}, - {"WaitForPrinterChange", 0, (syscall_t)WaitForPrinterChange}, - {"WaitForSingleObject", 0, (syscall_t)WaitForSingleObject}, - {"WaitForSingleObjectEx", 0, (syscall_t)WaitForSingleObjectEx}, - {"WaitForThreadpoolIoCallbacks", 0, (syscall_t)WaitForThreadpoolIoCallbacks}, - {"WaitForThreadpoolTimerCallbacks", 0, (syscall_t)WaitForThreadpoolTimerCallbacks}, - {"WaitForThreadpoolWaitCallbacks", 0, (syscall_t)WaitForThreadpoolWaitCallbacks}, - {"WaitForThreadpoolWorkCallbacks", 0, (syscall_t)WaitForThreadpoolWorkCallbacks}, - {"WaitMessage", 0, (syscall_t)WaitMessage}, - {"WaitNamedPipeA", 0, (syscall_t)WaitNamedPipeA}, - {"WaitOnAddress", 0, (syscall_t)WaitOnAddress}, - {"WaitServiceState", 0, (syscall_t)WaitServiceState}, - {"WakeAllConditionVariable", 0, (syscall_t)WakeAllConditionVariable}, - {"WakeByAddressAll", 0, (syscall_t)WakeByAddressAll}, - {"WakeByAddressSingle", 0, (syscall_t)WakeByAddressSingle}, - {"WakeConditionVariable", 0, (syscall_t)WakeConditionVariable}, - {"WideCharToMultiByte", 0, (syscall_t)WideCharToMultiByte}, - {"WidenPath", 0, (syscall_t)WidenPath}, - {"WinExec", 0, (syscall_t)WinExec}, - {"WinHelpA", 0, (syscall_t)WinHelpA}, - {"WindowFromDC", 0, (syscall_t)WindowFromDC}, - {"WindowFromPhysicalPoint", 0, (syscall_t)WindowFromPhysicalPoint}, - {"WindowFromPoint", 0, (syscall_t)WindowFromPoint}, - {"Wow64DisableWow64FsRedirection", 0, (syscall_t)Wow64DisableWow64FsRedirection}, - {"Wow64EnableWow64FsRedirection", 0, (syscall_t)Wow64EnableWow64FsRedirection}, - {"Wow64GetThreadContext", 0, (syscall_t)Wow64GetThreadContext}, - {"Wow64GetThreadSelectorEntry", 0, (syscall_t)Wow64GetThreadSelectorEntry}, - {"Wow64RevertWow64FsRedirection", 0, (syscall_t)Wow64RevertWow64FsRedirection}, - {"Wow64SetThreadContext", 0, (syscall_t)Wow64SetThreadContext}, - {"Wow64SetThreadDefaultGuestMachine", 0, (syscall_t)Wow64SetThreadDefaultGuestMachine}, - {"Wow64SuspendThread", 0, (syscall_t)Wow64SuspendThread}, - {"WriteClassStg", 0, (syscall_t)WriteClassStg}, - {"WriteClassStm", 0, (syscall_t)WriteClassStm}, - {"WriteConsoleA", 0, (syscall_t)WriteConsoleA}, - {"WriteConsoleInputA", 0, (syscall_t)WriteConsoleInputA}, - {"WriteConsoleOutputA", 0, (syscall_t)WriteConsoleOutputA}, - {"WriteConsoleOutputAttribute", 0, (syscall_t)WriteConsoleOutputAttribute}, - {"WriteConsoleOutputCharacterA", 0, (syscall_t)WriteConsoleOutputCharacterA}, - {"WriteEncryptedFileRaw", 0, (syscall_t)WriteEncryptedFileRaw}, - {"WriteFile", 0, (syscall_t)WriteFile}, - {"WriteFileEx", 0, (syscall_t)WriteFileEx}, - {"WriteFileGather", 0, (syscall_t)WriteFileGather}, - {"WritePrinter", 0, (syscall_t)WritePrinter}, - {"WritePrivateProfileSectionA", 0, (syscall_t)WritePrivateProfileSectionA}, - {"WritePrivateProfileStringA", 0, (syscall_t)WritePrivateProfileStringA}, - {"WritePrivateProfileStructA", 0, (syscall_t)WritePrivateProfileStructA}, - {"WriteProcessMemory", 0, (syscall_t)WriteProcessMemory}, - {"WriteProfileSectionA", 0, (syscall_t)WriteProfileSectionA}, - {"WriteProfileStringA", 0, (syscall_t)WriteProfileStringA}, - {"WriteTapemark", 0, (syscall_t)WriteTapemark}, - {"ZombifyActCtx", 0, (syscall_t)ZombifyActCtx}, - {"accept", 0, (syscall_t)accept}, - {"auxGetDevCapsA", 0, (syscall_t)auxGetDevCapsA}, - {"auxGetNumDevs", 0, (syscall_t)auxGetNumDevs}, - {"auxGetVolume", 0, (syscall_t)auxGetVolume}, - {"auxOutMessage", 0, (syscall_t)auxOutMessage}, - {"auxSetVolume", 0, (syscall_t)auxSetVolume}, - {"bind", 0, (syscall_t)bind}, - {"closesocket", 0, (syscall_t)closesocket}, - {"connect", 0, (syscall_t)connect}, - {"gethostbyaddr", 0, (syscall_t)gethostbyaddr}, - {"gethostbyname", 0, (syscall_t)gethostbyname}, - {"gethostname", 0, (syscall_t)gethostname}, - {"getpeername", 0, (syscall_t)getpeername}, - {"getprotobyname", 0, (syscall_t)getprotobyname}, - {"getprotobynumber", 0, (syscall_t)getprotobynumber}, - {"getservbyname", 0, (syscall_t)getservbyname}, - {"getservbyport", 0, (syscall_t)getservbyport}, - {"getsockname", 0, (syscall_t)getsockname}, - {"getsockopt", 0, (syscall_t)getsockopt}, - {"htonl", 0, (syscall_t)htonl}, - {"htons", 0, (syscall_t)htons}, - {"inet_addr", 0, (syscall_t)inet_addr}, - {"inet_ntoa", 0, (syscall_t)inet_ntoa}, - {"ioctlsocket", 0, (syscall_t)ioctlsocket}, - {"joyConfigChanged", 0, (syscall_t)joyConfigChanged}, - {"joyGetDevCapsA", 0, (syscall_t)joyGetDevCapsA}, - {"joyGetNumDevs", 0, (syscall_t)joyGetNumDevs}, - {"joyGetPos", 0, (syscall_t)joyGetPos}, - {"joyGetPosEx", 0, (syscall_t)joyGetPosEx}, - {"joyGetThreshold", 0, (syscall_t)joyGetThreshold}, - {"joyReleaseCapture", 0, (syscall_t)joyReleaseCapture}, - {"joySetCapture", 0, (syscall_t)joySetCapture}, - {"joySetThreshold", 0, (syscall_t)joySetThreshold}, - {"keybd_event", 0, (syscall_t)keybd_event}, - {"listen", 0, (syscall_t)listen}, - {"lstrcatA", 0, (syscall_t)lstrcatA}, - {"lstrcmpA", 0, (syscall_t)lstrcmpA}, - {"lstrcmpiA", 0, (syscall_t)lstrcmpiA}, - {"lstrcpyA", 0, (syscall_t)lstrcpyA}, - {"lstrcpynA", 0, (syscall_t)lstrcpynA}, - {"lstrlenA", 0, (syscall_t)lstrlenA}, - {"mciDriverNotify", 0, (syscall_t)mciDriverNotify}, - {"mciDriverYield", 0, (syscall_t)mciDriverYield}, - {"mciFreeCommandResource", 0, (syscall_t)mciFreeCommandResource}, - {"mciGetCreatorTask", 0, (syscall_t)mciGetCreatorTask}, - {"mciGetDeviceIDA", 0, (syscall_t)mciGetDeviceIDA}, - {"mciGetDeviceIDFromElementIDA", 0, (syscall_t)mciGetDeviceIDFromElementIDA}, - {"mciGetDriverData", 0, (syscall_t)mciGetDriverData}, - {"mciGetErrorStringA", 0, (syscall_t)mciGetErrorStringA}, - {"mciGetYieldProc", 0, (syscall_t)mciGetYieldProc}, - {"mciLoadCommandResource", 0, (syscall_t)mciLoadCommandResource}, - {"mciSendCommandA", 0, (syscall_t)mciSendCommandA}, - {"mciSendStringA", 0, (syscall_t)mciSendStringA}, - {"mciSetDriverData", 0, (syscall_t)mciSetDriverData}, - {"mciSetYieldProc", 0, (syscall_t)mciSetYieldProc}, - {"midiConnect", 0, (syscall_t)midiConnect}, - {"midiDisconnect", 0, (syscall_t)midiDisconnect}, - {"midiInAddBuffer", 0, (syscall_t)midiInAddBuffer}, - {"midiInClose", 0, (syscall_t)midiInClose}, - {"midiInGetDevCapsA", 0, (syscall_t)midiInGetDevCapsA}, - {"midiInGetErrorTextA", 0, (syscall_t)midiInGetErrorTextA}, - {"midiInGetID", 0, (syscall_t)midiInGetID}, - {"midiInGetNumDevs", 0, (syscall_t)midiInGetNumDevs}, - {"midiInMessage", 0, (syscall_t)midiInMessage}, - {"midiInOpen", 0, (syscall_t)midiInOpen}, - {"midiInPrepareHeader", 0, (syscall_t)midiInPrepareHeader}, - {"midiInReset", 0, (syscall_t)midiInReset}, - {"midiInStart", 0, (syscall_t)midiInStart}, - {"midiInStop", 0, (syscall_t)midiInStop}, - {"midiInUnprepareHeader", 0, (syscall_t)midiInUnprepareHeader}, - {"midiOutCacheDrumPatches", 0, (syscall_t)midiOutCacheDrumPatches}, - {"midiOutCachePatches", 0, (syscall_t)midiOutCachePatches}, - {"midiOutClose", 0, (syscall_t)midiOutClose}, - {"midiOutGetDevCapsA", 0, (syscall_t)midiOutGetDevCapsA}, - {"midiOutGetErrorTextA", 0, (syscall_t)midiOutGetErrorTextA}, - {"midiOutGetID", 0, (syscall_t)midiOutGetID}, - {"midiOutGetNumDevs", 0, (syscall_t)midiOutGetNumDevs}, - {"midiOutGetVolume", 0, (syscall_t)midiOutGetVolume}, - {"midiOutLongMsg", 0, (syscall_t)midiOutLongMsg}, - {"midiOutMessage", 0, (syscall_t)midiOutMessage}, - {"midiOutOpen", 0, (syscall_t)midiOutOpen}, - {"midiOutPrepareHeader", 0, (syscall_t)midiOutPrepareHeader}, - {"midiOutReset", 0, (syscall_t)midiOutReset}, - {"midiOutSetVolume", 0, (syscall_t)midiOutSetVolume}, - {"midiOutShortMsg", 0, (syscall_t)midiOutShortMsg}, - {"midiOutUnprepareHeader", 0, (syscall_t)midiOutUnprepareHeader}, - {"midiStreamClose", 0, (syscall_t)midiStreamClose}, - {"midiStreamOpen", 0, (syscall_t)midiStreamOpen}, - {"midiStreamOut", 0, (syscall_t)midiStreamOut}, - {"midiStreamPause", 0, (syscall_t)midiStreamPause}, - {"midiStreamPosition", 0, (syscall_t)midiStreamPosition}, - {"midiStreamProperty", 0, (syscall_t)midiStreamProperty}, - {"midiStreamRestart", 0, (syscall_t)midiStreamRestart}, - {"midiStreamStop", 0, (syscall_t)midiStreamStop}, - {"mixerClose", 0, (syscall_t)mixerClose}, - {"mixerGetControlDetailsA", 0, (syscall_t)mixerGetControlDetailsA}, - {"mixerGetDevCapsA", 0, (syscall_t)mixerGetDevCapsA}, - {"mixerGetID", 0, (syscall_t)mixerGetID}, - {"mixerGetLineControlsA", 0, (syscall_t)mixerGetLineControlsA}, - {"mixerGetLineInfoA", 0, (syscall_t)mixerGetLineInfoA}, - {"mixerGetNumDevs", 0, (syscall_t)mixerGetNumDevs}, - {"mixerMessage", 0, (syscall_t)mixerMessage}, - {"mixerOpen", 0, (syscall_t)mixerOpen}, - {"mixerSetControlDetails", 0, (syscall_t)mixerSetControlDetails}, - {"mmDrvInstall", 0, (syscall_t)mmDrvInstall}, - {"mmioAdvance", 0, (syscall_t)mmioAdvance}, - {"mmioAscend", 0, (syscall_t)mmioAscend}, - {"mmioClose", 0, (syscall_t)mmioClose}, - {"mmioCreateChunk", 0, (syscall_t)mmioCreateChunk}, - {"mmioDescend", 0, (syscall_t)mmioDescend}, - {"mmioFlush", 0, (syscall_t)mmioFlush}, - {"mmioGetInfo", 0, (syscall_t)mmioGetInfo}, - {"mmioInstallIOProcA", 0, (syscall_t)mmioInstallIOProcA}, - {"mmioOpenA", 0, (syscall_t)mmioOpenA}, - {"mmioRead", 0, (syscall_t)mmioRead}, - {"mmioRenameA", 0, (syscall_t)mmioRenameA}, - {"mmioSeek", 0, (syscall_t)mmioSeek}, - {"mmioSendMessage", 0, (syscall_t)mmioSendMessage}, - {"mmioSetBuffer", 0, (syscall_t)mmioSetBuffer}, - {"mmioSetInfo", 0, (syscall_t)mmioSetInfo}, - {"mmioStringToFOURCCA", 0, (syscall_t)mmioStringToFOURCCA}, - {"mmioWrite", 0, (syscall_t)mmioWrite}, - {"mouse_event", 0, (syscall_t)mouse_event}, - {"ntohl", 0, (syscall_t)ntohl}, - {"ntohs", 0, (syscall_t)ntohs}, - {"recv", 0, (syscall_t)recv}, - {"recvfrom", 0, (syscall_t)recvfrom}, - {"select", 0, (syscall_t)select}, - {"send", 0, (syscall_t)send}, - {"sendto", 0, (syscall_t)sendto}, - {"setsockopt", 0, (syscall_t)setsockopt}, - {"sndPlaySoundA", 0, (syscall_t)sndPlaySoundA}, - {"socket", 0, (syscall_t)socket}, - {"timeBeginPeriod", 0, (syscall_t)timeBeginPeriod}, - {"timeEndPeriod", 0, (syscall_t)timeEndPeriod}, - {"timeGetDevCaps", 0, (syscall_t)timeGetDevCaps}, - {"timeGetSystemTime", 0, (syscall_t)timeGetSystemTime}, - {"timeGetTime", 0, (syscall_t)timeGetTime}, - {"timeKillEvent", 0, (syscall_t)timeKillEvent}, - {"timeSetEvent", 0, (syscall_t)timeSetEvent}, - {"waveInAddBuffer", 0, (syscall_t)waveInAddBuffer}, - {"waveInClose", 0, (syscall_t)waveInClose}, - {"waveInGetDevCapsA", 0, (syscall_t)waveInGetDevCapsA}, - {"waveInGetErrorTextA", 0, (syscall_t)waveInGetErrorTextA}, - {"waveInGetID", 0, (syscall_t)waveInGetID}, - {"waveInGetNumDevs", 0, (syscall_t)waveInGetNumDevs}, - {"waveInGetPosition", 0, (syscall_t)waveInGetPosition}, - {"waveInMessage", 0, (syscall_t)waveInMessage}, - {"waveInOpen", 0, (syscall_t)waveInOpen}, - {"waveInPrepareHeader", 0, (syscall_t)waveInPrepareHeader}, - {"waveInReset", 0, (syscall_t)waveInReset}, - {"waveInStart", 0, (syscall_t)waveInStart}, - {"waveInStop", 0, (syscall_t)waveInStop}, - {"waveInUnprepareHeader", 0, (syscall_t)waveInUnprepareHeader}, - {"waveOutBreakLoop", 0, (syscall_t)waveOutBreakLoop}, - {"waveOutClose", 0, (syscall_t)waveOutClose}, - {"waveOutGetDevCapsA", 0, (syscall_t)waveOutGetDevCapsA}, - {"waveOutGetErrorTextA", 0, (syscall_t)waveOutGetErrorTextA}, - {"waveOutGetID", 0, (syscall_t)waveOutGetID}, - {"waveOutGetNumDevs", 0, (syscall_t)waveOutGetNumDevs}, - {"waveOutGetPitch", 0, (syscall_t)waveOutGetPitch}, - {"waveOutGetPlaybackRate", 0, (syscall_t)waveOutGetPlaybackRate}, - {"waveOutGetPosition", 0, (syscall_t)waveOutGetPosition}, - {"waveOutGetVolume", 0, (syscall_t)waveOutGetVolume}, - {"waveOutMessage", 0, (syscall_t)waveOutMessage}, - {"waveOutOpen", 0, (syscall_t)waveOutOpen}, - {"waveOutPause", 0, (syscall_t)waveOutPause}, - {"waveOutPrepareHeader", 0, (syscall_t)waveOutPrepareHeader}, - {"waveOutReset", 0, (syscall_t)waveOutReset}, - {"waveOutRestart", 0, (syscall_t)waveOutRestart}, - {"waveOutSetPitch", 0, (syscall_t)waveOutSetPitch}, - {"waveOutSetPlaybackRate", 0, (syscall_t)waveOutSetPlaybackRate}, - {"waveOutSetVolume", 0, (syscall_t)waveOutSetVolume}, - {"waveOutUnprepareHeader", 0, (syscall_t)waveOutUnprepareHeader}, - {"waveOutWrite", 0, (syscall_t)waveOutWrite}, - {"wglCopyContext", 0, (syscall_t)wglCopyContext}, - {"wglCreateContext", 0, (syscall_t)wglCreateContext}, - {"wglCreateLayerContext", 0, (syscall_t)wglCreateLayerContext}, - {"wglDeleteContext", 0, (syscall_t)wglDeleteContext}, - {"wglDescribeLayerPlane", 0, (syscall_t)wglDescribeLayerPlane}, - {"wglGetCurrentContext", 0, (syscall_t)wglGetCurrentContext}, - {"wglGetCurrentDC", 0, (syscall_t)wglGetCurrentDC}, - {"wglGetLayerPaletteEntries", 0, (syscall_t)wglGetLayerPaletteEntries}, - {"wglGetProcAddress", 0, (syscall_t)wglGetProcAddress}, - {"wglMakeCurrent", 0, (syscall_t)wglMakeCurrent}, - {"wglRealizeLayerPalette", 0, (syscall_t)wglRealizeLayerPalette}, - {"wglSetLayerPaletteEntries", 0, (syscall_t)wglSetLayerPaletteEntries}, - {"wglShareLists", 0, (syscall_t)wglShareLists}, - {"wglSwapLayerBuffers", 0, (syscall_t)wglSwapLayerBuffers}, - {"wglSwapMultipleBuffers", 0, (syscall_t)wglSwapMultipleBuffers}, - {"wglUseFontBitmapsA", 0, (syscall_t)wglUseFontBitmapsA}, - {"wglUseFontOutlinesA", 0, (syscall_t)wglUseFontOutlinesA}, - {"wsprintfA", 0, (syscall_t)wsprintfA}, - {"wvsprintfA", 0, (syscall_t)wvsprintfA}, - -}; -#endif diff --git a/executor/test.go b/executor/test.go deleted file mode 100644 index f318b5627..000000000 --- a/executor/test.go +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2017 syzkaller project authors. All rights reserved. -// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. - -//go:generate bash -c "gcc kvm_gen.cc kvm.S -o kvm_gen && ./kvm_gen > kvm.S.h && rm ./kvm_gen" - -// +build linux - -package executor - -// int test_copyin(); -// int test_csum_inet(); -// int test_csum_inet_acc(); -// int test_kvm(); -import "C" - -func testCopyin() int { - return int(C.test_copyin()) -} - -func testCsumInet() int { - return int(C.test_csum_inet()) -} - -func testCsumInetAcc() int { - return int(C.test_csum_inet_acc()) -} - -func testKVM() int { - return int(C.test_kvm()) -} - -// Prevent deadcode warnings: -var ( - _ = testCopyin - _ = testCsumInet - _ = testCsumInetAcc - _ = testKVM -) diff --git a/executor/test.h b/executor/test.h new file mode 100644 index 000000000..74133f58b --- /dev/null +++ b/executor/test.h @@ -0,0 +1,212 @@ +// Copyright 2017 syzkaller project authors. All rights reserved. +// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +#if GOOS_linux && GOARCH_amd64 +#include "test_linux.h" +#endif + +static int test_copyin() +{ + unsigned char x[4] = {}; + STORE_BY_BITMASK(uint16, &x[1], 0x1234, 0, 0); + if (x[0] != 0 || x[1] != 0x34 || x[2] != 0x12 || x[3] != 0) { + printf("bad result of STORE_BY_BITMASK(0, 0): %x %x %x %x\n", x[0], x[1], x[2], x[3]); + return 1; + } + STORE_BY_BITMASK(uint16, &x[1], 0x555a, 5, 4); + if (x[0] != 0 || x[1] != 0x54 || x[2] != 0x13 || x[3] != 0) { + printf("bad result of STORE_BY_BITMASK(7, 3): %x %x %x %x\n", x[0], x[1], x[2], x[3]); + return 1; + } + return 0; +} + +static int test_csum_inet() +{ + struct csum_inet_test { + const char* data; + size_t length; + uint16 csum; + }; + struct csum_inet_test tests[] = { + {// 0 + "", + 0, + 0xffff}, + { + // 1 + "\x00", + 1, + 0xffff, + }, + { + // 2 + "\x00\x00", + 2, + 0xffff, + }, + { + // 3 + "\x00\x00\xff\xff", + 4, + 0x0000, + }, + { + // 4 + "\xfc", + 1, + 0xff03, + }, + { + // 5 + "\xfc\x12", + 2, + 0xed03, + }, + { + // 6 + "\xfc\x12\x3e", + 3, + 0xecc5, + }, + { + // 7 + "\xfc\x12\x3e\x00\xc5\xec", + 6, + 0x0000, + }, + { + // 8 + "\x42\x00\x00\x43\x44\x00\x00\x00\x45\x00\x00\x00\xba\xaa\xbb\xcc\xdd", + 17, + 0x43e1, + }, + { + // 9 + "\x42\x00\x00\x43\x44\x00\x00\x00\x45\x00\x00\x00\xba\xaa\xbb\xcc\xdd\x00", + 18, + 0x43e1, + }, + { + // 10 + "\x00\x00\x42\x00\x00\x43\x44\x00\x00\x00\x45\x00\x00\x00\xba\xaa\xbb\xcc\xdd", + 19, + 0x43e1, + }, + { + // 11 + "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\xab\xcd", + 15, + 0x5032, + }, + { + // 12 + "\x00\x00\x12\x34\x56\x78", + 6, + 0x5397, + }, + { + // 13 + "\x00\x00\x12\x34\x00\x00\x56\x78\x00\x06\x00\x04\xab\xcd", + 14, + 0x7beb, + }, + { + // 14 + "\x00\x11\x22\x33\x44\x55\x66\x77\x88\x99\xaa\xbb\xcc\xdd\xee\xff\xff\xee\xdd\xcc\xbb\xaa\x99\x88\x77\x66\x55\x44\x33\x22\x11\x00\x00\x00\x00\x04\x00\x00\x00\x06\x00\x00\xab\xcd", + 44, + 0x2854, + }, + { + // 15 + "\x00\x00\x12\x34\x00\x00\x56\x78\x00\x11\x00\x04\xab\xcd", + 14, + 0x70eb, + }, + { + // 16 + "\x00\x11\x22\x33\x44\x55\x66\x77\x88\x99\xaa\xbb\xcc\xdd\xee\xff\xff\xee\xdd\xcc\xbb\xaa\x99\x88\x77\x66\x55\x44\x33\x22\x11\x00\x00\x00\x00\x04\x00\x00\x00\x11\x00\x00\xab\xcd", + 44, + 0x1d54, + }, + { + // 17 + "\x00\x11\x22\x33\x44\x55\x66\x77\x88\x99\xaa\xbb\xcc\xdd\xee\xff\xff\xee\xdd\xcc\xbb\xaa\x99\x88\x77\x66\x55\x44\x33\x22\x11\x00\x00\x00\x00\x04\x00\x00\x00\x3a\x00\x00\xab\xcd", + 44, + 0xf453, + }}; + + for (unsigned i = 0; i < ARRAY_SIZE(tests); i++) { + struct csum_inet csum; + csum_inet_init(&csum); + csum_inet_update(&csum, (const uint8*)tests[i].data, tests[i].length); + if (csum_inet_digest(&csum) != tests[i].csum) { + fprintf(stderr, "bad checksum in test #%u, want: %hx, got: %hx\n", i, tests[i].csum, csum_inet_digest(&csum)); + return 1; + } + } + + return 0; +} + +static int rand_int_range(int start, int end) +{ + return rand() % (end + 1 - start) + start; +} + +static int test_csum_inet_acc() +{ + uint8 buffer[128]; + + int test; + for (test = 0; test < 256; test++) { + int size = rand_int_range(1, 128); + int step = rand_int_range(1, 8) * 2; + + int i; + for (i = 0; i < size; i++) + buffer[i] = rand_int_range(0, 255); + + struct csum_inet csum_acc; + csum_inet_init(&csum_acc); + + for (i = 0; i < size / step; i++) + csum_inet_update(&csum_acc, &buffer[i * step], step); + if (size % step != 0) + csum_inet_update(&csum_acc, &buffer[size - size % step], size % step); + + struct csum_inet csum; + csum_inet_init(&csum); + csum_inet_update(&csum, &buffer[0], size); + + if (csum_inet_digest(&csum_acc) != csum_inet_digest(&csum)) + return 1; + } + return 0; +} + +static struct { + const char* name; + int (*f)(); +} tests[] = { + {"test_copyin", test_copyin}, + {"test_csum_inet", test_csum_inet}, + {"test_csum_inet_acc", test_csum_inet_acc}, +#if GOOS_linux && GOARCH_amd64 + {"test_kvm", test_kvm}, +#endif +}; + +int run_tests() +{ + int ret = 0; + for (size_t i = 0; i < ARRAY_SIZE(tests); i++) { + const char* name = tests[i].name; + printf("=== RUN %s\n", name); + int res = tests[i].f(); + ret |= res > 0; + const char* strres = res < 0 ? "SKIP" : (res > 0 ? "FAIL" : "OK"); + printf("--- %-4s %s\n", strres, name); + } + return ret; +} diff --git a/executor/test_executor_linux.cc b/executor/test_linux.h index d0414ae88..cdeb72717 100644 --- a/executor/test_executor_linux.cc +++ b/executor/test_linux.h @@ -1,202 +1,8 @@ // Copyright 2017 syzkaller project authors. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. -#define SYZ_EXECUTOR -#include "common_linux.h" - -#include "syscalls_linux.h" - #include <sys/utsname.h> -unsigned long long procid; - -void cover_reset(thread_t*) -{ -} - -extern "C" int test_copyin() -{ - unsigned char x[4] = {}; - STORE_BY_BITMASK(uint16, &x[1], 0x1234, 0, 0); - if (x[0] != 0 || x[1] != 0x34 || x[2] != 0x12 || x[3] != 0) { - printf("bad result of STORE_BY_BITMASK(0, 0): %x %x %x %x\n", x[0], x[1], x[2], x[3]); - return 1; - } - STORE_BY_BITMASK(uint16, &x[1], 0x555a, 5, 4); - if (x[0] != 0 || x[1] != 0x54 || x[2] != 0x13 || x[3] != 0) { - printf("bad result of STORE_BY_BITMASK(7, 3): %x %x %x %x\n", x[0], x[1], x[2], x[3]); - return 1; - } - return 0; -} - -#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) - -struct csum_inet_test { - const char* data; - size_t length; - uint16 csum; -}; - -extern "C" int test_csum_inet() -{ - struct csum_inet_test tests[] = { - {// 0 - "", - 0, - 0xffff}, - { - // 1 - "\x00", - 1, - 0xffff, - }, - { - // 2 - "\x00\x00", - 2, - 0xffff, - }, - { - // 3 - "\x00\x00\xff\xff", - 4, - 0x0000, - }, - { - // 4 - "\xfc", - 1, - 0xff03, - }, - { - // 5 - "\xfc\x12", - 2, - 0xed03, - }, - { - // 6 - "\xfc\x12\x3e", - 3, - 0xecc5, - }, - { - // 7 - "\xfc\x12\x3e\x00\xc5\xec", - 6, - 0x0000, - }, - { - // 8 - "\x42\x00\x00\x43\x44\x00\x00\x00\x45\x00\x00\x00\xba\xaa\xbb\xcc\xdd", - 17, - 0x43e1, - }, - { - // 9 - "\x42\x00\x00\x43\x44\x00\x00\x00\x45\x00\x00\x00\xba\xaa\xbb\xcc\xdd\x00", - 18, - 0x43e1, - }, - { - // 10 - "\x00\x00\x42\x00\x00\x43\x44\x00\x00\x00\x45\x00\x00\x00\xba\xaa\xbb\xcc\xdd", - 19, - 0x43e1, - }, - { - // 11 - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\xab\xcd", - 15, - 0x5032, - }, - { - // 12 - "\x00\x00\x12\x34\x56\x78", - 6, - 0x5397, - }, - { - // 13 - "\x00\x00\x12\x34\x00\x00\x56\x78\x00\x06\x00\x04\xab\xcd", - 14, - 0x7beb, - }, - { - // 14 - "\x00\x11\x22\x33\x44\x55\x66\x77\x88\x99\xaa\xbb\xcc\xdd\xee\xff\xff\xee\xdd\xcc\xbb\xaa\x99\x88\x77\x66\x55\x44\x33\x22\x11\x00\x00\x00\x00\x04\x00\x00\x00\x06\x00\x00\xab\xcd", - 44, - 0x2854, - }, - { - // 15 - "\x00\x00\x12\x34\x00\x00\x56\x78\x00\x11\x00\x04\xab\xcd", - 14, - 0x70eb, - }, - { - // 16 - "\x00\x11\x22\x33\x44\x55\x66\x77\x88\x99\xaa\xbb\xcc\xdd\xee\xff\xff\xee\xdd\xcc\xbb\xaa\x99\x88\x77\x66\x55\x44\x33\x22\x11\x00\x00\x00\x00\x04\x00\x00\x00\x11\x00\x00\xab\xcd", - 44, - 0x1d54, - }, - { - // 17 - "\x00\x11\x22\x33\x44\x55\x66\x77\x88\x99\xaa\xbb\xcc\xdd\xee\xff\xff\xee\xdd\xcc\xbb\xaa\x99\x88\x77\x66\x55\x44\x33\x22\x11\x00\x00\x00\x00\x04\x00\x00\x00\x3a\x00\x00\xab\xcd", - 44, - 0xf453, - }}; - - for (unsigned i = 0; i < ARRAY_SIZE(tests); i++) { - struct csum_inet csum; - csum_inet_init(&csum); - csum_inet_update(&csum, (const uint8*)tests[i].data, tests[i].length); - if (csum_inet_digest(&csum) != tests[i].csum) { - fprintf(stderr, "bad checksum in test #%u, want: %hx, got: %hx\n", i, tests[i].csum, csum_inet_digest(&csum)); - return 1; - } - } - - return 0; -} - -int randInt(int start, int end) -{ - return rand() % (end + 1 - start) + start; -} - -extern "C" int test_csum_inet_acc() -{ - uint8 buffer[128]; - - int test; - for (test = 0; test < 256; test++) { - int size = randInt(1, 128); - int step = randInt(1, 8) * 2; - - int i; - for (i = 0; i < size; i++) - buffer[i] = randInt(0, 255); - - struct csum_inet csum_acc; - csum_inet_init(&csum_acc); - - for (i = 0; i < size / step; i++) - csum_inet_update(&csum_acc, &buffer[i * step], step); - if (size % step != 0) - csum_inet_update(&csum_acc, &buffer[size - size % step], size % step); - - struct csum_inet csum; - csum_inet_init(&csum); - csum_inet_update(&csum, &buffer[0], size); - - if (csum_inet_digest(&csum_acc) != csum_inet_digest(&csum)) - return 1; - } - return 0; -} - static unsigned host_kernel_version(); static void dump_cpu_state(int cpufd, char* vm_mem); @@ -231,7 +37,8 @@ static int test_one(int text_type, const char* text, int text_size, int flags, u printf("KVM_GET_VCPU_MMAP_SIZE failed (%d)\n", errno); return 1; } - struct kvm_run* cpu_mem = (struct kvm_run*)mmap(0, cpu_mem_size, PROT_READ | PROT_WRITE, MAP_SHARED, cpufd, 0); + struct kvm_run* cpu_mem = (struct kvm_run*)mmap(0, cpu_mem_size, + PROT_READ | PROT_WRITE, MAP_SHARED, cpufd, 0); if (cpu_mem == MAP_FAILED) { printf("cpu mmap failed (%d)\n", errno); return 1; @@ -263,7 +70,8 @@ static int test_one(int text_type, const char* text, int text_size, int flags, u if (cpu_mem->exit_reason != reason) { printf("KVM_RUN exit reason %d, expect %d\n", cpu_mem->exit_reason, reason); if (cpu_mem->exit_reason == KVM_EXIT_FAIL_ENTRY) - printf("hardware exit reason 0x%llx\n", cpu_mem->fail_entry.hardware_entry_failure_reason); + printf("hardware exit reason 0x%llx\n", + cpu_mem->fail_entry.hardware_entry_failure_reason); dump_cpu_state(cpufd, (char*)vm_mem); return 1; } @@ -280,7 +88,7 @@ static int test_one(int text_type, const char* text, int text_size, int flags, u return 0; } -extern "C" int test_kvm() +static int test_kvm() { int res; @@ -345,7 +153,8 @@ extern "C" int test_kvm() // Also ensure that we are actually in SMM. // If we do MOV to RAX and then RSM, RAX will be restored to host value so RAX check will fail. - // So instead we execute just RSM, if we are in SMM we will get KVM_EXIT_HLT, otherwise KVM_EXIT_INTERNAL_ERROR. + // So instead we execute just RSM, if we are in SMM we will get KVM_EXIT_HLT, + // otherwise KVM_EXIT_INTERNAL_ERROR. const char text_rsm[] = "\x0f\xaa"; if ((res = test_one(8, text_rsm, sizeof(text_rsm) - 1, KVM_SETUP_SMM, KVM_EXIT_HLT, false))) return res; diff --git a/executor/test_test.go b/executor/test_test.go deleted file mode 100644 index 8048d50f0..000000000 --- a/executor/test_test.go +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2016 syzkaller project authors. All rights reserved. -// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. - -// +build linux - -package executor - -import "testing" - -func testWrapper(t *testing.T, f func() int) { - switch res := f(); { - case res < 0: - t.Skip() - case res > 0: - t.Fail() - default: - } -} - -func TestCopyin(t *testing.T) { - testWrapper(t, testCopyin) -} - -func TestCsumInet(t *testing.T) { - testWrapper(t, testCsumInet) -} - -func TestCsumInetAcc(t *testing.T) { - testWrapper(t, testCsumInetAcc) -} - -func TestKVM(t *testing.T) { - testWrapper(t, testKVM) -} |
