? github.com/google/syzkaller/dashboard/dashapi [no test files] ok github.com/google/syzkaller/dashboard/app (cached) # github.com/google/syzkaller/pkg/cover [github.com/google/syzkaller/pkg/cover.test] pkg/cover/manager_to_ci_test.go:34:35: undefined: sampleCoverJSON FAIL github.com/google/syzkaller/pkg/cover [build failed] ? github.com/google/syzkaller/pkg/debugtracer [no test files] ? github.com/google/syzkaller/pkg/gcs [no test files] ? github.com/google/syzkaller/pkg/hash [no test files] ? github.com/google/syzkaller/pkg/html/pages [no test files] ? github.com/google/syzkaller/pkg/ifuzz/iset [no test files] ? github.com/google/syzkaller/pkg/ifuzz/powerpc [no test files] ? github.com/google/syzkaller/pkg/ifuzz/powerpc/generated [no test files] ? github.com/google/syzkaller/pkg/ifuzz/x86 [no test files] ? github.com/google/syzkaller/pkg/ifuzz/x86/gen [no test files] ? github.com/google/syzkaller/pkg/ifuzz/x86/generated [no test files] ? github.com/google/syzkaller/pkg/ipc/ipcconfig [no test files] ? github.com/google/syzkaller/pkg/kcidb [no test files] ? github.com/google/syzkaller/pkg/report/crash [no test files] ? github.com/google/syzkaller/pkg/rpctype [no test files] ? github.com/google/syzkaller/pkg/stats/syzbotstats [no test files] ? github.com/google/syzkaller/pkg/testutil [no test files] ? github.com/google/syzkaller/pkg/tools [no test files] ? github.com/google/syzkaller/sys [no test files] ? github.com/google/syzkaller/sys/akaros [no test files] ? github.com/google/syzkaller/sys/darwin/gen [no test files] ? github.com/google/syzkaller/sys/akaros/gen [no test files] ? github.com/google/syzkaller/sys/darwin [no test files] ? github.com/google/syzkaller/sys/freebsd [no test files] ? github.com/google/syzkaller/sys/freebsd/gen [no test files] ? github.com/google/syzkaller/sys/fuchsia [no test files] ? github.com/google/syzkaller/sys/fuchsia/fidlgen [no test files] ? github.com/google/syzkaller/sys/fuchsia/gen [no test files] ? github.com/google/syzkaller/sys/fuchsia/layout [no test files] ? github.com/google/syzkaller/sys/linux/gen [no test files] ? github.com/google/syzkaller/sys/openbsd/gen [no test files] ? github.com/google/syzkaller/sys/netbsd/gen [no test files] ? github.com/google/syzkaller/sys/syz-extract [no test files] ? github.com/google/syzkaller/sys/syz-sysgen [no test files] ? github.com/google/syzkaller/sys/targets [no test files] ? github.com/google/syzkaller/sys/test [no test files] ? github.com/google/syzkaller/sys/trusty [no test files] ? github.com/google/syzkaller/sys/trusty/gen [no test files] ? github.com/google/syzkaller/sys/test/gen [no test files] ? github.com/google/syzkaller/sys/windows [no test files] ? github.com/google/syzkaller/sys/windows/gen [no test files] ok github.com/google/syzkaller/executor 12.674s ok github.com/google/syzkaller/pkg/asset (cached) ok github.com/google/syzkaller/pkg/ast 1.252s ok github.com/google/syzkaller/pkg/auth (cached) ok github.com/google/syzkaller/pkg/bisect (cached) ok github.com/google/syzkaller/pkg/bisect/minimize (cached) ok github.com/google/syzkaller/pkg/build (cached) ok github.com/google/syzkaller/pkg/compiler 12.602s ok github.com/google/syzkaller/pkg/config (cached) ok github.com/google/syzkaller/pkg/corpus (cached) ok github.com/google/syzkaller/pkg/cover/backend (cached) ? github.com/google/syzkaller/syz-runner [no test files] ? github.com/google/syzkaller/tools/syz-bisect [no test files] ? github.com/google/syzkaller/tools/syz-benchcmp [no test files] ? github.com/google/syzkaller/tools/syz-build [no test files] ? github.com/google/syzkaller/tools/syz-check [no test files] ? github.com/google/syzkaller/tools/syz-cover [no test files] ? github.com/google/syzkaller/tools/syz-crush [no test files] ? github.com/google/syzkaller/tools/syz-db [no test files] ? github.com/google/syzkaller/tools/syz-execprog [no test files] ? github.com/google/syzkaller/tools/syz-expand [no test files] ? github.com/google/syzkaller/tools/syz-fillreports [no test files] ? github.com/google/syzkaller/tools/syz-fmt [no test files] ? github.com/google/syzkaller/tools/syz-hubtool [no test files] ? github.com/google/syzkaller/tools/syz-kcidb [no test files] ? github.com/google/syzkaller/tools/syz-lore [no test files] ? github.com/google/syzkaller/tools/syz-make [no test files] ? github.com/google/syzkaller/tools/syz-minconfig [no test files] ? github.com/google/syzkaller/tools/syz-mutate [no test files] ? github.com/google/syzkaller/tools/syz-prog2c [no test files] ? github.com/google/syzkaller/tools/syz-query-subsystems [no test files] ? github.com/google/syzkaller/tools/syz-reporter [no test files] ? github.com/google/syzkaller/tools/syz-repro [no test files] ? github.com/google/syzkaller/tools/syz-reprolist [no test files] ? github.com/google/syzkaller/tools/syz-runtest [no test files] ? github.com/google/syzkaller/tools/syz-showprio [no test files] ? github.com/google/syzkaller/tools/syz-stress [no test files] ? github.com/google/syzkaller/tools/syz-symbolize [no test files] ? github.com/google/syzkaller/tools/syz-trace2syz [no test files] ? github.com/google/syzkaller/tools/syz-testbuild [no test files] ? github.com/google/syzkaller/tools/syz-tty [no test files] ? github.com/google/syzkaller/tools/syz-upgrade [no test files] ? github.com/google/syzkaller/tools/syz-usbgen [no test files] ? github.com/google/syzkaller/vm/adb [no test files] ? github.com/google/syzkaller/vm/bhyve [no test files] ? github.com/google/syzkaller/vm/cuttlefish [no test files] ? github.com/google/syzkaller/vm/gce [no test files] ? github.com/google/syzkaller/vm/gvisor [no test files] ? github.com/google/syzkaller/vm/odroid [no test files] ? github.com/google/syzkaller/vm/kvm [no test files] ? github.com/google/syzkaller/vm/proxyapp/mocks [no test files] ? github.com/google/syzkaller/vm/proxyapp/proxyrpc [no test files] ? github.com/google/syzkaller/vm/qemu [no test files] ? github.com/google/syzkaller/vm/starnix [no test files] ? github.com/google/syzkaller/vm/vmm [no test files] ? github.com/google/syzkaller/vm/vmware [no test files] --- FAIL: TestGenerate (14.46s) --- FAIL: TestGenerate/test/64 (0.01s) testutil.go:33: seed=1711378220307406976 testutil.go:33: seed=1711378220313232979 --- FAIL: TestGenerate/test/64/6 (1.59s) csource_test.go:150: opts: {Threaded:true Repeat:true RepeatTimes:0 Procs:0 Slowdown:10 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:false Repro:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: test$recur2(&(0x7f0000000ac0)={0x0, 0x0, &(0x7f0000000100)={&(0x7f0000000000), &(0x7f0000000040), &(0x7f0000000080), &(0x7f00000000c0)}, 0x0, &(0x7f0000000a80)={&(0x7f0000000180)={&(0x7f0000000140)}, &(0x7f00000007c0)={&(0x7f00000004c0)={0x0, &(0x7f0000000480)={&(0x7f0000000200)={&(0x7f00000001c0)}, 0x0, &(0x7f0000000300)={0x0, &(0x7f0000000240), &(0x7f0000000280), &(0x7f00000002c0)}, &(0x7f0000000440)={&(0x7f0000000340), &(0x7f0000000380), &(0x7f00000003c0), &(0x7f0000000400)}}}, &(0x7f0000000780)={&(0x7f0000000500), 0x0, &(0x7f0000000600)={&(0x7f0000000540), &(0x7f0000000580), &(0x7f00000005c0)}, &(0x7f0000000740)={&(0x7f0000000640), &(0x7f0000000680), &(0x7f00000006c0), &(0x7f0000000700)}}}, 0x0, &(0x7f00000008c0)={0x0, &(0x7f0000000800), &(0x7f0000000840), &(0x7f0000000880)}, 0x0, &(0x7f0000000a40)={0x0, &(0x7f0000000940)={&(0x7f0000000900)}, 0x0, &(0x7f0000000a00)={0x0, &(0x7f0000000980), &(0x7f00000009c0)}}}}) (fail_nth: 1) test$recur0(&(0x7f0000000b80)={&(0x7f0000000b40)={&(0x7f0000000b00)}}) (async) test$recur2(&(0x7f0000003440)={&(0x7f0000000c00)={&(0x7f0000000bc0)}, &(0x7f0000001800)={&(0x7f00000011c0)={0x0, &(0x7f0000001180)={&(0x7f0000000c80)={&(0x7f0000000c40)}, 0x0, &(0x7f0000000d80)={&(0x7f0000000cc0), &(0x7f0000000d00), 0x0, &(0x7f0000000d40)}, &(0x7f0000000e80)={0x0, &(0x7f0000000dc0), &(0x7f0000000e00), &(0x7f0000000e40)}, &(0x7f0000001140)={&(0x7f0000000f00)={&(0x7f0000000ec0)}, 0x0, &(0x7f0000001000)={&(0x7f0000000f40), 0x0, &(0x7f0000000f80), &(0x7f0000000fc0)}, &(0x7f0000001100)={&(0x7f0000001040), &(0x7f0000001080), 0x0, &(0x7f00000010c0)}}}}, &(0x7f00000017c0)={&(0x7f0000001240)={&(0x7f0000001200)}, 0x0, &(0x7f0000001340)={&(0x7f0000001280), &(0x7f00000012c0), 0x0, &(0x7f0000001300)}, &(0x7f0000001480)={&(0x7f0000001380), &(0x7f00000013c0), &(0x7f0000001400), &(0x7f0000001440)}, &(0x7f0000001780)={&(0x7f0000001500)={&(0x7f00000014c0)}, 0x0, &(0x7f0000001640)={&(0x7f0000001540), &(0x7f0000001580), &(0x7f00000015c0), &(0x7f0000001600)}, &(0x7f0000001740)={0x0, &(0x7f0000001680), &(0x7f00000016c0), &(0x7f0000001700)}}}}, &(0x7f0000001940)={&(0x7f0000001840), &(0x7f0000001880), &(0x7f00000018c0), &(0x7f0000001900)}, &(0x7f0000001a40)={&(0x7f0000001980), 0x0, &(0x7f00000019c0), &(0x7f0000001a00)}, &(0x7f0000002780)={&(0x7f0000001ac0)={&(0x7f0000001a80)}, &(0x7f0000002140)={&(0x7f0000001dc0)={0x0, &(0x7f0000001d80)={&(0x7f0000001b00), 0x0, &(0x7f0000001c00)={&(0x7f0000001b40), 0x0, &(0x7f0000001b80), &(0x7f0000001bc0)}, &(0x7f0000001d40)={&(0x7f0000001c40), &(0x7f0000001c80), &(0x7f0000001cc0), &(0x7f0000001d00)}}}, &(0x7f0000002100)={&(0x7f0000001e40)={&(0x7f0000001e00)}, &(0x7f0000001e80), &(0x7f0000001fc0)={&(0x7f0000001ec0), &(0x7f0000001f00), &(0x7f0000001f40), &(0x7f0000001f80)}, &(0x7f00000020c0)={&(0x7f0000002000), 0x0, &(0x7f0000002040), &(0x7f0000002080)}}}, &(0x7f0000002280)={&(0x7f0000002180), &(0x7f00000021c0), &(0x7f0000002200), &(0x7f0000002240)}, &(0x7f00000023c0)={&(0x7f00000022c0), &(0x7f0000002300), &(0x7f0000002340), &(0x7f0000002380)}, &(0x7f00000024c0)={&(0x7f0000002440)={&(0x7f0000002400)}, &(0x7f0000002480)}, &(0x7f0000002740)={&(0x7f0000002540)={&(0x7f0000002500)}, &(0x7f00000025c0)={&(0x7f0000002580)}, 0x0, &(0x7f0000002700)={&(0x7f0000002600), &(0x7f0000002640), &(0x7f0000002680), &(0x7f00000026c0)}}}, &(0x7f0000003400)={&(0x7f0000002800)={&(0x7f00000027c0)}, &(0x7f0000002b80)={&(0x7f0000002900)={0x0, &(0x7f00000028c0)={&(0x7f0000002880)={&(0x7f0000002840)}}}, &(0x7f0000002b40)={&(0x7f0000002980)={&(0x7f0000002940)}, &(0x7f00000029c0), &(0x7f0000002b00)={&(0x7f0000002a00), &(0x7f0000002a40), &(0x7f0000002a80), &(0x7f0000002ac0)}}}, &(0x7f0000002cc0)={&(0x7f0000002bc0), &(0x7f0000002c00), &(0x7f0000002c40), &(0x7f0000002c80)}, &(0x7f0000002e00)={&(0x7f0000002d00), &(0x7f0000002d40), &(0x7f0000002d80), &(0x7f0000002dc0)}, &(0x7f0000003180)={&(0x7f0000002e80)={&(0x7f0000002e40)}, &(0x7f0000002f00)={&(0x7f0000002ec0)}, &(0x7f0000003000)={0x0, &(0x7f0000002f40), &(0x7f0000002f80), &(0x7f0000002fc0)}, &(0x7f0000003140)={&(0x7f0000003040), &(0x7f0000003080), &(0x7f00000030c0), &(0x7f0000003100)}}, &(0x7f00000033c0)={&(0x7f0000003200)={&(0x7f00000031c0)}, &(0x7f0000003240), &(0x7f0000003380)={&(0x7f0000003280), &(0x7f00000032c0), &(0x7f0000003300), &(0x7f0000003340)}}}}) (rerun: 4) test$use_cond_resource(&(0x7f0000003480)={0xcf}) test$create_cond_resource() test$recur1(&(0x7f0000004ac0)={&(0x7f0000003f40)={&(0x7f00000034c0), &(0x7f0000003f00)={&(0x7f0000003540)={&(0x7f0000003500)}, &(0x7f00000038c0)={0x0, &(0x7f0000003880)={&(0x7f00000035c0)={&(0x7f0000003580)}, 0x0, &(0x7f0000003700)={&(0x7f0000003600), &(0x7f0000003640), &(0x7f0000003680), &(0x7f00000036c0)}, &(0x7f0000003840)={&(0x7f0000003740), &(0x7f0000003780), &(0x7f00000037c0), &(0x7f0000003800)}}}, &(0x7f00000039c0)={0x0, &(0x7f0000003900), &(0x7f0000003940), &(0x7f0000003980)}, &(0x7f0000003ac0)={&(0x7f0000003a00), &(0x7f0000003a40), &(0x7f0000003a80)}, &(0x7f0000003d80)={&(0x7f0000003b40)={&(0x7f0000003b00)}, &(0x7f0000003b80), &(0x7f0000003c40)={0x0, 0x0, &(0x7f0000003bc0), &(0x7f0000003c00)}, &(0x7f0000003d40)={&(0x7f0000003c80), &(0x7f0000003cc0), &(0x7f0000003d00)}}, &(0x7f0000003ec0)={0x0, &(0x7f0000003dc0), 0x0, &(0x7f0000003e80)={0x0, 0x0, &(0x7f0000003e00), &(0x7f0000003e40)}}}}, &(0x7f0000004a80)={&(0x7f0000003fc0)={&(0x7f0000003f80)}, &(0x7f0000004280)={&(0x7f0000004000), &(0x7f0000004240)={0x0, &(0x7f0000004040), &(0x7f0000004100)={&(0x7f0000004080), 0x0, &(0x7f00000040c0)}, &(0x7f0000004200)={&(0x7f0000004140), &(0x7f0000004180), &(0x7f00000041c0)}}}, &(0x7f00000043c0)={&(0x7f00000042c0), &(0x7f0000004300), &(0x7f0000004340), &(0x7f0000004380)}, &(0x7f0000004500)={&(0x7f0000004400), &(0x7f0000004440), &(0x7f0000004480), &(0x7f00000044c0)}, &(0x7f0000004800)={&(0x7f0000004580)={&(0x7f0000004540)}, &(0x7f0000004600)={&(0x7f00000045c0)}, &(0x7f00000046c0)={&(0x7f0000004640), 0x0, &(0x7f0000004680)}, &(0x7f00000047c0)={0x0, &(0x7f0000004700), &(0x7f0000004740), &(0x7f0000004780)}}, &(0x7f0000004a40)={&(0x7f0000004880)={&(0x7f0000004840)}, &(0x7f0000004900)={&(0x7f00000048c0)}, &(0x7f0000004a00)={&(0x7f0000004940), 0x0, &(0x7f0000004980), &(0x7f00000049c0)}}}}) test$array0(&(0x7f0000004b00)={0x4, [@f0=0x5, @f0=0x400], 0xcf}) foo$fmt1(&(0x7f0000004b40)) test$use_cond_resource(&(0x7f0000004b80)={0x5}) test$opt1(&(0x7f0000004bc0)=0x1000) syz_compare(&(0x7f0000000000)='-\x00', 0x2, &(0x7f0000000040)=@bf13={0xc0, {0x0, 0x24b, 0x380}}, 0xc) syz_compare_int$2(0x2, 0xb584, 0x5) syz_errno(0x4) syz_execute_func(&(0x7f0000000080)="685dce503a1d0b657c260c9d194b3f809620fdde60c972d03809536f2ce00202787c45c651d1fce2487a3d34caac049fee28") syz_exit(0x4) syz_mmap(&(0x7f0000ffe000/0x2000)=nil, 0x2000) syz_sleep_ms(0xfff) syz_test_fuzzer1(0x6, 0x2, 0xb) csource_test.go:151: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #ifndef SYS_foo #define SYS_foo 0 #endif #ifndef SYS_test #define SYS_test 0 #endif static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } static int inject_fault(int nth) { return 0; } static void setup_fault() { } static void thread_start(void* (*fn)(void*), void* arg) { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 128 << 10); int i = 0; for (; i < 100; i++) { if (pthread_create(&th, &attr, fn, arg) == 0) { pthread_attr_destroy(&attr); return; } if (errno == EAGAIN) { usleep(50); continue; } break; } exit(1); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); 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) exit(1); 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_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #define BITMASK(bf_off,bf_len) (((1ull << (bf_len)) - 1) << (bf_off)) #define STORE_BY_BITMASK(type,htobe,addr,val,bf_off,bf_len) *(type*)(addr) = htobe((htobe(*(type*)(addr)) & ~BITMASK((bf_off), (bf_len))) | (((type)(val) << (bf_off)) & BITMASK((bf_off), (bf_len)))) static long syz_mmap(volatile long a0, volatile long a1) { return (long)mmap((void*)a0, a1, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0); } static long syz_errno(volatile long v) { errno = v; return v == 0 ? 0 : -1; } static long syz_exit(volatile long status) { _exit(status); return 0; } static long syz_sleep_ms(volatile long ms) { sleep_ms(ms); return 0; } static long syz_compare(volatile long want, volatile long want_len, volatile long got, volatile long got_len) { if (want_len != got_len) { errno = EBADF; goto error; } if (memcmp((void*)want, (void*)got, want_len)) { errno = EINVAL; goto error; } return 0; error: return -1; } static long syz_compare_int(volatile long n, ...) { va_list args; va_start(args, n); long v0 = va_arg(args, long); long v1 = va_arg(args, long); long v2 = va_arg(args, long); long v3 = va_arg(args, long); va_end(args); if (n < 2 || n > 4) return errno = E2BIG, -1; if (n <= 2 && v2 != 0) return errno = EFAULT, -1; if (n <= 3 && v3 != 0) return errno = EFAULT, -1; if (v0 != v1) return errno = EINVAL, -1; if (n > 2 && v0 != v2) return errno = EINVAL, -1; if (n > 3 && v0 != v3) return errno = EINVAL, -1; return 0; } static void loop(); static int do_sandbox_none(void) { loop(); return 0; } static void fake_crash(const char* name) { exit(1); exit(1); } static long syz_test_fuzzer1(volatile long a, volatile long b, volatile long c) { if (a == 1 && b == 1 && c == 1) fake_crash("first bug"); if (a == 1 && b == 2 && c == 3) fake_crash("second bug"); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } 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; 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_one(void) { int i, call, thread; for (call = 0; call < 18; call++) { for (thread = 0; thread < (int)(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 (call == 1) break; event_timedwait(&th->done, 500); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); static void loop(void) { execute_one(); } void execute_call(int call) { switch (call) { case 0: *(uint64_t*)0x20000ac0 = 0; *(uint64_t*)0x20000ac8 = 0; *(uint64_t*)0x20000ad0 = 0x20000100; *(uint64_t*)0x20000100 = 0x20000000; *(uint64_t*)0x20000000 = 0; *(uint64_t*)0x20000008 = 0; *(uint64_t*)0x20000010 = 0; *(uint64_t*)0x20000018 = 0; *(uint64_t*)0x20000108 = 0x20000040; *(uint64_t*)0x20000040 = 0; *(uint64_t*)0x20000048 = 0; *(uint64_t*)0x20000050 = 0; *(uint64_t*)0x20000058 = 0; *(uint64_t*)0x20000110 = 0x20000080; *(uint64_t*)0x20000080 = 0; *(uint64_t*)0x20000088 = 0; *(uint64_t*)0x20000090 = 0; *(uint64_t*)0x20000098 = 0; *(uint64_t*)0x20000118 = 0x200000c0; *(uint64_t*)0x200000c0 = 0; *(uint64_t*)0x200000c8 = 0; *(uint64_t*)0x200000d0 = 0; *(uint64_t*)0x200000d8 = 0; *(uint64_t*)0x20000ad8 = 0; *(uint64_t*)0x20000ae0 = 0x20000a80; *(uint64_t*)0x20000a80 = 0x20000180; *(uint64_t*)0x20000180 = 0x20000140; *(uint64_t*)0x20000140 = 0; *(uint64_t*)0x20000a88 = 0x200007c0; *(uint64_t*)0x200007c0 = 0x200004c0; *(uint64_t*)0x200004c0 = 0; *(uint64_t*)0x200004c8 = 0x20000480; *(uint64_t*)0x20000480 = 0x20000200; *(uint64_t*)0x20000200 = 0x200001c0; *(uint64_t*)0x200001c0 = 0; *(uint64_t*)0x20000488 = 0; *(uint64_t*)0x20000490 = 0x20000300; *(uint64_t*)0x20000300 = 0; *(uint64_t*)0x20000308 = 0x20000240; *(uint64_t*)0x20000240 = 0; *(uint64_t*)0x20000248 = 0; *(uint64_t*)0x20000250 = 0; *(uint64_t*)0x20000258 = 0; *(uint64_t*)0x20000310 = 0x20000280; *(uint64_t*)0x20000280 = 0; *(uint64_t*)0x20000288 = 0; *(uint64_t*)0x20000290 = 0; *(uint64_t*)0x20000298 = 0; *(uint64_t*)0x20000318 = 0x200002c0; *(uint64_t*)0x200002c0 = 0; *(uint64_t*)0x200002c8 = 0; *(uint64_t*)0x200002d0 = 0; *(uint64_t*)0x200002d8 = 0; *(uint64_t*)0x20000498 = 0x20000440; *(uint64_t*)0x20000440 = 0x20000340; *(uint64_t*)0x20000340 = 0; *(uint64_t*)0x20000348 = 0; *(uint64_t*)0x20000350 = 0; *(uint64_t*)0x20000358 = 0; *(uint64_t*)0x20000448 = 0x20000380; *(uint64_t*)0x20000380 = 0; *(uint64_t*)0x20000388 = 0; *(uint64_t*)0x20000390 = 0; *(uint64_t*)0x20000398 = 0; *(uint64_t*)0x20000450 = 0x200003c0; *(uint64_t*)0x200003c0 = 0; *(uint64_t*)0x200003c8 = 0; *(uint64_t*)0x200003d0 = 0; *(uint64_t*)0x200003d8 = 0; *(uint64_t*)0x20000458 = 0x20000400; *(uint64_t*)0x20000400 = 0; *(uint64_t*)0x20000408 = 0; *(uint64_t*)0x20000410 = 0; *(uint64_t*)0x20000418 = 0; *(uint64_t*)0x200004a0 = 0; *(uint64_t*)0x200004a8 = 0; *(uint64_t*)0x200007c8 = 0x20000780; *(uint64_t*)0x20000780 = 0x20000500; *(uint64_t*)0x20000500 = 0; *(uint64_t*)0x20000788 = 0; *(uint64_t*)0x20000790 = 0x20000600; *(uint64_t*)0x20000600 = 0x20000540; *(uint64_t*)0x20000540 = 0; *(uint64_t*)0x20000548 = 0; *(uint64_t*)0x20000550 = 0; *(uint64_t*)0x20000558 = 0; *(uint64_t*)0x20000608 = 0x20000580; *(uint64_t*)0x20000580 = 0; *(uint64_t*)0x20000588 = 0; *(uint64_t*)0x20000590 = 0; *(uint64_t*)0x20000598 = 0; *(uint64_t*)0x20000610 = 0x200005c0; *(uint64_t*)0x200005c0 = 0; *(uint64_t*)0x200005c8 = 0; *(uint64_t*)0x200005d0 = 0; *(uint64_t*)0x200005d8 = 0; *(uint64_t*)0x20000618 = 0; *(uint64_t*)0x20000798 = 0x20000740; *(uint64_t*)0x20000740 = 0x20000640; *(uint64_t*)0x20000640 = 0; *(uint64_t*)0x20000648 = 0; *(uint64_t*)0x20000650 = 0; *(uint64_t*)0x20000658 = 0; *(uint64_t*)0x20000748 = 0x20000680; *(uint64_t*)0x20000680 = 0; *(uint64_t*)0x20000688 = 0; *(uint64_t*)0x20000690 = 0; *(uint64_t*)0x20000698 = 0; *(uint64_t*)0x20000750 = 0x200006c0; *(uint64_t*)0x200006c0 = 0; *(uint64_t*)0x200006c8 = 0; *(uint64_t*)0x200006d0 = 0; *(uint64_t*)0x200006d8 = 0; *(uint64_t*)0x20000758 = 0x20000700; *(uint64_t*)0x20000700 = 0; *(uint64_t*)0x20000708 = 0; *(uint64_t*)0x20000710 = 0; *(uint64_t*)0x20000718 = 0; *(uint64_t*)0x200007a0 = 0; *(uint64_t*)0x200007a8 = 0; *(uint64_t*)0x20000a90 = 0; *(uint64_t*)0x20000a98 = 0x200008c0; *(uint64_t*)0x200008c0 = 0; *(uint64_t*)0x200008c8 = 0x20000800; *(uint64_t*)0x20000800 = 0; *(uint64_t*)0x20000808 = 0; *(uint64_t*)0x20000810 = 0; *(uint64_t*)0x20000818 = 0; *(uint64_t*)0x200008d0 = 0x20000840; *(uint64_t*)0x20000840 = 0; *(uint64_t*)0x20000848 = 0; *(uint64_t*)0x20000850 = 0; *(uint64_t*)0x20000858 = 0; *(uint64_t*)0x200008d8 = 0x20000880; *(uint64_t*)0x20000880 = 0; *(uint64_t*)0x20000888 = 0; *(uint64_t*)0x20000890 = 0; *(uint64_t*)0x20000898 = 0; *(uint64_t*)0x20000aa0 = 0; *(uint64_t*)0x20000aa8 = 0x20000a40; *(uint64_t*)0x20000a40 = 0; *(uint64_t*)0x20000a48 = 0x20000940; *(uint64_t*)0x20000940 = 0x20000900; *(uint64_t*)0x20000900 = 0; *(uint64_t*)0x20000908 = 0; *(uint64_t*)0x20000948 = 0; *(uint64_t*)0x20000a50 = 0; *(uint64_t*)0x20000a58 = 0x20000a00; *(uint64_t*)0x20000a00 = 0; *(uint64_t*)0x20000a08 = 0x20000980; *(uint64_t*)0x20000980 = 0; *(uint64_t*)0x20000988 = 0; *(uint64_t*)0x20000990 = 0; *(uint64_t*)0x20000998 = 0; *(uint64_t*)0x20000a10 = 0x200009c0; *(uint64_t*)0x200009c0 = 0; *(uint64_t*)0x200009c8 = 0; *(uint64_t*)0x200009d0 = 0; *(uint64_t*)0x200009d8 = 0; *(uint64_t*)0x20000a18 = 0; *(uint64_t*)0x20000a60 = 0; *(uint64_t*)0x20000a68 = 0; *(uint64_t*)0x20000ae8 = 0; inject_fault(1); syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); break; case 1: *(uint64_t*)0x20000b80 = 0x20000b40; *(uint64_t*)0x20000b40 = 0x20000b00; *(uint64_t*)0x20000b00 = 0; syscall(SYS_test, /*a0=*/0x20000b80ul, 0, 0, 0, 0, 0); break; case 2: *(uint64_t*)0x20003440 = 0x20000c00; *(uint64_t*)0x20000c00 = 0x20000bc0; *(uint64_t*)0x20000bc0 = 0; *(uint64_t*)0x20003448 = 0x20001800; *(uint64_t*)0x20001800 = 0x200011c0; *(uint64_t*)0x200011c0 = 0; *(uint64_t*)0x200011c8 = 0x20001180; *(uint64_t*)0x20001180 = 0x20000c80; *(uint64_t*)0x20000c80 = 0x20000c40; *(uint64_t*)0x20000c40 = 0; *(uint64_t*)0x20001188 = 0; *(uint64_t*)0x20001190 = 0x20000d80; *(uint64_t*)0x20000d80 = 0x20000cc0; *(uint64_t*)0x20000cc0 = 0; *(uint64_t*)0x20000cc8 = 0; *(uint64_t*)0x20000cd0 = 0; *(uint64_t*)0x20000cd8 = 0; *(uint64_t*)0x20000d88 = 0x20000d00; *(uint64_t*)0x20000d00 = 0; *(uint64_t*)0x20000d08 = 0; *(uint64_t*)0x20000d10 = 0; *(uint64_t*)0x20000d18 = 0; *(uint64_t*)0x20000d90 = 0; *(uint64_t*)0x20000d98 = 0x20000d40; *(uint64_t*)0x20000d40 = 0; *(uint64_t*)0x20000d48 = 0; *(uint64_t*)0x20000d50 = 0; *(uint64_t*)0x20000d58 = 0; *(uint64_t*)0x20001198 = 0x20000e80; *(uint64_t*)0x20000e80 = 0; *(uint64_t*)0x20000e88 = 0x20000dc0; *(uint64_t*)0x20000dc0 = 0; *(uint64_t*)0x20000dc8 = 0; *(uint64_t*)0x20000dd0 = 0; *(uint64_t*)0x20000dd8 = 0; *(uint64_t*)0x20000e90 = 0x20000e00; *(uint64_t*)0x20000e00 = 0; *(uint64_t*)0x20000e08 = 0; *(uint64_t*)0x20000e10 = 0; *(uint64_t*)0x20000e18 = 0; *(uint64_t*)0x20000e98 = 0x20000e40; *(uint64_t*)0x20000e40 = 0; *(uint64_t*)0x20000e48 = 0; *(uint64_t*)0x20000e50 = 0; *(uint64_t*)0x20000e58 = 0; *(uint64_t*)0x200011a0 = 0x20001140; *(uint64_t*)0x20001140 = 0x20000f00; *(uint64_t*)0x20000f00 = 0x20000ec0; *(uint64_t*)0x20000ec0 = 0; *(uint64_t*)0x20001148 = 0; *(uint64_t*)0x20001150 = 0x20001000; *(uint64_t*)0x20001000 = 0x20000f40; *(uint64_t*)0x20000f40 = 0; *(uint64_t*)0x20000f48 = 0; *(uint64_t*)0x20000f50 = 0; *(uint64_t*)0x20000f58 = 0; *(uint64_t*)0x20001008 = 0; *(uint64_t*)0x20001010 = 0x20000f80; *(uint64_t*)0x20000f80 = 0; *(uint64_t*)0x20000f88 = 0; *(uint64_t*)0x20000f90 = 0; *(uint64_t*)0x20000f98 = 0; *(uint64_t*)0x20001018 = 0x20000fc0; *(uint64_t*)0x20000fc0 = 0; *(uint64_t*)0x20000fc8 = 0; *(uint64_t*)0x20000fd0 = 0; *(uint64_t*)0x20000fd8 = 0; *(uint64_t*)0x20001158 = 0x20001100; *(uint64_t*)0x20001100 = 0x20001040; *(uint64_t*)0x20001040 = 0; *(uint64_t*)0x20001048 = 0; *(uint64_t*)0x20001050 = 0; *(uint64_t*)0x20001058 = 0; *(uint64_t*)0x20001108 = 0x20001080; *(uint64_t*)0x20001080 = 0; *(uint64_t*)0x20001088 = 0; *(uint64_t*)0x20001090 = 0; *(uint64_t*)0x20001098 = 0; *(uint64_t*)0x20001110 = 0; *(uint64_t*)0x20001118 = 0x200010c0; *(uint64_t*)0x200010c0 = 0; *(uint64_t*)0x200010c8 = 0; *(uint64_t*)0x200010d0 = 0; *(uint64_t*)0x200010d8 = 0; *(uint64_t*)0x20001160 = 0; *(uint64_t*)0x20001168 = 0; *(uint64_t*)0x200011a8 = 0; *(uint64_t*)0x20001808 = 0x200017c0; *(uint64_t*)0x200017c0 = 0x20001240; *(uint64_t*)0x20001240 = 0x20001200; *(uint64_t*)0x20001200 = 0; *(uint64_t*)0x200017c8 = 0; *(uint64_t*)0x200017d0 = 0x20001340; *(uint64_t*)0x20001340 = 0x20001280; *(uint64_t*)0x20001280 = 0; *(uint64_t*)0x20001288 = 0; *(uint64_t*)0x20001290 = 0; *(uint64_t*)0x20001298 = 0; *(uint64_t*)0x20001348 = 0x200012c0; *(uint64_t*)0x200012c0 = 0; *(uint64_t*)0x200012c8 = 0; *(uint64_t*)0x200012d0 = 0; *(uint64_t*)0x200012d8 = 0; *(uint64_t*)0x20001350 = 0; *(uint64_t*)0x20001358 = 0x20001300; *(uint64_t*)0x20001300 = 0; *(uint64_t*)0x20001308 = 0; *(uint64_t*)0x20001310 = 0; *(uint64_t*)0x20001318 = 0; *(uint64_t*)0x200017d8 = 0x20001480; *(uint64_t*)0x20001480 = 0x20001380; *(uint64_t*)0x20001380 = 0; *(uint64_t*)0x20001388 = 0; *(uint64_t*)0x20001390 = 0; *(uint64_t*)0x20001398 = 0; *(uint64_t*)0x20001488 = 0x200013c0; *(uint64_t*)0x200013c0 = 0; *(uint64_t*)0x200013c8 = 0; *(uint64_t*)0x200013d0 = 0; *(uint64_t*)0x200013d8 = 0; *(uint64_t*)0x20001490 = 0x20001400; *(uint64_t*)0x20001400 = 0; *(uint64_t*)0x20001408 = 0; *(uint64_t*)0x20001410 = 0; *(uint64_t*)0x20001418 = 0; *(uint64_t*)0x20001498 = 0x20001440; *(uint64_t*)0x20001440 = 0; *(uint64_t*)0x20001448 = 0; *(uint64_t*)0x20001450 = 0; *(uint64_t*)0x20001458 = 0; *(uint64_t*)0x200017e0 = 0x20001780; *(uint64_t*)0x20001780 = 0x20001500; *(uint64_t*)0x20001500 = 0x200014c0; *(uint64_t*)0x200014c0 = 0; *(uint64_t*)0x20001788 = 0; *(uint64_t*)0x20001790 = 0x20001640; *(uint64_t*)0x20001640 = 0x20001540; *(uint64_t*)0x20001540 = 0; *(uint64_t*)0x20001548 = 0; *(uint64_t*)0x20001550 = 0; *(uint64_t*)0x20001558 = 0; *(uint64_t*)0x20001648 = 0x20001580; *(uint64_t*)0x20001580 = 0; *(uint64_t*)0x20001588 = 0; *(uint64_t*)0x20001590 = 0; *(uint64_t*)0x20001598 = 0; *(uint64_t*)0x20001650 = 0x200015c0; *(uint64_t*)0x200015c0 = 0; *(uint64_t*)0x200015c8 = 0; *(uint64_t*)0x200015d0 = 0; *(uint64_t*)0x200015d8 = 0; *(uint64_t*)0x20001658 = 0x20001600; *(uint64_t*)0x20001600 = 0; *(uint64_t*)0x20001608 = 0; *(uint64_t*)0x20001610 = 0; *(uint64_t*)0x20001618 = 0; *(uint64_t*)0x20001798 = 0x20001740; *(uint64_t*)0x20001740 = 0; *(uint64_t*)0x20001748 = 0x20001680; *(uint64_t*)0x20001680 = 0; *(uint64_t*)0x20001688 = 0; *(uint64_t*)0x20001690 = 0; *(uint64_t*)0x20001698 = 0; *(uint64_t*)0x20001750 = 0x200016c0; *(uint64_t*)0x200016c0 = 0; *(uint64_t*)0x200016c8 = 0; *(uint64_t*)0x200016d0 = 0; *(uint64_t*)0x200016d8 = 0; *(uint64_t*)0x20001758 = 0x20001700; *(uint64_t*)0x20001700 = 0; *(uint64_t*)0x20001708 = 0; *(uint64_t*)0x20001710 = 0; *(uint64_t*)0x20001718 = 0; *(uint64_t*)0x200017a0 = 0; *(uint64_t*)0x200017a8 = 0; *(uint64_t*)0x200017e8 = 0; *(uint64_t*)0x20003450 = 0x20001940; *(uint64_t*)0x20001940 = 0x20001840; *(uint64_t*)0x20001840 = 0; *(uint64_t*)0x20001848 = 0; *(uint64_t*)0x20001850 = 0; *(uint64_t*)0x20001858 = 0; *(uint64_t*)0x20001948 = 0x20001880; *(uint64_t*)0x20001880 = 0; *(uint64_t*)0x20001888 = 0; *(uint64_t*)0x20001890 = 0; *(uint64_t*)0x20001898 = 0; *(uint64_t*)0x20001950 = 0x200018c0; *(uint64_t*)0x200018c0 = 0; *(uint64_t*)0x200018c8 = 0; *(uint64_t*)0x200018d0 = 0; *(uint64_t*)0x200018d8 = 0; *(uint64_t*)0x20001958 = 0x20001900; *(uint64_t*)0x20001900 = 0; *(uint64_t*)0x20001908 = 0; *(uint64_t*)0x20001910 = 0; *(uint64_t*)0x20001918 = 0; *(uint64_t*)0x20003458 = 0x20001a40; *(uint64_t*)0x20001a40 = 0x20001980; *(uint64_t*)0x20001980 = 0; *(uint64_t*)0x20001988 = 0; *(uint64_t*)0x20001990 = 0; *(uint64_t*)0x20001998 = 0; *(uint64_t*)0x20001a48 = 0; *(uint64_t*)0x20001a50 = 0x200019c0; *(uint64_t*)0x200019c0 = 0; *(uint64_t*)0x200019c8 = 0; *(uint64_t*)0x200019d0 = 0; *(uint64_t*)0x200019d8 = 0; *(uint64_t*)0x20001a58 = 0x20001a00; *(uint64_t*)0x20001a00 = 0; *(uint64_t*)0x20001a08 = 0; *(uint64_t*)0x20001a10 = 0; *(uint64_t*)0x20001a18 = 0; *(uint64_t*)0x20003460 = 0x20002780; *(uint64_t*)0x20002780 = 0x20001ac0; *(uint64_t*)0x20001ac0 = 0x20001a80; *(uint64_t*)0x20001a80 = 0; *(uint64_t*)0x20002788 = 0x20002140; *(uint64_t*)0x20002140 = 0x20001dc0; *(uint64_t*)0x20001dc0 = 0; *(uint64_t*)0x20001dc8 = 0x20001d80; *(uint64_t*)0x20001d80 = 0x20001b00; *(uint64_t*)0x20001b00 = 0; *(uint64_t*)0x20001d88 = 0; *(uint64_t*)0x20001d90 = 0x20001c00; *(uint64_t*)0x20001c00 = 0x20001b40; *(uint64_t*)0x20001b40 = 0; *(uint64_t*)0x20001b48 = 0; *(uint64_t*)0x20001b50 = 0; *(uint64_t*)0x20001b58 = 0; *(uint64_t*)0x20001c08 = 0; *(uint64_t*)0x20001c10 = 0x20001b80; *(uint64_t*)0x20001b80 = 0; *(uint64_t*)0x20001b88 = 0; *(uint64_t*)0x20001b90 = 0; *(uint64_t*)0x20001b98 = 0; *(uint64_t*)0x20001c18 = 0x20001bc0; *(uint64_t*)0x20001bc0 = 0; *(uint64_t*)0x20001bc8 = 0; *(uint64_t*)0x20001bd0 = 0; *(uint64_t*)0x20001bd8 = 0; *(uint64_t*)0x20001d98 = 0x20001d40; *(uint64_t*)0x20001d40 = 0x20001c40; *(uint64_t*)0x20001c40 = 0; *(uint64_t*)0x20001c48 = 0; *(uint64_t*)0x20001c50 = 0; *(uint64_t*)0x20001c58 = 0; *(uint64_t*)0x20001d48 = 0x20001c80; *(uint64_t*)0x20001c80 = 0; *(uint64_t*)0x20001c88 = 0; *(uint64_t*)0x20001c90 = 0; *(uint64_t*)0x20001c98 = 0; *(uint64_t*)0x20001d50 = 0x20001cc0; *(uint64_t*)0x20001cc0 = 0; *(uint64_t*)0x20001cc8 = 0; *(uint64_t*)0x20001cd0 = 0; *(uint64_t*)0x20001cd8 = 0; *(uint64_t*)0x20001d58 = 0x20001d00; *(uint64_t*)0x20001d00 = 0; *(uint64_t*)0x20001d08 = 0; *(uint64_t*)0x20001d10 = 0; *(uint64_t*)0x20001d18 = 0; *(uint64_t*)0x20001da0 = 0; *(uint64_t*)0x20001da8 = 0; *(uint64_t*)0x20002148 = 0x20002100; *(uint64_t*)0x20002100 = 0x20001e40; *(uint64_t*)0x20001e40 = 0x20001e00; *(uint64_t*)0x20001e00 = 0; *(uint64_t*)0x20002108 = 0x20001e80; *(uint64_t*)0x20001e80 = 0; *(uint64_t*)0x20001e88 = 0; *(uint64_t*)0x20002110 = 0x20001fc0; *(uint64_t*)0x20001fc0 = 0x20001ec0; *(uint64_t*)0x20001ec0 = 0; *(uint64_t*)0x20001ec8 = 0; *(uint64_t*)0x20001ed0 = 0; *(uint64_t*)0x20001ed8 = 0; *(uint64_t*)0x20001fc8 = 0x20001f00; *(uint64_t*)0x20001f00 = 0; *(uint64_t*)0x20001f08 = 0; *(uint64_t*)0x20001f10 = 0; *(uint64_t*)0x20001f18 = 0; *(uint64_t*)0x20001fd0 = 0x20001f40; *(uint64_t*)0x20001f40 = 0; *(uint64_t*)0x20001f48 = 0; *(uint64_t*)0x20001f50 = 0; *(uint64_t*)0x20001f58 = 0; *(uint64_t*)0x20001fd8 = 0x20001f80; *(uint64_t*)0x20001f80 = 0; *(uint64_t*)0x20001f88 = 0; *(uint64_t*)0x20001f90 = 0; *(uint64_t*)0x20001f98 = 0; *(uint64_t*)0x20002118 = 0x200020c0; *(uint64_t*)0x200020c0 = 0x20002000; *(uint64_t*)0x20002000 = 0; *(uint64_t*)0x20002008 = 0; *(uint64_t*)0x20002010 = 0; *(uint64_t*)0x20002018 = 0; *(uint64_t*)0x200020c8 = 0; *(uint64_t*)0x200020d0 = 0x20002040; *(uint64_t*)0x20002040 = 0; *(uint64_t*)0x20002048 = 0; *(uint64_t*)0x20002050 = 0; *(uint64_t*)0x20002058 = 0; *(uint64_t*)0x200020d8 = 0x20002080; *(uint64_t*)0x20002080 = 0; *(uint64_t*)0x20002088 = 0; *(uint64_t*)0x20002090 = 0; *(uint64_t*)0x20002098 = 0; *(uint64_t*)0x20002120 = 0; *(uint64_t*)0x20002128 = 0; *(uint64_t*)0x20002790 = 0x20002280; *(uint64_t*)0x20002280 = 0x20002180; *(uint64_t*)0x20002180 = 0; *(uint64_t*)0x20002188 = 0; *(uint64_t*)0x20002190 = 0; *(uint64_t*)0x20002198 = 0; *(uint64_t*)0x20002288 = 0x200021c0; *(uint64_t*)0x200021c0 = 0; *(uint64_t*)0x200021c8 = 0; *(uint64_t*)0x200021d0 = 0; *(uint64_t*)0x200021d8 = 0; *(uint64_t*)0x20002290 = 0x20002200; *(uint64_t*)0x20002200 = 0; *(uint64_t*)0x20002208 = 0; *(uint64_t*)0x20002210 = 0; *(uint64_t*)0x20002218 = 0; *(uint64_t*)0x20002298 = 0x20002240; *(uint64_t*)0x20002240 = 0; *(uint64_t*)0x20002248 = 0; *(uint64_t*)0x20002250 = 0; *(uint64_t*)0x20002258 = 0; *(uint64_t*)0x20002798 = 0x200023c0; *(uint64_t*)0x200023c0 = 0x200022c0; *(uint64_t*)0x200022c0 = 0; *(uint64_t*)0x200022c8 = 0; *(uint64_t*)0x200022d0 = 0; *(uint64_t*)0x200022d8 = 0; *(uint64_t*)0x200023c8 = 0x20002300; *(uint64_t*)0x20002300 = 0; *(uint64_t*)0x20002308 = 0; *(uint64_t*)0x20002310 = 0; *(uint64_t*)0x20002318 = 0; *(uint64_t*)0x200023d0 = 0x20002340; *(uint64_t*)0x20002340 = 0; *(uint64_t*)0x20002348 = 0; *(uint64_t*)0x20002350 = 0; *(uint64_t*)0x20002358 = 0; *(uint64_t*)0x200023d8 = 0x20002380; *(uint64_t*)0x20002380 = 0; *(uint64_t*)0x20002388 = 0; *(uint64_t*)0x20002390 = 0; *(uint64_t*)0x20002398 = 0; *(uint64_t*)0x200027a0 = 0x200024c0; *(uint64_t*)0x200024c0 = 0x20002440; *(uint64_t*)0x20002440 = 0x20002400; *(uint64_t*)0x20002400 = 0; *(uint64_t*)0x200024c8 = 0x20002480; *(uint64_t*)0x20002480 = 0; *(uint64_t*)0x20002488 = 0; *(uint64_t*)0x200024d0 = 0; *(uint64_t*)0x200024d8 = 0; *(uint64_t*)0x200024e0 = 0; *(uint64_t*)0x200024e8 = 0; *(uint64_t*)0x200027a8 = 0x20002740; *(uint64_t*)0x20002740 = 0x20002540; *(uint64_t*)0x20002540 = 0x20002500; *(uint64_t*)0x20002500 = 0; *(uint64_t*)0x20002748 = 0x200025c0; *(uint64_t*)0x200025c0 = 0x20002580; *(uint64_t*)0x20002580 = 0; *(uint64_t*)0x20002588 = 0; *(uint64_t*)0x200025c8 = 0; *(uint64_t*)0x20002750 = 0; *(uint64_t*)0x20002758 = 0x20002700; *(uint64_t*)0x20002700 = 0x20002600; *(uint64_t*)0x20002600 = 0; *(uint64_t*)0x20002608 = 0; *(uint64_t*)0x20002610 = 0; *(uint64_t*)0x20002618 = 0; *(uint64_t*)0x20002708 = 0x20002640; *(uint64_t*)0x20002640 = 0; *(uint64_t*)0x20002648 = 0; *(uint64_t*)0x20002650 = 0; *(uint64_t*)0x20002658 = 0; *(uint64_t*)0x20002710 = 0x20002680; *(uint64_t*)0x20002680 = 0; *(uint64_t*)0x20002688 = 0; *(uint64_t*)0x20002690 = 0; *(uint64_t*)0x20002698 = 0; *(uint64_t*)0x20002718 = 0x200026c0; *(uint64_t*)0x200026c0 = 0; *(uint64_t*)0x200026c8 = 0; *(uint64_t*)0x200026d0 = 0; *(uint64_t*)0x200026d8 = 0; *(uint64_t*)0x20002760 = 0; *(uint64_t*)0x20002768 = 0; *(uint64_t*)0x20003468 = 0x20003400; *(uint64_t*)0x20003400 = 0x20002800; *(uint64_t*)0x20002800 = 0x200027c0; *(uint64_t*)0x200027c0 = 0; *(uint64_t*)0x20003408 = 0x20002b80; *(uint64_t*)0x20002b80 = 0x20002900; *(uint64_t*)0x20002900 = 0; *(uint64_t*)0x20002908 = 0x200028c0; *(uint64_t*)0x200028c0 = 0x20002880; *(uint64_t*)0x20002880 = 0x20002840; *(uint64_t*)0x20002840 = 0; *(uint64_t*)0x200028c8 = 0; *(uint64_t*)0x200028d0 = 0; *(uint64_t*)0x200028d8 = 0; *(uint64_t*)0x200028e0 = 0; *(uint64_t*)0x200028e8 = 0; *(uint64_t*)0x20002b88 = 0x20002b40; *(uint64_t*)0x20002b40 = 0x20002980; *(uint64_t*)0x20002980 = 0x20002940; *(uint64_t*)0x20002940 = 0; *(uint64_t*)0x20002b48 = 0x200029c0; *(uint64_t*)0x200029c0 = 0; *(uint64_t*)0x200029c8 = 0; *(uint64_t*)0x20002b50 = 0x20002b00; *(uint64_t*)0x20002b00 = 0x20002a00; *(uint64_t*)0x20002a00 = 0; *(uint64_t*)0x20002a08 = 0; *(uint64_t*)0x20002a10 = 0; *(uint64_t*)0x20002a18 = 0; *(uint64_t*)0x20002b08 = 0x20002a40; *(uint64_t*)0x20002a40 = 0; *(uint64_t*)0x20002a48 = 0; *(uint64_t*)0x20002a50 = 0; *(uint64_t*)0x20002a58 = 0; *(uint64_t*)0x20002b10 = 0x20002a80; *(uint64_t*)0x20002a80 = 0; *(uint64_t*)0x20002a88 = 0; *(uint64_t*)0x20002a90 = 0; *(uint64_t*)0x20002a98 = 0; *(uint64_t*)0x20002b18 = 0x20002ac0; *(uint64_t*)0x20002ac0 = 0; *(uint64_t*)0x20002ac8 = 0; *(uint64_t*)0x20002ad0 = 0; *(uint64_t*)0x20002ad8 = 0; *(uint64_t*)0x20002b58 = 0; *(uint64_t*)0x20002b60 = 0; *(uint64_t*)0x20002b68 = 0; *(uint64_t*)0x20003410 = 0x20002cc0; *(uint64_t*)0x20002cc0 = 0x20002bc0; *(uint64_t*)0x20002bc0 = 0; *(uint64_t*)0x20002bc8 = 0; *(uint64_t*)0x20002bd0 = 0; *(uint64_t*)0x20002bd8 = 0; *(uint64_t*)0x20002cc8 = 0x20002c00; *(uint64_t*)0x20002c00 = 0; *(uint64_t*)0x20002c08 = 0; *(uint64_t*)0x20002c10 = 0; *(uint64_t*)0x20002c18 = 0; *(uint64_t*)0x20002cd0 = 0x20002c40; *(uint64_t*)0x20002c40 = 0; *(uint64_t*)0x20002c48 = 0; *(uint64_t*)0x20002c50 = 0; *(uint64_t*)0x20002c58 = 0; *(uint64_t*)0x20002cd8 = 0x20002c80; *(uint64_t*)0x20002c80 = 0; *(uint64_t*)0x20002c88 = 0; *(uint64_t*)0x20002c90 = 0; *(uint64_t*)0x20002c98 = 0; *(uint64_t*)0x20003418 = 0x20002e00; *(uint64_t*)0x20002e00 = 0x20002d00; *(uint64_t*)0x20002d00 = 0; *(uint64_t*)0x20002d08 = 0; *(uint64_t*)0x20002d10 = 0; *(uint64_t*)0x20002d18 = 0; *(uint64_t*)0x20002e08 = 0x20002d40; *(uint64_t*)0x20002d40 = 0; *(uint64_t*)0x20002d48 = 0; *(uint64_t*)0x20002d50 = 0; *(uint64_t*)0x20002d58 = 0; *(uint64_t*)0x20002e10 = 0x20002d80; *(uint64_t*)0x20002d80 = 0; *(uint64_t*)0x20002d88 = 0; *(uint64_t*)0x20002d90 = 0; *(uint64_t*)0x20002d98 = 0; *(uint64_t*)0x20002e18 = 0x20002dc0; *(uint64_t*)0x20002dc0 = 0; *(uint64_t*)0x20002dc8 = 0; *(uint64_t*)0x20002dd0 = 0; *(uint64_t*)0x20002dd8 = 0; *(uint64_t*)0x20003420 = 0x20003180; *(uint64_t*)0x20003180 = 0x20002e80; *(uint64_t*)0x20002e80 = 0x20002e40; *(uint64_t*)0x20002e40 = 0; *(uint64_t*)0x20003188 = 0x20002f00; *(uint64_t*)0x20002f00 = 0x20002ec0; *(uint64_t*)0x20002ec0 = 0; *(uint64_t*)0x20002ec8 = 0; *(uint64_t*)0x20002f08 = 0; *(uint64_t*)0x20003190 = 0x20003000; *(uint64_t*)0x20003000 = 0; *(uint64_t*)0x20003008 = 0x20002f40; *(uint64_t*)0x20002f40 = 0; *(uint64_t*)0x20002f48 = 0; *(uint64_t*)0x20002f50 = 0; *(uint64_t*)0x20002f58 = 0; *(uint64_t*)0x20003010 = 0x20002f80; *(uint64_t*)0x20002f80 = 0; *(uint64_t*)0x20002f88 = 0; *(uint64_t*)0x20002f90 = 0; *(uint64_t*)0x20002f98 = 0; *(uint64_t*)0x20003018 = 0x20002fc0; *(uint64_t*)0x20002fc0 = 0; *(uint64_t*)0x20002fc8 = 0; *(uint64_t*)0x20002fd0 = 0; *(uint64_t*)0x20002fd8 = 0; *(uint64_t*)0x20003198 = 0x20003140; *(uint64_t*)0x20003140 = 0x20003040; *(uint64_t*)0x20003040 = 0; *(uint64_t*)0x20003048 = 0; *(uint64_t*)0x20003050 = 0; *(uint64_t*)0x20003058 = 0; *(uint64_t*)0x20003148 = 0x20003080; *(uint64_t*)0x20003080 = 0; *(uint64_t*)0x20003088 = 0; *(uint64_t*)0x20003090 = 0; *(uint64_t*)0x20003098 = 0; *(uint64_t*)0x20003150 = 0x200030c0; *(uint64_t*)0x200030c0 = 0; *(uint64_t*)0x200030c8 = 0; *(uint64_t*)0x200030d0 = 0; *(uint64_t*)0x200030d8 = 0; *(uint64_t*)0x20003158 = 0x20003100; *(uint64_t*)0x20003100 = 0; *(uint64_t*)0x20003108 = 0; *(uint64_t*)0x20003110 = 0; *(uint64_t*)0x20003118 = 0; *(uint64_t*)0x200031a0 = 0; *(uint64_t*)0x200031a8 = 0; *(uint64_t*)0x20003428 = 0x200033c0; *(uint64_t*)0x200033c0 = 0x20003200; *(uint64_t*)0x20003200 = 0x200031c0; *(uint64_t*)0x200031c0 = 0; *(uint64_t*)0x200033c8 = 0x20003240; *(uint64_t*)0x20003240 = 0; *(uint64_t*)0x20003248 = 0; *(uint64_t*)0x200033d0 = 0x20003380; *(uint64_t*)0x20003380 = 0x20003280; *(uint64_t*)0x20003280 = 0; *(uint64_t*)0x20003288 = 0; *(uint64_t*)0x20003290 = 0; *(uint64_t*)0x20003298 = 0; *(uint64_t*)0x20003388 = 0x200032c0; *(uint64_t*)0x200032c0 = 0; *(uint64_t*)0x200032c8 = 0; *(uint64_t*)0x200032d0 = 0; *(uint64_t*)0x200032d8 = 0; *(uint64_t*)0x20003390 = 0x20003300; *(uint64_t*)0x20003300 = 0; *(uint64_t*)0x20003308 = 0; *(uint64_t*)0x20003310 = 0; *(uint64_t*)0x20003318 = 0; *(uint64_t*)0x20003398 = 0x20003340; *(uint64_t*)0x20003340 = 0; *(uint64_t*)0x20003348 = 0; *(uint64_t*)0x20003350 = 0; *(uint64_t*)0x20003358 = 0; *(uint64_t*)0x200033d8 = 0; *(uint64_t*)0x200033e0 = 0; *(uint64_t*)0x200033e8 = 0; syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); { int i; for(i = 0; i < 4; i++) { syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); } } break; case 3: *(uint8_t*)0x20003480 = 0xcf; syscall(SYS_test, /*a=*/0x20003480ul, 0, 0, 0, 0, 0); break; case 4: syscall(SYS_test, 0, 0, 0, 0, 0, 0); break; case 5: *(uint64_t*)0x20004ac0 = 0x20003f40; *(uint64_t*)0x20003f40 = 0x200034c0; *(uint64_t*)0x200034c0 = 0; *(uint64_t*)0x200034c8 = 0; *(uint64_t*)0x20003f48 = 0x20003f00; *(uint64_t*)0x20003f00 = 0x20003540; *(uint64_t*)0x20003540 = 0x20003500; *(uint64_t*)0x20003500 = 0; *(uint64_t*)0x20003f08 = 0x200038c0; *(uint64_t*)0x200038c0 = 0; *(uint64_t*)0x200038c8 = 0x20003880; *(uint64_t*)0x20003880 = 0x200035c0; *(uint64_t*)0x200035c0 = 0x20003580; *(uint64_t*)0x20003580 = 0; *(uint64_t*)0x20003888 = 0; *(uint64_t*)0x20003890 = 0x20003700; *(uint64_t*)0x20003700 = 0x20003600; *(uint64_t*)0x20003600 = 0; *(uint64_t*)0x20003608 = 0; *(uint64_t*)0x20003610 = 0; *(uint64_t*)0x20003618 = 0; *(uint64_t*)0x20003708 = 0x20003640; *(uint64_t*)0x20003640 = 0; *(uint64_t*)0x20003648 = 0; *(uint64_t*)0x20003650 = 0; *(uint64_t*)0x20003658 = 0; *(uint64_t*)0x20003710 = 0x20003680; *(uint64_t*)0x20003680 = 0; *(uint64_t*)0x20003688 = 0; *(uint64_t*)0x20003690 = 0; *(uint64_t*)0x20003698 = 0; *(uint64_t*)0x20003718 = 0x200036c0; *(uint64_t*)0x200036c0 = 0; *(uint64_t*)0x200036c8 = 0; *(uint64_t*)0x200036d0 = 0; *(uint64_t*)0x200036d8 = 0; *(uint64_t*)0x20003898 = 0x20003840; *(uint64_t*)0x20003840 = 0x20003740; *(uint64_t*)0x20003740 = 0; *(uint64_t*)0x20003748 = 0; *(uint64_t*)0x20003750 = 0; *(uint64_t*)0x20003758 = 0; *(uint64_t*)0x20003848 = 0x20003780; *(uint64_t*)0x20003780 = 0; *(uint64_t*)0x20003788 = 0; *(uint64_t*)0x20003790 = 0; *(uint64_t*)0x20003798 = 0; *(uint64_t*)0x20003850 = 0x200037c0; *(uint64_t*)0x200037c0 = 0; *(uint64_t*)0x200037c8 = 0; *(uint64_t*)0x200037d0 = 0; *(uint64_t*)0x200037d8 = 0; *(uint64_t*)0x20003858 = 0x20003800; *(uint64_t*)0x20003800 = 0; *(uint64_t*)0x20003808 = 0; *(uint64_t*)0x20003810 = 0; *(uint64_t*)0x20003818 = 0; *(uint64_t*)0x200038a0 = 0; *(uint64_t*)0x200038a8 = 0; *(uint64_t*)0x20003f10 = 0x200039c0; *(uint64_t*)0x200039c0 = 0; *(uint64_t*)0x200039c8 = 0x20003900; *(uint64_t*)0x20003900 = 0; *(uint64_t*)0x20003908 = 0; *(uint64_t*)0x20003910 = 0; *(uint64_t*)0x20003918 = 0; *(uint64_t*)0x200039d0 = 0x20003940; *(uint64_t*)0x20003940 = 0; *(uint64_t*)0x20003948 = 0; *(uint64_t*)0x20003950 = 0; *(uint64_t*)0x20003958 = 0; *(uint64_t*)0x200039d8 = 0x20003980; *(uint64_t*)0x20003980 = 0; *(uint64_t*)0x20003988 = 0; *(uint64_t*)0x20003990 = 0; *(uint64_t*)0x20003998 = 0; *(uint64_t*)0x20003f18 = 0x20003ac0; *(uint64_t*)0x20003ac0 = 0x20003a00; *(uint64_t*)0x20003a00 = 0; *(uint64_t*)0x20003a08 = 0; *(uint64_t*)0x20003a10 = 0; *(uint64_t*)0x20003a18 = 0; *(uint64_t*)0x20003ac8 = 0x20003a40; *(uint64_t*)0x20003a40 = 0; *(uint64_t*)0x20003a48 = 0; *(uint64_t*)0x20003a50 = 0; *(uint64_t*)0x20003a58 = 0; *(uint64_t*)0x20003ad0 = 0x20003a80; *(uint64_t*)0x20003a80 = 0; *(uint64_t*)0x20003a88 = 0; *(uint64_t*)0x20003a90 = 0; *(uint64_t*)0x20003a98 = 0; *(uint64_t*)0x20003ad8 = 0; *(uint64_t*)0x20003f20 = 0x20003d80; *(uint64_t*)0x20003d80 = 0x20003b40; *(uint64_t*)0x20003b40 = 0x20003b00; *(uint64_t*)0x20003b00 = 0; *(uint64_t*)0x20003d88 = 0x20003b80; *(uint64_t*)0x20003b80 = 0; *(uint64_t*)0x20003b88 = 0; *(uint64_t*)0x20003d90 = 0x20003c40; *(uint64_t*)0x20003c40 = 0; *(uint64_t*)0x20003c48 = 0; *(uint64_t*)0x20003c50 = 0x20003bc0; *(uint64_t*)0x20003bc0 = 0; *(uint64_t*)0x20003bc8 = 0; *(uint64_t*)0x20003bd0 = 0; *(uint64_t*)0x20003bd8 = 0; *(uint64_t*)0x20003c58 = 0x20003c00; *(uint64_t*)0x20003c00 = 0; *(uint64_t*)0x20003c08 = 0; *(uint64_t*)0x20003c10 = 0; *(uint64_t*)0x20003c18 = 0; *(uint64_t*)0x20003d98 = 0x20003d40; *(uint64_t*)0x20003d40 = 0x20003c80; *(uint64_t*)0x20003c80 = 0; *(uint64_t*)0x20003c88 = 0; *(uint64_t*)0x20003c90 = 0; *(uint64_t*)0x20003c98 = 0; *(uint64_t*)0x20003d48 = 0x20003cc0; *(uint64_t*)0x20003cc0 = 0; *(uint64_t*)0x20003cc8 = 0; *(uint64_t*)0x20003cd0 = 0; *(uint64_t*)0x20003cd8 = 0; *(uint64_t*)0x20003d50 = 0x20003d00; *(uint64_t*)0x20003d00 = 0; *(uint64_t*)0x20003d08 = 0; *(uint64_t*)0x20003d10 = 0; *(uint64_t*)0x20003d18 = 0; *(uint64_t*)0x20003d58 = 0; *(uint64_t*)0x20003da0 = 0; *(uint64_t*)0x20003da8 = 0; *(uint64_t*)0x20003f28 = 0x20003ec0; *(uint64_t*)0x20003ec0 = 0; *(uint64_t*)0x20003ec8 = 0x20003dc0; *(uint64_t*)0x20003dc0 = 0; *(uint64_t*)0x20003dc8 = 0; *(uint64_t*)0x20003ed0 = 0; *(uint64_t*)0x20003ed8 = 0x20003e80; *(uint64_t*)0x20003e80 = 0; *(uint64_t*)0x20003e88 = 0; *(uint64_t*)0x20003e90 = 0x20003e00; *(uint64_t*)0x20003e00 = 0; *(uint64_t*)0x20003e08 = 0; *(uint64_t*)0x20003e10 = 0; *(uint64_t*)0x20003e18 = 0; *(uint64_t*)0x20003e98 = 0x20003e40; *(uint64_t*)0x20003e40 = 0; *(uint64_t*)0x20003e48 = 0; *(uint64_t*)0x20003e50 = 0; *(uint64_t*)0x20003e58 = 0; *(uint64_t*)0x20003ee0 = 0; *(uint64_t*)0x20003ee8 = 0; *(uint64_t*)0x20004ac8 = 0x20004a80; *(uint64_t*)0x20004a80 = 0x20003fc0; *(uint64_t*)0x20003fc0 = 0x20003f80; *(uint64_t*)0x20003f80 = 0; *(uint64_t*)0x20004a88 = 0x20004280; *(uint64_t*)0x20004280 = 0x20004000; *(uint64_t*)0x20004000 = 0; *(uint64_t*)0x20004008 = 0; *(uint64_t*)0x20004288 = 0x20004240; *(uint64_t*)0x20004240 = 0; *(uint64_t*)0x20004248 = 0x20004040; *(uint64_t*)0x20004040 = 0; *(uint64_t*)0x20004048 = 0; *(uint64_t*)0x20004250 = 0x20004100; *(uint64_t*)0x20004100 = 0x20004080; *(uint64_t*)0x20004080 = 0; *(uint64_t*)0x20004088 = 0; *(uint64_t*)0x20004090 = 0; *(uint64_t*)0x20004098 = 0; *(uint64_t*)0x20004108 = 0; *(uint64_t*)0x20004110 = 0x200040c0; *(uint64_t*)0x200040c0 = 0; *(uint64_t*)0x200040c8 = 0; *(uint64_t*)0x200040d0 = 0; *(uint64_t*)0x200040d8 = 0; *(uint64_t*)0x20004118 = 0; *(uint64_t*)0x20004258 = 0x20004200; *(uint64_t*)0x20004200 = 0x20004140; *(uint64_t*)0x20004140 = 0; *(uint64_t*)0x20004148 = 0; *(uint64_t*)0x20004150 = 0; *(uint64_t*)0x20004158 = 0; *(uint64_t*)0x20004208 = 0x20004180; *(uint64_t*)0x20004180 = 0; *(uint64_t*)0x20004188 = 0; *(uint64_t*)0x20004190 = 0; *(uint64_t*)0x20004198 = 0; *(uint64_t*)0x20004210 = 0x200041c0; *(uint64_t*)0x200041c0 = 0; *(uint64_t*)0x200041c8 = 0; *(uint64_t*)0x200041d0 = 0; *(uint64_t*)0x200041d8 = 0; *(uint64_t*)0x20004218 = 0; *(uint64_t*)0x20004260 = 0; *(uint64_t*)0x20004268 = 0; *(uint64_t*)0x20004a90 = 0x200043c0; *(uint64_t*)0x200043c0 = 0x200042c0; *(uint64_t*)0x200042c0 = 0; *(uint64_t*)0x200042c8 = 0; *(uint64_t*)0x200042d0 = 0; *(uint64_t*)0x200042d8 = 0; *(uint64_t*)0x200043c8 = 0x20004300; *(uint64_t*)0x20004300 = 0; *(uint64_t*)0x20004308 = 0; *(uint64_t*)0x20004310 = 0; *(uint64_t*)0x20004318 = 0; *(uint64_t*)0x200043d0 = 0x20004340; *(uint64_t*)0x20004340 = 0; *(uint64_t*)0x20004348 = 0; *(uint64_t*)0x20004350 = 0; *(uint64_t*)0x20004358 = 0; *(uint64_t*)0x200043d8 = 0x20004380; *(uint64_t*)0x20004380 = 0; *(uint64_t*)0x20004388 = 0; *(uint64_t*)0x20004390 = 0; *(uint64_t*)0x20004398 = 0; *(uint64_t*)0x20004a98 = 0x20004500; *(uint64_t*)0x20004500 = 0x20004400; *(uint64_t*)0x20004400 = 0; *(uint64_t*)0x20004408 = 0; *(uint64_t*)0x20004410 = 0; *(uint64_t*)0x20004418 = 0; *(uint64_t*)0x20004508 = 0x20004440; *(uint64_t*)0x20004440 = 0; *(uint64_t*)0x20004448 = 0; *(uint64_t*)0x20004450 = 0; *(uint64_t*)0x20004458 = 0; *(uint64_t*)0x20004510 = 0x20004480; *(uint64_t*)0x20004480 = 0; *(uint64_t*)0x20004488 = 0; *(uint64_t*)0x20004490 = 0; *(uint64_t*)0x20004498 = 0; *(uint64_t*)0x20004518 = 0x200044c0; *(uint64_t*)0x200044c0 = 0; *(uint64_t*)0x200044c8 = 0; *(uint64_t*)0x200044d0 = 0; *(uint64_t*)0x200044d8 = 0; *(uint64_t*)0x20004aa0 = 0x20004800; *(uint64_t*)0x20004800 = 0x20004580; *(uint64_t*)0x20004580 = 0x20004540; *(uint64_t*)0x20004540 = 0; *(uint64_t*)0x20004808 = 0x20004600; *(uint64_t*)0x20004600 = 0x200045c0; *(uint64_t*)0x200045c0 = 0; *(uint64_t*)0x200045c8 = 0; *(uint64_t*)0x20004608 = 0; *(uint64_t*)0x20004810 = 0x200046c0; *(uint64_t*)0x200046c0 = 0x20004640; *(uint64_t*)0x20004640 = 0; *(uint64_t*)0x20004648 = 0; *(uint64_t*)0x20004650 = 0; *(uint64_t*)0x20004658 = 0; *(uint64_t*)0x200046c8 = 0; *(uint64_t*)0x200046d0 = 0x20004680; *(uint64_t*)0x20004680 = 0; *(uint64_t*)0x20004688 = 0; *(uint64_t*)0x20004690 = 0; *(uint64_t*)0x20004698 = 0; *(uint64_t*)0x200046d8 = 0; *(uint64_t*)0x20004818 = 0x200047c0; *(uint64_t*)0x200047c0 = 0; *(uint64_t*)0x200047c8 = 0x20004700; *(uint64_t*)0x20004700 = 0; *(uint64_t*)0x20004708 = 0; *(uint64_t*)0x20004710 = 0; *(uint64_t*)0x20004718 = 0; *(uint64_t*)0x200047d0 = 0x20004740; *(uint64_t*)0x20004740 = 0; *(uint64_t*)0x20004748 = 0; *(uint64_t*)0x20004750 = 0; *(uint64_t*)0x20004758 = 0; *(uint64_t*)0x200047d8 = 0x20004780; *(uint64_t*)0x20004780 = 0; *(uint64_t*)0x20004788 = 0; *(uint64_t*)0x20004790 = 0; *(uint64_t*)0x20004798 = 0; *(uint64_t*)0x20004820 = 0; *(uint64_t*)0x20004828 = 0; *(uint64_t*)0x20004aa8 = 0x20004a40; *(uint64_t*)0x20004a40 = 0x20004880; *(uint64_t*)0x20004880 = 0x20004840; *(uint64_t*)0x20004840 = 0; *(uint64_t*)0x20004a48 = 0x20004900; *(uint64_t*)0x20004900 = 0x200048c0; *(uint64_t*)0x200048c0 = 0; *(uint64_t*)0x200048c8 = 0; *(uint64_t*)0x20004908 = 0; *(uint64_t*)0x20004a50 = 0x20004a00; *(uint64_t*)0x20004a00 = 0x20004940; *(uint64_t*)0x20004940 = 0; *(uint64_t*)0x20004948 = 0; *(uint64_t*)0x20004950 = 0; *(uint64_t*)0x20004958 = 0; *(uint64_t*)0x20004a08 = 0; *(uint64_t*)0x20004a10 = 0x20004980; *(uint64_t*)0x20004980 = 0; *(uint64_t*)0x20004988 = 0; *(uint64_t*)0x20004990 = 0; *(uint64_t*)0x20004998 = 0; *(uint64_t*)0x20004a18 = 0x200049c0; *(uint64_t*)0x200049c0 = 0; *(uint64_t*)0x200049c8 = 0; *(uint64_t*)0x200049d0 = 0; *(uint64_t*)0x200049d8 = 0; *(uint64_t*)0x20004a58 = 0; *(uint64_t*)0x20004a60 = 0; *(uint64_t*)0x20004a68 = 0; syscall(SYS_test, /*a0=*/0x20004ac0ul, 0, 0, 0, 0, 0); break; case 6: *(uint8_t*)0x20004b00 = 4; *(uint16_t*)0x20004b01 = 5; *(uint16_t*)0x20004b03 = 0x400; *(uint64_t*)0x20004b05 = 0xcf; syscall(SYS_test, /*a0=*/0x20004b00ul, 0, 0, 0, 0, 0); break; case 7: sprintf((char*)0x20004b40, "0x%016llx", (long long)0); syscall(SYS_foo, /*a=*/0x20004b40ul, 0, 0); break; case 8: *(uint8_t*)0x20004b80 = 5; syscall(SYS_test, /*a=*/0x20004b80ul, 0, 0, 0, 0, 0); break; case 9: *(uint64_t*)0x20004bc0 = 0x1000; syscall(SYS_test, /*a0=*/0x20004bc0ul, 0, 0, 0, 0, 0); break; case 10: memcpy((void*)0x20000000, "-\000", 2); *(uint8_t*)0x20000040 = 0xc0; *(uint16_t*)0x20000044 = 0; STORE_BY_BITMASK(uint32_t, , 0x20000044, 0x24b, 16, 12); STORE_BY_BITMASK(uint32_t, , 0x20000048, 0x380, 0, 12); syz_compare(/*want=*/0x20000000, /*want_len=*/2, /*got=*/0x20000040, /*got_len=*/0xc); break; case 11: syz_compare_int(/*n=*/2, /*v0=*/0xb584, /*v1=*/5, 0, 0); break; case 12: syz_errno(/*v=*/4); break; case 13: memcpy((void*)0x20000080, "\x68\x5d\xce\x50\x3a\x1d\x0b\x65\x7c\x26\x0c\x9d\x19\x4b\x3f\x80\x96\x20\xfd\xde\x60\xc9\x72\xd0\x38\x09\x53\x6f\x2c\xe0\x02\x02\x78\x7c\x45\xc6\x51\xd1\xfc\xe2\x48\x7a\x3d\x34\xca\xac\x04\x9f\xee\x28", 50); syz_execute_func(/*text=*/0x20000080); break; case 14: syz_exit(/*status=*/4); break; case 15: syz_mmap(/*addr=*/0x20ffe000, /*len=*/0x2000); break; case 16: syz_sleep_ms(/*ms=*/0xfff); break; case 17: syz_test_fuzzer1(/*a=*/6, /*b=*/2, /*c=*/0xb); break; } } int main(void) { syz_mmap(/*addr=*/0x20000000, /*len=*/0x1000000); setup_fault(); use_temporary_dir(); do_sandbox_none(); return 0; } :467:3: error: call to undeclared function 'syscall'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); ^ 1 error generated. compiler invocation: c++ [-o /tmp/syz-executor72407272 -DGOOS_test=1 -DGOARCH_64=1 -DHOSTGOOS_openbsd=1 -x c - -m64 -lutil -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-array-bounds -Wno-unused-but-set-variable -Wno-unused-command-line-argument -no-pie -fno-exceptions] --- FAIL: TestGenerate/test/64/0 (1.69s) csource_test.go:150: opts: {Threaded:false Repeat:true RepeatTimes:0 Procs:0 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:false Repro:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: test$recur2(&(0x7f0000000ac0)={0x0, 0x0, &(0x7f0000000100)={&(0x7f0000000000), &(0x7f0000000040), &(0x7f0000000080), &(0x7f00000000c0)}, 0x0, &(0x7f0000000a80)={&(0x7f0000000180)={&(0x7f0000000140)}, &(0x7f00000007c0)={&(0x7f00000004c0)={0x0, &(0x7f0000000480)={&(0x7f0000000200)={&(0x7f00000001c0)}, 0x0, &(0x7f0000000300)={0x0, &(0x7f0000000240), &(0x7f0000000280), &(0x7f00000002c0)}, &(0x7f0000000440)={&(0x7f0000000340), &(0x7f0000000380), &(0x7f00000003c0), &(0x7f0000000400)}}}, &(0x7f0000000780)={&(0x7f0000000500), 0x0, &(0x7f0000000600)={&(0x7f0000000540), &(0x7f0000000580), &(0x7f00000005c0)}, &(0x7f0000000740)={&(0x7f0000000640), &(0x7f0000000680), &(0x7f00000006c0), &(0x7f0000000700)}}}, 0x0, &(0x7f00000008c0)={0x0, &(0x7f0000000800), &(0x7f0000000840), &(0x7f0000000880)}, 0x0, &(0x7f0000000a40)={0x0, &(0x7f0000000940)={&(0x7f0000000900)}, 0x0, &(0x7f0000000a00)={0x0, &(0x7f0000000980), &(0x7f00000009c0)}}}}) (fail_nth: 1) test$recur0(&(0x7f0000000b80)={&(0x7f0000000b40)={&(0x7f0000000b00)}}) (async) test$recur2(&(0x7f0000003440)={&(0x7f0000000c00)={&(0x7f0000000bc0)}, &(0x7f0000001800)={&(0x7f00000011c0)={0x0, &(0x7f0000001180)={&(0x7f0000000c80)={&(0x7f0000000c40)}, 0x0, &(0x7f0000000d80)={&(0x7f0000000cc0), &(0x7f0000000d00), 0x0, &(0x7f0000000d40)}, &(0x7f0000000e80)={0x0, &(0x7f0000000dc0), &(0x7f0000000e00), &(0x7f0000000e40)}, &(0x7f0000001140)={&(0x7f0000000f00)={&(0x7f0000000ec0)}, 0x0, &(0x7f0000001000)={&(0x7f0000000f40), 0x0, &(0x7f0000000f80), &(0x7f0000000fc0)}, &(0x7f0000001100)={&(0x7f0000001040), &(0x7f0000001080), 0x0, &(0x7f00000010c0)}}}}, &(0x7f00000017c0)={&(0x7f0000001240)={&(0x7f0000001200)}, 0x0, &(0x7f0000001340)={&(0x7f0000001280), &(0x7f00000012c0), 0x0, &(0x7f0000001300)}, &(0x7f0000001480)={&(0x7f0000001380), &(0x7f00000013c0), &(0x7f0000001400), &(0x7f0000001440)}, &(0x7f0000001780)={&(0x7f0000001500)={&(0x7f00000014c0)}, 0x0, &(0x7f0000001640)={&(0x7f0000001540), &(0x7f0000001580), &(0x7f00000015c0), &(0x7f0000001600)}, &(0x7f0000001740)={0x0, &(0x7f0000001680), &(0x7f00000016c0), &(0x7f0000001700)}}}}, &(0x7f0000001940)={&(0x7f0000001840), &(0x7f0000001880), &(0x7f00000018c0), &(0x7f0000001900)}, &(0x7f0000001a40)={&(0x7f0000001980), 0x0, &(0x7f00000019c0), &(0x7f0000001a00)}, &(0x7f0000002780)={&(0x7f0000001ac0)={&(0x7f0000001a80)}, &(0x7f0000002140)={&(0x7f0000001dc0)={0x0, &(0x7f0000001d80)={&(0x7f0000001b00), 0x0, &(0x7f0000001c00)={&(0x7f0000001b40), 0x0, &(0x7f0000001b80), &(0x7f0000001bc0)}, &(0x7f0000001d40)={&(0x7f0000001c40), &(0x7f0000001c80), &(0x7f0000001cc0), &(0x7f0000001d00)}}}, &(0x7f0000002100)={&(0x7f0000001e40)={&(0x7f0000001e00)}, &(0x7f0000001e80), &(0x7f0000001fc0)={&(0x7f0000001ec0), &(0x7f0000001f00), &(0x7f0000001f40), &(0x7f0000001f80)}, &(0x7f00000020c0)={&(0x7f0000002000), 0x0, &(0x7f0000002040), &(0x7f0000002080)}}}, &(0x7f0000002280)={&(0x7f0000002180), &(0x7f00000021c0), &(0x7f0000002200), &(0x7f0000002240)}, &(0x7f00000023c0)={&(0x7f00000022c0), &(0x7f0000002300), &(0x7f0000002340), &(0x7f0000002380)}, &(0x7f00000024c0)={&(0x7f0000002440)={&(0x7f0000002400)}, &(0x7f0000002480)}, &(0x7f0000002740)={&(0x7f0000002540)={&(0x7f0000002500)}, &(0x7f00000025c0)={&(0x7f0000002580)}, 0x0, &(0x7f0000002700)={&(0x7f0000002600), &(0x7f0000002640), &(0x7f0000002680), &(0x7f00000026c0)}}}, &(0x7f0000003400)={&(0x7f0000002800)={&(0x7f00000027c0)}, &(0x7f0000002b80)={&(0x7f0000002900)={0x0, &(0x7f00000028c0)={&(0x7f0000002880)={&(0x7f0000002840)}}}, &(0x7f0000002b40)={&(0x7f0000002980)={&(0x7f0000002940)}, &(0x7f00000029c0), &(0x7f0000002b00)={&(0x7f0000002a00), &(0x7f0000002a40), &(0x7f0000002a80), &(0x7f0000002ac0)}}}, &(0x7f0000002cc0)={&(0x7f0000002bc0), &(0x7f0000002c00), &(0x7f0000002c40), &(0x7f0000002c80)}, &(0x7f0000002e00)={&(0x7f0000002d00), &(0x7f0000002d40), &(0x7f0000002d80), &(0x7f0000002dc0)}, &(0x7f0000003180)={&(0x7f0000002e80)={&(0x7f0000002e40)}, &(0x7f0000002f00)={&(0x7f0000002ec0)}, &(0x7f0000003000)={0x0, &(0x7f0000002f40), &(0x7f0000002f80), &(0x7f0000002fc0)}, &(0x7f0000003140)={&(0x7f0000003040), &(0x7f0000003080), &(0x7f00000030c0), &(0x7f0000003100)}}, &(0x7f00000033c0)={&(0x7f0000003200)={&(0x7f00000031c0)}, &(0x7f0000003240), &(0x7f0000003380)={&(0x7f0000003280), &(0x7f00000032c0), &(0x7f0000003300), &(0x7f0000003340)}}}}) (rerun: 4) test$use_cond_resource(&(0x7f0000003480)={0xcf}) test$create_cond_resource() test$recur1(&(0x7f0000004ac0)={&(0x7f0000003f40)={&(0x7f00000034c0), &(0x7f0000003f00)={&(0x7f0000003540)={&(0x7f0000003500)}, &(0x7f00000038c0)={0x0, &(0x7f0000003880)={&(0x7f00000035c0)={&(0x7f0000003580)}, 0x0, &(0x7f0000003700)={&(0x7f0000003600), &(0x7f0000003640), &(0x7f0000003680), &(0x7f00000036c0)}, &(0x7f0000003840)={&(0x7f0000003740), &(0x7f0000003780), &(0x7f00000037c0), &(0x7f0000003800)}}}, &(0x7f00000039c0)={0x0, &(0x7f0000003900), &(0x7f0000003940), &(0x7f0000003980)}, &(0x7f0000003ac0)={&(0x7f0000003a00), &(0x7f0000003a40), &(0x7f0000003a80)}, &(0x7f0000003d80)={&(0x7f0000003b40)={&(0x7f0000003b00)}, &(0x7f0000003b80), &(0x7f0000003c40)={0x0, 0x0, &(0x7f0000003bc0), &(0x7f0000003c00)}, &(0x7f0000003d40)={&(0x7f0000003c80), &(0x7f0000003cc0), &(0x7f0000003d00)}}, &(0x7f0000003ec0)={0x0, &(0x7f0000003dc0), 0x0, &(0x7f0000003e80)={0x0, 0x0, &(0x7f0000003e00), &(0x7f0000003e40)}}}}, &(0x7f0000004a80)={&(0x7f0000003fc0)={&(0x7f0000003f80)}, &(0x7f0000004280)={&(0x7f0000004000), &(0x7f0000004240)={0x0, &(0x7f0000004040), &(0x7f0000004100)={&(0x7f0000004080), 0x0, &(0x7f00000040c0)}, &(0x7f0000004200)={&(0x7f0000004140), &(0x7f0000004180), &(0x7f00000041c0)}}}, &(0x7f00000043c0)={&(0x7f00000042c0), &(0x7f0000004300), &(0x7f0000004340), &(0x7f0000004380)}, &(0x7f0000004500)={&(0x7f0000004400), &(0x7f0000004440), &(0x7f0000004480), &(0x7f00000044c0)}, &(0x7f0000004800)={&(0x7f0000004580)={&(0x7f0000004540)}, &(0x7f0000004600)={&(0x7f00000045c0)}, &(0x7f00000046c0)={&(0x7f0000004640), 0x0, &(0x7f0000004680)}, &(0x7f00000047c0)={0x0, &(0x7f0000004700), &(0x7f0000004740), &(0x7f0000004780)}}, &(0x7f0000004a40)={&(0x7f0000004880)={&(0x7f0000004840)}, &(0x7f0000004900)={&(0x7f00000048c0)}, &(0x7f0000004a00)={&(0x7f0000004940), 0x0, &(0x7f0000004980), &(0x7f00000049c0)}}}}) test$array0(&(0x7f0000004b00)={0x4, [@f0=0x5, @f0=0x400], 0xcf}) foo$fmt1(&(0x7f0000004b40)) test$use_cond_resource(&(0x7f0000004b80)={0x5}) test$opt1(&(0x7f0000004bc0)=0x1000) syz_compare(&(0x7f0000000000)='-\x00', 0x2, &(0x7f0000000040)=@bf13={0xc0, {0x0, 0x24b, 0x380}}, 0xc) syz_compare_int$2(0x2, 0xb584, 0x5) syz_errno(0x4) syz_execute_func(&(0x7f0000000080)="685dce503a1d0b657c260c9d194b3f809620fdde60c972d03809536f2ce00202787c45c651d1fce2487a3d34caac049fee28") syz_exit(0x4) syz_mmap(&(0x7f0000ffe000/0x2000)=nil, 0x2000) syz_sleep_ms(0xfff) syz_test_fuzzer1(0x6, 0x2, 0xb) csource_test.go:151: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #ifndef SYS_foo #define SYS_foo 0 #endif #ifndef SYS_test #define SYS_test 0 #endif static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } static int inject_fault(int nth) { return 0; } static void setup_fault() { } #define BITMASK(bf_off,bf_len) (((1ull << (bf_len)) - 1) << (bf_off)) #define STORE_BY_BITMASK(type,htobe,addr,val,bf_off,bf_len) *(type*)(addr) = htobe((htobe(*(type*)(addr)) & ~BITMASK((bf_off), (bf_len))) | (((type)(val) << (bf_off)) & BITMASK((bf_off), (bf_len)))) static long syz_mmap(volatile long a0, volatile long a1) { return (long)mmap((void*)a0, a1, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0); } static long syz_errno(volatile long v) { errno = v; return v == 0 ? 0 : -1; } static long syz_exit(volatile long status) { _exit(status); return 0; } static long syz_sleep_ms(volatile long ms) { sleep_ms(ms); return 0; } static long syz_compare(volatile long want, volatile long want_len, volatile long got, volatile long got_len) { if (want_len != got_len) { errno = EBADF; goto error; } if (memcmp((void*)want, (void*)got, want_len)) { errno = EINVAL; goto error; } return 0; error: return -1; } static long syz_compare_int(volatile long n, ...) { va_list args; va_start(args, n); long v0 = va_arg(args, long); long v1 = va_arg(args, long); long v2 = va_arg(args, long); long v3 = va_arg(args, long); va_end(args); if (n < 2 || n > 4) return errno = E2BIG, -1; if (n <= 2 && v2 != 0) return errno = EFAULT, -1; if (n <= 3 && v3 != 0) return errno = EFAULT, -1; if (v0 != v1) return errno = EINVAL, -1; if (n > 2 && v0 != v2) return errno = EINVAL, -1; if (n > 3 && v0 != v3) return errno = EINVAL, -1; return 0; } static void loop(); static int do_sandbox_none(void) { loop(); return 0; } static void fake_crash(const char* name) { exit(1); exit(1); } static long syz_test_fuzzer1(volatile long a, volatile long b, volatile long c) { if (a == 1 && b == 1 && c == 1) fake_crash("first bug"); if (a == 1 && b == 2 && c == 3) fake_crash("second bug"); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } static void execute_one(void); static void loop(void) { execute_one(); } void execute_one(void) { *(uint64_t*)0x20000ac0 = 0; *(uint64_t*)0x20000ac8 = 0; *(uint64_t*)0x20000ad0 = 0x20000100; *(uint64_t*)0x20000100 = 0x20000000; *(uint64_t*)0x20000000 = 0; *(uint64_t*)0x20000008 = 0; *(uint64_t*)0x20000010 = 0; *(uint64_t*)0x20000018 = 0; *(uint64_t*)0x20000108 = 0x20000040; *(uint64_t*)0x20000040 = 0; *(uint64_t*)0x20000048 = 0; *(uint64_t*)0x20000050 = 0; *(uint64_t*)0x20000058 = 0; *(uint64_t*)0x20000110 = 0x20000080; *(uint64_t*)0x20000080 = 0; *(uint64_t*)0x20000088 = 0; *(uint64_t*)0x20000090 = 0; *(uint64_t*)0x20000098 = 0; *(uint64_t*)0x20000118 = 0x200000c0; *(uint64_t*)0x200000c0 = 0; *(uint64_t*)0x200000c8 = 0; *(uint64_t*)0x200000d0 = 0; *(uint64_t*)0x200000d8 = 0; *(uint64_t*)0x20000ad8 = 0; *(uint64_t*)0x20000ae0 = 0x20000a80; *(uint64_t*)0x20000a80 = 0x20000180; *(uint64_t*)0x20000180 = 0x20000140; *(uint64_t*)0x20000140 = 0; *(uint64_t*)0x20000a88 = 0x200007c0; *(uint64_t*)0x200007c0 = 0x200004c0; *(uint64_t*)0x200004c0 = 0; *(uint64_t*)0x200004c8 = 0x20000480; *(uint64_t*)0x20000480 = 0x20000200; *(uint64_t*)0x20000200 = 0x200001c0; *(uint64_t*)0x200001c0 = 0; *(uint64_t*)0x20000488 = 0; *(uint64_t*)0x20000490 = 0x20000300; *(uint64_t*)0x20000300 = 0; *(uint64_t*)0x20000308 = 0x20000240; *(uint64_t*)0x20000240 = 0; *(uint64_t*)0x20000248 = 0; *(uint64_t*)0x20000250 = 0; *(uint64_t*)0x20000258 = 0; *(uint64_t*)0x20000310 = 0x20000280; *(uint64_t*)0x20000280 = 0; *(uint64_t*)0x20000288 = 0; *(uint64_t*)0x20000290 = 0; *(uint64_t*)0x20000298 = 0; *(uint64_t*)0x20000318 = 0x200002c0; *(uint64_t*)0x200002c0 = 0; *(uint64_t*)0x200002c8 = 0; *(uint64_t*)0x200002d0 = 0; *(uint64_t*)0x200002d8 = 0; *(uint64_t*)0x20000498 = 0x20000440; *(uint64_t*)0x20000440 = 0x20000340; *(uint64_t*)0x20000340 = 0; *(uint64_t*)0x20000348 = 0; *(uint64_t*)0x20000350 = 0; *(uint64_t*)0x20000358 = 0; *(uint64_t*)0x20000448 = 0x20000380; *(uint64_t*)0x20000380 = 0; *(uint64_t*)0x20000388 = 0; *(uint64_t*)0x20000390 = 0; *(uint64_t*)0x20000398 = 0; *(uint64_t*)0x20000450 = 0x200003c0; *(uint64_t*)0x200003c0 = 0; *(uint64_t*)0x200003c8 = 0; *(uint64_t*)0x200003d0 = 0; *(uint64_t*)0x200003d8 = 0; *(uint64_t*)0x20000458 = 0x20000400; *(uint64_t*)0x20000400 = 0; *(uint64_t*)0x20000408 = 0; *(uint64_t*)0x20000410 = 0; *(uint64_t*)0x20000418 = 0; *(uint64_t*)0x200004a0 = 0; *(uint64_t*)0x200004a8 = 0; *(uint64_t*)0x200007c8 = 0x20000780; *(uint64_t*)0x20000780 = 0x20000500; *(uint64_t*)0x20000500 = 0; *(uint64_t*)0x20000788 = 0; *(uint64_t*)0x20000790 = 0x20000600; *(uint64_t*)0x20000600 = 0x20000540; *(uint64_t*)0x20000540 = 0; *(uint64_t*)0x20000548 = 0; *(uint64_t*)0x20000550 = 0; *(uint64_t*)0x20000558 = 0; *(uint64_t*)0x20000608 = 0x20000580; *(uint64_t*)0x20000580 = 0; *(uint64_t*)0x20000588 = 0; *(uint64_t*)0x20000590 = 0; *(uint64_t*)0x20000598 = 0; *(uint64_t*)0x20000610 = 0x200005c0; *(uint64_t*)0x200005c0 = 0; *(uint64_t*)0x200005c8 = 0; *(uint64_t*)0x200005d0 = 0; *(uint64_t*)0x200005d8 = 0; *(uint64_t*)0x20000618 = 0; *(uint64_t*)0x20000798 = 0x20000740; *(uint64_t*)0x20000740 = 0x20000640; *(uint64_t*)0x20000640 = 0; *(uint64_t*)0x20000648 = 0; *(uint64_t*)0x20000650 = 0; *(uint64_t*)0x20000658 = 0; *(uint64_t*)0x20000748 = 0x20000680; *(uint64_t*)0x20000680 = 0; *(uint64_t*)0x20000688 = 0; *(uint64_t*)0x20000690 = 0; *(uint64_t*)0x20000698 = 0; *(uint64_t*)0x20000750 = 0x200006c0; *(uint64_t*)0x200006c0 = 0; *(uint64_t*)0x200006c8 = 0; *(uint64_t*)0x200006d0 = 0; *(uint64_t*)0x200006d8 = 0; *(uint64_t*)0x20000758 = 0x20000700; *(uint64_t*)0x20000700 = 0; *(uint64_t*)0x20000708 = 0; *(uint64_t*)0x20000710 = 0; *(uint64_t*)0x20000718 = 0; *(uint64_t*)0x200007a0 = 0; *(uint64_t*)0x200007a8 = 0; *(uint64_t*)0x20000a90 = 0; *(uint64_t*)0x20000a98 = 0x200008c0; *(uint64_t*)0x200008c0 = 0; *(uint64_t*)0x200008c8 = 0x20000800; *(uint64_t*)0x20000800 = 0; *(uint64_t*)0x20000808 = 0; *(uint64_t*)0x20000810 = 0; *(uint64_t*)0x20000818 = 0; *(uint64_t*)0x200008d0 = 0x20000840; *(uint64_t*)0x20000840 = 0; *(uint64_t*)0x20000848 = 0; *(uint64_t*)0x20000850 = 0; *(uint64_t*)0x20000858 = 0; *(uint64_t*)0x200008d8 = 0x20000880; *(uint64_t*)0x20000880 = 0; *(uint64_t*)0x20000888 = 0; *(uint64_t*)0x20000890 = 0; *(uint64_t*)0x20000898 = 0; *(uint64_t*)0x20000aa0 = 0; *(uint64_t*)0x20000aa8 = 0x20000a40; *(uint64_t*)0x20000a40 = 0; *(uint64_t*)0x20000a48 = 0x20000940; *(uint64_t*)0x20000940 = 0x20000900; *(uint64_t*)0x20000900 = 0; *(uint64_t*)0x20000908 = 0; *(uint64_t*)0x20000948 = 0; *(uint64_t*)0x20000a50 = 0; *(uint64_t*)0x20000a58 = 0x20000a00; *(uint64_t*)0x20000a00 = 0; *(uint64_t*)0x20000a08 = 0x20000980; *(uint64_t*)0x20000980 = 0; *(uint64_t*)0x20000988 = 0; *(uint64_t*)0x20000990 = 0; *(uint64_t*)0x20000998 = 0; *(uint64_t*)0x20000a10 = 0x200009c0; *(uint64_t*)0x200009c0 = 0; *(uint64_t*)0x200009c8 = 0; *(uint64_t*)0x200009d0 = 0; *(uint64_t*)0x200009d8 = 0; *(uint64_t*)0x20000a18 = 0; *(uint64_t*)0x20000a60 = 0; *(uint64_t*)0x20000a68 = 0; *(uint64_t*)0x20000ae8 = 0; inject_fault(1); syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); *(uint64_t*)0x20000b80 = 0x20000b40; *(uint64_t*)0x20000b40 = 0x20000b00; *(uint64_t*)0x20000b00 = 0; syscall(SYS_test, /*a0=*/0x20000b80ul, 0, 0, 0, 0, 0); *(uint64_t*)0x20003440 = 0x20000c00; *(uint64_t*)0x20000c00 = 0x20000bc0; *(uint64_t*)0x20000bc0 = 0; *(uint64_t*)0x20003448 = 0x20001800; *(uint64_t*)0x20001800 = 0x200011c0; *(uint64_t*)0x200011c0 = 0; *(uint64_t*)0x200011c8 = 0x20001180; *(uint64_t*)0x20001180 = 0x20000c80; *(uint64_t*)0x20000c80 = 0x20000c40; *(uint64_t*)0x20000c40 = 0; *(uint64_t*)0x20001188 = 0; *(uint64_t*)0x20001190 = 0x20000d80; *(uint64_t*)0x20000d80 = 0x20000cc0; *(uint64_t*)0x20000cc0 = 0; *(uint64_t*)0x20000cc8 = 0; *(uint64_t*)0x20000cd0 = 0; *(uint64_t*)0x20000cd8 = 0; *(uint64_t*)0x20000d88 = 0x20000d00; *(uint64_t*)0x20000d00 = 0; *(uint64_t*)0x20000d08 = 0; *(uint64_t*)0x20000d10 = 0; *(uint64_t*)0x20000d18 = 0; *(uint64_t*)0x20000d90 = 0; *(uint64_t*)0x20000d98 = 0x20000d40; *(uint64_t*)0x20000d40 = 0; *(uint64_t*)0x20000d48 = 0; *(uint64_t*)0x20000d50 = 0; *(uint64_t*)0x20000d58 = 0; *(uint64_t*)0x20001198 = 0x20000e80; *(uint64_t*)0x20000e80 = 0; *(uint64_t*)0x20000e88 = 0x20000dc0; *(uint64_t*)0x20000dc0 = 0; *(uint64_t*)0x20000dc8 = 0; *(uint64_t*)0x20000dd0 = 0; *(uint64_t*)0x20000dd8 = 0; *(uint64_t*)0x20000e90 = 0x20000e00; *(uint64_t*)0x20000e00 = 0; *(uint64_t*)0x20000e08 = 0; *(uint64_t*)0x20000e10 = 0; *(uint64_t*)0x20000e18 = 0; *(uint64_t*)0x20000e98 = 0x20000e40; *(uint64_t*)0x20000e40 = 0; *(uint64_t*)0x20000e48 = 0; *(uint64_t*)0x20000e50 = 0; *(uint64_t*)0x20000e58 = 0; *(uint64_t*)0x200011a0 = 0x20001140; *(uint64_t*)0x20001140 = 0x20000f00; *(uint64_t*)0x20000f00 = 0x20000ec0; *(uint64_t*)0x20000ec0 = 0; *(uint64_t*)0x20001148 = 0; *(uint64_t*)0x20001150 = 0x20001000; *(uint64_t*)0x20001000 = 0x20000f40; *(uint64_t*)0x20000f40 = 0; *(uint64_t*)0x20000f48 = 0; *(uint64_t*)0x20000f50 = 0; *(uint64_t*)0x20000f58 = 0; *(uint64_t*)0x20001008 = 0; *(uint64_t*)0x20001010 = 0x20000f80; *(uint64_t*)0x20000f80 = 0; *(uint64_t*)0x20000f88 = 0; *(uint64_t*)0x20000f90 = 0; *(uint64_t*)0x20000f98 = 0; *(uint64_t*)0x20001018 = 0x20000fc0; *(uint64_t*)0x20000fc0 = 0; *(uint64_t*)0x20000fc8 = 0; *(uint64_t*)0x20000fd0 = 0; *(uint64_t*)0x20000fd8 = 0; *(uint64_t*)0x20001158 = 0x20001100; *(uint64_t*)0x20001100 = 0x20001040; *(uint64_t*)0x20001040 = 0; *(uint64_t*)0x20001048 = 0; *(uint64_t*)0x20001050 = 0; *(uint64_t*)0x20001058 = 0; *(uint64_t*)0x20001108 = 0x20001080; *(uint64_t*)0x20001080 = 0; *(uint64_t*)0x20001088 = 0; *(uint64_t*)0x20001090 = 0; *(uint64_t*)0x20001098 = 0; *(uint64_t*)0x20001110 = 0; *(uint64_t*)0x20001118 = 0x200010c0; *(uint64_t*)0x200010c0 = 0; *(uint64_t*)0x200010c8 = 0; *(uint64_t*)0x200010d0 = 0; *(uint64_t*)0x200010d8 = 0; *(uint64_t*)0x20001160 = 0; *(uint64_t*)0x20001168 = 0; *(uint64_t*)0x200011a8 = 0; *(uint64_t*)0x20001808 = 0x200017c0; *(uint64_t*)0x200017c0 = 0x20001240; *(uint64_t*)0x20001240 = 0x20001200; *(uint64_t*)0x20001200 = 0; *(uint64_t*)0x200017c8 = 0; *(uint64_t*)0x200017d0 = 0x20001340; *(uint64_t*)0x20001340 = 0x20001280; *(uint64_t*)0x20001280 = 0; *(uint64_t*)0x20001288 = 0; *(uint64_t*)0x20001290 = 0; *(uint64_t*)0x20001298 = 0; *(uint64_t*)0x20001348 = 0x200012c0; *(uint64_t*)0x200012c0 = 0; *(uint64_t*)0x200012c8 = 0; *(uint64_t*)0x200012d0 = 0; *(uint64_t*)0x200012d8 = 0; *(uint64_t*)0x20001350 = 0; *(uint64_t*)0x20001358 = 0x20001300; *(uint64_t*)0x20001300 = 0; *(uint64_t*)0x20001308 = 0; *(uint64_t*)0x20001310 = 0; *(uint64_t*)0x20001318 = 0; *(uint64_t*)0x200017d8 = 0x20001480; *(uint64_t*)0x20001480 = 0x20001380; *(uint64_t*)0x20001380 = 0; *(uint64_t*)0x20001388 = 0; *(uint64_t*)0x20001390 = 0; *(uint64_t*)0x20001398 = 0; *(uint64_t*)0x20001488 = 0x200013c0; *(uint64_t*)0x200013c0 = 0; *(uint64_t*)0x200013c8 = 0; *(uint64_t*)0x200013d0 = 0; *(uint64_t*)0x200013d8 = 0; *(uint64_t*)0x20001490 = 0x20001400; *(uint64_t*)0x20001400 = 0; *(uint64_t*)0x20001408 = 0; *(uint64_t*)0x20001410 = 0; *(uint64_t*)0x20001418 = 0; *(uint64_t*)0x20001498 = 0x20001440; *(uint64_t*)0x20001440 = 0; *(uint64_t*)0x20001448 = 0; *(uint64_t*)0x20001450 = 0; *(uint64_t*)0x20001458 = 0; *(uint64_t*)0x200017e0 = 0x20001780; *(uint64_t*)0x20001780 = 0x20001500; *(uint64_t*)0x20001500 = 0x200014c0; *(uint64_t*)0x200014c0 = 0; *(uint64_t*)0x20001788 = 0; *(uint64_t*)0x20001790 = 0x20001640; *(uint64_t*)0x20001640 = 0x20001540; *(uint64_t*)0x20001540 = 0; *(uint64_t*)0x20001548 = 0; *(uint64_t*)0x20001550 = 0; *(uint64_t*)0x20001558 = 0; *(uint64_t*)0x20001648 = 0x20001580; *(uint64_t*)0x20001580 = 0; *(uint64_t*)0x20001588 = 0; *(uint64_t*)0x20001590 = 0; *(uint64_t*)0x20001598 = 0; *(uint64_t*)0x20001650 = 0x200015c0; *(uint64_t*)0x200015c0 = 0; *(uint64_t*)0x200015c8 = 0; *(uint64_t*)0x200015d0 = 0; *(uint64_t*)0x200015d8 = 0; *(uint64_t*)0x20001658 = 0x20001600; *(uint64_t*)0x20001600 = 0; *(uint64_t*)0x20001608 = 0; *(uint64_t*)0x20001610 = 0; *(uint64_t*)0x20001618 = 0; *(uint64_t*)0x20001798 = 0x20001740; *(uint64_t*)0x20001740 = 0; *(uint64_t*)0x20001748 = 0x20001680; *(uint64_t*)0x20001680 = 0; *(uint64_t*)0x20001688 = 0; *(uint64_t*)0x20001690 = 0; *(uint64_t*)0x20001698 = 0; *(uint64_t*)0x20001750 = 0x200016c0; *(uint64_t*)0x200016c0 = 0; *(uint64_t*)0x200016c8 = 0; *(uint64_t*)0x200016d0 = 0; *(uint64_t*)0x200016d8 = 0; *(uint64_t*)0x20001758 = 0x20001700; *(uint64_t*)0x20001700 = 0; *(uint64_t*)0x20001708 = 0; *(uint64_t*)0x20001710 = 0; *(uint64_t*)0x20001718 = 0; *(uint64_t*)0x200017a0 = 0; *(uint64_t*)0x200017a8 = 0; *(uint64_t*)0x200017e8 = 0; *(uint64_t*)0x20003450 = 0x20001940; *(uint64_t*)0x20001940 = 0x20001840; *(uint64_t*)0x20001840 = 0; *(uint64_t*)0x20001848 = 0; *(uint64_t*)0x20001850 = 0; *(uint64_t*)0x20001858 = 0; *(uint64_t*)0x20001948 = 0x20001880; *(uint64_t*)0x20001880 = 0; *(uint64_t*)0x20001888 = 0; *(uint64_t*)0x20001890 = 0; *(uint64_t*)0x20001898 = 0; *(uint64_t*)0x20001950 = 0x200018c0; *(uint64_t*)0x200018c0 = 0; *(uint64_t*)0x200018c8 = 0; *(uint64_t*)0x200018d0 = 0; *(uint64_t*)0x200018d8 = 0; *(uint64_t*)0x20001958 = 0x20001900; *(uint64_t*)0x20001900 = 0; *(uint64_t*)0x20001908 = 0; *(uint64_t*)0x20001910 = 0; *(uint64_t*)0x20001918 = 0; *(uint64_t*)0x20003458 = 0x20001a40; *(uint64_t*)0x20001a40 = 0x20001980; *(uint64_t*)0x20001980 = 0; *(uint64_t*)0x20001988 = 0; *(uint64_t*)0x20001990 = 0; *(uint64_t*)0x20001998 = 0; *(uint64_t*)0x20001a48 = 0; *(uint64_t*)0x20001a50 = 0x200019c0; *(uint64_t*)0x200019c0 = 0; *(uint64_t*)0x200019c8 = 0; *(uint64_t*)0x200019d0 = 0; *(uint64_t*)0x200019d8 = 0; *(uint64_t*)0x20001a58 = 0x20001a00; *(uint64_t*)0x20001a00 = 0; *(uint64_t*)0x20001a08 = 0; *(uint64_t*)0x20001a10 = 0; *(uint64_t*)0x20001a18 = 0; *(uint64_t*)0x20003460 = 0x20002780; *(uint64_t*)0x20002780 = 0x20001ac0; *(uint64_t*)0x20001ac0 = 0x20001a80; *(uint64_t*)0x20001a80 = 0; *(uint64_t*)0x20002788 = 0x20002140; *(uint64_t*)0x20002140 = 0x20001dc0; *(uint64_t*)0x20001dc0 = 0; *(uint64_t*)0x20001dc8 = 0x20001d80; *(uint64_t*)0x20001d80 = 0x20001b00; *(uint64_t*)0x20001b00 = 0; *(uint64_t*)0x20001d88 = 0; *(uint64_t*)0x20001d90 = 0x20001c00; *(uint64_t*)0x20001c00 = 0x20001b40; *(uint64_t*)0x20001b40 = 0; *(uint64_t*)0x20001b48 = 0; *(uint64_t*)0x20001b50 = 0; *(uint64_t*)0x20001b58 = 0; *(uint64_t*)0x20001c08 = 0; *(uint64_t*)0x20001c10 = 0x20001b80; *(uint64_t*)0x20001b80 = 0; *(uint64_t*)0x20001b88 = 0; *(uint64_t*)0x20001b90 = 0; *(uint64_t*)0x20001b98 = 0; *(uint64_t*)0x20001c18 = 0x20001bc0; *(uint64_t*)0x20001bc0 = 0; *(uint64_t*)0x20001bc8 = 0; *(uint64_t*)0x20001bd0 = 0; *(uint64_t*)0x20001bd8 = 0; *(uint64_t*)0x20001d98 = 0x20001d40; *(uint64_t*)0x20001d40 = 0x20001c40; *(uint64_t*)0x20001c40 = 0; *(uint64_t*)0x20001c48 = 0; *(uint64_t*)0x20001c50 = 0; *(uint64_t*)0x20001c58 = 0; *(uint64_t*)0x20001d48 = 0x20001c80; *(uint64_t*)0x20001c80 = 0; *(uint64_t*)0x20001c88 = 0; *(uint64_t*)0x20001c90 = 0; *(uint64_t*)0x20001c98 = 0; *(uint64_t*)0x20001d50 = 0x20001cc0; *(uint64_t*)0x20001cc0 = 0; *(uint64_t*)0x20001cc8 = 0; *(uint64_t*)0x20001cd0 = 0; *(uint64_t*)0x20001cd8 = 0; *(uint64_t*)0x20001d58 = 0x20001d00; *(uint64_t*)0x20001d00 = 0; *(uint64_t*)0x20001d08 = 0; *(uint64_t*)0x20001d10 = 0; *(uint64_t*)0x20001d18 = 0; *(uint64_t*)0x20001da0 = 0; *(uint64_t*)0x20001da8 = 0; *(uint64_t*)0x20002148 = 0x20002100; *(uint64_t*)0x20002100 = 0x20001e40; *(uint64_t*)0x20001e40 = 0x20001e00; *(uint64_t*)0x20001e00 = 0; *(uint64_t*)0x20002108 = 0x20001e80; *(uint64_t*)0x20001e80 = 0; *(uint64_t*)0x20001e88 = 0; *(uint64_t*)0x20002110 = 0x20001fc0; *(uint64_t*)0x20001fc0 = 0x20001ec0; *(uint64_t*)0x20001ec0 = 0; *(uint64_t*)0x20001ec8 = 0; *(uint64_t*)0x20001ed0 = 0; *(uint64_t*)0x20001ed8 = 0; *(uint64_t*)0x20001fc8 = 0x20001f00; *(uint64_t*)0x20001f00 = 0; *(uint64_t*)0x20001f08 = 0; *(uint64_t*)0x20001f10 = 0; *(uint64_t*)0x20001f18 = 0; *(uint64_t*)0x20001fd0 = 0x20001f40; *(uint64_t*)0x20001f40 = 0; *(uint64_t*)0x20001f48 = 0; *(uint64_t*)0x20001f50 = 0; *(uint64_t*)0x20001f58 = 0; *(uint64_t*)0x20001fd8 = 0x20001f80; *(uint64_t*)0x20001f80 = 0; *(uint64_t*)0x20001f88 = 0; *(uint64_t*)0x20001f90 = 0; *(uint64_t*)0x20001f98 = 0; *(uint64_t*)0x20002118 = 0x200020c0; *(uint64_t*)0x200020c0 = 0x20002000; *(uint64_t*)0x20002000 = 0; *(uint64_t*)0x20002008 = 0; *(uint64_t*)0x20002010 = 0; *(uint64_t*)0x20002018 = 0; *(uint64_t*)0x200020c8 = 0; *(uint64_t*)0x200020d0 = 0x20002040; *(uint64_t*)0x20002040 = 0; *(uint64_t*)0x20002048 = 0; *(uint64_t*)0x20002050 = 0; *(uint64_t*)0x20002058 = 0; *(uint64_t*)0x200020d8 = 0x20002080; *(uint64_t*)0x20002080 = 0; *(uint64_t*)0x20002088 = 0; *(uint64_t*)0x20002090 = 0; *(uint64_t*)0x20002098 = 0; *(uint64_t*)0x20002120 = 0; *(uint64_t*)0x20002128 = 0; *(uint64_t*)0x20002790 = 0x20002280; *(uint64_t*)0x20002280 = 0x20002180; *(uint64_t*)0x20002180 = 0; *(uint64_t*)0x20002188 = 0; *(uint64_t*)0x20002190 = 0; *(uint64_t*)0x20002198 = 0; *(uint64_t*)0x20002288 = 0x200021c0; *(uint64_t*)0x200021c0 = 0; *(uint64_t*)0x200021c8 = 0; *(uint64_t*)0x200021d0 = 0; *(uint64_t*)0x200021d8 = 0; *(uint64_t*)0x20002290 = 0x20002200; *(uint64_t*)0x20002200 = 0; *(uint64_t*)0x20002208 = 0; *(uint64_t*)0x20002210 = 0; *(uint64_t*)0x20002218 = 0; *(uint64_t*)0x20002298 = 0x20002240; *(uint64_t*)0x20002240 = 0; *(uint64_t*)0x20002248 = 0; *(uint64_t*)0x20002250 = 0; *(uint64_t*)0x20002258 = 0; *(uint64_t*)0x20002798 = 0x200023c0; *(uint64_t*)0x200023c0 = 0x200022c0; *(uint64_t*)0x200022c0 = 0; *(uint64_t*)0x200022c8 = 0; *(uint64_t*)0x200022d0 = 0; *(uint64_t*)0x200022d8 = 0; *(uint64_t*)0x200023c8 = 0x20002300; *(uint64_t*)0x20002300 = 0; *(uint64_t*)0x20002308 = 0; *(uint64_t*)0x20002310 = 0; *(uint64_t*)0x20002318 = 0; *(uint64_t*)0x200023d0 = 0x20002340; *(uint64_t*)0x20002340 = 0; *(uint64_t*)0x20002348 = 0; *(uint64_t*)0x20002350 = 0; *(uint64_t*)0x20002358 = 0; *(uint64_t*)0x200023d8 = 0x20002380; *(uint64_t*)0x20002380 = 0; *(uint64_t*)0x20002388 = 0; *(uint64_t*)0x20002390 = 0; *(uint64_t*)0x20002398 = 0; *(uint64_t*)0x200027a0 = 0x200024c0; *(uint64_t*)0x200024c0 = 0x20002440; *(uint64_t*)0x20002440 = 0x20002400; *(uint64_t*)0x20002400 = 0; *(uint64_t*)0x200024c8 = 0x20002480; *(uint64_t*)0x20002480 = 0; *(uint64_t*)0x20002488 = 0; *(uint64_t*)0x200024d0 = 0; *(uint64_t*)0x200024d8 = 0; *(uint64_t*)0x200024e0 = 0; *(uint64_t*)0x200024e8 = 0; *(uint64_t*)0x200027a8 = 0x20002740; *(uint64_t*)0x20002740 = 0x20002540; *(uint64_t*)0x20002540 = 0x20002500; *(uint64_t*)0x20002500 = 0; *(uint64_t*)0x20002748 = 0x200025c0; *(uint64_t*)0x200025c0 = 0x20002580; *(uint64_t*)0x20002580 = 0; *(uint64_t*)0x20002588 = 0; *(uint64_t*)0x200025c8 = 0; *(uint64_t*)0x20002750 = 0; *(uint64_t*)0x20002758 = 0x20002700; *(uint64_t*)0x20002700 = 0x20002600; *(uint64_t*)0x20002600 = 0; *(uint64_t*)0x20002608 = 0; *(uint64_t*)0x20002610 = 0; *(uint64_t*)0x20002618 = 0; *(uint64_t*)0x20002708 = 0x20002640; *(uint64_t*)0x20002640 = 0; *(uint64_t*)0x20002648 = 0; *(uint64_t*)0x20002650 = 0; *(uint64_t*)0x20002658 = 0; *(uint64_t*)0x20002710 = 0x20002680; *(uint64_t*)0x20002680 = 0; *(uint64_t*)0x20002688 = 0; *(uint64_t*)0x20002690 = 0; *(uint64_t*)0x20002698 = 0; *(uint64_t*)0x20002718 = 0x200026c0; *(uint64_t*)0x200026c0 = 0; *(uint64_t*)0x200026c8 = 0; *(uint64_t*)0x200026d0 = 0; *(uint64_t*)0x200026d8 = 0; *(uint64_t*)0x20002760 = 0; *(uint64_t*)0x20002768 = 0; *(uint64_t*)0x20003468 = 0x20003400; *(uint64_t*)0x20003400 = 0x20002800; *(uint64_t*)0x20002800 = 0x200027c0; *(uint64_t*)0x200027c0 = 0; *(uint64_t*)0x20003408 = 0x20002b80; *(uint64_t*)0x20002b80 = 0x20002900; *(uint64_t*)0x20002900 = 0; *(uint64_t*)0x20002908 = 0x200028c0; *(uint64_t*)0x200028c0 = 0x20002880; *(uint64_t*)0x20002880 = 0x20002840; *(uint64_t*)0x20002840 = 0; *(uint64_t*)0x200028c8 = 0; *(uint64_t*)0x200028d0 = 0; *(uint64_t*)0x200028d8 = 0; *(uint64_t*)0x200028e0 = 0; *(uint64_t*)0x200028e8 = 0; *(uint64_t*)0x20002b88 = 0x20002b40; *(uint64_t*)0x20002b40 = 0x20002980; *(uint64_t*)0x20002980 = 0x20002940; *(uint64_t*)0x20002940 = 0; *(uint64_t*)0x20002b48 = 0x200029c0; *(uint64_t*)0x200029c0 = 0; *(uint64_t*)0x200029c8 = 0; *(uint64_t*)0x20002b50 = 0x20002b00; *(uint64_t*)0x20002b00 = 0x20002a00; *(uint64_t*)0x20002a00 = 0; *(uint64_t*)0x20002a08 = 0; *(uint64_t*)0x20002a10 = 0; *(uint64_t*)0x20002a18 = 0; *(uint64_t*)0x20002b08 = 0x20002a40; *(uint64_t*)0x20002a40 = 0; *(uint64_t*)0x20002a48 = 0; *(uint64_t*)0x20002a50 = 0; *(uint64_t*)0x20002a58 = 0; *(uint64_t*)0x20002b10 = 0x20002a80; *(uint64_t*)0x20002a80 = 0; *(uint64_t*)0x20002a88 = 0; *(uint64_t*)0x20002a90 = 0; *(uint64_t*)0x20002a98 = 0; *(uint64_t*)0x20002b18 = 0x20002ac0; *(uint64_t*)0x20002ac0 = 0; *(uint64_t*)0x20002ac8 = 0; *(uint64_t*)0x20002ad0 = 0; *(uint64_t*)0x20002ad8 = 0; *(uint64_t*)0x20002b58 = 0; *(uint64_t*)0x20002b60 = 0; *(uint64_t*)0x20002b68 = 0; *(uint64_t*)0x20003410 = 0x20002cc0; *(uint64_t*)0x20002cc0 = 0x20002bc0; *(uint64_t*)0x20002bc0 = 0; *(uint64_t*)0x20002bc8 = 0; *(uint64_t*)0x20002bd0 = 0; *(uint64_t*)0x20002bd8 = 0; *(uint64_t*)0x20002cc8 = 0x20002c00; *(uint64_t*)0x20002c00 = 0; *(uint64_t*)0x20002c08 = 0; *(uint64_t*)0x20002c10 = 0; *(uint64_t*)0x20002c18 = 0; *(uint64_t*)0x20002cd0 = 0x20002c40; *(uint64_t*)0x20002c40 = 0; *(uint64_t*)0x20002c48 = 0; *(uint64_t*)0x20002c50 = 0; *(uint64_t*)0x20002c58 = 0; *(uint64_t*)0x20002cd8 = 0x20002c80; *(uint64_t*)0x20002c80 = 0; *(uint64_t*)0x20002c88 = 0; *(uint64_t*)0x20002c90 = 0; *(uint64_t*)0x20002c98 = 0; *(uint64_t*)0x20003418 = 0x20002e00; *(uint64_t*)0x20002e00 = 0x20002d00; *(uint64_t*)0x20002d00 = 0; *(uint64_t*)0x20002d08 = 0; *(uint64_t*)0x20002d10 = 0; *(uint64_t*)0x20002d18 = 0; *(uint64_t*)0x20002e08 = 0x20002d40; *(uint64_t*)0x20002d40 = 0; *(uint64_t*)0x20002d48 = 0; *(uint64_t*)0x20002d50 = 0; *(uint64_t*)0x20002d58 = 0; *(uint64_t*)0x20002e10 = 0x20002d80; *(uint64_t*)0x20002d80 = 0; *(uint64_t*)0x20002d88 = 0; *(uint64_t*)0x20002d90 = 0; *(uint64_t*)0x20002d98 = 0; *(uint64_t*)0x20002e18 = 0x20002dc0; *(uint64_t*)0x20002dc0 = 0; *(uint64_t*)0x20002dc8 = 0; *(uint64_t*)0x20002dd0 = 0; *(uint64_t*)0x20002dd8 = 0; *(uint64_t*)0x20003420 = 0x20003180; *(uint64_t*)0x20003180 = 0x20002e80; *(uint64_t*)0x20002e80 = 0x20002e40; *(uint64_t*)0x20002e40 = 0; *(uint64_t*)0x20003188 = 0x20002f00; *(uint64_t*)0x20002f00 = 0x20002ec0; *(uint64_t*)0x20002ec0 = 0; *(uint64_t*)0x20002ec8 = 0; *(uint64_t*)0x20002f08 = 0; *(uint64_t*)0x20003190 = 0x20003000; *(uint64_t*)0x20003000 = 0; *(uint64_t*)0x20003008 = 0x20002f40; *(uint64_t*)0x20002f40 = 0; *(uint64_t*)0x20002f48 = 0; *(uint64_t*)0x20002f50 = 0; *(uint64_t*)0x20002f58 = 0; *(uint64_t*)0x20003010 = 0x20002f80; *(uint64_t*)0x20002f80 = 0; *(uint64_t*)0x20002f88 = 0; *(uint64_t*)0x20002f90 = 0; *(uint64_t*)0x20002f98 = 0; *(uint64_t*)0x20003018 = 0x20002fc0; *(uint64_t*)0x20002fc0 = 0; *(uint64_t*)0x20002fc8 = 0; *(uint64_t*)0x20002fd0 = 0; *(uint64_t*)0x20002fd8 = 0; *(uint64_t*)0x20003198 = 0x20003140; *(uint64_t*)0x20003140 = 0x20003040; *(uint64_t*)0x20003040 = 0; *(uint64_t*)0x20003048 = 0; *(uint64_t*)0x20003050 = 0; *(uint64_t*)0x20003058 = 0; *(uint64_t*)0x20003148 = 0x20003080; *(uint64_t*)0x20003080 = 0; *(uint64_t*)0x20003088 = 0; *(uint64_t*)0x20003090 = 0; *(uint64_t*)0x20003098 = 0; *(uint64_t*)0x20003150 = 0x200030c0; *(uint64_t*)0x200030c0 = 0; *(uint64_t*)0x200030c8 = 0; *(uint64_t*)0x200030d0 = 0; *(uint64_t*)0x200030d8 = 0; *(uint64_t*)0x20003158 = 0x20003100; *(uint64_t*)0x20003100 = 0; *(uint64_t*)0x20003108 = 0; *(uint64_t*)0x20003110 = 0; *(uint64_t*)0x20003118 = 0; *(uint64_t*)0x200031a0 = 0; *(uint64_t*)0x200031a8 = 0; *(uint64_t*)0x20003428 = 0x200033c0; *(uint64_t*)0x200033c0 = 0x20003200; *(uint64_t*)0x20003200 = 0x200031c0; *(uint64_t*)0x200031c0 = 0; *(uint64_t*)0x200033c8 = 0x20003240; *(uint64_t*)0x20003240 = 0; *(uint64_t*)0x20003248 = 0; *(uint64_t*)0x200033d0 = 0x20003380; *(uint64_t*)0x20003380 = 0x20003280; *(uint64_t*)0x20003280 = 0; *(uint64_t*)0x20003288 = 0; *(uint64_t*)0x20003290 = 0; *(uint64_t*)0x20003298 = 0; *(uint64_t*)0x20003388 = 0x200032c0; *(uint64_t*)0x200032c0 = 0; *(uint64_t*)0x200032c8 = 0; *(uint64_t*)0x200032d0 = 0; *(uint64_t*)0x200032d8 = 0; *(uint64_t*)0x20003390 = 0x20003300; *(uint64_t*)0x20003300 = 0; *(uint64_t*)0x20003308 = 0; *(uint64_t*)0x20003310 = 0; *(uint64_t*)0x20003318 = 0; *(uint64_t*)0x20003398 = 0x20003340; *(uint64_t*)0x20003340 = 0; *(uint64_t*)0x20003348 = 0; *(uint64_t*)0x20003350 = 0; *(uint64_t*)0x20003358 = 0; *(uint64_t*)0x200033d8 = 0; *(uint64_t*)0x200033e0 = 0; *(uint64_t*)0x200033e8 = 0; syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); { int i; for(i = 0; i < 4; i++) { syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); } } *(uint8_t*)0x20003480 = 0xcf; syscall(SYS_test, /*a=*/0x20003480ul, 0, 0, 0, 0, 0); syscall(SYS_test, 0, 0, 0, 0, 0, 0); *(uint64_t*)0x20004ac0 = 0x20003f40; *(uint64_t*)0x20003f40 = 0x200034c0; *(uint64_t*)0x200034c0 = 0; *(uint64_t*)0x200034c8 = 0; *(uint64_t*)0x20003f48 = 0x20003f00; *(uint64_t*)0x20003f00 = 0x20003540; *(uint64_t*)0x20003540 = 0x20003500; *(uint64_t*)0x20003500 = 0; *(uint64_t*)0x20003f08 = 0x200038c0; *(uint64_t*)0x200038c0 = 0; *(uint64_t*)0x200038c8 = 0x20003880; *(uint64_t*)0x20003880 = 0x200035c0; *(uint64_t*)0x200035c0 = 0x20003580; *(uint64_t*)0x20003580 = 0; *(uint64_t*)0x20003888 = 0; *(uint64_t*)0x20003890 = 0x20003700; *(uint64_t*)0x20003700 = 0x20003600; *(uint64_t*)0x20003600 = 0; *(uint64_t*)0x20003608 = 0; *(uint64_t*)0x20003610 = 0; *(uint64_t*)0x20003618 = 0; *(uint64_t*)0x20003708 = 0x20003640; *(uint64_t*)0x20003640 = 0; *(uint64_t*)0x20003648 = 0; *(uint64_t*)0x20003650 = 0; *(uint64_t*)0x20003658 = 0; *(uint64_t*)0x20003710 = 0x20003680; *(uint64_t*)0x20003680 = 0; *(uint64_t*)0x20003688 = 0; *(uint64_t*)0x20003690 = 0; *(uint64_t*)0x20003698 = 0; *(uint64_t*)0x20003718 = 0x200036c0; *(uint64_t*)0x200036c0 = 0; *(uint64_t*)0x200036c8 = 0; *(uint64_t*)0x200036d0 = 0; *(uint64_t*)0x200036d8 = 0; *(uint64_t*)0x20003898 = 0x20003840; *(uint64_t*)0x20003840 = 0x20003740; *(uint64_t*)0x20003740 = 0; *(uint64_t*)0x20003748 = 0; *(uint64_t*)0x20003750 = 0; *(uint64_t*)0x20003758 = 0; *(uint64_t*)0x20003848 = 0x20003780; *(uint64_t*)0x20003780 = 0; *(uint64_t*)0x20003788 = 0; *(uint64_t*)0x20003790 = 0; *(uint64_t*)0x20003798 = 0; *(uint64_t*)0x20003850 = 0x200037c0; *(uint64_t*)0x200037c0 = 0; *(uint64_t*)0x200037c8 = 0; *(uint64_t*)0x200037d0 = 0; *(uint64_t*)0x200037d8 = 0; *(uint64_t*)0x20003858 = 0x20003800; *(uint64_t*)0x20003800 = 0; *(uint64_t*)0x20003808 = 0; *(uint64_t*)0x20003810 = 0; *(uint64_t*)0x20003818 = 0; *(uint64_t*)0x200038a0 = 0; *(uint64_t*)0x200038a8 = 0; *(uint64_t*)0x20003f10 = 0x200039c0; *(uint64_t*)0x200039c0 = 0; *(uint64_t*)0x200039c8 = 0x20003900; *(uint64_t*)0x20003900 = 0; *(uint64_t*)0x20003908 = 0; *(uint64_t*)0x20003910 = 0; *(uint64_t*)0x20003918 = 0; *(uint64_t*)0x200039d0 = 0x20003940; *(uint64_t*)0x20003940 = 0; *(uint64_t*)0x20003948 = 0; *(uint64_t*)0x20003950 = 0; *(uint64_t*)0x20003958 = 0; *(uint64_t*)0x200039d8 = 0x20003980; *(uint64_t*)0x20003980 = 0; *(uint64_t*)0x20003988 = 0; *(uint64_t*)0x20003990 = 0; *(uint64_t*)0x20003998 = 0; *(uint64_t*)0x20003f18 = 0x20003ac0; *(uint64_t*)0x20003ac0 = 0x20003a00; *(uint64_t*)0x20003a00 = 0; *(uint64_t*)0x20003a08 = 0; *(uint64_t*)0x20003a10 = 0; *(uint64_t*)0x20003a18 = 0; *(uint64_t*)0x20003ac8 = 0x20003a40; *(uint64_t*)0x20003a40 = 0; *(uint64_t*)0x20003a48 = 0; *(uint64_t*)0x20003a50 = 0; *(uint64_t*)0x20003a58 = 0; *(uint64_t*)0x20003ad0 = 0x20003a80; *(uint64_t*)0x20003a80 = 0; *(uint64_t*)0x20003a88 = 0; *(uint64_t*)0x20003a90 = 0; *(uint64_t*)0x20003a98 = 0; *(uint64_t*)0x20003ad8 = 0; *(uint64_t*)0x20003f20 = 0x20003d80; *(uint64_t*)0x20003d80 = 0x20003b40; *(uint64_t*)0x20003b40 = 0x20003b00; *(uint64_t*)0x20003b00 = 0; *(uint64_t*)0x20003d88 = 0x20003b80; *(uint64_t*)0x20003b80 = 0; *(uint64_t*)0x20003b88 = 0; *(uint64_t*)0x20003d90 = 0x20003c40; *(uint64_t*)0x20003c40 = 0; *(uint64_t*)0x20003c48 = 0; *(uint64_t*)0x20003c50 = 0x20003bc0; *(uint64_t*)0x20003bc0 = 0; *(uint64_t*)0x20003bc8 = 0; *(uint64_t*)0x20003bd0 = 0; *(uint64_t*)0x20003bd8 = 0; *(uint64_t*)0x20003c58 = 0x20003c00; *(uint64_t*)0x20003c00 = 0; *(uint64_t*)0x20003c08 = 0; *(uint64_t*)0x20003c10 = 0; *(uint64_t*)0x20003c18 = 0; *(uint64_t*)0x20003d98 = 0x20003d40; *(uint64_t*)0x20003d40 = 0x20003c80; *(uint64_t*)0x20003c80 = 0; *(uint64_t*)0x20003c88 = 0; *(uint64_t*)0x20003c90 = 0; *(uint64_t*)0x20003c98 = 0; *(uint64_t*)0x20003d48 = 0x20003cc0; *(uint64_t*)0x20003cc0 = 0; *(uint64_t*)0x20003cc8 = 0; *(uint64_t*)0x20003cd0 = 0; *(uint64_t*)0x20003cd8 = 0; *(uint64_t*)0x20003d50 = 0x20003d00; *(uint64_t*)0x20003d00 = 0; *(uint64_t*)0x20003d08 = 0; *(uint64_t*)0x20003d10 = 0; *(uint64_t*)0x20003d18 = 0; *(uint64_t*)0x20003d58 = 0; *(uint64_t*)0x20003da0 = 0; *(uint64_t*)0x20003da8 = 0; *(uint64_t*)0x20003f28 = 0x20003ec0; *(uint64_t*)0x20003ec0 = 0; *(uint64_t*)0x20003ec8 = 0x20003dc0; *(uint64_t*)0x20003dc0 = 0; *(uint64_t*)0x20003dc8 = 0; *(uint64_t*)0x20003ed0 = 0; *(uint64_t*)0x20003ed8 = 0x20003e80; *(uint64_t*)0x20003e80 = 0; *(uint64_t*)0x20003e88 = 0; *(uint64_t*)0x20003e90 = 0x20003e00; *(uint64_t*)0x20003e00 = 0; *(uint64_t*)0x20003e08 = 0; *(uint64_t*)0x20003e10 = 0; *(uint64_t*)0x20003e18 = 0; *(uint64_t*)0x20003e98 = 0x20003e40; *(uint64_t*)0x20003e40 = 0; *(uint64_t*)0x20003e48 = 0; *(uint64_t*)0x20003e50 = 0; *(uint64_t*)0x20003e58 = 0; *(uint64_t*)0x20003ee0 = 0; *(uint64_t*)0x20003ee8 = 0; *(uint64_t*)0x20004ac8 = 0x20004a80; *(uint64_t*)0x20004a80 = 0x20003fc0; *(uint64_t*)0x20003fc0 = 0x20003f80; *(uint64_t*)0x20003f80 = 0; *(uint64_t*)0x20004a88 = 0x20004280; *(uint64_t*)0x20004280 = 0x20004000; *(uint64_t*)0x20004000 = 0; *(uint64_t*)0x20004008 = 0; *(uint64_t*)0x20004288 = 0x20004240; *(uint64_t*)0x20004240 = 0; *(uint64_t*)0x20004248 = 0x20004040; *(uint64_t*)0x20004040 = 0; *(uint64_t*)0x20004048 = 0; *(uint64_t*)0x20004250 = 0x20004100; *(uint64_t*)0x20004100 = 0x20004080; *(uint64_t*)0x20004080 = 0; *(uint64_t*)0x20004088 = 0; *(uint64_t*)0x20004090 = 0; *(uint64_t*)0x20004098 = 0; *(uint64_t*)0x20004108 = 0; *(uint64_t*)0x20004110 = 0x200040c0; *(uint64_t*)0x200040c0 = 0; *(uint64_t*)0x200040c8 = 0; *(uint64_t*)0x200040d0 = 0; *(uint64_t*)0x200040d8 = 0; *(uint64_t*)0x20004118 = 0; *(uint64_t*)0x20004258 = 0x20004200; *(uint64_t*)0x20004200 = 0x20004140; *(uint64_t*)0x20004140 = 0; *(uint64_t*)0x20004148 = 0; *(uint64_t*)0x20004150 = 0; *(uint64_t*)0x20004158 = 0; *(uint64_t*)0x20004208 = 0x20004180; *(uint64_t*)0x20004180 = 0; *(uint64_t*)0x20004188 = 0; *(uint64_t*)0x20004190 = 0; *(uint64_t*)0x20004198 = 0; *(uint64_t*)0x20004210 = 0x200041c0; *(uint64_t*)0x200041c0 = 0; *(uint64_t*)0x200041c8 = 0; *(uint64_t*)0x200041d0 = 0; *(uint64_t*)0x200041d8 = 0; *(uint64_t*)0x20004218 = 0; *(uint64_t*)0x20004260 = 0; *(uint64_t*)0x20004268 = 0; *(uint64_t*)0x20004a90 = 0x200043c0; *(uint64_t*)0x200043c0 = 0x200042c0; *(uint64_t*)0x200042c0 = 0; *(uint64_t*)0x200042c8 = 0; *(uint64_t*)0x200042d0 = 0; *(uint64_t*)0x200042d8 = 0; *(uint64_t*)0x200043c8 = 0x20004300; *(uint64_t*)0x20004300 = 0; *(uint64_t*)0x20004308 = 0; *(uint64_t*)0x20004310 = 0; *(uint64_t*)0x20004318 = 0; *(uint64_t*)0x200043d0 = 0x20004340; *(uint64_t*)0x20004340 = 0; *(uint64_t*)0x20004348 = 0; *(uint64_t*)0x20004350 = 0; *(uint64_t*)0x20004358 = 0; *(uint64_t*)0x200043d8 = 0x20004380; *(uint64_t*)0x20004380 = 0; *(uint64_t*)0x20004388 = 0; *(uint64_t*)0x20004390 = 0; *(uint64_t*)0x20004398 = 0; *(uint64_t*)0x20004a98 = 0x20004500; *(uint64_t*)0x20004500 = 0x20004400; *(uint64_t*)0x20004400 = 0; *(uint64_t*)0x20004408 = 0; *(uint64_t*)0x20004410 = 0; *(uint64_t*)0x20004418 = 0; *(uint64_t*)0x20004508 = 0x20004440; *(uint64_t*)0x20004440 = 0; *(uint64_t*)0x20004448 = 0; *(uint64_t*)0x20004450 = 0; *(uint64_t*)0x20004458 = 0; *(uint64_t*)0x20004510 = 0x20004480; *(uint64_t*)0x20004480 = 0; *(uint64_t*)0x20004488 = 0; *(uint64_t*)0x20004490 = 0; *(uint64_t*)0x20004498 = 0; *(uint64_t*)0x20004518 = 0x200044c0; *(uint64_t*)0x200044c0 = 0; *(uint64_t*)0x200044c8 = 0; *(uint64_t*)0x200044d0 = 0; *(uint64_t*)0x200044d8 = 0; *(uint64_t*)0x20004aa0 = 0x20004800; *(uint64_t*)0x20004800 = 0x20004580; *(uint64_t*)0x20004580 = 0x20004540; *(uint64_t*)0x20004540 = 0; *(uint64_t*)0x20004808 = 0x20004600; *(uint64_t*)0x20004600 = 0x200045c0; *(uint64_t*)0x200045c0 = 0; *(uint64_t*)0x200045c8 = 0; *(uint64_t*)0x20004608 = 0; *(uint64_t*)0x20004810 = 0x200046c0; *(uint64_t*)0x200046c0 = 0x20004640; *(uint64_t*)0x20004640 = 0; *(uint64_t*)0x20004648 = 0; *(uint64_t*)0x20004650 = 0; *(uint64_t*)0x20004658 = 0; *(uint64_t*)0x200046c8 = 0; *(uint64_t*)0x200046d0 = 0x20004680; *(uint64_t*)0x20004680 = 0; *(uint64_t*)0x20004688 = 0; *(uint64_t*)0x20004690 = 0; *(uint64_t*)0x20004698 = 0; *(uint64_t*)0x200046d8 = 0; *(uint64_t*)0x20004818 = 0x200047c0; *(uint64_t*)0x200047c0 = 0; *(uint64_t*)0x200047c8 = 0x20004700; *(uint64_t*)0x20004700 = 0; *(uint64_t*)0x20004708 = 0; *(uint64_t*)0x20004710 = 0; *(uint64_t*)0x20004718 = 0; *(uint64_t*)0x200047d0 = 0x20004740; *(uint64_t*)0x20004740 = 0; *(uint64_t*)0x20004748 = 0; *(uint64_t*)0x20004750 = 0; *(uint64_t*)0x20004758 = 0; *(uint64_t*)0x200047d8 = 0x20004780; *(uint64_t*)0x20004780 = 0; *(uint64_t*)0x20004788 = 0; *(uint64_t*)0x20004790 = 0; *(uint64_t*)0x20004798 = 0; *(uint64_t*)0x20004820 = 0; *(uint64_t*)0x20004828 = 0; *(uint64_t*)0x20004aa8 = 0x20004a40; *(uint64_t*)0x20004a40 = 0x20004880; *(uint64_t*)0x20004880 = 0x20004840; *(uint64_t*)0x20004840 = 0; *(uint64_t*)0x20004a48 = 0x20004900; *(uint64_t*)0x20004900 = 0x200048c0; *(uint64_t*)0x200048c0 = 0; *(uint64_t*)0x200048c8 = 0; *(uint64_t*)0x20004908 = 0; *(uint64_t*)0x20004a50 = 0x20004a00; *(uint64_t*)0x20004a00 = 0x20004940; *(uint64_t*)0x20004940 = 0; *(uint64_t*)0x20004948 = 0; *(uint64_t*)0x20004950 = 0; *(uint64_t*)0x20004958 = 0; *(uint64_t*)0x20004a08 = 0; *(uint64_t*)0x20004a10 = 0x20004980; *(uint64_t*)0x20004980 = 0; *(uint64_t*)0x20004988 = 0; *(uint64_t*)0x20004990 = 0; *(uint64_t*)0x20004998 = 0; *(uint64_t*)0x20004a18 = 0x200049c0; *(uint64_t*)0x200049c0 = 0; *(uint64_t*)0x200049c8 = 0; *(uint64_t*)0x200049d0 = 0; *(uint64_t*)0x200049d8 = 0; *(uint64_t*)0x20004a58 = 0; *(uint64_t*)0x20004a60 = 0; *(uint64_t*)0x20004a68 = 0; syscall(SYS_test, /*a0=*/0x20004ac0ul, 0, 0, 0, 0, 0); *(uint8_t*)0x20004b00 = 4; *(uint16_t*)0x20004b01 = 5; *(uint16_t*)0x20004b03 = 0x400; *(uint64_t*)0x20004b05 = 0xcf; syscall(SYS_test, /*a0=*/0x20004b00ul, 0, 0, 0, 0, 0); sprintf((char*)0x20004b40, "0x%016llx", (long long)0); syscall(SYS_foo, /*a=*/0x20004b40ul, 0, 0); *(uint8_t*)0x20004b80 = 5; syscall(SYS_test, /*a=*/0x20004b80ul, 0, 0, 0, 0, 0); *(uint64_t*)0x20004bc0 = 0x1000; syscall(SYS_test, /*a0=*/0x20004bc0ul, 0, 0, 0, 0, 0); memcpy((void*)0x20000000, "-\000", 2); *(uint8_t*)0x20000040 = 0xc0; *(uint16_t*)0x20000044 = 0; STORE_BY_BITMASK(uint32_t, , 0x20000044, 0x24b, 16, 12); STORE_BY_BITMASK(uint32_t, , 0x20000048, 0x380, 0, 12); syz_compare(/*want=*/0x20000000, /*want_len=*/2, /*got=*/0x20000040, /*got_len=*/0xc); syz_compare_int(/*n=*/2, /*v0=*/0xb584, /*v1=*/5, 0, 0); syz_errno(/*v=*/4); memcpy((void*)0x20000080, "\x68\x5d\xce\x50\x3a\x1d\x0b\x65\x7c\x26\x0c\x9d\x19\x4b\x3f\x80\x96\x20\xfd\xde\x60\xc9\x72\xd0\x38\x09\x53\x6f\x2c\xe0\x02\x02\x78\x7c\x45\xc6\x51\xd1\xfc\xe2\x48\x7a\x3d\x34\xca\xac\x04\x9f\xee\x28", 50); syz_execute_func(/*text=*/0x20000080); syz_exit(/*status=*/4); syz_mmap(/*addr=*/0x20ffe000, /*len=*/0x2000); syz_sleep_ms(/*ms=*/0xfff); syz_test_fuzzer1(/*a=*/6, /*b=*/2, /*c=*/0xb); } int main(void) { syz_mmap(/*addr=*/0x20000000, /*len=*/0x1000000); setup_fault(); use_temporary_dir(); do_sandbox_none(); return 0; } :315:2: error: call to undeclared function 'syscall'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); ^ 1 error generated. compiler invocation: c++ [-o /tmp/syz-executor3329112343 -DGOOS_test=1 -DGOARCH_64=1 -DHOSTGOOS_openbsd=1 -x c - -m64 -lutil -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-array-bounds -Wno-unused-but-set-variable -Wno-unused-command-line-argument -no-pie -fno-exceptions] --- FAIL: TestGenerate/test/64/14 (1.73s) csource_test.go:150: opts: {Threaded:true Repeat:true RepeatTimes:0 Procs:2 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:false Repro:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: test$recur2(&(0x7f0000000ac0)={0x0, 0x0, &(0x7f0000000100)={&(0x7f0000000000), &(0x7f0000000040), &(0x7f0000000080), &(0x7f00000000c0)}, 0x0, &(0x7f0000000a80)={&(0x7f0000000180)={&(0x7f0000000140)}, &(0x7f00000007c0)={&(0x7f00000004c0)={0x0, &(0x7f0000000480)={&(0x7f0000000200)={&(0x7f00000001c0)}, 0x0, &(0x7f0000000300)={0x0, &(0x7f0000000240), &(0x7f0000000280), &(0x7f00000002c0)}, &(0x7f0000000440)={&(0x7f0000000340), &(0x7f0000000380), &(0x7f00000003c0), &(0x7f0000000400)}}}, &(0x7f0000000780)={&(0x7f0000000500), 0x0, &(0x7f0000000600)={&(0x7f0000000540), &(0x7f0000000580), &(0x7f00000005c0)}, &(0x7f0000000740)={&(0x7f0000000640), &(0x7f0000000680), &(0x7f00000006c0), &(0x7f0000000700)}}}, 0x0, &(0x7f00000008c0)={0x0, &(0x7f0000000800), &(0x7f0000000840), &(0x7f0000000880)}, 0x0, &(0x7f0000000a40)={0x0, &(0x7f0000000940)={&(0x7f0000000900)}, 0x0, &(0x7f0000000a00)={0x0, &(0x7f0000000980), &(0x7f00000009c0)}}}}) (fail_nth: 1) test$recur0(&(0x7f0000000b80)={&(0x7f0000000b40)={&(0x7f0000000b00)}}) (async) test$recur2(&(0x7f0000003440)={&(0x7f0000000c00)={&(0x7f0000000bc0)}, &(0x7f0000001800)={&(0x7f00000011c0)={0x0, &(0x7f0000001180)={&(0x7f0000000c80)={&(0x7f0000000c40)}, 0x0, &(0x7f0000000d80)={&(0x7f0000000cc0), &(0x7f0000000d00), 0x0, &(0x7f0000000d40)}, &(0x7f0000000e80)={0x0, &(0x7f0000000dc0), &(0x7f0000000e00), &(0x7f0000000e40)}, &(0x7f0000001140)={&(0x7f0000000f00)={&(0x7f0000000ec0)}, 0x0, &(0x7f0000001000)={&(0x7f0000000f40), 0x0, &(0x7f0000000f80), &(0x7f0000000fc0)}, &(0x7f0000001100)={&(0x7f0000001040), &(0x7f0000001080), 0x0, &(0x7f00000010c0)}}}}, &(0x7f00000017c0)={&(0x7f0000001240)={&(0x7f0000001200)}, 0x0, &(0x7f0000001340)={&(0x7f0000001280), &(0x7f00000012c0), 0x0, &(0x7f0000001300)}, &(0x7f0000001480)={&(0x7f0000001380), &(0x7f00000013c0), &(0x7f0000001400), &(0x7f0000001440)}, &(0x7f0000001780)={&(0x7f0000001500)={&(0x7f00000014c0)}, 0x0, &(0x7f0000001640)={&(0x7f0000001540), &(0x7f0000001580), &(0x7f00000015c0), &(0x7f0000001600)}, &(0x7f0000001740)={0x0, &(0x7f0000001680), &(0x7f00000016c0), &(0x7f0000001700)}}}}, &(0x7f0000001940)={&(0x7f0000001840), &(0x7f0000001880), &(0x7f00000018c0), &(0x7f0000001900)}, &(0x7f0000001a40)={&(0x7f0000001980), 0x0, &(0x7f00000019c0), &(0x7f0000001a00)}, &(0x7f0000002780)={&(0x7f0000001ac0)={&(0x7f0000001a80)}, &(0x7f0000002140)={&(0x7f0000001dc0)={0x0, &(0x7f0000001d80)={&(0x7f0000001b00), 0x0, &(0x7f0000001c00)={&(0x7f0000001b40), 0x0, &(0x7f0000001b80), &(0x7f0000001bc0)}, &(0x7f0000001d40)={&(0x7f0000001c40), &(0x7f0000001c80), &(0x7f0000001cc0), &(0x7f0000001d00)}}}, &(0x7f0000002100)={&(0x7f0000001e40)={&(0x7f0000001e00)}, &(0x7f0000001e80), &(0x7f0000001fc0)={&(0x7f0000001ec0), &(0x7f0000001f00), &(0x7f0000001f40), &(0x7f0000001f80)}, &(0x7f00000020c0)={&(0x7f0000002000), 0x0, &(0x7f0000002040), &(0x7f0000002080)}}}, &(0x7f0000002280)={&(0x7f0000002180), &(0x7f00000021c0), &(0x7f0000002200), &(0x7f0000002240)}, &(0x7f00000023c0)={&(0x7f00000022c0), &(0x7f0000002300), &(0x7f0000002340), &(0x7f0000002380)}, &(0x7f00000024c0)={&(0x7f0000002440)={&(0x7f0000002400)}, &(0x7f0000002480)}, &(0x7f0000002740)={&(0x7f0000002540)={&(0x7f0000002500)}, &(0x7f00000025c0)={&(0x7f0000002580)}, 0x0, &(0x7f0000002700)={&(0x7f0000002600), &(0x7f0000002640), &(0x7f0000002680), &(0x7f00000026c0)}}}, &(0x7f0000003400)={&(0x7f0000002800)={&(0x7f00000027c0)}, &(0x7f0000002b80)={&(0x7f0000002900)={0x0, &(0x7f00000028c0)={&(0x7f0000002880)={&(0x7f0000002840)}}}, &(0x7f0000002b40)={&(0x7f0000002980)={&(0x7f0000002940)}, &(0x7f00000029c0), &(0x7f0000002b00)={&(0x7f0000002a00), &(0x7f0000002a40), &(0x7f0000002a80), &(0x7f0000002ac0)}}}, &(0x7f0000002cc0)={&(0x7f0000002bc0), &(0x7f0000002c00), &(0x7f0000002c40), &(0x7f0000002c80)}, &(0x7f0000002e00)={&(0x7f0000002d00), &(0x7f0000002d40), &(0x7f0000002d80), &(0x7f0000002dc0)}, &(0x7f0000003180)={&(0x7f0000002e80)={&(0x7f0000002e40)}, &(0x7f0000002f00)={&(0x7f0000002ec0)}, &(0x7f0000003000)={0x0, &(0x7f0000002f40), &(0x7f0000002f80), &(0x7f0000002fc0)}, &(0x7f0000003140)={&(0x7f0000003040), &(0x7f0000003080), &(0x7f00000030c0), &(0x7f0000003100)}}, &(0x7f00000033c0)={&(0x7f0000003200)={&(0x7f00000031c0)}, &(0x7f0000003240), &(0x7f0000003380)={&(0x7f0000003280), &(0x7f00000032c0), &(0x7f0000003300), &(0x7f0000003340)}}}}) (rerun: 4) test$use_cond_resource(&(0x7f0000003480)={0xcf}) test$create_cond_resource() test$recur1(&(0x7f0000004ac0)={&(0x7f0000003f40)={&(0x7f00000034c0), &(0x7f0000003f00)={&(0x7f0000003540)={&(0x7f0000003500)}, &(0x7f00000038c0)={0x0, &(0x7f0000003880)={&(0x7f00000035c0)={&(0x7f0000003580)}, 0x0, &(0x7f0000003700)={&(0x7f0000003600), &(0x7f0000003640), &(0x7f0000003680), &(0x7f00000036c0)}, &(0x7f0000003840)={&(0x7f0000003740), &(0x7f0000003780), &(0x7f00000037c0), &(0x7f0000003800)}}}, &(0x7f00000039c0)={0x0, &(0x7f0000003900), &(0x7f0000003940), &(0x7f0000003980)}, &(0x7f0000003ac0)={&(0x7f0000003a00), &(0x7f0000003a40), &(0x7f0000003a80)}, &(0x7f0000003d80)={&(0x7f0000003b40)={&(0x7f0000003b00)}, &(0x7f0000003b80), &(0x7f0000003c40)={0x0, 0x0, &(0x7f0000003bc0), &(0x7f0000003c00)}, &(0x7f0000003d40)={&(0x7f0000003c80), &(0x7f0000003cc0), &(0x7f0000003d00)}}, &(0x7f0000003ec0)={0x0, &(0x7f0000003dc0), 0x0, &(0x7f0000003e80)={0x0, 0x0, &(0x7f0000003e00), &(0x7f0000003e40)}}}}, &(0x7f0000004a80)={&(0x7f0000003fc0)={&(0x7f0000003f80)}, &(0x7f0000004280)={&(0x7f0000004000), &(0x7f0000004240)={0x0, &(0x7f0000004040), &(0x7f0000004100)={&(0x7f0000004080), 0x0, &(0x7f00000040c0)}, &(0x7f0000004200)={&(0x7f0000004140), &(0x7f0000004180), &(0x7f00000041c0)}}}, &(0x7f00000043c0)={&(0x7f00000042c0), &(0x7f0000004300), &(0x7f0000004340), &(0x7f0000004380)}, &(0x7f0000004500)={&(0x7f0000004400), &(0x7f0000004440), &(0x7f0000004480), &(0x7f00000044c0)}, &(0x7f0000004800)={&(0x7f0000004580)={&(0x7f0000004540)}, &(0x7f0000004600)={&(0x7f00000045c0)}, &(0x7f00000046c0)={&(0x7f0000004640), 0x0, &(0x7f0000004680)}, &(0x7f00000047c0)={0x0, &(0x7f0000004700), &(0x7f0000004740), &(0x7f0000004780)}}, &(0x7f0000004a40)={&(0x7f0000004880)={&(0x7f0000004840)}, &(0x7f0000004900)={&(0x7f00000048c0)}, &(0x7f0000004a00)={&(0x7f0000004940), 0x0, &(0x7f0000004980), &(0x7f00000049c0)}}}}) test$array0(&(0x7f0000004b00)={0x4, [@f0=0x5, @f0=0x400], 0xcf}) foo$fmt1(&(0x7f0000004b40)) test$use_cond_resource(&(0x7f0000004b80)={0x5}) test$opt1(&(0x7f0000004bc0)=0x1000) syz_compare(&(0x7f0000000000)='-\x00', 0x2, &(0x7f0000000040)=@bf13={0xc0, {0x0, 0x24b, 0x380}}, 0xc) syz_compare_int$2(0x2, 0xb584, 0x5) syz_errno(0x4) syz_execute_func(&(0x7f0000000080)="685dce503a1d0b657c260c9d194b3f809620fdde60c972d03809536f2ce00202787c45c651d1fce2487a3d34caac049fee28") syz_exit(0x4) syz_mmap(&(0x7f0000ffe000/0x2000)=nil, 0x2000) syz_sleep_ms(0xfff) syz_test_fuzzer1(0x6, 0x2, 0xb) csource_test.go:151: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #ifndef SYS_foo #define SYS_foo 0 #endif #ifndef SYS_test #define SYS_test 0 #endif static unsigned long long procid; static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } static int inject_fault(int nth) { return 0; } static void setup_fault() { } static void thread_start(void* (*fn)(void*), void* arg) { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 128 << 10); int i = 0; for (; i < 100; i++) { if (pthread_create(&th, &attr, fn, arg) == 0) { pthread_attr_destroy(&attr); return; } if (errno == EAGAIN) { usleep(50); continue; } break; } exit(1); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); 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) exit(1); 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_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #define BITMASK(bf_off,bf_len) (((1ull << (bf_len)) - 1) << (bf_off)) #define STORE_BY_BITMASK(type,htobe,addr,val,bf_off,bf_len) *(type*)(addr) = htobe((htobe(*(type*)(addr)) & ~BITMASK((bf_off), (bf_len))) | (((type)(val) << (bf_off)) & BITMASK((bf_off), (bf_len)))) static long syz_mmap(volatile long a0, volatile long a1) { return (long)mmap((void*)a0, a1, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0); } static long syz_errno(volatile long v) { errno = v; return v == 0 ? 0 : -1; } static long syz_exit(volatile long status) { _exit(status); return 0; } static long syz_sleep_ms(volatile long ms) { sleep_ms(ms); return 0; } static long syz_compare(volatile long want, volatile long want_len, volatile long got, volatile long got_len) { if (want_len != got_len) { errno = EBADF; goto error; } if (memcmp((void*)want, (void*)got, want_len)) { errno = EINVAL; goto error; } return 0; error: return -1; } static long syz_compare_int(volatile long n, ...) { va_list args; va_start(args, n); long v0 = va_arg(args, long); long v1 = va_arg(args, long); long v2 = va_arg(args, long); long v3 = va_arg(args, long); va_end(args); if (n < 2 || n > 4) return errno = E2BIG, -1; if (n <= 2 && v2 != 0) return errno = EFAULT, -1; if (n <= 3 && v3 != 0) return errno = EFAULT, -1; if (v0 != v1) return errno = EINVAL, -1; if (n > 2 && v0 != v2) return errno = EINVAL, -1; if (n > 3 && v0 != v3) return errno = EINVAL, -1; return 0; } static void loop(); static int do_sandbox_none(void) { loop(); return 0; } static void fake_crash(const char* name) { exit(1); exit(1); } static long syz_test_fuzzer1(volatile long a, volatile long b, volatile long c) { if (a == 1 && b == 1 && c == 1) fake_crash("first bug"); if (a == 1 && b == 2 && c == 3) fake_crash("second bug"); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } 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; 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_one(void) { if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } int i, call, thread; for (call = 0; call < 18; call++) { for (thread = 0; thread < (int)(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 (call == 1) break; event_timedwait(&th->done, 50); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); static void loop(void) { execute_one(); } void execute_call(int call) { switch (call) { case 0: *(uint64_t*)0x20000ac0 = 0; *(uint64_t*)0x20000ac8 = 0; *(uint64_t*)0x20000ad0 = 0x20000100; *(uint64_t*)0x20000100 = 0x20000000; *(uint64_t*)0x20000000 = 0; *(uint64_t*)0x20000008 = 0; *(uint64_t*)0x20000010 = 0; *(uint64_t*)0x20000018 = 0; *(uint64_t*)0x20000108 = 0x20000040; *(uint64_t*)0x20000040 = 0; *(uint64_t*)0x20000048 = 0; *(uint64_t*)0x20000050 = 0; *(uint64_t*)0x20000058 = 0; *(uint64_t*)0x20000110 = 0x20000080; *(uint64_t*)0x20000080 = 0; *(uint64_t*)0x20000088 = 0; *(uint64_t*)0x20000090 = 0; *(uint64_t*)0x20000098 = 0; *(uint64_t*)0x20000118 = 0x200000c0; *(uint64_t*)0x200000c0 = 0; *(uint64_t*)0x200000c8 = 0; *(uint64_t*)0x200000d0 = 0; *(uint64_t*)0x200000d8 = 0; *(uint64_t*)0x20000ad8 = 0; *(uint64_t*)0x20000ae0 = 0x20000a80; *(uint64_t*)0x20000a80 = 0x20000180; *(uint64_t*)0x20000180 = 0x20000140; *(uint64_t*)0x20000140 = 0; *(uint64_t*)0x20000a88 = 0x200007c0; *(uint64_t*)0x200007c0 = 0x200004c0; *(uint64_t*)0x200004c0 = 0; *(uint64_t*)0x200004c8 = 0x20000480; *(uint64_t*)0x20000480 = 0x20000200; *(uint64_t*)0x20000200 = 0x200001c0; *(uint64_t*)0x200001c0 = 0; *(uint64_t*)0x20000488 = 0; *(uint64_t*)0x20000490 = 0x20000300; *(uint64_t*)0x20000300 = 0; *(uint64_t*)0x20000308 = 0x20000240; *(uint64_t*)0x20000240 = 0; *(uint64_t*)0x20000248 = 0; *(uint64_t*)0x20000250 = 0; *(uint64_t*)0x20000258 = 0; *(uint64_t*)0x20000310 = 0x20000280; *(uint64_t*)0x20000280 = 0; *(uint64_t*)0x20000288 = 0; *(uint64_t*)0x20000290 = 0; *(uint64_t*)0x20000298 = 0; *(uint64_t*)0x20000318 = 0x200002c0; *(uint64_t*)0x200002c0 = 0; *(uint64_t*)0x200002c8 = 0; *(uint64_t*)0x200002d0 = 0; *(uint64_t*)0x200002d8 = 0; *(uint64_t*)0x20000498 = 0x20000440; *(uint64_t*)0x20000440 = 0x20000340; *(uint64_t*)0x20000340 = 0; *(uint64_t*)0x20000348 = 0; *(uint64_t*)0x20000350 = 0; *(uint64_t*)0x20000358 = 0; *(uint64_t*)0x20000448 = 0x20000380; *(uint64_t*)0x20000380 = 0; *(uint64_t*)0x20000388 = 0; *(uint64_t*)0x20000390 = 0; *(uint64_t*)0x20000398 = 0; *(uint64_t*)0x20000450 = 0x200003c0; *(uint64_t*)0x200003c0 = 0; *(uint64_t*)0x200003c8 = 0; *(uint64_t*)0x200003d0 = 0; *(uint64_t*)0x200003d8 = 0; *(uint64_t*)0x20000458 = 0x20000400; *(uint64_t*)0x20000400 = 0; *(uint64_t*)0x20000408 = 0; *(uint64_t*)0x20000410 = 0; *(uint64_t*)0x20000418 = 0; *(uint64_t*)0x200004a0 = 0; *(uint64_t*)0x200004a8 = 0; *(uint64_t*)0x200007c8 = 0x20000780; *(uint64_t*)0x20000780 = 0x20000500; *(uint64_t*)0x20000500 = 0; *(uint64_t*)0x20000788 = 0; *(uint64_t*)0x20000790 = 0x20000600; *(uint64_t*)0x20000600 = 0x20000540; *(uint64_t*)0x20000540 = 0; *(uint64_t*)0x20000548 = 0; *(uint64_t*)0x20000550 = 0; *(uint64_t*)0x20000558 = 0; *(uint64_t*)0x20000608 = 0x20000580; *(uint64_t*)0x20000580 = 0; *(uint64_t*)0x20000588 = 0; *(uint64_t*)0x20000590 = 0; *(uint64_t*)0x20000598 = 0; *(uint64_t*)0x20000610 = 0x200005c0; *(uint64_t*)0x200005c0 = 0; *(uint64_t*)0x200005c8 = 0; *(uint64_t*)0x200005d0 = 0; *(uint64_t*)0x200005d8 = 0; *(uint64_t*)0x20000618 = 0; *(uint64_t*)0x20000798 = 0x20000740; *(uint64_t*)0x20000740 = 0x20000640; *(uint64_t*)0x20000640 = 0; *(uint64_t*)0x20000648 = 0; *(uint64_t*)0x20000650 = 0; *(uint64_t*)0x20000658 = 0; *(uint64_t*)0x20000748 = 0x20000680; *(uint64_t*)0x20000680 = 0; *(uint64_t*)0x20000688 = 0; *(uint64_t*)0x20000690 = 0; *(uint64_t*)0x20000698 = 0; *(uint64_t*)0x20000750 = 0x200006c0; *(uint64_t*)0x200006c0 = 0; *(uint64_t*)0x200006c8 = 0; *(uint64_t*)0x200006d0 = 0; *(uint64_t*)0x200006d8 = 0; *(uint64_t*)0x20000758 = 0x20000700; *(uint64_t*)0x20000700 = 0; *(uint64_t*)0x20000708 = 0; *(uint64_t*)0x20000710 = 0; *(uint64_t*)0x20000718 = 0; *(uint64_t*)0x200007a0 = 0; *(uint64_t*)0x200007a8 = 0; *(uint64_t*)0x20000a90 = 0; *(uint64_t*)0x20000a98 = 0x200008c0; *(uint64_t*)0x200008c0 = 0; *(uint64_t*)0x200008c8 = 0x20000800; *(uint64_t*)0x20000800 = 0; *(uint64_t*)0x20000808 = 0; *(uint64_t*)0x20000810 = 0; *(uint64_t*)0x20000818 = 0; *(uint64_t*)0x200008d0 = 0x20000840; *(uint64_t*)0x20000840 = 0; *(uint64_t*)0x20000848 = 0; *(uint64_t*)0x20000850 = 0; *(uint64_t*)0x20000858 = 0; *(uint64_t*)0x200008d8 = 0x20000880; *(uint64_t*)0x20000880 = 0; *(uint64_t*)0x20000888 = 0; *(uint64_t*)0x20000890 = 0; *(uint64_t*)0x20000898 = 0; *(uint64_t*)0x20000aa0 = 0; *(uint64_t*)0x20000aa8 = 0x20000a40; *(uint64_t*)0x20000a40 = 0; *(uint64_t*)0x20000a48 = 0x20000940; *(uint64_t*)0x20000940 = 0x20000900; *(uint64_t*)0x20000900 = 0; *(uint64_t*)0x20000908 = 0; *(uint64_t*)0x20000948 = 0; *(uint64_t*)0x20000a50 = 0; *(uint64_t*)0x20000a58 = 0x20000a00; *(uint64_t*)0x20000a00 = 0; *(uint64_t*)0x20000a08 = 0x20000980; *(uint64_t*)0x20000980 = 0; *(uint64_t*)0x20000988 = 0; *(uint64_t*)0x20000990 = 0; *(uint64_t*)0x20000998 = 0; *(uint64_t*)0x20000a10 = 0x200009c0; *(uint64_t*)0x200009c0 = 0; *(uint64_t*)0x200009c8 = 0; *(uint64_t*)0x200009d0 = 0; *(uint64_t*)0x200009d8 = 0; *(uint64_t*)0x20000a18 = 0; *(uint64_t*)0x20000a60 = 0; *(uint64_t*)0x20000a68 = 0; *(uint64_t*)0x20000ae8 = 0; inject_fault(1); syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); break; case 1: *(uint64_t*)0x20000b80 = 0x20000b40; *(uint64_t*)0x20000b40 = 0x20000b00; *(uint64_t*)0x20000b00 = 0; syscall(SYS_test, /*a0=*/0x20000b80ul, 0, 0, 0, 0, 0); break; case 2: *(uint64_t*)0x20003440 = 0x20000c00; *(uint64_t*)0x20000c00 = 0x20000bc0; *(uint64_t*)0x20000bc0 = 0; *(uint64_t*)0x20003448 = 0x20001800; *(uint64_t*)0x20001800 = 0x200011c0; *(uint64_t*)0x200011c0 = 0; *(uint64_t*)0x200011c8 = 0x20001180; *(uint64_t*)0x20001180 = 0x20000c80; *(uint64_t*)0x20000c80 = 0x20000c40; *(uint64_t*)0x20000c40 = 0; *(uint64_t*)0x20001188 = 0; *(uint64_t*)0x20001190 = 0x20000d80; *(uint64_t*)0x20000d80 = 0x20000cc0; *(uint64_t*)0x20000cc0 = 0; *(uint64_t*)0x20000cc8 = 0; *(uint64_t*)0x20000cd0 = 0; *(uint64_t*)0x20000cd8 = 0; *(uint64_t*)0x20000d88 = 0x20000d00; *(uint64_t*)0x20000d00 = 0; *(uint64_t*)0x20000d08 = 0; *(uint64_t*)0x20000d10 = 0; *(uint64_t*)0x20000d18 = 0; *(uint64_t*)0x20000d90 = 0; *(uint64_t*)0x20000d98 = 0x20000d40; *(uint64_t*)0x20000d40 = 0; *(uint64_t*)0x20000d48 = 0; *(uint64_t*)0x20000d50 = 0; *(uint64_t*)0x20000d58 = 0; *(uint64_t*)0x20001198 = 0x20000e80; *(uint64_t*)0x20000e80 = 0; *(uint64_t*)0x20000e88 = 0x20000dc0; *(uint64_t*)0x20000dc0 = 0; *(uint64_t*)0x20000dc8 = 0; *(uint64_t*)0x20000dd0 = 0; *(uint64_t*)0x20000dd8 = 0; *(uint64_t*)0x20000e90 = 0x20000e00; *(uint64_t*)0x20000e00 = 0; *(uint64_t*)0x20000e08 = 0; *(uint64_t*)0x20000e10 = 0; *(uint64_t*)0x20000e18 = 0; *(uint64_t*)0x20000e98 = 0x20000e40; *(uint64_t*)0x20000e40 = 0; *(uint64_t*)0x20000e48 = 0; *(uint64_t*)0x20000e50 = 0; *(uint64_t*)0x20000e58 = 0; *(uint64_t*)0x200011a0 = 0x20001140; *(uint64_t*)0x20001140 = 0x20000f00; *(uint64_t*)0x20000f00 = 0x20000ec0; *(uint64_t*)0x20000ec0 = 0; *(uint64_t*)0x20001148 = 0; *(uint64_t*)0x20001150 = 0x20001000; *(uint64_t*)0x20001000 = 0x20000f40; *(uint64_t*)0x20000f40 = 0; *(uint64_t*)0x20000f48 = 0; *(uint64_t*)0x20000f50 = 0; *(uint64_t*)0x20000f58 = 0; *(uint64_t*)0x20001008 = 0; *(uint64_t*)0x20001010 = 0x20000f80; *(uint64_t*)0x20000f80 = 0; *(uint64_t*)0x20000f88 = 0; *(uint64_t*)0x20000f90 = 0; *(uint64_t*)0x20000f98 = 0; *(uint64_t*)0x20001018 = 0x20000fc0; *(uint64_t*)0x20000fc0 = 0; *(uint64_t*)0x20000fc8 = 0; *(uint64_t*)0x20000fd0 = 0; *(uint64_t*)0x20000fd8 = 0; *(uint64_t*)0x20001158 = 0x20001100; *(uint64_t*)0x20001100 = 0x20001040; *(uint64_t*)0x20001040 = 0; *(uint64_t*)0x20001048 = 0; *(uint64_t*)0x20001050 = 0; *(uint64_t*)0x20001058 = 0; *(uint64_t*)0x20001108 = 0x20001080; *(uint64_t*)0x20001080 = 0; *(uint64_t*)0x20001088 = 0; *(uint64_t*)0x20001090 = 0; *(uint64_t*)0x20001098 = 0; *(uint64_t*)0x20001110 = 0; *(uint64_t*)0x20001118 = 0x200010c0; *(uint64_t*)0x200010c0 = 0; *(uint64_t*)0x200010c8 = 0; *(uint64_t*)0x200010d0 = 0; *(uint64_t*)0x200010d8 = 0; *(uint64_t*)0x20001160 = 0; *(uint64_t*)0x20001168 = 0; *(uint64_t*)0x200011a8 = 0; *(uint64_t*)0x20001808 = 0x200017c0; *(uint64_t*)0x200017c0 = 0x20001240; *(uint64_t*)0x20001240 = 0x20001200; *(uint64_t*)0x20001200 = 0; *(uint64_t*)0x200017c8 = 0; *(uint64_t*)0x200017d0 = 0x20001340; *(uint64_t*)0x20001340 = 0x20001280; *(uint64_t*)0x20001280 = 0; *(uint64_t*)0x20001288 = 0; *(uint64_t*)0x20001290 = 0; *(uint64_t*)0x20001298 = 0; *(uint64_t*)0x20001348 = 0x200012c0; *(uint64_t*)0x200012c0 = 0; *(uint64_t*)0x200012c8 = 0; *(uint64_t*)0x200012d0 = 0; *(uint64_t*)0x200012d8 = 0; *(uint64_t*)0x20001350 = 0; *(uint64_t*)0x20001358 = 0x20001300; *(uint64_t*)0x20001300 = 0; *(uint64_t*)0x20001308 = 0; *(uint64_t*)0x20001310 = 0; *(uint64_t*)0x20001318 = 0; *(uint64_t*)0x200017d8 = 0x20001480; *(uint64_t*)0x20001480 = 0x20001380; *(uint64_t*)0x20001380 = 0; *(uint64_t*)0x20001388 = 0; *(uint64_t*)0x20001390 = 0; *(uint64_t*)0x20001398 = 0; *(uint64_t*)0x20001488 = 0x200013c0; *(uint64_t*)0x200013c0 = 0; *(uint64_t*)0x200013c8 = 0; *(uint64_t*)0x200013d0 = 0; *(uint64_t*)0x200013d8 = 0; *(uint64_t*)0x20001490 = 0x20001400; *(uint64_t*)0x20001400 = 0; *(uint64_t*)0x20001408 = 0; *(uint64_t*)0x20001410 = 0; *(uint64_t*)0x20001418 = 0; *(uint64_t*)0x20001498 = 0x20001440; *(uint64_t*)0x20001440 = 0; *(uint64_t*)0x20001448 = 0; *(uint64_t*)0x20001450 = 0; *(uint64_t*)0x20001458 = 0; *(uint64_t*)0x200017e0 = 0x20001780; *(uint64_t*)0x20001780 = 0x20001500; *(uint64_t*)0x20001500 = 0x200014c0; *(uint64_t*)0x200014c0 = 0; *(uint64_t*)0x20001788 = 0; *(uint64_t*)0x20001790 = 0x20001640; *(uint64_t*)0x20001640 = 0x20001540; *(uint64_t*)0x20001540 = 0; *(uint64_t*)0x20001548 = 0; *(uint64_t*)0x20001550 = 0; *(uint64_t*)0x20001558 = 0; *(uint64_t*)0x20001648 = 0x20001580; *(uint64_t*)0x20001580 = 0; *(uint64_t*)0x20001588 = 0; *(uint64_t*)0x20001590 = 0; *(uint64_t*)0x20001598 = 0; *(uint64_t*)0x20001650 = 0x200015c0; *(uint64_t*)0x200015c0 = 0; *(uint64_t*)0x200015c8 = 0; *(uint64_t*)0x200015d0 = 0; *(uint64_t*)0x200015d8 = 0; *(uint64_t*)0x20001658 = 0x20001600; *(uint64_t*)0x20001600 = 0; *(uint64_t*)0x20001608 = 0; *(uint64_t*)0x20001610 = 0; *(uint64_t*)0x20001618 = 0; *(uint64_t*)0x20001798 = 0x20001740; *(uint64_t*)0x20001740 = 0; *(uint64_t*)0x20001748 = 0x20001680; *(uint64_t*)0x20001680 = 0; *(uint64_t*)0x20001688 = 0; *(uint64_t*)0x20001690 = 0; *(uint64_t*)0x20001698 = 0; *(uint64_t*)0x20001750 = 0x200016c0; *(uint64_t*)0x200016c0 = 0; *(uint64_t*)0x200016c8 = 0; *(uint64_t*)0x200016d0 = 0; *(uint64_t*)0x200016d8 = 0; *(uint64_t*)0x20001758 = 0x20001700; *(uint64_t*)0x20001700 = 0; *(uint64_t*)0x20001708 = 0; *(uint64_t*)0x20001710 = 0; *(uint64_t*)0x20001718 = 0; *(uint64_t*)0x200017a0 = 0; *(uint64_t*)0x200017a8 = 0; *(uint64_t*)0x200017e8 = 0; *(uint64_t*)0x20003450 = 0x20001940; *(uint64_t*)0x20001940 = 0x20001840; *(uint64_t*)0x20001840 = 0; *(uint64_t*)0x20001848 = 0; *(uint64_t*)0x20001850 = 0; *(uint64_t*)0x20001858 = 0; *(uint64_t*)0x20001948 = 0x20001880; *(uint64_t*)0x20001880 = 0; *(uint64_t*)0x20001888 = 0; *(uint64_t*)0x20001890 = 0; *(uint64_t*)0x20001898 = 0; *(uint64_t*)0x20001950 = 0x200018c0; *(uint64_t*)0x200018c0 = 0; *(uint64_t*)0x200018c8 = 0; *(uint64_t*)0x200018d0 = 0; *(uint64_t*)0x200018d8 = 0; *(uint64_t*)0x20001958 = 0x20001900; *(uint64_t*)0x20001900 = 0; *(uint64_t*)0x20001908 = 0; *(uint64_t*)0x20001910 = 0; *(uint64_t*)0x20001918 = 0; *(uint64_t*)0x20003458 = 0x20001a40; *(uint64_t*)0x20001a40 = 0x20001980; *(uint64_t*)0x20001980 = 0; *(uint64_t*)0x20001988 = 0; *(uint64_t*)0x20001990 = 0; *(uint64_t*)0x20001998 = 0; *(uint64_t*)0x20001a48 = 0; *(uint64_t*)0x20001a50 = 0x200019c0; *(uint64_t*)0x200019c0 = 0; *(uint64_t*)0x200019c8 = 0; *(uint64_t*)0x200019d0 = 0; *(uint64_t*)0x200019d8 = 0; *(uint64_t*)0x20001a58 = 0x20001a00; *(uint64_t*)0x20001a00 = 0; *(uint64_t*)0x20001a08 = 0; *(uint64_t*)0x20001a10 = 0; *(uint64_t*)0x20001a18 = 0; *(uint64_t*)0x20003460 = 0x20002780; *(uint64_t*)0x20002780 = 0x20001ac0; *(uint64_t*)0x20001ac0 = 0x20001a80; *(uint64_t*)0x20001a80 = 0; *(uint64_t*)0x20002788 = 0x20002140; *(uint64_t*)0x20002140 = 0x20001dc0; *(uint64_t*)0x20001dc0 = 0; *(uint64_t*)0x20001dc8 = 0x20001d80; *(uint64_t*)0x20001d80 = 0x20001b00; *(uint64_t*)0x20001b00 = 0; *(uint64_t*)0x20001d88 = 0; *(uint64_t*)0x20001d90 = 0x20001c00; *(uint64_t*)0x20001c00 = 0x20001b40; *(uint64_t*)0x20001b40 = 0; *(uint64_t*)0x20001b48 = 0; *(uint64_t*)0x20001b50 = 0; *(uint64_t*)0x20001b58 = 0; *(uint64_t*)0x20001c08 = 0; *(uint64_t*)0x20001c10 = 0x20001b80; *(uint64_t*)0x20001b80 = 0; *(uint64_t*)0x20001b88 = 0; *(uint64_t*)0x20001b90 = 0; *(uint64_t*)0x20001b98 = 0; *(uint64_t*)0x20001c18 = 0x20001bc0; *(uint64_t*)0x20001bc0 = 0; *(uint64_t*)0x20001bc8 = 0; *(uint64_t*)0x20001bd0 = 0; *(uint64_t*)0x20001bd8 = 0; *(uint64_t*)0x20001d98 = 0x20001d40; *(uint64_t*)0x20001d40 = 0x20001c40; *(uint64_t*)0x20001c40 = 0; *(uint64_t*)0x20001c48 = 0; *(uint64_t*)0x20001c50 = 0; *(uint64_t*)0x20001c58 = 0; *(uint64_t*)0x20001d48 = 0x20001c80; *(uint64_t*)0x20001c80 = 0; *(uint64_t*)0x20001c88 = 0; *(uint64_t*)0x20001c90 = 0; *(uint64_t*)0x20001c98 = 0; *(uint64_t*)0x20001d50 = 0x20001cc0; *(uint64_t*)0x20001cc0 = 0; *(uint64_t*)0x20001cc8 = 0; *(uint64_t*)0x20001cd0 = 0; *(uint64_t*)0x20001cd8 = 0; *(uint64_t*)0x20001d58 = 0x20001d00; *(uint64_t*)0x20001d00 = 0; *(uint64_t*)0x20001d08 = 0; *(uint64_t*)0x20001d10 = 0; *(uint64_t*)0x20001d18 = 0; *(uint64_t*)0x20001da0 = 0; *(uint64_t*)0x20001da8 = 0; *(uint64_t*)0x20002148 = 0x20002100; *(uint64_t*)0x20002100 = 0x20001e40; *(uint64_t*)0x20001e40 = 0x20001e00; *(uint64_t*)0x20001e00 = 0; *(uint64_t*)0x20002108 = 0x20001e80; *(uint64_t*)0x20001e80 = 0; *(uint64_t*)0x20001e88 = 0; *(uint64_t*)0x20002110 = 0x20001fc0; *(uint64_t*)0x20001fc0 = 0x20001ec0; *(uint64_t*)0x20001ec0 = 0; *(uint64_t*)0x20001ec8 = 0; *(uint64_t*)0x20001ed0 = 0; *(uint64_t*)0x20001ed8 = 0; *(uint64_t*)0x20001fc8 = 0x20001f00; *(uint64_t*)0x20001f00 = 0; *(uint64_t*)0x20001f08 = 0; *(uint64_t*)0x20001f10 = 0; *(uint64_t*)0x20001f18 = 0; *(uint64_t*)0x20001fd0 = 0x20001f40; *(uint64_t*)0x20001f40 = 0; *(uint64_t*)0x20001f48 = 0; *(uint64_t*)0x20001f50 = 0; *(uint64_t*)0x20001f58 = 0; *(uint64_t*)0x20001fd8 = 0x20001f80; *(uint64_t*)0x20001f80 = 0; *(uint64_t*)0x20001f88 = 0; *(uint64_t*)0x20001f90 = 0; *(uint64_t*)0x20001f98 = 0; *(uint64_t*)0x20002118 = 0x200020c0; *(uint64_t*)0x200020c0 = 0x20002000; *(uint64_t*)0x20002000 = 0; *(uint64_t*)0x20002008 = 0; *(uint64_t*)0x20002010 = 0; *(uint64_t*)0x20002018 = 0; *(uint64_t*)0x200020c8 = 0; *(uint64_t*)0x200020d0 = 0x20002040; *(uint64_t*)0x20002040 = 0; *(uint64_t*)0x20002048 = 0; *(uint64_t*)0x20002050 = 0; *(uint64_t*)0x20002058 = 0; *(uint64_t*)0x200020d8 = 0x20002080; *(uint64_t*)0x20002080 = 0; *(uint64_t*)0x20002088 = 0; *(uint64_t*)0x20002090 = 0; *(uint64_t*)0x20002098 = 0; *(uint64_t*)0x20002120 = 0; *(uint64_t*)0x20002128 = 0; *(uint64_t*)0x20002790 = 0x20002280; *(uint64_t*)0x20002280 = 0x20002180; *(uint64_t*)0x20002180 = 0; *(uint64_t*)0x20002188 = 0; *(uint64_t*)0x20002190 = 0; *(uint64_t*)0x20002198 = 0; *(uint64_t*)0x20002288 = 0x200021c0; *(uint64_t*)0x200021c0 = 0; *(uint64_t*)0x200021c8 = 0; *(uint64_t*)0x200021d0 = 0; *(uint64_t*)0x200021d8 = 0; *(uint64_t*)0x20002290 = 0x20002200; *(uint64_t*)0x20002200 = 0; *(uint64_t*)0x20002208 = 0; *(uint64_t*)0x20002210 = 0; *(uint64_t*)0x20002218 = 0; *(uint64_t*)0x20002298 = 0x20002240; *(uint64_t*)0x20002240 = 0; *(uint64_t*)0x20002248 = 0; *(uint64_t*)0x20002250 = 0; *(uint64_t*)0x20002258 = 0; *(uint64_t*)0x20002798 = 0x200023c0; *(uint64_t*)0x200023c0 = 0x200022c0; *(uint64_t*)0x200022c0 = 0; *(uint64_t*)0x200022c8 = 0; *(uint64_t*)0x200022d0 = 0; *(uint64_t*)0x200022d8 = 0; *(uint64_t*)0x200023c8 = 0x20002300; *(uint64_t*)0x20002300 = 0; *(uint64_t*)0x20002308 = 0; *(uint64_t*)0x20002310 = 0; *(uint64_t*)0x20002318 = 0; *(uint64_t*)0x200023d0 = 0x20002340; *(uint64_t*)0x20002340 = 0; *(uint64_t*)0x20002348 = 0; *(uint64_t*)0x20002350 = 0; *(uint64_t*)0x20002358 = 0; *(uint64_t*)0x200023d8 = 0x20002380; *(uint64_t*)0x20002380 = 0; *(uint64_t*)0x20002388 = 0; *(uint64_t*)0x20002390 = 0; *(uint64_t*)0x20002398 = 0; *(uint64_t*)0x200027a0 = 0x200024c0; *(uint64_t*)0x200024c0 = 0x20002440; *(uint64_t*)0x20002440 = 0x20002400; *(uint64_t*)0x20002400 = 0; *(uint64_t*)0x200024c8 = 0x20002480; *(uint64_t*)0x20002480 = 0; *(uint64_t*)0x20002488 = 0; *(uint64_t*)0x200024d0 = 0; *(uint64_t*)0x200024d8 = 0; *(uint64_t*)0x200024e0 = 0; *(uint64_t*)0x200024e8 = 0; *(uint64_t*)0x200027a8 = 0x20002740; *(uint64_t*)0x20002740 = 0x20002540; *(uint64_t*)0x20002540 = 0x20002500; *(uint64_t*)0x20002500 = 0; *(uint64_t*)0x20002748 = 0x200025c0; *(uint64_t*)0x200025c0 = 0x20002580; *(uint64_t*)0x20002580 = 0; *(uint64_t*)0x20002588 = 0; *(uint64_t*)0x200025c8 = 0; *(uint64_t*)0x20002750 = 0; *(uint64_t*)0x20002758 = 0x20002700; *(uint64_t*)0x20002700 = 0x20002600; *(uint64_t*)0x20002600 = 0; *(uint64_t*)0x20002608 = 0; *(uint64_t*)0x20002610 = 0; *(uint64_t*)0x20002618 = 0; *(uint64_t*)0x20002708 = 0x20002640; *(uint64_t*)0x20002640 = 0; *(uint64_t*)0x20002648 = 0; *(uint64_t*)0x20002650 = 0; *(uint64_t*)0x20002658 = 0; *(uint64_t*)0x20002710 = 0x20002680; *(uint64_t*)0x20002680 = 0; *(uint64_t*)0x20002688 = 0; *(uint64_t*)0x20002690 = 0; *(uint64_t*)0x20002698 = 0; *(uint64_t*)0x20002718 = 0x200026c0; *(uint64_t*)0x200026c0 = 0; *(uint64_t*)0x200026c8 = 0; *(uint64_t*)0x200026d0 = 0; *(uint64_t*)0x200026d8 = 0; *(uint64_t*)0x20002760 = 0; *(uint64_t*)0x20002768 = 0; *(uint64_t*)0x20003468 = 0x20003400; *(uint64_t*)0x20003400 = 0x20002800; *(uint64_t*)0x20002800 = 0x200027c0; *(uint64_t*)0x200027c0 = 0; *(uint64_t*)0x20003408 = 0x20002b80; *(uint64_t*)0x20002b80 = 0x20002900; *(uint64_t*)0x20002900 = 0; *(uint64_t*)0x20002908 = 0x200028c0; *(uint64_t*)0x200028c0 = 0x20002880; *(uint64_t*)0x20002880 = 0x20002840; *(uint64_t*)0x20002840 = 0; *(uint64_t*)0x200028c8 = 0; *(uint64_t*)0x200028d0 = 0; *(uint64_t*)0x200028d8 = 0; *(uint64_t*)0x200028e0 = 0; *(uint64_t*)0x200028e8 = 0; *(uint64_t*)0x20002b88 = 0x20002b40; *(uint64_t*)0x20002b40 = 0x20002980; *(uint64_t*)0x20002980 = 0x20002940; *(uint64_t*)0x20002940 = 0; *(uint64_t*)0x20002b48 = 0x200029c0; *(uint64_t*)0x200029c0 = 0; *(uint64_t*)0x200029c8 = 0; *(uint64_t*)0x20002b50 = 0x20002b00; *(uint64_t*)0x20002b00 = 0x20002a00; *(uint64_t*)0x20002a00 = 0; *(uint64_t*)0x20002a08 = 0; *(uint64_t*)0x20002a10 = 0; *(uint64_t*)0x20002a18 = 0; *(uint64_t*)0x20002b08 = 0x20002a40; *(uint64_t*)0x20002a40 = 0; *(uint64_t*)0x20002a48 = 0; *(uint64_t*)0x20002a50 = 0; *(uint64_t*)0x20002a58 = 0; *(uint64_t*)0x20002b10 = 0x20002a80; *(uint64_t*)0x20002a80 = 0; *(uint64_t*)0x20002a88 = 0; *(uint64_t*)0x20002a90 = 0; *(uint64_t*)0x20002a98 = 0; *(uint64_t*)0x20002b18 = 0x20002ac0; *(uint64_t*)0x20002ac0 = 0; *(uint64_t*)0x20002ac8 = 0; *(uint64_t*)0x20002ad0 = 0; *(uint64_t*)0x20002ad8 = 0; *(uint64_t*)0x20002b58 = 0; *(uint64_t*)0x20002b60 = 0; *(uint64_t*)0x20002b68 = 0; *(uint64_t*)0x20003410 = 0x20002cc0; *(uint64_t*)0x20002cc0 = 0x20002bc0; *(uint64_t*)0x20002bc0 = 0; *(uint64_t*)0x20002bc8 = 0; *(uint64_t*)0x20002bd0 = 0; *(uint64_t*)0x20002bd8 = 0; *(uint64_t*)0x20002cc8 = 0x20002c00; *(uint64_t*)0x20002c00 = 0; *(uint64_t*)0x20002c08 = 0; *(uint64_t*)0x20002c10 = 0; *(uint64_t*)0x20002c18 = 0; *(uint64_t*)0x20002cd0 = 0x20002c40; *(uint64_t*)0x20002c40 = 0; *(uint64_t*)0x20002c48 = 0; *(uint64_t*)0x20002c50 = 0; *(uint64_t*)0x20002c58 = 0; *(uint64_t*)0x20002cd8 = 0x20002c80; *(uint64_t*)0x20002c80 = 0; *(uint64_t*)0x20002c88 = 0; *(uint64_t*)0x20002c90 = 0; *(uint64_t*)0x20002c98 = 0; *(uint64_t*)0x20003418 = 0x20002e00; *(uint64_t*)0x20002e00 = 0x20002d00; *(uint64_t*)0x20002d00 = 0; *(uint64_t*)0x20002d08 = 0; *(uint64_t*)0x20002d10 = 0; *(uint64_t*)0x20002d18 = 0; *(uint64_t*)0x20002e08 = 0x20002d40; *(uint64_t*)0x20002d40 = 0; *(uint64_t*)0x20002d48 = 0; *(uint64_t*)0x20002d50 = 0; *(uint64_t*)0x20002d58 = 0; *(uint64_t*)0x20002e10 = 0x20002d80; *(uint64_t*)0x20002d80 = 0; *(uint64_t*)0x20002d88 = 0; *(uint64_t*)0x20002d90 = 0; *(uint64_t*)0x20002d98 = 0; *(uint64_t*)0x20002e18 = 0x20002dc0; *(uint64_t*)0x20002dc0 = 0; *(uint64_t*)0x20002dc8 = 0; *(uint64_t*)0x20002dd0 = 0; *(uint64_t*)0x20002dd8 = 0; *(uint64_t*)0x20003420 = 0x20003180; *(uint64_t*)0x20003180 = 0x20002e80; *(uint64_t*)0x20002e80 = 0x20002e40; *(uint64_t*)0x20002e40 = 0; *(uint64_t*)0x20003188 = 0x20002f00; *(uint64_t*)0x20002f00 = 0x20002ec0; *(uint64_t*)0x20002ec0 = 0; *(uint64_t*)0x20002ec8 = 0; *(uint64_t*)0x20002f08 = 0; *(uint64_t*)0x20003190 = 0x20003000; *(uint64_t*)0x20003000 = 0; *(uint64_t*)0x20003008 = 0x20002f40; *(uint64_t*)0x20002f40 = 0; *(uint64_t*)0x20002f48 = 0; *(uint64_t*)0x20002f50 = 0; *(uint64_t*)0x20002f58 = 0; *(uint64_t*)0x20003010 = 0x20002f80; *(uint64_t*)0x20002f80 = 0; *(uint64_t*)0x20002f88 = 0; *(uint64_t*)0x20002f90 = 0; *(uint64_t*)0x20002f98 = 0; *(uint64_t*)0x20003018 = 0x20002fc0; *(uint64_t*)0x20002fc0 = 0; *(uint64_t*)0x20002fc8 = 0; *(uint64_t*)0x20002fd0 = 0; *(uint64_t*)0x20002fd8 = 0; *(uint64_t*)0x20003198 = 0x20003140; *(uint64_t*)0x20003140 = 0x20003040; *(uint64_t*)0x20003040 = 0; *(uint64_t*)0x20003048 = 0; *(uint64_t*)0x20003050 = 0; *(uint64_t*)0x20003058 = 0; *(uint64_t*)0x20003148 = 0x20003080; *(uint64_t*)0x20003080 = 0; *(uint64_t*)0x20003088 = 0; *(uint64_t*)0x20003090 = 0; *(uint64_t*)0x20003098 = 0; *(uint64_t*)0x20003150 = 0x200030c0; *(uint64_t*)0x200030c0 = 0; *(uint64_t*)0x200030c8 = 0; *(uint64_t*)0x200030d0 = 0; *(uint64_t*)0x200030d8 = 0; *(uint64_t*)0x20003158 = 0x20003100; *(uint64_t*)0x20003100 = 0; *(uint64_t*)0x20003108 = 0; *(uint64_t*)0x20003110 = 0; *(uint64_t*)0x20003118 = 0; *(uint64_t*)0x200031a0 = 0; *(uint64_t*)0x200031a8 = 0; *(uint64_t*)0x20003428 = 0x200033c0; *(uint64_t*)0x200033c0 = 0x20003200; *(uint64_t*)0x20003200 = 0x200031c0; *(uint64_t*)0x200031c0 = 0; *(uint64_t*)0x200033c8 = 0x20003240; *(uint64_t*)0x20003240 = 0; *(uint64_t*)0x20003248 = 0; *(uint64_t*)0x200033d0 = 0x20003380; *(uint64_t*)0x20003380 = 0x20003280; *(uint64_t*)0x20003280 = 0; *(uint64_t*)0x20003288 = 0; *(uint64_t*)0x20003290 = 0; *(uint64_t*)0x20003298 = 0; *(uint64_t*)0x20003388 = 0x200032c0; *(uint64_t*)0x200032c0 = 0; *(uint64_t*)0x200032c8 = 0; *(uint64_t*)0x200032d0 = 0; *(uint64_t*)0x200032d8 = 0; *(uint64_t*)0x20003390 = 0x20003300; *(uint64_t*)0x20003300 = 0; *(uint64_t*)0x20003308 = 0; *(uint64_t*)0x20003310 = 0; *(uint64_t*)0x20003318 = 0; *(uint64_t*)0x20003398 = 0x20003340; *(uint64_t*)0x20003340 = 0; *(uint64_t*)0x20003348 = 0; *(uint64_t*)0x20003350 = 0; *(uint64_t*)0x20003358 = 0; *(uint64_t*)0x200033d8 = 0; *(uint64_t*)0x200033e0 = 0; *(uint64_t*)0x200033e8 = 0; syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); { int i; for(i = 0; i < 4; i++) { syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); } } break; case 3: *(uint8_t*)0x20003480 = 0xcf; syscall(SYS_test, /*a=*/0x20003480ul, 0, 0, 0, 0, 0); break; case 4: syscall(SYS_test, 0, 0, 0, 0, 0, 0); break; case 5: *(uint64_t*)0x20004ac0 = 0x20003f40; *(uint64_t*)0x20003f40 = 0x200034c0; *(uint64_t*)0x200034c0 = 0; *(uint64_t*)0x200034c8 = 0; *(uint64_t*)0x20003f48 = 0x20003f00; *(uint64_t*)0x20003f00 = 0x20003540; *(uint64_t*)0x20003540 = 0x20003500; *(uint64_t*)0x20003500 = 0; *(uint64_t*)0x20003f08 = 0x200038c0; *(uint64_t*)0x200038c0 = 0; *(uint64_t*)0x200038c8 = 0x20003880; *(uint64_t*)0x20003880 = 0x200035c0; *(uint64_t*)0x200035c0 = 0x20003580; *(uint64_t*)0x20003580 = 0; *(uint64_t*)0x20003888 = 0; *(uint64_t*)0x20003890 = 0x20003700; *(uint64_t*)0x20003700 = 0x20003600; *(uint64_t*)0x20003600 = 0; *(uint64_t*)0x20003608 = 0; *(uint64_t*)0x20003610 = 0; *(uint64_t*)0x20003618 = 0; *(uint64_t*)0x20003708 = 0x20003640; *(uint64_t*)0x20003640 = 0; *(uint64_t*)0x20003648 = 0; *(uint64_t*)0x20003650 = 0; *(uint64_t*)0x20003658 = 0; *(uint64_t*)0x20003710 = 0x20003680; *(uint64_t*)0x20003680 = 0; *(uint64_t*)0x20003688 = 0; *(uint64_t*)0x20003690 = 0; *(uint64_t*)0x20003698 = 0; *(uint64_t*)0x20003718 = 0x200036c0; *(uint64_t*)0x200036c0 = 0; *(uint64_t*)0x200036c8 = 0; *(uint64_t*)0x200036d0 = 0; *(uint64_t*)0x200036d8 = 0; *(uint64_t*)0x20003898 = 0x20003840; *(uint64_t*)0x20003840 = 0x20003740; *(uint64_t*)0x20003740 = 0; *(uint64_t*)0x20003748 = 0; *(uint64_t*)0x20003750 = 0; *(uint64_t*)0x20003758 = 0; *(uint64_t*)0x20003848 = 0x20003780; *(uint64_t*)0x20003780 = 0; *(uint64_t*)0x20003788 = 0; *(uint64_t*)0x20003790 = 0; *(uint64_t*)0x20003798 = 0; *(uint64_t*)0x20003850 = 0x200037c0; *(uint64_t*)0x200037c0 = 0; *(uint64_t*)0x200037c8 = 0; *(uint64_t*)0x200037d0 = 0; *(uint64_t*)0x200037d8 = 0; *(uint64_t*)0x20003858 = 0x20003800; *(uint64_t*)0x20003800 = 0; *(uint64_t*)0x20003808 = 0; *(uint64_t*)0x20003810 = 0; *(uint64_t*)0x20003818 = 0; *(uint64_t*)0x200038a0 = 0; *(uint64_t*)0x200038a8 = 0; *(uint64_t*)0x20003f10 = 0x200039c0; *(uint64_t*)0x200039c0 = 0; *(uint64_t*)0x200039c8 = 0x20003900; *(uint64_t*)0x20003900 = 0; *(uint64_t*)0x20003908 = 0; *(uint64_t*)0x20003910 = 0; *(uint64_t*)0x20003918 = 0; *(uint64_t*)0x200039d0 = 0x20003940; *(uint64_t*)0x20003940 = 0; *(uint64_t*)0x20003948 = 0; *(uint64_t*)0x20003950 = 0; *(uint64_t*)0x20003958 = 0; *(uint64_t*)0x200039d8 = 0x20003980; *(uint64_t*)0x20003980 = 0; *(uint64_t*)0x20003988 = 0; *(uint64_t*)0x20003990 = 0; *(uint64_t*)0x20003998 = 0; *(uint64_t*)0x20003f18 = 0x20003ac0; *(uint64_t*)0x20003ac0 = 0x20003a00; *(uint64_t*)0x20003a00 = 0; *(uint64_t*)0x20003a08 = 0; *(uint64_t*)0x20003a10 = 0; *(uint64_t*)0x20003a18 = 0; *(uint64_t*)0x20003ac8 = 0x20003a40; *(uint64_t*)0x20003a40 = 0; *(uint64_t*)0x20003a48 = 0; *(uint64_t*)0x20003a50 = 0; *(uint64_t*)0x20003a58 = 0; *(uint64_t*)0x20003ad0 = 0x20003a80; *(uint64_t*)0x20003a80 = 0; *(uint64_t*)0x20003a88 = 0; *(uint64_t*)0x20003a90 = 0; *(uint64_t*)0x20003a98 = 0; *(uint64_t*)0x20003ad8 = 0; *(uint64_t*)0x20003f20 = 0x20003d80; *(uint64_t*)0x20003d80 = 0x20003b40; *(uint64_t*)0x20003b40 = 0x20003b00; *(uint64_t*)0x20003b00 = 0; *(uint64_t*)0x20003d88 = 0x20003b80; *(uint64_t*)0x20003b80 = 0; *(uint64_t*)0x20003b88 = 0; *(uint64_t*)0x20003d90 = 0x20003c40; *(uint64_t*)0x20003c40 = 0; *(uint64_t*)0x20003c48 = 0; *(uint64_t*)0x20003c50 = 0x20003bc0; *(uint64_t*)0x20003bc0 = 0; *(uint64_t*)0x20003bc8 = 0; *(uint64_t*)0x20003bd0 = 0; *(uint64_t*)0x20003bd8 = 0; *(uint64_t*)0x20003c58 = 0x20003c00; *(uint64_t*)0x20003c00 = 0; *(uint64_t*)0x20003c08 = 0; *(uint64_t*)0x20003c10 = 0; *(uint64_t*)0x20003c18 = 0; *(uint64_t*)0x20003d98 = 0x20003d40; *(uint64_t*)0x20003d40 = 0x20003c80; *(uint64_t*)0x20003c80 = 0; *(uint64_t*)0x20003c88 = 0; *(uint64_t*)0x20003c90 = 0; *(uint64_t*)0x20003c98 = 0; *(uint64_t*)0x20003d48 = 0x20003cc0; *(uint64_t*)0x20003cc0 = 0; *(uint64_t*)0x20003cc8 = 0; *(uint64_t*)0x20003cd0 = 0; *(uint64_t*)0x20003cd8 = 0; *(uint64_t*)0x20003d50 = 0x20003d00; *(uint64_t*)0x20003d00 = 0; *(uint64_t*)0x20003d08 = 0; *(uint64_t*)0x20003d10 = 0; *(uint64_t*)0x20003d18 = 0; *(uint64_t*)0x20003d58 = 0; *(uint64_t*)0x20003da0 = 0; *(uint64_t*)0x20003da8 = 0; *(uint64_t*)0x20003f28 = 0x20003ec0; *(uint64_t*)0x20003ec0 = 0; *(uint64_t*)0x20003ec8 = 0x20003dc0; *(uint64_t*)0x20003dc0 = 0; *(uint64_t*)0x20003dc8 = 0; *(uint64_t*)0x20003ed0 = 0; *(uint64_t*)0x20003ed8 = 0x20003e80; *(uint64_t*)0x20003e80 = 0; *(uint64_t*)0x20003e88 = 0; *(uint64_t*)0x20003e90 = 0x20003e00; *(uint64_t*)0x20003e00 = 0; *(uint64_t*)0x20003e08 = 0; *(uint64_t*)0x20003e10 = 0; *(uint64_t*)0x20003e18 = 0; *(uint64_t*)0x20003e98 = 0x20003e40; *(uint64_t*)0x20003e40 = 0; *(uint64_t*)0x20003e48 = 0; *(uint64_t*)0x20003e50 = 0; *(uint64_t*)0x20003e58 = 0; *(uint64_t*)0x20003ee0 = 0; *(uint64_t*)0x20003ee8 = 0; *(uint64_t*)0x20004ac8 = 0x20004a80; *(uint64_t*)0x20004a80 = 0x20003fc0; *(uint64_t*)0x20003fc0 = 0x20003f80; *(uint64_t*)0x20003f80 = 0; *(uint64_t*)0x20004a88 = 0x20004280; *(uint64_t*)0x20004280 = 0x20004000; *(uint64_t*)0x20004000 = 0; *(uint64_t*)0x20004008 = 0; *(uint64_t*)0x20004288 = 0x20004240; *(uint64_t*)0x20004240 = 0; *(uint64_t*)0x20004248 = 0x20004040; *(uint64_t*)0x20004040 = 0; *(uint64_t*)0x20004048 = 0; *(uint64_t*)0x20004250 = 0x20004100; *(uint64_t*)0x20004100 = 0x20004080; *(uint64_t*)0x20004080 = 0; *(uint64_t*)0x20004088 = 0; *(uint64_t*)0x20004090 = 0; *(uint64_t*)0x20004098 = 0; *(uint64_t*)0x20004108 = 0; *(uint64_t*)0x20004110 = 0x200040c0; *(uint64_t*)0x200040c0 = 0; *(uint64_t*)0x200040c8 = 0; *(uint64_t*)0x200040d0 = 0; *(uint64_t*)0x200040d8 = 0; *(uint64_t*)0x20004118 = 0; *(uint64_t*)0x20004258 = 0x20004200; *(uint64_t*)0x20004200 = 0x20004140; *(uint64_t*)0x20004140 = 0; *(uint64_t*)0x20004148 = 0; *(uint64_t*)0x20004150 = 0; *(uint64_t*)0x20004158 = 0; *(uint64_t*)0x20004208 = 0x20004180; *(uint64_t*)0x20004180 = 0; *(uint64_t*)0x20004188 = 0; *(uint64_t*)0x20004190 = 0; *(uint64_t*)0x20004198 = 0; *(uint64_t*)0x20004210 = 0x200041c0; *(uint64_t*)0x200041c0 = 0; *(uint64_t*)0x200041c8 = 0; *(uint64_t*)0x200041d0 = 0; *(uint64_t*)0x200041d8 = 0; *(uint64_t*)0x20004218 = 0; *(uint64_t*)0x20004260 = 0; *(uint64_t*)0x20004268 = 0; *(uint64_t*)0x20004a90 = 0x200043c0; *(uint64_t*)0x200043c0 = 0x200042c0; *(uint64_t*)0x200042c0 = 0; *(uint64_t*)0x200042c8 = 0; *(uint64_t*)0x200042d0 = 0; *(uint64_t*)0x200042d8 = 0; *(uint64_t*)0x200043c8 = 0x20004300; *(uint64_t*)0x20004300 = 0; *(uint64_t*)0x20004308 = 0; *(uint64_t*)0x20004310 = 0; *(uint64_t*)0x20004318 = 0; *(uint64_t*)0x200043d0 = 0x20004340; *(uint64_t*)0x20004340 = 0; *(uint64_t*)0x20004348 = 0; *(uint64_t*)0x20004350 = 0; *(uint64_t*)0x20004358 = 0; *(uint64_t*)0x200043d8 = 0x20004380; *(uint64_t*)0x20004380 = 0; *(uint64_t*)0x20004388 = 0; *(uint64_t*)0x20004390 = 0; *(uint64_t*)0x20004398 = 0; *(uint64_t*)0x20004a98 = 0x20004500; *(uint64_t*)0x20004500 = 0x20004400; *(uint64_t*)0x20004400 = 0; *(uint64_t*)0x20004408 = 0; *(uint64_t*)0x20004410 = 0; *(uint64_t*)0x20004418 = 0; *(uint64_t*)0x20004508 = 0x20004440; *(uint64_t*)0x20004440 = 0; *(uint64_t*)0x20004448 = 0; *(uint64_t*)0x20004450 = 0; *(uint64_t*)0x20004458 = 0; *(uint64_t*)0x20004510 = 0x20004480; *(uint64_t*)0x20004480 = 0; *(uint64_t*)0x20004488 = 0; *(uint64_t*)0x20004490 = 0; *(uint64_t*)0x20004498 = 0; *(uint64_t*)0x20004518 = 0x200044c0; *(uint64_t*)0x200044c0 = 0; *(uint64_t*)0x200044c8 = 0; *(uint64_t*)0x200044d0 = 0; *(uint64_t*)0x200044d8 = 0; *(uint64_t*)0x20004aa0 = 0x20004800; *(uint64_t*)0x20004800 = 0x20004580; *(uint64_t*)0x20004580 = 0x20004540; *(uint64_t*)0x20004540 = 0; *(uint64_t*)0x20004808 = 0x20004600; *(uint64_t*)0x20004600 = 0x200045c0; *(uint64_t*)0x200045c0 = 0; *(uint64_t*)0x200045c8 = 0; *(uint64_t*)0x20004608 = 0; *(uint64_t*)0x20004810 = 0x200046c0; *(uint64_t*)0x200046c0 = 0x20004640; *(uint64_t*)0x20004640 = 0; *(uint64_t*)0x20004648 = 0; *(uint64_t*)0x20004650 = 0; *(uint64_t*)0x20004658 = 0; *(uint64_t*)0x200046c8 = 0; *(uint64_t*)0x200046d0 = 0x20004680; *(uint64_t*)0x20004680 = 0; *(uint64_t*)0x20004688 = 0; *(uint64_t*)0x20004690 = 0; *(uint64_t*)0x20004698 = 0; *(uint64_t*)0x200046d8 = 0; *(uint64_t*)0x20004818 = 0x200047c0; *(uint64_t*)0x200047c0 = 0; *(uint64_t*)0x200047c8 = 0x20004700; *(uint64_t*)0x20004700 = 0; *(uint64_t*)0x20004708 = 0; *(uint64_t*)0x20004710 = 0; *(uint64_t*)0x20004718 = 0; *(uint64_t*)0x200047d0 = 0x20004740; *(uint64_t*)0x20004740 = 0; *(uint64_t*)0x20004748 = 0; *(uint64_t*)0x20004750 = 0; *(uint64_t*)0x20004758 = 0; *(uint64_t*)0x200047d8 = 0x20004780; *(uint64_t*)0x20004780 = 0; *(uint64_t*)0x20004788 = 0; *(uint64_t*)0x20004790 = 0; *(uint64_t*)0x20004798 = 0; *(uint64_t*)0x20004820 = 0; *(uint64_t*)0x20004828 = 0; *(uint64_t*)0x20004aa8 = 0x20004a40; *(uint64_t*)0x20004a40 = 0x20004880; *(uint64_t*)0x20004880 = 0x20004840; *(uint64_t*)0x20004840 = 0; *(uint64_t*)0x20004a48 = 0x20004900; *(uint64_t*)0x20004900 = 0x200048c0; *(uint64_t*)0x200048c0 = 0; *(uint64_t*)0x200048c8 = 0; *(uint64_t*)0x20004908 = 0; *(uint64_t*)0x20004a50 = 0x20004a00; *(uint64_t*)0x20004a00 = 0x20004940; *(uint64_t*)0x20004940 = 0; *(uint64_t*)0x20004948 = 0; *(uint64_t*)0x20004950 = 0; *(uint64_t*)0x20004958 = 0; *(uint64_t*)0x20004a08 = 0; *(uint64_t*)0x20004a10 = 0x20004980; *(uint64_t*)0x20004980 = 0; *(uint64_t*)0x20004988 = 0; *(uint64_t*)0x20004990 = 0; *(uint64_t*)0x20004998 = 0; *(uint64_t*)0x20004a18 = 0x200049c0; *(uint64_t*)0x200049c0 = 0; *(uint64_t*)0x200049c8 = 0; *(uint64_t*)0x200049d0 = 0; *(uint64_t*)0x200049d8 = 0; *(uint64_t*)0x20004a58 = 0; *(uint64_t*)0x20004a60 = 0; *(uint64_t*)0x20004a68 = 0; syscall(SYS_test, /*a0=*/0x20004ac0ul, 0, 0, 0, 0, 0); break; case 6: *(uint8_t*)0x20004b00 = 4; *(uint16_t*)0x20004b01 = 5; *(uint16_t*)0x20004b03 = 0x400; *(uint64_t*)0x20004b05 = 0xcf; syscall(SYS_test, /*a0=*/0x20004b00ul, 0, 0, 0, 0, 0); break; case 7: sprintf((char*)0x20004b40, "0x%016llx", (long long)0); syscall(SYS_foo, /*a=*/0x20004b40ul, 0, 0); break; case 8: *(uint8_t*)0x20004b80 = 5; syscall(SYS_test, /*a=*/0x20004b80ul, 0, 0, 0, 0, 0); break; case 9: *(uint64_t*)0x20004bc0 = 0x1000; syscall(SYS_test, /*a0=*/0x20004bc0ul, 0, 0, 0, 0, 0); break; case 10: memcpy((void*)0x20000000, "-\000", 2); *(uint8_t*)0x20000040 = 0xc0; *(uint16_t*)0x20000044 = 0; STORE_BY_BITMASK(uint32_t, , 0x20000044, 0x24b, 16, 12); STORE_BY_BITMASK(uint32_t, , 0x20000048, 0x380, 0, 12); syz_compare(/*want=*/0x20000000, /*want_len=*/2, /*got=*/0x20000040, /*got_len=*/0xc); break; case 11: syz_compare_int(/*n=*/2, /*v0=*/0xb584, /*v1=*/5, 0, 0); break; case 12: syz_errno(/*v=*/4); break; case 13: memcpy((void*)0x20000080, "\x68\x5d\xce\x50\x3a\x1d\x0b\x65\x7c\x26\x0c\x9d\x19\x4b\x3f\x80\x96\x20\xfd\xde\x60\xc9\x72\xd0\x38\x09\x53\x6f\x2c\xe0\x02\x02\x78\x7c\x45\xc6\x51\xd1\xfc\xe2\x48\x7a\x3d\x34\xca\xac\x04\x9f\xee\x28", 50); syz_execute_func(/*text=*/0x20000080); break; case 14: syz_exit(/*status=*/4); break; case 15: syz_mmap(/*addr=*/0x20ffe000, /*len=*/0x2000); break; case 16: syz_sleep_ms(/*ms=*/0xfff); break; case 17: syz_test_fuzzer1(/*a=*/6, /*b=*/2, /*c=*/0xb); break; } } int main(void) { syz_mmap(/*addr=*/0x20000000, /*len=*/0x1000000); setup_fault(); for (procid = 0; procid < 2; procid++) { if (fork() == 0) { use_temporary_dir(); do_sandbox_none(); } } sleep(1000000); return 0; } :471:3: error: call to undeclared function 'syscall'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); ^ 1 error generated. compiler invocation: c++ [-o /tmp/syz-executor3686708716 -DGOOS_test=1 -DGOARCH_64=1 -DHOSTGOOS_openbsd=1 -x c - -m64 -lutil -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-array-bounds -Wno-unused-but-set-variable -Wno-unused-command-line-argument -no-pie -fno-exceptions] --- FAIL: TestGenerate/test/64/12 (1.75s) csource_test.go:150: opts: {Threaded:true Repeat:true RepeatTimes:0 Procs:0 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:false Repro:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: test$recur2(&(0x7f0000000ac0)={0x0, 0x0, &(0x7f0000000100)={&(0x7f0000000000), &(0x7f0000000040), &(0x7f0000000080), &(0x7f00000000c0)}, 0x0, &(0x7f0000000a80)={&(0x7f0000000180)={&(0x7f0000000140)}, &(0x7f00000007c0)={&(0x7f00000004c0)={0x0, &(0x7f0000000480)={&(0x7f0000000200)={&(0x7f00000001c0)}, 0x0, &(0x7f0000000300)={0x0, &(0x7f0000000240), &(0x7f0000000280), &(0x7f00000002c0)}, &(0x7f0000000440)={&(0x7f0000000340), &(0x7f0000000380), &(0x7f00000003c0), &(0x7f0000000400)}}}, &(0x7f0000000780)={&(0x7f0000000500), 0x0, &(0x7f0000000600)={&(0x7f0000000540), &(0x7f0000000580), &(0x7f00000005c0)}, &(0x7f0000000740)={&(0x7f0000000640), &(0x7f0000000680), &(0x7f00000006c0), &(0x7f0000000700)}}}, 0x0, &(0x7f00000008c0)={0x0, &(0x7f0000000800), &(0x7f0000000840), &(0x7f0000000880)}, 0x0, &(0x7f0000000a40)={0x0, &(0x7f0000000940)={&(0x7f0000000900)}, 0x0, &(0x7f0000000a00)={0x0, &(0x7f0000000980), &(0x7f00000009c0)}}}}) (fail_nth: 1) test$recur0(&(0x7f0000000b80)={&(0x7f0000000b40)={&(0x7f0000000b00)}}) (async) test$recur2(&(0x7f0000003440)={&(0x7f0000000c00)={&(0x7f0000000bc0)}, &(0x7f0000001800)={&(0x7f00000011c0)={0x0, &(0x7f0000001180)={&(0x7f0000000c80)={&(0x7f0000000c40)}, 0x0, &(0x7f0000000d80)={&(0x7f0000000cc0), &(0x7f0000000d00), 0x0, &(0x7f0000000d40)}, &(0x7f0000000e80)={0x0, &(0x7f0000000dc0), &(0x7f0000000e00), &(0x7f0000000e40)}, &(0x7f0000001140)={&(0x7f0000000f00)={&(0x7f0000000ec0)}, 0x0, &(0x7f0000001000)={&(0x7f0000000f40), 0x0, &(0x7f0000000f80), &(0x7f0000000fc0)}, &(0x7f0000001100)={&(0x7f0000001040), &(0x7f0000001080), 0x0, &(0x7f00000010c0)}}}}, &(0x7f00000017c0)={&(0x7f0000001240)={&(0x7f0000001200)}, 0x0, &(0x7f0000001340)={&(0x7f0000001280), &(0x7f00000012c0), 0x0, &(0x7f0000001300)}, &(0x7f0000001480)={&(0x7f0000001380), &(0x7f00000013c0), &(0x7f0000001400), &(0x7f0000001440)}, &(0x7f0000001780)={&(0x7f0000001500)={&(0x7f00000014c0)}, 0x0, &(0x7f0000001640)={&(0x7f0000001540), &(0x7f0000001580), &(0x7f00000015c0), &(0x7f0000001600)}, &(0x7f0000001740)={0x0, &(0x7f0000001680), &(0x7f00000016c0), &(0x7f0000001700)}}}}, &(0x7f0000001940)={&(0x7f0000001840), &(0x7f0000001880), &(0x7f00000018c0), &(0x7f0000001900)}, &(0x7f0000001a40)={&(0x7f0000001980), 0x0, &(0x7f00000019c0), &(0x7f0000001a00)}, &(0x7f0000002780)={&(0x7f0000001ac0)={&(0x7f0000001a80)}, &(0x7f0000002140)={&(0x7f0000001dc0)={0x0, &(0x7f0000001d80)={&(0x7f0000001b00), 0x0, &(0x7f0000001c00)={&(0x7f0000001b40), 0x0, &(0x7f0000001b80), &(0x7f0000001bc0)}, &(0x7f0000001d40)={&(0x7f0000001c40), &(0x7f0000001c80), &(0x7f0000001cc0), &(0x7f0000001d00)}}}, &(0x7f0000002100)={&(0x7f0000001e40)={&(0x7f0000001e00)}, &(0x7f0000001e80), &(0x7f0000001fc0)={&(0x7f0000001ec0), &(0x7f0000001f00), &(0x7f0000001f40), &(0x7f0000001f80)}, &(0x7f00000020c0)={&(0x7f0000002000), 0x0, &(0x7f0000002040), &(0x7f0000002080)}}}, &(0x7f0000002280)={&(0x7f0000002180), &(0x7f00000021c0), &(0x7f0000002200), &(0x7f0000002240)}, &(0x7f00000023c0)={&(0x7f00000022c0), &(0x7f0000002300), &(0x7f0000002340), &(0x7f0000002380)}, &(0x7f00000024c0)={&(0x7f0000002440)={&(0x7f0000002400)}, &(0x7f0000002480)}, &(0x7f0000002740)={&(0x7f0000002540)={&(0x7f0000002500)}, &(0x7f00000025c0)={&(0x7f0000002580)}, 0x0, &(0x7f0000002700)={&(0x7f0000002600), &(0x7f0000002640), &(0x7f0000002680), &(0x7f00000026c0)}}}, &(0x7f0000003400)={&(0x7f0000002800)={&(0x7f00000027c0)}, &(0x7f0000002b80)={&(0x7f0000002900)={0x0, &(0x7f00000028c0)={&(0x7f0000002880)={&(0x7f0000002840)}}}, &(0x7f0000002b40)={&(0x7f0000002980)={&(0x7f0000002940)}, &(0x7f00000029c0), &(0x7f0000002b00)={&(0x7f0000002a00), &(0x7f0000002a40), &(0x7f0000002a80), &(0x7f0000002ac0)}}}, &(0x7f0000002cc0)={&(0x7f0000002bc0), &(0x7f0000002c00), &(0x7f0000002c40), &(0x7f0000002c80)}, &(0x7f0000002e00)={&(0x7f0000002d00), &(0x7f0000002d40), &(0x7f0000002d80), &(0x7f0000002dc0)}, &(0x7f0000003180)={&(0x7f0000002e80)={&(0x7f0000002e40)}, &(0x7f0000002f00)={&(0x7f0000002ec0)}, &(0x7f0000003000)={0x0, &(0x7f0000002f40), &(0x7f0000002f80), &(0x7f0000002fc0)}, &(0x7f0000003140)={&(0x7f0000003040), &(0x7f0000003080), &(0x7f00000030c0), &(0x7f0000003100)}}, &(0x7f00000033c0)={&(0x7f0000003200)={&(0x7f00000031c0)}, &(0x7f0000003240), &(0x7f0000003380)={&(0x7f0000003280), &(0x7f00000032c0), &(0x7f0000003300), &(0x7f0000003340)}}}}) (rerun: 4) test$use_cond_resource(&(0x7f0000003480)={0xcf}) test$create_cond_resource() test$recur1(&(0x7f0000004ac0)={&(0x7f0000003f40)={&(0x7f00000034c0), &(0x7f0000003f00)={&(0x7f0000003540)={&(0x7f0000003500)}, &(0x7f00000038c0)={0x0, &(0x7f0000003880)={&(0x7f00000035c0)={&(0x7f0000003580)}, 0x0, &(0x7f0000003700)={&(0x7f0000003600), &(0x7f0000003640), &(0x7f0000003680), &(0x7f00000036c0)}, &(0x7f0000003840)={&(0x7f0000003740), &(0x7f0000003780), &(0x7f00000037c0), &(0x7f0000003800)}}}, &(0x7f00000039c0)={0x0, &(0x7f0000003900), &(0x7f0000003940), &(0x7f0000003980)}, &(0x7f0000003ac0)={&(0x7f0000003a00), &(0x7f0000003a40), &(0x7f0000003a80)}, &(0x7f0000003d80)={&(0x7f0000003b40)={&(0x7f0000003b00)}, &(0x7f0000003b80), &(0x7f0000003c40)={0x0, 0x0, &(0x7f0000003bc0), &(0x7f0000003c00)}, &(0x7f0000003d40)={&(0x7f0000003c80), &(0x7f0000003cc0), &(0x7f0000003d00)}}, &(0x7f0000003ec0)={0x0, &(0x7f0000003dc0), 0x0, &(0x7f0000003e80)={0x0, 0x0, &(0x7f0000003e00), &(0x7f0000003e40)}}}}, &(0x7f0000004a80)={&(0x7f0000003fc0)={&(0x7f0000003f80)}, &(0x7f0000004280)={&(0x7f0000004000), &(0x7f0000004240)={0x0, &(0x7f0000004040), &(0x7f0000004100)={&(0x7f0000004080), 0x0, &(0x7f00000040c0)}, &(0x7f0000004200)={&(0x7f0000004140), &(0x7f0000004180), &(0x7f00000041c0)}}}, &(0x7f00000043c0)={&(0x7f00000042c0), &(0x7f0000004300), &(0x7f0000004340), &(0x7f0000004380)}, &(0x7f0000004500)={&(0x7f0000004400), &(0x7f0000004440), &(0x7f0000004480), &(0x7f00000044c0)}, &(0x7f0000004800)={&(0x7f0000004580)={&(0x7f0000004540)}, &(0x7f0000004600)={&(0x7f00000045c0)}, &(0x7f00000046c0)={&(0x7f0000004640), 0x0, &(0x7f0000004680)}, &(0x7f00000047c0)={0x0, &(0x7f0000004700), &(0x7f0000004740), &(0x7f0000004780)}}, &(0x7f0000004a40)={&(0x7f0000004880)={&(0x7f0000004840)}, &(0x7f0000004900)={&(0x7f00000048c0)}, &(0x7f0000004a00)={&(0x7f0000004940), 0x0, &(0x7f0000004980), &(0x7f00000049c0)}}}}) test$array0(&(0x7f0000004b00)={0x4, [@f0=0x5, @f0=0x400], 0xcf}) foo$fmt1(&(0x7f0000004b40)) test$use_cond_resource(&(0x7f0000004b80)={0x5}) test$opt1(&(0x7f0000004bc0)=0x1000) syz_compare(&(0x7f0000000000)='-\x00', 0x2, &(0x7f0000000040)=@bf13={0xc0, {0x0, 0x24b, 0x380}}, 0xc) syz_compare_int$2(0x2, 0xb584, 0x5) syz_errno(0x4) syz_execute_func(&(0x7f0000000080)="685dce503a1d0b657c260c9d194b3f809620fdde60c972d03809536f2ce00202787c45c651d1fce2487a3d34caac049fee28") syz_exit(0x4) syz_mmap(&(0x7f0000ffe000/0x2000)=nil, 0x2000) syz_sleep_ms(0xfff) syz_test_fuzzer1(0x6, 0x2, 0xb) csource_test.go:151: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #ifndef SYS_foo #define SYS_foo 0 #endif #ifndef SYS_test #define SYS_test 0 #endif static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } static int inject_fault(int nth) { return 0; } static void setup_fault() { } static void thread_start(void* (*fn)(void*), void* arg) { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 128 << 10); int i = 0; for (; i < 100; i++) { if (pthread_create(&th, &attr, fn, arg) == 0) { pthread_attr_destroy(&attr); return; } if (errno == EAGAIN) { usleep(50); continue; } break; } exit(1); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); 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) exit(1); 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_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #define BITMASK(bf_off,bf_len) (((1ull << (bf_len)) - 1) << (bf_off)) #define STORE_BY_BITMASK(type,htobe,addr,val,bf_off,bf_len) *(type*)(addr) = htobe((htobe(*(type*)(addr)) & ~BITMASK((bf_off), (bf_len))) | (((type)(val) << (bf_off)) & BITMASK((bf_off), (bf_len)))) static long syz_mmap(volatile long a0, volatile long a1) { return (long)mmap((void*)a0, a1, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0); } static long syz_errno(volatile long v) { errno = v; return v == 0 ? 0 : -1; } static long syz_exit(volatile long status) { _exit(status); return 0; } static long syz_sleep_ms(volatile long ms) { sleep_ms(ms); return 0; } static long syz_compare(volatile long want, volatile long want_len, volatile long got, volatile long got_len) { if (want_len != got_len) { errno = EBADF; goto error; } if (memcmp((void*)want, (void*)got, want_len)) { errno = EINVAL; goto error; } return 0; error: return -1; } static long syz_compare_int(volatile long n, ...) { va_list args; va_start(args, n); long v0 = va_arg(args, long); long v1 = va_arg(args, long); long v2 = va_arg(args, long); long v3 = va_arg(args, long); va_end(args); if (n < 2 || n > 4) return errno = E2BIG, -1; if (n <= 2 && v2 != 0) return errno = EFAULT, -1; if (n <= 3 && v3 != 0) return errno = EFAULT, -1; if (v0 != v1) return errno = EINVAL, -1; if (n > 2 && v0 != v2) return errno = EINVAL, -1; if (n > 3 && v0 != v3) return errno = EINVAL, -1; return 0; } static void loop(); static int do_sandbox_none(void) { loop(); return 0; } static void fake_crash(const char* name) { exit(1); exit(1); } static long syz_test_fuzzer1(volatile long a, volatile long b, volatile long c) { if (a == 1 && b == 1 && c == 1) fake_crash("first bug"); if (a == 1 && b == 2 && c == 3) fake_crash("second bug"); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } 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; 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_one(void) { if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } int i, call, thread; for (call = 0; call < 18; call++) { for (thread = 0; thread < (int)(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 (call == 1) break; event_timedwait(&th->done, 50); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); static void loop(void) { execute_one(); } void execute_call(int call) { switch (call) { case 0: *(uint64_t*)0x20000ac0 = 0; *(uint64_t*)0x20000ac8 = 0; *(uint64_t*)0x20000ad0 = 0x20000100; *(uint64_t*)0x20000100 = 0x20000000; *(uint64_t*)0x20000000 = 0; *(uint64_t*)0x20000008 = 0; *(uint64_t*)0x20000010 = 0; *(uint64_t*)0x20000018 = 0; *(uint64_t*)0x20000108 = 0x20000040; *(uint64_t*)0x20000040 = 0; *(uint64_t*)0x20000048 = 0; *(uint64_t*)0x20000050 = 0; *(uint64_t*)0x20000058 = 0; *(uint64_t*)0x20000110 = 0x20000080; *(uint64_t*)0x20000080 = 0; *(uint64_t*)0x20000088 = 0; *(uint64_t*)0x20000090 = 0; *(uint64_t*)0x20000098 = 0; *(uint64_t*)0x20000118 = 0x200000c0; *(uint64_t*)0x200000c0 = 0; *(uint64_t*)0x200000c8 = 0; *(uint64_t*)0x200000d0 = 0; *(uint64_t*)0x200000d8 = 0; *(uint64_t*)0x20000ad8 = 0; *(uint64_t*)0x20000ae0 = 0x20000a80; *(uint64_t*)0x20000a80 = 0x20000180; *(uint64_t*)0x20000180 = 0x20000140; *(uint64_t*)0x20000140 = 0; *(uint64_t*)0x20000a88 = 0x200007c0; *(uint64_t*)0x200007c0 = 0x200004c0; *(uint64_t*)0x200004c0 = 0; *(uint64_t*)0x200004c8 = 0x20000480; *(uint64_t*)0x20000480 = 0x20000200; *(uint64_t*)0x20000200 = 0x200001c0; *(uint64_t*)0x200001c0 = 0; *(uint64_t*)0x20000488 = 0; *(uint64_t*)0x20000490 = 0x20000300; *(uint64_t*)0x20000300 = 0; *(uint64_t*)0x20000308 = 0x20000240; *(uint64_t*)0x20000240 = 0; *(uint64_t*)0x20000248 = 0; *(uint64_t*)0x20000250 = 0; *(uint64_t*)0x20000258 = 0; *(uint64_t*)0x20000310 = 0x20000280; *(uint64_t*)0x20000280 = 0; *(uint64_t*)0x20000288 = 0; *(uint64_t*)0x20000290 = 0; *(uint64_t*)0x20000298 = 0; *(uint64_t*)0x20000318 = 0x200002c0; *(uint64_t*)0x200002c0 = 0; *(uint64_t*)0x200002c8 = 0; *(uint64_t*)0x200002d0 = 0; *(uint64_t*)0x200002d8 = 0; *(uint64_t*)0x20000498 = 0x20000440; *(uint64_t*)0x20000440 = 0x20000340; *(uint64_t*)0x20000340 = 0; *(uint64_t*)0x20000348 = 0; *(uint64_t*)0x20000350 = 0; *(uint64_t*)0x20000358 = 0; *(uint64_t*)0x20000448 = 0x20000380; *(uint64_t*)0x20000380 = 0; *(uint64_t*)0x20000388 = 0; *(uint64_t*)0x20000390 = 0; *(uint64_t*)0x20000398 = 0; *(uint64_t*)0x20000450 = 0x200003c0; *(uint64_t*)0x200003c0 = 0; *(uint64_t*)0x200003c8 = 0; *(uint64_t*)0x200003d0 = 0; *(uint64_t*)0x200003d8 = 0; *(uint64_t*)0x20000458 = 0x20000400; *(uint64_t*)0x20000400 = 0; *(uint64_t*)0x20000408 = 0; *(uint64_t*)0x20000410 = 0; *(uint64_t*)0x20000418 = 0; *(uint64_t*)0x200004a0 = 0; *(uint64_t*)0x200004a8 = 0; *(uint64_t*)0x200007c8 = 0x20000780; *(uint64_t*)0x20000780 = 0x20000500; *(uint64_t*)0x20000500 = 0; *(uint64_t*)0x20000788 = 0; *(uint64_t*)0x20000790 = 0x20000600; *(uint64_t*)0x20000600 = 0x20000540; *(uint64_t*)0x20000540 = 0; *(uint64_t*)0x20000548 = 0; *(uint64_t*)0x20000550 = 0; *(uint64_t*)0x20000558 = 0; *(uint64_t*)0x20000608 = 0x20000580; *(uint64_t*)0x20000580 = 0; *(uint64_t*)0x20000588 = 0; *(uint64_t*)0x20000590 = 0; *(uint64_t*)0x20000598 = 0; *(uint64_t*)0x20000610 = 0x200005c0; *(uint64_t*)0x200005c0 = 0; *(uint64_t*)0x200005c8 = 0; *(uint64_t*)0x200005d0 = 0; *(uint64_t*)0x200005d8 = 0; *(uint64_t*)0x20000618 = 0; *(uint64_t*)0x20000798 = 0x20000740; *(uint64_t*)0x20000740 = 0x20000640; *(uint64_t*)0x20000640 = 0; *(uint64_t*)0x20000648 = 0; *(uint64_t*)0x20000650 = 0; *(uint64_t*)0x20000658 = 0; *(uint64_t*)0x20000748 = 0x20000680; *(uint64_t*)0x20000680 = 0; *(uint64_t*)0x20000688 = 0; *(uint64_t*)0x20000690 = 0; *(uint64_t*)0x20000698 = 0; *(uint64_t*)0x20000750 = 0x200006c0; *(uint64_t*)0x200006c0 = 0; *(uint64_t*)0x200006c8 = 0; *(uint64_t*)0x200006d0 = 0; *(uint64_t*)0x200006d8 = 0; *(uint64_t*)0x20000758 = 0x20000700; *(uint64_t*)0x20000700 = 0; *(uint64_t*)0x20000708 = 0; *(uint64_t*)0x20000710 = 0; *(uint64_t*)0x20000718 = 0; *(uint64_t*)0x200007a0 = 0; *(uint64_t*)0x200007a8 = 0; *(uint64_t*)0x20000a90 = 0; *(uint64_t*)0x20000a98 = 0x200008c0; *(uint64_t*)0x200008c0 = 0; *(uint64_t*)0x200008c8 = 0x20000800; *(uint64_t*)0x20000800 = 0; *(uint64_t*)0x20000808 = 0; *(uint64_t*)0x20000810 = 0; *(uint64_t*)0x20000818 = 0; *(uint64_t*)0x200008d0 = 0x20000840; *(uint64_t*)0x20000840 = 0; *(uint64_t*)0x20000848 = 0; *(uint64_t*)0x20000850 = 0; *(uint64_t*)0x20000858 = 0; *(uint64_t*)0x200008d8 = 0x20000880; *(uint64_t*)0x20000880 = 0; *(uint64_t*)0x20000888 = 0; *(uint64_t*)0x20000890 = 0; *(uint64_t*)0x20000898 = 0; *(uint64_t*)0x20000aa0 = 0; *(uint64_t*)0x20000aa8 = 0x20000a40; *(uint64_t*)0x20000a40 = 0; *(uint64_t*)0x20000a48 = 0x20000940; *(uint64_t*)0x20000940 = 0x20000900; *(uint64_t*)0x20000900 = 0; *(uint64_t*)0x20000908 = 0; *(uint64_t*)0x20000948 = 0; *(uint64_t*)0x20000a50 = 0; *(uint64_t*)0x20000a58 = 0x20000a00; *(uint64_t*)0x20000a00 = 0; *(uint64_t*)0x20000a08 = 0x20000980; *(uint64_t*)0x20000980 = 0; *(uint64_t*)0x20000988 = 0; *(uint64_t*)0x20000990 = 0; *(uint64_t*)0x20000998 = 0; *(uint64_t*)0x20000a10 = 0x200009c0; *(uint64_t*)0x200009c0 = 0; *(uint64_t*)0x200009c8 = 0; *(uint64_t*)0x200009d0 = 0; *(uint64_t*)0x200009d8 = 0; *(uint64_t*)0x20000a18 = 0; *(uint64_t*)0x20000a60 = 0; *(uint64_t*)0x20000a68 = 0; *(uint64_t*)0x20000ae8 = 0; inject_fault(1); syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); break; case 1: *(uint64_t*)0x20000b80 = 0x20000b40; *(uint64_t*)0x20000b40 = 0x20000b00; *(uint64_t*)0x20000b00 = 0; syscall(SYS_test, /*a0=*/0x20000b80ul, 0, 0, 0, 0, 0); break; case 2: *(uint64_t*)0x20003440 = 0x20000c00; *(uint64_t*)0x20000c00 = 0x20000bc0; *(uint64_t*)0x20000bc0 = 0; *(uint64_t*)0x20003448 = 0x20001800; *(uint64_t*)0x20001800 = 0x200011c0; *(uint64_t*)0x200011c0 = 0; *(uint64_t*)0x200011c8 = 0x20001180; *(uint64_t*)0x20001180 = 0x20000c80; *(uint64_t*)0x20000c80 = 0x20000c40; *(uint64_t*)0x20000c40 = 0; *(uint64_t*)0x20001188 = 0; *(uint64_t*)0x20001190 = 0x20000d80; *(uint64_t*)0x20000d80 = 0x20000cc0; *(uint64_t*)0x20000cc0 = 0; *(uint64_t*)0x20000cc8 = 0; *(uint64_t*)0x20000cd0 = 0; *(uint64_t*)0x20000cd8 = 0; *(uint64_t*)0x20000d88 = 0x20000d00; *(uint64_t*)0x20000d00 = 0; *(uint64_t*)0x20000d08 = 0; *(uint64_t*)0x20000d10 = 0; *(uint64_t*)0x20000d18 = 0; *(uint64_t*)0x20000d90 = 0; *(uint64_t*)0x20000d98 = 0x20000d40; *(uint64_t*)0x20000d40 = 0; *(uint64_t*)0x20000d48 = 0; *(uint64_t*)0x20000d50 = 0; *(uint64_t*)0x20000d58 = 0; *(uint64_t*)0x20001198 = 0x20000e80; *(uint64_t*)0x20000e80 = 0; *(uint64_t*)0x20000e88 = 0x20000dc0; *(uint64_t*)0x20000dc0 = 0; *(uint64_t*)0x20000dc8 = 0; *(uint64_t*)0x20000dd0 = 0; *(uint64_t*)0x20000dd8 = 0; *(uint64_t*)0x20000e90 = 0x20000e00; *(uint64_t*)0x20000e00 = 0; *(uint64_t*)0x20000e08 = 0; *(uint64_t*)0x20000e10 = 0; *(uint64_t*)0x20000e18 = 0; *(uint64_t*)0x20000e98 = 0x20000e40; *(uint64_t*)0x20000e40 = 0; *(uint64_t*)0x20000e48 = 0; *(uint64_t*)0x20000e50 = 0; *(uint64_t*)0x20000e58 = 0; *(uint64_t*)0x200011a0 = 0x20001140; *(uint64_t*)0x20001140 = 0x20000f00; *(uint64_t*)0x20000f00 = 0x20000ec0; *(uint64_t*)0x20000ec0 = 0; *(uint64_t*)0x20001148 = 0; *(uint64_t*)0x20001150 = 0x20001000; *(uint64_t*)0x20001000 = 0x20000f40; *(uint64_t*)0x20000f40 = 0; *(uint64_t*)0x20000f48 = 0; *(uint64_t*)0x20000f50 = 0; *(uint64_t*)0x20000f58 = 0; *(uint64_t*)0x20001008 = 0; *(uint64_t*)0x20001010 = 0x20000f80; *(uint64_t*)0x20000f80 = 0; *(uint64_t*)0x20000f88 = 0; *(uint64_t*)0x20000f90 = 0; *(uint64_t*)0x20000f98 = 0; *(uint64_t*)0x20001018 = 0x20000fc0; *(uint64_t*)0x20000fc0 = 0; *(uint64_t*)0x20000fc8 = 0; *(uint64_t*)0x20000fd0 = 0; *(uint64_t*)0x20000fd8 = 0; *(uint64_t*)0x20001158 = 0x20001100; *(uint64_t*)0x20001100 = 0x20001040; *(uint64_t*)0x20001040 = 0; *(uint64_t*)0x20001048 = 0; *(uint64_t*)0x20001050 = 0; *(uint64_t*)0x20001058 = 0; *(uint64_t*)0x20001108 = 0x20001080; *(uint64_t*)0x20001080 = 0; *(uint64_t*)0x20001088 = 0; *(uint64_t*)0x20001090 = 0; *(uint64_t*)0x20001098 = 0; *(uint64_t*)0x20001110 = 0; *(uint64_t*)0x20001118 = 0x200010c0; *(uint64_t*)0x200010c0 = 0; *(uint64_t*)0x200010c8 = 0; *(uint64_t*)0x200010d0 = 0; *(uint64_t*)0x200010d8 = 0; *(uint64_t*)0x20001160 = 0; *(uint64_t*)0x20001168 = 0; *(uint64_t*)0x200011a8 = 0; *(uint64_t*)0x20001808 = 0x200017c0; *(uint64_t*)0x200017c0 = 0x20001240; *(uint64_t*)0x20001240 = 0x20001200; *(uint64_t*)0x20001200 = 0; *(uint64_t*)0x200017c8 = 0; *(uint64_t*)0x200017d0 = 0x20001340; *(uint64_t*)0x20001340 = 0x20001280; *(uint64_t*)0x20001280 = 0; *(uint64_t*)0x20001288 = 0; *(uint64_t*)0x20001290 = 0; *(uint64_t*)0x20001298 = 0; *(uint64_t*)0x20001348 = 0x200012c0; *(uint64_t*)0x200012c0 = 0; *(uint64_t*)0x200012c8 = 0; *(uint64_t*)0x200012d0 = 0; *(uint64_t*)0x200012d8 = 0; *(uint64_t*)0x20001350 = 0; *(uint64_t*)0x20001358 = 0x20001300; *(uint64_t*)0x20001300 = 0; *(uint64_t*)0x20001308 = 0; *(uint64_t*)0x20001310 = 0; *(uint64_t*)0x20001318 = 0; *(uint64_t*)0x200017d8 = 0x20001480; *(uint64_t*)0x20001480 = 0x20001380; *(uint64_t*)0x20001380 = 0; *(uint64_t*)0x20001388 = 0; *(uint64_t*)0x20001390 = 0; *(uint64_t*)0x20001398 = 0; *(uint64_t*)0x20001488 = 0x200013c0; *(uint64_t*)0x200013c0 = 0; *(uint64_t*)0x200013c8 = 0; *(uint64_t*)0x200013d0 = 0; *(uint64_t*)0x200013d8 = 0; *(uint64_t*)0x20001490 = 0x20001400; *(uint64_t*)0x20001400 = 0; *(uint64_t*)0x20001408 = 0; *(uint64_t*)0x20001410 = 0; *(uint64_t*)0x20001418 = 0; *(uint64_t*)0x20001498 = 0x20001440; *(uint64_t*)0x20001440 = 0; *(uint64_t*)0x20001448 = 0; *(uint64_t*)0x20001450 = 0; *(uint64_t*)0x20001458 = 0; *(uint64_t*)0x200017e0 = 0x20001780; *(uint64_t*)0x20001780 = 0x20001500; *(uint64_t*)0x20001500 = 0x200014c0; *(uint64_t*)0x200014c0 = 0; *(uint64_t*)0x20001788 = 0; *(uint64_t*)0x20001790 = 0x20001640; *(uint64_t*)0x20001640 = 0x20001540; *(uint64_t*)0x20001540 = 0; *(uint64_t*)0x20001548 = 0; *(uint64_t*)0x20001550 = 0; *(uint64_t*)0x20001558 = 0; *(uint64_t*)0x20001648 = 0x20001580; *(uint64_t*)0x20001580 = 0; *(uint64_t*)0x20001588 = 0; *(uint64_t*)0x20001590 = 0; *(uint64_t*)0x20001598 = 0; *(uint64_t*)0x20001650 = 0x200015c0; *(uint64_t*)0x200015c0 = 0; *(uint64_t*)0x200015c8 = 0; *(uint64_t*)0x200015d0 = 0; *(uint64_t*)0x200015d8 = 0; *(uint64_t*)0x20001658 = 0x20001600; *(uint64_t*)0x20001600 = 0; *(uint64_t*)0x20001608 = 0; *(uint64_t*)0x20001610 = 0; *(uint64_t*)0x20001618 = 0; *(uint64_t*)0x20001798 = 0x20001740; *(uint64_t*)0x20001740 = 0; *(uint64_t*)0x20001748 = 0x20001680; *(uint64_t*)0x20001680 = 0; *(uint64_t*)0x20001688 = 0; *(uint64_t*)0x20001690 = 0; *(uint64_t*)0x20001698 = 0; *(uint64_t*)0x20001750 = 0x200016c0; *(uint64_t*)0x200016c0 = 0; *(uint64_t*)0x200016c8 = 0; *(uint64_t*)0x200016d0 = 0; *(uint64_t*)0x200016d8 = 0; *(uint64_t*)0x20001758 = 0x20001700; *(uint64_t*)0x20001700 = 0; *(uint64_t*)0x20001708 = 0; *(uint64_t*)0x20001710 = 0; *(uint64_t*)0x20001718 = 0; *(uint64_t*)0x200017a0 = 0; *(uint64_t*)0x200017a8 = 0; *(uint64_t*)0x200017e8 = 0; *(uint64_t*)0x20003450 = 0x20001940; *(uint64_t*)0x20001940 = 0x20001840; *(uint64_t*)0x20001840 = 0; *(uint64_t*)0x20001848 = 0; *(uint64_t*)0x20001850 = 0; *(uint64_t*)0x20001858 = 0; *(uint64_t*)0x20001948 = 0x20001880; *(uint64_t*)0x20001880 = 0; *(uint64_t*)0x20001888 = 0; *(uint64_t*)0x20001890 = 0; *(uint64_t*)0x20001898 = 0; *(uint64_t*)0x20001950 = 0x200018c0; *(uint64_t*)0x200018c0 = 0; *(uint64_t*)0x200018c8 = 0; *(uint64_t*)0x200018d0 = 0; *(uint64_t*)0x200018d8 = 0; *(uint64_t*)0x20001958 = 0x20001900; *(uint64_t*)0x20001900 = 0; *(uint64_t*)0x20001908 = 0; *(uint64_t*)0x20001910 = 0; *(uint64_t*)0x20001918 = 0; *(uint64_t*)0x20003458 = 0x20001a40; *(uint64_t*)0x20001a40 = 0x20001980; *(uint64_t*)0x20001980 = 0; *(uint64_t*)0x20001988 = 0; *(uint64_t*)0x20001990 = 0; *(uint64_t*)0x20001998 = 0; *(uint64_t*)0x20001a48 = 0; *(uint64_t*)0x20001a50 = 0x200019c0; *(uint64_t*)0x200019c0 = 0; *(uint64_t*)0x200019c8 = 0; *(uint64_t*)0x200019d0 = 0; *(uint64_t*)0x200019d8 = 0; *(uint64_t*)0x20001a58 = 0x20001a00; *(uint64_t*)0x20001a00 = 0; *(uint64_t*)0x20001a08 = 0; *(uint64_t*)0x20001a10 = 0; *(uint64_t*)0x20001a18 = 0; *(uint64_t*)0x20003460 = 0x20002780; *(uint64_t*)0x20002780 = 0x20001ac0; *(uint64_t*)0x20001ac0 = 0x20001a80; *(uint64_t*)0x20001a80 = 0; *(uint64_t*)0x20002788 = 0x20002140; *(uint64_t*)0x20002140 = 0x20001dc0; *(uint64_t*)0x20001dc0 = 0; *(uint64_t*)0x20001dc8 = 0x20001d80; *(uint64_t*)0x20001d80 = 0x20001b00; *(uint64_t*)0x20001b00 = 0; *(uint64_t*)0x20001d88 = 0; *(uint64_t*)0x20001d90 = 0x20001c00; *(uint64_t*)0x20001c00 = 0x20001b40; *(uint64_t*)0x20001b40 = 0; *(uint64_t*)0x20001b48 = 0; *(uint64_t*)0x20001b50 = 0; *(uint64_t*)0x20001b58 = 0; *(uint64_t*)0x20001c08 = 0; *(uint64_t*)0x20001c10 = 0x20001b80; *(uint64_t*)0x20001b80 = 0; *(uint64_t*)0x20001b88 = 0; *(uint64_t*)0x20001b90 = 0; *(uint64_t*)0x20001b98 = 0; *(uint64_t*)0x20001c18 = 0x20001bc0; *(uint64_t*)0x20001bc0 = 0; *(uint64_t*)0x20001bc8 = 0; *(uint64_t*)0x20001bd0 = 0; *(uint64_t*)0x20001bd8 = 0; *(uint64_t*)0x20001d98 = 0x20001d40; *(uint64_t*)0x20001d40 = 0x20001c40; *(uint64_t*)0x20001c40 = 0; *(uint64_t*)0x20001c48 = 0; *(uint64_t*)0x20001c50 = 0; *(uint64_t*)0x20001c58 = 0; *(uint64_t*)0x20001d48 = 0x20001c80; *(uint64_t*)0x20001c80 = 0; *(uint64_t*)0x20001c88 = 0; *(uint64_t*)0x20001c90 = 0; *(uint64_t*)0x20001c98 = 0; *(uint64_t*)0x20001d50 = 0x20001cc0; *(uint64_t*)0x20001cc0 = 0; *(uint64_t*)0x20001cc8 = 0; *(uint64_t*)0x20001cd0 = 0; *(uint64_t*)0x20001cd8 = 0; *(uint64_t*)0x20001d58 = 0x20001d00; *(uint64_t*)0x20001d00 = 0; *(uint64_t*)0x20001d08 = 0; *(uint64_t*)0x20001d10 = 0; *(uint64_t*)0x20001d18 = 0; *(uint64_t*)0x20001da0 = 0; *(uint64_t*)0x20001da8 = 0; *(uint64_t*)0x20002148 = 0x20002100; *(uint64_t*)0x20002100 = 0x20001e40; *(uint64_t*)0x20001e40 = 0x20001e00; *(uint64_t*)0x20001e00 = 0; *(uint64_t*)0x20002108 = 0x20001e80; *(uint64_t*)0x20001e80 = 0; *(uint64_t*)0x20001e88 = 0; *(uint64_t*)0x20002110 = 0x20001fc0; *(uint64_t*)0x20001fc0 = 0x20001ec0; *(uint64_t*)0x20001ec0 = 0; *(uint64_t*)0x20001ec8 = 0; *(uint64_t*)0x20001ed0 = 0; *(uint64_t*)0x20001ed8 = 0; *(uint64_t*)0x20001fc8 = 0x20001f00; *(uint64_t*)0x20001f00 = 0; *(uint64_t*)0x20001f08 = 0; *(uint64_t*)0x20001f10 = 0; *(uint64_t*)0x20001f18 = 0; *(uint64_t*)0x20001fd0 = 0x20001f40; *(uint64_t*)0x20001f40 = 0; *(uint64_t*)0x20001f48 = 0; *(uint64_t*)0x20001f50 = 0; *(uint64_t*)0x20001f58 = 0; *(uint64_t*)0x20001fd8 = 0x20001f80; *(uint64_t*)0x20001f80 = 0; *(uint64_t*)0x20001f88 = 0; *(uint64_t*)0x20001f90 = 0; *(uint64_t*)0x20001f98 = 0; *(uint64_t*)0x20002118 = 0x200020c0; *(uint64_t*)0x200020c0 = 0x20002000; *(uint64_t*)0x20002000 = 0; *(uint64_t*)0x20002008 = 0; *(uint64_t*)0x20002010 = 0; *(uint64_t*)0x20002018 = 0; *(uint64_t*)0x200020c8 = 0; *(uint64_t*)0x200020d0 = 0x20002040; *(uint64_t*)0x20002040 = 0; *(uint64_t*)0x20002048 = 0; *(uint64_t*)0x20002050 = 0; *(uint64_t*)0x20002058 = 0; *(uint64_t*)0x200020d8 = 0x20002080; *(uint64_t*)0x20002080 = 0; *(uint64_t*)0x20002088 = 0; *(uint64_t*)0x20002090 = 0; *(uint64_t*)0x20002098 = 0; *(uint64_t*)0x20002120 = 0; *(uint64_t*)0x20002128 = 0; *(uint64_t*)0x20002790 = 0x20002280; *(uint64_t*)0x20002280 = 0x20002180; *(uint64_t*)0x20002180 = 0; *(uint64_t*)0x20002188 = 0; *(uint64_t*)0x20002190 = 0; *(uint64_t*)0x20002198 = 0; *(uint64_t*)0x20002288 = 0x200021c0; *(uint64_t*)0x200021c0 = 0; *(uint64_t*)0x200021c8 = 0; *(uint64_t*)0x200021d0 = 0; *(uint64_t*)0x200021d8 = 0; *(uint64_t*)0x20002290 = 0x20002200; *(uint64_t*)0x20002200 = 0; *(uint64_t*)0x20002208 = 0; *(uint64_t*)0x20002210 = 0; *(uint64_t*)0x20002218 = 0; *(uint64_t*)0x20002298 = 0x20002240; *(uint64_t*)0x20002240 = 0; *(uint64_t*)0x20002248 = 0; *(uint64_t*)0x20002250 = 0; *(uint64_t*)0x20002258 = 0; *(uint64_t*)0x20002798 = 0x200023c0; *(uint64_t*)0x200023c0 = 0x200022c0; *(uint64_t*)0x200022c0 = 0; *(uint64_t*)0x200022c8 = 0; *(uint64_t*)0x200022d0 = 0; *(uint64_t*)0x200022d8 = 0; *(uint64_t*)0x200023c8 = 0x20002300; *(uint64_t*)0x20002300 = 0; *(uint64_t*)0x20002308 = 0; *(uint64_t*)0x20002310 = 0; *(uint64_t*)0x20002318 = 0; *(uint64_t*)0x200023d0 = 0x20002340; *(uint64_t*)0x20002340 = 0; *(uint64_t*)0x20002348 = 0; *(uint64_t*)0x20002350 = 0; *(uint64_t*)0x20002358 = 0; *(uint64_t*)0x200023d8 = 0x20002380; *(uint64_t*)0x20002380 = 0; *(uint64_t*)0x20002388 = 0; *(uint64_t*)0x20002390 = 0; *(uint64_t*)0x20002398 = 0; *(uint64_t*)0x200027a0 = 0x200024c0; *(uint64_t*)0x200024c0 = 0x20002440; *(uint64_t*)0x20002440 = 0x20002400; *(uint64_t*)0x20002400 = 0; *(uint64_t*)0x200024c8 = 0x20002480; *(uint64_t*)0x20002480 = 0; *(uint64_t*)0x20002488 = 0; *(uint64_t*)0x200024d0 = 0; *(uint64_t*)0x200024d8 = 0; *(uint64_t*)0x200024e0 = 0; *(uint64_t*)0x200024e8 = 0; *(uint64_t*)0x200027a8 = 0x20002740; *(uint64_t*)0x20002740 = 0x20002540; *(uint64_t*)0x20002540 = 0x20002500; *(uint64_t*)0x20002500 = 0; *(uint64_t*)0x20002748 = 0x200025c0; *(uint64_t*)0x200025c0 = 0x20002580; *(uint64_t*)0x20002580 = 0; *(uint64_t*)0x20002588 = 0; *(uint64_t*)0x200025c8 = 0; *(uint64_t*)0x20002750 = 0; *(uint64_t*)0x20002758 = 0x20002700; *(uint64_t*)0x20002700 = 0x20002600; *(uint64_t*)0x20002600 = 0; *(uint64_t*)0x20002608 = 0; *(uint64_t*)0x20002610 = 0; *(uint64_t*)0x20002618 = 0; *(uint64_t*)0x20002708 = 0x20002640; *(uint64_t*)0x20002640 = 0; *(uint64_t*)0x20002648 = 0; *(uint64_t*)0x20002650 = 0; *(uint64_t*)0x20002658 = 0; *(uint64_t*)0x20002710 = 0x20002680; *(uint64_t*)0x20002680 = 0; *(uint64_t*)0x20002688 = 0; *(uint64_t*)0x20002690 = 0; *(uint64_t*)0x20002698 = 0; *(uint64_t*)0x20002718 = 0x200026c0; *(uint64_t*)0x200026c0 = 0; *(uint64_t*)0x200026c8 = 0; *(uint64_t*)0x200026d0 = 0; *(uint64_t*)0x200026d8 = 0; *(uint64_t*)0x20002760 = 0; *(uint64_t*)0x20002768 = 0; *(uint64_t*)0x20003468 = 0x20003400; *(uint64_t*)0x20003400 = 0x20002800; *(uint64_t*)0x20002800 = 0x200027c0; *(uint64_t*)0x200027c0 = 0; *(uint64_t*)0x20003408 = 0x20002b80; *(uint64_t*)0x20002b80 = 0x20002900; *(uint64_t*)0x20002900 = 0; *(uint64_t*)0x20002908 = 0x200028c0; *(uint64_t*)0x200028c0 = 0x20002880; *(uint64_t*)0x20002880 = 0x20002840; *(uint64_t*)0x20002840 = 0; *(uint64_t*)0x200028c8 = 0; *(uint64_t*)0x200028d0 = 0; *(uint64_t*)0x200028d8 = 0; *(uint64_t*)0x200028e0 = 0; *(uint64_t*)0x200028e8 = 0; *(uint64_t*)0x20002b88 = 0x20002b40; *(uint64_t*)0x20002b40 = 0x20002980; *(uint64_t*)0x20002980 = 0x20002940; *(uint64_t*)0x20002940 = 0; *(uint64_t*)0x20002b48 = 0x200029c0; *(uint64_t*)0x200029c0 = 0; *(uint64_t*)0x200029c8 = 0; *(uint64_t*)0x20002b50 = 0x20002b00; *(uint64_t*)0x20002b00 = 0x20002a00; *(uint64_t*)0x20002a00 = 0; *(uint64_t*)0x20002a08 = 0; *(uint64_t*)0x20002a10 = 0; *(uint64_t*)0x20002a18 = 0; *(uint64_t*)0x20002b08 = 0x20002a40; *(uint64_t*)0x20002a40 = 0; *(uint64_t*)0x20002a48 = 0; *(uint64_t*)0x20002a50 = 0; *(uint64_t*)0x20002a58 = 0; *(uint64_t*)0x20002b10 = 0x20002a80; *(uint64_t*)0x20002a80 = 0; *(uint64_t*)0x20002a88 = 0; *(uint64_t*)0x20002a90 = 0; *(uint64_t*)0x20002a98 = 0; *(uint64_t*)0x20002b18 = 0x20002ac0; *(uint64_t*)0x20002ac0 = 0; *(uint64_t*)0x20002ac8 = 0; *(uint64_t*)0x20002ad0 = 0; *(uint64_t*)0x20002ad8 = 0; *(uint64_t*)0x20002b58 = 0; *(uint64_t*)0x20002b60 = 0; *(uint64_t*)0x20002b68 = 0; *(uint64_t*)0x20003410 = 0x20002cc0; *(uint64_t*)0x20002cc0 = 0x20002bc0; *(uint64_t*)0x20002bc0 = 0; *(uint64_t*)0x20002bc8 = 0; *(uint64_t*)0x20002bd0 = 0; *(uint64_t*)0x20002bd8 = 0; *(uint64_t*)0x20002cc8 = 0x20002c00; *(uint64_t*)0x20002c00 = 0; *(uint64_t*)0x20002c08 = 0; *(uint64_t*)0x20002c10 = 0; *(uint64_t*)0x20002c18 = 0; *(uint64_t*)0x20002cd0 = 0x20002c40; *(uint64_t*)0x20002c40 = 0; *(uint64_t*)0x20002c48 = 0; *(uint64_t*)0x20002c50 = 0; *(uint64_t*)0x20002c58 = 0; *(uint64_t*)0x20002cd8 = 0x20002c80; *(uint64_t*)0x20002c80 = 0; *(uint64_t*)0x20002c88 = 0; *(uint64_t*)0x20002c90 = 0; *(uint64_t*)0x20002c98 = 0; *(uint64_t*)0x20003418 = 0x20002e00; *(uint64_t*)0x20002e00 = 0x20002d00; *(uint64_t*)0x20002d00 = 0; *(uint64_t*)0x20002d08 = 0; *(uint64_t*)0x20002d10 = 0; *(uint64_t*)0x20002d18 = 0; *(uint64_t*)0x20002e08 = 0x20002d40; *(uint64_t*)0x20002d40 = 0; *(uint64_t*)0x20002d48 = 0; *(uint64_t*)0x20002d50 = 0; *(uint64_t*)0x20002d58 = 0; *(uint64_t*)0x20002e10 = 0x20002d80; *(uint64_t*)0x20002d80 = 0; *(uint64_t*)0x20002d88 = 0; *(uint64_t*)0x20002d90 = 0; *(uint64_t*)0x20002d98 = 0; *(uint64_t*)0x20002e18 = 0x20002dc0; *(uint64_t*)0x20002dc0 = 0; *(uint64_t*)0x20002dc8 = 0; *(uint64_t*)0x20002dd0 = 0; *(uint64_t*)0x20002dd8 = 0; *(uint64_t*)0x20003420 = 0x20003180; *(uint64_t*)0x20003180 = 0x20002e80; *(uint64_t*)0x20002e80 = 0x20002e40; *(uint64_t*)0x20002e40 = 0; *(uint64_t*)0x20003188 = 0x20002f00; *(uint64_t*)0x20002f00 = 0x20002ec0; *(uint64_t*)0x20002ec0 = 0; *(uint64_t*)0x20002ec8 = 0; *(uint64_t*)0x20002f08 = 0; *(uint64_t*)0x20003190 = 0x20003000; *(uint64_t*)0x20003000 = 0; *(uint64_t*)0x20003008 = 0x20002f40; *(uint64_t*)0x20002f40 = 0; *(uint64_t*)0x20002f48 = 0; *(uint64_t*)0x20002f50 = 0; *(uint64_t*)0x20002f58 = 0; *(uint64_t*)0x20003010 = 0x20002f80; *(uint64_t*)0x20002f80 = 0; *(uint64_t*)0x20002f88 = 0; *(uint64_t*)0x20002f90 = 0; *(uint64_t*)0x20002f98 = 0; *(uint64_t*)0x20003018 = 0x20002fc0; *(uint64_t*)0x20002fc0 = 0; *(uint64_t*)0x20002fc8 = 0; *(uint64_t*)0x20002fd0 = 0; *(uint64_t*)0x20002fd8 = 0; *(uint64_t*)0x20003198 = 0x20003140; *(uint64_t*)0x20003140 = 0x20003040; *(uint64_t*)0x20003040 = 0; *(uint64_t*)0x20003048 = 0; *(uint64_t*)0x20003050 = 0; *(uint64_t*)0x20003058 = 0; *(uint64_t*)0x20003148 = 0x20003080; *(uint64_t*)0x20003080 = 0; *(uint64_t*)0x20003088 = 0; *(uint64_t*)0x20003090 = 0; *(uint64_t*)0x20003098 = 0; *(uint64_t*)0x20003150 = 0x200030c0; *(uint64_t*)0x200030c0 = 0; *(uint64_t*)0x200030c8 = 0; *(uint64_t*)0x200030d0 = 0; *(uint64_t*)0x200030d8 = 0; *(uint64_t*)0x20003158 = 0x20003100; *(uint64_t*)0x20003100 = 0; *(uint64_t*)0x20003108 = 0; *(uint64_t*)0x20003110 = 0; *(uint64_t*)0x20003118 = 0; *(uint64_t*)0x200031a0 = 0; *(uint64_t*)0x200031a8 = 0; *(uint64_t*)0x20003428 = 0x200033c0; *(uint64_t*)0x200033c0 = 0x20003200; *(uint64_t*)0x20003200 = 0x200031c0; *(uint64_t*)0x200031c0 = 0; *(uint64_t*)0x200033c8 = 0x20003240; *(uint64_t*)0x20003240 = 0; *(uint64_t*)0x20003248 = 0; *(uint64_t*)0x200033d0 = 0x20003380; *(uint64_t*)0x20003380 = 0x20003280; *(uint64_t*)0x20003280 = 0; *(uint64_t*)0x20003288 = 0; *(uint64_t*)0x20003290 = 0; *(uint64_t*)0x20003298 = 0; *(uint64_t*)0x20003388 = 0x200032c0; *(uint64_t*)0x200032c0 = 0; *(uint64_t*)0x200032c8 = 0; *(uint64_t*)0x200032d0 = 0; *(uint64_t*)0x200032d8 = 0; *(uint64_t*)0x20003390 = 0x20003300; *(uint64_t*)0x20003300 = 0; *(uint64_t*)0x20003308 = 0; *(uint64_t*)0x20003310 = 0; *(uint64_t*)0x20003318 = 0; *(uint64_t*)0x20003398 = 0x20003340; *(uint64_t*)0x20003340 = 0; *(uint64_t*)0x20003348 = 0; *(uint64_t*)0x20003350 = 0; *(uint64_t*)0x20003358 = 0; *(uint64_t*)0x200033d8 = 0; *(uint64_t*)0x200033e0 = 0; *(uint64_t*)0x200033e8 = 0; syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); { int i; for(i = 0; i < 4; i++) { syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); } } break; case 3: *(uint8_t*)0x20003480 = 0xcf; syscall(SYS_test, /*a=*/0x20003480ul, 0, 0, 0, 0, 0); break; case 4: syscall(SYS_test, 0, 0, 0, 0, 0, 0); break; case 5: *(uint64_t*)0x20004ac0 = 0x20003f40; *(uint64_t*)0x20003f40 = 0x200034c0; *(uint64_t*)0x200034c0 = 0; *(uint64_t*)0x200034c8 = 0; *(uint64_t*)0x20003f48 = 0x20003f00; *(uint64_t*)0x20003f00 = 0x20003540; *(uint64_t*)0x20003540 = 0x20003500; *(uint64_t*)0x20003500 = 0; *(uint64_t*)0x20003f08 = 0x200038c0; *(uint64_t*)0x200038c0 = 0; *(uint64_t*)0x200038c8 = 0x20003880; *(uint64_t*)0x20003880 = 0x200035c0; *(uint64_t*)0x200035c0 = 0x20003580; *(uint64_t*)0x20003580 = 0; *(uint64_t*)0x20003888 = 0; *(uint64_t*)0x20003890 = 0x20003700; *(uint64_t*)0x20003700 = 0x20003600; *(uint64_t*)0x20003600 = 0; *(uint64_t*)0x20003608 = 0; *(uint64_t*)0x20003610 = 0; *(uint64_t*)0x20003618 = 0; *(uint64_t*)0x20003708 = 0x20003640; *(uint64_t*)0x20003640 = 0; *(uint64_t*)0x20003648 = 0; *(uint64_t*)0x20003650 = 0; *(uint64_t*)0x20003658 = 0; *(uint64_t*)0x20003710 = 0x20003680; *(uint64_t*)0x20003680 = 0; *(uint64_t*)0x20003688 = 0; *(uint64_t*)0x20003690 = 0; *(uint64_t*)0x20003698 = 0; *(uint64_t*)0x20003718 = 0x200036c0; *(uint64_t*)0x200036c0 = 0; *(uint64_t*)0x200036c8 = 0; *(uint64_t*)0x200036d0 = 0; *(uint64_t*)0x200036d8 = 0; *(uint64_t*)0x20003898 = 0x20003840; *(uint64_t*)0x20003840 = 0x20003740; *(uint64_t*)0x20003740 = 0; *(uint64_t*)0x20003748 = 0; *(uint64_t*)0x20003750 = 0; *(uint64_t*)0x20003758 = 0; *(uint64_t*)0x20003848 = 0x20003780; *(uint64_t*)0x20003780 = 0; *(uint64_t*)0x20003788 = 0; *(uint64_t*)0x20003790 = 0; *(uint64_t*)0x20003798 = 0; *(uint64_t*)0x20003850 = 0x200037c0; *(uint64_t*)0x200037c0 = 0; *(uint64_t*)0x200037c8 = 0; *(uint64_t*)0x200037d0 = 0; *(uint64_t*)0x200037d8 = 0; *(uint64_t*)0x20003858 = 0x20003800; *(uint64_t*)0x20003800 = 0; *(uint64_t*)0x20003808 = 0; *(uint64_t*)0x20003810 = 0; *(uint64_t*)0x20003818 = 0; *(uint64_t*)0x200038a0 = 0; *(uint64_t*)0x200038a8 = 0; *(uint64_t*)0x20003f10 = 0x200039c0; *(uint64_t*)0x200039c0 = 0; *(uint64_t*)0x200039c8 = 0x20003900; *(uint64_t*)0x20003900 = 0; *(uint64_t*)0x20003908 = 0; *(uint64_t*)0x20003910 = 0; *(uint64_t*)0x20003918 = 0; *(uint64_t*)0x200039d0 = 0x20003940; *(uint64_t*)0x20003940 = 0; *(uint64_t*)0x20003948 = 0; *(uint64_t*)0x20003950 = 0; *(uint64_t*)0x20003958 = 0; *(uint64_t*)0x200039d8 = 0x20003980; *(uint64_t*)0x20003980 = 0; *(uint64_t*)0x20003988 = 0; *(uint64_t*)0x20003990 = 0; *(uint64_t*)0x20003998 = 0; *(uint64_t*)0x20003f18 = 0x20003ac0; *(uint64_t*)0x20003ac0 = 0x20003a00; *(uint64_t*)0x20003a00 = 0; *(uint64_t*)0x20003a08 = 0; *(uint64_t*)0x20003a10 = 0; *(uint64_t*)0x20003a18 = 0; *(uint64_t*)0x20003ac8 = 0x20003a40; *(uint64_t*)0x20003a40 = 0; *(uint64_t*)0x20003a48 = 0; *(uint64_t*)0x20003a50 = 0; *(uint64_t*)0x20003a58 = 0; *(uint64_t*)0x20003ad0 = 0x20003a80; *(uint64_t*)0x20003a80 = 0; *(uint64_t*)0x20003a88 = 0; *(uint64_t*)0x20003a90 = 0; *(uint64_t*)0x20003a98 = 0; *(uint64_t*)0x20003ad8 = 0; *(uint64_t*)0x20003f20 = 0x20003d80; *(uint64_t*)0x20003d80 = 0x20003b40; *(uint64_t*)0x20003b40 = 0x20003b00; *(uint64_t*)0x20003b00 = 0; *(uint64_t*)0x20003d88 = 0x20003b80; *(uint64_t*)0x20003b80 = 0; *(uint64_t*)0x20003b88 = 0; *(uint64_t*)0x20003d90 = 0x20003c40; *(uint64_t*)0x20003c40 = 0; *(uint64_t*)0x20003c48 = 0; *(uint64_t*)0x20003c50 = 0x20003bc0; *(uint64_t*)0x20003bc0 = 0; *(uint64_t*)0x20003bc8 = 0; *(uint64_t*)0x20003bd0 = 0; *(uint64_t*)0x20003bd8 = 0; *(uint64_t*)0x20003c58 = 0x20003c00; *(uint64_t*)0x20003c00 = 0; *(uint64_t*)0x20003c08 = 0; *(uint64_t*)0x20003c10 = 0; *(uint64_t*)0x20003c18 = 0; *(uint64_t*)0x20003d98 = 0x20003d40; *(uint64_t*)0x20003d40 = 0x20003c80; *(uint64_t*)0x20003c80 = 0; *(uint64_t*)0x20003c88 = 0; *(uint64_t*)0x20003c90 = 0; *(uint64_t*)0x20003c98 = 0; *(uint64_t*)0x20003d48 = 0x20003cc0; *(uint64_t*)0x20003cc0 = 0; *(uint64_t*)0x20003cc8 = 0; *(uint64_t*)0x20003cd0 = 0; *(uint64_t*)0x20003cd8 = 0; *(uint64_t*)0x20003d50 = 0x20003d00; *(uint64_t*)0x20003d00 = 0; *(uint64_t*)0x20003d08 = 0; *(uint64_t*)0x20003d10 = 0; *(uint64_t*)0x20003d18 = 0; *(uint64_t*)0x20003d58 = 0; *(uint64_t*)0x20003da0 = 0; *(uint64_t*)0x20003da8 = 0; *(uint64_t*)0x20003f28 = 0x20003ec0; *(uint64_t*)0x20003ec0 = 0; *(uint64_t*)0x20003ec8 = 0x20003dc0; *(uint64_t*)0x20003dc0 = 0; *(uint64_t*)0x20003dc8 = 0; *(uint64_t*)0x20003ed0 = 0; *(uint64_t*)0x20003ed8 = 0x20003e80; *(uint64_t*)0x20003e80 = 0; *(uint64_t*)0x20003e88 = 0; *(uint64_t*)0x20003e90 = 0x20003e00; *(uint64_t*)0x20003e00 = 0; *(uint64_t*)0x20003e08 = 0; *(uint64_t*)0x20003e10 = 0; *(uint64_t*)0x20003e18 = 0; *(uint64_t*)0x20003e98 = 0x20003e40; *(uint64_t*)0x20003e40 = 0; *(uint64_t*)0x20003e48 = 0; *(uint64_t*)0x20003e50 = 0; *(uint64_t*)0x20003e58 = 0; *(uint64_t*)0x20003ee0 = 0; *(uint64_t*)0x20003ee8 = 0; *(uint64_t*)0x20004ac8 = 0x20004a80; *(uint64_t*)0x20004a80 = 0x20003fc0; *(uint64_t*)0x20003fc0 = 0x20003f80; *(uint64_t*)0x20003f80 = 0; *(uint64_t*)0x20004a88 = 0x20004280; *(uint64_t*)0x20004280 = 0x20004000; *(uint64_t*)0x20004000 = 0; *(uint64_t*)0x20004008 = 0; *(uint64_t*)0x20004288 = 0x20004240; *(uint64_t*)0x20004240 = 0; *(uint64_t*)0x20004248 = 0x20004040; *(uint64_t*)0x20004040 = 0; *(uint64_t*)0x20004048 = 0; *(uint64_t*)0x20004250 = 0x20004100; *(uint64_t*)0x20004100 = 0x20004080; *(uint64_t*)0x20004080 = 0; *(uint64_t*)0x20004088 = 0; *(uint64_t*)0x20004090 = 0; *(uint64_t*)0x20004098 = 0; *(uint64_t*)0x20004108 = 0; *(uint64_t*)0x20004110 = 0x200040c0; *(uint64_t*)0x200040c0 = 0; *(uint64_t*)0x200040c8 = 0; *(uint64_t*)0x200040d0 = 0; *(uint64_t*)0x200040d8 = 0; *(uint64_t*)0x20004118 = 0; *(uint64_t*)0x20004258 = 0x20004200; *(uint64_t*)0x20004200 = 0x20004140; *(uint64_t*)0x20004140 = 0; *(uint64_t*)0x20004148 = 0; *(uint64_t*)0x20004150 = 0; *(uint64_t*)0x20004158 = 0; *(uint64_t*)0x20004208 = 0x20004180; *(uint64_t*)0x20004180 = 0; *(uint64_t*)0x20004188 = 0; *(uint64_t*)0x20004190 = 0; *(uint64_t*)0x20004198 = 0; *(uint64_t*)0x20004210 = 0x200041c0; *(uint64_t*)0x200041c0 = 0; *(uint64_t*)0x200041c8 = 0; *(uint64_t*)0x200041d0 = 0; *(uint64_t*)0x200041d8 = 0; *(uint64_t*)0x20004218 = 0; *(uint64_t*)0x20004260 = 0; *(uint64_t*)0x20004268 = 0; *(uint64_t*)0x20004a90 = 0x200043c0; *(uint64_t*)0x200043c0 = 0x200042c0; *(uint64_t*)0x200042c0 = 0; *(uint64_t*)0x200042c8 = 0; *(uint64_t*)0x200042d0 = 0; *(uint64_t*)0x200042d8 = 0; *(uint64_t*)0x200043c8 = 0x20004300; *(uint64_t*)0x20004300 = 0; *(uint64_t*)0x20004308 = 0; *(uint64_t*)0x20004310 = 0; *(uint64_t*)0x20004318 = 0; *(uint64_t*)0x200043d0 = 0x20004340; *(uint64_t*)0x20004340 = 0; *(uint64_t*)0x20004348 = 0; *(uint64_t*)0x20004350 = 0; *(uint64_t*)0x20004358 = 0; *(uint64_t*)0x200043d8 = 0x20004380; *(uint64_t*)0x20004380 = 0; *(uint64_t*)0x20004388 = 0; *(uint64_t*)0x20004390 = 0; *(uint64_t*)0x20004398 = 0; *(uint64_t*)0x20004a98 = 0x20004500; *(uint64_t*)0x20004500 = 0x20004400; *(uint64_t*)0x20004400 = 0; *(uint64_t*)0x20004408 = 0; *(uint64_t*)0x20004410 = 0; *(uint64_t*)0x20004418 = 0; *(uint64_t*)0x20004508 = 0x20004440; *(uint64_t*)0x20004440 = 0; *(uint64_t*)0x20004448 = 0; *(uint64_t*)0x20004450 = 0; *(uint64_t*)0x20004458 = 0; *(uint64_t*)0x20004510 = 0x20004480; *(uint64_t*)0x20004480 = 0; *(uint64_t*)0x20004488 = 0; *(uint64_t*)0x20004490 = 0; *(uint64_t*)0x20004498 = 0; *(uint64_t*)0x20004518 = 0x200044c0; *(uint64_t*)0x200044c0 = 0; *(uint64_t*)0x200044c8 = 0; *(uint64_t*)0x200044d0 = 0; *(uint64_t*)0x200044d8 = 0; *(uint64_t*)0x20004aa0 = 0x20004800; *(uint64_t*)0x20004800 = 0x20004580; *(uint64_t*)0x20004580 = 0x20004540; *(uint64_t*)0x20004540 = 0; *(uint64_t*)0x20004808 = 0x20004600; *(uint64_t*)0x20004600 = 0x200045c0; *(uint64_t*)0x200045c0 = 0; *(uint64_t*)0x200045c8 = 0; *(uint64_t*)0x20004608 = 0; *(uint64_t*)0x20004810 = 0x200046c0; *(uint64_t*)0x200046c0 = 0x20004640; *(uint64_t*)0x20004640 = 0; *(uint64_t*)0x20004648 = 0; *(uint64_t*)0x20004650 = 0; *(uint64_t*)0x20004658 = 0; *(uint64_t*)0x200046c8 = 0; *(uint64_t*)0x200046d0 = 0x20004680; *(uint64_t*)0x20004680 = 0; *(uint64_t*)0x20004688 = 0; *(uint64_t*)0x20004690 = 0; *(uint64_t*)0x20004698 = 0; *(uint64_t*)0x200046d8 = 0; *(uint64_t*)0x20004818 = 0x200047c0; *(uint64_t*)0x200047c0 = 0; *(uint64_t*)0x200047c8 = 0x20004700; *(uint64_t*)0x20004700 = 0; *(uint64_t*)0x20004708 = 0; *(uint64_t*)0x20004710 = 0; *(uint64_t*)0x20004718 = 0; *(uint64_t*)0x200047d0 = 0x20004740; *(uint64_t*)0x20004740 = 0; *(uint64_t*)0x20004748 = 0; *(uint64_t*)0x20004750 = 0; *(uint64_t*)0x20004758 = 0; *(uint64_t*)0x200047d8 = 0x20004780; *(uint64_t*)0x20004780 = 0; *(uint64_t*)0x20004788 = 0; *(uint64_t*)0x20004790 = 0; *(uint64_t*)0x20004798 = 0; *(uint64_t*)0x20004820 = 0; *(uint64_t*)0x20004828 = 0; *(uint64_t*)0x20004aa8 = 0x20004a40; *(uint64_t*)0x20004a40 = 0x20004880; *(uint64_t*)0x20004880 = 0x20004840; *(uint64_t*)0x20004840 = 0; *(uint64_t*)0x20004a48 = 0x20004900; *(uint64_t*)0x20004900 = 0x200048c0; *(uint64_t*)0x200048c0 = 0; *(uint64_t*)0x200048c8 = 0; *(uint64_t*)0x20004908 = 0; *(uint64_t*)0x20004a50 = 0x20004a00; *(uint64_t*)0x20004a00 = 0x20004940; *(uint64_t*)0x20004940 = 0; *(uint64_t*)0x20004948 = 0; *(uint64_t*)0x20004950 = 0; *(uint64_t*)0x20004958 = 0; *(uint64_t*)0x20004a08 = 0; *(uint64_t*)0x20004a10 = 0x20004980; *(uint64_t*)0x20004980 = 0; *(uint64_t*)0x20004988 = 0; *(uint64_t*)0x20004990 = 0; *(uint64_t*)0x20004998 = 0; *(uint64_t*)0x20004a18 = 0x200049c0; *(uint64_t*)0x200049c0 = 0; *(uint64_t*)0x200049c8 = 0; *(uint64_t*)0x200049d0 = 0; *(uint64_t*)0x200049d8 = 0; *(uint64_t*)0x20004a58 = 0; *(uint64_t*)0x20004a60 = 0; *(uint64_t*)0x20004a68 = 0; syscall(SYS_test, /*a0=*/0x20004ac0ul, 0, 0, 0, 0, 0); break; case 6: *(uint8_t*)0x20004b00 = 4; *(uint16_t*)0x20004b01 = 5; *(uint16_t*)0x20004b03 = 0x400; *(uint64_t*)0x20004b05 = 0xcf; syscall(SYS_test, /*a0=*/0x20004b00ul, 0, 0, 0, 0, 0); break; case 7: sprintf((char*)0x20004b40, "0x%016llx", (long long)0); syscall(SYS_foo, /*a=*/0x20004b40ul, 0, 0); break; case 8: *(uint8_t*)0x20004b80 = 5; syscall(SYS_test, /*a=*/0x20004b80ul, 0, 0, 0, 0, 0); break; case 9: *(uint64_t*)0x20004bc0 = 0x1000; syscall(SYS_test, /*a0=*/0x20004bc0ul, 0, 0, 0, 0, 0); break; case 10: memcpy((void*)0x20000000, "-\000", 2); *(uint8_t*)0x20000040 = 0xc0; *(uint16_t*)0x20000044 = 0; STORE_BY_BITMASK(uint32_t, , 0x20000044, 0x24b, 16, 12); STORE_BY_BITMASK(uint32_t, , 0x20000048, 0x380, 0, 12); syz_compare(/*want=*/0x20000000, /*want_len=*/2, /*got=*/0x20000040, /*got_len=*/0xc); break; case 11: syz_compare_int(/*n=*/2, /*v0=*/0xb584, /*v1=*/5, 0, 0); break; case 12: syz_errno(/*v=*/4); break; case 13: memcpy((void*)0x20000080, "\x68\x5d\xce\x50\x3a\x1d\x0b\x65\x7c\x26\x0c\x9d\x19\x4b\x3f\x80\x96\x20\xfd\xde\x60\xc9\x72\xd0\x38\x09\x53\x6f\x2c\xe0\x02\x02\x78\x7c\x45\xc6\x51\xd1\xfc\xe2\x48\x7a\x3d\x34\xca\xac\x04\x9f\xee\x28", 50); syz_execute_func(/*text=*/0x20000080); break; case 14: syz_exit(/*status=*/4); break; case 15: syz_mmap(/*addr=*/0x20ffe000, /*len=*/0x2000); break; case 16: syz_sleep_ms(/*ms=*/0xfff); break; case 17: syz_test_fuzzer1(/*a=*/6, /*b=*/2, /*c=*/0xb); break; } } int main(void) { syz_mmap(/*addr=*/0x20000000, /*len=*/0x1000000); setup_fault(); use_temporary_dir(); do_sandbox_none(); return 0; } :469:3: error: call to undeclared function 'syscall'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); ^ 1 error generated. compiler invocation: c++ [-o /tmp/syz-executor1823969894 -DGOOS_test=1 -DGOARCH_64=1 -DHOSTGOOS_openbsd=1 -x c - -m64 -lutil -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-array-bounds -Wno-unused-but-set-variable -Wno-unused-command-line-argument -no-pie -fno-exceptions] --- FAIL: TestGenerate/test/64/10 (1.49s) csource_test.go:150: opts: {Threaded:true Repeat:true RepeatTimes:0 Procs:0 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Repro:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: test$recur2(&(0x7f0000000ac0)={0x0, 0x0, &(0x7f0000000100)={&(0x7f0000000000), &(0x7f0000000040), &(0x7f0000000080), &(0x7f00000000c0)}, 0x0, &(0x7f0000000a80)={&(0x7f0000000180)={&(0x7f0000000140)}, &(0x7f00000007c0)={&(0x7f00000004c0)={0x0, &(0x7f0000000480)={&(0x7f0000000200)={&(0x7f00000001c0)}, 0x0, &(0x7f0000000300)={0x0, &(0x7f0000000240), &(0x7f0000000280), &(0x7f00000002c0)}, &(0x7f0000000440)={&(0x7f0000000340), &(0x7f0000000380), &(0x7f00000003c0), &(0x7f0000000400)}}}, &(0x7f0000000780)={&(0x7f0000000500), 0x0, &(0x7f0000000600)={&(0x7f0000000540), &(0x7f0000000580), &(0x7f00000005c0)}, &(0x7f0000000740)={&(0x7f0000000640), &(0x7f0000000680), &(0x7f00000006c0), &(0x7f0000000700)}}}, 0x0, &(0x7f00000008c0)={0x0, &(0x7f0000000800), &(0x7f0000000840), &(0x7f0000000880)}, 0x0, &(0x7f0000000a40)={0x0, &(0x7f0000000940)={&(0x7f0000000900)}, 0x0, &(0x7f0000000a00)={0x0, &(0x7f0000000980), &(0x7f00000009c0)}}}}) (fail_nth: 1) test$recur0(&(0x7f0000000b80)={&(0x7f0000000b40)={&(0x7f0000000b00)}}) (async) test$recur2(&(0x7f0000003440)={&(0x7f0000000c00)={&(0x7f0000000bc0)}, &(0x7f0000001800)={&(0x7f00000011c0)={0x0, &(0x7f0000001180)={&(0x7f0000000c80)={&(0x7f0000000c40)}, 0x0, &(0x7f0000000d80)={&(0x7f0000000cc0), &(0x7f0000000d00), 0x0, &(0x7f0000000d40)}, &(0x7f0000000e80)={0x0, &(0x7f0000000dc0), &(0x7f0000000e00), &(0x7f0000000e40)}, &(0x7f0000001140)={&(0x7f0000000f00)={&(0x7f0000000ec0)}, 0x0, &(0x7f0000001000)={&(0x7f0000000f40), 0x0, &(0x7f0000000f80), &(0x7f0000000fc0)}, &(0x7f0000001100)={&(0x7f0000001040), &(0x7f0000001080), 0x0, &(0x7f00000010c0)}}}}, &(0x7f00000017c0)={&(0x7f0000001240)={&(0x7f0000001200)}, 0x0, &(0x7f0000001340)={&(0x7f0000001280), &(0x7f00000012c0), 0x0, &(0x7f0000001300)}, &(0x7f0000001480)={&(0x7f0000001380), &(0x7f00000013c0), &(0x7f0000001400), &(0x7f0000001440)}, &(0x7f0000001780)={&(0x7f0000001500)={&(0x7f00000014c0)}, 0x0, &(0x7f0000001640)={&(0x7f0000001540), &(0x7f0000001580), &(0x7f00000015c0), &(0x7f0000001600)}, &(0x7f0000001740)={0x0, &(0x7f0000001680), &(0x7f00000016c0), &(0x7f0000001700)}}}}, &(0x7f0000001940)={&(0x7f0000001840), &(0x7f0000001880), &(0x7f00000018c0), &(0x7f0000001900)}, &(0x7f0000001a40)={&(0x7f0000001980), 0x0, &(0x7f00000019c0), &(0x7f0000001a00)}, &(0x7f0000002780)={&(0x7f0000001ac0)={&(0x7f0000001a80)}, &(0x7f0000002140)={&(0x7f0000001dc0)={0x0, &(0x7f0000001d80)={&(0x7f0000001b00), 0x0, &(0x7f0000001c00)={&(0x7f0000001b40), 0x0, &(0x7f0000001b80), &(0x7f0000001bc0)}, &(0x7f0000001d40)={&(0x7f0000001c40), &(0x7f0000001c80), &(0x7f0000001cc0), &(0x7f0000001d00)}}}, &(0x7f0000002100)={&(0x7f0000001e40)={&(0x7f0000001e00)}, &(0x7f0000001e80), &(0x7f0000001fc0)={&(0x7f0000001ec0), &(0x7f0000001f00), &(0x7f0000001f40), &(0x7f0000001f80)}, &(0x7f00000020c0)={&(0x7f0000002000), 0x0, &(0x7f0000002040), &(0x7f0000002080)}}}, &(0x7f0000002280)={&(0x7f0000002180), &(0x7f00000021c0), &(0x7f0000002200), &(0x7f0000002240)}, &(0x7f00000023c0)={&(0x7f00000022c0), &(0x7f0000002300), &(0x7f0000002340), &(0x7f0000002380)}, &(0x7f00000024c0)={&(0x7f0000002440)={&(0x7f0000002400)}, &(0x7f0000002480)}, &(0x7f0000002740)={&(0x7f0000002540)={&(0x7f0000002500)}, &(0x7f00000025c0)={&(0x7f0000002580)}, 0x0, &(0x7f0000002700)={&(0x7f0000002600), &(0x7f0000002640), &(0x7f0000002680), &(0x7f00000026c0)}}}, &(0x7f0000003400)={&(0x7f0000002800)={&(0x7f00000027c0)}, &(0x7f0000002b80)={&(0x7f0000002900)={0x0, &(0x7f00000028c0)={&(0x7f0000002880)={&(0x7f0000002840)}}}, &(0x7f0000002b40)={&(0x7f0000002980)={&(0x7f0000002940)}, &(0x7f00000029c0), &(0x7f0000002b00)={&(0x7f0000002a00), &(0x7f0000002a40), &(0x7f0000002a80), &(0x7f0000002ac0)}}}, &(0x7f0000002cc0)={&(0x7f0000002bc0), &(0x7f0000002c00), &(0x7f0000002c40), &(0x7f0000002c80)}, &(0x7f0000002e00)={&(0x7f0000002d00), &(0x7f0000002d40), &(0x7f0000002d80), &(0x7f0000002dc0)}, &(0x7f0000003180)={&(0x7f0000002e80)={&(0x7f0000002e40)}, &(0x7f0000002f00)={&(0x7f0000002ec0)}, &(0x7f0000003000)={0x0, &(0x7f0000002f40), &(0x7f0000002f80), &(0x7f0000002fc0)}, &(0x7f0000003140)={&(0x7f0000003040), &(0x7f0000003080), &(0x7f00000030c0), &(0x7f0000003100)}}, &(0x7f00000033c0)={&(0x7f0000003200)={&(0x7f00000031c0)}, &(0x7f0000003240), &(0x7f0000003380)={&(0x7f0000003280), &(0x7f00000032c0), &(0x7f0000003300), &(0x7f0000003340)}}}}) (rerun: 4) test$use_cond_resource(&(0x7f0000003480)={0xcf}) test$create_cond_resource() test$recur1(&(0x7f0000004ac0)={&(0x7f0000003f40)={&(0x7f00000034c0), &(0x7f0000003f00)={&(0x7f0000003540)={&(0x7f0000003500)}, &(0x7f00000038c0)={0x0, &(0x7f0000003880)={&(0x7f00000035c0)={&(0x7f0000003580)}, 0x0, &(0x7f0000003700)={&(0x7f0000003600), &(0x7f0000003640), &(0x7f0000003680), &(0x7f00000036c0)}, &(0x7f0000003840)={&(0x7f0000003740), &(0x7f0000003780), &(0x7f00000037c0), &(0x7f0000003800)}}}, &(0x7f00000039c0)={0x0, &(0x7f0000003900), &(0x7f0000003940), &(0x7f0000003980)}, &(0x7f0000003ac0)={&(0x7f0000003a00), &(0x7f0000003a40), &(0x7f0000003a80)}, &(0x7f0000003d80)={&(0x7f0000003b40)={&(0x7f0000003b00)}, &(0x7f0000003b80), &(0x7f0000003c40)={0x0, 0x0, &(0x7f0000003bc0), &(0x7f0000003c00)}, &(0x7f0000003d40)={&(0x7f0000003c80), &(0x7f0000003cc0), &(0x7f0000003d00)}}, &(0x7f0000003ec0)={0x0, &(0x7f0000003dc0), 0x0, &(0x7f0000003e80)={0x0, 0x0, &(0x7f0000003e00), &(0x7f0000003e40)}}}}, &(0x7f0000004a80)={&(0x7f0000003fc0)={&(0x7f0000003f80)}, &(0x7f0000004280)={&(0x7f0000004000), &(0x7f0000004240)={0x0, &(0x7f0000004040), &(0x7f0000004100)={&(0x7f0000004080), 0x0, &(0x7f00000040c0)}, &(0x7f0000004200)={&(0x7f0000004140), &(0x7f0000004180), &(0x7f00000041c0)}}}, &(0x7f00000043c0)={&(0x7f00000042c0), &(0x7f0000004300), &(0x7f0000004340), &(0x7f0000004380)}, &(0x7f0000004500)={&(0x7f0000004400), &(0x7f0000004440), &(0x7f0000004480), &(0x7f00000044c0)}, &(0x7f0000004800)={&(0x7f0000004580)={&(0x7f0000004540)}, &(0x7f0000004600)={&(0x7f00000045c0)}, &(0x7f00000046c0)={&(0x7f0000004640), 0x0, &(0x7f0000004680)}, &(0x7f00000047c0)={0x0, &(0x7f0000004700), &(0x7f0000004740), &(0x7f0000004780)}}, &(0x7f0000004a40)={&(0x7f0000004880)={&(0x7f0000004840)}, &(0x7f0000004900)={&(0x7f00000048c0)}, &(0x7f0000004a00)={&(0x7f0000004940), 0x0, &(0x7f0000004980), &(0x7f00000049c0)}}}}) test$array0(&(0x7f0000004b00)={0x4, [@f0=0x5, @f0=0x400], 0xcf}) foo$fmt1(&(0x7f0000004b40)) test$use_cond_resource(&(0x7f0000004b80)={0x5}) test$opt1(&(0x7f0000004bc0)=0x1000) syz_compare(&(0x7f0000000000)='-\x00', 0x2, &(0x7f0000000040)=@bf13={0xc0, {0x0, 0x24b, 0x380}}, 0xc) syz_compare_int$2(0x2, 0xb584, 0x5) syz_errno(0x4) syz_execute_func(&(0x7f0000000080)="685dce503a1d0b657c260c9d194b3f809620fdde60c972d03809536f2ce00202787c45c651d1fce2487a3d34caac049fee28") syz_exit(0x4) syz_mmap(&(0x7f0000ffe000/0x2000)=nil, 0x2000) syz_sleep_ms(0xfff) syz_test_fuzzer1(0x6, 0x2, 0xb) csource_test.go:151: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #ifndef SYS_foo #define SYS_foo 0 #endif #ifndef SYS_test #define SYS_test 0 #endif static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static int inject_fault(int nth) { return 0; } static void setup_fault() { } static void thread_start(void* (*fn)(void*), void* arg) { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 128 << 10); int i = 0; for (; i < 100; i++) { if (pthread_create(&th, &attr, fn, arg) == 0) { pthread_attr_destroy(&attr); return; } if (errno == EAGAIN) { usleep(50); continue; } break; } exit(1); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); 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) exit(1); 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_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #define BITMASK(bf_off,bf_len) (((1ull << (bf_len)) - 1) << (bf_off)) #define STORE_BY_BITMASK(type,htobe,addr,val,bf_off,bf_len) *(type*)(addr) = htobe((htobe(*(type*)(addr)) & ~BITMASK((bf_off), (bf_len))) | (((type)(val) << (bf_off)) & BITMASK((bf_off), (bf_len)))) static long syz_mmap(volatile long a0, volatile long a1) { return (long)mmap((void*)a0, a1, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0); } static long syz_errno(volatile long v) { errno = v; return v == 0 ? 0 : -1; } static long syz_exit(volatile long status) { _exit(status); return 0; } static long syz_sleep_ms(volatile long ms) { sleep_ms(ms); return 0; } static long syz_compare(volatile long want, volatile long want_len, volatile long got, volatile long got_len) { if (want_len != got_len) { errno = EBADF; goto error; } if (memcmp((void*)want, (void*)got, want_len)) { errno = EINVAL; goto error; } return 0; error: return -1; } static long syz_compare_int(volatile long n, ...) { va_list args; va_start(args, n); long v0 = va_arg(args, long); long v1 = va_arg(args, long); long v2 = va_arg(args, long); long v3 = va_arg(args, long); va_end(args); if (n < 2 || n > 4) return errno = E2BIG, -1; if (n <= 2 && v2 != 0) return errno = EFAULT, -1; if (n <= 3 && v3 != 0) return errno = EFAULT, -1; if (v0 != v1) return errno = EINVAL, -1; if (n > 2 && v0 != v2) return errno = EINVAL, -1; if (n > 3 && v0 != v3) return errno = EINVAL, -1; return 0; } static void loop(); static int do_sandbox_none(void) { loop(); return 0; } static void fake_crash(const char* name) { exit(1); exit(1); } static long syz_test_fuzzer1(volatile long a, volatile long b, volatile long c) { if (a == 1 && b == 1 && c == 1) fake_crash("first bug"); if (a == 1 && b == 2 && c == 3) fake_crash("second bug"); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } 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; 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_one(void) { int i, call, thread; for (call = 0; call < 18; call++) { for (thread = 0; thread < (int)(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 (call == 1) break; event_timedwait(&th->done, 50); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); static void loop(void) { execute_one(); } void execute_call(int call) { switch (call) { case 0: *(uint64_t*)0x20000ac0 = 0; *(uint64_t*)0x20000ac8 = 0; *(uint64_t*)0x20000ad0 = 0x20000100; *(uint64_t*)0x20000100 = 0x20000000; *(uint64_t*)0x20000000 = 0; *(uint64_t*)0x20000008 = 0; *(uint64_t*)0x20000010 = 0; *(uint64_t*)0x20000018 = 0; *(uint64_t*)0x20000108 = 0x20000040; *(uint64_t*)0x20000040 = 0; *(uint64_t*)0x20000048 = 0; *(uint64_t*)0x20000050 = 0; *(uint64_t*)0x20000058 = 0; *(uint64_t*)0x20000110 = 0x20000080; *(uint64_t*)0x20000080 = 0; *(uint64_t*)0x20000088 = 0; *(uint64_t*)0x20000090 = 0; *(uint64_t*)0x20000098 = 0; *(uint64_t*)0x20000118 = 0x200000c0; *(uint64_t*)0x200000c0 = 0; *(uint64_t*)0x200000c8 = 0; *(uint64_t*)0x200000d0 = 0; *(uint64_t*)0x200000d8 = 0; *(uint64_t*)0x20000ad8 = 0; *(uint64_t*)0x20000ae0 = 0x20000a80; *(uint64_t*)0x20000a80 = 0x20000180; *(uint64_t*)0x20000180 = 0x20000140; *(uint64_t*)0x20000140 = 0; *(uint64_t*)0x20000a88 = 0x200007c0; *(uint64_t*)0x200007c0 = 0x200004c0; *(uint64_t*)0x200004c0 = 0; *(uint64_t*)0x200004c8 = 0x20000480; *(uint64_t*)0x20000480 = 0x20000200; *(uint64_t*)0x20000200 = 0x200001c0; *(uint64_t*)0x200001c0 = 0; *(uint64_t*)0x20000488 = 0; *(uint64_t*)0x20000490 = 0x20000300; *(uint64_t*)0x20000300 = 0; *(uint64_t*)0x20000308 = 0x20000240; *(uint64_t*)0x20000240 = 0; *(uint64_t*)0x20000248 = 0; *(uint64_t*)0x20000250 = 0; *(uint64_t*)0x20000258 = 0; *(uint64_t*)0x20000310 = 0x20000280; *(uint64_t*)0x20000280 = 0; *(uint64_t*)0x20000288 = 0; *(uint64_t*)0x20000290 = 0; *(uint64_t*)0x20000298 = 0; *(uint64_t*)0x20000318 = 0x200002c0; *(uint64_t*)0x200002c0 = 0; *(uint64_t*)0x200002c8 = 0; *(uint64_t*)0x200002d0 = 0; *(uint64_t*)0x200002d8 = 0; *(uint64_t*)0x20000498 = 0x20000440; *(uint64_t*)0x20000440 = 0x20000340; *(uint64_t*)0x20000340 = 0; *(uint64_t*)0x20000348 = 0; *(uint64_t*)0x20000350 = 0; *(uint64_t*)0x20000358 = 0; *(uint64_t*)0x20000448 = 0x20000380; *(uint64_t*)0x20000380 = 0; *(uint64_t*)0x20000388 = 0; *(uint64_t*)0x20000390 = 0; *(uint64_t*)0x20000398 = 0; *(uint64_t*)0x20000450 = 0x200003c0; *(uint64_t*)0x200003c0 = 0; *(uint64_t*)0x200003c8 = 0; *(uint64_t*)0x200003d0 = 0; *(uint64_t*)0x200003d8 = 0; *(uint64_t*)0x20000458 = 0x20000400; *(uint64_t*)0x20000400 = 0; *(uint64_t*)0x20000408 = 0; *(uint64_t*)0x20000410 = 0; *(uint64_t*)0x20000418 = 0; *(uint64_t*)0x200004a0 = 0; *(uint64_t*)0x200004a8 = 0; *(uint64_t*)0x200007c8 = 0x20000780; *(uint64_t*)0x20000780 = 0x20000500; *(uint64_t*)0x20000500 = 0; *(uint64_t*)0x20000788 = 0; *(uint64_t*)0x20000790 = 0x20000600; *(uint64_t*)0x20000600 = 0x20000540; *(uint64_t*)0x20000540 = 0; *(uint64_t*)0x20000548 = 0; *(uint64_t*)0x20000550 = 0; *(uint64_t*)0x20000558 = 0; *(uint64_t*)0x20000608 = 0x20000580; *(uint64_t*)0x20000580 = 0; *(uint64_t*)0x20000588 = 0; *(uint64_t*)0x20000590 = 0; *(uint64_t*)0x20000598 = 0; *(uint64_t*)0x20000610 = 0x200005c0; *(uint64_t*)0x200005c0 = 0; *(uint64_t*)0x200005c8 = 0; *(uint64_t*)0x200005d0 = 0; *(uint64_t*)0x200005d8 = 0; *(uint64_t*)0x20000618 = 0; *(uint64_t*)0x20000798 = 0x20000740; *(uint64_t*)0x20000740 = 0x20000640; *(uint64_t*)0x20000640 = 0; *(uint64_t*)0x20000648 = 0; *(uint64_t*)0x20000650 = 0; *(uint64_t*)0x20000658 = 0; *(uint64_t*)0x20000748 = 0x20000680; *(uint64_t*)0x20000680 = 0; *(uint64_t*)0x20000688 = 0; *(uint64_t*)0x20000690 = 0; *(uint64_t*)0x20000698 = 0; *(uint64_t*)0x20000750 = 0x200006c0; *(uint64_t*)0x200006c0 = 0; *(uint64_t*)0x200006c8 = 0; *(uint64_t*)0x200006d0 = 0; *(uint64_t*)0x200006d8 = 0; *(uint64_t*)0x20000758 = 0x20000700; *(uint64_t*)0x20000700 = 0; *(uint64_t*)0x20000708 = 0; *(uint64_t*)0x20000710 = 0; *(uint64_t*)0x20000718 = 0; *(uint64_t*)0x200007a0 = 0; *(uint64_t*)0x200007a8 = 0; *(uint64_t*)0x20000a90 = 0; *(uint64_t*)0x20000a98 = 0x200008c0; *(uint64_t*)0x200008c0 = 0; *(uint64_t*)0x200008c8 = 0x20000800; *(uint64_t*)0x20000800 = 0; *(uint64_t*)0x20000808 = 0; *(uint64_t*)0x20000810 = 0; *(uint64_t*)0x20000818 = 0; *(uint64_t*)0x200008d0 = 0x20000840; *(uint64_t*)0x20000840 = 0; *(uint64_t*)0x20000848 = 0; *(uint64_t*)0x20000850 = 0; *(uint64_t*)0x20000858 = 0; *(uint64_t*)0x200008d8 = 0x20000880; *(uint64_t*)0x20000880 = 0; *(uint64_t*)0x20000888 = 0; *(uint64_t*)0x20000890 = 0; *(uint64_t*)0x20000898 = 0; *(uint64_t*)0x20000aa0 = 0; *(uint64_t*)0x20000aa8 = 0x20000a40; *(uint64_t*)0x20000a40 = 0; *(uint64_t*)0x20000a48 = 0x20000940; *(uint64_t*)0x20000940 = 0x20000900; *(uint64_t*)0x20000900 = 0; *(uint64_t*)0x20000908 = 0; *(uint64_t*)0x20000948 = 0; *(uint64_t*)0x20000a50 = 0; *(uint64_t*)0x20000a58 = 0x20000a00; *(uint64_t*)0x20000a00 = 0; *(uint64_t*)0x20000a08 = 0x20000980; *(uint64_t*)0x20000980 = 0; *(uint64_t*)0x20000988 = 0; *(uint64_t*)0x20000990 = 0; *(uint64_t*)0x20000998 = 0; *(uint64_t*)0x20000a10 = 0x200009c0; *(uint64_t*)0x200009c0 = 0; *(uint64_t*)0x200009c8 = 0; *(uint64_t*)0x200009d0 = 0; *(uint64_t*)0x200009d8 = 0; *(uint64_t*)0x20000a18 = 0; *(uint64_t*)0x20000a60 = 0; *(uint64_t*)0x20000a68 = 0; *(uint64_t*)0x20000ae8 = 0; inject_fault(1); syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); break; case 1: *(uint64_t*)0x20000b80 = 0x20000b40; *(uint64_t*)0x20000b40 = 0x20000b00; *(uint64_t*)0x20000b00 = 0; syscall(SYS_test, /*a0=*/0x20000b80ul, 0, 0, 0, 0, 0); break; case 2: *(uint64_t*)0x20003440 = 0x20000c00; *(uint64_t*)0x20000c00 = 0x20000bc0; *(uint64_t*)0x20000bc0 = 0; *(uint64_t*)0x20003448 = 0x20001800; *(uint64_t*)0x20001800 = 0x200011c0; *(uint64_t*)0x200011c0 = 0; *(uint64_t*)0x200011c8 = 0x20001180; *(uint64_t*)0x20001180 = 0x20000c80; *(uint64_t*)0x20000c80 = 0x20000c40; *(uint64_t*)0x20000c40 = 0; *(uint64_t*)0x20001188 = 0; *(uint64_t*)0x20001190 = 0x20000d80; *(uint64_t*)0x20000d80 = 0x20000cc0; *(uint64_t*)0x20000cc0 = 0; *(uint64_t*)0x20000cc8 = 0; *(uint64_t*)0x20000cd0 = 0; *(uint64_t*)0x20000cd8 = 0; *(uint64_t*)0x20000d88 = 0x20000d00; *(uint64_t*)0x20000d00 = 0; *(uint64_t*)0x20000d08 = 0; *(uint64_t*)0x20000d10 = 0; *(uint64_t*)0x20000d18 = 0; *(uint64_t*)0x20000d90 = 0; *(uint64_t*)0x20000d98 = 0x20000d40; *(uint64_t*)0x20000d40 = 0; *(uint64_t*)0x20000d48 = 0; *(uint64_t*)0x20000d50 = 0; *(uint64_t*)0x20000d58 = 0; *(uint64_t*)0x20001198 = 0x20000e80; *(uint64_t*)0x20000e80 = 0; *(uint64_t*)0x20000e88 = 0x20000dc0; *(uint64_t*)0x20000dc0 = 0; *(uint64_t*)0x20000dc8 = 0; *(uint64_t*)0x20000dd0 = 0; *(uint64_t*)0x20000dd8 = 0; *(uint64_t*)0x20000e90 = 0x20000e00; *(uint64_t*)0x20000e00 = 0; *(uint64_t*)0x20000e08 = 0; *(uint64_t*)0x20000e10 = 0; *(uint64_t*)0x20000e18 = 0; *(uint64_t*)0x20000e98 = 0x20000e40; *(uint64_t*)0x20000e40 = 0; *(uint64_t*)0x20000e48 = 0; *(uint64_t*)0x20000e50 = 0; *(uint64_t*)0x20000e58 = 0; *(uint64_t*)0x200011a0 = 0x20001140; *(uint64_t*)0x20001140 = 0x20000f00; *(uint64_t*)0x20000f00 = 0x20000ec0; *(uint64_t*)0x20000ec0 = 0; *(uint64_t*)0x20001148 = 0; *(uint64_t*)0x20001150 = 0x20001000; *(uint64_t*)0x20001000 = 0x20000f40; *(uint64_t*)0x20000f40 = 0; *(uint64_t*)0x20000f48 = 0; *(uint64_t*)0x20000f50 = 0; *(uint64_t*)0x20000f58 = 0; *(uint64_t*)0x20001008 = 0; *(uint64_t*)0x20001010 = 0x20000f80; *(uint64_t*)0x20000f80 = 0; *(uint64_t*)0x20000f88 = 0; *(uint64_t*)0x20000f90 = 0; *(uint64_t*)0x20000f98 = 0; *(uint64_t*)0x20001018 = 0x20000fc0; *(uint64_t*)0x20000fc0 = 0; *(uint64_t*)0x20000fc8 = 0; *(uint64_t*)0x20000fd0 = 0; *(uint64_t*)0x20000fd8 = 0; *(uint64_t*)0x20001158 = 0x20001100; *(uint64_t*)0x20001100 = 0x20001040; *(uint64_t*)0x20001040 = 0; *(uint64_t*)0x20001048 = 0; *(uint64_t*)0x20001050 = 0; *(uint64_t*)0x20001058 = 0; *(uint64_t*)0x20001108 = 0x20001080; *(uint64_t*)0x20001080 = 0; *(uint64_t*)0x20001088 = 0; *(uint64_t*)0x20001090 = 0; *(uint64_t*)0x20001098 = 0; *(uint64_t*)0x20001110 = 0; *(uint64_t*)0x20001118 = 0x200010c0; *(uint64_t*)0x200010c0 = 0; *(uint64_t*)0x200010c8 = 0; *(uint64_t*)0x200010d0 = 0; *(uint64_t*)0x200010d8 = 0; *(uint64_t*)0x20001160 = 0; *(uint64_t*)0x20001168 = 0; *(uint64_t*)0x200011a8 = 0; *(uint64_t*)0x20001808 = 0x200017c0; *(uint64_t*)0x200017c0 = 0x20001240; *(uint64_t*)0x20001240 = 0x20001200; *(uint64_t*)0x20001200 = 0; *(uint64_t*)0x200017c8 = 0; *(uint64_t*)0x200017d0 = 0x20001340; *(uint64_t*)0x20001340 = 0x20001280; *(uint64_t*)0x20001280 = 0; *(uint64_t*)0x20001288 = 0; *(uint64_t*)0x20001290 = 0; *(uint64_t*)0x20001298 = 0; *(uint64_t*)0x20001348 = 0x200012c0; *(uint64_t*)0x200012c0 = 0; *(uint64_t*)0x200012c8 = 0; *(uint64_t*)0x200012d0 = 0; *(uint64_t*)0x200012d8 = 0; *(uint64_t*)0x20001350 = 0; *(uint64_t*)0x20001358 = 0x20001300; *(uint64_t*)0x20001300 = 0; *(uint64_t*)0x20001308 = 0; *(uint64_t*)0x20001310 = 0; *(uint64_t*)0x20001318 = 0; *(uint64_t*)0x200017d8 = 0x20001480; *(uint64_t*)0x20001480 = 0x20001380; *(uint64_t*)0x20001380 = 0; *(uint64_t*)0x20001388 = 0; *(uint64_t*)0x20001390 = 0; *(uint64_t*)0x20001398 = 0; *(uint64_t*)0x20001488 = 0x200013c0; *(uint64_t*)0x200013c0 = 0; *(uint64_t*)0x200013c8 = 0; *(uint64_t*)0x200013d0 = 0; *(uint64_t*)0x200013d8 = 0; *(uint64_t*)0x20001490 = 0x20001400; *(uint64_t*)0x20001400 = 0; *(uint64_t*)0x20001408 = 0; *(uint64_t*)0x20001410 = 0; *(uint64_t*)0x20001418 = 0; *(uint64_t*)0x20001498 = 0x20001440; *(uint64_t*)0x20001440 = 0; *(uint64_t*)0x20001448 = 0; *(uint64_t*)0x20001450 = 0; *(uint64_t*)0x20001458 = 0; *(uint64_t*)0x200017e0 = 0x20001780; *(uint64_t*)0x20001780 = 0x20001500; *(uint64_t*)0x20001500 = 0x200014c0; *(uint64_t*)0x200014c0 = 0; *(uint64_t*)0x20001788 = 0; *(uint64_t*)0x20001790 = 0x20001640; *(uint64_t*)0x20001640 = 0x20001540; *(uint64_t*)0x20001540 = 0; *(uint64_t*)0x20001548 = 0; *(uint64_t*)0x20001550 = 0; *(uint64_t*)0x20001558 = 0; *(uint64_t*)0x20001648 = 0x20001580; *(uint64_t*)0x20001580 = 0; *(uint64_t*)0x20001588 = 0; *(uint64_t*)0x20001590 = 0; *(uint64_t*)0x20001598 = 0; *(uint64_t*)0x20001650 = 0x200015c0; *(uint64_t*)0x200015c0 = 0; *(uint64_t*)0x200015c8 = 0; *(uint64_t*)0x200015d0 = 0; *(uint64_t*)0x200015d8 = 0; *(uint64_t*)0x20001658 = 0x20001600; *(uint64_t*)0x20001600 = 0; *(uint64_t*)0x20001608 = 0; *(uint64_t*)0x20001610 = 0; *(uint64_t*)0x20001618 = 0; *(uint64_t*)0x20001798 = 0x20001740; *(uint64_t*)0x20001740 = 0; *(uint64_t*)0x20001748 = 0x20001680; *(uint64_t*)0x20001680 = 0; *(uint64_t*)0x20001688 = 0; *(uint64_t*)0x20001690 = 0; *(uint64_t*)0x20001698 = 0; *(uint64_t*)0x20001750 = 0x200016c0; *(uint64_t*)0x200016c0 = 0; *(uint64_t*)0x200016c8 = 0; *(uint64_t*)0x200016d0 = 0; *(uint64_t*)0x200016d8 = 0; *(uint64_t*)0x20001758 = 0x20001700; *(uint64_t*)0x20001700 = 0; *(uint64_t*)0x20001708 = 0; *(uint64_t*)0x20001710 = 0; *(uint64_t*)0x20001718 = 0; *(uint64_t*)0x200017a0 = 0; *(uint64_t*)0x200017a8 = 0; *(uint64_t*)0x200017e8 = 0; *(uint64_t*)0x20003450 = 0x20001940; *(uint64_t*)0x20001940 = 0x20001840; *(uint64_t*)0x20001840 = 0; *(uint64_t*)0x20001848 = 0; *(uint64_t*)0x20001850 = 0; *(uint64_t*)0x20001858 = 0; *(uint64_t*)0x20001948 = 0x20001880; *(uint64_t*)0x20001880 = 0; *(uint64_t*)0x20001888 = 0; *(uint64_t*)0x20001890 = 0; *(uint64_t*)0x20001898 = 0; *(uint64_t*)0x20001950 = 0x200018c0; *(uint64_t*)0x200018c0 = 0; *(uint64_t*)0x200018c8 = 0; *(uint64_t*)0x200018d0 = 0; *(uint64_t*)0x200018d8 = 0; *(uint64_t*)0x20001958 = 0x20001900; *(uint64_t*)0x20001900 = 0; *(uint64_t*)0x20001908 = 0; *(uint64_t*)0x20001910 = 0; *(uint64_t*)0x20001918 = 0; *(uint64_t*)0x20003458 = 0x20001a40; *(uint64_t*)0x20001a40 = 0x20001980; *(uint64_t*)0x20001980 = 0; *(uint64_t*)0x20001988 = 0; *(uint64_t*)0x20001990 = 0; *(uint64_t*)0x20001998 = 0; *(uint64_t*)0x20001a48 = 0; *(uint64_t*)0x20001a50 = 0x200019c0; *(uint64_t*)0x200019c0 = 0; *(uint64_t*)0x200019c8 = 0; *(uint64_t*)0x200019d0 = 0; *(uint64_t*)0x200019d8 = 0; *(uint64_t*)0x20001a58 = 0x20001a00; *(uint64_t*)0x20001a00 = 0; *(uint64_t*)0x20001a08 = 0; *(uint64_t*)0x20001a10 = 0; *(uint64_t*)0x20001a18 = 0; *(uint64_t*)0x20003460 = 0x20002780; *(uint64_t*)0x20002780 = 0x20001ac0; *(uint64_t*)0x20001ac0 = 0x20001a80; *(uint64_t*)0x20001a80 = 0; *(uint64_t*)0x20002788 = 0x20002140; *(uint64_t*)0x20002140 = 0x20001dc0; *(uint64_t*)0x20001dc0 = 0; *(uint64_t*)0x20001dc8 = 0x20001d80; *(uint64_t*)0x20001d80 = 0x20001b00; *(uint64_t*)0x20001b00 = 0; *(uint64_t*)0x20001d88 = 0; *(uint64_t*)0x20001d90 = 0x20001c00; *(uint64_t*)0x20001c00 = 0x20001b40; *(uint64_t*)0x20001b40 = 0; *(uint64_t*)0x20001b48 = 0; *(uint64_t*)0x20001b50 = 0; *(uint64_t*)0x20001b58 = 0; *(uint64_t*)0x20001c08 = 0; *(uint64_t*)0x20001c10 = 0x20001b80; *(uint64_t*)0x20001b80 = 0; *(uint64_t*)0x20001b88 = 0; *(uint64_t*)0x20001b90 = 0; *(uint64_t*)0x20001b98 = 0; *(uint64_t*)0x20001c18 = 0x20001bc0; *(uint64_t*)0x20001bc0 = 0; *(uint64_t*)0x20001bc8 = 0; *(uint64_t*)0x20001bd0 = 0; *(uint64_t*)0x20001bd8 = 0; *(uint64_t*)0x20001d98 = 0x20001d40; *(uint64_t*)0x20001d40 = 0x20001c40; *(uint64_t*)0x20001c40 = 0; *(uint64_t*)0x20001c48 = 0; *(uint64_t*)0x20001c50 = 0; *(uint64_t*)0x20001c58 = 0; *(uint64_t*)0x20001d48 = 0x20001c80; *(uint64_t*)0x20001c80 = 0; *(uint64_t*)0x20001c88 = 0; *(uint64_t*)0x20001c90 = 0; *(uint64_t*)0x20001c98 = 0; *(uint64_t*)0x20001d50 = 0x20001cc0; *(uint64_t*)0x20001cc0 = 0; *(uint64_t*)0x20001cc8 = 0; *(uint64_t*)0x20001cd0 = 0; *(uint64_t*)0x20001cd8 = 0; *(uint64_t*)0x20001d58 = 0x20001d00; *(uint64_t*)0x20001d00 = 0; *(uint64_t*)0x20001d08 = 0; *(uint64_t*)0x20001d10 = 0; *(uint64_t*)0x20001d18 = 0; *(uint64_t*)0x20001da0 = 0; *(uint64_t*)0x20001da8 = 0; *(uint64_t*)0x20002148 = 0x20002100; *(uint64_t*)0x20002100 = 0x20001e40; *(uint64_t*)0x20001e40 = 0x20001e00; *(uint64_t*)0x20001e00 = 0; *(uint64_t*)0x20002108 = 0x20001e80; *(uint64_t*)0x20001e80 = 0; *(uint64_t*)0x20001e88 = 0; *(uint64_t*)0x20002110 = 0x20001fc0; *(uint64_t*)0x20001fc0 = 0x20001ec0; *(uint64_t*)0x20001ec0 = 0; *(uint64_t*)0x20001ec8 = 0; *(uint64_t*)0x20001ed0 = 0; *(uint64_t*)0x20001ed8 = 0; *(uint64_t*)0x20001fc8 = 0x20001f00; *(uint64_t*)0x20001f00 = 0; *(uint64_t*)0x20001f08 = 0; *(uint64_t*)0x20001f10 = 0; *(uint64_t*)0x20001f18 = 0; *(uint64_t*)0x20001fd0 = 0x20001f40; *(uint64_t*)0x20001f40 = 0; *(uint64_t*)0x20001f48 = 0; *(uint64_t*)0x20001f50 = 0; *(uint64_t*)0x20001f58 = 0; *(uint64_t*)0x20001fd8 = 0x20001f80; *(uint64_t*)0x20001f80 = 0; *(uint64_t*)0x20001f88 = 0; *(uint64_t*)0x20001f90 = 0; *(uint64_t*)0x20001f98 = 0; *(uint64_t*)0x20002118 = 0x200020c0; *(uint64_t*)0x200020c0 = 0x20002000; *(uint64_t*)0x20002000 = 0; *(uint64_t*)0x20002008 = 0; *(uint64_t*)0x20002010 = 0; *(uint64_t*)0x20002018 = 0; *(uint64_t*)0x200020c8 = 0; *(uint64_t*)0x200020d0 = 0x20002040; *(uint64_t*)0x20002040 = 0; *(uint64_t*)0x20002048 = 0; *(uint64_t*)0x20002050 = 0; *(uint64_t*)0x20002058 = 0; *(uint64_t*)0x200020d8 = 0x20002080; *(uint64_t*)0x20002080 = 0; *(uint64_t*)0x20002088 = 0; *(uint64_t*)0x20002090 = 0; *(uint64_t*)0x20002098 = 0; *(uint64_t*)0x20002120 = 0; *(uint64_t*)0x20002128 = 0; *(uint64_t*)0x20002790 = 0x20002280; *(uint64_t*)0x20002280 = 0x20002180; *(uint64_t*)0x20002180 = 0; *(uint64_t*)0x20002188 = 0; *(uint64_t*)0x20002190 = 0; *(uint64_t*)0x20002198 = 0; *(uint64_t*)0x20002288 = 0x200021c0; *(uint64_t*)0x200021c0 = 0; *(uint64_t*)0x200021c8 = 0; *(uint64_t*)0x200021d0 = 0; *(uint64_t*)0x200021d8 = 0; *(uint64_t*)0x20002290 = 0x20002200; *(uint64_t*)0x20002200 = 0; *(uint64_t*)0x20002208 = 0; *(uint64_t*)0x20002210 = 0; *(uint64_t*)0x20002218 = 0; *(uint64_t*)0x20002298 = 0x20002240; *(uint64_t*)0x20002240 = 0; *(uint64_t*)0x20002248 = 0; *(uint64_t*)0x20002250 = 0; *(uint64_t*)0x20002258 = 0; *(uint64_t*)0x20002798 = 0x200023c0; *(uint64_t*)0x200023c0 = 0x200022c0; *(uint64_t*)0x200022c0 = 0; *(uint64_t*)0x200022c8 = 0; *(uint64_t*)0x200022d0 = 0; *(uint64_t*)0x200022d8 = 0; *(uint64_t*)0x200023c8 = 0x20002300; *(uint64_t*)0x20002300 = 0; *(uint64_t*)0x20002308 = 0; *(uint64_t*)0x20002310 = 0; *(uint64_t*)0x20002318 = 0; *(uint64_t*)0x200023d0 = 0x20002340; *(uint64_t*)0x20002340 = 0; *(uint64_t*)0x20002348 = 0; *(uint64_t*)0x20002350 = 0; *(uint64_t*)0x20002358 = 0; *(uint64_t*)0x200023d8 = 0x20002380; *(uint64_t*)0x20002380 = 0; *(uint64_t*)0x20002388 = 0; *(uint64_t*)0x20002390 = 0; *(uint64_t*)0x20002398 = 0; *(uint64_t*)0x200027a0 = 0x200024c0; *(uint64_t*)0x200024c0 = 0x20002440; *(uint64_t*)0x20002440 = 0x20002400; *(uint64_t*)0x20002400 = 0; *(uint64_t*)0x200024c8 = 0x20002480; *(uint64_t*)0x20002480 = 0; *(uint64_t*)0x20002488 = 0; *(uint64_t*)0x200024d0 = 0; *(uint64_t*)0x200024d8 = 0; *(uint64_t*)0x200024e0 = 0; *(uint64_t*)0x200024e8 = 0; *(uint64_t*)0x200027a8 = 0x20002740; *(uint64_t*)0x20002740 = 0x20002540; *(uint64_t*)0x20002540 = 0x20002500; *(uint64_t*)0x20002500 = 0; *(uint64_t*)0x20002748 = 0x200025c0; *(uint64_t*)0x200025c0 = 0x20002580; *(uint64_t*)0x20002580 = 0; *(uint64_t*)0x20002588 = 0; *(uint64_t*)0x200025c8 = 0; *(uint64_t*)0x20002750 = 0; *(uint64_t*)0x20002758 = 0x20002700; *(uint64_t*)0x20002700 = 0x20002600; *(uint64_t*)0x20002600 = 0; *(uint64_t*)0x20002608 = 0; *(uint64_t*)0x20002610 = 0; *(uint64_t*)0x20002618 = 0; *(uint64_t*)0x20002708 = 0x20002640; *(uint64_t*)0x20002640 = 0; *(uint64_t*)0x20002648 = 0; *(uint64_t*)0x20002650 = 0; *(uint64_t*)0x20002658 = 0; *(uint64_t*)0x20002710 = 0x20002680; *(uint64_t*)0x20002680 = 0; *(uint64_t*)0x20002688 = 0; *(uint64_t*)0x20002690 = 0; *(uint64_t*)0x20002698 = 0; *(uint64_t*)0x20002718 = 0x200026c0; *(uint64_t*)0x200026c0 = 0; *(uint64_t*)0x200026c8 = 0; *(uint64_t*)0x200026d0 = 0; *(uint64_t*)0x200026d8 = 0; *(uint64_t*)0x20002760 = 0; *(uint64_t*)0x20002768 = 0; *(uint64_t*)0x20003468 = 0x20003400; *(uint64_t*)0x20003400 = 0x20002800; *(uint64_t*)0x20002800 = 0x200027c0; *(uint64_t*)0x200027c0 = 0; *(uint64_t*)0x20003408 = 0x20002b80; *(uint64_t*)0x20002b80 = 0x20002900; *(uint64_t*)0x20002900 = 0; *(uint64_t*)0x20002908 = 0x200028c0; *(uint64_t*)0x200028c0 = 0x20002880; *(uint64_t*)0x20002880 = 0x20002840; *(uint64_t*)0x20002840 = 0; *(uint64_t*)0x200028c8 = 0; *(uint64_t*)0x200028d0 = 0; *(uint64_t*)0x200028d8 = 0; *(uint64_t*)0x200028e0 = 0; *(uint64_t*)0x200028e8 = 0; *(uint64_t*)0x20002b88 = 0x20002b40; *(uint64_t*)0x20002b40 = 0x20002980; *(uint64_t*)0x20002980 = 0x20002940; *(uint64_t*)0x20002940 = 0; *(uint64_t*)0x20002b48 = 0x200029c0; *(uint64_t*)0x200029c0 = 0; *(uint64_t*)0x200029c8 = 0; *(uint64_t*)0x20002b50 = 0x20002b00; *(uint64_t*)0x20002b00 = 0x20002a00; *(uint64_t*)0x20002a00 = 0; *(uint64_t*)0x20002a08 = 0; *(uint64_t*)0x20002a10 = 0; *(uint64_t*)0x20002a18 = 0; *(uint64_t*)0x20002b08 = 0x20002a40; *(uint64_t*)0x20002a40 = 0; *(uint64_t*)0x20002a48 = 0; *(uint64_t*)0x20002a50 = 0; *(uint64_t*)0x20002a58 = 0; *(uint64_t*)0x20002b10 = 0x20002a80; *(uint64_t*)0x20002a80 = 0; *(uint64_t*)0x20002a88 = 0; *(uint64_t*)0x20002a90 = 0; *(uint64_t*)0x20002a98 = 0; *(uint64_t*)0x20002b18 = 0x20002ac0; *(uint64_t*)0x20002ac0 = 0; *(uint64_t*)0x20002ac8 = 0; *(uint64_t*)0x20002ad0 = 0; *(uint64_t*)0x20002ad8 = 0; *(uint64_t*)0x20002b58 = 0; *(uint64_t*)0x20002b60 = 0; *(uint64_t*)0x20002b68 = 0; *(uint64_t*)0x20003410 = 0x20002cc0; *(uint64_t*)0x20002cc0 = 0x20002bc0; *(uint64_t*)0x20002bc0 = 0; *(uint64_t*)0x20002bc8 = 0; *(uint64_t*)0x20002bd0 = 0; *(uint64_t*)0x20002bd8 = 0; *(uint64_t*)0x20002cc8 = 0x20002c00; *(uint64_t*)0x20002c00 = 0; *(uint64_t*)0x20002c08 = 0; *(uint64_t*)0x20002c10 = 0; *(uint64_t*)0x20002c18 = 0; *(uint64_t*)0x20002cd0 = 0x20002c40; *(uint64_t*)0x20002c40 = 0; *(uint64_t*)0x20002c48 = 0; *(uint64_t*)0x20002c50 = 0; *(uint64_t*)0x20002c58 = 0; *(uint64_t*)0x20002cd8 = 0x20002c80; *(uint64_t*)0x20002c80 = 0; *(uint64_t*)0x20002c88 = 0; *(uint64_t*)0x20002c90 = 0; *(uint64_t*)0x20002c98 = 0; *(uint64_t*)0x20003418 = 0x20002e00; *(uint64_t*)0x20002e00 = 0x20002d00; *(uint64_t*)0x20002d00 = 0; *(uint64_t*)0x20002d08 = 0; *(uint64_t*)0x20002d10 = 0; *(uint64_t*)0x20002d18 = 0; *(uint64_t*)0x20002e08 = 0x20002d40; *(uint64_t*)0x20002d40 = 0; *(uint64_t*)0x20002d48 = 0; *(uint64_t*)0x20002d50 = 0; *(uint64_t*)0x20002d58 = 0; *(uint64_t*)0x20002e10 = 0x20002d80; *(uint64_t*)0x20002d80 = 0; *(uint64_t*)0x20002d88 = 0; *(uint64_t*)0x20002d90 = 0; *(uint64_t*)0x20002d98 = 0; *(uint64_t*)0x20002e18 = 0x20002dc0; *(uint64_t*)0x20002dc0 = 0; *(uint64_t*)0x20002dc8 = 0; *(uint64_t*)0x20002dd0 = 0; *(uint64_t*)0x20002dd8 = 0; *(uint64_t*)0x20003420 = 0x20003180; *(uint64_t*)0x20003180 = 0x20002e80; *(uint64_t*)0x20002e80 = 0x20002e40; *(uint64_t*)0x20002e40 = 0; *(uint64_t*)0x20003188 = 0x20002f00; *(uint64_t*)0x20002f00 = 0x20002ec0; *(uint64_t*)0x20002ec0 = 0; *(uint64_t*)0x20002ec8 = 0; *(uint64_t*)0x20002f08 = 0; *(uint64_t*)0x20003190 = 0x20003000; *(uint64_t*)0x20003000 = 0; *(uint64_t*)0x20003008 = 0x20002f40; *(uint64_t*)0x20002f40 = 0; *(uint64_t*)0x20002f48 = 0; *(uint64_t*)0x20002f50 = 0; *(uint64_t*)0x20002f58 = 0; *(uint64_t*)0x20003010 = 0x20002f80; *(uint64_t*)0x20002f80 = 0; *(uint64_t*)0x20002f88 = 0; *(uint64_t*)0x20002f90 = 0; *(uint64_t*)0x20002f98 = 0; *(uint64_t*)0x20003018 = 0x20002fc0; *(uint64_t*)0x20002fc0 = 0; *(uint64_t*)0x20002fc8 = 0; *(uint64_t*)0x20002fd0 = 0; *(uint64_t*)0x20002fd8 = 0; *(uint64_t*)0x20003198 = 0x20003140; *(uint64_t*)0x20003140 = 0x20003040; *(uint64_t*)0x20003040 = 0; *(uint64_t*)0x20003048 = 0; *(uint64_t*)0x20003050 = 0; *(uint64_t*)0x20003058 = 0; *(uint64_t*)0x20003148 = 0x20003080; *(uint64_t*)0x20003080 = 0; *(uint64_t*)0x20003088 = 0; *(uint64_t*)0x20003090 = 0; *(uint64_t*)0x20003098 = 0; *(uint64_t*)0x20003150 = 0x200030c0; *(uint64_t*)0x200030c0 = 0; *(uint64_t*)0x200030c8 = 0; *(uint64_t*)0x200030d0 = 0; *(uint64_t*)0x200030d8 = 0; *(uint64_t*)0x20003158 = 0x20003100; *(uint64_t*)0x20003100 = 0; *(uint64_t*)0x20003108 = 0; *(uint64_t*)0x20003110 = 0; *(uint64_t*)0x20003118 = 0; *(uint64_t*)0x200031a0 = 0; *(uint64_t*)0x200031a8 = 0; *(uint64_t*)0x20003428 = 0x200033c0; *(uint64_t*)0x200033c0 = 0x20003200; *(uint64_t*)0x20003200 = 0x200031c0; *(uint64_t*)0x200031c0 = 0; *(uint64_t*)0x200033c8 = 0x20003240; *(uint64_t*)0x20003240 = 0; *(uint64_t*)0x20003248 = 0; *(uint64_t*)0x200033d0 = 0x20003380; *(uint64_t*)0x20003380 = 0x20003280; *(uint64_t*)0x20003280 = 0; *(uint64_t*)0x20003288 = 0; *(uint64_t*)0x20003290 = 0; *(uint64_t*)0x20003298 = 0; *(uint64_t*)0x20003388 = 0x200032c0; *(uint64_t*)0x200032c0 = 0; *(uint64_t*)0x200032c8 = 0; *(uint64_t*)0x200032d0 = 0; *(uint64_t*)0x200032d8 = 0; *(uint64_t*)0x20003390 = 0x20003300; *(uint64_t*)0x20003300 = 0; *(uint64_t*)0x20003308 = 0; *(uint64_t*)0x20003310 = 0; *(uint64_t*)0x20003318 = 0; *(uint64_t*)0x20003398 = 0x20003340; *(uint64_t*)0x20003340 = 0; *(uint64_t*)0x20003348 = 0; *(uint64_t*)0x20003350 = 0; *(uint64_t*)0x20003358 = 0; *(uint64_t*)0x200033d8 = 0; *(uint64_t*)0x200033e0 = 0; *(uint64_t*)0x200033e8 = 0; syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); { int i; for(i = 0; i < 4; i++) { syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); } } break; case 3: *(uint8_t*)0x20003480 = 0xcf; syscall(SYS_test, /*a=*/0x20003480ul, 0, 0, 0, 0, 0); break; case 4: syscall(SYS_test, 0, 0, 0, 0, 0, 0); break; case 5: *(uint64_t*)0x20004ac0 = 0x20003f40; *(uint64_t*)0x20003f40 = 0x200034c0; *(uint64_t*)0x200034c0 = 0; *(uint64_t*)0x200034c8 = 0; *(uint64_t*)0x20003f48 = 0x20003f00; *(uint64_t*)0x20003f00 = 0x20003540; *(uint64_t*)0x20003540 = 0x20003500; *(uint64_t*)0x20003500 = 0; *(uint64_t*)0x20003f08 = 0x200038c0; *(uint64_t*)0x200038c0 = 0; *(uint64_t*)0x200038c8 = 0x20003880; *(uint64_t*)0x20003880 = 0x200035c0; *(uint64_t*)0x200035c0 = 0x20003580; *(uint64_t*)0x20003580 = 0; *(uint64_t*)0x20003888 = 0; *(uint64_t*)0x20003890 = 0x20003700; *(uint64_t*)0x20003700 = 0x20003600; *(uint64_t*)0x20003600 = 0; *(uint64_t*)0x20003608 = 0; *(uint64_t*)0x20003610 = 0; *(uint64_t*)0x20003618 = 0; *(uint64_t*)0x20003708 = 0x20003640; *(uint64_t*)0x20003640 = 0; *(uint64_t*)0x20003648 = 0; *(uint64_t*)0x20003650 = 0; *(uint64_t*)0x20003658 = 0; *(uint64_t*)0x20003710 = 0x20003680; *(uint64_t*)0x20003680 = 0; *(uint64_t*)0x20003688 = 0; *(uint64_t*)0x20003690 = 0; *(uint64_t*)0x20003698 = 0; *(uint64_t*)0x20003718 = 0x200036c0; *(uint64_t*)0x200036c0 = 0; *(uint64_t*)0x200036c8 = 0; *(uint64_t*)0x200036d0 = 0; *(uint64_t*)0x200036d8 = 0; *(uint64_t*)0x20003898 = 0x20003840; *(uint64_t*)0x20003840 = 0x20003740; *(uint64_t*)0x20003740 = 0; *(uint64_t*)0x20003748 = 0; *(uint64_t*)0x20003750 = 0; *(uint64_t*)0x20003758 = 0; *(uint64_t*)0x20003848 = 0x20003780; *(uint64_t*)0x20003780 = 0; *(uint64_t*)0x20003788 = 0; *(uint64_t*)0x20003790 = 0; *(uint64_t*)0x20003798 = 0; *(uint64_t*)0x20003850 = 0x200037c0; *(uint64_t*)0x200037c0 = 0; *(uint64_t*)0x200037c8 = 0; *(uint64_t*)0x200037d0 = 0; *(uint64_t*)0x200037d8 = 0; *(uint64_t*)0x20003858 = 0x20003800; *(uint64_t*)0x20003800 = 0; *(uint64_t*)0x20003808 = 0; *(uint64_t*)0x20003810 = 0; *(uint64_t*)0x20003818 = 0; *(uint64_t*)0x200038a0 = 0; *(uint64_t*)0x200038a8 = 0; *(uint64_t*)0x20003f10 = 0x200039c0; *(uint64_t*)0x200039c0 = 0; *(uint64_t*)0x200039c8 = 0x20003900; *(uint64_t*)0x20003900 = 0; *(uint64_t*)0x20003908 = 0; *(uint64_t*)0x20003910 = 0; *(uint64_t*)0x20003918 = 0; *(uint64_t*)0x200039d0 = 0x20003940; *(uint64_t*)0x20003940 = 0; *(uint64_t*)0x20003948 = 0; *(uint64_t*)0x20003950 = 0; *(uint64_t*)0x20003958 = 0; *(uint64_t*)0x200039d8 = 0x20003980; *(uint64_t*)0x20003980 = 0; *(uint64_t*)0x20003988 = 0; *(uint64_t*)0x20003990 = 0; *(uint64_t*)0x20003998 = 0; *(uint64_t*)0x20003f18 = 0x20003ac0; *(uint64_t*)0x20003ac0 = 0x20003a00; *(uint64_t*)0x20003a00 = 0; *(uint64_t*)0x20003a08 = 0; *(uint64_t*)0x20003a10 = 0; *(uint64_t*)0x20003a18 = 0; *(uint64_t*)0x20003ac8 = 0x20003a40; *(uint64_t*)0x20003a40 = 0; *(uint64_t*)0x20003a48 = 0; *(uint64_t*)0x20003a50 = 0; *(uint64_t*)0x20003a58 = 0; *(uint64_t*)0x20003ad0 = 0x20003a80; *(uint64_t*)0x20003a80 = 0; *(uint64_t*)0x20003a88 = 0; *(uint64_t*)0x20003a90 = 0; *(uint64_t*)0x20003a98 = 0; *(uint64_t*)0x20003ad8 = 0; *(uint64_t*)0x20003f20 = 0x20003d80; *(uint64_t*)0x20003d80 = 0x20003b40; *(uint64_t*)0x20003b40 = 0x20003b00; *(uint64_t*)0x20003b00 = 0; *(uint64_t*)0x20003d88 = 0x20003b80; *(uint64_t*)0x20003b80 = 0; *(uint64_t*)0x20003b88 = 0; *(uint64_t*)0x20003d90 = 0x20003c40; *(uint64_t*)0x20003c40 = 0; *(uint64_t*)0x20003c48 = 0; *(uint64_t*)0x20003c50 = 0x20003bc0; *(uint64_t*)0x20003bc0 = 0; *(uint64_t*)0x20003bc8 = 0; *(uint64_t*)0x20003bd0 = 0; *(uint64_t*)0x20003bd8 = 0; *(uint64_t*)0x20003c58 = 0x20003c00; *(uint64_t*)0x20003c00 = 0; *(uint64_t*)0x20003c08 = 0; *(uint64_t*)0x20003c10 = 0; *(uint64_t*)0x20003c18 = 0; *(uint64_t*)0x20003d98 = 0x20003d40; *(uint64_t*)0x20003d40 = 0x20003c80; *(uint64_t*)0x20003c80 = 0; *(uint64_t*)0x20003c88 = 0; *(uint64_t*)0x20003c90 = 0; *(uint64_t*)0x20003c98 = 0; *(uint64_t*)0x20003d48 = 0x20003cc0; *(uint64_t*)0x20003cc0 = 0; *(uint64_t*)0x20003cc8 = 0; *(uint64_t*)0x20003cd0 = 0; *(uint64_t*)0x20003cd8 = 0; *(uint64_t*)0x20003d50 = 0x20003d00; *(uint64_t*)0x20003d00 = 0; *(uint64_t*)0x20003d08 = 0; *(uint64_t*)0x20003d10 = 0; *(uint64_t*)0x20003d18 = 0; *(uint64_t*)0x20003d58 = 0; *(uint64_t*)0x20003da0 = 0; *(uint64_t*)0x20003da8 = 0; *(uint64_t*)0x20003f28 = 0x20003ec0; *(uint64_t*)0x20003ec0 = 0; *(uint64_t*)0x20003ec8 = 0x20003dc0; *(uint64_t*)0x20003dc0 = 0; *(uint64_t*)0x20003dc8 = 0; *(uint64_t*)0x20003ed0 = 0; *(uint64_t*)0x20003ed8 = 0x20003e80; *(uint64_t*)0x20003e80 = 0; *(uint64_t*)0x20003e88 = 0; *(uint64_t*)0x20003e90 = 0x20003e00; *(uint64_t*)0x20003e00 = 0; *(uint64_t*)0x20003e08 = 0; *(uint64_t*)0x20003e10 = 0; *(uint64_t*)0x20003e18 = 0; *(uint64_t*)0x20003e98 = 0x20003e40; *(uint64_t*)0x20003e40 = 0; *(uint64_t*)0x20003e48 = 0; *(uint64_t*)0x20003e50 = 0; *(uint64_t*)0x20003e58 = 0; *(uint64_t*)0x20003ee0 = 0; *(uint64_t*)0x20003ee8 = 0; *(uint64_t*)0x20004ac8 = 0x20004a80; *(uint64_t*)0x20004a80 = 0x20003fc0; *(uint64_t*)0x20003fc0 = 0x20003f80; *(uint64_t*)0x20003f80 = 0; *(uint64_t*)0x20004a88 = 0x20004280; *(uint64_t*)0x20004280 = 0x20004000; *(uint64_t*)0x20004000 = 0; *(uint64_t*)0x20004008 = 0; *(uint64_t*)0x20004288 = 0x20004240; *(uint64_t*)0x20004240 = 0; *(uint64_t*)0x20004248 = 0x20004040; *(uint64_t*)0x20004040 = 0; *(uint64_t*)0x20004048 = 0; *(uint64_t*)0x20004250 = 0x20004100; *(uint64_t*)0x20004100 = 0x20004080; *(uint64_t*)0x20004080 = 0; *(uint64_t*)0x20004088 = 0; *(uint64_t*)0x20004090 = 0; *(uint64_t*)0x20004098 = 0; *(uint64_t*)0x20004108 = 0; *(uint64_t*)0x20004110 = 0x200040c0; *(uint64_t*)0x200040c0 = 0; *(uint64_t*)0x200040c8 = 0; *(uint64_t*)0x200040d0 = 0; *(uint64_t*)0x200040d8 = 0; *(uint64_t*)0x20004118 = 0; *(uint64_t*)0x20004258 = 0x20004200; *(uint64_t*)0x20004200 = 0x20004140; *(uint64_t*)0x20004140 = 0; *(uint64_t*)0x20004148 = 0; *(uint64_t*)0x20004150 = 0; *(uint64_t*)0x20004158 = 0; *(uint64_t*)0x20004208 = 0x20004180; *(uint64_t*)0x20004180 = 0; *(uint64_t*)0x20004188 = 0; *(uint64_t*)0x20004190 = 0; *(uint64_t*)0x20004198 = 0; *(uint64_t*)0x20004210 = 0x200041c0; *(uint64_t*)0x200041c0 = 0; *(uint64_t*)0x200041c8 = 0; *(uint64_t*)0x200041d0 = 0; *(uint64_t*)0x200041d8 = 0; *(uint64_t*)0x20004218 = 0; *(uint64_t*)0x20004260 = 0; *(uint64_t*)0x20004268 = 0; *(uint64_t*)0x20004a90 = 0x200043c0; *(uint64_t*)0x200043c0 = 0x200042c0; *(uint64_t*)0x200042c0 = 0; *(uint64_t*)0x200042c8 = 0; *(uint64_t*)0x200042d0 = 0; *(uint64_t*)0x200042d8 = 0; *(uint64_t*)0x200043c8 = 0x20004300; *(uint64_t*)0x20004300 = 0; *(uint64_t*)0x20004308 = 0; *(uint64_t*)0x20004310 = 0; *(uint64_t*)0x20004318 = 0; *(uint64_t*)0x200043d0 = 0x20004340; *(uint64_t*)0x20004340 = 0; *(uint64_t*)0x20004348 = 0; *(uint64_t*)0x20004350 = 0; *(uint64_t*)0x20004358 = 0; *(uint64_t*)0x200043d8 = 0x20004380; *(uint64_t*)0x20004380 = 0; *(uint64_t*)0x20004388 = 0; *(uint64_t*)0x20004390 = 0; *(uint64_t*)0x20004398 = 0; *(uint64_t*)0x20004a98 = 0x20004500; *(uint64_t*)0x20004500 = 0x20004400; *(uint64_t*)0x20004400 = 0; *(uint64_t*)0x20004408 = 0; *(uint64_t*)0x20004410 = 0; *(uint64_t*)0x20004418 = 0; *(uint64_t*)0x20004508 = 0x20004440; *(uint64_t*)0x20004440 = 0; *(uint64_t*)0x20004448 = 0; *(uint64_t*)0x20004450 = 0; *(uint64_t*)0x20004458 = 0; *(uint64_t*)0x20004510 = 0x20004480; *(uint64_t*)0x20004480 = 0; *(uint64_t*)0x20004488 = 0; *(uint64_t*)0x20004490 = 0; *(uint64_t*)0x20004498 = 0; *(uint64_t*)0x20004518 = 0x200044c0; *(uint64_t*)0x200044c0 = 0; *(uint64_t*)0x200044c8 = 0; *(uint64_t*)0x200044d0 = 0; *(uint64_t*)0x200044d8 = 0; *(uint64_t*)0x20004aa0 = 0x20004800; *(uint64_t*)0x20004800 = 0x20004580; *(uint64_t*)0x20004580 = 0x20004540; *(uint64_t*)0x20004540 = 0; *(uint64_t*)0x20004808 = 0x20004600; *(uint64_t*)0x20004600 = 0x200045c0; *(uint64_t*)0x200045c0 = 0; *(uint64_t*)0x200045c8 = 0; *(uint64_t*)0x20004608 = 0; *(uint64_t*)0x20004810 = 0x200046c0; *(uint64_t*)0x200046c0 = 0x20004640; *(uint64_t*)0x20004640 = 0; *(uint64_t*)0x20004648 = 0; *(uint64_t*)0x20004650 = 0; *(uint64_t*)0x20004658 = 0; *(uint64_t*)0x200046c8 = 0; *(uint64_t*)0x200046d0 = 0x20004680; *(uint64_t*)0x20004680 = 0; *(uint64_t*)0x20004688 = 0; *(uint64_t*)0x20004690 = 0; *(uint64_t*)0x20004698 = 0; *(uint64_t*)0x200046d8 = 0; *(uint64_t*)0x20004818 = 0x200047c0; *(uint64_t*)0x200047c0 = 0; *(uint64_t*)0x200047c8 = 0x20004700; *(uint64_t*)0x20004700 = 0; *(uint64_t*)0x20004708 = 0; *(uint64_t*)0x20004710 = 0; *(uint64_t*)0x20004718 = 0; *(uint64_t*)0x200047d0 = 0x20004740; *(uint64_t*)0x20004740 = 0; *(uint64_t*)0x20004748 = 0; *(uint64_t*)0x20004750 = 0; *(uint64_t*)0x20004758 = 0; *(uint64_t*)0x200047d8 = 0x20004780; *(uint64_t*)0x20004780 = 0; *(uint64_t*)0x20004788 = 0; *(uint64_t*)0x20004790 = 0; *(uint64_t*)0x20004798 = 0; *(uint64_t*)0x20004820 = 0; *(uint64_t*)0x20004828 = 0; *(uint64_t*)0x20004aa8 = 0x20004a40; *(uint64_t*)0x20004a40 = 0x20004880; *(uint64_t*)0x20004880 = 0x20004840; *(uint64_t*)0x20004840 = 0; *(uint64_t*)0x20004a48 = 0x20004900; *(uint64_t*)0x20004900 = 0x200048c0; *(uint64_t*)0x200048c0 = 0; *(uint64_t*)0x200048c8 = 0; *(uint64_t*)0x20004908 = 0; *(uint64_t*)0x20004a50 = 0x20004a00; *(uint64_t*)0x20004a00 = 0x20004940; *(uint64_t*)0x20004940 = 0; *(uint64_t*)0x20004948 = 0; *(uint64_t*)0x20004950 = 0; *(uint64_t*)0x20004958 = 0; *(uint64_t*)0x20004a08 = 0; *(uint64_t*)0x20004a10 = 0x20004980; *(uint64_t*)0x20004980 = 0; *(uint64_t*)0x20004988 = 0; *(uint64_t*)0x20004990 = 0; *(uint64_t*)0x20004998 = 0; *(uint64_t*)0x20004a18 = 0x200049c0; *(uint64_t*)0x200049c0 = 0; *(uint64_t*)0x200049c8 = 0; *(uint64_t*)0x200049d0 = 0; *(uint64_t*)0x200049d8 = 0; *(uint64_t*)0x20004a58 = 0; *(uint64_t*)0x20004a60 = 0; *(uint64_t*)0x20004a68 = 0; syscall(SYS_test, /*a0=*/0x20004ac0ul, 0, 0, 0, 0, 0); break; case 6: *(uint8_t*)0x20004b00 = 4; *(uint16_t*)0x20004b01 = 5; *(uint16_t*)0x20004b03 = 0x400; *(uint64_t*)0x20004b05 = 0xcf; syscall(SYS_test, /*a0=*/0x20004b00ul, 0, 0, 0, 0, 0); break; case 7: sprintf((char*)0x20004b40, "0x%016llx", (long long)0); syscall(SYS_foo, /*a=*/0x20004b40ul, 0, 0); break; case 8: *(uint8_t*)0x20004b80 = 5; syscall(SYS_test, /*a=*/0x20004b80ul, 0, 0, 0, 0, 0); break; case 9: *(uint64_t*)0x20004bc0 = 0x1000; syscall(SYS_test, /*a0=*/0x20004bc0ul, 0, 0, 0, 0, 0); break; case 10: memcpy((void*)0x20000000, "-\000", 2); *(uint8_t*)0x20000040 = 0xc0; *(uint16_t*)0x20000044 = 0; STORE_BY_BITMASK(uint32_t, , 0x20000044, 0x24b, 16, 12); STORE_BY_BITMASK(uint32_t, , 0x20000048, 0x380, 0, 12); syz_compare(/*want=*/0x20000000, /*want_len=*/2, /*got=*/0x20000040, /*got_len=*/0xc); break; case 11: syz_compare_int(/*n=*/2, /*v0=*/0xb584, /*v1=*/5, 0, 0); break; case 12: syz_errno(/*v=*/4); break; case 13: memcpy((void*)0x20000080, "\x68\x5d\xce\x50\x3a\x1d\x0b\x65\x7c\x26\x0c\x9d\x19\x4b\x3f\x80\x96\x20\xfd\xde\x60\xc9\x72\xd0\x38\x09\x53\x6f\x2c\xe0\x02\x02\x78\x7c\x45\xc6\x51\xd1\xfc\xe2\x48\x7a\x3d\x34\xca\xac\x04\x9f\xee\x28", 50); syz_execute_func(/*text=*/0x20000080); break; case 14: syz_exit(/*status=*/4); break; case 15: syz_mmap(/*addr=*/0x20ffe000, /*len=*/0x2000); break; case 16: syz_sleep_ms(/*ms=*/0xfff); break; case 17: syz_test_fuzzer1(/*a=*/6, /*b=*/2, /*c=*/0xb); break; } } int main(void) { syz_mmap(/*addr=*/0x20000000, /*len=*/0x1000000); setup_fault(); do_sandbox_none(); return 0; } :454:3: error: call to undeclared function 'syscall'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); ^ 1 error generated. compiler invocation: c++ [-o /tmp/syz-executor461509339 -DGOOS_test=1 -DGOARCH_64=1 -DHOSTGOOS_openbsd=1 -x c - -m64 -lutil -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-array-bounds -Wno-unused-but-set-variable -Wno-unused-command-line-argument -no-pie -fno-exceptions] --- FAIL: TestGenerate/test/64/9 (1.24s) csource_test.go:150: opts: {Threaded:true Repeat:true RepeatTimes:0 Procs:0 Slowdown:1 Sandbox:none SandboxArg:9223372036854775807 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:false Repro:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: test$recur2(&(0x7f0000000ac0)={0x0, 0x0, &(0x7f0000000100)={&(0x7f0000000000), &(0x7f0000000040), &(0x7f0000000080), &(0x7f00000000c0)}, 0x0, &(0x7f0000000a80)={&(0x7f0000000180)={&(0x7f0000000140)}, &(0x7f00000007c0)={&(0x7f00000004c0)={0x0, &(0x7f0000000480)={&(0x7f0000000200)={&(0x7f00000001c0)}, 0x0, &(0x7f0000000300)={0x0, &(0x7f0000000240), &(0x7f0000000280), &(0x7f00000002c0)}, &(0x7f0000000440)={&(0x7f0000000340), &(0x7f0000000380), &(0x7f00000003c0), &(0x7f0000000400)}}}, &(0x7f0000000780)={&(0x7f0000000500), 0x0, &(0x7f0000000600)={&(0x7f0000000540), &(0x7f0000000580), &(0x7f00000005c0)}, &(0x7f0000000740)={&(0x7f0000000640), &(0x7f0000000680), &(0x7f00000006c0), &(0x7f0000000700)}}}, 0x0, &(0x7f00000008c0)={0x0, &(0x7f0000000800), &(0x7f0000000840), &(0x7f0000000880)}, 0x0, &(0x7f0000000a40)={0x0, &(0x7f0000000940)={&(0x7f0000000900)}, 0x0, &(0x7f0000000a00)={0x0, &(0x7f0000000980), &(0x7f00000009c0)}}}}) (fail_nth: 1) test$recur0(&(0x7f0000000b80)={&(0x7f0000000b40)={&(0x7f0000000b00)}}) (async) test$recur2(&(0x7f0000003440)={&(0x7f0000000c00)={&(0x7f0000000bc0)}, &(0x7f0000001800)={&(0x7f00000011c0)={0x0, &(0x7f0000001180)={&(0x7f0000000c80)={&(0x7f0000000c40)}, 0x0, &(0x7f0000000d80)={&(0x7f0000000cc0), &(0x7f0000000d00), 0x0, &(0x7f0000000d40)}, &(0x7f0000000e80)={0x0, &(0x7f0000000dc0), &(0x7f0000000e00), &(0x7f0000000e40)}, &(0x7f0000001140)={&(0x7f0000000f00)={&(0x7f0000000ec0)}, 0x0, &(0x7f0000001000)={&(0x7f0000000f40), 0x0, &(0x7f0000000f80), &(0x7f0000000fc0)}, &(0x7f0000001100)={&(0x7f0000001040), &(0x7f0000001080), 0x0, &(0x7f00000010c0)}}}}, &(0x7f00000017c0)={&(0x7f0000001240)={&(0x7f0000001200)}, 0x0, &(0x7f0000001340)={&(0x7f0000001280), &(0x7f00000012c0), 0x0, &(0x7f0000001300)}, &(0x7f0000001480)={&(0x7f0000001380), &(0x7f00000013c0), &(0x7f0000001400), &(0x7f0000001440)}, &(0x7f0000001780)={&(0x7f0000001500)={&(0x7f00000014c0)}, 0x0, &(0x7f0000001640)={&(0x7f0000001540), &(0x7f0000001580), &(0x7f00000015c0), &(0x7f0000001600)}, &(0x7f0000001740)={0x0, &(0x7f0000001680), &(0x7f00000016c0), &(0x7f0000001700)}}}}, &(0x7f0000001940)={&(0x7f0000001840), &(0x7f0000001880), &(0x7f00000018c0), &(0x7f0000001900)}, &(0x7f0000001a40)={&(0x7f0000001980), 0x0, &(0x7f00000019c0), &(0x7f0000001a00)}, &(0x7f0000002780)={&(0x7f0000001ac0)={&(0x7f0000001a80)}, &(0x7f0000002140)={&(0x7f0000001dc0)={0x0, &(0x7f0000001d80)={&(0x7f0000001b00), 0x0, &(0x7f0000001c00)={&(0x7f0000001b40), 0x0, &(0x7f0000001b80), &(0x7f0000001bc0)}, &(0x7f0000001d40)={&(0x7f0000001c40), &(0x7f0000001c80), &(0x7f0000001cc0), &(0x7f0000001d00)}}}, &(0x7f0000002100)={&(0x7f0000001e40)={&(0x7f0000001e00)}, &(0x7f0000001e80), &(0x7f0000001fc0)={&(0x7f0000001ec0), &(0x7f0000001f00), &(0x7f0000001f40), &(0x7f0000001f80)}, &(0x7f00000020c0)={&(0x7f0000002000), 0x0, &(0x7f0000002040), &(0x7f0000002080)}}}, &(0x7f0000002280)={&(0x7f0000002180), &(0x7f00000021c0), &(0x7f0000002200), &(0x7f0000002240)}, &(0x7f00000023c0)={&(0x7f00000022c0), &(0x7f0000002300), &(0x7f0000002340), &(0x7f0000002380)}, &(0x7f00000024c0)={&(0x7f0000002440)={&(0x7f0000002400)}, &(0x7f0000002480)}, &(0x7f0000002740)={&(0x7f0000002540)={&(0x7f0000002500)}, &(0x7f00000025c0)={&(0x7f0000002580)}, 0x0, &(0x7f0000002700)={&(0x7f0000002600), &(0x7f0000002640), &(0x7f0000002680), &(0x7f00000026c0)}}}, &(0x7f0000003400)={&(0x7f0000002800)={&(0x7f00000027c0)}, &(0x7f0000002b80)={&(0x7f0000002900)={0x0, &(0x7f00000028c0)={&(0x7f0000002880)={&(0x7f0000002840)}}}, &(0x7f0000002b40)={&(0x7f0000002980)={&(0x7f0000002940)}, &(0x7f00000029c0), &(0x7f0000002b00)={&(0x7f0000002a00), &(0x7f0000002a40), &(0x7f0000002a80), &(0x7f0000002ac0)}}}, &(0x7f0000002cc0)={&(0x7f0000002bc0), &(0x7f0000002c00), &(0x7f0000002c40), &(0x7f0000002c80)}, &(0x7f0000002e00)={&(0x7f0000002d00), &(0x7f0000002d40), &(0x7f0000002d80), &(0x7f0000002dc0)}, &(0x7f0000003180)={&(0x7f0000002e80)={&(0x7f0000002e40)}, &(0x7f0000002f00)={&(0x7f0000002ec0)}, &(0x7f0000003000)={0x0, &(0x7f0000002f40), &(0x7f0000002f80), &(0x7f0000002fc0)}, &(0x7f0000003140)={&(0x7f0000003040), &(0x7f0000003080), &(0x7f00000030c0), &(0x7f0000003100)}}, &(0x7f00000033c0)={&(0x7f0000003200)={&(0x7f00000031c0)}, &(0x7f0000003240), &(0x7f0000003380)={&(0x7f0000003280), &(0x7f00000032c0), &(0x7f0000003300), &(0x7f0000003340)}}}}) (rerun: 4) test$use_cond_resource(&(0x7f0000003480)={0xcf}) test$create_cond_resource() test$recur1(&(0x7f0000004ac0)={&(0x7f0000003f40)={&(0x7f00000034c0), &(0x7f0000003f00)={&(0x7f0000003540)={&(0x7f0000003500)}, &(0x7f00000038c0)={0x0, &(0x7f0000003880)={&(0x7f00000035c0)={&(0x7f0000003580)}, 0x0, &(0x7f0000003700)={&(0x7f0000003600), &(0x7f0000003640), &(0x7f0000003680), &(0x7f00000036c0)}, &(0x7f0000003840)={&(0x7f0000003740), &(0x7f0000003780), &(0x7f00000037c0), &(0x7f0000003800)}}}, &(0x7f00000039c0)={0x0, &(0x7f0000003900), &(0x7f0000003940), &(0x7f0000003980)}, &(0x7f0000003ac0)={&(0x7f0000003a00), &(0x7f0000003a40), &(0x7f0000003a80)}, &(0x7f0000003d80)={&(0x7f0000003b40)={&(0x7f0000003b00)}, &(0x7f0000003b80), &(0x7f0000003c40)={0x0, 0x0, &(0x7f0000003bc0), &(0x7f0000003c00)}, &(0x7f0000003d40)={&(0x7f0000003c80), &(0x7f0000003cc0), &(0x7f0000003d00)}}, &(0x7f0000003ec0)={0x0, &(0x7f0000003dc0), 0x0, &(0x7f0000003e80)={0x0, 0x0, &(0x7f0000003e00), &(0x7f0000003e40)}}}}, &(0x7f0000004a80)={&(0x7f0000003fc0)={&(0x7f0000003f80)}, &(0x7f0000004280)={&(0x7f0000004000), &(0x7f0000004240)={0x0, &(0x7f0000004040), &(0x7f0000004100)={&(0x7f0000004080), 0x0, &(0x7f00000040c0)}, &(0x7f0000004200)={&(0x7f0000004140), &(0x7f0000004180), &(0x7f00000041c0)}}}, &(0x7f00000043c0)={&(0x7f00000042c0), &(0x7f0000004300), &(0x7f0000004340), &(0x7f0000004380)}, &(0x7f0000004500)={&(0x7f0000004400), &(0x7f0000004440), &(0x7f0000004480), &(0x7f00000044c0)}, &(0x7f0000004800)={&(0x7f0000004580)={&(0x7f0000004540)}, &(0x7f0000004600)={&(0x7f00000045c0)}, &(0x7f00000046c0)={&(0x7f0000004640), 0x0, &(0x7f0000004680)}, &(0x7f00000047c0)={0x0, &(0x7f0000004700), &(0x7f0000004740), &(0x7f0000004780)}}, &(0x7f0000004a40)={&(0x7f0000004880)={&(0x7f0000004840)}, &(0x7f0000004900)={&(0x7f00000048c0)}, &(0x7f0000004a00)={&(0x7f0000004940), 0x0, &(0x7f0000004980), &(0x7f00000049c0)}}}}) test$array0(&(0x7f0000004b00)={0x4, [@f0=0x5, @f0=0x400], 0xcf}) foo$fmt1(&(0x7f0000004b40)) test$use_cond_resource(&(0x7f0000004b80)={0x5}) test$opt1(&(0x7f0000004bc0)=0x1000) syz_compare(&(0x7f0000000000)='-\x00', 0x2, &(0x7f0000000040)=@bf13={0xc0, {0x0, 0x24b, 0x380}}, 0xc) syz_compare_int$2(0x2, 0xb584, 0x5) syz_errno(0x4) syz_execute_func(&(0x7f0000000080)="685dce503a1d0b657c260c9d194b3f809620fdde60c972d03809536f2ce00202787c45c651d1fce2487a3d34caac049fee28") syz_exit(0x4) syz_mmap(&(0x7f0000ffe000/0x2000)=nil, 0x2000) syz_sleep_ms(0xfff) syz_test_fuzzer1(0x6, 0x2, 0xb) csource_test.go:151: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #ifndef SYS_foo #define SYS_foo 0 #endif #ifndef SYS_test #define SYS_test 0 #endif static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } static int inject_fault(int nth) { return 0; } static void setup_fault() { } static void thread_start(void* (*fn)(void*), void* arg) { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 128 << 10); int i = 0; for (; i < 100; i++) { if (pthread_create(&th, &attr, fn, arg) == 0) { pthread_attr_destroy(&attr); return; } if (errno == EAGAIN) { usleep(50); continue; } break; } exit(1); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); 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) exit(1); 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_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #define BITMASK(bf_off,bf_len) (((1ull << (bf_len)) - 1) << (bf_off)) #define STORE_BY_BITMASK(type,htobe,addr,val,bf_off,bf_len) *(type*)(addr) = htobe((htobe(*(type*)(addr)) & ~BITMASK((bf_off), (bf_len))) | (((type)(val) << (bf_off)) & BITMASK((bf_off), (bf_len)))) static long syz_mmap(volatile long a0, volatile long a1) { return (long)mmap((void*)a0, a1, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0); } static long syz_errno(volatile long v) { errno = v; return v == 0 ? 0 : -1; } static long syz_exit(volatile long status) { _exit(status); return 0; } static long syz_sleep_ms(volatile long ms) { sleep_ms(ms); return 0; } static long syz_compare(volatile long want, volatile long want_len, volatile long got, volatile long got_len) { if (want_len != got_len) { errno = EBADF; goto error; } if (memcmp((void*)want, (void*)got, want_len)) { errno = EINVAL; goto error; } return 0; error: return -1; } static long syz_compare_int(volatile long n, ...) { va_list args; va_start(args, n); long v0 = va_arg(args, long); long v1 = va_arg(args, long); long v2 = va_arg(args, long); long v3 = va_arg(args, long); va_end(args); if (n < 2 || n > 4) return errno = E2BIG, -1; if (n <= 2 && v2 != 0) return errno = EFAULT, -1; if (n <= 3 && v3 != 0) return errno = EFAULT, -1; if (v0 != v1) return errno = EINVAL, -1; if (n > 2 && v0 != v2) return errno = EINVAL, -1; if (n > 3 && v0 != v3) return errno = EINVAL, -1; return 0; } static void loop(); static int do_sandbox_none(void) { loop(); return 0; } static void fake_crash(const char* name) { exit(1); exit(1); } static long syz_test_fuzzer1(volatile long a, volatile long b, volatile long c) { if (a == 1 && b == 1 && c == 1) fake_crash("first bug"); if (a == 1 && b == 2 && c == 3) fake_crash("second bug"); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } 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; 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_one(void) { int i, call, thread; for (call = 0; call < 18; call++) { for (thread = 0; thread < (int)(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 (call == 1) break; event_timedwait(&th->done, 50); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); static void loop(void) { execute_one(); } void execute_call(int call) { switch (call) { case 0: *(uint64_t*)0x20000ac0 = 0; *(uint64_t*)0x20000ac8 = 0; *(uint64_t*)0x20000ad0 = 0x20000100; *(uint64_t*)0x20000100 = 0x20000000; *(uint64_t*)0x20000000 = 0; *(uint64_t*)0x20000008 = 0; *(uint64_t*)0x20000010 = 0; *(uint64_t*)0x20000018 = 0; *(uint64_t*)0x20000108 = 0x20000040; *(uint64_t*)0x20000040 = 0; *(uint64_t*)0x20000048 = 0; *(uint64_t*)0x20000050 = 0; *(uint64_t*)0x20000058 = 0; *(uint64_t*)0x20000110 = 0x20000080; *(uint64_t*)0x20000080 = 0; *(uint64_t*)0x20000088 = 0; *(uint64_t*)0x20000090 = 0; *(uint64_t*)0x20000098 = 0; *(uint64_t*)0x20000118 = 0x200000c0; *(uint64_t*)0x200000c0 = 0; *(uint64_t*)0x200000c8 = 0; *(uint64_t*)0x200000d0 = 0; *(uint64_t*)0x200000d8 = 0; *(uint64_t*)0x20000ad8 = 0; *(uint64_t*)0x20000ae0 = 0x20000a80; *(uint64_t*)0x20000a80 = 0x20000180; *(uint64_t*)0x20000180 = 0x20000140; *(uint64_t*)0x20000140 = 0; *(uint64_t*)0x20000a88 = 0x200007c0; *(uint64_t*)0x200007c0 = 0x200004c0; *(uint64_t*)0x200004c0 = 0; *(uint64_t*)0x200004c8 = 0x20000480; *(uint64_t*)0x20000480 = 0x20000200; *(uint64_t*)0x20000200 = 0x200001c0; *(uint64_t*)0x200001c0 = 0; *(uint64_t*)0x20000488 = 0; *(uint64_t*)0x20000490 = 0x20000300; *(uint64_t*)0x20000300 = 0; *(uint64_t*)0x20000308 = 0x20000240; *(uint64_t*)0x20000240 = 0; *(uint64_t*)0x20000248 = 0; *(uint64_t*)0x20000250 = 0; *(uint64_t*)0x20000258 = 0; *(uint64_t*)0x20000310 = 0x20000280; *(uint64_t*)0x20000280 = 0; *(uint64_t*)0x20000288 = 0; *(uint64_t*)0x20000290 = 0; *(uint64_t*)0x20000298 = 0; *(uint64_t*)0x20000318 = 0x200002c0; *(uint64_t*)0x200002c0 = 0; *(uint64_t*)0x200002c8 = 0; *(uint64_t*)0x200002d0 = 0; *(uint64_t*)0x200002d8 = 0; *(uint64_t*)0x20000498 = 0x20000440; *(uint64_t*)0x20000440 = 0x20000340; *(uint64_t*)0x20000340 = 0; *(uint64_t*)0x20000348 = 0; *(uint64_t*)0x20000350 = 0; *(uint64_t*)0x20000358 = 0; *(uint64_t*)0x20000448 = 0x20000380; *(uint64_t*)0x20000380 = 0; *(uint64_t*)0x20000388 = 0; *(uint64_t*)0x20000390 = 0; *(uint64_t*)0x20000398 = 0; *(uint64_t*)0x20000450 = 0x200003c0; *(uint64_t*)0x200003c0 = 0; *(uint64_t*)0x200003c8 = 0; *(uint64_t*)0x200003d0 = 0; *(uint64_t*)0x200003d8 = 0; *(uint64_t*)0x20000458 = 0x20000400; *(uint64_t*)0x20000400 = 0; *(uint64_t*)0x20000408 = 0; *(uint64_t*)0x20000410 = 0; *(uint64_t*)0x20000418 = 0; *(uint64_t*)0x200004a0 = 0; *(uint64_t*)0x200004a8 = 0; *(uint64_t*)0x200007c8 = 0x20000780; *(uint64_t*)0x20000780 = 0x20000500; *(uint64_t*)0x20000500 = 0; *(uint64_t*)0x20000788 = 0; *(uint64_t*)0x20000790 = 0x20000600; *(uint64_t*)0x20000600 = 0x20000540; *(uint64_t*)0x20000540 = 0; *(uint64_t*)0x20000548 = 0; *(uint64_t*)0x20000550 = 0; *(uint64_t*)0x20000558 = 0; *(uint64_t*)0x20000608 = 0x20000580; *(uint64_t*)0x20000580 = 0; *(uint64_t*)0x20000588 = 0; *(uint64_t*)0x20000590 = 0; *(uint64_t*)0x20000598 = 0; *(uint64_t*)0x20000610 = 0x200005c0; *(uint64_t*)0x200005c0 = 0; *(uint64_t*)0x200005c8 = 0; *(uint64_t*)0x200005d0 = 0; *(uint64_t*)0x200005d8 = 0; *(uint64_t*)0x20000618 = 0; *(uint64_t*)0x20000798 = 0x20000740; *(uint64_t*)0x20000740 = 0x20000640; *(uint64_t*)0x20000640 = 0; *(uint64_t*)0x20000648 = 0; *(uint64_t*)0x20000650 = 0; *(uint64_t*)0x20000658 = 0; *(uint64_t*)0x20000748 = 0x20000680; *(uint64_t*)0x20000680 = 0; *(uint64_t*)0x20000688 = 0; *(uint64_t*)0x20000690 = 0; *(uint64_t*)0x20000698 = 0; *(uint64_t*)0x20000750 = 0x200006c0; *(uint64_t*)0x200006c0 = 0; *(uint64_t*)0x200006c8 = 0; *(uint64_t*)0x200006d0 = 0; *(uint64_t*)0x200006d8 = 0; *(uint64_t*)0x20000758 = 0x20000700; *(uint64_t*)0x20000700 = 0; *(uint64_t*)0x20000708 = 0; *(uint64_t*)0x20000710 = 0; *(uint64_t*)0x20000718 = 0; *(uint64_t*)0x200007a0 = 0; *(uint64_t*)0x200007a8 = 0; *(uint64_t*)0x20000a90 = 0; *(uint64_t*)0x20000a98 = 0x200008c0; *(uint64_t*)0x200008c0 = 0; *(uint64_t*)0x200008c8 = 0x20000800; *(uint64_t*)0x20000800 = 0; *(uint64_t*)0x20000808 = 0; *(uint64_t*)0x20000810 = 0; *(uint64_t*)0x20000818 = 0; *(uint64_t*)0x200008d0 = 0x20000840; *(uint64_t*)0x20000840 = 0; *(uint64_t*)0x20000848 = 0; *(uint64_t*)0x20000850 = 0; *(uint64_t*)0x20000858 = 0; *(uint64_t*)0x200008d8 = 0x20000880; *(uint64_t*)0x20000880 = 0; *(uint64_t*)0x20000888 = 0; *(uint64_t*)0x20000890 = 0; *(uint64_t*)0x20000898 = 0; *(uint64_t*)0x20000aa0 = 0; *(uint64_t*)0x20000aa8 = 0x20000a40; *(uint64_t*)0x20000a40 = 0; *(uint64_t*)0x20000a48 = 0x20000940; *(uint64_t*)0x20000940 = 0x20000900; *(uint64_t*)0x20000900 = 0; *(uint64_t*)0x20000908 = 0; *(uint64_t*)0x20000948 = 0; *(uint64_t*)0x20000a50 = 0; *(uint64_t*)0x20000a58 = 0x20000a00; *(uint64_t*)0x20000a00 = 0; *(uint64_t*)0x20000a08 = 0x20000980; *(uint64_t*)0x20000980 = 0; *(uint64_t*)0x20000988 = 0; *(uint64_t*)0x20000990 = 0; *(uint64_t*)0x20000998 = 0; *(uint64_t*)0x20000a10 = 0x200009c0; *(uint64_t*)0x200009c0 = 0; *(uint64_t*)0x200009c8 = 0; *(uint64_t*)0x200009d0 = 0; *(uint64_t*)0x200009d8 = 0; *(uint64_t*)0x20000a18 = 0; *(uint64_t*)0x20000a60 = 0; *(uint64_t*)0x20000a68 = 0; *(uint64_t*)0x20000ae8 = 0; inject_fault(1); syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); break; case 1: *(uint64_t*)0x20000b80 = 0x20000b40; *(uint64_t*)0x20000b40 = 0x20000b00; *(uint64_t*)0x20000b00 = 0; syscall(SYS_test, /*a0=*/0x20000b80ul, 0, 0, 0, 0, 0); break; case 2: *(uint64_t*)0x20003440 = 0x20000c00; *(uint64_t*)0x20000c00 = 0x20000bc0; *(uint64_t*)0x20000bc0 = 0; *(uint64_t*)0x20003448 = 0x20001800; *(uint64_t*)0x20001800 = 0x200011c0; *(uint64_t*)0x200011c0 = 0; *(uint64_t*)0x200011c8 = 0x20001180; *(uint64_t*)0x20001180 = 0x20000c80; *(uint64_t*)0x20000c80 = 0x20000c40; *(uint64_t*)0x20000c40 = 0; *(uint64_t*)0x20001188 = 0; *(uint64_t*)0x20001190 = 0x20000d80; *(uint64_t*)0x20000d80 = 0x20000cc0; *(uint64_t*)0x20000cc0 = 0; *(uint64_t*)0x20000cc8 = 0; *(uint64_t*)0x20000cd0 = 0; *(uint64_t*)0x20000cd8 = 0; *(uint64_t*)0x20000d88 = 0x20000d00; *(uint64_t*)0x20000d00 = 0; *(uint64_t*)0x20000d08 = 0; *(uint64_t*)0x20000d10 = 0; *(uint64_t*)0x20000d18 = 0; *(uint64_t*)0x20000d90 = 0; *(uint64_t*)0x20000d98 = 0x20000d40; *(uint64_t*)0x20000d40 = 0; *(uint64_t*)0x20000d48 = 0; *(uint64_t*)0x20000d50 = 0; *(uint64_t*)0x20000d58 = 0; *(uint64_t*)0x20001198 = 0x20000e80; *(uint64_t*)0x20000e80 = 0; *(uint64_t*)0x20000e88 = 0x20000dc0; *(uint64_t*)0x20000dc0 = 0; *(uint64_t*)0x20000dc8 = 0; *(uint64_t*)0x20000dd0 = 0; *(uint64_t*)0x20000dd8 = 0; *(uint64_t*)0x20000e90 = 0x20000e00; *(uint64_t*)0x20000e00 = 0; *(uint64_t*)0x20000e08 = 0; *(uint64_t*)0x20000e10 = 0; *(uint64_t*)0x20000e18 = 0; *(uint64_t*)0x20000e98 = 0x20000e40; *(uint64_t*)0x20000e40 = 0; *(uint64_t*)0x20000e48 = 0; *(uint64_t*)0x20000e50 = 0; *(uint64_t*)0x20000e58 = 0; *(uint64_t*)0x200011a0 = 0x20001140; *(uint64_t*)0x20001140 = 0x20000f00; *(uint64_t*)0x20000f00 = 0x20000ec0; *(uint64_t*)0x20000ec0 = 0; *(uint64_t*)0x20001148 = 0; *(uint64_t*)0x20001150 = 0x20001000; *(uint64_t*)0x20001000 = 0x20000f40; *(uint64_t*)0x20000f40 = 0; *(uint64_t*)0x20000f48 = 0; *(uint64_t*)0x20000f50 = 0; *(uint64_t*)0x20000f58 = 0; *(uint64_t*)0x20001008 = 0; *(uint64_t*)0x20001010 = 0x20000f80; *(uint64_t*)0x20000f80 = 0; *(uint64_t*)0x20000f88 = 0; *(uint64_t*)0x20000f90 = 0; *(uint64_t*)0x20000f98 = 0; *(uint64_t*)0x20001018 = 0x20000fc0; *(uint64_t*)0x20000fc0 = 0; *(uint64_t*)0x20000fc8 = 0; *(uint64_t*)0x20000fd0 = 0; *(uint64_t*)0x20000fd8 = 0; *(uint64_t*)0x20001158 = 0x20001100; *(uint64_t*)0x20001100 = 0x20001040; *(uint64_t*)0x20001040 = 0; *(uint64_t*)0x20001048 = 0; *(uint64_t*)0x20001050 = 0; *(uint64_t*)0x20001058 = 0; *(uint64_t*)0x20001108 = 0x20001080; *(uint64_t*)0x20001080 = 0; *(uint64_t*)0x20001088 = 0; *(uint64_t*)0x20001090 = 0; *(uint64_t*)0x20001098 = 0; *(uint64_t*)0x20001110 = 0; *(uint64_t*)0x20001118 = 0x200010c0; *(uint64_t*)0x200010c0 = 0; *(uint64_t*)0x200010c8 = 0; *(uint64_t*)0x200010d0 = 0; *(uint64_t*)0x200010d8 = 0; *(uint64_t*)0x20001160 = 0; *(uint64_t*)0x20001168 = 0; *(uint64_t*)0x200011a8 = 0; *(uint64_t*)0x20001808 = 0x200017c0; *(uint64_t*)0x200017c0 = 0x20001240; *(uint64_t*)0x20001240 = 0x20001200; *(uint64_t*)0x20001200 = 0; *(uint64_t*)0x200017c8 = 0; *(uint64_t*)0x200017d0 = 0x20001340; *(uint64_t*)0x20001340 = 0x20001280; *(uint64_t*)0x20001280 = 0; *(uint64_t*)0x20001288 = 0; *(uint64_t*)0x20001290 = 0; *(uint64_t*)0x20001298 = 0; *(uint64_t*)0x20001348 = 0x200012c0; *(uint64_t*)0x200012c0 = 0; *(uint64_t*)0x200012c8 = 0; *(uint64_t*)0x200012d0 = 0; *(uint64_t*)0x200012d8 = 0; *(uint64_t*)0x20001350 = 0; *(uint64_t*)0x20001358 = 0x20001300; *(uint64_t*)0x20001300 = 0; *(uint64_t*)0x20001308 = 0; *(uint64_t*)0x20001310 = 0; *(uint64_t*)0x20001318 = 0; *(uint64_t*)0x200017d8 = 0x20001480; *(uint64_t*)0x20001480 = 0x20001380; *(uint64_t*)0x20001380 = 0; *(uint64_t*)0x20001388 = 0; *(uint64_t*)0x20001390 = 0; *(uint64_t*)0x20001398 = 0; *(uint64_t*)0x20001488 = 0x200013c0; *(uint64_t*)0x200013c0 = 0; *(uint64_t*)0x200013c8 = 0; *(uint64_t*)0x200013d0 = 0; *(uint64_t*)0x200013d8 = 0; *(uint64_t*)0x20001490 = 0x20001400; *(uint64_t*)0x20001400 = 0; *(uint64_t*)0x20001408 = 0; *(uint64_t*)0x20001410 = 0; *(uint64_t*)0x20001418 = 0; *(uint64_t*)0x20001498 = 0x20001440; *(uint64_t*)0x20001440 = 0; *(uint64_t*)0x20001448 = 0; *(uint64_t*)0x20001450 = 0; *(uint64_t*)0x20001458 = 0; *(uint64_t*)0x200017e0 = 0x20001780; *(uint64_t*)0x20001780 = 0x20001500; *(uint64_t*)0x20001500 = 0x200014c0; *(uint64_t*)0x200014c0 = 0; *(uint64_t*)0x20001788 = 0; *(uint64_t*)0x20001790 = 0x20001640; *(uint64_t*)0x20001640 = 0x20001540; *(uint64_t*)0x20001540 = 0; *(uint64_t*)0x20001548 = 0; *(uint64_t*)0x20001550 = 0; *(uint64_t*)0x20001558 = 0; *(uint64_t*)0x20001648 = 0x20001580; *(uint64_t*)0x20001580 = 0; *(uint64_t*)0x20001588 = 0; *(uint64_t*)0x20001590 = 0; *(uint64_t*)0x20001598 = 0; *(uint64_t*)0x20001650 = 0x200015c0; *(uint64_t*)0x200015c0 = 0; *(uint64_t*)0x200015c8 = 0; *(uint64_t*)0x200015d0 = 0; *(uint64_t*)0x200015d8 = 0; *(uint64_t*)0x20001658 = 0x20001600; *(uint64_t*)0x20001600 = 0; *(uint64_t*)0x20001608 = 0; *(uint64_t*)0x20001610 = 0; *(uint64_t*)0x20001618 = 0; *(uint64_t*)0x20001798 = 0x20001740; *(uint64_t*)0x20001740 = 0; *(uint64_t*)0x20001748 = 0x20001680; *(uint64_t*)0x20001680 = 0; *(uint64_t*)0x20001688 = 0; *(uint64_t*)0x20001690 = 0; *(uint64_t*)0x20001698 = 0; *(uint64_t*)0x20001750 = 0x200016c0; *(uint64_t*)0x200016c0 = 0; *(uint64_t*)0x200016c8 = 0; *(uint64_t*)0x200016d0 = 0; *(uint64_t*)0x200016d8 = 0; *(uint64_t*)0x20001758 = 0x20001700; *(uint64_t*)0x20001700 = 0; *(uint64_t*)0x20001708 = 0; *(uint64_t*)0x20001710 = 0; *(uint64_t*)0x20001718 = 0; *(uint64_t*)0x200017a0 = 0; *(uint64_t*)0x200017a8 = 0; *(uint64_t*)0x200017e8 = 0; *(uint64_t*)0x20003450 = 0x20001940; *(uint64_t*)0x20001940 = 0x20001840; *(uint64_t*)0x20001840 = 0; *(uint64_t*)0x20001848 = 0; *(uint64_t*)0x20001850 = 0; *(uint64_t*)0x20001858 = 0; *(uint64_t*)0x20001948 = 0x20001880; *(uint64_t*)0x20001880 = 0; *(uint64_t*)0x20001888 = 0; *(uint64_t*)0x20001890 = 0; *(uint64_t*)0x20001898 = 0; *(uint64_t*)0x20001950 = 0x200018c0; *(uint64_t*)0x200018c0 = 0; *(uint64_t*)0x200018c8 = 0; *(uint64_t*)0x200018d0 = 0; *(uint64_t*)0x200018d8 = 0; *(uint64_t*)0x20001958 = 0x20001900; *(uint64_t*)0x20001900 = 0; *(uint64_t*)0x20001908 = 0; *(uint64_t*)0x20001910 = 0; *(uint64_t*)0x20001918 = 0; *(uint64_t*)0x20003458 = 0x20001a40; *(uint64_t*)0x20001a40 = 0x20001980; *(uint64_t*)0x20001980 = 0; *(uint64_t*)0x20001988 = 0; *(uint64_t*)0x20001990 = 0; *(uint64_t*)0x20001998 = 0; *(uint64_t*)0x20001a48 = 0; *(uint64_t*)0x20001a50 = 0x200019c0; *(uint64_t*)0x200019c0 = 0; *(uint64_t*)0x200019c8 = 0; *(uint64_t*)0x200019d0 = 0; *(uint64_t*)0x200019d8 = 0; *(uint64_t*)0x20001a58 = 0x20001a00; *(uint64_t*)0x20001a00 = 0; *(uint64_t*)0x20001a08 = 0; *(uint64_t*)0x20001a10 = 0; *(uint64_t*)0x20001a18 = 0; *(uint64_t*)0x20003460 = 0x20002780; *(uint64_t*)0x20002780 = 0x20001ac0; *(uint64_t*)0x20001ac0 = 0x20001a80; *(uint64_t*)0x20001a80 = 0; *(uint64_t*)0x20002788 = 0x20002140; *(uint64_t*)0x20002140 = 0x20001dc0; *(uint64_t*)0x20001dc0 = 0; *(uint64_t*)0x20001dc8 = 0x20001d80; *(uint64_t*)0x20001d80 = 0x20001b00; *(uint64_t*)0x20001b00 = 0; *(uint64_t*)0x20001d88 = 0; *(uint64_t*)0x20001d90 = 0x20001c00; *(uint64_t*)0x20001c00 = 0x20001b40; *(uint64_t*)0x20001b40 = 0; *(uint64_t*)0x20001b48 = 0; *(uint64_t*)0x20001b50 = 0; *(uint64_t*)0x20001b58 = 0; *(uint64_t*)0x20001c08 = 0; *(uint64_t*)0x20001c10 = 0x20001b80; *(uint64_t*)0x20001b80 = 0; *(uint64_t*)0x20001b88 = 0; *(uint64_t*)0x20001b90 = 0; *(uint64_t*)0x20001b98 = 0; *(uint64_t*)0x20001c18 = 0x20001bc0; *(uint64_t*)0x20001bc0 = 0; *(uint64_t*)0x20001bc8 = 0; *(uint64_t*)0x20001bd0 = 0; *(uint64_t*)0x20001bd8 = 0; *(uint64_t*)0x20001d98 = 0x20001d40; *(uint64_t*)0x20001d40 = 0x20001c40; *(uint64_t*)0x20001c40 = 0; *(uint64_t*)0x20001c48 = 0; *(uint64_t*)0x20001c50 = 0; *(uint64_t*)0x20001c58 = 0; *(uint64_t*)0x20001d48 = 0x20001c80; *(uint64_t*)0x20001c80 = 0; *(uint64_t*)0x20001c88 = 0; *(uint64_t*)0x20001c90 = 0; *(uint64_t*)0x20001c98 = 0; *(uint64_t*)0x20001d50 = 0x20001cc0; *(uint64_t*)0x20001cc0 = 0; *(uint64_t*)0x20001cc8 = 0; *(uint64_t*)0x20001cd0 = 0; *(uint64_t*)0x20001cd8 = 0; *(uint64_t*)0x20001d58 = 0x20001d00; *(uint64_t*)0x20001d00 = 0; *(uint64_t*)0x20001d08 = 0; *(uint64_t*)0x20001d10 = 0; *(uint64_t*)0x20001d18 = 0; *(uint64_t*)0x20001da0 = 0; *(uint64_t*)0x20001da8 = 0; *(uint64_t*)0x20002148 = 0x20002100; *(uint64_t*)0x20002100 = 0x20001e40; *(uint64_t*)0x20001e40 = 0x20001e00; *(uint64_t*)0x20001e00 = 0; *(uint64_t*)0x20002108 = 0x20001e80; *(uint64_t*)0x20001e80 = 0; *(uint64_t*)0x20001e88 = 0; *(uint64_t*)0x20002110 = 0x20001fc0; *(uint64_t*)0x20001fc0 = 0x20001ec0; *(uint64_t*)0x20001ec0 = 0; *(uint64_t*)0x20001ec8 = 0; *(uint64_t*)0x20001ed0 = 0; *(uint64_t*)0x20001ed8 = 0; *(uint64_t*)0x20001fc8 = 0x20001f00; *(uint64_t*)0x20001f00 = 0; *(uint64_t*)0x20001f08 = 0; *(uint64_t*)0x20001f10 = 0; *(uint64_t*)0x20001f18 = 0; *(uint64_t*)0x20001fd0 = 0x20001f40; *(uint64_t*)0x20001f40 = 0; *(uint64_t*)0x20001f48 = 0; *(uint64_t*)0x20001f50 = 0; *(uint64_t*)0x20001f58 = 0; *(uint64_t*)0x20001fd8 = 0x20001f80; *(uint64_t*)0x20001f80 = 0; *(uint64_t*)0x20001f88 = 0; *(uint64_t*)0x20001f90 = 0; *(uint64_t*)0x20001f98 = 0; *(uint64_t*)0x20002118 = 0x200020c0; *(uint64_t*)0x200020c0 = 0x20002000; *(uint64_t*)0x20002000 = 0; *(uint64_t*)0x20002008 = 0; *(uint64_t*)0x20002010 = 0; *(uint64_t*)0x20002018 = 0; *(uint64_t*)0x200020c8 = 0; *(uint64_t*)0x200020d0 = 0x20002040; *(uint64_t*)0x20002040 = 0; *(uint64_t*)0x20002048 = 0; *(uint64_t*)0x20002050 = 0; *(uint64_t*)0x20002058 = 0; *(uint64_t*)0x200020d8 = 0x20002080; *(uint64_t*)0x20002080 = 0; *(uint64_t*)0x20002088 = 0; *(uint64_t*)0x20002090 = 0; *(uint64_t*)0x20002098 = 0; *(uint64_t*)0x20002120 = 0; *(uint64_t*)0x20002128 = 0; *(uint64_t*)0x20002790 = 0x20002280; *(uint64_t*)0x20002280 = 0x20002180; *(uint64_t*)0x20002180 = 0; *(uint64_t*)0x20002188 = 0; *(uint64_t*)0x20002190 = 0; *(uint64_t*)0x20002198 = 0; *(uint64_t*)0x20002288 = 0x200021c0; *(uint64_t*)0x200021c0 = 0; *(uint64_t*)0x200021c8 = 0; *(uint64_t*)0x200021d0 = 0; *(uint64_t*)0x200021d8 = 0; *(uint64_t*)0x20002290 = 0x20002200; *(uint64_t*)0x20002200 = 0; *(uint64_t*)0x20002208 = 0; *(uint64_t*)0x20002210 = 0; *(uint64_t*)0x20002218 = 0; *(uint64_t*)0x20002298 = 0x20002240; *(uint64_t*)0x20002240 = 0; *(uint64_t*)0x20002248 = 0; *(uint64_t*)0x20002250 = 0; *(uint64_t*)0x20002258 = 0; *(uint64_t*)0x20002798 = 0x200023c0; *(uint64_t*)0x200023c0 = 0x200022c0; *(uint64_t*)0x200022c0 = 0; *(uint64_t*)0x200022c8 = 0; *(uint64_t*)0x200022d0 = 0; *(uint64_t*)0x200022d8 = 0; *(uint64_t*)0x200023c8 = 0x20002300; *(uint64_t*)0x20002300 = 0; *(uint64_t*)0x20002308 = 0; *(uint64_t*)0x20002310 = 0; *(uint64_t*)0x20002318 = 0; *(uint64_t*)0x200023d0 = 0x20002340; *(uint64_t*)0x20002340 = 0; *(uint64_t*)0x20002348 = 0; *(uint64_t*)0x20002350 = 0; *(uint64_t*)0x20002358 = 0; *(uint64_t*)0x200023d8 = 0x20002380; *(uint64_t*)0x20002380 = 0; *(uint64_t*)0x20002388 = 0; *(uint64_t*)0x20002390 = 0; *(uint64_t*)0x20002398 = 0; *(uint64_t*)0x200027a0 = 0x200024c0; *(uint64_t*)0x200024c0 = 0x20002440; *(uint64_t*)0x20002440 = 0x20002400; *(uint64_t*)0x20002400 = 0; *(uint64_t*)0x200024c8 = 0x20002480; *(uint64_t*)0x20002480 = 0; *(uint64_t*)0x20002488 = 0; *(uint64_t*)0x200024d0 = 0; *(uint64_t*)0x200024d8 = 0; *(uint64_t*)0x200024e0 = 0; *(uint64_t*)0x200024e8 = 0; *(uint64_t*)0x200027a8 = 0x20002740; *(uint64_t*)0x20002740 = 0x20002540; *(uint64_t*)0x20002540 = 0x20002500; *(uint64_t*)0x20002500 = 0; *(uint64_t*)0x20002748 = 0x200025c0; *(uint64_t*)0x200025c0 = 0x20002580; *(uint64_t*)0x20002580 = 0; *(uint64_t*)0x20002588 = 0; *(uint64_t*)0x200025c8 = 0; *(uint64_t*)0x20002750 = 0; *(uint64_t*)0x20002758 = 0x20002700; *(uint64_t*)0x20002700 = 0x20002600; *(uint64_t*)0x20002600 = 0; *(uint64_t*)0x20002608 = 0; *(uint64_t*)0x20002610 = 0; *(uint64_t*)0x20002618 = 0; *(uint64_t*)0x20002708 = 0x20002640; *(uint64_t*)0x20002640 = 0; *(uint64_t*)0x20002648 = 0; *(uint64_t*)0x20002650 = 0; *(uint64_t*)0x20002658 = 0; *(uint64_t*)0x20002710 = 0x20002680; *(uint64_t*)0x20002680 = 0; *(uint64_t*)0x20002688 = 0; *(uint64_t*)0x20002690 = 0; *(uint64_t*)0x20002698 = 0; *(uint64_t*)0x20002718 = 0x200026c0; *(uint64_t*)0x200026c0 = 0; *(uint64_t*)0x200026c8 = 0; *(uint64_t*)0x200026d0 = 0; *(uint64_t*)0x200026d8 = 0; *(uint64_t*)0x20002760 = 0; *(uint64_t*)0x20002768 = 0; *(uint64_t*)0x20003468 = 0x20003400; *(uint64_t*)0x20003400 = 0x20002800; *(uint64_t*)0x20002800 = 0x200027c0; *(uint64_t*)0x200027c0 = 0; *(uint64_t*)0x20003408 = 0x20002b80; *(uint64_t*)0x20002b80 = 0x20002900; *(uint64_t*)0x20002900 = 0; *(uint64_t*)0x20002908 = 0x200028c0; *(uint64_t*)0x200028c0 = 0x20002880; *(uint64_t*)0x20002880 = 0x20002840; *(uint64_t*)0x20002840 = 0; *(uint64_t*)0x200028c8 = 0; *(uint64_t*)0x200028d0 = 0; *(uint64_t*)0x200028d8 = 0; *(uint64_t*)0x200028e0 = 0; *(uint64_t*)0x200028e8 = 0; *(uint64_t*)0x20002b88 = 0x20002b40; *(uint64_t*)0x20002b40 = 0x20002980; *(uint64_t*)0x20002980 = 0x20002940; *(uint64_t*)0x20002940 = 0; *(uint64_t*)0x20002b48 = 0x200029c0; *(uint64_t*)0x200029c0 = 0; *(uint64_t*)0x200029c8 = 0; *(uint64_t*)0x20002b50 = 0x20002b00; *(uint64_t*)0x20002b00 = 0x20002a00; *(uint64_t*)0x20002a00 = 0; *(uint64_t*)0x20002a08 = 0; *(uint64_t*)0x20002a10 = 0; *(uint64_t*)0x20002a18 = 0; *(uint64_t*)0x20002b08 = 0x20002a40; *(uint64_t*)0x20002a40 = 0; *(uint64_t*)0x20002a48 = 0; *(uint64_t*)0x20002a50 = 0; *(uint64_t*)0x20002a58 = 0; *(uint64_t*)0x20002b10 = 0x20002a80; *(uint64_t*)0x20002a80 = 0; *(uint64_t*)0x20002a88 = 0; *(uint64_t*)0x20002a90 = 0; *(uint64_t*)0x20002a98 = 0; *(uint64_t*)0x20002b18 = 0x20002ac0; *(uint64_t*)0x20002ac0 = 0; *(uint64_t*)0x20002ac8 = 0; *(uint64_t*)0x20002ad0 = 0; *(uint64_t*)0x20002ad8 = 0; *(uint64_t*)0x20002b58 = 0; *(uint64_t*)0x20002b60 = 0; *(uint64_t*)0x20002b68 = 0; *(uint64_t*)0x20003410 = 0x20002cc0; *(uint64_t*)0x20002cc0 = 0x20002bc0; *(uint64_t*)0x20002bc0 = 0; *(uint64_t*)0x20002bc8 = 0; *(uint64_t*)0x20002bd0 = 0; *(uint64_t*)0x20002bd8 = 0; *(uint64_t*)0x20002cc8 = 0x20002c00; *(uint64_t*)0x20002c00 = 0; *(uint64_t*)0x20002c08 = 0; *(uint64_t*)0x20002c10 = 0; *(uint64_t*)0x20002c18 = 0; *(uint64_t*)0x20002cd0 = 0x20002c40; *(uint64_t*)0x20002c40 = 0; *(uint64_t*)0x20002c48 = 0; *(uint64_t*)0x20002c50 = 0; *(uint64_t*)0x20002c58 = 0; *(uint64_t*)0x20002cd8 = 0x20002c80; *(uint64_t*)0x20002c80 = 0; *(uint64_t*)0x20002c88 = 0; *(uint64_t*)0x20002c90 = 0; *(uint64_t*)0x20002c98 = 0; *(uint64_t*)0x20003418 = 0x20002e00; *(uint64_t*)0x20002e00 = 0x20002d00; *(uint64_t*)0x20002d00 = 0; *(uint64_t*)0x20002d08 = 0; *(uint64_t*)0x20002d10 = 0; *(uint64_t*)0x20002d18 = 0; *(uint64_t*)0x20002e08 = 0x20002d40; *(uint64_t*)0x20002d40 = 0; *(uint64_t*)0x20002d48 = 0; *(uint64_t*)0x20002d50 = 0; *(uint64_t*)0x20002d58 = 0; *(uint64_t*)0x20002e10 = 0x20002d80; *(uint64_t*)0x20002d80 = 0; *(uint64_t*)0x20002d88 = 0; *(uint64_t*)0x20002d90 = 0; *(uint64_t*)0x20002d98 = 0; *(uint64_t*)0x20002e18 = 0x20002dc0; *(uint64_t*)0x20002dc0 = 0; *(uint64_t*)0x20002dc8 = 0; *(uint64_t*)0x20002dd0 = 0; *(uint64_t*)0x20002dd8 = 0; *(uint64_t*)0x20003420 = 0x20003180; *(uint64_t*)0x20003180 = 0x20002e80; *(uint64_t*)0x20002e80 = 0x20002e40; *(uint64_t*)0x20002e40 = 0; *(uint64_t*)0x20003188 = 0x20002f00; *(uint64_t*)0x20002f00 = 0x20002ec0; *(uint64_t*)0x20002ec0 = 0; *(uint64_t*)0x20002ec8 = 0; *(uint64_t*)0x20002f08 = 0; *(uint64_t*)0x20003190 = 0x20003000; *(uint64_t*)0x20003000 = 0; *(uint64_t*)0x20003008 = 0x20002f40; *(uint64_t*)0x20002f40 = 0; *(uint64_t*)0x20002f48 = 0; *(uint64_t*)0x20002f50 = 0; *(uint64_t*)0x20002f58 = 0; *(uint64_t*)0x20003010 = 0x20002f80; *(uint64_t*)0x20002f80 = 0; *(uint64_t*)0x20002f88 = 0; *(uint64_t*)0x20002f90 = 0; *(uint64_t*)0x20002f98 = 0; *(uint64_t*)0x20003018 = 0x20002fc0; *(uint64_t*)0x20002fc0 = 0; *(uint64_t*)0x20002fc8 = 0; *(uint64_t*)0x20002fd0 = 0; *(uint64_t*)0x20002fd8 = 0; *(uint64_t*)0x20003198 = 0x20003140; *(uint64_t*)0x20003140 = 0x20003040; *(uint64_t*)0x20003040 = 0; *(uint64_t*)0x20003048 = 0; *(uint64_t*)0x20003050 = 0; *(uint64_t*)0x20003058 = 0; *(uint64_t*)0x20003148 = 0x20003080; *(uint64_t*)0x20003080 = 0; *(uint64_t*)0x20003088 = 0; *(uint64_t*)0x20003090 = 0; *(uint64_t*)0x20003098 = 0; *(uint64_t*)0x20003150 = 0x200030c0; *(uint64_t*)0x200030c0 = 0; *(uint64_t*)0x200030c8 = 0; *(uint64_t*)0x200030d0 = 0; *(uint64_t*)0x200030d8 = 0; *(uint64_t*)0x20003158 = 0x20003100; *(uint64_t*)0x20003100 = 0; *(uint64_t*)0x20003108 = 0; *(uint64_t*)0x20003110 = 0; *(uint64_t*)0x20003118 = 0; *(uint64_t*)0x200031a0 = 0; *(uint64_t*)0x200031a8 = 0; *(uint64_t*)0x20003428 = 0x200033c0; *(uint64_t*)0x200033c0 = 0x20003200; *(uint64_t*)0x20003200 = 0x200031c0; *(uint64_t*)0x200031c0 = 0; *(uint64_t*)0x200033c8 = 0x20003240; *(uint64_t*)0x20003240 = 0; *(uint64_t*)0x20003248 = 0; *(uint64_t*)0x200033d0 = 0x20003380; *(uint64_t*)0x20003380 = 0x20003280; *(uint64_t*)0x20003280 = 0; *(uint64_t*)0x20003288 = 0; *(uint64_t*)0x20003290 = 0; *(uint64_t*)0x20003298 = 0; *(uint64_t*)0x20003388 = 0x200032c0; *(uint64_t*)0x200032c0 = 0; *(uint64_t*)0x200032c8 = 0; *(uint64_t*)0x200032d0 = 0; *(uint64_t*)0x200032d8 = 0; *(uint64_t*)0x20003390 = 0x20003300; *(uint64_t*)0x20003300 = 0; *(uint64_t*)0x20003308 = 0; *(uint64_t*)0x20003310 = 0; *(uint64_t*)0x20003318 = 0; *(uint64_t*)0x20003398 = 0x20003340; *(uint64_t*)0x20003340 = 0; *(uint64_t*)0x20003348 = 0; *(uint64_t*)0x20003350 = 0; *(uint64_t*)0x20003358 = 0; *(uint64_t*)0x200033d8 = 0; *(uint64_t*)0x200033e0 = 0; *(uint64_t*)0x200033e8 = 0; syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); { int i; for(i = 0; i < 4; i++) { syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); } } break; case 3: *(uint8_t*)0x20003480 = 0xcf; syscall(SYS_test, /*a=*/0x20003480ul, 0, 0, 0, 0, 0); break; case 4: syscall(SYS_test, 0, 0, 0, 0, 0, 0); break; case 5: *(uint64_t*)0x20004ac0 = 0x20003f40; *(uint64_t*)0x20003f40 = 0x200034c0; *(uint64_t*)0x200034c0 = 0; *(uint64_t*)0x200034c8 = 0; *(uint64_t*)0x20003f48 = 0x20003f00; *(uint64_t*)0x20003f00 = 0x20003540; *(uint64_t*)0x20003540 = 0x20003500; *(uint64_t*)0x20003500 = 0; *(uint64_t*)0x20003f08 = 0x200038c0; *(uint64_t*)0x200038c0 = 0; *(uint64_t*)0x200038c8 = 0x20003880; *(uint64_t*)0x20003880 = 0x200035c0; *(uint64_t*)0x200035c0 = 0x20003580; *(uint64_t*)0x20003580 = 0; *(uint64_t*)0x20003888 = 0; *(uint64_t*)0x20003890 = 0x20003700; *(uint64_t*)0x20003700 = 0x20003600; *(uint64_t*)0x20003600 = 0; *(uint64_t*)0x20003608 = 0; *(uint64_t*)0x20003610 = 0; *(uint64_t*)0x20003618 = 0; *(uint64_t*)0x20003708 = 0x20003640; *(uint64_t*)0x20003640 = 0; *(uint64_t*)0x20003648 = 0; *(uint64_t*)0x20003650 = 0; *(uint64_t*)0x20003658 = 0; *(uint64_t*)0x20003710 = 0x20003680; *(uint64_t*)0x20003680 = 0; *(uint64_t*)0x20003688 = 0; *(uint64_t*)0x20003690 = 0; *(uint64_t*)0x20003698 = 0; *(uint64_t*)0x20003718 = 0x200036c0; *(uint64_t*)0x200036c0 = 0; *(uint64_t*)0x200036c8 = 0; *(uint64_t*)0x200036d0 = 0; *(uint64_t*)0x200036d8 = 0; *(uint64_t*)0x20003898 = 0x20003840; *(uint64_t*)0x20003840 = 0x20003740; *(uint64_t*)0x20003740 = 0; *(uint64_t*)0x20003748 = 0; *(uint64_t*)0x20003750 = 0; *(uint64_t*)0x20003758 = 0; *(uint64_t*)0x20003848 = 0x20003780; *(uint64_t*)0x20003780 = 0; *(uint64_t*)0x20003788 = 0; *(uint64_t*)0x20003790 = 0; *(uint64_t*)0x20003798 = 0; *(uint64_t*)0x20003850 = 0x200037c0; *(uint64_t*)0x200037c0 = 0; *(uint64_t*)0x200037c8 = 0; *(uint64_t*)0x200037d0 = 0; *(uint64_t*)0x200037d8 = 0; *(uint64_t*)0x20003858 = 0x20003800; *(uint64_t*)0x20003800 = 0; *(uint64_t*)0x20003808 = 0; *(uint64_t*)0x20003810 = 0; *(uint64_t*)0x20003818 = 0; *(uint64_t*)0x200038a0 = 0; *(uint64_t*)0x200038a8 = 0; *(uint64_t*)0x20003f10 = 0x200039c0; *(uint64_t*)0x200039c0 = 0; *(uint64_t*)0x200039c8 = 0x20003900; *(uint64_t*)0x20003900 = 0; *(uint64_t*)0x20003908 = 0; *(uint64_t*)0x20003910 = 0; *(uint64_t*)0x20003918 = 0; *(uint64_t*)0x200039d0 = 0x20003940; *(uint64_t*)0x20003940 = 0; *(uint64_t*)0x20003948 = 0; *(uint64_t*)0x20003950 = 0; *(uint64_t*)0x20003958 = 0; *(uint64_t*)0x200039d8 = 0x20003980; *(uint64_t*)0x20003980 = 0; *(uint64_t*)0x20003988 = 0; *(uint64_t*)0x20003990 = 0; *(uint64_t*)0x20003998 = 0; *(uint64_t*)0x20003f18 = 0x20003ac0; *(uint64_t*)0x20003ac0 = 0x20003a00; *(uint64_t*)0x20003a00 = 0; *(uint64_t*)0x20003a08 = 0; *(uint64_t*)0x20003a10 = 0; *(uint64_t*)0x20003a18 = 0; *(uint64_t*)0x20003ac8 = 0x20003a40; *(uint64_t*)0x20003a40 = 0; *(uint64_t*)0x20003a48 = 0; *(uint64_t*)0x20003a50 = 0; *(uint64_t*)0x20003a58 = 0; *(uint64_t*)0x20003ad0 = 0x20003a80; *(uint64_t*)0x20003a80 = 0; *(uint64_t*)0x20003a88 = 0; *(uint64_t*)0x20003a90 = 0; *(uint64_t*)0x20003a98 = 0; *(uint64_t*)0x20003ad8 = 0; *(uint64_t*)0x20003f20 = 0x20003d80; *(uint64_t*)0x20003d80 = 0x20003b40; *(uint64_t*)0x20003b40 = 0x20003b00; *(uint64_t*)0x20003b00 = 0; *(uint64_t*)0x20003d88 = 0x20003b80; *(uint64_t*)0x20003b80 = 0; *(uint64_t*)0x20003b88 = 0; *(uint64_t*)0x20003d90 = 0x20003c40; *(uint64_t*)0x20003c40 = 0; *(uint64_t*)0x20003c48 = 0; *(uint64_t*)0x20003c50 = 0x20003bc0; *(uint64_t*)0x20003bc0 = 0; *(uint64_t*)0x20003bc8 = 0; *(uint64_t*)0x20003bd0 = 0; *(uint64_t*)0x20003bd8 = 0; *(uint64_t*)0x20003c58 = 0x20003c00; *(uint64_t*)0x20003c00 = 0; *(uint64_t*)0x20003c08 = 0; *(uint64_t*)0x20003c10 = 0; *(uint64_t*)0x20003c18 = 0; *(uint64_t*)0x20003d98 = 0x20003d40; *(uint64_t*)0x20003d40 = 0x20003c80; *(uint64_t*)0x20003c80 = 0; *(uint64_t*)0x20003c88 = 0; *(uint64_t*)0x20003c90 = 0; *(uint64_t*)0x20003c98 = 0; *(uint64_t*)0x20003d48 = 0x20003cc0; *(uint64_t*)0x20003cc0 = 0; *(uint64_t*)0x20003cc8 = 0; *(uint64_t*)0x20003cd0 = 0; *(uint64_t*)0x20003cd8 = 0; *(uint64_t*)0x20003d50 = 0x20003d00; *(uint64_t*)0x20003d00 = 0; *(uint64_t*)0x20003d08 = 0; *(uint64_t*)0x20003d10 = 0; *(uint64_t*)0x20003d18 = 0; *(uint64_t*)0x20003d58 = 0; *(uint64_t*)0x20003da0 = 0; *(uint64_t*)0x20003da8 = 0; *(uint64_t*)0x20003f28 = 0x20003ec0; *(uint64_t*)0x20003ec0 = 0; *(uint64_t*)0x20003ec8 = 0x20003dc0; *(uint64_t*)0x20003dc0 = 0; *(uint64_t*)0x20003dc8 = 0; *(uint64_t*)0x20003ed0 = 0; *(uint64_t*)0x20003ed8 = 0x20003e80; *(uint64_t*)0x20003e80 = 0; *(uint64_t*)0x20003e88 = 0; *(uint64_t*)0x20003e90 = 0x20003e00; *(uint64_t*)0x20003e00 = 0; *(uint64_t*)0x20003e08 = 0; *(uint64_t*)0x20003e10 = 0; *(uint64_t*)0x20003e18 = 0; *(uint64_t*)0x20003e98 = 0x20003e40; *(uint64_t*)0x20003e40 = 0; *(uint64_t*)0x20003e48 = 0; *(uint64_t*)0x20003e50 = 0; *(uint64_t*)0x20003e58 = 0; *(uint64_t*)0x20003ee0 = 0; *(uint64_t*)0x20003ee8 = 0; *(uint64_t*)0x20004ac8 = 0x20004a80; *(uint64_t*)0x20004a80 = 0x20003fc0; *(uint64_t*)0x20003fc0 = 0x20003f80; *(uint64_t*)0x20003f80 = 0; *(uint64_t*)0x20004a88 = 0x20004280; *(uint64_t*)0x20004280 = 0x20004000; *(uint64_t*)0x20004000 = 0; *(uint64_t*)0x20004008 = 0; *(uint64_t*)0x20004288 = 0x20004240; *(uint64_t*)0x20004240 = 0; *(uint64_t*)0x20004248 = 0x20004040; *(uint64_t*)0x20004040 = 0; *(uint64_t*)0x20004048 = 0; *(uint64_t*)0x20004250 = 0x20004100; *(uint64_t*)0x20004100 = 0x20004080; *(uint64_t*)0x20004080 = 0; *(uint64_t*)0x20004088 = 0; *(uint64_t*)0x20004090 = 0; *(uint64_t*)0x20004098 = 0; *(uint64_t*)0x20004108 = 0; *(uint64_t*)0x20004110 = 0x200040c0; *(uint64_t*)0x200040c0 = 0; *(uint64_t*)0x200040c8 = 0; *(uint64_t*)0x200040d0 = 0; *(uint64_t*)0x200040d8 = 0; *(uint64_t*)0x20004118 = 0; *(uint64_t*)0x20004258 = 0x20004200; *(uint64_t*)0x20004200 = 0x20004140; *(uint64_t*)0x20004140 = 0; *(uint64_t*)0x20004148 = 0; *(uint64_t*)0x20004150 = 0; *(uint64_t*)0x20004158 = 0; *(uint64_t*)0x20004208 = 0x20004180; *(uint64_t*)0x20004180 = 0; *(uint64_t*)0x20004188 = 0; *(uint64_t*)0x20004190 = 0; *(uint64_t*)0x20004198 = 0; *(uint64_t*)0x20004210 = 0x200041c0; *(uint64_t*)0x200041c0 = 0; *(uint64_t*)0x200041c8 = 0; *(uint64_t*)0x200041d0 = 0; *(uint64_t*)0x200041d8 = 0; *(uint64_t*)0x20004218 = 0; *(uint64_t*)0x20004260 = 0; *(uint64_t*)0x20004268 = 0; *(uint64_t*)0x20004a90 = 0x200043c0; *(uint64_t*)0x200043c0 = 0x200042c0; *(uint64_t*)0x200042c0 = 0; *(uint64_t*)0x200042c8 = 0; *(uint64_t*)0x200042d0 = 0; *(uint64_t*)0x200042d8 = 0; *(uint64_t*)0x200043c8 = 0x20004300; *(uint64_t*)0x20004300 = 0; *(uint64_t*)0x20004308 = 0; *(uint64_t*)0x20004310 = 0; *(uint64_t*)0x20004318 = 0; *(uint64_t*)0x200043d0 = 0x20004340; *(uint64_t*)0x20004340 = 0; *(uint64_t*)0x20004348 = 0; *(uint64_t*)0x20004350 = 0; *(uint64_t*)0x20004358 = 0; *(uint64_t*)0x200043d8 = 0x20004380; *(uint64_t*)0x20004380 = 0; *(uint64_t*)0x20004388 = 0; *(uint64_t*)0x20004390 = 0; *(uint64_t*)0x20004398 = 0; *(uint64_t*)0x20004a98 = 0x20004500; *(uint64_t*)0x20004500 = 0x20004400; *(uint64_t*)0x20004400 = 0; *(uint64_t*)0x20004408 = 0; *(uint64_t*)0x20004410 = 0; *(uint64_t*)0x20004418 = 0; *(uint64_t*)0x20004508 = 0x20004440; *(uint64_t*)0x20004440 = 0; *(uint64_t*)0x20004448 = 0; *(uint64_t*)0x20004450 = 0; *(uint64_t*)0x20004458 = 0; *(uint64_t*)0x20004510 = 0x20004480; *(uint64_t*)0x20004480 = 0; *(uint64_t*)0x20004488 = 0; *(uint64_t*)0x20004490 = 0; *(uint64_t*)0x20004498 = 0; *(uint64_t*)0x20004518 = 0x200044c0; *(uint64_t*)0x200044c0 = 0; *(uint64_t*)0x200044c8 = 0; *(uint64_t*)0x200044d0 = 0; *(uint64_t*)0x200044d8 = 0; *(uint64_t*)0x20004aa0 = 0x20004800; *(uint64_t*)0x20004800 = 0x20004580; *(uint64_t*)0x20004580 = 0x20004540; *(uint64_t*)0x20004540 = 0; *(uint64_t*)0x20004808 = 0x20004600; *(uint64_t*)0x20004600 = 0x200045c0; *(uint64_t*)0x200045c0 = 0; *(uint64_t*)0x200045c8 = 0; *(uint64_t*)0x20004608 = 0; *(uint64_t*)0x20004810 = 0x200046c0; *(uint64_t*)0x200046c0 = 0x20004640; *(uint64_t*)0x20004640 = 0; *(uint64_t*)0x20004648 = 0; *(uint64_t*)0x20004650 = 0; *(uint64_t*)0x20004658 = 0; *(uint64_t*)0x200046c8 = 0; *(uint64_t*)0x200046d0 = 0x20004680; *(uint64_t*)0x20004680 = 0; *(uint64_t*)0x20004688 = 0; *(uint64_t*)0x20004690 = 0; *(uint64_t*)0x20004698 = 0; *(uint64_t*)0x200046d8 = 0; *(uint64_t*)0x20004818 = 0x200047c0; *(uint64_t*)0x200047c0 = 0; *(uint64_t*)0x200047c8 = 0x20004700; *(uint64_t*)0x20004700 = 0; *(uint64_t*)0x20004708 = 0; *(uint64_t*)0x20004710 = 0; *(uint64_t*)0x20004718 = 0; *(uint64_t*)0x200047d0 = 0x20004740; *(uint64_t*)0x20004740 = 0; *(uint64_t*)0x20004748 = 0; *(uint64_t*)0x20004750 = 0; *(uint64_t*)0x20004758 = 0; *(uint64_t*)0x200047d8 = 0x20004780; *(uint64_t*)0x20004780 = 0; *(uint64_t*)0x20004788 = 0; *(uint64_t*)0x20004790 = 0; *(uint64_t*)0x20004798 = 0; *(uint64_t*)0x20004820 = 0; *(uint64_t*)0x20004828 = 0; *(uint64_t*)0x20004aa8 = 0x20004a40; *(uint64_t*)0x20004a40 = 0x20004880; *(uint64_t*)0x20004880 = 0x20004840; *(uint64_t*)0x20004840 = 0; *(uint64_t*)0x20004a48 = 0x20004900; *(uint64_t*)0x20004900 = 0x200048c0; *(uint64_t*)0x200048c0 = 0; *(uint64_t*)0x200048c8 = 0; *(uint64_t*)0x20004908 = 0; *(uint64_t*)0x20004a50 = 0x20004a00; *(uint64_t*)0x20004a00 = 0x20004940; *(uint64_t*)0x20004940 = 0; *(uint64_t*)0x20004948 = 0; *(uint64_t*)0x20004950 = 0; *(uint64_t*)0x20004958 = 0; *(uint64_t*)0x20004a08 = 0; *(uint64_t*)0x20004a10 = 0x20004980; *(uint64_t*)0x20004980 = 0; *(uint64_t*)0x20004988 = 0; *(uint64_t*)0x20004990 = 0; *(uint64_t*)0x20004998 = 0; *(uint64_t*)0x20004a18 = 0x200049c0; *(uint64_t*)0x200049c0 = 0; *(uint64_t*)0x200049c8 = 0; *(uint64_t*)0x200049d0 = 0; *(uint64_t*)0x200049d8 = 0; *(uint64_t*)0x20004a58 = 0; *(uint64_t*)0x20004a60 = 0; *(uint64_t*)0x20004a68 = 0; syscall(SYS_test, /*a0=*/0x20004ac0ul, 0, 0, 0, 0, 0); break; case 6: *(uint8_t*)0x20004b00 = 4; *(uint16_t*)0x20004b01 = 5; *(uint16_t*)0x20004b03 = 0x400; *(uint64_t*)0x20004b05 = 0xcf; syscall(SYS_test, /*a0=*/0x20004b00ul, 0, 0, 0, 0, 0); break; case 7: sprintf((char*)0x20004b40, "0x%016llx", (long long)0); syscall(SYS_foo, /*a=*/0x20004b40ul, 0, 0); break; case 8: *(uint8_t*)0x20004b80 = 5; syscall(SYS_test, /*a=*/0x20004b80ul, 0, 0, 0, 0, 0); break; case 9: *(uint64_t*)0x20004bc0 = 0x1000; syscall(SYS_test, /*a0=*/0x20004bc0ul, 0, 0, 0, 0, 0); break; case 10: memcpy((void*)0x20000000, "-\000", 2); *(uint8_t*)0x20000040 = 0xc0; *(uint16_t*)0x20000044 = 0; STORE_BY_BITMASK(uint32_t, , 0x20000044, 0x24b, 16, 12); STORE_BY_BITMASK(uint32_t, , 0x20000048, 0x380, 0, 12); syz_compare(/*want=*/0x20000000, /*want_len=*/2, /*got=*/0x20000040, /*got_len=*/0xc); break; case 11: syz_compare_int(/*n=*/2, /*v0=*/0xb584, /*v1=*/5, 0, 0); break; case 12: syz_errno(/*v=*/4); break; case 13: memcpy((void*)0x20000080, "\x68\x5d\xce\x50\x3a\x1d\x0b\x65\x7c\x26\x0c\x9d\x19\x4b\x3f\x80\x96\x20\xfd\xde\x60\xc9\x72\xd0\x38\x09\x53\x6f\x2c\xe0\x02\x02\x78\x7c\x45\xc6\x51\xd1\xfc\xe2\x48\x7a\x3d\x34\xca\xac\x04\x9f\xee\x28", 50); syz_execute_func(/*text=*/0x20000080); break; case 14: syz_exit(/*status=*/4); break; case 15: syz_mmap(/*addr=*/0x20ffe000, /*len=*/0x2000); break; case 16: syz_sleep_ms(/*ms=*/0xfff); break; case 17: syz_test_fuzzer1(/*a=*/6, /*b=*/2, /*c=*/0xb); break; } } int main(void) { syz_mmap(/*addr=*/0x20000000, /*len=*/0x1000000); setup_fault(); use_temporary_dir(); do_sandbox_none(); return 0; } :467:3: error: call to undeclared function 'syscall'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); ^ 1 error generated. compiler invocation: c++ [-o /tmp/syz-executor2985285580 -DGOOS_test=1 -DGOARCH_64=1 -DHOSTGOOS_openbsd=1 -x c - -m64 -lutil -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-array-bounds -Wno-unused-but-set-variable -Wno-unused-command-line-argument -no-pie -fno-exceptions] --- FAIL: TestGenerate/test/64/8 (1.17s) csource_test.go:150: opts: {Threaded:true Repeat:true RepeatTimes:0 Procs:0 Slowdown:1 Sandbox:none SandboxArg:-9223372036854775808 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:false Repro:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: test$recur2(&(0x7f0000000ac0)={0x0, 0x0, &(0x7f0000000100)={&(0x7f0000000000), &(0x7f0000000040), &(0x7f0000000080), &(0x7f00000000c0)}, 0x0, &(0x7f0000000a80)={&(0x7f0000000180)={&(0x7f0000000140)}, &(0x7f00000007c0)={&(0x7f00000004c0)={0x0, &(0x7f0000000480)={&(0x7f0000000200)={&(0x7f00000001c0)}, 0x0, &(0x7f0000000300)={0x0, &(0x7f0000000240), &(0x7f0000000280), &(0x7f00000002c0)}, &(0x7f0000000440)={&(0x7f0000000340), &(0x7f0000000380), &(0x7f00000003c0), &(0x7f0000000400)}}}, &(0x7f0000000780)={&(0x7f0000000500), 0x0, &(0x7f0000000600)={&(0x7f0000000540), &(0x7f0000000580), &(0x7f00000005c0)}, &(0x7f0000000740)={&(0x7f0000000640), &(0x7f0000000680), &(0x7f00000006c0), &(0x7f0000000700)}}}, 0x0, &(0x7f00000008c0)={0x0, &(0x7f0000000800), &(0x7f0000000840), &(0x7f0000000880)}, 0x0, &(0x7f0000000a40)={0x0, &(0x7f0000000940)={&(0x7f0000000900)}, 0x0, &(0x7f0000000a00)={0x0, &(0x7f0000000980), &(0x7f00000009c0)}}}}) (fail_nth: 1) test$recur0(&(0x7f0000000b80)={&(0x7f0000000b40)={&(0x7f0000000b00)}}) (async) test$recur2(&(0x7f0000003440)={&(0x7f0000000c00)={&(0x7f0000000bc0)}, &(0x7f0000001800)={&(0x7f00000011c0)={0x0, &(0x7f0000001180)={&(0x7f0000000c80)={&(0x7f0000000c40)}, 0x0, &(0x7f0000000d80)={&(0x7f0000000cc0), &(0x7f0000000d00), 0x0, &(0x7f0000000d40)}, &(0x7f0000000e80)={0x0, &(0x7f0000000dc0), &(0x7f0000000e00), &(0x7f0000000e40)}, &(0x7f0000001140)={&(0x7f0000000f00)={&(0x7f0000000ec0)}, 0x0, &(0x7f0000001000)={&(0x7f0000000f40), 0x0, &(0x7f0000000f80), &(0x7f0000000fc0)}, &(0x7f0000001100)={&(0x7f0000001040), &(0x7f0000001080), 0x0, &(0x7f00000010c0)}}}}, &(0x7f00000017c0)={&(0x7f0000001240)={&(0x7f0000001200)}, 0x0, &(0x7f0000001340)={&(0x7f0000001280), &(0x7f00000012c0), 0x0, &(0x7f0000001300)}, &(0x7f0000001480)={&(0x7f0000001380), &(0x7f00000013c0), &(0x7f0000001400), &(0x7f0000001440)}, &(0x7f0000001780)={&(0x7f0000001500)={&(0x7f00000014c0)}, 0x0, &(0x7f0000001640)={&(0x7f0000001540), &(0x7f0000001580), &(0x7f00000015c0), &(0x7f0000001600)}, &(0x7f0000001740)={0x0, &(0x7f0000001680), &(0x7f00000016c0), &(0x7f0000001700)}}}}, &(0x7f0000001940)={&(0x7f0000001840), &(0x7f0000001880), &(0x7f00000018c0), &(0x7f0000001900)}, &(0x7f0000001a40)={&(0x7f0000001980), 0x0, &(0x7f00000019c0), &(0x7f0000001a00)}, &(0x7f0000002780)={&(0x7f0000001ac0)={&(0x7f0000001a80)}, &(0x7f0000002140)={&(0x7f0000001dc0)={0x0, &(0x7f0000001d80)={&(0x7f0000001b00), 0x0, &(0x7f0000001c00)={&(0x7f0000001b40), 0x0, &(0x7f0000001b80), &(0x7f0000001bc0)}, &(0x7f0000001d40)={&(0x7f0000001c40), &(0x7f0000001c80), &(0x7f0000001cc0), &(0x7f0000001d00)}}}, &(0x7f0000002100)={&(0x7f0000001e40)={&(0x7f0000001e00)}, &(0x7f0000001e80), &(0x7f0000001fc0)={&(0x7f0000001ec0), &(0x7f0000001f00), &(0x7f0000001f40), &(0x7f0000001f80)}, &(0x7f00000020c0)={&(0x7f0000002000), 0x0, &(0x7f0000002040), &(0x7f0000002080)}}}, &(0x7f0000002280)={&(0x7f0000002180), &(0x7f00000021c0), &(0x7f0000002200), &(0x7f0000002240)}, &(0x7f00000023c0)={&(0x7f00000022c0), &(0x7f0000002300), &(0x7f0000002340), &(0x7f0000002380)}, &(0x7f00000024c0)={&(0x7f0000002440)={&(0x7f0000002400)}, &(0x7f0000002480)}, &(0x7f0000002740)={&(0x7f0000002540)={&(0x7f0000002500)}, &(0x7f00000025c0)={&(0x7f0000002580)}, 0x0, &(0x7f0000002700)={&(0x7f0000002600), &(0x7f0000002640), &(0x7f0000002680), &(0x7f00000026c0)}}}, &(0x7f0000003400)={&(0x7f0000002800)={&(0x7f00000027c0)}, &(0x7f0000002b80)={&(0x7f0000002900)={0x0, &(0x7f00000028c0)={&(0x7f0000002880)={&(0x7f0000002840)}}}, &(0x7f0000002b40)={&(0x7f0000002980)={&(0x7f0000002940)}, &(0x7f00000029c0), &(0x7f0000002b00)={&(0x7f0000002a00), &(0x7f0000002a40), &(0x7f0000002a80), &(0x7f0000002ac0)}}}, &(0x7f0000002cc0)={&(0x7f0000002bc0), &(0x7f0000002c00), &(0x7f0000002c40), &(0x7f0000002c80)}, &(0x7f0000002e00)={&(0x7f0000002d00), &(0x7f0000002d40), &(0x7f0000002d80), &(0x7f0000002dc0)}, &(0x7f0000003180)={&(0x7f0000002e80)={&(0x7f0000002e40)}, &(0x7f0000002f00)={&(0x7f0000002ec0)}, &(0x7f0000003000)={0x0, &(0x7f0000002f40), &(0x7f0000002f80), &(0x7f0000002fc0)}, &(0x7f0000003140)={&(0x7f0000003040), &(0x7f0000003080), &(0x7f00000030c0), &(0x7f0000003100)}}, &(0x7f00000033c0)={&(0x7f0000003200)={&(0x7f00000031c0)}, &(0x7f0000003240), &(0x7f0000003380)={&(0x7f0000003280), &(0x7f00000032c0), &(0x7f0000003300), &(0x7f0000003340)}}}}) (rerun: 4) test$use_cond_resource(&(0x7f0000003480)={0xcf}) test$create_cond_resource() test$recur1(&(0x7f0000004ac0)={&(0x7f0000003f40)={&(0x7f00000034c0), &(0x7f0000003f00)={&(0x7f0000003540)={&(0x7f0000003500)}, &(0x7f00000038c0)={0x0, &(0x7f0000003880)={&(0x7f00000035c0)={&(0x7f0000003580)}, 0x0, &(0x7f0000003700)={&(0x7f0000003600), &(0x7f0000003640), &(0x7f0000003680), &(0x7f00000036c0)}, &(0x7f0000003840)={&(0x7f0000003740), &(0x7f0000003780), &(0x7f00000037c0), &(0x7f0000003800)}}}, &(0x7f00000039c0)={0x0, &(0x7f0000003900), &(0x7f0000003940), &(0x7f0000003980)}, &(0x7f0000003ac0)={&(0x7f0000003a00), &(0x7f0000003a40), &(0x7f0000003a80)}, &(0x7f0000003d80)={&(0x7f0000003b40)={&(0x7f0000003b00)}, &(0x7f0000003b80), &(0x7f0000003c40)={0x0, 0x0, &(0x7f0000003bc0), &(0x7f0000003c00)}, &(0x7f0000003d40)={&(0x7f0000003c80), &(0x7f0000003cc0), &(0x7f0000003d00)}}, &(0x7f0000003ec0)={0x0, &(0x7f0000003dc0), 0x0, &(0x7f0000003e80)={0x0, 0x0, &(0x7f0000003e00), &(0x7f0000003e40)}}}}, &(0x7f0000004a80)={&(0x7f0000003fc0)={&(0x7f0000003f80)}, &(0x7f0000004280)={&(0x7f0000004000), &(0x7f0000004240)={0x0, &(0x7f0000004040), &(0x7f0000004100)={&(0x7f0000004080), 0x0, &(0x7f00000040c0)}, &(0x7f0000004200)={&(0x7f0000004140), &(0x7f0000004180), &(0x7f00000041c0)}}}, &(0x7f00000043c0)={&(0x7f00000042c0), &(0x7f0000004300), &(0x7f0000004340), &(0x7f0000004380)}, &(0x7f0000004500)={&(0x7f0000004400), &(0x7f0000004440), &(0x7f0000004480), &(0x7f00000044c0)}, &(0x7f0000004800)={&(0x7f0000004580)={&(0x7f0000004540)}, &(0x7f0000004600)={&(0x7f00000045c0)}, &(0x7f00000046c0)={&(0x7f0000004640), 0x0, &(0x7f0000004680)}, &(0x7f00000047c0)={0x0, &(0x7f0000004700), &(0x7f0000004740), &(0x7f0000004780)}}, &(0x7f0000004a40)={&(0x7f0000004880)={&(0x7f0000004840)}, &(0x7f0000004900)={&(0x7f00000048c0)}, &(0x7f0000004a00)={&(0x7f0000004940), 0x0, &(0x7f0000004980), &(0x7f00000049c0)}}}}) test$array0(&(0x7f0000004b00)={0x4, [@f0=0x5, @f0=0x400], 0xcf}) foo$fmt1(&(0x7f0000004b40)) test$use_cond_resource(&(0x7f0000004b80)={0x5}) test$opt1(&(0x7f0000004bc0)=0x1000) syz_compare(&(0x7f0000000000)='-\x00', 0x2, &(0x7f0000000040)=@bf13={0xc0, {0x0, 0x24b, 0x380}}, 0xc) syz_compare_int$2(0x2, 0xb584, 0x5) syz_errno(0x4) syz_execute_func(&(0x7f0000000080)="685dce503a1d0b657c260c9d194b3f809620fdde60c972d03809536f2ce00202787c45c651d1fce2487a3d34caac049fee28") syz_exit(0x4) syz_mmap(&(0x7f0000ffe000/0x2000)=nil, 0x2000) syz_sleep_ms(0xfff) syz_test_fuzzer1(0x6, 0x2, 0xb) csource_test.go:151: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #ifndef SYS_foo #define SYS_foo 0 #endif #ifndef SYS_test #define SYS_test 0 #endif static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } static int inject_fault(int nth) { return 0; } static void setup_fault() { } static void thread_start(void* (*fn)(void*), void* arg) { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 128 << 10); int i = 0; for (; i < 100; i++) { if (pthread_create(&th, &attr, fn, arg) == 0) { pthread_attr_destroy(&attr); return; } if (errno == EAGAIN) { usleep(50); continue; } break; } exit(1); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); 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) exit(1); 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_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #define BITMASK(bf_off,bf_len) (((1ull << (bf_len)) - 1) << (bf_off)) #define STORE_BY_BITMASK(type,htobe,addr,val,bf_off,bf_len) *(type*)(addr) = htobe((htobe(*(type*)(addr)) & ~BITMASK((bf_off), (bf_len))) | (((type)(val) << (bf_off)) & BITMASK((bf_off), (bf_len)))) static long syz_mmap(volatile long a0, volatile long a1) { return (long)mmap((void*)a0, a1, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0); } static long syz_errno(volatile long v) { errno = v; return v == 0 ? 0 : -1; } static long syz_exit(volatile long status) { _exit(status); return 0; } static long syz_sleep_ms(volatile long ms) { sleep_ms(ms); return 0; } static long syz_compare(volatile long want, volatile long want_len, volatile long got, volatile long got_len) { if (want_len != got_len) { errno = EBADF; goto error; } if (memcmp((void*)want, (void*)got, want_len)) { errno = EINVAL; goto error; } return 0; error: return -1; } static long syz_compare_int(volatile long n, ...) { va_list args; va_start(args, n); long v0 = va_arg(args, long); long v1 = va_arg(args, long); long v2 = va_arg(args, long); long v3 = va_arg(args, long); va_end(args); if (n < 2 || n > 4) return errno = E2BIG, -1; if (n <= 2 && v2 != 0) return errno = EFAULT, -1; if (n <= 3 && v3 != 0) return errno = EFAULT, -1; if (v0 != v1) return errno = EINVAL, -1; if (n > 2 && v0 != v2) return errno = EINVAL, -1; if (n > 3 && v0 != v3) return errno = EINVAL, -1; return 0; } static void loop(); static int do_sandbox_none(void) { loop(); return 0; } static void fake_crash(const char* name) { exit(1); exit(1); } static long syz_test_fuzzer1(volatile long a, volatile long b, volatile long c) { if (a == 1 && b == 1 && c == 1) fake_crash("first bug"); if (a == 1 && b == 2 && c == 3) fake_crash("second bug"); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } 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; 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_one(void) { int i, call, thread; for (call = 0; call < 18; call++) { for (thread = 0; thread < (int)(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 (call == 1) break; event_timedwait(&th->done, 50); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); static void loop(void) { execute_one(); } void execute_call(int call) { switch (call) { case 0: *(uint64_t*)0x20000ac0 = 0; *(uint64_t*)0x20000ac8 = 0; *(uint64_t*)0x20000ad0 = 0x20000100; *(uint64_t*)0x20000100 = 0x20000000; *(uint64_t*)0x20000000 = 0; *(uint64_t*)0x20000008 = 0; *(uint64_t*)0x20000010 = 0; *(uint64_t*)0x20000018 = 0; *(uint64_t*)0x20000108 = 0x20000040; *(uint64_t*)0x20000040 = 0; *(uint64_t*)0x20000048 = 0; *(uint64_t*)0x20000050 = 0; *(uint64_t*)0x20000058 = 0; *(uint64_t*)0x20000110 = 0x20000080; *(uint64_t*)0x20000080 = 0; *(uint64_t*)0x20000088 = 0; *(uint64_t*)0x20000090 = 0; *(uint64_t*)0x20000098 = 0; *(uint64_t*)0x20000118 = 0x200000c0; *(uint64_t*)0x200000c0 = 0; *(uint64_t*)0x200000c8 = 0; *(uint64_t*)0x200000d0 = 0; *(uint64_t*)0x200000d8 = 0; *(uint64_t*)0x20000ad8 = 0; *(uint64_t*)0x20000ae0 = 0x20000a80; *(uint64_t*)0x20000a80 = 0x20000180; *(uint64_t*)0x20000180 = 0x20000140; *(uint64_t*)0x20000140 = 0; *(uint64_t*)0x20000a88 = 0x200007c0; *(uint64_t*)0x200007c0 = 0x200004c0; *(uint64_t*)0x200004c0 = 0; *(uint64_t*)0x200004c8 = 0x20000480; *(uint64_t*)0x20000480 = 0x20000200; *(uint64_t*)0x20000200 = 0x200001c0; *(uint64_t*)0x200001c0 = 0; *(uint64_t*)0x20000488 = 0; *(uint64_t*)0x20000490 = 0x20000300; *(uint64_t*)0x20000300 = 0; *(uint64_t*)0x20000308 = 0x20000240; *(uint64_t*)0x20000240 = 0; *(uint64_t*)0x20000248 = 0; *(uint64_t*)0x20000250 = 0; *(uint64_t*)0x20000258 = 0; *(uint64_t*)0x20000310 = 0x20000280; *(uint64_t*)0x20000280 = 0; *(uint64_t*)0x20000288 = 0; *(uint64_t*)0x20000290 = 0; *(uint64_t*)0x20000298 = 0; *(uint64_t*)0x20000318 = 0x200002c0; *(uint64_t*)0x200002c0 = 0; *(uint64_t*)0x200002c8 = 0; *(uint64_t*)0x200002d0 = 0; *(uint64_t*)0x200002d8 = 0; *(uint64_t*)0x20000498 = 0x20000440; *(uint64_t*)0x20000440 = 0x20000340; *(uint64_t*)0x20000340 = 0; *(uint64_t*)0x20000348 = 0; *(uint64_t*)0x20000350 = 0; *(uint64_t*)0x20000358 = 0; *(uint64_t*)0x20000448 = 0x20000380; *(uint64_t*)0x20000380 = 0; *(uint64_t*)0x20000388 = 0; *(uint64_t*)0x20000390 = 0; *(uint64_t*)0x20000398 = 0; *(uint64_t*)0x20000450 = 0x200003c0; *(uint64_t*)0x200003c0 = 0; *(uint64_t*)0x200003c8 = 0; *(uint64_t*)0x200003d0 = 0; *(uint64_t*)0x200003d8 = 0; *(uint64_t*)0x20000458 = 0x20000400; *(uint64_t*)0x20000400 = 0; *(uint64_t*)0x20000408 = 0; *(uint64_t*)0x20000410 = 0; *(uint64_t*)0x20000418 = 0; *(uint64_t*)0x200004a0 = 0; *(uint64_t*)0x200004a8 = 0; *(uint64_t*)0x200007c8 = 0x20000780; *(uint64_t*)0x20000780 = 0x20000500; *(uint64_t*)0x20000500 = 0; *(uint64_t*)0x20000788 = 0; *(uint64_t*)0x20000790 = 0x20000600; *(uint64_t*)0x20000600 = 0x20000540; *(uint64_t*)0x20000540 = 0; *(uint64_t*)0x20000548 = 0; *(uint64_t*)0x20000550 = 0; *(uint64_t*)0x20000558 = 0; *(uint64_t*)0x20000608 = 0x20000580; *(uint64_t*)0x20000580 = 0; *(uint64_t*)0x20000588 = 0; *(uint64_t*)0x20000590 = 0; *(uint64_t*)0x20000598 = 0; *(uint64_t*)0x20000610 = 0x200005c0; *(uint64_t*)0x200005c0 = 0; *(uint64_t*)0x200005c8 = 0; *(uint64_t*)0x200005d0 = 0; *(uint64_t*)0x200005d8 = 0; *(uint64_t*)0x20000618 = 0; *(uint64_t*)0x20000798 = 0x20000740; *(uint64_t*)0x20000740 = 0x20000640; *(uint64_t*)0x20000640 = 0; *(uint64_t*)0x20000648 = 0; *(uint64_t*)0x20000650 = 0; *(uint64_t*)0x20000658 = 0; *(uint64_t*)0x20000748 = 0x20000680; *(uint64_t*)0x20000680 = 0; *(uint64_t*)0x20000688 = 0; *(uint64_t*)0x20000690 = 0; *(uint64_t*)0x20000698 = 0; *(uint64_t*)0x20000750 = 0x200006c0; *(uint64_t*)0x200006c0 = 0; *(uint64_t*)0x200006c8 = 0; *(uint64_t*)0x200006d0 = 0; *(uint64_t*)0x200006d8 = 0; *(uint64_t*)0x20000758 = 0x20000700; *(uint64_t*)0x20000700 = 0; *(uint64_t*)0x20000708 = 0; *(uint64_t*)0x20000710 = 0; *(uint64_t*)0x20000718 = 0; *(uint64_t*)0x200007a0 = 0; *(uint64_t*)0x200007a8 = 0; *(uint64_t*)0x20000a90 = 0; *(uint64_t*)0x20000a98 = 0x200008c0; *(uint64_t*)0x200008c0 = 0; *(uint64_t*)0x200008c8 = 0x20000800; *(uint64_t*)0x20000800 = 0; *(uint64_t*)0x20000808 = 0; *(uint64_t*)0x20000810 = 0; *(uint64_t*)0x20000818 = 0; *(uint64_t*)0x200008d0 = 0x20000840; *(uint64_t*)0x20000840 = 0; *(uint64_t*)0x20000848 = 0; *(uint64_t*)0x20000850 = 0; *(uint64_t*)0x20000858 = 0; *(uint64_t*)0x200008d8 = 0x20000880; *(uint64_t*)0x20000880 = 0; *(uint64_t*)0x20000888 = 0; *(uint64_t*)0x20000890 = 0; *(uint64_t*)0x20000898 = 0; *(uint64_t*)0x20000aa0 = 0; *(uint64_t*)0x20000aa8 = 0x20000a40; *(uint64_t*)0x20000a40 = 0; *(uint64_t*)0x20000a48 = 0x20000940; *(uint64_t*)0x20000940 = 0x20000900; *(uint64_t*)0x20000900 = 0; *(uint64_t*)0x20000908 = 0; *(uint64_t*)0x20000948 = 0; *(uint64_t*)0x20000a50 = 0; *(uint64_t*)0x20000a58 = 0x20000a00; *(uint64_t*)0x20000a00 = 0; *(uint64_t*)0x20000a08 = 0x20000980; *(uint64_t*)0x20000980 = 0; *(uint64_t*)0x20000988 = 0; *(uint64_t*)0x20000990 = 0; *(uint64_t*)0x20000998 = 0; *(uint64_t*)0x20000a10 = 0x200009c0; *(uint64_t*)0x200009c0 = 0; *(uint64_t*)0x200009c8 = 0; *(uint64_t*)0x200009d0 = 0; *(uint64_t*)0x200009d8 = 0; *(uint64_t*)0x20000a18 = 0; *(uint64_t*)0x20000a60 = 0; *(uint64_t*)0x20000a68 = 0; *(uint64_t*)0x20000ae8 = 0; inject_fault(1); syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); break; case 1: *(uint64_t*)0x20000b80 = 0x20000b40; *(uint64_t*)0x20000b40 = 0x20000b00; *(uint64_t*)0x20000b00 = 0; syscall(SYS_test, /*a0=*/0x20000b80ul, 0, 0, 0, 0, 0); break; case 2: *(uint64_t*)0x20003440 = 0x20000c00; *(uint64_t*)0x20000c00 = 0x20000bc0; *(uint64_t*)0x20000bc0 = 0; *(uint64_t*)0x20003448 = 0x20001800; *(uint64_t*)0x20001800 = 0x200011c0; *(uint64_t*)0x200011c0 = 0; *(uint64_t*)0x200011c8 = 0x20001180; *(uint64_t*)0x20001180 = 0x20000c80; *(uint64_t*)0x20000c80 = 0x20000c40; *(uint64_t*)0x20000c40 = 0; *(uint64_t*)0x20001188 = 0; *(uint64_t*)0x20001190 = 0x20000d80; *(uint64_t*)0x20000d80 = 0x20000cc0; *(uint64_t*)0x20000cc0 = 0; *(uint64_t*)0x20000cc8 = 0; *(uint64_t*)0x20000cd0 = 0; *(uint64_t*)0x20000cd8 = 0; *(uint64_t*)0x20000d88 = 0x20000d00; *(uint64_t*)0x20000d00 = 0; *(uint64_t*)0x20000d08 = 0; *(uint64_t*)0x20000d10 = 0; *(uint64_t*)0x20000d18 = 0; *(uint64_t*)0x20000d90 = 0; *(uint64_t*)0x20000d98 = 0x20000d40; *(uint64_t*)0x20000d40 = 0; *(uint64_t*)0x20000d48 = 0; *(uint64_t*)0x20000d50 = 0; *(uint64_t*)0x20000d58 = 0; *(uint64_t*)0x20001198 = 0x20000e80; *(uint64_t*)0x20000e80 = 0; *(uint64_t*)0x20000e88 = 0x20000dc0; *(uint64_t*)0x20000dc0 = 0; *(uint64_t*)0x20000dc8 = 0; *(uint64_t*)0x20000dd0 = 0; *(uint64_t*)0x20000dd8 = 0; *(uint64_t*)0x20000e90 = 0x20000e00; *(uint64_t*)0x20000e00 = 0; *(uint64_t*)0x20000e08 = 0; *(uint64_t*)0x20000e10 = 0; *(uint64_t*)0x20000e18 = 0; *(uint64_t*)0x20000e98 = 0x20000e40; *(uint64_t*)0x20000e40 = 0; *(uint64_t*)0x20000e48 = 0; *(uint64_t*)0x20000e50 = 0; *(uint64_t*)0x20000e58 = 0; *(uint64_t*)0x200011a0 = 0x20001140; *(uint64_t*)0x20001140 = 0x20000f00; *(uint64_t*)0x20000f00 = 0x20000ec0; *(uint64_t*)0x20000ec0 = 0; *(uint64_t*)0x20001148 = 0; *(uint64_t*)0x20001150 = 0x20001000; *(uint64_t*)0x20001000 = 0x20000f40; *(uint64_t*)0x20000f40 = 0; *(uint64_t*)0x20000f48 = 0; *(uint64_t*)0x20000f50 = 0; *(uint64_t*)0x20000f58 = 0; *(uint64_t*)0x20001008 = 0; *(uint64_t*)0x20001010 = 0x20000f80; *(uint64_t*)0x20000f80 = 0; *(uint64_t*)0x20000f88 = 0; *(uint64_t*)0x20000f90 = 0; *(uint64_t*)0x20000f98 = 0; *(uint64_t*)0x20001018 = 0x20000fc0; *(uint64_t*)0x20000fc0 = 0; *(uint64_t*)0x20000fc8 = 0; *(uint64_t*)0x20000fd0 = 0; *(uint64_t*)0x20000fd8 = 0; *(uint64_t*)0x20001158 = 0x20001100; *(uint64_t*)0x20001100 = 0x20001040; *(uint64_t*)0x20001040 = 0; *(uint64_t*)0x20001048 = 0; *(uint64_t*)0x20001050 = 0; *(uint64_t*)0x20001058 = 0; *(uint64_t*)0x20001108 = 0x20001080; *(uint64_t*)0x20001080 = 0; *(uint64_t*)0x20001088 = 0; *(uint64_t*)0x20001090 = 0; *(uint64_t*)0x20001098 = 0; *(uint64_t*)0x20001110 = 0; *(uint64_t*)0x20001118 = 0x200010c0; *(uint64_t*)0x200010c0 = 0; *(uint64_t*)0x200010c8 = 0; *(uint64_t*)0x200010d0 = 0; *(uint64_t*)0x200010d8 = 0; *(uint64_t*)0x20001160 = 0; *(uint64_t*)0x20001168 = 0; *(uint64_t*)0x200011a8 = 0; *(uint64_t*)0x20001808 = 0x200017c0; *(uint64_t*)0x200017c0 = 0x20001240; *(uint64_t*)0x20001240 = 0x20001200; *(uint64_t*)0x20001200 = 0; *(uint64_t*)0x200017c8 = 0; *(uint64_t*)0x200017d0 = 0x20001340; *(uint64_t*)0x20001340 = 0x20001280; *(uint64_t*)0x20001280 = 0; *(uint64_t*)0x20001288 = 0; *(uint64_t*)0x20001290 = 0; *(uint64_t*)0x20001298 = 0; *(uint64_t*)0x20001348 = 0x200012c0; *(uint64_t*)0x200012c0 = 0; *(uint64_t*)0x200012c8 = 0; *(uint64_t*)0x200012d0 = 0; *(uint64_t*)0x200012d8 = 0; *(uint64_t*)0x20001350 = 0; *(uint64_t*)0x20001358 = 0x20001300; *(uint64_t*)0x20001300 = 0; *(uint64_t*)0x20001308 = 0; *(uint64_t*)0x20001310 = 0; *(uint64_t*)0x20001318 = 0; *(uint64_t*)0x200017d8 = 0x20001480; *(uint64_t*)0x20001480 = 0x20001380; *(uint64_t*)0x20001380 = 0; *(uint64_t*)0x20001388 = 0; *(uint64_t*)0x20001390 = 0; *(uint64_t*)0x20001398 = 0; *(uint64_t*)0x20001488 = 0x200013c0; *(uint64_t*)0x200013c0 = 0; *(uint64_t*)0x200013c8 = 0; *(uint64_t*)0x200013d0 = 0; *(uint64_t*)0x200013d8 = 0; *(uint64_t*)0x20001490 = 0x20001400; *(uint64_t*)0x20001400 = 0; *(uint64_t*)0x20001408 = 0; *(uint64_t*)0x20001410 = 0; *(uint64_t*)0x20001418 = 0; *(uint64_t*)0x20001498 = 0x20001440; *(uint64_t*)0x20001440 = 0; *(uint64_t*)0x20001448 = 0; *(uint64_t*)0x20001450 = 0; *(uint64_t*)0x20001458 = 0; *(uint64_t*)0x200017e0 = 0x20001780; *(uint64_t*)0x20001780 = 0x20001500; *(uint64_t*)0x20001500 = 0x200014c0; *(uint64_t*)0x200014c0 = 0; *(uint64_t*)0x20001788 = 0; *(uint64_t*)0x20001790 = 0x20001640; *(uint64_t*)0x20001640 = 0x20001540; *(uint64_t*)0x20001540 = 0; *(uint64_t*)0x20001548 = 0; *(uint64_t*)0x20001550 = 0; *(uint64_t*)0x20001558 = 0; *(uint64_t*)0x20001648 = 0x20001580; *(uint64_t*)0x20001580 = 0; *(uint64_t*)0x20001588 = 0; *(uint64_t*)0x20001590 = 0; *(uint64_t*)0x20001598 = 0; *(uint64_t*)0x20001650 = 0x200015c0; *(uint64_t*)0x200015c0 = 0; *(uint64_t*)0x200015c8 = 0; *(uint64_t*)0x200015d0 = 0; *(uint64_t*)0x200015d8 = 0; *(uint64_t*)0x20001658 = 0x20001600; *(uint64_t*)0x20001600 = 0; *(uint64_t*)0x20001608 = 0; *(uint64_t*)0x20001610 = 0; *(uint64_t*)0x20001618 = 0; *(uint64_t*)0x20001798 = 0x20001740; *(uint64_t*)0x20001740 = 0; *(uint64_t*)0x20001748 = 0x20001680; *(uint64_t*)0x20001680 = 0; *(uint64_t*)0x20001688 = 0; *(uint64_t*)0x20001690 = 0; *(uint64_t*)0x20001698 = 0; *(uint64_t*)0x20001750 = 0x200016c0; *(uint64_t*)0x200016c0 = 0; *(uint64_t*)0x200016c8 = 0; *(uint64_t*)0x200016d0 = 0; *(uint64_t*)0x200016d8 = 0; *(uint64_t*)0x20001758 = 0x20001700; *(uint64_t*)0x20001700 = 0; *(uint64_t*)0x20001708 = 0; *(uint64_t*)0x20001710 = 0; *(uint64_t*)0x20001718 = 0; *(uint64_t*)0x200017a0 = 0; *(uint64_t*)0x200017a8 = 0; *(uint64_t*)0x200017e8 = 0; *(uint64_t*)0x20003450 = 0x20001940; *(uint64_t*)0x20001940 = 0x20001840; *(uint64_t*)0x20001840 = 0; *(uint64_t*)0x20001848 = 0; *(uint64_t*)0x20001850 = 0; *(uint64_t*)0x20001858 = 0; *(uint64_t*)0x20001948 = 0x20001880; *(uint64_t*)0x20001880 = 0; *(uint64_t*)0x20001888 = 0; *(uint64_t*)0x20001890 = 0; *(uint64_t*)0x20001898 = 0; *(uint64_t*)0x20001950 = 0x200018c0; *(uint64_t*)0x200018c0 = 0; *(uint64_t*)0x200018c8 = 0; *(uint64_t*)0x200018d0 = 0; *(uint64_t*)0x200018d8 = 0; *(uint64_t*)0x20001958 = 0x20001900; *(uint64_t*)0x20001900 = 0; *(uint64_t*)0x20001908 = 0; *(uint64_t*)0x20001910 = 0; *(uint64_t*)0x20001918 = 0; *(uint64_t*)0x20003458 = 0x20001a40; *(uint64_t*)0x20001a40 = 0x20001980; *(uint64_t*)0x20001980 = 0; *(uint64_t*)0x20001988 = 0; *(uint64_t*)0x20001990 = 0; *(uint64_t*)0x20001998 = 0; *(uint64_t*)0x20001a48 = 0; *(uint64_t*)0x20001a50 = 0x200019c0; *(uint64_t*)0x200019c0 = 0; *(uint64_t*)0x200019c8 = 0; *(uint64_t*)0x200019d0 = 0; *(uint64_t*)0x200019d8 = 0; *(uint64_t*)0x20001a58 = 0x20001a00; *(uint64_t*)0x20001a00 = 0; *(uint64_t*)0x20001a08 = 0; *(uint64_t*)0x20001a10 = 0; *(uint64_t*)0x20001a18 = 0; *(uint64_t*)0x20003460 = 0x20002780; *(uint64_t*)0x20002780 = 0x20001ac0; *(uint64_t*)0x20001ac0 = 0x20001a80; *(uint64_t*)0x20001a80 = 0; *(uint64_t*)0x20002788 = 0x20002140; *(uint64_t*)0x20002140 = 0x20001dc0; *(uint64_t*)0x20001dc0 = 0; *(uint64_t*)0x20001dc8 = 0x20001d80; *(uint64_t*)0x20001d80 = 0x20001b00; *(uint64_t*)0x20001b00 = 0; *(uint64_t*)0x20001d88 = 0; *(uint64_t*)0x20001d90 = 0x20001c00; *(uint64_t*)0x20001c00 = 0x20001b40; *(uint64_t*)0x20001b40 = 0; *(uint64_t*)0x20001b48 = 0; *(uint64_t*)0x20001b50 = 0; *(uint64_t*)0x20001b58 = 0; *(uint64_t*)0x20001c08 = 0; *(uint64_t*)0x20001c10 = 0x20001b80; *(uint64_t*)0x20001b80 = 0; *(uint64_t*)0x20001b88 = 0; *(uint64_t*)0x20001b90 = 0; *(uint64_t*)0x20001b98 = 0; *(uint64_t*)0x20001c18 = 0x20001bc0; *(uint64_t*)0x20001bc0 = 0; *(uint64_t*)0x20001bc8 = 0; *(uint64_t*)0x20001bd0 = 0; *(uint64_t*)0x20001bd8 = 0; *(uint64_t*)0x20001d98 = 0x20001d40; *(uint64_t*)0x20001d40 = 0x20001c40; *(uint64_t*)0x20001c40 = 0; *(uint64_t*)0x20001c48 = 0; *(uint64_t*)0x20001c50 = 0; *(uint64_t*)0x20001c58 = 0; *(uint64_t*)0x20001d48 = 0x20001c80; *(uint64_t*)0x20001c80 = 0; *(uint64_t*)0x20001c88 = 0; *(uint64_t*)0x20001c90 = 0; *(uint64_t*)0x20001c98 = 0; *(uint64_t*)0x20001d50 = 0x20001cc0; *(uint64_t*)0x20001cc0 = 0; *(uint64_t*)0x20001cc8 = 0; *(uint64_t*)0x20001cd0 = 0; *(uint64_t*)0x20001cd8 = 0; *(uint64_t*)0x20001d58 = 0x20001d00; *(uint64_t*)0x20001d00 = 0; *(uint64_t*)0x20001d08 = 0; *(uint64_t*)0x20001d10 = 0; *(uint64_t*)0x20001d18 = 0; *(uint64_t*)0x20001da0 = 0; *(uint64_t*)0x20001da8 = 0; *(uint64_t*)0x20002148 = 0x20002100; *(uint64_t*)0x20002100 = 0x20001e40; *(uint64_t*)0x20001e40 = 0x20001e00; *(uint64_t*)0x20001e00 = 0; *(uint64_t*)0x20002108 = 0x20001e80; *(uint64_t*)0x20001e80 = 0; *(uint64_t*)0x20001e88 = 0; *(uint64_t*)0x20002110 = 0x20001fc0; *(uint64_t*)0x20001fc0 = 0x20001ec0; *(uint64_t*)0x20001ec0 = 0; *(uint64_t*)0x20001ec8 = 0; *(uint64_t*)0x20001ed0 = 0; *(uint64_t*)0x20001ed8 = 0; *(uint64_t*)0x20001fc8 = 0x20001f00; *(uint64_t*)0x20001f00 = 0; *(uint64_t*)0x20001f08 = 0; *(uint64_t*)0x20001f10 = 0; *(uint64_t*)0x20001f18 = 0; *(uint64_t*)0x20001fd0 = 0x20001f40; *(uint64_t*)0x20001f40 = 0; *(uint64_t*)0x20001f48 = 0; *(uint64_t*)0x20001f50 = 0; *(uint64_t*)0x20001f58 = 0; *(uint64_t*)0x20001fd8 = 0x20001f80; *(uint64_t*)0x20001f80 = 0; *(uint64_t*)0x20001f88 = 0; *(uint64_t*)0x20001f90 = 0; *(uint64_t*)0x20001f98 = 0; *(uint64_t*)0x20002118 = 0x200020c0; *(uint64_t*)0x200020c0 = 0x20002000; *(uint64_t*)0x20002000 = 0; *(uint64_t*)0x20002008 = 0; *(uint64_t*)0x20002010 = 0; *(uint64_t*)0x20002018 = 0; *(uint64_t*)0x200020c8 = 0; *(uint64_t*)0x200020d0 = 0x20002040; *(uint64_t*)0x20002040 = 0; *(uint64_t*)0x20002048 = 0; *(uint64_t*)0x20002050 = 0; *(uint64_t*)0x20002058 = 0; *(uint64_t*)0x200020d8 = 0x20002080; *(uint64_t*)0x20002080 = 0; *(uint64_t*)0x20002088 = 0; *(uint64_t*)0x20002090 = 0; *(uint64_t*)0x20002098 = 0; *(uint64_t*)0x20002120 = 0; *(uint64_t*)0x20002128 = 0; *(uint64_t*)0x20002790 = 0x20002280; *(uint64_t*)0x20002280 = 0x20002180; *(uint64_t*)0x20002180 = 0; *(uint64_t*)0x20002188 = 0; *(uint64_t*)0x20002190 = 0; *(uint64_t*)0x20002198 = 0; *(uint64_t*)0x20002288 = 0x200021c0; *(uint64_t*)0x200021c0 = 0; *(uint64_t*)0x200021c8 = 0; *(uint64_t*)0x200021d0 = 0; *(uint64_t*)0x200021d8 = 0; *(uint64_t*)0x20002290 = 0x20002200; *(uint64_t*)0x20002200 = 0; *(uint64_t*)0x20002208 = 0; *(uint64_t*)0x20002210 = 0; *(uint64_t*)0x20002218 = 0; *(uint64_t*)0x20002298 = 0x20002240; *(uint64_t*)0x20002240 = 0; *(uint64_t*)0x20002248 = 0; *(uint64_t*)0x20002250 = 0; *(uint64_t*)0x20002258 = 0; *(uint64_t*)0x20002798 = 0x200023c0; *(uint64_t*)0x200023c0 = 0x200022c0; *(uint64_t*)0x200022c0 = 0; *(uint64_t*)0x200022c8 = 0; *(uint64_t*)0x200022d0 = 0; *(uint64_t*)0x200022d8 = 0; *(uint64_t*)0x200023c8 = 0x20002300; *(uint64_t*)0x20002300 = 0; *(uint64_t*)0x20002308 = 0; *(uint64_t*)0x20002310 = 0; *(uint64_t*)0x20002318 = 0; *(uint64_t*)0x200023d0 = 0x20002340; *(uint64_t*)0x20002340 = 0; *(uint64_t*)0x20002348 = 0; *(uint64_t*)0x20002350 = 0; *(uint64_t*)0x20002358 = 0; *(uint64_t*)0x200023d8 = 0x20002380; *(uint64_t*)0x20002380 = 0; *(uint64_t*)0x20002388 = 0; *(uint64_t*)0x20002390 = 0; *(uint64_t*)0x20002398 = 0; *(uint64_t*)0x200027a0 = 0x200024c0; *(uint64_t*)0x200024c0 = 0x20002440; *(uint64_t*)0x20002440 = 0x20002400; *(uint64_t*)0x20002400 = 0; *(uint64_t*)0x200024c8 = 0x20002480; *(uint64_t*)0x20002480 = 0; *(uint64_t*)0x20002488 = 0; *(uint64_t*)0x200024d0 = 0; *(uint64_t*)0x200024d8 = 0; *(uint64_t*)0x200024e0 = 0; *(uint64_t*)0x200024e8 = 0; *(uint64_t*)0x200027a8 = 0x20002740; *(uint64_t*)0x20002740 = 0x20002540; *(uint64_t*)0x20002540 = 0x20002500; *(uint64_t*)0x20002500 = 0; *(uint64_t*)0x20002748 = 0x200025c0; *(uint64_t*)0x200025c0 = 0x20002580; *(uint64_t*)0x20002580 = 0; *(uint64_t*)0x20002588 = 0; *(uint64_t*)0x200025c8 = 0; *(uint64_t*)0x20002750 = 0; *(uint64_t*)0x20002758 = 0x20002700; *(uint64_t*)0x20002700 = 0x20002600; *(uint64_t*)0x20002600 = 0; *(uint64_t*)0x20002608 = 0; *(uint64_t*)0x20002610 = 0; *(uint64_t*)0x20002618 = 0; *(uint64_t*)0x20002708 = 0x20002640; *(uint64_t*)0x20002640 = 0; *(uint64_t*)0x20002648 = 0; *(uint64_t*)0x20002650 = 0; *(uint64_t*)0x20002658 = 0; *(uint64_t*)0x20002710 = 0x20002680; *(uint64_t*)0x20002680 = 0; *(uint64_t*)0x20002688 = 0; *(uint64_t*)0x20002690 = 0; *(uint64_t*)0x20002698 = 0; *(uint64_t*)0x20002718 = 0x200026c0; *(uint64_t*)0x200026c0 = 0; *(uint64_t*)0x200026c8 = 0; *(uint64_t*)0x200026d0 = 0; *(uint64_t*)0x200026d8 = 0; *(uint64_t*)0x20002760 = 0; *(uint64_t*)0x20002768 = 0; *(uint64_t*)0x20003468 = 0x20003400; *(uint64_t*)0x20003400 = 0x20002800; *(uint64_t*)0x20002800 = 0x200027c0; *(uint64_t*)0x200027c0 = 0; *(uint64_t*)0x20003408 = 0x20002b80; *(uint64_t*)0x20002b80 = 0x20002900; *(uint64_t*)0x20002900 = 0; *(uint64_t*)0x20002908 = 0x200028c0; *(uint64_t*)0x200028c0 = 0x20002880; *(uint64_t*)0x20002880 = 0x20002840; *(uint64_t*)0x20002840 = 0; *(uint64_t*)0x200028c8 = 0; *(uint64_t*)0x200028d0 = 0; *(uint64_t*)0x200028d8 = 0; *(uint64_t*)0x200028e0 = 0; *(uint64_t*)0x200028e8 = 0; *(uint64_t*)0x20002b88 = 0x20002b40; *(uint64_t*)0x20002b40 = 0x20002980; *(uint64_t*)0x20002980 = 0x20002940; *(uint64_t*)0x20002940 = 0; *(uint64_t*)0x20002b48 = 0x200029c0; *(uint64_t*)0x200029c0 = 0; *(uint64_t*)0x200029c8 = 0; *(uint64_t*)0x20002b50 = 0x20002b00; *(uint64_t*)0x20002b00 = 0x20002a00; *(uint64_t*)0x20002a00 = 0; *(uint64_t*)0x20002a08 = 0; *(uint64_t*)0x20002a10 = 0; *(uint64_t*)0x20002a18 = 0; *(uint64_t*)0x20002b08 = 0x20002a40; *(uint64_t*)0x20002a40 = 0; *(uint64_t*)0x20002a48 = 0; *(uint64_t*)0x20002a50 = 0; *(uint64_t*)0x20002a58 = 0; *(uint64_t*)0x20002b10 = 0x20002a80; *(uint64_t*)0x20002a80 = 0; *(uint64_t*)0x20002a88 = 0; *(uint64_t*)0x20002a90 = 0; *(uint64_t*)0x20002a98 = 0; *(uint64_t*)0x20002b18 = 0x20002ac0; *(uint64_t*)0x20002ac0 = 0; *(uint64_t*)0x20002ac8 = 0; *(uint64_t*)0x20002ad0 = 0; *(uint64_t*)0x20002ad8 = 0; *(uint64_t*)0x20002b58 = 0; *(uint64_t*)0x20002b60 = 0; *(uint64_t*)0x20002b68 = 0; *(uint64_t*)0x20003410 = 0x20002cc0; *(uint64_t*)0x20002cc0 = 0x20002bc0; *(uint64_t*)0x20002bc0 = 0; *(uint64_t*)0x20002bc8 = 0; *(uint64_t*)0x20002bd0 = 0; *(uint64_t*)0x20002bd8 = 0; *(uint64_t*)0x20002cc8 = 0x20002c00; *(uint64_t*)0x20002c00 = 0; *(uint64_t*)0x20002c08 = 0; *(uint64_t*)0x20002c10 = 0; *(uint64_t*)0x20002c18 = 0; *(uint64_t*)0x20002cd0 = 0x20002c40; *(uint64_t*)0x20002c40 = 0; *(uint64_t*)0x20002c48 = 0; *(uint64_t*)0x20002c50 = 0; *(uint64_t*)0x20002c58 = 0; *(uint64_t*)0x20002cd8 = 0x20002c80; *(uint64_t*)0x20002c80 = 0; *(uint64_t*)0x20002c88 = 0; *(uint64_t*)0x20002c90 = 0; *(uint64_t*)0x20002c98 = 0; *(uint64_t*)0x20003418 = 0x20002e00; *(uint64_t*)0x20002e00 = 0x20002d00; *(uint64_t*)0x20002d00 = 0; *(uint64_t*)0x20002d08 = 0; *(uint64_t*)0x20002d10 = 0; *(uint64_t*)0x20002d18 = 0; *(uint64_t*)0x20002e08 = 0x20002d40; *(uint64_t*)0x20002d40 = 0; *(uint64_t*)0x20002d48 = 0; *(uint64_t*)0x20002d50 = 0; *(uint64_t*)0x20002d58 = 0; *(uint64_t*)0x20002e10 = 0x20002d80; *(uint64_t*)0x20002d80 = 0; *(uint64_t*)0x20002d88 = 0; *(uint64_t*)0x20002d90 = 0; *(uint64_t*)0x20002d98 = 0; *(uint64_t*)0x20002e18 = 0x20002dc0; *(uint64_t*)0x20002dc0 = 0; *(uint64_t*)0x20002dc8 = 0; *(uint64_t*)0x20002dd0 = 0; *(uint64_t*)0x20002dd8 = 0; *(uint64_t*)0x20003420 = 0x20003180; *(uint64_t*)0x20003180 = 0x20002e80; *(uint64_t*)0x20002e80 = 0x20002e40; *(uint64_t*)0x20002e40 = 0; *(uint64_t*)0x20003188 = 0x20002f00; *(uint64_t*)0x20002f00 = 0x20002ec0; *(uint64_t*)0x20002ec0 = 0; *(uint64_t*)0x20002ec8 = 0; *(uint64_t*)0x20002f08 = 0; *(uint64_t*)0x20003190 = 0x20003000; *(uint64_t*)0x20003000 = 0; *(uint64_t*)0x20003008 = 0x20002f40; *(uint64_t*)0x20002f40 = 0; *(uint64_t*)0x20002f48 = 0; *(uint64_t*)0x20002f50 = 0; *(uint64_t*)0x20002f58 = 0; *(uint64_t*)0x20003010 = 0x20002f80; *(uint64_t*)0x20002f80 = 0; *(uint64_t*)0x20002f88 = 0; *(uint64_t*)0x20002f90 = 0; *(uint64_t*)0x20002f98 = 0; *(uint64_t*)0x20003018 = 0x20002fc0; *(uint64_t*)0x20002fc0 = 0; *(uint64_t*)0x20002fc8 = 0; *(uint64_t*)0x20002fd0 = 0; *(uint64_t*)0x20002fd8 = 0; *(uint64_t*)0x20003198 = 0x20003140; *(uint64_t*)0x20003140 = 0x20003040; *(uint64_t*)0x20003040 = 0; *(uint64_t*)0x20003048 = 0; *(uint64_t*)0x20003050 = 0; *(uint64_t*)0x20003058 = 0; *(uint64_t*)0x20003148 = 0x20003080; *(uint64_t*)0x20003080 = 0; *(uint64_t*)0x20003088 = 0; *(uint64_t*)0x20003090 = 0; *(uint64_t*)0x20003098 = 0; *(uint64_t*)0x20003150 = 0x200030c0; *(uint64_t*)0x200030c0 = 0; *(uint64_t*)0x200030c8 = 0; *(uint64_t*)0x200030d0 = 0; *(uint64_t*)0x200030d8 = 0; *(uint64_t*)0x20003158 = 0x20003100; *(uint64_t*)0x20003100 = 0; *(uint64_t*)0x20003108 = 0; *(uint64_t*)0x20003110 = 0; *(uint64_t*)0x20003118 = 0; *(uint64_t*)0x200031a0 = 0; *(uint64_t*)0x200031a8 = 0; *(uint64_t*)0x20003428 = 0x200033c0; *(uint64_t*)0x200033c0 = 0x20003200; *(uint64_t*)0x20003200 = 0x200031c0; *(uint64_t*)0x200031c0 = 0; *(uint64_t*)0x200033c8 = 0x20003240; *(uint64_t*)0x20003240 = 0; *(uint64_t*)0x20003248 = 0; *(uint64_t*)0x200033d0 = 0x20003380; *(uint64_t*)0x20003380 = 0x20003280; *(uint64_t*)0x20003280 = 0; *(uint64_t*)0x20003288 = 0; *(uint64_t*)0x20003290 = 0; *(uint64_t*)0x20003298 = 0; *(uint64_t*)0x20003388 = 0x200032c0; *(uint64_t*)0x200032c0 = 0; *(uint64_t*)0x200032c8 = 0; *(uint64_t*)0x200032d0 = 0; *(uint64_t*)0x200032d8 = 0; *(uint64_t*)0x20003390 = 0x20003300; *(uint64_t*)0x20003300 = 0; *(uint64_t*)0x20003308 = 0; *(uint64_t*)0x20003310 = 0; *(uint64_t*)0x20003318 = 0; *(uint64_t*)0x20003398 = 0x20003340; *(uint64_t*)0x20003340 = 0; *(uint64_t*)0x20003348 = 0; *(uint64_t*)0x20003350 = 0; *(uint64_t*)0x20003358 = 0; *(uint64_t*)0x200033d8 = 0; *(uint64_t*)0x200033e0 = 0; *(uint64_t*)0x200033e8 = 0; syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); { int i; for(i = 0; i < 4; i++) { syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); } } break; case 3: *(uint8_t*)0x20003480 = 0xcf; syscall(SYS_test, /*a=*/0x20003480ul, 0, 0, 0, 0, 0); break; case 4: syscall(SYS_test, 0, 0, 0, 0, 0, 0); break; case 5: *(uint64_t*)0x20004ac0 = 0x20003f40; *(uint64_t*)0x20003f40 = 0x200034c0; *(uint64_t*)0x200034c0 = 0; *(uint64_t*)0x200034c8 = 0; *(uint64_t*)0x20003f48 = 0x20003f00; *(uint64_t*)0x20003f00 = 0x20003540; *(uint64_t*)0x20003540 = 0x20003500; *(uint64_t*)0x20003500 = 0; *(uint64_t*)0x20003f08 = 0x200038c0; *(uint64_t*)0x200038c0 = 0; *(uint64_t*)0x200038c8 = 0x20003880; *(uint64_t*)0x20003880 = 0x200035c0; *(uint64_t*)0x200035c0 = 0x20003580; *(uint64_t*)0x20003580 = 0; *(uint64_t*)0x20003888 = 0; *(uint64_t*)0x20003890 = 0x20003700; *(uint64_t*)0x20003700 = 0x20003600; *(uint64_t*)0x20003600 = 0; *(uint64_t*)0x20003608 = 0; *(uint64_t*)0x20003610 = 0; *(uint64_t*)0x20003618 = 0; *(uint64_t*)0x20003708 = 0x20003640; *(uint64_t*)0x20003640 = 0; *(uint64_t*)0x20003648 = 0; *(uint64_t*)0x20003650 = 0; *(uint64_t*)0x20003658 = 0; *(uint64_t*)0x20003710 = 0x20003680; *(uint64_t*)0x20003680 = 0; *(uint64_t*)0x20003688 = 0; *(uint64_t*)0x20003690 = 0; *(uint64_t*)0x20003698 = 0; *(uint64_t*)0x20003718 = 0x200036c0; *(uint64_t*)0x200036c0 = 0; *(uint64_t*)0x200036c8 = 0; *(uint64_t*)0x200036d0 = 0; *(uint64_t*)0x200036d8 = 0; *(uint64_t*)0x20003898 = 0x20003840; *(uint64_t*)0x20003840 = 0x20003740; *(uint64_t*)0x20003740 = 0; *(uint64_t*)0x20003748 = 0; *(uint64_t*)0x20003750 = 0; *(uint64_t*)0x20003758 = 0; *(uint64_t*)0x20003848 = 0x20003780; *(uint64_t*)0x20003780 = 0; *(uint64_t*)0x20003788 = 0; *(uint64_t*)0x20003790 = 0; *(uint64_t*)0x20003798 = 0; *(uint64_t*)0x20003850 = 0x200037c0; *(uint64_t*)0x200037c0 = 0; *(uint64_t*)0x200037c8 = 0; *(uint64_t*)0x200037d0 = 0; *(uint64_t*)0x200037d8 = 0; *(uint64_t*)0x20003858 = 0x20003800; *(uint64_t*)0x20003800 = 0; *(uint64_t*)0x20003808 = 0; *(uint64_t*)0x20003810 = 0; *(uint64_t*)0x20003818 = 0; *(uint64_t*)0x200038a0 = 0; *(uint64_t*)0x200038a8 = 0; *(uint64_t*)0x20003f10 = 0x200039c0; *(uint64_t*)0x200039c0 = 0; *(uint64_t*)0x200039c8 = 0x20003900; *(uint64_t*)0x20003900 = 0; *(uint64_t*)0x20003908 = 0; *(uint64_t*)0x20003910 = 0; *(uint64_t*)0x20003918 = 0; *(uint64_t*)0x200039d0 = 0x20003940; *(uint64_t*)0x20003940 = 0; *(uint64_t*)0x20003948 = 0; *(uint64_t*)0x20003950 = 0; *(uint64_t*)0x20003958 = 0; *(uint64_t*)0x200039d8 = 0x20003980; *(uint64_t*)0x20003980 = 0; *(uint64_t*)0x20003988 = 0; *(uint64_t*)0x20003990 = 0; *(uint64_t*)0x20003998 = 0; *(uint64_t*)0x20003f18 = 0x20003ac0; *(uint64_t*)0x20003ac0 = 0x20003a00; *(uint64_t*)0x20003a00 = 0; *(uint64_t*)0x20003a08 = 0; *(uint64_t*)0x20003a10 = 0; *(uint64_t*)0x20003a18 = 0; *(uint64_t*)0x20003ac8 = 0x20003a40; *(uint64_t*)0x20003a40 = 0; *(uint64_t*)0x20003a48 = 0; *(uint64_t*)0x20003a50 = 0; *(uint64_t*)0x20003a58 = 0; *(uint64_t*)0x20003ad0 = 0x20003a80; *(uint64_t*)0x20003a80 = 0; *(uint64_t*)0x20003a88 = 0; *(uint64_t*)0x20003a90 = 0; *(uint64_t*)0x20003a98 = 0; *(uint64_t*)0x20003ad8 = 0; *(uint64_t*)0x20003f20 = 0x20003d80; *(uint64_t*)0x20003d80 = 0x20003b40; *(uint64_t*)0x20003b40 = 0x20003b00; *(uint64_t*)0x20003b00 = 0; *(uint64_t*)0x20003d88 = 0x20003b80; *(uint64_t*)0x20003b80 = 0; *(uint64_t*)0x20003b88 = 0; *(uint64_t*)0x20003d90 = 0x20003c40; *(uint64_t*)0x20003c40 = 0; *(uint64_t*)0x20003c48 = 0; *(uint64_t*)0x20003c50 = 0x20003bc0; *(uint64_t*)0x20003bc0 = 0; *(uint64_t*)0x20003bc8 = 0; *(uint64_t*)0x20003bd0 = 0; *(uint64_t*)0x20003bd8 = 0; *(uint64_t*)0x20003c58 = 0x20003c00; *(uint64_t*)0x20003c00 = 0; *(uint64_t*)0x20003c08 = 0; *(uint64_t*)0x20003c10 = 0; *(uint64_t*)0x20003c18 = 0; *(uint64_t*)0x20003d98 = 0x20003d40; *(uint64_t*)0x20003d40 = 0x20003c80; *(uint64_t*)0x20003c80 = 0; *(uint64_t*)0x20003c88 = 0; *(uint64_t*)0x20003c90 = 0; *(uint64_t*)0x20003c98 = 0; *(uint64_t*)0x20003d48 = 0x20003cc0; *(uint64_t*)0x20003cc0 = 0; *(uint64_t*)0x20003cc8 = 0; *(uint64_t*)0x20003cd0 = 0; *(uint64_t*)0x20003cd8 = 0; *(uint64_t*)0x20003d50 = 0x20003d00; *(uint64_t*)0x20003d00 = 0; *(uint64_t*)0x20003d08 = 0; *(uint64_t*)0x20003d10 = 0; *(uint64_t*)0x20003d18 = 0; *(uint64_t*)0x20003d58 = 0; *(uint64_t*)0x20003da0 = 0; *(uint64_t*)0x20003da8 = 0; *(uint64_t*)0x20003f28 = 0x20003ec0; *(uint64_t*)0x20003ec0 = 0; *(uint64_t*)0x20003ec8 = 0x20003dc0; *(uint64_t*)0x20003dc0 = 0; *(uint64_t*)0x20003dc8 = 0; *(uint64_t*)0x20003ed0 = 0; *(uint64_t*)0x20003ed8 = 0x20003e80; *(uint64_t*)0x20003e80 = 0; *(uint64_t*)0x20003e88 = 0; *(uint64_t*)0x20003e90 = 0x20003e00; *(uint64_t*)0x20003e00 = 0; *(uint64_t*)0x20003e08 = 0; *(uint64_t*)0x20003e10 = 0; *(uint64_t*)0x20003e18 = 0; *(uint64_t*)0x20003e98 = 0x20003e40; *(uint64_t*)0x20003e40 = 0; *(uint64_t*)0x20003e48 = 0; *(uint64_t*)0x20003e50 = 0; *(uint64_t*)0x20003e58 = 0; *(uint64_t*)0x20003ee0 = 0; *(uint64_t*)0x20003ee8 = 0; *(uint64_t*)0x20004ac8 = 0x20004a80; *(uint64_t*)0x20004a80 = 0x20003fc0; *(uint64_t*)0x20003fc0 = 0x20003f80; *(uint64_t*)0x20003f80 = 0; *(uint64_t*)0x20004a88 = 0x20004280; *(uint64_t*)0x20004280 = 0x20004000; *(uint64_t*)0x20004000 = 0; *(uint64_t*)0x20004008 = 0; *(uint64_t*)0x20004288 = 0x20004240; *(uint64_t*)0x20004240 = 0; *(uint64_t*)0x20004248 = 0x20004040; *(uint64_t*)0x20004040 = 0; *(uint64_t*)0x20004048 = 0; *(uint64_t*)0x20004250 = 0x20004100; *(uint64_t*)0x20004100 = 0x20004080; *(uint64_t*)0x20004080 = 0; *(uint64_t*)0x20004088 = 0; *(uint64_t*)0x20004090 = 0; *(uint64_t*)0x20004098 = 0; *(uint64_t*)0x20004108 = 0; *(uint64_t*)0x20004110 = 0x200040c0; *(uint64_t*)0x200040c0 = 0; *(uint64_t*)0x200040c8 = 0; *(uint64_t*)0x200040d0 = 0; *(uint64_t*)0x200040d8 = 0; *(uint64_t*)0x20004118 = 0; *(uint64_t*)0x20004258 = 0x20004200; *(uint64_t*)0x20004200 = 0x20004140; *(uint64_t*)0x20004140 = 0; *(uint64_t*)0x20004148 = 0; *(uint64_t*)0x20004150 = 0; *(uint64_t*)0x20004158 = 0; *(uint64_t*)0x20004208 = 0x20004180; *(uint64_t*)0x20004180 = 0; *(uint64_t*)0x20004188 = 0; *(uint64_t*)0x20004190 = 0; *(uint64_t*)0x20004198 = 0; *(uint64_t*)0x20004210 = 0x200041c0; *(uint64_t*)0x200041c0 = 0; *(uint64_t*)0x200041c8 = 0; *(uint64_t*)0x200041d0 = 0; *(uint64_t*)0x200041d8 = 0; *(uint64_t*)0x20004218 = 0; *(uint64_t*)0x20004260 = 0; *(uint64_t*)0x20004268 = 0; *(uint64_t*)0x20004a90 = 0x200043c0; *(uint64_t*)0x200043c0 = 0x200042c0; *(uint64_t*)0x200042c0 = 0; *(uint64_t*)0x200042c8 = 0; *(uint64_t*)0x200042d0 = 0; *(uint64_t*)0x200042d8 = 0; *(uint64_t*)0x200043c8 = 0x20004300; *(uint64_t*)0x20004300 = 0; *(uint64_t*)0x20004308 = 0; *(uint64_t*)0x20004310 = 0; *(uint64_t*)0x20004318 = 0; *(uint64_t*)0x200043d0 = 0x20004340; *(uint64_t*)0x20004340 = 0; *(uint64_t*)0x20004348 = 0; *(uint64_t*)0x20004350 = 0; *(uint64_t*)0x20004358 = 0; *(uint64_t*)0x200043d8 = 0x20004380; *(uint64_t*)0x20004380 = 0; *(uint64_t*)0x20004388 = 0; *(uint64_t*)0x20004390 = 0; *(uint64_t*)0x20004398 = 0; *(uint64_t*)0x20004a98 = 0x20004500; *(uint64_t*)0x20004500 = 0x20004400; *(uint64_t*)0x20004400 = 0; *(uint64_t*)0x20004408 = 0; *(uint64_t*)0x20004410 = 0; *(uint64_t*)0x20004418 = 0; *(uint64_t*)0x20004508 = 0x20004440; *(uint64_t*)0x20004440 = 0; *(uint64_t*)0x20004448 = 0; *(uint64_t*)0x20004450 = 0; *(uint64_t*)0x20004458 = 0; *(uint64_t*)0x20004510 = 0x20004480; *(uint64_t*)0x20004480 = 0; *(uint64_t*)0x20004488 = 0; *(uint64_t*)0x20004490 = 0; *(uint64_t*)0x20004498 = 0; *(uint64_t*)0x20004518 = 0x200044c0; *(uint64_t*)0x200044c0 = 0; *(uint64_t*)0x200044c8 = 0; *(uint64_t*)0x200044d0 = 0; *(uint64_t*)0x200044d8 = 0; *(uint64_t*)0x20004aa0 = 0x20004800; *(uint64_t*)0x20004800 = 0x20004580; *(uint64_t*)0x20004580 = 0x20004540; *(uint64_t*)0x20004540 = 0; *(uint64_t*)0x20004808 = 0x20004600; *(uint64_t*)0x20004600 = 0x200045c0; *(uint64_t*)0x200045c0 = 0; *(uint64_t*)0x200045c8 = 0; *(uint64_t*)0x20004608 = 0; *(uint64_t*)0x20004810 = 0x200046c0; *(uint64_t*)0x200046c0 = 0x20004640; *(uint64_t*)0x20004640 = 0; *(uint64_t*)0x20004648 = 0; *(uint64_t*)0x20004650 = 0; *(uint64_t*)0x20004658 = 0; *(uint64_t*)0x200046c8 = 0; *(uint64_t*)0x200046d0 = 0x20004680; *(uint64_t*)0x20004680 = 0; *(uint64_t*)0x20004688 = 0; *(uint64_t*)0x20004690 = 0; *(uint64_t*)0x20004698 = 0; *(uint64_t*)0x200046d8 = 0; *(uint64_t*)0x20004818 = 0x200047c0; *(uint64_t*)0x200047c0 = 0; *(uint64_t*)0x200047c8 = 0x20004700; *(uint64_t*)0x20004700 = 0; *(uint64_t*)0x20004708 = 0; *(uint64_t*)0x20004710 = 0; *(uint64_t*)0x20004718 = 0; *(uint64_t*)0x200047d0 = 0x20004740; *(uint64_t*)0x20004740 = 0; *(uint64_t*)0x20004748 = 0; *(uint64_t*)0x20004750 = 0; *(uint64_t*)0x20004758 = 0; *(uint64_t*)0x200047d8 = 0x20004780; *(uint64_t*)0x20004780 = 0; *(uint64_t*)0x20004788 = 0; *(uint64_t*)0x20004790 = 0; *(uint64_t*)0x20004798 = 0; *(uint64_t*)0x20004820 = 0; *(uint64_t*)0x20004828 = 0; *(uint64_t*)0x20004aa8 = 0x20004a40; *(uint64_t*)0x20004a40 = 0x20004880; *(uint64_t*)0x20004880 = 0x20004840; *(uint64_t*)0x20004840 = 0; *(uint64_t*)0x20004a48 = 0x20004900; *(uint64_t*)0x20004900 = 0x200048c0; *(uint64_t*)0x200048c0 = 0; *(uint64_t*)0x200048c8 = 0; *(uint64_t*)0x20004908 = 0; *(uint64_t*)0x20004a50 = 0x20004a00; *(uint64_t*)0x20004a00 = 0x20004940; *(uint64_t*)0x20004940 = 0; *(uint64_t*)0x20004948 = 0; *(uint64_t*)0x20004950 = 0; *(uint64_t*)0x20004958 = 0; *(uint64_t*)0x20004a08 = 0; *(uint64_t*)0x20004a10 = 0x20004980; *(uint64_t*)0x20004980 = 0; *(uint64_t*)0x20004988 = 0; *(uint64_t*)0x20004990 = 0; *(uint64_t*)0x20004998 = 0; *(uint64_t*)0x20004a18 = 0x200049c0; *(uint64_t*)0x200049c0 = 0; *(uint64_t*)0x200049c8 = 0; *(uint64_t*)0x200049d0 = 0; *(uint64_t*)0x200049d8 = 0; *(uint64_t*)0x20004a58 = 0; *(uint64_t*)0x20004a60 = 0; *(uint64_t*)0x20004a68 = 0; syscall(SYS_test, /*a0=*/0x20004ac0ul, 0, 0, 0, 0, 0); break; case 6: *(uint8_t*)0x20004b00 = 4; *(uint16_t*)0x20004b01 = 5; *(uint16_t*)0x20004b03 = 0x400; *(uint64_t*)0x20004b05 = 0xcf; syscall(SYS_test, /*a0=*/0x20004b00ul, 0, 0, 0, 0, 0); break; case 7: sprintf((char*)0x20004b40, "0x%016llx", (long long)0); syscall(SYS_foo, /*a=*/0x20004b40ul, 0, 0); break; case 8: *(uint8_t*)0x20004b80 = 5; syscall(SYS_test, /*a=*/0x20004b80ul, 0, 0, 0, 0, 0); break; case 9: *(uint64_t*)0x20004bc0 = 0x1000; syscall(SYS_test, /*a0=*/0x20004bc0ul, 0, 0, 0, 0, 0); break; case 10: memcpy((void*)0x20000000, "-\000", 2); *(uint8_t*)0x20000040 = 0xc0; *(uint16_t*)0x20000044 = 0; STORE_BY_BITMASK(uint32_t, , 0x20000044, 0x24b, 16, 12); STORE_BY_BITMASK(uint32_t, , 0x20000048, 0x380, 0, 12); syz_compare(/*want=*/0x20000000, /*want_len=*/2, /*got=*/0x20000040, /*got_len=*/0xc); break; case 11: syz_compare_int(/*n=*/2, /*v0=*/0xb584, /*v1=*/5, 0, 0); break; case 12: syz_errno(/*v=*/4); break; case 13: memcpy((void*)0x20000080, "\x68\x5d\xce\x50\x3a\x1d\x0b\x65\x7c\x26\x0c\x9d\x19\x4b\x3f\x80\x96\x20\xfd\xde\x60\xc9\x72\xd0\x38\x09\x53\x6f\x2c\xe0\x02\x02\x78\x7c\x45\xc6\x51\xd1\xfc\xe2\x48\x7a\x3d\x34\xca\xac\x04\x9f\xee\x28", 50); syz_execute_func(/*text=*/0x20000080); break; case 14: syz_exit(/*status=*/4); break; case 15: syz_mmap(/*addr=*/0x20ffe000, /*len=*/0x2000); break; case 16: syz_sleep_ms(/*ms=*/0xfff); break; case 17: syz_test_fuzzer1(/*a=*/6, /*b=*/2, /*c=*/0xb); break; } } int main(void) { syz_mmap(/*addr=*/0x20000000, /*len=*/0x1000000); setup_fault(); use_temporary_dir(); do_sandbox_none(); return 0; } :467:3: error: call to undeclared function 'syscall'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); ^ 1 error generated. compiler invocation: c++ [-o /tmp/syz-executor2863302423 -DGOOS_test=1 -DGOARCH_64=1 -DHOSTGOOS_openbsd=1 -x c - -m64 -lutil -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-array-bounds -Wno-unused-but-set-variable -Wno-unused-command-line-argument -no-pie -fno-exceptions] --- FAIL: TestGenerate/test/64/7 (1.28s) csource_test.go:150: opts: {Threaded:true Repeat:true RepeatTimes:0 Procs:0 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:false Repro:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: test$recur2(&(0x7f0000000ac0)={0x0, 0x0, &(0x7f0000000100)={&(0x7f0000000000), &(0x7f0000000040), &(0x7f0000000080), &(0x7f00000000c0)}, 0x0, &(0x7f0000000a80)={&(0x7f0000000180)={&(0x7f0000000140)}, &(0x7f00000007c0)={&(0x7f00000004c0)={0x0, &(0x7f0000000480)={&(0x7f0000000200)={&(0x7f00000001c0)}, 0x0, &(0x7f0000000300)={0x0, &(0x7f0000000240), &(0x7f0000000280), &(0x7f00000002c0)}, &(0x7f0000000440)={&(0x7f0000000340), &(0x7f0000000380), &(0x7f00000003c0), &(0x7f0000000400)}}}, &(0x7f0000000780)={&(0x7f0000000500), 0x0, &(0x7f0000000600)={&(0x7f0000000540), &(0x7f0000000580), &(0x7f00000005c0)}, &(0x7f0000000740)={&(0x7f0000000640), &(0x7f0000000680), &(0x7f00000006c0), &(0x7f0000000700)}}}, 0x0, &(0x7f00000008c0)={0x0, &(0x7f0000000800), &(0x7f0000000840), &(0x7f0000000880)}, 0x0, &(0x7f0000000a40)={0x0, &(0x7f0000000940)={&(0x7f0000000900)}, 0x0, &(0x7f0000000a00)={0x0, &(0x7f0000000980), &(0x7f00000009c0)}}}}) (fail_nth: 1) test$recur0(&(0x7f0000000b80)={&(0x7f0000000b40)={&(0x7f0000000b00)}}) (async) test$recur2(&(0x7f0000003440)={&(0x7f0000000c00)={&(0x7f0000000bc0)}, &(0x7f0000001800)={&(0x7f00000011c0)={0x0, &(0x7f0000001180)={&(0x7f0000000c80)={&(0x7f0000000c40)}, 0x0, &(0x7f0000000d80)={&(0x7f0000000cc0), &(0x7f0000000d00), 0x0, &(0x7f0000000d40)}, &(0x7f0000000e80)={0x0, &(0x7f0000000dc0), &(0x7f0000000e00), &(0x7f0000000e40)}, &(0x7f0000001140)={&(0x7f0000000f00)={&(0x7f0000000ec0)}, 0x0, &(0x7f0000001000)={&(0x7f0000000f40), 0x0, &(0x7f0000000f80), &(0x7f0000000fc0)}, &(0x7f0000001100)={&(0x7f0000001040), &(0x7f0000001080), 0x0, &(0x7f00000010c0)}}}}, &(0x7f00000017c0)={&(0x7f0000001240)={&(0x7f0000001200)}, 0x0, &(0x7f0000001340)={&(0x7f0000001280), &(0x7f00000012c0), 0x0, &(0x7f0000001300)}, &(0x7f0000001480)={&(0x7f0000001380), &(0x7f00000013c0), &(0x7f0000001400), &(0x7f0000001440)}, &(0x7f0000001780)={&(0x7f0000001500)={&(0x7f00000014c0)}, 0x0, &(0x7f0000001640)={&(0x7f0000001540), &(0x7f0000001580), &(0x7f00000015c0), &(0x7f0000001600)}, &(0x7f0000001740)={0x0, &(0x7f0000001680), &(0x7f00000016c0), &(0x7f0000001700)}}}}, &(0x7f0000001940)={&(0x7f0000001840), &(0x7f0000001880), &(0x7f00000018c0), &(0x7f0000001900)}, &(0x7f0000001a40)={&(0x7f0000001980), 0x0, &(0x7f00000019c0), &(0x7f0000001a00)}, &(0x7f0000002780)={&(0x7f0000001ac0)={&(0x7f0000001a80)}, &(0x7f0000002140)={&(0x7f0000001dc0)={0x0, &(0x7f0000001d80)={&(0x7f0000001b00), 0x0, &(0x7f0000001c00)={&(0x7f0000001b40), 0x0, &(0x7f0000001b80), &(0x7f0000001bc0)}, &(0x7f0000001d40)={&(0x7f0000001c40), &(0x7f0000001c80), &(0x7f0000001cc0), &(0x7f0000001d00)}}}, &(0x7f0000002100)={&(0x7f0000001e40)={&(0x7f0000001e00)}, &(0x7f0000001e80), &(0x7f0000001fc0)={&(0x7f0000001ec0), &(0x7f0000001f00), &(0x7f0000001f40), &(0x7f0000001f80)}, &(0x7f00000020c0)={&(0x7f0000002000), 0x0, &(0x7f0000002040), &(0x7f0000002080)}}}, &(0x7f0000002280)={&(0x7f0000002180), &(0x7f00000021c0), &(0x7f0000002200), &(0x7f0000002240)}, &(0x7f00000023c0)={&(0x7f00000022c0), &(0x7f0000002300), &(0x7f0000002340), &(0x7f0000002380)}, &(0x7f00000024c0)={&(0x7f0000002440)={&(0x7f0000002400)}, &(0x7f0000002480)}, &(0x7f0000002740)={&(0x7f0000002540)={&(0x7f0000002500)}, &(0x7f00000025c0)={&(0x7f0000002580)}, 0x0, &(0x7f0000002700)={&(0x7f0000002600), &(0x7f0000002640), &(0x7f0000002680), &(0x7f00000026c0)}}}, &(0x7f0000003400)={&(0x7f0000002800)={&(0x7f00000027c0)}, &(0x7f0000002b80)={&(0x7f0000002900)={0x0, &(0x7f00000028c0)={&(0x7f0000002880)={&(0x7f0000002840)}}}, &(0x7f0000002b40)={&(0x7f0000002980)={&(0x7f0000002940)}, &(0x7f00000029c0), &(0x7f0000002b00)={&(0x7f0000002a00), &(0x7f0000002a40), &(0x7f0000002a80), &(0x7f0000002ac0)}}}, &(0x7f0000002cc0)={&(0x7f0000002bc0), &(0x7f0000002c00), &(0x7f0000002c40), &(0x7f0000002c80)}, &(0x7f0000002e00)={&(0x7f0000002d00), &(0x7f0000002d40), &(0x7f0000002d80), &(0x7f0000002dc0)}, &(0x7f0000003180)={&(0x7f0000002e80)={&(0x7f0000002e40)}, &(0x7f0000002f00)={&(0x7f0000002ec0)}, &(0x7f0000003000)={0x0, &(0x7f0000002f40), &(0x7f0000002f80), &(0x7f0000002fc0)}, &(0x7f0000003140)={&(0x7f0000003040), &(0x7f0000003080), &(0x7f00000030c0), &(0x7f0000003100)}}, &(0x7f00000033c0)={&(0x7f0000003200)={&(0x7f00000031c0)}, &(0x7f0000003240), &(0x7f0000003380)={&(0x7f0000003280), &(0x7f00000032c0), &(0x7f0000003300), &(0x7f0000003340)}}}}) (rerun: 4) test$use_cond_resource(&(0x7f0000003480)={0xcf}) test$create_cond_resource() test$recur1(&(0x7f0000004ac0)={&(0x7f0000003f40)={&(0x7f00000034c0), &(0x7f0000003f00)={&(0x7f0000003540)={&(0x7f0000003500)}, &(0x7f00000038c0)={0x0, &(0x7f0000003880)={&(0x7f00000035c0)={&(0x7f0000003580)}, 0x0, &(0x7f0000003700)={&(0x7f0000003600), &(0x7f0000003640), &(0x7f0000003680), &(0x7f00000036c0)}, &(0x7f0000003840)={&(0x7f0000003740), &(0x7f0000003780), &(0x7f00000037c0), &(0x7f0000003800)}}}, &(0x7f00000039c0)={0x0, &(0x7f0000003900), &(0x7f0000003940), &(0x7f0000003980)}, &(0x7f0000003ac0)={&(0x7f0000003a00), &(0x7f0000003a40), &(0x7f0000003a80)}, &(0x7f0000003d80)={&(0x7f0000003b40)={&(0x7f0000003b00)}, &(0x7f0000003b80), &(0x7f0000003c40)={0x0, 0x0, &(0x7f0000003bc0), &(0x7f0000003c00)}, &(0x7f0000003d40)={&(0x7f0000003c80), &(0x7f0000003cc0), &(0x7f0000003d00)}}, &(0x7f0000003ec0)={0x0, &(0x7f0000003dc0), 0x0, &(0x7f0000003e80)={0x0, 0x0, &(0x7f0000003e00), &(0x7f0000003e40)}}}}, &(0x7f0000004a80)={&(0x7f0000003fc0)={&(0x7f0000003f80)}, &(0x7f0000004280)={&(0x7f0000004000), &(0x7f0000004240)={0x0, &(0x7f0000004040), &(0x7f0000004100)={&(0x7f0000004080), 0x0, &(0x7f00000040c0)}, &(0x7f0000004200)={&(0x7f0000004140), &(0x7f0000004180), &(0x7f00000041c0)}}}, &(0x7f00000043c0)={&(0x7f00000042c0), &(0x7f0000004300), &(0x7f0000004340), &(0x7f0000004380)}, &(0x7f0000004500)={&(0x7f0000004400), &(0x7f0000004440), &(0x7f0000004480), &(0x7f00000044c0)}, &(0x7f0000004800)={&(0x7f0000004580)={&(0x7f0000004540)}, &(0x7f0000004600)={&(0x7f00000045c0)}, &(0x7f00000046c0)={&(0x7f0000004640), 0x0, &(0x7f0000004680)}, &(0x7f00000047c0)={0x0, &(0x7f0000004700), &(0x7f0000004740), &(0x7f0000004780)}}, &(0x7f0000004a40)={&(0x7f0000004880)={&(0x7f0000004840)}, &(0x7f0000004900)={&(0x7f00000048c0)}, &(0x7f0000004a00)={&(0x7f0000004940), 0x0, &(0x7f0000004980), &(0x7f00000049c0)}}}}) test$array0(&(0x7f0000004b00)={0x4, [@f0=0x5, @f0=0x400], 0xcf}) foo$fmt1(&(0x7f0000004b40)) test$use_cond_resource(&(0x7f0000004b80)={0x5}) test$opt1(&(0x7f0000004bc0)=0x1000) syz_compare(&(0x7f0000000000)='-\x00', 0x2, &(0x7f0000000040)=@bf13={0xc0, {0x0, 0x24b, 0x380}}, 0xc) syz_compare_int$2(0x2, 0xb584, 0x5) syz_errno(0x4) syz_execute_func(&(0x7f0000000080)="685dce503a1d0b657c260c9d194b3f809620fdde60c972d03809536f2ce00202787c45c651d1fce2487a3d34caac049fee28") syz_exit(0x4) syz_mmap(&(0x7f0000ffe000/0x2000)=nil, 0x2000) syz_sleep_ms(0xfff) syz_test_fuzzer1(0x6, 0x2, 0xb) csource_test.go:151: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #ifndef SYS_foo #define SYS_foo 0 #endif #ifndef SYS_test #define SYS_test 0 #endif static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } static int inject_fault(int nth) { return 0; } static void setup_fault() { } static void thread_start(void* (*fn)(void*), void* arg) { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 128 << 10); int i = 0; for (; i < 100; i++) { if (pthread_create(&th, &attr, fn, arg) == 0) { pthread_attr_destroy(&attr); return; } if (errno == EAGAIN) { usleep(50); continue; } break; } exit(1); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); 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) exit(1); 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_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #define BITMASK(bf_off,bf_len) (((1ull << (bf_len)) - 1) << (bf_off)) #define STORE_BY_BITMASK(type,htobe,addr,val,bf_off,bf_len) *(type*)(addr) = htobe((htobe(*(type*)(addr)) & ~BITMASK((bf_off), (bf_len))) | (((type)(val) << (bf_off)) & BITMASK((bf_off), (bf_len)))) static long syz_mmap(volatile long a0, volatile long a1) { return (long)mmap((void*)a0, a1, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0); } static long syz_errno(volatile long v) { errno = v; return v == 0 ? 0 : -1; } static long syz_exit(volatile long status) { _exit(status); return 0; } static long syz_sleep_ms(volatile long ms) { sleep_ms(ms); return 0; } static long syz_compare(volatile long want, volatile long want_len, volatile long got, volatile long got_len) { if (want_len != got_len) { errno = EBADF; goto error; } if (memcmp((void*)want, (void*)got, want_len)) { errno = EINVAL; goto error; } return 0; error: return -1; } static long syz_compare_int(volatile long n, ...) { va_list args; va_start(args, n); long v0 = va_arg(args, long); long v1 = va_arg(args, long); long v2 = va_arg(args, long); long v3 = va_arg(args, long); va_end(args); if (n < 2 || n > 4) return errno = E2BIG, -1; if (n <= 2 && v2 != 0) return errno = EFAULT, -1; if (n <= 3 && v3 != 0) return errno = EFAULT, -1; if (v0 != v1) return errno = EINVAL, -1; if (n > 2 && v0 != v2) return errno = EINVAL, -1; if (n > 3 && v0 != v3) return errno = EINVAL, -1; return 0; } static void fake_crash(const char* name) { exit(1); exit(1); } static long syz_test_fuzzer1(volatile long a, volatile long b, volatile long c) { if (a == 1 && b == 1 && c == 1) fake_crash("first bug"); if (a == 1 && b == 2 && c == 3) fake_crash("second bug"); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } 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; 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_one(void) { int i, call, thread; for (call = 0; call < 18; call++) { for (thread = 0; thread < (int)(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 (call == 1) break; event_timedwait(&th->done, 50); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); static void loop(void) { execute_one(); } void execute_call(int call) { switch (call) { case 0: *(uint64_t*)0x20000ac0 = 0; *(uint64_t*)0x20000ac8 = 0; *(uint64_t*)0x20000ad0 = 0x20000100; *(uint64_t*)0x20000100 = 0x20000000; *(uint64_t*)0x20000000 = 0; *(uint64_t*)0x20000008 = 0; *(uint64_t*)0x20000010 = 0; *(uint64_t*)0x20000018 = 0; *(uint64_t*)0x20000108 = 0x20000040; *(uint64_t*)0x20000040 = 0; *(uint64_t*)0x20000048 = 0; *(uint64_t*)0x20000050 = 0; *(uint64_t*)0x20000058 = 0; *(uint64_t*)0x20000110 = 0x20000080; *(uint64_t*)0x20000080 = 0; *(uint64_t*)0x20000088 = 0; *(uint64_t*)0x20000090 = 0; *(uint64_t*)0x20000098 = 0; *(uint64_t*)0x20000118 = 0x200000c0; *(uint64_t*)0x200000c0 = 0; *(uint64_t*)0x200000c8 = 0; *(uint64_t*)0x200000d0 = 0; *(uint64_t*)0x200000d8 = 0; *(uint64_t*)0x20000ad8 = 0; *(uint64_t*)0x20000ae0 = 0x20000a80; *(uint64_t*)0x20000a80 = 0x20000180; *(uint64_t*)0x20000180 = 0x20000140; *(uint64_t*)0x20000140 = 0; *(uint64_t*)0x20000a88 = 0x200007c0; *(uint64_t*)0x200007c0 = 0x200004c0; *(uint64_t*)0x200004c0 = 0; *(uint64_t*)0x200004c8 = 0x20000480; *(uint64_t*)0x20000480 = 0x20000200; *(uint64_t*)0x20000200 = 0x200001c0; *(uint64_t*)0x200001c0 = 0; *(uint64_t*)0x20000488 = 0; *(uint64_t*)0x20000490 = 0x20000300; *(uint64_t*)0x20000300 = 0; *(uint64_t*)0x20000308 = 0x20000240; *(uint64_t*)0x20000240 = 0; *(uint64_t*)0x20000248 = 0; *(uint64_t*)0x20000250 = 0; *(uint64_t*)0x20000258 = 0; *(uint64_t*)0x20000310 = 0x20000280; *(uint64_t*)0x20000280 = 0; *(uint64_t*)0x20000288 = 0; *(uint64_t*)0x20000290 = 0; *(uint64_t*)0x20000298 = 0; *(uint64_t*)0x20000318 = 0x200002c0; *(uint64_t*)0x200002c0 = 0; *(uint64_t*)0x200002c8 = 0; *(uint64_t*)0x200002d0 = 0; *(uint64_t*)0x200002d8 = 0; *(uint64_t*)0x20000498 = 0x20000440; *(uint64_t*)0x20000440 = 0x20000340; *(uint64_t*)0x20000340 = 0; *(uint64_t*)0x20000348 = 0; *(uint64_t*)0x20000350 = 0; *(uint64_t*)0x20000358 = 0; *(uint64_t*)0x20000448 = 0x20000380; *(uint64_t*)0x20000380 = 0; *(uint64_t*)0x20000388 = 0; *(uint64_t*)0x20000390 = 0; *(uint64_t*)0x20000398 = 0; *(uint64_t*)0x20000450 = 0x200003c0; *(uint64_t*)0x200003c0 = 0; *(uint64_t*)0x200003c8 = 0; *(uint64_t*)0x200003d0 = 0; *(uint64_t*)0x200003d8 = 0; *(uint64_t*)0x20000458 = 0x20000400; *(uint64_t*)0x20000400 = 0; *(uint64_t*)0x20000408 = 0; *(uint64_t*)0x20000410 = 0; *(uint64_t*)0x20000418 = 0; *(uint64_t*)0x200004a0 = 0; *(uint64_t*)0x200004a8 = 0; *(uint64_t*)0x200007c8 = 0x20000780; *(uint64_t*)0x20000780 = 0x20000500; *(uint64_t*)0x20000500 = 0; *(uint64_t*)0x20000788 = 0; *(uint64_t*)0x20000790 = 0x20000600; *(uint64_t*)0x20000600 = 0x20000540; *(uint64_t*)0x20000540 = 0; *(uint64_t*)0x20000548 = 0; *(uint64_t*)0x20000550 = 0; *(uint64_t*)0x20000558 = 0; *(uint64_t*)0x20000608 = 0x20000580; *(uint64_t*)0x20000580 = 0; *(uint64_t*)0x20000588 = 0; *(uint64_t*)0x20000590 = 0; *(uint64_t*)0x20000598 = 0; *(uint64_t*)0x20000610 = 0x200005c0; *(uint64_t*)0x200005c0 = 0; *(uint64_t*)0x200005c8 = 0; *(uint64_t*)0x200005d0 = 0; *(uint64_t*)0x200005d8 = 0; *(uint64_t*)0x20000618 = 0; *(uint64_t*)0x20000798 = 0x20000740; *(uint64_t*)0x20000740 = 0x20000640; *(uint64_t*)0x20000640 = 0; *(uint64_t*)0x20000648 = 0; *(uint64_t*)0x20000650 = 0; *(uint64_t*)0x20000658 = 0; *(uint64_t*)0x20000748 = 0x20000680; *(uint64_t*)0x20000680 = 0; *(uint64_t*)0x20000688 = 0; *(uint64_t*)0x20000690 = 0; *(uint64_t*)0x20000698 = 0; *(uint64_t*)0x20000750 = 0x200006c0; *(uint64_t*)0x200006c0 = 0; *(uint64_t*)0x200006c8 = 0; *(uint64_t*)0x200006d0 = 0; *(uint64_t*)0x200006d8 = 0; *(uint64_t*)0x20000758 = 0x20000700; *(uint64_t*)0x20000700 = 0; *(uint64_t*)0x20000708 = 0; *(uint64_t*)0x20000710 = 0; *(uint64_t*)0x20000718 = 0; *(uint64_t*)0x200007a0 = 0; *(uint64_t*)0x200007a8 = 0; *(uint64_t*)0x20000a90 = 0; *(uint64_t*)0x20000a98 = 0x200008c0; *(uint64_t*)0x200008c0 = 0; *(uint64_t*)0x200008c8 = 0x20000800; *(uint64_t*)0x20000800 = 0; *(uint64_t*)0x20000808 = 0; *(uint64_t*)0x20000810 = 0; *(uint64_t*)0x20000818 = 0; *(uint64_t*)0x200008d0 = 0x20000840; *(uint64_t*)0x20000840 = 0; *(uint64_t*)0x20000848 = 0; *(uint64_t*)0x20000850 = 0; *(uint64_t*)0x20000858 = 0; *(uint64_t*)0x200008d8 = 0x20000880; *(uint64_t*)0x20000880 = 0; *(uint64_t*)0x20000888 = 0; *(uint64_t*)0x20000890 = 0; *(uint64_t*)0x20000898 = 0; *(uint64_t*)0x20000aa0 = 0; *(uint64_t*)0x20000aa8 = 0x20000a40; *(uint64_t*)0x20000a40 = 0; *(uint64_t*)0x20000a48 = 0x20000940; *(uint64_t*)0x20000940 = 0x20000900; *(uint64_t*)0x20000900 = 0; *(uint64_t*)0x20000908 = 0; *(uint64_t*)0x20000948 = 0; *(uint64_t*)0x20000a50 = 0; *(uint64_t*)0x20000a58 = 0x20000a00; *(uint64_t*)0x20000a00 = 0; *(uint64_t*)0x20000a08 = 0x20000980; *(uint64_t*)0x20000980 = 0; *(uint64_t*)0x20000988 = 0; *(uint64_t*)0x20000990 = 0; *(uint64_t*)0x20000998 = 0; *(uint64_t*)0x20000a10 = 0x200009c0; *(uint64_t*)0x200009c0 = 0; *(uint64_t*)0x200009c8 = 0; *(uint64_t*)0x200009d0 = 0; *(uint64_t*)0x200009d8 = 0; *(uint64_t*)0x20000a18 = 0; *(uint64_t*)0x20000a60 = 0; *(uint64_t*)0x20000a68 = 0; *(uint64_t*)0x20000ae8 = 0; inject_fault(1); syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); break; case 1: *(uint64_t*)0x20000b80 = 0x20000b40; *(uint64_t*)0x20000b40 = 0x20000b00; *(uint64_t*)0x20000b00 = 0; syscall(SYS_test, /*a0=*/0x20000b80ul, 0, 0, 0, 0, 0); break; case 2: *(uint64_t*)0x20003440 = 0x20000c00; *(uint64_t*)0x20000c00 = 0x20000bc0; *(uint64_t*)0x20000bc0 = 0; *(uint64_t*)0x20003448 = 0x20001800; *(uint64_t*)0x20001800 = 0x200011c0; *(uint64_t*)0x200011c0 = 0; *(uint64_t*)0x200011c8 = 0x20001180; *(uint64_t*)0x20001180 = 0x20000c80; *(uint64_t*)0x20000c80 = 0x20000c40; *(uint64_t*)0x20000c40 = 0; *(uint64_t*)0x20001188 = 0; *(uint64_t*)0x20001190 = 0x20000d80; *(uint64_t*)0x20000d80 = 0x20000cc0; *(uint64_t*)0x20000cc0 = 0; *(uint64_t*)0x20000cc8 = 0; *(uint64_t*)0x20000cd0 = 0; *(uint64_t*)0x20000cd8 = 0; *(uint64_t*)0x20000d88 = 0x20000d00; *(uint64_t*)0x20000d00 = 0; *(uint64_t*)0x20000d08 = 0; *(uint64_t*)0x20000d10 = 0; *(uint64_t*)0x20000d18 = 0; *(uint64_t*)0x20000d90 = 0; *(uint64_t*)0x20000d98 = 0x20000d40; *(uint64_t*)0x20000d40 = 0; *(uint64_t*)0x20000d48 = 0; *(uint64_t*)0x20000d50 = 0; *(uint64_t*)0x20000d58 = 0; *(uint64_t*)0x20001198 = 0x20000e80; *(uint64_t*)0x20000e80 = 0; *(uint64_t*)0x20000e88 = 0x20000dc0; *(uint64_t*)0x20000dc0 = 0; *(uint64_t*)0x20000dc8 = 0; *(uint64_t*)0x20000dd0 = 0; *(uint64_t*)0x20000dd8 = 0; *(uint64_t*)0x20000e90 = 0x20000e00; *(uint64_t*)0x20000e00 = 0; *(uint64_t*)0x20000e08 = 0; *(uint64_t*)0x20000e10 = 0; *(uint64_t*)0x20000e18 = 0; *(uint64_t*)0x20000e98 = 0x20000e40; *(uint64_t*)0x20000e40 = 0; *(uint64_t*)0x20000e48 = 0; *(uint64_t*)0x20000e50 = 0; *(uint64_t*)0x20000e58 = 0; *(uint64_t*)0x200011a0 = 0x20001140; *(uint64_t*)0x20001140 = 0x20000f00; *(uint64_t*)0x20000f00 = 0x20000ec0; *(uint64_t*)0x20000ec0 = 0; *(uint64_t*)0x20001148 = 0; *(uint64_t*)0x20001150 = 0x20001000; *(uint64_t*)0x20001000 = 0x20000f40; *(uint64_t*)0x20000f40 = 0; *(uint64_t*)0x20000f48 = 0; *(uint64_t*)0x20000f50 = 0; *(uint64_t*)0x20000f58 = 0; *(uint64_t*)0x20001008 = 0; *(uint64_t*)0x20001010 = 0x20000f80; *(uint64_t*)0x20000f80 = 0; *(uint64_t*)0x20000f88 = 0; *(uint64_t*)0x20000f90 = 0; *(uint64_t*)0x20000f98 = 0; *(uint64_t*)0x20001018 = 0x20000fc0; *(uint64_t*)0x20000fc0 = 0; *(uint64_t*)0x20000fc8 = 0; *(uint64_t*)0x20000fd0 = 0; *(uint64_t*)0x20000fd8 = 0; *(uint64_t*)0x20001158 = 0x20001100; *(uint64_t*)0x20001100 = 0x20001040; *(uint64_t*)0x20001040 = 0; *(uint64_t*)0x20001048 = 0; *(uint64_t*)0x20001050 = 0; *(uint64_t*)0x20001058 = 0; *(uint64_t*)0x20001108 = 0x20001080; *(uint64_t*)0x20001080 = 0; *(uint64_t*)0x20001088 = 0; *(uint64_t*)0x20001090 = 0; *(uint64_t*)0x20001098 = 0; *(uint64_t*)0x20001110 = 0; *(uint64_t*)0x20001118 = 0x200010c0; *(uint64_t*)0x200010c0 = 0; *(uint64_t*)0x200010c8 = 0; *(uint64_t*)0x200010d0 = 0; *(uint64_t*)0x200010d8 = 0; *(uint64_t*)0x20001160 = 0; *(uint64_t*)0x20001168 = 0; *(uint64_t*)0x200011a8 = 0; *(uint64_t*)0x20001808 = 0x200017c0; *(uint64_t*)0x200017c0 = 0x20001240; *(uint64_t*)0x20001240 = 0x20001200; *(uint64_t*)0x20001200 = 0; *(uint64_t*)0x200017c8 = 0; *(uint64_t*)0x200017d0 = 0x20001340; *(uint64_t*)0x20001340 = 0x20001280; *(uint64_t*)0x20001280 = 0; *(uint64_t*)0x20001288 = 0; *(uint64_t*)0x20001290 = 0; *(uint64_t*)0x20001298 = 0; *(uint64_t*)0x20001348 = 0x200012c0; *(uint64_t*)0x200012c0 = 0; *(uint64_t*)0x200012c8 = 0; *(uint64_t*)0x200012d0 = 0; *(uint64_t*)0x200012d8 = 0; *(uint64_t*)0x20001350 = 0; *(uint64_t*)0x20001358 = 0x20001300; *(uint64_t*)0x20001300 = 0; *(uint64_t*)0x20001308 = 0; *(uint64_t*)0x20001310 = 0; *(uint64_t*)0x20001318 = 0; *(uint64_t*)0x200017d8 = 0x20001480; *(uint64_t*)0x20001480 = 0x20001380; *(uint64_t*)0x20001380 = 0; *(uint64_t*)0x20001388 = 0; *(uint64_t*)0x20001390 = 0; *(uint64_t*)0x20001398 = 0; *(uint64_t*)0x20001488 = 0x200013c0; *(uint64_t*)0x200013c0 = 0; *(uint64_t*)0x200013c8 = 0; *(uint64_t*)0x200013d0 = 0; *(uint64_t*)0x200013d8 = 0; *(uint64_t*)0x20001490 = 0x20001400; *(uint64_t*)0x20001400 = 0; *(uint64_t*)0x20001408 = 0; *(uint64_t*)0x20001410 = 0; *(uint64_t*)0x20001418 = 0; *(uint64_t*)0x20001498 = 0x20001440; *(uint64_t*)0x20001440 = 0; *(uint64_t*)0x20001448 = 0; *(uint64_t*)0x20001450 = 0; *(uint64_t*)0x20001458 = 0; *(uint64_t*)0x200017e0 = 0x20001780; *(uint64_t*)0x20001780 = 0x20001500; *(uint64_t*)0x20001500 = 0x200014c0; *(uint64_t*)0x200014c0 = 0; *(uint64_t*)0x20001788 = 0; *(uint64_t*)0x20001790 = 0x20001640; *(uint64_t*)0x20001640 = 0x20001540; *(uint64_t*)0x20001540 = 0; *(uint64_t*)0x20001548 = 0; *(uint64_t*)0x20001550 = 0; *(uint64_t*)0x20001558 = 0; *(uint64_t*)0x20001648 = 0x20001580; *(uint64_t*)0x20001580 = 0; *(uint64_t*)0x20001588 = 0; *(uint64_t*)0x20001590 = 0; *(uint64_t*)0x20001598 = 0; *(uint64_t*)0x20001650 = 0x200015c0; *(uint64_t*)0x200015c0 = 0; *(uint64_t*)0x200015c8 = 0; *(uint64_t*)0x200015d0 = 0; *(uint64_t*)0x200015d8 = 0; *(uint64_t*)0x20001658 = 0x20001600; *(uint64_t*)0x20001600 = 0; *(uint64_t*)0x20001608 = 0; *(uint64_t*)0x20001610 = 0; *(uint64_t*)0x20001618 = 0; *(uint64_t*)0x20001798 = 0x20001740; *(uint64_t*)0x20001740 = 0; *(uint64_t*)0x20001748 = 0x20001680; *(uint64_t*)0x20001680 = 0; *(uint64_t*)0x20001688 = 0; *(uint64_t*)0x20001690 = 0; *(uint64_t*)0x20001698 = 0; *(uint64_t*)0x20001750 = 0x200016c0; *(uint64_t*)0x200016c0 = 0; *(uint64_t*)0x200016c8 = 0; *(uint64_t*)0x200016d0 = 0; *(uint64_t*)0x200016d8 = 0; *(uint64_t*)0x20001758 = 0x20001700; *(uint64_t*)0x20001700 = 0; *(uint64_t*)0x20001708 = 0; *(uint64_t*)0x20001710 = 0; *(uint64_t*)0x20001718 = 0; *(uint64_t*)0x200017a0 = 0; *(uint64_t*)0x200017a8 = 0; *(uint64_t*)0x200017e8 = 0; *(uint64_t*)0x20003450 = 0x20001940; *(uint64_t*)0x20001940 = 0x20001840; *(uint64_t*)0x20001840 = 0; *(uint64_t*)0x20001848 = 0; *(uint64_t*)0x20001850 = 0; *(uint64_t*)0x20001858 = 0; *(uint64_t*)0x20001948 = 0x20001880; *(uint64_t*)0x20001880 = 0; *(uint64_t*)0x20001888 = 0; *(uint64_t*)0x20001890 = 0; *(uint64_t*)0x20001898 = 0; *(uint64_t*)0x20001950 = 0x200018c0; *(uint64_t*)0x200018c0 = 0; *(uint64_t*)0x200018c8 = 0; *(uint64_t*)0x200018d0 = 0; *(uint64_t*)0x200018d8 = 0; *(uint64_t*)0x20001958 = 0x20001900; *(uint64_t*)0x20001900 = 0; *(uint64_t*)0x20001908 = 0; *(uint64_t*)0x20001910 = 0; *(uint64_t*)0x20001918 = 0; *(uint64_t*)0x20003458 = 0x20001a40; *(uint64_t*)0x20001a40 = 0x20001980; *(uint64_t*)0x20001980 = 0; *(uint64_t*)0x20001988 = 0; *(uint64_t*)0x20001990 = 0; *(uint64_t*)0x20001998 = 0; *(uint64_t*)0x20001a48 = 0; *(uint64_t*)0x20001a50 = 0x200019c0; *(uint64_t*)0x200019c0 = 0; *(uint64_t*)0x200019c8 = 0; *(uint64_t*)0x200019d0 = 0; *(uint64_t*)0x200019d8 = 0; *(uint64_t*)0x20001a58 = 0x20001a00; *(uint64_t*)0x20001a00 = 0; *(uint64_t*)0x20001a08 = 0; *(uint64_t*)0x20001a10 = 0; *(uint64_t*)0x20001a18 = 0; *(uint64_t*)0x20003460 = 0x20002780; *(uint64_t*)0x20002780 = 0x20001ac0; *(uint64_t*)0x20001ac0 = 0x20001a80; *(uint64_t*)0x20001a80 = 0; *(uint64_t*)0x20002788 = 0x20002140; *(uint64_t*)0x20002140 = 0x20001dc0; *(uint64_t*)0x20001dc0 = 0; *(uint64_t*)0x20001dc8 = 0x20001d80; *(uint64_t*)0x20001d80 = 0x20001b00; *(uint64_t*)0x20001b00 = 0; *(uint64_t*)0x20001d88 = 0; *(uint64_t*)0x20001d90 = 0x20001c00; *(uint64_t*)0x20001c00 = 0x20001b40; *(uint64_t*)0x20001b40 = 0; *(uint64_t*)0x20001b48 = 0; *(uint64_t*)0x20001b50 = 0; *(uint64_t*)0x20001b58 = 0; *(uint64_t*)0x20001c08 = 0; *(uint64_t*)0x20001c10 = 0x20001b80; *(uint64_t*)0x20001b80 = 0; *(uint64_t*)0x20001b88 = 0; *(uint64_t*)0x20001b90 = 0; *(uint64_t*)0x20001b98 = 0; *(uint64_t*)0x20001c18 = 0x20001bc0; *(uint64_t*)0x20001bc0 = 0; *(uint64_t*)0x20001bc8 = 0; *(uint64_t*)0x20001bd0 = 0; *(uint64_t*)0x20001bd8 = 0; *(uint64_t*)0x20001d98 = 0x20001d40; *(uint64_t*)0x20001d40 = 0x20001c40; *(uint64_t*)0x20001c40 = 0; *(uint64_t*)0x20001c48 = 0; *(uint64_t*)0x20001c50 = 0; *(uint64_t*)0x20001c58 = 0; *(uint64_t*)0x20001d48 = 0x20001c80; *(uint64_t*)0x20001c80 = 0; *(uint64_t*)0x20001c88 = 0; *(uint64_t*)0x20001c90 = 0; *(uint64_t*)0x20001c98 = 0; *(uint64_t*)0x20001d50 = 0x20001cc0; *(uint64_t*)0x20001cc0 = 0; *(uint64_t*)0x20001cc8 = 0; *(uint64_t*)0x20001cd0 = 0; *(uint64_t*)0x20001cd8 = 0; *(uint64_t*)0x20001d58 = 0x20001d00; *(uint64_t*)0x20001d00 = 0; *(uint64_t*)0x20001d08 = 0; *(uint64_t*)0x20001d10 = 0; *(uint64_t*)0x20001d18 = 0; *(uint64_t*)0x20001da0 = 0; *(uint64_t*)0x20001da8 = 0; *(uint64_t*)0x20002148 = 0x20002100; *(uint64_t*)0x20002100 = 0x20001e40; *(uint64_t*)0x20001e40 = 0x20001e00; *(uint64_t*)0x20001e00 = 0; *(uint64_t*)0x20002108 = 0x20001e80; *(uint64_t*)0x20001e80 = 0; *(uint64_t*)0x20001e88 = 0; *(uint64_t*)0x20002110 = 0x20001fc0; *(uint64_t*)0x20001fc0 = 0x20001ec0; *(uint64_t*)0x20001ec0 = 0; *(uint64_t*)0x20001ec8 = 0; *(uint64_t*)0x20001ed0 = 0; *(uint64_t*)0x20001ed8 = 0; *(uint64_t*)0x20001fc8 = 0x20001f00; *(uint64_t*)0x20001f00 = 0; *(uint64_t*)0x20001f08 = 0; *(uint64_t*)0x20001f10 = 0; *(uint64_t*)0x20001f18 = 0; *(uint64_t*)0x20001fd0 = 0x20001f40; *(uint64_t*)0x20001f40 = 0; *(uint64_t*)0x20001f48 = 0; *(uint64_t*)0x20001f50 = 0; *(uint64_t*)0x20001f58 = 0; *(uint64_t*)0x20001fd8 = 0x20001f80; *(uint64_t*)0x20001f80 = 0; *(uint64_t*)0x20001f88 = 0; *(uint64_t*)0x20001f90 = 0; *(uint64_t*)0x20001f98 = 0; *(uint64_t*)0x20002118 = 0x200020c0; *(uint64_t*)0x200020c0 = 0x20002000; *(uint64_t*)0x20002000 = 0; *(uint64_t*)0x20002008 = 0; *(uint64_t*)0x20002010 = 0; *(uint64_t*)0x20002018 = 0; *(uint64_t*)0x200020c8 = 0; *(uint64_t*)0x200020d0 = 0x20002040; *(uint64_t*)0x20002040 = 0; *(uint64_t*)0x20002048 = 0; *(uint64_t*)0x20002050 = 0; *(uint64_t*)0x20002058 = 0; *(uint64_t*)0x200020d8 = 0x20002080; *(uint64_t*)0x20002080 = 0; *(uint64_t*)0x20002088 = 0; *(uint64_t*)0x20002090 = 0; *(uint64_t*)0x20002098 = 0; *(uint64_t*)0x20002120 = 0; *(uint64_t*)0x20002128 = 0; *(uint64_t*)0x20002790 = 0x20002280; *(uint64_t*)0x20002280 = 0x20002180; *(uint64_t*)0x20002180 = 0; *(uint64_t*)0x20002188 = 0; *(uint64_t*)0x20002190 = 0; *(uint64_t*)0x20002198 = 0; *(uint64_t*)0x20002288 = 0x200021c0; *(uint64_t*)0x200021c0 = 0; *(uint64_t*)0x200021c8 = 0; *(uint64_t*)0x200021d0 = 0; *(uint64_t*)0x200021d8 = 0; *(uint64_t*)0x20002290 = 0x20002200; *(uint64_t*)0x20002200 = 0; *(uint64_t*)0x20002208 = 0; *(uint64_t*)0x20002210 = 0; *(uint64_t*)0x20002218 = 0; *(uint64_t*)0x20002298 = 0x20002240; *(uint64_t*)0x20002240 = 0; *(uint64_t*)0x20002248 = 0; *(uint64_t*)0x20002250 = 0; *(uint64_t*)0x20002258 = 0; *(uint64_t*)0x20002798 = 0x200023c0; *(uint64_t*)0x200023c0 = 0x200022c0; *(uint64_t*)0x200022c0 = 0; *(uint64_t*)0x200022c8 = 0; *(uint64_t*)0x200022d0 = 0; *(uint64_t*)0x200022d8 = 0; *(uint64_t*)0x200023c8 = 0x20002300; *(uint64_t*)0x20002300 = 0; *(uint64_t*)0x20002308 = 0; *(uint64_t*)0x20002310 = 0; *(uint64_t*)0x20002318 = 0; *(uint64_t*)0x200023d0 = 0x20002340; *(uint64_t*)0x20002340 = 0; *(uint64_t*)0x20002348 = 0; *(uint64_t*)0x20002350 = 0; *(uint64_t*)0x20002358 = 0; *(uint64_t*)0x200023d8 = 0x20002380; *(uint64_t*)0x20002380 = 0; *(uint64_t*)0x20002388 = 0; *(uint64_t*)0x20002390 = 0; *(uint64_t*)0x20002398 = 0; *(uint64_t*)0x200027a0 = 0x200024c0; *(uint64_t*)0x200024c0 = 0x20002440; *(uint64_t*)0x20002440 = 0x20002400; *(uint64_t*)0x20002400 = 0; *(uint64_t*)0x200024c8 = 0x20002480; *(uint64_t*)0x20002480 = 0; *(uint64_t*)0x20002488 = 0; *(uint64_t*)0x200024d0 = 0; *(uint64_t*)0x200024d8 = 0; *(uint64_t*)0x200024e0 = 0; *(uint64_t*)0x200024e8 = 0; *(uint64_t*)0x200027a8 = 0x20002740; *(uint64_t*)0x20002740 = 0x20002540; *(uint64_t*)0x20002540 = 0x20002500; *(uint64_t*)0x20002500 = 0; *(uint64_t*)0x20002748 = 0x200025c0; *(uint64_t*)0x200025c0 = 0x20002580; *(uint64_t*)0x20002580 = 0; *(uint64_t*)0x20002588 = 0; *(uint64_t*)0x200025c8 = 0; *(uint64_t*)0x20002750 = 0; *(uint64_t*)0x20002758 = 0x20002700; *(uint64_t*)0x20002700 = 0x20002600; *(uint64_t*)0x20002600 = 0; *(uint64_t*)0x20002608 = 0; *(uint64_t*)0x20002610 = 0; *(uint64_t*)0x20002618 = 0; *(uint64_t*)0x20002708 = 0x20002640; *(uint64_t*)0x20002640 = 0; *(uint64_t*)0x20002648 = 0; *(uint64_t*)0x20002650 = 0; *(uint64_t*)0x20002658 = 0; *(uint64_t*)0x20002710 = 0x20002680; *(uint64_t*)0x20002680 = 0; *(uint64_t*)0x20002688 = 0; *(uint64_t*)0x20002690 = 0; *(uint64_t*)0x20002698 = 0; *(uint64_t*)0x20002718 = 0x200026c0; *(uint64_t*)0x200026c0 = 0; *(uint64_t*)0x200026c8 = 0; *(uint64_t*)0x200026d0 = 0; *(uint64_t*)0x200026d8 = 0; *(uint64_t*)0x20002760 = 0; *(uint64_t*)0x20002768 = 0; *(uint64_t*)0x20003468 = 0x20003400; *(uint64_t*)0x20003400 = 0x20002800; *(uint64_t*)0x20002800 = 0x200027c0; *(uint64_t*)0x200027c0 = 0; *(uint64_t*)0x20003408 = 0x20002b80; *(uint64_t*)0x20002b80 = 0x20002900; *(uint64_t*)0x20002900 = 0; *(uint64_t*)0x20002908 = 0x200028c0; *(uint64_t*)0x200028c0 = 0x20002880; *(uint64_t*)0x20002880 = 0x20002840; *(uint64_t*)0x20002840 = 0; *(uint64_t*)0x200028c8 = 0; *(uint64_t*)0x200028d0 = 0; *(uint64_t*)0x200028d8 = 0; *(uint64_t*)0x200028e0 = 0; *(uint64_t*)0x200028e8 = 0; *(uint64_t*)0x20002b88 = 0x20002b40; *(uint64_t*)0x20002b40 = 0x20002980; *(uint64_t*)0x20002980 = 0x20002940; *(uint64_t*)0x20002940 = 0; *(uint64_t*)0x20002b48 = 0x200029c0; *(uint64_t*)0x200029c0 = 0; *(uint64_t*)0x200029c8 = 0; *(uint64_t*)0x20002b50 = 0x20002b00; *(uint64_t*)0x20002b00 = 0x20002a00; *(uint64_t*)0x20002a00 = 0; *(uint64_t*)0x20002a08 = 0; *(uint64_t*)0x20002a10 = 0; *(uint64_t*)0x20002a18 = 0; *(uint64_t*)0x20002b08 = 0x20002a40; *(uint64_t*)0x20002a40 = 0; *(uint64_t*)0x20002a48 = 0; *(uint64_t*)0x20002a50 = 0; *(uint64_t*)0x20002a58 = 0; *(uint64_t*)0x20002b10 = 0x20002a80; *(uint64_t*)0x20002a80 = 0; *(uint64_t*)0x20002a88 = 0; *(uint64_t*)0x20002a90 = 0; *(uint64_t*)0x20002a98 = 0; *(uint64_t*)0x20002b18 = 0x20002ac0; *(uint64_t*)0x20002ac0 = 0; *(uint64_t*)0x20002ac8 = 0; *(uint64_t*)0x20002ad0 = 0; *(uint64_t*)0x20002ad8 = 0; *(uint64_t*)0x20002b58 = 0; *(uint64_t*)0x20002b60 = 0; *(uint64_t*)0x20002b68 = 0; *(uint64_t*)0x20003410 = 0x20002cc0; *(uint64_t*)0x20002cc0 = 0x20002bc0; *(uint64_t*)0x20002bc0 = 0; *(uint64_t*)0x20002bc8 = 0; *(uint64_t*)0x20002bd0 = 0; *(uint64_t*)0x20002bd8 = 0; *(uint64_t*)0x20002cc8 = 0x20002c00; *(uint64_t*)0x20002c00 = 0; *(uint64_t*)0x20002c08 = 0; *(uint64_t*)0x20002c10 = 0; *(uint64_t*)0x20002c18 = 0; *(uint64_t*)0x20002cd0 = 0x20002c40; *(uint64_t*)0x20002c40 = 0; *(uint64_t*)0x20002c48 = 0; *(uint64_t*)0x20002c50 = 0; *(uint64_t*)0x20002c58 = 0; *(uint64_t*)0x20002cd8 = 0x20002c80; *(uint64_t*)0x20002c80 = 0; *(uint64_t*)0x20002c88 = 0; *(uint64_t*)0x20002c90 = 0; *(uint64_t*)0x20002c98 = 0; *(uint64_t*)0x20003418 = 0x20002e00; *(uint64_t*)0x20002e00 = 0x20002d00; *(uint64_t*)0x20002d00 = 0; *(uint64_t*)0x20002d08 = 0; *(uint64_t*)0x20002d10 = 0; *(uint64_t*)0x20002d18 = 0; *(uint64_t*)0x20002e08 = 0x20002d40; *(uint64_t*)0x20002d40 = 0; *(uint64_t*)0x20002d48 = 0; *(uint64_t*)0x20002d50 = 0; *(uint64_t*)0x20002d58 = 0; *(uint64_t*)0x20002e10 = 0x20002d80; *(uint64_t*)0x20002d80 = 0; *(uint64_t*)0x20002d88 = 0; *(uint64_t*)0x20002d90 = 0; *(uint64_t*)0x20002d98 = 0; *(uint64_t*)0x20002e18 = 0x20002dc0; *(uint64_t*)0x20002dc0 = 0; *(uint64_t*)0x20002dc8 = 0; *(uint64_t*)0x20002dd0 = 0; *(uint64_t*)0x20002dd8 = 0; *(uint64_t*)0x20003420 = 0x20003180; *(uint64_t*)0x20003180 = 0x20002e80; *(uint64_t*)0x20002e80 = 0x20002e40; *(uint64_t*)0x20002e40 = 0; *(uint64_t*)0x20003188 = 0x20002f00; *(uint64_t*)0x20002f00 = 0x20002ec0; *(uint64_t*)0x20002ec0 = 0; *(uint64_t*)0x20002ec8 = 0; *(uint64_t*)0x20002f08 = 0; *(uint64_t*)0x20003190 = 0x20003000; *(uint64_t*)0x20003000 = 0; *(uint64_t*)0x20003008 = 0x20002f40; *(uint64_t*)0x20002f40 = 0; *(uint64_t*)0x20002f48 = 0; *(uint64_t*)0x20002f50 = 0; *(uint64_t*)0x20002f58 = 0; *(uint64_t*)0x20003010 = 0x20002f80; *(uint64_t*)0x20002f80 = 0; *(uint64_t*)0x20002f88 = 0; *(uint64_t*)0x20002f90 = 0; *(uint64_t*)0x20002f98 = 0; *(uint64_t*)0x20003018 = 0x20002fc0; *(uint64_t*)0x20002fc0 = 0; *(uint64_t*)0x20002fc8 = 0; *(uint64_t*)0x20002fd0 = 0; *(uint64_t*)0x20002fd8 = 0; *(uint64_t*)0x20003198 = 0x20003140; *(uint64_t*)0x20003140 = 0x20003040; *(uint64_t*)0x20003040 = 0; *(uint64_t*)0x20003048 = 0; *(uint64_t*)0x20003050 = 0; *(uint64_t*)0x20003058 = 0; *(uint64_t*)0x20003148 = 0x20003080; *(uint64_t*)0x20003080 = 0; *(uint64_t*)0x20003088 = 0; *(uint64_t*)0x20003090 = 0; *(uint64_t*)0x20003098 = 0; *(uint64_t*)0x20003150 = 0x200030c0; *(uint64_t*)0x200030c0 = 0; *(uint64_t*)0x200030c8 = 0; *(uint64_t*)0x200030d0 = 0; *(uint64_t*)0x200030d8 = 0; *(uint64_t*)0x20003158 = 0x20003100; *(uint64_t*)0x20003100 = 0; *(uint64_t*)0x20003108 = 0; *(uint64_t*)0x20003110 = 0; *(uint64_t*)0x20003118 = 0; *(uint64_t*)0x200031a0 = 0; *(uint64_t*)0x200031a8 = 0; *(uint64_t*)0x20003428 = 0x200033c0; *(uint64_t*)0x200033c0 = 0x20003200; *(uint64_t*)0x20003200 = 0x200031c0; *(uint64_t*)0x200031c0 = 0; *(uint64_t*)0x200033c8 = 0x20003240; *(uint64_t*)0x20003240 = 0; *(uint64_t*)0x20003248 = 0; *(uint64_t*)0x200033d0 = 0x20003380; *(uint64_t*)0x20003380 = 0x20003280; *(uint64_t*)0x20003280 = 0; *(uint64_t*)0x20003288 = 0; *(uint64_t*)0x20003290 = 0; *(uint64_t*)0x20003298 = 0; *(uint64_t*)0x20003388 = 0x200032c0; *(uint64_t*)0x200032c0 = 0; *(uint64_t*)0x200032c8 = 0; *(uint64_t*)0x200032d0 = 0; *(uint64_t*)0x200032d8 = 0; *(uint64_t*)0x20003390 = 0x20003300; *(uint64_t*)0x20003300 = 0; *(uint64_t*)0x20003308 = 0; *(uint64_t*)0x20003310 = 0; *(uint64_t*)0x20003318 = 0; *(uint64_t*)0x20003398 = 0x20003340; *(uint64_t*)0x20003340 = 0; *(uint64_t*)0x20003348 = 0; *(uint64_t*)0x20003350 = 0; *(uint64_t*)0x20003358 = 0; *(uint64_t*)0x200033d8 = 0; *(uint64_t*)0x200033e0 = 0; *(uint64_t*)0x200033e8 = 0; syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); { int i; for(i = 0; i < 4; i++) { syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); } } break; case 3: *(uint8_t*)0x20003480 = 0xcf; syscall(SYS_test, /*a=*/0x20003480ul, 0, 0, 0, 0, 0); break; case 4: syscall(SYS_test, 0, 0, 0, 0, 0, 0); break; case 5: *(uint64_t*)0x20004ac0 = 0x20003f40; *(uint64_t*)0x20003f40 = 0x200034c0; *(uint64_t*)0x200034c0 = 0; *(uint64_t*)0x200034c8 = 0; *(uint64_t*)0x20003f48 = 0x20003f00; *(uint64_t*)0x20003f00 = 0x20003540; *(uint64_t*)0x20003540 = 0x20003500; *(uint64_t*)0x20003500 = 0; *(uint64_t*)0x20003f08 = 0x200038c0; *(uint64_t*)0x200038c0 = 0; *(uint64_t*)0x200038c8 = 0x20003880; *(uint64_t*)0x20003880 = 0x200035c0; *(uint64_t*)0x200035c0 = 0x20003580; *(uint64_t*)0x20003580 = 0; *(uint64_t*)0x20003888 = 0; *(uint64_t*)0x20003890 = 0x20003700; *(uint64_t*)0x20003700 = 0x20003600; *(uint64_t*)0x20003600 = 0; *(uint64_t*)0x20003608 = 0; *(uint64_t*)0x20003610 = 0; *(uint64_t*)0x20003618 = 0; *(uint64_t*)0x20003708 = 0x20003640; *(uint64_t*)0x20003640 = 0; *(uint64_t*)0x20003648 = 0; *(uint64_t*)0x20003650 = 0; *(uint64_t*)0x20003658 = 0; *(uint64_t*)0x20003710 = 0x20003680; *(uint64_t*)0x20003680 = 0; *(uint64_t*)0x20003688 = 0; *(uint64_t*)0x20003690 = 0; *(uint64_t*)0x20003698 = 0; *(uint64_t*)0x20003718 = 0x200036c0; *(uint64_t*)0x200036c0 = 0; *(uint64_t*)0x200036c8 = 0; *(uint64_t*)0x200036d0 = 0; *(uint64_t*)0x200036d8 = 0; *(uint64_t*)0x20003898 = 0x20003840; *(uint64_t*)0x20003840 = 0x20003740; *(uint64_t*)0x20003740 = 0; *(uint64_t*)0x20003748 = 0; *(uint64_t*)0x20003750 = 0; *(uint64_t*)0x20003758 = 0; *(uint64_t*)0x20003848 = 0x20003780; *(uint64_t*)0x20003780 = 0; *(uint64_t*)0x20003788 = 0; *(uint64_t*)0x20003790 = 0; *(uint64_t*)0x20003798 = 0; *(uint64_t*)0x20003850 = 0x200037c0; *(uint64_t*)0x200037c0 = 0; *(uint64_t*)0x200037c8 = 0; *(uint64_t*)0x200037d0 = 0; *(uint64_t*)0x200037d8 = 0; *(uint64_t*)0x20003858 = 0x20003800; *(uint64_t*)0x20003800 = 0; *(uint64_t*)0x20003808 = 0; *(uint64_t*)0x20003810 = 0; *(uint64_t*)0x20003818 = 0; *(uint64_t*)0x200038a0 = 0; *(uint64_t*)0x200038a8 = 0; *(uint64_t*)0x20003f10 = 0x200039c0; *(uint64_t*)0x200039c0 = 0; *(uint64_t*)0x200039c8 = 0x20003900; *(uint64_t*)0x20003900 = 0; *(uint64_t*)0x20003908 = 0; *(uint64_t*)0x20003910 = 0; *(uint64_t*)0x20003918 = 0; *(uint64_t*)0x200039d0 = 0x20003940; *(uint64_t*)0x20003940 = 0; *(uint64_t*)0x20003948 = 0; *(uint64_t*)0x20003950 = 0; *(uint64_t*)0x20003958 = 0; *(uint64_t*)0x200039d8 = 0x20003980; *(uint64_t*)0x20003980 = 0; *(uint64_t*)0x20003988 = 0; *(uint64_t*)0x20003990 = 0; *(uint64_t*)0x20003998 = 0; *(uint64_t*)0x20003f18 = 0x20003ac0; *(uint64_t*)0x20003ac0 = 0x20003a00; *(uint64_t*)0x20003a00 = 0; *(uint64_t*)0x20003a08 = 0; *(uint64_t*)0x20003a10 = 0; *(uint64_t*)0x20003a18 = 0; *(uint64_t*)0x20003ac8 = 0x20003a40; *(uint64_t*)0x20003a40 = 0; *(uint64_t*)0x20003a48 = 0; *(uint64_t*)0x20003a50 = 0; *(uint64_t*)0x20003a58 = 0; *(uint64_t*)0x20003ad0 = 0x20003a80; *(uint64_t*)0x20003a80 = 0; *(uint64_t*)0x20003a88 = 0; *(uint64_t*)0x20003a90 = 0; *(uint64_t*)0x20003a98 = 0; *(uint64_t*)0x20003ad8 = 0; *(uint64_t*)0x20003f20 = 0x20003d80; *(uint64_t*)0x20003d80 = 0x20003b40; *(uint64_t*)0x20003b40 = 0x20003b00; *(uint64_t*)0x20003b00 = 0; *(uint64_t*)0x20003d88 = 0x20003b80; *(uint64_t*)0x20003b80 = 0; *(uint64_t*)0x20003b88 = 0; *(uint64_t*)0x20003d90 = 0x20003c40; *(uint64_t*)0x20003c40 = 0; *(uint64_t*)0x20003c48 = 0; *(uint64_t*)0x20003c50 = 0x20003bc0; *(uint64_t*)0x20003bc0 = 0; *(uint64_t*)0x20003bc8 = 0; *(uint64_t*)0x20003bd0 = 0; *(uint64_t*)0x20003bd8 = 0; *(uint64_t*)0x20003c58 = 0x20003c00; *(uint64_t*)0x20003c00 = 0; *(uint64_t*)0x20003c08 = 0; *(uint64_t*)0x20003c10 = 0; *(uint64_t*)0x20003c18 = 0; *(uint64_t*)0x20003d98 = 0x20003d40; *(uint64_t*)0x20003d40 = 0x20003c80; *(uint64_t*)0x20003c80 = 0; *(uint64_t*)0x20003c88 = 0; *(uint64_t*)0x20003c90 = 0; *(uint64_t*)0x20003c98 = 0; *(uint64_t*)0x20003d48 = 0x20003cc0; *(uint64_t*)0x20003cc0 = 0; *(uint64_t*)0x20003cc8 = 0; *(uint64_t*)0x20003cd0 = 0; *(uint64_t*)0x20003cd8 = 0; *(uint64_t*)0x20003d50 = 0x20003d00; *(uint64_t*)0x20003d00 = 0; *(uint64_t*)0x20003d08 = 0; *(uint64_t*)0x20003d10 = 0; *(uint64_t*)0x20003d18 = 0; *(uint64_t*)0x20003d58 = 0; *(uint64_t*)0x20003da0 = 0; *(uint64_t*)0x20003da8 = 0; *(uint64_t*)0x20003f28 = 0x20003ec0; *(uint64_t*)0x20003ec0 = 0; *(uint64_t*)0x20003ec8 = 0x20003dc0; *(uint64_t*)0x20003dc0 = 0; *(uint64_t*)0x20003dc8 = 0; *(uint64_t*)0x20003ed0 = 0; *(uint64_t*)0x20003ed8 = 0x20003e80; *(uint64_t*)0x20003e80 = 0; *(uint64_t*)0x20003e88 = 0; *(uint64_t*)0x20003e90 = 0x20003e00; *(uint64_t*)0x20003e00 = 0; *(uint64_t*)0x20003e08 = 0; *(uint64_t*)0x20003e10 = 0; *(uint64_t*)0x20003e18 = 0; *(uint64_t*)0x20003e98 = 0x20003e40; *(uint64_t*)0x20003e40 = 0; *(uint64_t*)0x20003e48 = 0; *(uint64_t*)0x20003e50 = 0; *(uint64_t*)0x20003e58 = 0; *(uint64_t*)0x20003ee0 = 0; *(uint64_t*)0x20003ee8 = 0; *(uint64_t*)0x20004ac8 = 0x20004a80; *(uint64_t*)0x20004a80 = 0x20003fc0; *(uint64_t*)0x20003fc0 = 0x20003f80; *(uint64_t*)0x20003f80 = 0; *(uint64_t*)0x20004a88 = 0x20004280; *(uint64_t*)0x20004280 = 0x20004000; *(uint64_t*)0x20004000 = 0; *(uint64_t*)0x20004008 = 0; *(uint64_t*)0x20004288 = 0x20004240; *(uint64_t*)0x20004240 = 0; *(uint64_t*)0x20004248 = 0x20004040; *(uint64_t*)0x20004040 = 0; *(uint64_t*)0x20004048 = 0; *(uint64_t*)0x20004250 = 0x20004100; *(uint64_t*)0x20004100 = 0x20004080; *(uint64_t*)0x20004080 = 0; *(uint64_t*)0x20004088 = 0; *(uint64_t*)0x20004090 = 0; *(uint64_t*)0x20004098 = 0; *(uint64_t*)0x20004108 = 0; *(uint64_t*)0x20004110 = 0x200040c0; *(uint64_t*)0x200040c0 = 0; *(uint64_t*)0x200040c8 = 0; *(uint64_t*)0x200040d0 = 0; *(uint64_t*)0x200040d8 = 0; *(uint64_t*)0x20004118 = 0; *(uint64_t*)0x20004258 = 0x20004200; *(uint64_t*)0x20004200 = 0x20004140; *(uint64_t*)0x20004140 = 0; *(uint64_t*)0x20004148 = 0; *(uint64_t*)0x20004150 = 0; *(uint64_t*)0x20004158 = 0; *(uint64_t*)0x20004208 = 0x20004180; *(uint64_t*)0x20004180 = 0; *(uint64_t*)0x20004188 = 0; *(uint64_t*)0x20004190 = 0; *(uint64_t*)0x20004198 = 0; *(uint64_t*)0x20004210 = 0x200041c0; *(uint64_t*)0x200041c0 = 0; *(uint64_t*)0x200041c8 = 0; *(uint64_t*)0x200041d0 = 0; *(uint64_t*)0x200041d8 = 0; *(uint64_t*)0x20004218 = 0; *(uint64_t*)0x20004260 = 0; *(uint64_t*)0x20004268 = 0; *(uint64_t*)0x20004a90 = 0x200043c0; *(uint64_t*)0x200043c0 = 0x200042c0; *(uint64_t*)0x200042c0 = 0; *(uint64_t*)0x200042c8 = 0; *(uint64_t*)0x200042d0 = 0; *(uint64_t*)0x200042d8 = 0; *(uint64_t*)0x200043c8 = 0x20004300; *(uint64_t*)0x20004300 = 0; *(uint64_t*)0x20004308 = 0; *(uint64_t*)0x20004310 = 0; *(uint64_t*)0x20004318 = 0; *(uint64_t*)0x200043d0 = 0x20004340; *(uint64_t*)0x20004340 = 0; *(uint64_t*)0x20004348 = 0; *(uint64_t*)0x20004350 = 0; *(uint64_t*)0x20004358 = 0; *(uint64_t*)0x200043d8 = 0x20004380; *(uint64_t*)0x20004380 = 0; *(uint64_t*)0x20004388 = 0; *(uint64_t*)0x20004390 = 0; *(uint64_t*)0x20004398 = 0; *(uint64_t*)0x20004a98 = 0x20004500; *(uint64_t*)0x20004500 = 0x20004400; *(uint64_t*)0x20004400 = 0; *(uint64_t*)0x20004408 = 0; *(uint64_t*)0x20004410 = 0; *(uint64_t*)0x20004418 = 0; *(uint64_t*)0x20004508 = 0x20004440; *(uint64_t*)0x20004440 = 0; *(uint64_t*)0x20004448 = 0; *(uint64_t*)0x20004450 = 0; *(uint64_t*)0x20004458 = 0; *(uint64_t*)0x20004510 = 0x20004480; *(uint64_t*)0x20004480 = 0; *(uint64_t*)0x20004488 = 0; *(uint64_t*)0x20004490 = 0; *(uint64_t*)0x20004498 = 0; *(uint64_t*)0x20004518 = 0x200044c0; *(uint64_t*)0x200044c0 = 0; *(uint64_t*)0x200044c8 = 0; *(uint64_t*)0x200044d0 = 0; *(uint64_t*)0x200044d8 = 0; *(uint64_t*)0x20004aa0 = 0x20004800; *(uint64_t*)0x20004800 = 0x20004580; *(uint64_t*)0x20004580 = 0x20004540; *(uint64_t*)0x20004540 = 0; *(uint64_t*)0x20004808 = 0x20004600; *(uint64_t*)0x20004600 = 0x200045c0; *(uint64_t*)0x200045c0 = 0; *(uint64_t*)0x200045c8 = 0; *(uint64_t*)0x20004608 = 0; *(uint64_t*)0x20004810 = 0x200046c0; *(uint64_t*)0x200046c0 = 0x20004640; *(uint64_t*)0x20004640 = 0; *(uint64_t*)0x20004648 = 0; *(uint64_t*)0x20004650 = 0; *(uint64_t*)0x20004658 = 0; *(uint64_t*)0x200046c8 = 0; *(uint64_t*)0x200046d0 = 0x20004680; *(uint64_t*)0x20004680 = 0; *(uint64_t*)0x20004688 = 0; *(uint64_t*)0x20004690 = 0; *(uint64_t*)0x20004698 = 0; *(uint64_t*)0x200046d8 = 0; *(uint64_t*)0x20004818 = 0x200047c0; *(uint64_t*)0x200047c0 = 0; *(uint64_t*)0x200047c8 = 0x20004700; *(uint64_t*)0x20004700 = 0; *(uint64_t*)0x20004708 = 0; *(uint64_t*)0x20004710 = 0; *(uint64_t*)0x20004718 = 0; *(uint64_t*)0x200047d0 = 0x20004740; *(uint64_t*)0x20004740 = 0; *(uint64_t*)0x20004748 = 0; *(uint64_t*)0x20004750 = 0; *(uint64_t*)0x20004758 = 0; *(uint64_t*)0x200047d8 = 0x20004780; *(uint64_t*)0x20004780 = 0; *(uint64_t*)0x20004788 = 0; *(uint64_t*)0x20004790 = 0; *(uint64_t*)0x20004798 = 0; *(uint64_t*)0x20004820 = 0; *(uint64_t*)0x20004828 = 0; *(uint64_t*)0x20004aa8 = 0x20004a40; *(uint64_t*)0x20004a40 = 0x20004880; *(uint64_t*)0x20004880 = 0x20004840; *(uint64_t*)0x20004840 = 0; *(uint64_t*)0x20004a48 = 0x20004900; *(uint64_t*)0x20004900 = 0x200048c0; *(uint64_t*)0x200048c0 = 0; *(uint64_t*)0x200048c8 = 0; *(uint64_t*)0x20004908 = 0; *(uint64_t*)0x20004a50 = 0x20004a00; *(uint64_t*)0x20004a00 = 0x20004940; *(uint64_t*)0x20004940 = 0; *(uint64_t*)0x20004948 = 0; *(uint64_t*)0x20004950 = 0; *(uint64_t*)0x20004958 = 0; *(uint64_t*)0x20004a08 = 0; *(uint64_t*)0x20004a10 = 0x20004980; *(uint64_t*)0x20004980 = 0; *(uint64_t*)0x20004988 = 0; *(uint64_t*)0x20004990 = 0; *(uint64_t*)0x20004998 = 0; *(uint64_t*)0x20004a18 = 0x200049c0; *(uint64_t*)0x200049c0 = 0; *(uint64_t*)0x200049c8 = 0; *(uint64_t*)0x200049d0 = 0; *(uint64_t*)0x200049d8 = 0; *(uint64_t*)0x20004a58 = 0; *(uint64_t*)0x20004a60 = 0; *(uint64_t*)0x20004a68 = 0; syscall(SYS_test, /*a0=*/0x20004ac0ul, 0, 0, 0, 0, 0); break; case 6: *(uint8_t*)0x20004b00 = 4; *(uint16_t*)0x20004b01 = 5; *(uint16_t*)0x20004b03 = 0x400; *(uint64_t*)0x20004b05 = 0xcf; syscall(SYS_test, /*a0=*/0x20004b00ul, 0, 0, 0, 0, 0); break; case 7: sprintf((char*)0x20004b40, "0x%016llx", (long long)0); syscall(SYS_foo, /*a=*/0x20004b40ul, 0, 0); break; case 8: *(uint8_t*)0x20004b80 = 5; syscall(SYS_test, /*a=*/0x20004b80ul, 0, 0, 0, 0, 0); break; case 9: *(uint64_t*)0x20004bc0 = 0x1000; syscall(SYS_test, /*a0=*/0x20004bc0ul, 0, 0, 0, 0, 0); break; case 10: memcpy((void*)0x20000000, "-\000", 2); *(uint8_t*)0x20000040 = 0xc0; *(uint16_t*)0x20000044 = 0; STORE_BY_BITMASK(uint32_t, , 0x20000044, 0x24b, 16, 12); STORE_BY_BITMASK(uint32_t, , 0x20000048, 0x380, 0, 12); syz_compare(/*want=*/0x20000000, /*want_len=*/2, /*got=*/0x20000040, /*got_len=*/0xc); break; case 11: syz_compare_int(/*n=*/2, /*v0=*/0xb584, /*v1=*/5, 0, 0); break; case 12: syz_errno(/*v=*/4); break; case 13: memcpy((void*)0x20000080, "\x68\x5d\xce\x50\x3a\x1d\x0b\x65\x7c\x26\x0c\x9d\x19\x4b\x3f\x80\x96\x20\xfd\xde\x60\xc9\x72\xd0\x38\x09\x53\x6f\x2c\xe0\x02\x02\x78\x7c\x45\xc6\x51\xd1\xfc\xe2\x48\x7a\x3d\x34\xca\xac\x04\x9f\xee\x28", 50); syz_execute_func(/*text=*/0x20000080); break; case 14: syz_exit(/*status=*/4); break; case 15: syz_mmap(/*addr=*/0x20ffe000, /*len=*/0x2000); break; case 16: syz_sleep_ms(/*ms=*/0xfff); break; case 17: syz_test_fuzzer1(/*a=*/6, /*b=*/2, /*c=*/0xb); break; } } int main(void) { syz_mmap(/*addr=*/0x20000000, /*len=*/0x1000000); setup_fault(); use_temporary_dir(); loop(); return 0; } :460:3: error: call to undeclared function 'syscall'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); ^ 1 error generated. compiler invocation: c++ [-o /tmp/syz-executor3161078049 -DGOOS_test=1 -DGOARCH_64=1 -DHOSTGOOS_openbsd=1 -x c - -m64 -lutil -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-array-bounds -Wno-unused-but-set-variable -Wno-unused-command-line-argument -no-pie -fno-exceptions] --- FAIL: TestGenerate/test/64/2 (1.21s) csource_test.go:150: opts: {Threaded:true Repeat:false RepeatTimes:0 Procs:0 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:false Repro:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: test$recur2(&(0x7f0000000ac0)={0x0, 0x0, &(0x7f0000000100)={&(0x7f0000000000), &(0x7f0000000040), &(0x7f0000000080), &(0x7f00000000c0)}, 0x0, &(0x7f0000000a80)={&(0x7f0000000180)={&(0x7f0000000140)}, &(0x7f00000007c0)={&(0x7f00000004c0)={0x0, &(0x7f0000000480)={&(0x7f0000000200)={&(0x7f00000001c0)}, 0x0, &(0x7f0000000300)={0x0, &(0x7f0000000240), &(0x7f0000000280), &(0x7f00000002c0)}, &(0x7f0000000440)={&(0x7f0000000340), &(0x7f0000000380), &(0x7f00000003c0), &(0x7f0000000400)}}}, &(0x7f0000000780)={&(0x7f0000000500), 0x0, &(0x7f0000000600)={&(0x7f0000000540), &(0x7f0000000580), &(0x7f00000005c0)}, &(0x7f0000000740)={&(0x7f0000000640), &(0x7f0000000680), &(0x7f00000006c0), &(0x7f0000000700)}}}, 0x0, &(0x7f00000008c0)={0x0, &(0x7f0000000800), &(0x7f0000000840), &(0x7f0000000880)}, 0x0, &(0x7f0000000a40)={0x0, &(0x7f0000000940)={&(0x7f0000000900)}, 0x0, &(0x7f0000000a00)={0x0, &(0x7f0000000980), &(0x7f00000009c0)}}}}) (fail_nth: 1) test$recur0(&(0x7f0000000b80)={&(0x7f0000000b40)={&(0x7f0000000b00)}}) (async) test$recur2(&(0x7f0000003440)={&(0x7f0000000c00)={&(0x7f0000000bc0)}, &(0x7f0000001800)={&(0x7f00000011c0)={0x0, &(0x7f0000001180)={&(0x7f0000000c80)={&(0x7f0000000c40)}, 0x0, &(0x7f0000000d80)={&(0x7f0000000cc0), &(0x7f0000000d00), 0x0, &(0x7f0000000d40)}, &(0x7f0000000e80)={0x0, &(0x7f0000000dc0), &(0x7f0000000e00), &(0x7f0000000e40)}, &(0x7f0000001140)={&(0x7f0000000f00)={&(0x7f0000000ec0)}, 0x0, &(0x7f0000001000)={&(0x7f0000000f40), 0x0, &(0x7f0000000f80), &(0x7f0000000fc0)}, &(0x7f0000001100)={&(0x7f0000001040), &(0x7f0000001080), 0x0, &(0x7f00000010c0)}}}}, &(0x7f00000017c0)={&(0x7f0000001240)={&(0x7f0000001200)}, 0x0, &(0x7f0000001340)={&(0x7f0000001280), &(0x7f00000012c0), 0x0, &(0x7f0000001300)}, &(0x7f0000001480)={&(0x7f0000001380), &(0x7f00000013c0), &(0x7f0000001400), &(0x7f0000001440)}, &(0x7f0000001780)={&(0x7f0000001500)={&(0x7f00000014c0)}, 0x0, &(0x7f0000001640)={&(0x7f0000001540), &(0x7f0000001580), &(0x7f00000015c0), &(0x7f0000001600)}, &(0x7f0000001740)={0x0, &(0x7f0000001680), &(0x7f00000016c0), &(0x7f0000001700)}}}}, &(0x7f0000001940)={&(0x7f0000001840), &(0x7f0000001880), &(0x7f00000018c0), &(0x7f0000001900)}, &(0x7f0000001a40)={&(0x7f0000001980), 0x0, &(0x7f00000019c0), &(0x7f0000001a00)}, &(0x7f0000002780)={&(0x7f0000001ac0)={&(0x7f0000001a80)}, &(0x7f0000002140)={&(0x7f0000001dc0)={0x0, &(0x7f0000001d80)={&(0x7f0000001b00), 0x0, &(0x7f0000001c00)={&(0x7f0000001b40), 0x0, &(0x7f0000001b80), &(0x7f0000001bc0)}, &(0x7f0000001d40)={&(0x7f0000001c40), &(0x7f0000001c80), &(0x7f0000001cc0), &(0x7f0000001d00)}}}, &(0x7f0000002100)={&(0x7f0000001e40)={&(0x7f0000001e00)}, &(0x7f0000001e80), &(0x7f0000001fc0)={&(0x7f0000001ec0), &(0x7f0000001f00), &(0x7f0000001f40), &(0x7f0000001f80)}, &(0x7f00000020c0)={&(0x7f0000002000), 0x0, &(0x7f0000002040), &(0x7f0000002080)}}}, &(0x7f0000002280)={&(0x7f0000002180), &(0x7f00000021c0), &(0x7f0000002200), &(0x7f0000002240)}, &(0x7f00000023c0)={&(0x7f00000022c0), &(0x7f0000002300), &(0x7f0000002340), &(0x7f0000002380)}, &(0x7f00000024c0)={&(0x7f0000002440)={&(0x7f0000002400)}, &(0x7f0000002480)}, &(0x7f0000002740)={&(0x7f0000002540)={&(0x7f0000002500)}, &(0x7f00000025c0)={&(0x7f0000002580)}, 0x0, &(0x7f0000002700)={&(0x7f0000002600), &(0x7f0000002640), &(0x7f0000002680), &(0x7f00000026c0)}}}, &(0x7f0000003400)={&(0x7f0000002800)={&(0x7f00000027c0)}, &(0x7f0000002b80)={&(0x7f0000002900)={0x0, &(0x7f00000028c0)={&(0x7f0000002880)={&(0x7f0000002840)}}}, &(0x7f0000002b40)={&(0x7f0000002980)={&(0x7f0000002940)}, &(0x7f00000029c0), &(0x7f0000002b00)={&(0x7f0000002a00), &(0x7f0000002a40), &(0x7f0000002a80), &(0x7f0000002ac0)}}}, &(0x7f0000002cc0)={&(0x7f0000002bc0), &(0x7f0000002c00), &(0x7f0000002c40), &(0x7f0000002c80)}, &(0x7f0000002e00)={&(0x7f0000002d00), &(0x7f0000002d40), &(0x7f0000002d80), &(0x7f0000002dc0)}, &(0x7f0000003180)={&(0x7f0000002e80)={&(0x7f0000002e40)}, &(0x7f0000002f00)={&(0x7f0000002ec0)}, &(0x7f0000003000)={0x0, &(0x7f0000002f40), &(0x7f0000002f80), &(0x7f0000002fc0)}, &(0x7f0000003140)={&(0x7f0000003040), &(0x7f0000003080), &(0x7f00000030c0), &(0x7f0000003100)}}, &(0x7f00000033c0)={&(0x7f0000003200)={&(0x7f00000031c0)}, &(0x7f0000003240), &(0x7f0000003380)={&(0x7f0000003280), &(0x7f00000032c0), &(0x7f0000003300), &(0x7f0000003340)}}}}) (rerun: 4) test$use_cond_resource(&(0x7f0000003480)={0xcf}) test$create_cond_resource() test$recur1(&(0x7f0000004ac0)={&(0x7f0000003f40)={&(0x7f00000034c0), &(0x7f0000003f00)={&(0x7f0000003540)={&(0x7f0000003500)}, &(0x7f00000038c0)={0x0, &(0x7f0000003880)={&(0x7f00000035c0)={&(0x7f0000003580)}, 0x0, &(0x7f0000003700)={&(0x7f0000003600), &(0x7f0000003640), &(0x7f0000003680), &(0x7f00000036c0)}, &(0x7f0000003840)={&(0x7f0000003740), &(0x7f0000003780), &(0x7f00000037c0), &(0x7f0000003800)}}}, &(0x7f00000039c0)={0x0, &(0x7f0000003900), &(0x7f0000003940), &(0x7f0000003980)}, &(0x7f0000003ac0)={&(0x7f0000003a00), &(0x7f0000003a40), &(0x7f0000003a80)}, &(0x7f0000003d80)={&(0x7f0000003b40)={&(0x7f0000003b00)}, &(0x7f0000003b80), &(0x7f0000003c40)={0x0, 0x0, &(0x7f0000003bc0), &(0x7f0000003c00)}, &(0x7f0000003d40)={&(0x7f0000003c80), &(0x7f0000003cc0), &(0x7f0000003d00)}}, &(0x7f0000003ec0)={0x0, &(0x7f0000003dc0), 0x0, &(0x7f0000003e80)={0x0, 0x0, &(0x7f0000003e00), &(0x7f0000003e40)}}}}, &(0x7f0000004a80)={&(0x7f0000003fc0)={&(0x7f0000003f80)}, &(0x7f0000004280)={&(0x7f0000004000), &(0x7f0000004240)={0x0, &(0x7f0000004040), &(0x7f0000004100)={&(0x7f0000004080), 0x0, &(0x7f00000040c0)}, &(0x7f0000004200)={&(0x7f0000004140), &(0x7f0000004180), &(0x7f00000041c0)}}}, &(0x7f00000043c0)={&(0x7f00000042c0), &(0x7f0000004300), &(0x7f0000004340), &(0x7f0000004380)}, &(0x7f0000004500)={&(0x7f0000004400), &(0x7f0000004440), &(0x7f0000004480), &(0x7f00000044c0)}, &(0x7f0000004800)={&(0x7f0000004580)={&(0x7f0000004540)}, &(0x7f0000004600)={&(0x7f00000045c0)}, &(0x7f00000046c0)={&(0x7f0000004640), 0x0, &(0x7f0000004680)}, &(0x7f00000047c0)={0x0, &(0x7f0000004700), &(0x7f0000004740), &(0x7f0000004780)}}, &(0x7f0000004a40)={&(0x7f0000004880)={&(0x7f0000004840)}, &(0x7f0000004900)={&(0x7f00000048c0)}, &(0x7f0000004a00)={&(0x7f0000004940), 0x0, &(0x7f0000004980), &(0x7f00000049c0)}}}}) test$array0(&(0x7f0000004b00)={0x4, [@f0=0x5, @f0=0x400], 0xcf}) foo$fmt1(&(0x7f0000004b40)) test$use_cond_resource(&(0x7f0000004b80)={0x5}) test$opt1(&(0x7f0000004bc0)=0x1000) syz_compare(&(0x7f0000000000)='-\x00', 0x2, &(0x7f0000000040)=@bf13={0xc0, {0x0, 0x24b, 0x380}}, 0xc) syz_compare_int$2(0x2, 0xb584, 0x5) syz_errno(0x4) syz_execute_func(&(0x7f0000000080)="685dce503a1d0b657c260c9d194b3f809620fdde60c972d03809536f2ce00202787c45c651d1fce2487a3d34caac049fee28") syz_exit(0x4) syz_mmap(&(0x7f0000ffe000/0x2000)=nil, 0x2000) syz_sleep_ms(0xfff) syz_test_fuzzer1(0x6, 0x2, 0xb) csource_test.go:151: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #ifndef SYS_foo #define SYS_foo 0 #endif #ifndef SYS_test #define SYS_test 0 #endif static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } static int inject_fault(int nth) { return 0; } static void setup_fault() { } static void thread_start(void* (*fn)(void*), void* arg) { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 128 << 10); int i = 0; for (; i < 100; i++) { if (pthread_create(&th, &attr, fn, arg) == 0) { pthread_attr_destroy(&attr); return; } if (errno == EAGAIN) { usleep(50); continue; } break; } exit(1); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); 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) exit(1); 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_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #define BITMASK(bf_off,bf_len) (((1ull << (bf_len)) - 1) << (bf_off)) #define STORE_BY_BITMASK(type,htobe,addr,val,bf_off,bf_len) *(type*)(addr) = htobe((htobe(*(type*)(addr)) & ~BITMASK((bf_off), (bf_len))) | (((type)(val) << (bf_off)) & BITMASK((bf_off), (bf_len)))) static long syz_mmap(volatile long a0, volatile long a1) { return (long)mmap((void*)a0, a1, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0); } static long syz_errno(volatile long v) { errno = v; return v == 0 ? 0 : -1; } static long syz_exit(volatile long status) { _exit(status); return 0; } static long syz_sleep_ms(volatile long ms) { sleep_ms(ms); return 0; } static long syz_compare(volatile long want, volatile long want_len, volatile long got, volatile long got_len) { if (want_len != got_len) { errno = EBADF; goto error; } if (memcmp((void*)want, (void*)got, want_len)) { errno = EINVAL; goto error; } return 0; error: return -1; } static long syz_compare_int(volatile long n, ...) { va_list args; va_start(args, n); long v0 = va_arg(args, long); long v1 = va_arg(args, long); long v2 = va_arg(args, long); long v3 = va_arg(args, long); va_end(args); if (n < 2 || n > 4) return errno = E2BIG, -1; if (n <= 2 && v2 != 0) return errno = EFAULT, -1; if (n <= 3 && v3 != 0) return errno = EFAULT, -1; if (v0 != v1) return errno = EINVAL, -1; if (n > 2 && v0 != v2) return errno = EINVAL, -1; if (n > 3 && v0 != v3) return errno = EINVAL, -1; return 0; } static void loop(); static int do_sandbox_none(void) { loop(); return 0; } static void fake_crash(const char* name) { exit(1); exit(1); } static long syz_test_fuzzer1(volatile long a, volatile long b, volatile long c) { if (a == 1 && b == 1 && c == 1) fake_crash("first bug"); if (a == 1 && b == 2 && c == 3) fake_crash("second bug"); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } 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; 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 loop(void) { int i, call, thread; for (call = 0; call < 18; call++) { for (thread = 0; thread < (int)(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 (call == 1) break; event_timedwait(&th->done, 50); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } void execute_call(int call) { switch (call) { case 0: *(uint64_t*)0x20000ac0 = 0; *(uint64_t*)0x20000ac8 = 0; *(uint64_t*)0x20000ad0 = 0x20000100; *(uint64_t*)0x20000100 = 0x20000000; *(uint64_t*)0x20000000 = 0; *(uint64_t*)0x20000008 = 0; *(uint64_t*)0x20000010 = 0; *(uint64_t*)0x20000018 = 0; *(uint64_t*)0x20000108 = 0x20000040; *(uint64_t*)0x20000040 = 0; *(uint64_t*)0x20000048 = 0; *(uint64_t*)0x20000050 = 0; *(uint64_t*)0x20000058 = 0; *(uint64_t*)0x20000110 = 0x20000080; *(uint64_t*)0x20000080 = 0; *(uint64_t*)0x20000088 = 0; *(uint64_t*)0x20000090 = 0; *(uint64_t*)0x20000098 = 0; *(uint64_t*)0x20000118 = 0x200000c0; *(uint64_t*)0x200000c0 = 0; *(uint64_t*)0x200000c8 = 0; *(uint64_t*)0x200000d0 = 0; *(uint64_t*)0x200000d8 = 0; *(uint64_t*)0x20000ad8 = 0; *(uint64_t*)0x20000ae0 = 0x20000a80; *(uint64_t*)0x20000a80 = 0x20000180; *(uint64_t*)0x20000180 = 0x20000140; *(uint64_t*)0x20000140 = 0; *(uint64_t*)0x20000a88 = 0x200007c0; *(uint64_t*)0x200007c0 = 0x200004c0; *(uint64_t*)0x200004c0 = 0; *(uint64_t*)0x200004c8 = 0x20000480; *(uint64_t*)0x20000480 = 0x20000200; *(uint64_t*)0x20000200 = 0x200001c0; *(uint64_t*)0x200001c0 = 0; *(uint64_t*)0x20000488 = 0; *(uint64_t*)0x20000490 = 0x20000300; *(uint64_t*)0x20000300 = 0; *(uint64_t*)0x20000308 = 0x20000240; *(uint64_t*)0x20000240 = 0; *(uint64_t*)0x20000248 = 0; *(uint64_t*)0x20000250 = 0; *(uint64_t*)0x20000258 = 0; *(uint64_t*)0x20000310 = 0x20000280; *(uint64_t*)0x20000280 = 0; *(uint64_t*)0x20000288 = 0; *(uint64_t*)0x20000290 = 0; *(uint64_t*)0x20000298 = 0; *(uint64_t*)0x20000318 = 0x200002c0; *(uint64_t*)0x200002c0 = 0; *(uint64_t*)0x200002c8 = 0; *(uint64_t*)0x200002d0 = 0; *(uint64_t*)0x200002d8 = 0; *(uint64_t*)0x20000498 = 0x20000440; *(uint64_t*)0x20000440 = 0x20000340; *(uint64_t*)0x20000340 = 0; *(uint64_t*)0x20000348 = 0; *(uint64_t*)0x20000350 = 0; *(uint64_t*)0x20000358 = 0; *(uint64_t*)0x20000448 = 0x20000380; *(uint64_t*)0x20000380 = 0; *(uint64_t*)0x20000388 = 0; *(uint64_t*)0x20000390 = 0; *(uint64_t*)0x20000398 = 0; *(uint64_t*)0x20000450 = 0x200003c0; *(uint64_t*)0x200003c0 = 0; *(uint64_t*)0x200003c8 = 0; *(uint64_t*)0x200003d0 = 0; *(uint64_t*)0x200003d8 = 0; *(uint64_t*)0x20000458 = 0x20000400; *(uint64_t*)0x20000400 = 0; *(uint64_t*)0x20000408 = 0; *(uint64_t*)0x20000410 = 0; *(uint64_t*)0x20000418 = 0; *(uint64_t*)0x200004a0 = 0; *(uint64_t*)0x200004a8 = 0; *(uint64_t*)0x200007c8 = 0x20000780; *(uint64_t*)0x20000780 = 0x20000500; *(uint64_t*)0x20000500 = 0; *(uint64_t*)0x20000788 = 0; *(uint64_t*)0x20000790 = 0x20000600; *(uint64_t*)0x20000600 = 0x20000540; *(uint64_t*)0x20000540 = 0; *(uint64_t*)0x20000548 = 0; *(uint64_t*)0x20000550 = 0; *(uint64_t*)0x20000558 = 0; *(uint64_t*)0x20000608 = 0x20000580; *(uint64_t*)0x20000580 = 0; *(uint64_t*)0x20000588 = 0; *(uint64_t*)0x20000590 = 0; *(uint64_t*)0x20000598 = 0; *(uint64_t*)0x20000610 = 0x200005c0; *(uint64_t*)0x200005c0 = 0; *(uint64_t*)0x200005c8 = 0; *(uint64_t*)0x200005d0 = 0; *(uint64_t*)0x200005d8 = 0; *(uint64_t*)0x20000618 = 0; *(uint64_t*)0x20000798 = 0x20000740; *(uint64_t*)0x20000740 = 0x20000640; *(uint64_t*)0x20000640 = 0; *(uint64_t*)0x20000648 = 0; *(uint64_t*)0x20000650 = 0; *(uint64_t*)0x20000658 = 0; *(uint64_t*)0x20000748 = 0x20000680; *(uint64_t*)0x20000680 = 0; *(uint64_t*)0x20000688 = 0; *(uint64_t*)0x20000690 = 0; *(uint64_t*)0x20000698 = 0; *(uint64_t*)0x20000750 = 0x200006c0; *(uint64_t*)0x200006c0 = 0; *(uint64_t*)0x200006c8 = 0; *(uint64_t*)0x200006d0 = 0; *(uint64_t*)0x200006d8 = 0; *(uint64_t*)0x20000758 = 0x20000700; *(uint64_t*)0x20000700 = 0; *(uint64_t*)0x20000708 = 0; *(uint64_t*)0x20000710 = 0; *(uint64_t*)0x20000718 = 0; *(uint64_t*)0x200007a0 = 0; *(uint64_t*)0x200007a8 = 0; *(uint64_t*)0x20000a90 = 0; *(uint64_t*)0x20000a98 = 0x200008c0; *(uint64_t*)0x200008c0 = 0; *(uint64_t*)0x200008c8 = 0x20000800; *(uint64_t*)0x20000800 = 0; *(uint64_t*)0x20000808 = 0; *(uint64_t*)0x20000810 = 0; *(uint64_t*)0x20000818 = 0; *(uint64_t*)0x200008d0 = 0x20000840; *(uint64_t*)0x20000840 = 0; *(uint64_t*)0x20000848 = 0; *(uint64_t*)0x20000850 = 0; *(uint64_t*)0x20000858 = 0; *(uint64_t*)0x200008d8 = 0x20000880; *(uint64_t*)0x20000880 = 0; *(uint64_t*)0x20000888 = 0; *(uint64_t*)0x20000890 = 0; *(uint64_t*)0x20000898 = 0; *(uint64_t*)0x20000aa0 = 0; *(uint64_t*)0x20000aa8 = 0x20000a40; *(uint64_t*)0x20000a40 = 0; *(uint64_t*)0x20000a48 = 0x20000940; *(uint64_t*)0x20000940 = 0x20000900; *(uint64_t*)0x20000900 = 0; *(uint64_t*)0x20000908 = 0; *(uint64_t*)0x20000948 = 0; *(uint64_t*)0x20000a50 = 0; *(uint64_t*)0x20000a58 = 0x20000a00; *(uint64_t*)0x20000a00 = 0; *(uint64_t*)0x20000a08 = 0x20000980; *(uint64_t*)0x20000980 = 0; *(uint64_t*)0x20000988 = 0; *(uint64_t*)0x20000990 = 0; *(uint64_t*)0x20000998 = 0; *(uint64_t*)0x20000a10 = 0x200009c0; *(uint64_t*)0x200009c0 = 0; *(uint64_t*)0x200009c8 = 0; *(uint64_t*)0x200009d0 = 0; *(uint64_t*)0x200009d8 = 0; *(uint64_t*)0x20000a18 = 0; *(uint64_t*)0x20000a60 = 0; *(uint64_t*)0x20000a68 = 0; *(uint64_t*)0x20000ae8 = 0; inject_fault(1); syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); break; case 1: *(uint64_t*)0x20000b80 = 0x20000b40; *(uint64_t*)0x20000b40 = 0x20000b00; *(uint64_t*)0x20000b00 = 0; syscall(SYS_test, /*a0=*/0x20000b80ul, 0, 0, 0, 0, 0); break; case 2: *(uint64_t*)0x20003440 = 0x20000c00; *(uint64_t*)0x20000c00 = 0x20000bc0; *(uint64_t*)0x20000bc0 = 0; *(uint64_t*)0x20003448 = 0x20001800; *(uint64_t*)0x20001800 = 0x200011c0; *(uint64_t*)0x200011c0 = 0; *(uint64_t*)0x200011c8 = 0x20001180; *(uint64_t*)0x20001180 = 0x20000c80; *(uint64_t*)0x20000c80 = 0x20000c40; *(uint64_t*)0x20000c40 = 0; *(uint64_t*)0x20001188 = 0; *(uint64_t*)0x20001190 = 0x20000d80; *(uint64_t*)0x20000d80 = 0x20000cc0; *(uint64_t*)0x20000cc0 = 0; *(uint64_t*)0x20000cc8 = 0; *(uint64_t*)0x20000cd0 = 0; *(uint64_t*)0x20000cd8 = 0; *(uint64_t*)0x20000d88 = 0x20000d00; *(uint64_t*)0x20000d00 = 0; *(uint64_t*)0x20000d08 = 0; *(uint64_t*)0x20000d10 = 0; *(uint64_t*)0x20000d18 = 0; *(uint64_t*)0x20000d90 = 0; *(uint64_t*)0x20000d98 = 0x20000d40; *(uint64_t*)0x20000d40 = 0; *(uint64_t*)0x20000d48 = 0; *(uint64_t*)0x20000d50 = 0; *(uint64_t*)0x20000d58 = 0; *(uint64_t*)0x20001198 = 0x20000e80; *(uint64_t*)0x20000e80 = 0; *(uint64_t*)0x20000e88 = 0x20000dc0; *(uint64_t*)0x20000dc0 = 0; *(uint64_t*)0x20000dc8 = 0; *(uint64_t*)0x20000dd0 = 0; *(uint64_t*)0x20000dd8 = 0; *(uint64_t*)0x20000e90 = 0x20000e00; *(uint64_t*)0x20000e00 = 0; *(uint64_t*)0x20000e08 = 0; *(uint64_t*)0x20000e10 = 0; *(uint64_t*)0x20000e18 = 0; *(uint64_t*)0x20000e98 = 0x20000e40; *(uint64_t*)0x20000e40 = 0; *(uint64_t*)0x20000e48 = 0; *(uint64_t*)0x20000e50 = 0; *(uint64_t*)0x20000e58 = 0; *(uint64_t*)0x200011a0 = 0x20001140; *(uint64_t*)0x20001140 = 0x20000f00; *(uint64_t*)0x20000f00 = 0x20000ec0; *(uint64_t*)0x20000ec0 = 0; *(uint64_t*)0x20001148 = 0; *(uint64_t*)0x20001150 = 0x20001000; *(uint64_t*)0x20001000 = 0x20000f40; *(uint64_t*)0x20000f40 = 0; *(uint64_t*)0x20000f48 = 0; *(uint64_t*)0x20000f50 = 0; *(uint64_t*)0x20000f58 = 0; *(uint64_t*)0x20001008 = 0; *(uint64_t*)0x20001010 = 0x20000f80; *(uint64_t*)0x20000f80 = 0; *(uint64_t*)0x20000f88 = 0; *(uint64_t*)0x20000f90 = 0; *(uint64_t*)0x20000f98 = 0; *(uint64_t*)0x20001018 = 0x20000fc0; *(uint64_t*)0x20000fc0 = 0; *(uint64_t*)0x20000fc8 = 0; *(uint64_t*)0x20000fd0 = 0; *(uint64_t*)0x20000fd8 = 0; *(uint64_t*)0x20001158 = 0x20001100; *(uint64_t*)0x20001100 = 0x20001040; *(uint64_t*)0x20001040 = 0; *(uint64_t*)0x20001048 = 0; *(uint64_t*)0x20001050 = 0; *(uint64_t*)0x20001058 = 0; *(uint64_t*)0x20001108 = 0x20001080; *(uint64_t*)0x20001080 = 0; *(uint64_t*)0x20001088 = 0; *(uint64_t*)0x20001090 = 0; *(uint64_t*)0x20001098 = 0; *(uint64_t*)0x20001110 = 0; *(uint64_t*)0x20001118 = 0x200010c0; *(uint64_t*)0x200010c0 = 0; *(uint64_t*)0x200010c8 = 0; *(uint64_t*)0x200010d0 = 0; *(uint64_t*)0x200010d8 = 0; *(uint64_t*)0x20001160 = 0; *(uint64_t*)0x20001168 = 0; *(uint64_t*)0x200011a8 = 0; *(uint64_t*)0x20001808 = 0x200017c0; *(uint64_t*)0x200017c0 = 0x20001240; *(uint64_t*)0x20001240 = 0x20001200; *(uint64_t*)0x20001200 = 0; *(uint64_t*)0x200017c8 = 0; *(uint64_t*)0x200017d0 = 0x20001340; *(uint64_t*)0x20001340 = 0x20001280; *(uint64_t*)0x20001280 = 0; *(uint64_t*)0x20001288 = 0; *(uint64_t*)0x20001290 = 0; *(uint64_t*)0x20001298 = 0; *(uint64_t*)0x20001348 = 0x200012c0; *(uint64_t*)0x200012c0 = 0; *(uint64_t*)0x200012c8 = 0; *(uint64_t*)0x200012d0 = 0; *(uint64_t*)0x200012d8 = 0; *(uint64_t*)0x20001350 = 0; *(uint64_t*)0x20001358 = 0x20001300; *(uint64_t*)0x20001300 = 0; *(uint64_t*)0x20001308 = 0; *(uint64_t*)0x20001310 = 0; *(uint64_t*)0x20001318 = 0; *(uint64_t*)0x200017d8 = 0x20001480; *(uint64_t*)0x20001480 = 0x20001380; *(uint64_t*)0x20001380 = 0; *(uint64_t*)0x20001388 = 0; *(uint64_t*)0x20001390 = 0; *(uint64_t*)0x20001398 = 0; *(uint64_t*)0x20001488 = 0x200013c0; *(uint64_t*)0x200013c0 = 0; *(uint64_t*)0x200013c8 = 0; *(uint64_t*)0x200013d0 = 0; *(uint64_t*)0x200013d8 = 0; *(uint64_t*)0x20001490 = 0x20001400; *(uint64_t*)0x20001400 = 0; *(uint64_t*)0x20001408 = 0; *(uint64_t*)0x20001410 = 0; *(uint64_t*)0x20001418 = 0; *(uint64_t*)0x20001498 = 0x20001440; *(uint64_t*)0x20001440 = 0; *(uint64_t*)0x20001448 = 0; *(uint64_t*)0x20001450 = 0; *(uint64_t*)0x20001458 = 0; *(uint64_t*)0x200017e0 = 0x20001780; *(uint64_t*)0x20001780 = 0x20001500; *(uint64_t*)0x20001500 = 0x200014c0; *(uint64_t*)0x200014c0 = 0; *(uint64_t*)0x20001788 = 0; *(uint64_t*)0x20001790 = 0x20001640; *(uint64_t*)0x20001640 = 0x20001540; *(uint64_t*)0x20001540 = 0; *(uint64_t*)0x20001548 = 0; *(uint64_t*)0x20001550 = 0; *(uint64_t*)0x20001558 = 0; *(uint64_t*)0x20001648 = 0x20001580; *(uint64_t*)0x20001580 = 0; *(uint64_t*)0x20001588 = 0; *(uint64_t*)0x20001590 = 0; *(uint64_t*)0x20001598 = 0; *(uint64_t*)0x20001650 = 0x200015c0; *(uint64_t*)0x200015c0 = 0; *(uint64_t*)0x200015c8 = 0; *(uint64_t*)0x200015d0 = 0; *(uint64_t*)0x200015d8 = 0; *(uint64_t*)0x20001658 = 0x20001600; *(uint64_t*)0x20001600 = 0; *(uint64_t*)0x20001608 = 0; *(uint64_t*)0x20001610 = 0; *(uint64_t*)0x20001618 = 0; *(uint64_t*)0x20001798 = 0x20001740; *(uint64_t*)0x20001740 = 0; *(uint64_t*)0x20001748 = 0x20001680; *(uint64_t*)0x20001680 = 0; *(uint64_t*)0x20001688 = 0; *(uint64_t*)0x20001690 = 0; *(uint64_t*)0x20001698 = 0; *(uint64_t*)0x20001750 = 0x200016c0; *(uint64_t*)0x200016c0 = 0; *(uint64_t*)0x200016c8 = 0; *(uint64_t*)0x200016d0 = 0; *(uint64_t*)0x200016d8 = 0; *(uint64_t*)0x20001758 = 0x20001700; *(uint64_t*)0x20001700 = 0; *(uint64_t*)0x20001708 = 0; *(uint64_t*)0x20001710 = 0; *(uint64_t*)0x20001718 = 0; *(uint64_t*)0x200017a0 = 0; *(uint64_t*)0x200017a8 = 0; *(uint64_t*)0x200017e8 = 0; *(uint64_t*)0x20003450 = 0x20001940; *(uint64_t*)0x20001940 = 0x20001840; *(uint64_t*)0x20001840 = 0; *(uint64_t*)0x20001848 = 0; *(uint64_t*)0x20001850 = 0; *(uint64_t*)0x20001858 = 0; *(uint64_t*)0x20001948 = 0x20001880; *(uint64_t*)0x20001880 = 0; *(uint64_t*)0x20001888 = 0; *(uint64_t*)0x20001890 = 0; *(uint64_t*)0x20001898 = 0; *(uint64_t*)0x20001950 = 0x200018c0; *(uint64_t*)0x200018c0 = 0; *(uint64_t*)0x200018c8 = 0; *(uint64_t*)0x200018d0 = 0; *(uint64_t*)0x200018d8 = 0; *(uint64_t*)0x20001958 = 0x20001900; *(uint64_t*)0x20001900 = 0; *(uint64_t*)0x20001908 = 0; *(uint64_t*)0x20001910 = 0; *(uint64_t*)0x20001918 = 0; *(uint64_t*)0x20003458 = 0x20001a40; *(uint64_t*)0x20001a40 = 0x20001980; *(uint64_t*)0x20001980 = 0; *(uint64_t*)0x20001988 = 0; *(uint64_t*)0x20001990 = 0; *(uint64_t*)0x20001998 = 0; *(uint64_t*)0x20001a48 = 0; *(uint64_t*)0x20001a50 = 0x200019c0; *(uint64_t*)0x200019c0 = 0; *(uint64_t*)0x200019c8 = 0; *(uint64_t*)0x200019d0 = 0; *(uint64_t*)0x200019d8 = 0; *(uint64_t*)0x20001a58 = 0x20001a00; *(uint64_t*)0x20001a00 = 0; *(uint64_t*)0x20001a08 = 0; *(uint64_t*)0x20001a10 = 0; *(uint64_t*)0x20001a18 = 0; *(uint64_t*)0x20003460 = 0x20002780; *(uint64_t*)0x20002780 = 0x20001ac0; *(uint64_t*)0x20001ac0 = 0x20001a80; *(uint64_t*)0x20001a80 = 0; *(uint64_t*)0x20002788 = 0x20002140; *(uint64_t*)0x20002140 = 0x20001dc0; *(uint64_t*)0x20001dc0 = 0; *(uint64_t*)0x20001dc8 = 0x20001d80; *(uint64_t*)0x20001d80 = 0x20001b00; *(uint64_t*)0x20001b00 = 0; *(uint64_t*)0x20001d88 = 0; *(uint64_t*)0x20001d90 = 0x20001c00; *(uint64_t*)0x20001c00 = 0x20001b40; *(uint64_t*)0x20001b40 = 0; *(uint64_t*)0x20001b48 = 0; *(uint64_t*)0x20001b50 = 0; *(uint64_t*)0x20001b58 = 0; *(uint64_t*)0x20001c08 = 0; *(uint64_t*)0x20001c10 = 0x20001b80; *(uint64_t*)0x20001b80 = 0; *(uint64_t*)0x20001b88 = 0; *(uint64_t*)0x20001b90 = 0; *(uint64_t*)0x20001b98 = 0; *(uint64_t*)0x20001c18 = 0x20001bc0; *(uint64_t*)0x20001bc0 = 0; *(uint64_t*)0x20001bc8 = 0; *(uint64_t*)0x20001bd0 = 0; *(uint64_t*)0x20001bd8 = 0; *(uint64_t*)0x20001d98 = 0x20001d40; *(uint64_t*)0x20001d40 = 0x20001c40; *(uint64_t*)0x20001c40 = 0; *(uint64_t*)0x20001c48 = 0; *(uint64_t*)0x20001c50 = 0; *(uint64_t*)0x20001c58 = 0; *(uint64_t*)0x20001d48 = 0x20001c80; *(uint64_t*)0x20001c80 = 0; *(uint64_t*)0x20001c88 = 0; *(uint64_t*)0x20001c90 = 0; *(uint64_t*)0x20001c98 = 0; *(uint64_t*)0x20001d50 = 0x20001cc0; *(uint64_t*)0x20001cc0 = 0; *(uint64_t*)0x20001cc8 = 0; *(uint64_t*)0x20001cd0 = 0; *(uint64_t*)0x20001cd8 = 0; *(uint64_t*)0x20001d58 = 0x20001d00; *(uint64_t*)0x20001d00 = 0; *(uint64_t*)0x20001d08 = 0; *(uint64_t*)0x20001d10 = 0; *(uint64_t*)0x20001d18 = 0; *(uint64_t*)0x20001da0 = 0; *(uint64_t*)0x20001da8 = 0; *(uint64_t*)0x20002148 = 0x20002100; *(uint64_t*)0x20002100 = 0x20001e40; *(uint64_t*)0x20001e40 = 0x20001e00; *(uint64_t*)0x20001e00 = 0; *(uint64_t*)0x20002108 = 0x20001e80; *(uint64_t*)0x20001e80 = 0; *(uint64_t*)0x20001e88 = 0; *(uint64_t*)0x20002110 = 0x20001fc0; *(uint64_t*)0x20001fc0 = 0x20001ec0; *(uint64_t*)0x20001ec0 = 0; *(uint64_t*)0x20001ec8 = 0; *(uint64_t*)0x20001ed0 = 0; *(uint64_t*)0x20001ed8 = 0; *(uint64_t*)0x20001fc8 = 0x20001f00; *(uint64_t*)0x20001f00 = 0; *(uint64_t*)0x20001f08 = 0; *(uint64_t*)0x20001f10 = 0; *(uint64_t*)0x20001f18 = 0; *(uint64_t*)0x20001fd0 = 0x20001f40; *(uint64_t*)0x20001f40 = 0; *(uint64_t*)0x20001f48 = 0; *(uint64_t*)0x20001f50 = 0; *(uint64_t*)0x20001f58 = 0; *(uint64_t*)0x20001fd8 = 0x20001f80; *(uint64_t*)0x20001f80 = 0; *(uint64_t*)0x20001f88 = 0; *(uint64_t*)0x20001f90 = 0; *(uint64_t*)0x20001f98 = 0; *(uint64_t*)0x20002118 = 0x200020c0; *(uint64_t*)0x200020c0 = 0x20002000; *(uint64_t*)0x20002000 = 0; *(uint64_t*)0x20002008 = 0; *(uint64_t*)0x20002010 = 0; *(uint64_t*)0x20002018 = 0; *(uint64_t*)0x200020c8 = 0; *(uint64_t*)0x200020d0 = 0x20002040; *(uint64_t*)0x20002040 = 0; *(uint64_t*)0x20002048 = 0; *(uint64_t*)0x20002050 = 0; *(uint64_t*)0x20002058 = 0; *(uint64_t*)0x200020d8 = 0x20002080; *(uint64_t*)0x20002080 = 0; *(uint64_t*)0x20002088 = 0; *(uint64_t*)0x20002090 = 0; *(uint64_t*)0x20002098 = 0; *(uint64_t*)0x20002120 = 0; *(uint64_t*)0x20002128 = 0; *(uint64_t*)0x20002790 = 0x20002280; *(uint64_t*)0x20002280 = 0x20002180; *(uint64_t*)0x20002180 = 0; *(uint64_t*)0x20002188 = 0; *(uint64_t*)0x20002190 = 0; *(uint64_t*)0x20002198 = 0; *(uint64_t*)0x20002288 = 0x200021c0; *(uint64_t*)0x200021c0 = 0; *(uint64_t*)0x200021c8 = 0; *(uint64_t*)0x200021d0 = 0; *(uint64_t*)0x200021d8 = 0; *(uint64_t*)0x20002290 = 0x20002200; *(uint64_t*)0x20002200 = 0; *(uint64_t*)0x20002208 = 0; *(uint64_t*)0x20002210 = 0; *(uint64_t*)0x20002218 = 0; *(uint64_t*)0x20002298 = 0x20002240; *(uint64_t*)0x20002240 = 0; *(uint64_t*)0x20002248 = 0; *(uint64_t*)0x20002250 = 0; *(uint64_t*)0x20002258 = 0; *(uint64_t*)0x20002798 = 0x200023c0; *(uint64_t*)0x200023c0 = 0x200022c0; *(uint64_t*)0x200022c0 = 0; *(uint64_t*)0x200022c8 = 0; *(uint64_t*)0x200022d0 = 0; *(uint64_t*)0x200022d8 = 0; *(uint64_t*)0x200023c8 = 0x20002300; *(uint64_t*)0x20002300 = 0; *(uint64_t*)0x20002308 = 0; *(uint64_t*)0x20002310 = 0; *(uint64_t*)0x20002318 = 0; *(uint64_t*)0x200023d0 = 0x20002340; *(uint64_t*)0x20002340 = 0; *(uint64_t*)0x20002348 = 0; *(uint64_t*)0x20002350 = 0; *(uint64_t*)0x20002358 = 0; *(uint64_t*)0x200023d8 = 0x20002380; *(uint64_t*)0x20002380 = 0; *(uint64_t*)0x20002388 = 0; *(uint64_t*)0x20002390 = 0; *(uint64_t*)0x20002398 = 0; *(uint64_t*)0x200027a0 = 0x200024c0; *(uint64_t*)0x200024c0 = 0x20002440; *(uint64_t*)0x20002440 = 0x20002400; *(uint64_t*)0x20002400 = 0; *(uint64_t*)0x200024c8 = 0x20002480; *(uint64_t*)0x20002480 = 0; *(uint64_t*)0x20002488 = 0; *(uint64_t*)0x200024d0 = 0; *(uint64_t*)0x200024d8 = 0; *(uint64_t*)0x200024e0 = 0; *(uint64_t*)0x200024e8 = 0; *(uint64_t*)0x200027a8 = 0x20002740; *(uint64_t*)0x20002740 = 0x20002540; *(uint64_t*)0x20002540 = 0x20002500; *(uint64_t*)0x20002500 = 0; *(uint64_t*)0x20002748 = 0x200025c0; *(uint64_t*)0x200025c0 = 0x20002580; *(uint64_t*)0x20002580 = 0; *(uint64_t*)0x20002588 = 0; *(uint64_t*)0x200025c8 = 0; *(uint64_t*)0x20002750 = 0; *(uint64_t*)0x20002758 = 0x20002700; *(uint64_t*)0x20002700 = 0x20002600; *(uint64_t*)0x20002600 = 0; *(uint64_t*)0x20002608 = 0; *(uint64_t*)0x20002610 = 0; *(uint64_t*)0x20002618 = 0; *(uint64_t*)0x20002708 = 0x20002640; *(uint64_t*)0x20002640 = 0; *(uint64_t*)0x20002648 = 0; *(uint64_t*)0x20002650 = 0; *(uint64_t*)0x20002658 = 0; *(uint64_t*)0x20002710 = 0x20002680; *(uint64_t*)0x20002680 = 0; *(uint64_t*)0x20002688 = 0; *(uint64_t*)0x20002690 = 0; *(uint64_t*)0x20002698 = 0; *(uint64_t*)0x20002718 = 0x200026c0; *(uint64_t*)0x200026c0 = 0; *(uint64_t*)0x200026c8 = 0; *(uint64_t*)0x200026d0 = 0; *(uint64_t*)0x200026d8 = 0; *(uint64_t*)0x20002760 = 0; *(uint64_t*)0x20002768 = 0; *(uint64_t*)0x20003468 = 0x20003400; *(uint64_t*)0x20003400 = 0x20002800; *(uint64_t*)0x20002800 = 0x200027c0; *(uint64_t*)0x200027c0 = 0; *(uint64_t*)0x20003408 = 0x20002b80; *(uint64_t*)0x20002b80 = 0x20002900; *(uint64_t*)0x20002900 = 0; *(uint64_t*)0x20002908 = 0x200028c0; *(uint64_t*)0x200028c0 = 0x20002880; *(uint64_t*)0x20002880 = 0x20002840; *(uint64_t*)0x20002840 = 0; *(uint64_t*)0x200028c8 = 0; *(uint64_t*)0x200028d0 = 0; *(uint64_t*)0x200028d8 = 0; *(uint64_t*)0x200028e0 = 0; *(uint64_t*)0x200028e8 = 0; *(uint64_t*)0x20002b88 = 0x20002b40; *(uint64_t*)0x20002b40 = 0x20002980; *(uint64_t*)0x20002980 = 0x20002940; *(uint64_t*)0x20002940 = 0; *(uint64_t*)0x20002b48 = 0x200029c0; *(uint64_t*)0x200029c0 = 0; *(uint64_t*)0x200029c8 = 0; *(uint64_t*)0x20002b50 = 0x20002b00; *(uint64_t*)0x20002b00 = 0x20002a00; *(uint64_t*)0x20002a00 = 0; *(uint64_t*)0x20002a08 = 0; *(uint64_t*)0x20002a10 = 0; *(uint64_t*)0x20002a18 = 0; *(uint64_t*)0x20002b08 = 0x20002a40; *(uint64_t*)0x20002a40 = 0; *(uint64_t*)0x20002a48 = 0; *(uint64_t*)0x20002a50 = 0; *(uint64_t*)0x20002a58 = 0; *(uint64_t*)0x20002b10 = 0x20002a80; *(uint64_t*)0x20002a80 = 0; *(uint64_t*)0x20002a88 = 0; *(uint64_t*)0x20002a90 = 0; *(uint64_t*)0x20002a98 = 0; *(uint64_t*)0x20002b18 = 0x20002ac0; *(uint64_t*)0x20002ac0 = 0; *(uint64_t*)0x20002ac8 = 0; *(uint64_t*)0x20002ad0 = 0; *(uint64_t*)0x20002ad8 = 0; *(uint64_t*)0x20002b58 = 0; *(uint64_t*)0x20002b60 = 0; *(uint64_t*)0x20002b68 = 0; *(uint64_t*)0x20003410 = 0x20002cc0; *(uint64_t*)0x20002cc0 = 0x20002bc0; *(uint64_t*)0x20002bc0 = 0; *(uint64_t*)0x20002bc8 = 0; *(uint64_t*)0x20002bd0 = 0; *(uint64_t*)0x20002bd8 = 0; *(uint64_t*)0x20002cc8 = 0x20002c00; *(uint64_t*)0x20002c00 = 0; *(uint64_t*)0x20002c08 = 0; *(uint64_t*)0x20002c10 = 0; *(uint64_t*)0x20002c18 = 0; *(uint64_t*)0x20002cd0 = 0x20002c40; *(uint64_t*)0x20002c40 = 0; *(uint64_t*)0x20002c48 = 0; *(uint64_t*)0x20002c50 = 0; *(uint64_t*)0x20002c58 = 0; *(uint64_t*)0x20002cd8 = 0x20002c80; *(uint64_t*)0x20002c80 = 0; *(uint64_t*)0x20002c88 = 0; *(uint64_t*)0x20002c90 = 0; *(uint64_t*)0x20002c98 = 0; *(uint64_t*)0x20003418 = 0x20002e00; *(uint64_t*)0x20002e00 = 0x20002d00; *(uint64_t*)0x20002d00 = 0; *(uint64_t*)0x20002d08 = 0; *(uint64_t*)0x20002d10 = 0; *(uint64_t*)0x20002d18 = 0; *(uint64_t*)0x20002e08 = 0x20002d40; *(uint64_t*)0x20002d40 = 0; *(uint64_t*)0x20002d48 = 0; *(uint64_t*)0x20002d50 = 0; *(uint64_t*)0x20002d58 = 0; *(uint64_t*)0x20002e10 = 0x20002d80; *(uint64_t*)0x20002d80 = 0; *(uint64_t*)0x20002d88 = 0; *(uint64_t*)0x20002d90 = 0; *(uint64_t*)0x20002d98 = 0; *(uint64_t*)0x20002e18 = 0x20002dc0; *(uint64_t*)0x20002dc0 = 0; *(uint64_t*)0x20002dc8 = 0; *(uint64_t*)0x20002dd0 = 0; *(uint64_t*)0x20002dd8 = 0; *(uint64_t*)0x20003420 = 0x20003180; *(uint64_t*)0x20003180 = 0x20002e80; *(uint64_t*)0x20002e80 = 0x20002e40; *(uint64_t*)0x20002e40 = 0; *(uint64_t*)0x20003188 = 0x20002f00; *(uint64_t*)0x20002f00 = 0x20002ec0; *(uint64_t*)0x20002ec0 = 0; *(uint64_t*)0x20002ec8 = 0; *(uint64_t*)0x20002f08 = 0; *(uint64_t*)0x20003190 = 0x20003000; *(uint64_t*)0x20003000 = 0; *(uint64_t*)0x20003008 = 0x20002f40; *(uint64_t*)0x20002f40 = 0; *(uint64_t*)0x20002f48 = 0; *(uint64_t*)0x20002f50 = 0; *(uint64_t*)0x20002f58 = 0; *(uint64_t*)0x20003010 = 0x20002f80; *(uint64_t*)0x20002f80 = 0; *(uint64_t*)0x20002f88 = 0; *(uint64_t*)0x20002f90 = 0; *(uint64_t*)0x20002f98 = 0; *(uint64_t*)0x20003018 = 0x20002fc0; *(uint64_t*)0x20002fc0 = 0; *(uint64_t*)0x20002fc8 = 0; *(uint64_t*)0x20002fd0 = 0; *(uint64_t*)0x20002fd8 = 0; *(uint64_t*)0x20003198 = 0x20003140; *(uint64_t*)0x20003140 = 0x20003040; *(uint64_t*)0x20003040 = 0; *(uint64_t*)0x20003048 = 0; *(uint64_t*)0x20003050 = 0; *(uint64_t*)0x20003058 = 0; *(uint64_t*)0x20003148 = 0x20003080; *(uint64_t*)0x20003080 = 0; *(uint64_t*)0x20003088 = 0; *(uint64_t*)0x20003090 = 0; *(uint64_t*)0x20003098 = 0; *(uint64_t*)0x20003150 = 0x200030c0; *(uint64_t*)0x200030c0 = 0; *(uint64_t*)0x200030c8 = 0; *(uint64_t*)0x200030d0 = 0; *(uint64_t*)0x200030d8 = 0; *(uint64_t*)0x20003158 = 0x20003100; *(uint64_t*)0x20003100 = 0; *(uint64_t*)0x20003108 = 0; *(uint64_t*)0x20003110 = 0; *(uint64_t*)0x20003118 = 0; *(uint64_t*)0x200031a0 = 0; *(uint64_t*)0x200031a8 = 0; *(uint64_t*)0x20003428 = 0x200033c0; *(uint64_t*)0x200033c0 = 0x20003200; *(uint64_t*)0x20003200 = 0x200031c0; *(uint64_t*)0x200031c0 = 0; *(uint64_t*)0x200033c8 = 0x20003240; *(uint64_t*)0x20003240 = 0; *(uint64_t*)0x20003248 = 0; *(uint64_t*)0x200033d0 = 0x20003380; *(uint64_t*)0x20003380 = 0x20003280; *(uint64_t*)0x20003280 = 0; *(uint64_t*)0x20003288 = 0; *(uint64_t*)0x20003290 = 0; *(uint64_t*)0x20003298 = 0; *(uint64_t*)0x20003388 = 0x200032c0; *(uint64_t*)0x200032c0 = 0; *(uint64_t*)0x200032c8 = 0; *(uint64_t*)0x200032d0 = 0; *(uint64_t*)0x200032d8 = 0; *(uint64_t*)0x20003390 = 0x20003300; *(uint64_t*)0x20003300 = 0; *(uint64_t*)0x20003308 = 0; *(uint64_t*)0x20003310 = 0; *(uint64_t*)0x20003318 = 0; *(uint64_t*)0x20003398 = 0x20003340; *(uint64_t*)0x20003340 = 0; *(uint64_t*)0x20003348 = 0; *(uint64_t*)0x20003350 = 0; *(uint64_t*)0x20003358 = 0; *(uint64_t*)0x200033d8 = 0; *(uint64_t*)0x200033e0 = 0; *(uint64_t*)0x200033e8 = 0; syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); { int i; for(i = 0; i < 4; i++) { syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); } } break; case 3: *(uint8_t*)0x20003480 = 0xcf; syscall(SYS_test, /*a=*/0x20003480ul, 0, 0, 0, 0, 0); break; case 4: syscall(SYS_test, 0, 0, 0, 0, 0, 0); break; case 5: *(uint64_t*)0x20004ac0 = 0x20003f40; *(uint64_t*)0x20003f40 = 0x200034c0; *(uint64_t*)0x200034c0 = 0; *(uint64_t*)0x200034c8 = 0; *(uint64_t*)0x20003f48 = 0x20003f00; *(uint64_t*)0x20003f00 = 0x20003540; *(uint64_t*)0x20003540 = 0x20003500; *(uint64_t*)0x20003500 = 0; *(uint64_t*)0x20003f08 = 0x200038c0; *(uint64_t*)0x200038c0 = 0; *(uint64_t*)0x200038c8 = 0x20003880; *(uint64_t*)0x20003880 = 0x200035c0; *(uint64_t*)0x200035c0 = 0x20003580; *(uint64_t*)0x20003580 = 0; *(uint64_t*)0x20003888 = 0; *(uint64_t*)0x20003890 = 0x20003700; *(uint64_t*)0x20003700 = 0x20003600; *(uint64_t*)0x20003600 = 0; *(uint64_t*)0x20003608 = 0; *(uint64_t*)0x20003610 = 0; *(uint64_t*)0x20003618 = 0; *(uint64_t*)0x20003708 = 0x20003640; *(uint64_t*)0x20003640 = 0; *(uint64_t*)0x20003648 = 0; *(uint64_t*)0x20003650 = 0; *(uint64_t*)0x20003658 = 0; *(uint64_t*)0x20003710 = 0x20003680; *(uint64_t*)0x20003680 = 0; *(uint64_t*)0x20003688 = 0; *(uint64_t*)0x20003690 = 0; *(uint64_t*)0x20003698 = 0; *(uint64_t*)0x20003718 = 0x200036c0; *(uint64_t*)0x200036c0 = 0; *(uint64_t*)0x200036c8 = 0; *(uint64_t*)0x200036d0 = 0; *(uint64_t*)0x200036d8 = 0; *(uint64_t*)0x20003898 = 0x20003840; *(uint64_t*)0x20003840 = 0x20003740; *(uint64_t*)0x20003740 = 0; *(uint64_t*)0x20003748 = 0; *(uint64_t*)0x20003750 = 0; *(uint64_t*)0x20003758 = 0; *(uint64_t*)0x20003848 = 0x20003780; *(uint64_t*)0x20003780 = 0; *(uint64_t*)0x20003788 = 0; *(uint64_t*)0x20003790 = 0; *(uint64_t*)0x20003798 = 0; *(uint64_t*)0x20003850 = 0x200037c0; *(uint64_t*)0x200037c0 = 0; *(uint64_t*)0x200037c8 = 0; *(uint64_t*)0x200037d0 = 0; *(uint64_t*)0x200037d8 = 0; *(uint64_t*)0x20003858 = 0x20003800; *(uint64_t*)0x20003800 = 0; *(uint64_t*)0x20003808 = 0; *(uint64_t*)0x20003810 = 0; *(uint64_t*)0x20003818 = 0; *(uint64_t*)0x200038a0 = 0; *(uint64_t*)0x200038a8 = 0; *(uint64_t*)0x20003f10 = 0x200039c0; *(uint64_t*)0x200039c0 = 0; *(uint64_t*)0x200039c8 = 0x20003900; *(uint64_t*)0x20003900 = 0; *(uint64_t*)0x20003908 = 0; *(uint64_t*)0x20003910 = 0; *(uint64_t*)0x20003918 = 0; *(uint64_t*)0x200039d0 = 0x20003940; *(uint64_t*)0x20003940 = 0; *(uint64_t*)0x20003948 = 0; *(uint64_t*)0x20003950 = 0; *(uint64_t*)0x20003958 = 0; *(uint64_t*)0x200039d8 = 0x20003980; *(uint64_t*)0x20003980 = 0; *(uint64_t*)0x20003988 = 0; *(uint64_t*)0x20003990 = 0; *(uint64_t*)0x20003998 = 0; *(uint64_t*)0x20003f18 = 0x20003ac0; *(uint64_t*)0x20003ac0 = 0x20003a00; *(uint64_t*)0x20003a00 = 0; *(uint64_t*)0x20003a08 = 0; *(uint64_t*)0x20003a10 = 0; *(uint64_t*)0x20003a18 = 0; *(uint64_t*)0x20003ac8 = 0x20003a40; *(uint64_t*)0x20003a40 = 0; *(uint64_t*)0x20003a48 = 0; *(uint64_t*)0x20003a50 = 0; *(uint64_t*)0x20003a58 = 0; *(uint64_t*)0x20003ad0 = 0x20003a80; *(uint64_t*)0x20003a80 = 0; *(uint64_t*)0x20003a88 = 0; *(uint64_t*)0x20003a90 = 0; *(uint64_t*)0x20003a98 = 0; *(uint64_t*)0x20003ad8 = 0; *(uint64_t*)0x20003f20 = 0x20003d80; *(uint64_t*)0x20003d80 = 0x20003b40; *(uint64_t*)0x20003b40 = 0x20003b00; *(uint64_t*)0x20003b00 = 0; *(uint64_t*)0x20003d88 = 0x20003b80; *(uint64_t*)0x20003b80 = 0; *(uint64_t*)0x20003b88 = 0; *(uint64_t*)0x20003d90 = 0x20003c40; *(uint64_t*)0x20003c40 = 0; *(uint64_t*)0x20003c48 = 0; *(uint64_t*)0x20003c50 = 0x20003bc0; *(uint64_t*)0x20003bc0 = 0; *(uint64_t*)0x20003bc8 = 0; *(uint64_t*)0x20003bd0 = 0; *(uint64_t*)0x20003bd8 = 0; *(uint64_t*)0x20003c58 = 0x20003c00; *(uint64_t*)0x20003c00 = 0; *(uint64_t*)0x20003c08 = 0; *(uint64_t*)0x20003c10 = 0; *(uint64_t*)0x20003c18 = 0; *(uint64_t*)0x20003d98 = 0x20003d40; *(uint64_t*)0x20003d40 = 0x20003c80; *(uint64_t*)0x20003c80 = 0; *(uint64_t*)0x20003c88 = 0; *(uint64_t*)0x20003c90 = 0; *(uint64_t*)0x20003c98 = 0; *(uint64_t*)0x20003d48 = 0x20003cc0; *(uint64_t*)0x20003cc0 = 0; *(uint64_t*)0x20003cc8 = 0; *(uint64_t*)0x20003cd0 = 0; *(uint64_t*)0x20003cd8 = 0; *(uint64_t*)0x20003d50 = 0x20003d00; *(uint64_t*)0x20003d00 = 0; *(uint64_t*)0x20003d08 = 0; *(uint64_t*)0x20003d10 = 0; *(uint64_t*)0x20003d18 = 0; *(uint64_t*)0x20003d58 = 0; *(uint64_t*)0x20003da0 = 0; *(uint64_t*)0x20003da8 = 0; *(uint64_t*)0x20003f28 = 0x20003ec0; *(uint64_t*)0x20003ec0 = 0; *(uint64_t*)0x20003ec8 = 0x20003dc0; *(uint64_t*)0x20003dc0 = 0; *(uint64_t*)0x20003dc8 = 0; *(uint64_t*)0x20003ed0 = 0; *(uint64_t*)0x20003ed8 = 0x20003e80; *(uint64_t*)0x20003e80 = 0; *(uint64_t*)0x20003e88 = 0; *(uint64_t*)0x20003e90 = 0x20003e00; *(uint64_t*)0x20003e00 = 0; *(uint64_t*)0x20003e08 = 0; *(uint64_t*)0x20003e10 = 0; *(uint64_t*)0x20003e18 = 0; *(uint64_t*)0x20003e98 = 0x20003e40; *(uint64_t*)0x20003e40 = 0; *(uint64_t*)0x20003e48 = 0; *(uint64_t*)0x20003e50 = 0; *(uint64_t*)0x20003e58 = 0; *(uint64_t*)0x20003ee0 = 0; *(uint64_t*)0x20003ee8 = 0; *(uint64_t*)0x20004ac8 = 0x20004a80; *(uint64_t*)0x20004a80 = 0x20003fc0; *(uint64_t*)0x20003fc0 = 0x20003f80; *(uint64_t*)0x20003f80 = 0; *(uint64_t*)0x20004a88 = 0x20004280; *(uint64_t*)0x20004280 = 0x20004000; *(uint64_t*)0x20004000 = 0; *(uint64_t*)0x20004008 = 0; *(uint64_t*)0x20004288 = 0x20004240; *(uint64_t*)0x20004240 = 0; *(uint64_t*)0x20004248 = 0x20004040; *(uint64_t*)0x20004040 = 0; *(uint64_t*)0x20004048 = 0; *(uint64_t*)0x20004250 = 0x20004100; *(uint64_t*)0x20004100 = 0x20004080; *(uint64_t*)0x20004080 = 0; *(uint64_t*)0x20004088 = 0; *(uint64_t*)0x20004090 = 0; *(uint64_t*)0x20004098 = 0; *(uint64_t*)0x20004108 = 0; *(uint64_t*)0x20004110 = 0x200040c0; *(uint64_t*)0x200040c0 = 0; *(uint64_t*)0x200040c8 = 0; *(uint64_t*)0x200040d0 = 0; *(uint64_t*)0x200040d8 = 0; *(uint64_t*)0x20004118 = 0; *(uint64_t*)0x20004258 = 0x20004200; *(uint64_t*)0x20004200 = 0x20004140; *(uint64_t*)0x20004140 = 0; *(uint64_t*)0x20004148 = 0; *(uint64_t*)0x20004150 = 0; *(uint64_t*)0x20004158 = 0; *(uint64_t*)0x20004208 = 0x20004180; *(uint64_t*)0x20004180 = 0; *(uint64_t*)0x20004188 = 0; *(uint64_t*)0x20004190 = 0; *(uint64_t*)0x20004198 = 0; *(uint64_t*)0x20004210 = 0x200041c0; *(uint64_t*)0x200041c0 = 0; *(uint64_t*)0x200041c8 = 0; *(uint64_t*)0x200041d0 = 0; *(uint64_t*)0x200041d8 = 0; *(uint64_t*)0x20004218 = 0; *(uint64_t*)0x20004260 = 0; *(uint64_t*)0x20004268 = 0; *(uint64_t*)0x20004a90 = 0x200043c0; *(uint64_t*)0x200043c0 = 0x200042c0; *(uint64_t*)0x200042c0 = 0; *(uint64_t*)0x200042c8 = 0; *(uint64_t*)0x200042d0 = 0; *(uint64_t*)0x200042d8 = 0; *(uint64_t*)0x200043c8 = 0x20004300; *(uint64_t*)0x20004300 = 0; *(uint64_t*)0x20004308 = 0; *(uint64_t*)0x20004310 = 0; *(uint64_t*)0x20004318 = 0; *(uint64_t*)0x200043d0 = 0x20004340; *(uint64_t*)0x20004340 = 0; *(uint64_t*)0x20004348 = 0; *(uint64_t*)0x20004350 = 0; *(uint64_t*)0x20004358 = 0; *(uint64_t*)0x200043d8 = 0x20004380; *(uint64_t*)0x20004380 = 0; *(uint64_t*)0x20004388 = 0; *(uint64_t*)0x20004390 = 0; *(uint64_t*)0x20004398 = 0; *(uint64_t*)0x20004a98 = 0x20004500; *(uint64_t*)0x20004500 = 0x20004400; *(uint64_t*)0x20004400 = 0; *(uint64_t*)0x20004408 = 0; *(uint64_t*)0x20004410 = 0; *(uint64_t*)0x20004418 = 0; *(uint64_t*)0x20004508 = 0x20004440; *(uint64_t*)0x20004440 = 0; *(uint64_t*)0x20004448 = 0; *(uint64_t*)0x20004450 = 0; *(uint64_t*)0x20004458 = 0; *(uint64_t*)0x20004510 = 0x20004480; *(uint64_t*)0x20004480 = 0; *(uint64_t*)0x20004488 = 0; *(uint64_t*)0x20004490 = 0; *(uint64_t*)0x20004498 = 0; *(uint64_t*)0x20004518 = 0x200044c0; *(uint64_t*)0x200044c0 = 0; *(uint64_t*)0x200044c8 = 0; *(uint64_t*)0x200044d0 = 0; *(uint64_t*)0x200044d8 = 0; *(uint64_t*)0x20004aa0 = 0x20004800; *(uint64_t*)0x20004800 = 0x20004580; *(uint64_t*)0x20004580 = 0x20004540; *(uint64_t*)0x20004540 = 0; *(uint64_t*)0x20004808 = 0x20004600; *(uint64_t*)0x20004600 = 0x200045c0; *(uint64_t*)0x200045c0 = 0; *(uint64_t*)0x200045c8 = 0; *(uint64_t*)0x20004608 = 0; *(uint64_t*)0x20004810 = 0x200046c0; *(uint64_t*)0x200046c0 = 0x20004640; *(uint64_t*)0x20004640 = 0; *(uint64_t*)0x20004648 = 0; *(uint64_t*)0x20004650 = 0; *(uint64_t*)0x20004658 = 0; *(uint64_t*)0x200046c8 = 0; *(uint64_t*)0x200046d0 = 0x20004680; *(uint64_t*)0x20004680 = 0; *(uint64_t*)0x20004688 = 0; *(uint64_t*)0x20004690 = 0; *(uint64_t*)0x20004698 = 0; *(uint64_t*)0x200046d8 = 0; *(uint64_t*)0x20004818 = 0x200047c0; *(uint64_t*)0x200047c0 = 0; *(uint64_t*)0x200047c8 = 0x20004700; *(uint64_t*)0x20004700 = 0; *(uint64_t*)0x20004708 = 0; *(uint64_t*)0x20004710 = 0; *(uint64_t*)0x20004718 = 0; *(uint64_t*)0x200047d0 = 0x20004740; *(uint64_t*)0x20004740 = 0; *(uint64_t*)0x20004748 = 0; *(uint64_t*)0x20004750 = 0; *(uint64_t*)0x20004758 = 0; *(uint64_t*)0x200047d8 = 0x20004780; *(uint64_t*)0x20004780 = 0; *(uint64_t*)0x20004788 = 0; *(uint64_t*)0x20004790 = 0; *(uint64_t*)0x20004798 = 0; *(uint64_t*)0x20004820 = 0; *(uint64_t*)0x20004828 = 0; *(uint64_t*)0x20004aa8 = 0x20004a40; *(uint64_t*)0x20004a40 = 0x20004880; *(uint64_t*)0x20004880 = 0x20004840; *(uint64_t*)0x20004840 = 0; *(uint64_t*)0x20004a48 = 0x20004900; *(uint64_t*)0x20004900 = 0x200048c0; *(uint64_t*)0x200048c0 = 0; *(uint64_t*)0x200048c8 = 0; *(uint64_t*)0x20004908 = 0; *(uint64_t*)0x20004a50 = 0x20004a00; *(uint64_t*)0x20004a00 = 0x20004940; *(uint64_t*)0x20004940 = 0; *(uint64_t*)0x20004948 = 0; *(uint64_t*)0x20004950 = 0; *(uint64_t*)0x20004958 = 0; *(uint64_t*)0x20004a08 = 0; *(uint64_t*)0x20004a10 = 0x20004980; *(uint64_t*)0x20004980 = 0; *(uint64_t*)0x20004988 = 0; *(uint64_t*)0x20004990 = 0; *(uint64_t*)0x20004998 = 0; *(uint64_t*)0x20004a18 = 0x200049c0; *(uint64_t*)0x200049c0 = 0; *(uint64_t*)0x200049c8 = 0; *(uint64_t*)0x200049d0 = 0; *(uint64_t*)0x200049d8 = 0; *(uint64_t*)0x20004a58 = 0; *(uint64_t*)0x20004a60 = 0; *(uint64_t*)0x20004a68 = 0; syscall(SYS_test, /*a0=*/0x20004ac0ul, 0, 0, 0, 0, 0); break; case 6: *(uint8_t*)0x20004b00 = 4; *(uint16_t*)0x20004b01 = 5; *(uint16_t*)0x20004b03 = 0x400; *(uint64_t*)0x20004b05 = 0xcf; syscall(SYS_test, /*a0=*/0x20004b00ul, 0, 0, 0, 0, 0); break; case 7: sprintf((char*)0x20004b40, "0x%016llx", (long long)0); syscall(SYS_foo, /*a=*/0x20004b40ul, 0, 0); break; case 8: *(uint8_t*)0x20004b80 = 5; syscall(SYS_test, /*a=*/0x20004b80ul, 0, 0, 0, 0, 0); break; case 9: *(uint64_t*)0x20004bc0 = 0x1000; syscall(SYS_test, /*a0=*/0x20004bc0ul, 0, 0, 0, 0, 0); break; case 10: memcpy((void*)0x20000000, "-\000", 2); *(uint8_t*)0x20000040 = 0xc0; *(uint16_t*)0x20000044 = 0; STORE_BY_BITMASK(uint32_t, , 0x20000044, 0x24b, 16, 12); STORE_BY_BITMASK(uint32_t, , 0x20000048, 0x380, 0, 12); syz_compare(/*want=*/0x20000000, /*want_len=*/2, /*got=*/0x20000040, /*got_len=*/0xc); break; case 11: syz_compare_int(/*n=*/2, /*v0=*/0xb584, /*v1=*/5, 0, 0); break; case 12: syz_errno(/*v=*/4); break; case 13: memcpy((void*)0x20000080, "\x68\x5d\xce\x50\x3a\x1d\x0b\x65\x7c\x26\x0c\x9d\x19\x4b\x3f\x80\x96\x20\xfd\xde\x60\xc9\x72\xd0\x38\x09\x53\x6f\x2c\xe0\x02\x02\x78\x7c\x45\xc6\x51\xd1\xfc\xe2\x48\x7a\x3d\x34\xca\xac\x04\x9f\xee\x28", 50); syz_execute_func(/*text=*/0x20000080); break; case 14: syz_exit(/*status=*/4); break; case 15: syz_mmap(/*addr=*/0x20ffe000, /*len=*/0x2000); break; case 16: syz_sleep_ms(/*ms=*/0xfff); break; case 17: syz_test_fuzzer1(/*a=*/6, /*b=*/2, /*c=*/0xb); break; } } int main(void) { syz_mmap(/*addr=*/0x20000000, /*len=*/0x1000000); setup_fault(); use_temporary_dir(); do_sandbox_none(); return 0; } :461:3: error: call to undeclared function 'syscall'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); ^ 1 error generated. compiler invocation: c++ [-o /tmp/syz-executor24029729 -DGOOS_test=1 -DGOARCH_64=1 -DHOSTGOOS_openbsd=1 -x c - -m64 -lutil -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-array-bounds -Wno-unused-but-set-variable -Wno-unused-command-line-argument -no-pie -fno-exceptions] --- FAIL: TestGenerate/test/64/3 (1.26s) csource_test.go:150: opts: {Threaded:true Repeat:true RepeatTimes:10 Procs:0 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:false Repro:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: test$recur2(&(0x7f0000000ac0)={0x0, 0x0, &(0x7f0000000100)={&(0x7f0000000000), &(0x7f0000000040), &(0x7f0000000080), &(0x7f00000000c0)}, 0x0, &(0x7f0000000a80)={&(0x7f0000000180)={&(0x7f0000000140)}, &(0x7f00000007c0)={&(0x7f00000004c0)={0x0, &(0x7f0000000480)={&(0x7f0000000200)={&(0x7f00000001c0)}, 0x0, &(0x7f0000000300)={0x0, &(0x7f0000000240), &(0x7f0000000280), &(0x7f00000002c0)}, &(0x7f0000000440)={&(0x7f0000000340), &(0x7f0000000380), &(0x7f00000003c0), &(0x7f0000000400)}}}, &(0x7f0000000780)={&(0x7f0000000500), 0x0, &(0x7f0000000600)={&(0x7f0000000540), &(0x7f0000000580), &(0x7f00000005c0)}, &(0x7f0000000740)={&(0x7f0000000640), &(0x7f0000000680), &(0x7f00000006c0), &(0x7f0000000700)}}}, 0x0, &(0x7f00000008c0)={0x0, &(0x7f0000000800), &(0x7f0000000840), &(0x7f0000000880)}, 0x0, &(0x7f0000000a40)={0x0, &(0x7f0000000940)={&(0x7f0000000900)}, 0x0, &(0x7f0000000a00)={0x0, &(0x7f0000000980), &(0x7f00000009c0)}}}}) (fail_nth: 1) test$recur0(&(0x7f0000000b80)={&(0x7f0000000b40)={&(0x7f0000000b00)}}) (async) test$recur2(&(0x7f0000003440)={&(0x7f0000000c00)={&(0x7f0000000bc0)}, &(0x7f0000001800)={&(0x7f00000011c0)={0x0, &(0x7f0000001180)={&(0x7f0000000c80)={&(0x7f0000000c40)}, 0x0, &(0x7f0000000d80)={&(0x7f0000000cc0), &(0x7f0000000d00), 0x0, &(0x7f0000000d40)}, &(0x7f0000000e80)={0x0, &(0x7f0000000dc0), &(0x7f0000000e00), &(0x7f0000000e40)}, &(0x7f0000001140)={&(0x7f0000000f00)={&(0x7f0000000ec0)}, 0x0, &(0x7f0000001000)={&(0x7f0000000f40), 0x0, &(0x7f0000000f80), &(0x7f0000000fc0)}, &(0x7f0000001100)={&(0x7f0000001040), &(0x7f0000001080), 0x0, &(0x7f00000010c0)}}}}, &(0x7f00000017c0)={&(0x7f0000001240)={&(0x7f0000001200)}, 0x0, &(0x7f0000001340)={&(0x7f0000001280), &(0x7f00000012c0), 0x0, &(0x7f0000001300)}, &(0x7f0000001480)={&(0x7f0000001380), &(0x7f00000013c0), &(0x7f0000001400), &(0x7f0000001440)}, &(0x7f0000001780)={&(0x7f0000001500)={&(0x7f00000014c0)}, 0x0, &(0x7f0000001640)={&(0x7f0000001540), &(0x7f0000001580), &(0x7f00000015c0), &(0x7f0000001600)}, &(0x7f0000001740)={0x0, &(0x7f0000001680), &(0x7f00000016c0), &(0x7f0000001700)}}}}, &(0x7f0000001940)={&(0x7f0000001840), &(0x7f0000001880), &(0x7f00000018c0), &(0x7f0000001900)}, &(0x7f0000001a40)={&(0x7f0000001980), 0x0, &(0x7f00000019c0), &(0x7f0000001a00)}, &(0x7f0000002780)={&(0x7f0000001ac0)={&(0x7f0000001a80)}, &(0x7f0000002140)={&(0x7f0000001dc0)={0x0, &(0x7f0000001d80)={&(0x7f0000001b00), 0x0, &(0x7f0000001c00)={&(0x7f0000001b40), 0x0, &(0x7f0000001b80), &(0x7f0000001bc0)}, &(0x7f0000001d40)={&(0x7f0000001c40), &(0x7f0000001c80), &(0x7f0000001cc0), &(0x7f0000001d00)}}}, &(0x7f0000002100)={&(0x7f0000001e40)={&(0x7f0000001e00)}, &(0x7f0000001e80), &(0x7f0000001fc0)={&(0x7f0000001ec0), &(0x7f0000001f00), &(0x7f0000001f40), &(0x7f0000001f80)}, &(0x7f00000020c0)={&(0x7f0000002000), 0x0, &(0x7f0000002040), &(0x7f0000002080)}}}, &(0x7f0000002280)={&(0x7f0000002180), &(0x7f00000021c0), &(0x7f0000002200), &(0x7f0000002240)}, &(0x7f00000023c0)={&(0x7f00000022c0), &(0x7f0000002300), &(0x7f0000002340), &(0x7f0000002380)}, &(0x7f00000024c0)={&(0x7f0000002440)={&(0x7f0000002400)}, &(0x7f0000002480)}, &(0x7f0000002740)={&(0x7f0000002540)={&(0x7f0000002500)}, &(0x7f00000025c0)={&(0x7f0000002580)}, 0x0, &(0x7f0000002700)={&(0x7f0000002600), &(0x7f0000002640), &(0x7f0000002680), &(0x7f00000026c0)}}}, &(0x7f0000003400)={&(0x7f0000002800)={&(0x7f00000027c0)}, &(0x7f0000002b80)={&(0x7f0000002900)={0x0, &(0x7f00000028c0)={&(0x7f0000002880)={&(0x7f0000002840)}}}, &(0x7f0000002b40)={&(0x7f0000002980)={&(0x7f0000002940)}, &(0x7f00000029c0), &(0x7f0000002b00)={&(0x7f0000002a00), &(0x7f0000002a40), &(0x7f0000002a80), &(0x7f0000002ac0)}}}, &(0x7f0000002cc0)={&(0x7f0000002bc0), &(0x7f0000002c00), &(0x7f0000002c40), &(0x7f0000002c80)}, &(0x7f0000002e00)={&(0x7f0000002d00), &(0x7f0000002d40), &(0x7f0000002d80), &(0x7f0000002dc0)}, &(0x7f0000003180)={&(0x7f0000002e80)={&(0x7f0000002e40)}, &(0x7f0000002f00)={&(0x7f0000002ec0)}, &(0x7f0000003000)={0x0, &(0x7f0000002f40), &(0x7f0000002f80), &(0x7f0000002fc0)}, &(0x7f0000003140)={&(0x7f0000003040), &(0x7f0000003080), &(0x7f00000030c0), &(0x7f0000003100)}}, &(0x7f00000033c0)={&(0x7f0000003200)={&(0x7f00000031c0)}, &(0x7f0000003240), &(0x7f0000003380)={&(0x7f0000003280), &(0x7f00000032c0), &(0x7f0000003300), &(0x7f0000003340)}}}}) (rerun: 4) test$use_cond_resource(&(0x7f0000003480)={0xcf}) test$create_cond_resource() test$recur1(&(0x7f0000004ac0)={&(0x7f0000003f40)={&(0x7f00000034c0), &(0x7f0000003f00)={&(0x7f0000003540)={&(0x7f0000003500)}, &(0x7f00000038c0)={0x0, &(0x7f0000003880)={&(0x7f00000035c0)={&(0x7f0000003580)}, 0x0, &(0x7f0000003700)={&(0x7f0000003600), &(0x7f0000003640), &(0x7f0000003680), &(0x7f00000036c0)}, &(0x7f0000003840)={&(0x7f0000003740), &(0x7f0000003780), &(0x7f00000037c0), &(0x7f0000003800)}}}, &(0x7f00000039c0)={0x0, &(0x7f0000003900), &(0x7f0000003940), &(0x7f0000003980)}, &(0x7f0000003ac0)={&(0x7f0000003a00), &(0x7f0000003a40), &(0x7f0000003a80)}, &(0x7f0000003d80)={&(0x7f0000003b40)={&(0x7f0000003b00)}, &(0x7f0000003b80), &(0x7f0000003c40)={0x0, 0x0, &(0x7f0000003bc0), &(0x7f0000003c00)}, &(0x7f0000003d40)={&(0x7f0000003c80), &(0x7f0000003cc0), &(0x7f0000003d00)}}, &(0x7f0000003ec0)={0x0, &(0x7f0000003dc0), 0x0, &(0x7f0000003e80)={0x0, 0x0, &(0x7f0000003e00), &(0x7f0000003e40)}}}}, &(0x7f0000004a80)={&(0x7f0000003fc0)={&(0x7f0000003f80)}, &(0x7f0000004280)={&(0x7f0000004000), &(0x7f0000004240)={0x0, &(0x7f0000004040), &(0x7f0000004100)={&(0x7f0000004080), 0x0, &(0x7f00000040c0)}, &(0x7f0000004200)={&(0x7f0000004140), &(0x7f0000004180), &(0x7f00000041c0)}}}, &(0x7f00000043c0)={&(0x7f00000042c0), &(0x7f0000004300), &(0x7f0000004340), &(0x7f0000004380)}, &(0x7f0000004500)={&(0x7f0000004400), &(0x7f0000004440), &(0x7f0000004480), &(0x7f00000044c0)}, &(0x7f0000004800)={&(0x7f0000004580)={&(0x7f0000004540)}, &(0x7f0000004600)={&(0x7f00000045c0)}, &(0x7f00000046c0)={&(0x7f0000004640), 0x0, &(0x7f0000004680)}, &(0x7f00000047c0)={0x0, &(0x7f0000004700), &(0x7f0000004740), &(0x7f0000004780)}}, &(0x7f0000004a40)={&(0x7f0000004880)={&(0x7f0000004840)}, &(0x7f0000004900)={&(0x7f00000048c0)}, &(0x7f0000004a00)={&(0x7f0000004940), 0x0, &(0x7f0000004980), &(0x7f00000049c0)}}}}) test$array0(&(0x7f0000004b00)={0x4, [@f0=0x5, @f0=0x400], 0xcf}) foo$fmt1(&(0x7f0000004b40)) test$use_cond_resource(&(0x7f0000004b80)={0x5}) test$opt1(&(0x7f0000004bc0)=0x1000) syz_compare(&(0x7f0000000000)='-\x00', 0x2, &(0x7f0000000040)=@bf13={0xc0, {0x0, 0x24b, 0x380}}, 0xc) syz_compare_int$2(0x2, 0xb584, 0x5) syz_errno(0x4) syz_execute_func(&(0x7f0000000080)="685dce503a1d0b657c260c9d194b3f809620fdde60c972d03809536f2ce00202787c45c651d1fce2487a3d34caac049fee28") syz_exit(0x4) syz_mmap(&(0x7f0000ffe000/0x2000)=nil, 0x2000) syz_sleep_ms(0xfff) syz_test_fuzzer1(0x6, 0x2, 0xb) csource_test.go:151: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #ifndef SYS_foo #define SYS_foo 0 #endif #ifndef SYS_test #define SYS_test 0 #endif static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } static int inject_fault(int nth) { return 0; } static void setup_fault() { } static void thread_start(void* (*fn)(void*), void* arg) { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 128 << 10); int i = 0; for (; i < 100; i++) { if (pthread_create(&th, &attr, fn, arg) == 0) { pthread_attr_destroy(&attr); return; } if (errno == EAGAIN) { usleep(50); continue; } break; } exit(1); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); 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) exit(1); 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_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #define BITMASK(bf_off,bf_len) (((1ull << (bf_len)) - 1) << (bf_off)) #define STORE_BY_BITMASK(type,htobe,addr,val,bf_off,bf_len) *(type*)(addr) = htobe((htobe(*(type*)(addr)) & ~BITMASK((bf_off), (bf_len))) | (((type)(val) << (bf_off)) & BITMASK((bf_off), (bf_len)))) static long syz_mmap(volatile long a0, volatile long a1) { return (long)mmap((void*)a0, a1, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0); } static long syz_errno(volatile long v) { errno = v; return v == 0 ? 0 : -1; } static long syz_exit(volatile long status) { _exit(status); return 0; } static long syz_sleep_ms(volatile long ms) { sleep_ms(ms); return 0; } static long syz_compare(volatile long want, volatile long want_len, volatile long got, volatile long got_len) { if (want_len != got_len) { errno = EBADF; goto error; } if (memcmp((void*)want, (void*)got, want_len)) { errno = EINVAL; goto error; } return 0; error: return -1; } static long syz_compare_int(volatile long n, ...) { va_list args; va_start(args, n); long v0 = va_arg(args, long); long v1 = va_arg(args, long); long v2 = va_arg(args, long); long v3 = va_arg(args, long); va_end(args); if (n < 2 || n > 4) return errno = E2BIG, -1; if (n <= 2 && v2 != 0) return errno = EFAULT, -1; if (n <= 3 && v3 != 0) return errno = EFAULT, -1; if (v0 != v1) return errno = EINVAL, -1; if (n > 2 && v0 != v2) return errno = EINVAL, -1; if (n > 3 && v0 != v3) return errno = EINVAL, -1; return 0; } static void loop(); static int do_sandbox_none(void) { loop(); return 0; } static void fake_crash(const char* name) { exit(1); exit(1); } static long syz_test_fuzzer1(volatile long a, volatile long b, volatile long c) { if (a == 1 && b == 1 && c == 1) fake_crash("first bug"); if (a == 1 && b == 2 && c == 3) fake_crash("second bug"); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } 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; 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_one(void) { int i, call, thread; for (call = 0; call < 18; call++) { for (thread = 0; thread < (int)(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 (call == 1) break; event_timedwait(&th->done, 50); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); static void loop(void) { execute_one(); } void execute_call(int call) { switch (call) { case 0: *(uint64_t*)0x20000ac0 = 0; *(uint64_t*)0x20000ac8 = 0; *(uint64_t*)0x20000ad0 = 0x20000100; *(uint64_t*)0x20000100 = 0x20000000; *(uint64_t*)0x20000000 = 0; *(uint64_t*)0x20000008 = 0; *(uint64_t*)0x20000010 = 0; *(uint64_t*)0x20000018 = 0; *(uint64_t*)0x20000108 = 0x20000040; *(uint64_t*)0x20000040 = 0; *(uint64_t*)0x20000048 = 0; *(uint64_t*)0x20000050 = 0; *(uint64_t*)0x20000058 = 0; *(uint64_t*)0x20000110 = 0x20000080; *(uint64_t*)0x20000080 = 0; *(uint64_t*)0x20000088 = 0; *(uint64_t*)0x20000090 = 0; *(uint64_t*)0x20000098 = 0; *(uint64_t*)0x20000118 = 0x200000c0; *(uint64_t*)0x200000c0 = 0; *(uint64_t*)0x200000c8 = 0; *(uint64_t*)0x200000d0 = 0; *(uint64_t*)0x200000d8 = 0; *(uint64_t*)0x20000ad8 = 0; *(uint64_t*)0x20000ae0 = 0x20000a80; *(uint64_t*)0x20000a80 = 0x20000180; *(uint64_t*)0x20000180 = 0x20000140; *(uint64_t*)0x20000140 = 0; *(uint64_t*)0x20000a88 = 0x200007c0; *(uint64_t*)0x200007c0 = 0x200004c0; *(uint64_t*)0x200004c0 = 0; *(uint64_t*)0x200004c8 = 0x20000480; *(uint64_t*)0x20000480 = 0x20000200; *(uint64_t*)0x20000200 = 0x200001c0; *(uint64_t*)0x200001c0 = 0; *(uint64_t*)0x20000488 = 0; *(uint64_t*)0x20000490 = 0x20000300; *(uint64_t*)0x20000300 = 0; *(uint64_t*)0x20000308 = 0x20000240; *(uint64_t*)0x20000240 = 0; *(uint64_t*)0x20000248 = 0; *(uint64_t*)0x20000250 = 0; *(uint64_t*)0x20000258 = 0; *(uint64_t*)0x20000310 = 0x20000280; *(uint64_t*)0x20000280 = 0; *(uint64_t*)0x20000288 = 0; *(uint64_t*)0x20000290 = 0; *(uint64_t*)0x20000298 = 0; *(uint64_t*)0x20000318 = 0x200002c0; *(uint64_t*)0x200002c0 = 0; *(uint64_t*)0x200002c8 = 0; *(uint64_t*)0x200002d0 = 0; *(uint64_t*)0x200002d8 = 0; *(uint64_t*)0x20000498 = 0x20000440; *(uint64_t*)0x20000440 = 0x20000340; *(uint64_t*)0x20000340 = 0; *(uint64_t*)0x20000348 = 0; *(uint64_t*)0x20000350 = 0; *(uint64_t*)0x20000358 = 0; *(uint64_t*)0x20000448 = 0x20000380; *(uint64_t*)0x20000380 = 0; *(uint64_t*)0x20000388 = 0; *(uint64_t*)0x20000390 = 0; *(uint64_t*)0x20000398 = 0; *(uint64_t*)0x20000450 = 0x200003c0; *(uint64_t*)0x200003c0 = 0; *(uint64_t*)0x200003c8 = 0; *(uint64_t*)0x200003d0 = 0; *(uint64_t*)0x200003d8 = 0; *(uint64_t*)0x20000458 = 0x20000400; *(uint64_t*)0x20000400 = 0; *(uint64_t*)0x20000408 = 0; *(uint64_t*)0x20000410 = 0; *(uint64_t*)0x20000418 = 0; *(uint64_t*)0x200004a0 = 0; *(uint64_t*)0x200004a8 = 0; *(uint64_t*)0x200007c8 = 0x20000780; *(uint64_t*)0x20000780 = 0x20000500; *(uint64_t*)0x20000500 = 0; *(uint64_t*)0x20000788 = 0; *(uint64_t*)0x20000790 = 0x20000600; *(uint64_t*)0x20000600 = 0x20000540; *(uint64_t*)0x20000540 = 0; *(uint64_t*)0x20000548 = 0; *(uint64_t*)0x20000550 = 0; *(uint64_t*)0x20000558 = 0; *(uint64_t*)0x20000608 = 0x20000580; *(uint64_t*)0x20000580 = 0; *(uint64_t*)0x20000588 = 0; *(uint64_t*)0x20000590 = 0; *(uint64_t*)0x20000598 = 0; *(uint64_t*)0x20000610 = 0x200005c0; *(uint64_t*)0x200005c0 = 0; *(uint64_t*)0x200005c8 = 0; *(uint64_t*)0x200005d0 = 0; *(uint64_t*)0x200005d8 = 0; *(uint64_t*)0x20000618 = 0; *(uint64_t*)0x20000798 = 0x20000740; *(uint64_t*)0x20000740 = 0x20000640; *(uint64_t*)0x20000640 = 0; *(uint64_t*)0x20000648 = 0; *(uint64_t*)0x20000650 = 0; *(uint64_t*)0x20000658 = 0; *(uint64_t*)0x20000748 = 0x20000680; *(uint64_t*)0x20000680 = 0; *(uint64_t*)0x20000688 = 0; *(uint64_t*)0x20000690 = 0; *(uint64_t*)0x20000698 = 0; *(uint64_t*)0x20000750 = 0x200006c0; *(uint64_t*)0x200006c0 = 0; *(uint64_t*)0x200006c8 = 0; *(uint64_t*)0x200006d0 = 0; *(uint64_t*)0x200006d8 = 0; *(uint64_t*)0x20000758 = 0x20000700; *(uint64_t*)0x20000700 = 0; *(uint64_t*)0x20000708 = 0; *(uint64_t*)0x20000710 = 0; *(uint64_t*)0x20000718 = 0; *(uint64_t*)0x200007a0 = 0; *(uint64_t*)0x200007a8 = 0; *(uint64_t*)0x20000a90 = 0; *(uint64_t*)0x20000a98 = 0x200008c0; *(uint64_t*)0x200008c0 = 0; *(uint64_t*)0x200008c8 = 0x20000800; *(uint64_t*)0x20000800 = 0; *(uint64_t*)0x20000808 = 0; *(uint64_t*)0x20000810 = 0; *(uint64_t*)0x20000818 = 0; *(uint64_t*)0x200008d0 = 0x20000840; *(uint64_t*)0x20000840 = 0; *(uint64_t*)0x20000848 = 0; *(uint64_t*)0x20000850 = 0; *(uint64_t*)0x20000858 = 0; *(uint64_t*)0x200008d8 = 0x20000880; *(uint64_t*)0x20000880 = 0; *(uint64_t*)0x20000888 = 0; *(uint64_t*)0x20000890 = 0; *(uint64_t*)0x20000898 = 0; *(uint64_t*)0x20000aa0 = 0; *(uint64_t*)0x20000aa8 = 0x20000a40; *(uint64_t*)0x20000a40 = 0; *(uint64_t*)0x20000a48 = 0x20000940; *(uint64_t*)0x20000940 = 0x20000900; *(uint64_t*)0x20000900 = 0; *(uint64_t*)0x20000908 = 0; *(uint64_t*)0x20000948 = 0; *(uint64_t*)0x20000a50 = 0; *(uint64_t*)0x20000a58 = 0x20000a00; *(uint64_t*)0x20000a00 = 0; *(uint64_t*)0x20000a08 = 0x20000980; *(uint64_t*)0x20000980 = 0; *(uint64_t*)0x20000988 = 0; *(uint64_t*)0x20000990 = 0; *(uint64_t*)0x20000998 = 0; *(uint64_t*)0x20000a10 = 0x200009c0; *(uint64_t*)0x200009c0 = 0; *(uint64_t*)0x200009c8 = 0; *(uint64_t*)0x200009d0 = 0; *(uint64_t*)0x200009d8 = 0; *(uint64_t*)0x20000a18 = 0; *(uint64_t*)0x20000a60 = 0; *(uint64_t*)0x20000a68 = 0; *(uint64_t*)0x20000ae8 = 0; inject_fault(1); syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); break; case 1: *(uint64_t*)0x20000b80 = 0x20000b40; *(uint64_t*)0x20000b40 = 0x20000b00; *(uint64_t*)0x20000b00 = 0; syscall(SYS_test, /*a0=*/0x20000b80ul, 0, 0, 0, 0, 0); break; case 2: *(uint64_t*)0x20003440 = 0x20000c00; *(uint64_t*)0x20000c00 = 0x20000bc0; *(uint64_t*)0x20000bc0 = 0; *(uint64_t*)0x20003448 = 0x20001800; *(uint64_t*)0x20001800 = 0x200011c0; *(uint64_t*)0x200011c0 = 0; *(uint64_t*)0x200011c8 = 0x20001180; *(uint64_t*)0x20001180 = 0x20000c80; *(uint64_t*)0x20000c80 = 0x20000c40; *(uint64_t*)0x20000c40 = 0; *(uint64_t*)0x20001188 = 0; *(uint64_t*)0x20001190 = 0x20000d80; *(uint64_t*)0x20000d80 = 0x20000cc0; *(uint64_t*)0x20000cc0 = 0; *(uint64_t*)0x20000cc8 = 0; *(uint64_t*)0x20000cd0 = 0; *(uint64_t*)0x20000cd8 = 0; *(uint64_t*)0x20000d88 = 0x20000d00; *(uint64_t*)0x20000d00 = 0; *(uint64_t*)0x20000d08 = 0; *(uint64_t*)0x20000d10 = 0; *(uint64_t*)0x20000d18 = 0; *(uint64_t*)0x20000d90 = 0; *(uint64_t*)0x20000d98 = 0x20000d40; *(uint64_t*)0x20000d40 = 0; *(uint64_t*)0x20000d48 = 0; *(uint64_t*)0x20000d50 = 0; *(uint64_t*)0x20000d58 = 0; *(uint64_t*)0x20001198 = 0x20000e80; *(uint64_t*)0x20000e80 = 0; *(uint64_t*)0x20000e88 = 0x20000dc0; *(uint64_t*)0x20000dc0 = 0; *(uint64_t*)0x20000dc8 = 0; *(uint64_t*)0x20000dd0 = 0; *(uint64_t*)0x20000dd8 = 0; *(uint64_t*)0x20000e90 = 0x20000e00; *(uint64_t*)0x20000e00 = 0; *(uint64_t*)0x20000e08 = 0; *(uint64_t*)0x20000e10 = 0; *(uint64_t*)0x20000e18 = 0; *(uint64_t*)0x20000e98 = 0x20000e40; *(uint64_t*)0x20000e40 = 0; *(uint64_t*)0x20000e48 = 0; *(uint64_t*)0x20000e50 = 0; *(uint64_t*)0x20000e58 = 0; *(uint64_t*)0x200011a0 = 0x20001140; *(uint64_t*)0x20001140 = 0x20000f00; *(uint64_t*)0x20000f00 = 0x20000ec0; *(uint64_t*)0x20000ec0 = 0; *(uint64_t*)0x20001148 = 0; *(uint64_t*)0x20001150 = 0x20001000; *(uint64_t*)0x20001000 = 0x20000f40; *(uint64_t*)0x20000f40 = 0; *(uint64_t*)0x20000f48 = 0; *(uint64_t*)0x20000f50 = 0; *(uint64_t*)0x20000f58 = 0; *(uint64_t*)0x20001008 = 0; *(uint64_t*)0x20001010 = 0x20000f80; *(uint64_t*)0x20000f80 = 0; *(uint64_t*)0x20000f88 = 0; *(uint64_t*)0x20000f90 = 0; *(uint64_t*)0x20000f98 = 0; *(uint64_t*)0x20001018 = 0x20000fc0; *(uint64_t*)0x20000fc0 = 0; *(uint64_t*)0x20000fc8 = 0; *(uint64_t*)0x20000fd0 = 0; *(uint64_t*)0x20000fd8 = 0; *(uint64_t*)0x20001158 = 0x20001100; *(uint64_t*)0x20001100 = 0x20001040; *(uint64_t*)0x20001040 = 0; *(uint64_t*)0x20001048 = 0; *(uint64_t*)0x20001050 = 0; *(uint64_t*)0x20001058 = 0; *(uint64_t*)0x20001108 = 0x20001080; *(uint64_t*)0x20001080 = 0; *(uint64_t*)0x20001088 = 0; *(uint64_t*)0x20001090 = 0; *(uint64_t*)0x20001098 = 0; *(uint64_t*)0x20001110 = 0; *(uint64_t*)0x20001118 = 0x200010c0; *(uint64_t*)0x200010c0 = 0; *(uint64_t*)0x200010c8 = 0; *(uint64_t*)0x200010d0 = 0; *(uint64_t*)0x200010d8 = 0; *(uint64_t*)0x20001160 = 0; *(uint64_t*)0x20001168 = 0; *(uint64_t*)0x200011a8 = 0; *(uint64_t*)0x20001808 = 0x200017c0; *(uint64_t*)0x200017c0 = 0x20001240; *(uint64_t*)0x20001240 = 0x20001200; *(uint64_t*)0x20001200 = 0; *(uint64_t*)0x200017c8 = 0; *(uint64_t*)0x200017d0 = 0x20001340; *(uint64_t*)0x20001340 = 0x20001280; *(uint64_t*)0x20001280 = 0; *(uint64_t*)0x20001288 = 0; *(uint64_t*)0x20001290 = 0; *(uint64_t*)0x20001298 = 0; *(uint64_t*)0x20001348 = 0x200012c0; *(uint64_t*)0x200012c0 = 0; *(uint64_t*)0x200012c8 = 0; *(uint64_t*)0x200012d0 = 0; *(uint64_t*)0x200012d8 = 0; *(uint64_t*)0x20001350 = 0; *(uint64_t*)0x20001358 = 0x20001300; *(uint64_t*)0x20001300 = 0; *(uint64_t*)0x20001308 = 0; *(uint64_t*)0x20001310 = 0; *(uint64_t*)0x20001318 = 0; *(uint64_t*)0x200017d8 = 0x20001480; *(uint64_t*)0x20001480 = 0x20001380; *(uint64_t*)0x20001380 = 0; *(uint64_t*)0x20001388 = 0; *(uint64_t*)0x20001390 = 0; *(uint64_t*)0x20001398 = 0; *(uint64_t*)0x20001488 = 0x200013c0; *(uint64_t*)0x200013c0 = 0; *(uint64_t*)0x200013c8 = 0; *(uint64_t*)0x200013d0 = 0; *(uint64_t*)0x200013d8 = 0; *(uint64_t*)0x20001490 = 0x20001400; *(uint64_t*)0x20001400 = 0; *(uint64_t*)0x20001408 = 0; *(uint64_t*)0x20001410 = 0; *(uint64_t*)0x20001418 = 0; *(uint64_t*)0x20001498 = 0x20001440; *(uint64_t*)0x20001440 = 0; *(uint64_t*)0x20001448 = 0; *(uint64_t*)0x20001450 = 0; *(uint64_t*)0x20001458 = 0; *(uint64_t*)0x200017e0 = 0x20001780; *(uint64_t*)0x20001780 = 0x20001500; *(uint64_t*)0x20001500 = 0x200014c0; *(uint64_t*)0x200014c0 = 0; *(uint64_t*)0x20001788 = 0; *(uint64_t*)0x20001790 = 0x20001640; *(uint64_t*)0x20001640 = 0x20001540; *(uint64_t*)0x20001540 = 0; *(uint64_t*)0x20001548 = 0; *(uint64_t*)0x20001550 = 0; *(uint64_t*)0x20001558 = 0; *(uint64_t*)0x20001648 = 0x20001580; *(uint64_t*)0x20001580 = 0; *(uint64_t*)0x20001588 = 0; *(uint64_t*)0x20001590 = 0; *(uint64_t*)0x20001598 = 0; *(uint64_t*)0x20001650 = 0x200015c0; *(uint64_t*)0x200015c0 = 0; *(uint64_t*)0x200015c8 = 0; *(uint64_t*)0x200015d0 = 0; *(uint64_t*)0x200015d8 = 0; *(uint64_t*)0x20001658 = 0x20001600; *(uint64_t*)0x20001600 = 0; *(uint64_t*)0x20001608 = 0; *(uint64_t*)0x20001610 = 0; *(uint64_t*)0x20001618 = 0; *(uint64_t*)0x20001798 = 0x20001740; *(uint64_t*)0x20001740 = 0; *(uint64_t*)0x20001748 = 0x20001680; *(uint64_t*)0x20001680 = 0; *(uint64_t*)0x20001688 = 0; *(uint64_t*)0x20001690 = 0; *(uint64_t*)0x20001698 = 0; *(uint64_t*)0x20001750 = 0x200016c0; *(uint64_t*)0x200016c0 = 0; *(uint64_t*)0x200016c8 = 0; *(uint64_t*)0x200016d0 = 0; *(uint64_t*)0x200016d8 = 0; *(uint64_t*)0x20001758 = 0x20001700; *(uint64_t*)0x20001700 = 0; *(uint64_t*)0x20001708 = 0; *(uint64_t*)0x20001710 = 0; *(uint64_t*)0x20001718 = 0; *(uint64_t*)0x200017a0 = 0; *(uint64_t*)0x200017a8 = 0; *(uint64_t*)0x200017e8 = 0; *(uint64_t*)0x20003450 = 0x20001940; *(uint64_t*)0x20001940 = 0x20001840; *(uint64_t*)0x20001840 = 0; *(uint64_t*)0x20001848 = 0; *(uint64_t*)0x20001850 = 0; *(uint64_t*)0x20001858 = 0; *(uint64_t*)0x20001948 = 0x20001880; *(uint64_t*)0x20001880 = 0; *(uint64_t*)0x20001888 = 0; *(uint64_t*)0x20001890 = 0; *(uint64_t*)0x20001898 = 0; *(uint64_t*)0x20001950 = 0x200018c0; *(uint64_t*)0x200018c0 = 0; *(uint64_t*)0x200018c8 = 0; *(uint64_t*)0x200018d0 = 0; *(uint64_t*)0x200018d8 = 0; *(uint64_t*)0x20001958 = 0x20001900; *(uint64_t*)0x20001900 = 0; *(uint64_t*)0x20001908 = 0; *(uint64_t*)0x20001910 = 0; *(uint64_t*)0x20001918 = 0; *(uint64_t*)0x20003458 = 0x20001a40; *(uint64_t*)0x20001a40 = 0x20001980; *(uint64_t*)0x20001980 = 0; *(uint64_t*)0x20001988 = 0; *(uint64_t*)0x20001990 = 0; *(uint64_t*)0x20001998 = 0; *(uint64_t*)0x20001a48 = 0; *(uint64_t*)0x20001a50 = 0x200019c0; *(uint64_t*)0x200019c0 = 0; *(uint64_t*)0x200019c8 = 0; *(uint64_t*)0x200019d0 = 0; *(uint64_t*)0x200019d8 = 0; *(uint64_t*)0x20001a58 = 0x20001a00; *(uint64_t*)0x20001a00 = 0; *(uint64_t*)0x20001a08 = 0; *(uint64_t*)0x20001a10 = 0; *(uint64_t*)0x20001a18 = 0; *(uint64_t*)0x20003460 = 0x20002780; *(uint64_t*)0x20002780 = 0x20001ac0; *(uint64_t*)0x20001ac0 = 0x20001a80; *(uint64_t*)0x20001a80 = 0; *(uint64_t*)0x20002788 = 0x20002140; *(uint64_t*)0x20002140 = 0x20001dc0; *(uint64_t*)0x20001dc0 = 0; *(uint64_t*)0x20001dc8 = 0x20001d80; *(uint64_t*)0x20001d80 = 0x20001b00; *(uint64_t*)0x20001b00 = 0; *(uint64_t*)0x20001d88 = 0; *(uint64_t*)0x20001d90 = 0x20001c00; *(uint64_t*)0x20001c00 = 0x20001b40; *(uint64_t*)0x20001b40 = 0; *(uint64_t*)0x20001b48 = 0; *(uint64_t*)0x20001b50 = 0; *(uint64_t*)0x20001b58 = 0; *(uint64_t*)0x20001c08 = 0; *(uint64_t*)0x20001c10 = 0x20001b80; *(uint64_t*)0x20001b80 = 0; *(uint64_t*)0x20001b88 = 0; *(uint64_t*)0x20001b90 = 0; *(uint64_t*)0x20001b98 = 0; *(uint64_t*)0x20001c18 = 0x20001bc0; *(uint64_t*)0x20001bc0 = 0; *(uint64_t*)0x20001bc8 = 0; *(uint64_t*)0x20001bd0 = 0; *(uint64_t*)0x20001bd8 = 0; *(uint64_t*)0x20001d98 = 0x20001d40; *(uint64_t*)0x20001d40 = 0x20001c40; *(uint64_t*)0x20001c40 = 0; *(uint64_t*)0x20001c48 = 0; *(uint64_t*)0x20001c50 = 0; *(uint64_t*)0x20001c58 = 0; *(uint64_t*)0x20001d48 = 0x20001c80; *(uint64_t*)0x20001c80 = 0; *(uint64_t*)0x20001c88 = 0; *(uint64_t*)0x20001c90 = 0; *(uint64_t*)0x20001c98 = 0; *(uint64_t*)0x20001d50 = 0x20001cc0; *(uint64_t*)0x20001cc0 = 0; *(uint64_t*)0x20001cc8 = 0; *(uint64_t*)0x20001cd0 = 0; *(uint64_t*)0x20001cd8 = 0; *(uint64_t*)0x20001d58 = 0x20001d00; *(uint64_t*)0x20001d00 = 0; *(uint64_t*)0x20001d08 = 0; *(uint64_t*)0x20001d10 = 0; *(uint64_t*)0x20001d18 = 0; *(uint64_t*)0x20001da0 = 0; *(uint64_t*)0x20001da8 = 0; *(uint64_t*)0x20002148 = 0x20002100; *(uint64_t*)0x20002100 = 0x20001e40; *(uint64_t*)0x20001e40 = 0x20001e00; *(uint64_t*)0x20001e00 = 0; *(uint64_t*)0x20002108 = 0x20001e80; *(uint64_t*)0x20001e80 = 0; *(uint64_t*)0x20001e88 = 0; *(uint64_t*)0x20002110 = 0x20001fc0; *(uint64_t*)0x20001fc0 = 0x20001ec0; *(uint64_t*)0x20001ec0 = 0; *(uint64_t*)0x20001ec8 = 0; *(uint64_t*)0x20001ed0 = 0; *(uint64_t*)0x20001ed8 = 0; *(uint64_t*)0x20001fc8 = 0x20001f00; *(uint64_t*)0x20001f00 = 0; *(uint64_t*)0x20001f08 = 0; *(uint64_t*)0x20001f10 = 0; *(uint64_t*)0x20001f18 = 0; *(uint64_t*)0x20001fd0 = 0x20001f40; *(uint64_t*)0x20001f40 = 0; *(uint64_t*)0x20001f48 = 0; *(uint64_t*)0x20001f50 = 0; *(uint64_t*)0x20001f58 = 0; *(uint64_t*)0x20001fd8 = 0x20001f80; *(uint64_t*)0x20001f80 = 0; *(uint64_t*)0x20001f88 = 0; *(uint64_t*)0x20001f90 = 0; *(uint64_t*)0x20001f98 = 0; *(uint64_t*)0x20002118 = 0x200020c0; *(uint64_t*)0x200020c0 = 0x20002000; *(uint64_t*)0x20002000 = 0; *(uint64_t*)0x20002008 = 0; *(uint64_t*)0x20002010 = 0; *(uint64_t*)0x20002018 = 0; *(uint64_t*)0x200020c8 = 0; *(uint64_t*)0x200020d0 = 0x20002040; *(uint64_t*)0x20002040 = 0; *(uint64_t*)0x20002048 = 0; *(uint64_t*)0x20002050 = 0; *(uint64_t*)0x20002058 = 0; *(uint64_t*)0x200020d8 = 0x20002080; *(uint64_t*)0x20002080 = 0; *(uint64_t*)0x20002088 = 0; *(uint64_t*)0x20002090 = 0; *(uint64_t*)0x20002098 = 0; *(uint64_t*)0x20002120 = 0; *(uint64_t*)0x20002128 = 0; *(uint64_t*)0x20002790 = 0x20002280; *(uint64_t*)0x20002280 = 0x20002180; *(uint64_t*)0x20002180 = 0; *(uint64_t*)0x20002188 = 0; *(uint64_t*)0x20002190 = 0; *(uint64_t*)0x20002198 = 0; *(uint64_t*)0x20002288 = 0x200021c0; *(uint64_t*)0x200021c0 = 0; *(uint64_t*)0x200021c8 = 0; *(uint64_t*)0x200021d0 = 0; *(uint64_t*)0x200021d8 = 0; *(uint64_t*)0x20002290 = 0x20002200; *(uint64_t*)0x20002200 = 0; *(uint64_t*)0x20002208 = 0; *(uint64_t*)0x20002210 = 0; *(uint64_t*)0x20002218 = 0; *(uint64_t*)0x20002298 = 0x20002240; *(uint64_t*)0x20002240 = 0; *(uint64_t*)0x20002248 = 0; *(uint64_t*)0x20002250 = 0; *(uint64_t*)0x20002258 = 0; *(uint64_t*)0x20002798 = 0x200023c0; *(uint64_t*)0x200023c0 = 0x200022c0; *(uint64_t*)0x200022c0 = 0; *(uint64_t*)0x200022c8 = 0; *(uint64_t*)0x200022d0 = 0; *(uint64_t*)0x200022d8 = 0; *(uint64_t*)0x200023c8 = 0x20002300; *(uint64_t*)0x20002300 = 0; *(uint64_t*)0x20002308 = 0; *(uint64_t*)0x20002310 = 0; *(uint64_t*)0x20002318 = 0; *(uint64_t*)0x200023d0 = 0x20002340; *(uint64_t*)0x20002340 = 0; *(uint64_t*)0x20002348 = 0; *(uint64_t*)0x20002350 = 0; *(uint64_t*)0x20002358 = 0; *(uint64_t*)0x200023d8 = 0x20002380; *(uint64_t*)0x20002380 = 0; *(uint64_t*)0x20002388 = 0; *(uint64_t*)0x20002390 = 0; *(uint64_t*)0x20002398 = 0; *(uint64_t*)0x200027a0 = 0x200024c0; *(uint64_t*)0x200024c0 = 0x20002440; *(uint64_t*)0x20002440 = 0x20002400; *(uint64_t*)0x20002400 = 0; *(uint64_t*)0x200024c8 = 0x20002480; *(uint64_t*)0x20002480 = 0; *(uint64_t*)0x20002488 = 0; *(uint64_t*)0x200024d0 = 0; *(uint64_t*)0x200024d8 = 0; *(uint64_t*)0x200024e0 = 0; *(uint64_t*)0x200024e8 = 0; *(uint64_t*)0x200027a8 = 0x20002740; *(uint64_t*)0x20002740 = 0x20002540; *(uint64_t*)0x20002540 = 0x20002500; *(uint64_t*)0x20002500 = 0; *(uint64_t*)0x20002748 = 0x200025c0; *(uint64_t*)0x200025c0 = 0x20002580; *(uint64_t*)0x20002580 = 0; *(uint64_t*)0x20002588 = 0; *(uint64_t*)0x200025c8 = 0; *(uint64_t*)0x20002750 = 0; *(uint64_t*)0x20002758 = 0x20002700; *(uint64_t*)0x20002700 = 0x20002600; *(uint64_t*)0x20002600 = 0; *(uint64_t*)0x20002608 = 0; *(uint64_t*)0x20002610 = 0; *(uint64_t*)0x20002618 = 0; *(uint64_t*)0x20002708 = 0x20002640; *(uint64_t*)0x20002640 = 0; *(uint64_t*)0x20002648 = 0; *(uint64_t*)0x20002650 = 0; *(uint64_t*)0x20002658 = 0; *(uint64_t*)0x20002710 = 0x20002680; *(uint64_t*)0x20002680 = 0; *(uint64_t*)0x20002688 = 0; *(uint64_t*)0x20002690 = 0; *(uint64_t*)0x20002698 = 0; *(uint64_t*)0x20002718 = 0x200026c0; *(uint64_t*)0x200026c0 = 0; *(uint64_t*)0x200026c8 = 0; *(uint64_t*)0x200026d0 = 0; *(uint64_t*)0x200026d8 = 0; *(uint64_t*)0x20002760 = 0; *(uint64_t*)0x20002768 = 0; *(uint64_t*)0x20003468 = 0x20003400; *(uint64_t*)0x20003400 = 0x20002800; *(uint64_t*)0x20002800 = 0x200027c0; *(uint64_t*)0x200027c0 = 0; *(uint64_t*)0x20003408 = 0x20002b80; *(uint64_t*)0x20002b80 = 0x20002900; *(uint64_t*)0x20002900 = 0; *(uint64_t*)0x20002908 = 0x200028c0; *(uint64_t*)0x200028c0 = 0x20002880; *(uint64_t*)0x20002880 = 0x20002840; *(uint64_t*)0x20002840 = 0; *(uint64_t*)0x200028c8 = 0; *(uint64_t*)0x200028d0 = 0; *(uint64_t*)0x200028d8 = 0; *(uint64_t*)0x200028e0 = 0; *(uint64_t*)0x200028e8 = 0; *(uint64_t*)0x20002b88 = 0x20002b40; *(uint64_t*)0x20002b40 = 0x20002980; *(uint64_t*)0x20002980 = 0x20002940; *(uint64_t*)0x20002940 = 0; *(uint64_t*)0x20002b48 = 0x200029c0; *(uint64_t*)0x200029c0 = 0; *(uint64_t*)0x200029c8 = 0; *(uint64_t*)0x20002b50 = 0x20002b00; *(uint64_t*)0x20002b00 = 0x20002a00; *(uint64_t*)0x20002a00 = 0; *(uint64_t*)0x20002a08 = 0; *(uint64_t*)0x20002a10 = 0; *(uint64_t*)0x20002a18 = 0; *(uint64_t*)0x20002b08 = 0x20002a40; *(uint64_t*)0x20002a40 = 0; *(uint64_t*)0x20002a48 = 0; *(uint64_t*)0x20002a50 = 0; *(uint64_t*)0x20002a58 = 0; *(uint64_t*)0x20002b10 = 0x20002a80; *(uint64_t*)0x20002a80 = 0; *(uint64_t*)0x20002a88 = 0; *(uint64_t*)0x20002a90 = 0; *(uint64_t*)0x20002a98 = 0; *(uint64_t*)0x20002b18 = 0x20002ac0; *(uint64_t*)0x20002ac0 = 0; *(uint64_t*)0x20002ac8 = 0; *(uint64_t*)0x20002ad0 = 0; *(uint64_t*)0x20002ad8 = 0; *(uint64_t*)0x20002b58 = 0; *(uint64_t*)0x20002b60 = 0; *(uint64_t*)0x20002b68 = 0; *(uint64_t*)0x20003410 = 0x20002cc0; *(uint64_t*)0x20002cc0 = 0x20002bc0; *(uint64_t*)0x20002bc0 = 0; *(uint64_t*)0x20002bc8 = 0; *(uint64_t*)0x20002bd0 = 0; *(uint64_t*)0x20002bd8 = 0; *(uint64_t*)0x20002cc8 = 0x20002c00; *(uint64_t*)0x20002c00 = 0; *(uint64_t*)0x20002c08 = 0; *(uint64_t*)0x20002c10 = 0; *(uint64_t*)0x20002c18 = 0; *(uint64_t*)0x20002cd0 = 0x20002c40; *(uint64_t*)0x20002c40 = 0; *(uint64_t*)0x20002c48 = 0; *(uint64_t*)0x20002c50 = 0; *(uint64_t*)0x20002c58 = 0; *(uint64_t*)0x20002cd8 = 0x20002c80; *(uint64_t*)0x20002c80 = 0; *(uint64_t*)0x20002c88 = 0; *(uint64_t*)0x20002c90 = 0; *(uint64_t*)0x20002c98 = 0; *(uint64_t*)0x20003418 = 0x20002e00; *(uint64_t*)0x20002e00 = 0x20002d00; *(uint64_t*)0x20002d00 = 0; *(uint64_t*)0x20002d08 = 0; *(uint64_t*)0x20002d10 = 0; *(uint64_t*)0x20002d18 = 0; *(uint64_t*)0x20002e08 = 0x20002d40; *(uint64_t*)0x20002d40 = 0; *(uint64_t*)0x20002d48 = 0; *(uint64_t*)0x20002d50 = 0; *(uint64_t*)0x20002d58 = 0; *(uint64_t*)0x20002e10 = 0x20002d80; *(uint64_t*)0x20002d80 = 0; *(uint64_t*)0x20002d88 = 0; *(uint64_t*)0x20002d90 = 0; *(uint64_t*)0x20002d98 = 0; *(uint64_t*)0x20002e18 = 0x20002dc0; *(uint64_t*)0x20002dc0 = 0; *(uint64_t*)0x20002dc8 = 0; *(uint64_t*)0x20002dd0 = 0; *(uint64_t*)0x20002dd8 = 0; *(uint64_t*)0x20003420 = 0x20003180; *(uint64_t*)0x20003180 = 0x20002e80; *(uint64_t*)0x20002e80 = 0x20002e40; *(uint64_t*)0x20002e40 = 0; *(uint64_t*)0x20003188 = 0x20002f00; *(uint64_t*)0x20002f00 = 0x20002ec0; *(uint64_t*)0x20002ec0 = 0; *(uint64_t*)0x20002ec8 = 0; *(uint64_t*)0x20002f08 = 0; *(uint64_t*)0x20003190 = 0x20003000; *(uint64_t*)0x20003000 = 0; *(uint64_t*)0x20003008 = 0x20002f40; *(uint64_t*)0x20002f40 = 0; *(uint64_t*)0x20002f48 = 0; *(uint64_t*)0x20002f50 = 0; *(uint64_t*)0x20002f58 = 0; *(uint64_t*)0x20003010 = 0x20002f80; *(uint64_t*)0x20002f80 = 0; *(uint64_t*)0x20002f88 = 0; *(uint64_t*)0x20002f90 = 0; *(uint64_t*)0x20002f98 = 0; *(uint64_t*)0x20003018 = 0x20002fc0; *(uint64_t*)0x20002fc0 = 0; *(uint64_t*)0x20002fc8 = 0; *(uint64_t*)0x20002fd0 = 0; *(uint64_t*)0x20002fd8 = 0; *(uint64_t*)0x20003198 = 0x20003140; *(uint64_t*)0x20003140 = 0x20003040; *(uint64_t*)0x20003040 = 0; *(uint64_t*)0x20003048 = 0; *(uint64_t*)0x20003050 = 0; *(uint64_t*)0x20003058 = 0; *(uint64_t*)0x20003148 = 0x20003080; *(uint64_t*)0x20003080 = 0; *(uint64_t*)0x20003088 = 0; *(uint64_t*)0x20003090 = 0; *(uint64_t*)0x20003098 = 0; *(uint64_t*)0x20003150 = 0x200030c0; *(uint64_t*)0x200030c0 = 0; *(uint64_t*)0x200030c8 = 0; *(uint64_t*)0x200030d0 = 0; *(uint64_t*)0x200030d8 = 0; *(uint64_t*)0x20003158 = 0x20003100; *(uint64_t*)0x20003100 = 0; *(uint64_t*)0x20003108 = 0; *(uint64_t*)0x20003110 = 0; *(uint64_t*)0x20003118 = 0; *(uint64_t*)0x200031a0 = 0; *(uint64_t*)0x200031a8 = 0; *(uint64_t*)0x20003428 = 0x200033c0; *(uint64_t*)0x200033c0 = 0x20003200; *(uint64_t*)0x20003200 = 0x200031c0; *(uint64_t*)0x200031c0 = 0; *(uint64_t*)0x200033c8 = 0x20003240; *(uint64_t*)0x20003240 = 0; *(uint64_t*)0x20003248 = 0; *(uint64_t*)0x200033d0 = 0x20003380; *(uint64_t*)0x20003380 = 0x20003280; *(uint64_t*)0x20003280 = 0; *(uint64_t*)0x20003288 = 0; *(uint64_t*)0x20003290 = 0; *(uint64_t*)0x20003298 = 0; *(uint64_t*)0x20003388 = 0x200032c0; *(uint64_t*)0x200032c0 = 0; *(uint64_t*)0x200032c8 = 0; *(uint64_t*)0x200032d0 = 0; *(uint64_t*)0x200032d8 = 0; *(uint64_t*)0x20003390 = 0x20003300; *(uint64_t*)0x20003300 = 0; *(uint64_t*)0x20003308 = 0; *(uint64_t*)0x20003310 = 0; *(uint64_t*)0x20003318 = 0; *(uint64_t*)0x20003398 = 0x20003340; *(uint64_t*)0x20003340 = 0; *(uint64_t*)0x20003348 = 0; *(uint64_t*)0x20003350 = 0; *(uint64_t*)0x20003358 = 0; *(uint64_t*)0x200033d8 = 0; *(uint64_t*)0x200033e0 = 0; *(uint64_t*)0x200033e8 = 0; syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); { int i; for(i = 0; i < 4; i++) { syscall(SYS_test, /*a0=*/0x20003440ul, 0, 0, 0, 0, 0); } } break; case 3: *(uint8_t*)0x20003480 = 0xcf; syscall(SYS_test, /*a=*/0x20003480ul, 0, 0, 0, 0, 0); break; case 4: syscall(SYS_test, 0, 0, 0, 0, 0, 0); break; case 5: *(uint64_t*)0x20004ac0 = 0x20003f40; *(uint64_t*)0x20003f40 = 0x200034c0; *(uint64_t*)0x200034c0 = 0; *(uint64_t*)0x200034c8 = 0; *(uint64_t*)0x20003f48 = 0x20003f00; *(uint64_t*)0x20003f00 = 0x20003540; *(uint64_t*)0x20003540 = 0x20003500; *(uint64_t*)0x20003500 = 0; *(uint64_t*)0x20003f08 = 0x200038c0; *(uint64_t*)0x200038c0 = 0; *(uint64_t*)0x200038c8 = 0x20003880; *(uint64_t*)0x20003880 = 0x200035c0; *(uint64_t*)0x200035c0 = 0x20003580; *(uint64_t*)0x20003580 = 0; *(uint64_t*)0x20003888 = 0; *(uint64_t*)0x20003890 = 0x20003700; *(uint64_t*)0x20003700 = 0x20003600; *(uint64_t*)0x20003600 = 0; *(uint64_t*)0x20003608 = 0; *(uint64_t*)0x20003610 = 0; *(uint64_t*)0x20003618 = 0; *(uint64_t*)0x20003708 = 0x20003640; *(uint64_t*)0x20003640 = 0; *(uint64_t*)0x20003648 = 0; *(uint64_t*)0x20003650 = 0; *(uint64_t*)0x20003658 = 0; *(uint64_t*)0x20003710 = 0x20003680; *(uint64_t*)0x20003680 = 0; *(uint64_t*)0x20003688 = 0; *(uint64_t*)0x20003690 = 0; *(uint64_t*)0x20003698 = 0; *(uint64_t*)0x20003718 = 0x200036c0; *(uint64_t*)0x200036c0 = 0; *(uint64_t*)0x200036c8 = 0; *(uint64_t*)0x200036d0 = 0; *(uint64_t*)0x200036d8 = 0; *(uint64_t*)0x20003898 = 0x20003840; *(uint64_t*)0x20003840 = 0x20003740; *(uint64_t*)0x20003740 = 0; *(uint64_t*)0x20003748 = 0; *(uint64_t*)0x20003750 = 0; *(uint64_t*)0x20003758 = 0; *(uint64_t*)0x20003848 = 0x20003780; *(uint64_t*)0x20003780 = 0; *(uint64_t*)0x20003788 = 0; *(uint64_t*)0x20003790 = 0; *(uint64_t*)0x20003798 = 0; *(uint64_t*)0x20003850 = 0x200037c0; *(uint64_t*)0x200037c0 = 0; *(uint64_t*)0x200037c8 = 0; *(uint64_t*)0x200037d0 = 0; *(uint64_t*)0x200037d8 = 0; *(uint64_t*)0x20003858 = 0x20003800; *(uint64_t*)0x20003800 = 0; *(uint64_t*)0x20003808 = 0; *(uint64_t*)0x20003810 = 0; *(uint64_t*)0x20003818 = 0; *(uint64_t*)0x200038a0 = 0; *(uint64_t*)0x200038a8 = 0; *(uint64_t*)0x20003f10 = 0x200039c0; *(uint64_t*)0x200039c0 = 0; *(uint64_t*)0x200039c8 = 0x20003900; *(uint64_t*)0x20003900 = 0; *(uint64_t*)0x20003908 = 0; *(uint64_t*)0x20003910 = 0; *(uint64_t*)0x20003918 = 0; *(uint64_t*)0x200039d0 = 0x20003940; *(uint64_t*)0x20003940 = 0; *(uint64_t*)0x20003948 = 0; *(uint64_t*)0x20003950 = 0; *(uint64_t*)0x20003958 = 0; *(uint64_t*)0x200039d8 = 0x20003980; *(uint64_t*)0x20003980 = 0; *(uint64_t*)0x20003988 = 0; *(uint64_t*)0x20003990 = 0; *(uint64_t*)0x20003998 = 0; *(uint64_t*)0x20003f18 = 0x20003ac0; *(uint64_t*)0x20003ac0 = 0x20003a00; *(uint64_t*)0x20003a00 = 0; *(uint64_t*)0x20003a08 = 0; *(uint64_t*)0x20003a10 = 0; *(uint64_t*)0x20003a18 = 0; *(uint64_t*)0x20003ac8 = 0x20003a40; *(uint64_t*)0x20003a40 = 0; *(uint64_t*)0x20003a48 = 0; *(uint64_t*)0x20003a50 = 0; *(uint64_t*)0x20003a58 = 0; *(uint64_t*)0x20003ad0 = 0x20003a80; *(uint64_t*)0x20003a80 = 0; *(uint64_t*)0x20003a88 = 0; *(uint64_t*)0x20003a90 = 0; *(uint64_t*)0x20003a98 = 0; *(uint64_t*)0x20003ad8 = 0; *(uint64_t*)0x20003f20 = 0x20003d80; *(uint64_t*)0x20003d80 = 0x20003b40; *(uint64_t*)0x20003b40 = 0x20003b00; *(uint64_t*)0x20003b00 = 0; *(uint64_t*)0x20003d88 = 0x20003b80; *(uint64_t*)0x20003b80 = 0; *(uint64_t*)0x20003b88 = 0; *(uint64_t*)0x20003d90 = 0x20003c40; *(uint64_t*)0x20003c40 = 0; *(uint64_t*)0x20003c48 = 0; *(uint64_t*)0x20003c50 = 0x20003bc0; *(uint64_t*)0x20003bc0 = 0; *(uint64_t*)0x20003bc8 = 0; *(uint64_t*)0x20003bd0 = 0; *(uint64_t*)0x20003bd8 = 0; *(uint64_t*)0x20003c58 = 0x20003c00; *(uint64_t*)0x20003c00 = 0; *(uint64_t*)0x20003c08 = 0; *(uint64_t*)0x20003c10 = 0; *(uint64_t*)0x20003c18 = 0; *(uint64_t*)0x20003d98 = 0x20003d40; *(uint64_t*)0x20003d40 = 0x20003c80; *(uint64_t*)0x20003c80 = 0; *(uint64_t*)0x20003c88 = 0; *(uint64_t*)0x20003c90 = 0; *(uint64_t*)0x20003c98 = 0; *(uint64_t*)0x20003d48 = 0x20003cc0; *(uint64_t*)0x20003cc0 = 0; *(uint64_t*)0x20003cc8 = 0; *(uint64_t*)0x20003cd0 = 0; *(uint64_t*)0x20003cd8 = 0; *(uint64_t*)0x20003d50 = 0x20003d00; *(uint64_t*)0x20003d00 = 0; *(uint64_t*)0x20003d08 = 0; *(uint64_t*)0x20003d10 = 0; *(uint64_t*)0x20003d18 = 0; *(uint64_t*)0x20003d58 = 0; *(uint64_t*)0x20003da0 = 0; *(uint64_t*)0x20003da8 = 0; *(uint64_t*)0x20003f28 = 0x20003ec0; *(uint64_t*)0x20003ec0 = 0; *(uint64_t*)0x20003ec8 = 0x20003dc0; *(uint64_t*)0x20003dc0 = 0; *(uint64_t*)0x20003dc8 = 0; *(uint64_t*)0x20003ed0 = 0; *(uint64_t*)0x20003ed8 = 0x20003e80; *(uint64_t*)0x20003e80 = 0; *(uint64_t*)0x20003e88 = 0; *(uint64_t*)0x20003e90 = 0x20003e00; *(uint64_t*)0x20003e00 = 0; *(uint64_t*)0x20003e08 = 0; *(uint64_t*)0x20003e10 = 0; *(uint64_t*)0x20003e18 = 0; *(uint64_t*)0x20003e98 = 0x20003e40; *(uint64_t*)0x20003e40 = 0; *(uint64_t*)0x20003e48 = 0; *(uint64_t*)0x20003e50 = 0; *(uint64_t*)0x20003e58 = 0; *(uint64_t*)0x20003ee0 = 0; *(uint64_t*)0x20003ee8 = 0; *(uint64_t*)0x20004ac8 = 0x20004a80; *(uint64_t*)0x20004a80 = 0x20003fc0; *(uint64_t*)0x20003fc0 = 0x20003f80; *(uint64_t*)0x20003f80 = 0; *(uint64_t*)0x20004a88 = 0x20004280; *(uint64_t*)0x20004280 = 0x20004000; *(uint64_t*)0x20004000 = 0; *(uint64_t*)0x20004008 = 0; *(uint64_t*)0x20004288 = 0x20004240; *(uint64_t*)0x20004240 = 0; *(uint64_t*)0x20004248 = 0x20004040; *(uint64_t*)0x20004040 = 0; *(uint64_t*)0x20004048 = 0; *(uint64_t*)0x20004250 = 0x20004100; *(uint64_t*)0x20004100 = 0x20004080; *(uint64_t*)0x20004080 = 0; *(uint64_t*)0x20004088 = 0; *(uint64_t*)0x20004090 = 0; *(uint64_t*)0x20004098 = 0; *(uint64_t*)0x20004108 = 0; *(uint64_t*)0x20004110 = 0x200040c0; *(uint64_t*)0x200040c0 = 0; *(uint64_t*)0x200040c8 = 0; *(uint64_t*)0x200040d0 = 0; *(uint64_t*)0x200040d8 = 0; *(uint64_t*)0x20004118 = 0; *(uint64_t*)0x20004258 = 0x20004200; *(uint64_t*)0x20004200 = 0x20004140; *(uint64_t*)0x20004140 = 0; *(uint64_t*)0x20004148 = 0; *(uint64_t*)0x20004150 = 0; *(uint64_t*)0x20004158 = 0; *(uint64_t*)0x20004208 = 0x20004180; *(uint64_t*)0x20004180 = 0; *(uint64_t*)0x20004188 = 0; *(uint64_t*)0x20004190 = 0; *(uint64_t*)0x20004198 = 0; *(uint64_t*)0x20004210 = 0x200041c0; *(uint64_t*)0x200041c0 = 0; *(uint64_t*)0x200041c8 = 0; *(uint64_t*)0x200041d0 = 0; *(uint64_t*)0x200041d8 = 0; *(uint64_t*)0x20004218 = 0; *(uint64_t*)0x20004260 = 0; *(uint64_t*)0x20004268 = 0; *(uint64_t*)0x20004a90 = 0x200043c0; *(uint64_t*)0x200043c0 = 0x200042c0; *(uint64_t*)0x200042c0 = 0; *(uint64_t*)0x200042c8 = 0; *(uint64_t*)0x200042d0 = 0; *(uint64_t*)0x200042d8 = 0; *(uint64_t*)0x200043c8 = 0x20004300; *(uint64_t*)0x20004300 = 0; *(uint64_t*)0x20004308 = 0; *(uint64_t*)0x20004310 = 0; *(uint64_t*)0x20004318 = 0; *(uint64_t*)0x200043d0 = 0x20004340; *(uint64_t*)0x20004340 = 0; *(uint64_t*)0x20004348 = 0; *(uint64_t*)0x20004350 = 0; *(uint64_t*)0x20004358 = 0; *(uint64_t*)0x200043d8 = 0x20004380; *(uint64_t*)0x20004380 = 0; *(uint64_t*)0x20004388 = 0; *(uint64_t*)0x20004390 = 0; *(uint64_t*)0x20004398 = 0; *(uint64_t*)0x20004a98 = 0x20004500; *(uint64_t*)0x20004500 = 0x20004400; *(uint64_t*)0x20004400 = 0; *(uint64_t*)0x20004408 = 0; *(uint64_t*)0x20004410 = 0; *(uint64_t*)0x20004418 = 0; *(uint64_t*)0x20004508 = 0x20004440; *(uint64_t*)0x20004440 = 0; *(uint64_t*)0x20004448 = 0; *(uint64_t*)0x20004450 = 0; *(uint64_t*)0x20004458 = 0; *(uint64_t*)0x20004510 = 0x20004480; *(uint64_t*)0x20004480 = 0; *(uint64_t*)0x20004488 = 0; *(uint64_t*)0x20004490 = 0; *(uint64_t*)0x20004498 = 0; *(uint64_t*)0x20004518 = 0x200044c0; *(uint64_t*)0x200044c0 = 0; *(uint64_t*)0x200044c8 = 0; *(uint64_t*)0x200044d0 = 0; *(uint64_t*)0x200044d8 = 0; *(uint64_t*)0x20004aa0 = 0x20004800; *(uint64_t*)0x20004800 = 0x20004580; *(uint64_t*)0x20004580 = 0x20004540; *(uint64_t*)0x20004540 = 0; *(uint64_t*)0x20004808 = 0x20004600; *(uint64_t*)0x20004600 = 0x200045c0; *(uint64_t*)0x200045c0 = 0; *(uint64_t*)0x200045c8 = 0; *(uint64_t*)0x20004608 = 0; *(uint64_t*)0x20004810 = 0x200046c0; *(uint64_t*)0x200046c0 = 0x20004640; *(uint64_t*)0x20004640 = 0; *(uint64_t*)0x20004648 = 0; *(uint64_t*)0x20004650 = 0; *(uint64_t*)0x20004658 = 0; *(uint64_t*)0x200046c8 = 0; *(uint64_t*)0x200046d0 = 0x20004680; *(uint64_t*)0x20004680 = 0; *(uint64_t*)0x20004688 = 0; *(uint64_t*)0x20004690 = 0; *(uint64_t*)0x20004698 = 0; *(uint64_t*)0x200046d8 = 0; *(uint64_t*)0x20004818 = 0x200047c0; *(uint64_t*)0x200047c0 = 0; *(uint64_t*)0x200047c8 = 0x20004700; *(uint64_t*)0x20004700 = 0; *(uint64_t*)0x20004708 = 0; *(uint64_t*)0x20004710 = 0; *(uint64_t*)0x20004718 = 0; *(uint64_t*)0x200047d0 = 0x20004740; *(uint64_t*)0x20004740 = 0; *(uint64_t*)0x20004748 = 0; *(uint64_t*)0x20004750 = 0; *(uint64_t*)0x20004758 = 0; *(uint64_t*)0x200047d8 = 0x20004780; *(uint64_t*)0x20004780 = 0; *(uint64_t*)0x20004788 = 0; *(uint64_t*)0x20004790 = 0; *(uint64_t*)0x20004798 = 0; *(uint64_t*)0x20004820 = 0; *(uint64_t*)0x20004828 = 0; *(uint64_t*)0x20004aa8 = 0x20004a40; *(uint64_t*)0x20004a40 = 0x20004880; *(uint64_t*)0x20004880 = 0x20004840; *(uint64_t*)0x20004840 = 0; *(uint64_t*)0x20004a48 = 0x20004900; *(uint64_t*)0x20004900 = 0x200048c0; *(uint64_t*)0x200048c0 = 0; *(uint64_t*)0x200048c8 = 0; *(uint64_t*)0x20004908 = 0; *(uint64_t*)0x20004a50 = 0x20004a00; *(uint64_t*)0x20004a00 = 0x20004940; *(uint64_t*)0x20004940 = 0; *(uint64_t*)0x20004948 = 0; *(uint64_t*)0x20004950 = 0; *(uint64_t*)0x20004958 = 0; *(uint64_t*)0x20004a08 = 0; *(uint64_t*)0x20004a10 = 0x20004980; *(uint64_t*)0x20004980 = 0; *(uint64_t*)0x20004988 = 0; *(uint64_t*)0x20004990 = 0; *(uint64_t*)0x20004998 = 0; *(uint64_t*)0x20004a18 = 0x200049c0; *(uint64_t*)0x200049c0 = 0; *(uint64_t*)0x200049c8 = 0; *(uint64_t*)0x200049d0 = 0; *(uint64_t*)0x200049d8 = 0; *(uint64_t*)0x20004a58 = 0; *(uint64_t*)0x20004a60 = 0; *(uint64_t*)0x20004a68 = 0; syscall(SYS_test, /*a0=*/0x20004ac0ul, 0, 0, 0, 0, 0); break; case 6: *(uint8_t*)0x20004b00 = 4; *(uint16_t*)0x20004b01 = 5; *(uint16_t*)0x20004b03 = 0x400; *(uint64_t*)0x20004b05 = 0xcf; syscall(SYS_test, /*a0=*/0x20004b00ul, 0, 0, 0, 0, 0); break; case 7: sprintf((char*)0x20004b40, "0x%016llx", (long long)0); syscall(SYS_foo, /*a=*/0x20004b40ul, 0, 0); break; case 8: *(uint8_t*)0x20004b80 = 5; syscall(SYS_test, /*a=*/0x20004b80ul, 0, 0, 0, 0, 0); break; case 9: *(uint64_t*)0x20004bc0 = 0x1000; syscall(SYS_test, /*a0=*/0x20004bc0ul, 0, 0, 0, 0, 0); break; case 10: memcpy((void*)0x20000000, "-\000", 2); *(uint8_t*)0x20000040 = 0xc0; *(uint16_t*)0x20000044 = 0; STORE_BY_BITMASK(uint32_t, , 0x20000044, 0x24b, 16, 12); STORE_BY_BITMASK(uint32_t, , 0x20000048, 0x380, 0, 12); syz_compare(/*want=*/0x20000000, /*want_len=*/2, /*got=*/0x20000040, /*got_len=*/0xc); break; case 11: syz_compare_int(/*n=*/2, /*v0=*/0xb584, /*v1=*/5, 0, 0); break; case 12: syz_errno(/*v=*/4); break; case 13: memcpy((void*)0x20000080, "\x68\x5d\xce\x50\x3a\x1d\x0b\x65\x7c\x26\x0c\x9d\x19\x4b\x3f\x80\x96\x20\xfd\xde\x60\xc9\x72\xd0\x38\x09\x53\x6f\x2c\xe0\x02\x02\x78\x7c\x45\xc6\x51\xd1\xfc\xe2\x48\x7a\x3d\x34\xca\xac\x04\x9f\xee\x28", 50); syz_execute_func(/*text=*/0x20000080); break; case 14: syz_exit(/*status=*/4); break; case 15: syz_mmap(/*addr=*/0x20ffe000, /*len=*/0x2000); break; case 16: syz_sleep_ms(/*ms=*/0xfff); break; case 17: syz_test_fuzzer1(/*a=*/6, /*b=*/2, /*c=*/0xb); break; } } int main(void) { syz_mmap(/*addr=*/0x20000000, /*len=*/0x1000000); setup_fault(); use_temporary_dir(); do_sandbox_none(); return 0; } :467:3: error: call to undeclared function 'syscall'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] syscall(SYS_test, /*a0=*/0x20000ac0ul, 0, 0, 0, 0, 0); ^ 1 error generated. compiler invocation: c++ [-o /tmp/syz-executor240770123 -DGOOS_test=1 -DGOARCH_64=1 -DHOSTGOOS_openbsd=1 -x c - -m64 -lutil -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-array-bounds -Wno-unused-but-set-variable -Wno-unused-command-line-argument -no-pie -fno-exceptions] --- FAIL: TestGenerate/test/64/13 (1.43s) csource_test.go:148: --- FAIL: TestGenerate/test/64/1 (1.33s) csource_test.go:148: --- FAIL: TestGenerate/test/64/4 (1.41s) csource_test.go:148: --- FAIL: TestGenerate/test/64/5 (1.43s) csource_test.go:148: FAIL FAIL github.com/google/syzkaller/pkg/csource 26.148s ok github.com/google/syzkaller/pkg/db (cached) ok github.com/google/syzkaller/pkg/email (cached) ok github.com/google/syzkaller/pkg/email/lore (cached) ok github.com/google/syzkaller/pkg/fuzzer 39.362s ok github.com/google/syzkaller/pkg/gce (cached) ok github.com/google/syzkaller/pkg/host (cached) ok github.com/google/syzkaller/pkg/html (cached) ok github.com/google/syzkaller/pkg/ifuzz (cached) ok github.com/google/syzkaller/pkg/image (cached) ok github.com/google/syzkaller/pkg/instance (cached) ok github.com/google/syzkaller/pkg/ipc (cached) ok github.com/google/syzkaller/pkg/kconfig (cached) ok github.com/google/syzkaller/pkg/kd (cached) ok github.com/google/syzkaller/pkg/log (cached) ok github.com/google/syzkaller/pkg/mgrconfig (cached) ok github.com/google/syzkaller/pkg/osutil (cached) ok github.com/google/syzkaller/pkg/report (cached) ok github.com/google/syzkaller/pkg/repro (cached) ok github.com/google/syzkaller/pkg/runtest (cached) ok github.com/google/syzkaller/pkg/serializer (cached) ok github.com/google/syzkaller/pkg/signal (cached) ok github.com/google/syzkaller/pkg/stats (cached) ok github.com/google/syzkaller/pkg/subsystem (cached) ok github.com/google/syzkaller/pkg/subsystem/linux (cached) ok github.com/google/syzkaller/pkg/subsystem/lists (cached) ok github.com/google/syzkaller/pkg/symbolizer (cached) ok github.com/google/syzkaller/pkg/tool (cached) ok github.com/google/syzkaller/pkg/vcs (cached) ok github.com/google/syzkaller/prog (cached) ok github.com/google/syzkaller/prog/test (cached) ok github.com/google/syzkaller/sys/linux (cached) ok github.com/google/syzkaller/sys/netbsd (cached) ok github.com/google/syzkaller/sys/openbsd (cached) ok github.com/google/syzkaller/syz-ci (cached) ok github.com/google/syzkaller/syz-fuzzer (cached) ok github.com/google/syzkaller/syz-hub (cached) ok github.com/google/syzkaller/syz-hub/state (cached) ok github.com/google/syzkaller/syz-manager (cached) ok github.com/google/syzkaller/syz-verifier (cached) ok github.com/google/syzkaller/tools/syz-kconf (cached) ok github.com/google/syzkaller/tools/syz-linter (cached) ok github.com/google/syzkaller/tools/syz-testbed (cached) ok github.com/google/syzkaller/tools/syz-trace2syz/parser (cached) ok github.com/google/syzkaller/tools/syz-trace2syz/proggen (cached) ok github.com/google/syzkaller/vm (cached) ok github.com/google/syzkaller/vm/isolated (cached) ok github.com/google/syzkaller/vm/proxyapp (cached) ok github.com/google/syzkaller/vm/vmimpl (cached) FAIL