// https://syzkaller.appspot.com/bug?id=99845d9d7da6f50ed85d1d0c52259abd36b118a2 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include 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 bool write_file(const char* file, const char* what, ...) { char buf[1024]; va_list args; va_start(args, what); vsnprintf(buf, sizeof(buf), what, args); va_end(args); buf[sizeof(buf) - 1] = 0; int len = strlen(buf); int fd = open(file, O_WRONLY | O_CLOEXEC); if (fd == -1) return false; if (write(fd, buf, len) != len) { int err = errno; close(fd); errno = err; return false; } close(fd); return true; } #define MAX_FDS 30 static void setup_common() { if (mount(0, "/sys/fs/fuse/connections", "fusectl", 0, 0)) { } } static void loop(); static void sandbox_common() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); setpgrp(); setsid(); struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = (200 << 20); setrlimit(RLIMIT_AS, &rlim); rlim.rlim_cur = rlim.rlim_max = 32 << 20; setrlimit(RLIMIT_MEMLOCK, &rlim); rlim.rlim_cur = rlim.rlim_max = 136 << 20; setrlimit(RLIMIT_FSIZE, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_STACK, &rlim); rlim.rlim_cur = rlim.rlim_max = 0; setrlimit(RLIMIT_CORE, &rlim); rlim.rlim_cur = rlim.rlim_max = 256; setrlimit(RLIMIT_NOFILE, &rlim); if (unshare(CLONE_NEWNS)) { } if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, NULL)) { } if (unshare(CLONE_NEWIPC)) { } if (unshare(0x02000000)) { } if (unshare(CLONE_NEWUTS)) { } if (unshare(CLONE_SYSVSEM)) { } typedef struct { const char* name; const char* value; } sysctl_t; static const sysctl_t sysctls[] = { {"/proc/sys/kernel/shmmax", "16777216"}, {"/proc/sys/kernel/shmall", "536870912"}, {"/proc/sys/kernel/shmmni", "1024"}, {"/proc/sys/kernel/msgmax", "8192"}, {"/proc/sys/kernel/msgmni", "1024"}, {"/proc/sys/kernel/msgmnb", "1024"}, {"/proc/sys/kernel/sem", "1024 1048576 500 1024"}, }; unsigned i; for (i = 0; i < sizeof(sysctls) / sizeof(sysctls[0]); i++) write_file(sysctls[i].name, sysctls[i].value); } static int wait_for_loop(int pid) { if (pid < 0) exit(1); int status = 0; while (waitpid(-1, &status, __WALL) != pid) { } return WEXITSTATUS(status); } static void drop_caps(void) { struct __user_cap_header_struct cap_hdr = {}; struct __user_cap_data_struct cap_data[2] = {}; cap_hdr.version = _LINUX_CAPABILITY_VERSION_3; cap_hdr.pid = getpid(); if (syscall(SYS_capget, &cap_hdr, &cap_data)) exit(1); const int drop = (1 << CAP_SYS_PTRACE) | (1 << CAP_SYS_NICE); cap_data[0].effective &= ~drop; cap_data[0].permitted &= ~drop; cap_data[0].inheritable &= ~drop; if (syscall(SYS_capset, &cap_hdr, &cap_data)) exit(1); } static int do_sandbox_none(void) { if (unshare(CLONE_NEWPID)) { } int pid = fork(); if (pid != 0) return wait_for_loop(pid); setup_common(); sandbox_common(); drop_caps(); if (unshare(CLONE_NEWNET)) { } loop(); exit(1); } static void kill_and_wait(int pid, int* status) { kill(-pid, SIGKILL); kill(pid, SIGKILL); for (int i = 0; i < 100; i++) { if (waitpid(-1, status, WNOHANG | __WALL) == pid) return; usleep(1000); } DIR* dir = opendir("/sys/fs/fuse/connections"); if (dir) { for (;;) { struct dirent* ent = readdir(dir); if (!ent) break; if (strcmp(ent->d_name, ".") == 0 || strcmp(ent->d_name, "..") == 0) continue; char abort[300]; snprintf(abort, sizeof(abort), "/sys/fs/fuse/connections/%s/abort", ent->d_name); int fd = open(abort, O_WRONLY); if (fd == -1) { continue; } if (write(fd, abort, 1) < 0) { } close(fd); } closedir(dir); } else { } while (waitpid(-1, status, __WALL) != pid) { } } static void setup_test() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); setpgrp(); write_file("/proc/self/oom_score_adj", "1000"); } static void close_fds() { for (int fd = 3; fd < MAX_FDS; fd++) close(fd); } static void execute_one(void); #define WAIT_FLAGS __WALL static void loop(void) { int iter = 0; for (;; iter++) { int pid = fork(); if (pid < 0) exit(1); if (pid == 0) { setup_test(); execute_one(); close_fds(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5 * 1000) continue; kill_and_wait(pid, &status); break; } } } uint64_t r[3] = {0xffffffffffffffff, 0xffffffffffffffff, 0x0}; void execute_one(void) { intptr_t res = 0; res = syscall(__NR_socket, 0x1000000010ul, 0x80002ul, 0); if (res != -1) r[0] = res; syscall(__NR_socket, 0x10ul, 3ul, 0); res = syscall(__NR_socket, 0x10ul, 0x803ul, 0); if (res != -1) r[1] = res; *(uint64_t*)0x20000280 = 0; *(uint32_t*)0x20000288 = 0; *(uint64_t*)0x20000290 = 0x20000180; *(uint64_t*)0x20000180 = 0; *(uint64_t*)0x20000188 = 0; *(uint64_t*)0x20000298 = 1; *(uint64_t*)0x200002a0 = 0; *(uint64_t*)0x200002a8 = 0; *(uint32_t*)0x200002b0 = 0; syscall(__NR_sendmsg, r[1], 0x20000280ul, 0ul); *(uint32_t*)0x20000200 = 0x14; res = syscall(__NR_getsockname, r[1], 0x20000100ul, 0x20000200ul); if (res != -1) r[2] = *(uint32_t*)0x20000104; *(uint64_t*)0x20000240 = 0; *(uint32_t*)0x20000248 = 0; *(uint64_t*)0x20000250 = 0x20000140; *(uint64_t*)0x20000140 = 0x200003c0; memcpy((void*)0x200003c0, "\x38\x00\x00\x00\x24\x00\x07\x05\x00\x00\x00\x40" "\x07\xa2\xa3\x00\x05\x00\x00\x00", 20); *(uint32_t*)0x200003d4 = r[2]; memcpy((void*)0x200003d8, "\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\x00" "\x09\x00\x01\x00\x68\x66\x73\x63\x00\x00\x00\x00" "\x08\x00\x02", 27); *(uint64_t*)0x20000148 = 0x38; *(uint64_t*)0x20000258 = 1; *(uint64_t*)0x20000260 = 0; *(uint64_t*)0x20000268 = 0; *(uint32_t*)0x20000270 = 0; syscall(__NR_sendmsg, -1, 0x20000240ul, 0ul); *(uint64_t*)0x200001c0 = 0; *(uint32_t*)0x200001c8 = 0; *(uint64_t*)0x200001d0 = 0x20000180; *(uint64_t*)0x20000180 = 0x20000400; *(uint32_t*)0x20000400 = 0xd10; *(uint16_t*)0x20000404 = 0x2c; *(uint16_t*)0x20000406 = 0xd27; *(uint32_t*)0x20000408 = 0; *(uint32_t*)0x2000040c = 0; *(uint8_t*)0x20000410 = 0; *(uint8_t*)0x20000411 = 0; *(uint16_t*)0x20000412 = 0; *(uint32_t*)0x20000414 = r[2]; *(uint16_t*)0x20000418 = 0; *(uint16_t*)0x2000041a = 0; *(uint16_t*)0x2000041c = 0; *(uint16_t*)0x2000041e = 0; *(uint16_t*)0x20000420 = 0xfff2; *(uint16_t*)0x20000422 = 0; *(uint16_t*)0x20000424 = 0xa; *(uint16_t*)0x20000426 = 1; memcpy((void*)0x20000428, "basic\000", 6); *(uint16_t*)0x20000430 = 0xce0; *(uint16_t*)0x20000432 = 2; *(uint16_t*)0x20000434 = 0xcdc; *(uint16_t*)0x20000436 = 4; *(uint16_t*)0x20000438 = 0x3c; *(uint16_t*)0x2000043a = 1; *(uint32_t*)0x2000043c = 8; *(uint32_t*)0x20000440 = 7; *(uint32_t*)0x20000444 = 2; *(uint32_t*)0x20000448 = 4; *(uint32_t*)0x2000044c = 1; *(uint8_t*)0x20000450 = 3; *(uint8_t*)0x20000451 = 2; *(uint16_t*)0x20000452 = 0x20; *(uint16_t*)0x20000454 = 8; *(uint16_t*)0x20000456 = 0x1f; *(uint32_t*)0x20000458 = 0x4238; *(uint8_t*)0x2000045c = 0xfe; *(uint8_t*)0x2000045d = 1; *(uint16_t*)0x2000045e = 0x101; *(uint16_t*)0x20000460 = 0xfffd; *(uint16_t*)0x20000462 = 9; *(uint32_t*)0x20000464 = 0xe0; *(uint32_t*)0x20000468 = 7; *(uint32_t*)0x2000046c = 6; *(uint32_t*)0x20000470 = -1; *(uint16_t*)0x20000474 = 0xc; *(uint16_t*)0x20000476 = 9; *(uint64_t*)0x20000478 = 0x9a; *(uint16_t*)0x20000480 = 0x404; *(uint16_t*)0x20000482 = 2; *(uint32_t*)0x20000484 = 1; *(uint32_t*)0x20000488 = 0x9274; *(uint32_t*)0x2000048c = 0x8001; *(uint32_t*)0x20000490 = 0x280; *(uint32_t*)0x20000494 = 2; *(uint32_t*)0x20000498 = 8; *(uint32_t*)0x2000049c = 9; *(uint32_t*)0x200004a0 = 0x2f7d; *(uint32_t*)0x200004a4 = 7; *(uint32_t*)0x200004a8 = 0xffffffc0; *(uint32_t*)0x200004ac = 6; *(uint32_t*)0x200004b0 = 0x7f; *(uint32_t*)0x200004b4 = 0x40; *(uint32_t*)0x200004b8 = 0x638; *(uint32_t*)0x200004bc = 0xbb1; *(uint32_t*)0x200004c0 = 0xc54; *(uint32_t*)0x200004c4 = 0x38d5; *(uint32_t*)0x200004c8 = 0; *(uint32_t*)0x200004cc = 0xfffffffb; *(uint32_t*)0x200004d0 = 0x80000000; *(uint32_t*)0x200004d4 = 3; *(uint32_t*)0x200004d8 = 3; *(uint32_t*)0x200004dc = 0; *(uint32_t*)0x200004e0 = 4; *(uint32_t*)0x200004e4 = 4; *(uint32_t*)0x200004e8 = 5; *(uint32_t*)0x200004ec = 1; *(uint32_t*)0x200004f0 = 0x3cd; *(uint32_t*)0x200004f4 = 0; *(uint32_t*)0x200004f8 = 0x4117; *(uint32_t*)0x200004fc = 0xcb8; *(uint32_t*)0x20000500 = 0; *(uint32_t*)0x20000504 = 0x401; *(uint32_t*)0x20000508 = 0x1db; *(uint32_t*)0x2000050c = 0x7fffffff; *(uint32_t*)0x20000510 = 7; *(uint32_t*)0x20000514 = 8; *(uint32_t*)0x20000518 = 0xf2; *(uint32_t*)0x2000051c = 9; *(uint32_t*)0x20000520 = 2; *(uint32_t*)0x20000524 = 9; *(uint32_t*)0x20000528 = 9; *(uint32_t*)0x2000052c = 9; *(uint32_t*)0x20000530 = 0x33; *(uint32_t*)0x20000534 = 0; *(uint32_t*)0x20000538 = 3; *(uint32_t*)0x2000053c = 0x100; *(uint32_t*)0x20000540 = 8; *(uint32_t*)0x20000544 = 3; *(uint32_t*)0x20000548 = 0x8000; *(uint32_t*)0x2000054c = 2; *(uint32_t*)0x20000550 = 0x40; *(uint32_t*)0x20000554 = 8; *(uint32_t*)0x20000558 = 2; *(uint32_t*)0x2000055c = 1; *(uint32_t*)0x20000560 = 0xf1; *(uint32_t*)0x20000564 = 8; *(uint32_t*)0x20000568 = 0; *(uint32_t*)0x2000056c = 0x7fffffff; *(uint32_t*)0x20000570 = 0xfffffffd; *(uint32_t*)0x20000574 = 8; *(uint32_t*)0x20000578 = 7; *(uint32_t*)0x2000057c = 4; *(uint32_t*)0x20000580 = 3; *(uint32_t*)0x20000584 = 0x333f; *(uint32_t*)0x20000588 = 1; *(uint32_t*)0x2000058c = 3; *(uint32_t*)0x20000590 = 0x1000; *(uint32_t*)0x20000594 = 0x3f; *(uint32_t*)0x20000598 = 0xfffffeff; *(uint32_t*)0x2000059c = 0xdc; *(uint32_t*)0x200005a0 = 0x81; *(uint32_t*)0x200005a4 = 0xffff8000; *(uint32_t*)0x200005a8 = 7; *(uint32_t*)0x200005ac = 0x81; *(uint32_t*)0x200005b0 = 3; *(uint32_t*)0x200005b4 = 0; *(uint32_t*)0x200005b8 = 5; *(uint32_t*)0x200005bc = 0x729; *(uint32_t*)0x200005c0 = 0x6d4e; *(uint32_t*)0x200005c4 = 0x3f; *(uint32_t*)0x200005c8 = 3; *(uint32_t*)0x200005cc = 7; *(uint32_t*)0x200005d0 = 4; *(uint32_t*)0x200005d4 = 2; *(uint32_t*)0x200005d8 = 5; *(uint32_t*)0x200005dc = 0x7fffffff; *(uint32_t*)0x200005e0 = 4; *(uint32_t*)0x200005e4 = 0x100; *(uint32_t*)0x200005e8 = 0xffffff80; *(uint32_t*)0x200005ec = 7; *(uint32_t*)0x200005f0 = 1; *(uint32_t*)0x200005f4 = 5; *(uint32_t*)0x200005f8 = 8; *(uint32_t*)0x200005fc = 0; *(uint32_t*)0x20000600 = 0x200; *(uint32_t*)0x20000604 = 0x5a; *(uint32_t*)0x20000608 = 0x80; *(uint32_t*)0x2000060c = 0x41; *(uint32_t*)0x20000610 = 0xfff; *(uint32_t*)0x20000614 = 4; *(uint32_t*)0x20000618 = 0xd2df; *(uint32_t*)0x2000061c = 6; *(uint32_t*)0x20000620 = 0x5b57; *(uint32_t*)0x20000624 = 0x5f83; *(uint32_t*)0x20000628 = 0xae7b; *(uint32_t*)0x2000062c = 0x7fff; *(uint32_t*)0x20000630 = 4; *(uint32_t*)0x20000634 = 1; *(uint32_t*)0x20000638 = 8; *(uint32_t*)0x2000063c = 8; *(uint32_t*)0x20000640 = 7; *(uint32_t*)0x20000644 = 0xfffffffd; *(uint32_t*)0x20000648 = 3; *(uint32_t*)0x2000064c = 4; *(uint32_t*)0x20000650 = 6; *(uint32_t*)0x20000654 = 0x1f; *(uint32_t*)0x20000658 = 5; *(uint32_t*)0x2000065c = 2; *(uint32_t*)0x20000660 = 0x3f; *(uint32_t*)0x20000664 = 4; *(uint32_t*)0x20000668 = 4; *(uint32_t*)0x2000066c = 6; *(uint32_t*)0x20000670 = 7; *(uint32_t*)0x20000674 = 0x2f1; *(uint32_t*)0x20000678 = 2; *(uint32_t*)0x2000067c = 0x10001; *(uint32_t*)0x20000680 = 0xedd7; *(uint32_t*)0x20000684 = 5; *(uint32_t*)0x20000688 = 0; *(uint32_t*)0x2000068c = 4; *(uint32_t*)0x20000690 = 0x18c5; *(uint32_t*)0x20000694 = 0x59; *(uint32_t*)0x20000698 = 4; *(uint32_t*)0x2000069c = 8; *(uint32_t*)0x200006a0 = 4; *(uint32_t*)0x200006a4 = 6; *(uint32_t*)0x200006a8 = 0x9d; *(uint32_t*)0x200006ac = 5; *(uint32_t*)0x200006b0 = 3; *(uint32_t*)0x200006b4 = 1; *(uint32_t*)0x200006b8 = 2; *(uint32_t*)0x200006bc = 0xd048; *(uint32_t*)0x200006c0 = 2; *(uint32_t*)0x200006c4 = 1; *(uint32_t*)0x200006c8 = 7; *(uint32_t*)0x200006cc = 8; *(uint32_t*)0x200006d0 = 0x1ac2; *(uint32_t*)0x200006d4 = 8; *(uint32_t*)0x200006d8 = 0x1000; *(uint32_t*)0x200006dc = 2; *(uint32_t*)0x200006e0 = 3; *(uint32_t*)0x200006e4 = 0xc9c8; *(uint32_t*)0x200006e8 = -1; *(uint32_t*)0x200006ec = 0xb9; *(uint32_t*)0x200006f0 = 0x10001; *(uint32_t*)0x200006f4 = 8; *(uint32_t*)0x200006f8 = 0xff; *(uint32_t*)0x200006fc = 5; *(uint32_t*)0x20000700 = 0xcd; *(uint32_t*)0x20000704 = 0xffff; *(uint32_t*)0x20000708 = 0xe0; *(uint32_t*)0x2000070c = 0x7fff; *(uint32_t*)0x20000710 = 0x19f7; *(uint32_t*)0x20000714 = 0x6ba; *(uint32_t*)0x20000718 = 0x800; *(uint32_t*)0x2000071c = 0x100; *(uint32_t*)0x20000720 = 9; *(uint32_t*)0x20000724 = 0x81; *(uint32_t*)0x20000728 = 0xdfa7; *(uint32_t*)0x2000072c = 0x3ff; *(uint32_t*)0x20000730 = 2; *(uint32_t*)0x20000734 = 0xfffffff8; *(uint32_t*)0x20000738 = 4; *(uint32_t*)0x2000073c = 4; *(uint32_t*)0x20000740 = 7; *(uint32_t*)0x20000744 = 5; *(uint32_t*)0x20000748 = 1; *(uint32_t*)0x2000074c = 3; *(uint32_t*)0x20000750 = 0xa618; *(uint32_t*)0x20000754 = -1; *(uint32_t*)0x20000758 = 0xcebf; *(uint32_t*)0x2000075c = 0xd8f3; *(uint32_t*)0x20000760 = 8; *(uint32_t*)0x20000764 = 5; *(uint32_t*)0x20000768 = 0x80000000; *(uint32_t*)0x2000076c = 6; *(uint32_t*)0x20000770 = 0xdc2; *(uint32_t*)0x20000774 = 2; *(uint32_t*)0x20000778 = 0x1c; *(uint32_t*)0x2000077c = 3; *(uint32_t*)0x20000780 = 4; *(uint32_t*)0x20000784 = 1; *(uint32_t*)0x20000788 = 8; *(uint32_t*)0x2000078c = 0x80; *(uint32_t*)0x20000790 = 0; *(uint32_t*)0x20000794 = 0; *(uint32_t*)0x20000798 = 0x8001; *(uint32_t*)0x2000079c = 0xffff8001; *(uint32_t*)0x200007a0 = 1; *(uint32_t*)0x200007a4 = 3; *(uint32_t*)0x200007a8 = 0x7fffffff; *(uint32_t*)0x200007ac = 4; *(uint32_t*)0x200007b0 = 4; *(uint32_t*)0x200007b4 = 0; *(uint32_t*)0x200007b8 = 0xc3d3; *(uint32_t*)0x200007bc = 5; *(uint32_t*)0x200007c0 = -1; *(uint32_t*)0x200007c4 = 0x20; *(uint32_t*)0x200007c8 = 0x1f; *(uint32_t*)0x200007cc = 0x1000; *(uint32_t*)0x200007d0 = 0xfffffffb; *(uint32_t*)0x200007d4 = 2; *(uint32_t*)0x200007d8 = 3; *(uint32_t*)0x200007dc = 6; *(uint32_t*)0x200007e0 = 4; *(uint32_t*)0x200007e4 = 0x20; *(uint32_t*)0x200007e8 = 7; *(uint32_t*)0x200007ec = 2; *(uint32_t*)0x200007f0 = 0x1ff; *(uint32_t*)0x200007f4 = 0x5f80; *(uint32_t*)0x200007f8 = 0xc1; *(uint32_t*)0x200007fc = 0; *(uint32_t*)0x20000800 = 4; *(uint32_t*)0x20000804 = 2; *(uint32_t*)0x20000808 = 0x1000; *(uint32_t*)0x2000080c = 0x100; *(uint32_t*)0x20000810 = 2; *(uint32_t*)0x20000814 = 9; *(uint32_t*)0x20000818 = 0x80; *(uint32_t*)0x2000081c = 4; *(uint32_t*)0x20000820 = 0x401; *(uint32_t*)0x20000824 = 4; *(uint32_t*)0x20000828 = 7; *(uint32_t*)0x2000082c = 1; *(uint32_t*)0x20000830 = 0xa6; *(uint32_t*)0x20000834 = 7; *(uint32_t*)0x20000838 = 0; *(uint32_t*)0x2000083c = 4; *(uint32_t*)0x20000840 = 4; *(uint32_t*)0x20000844 = 6; *(uint32_t*)0x20000848 = 1; *(uint32_t*)0x2000084c = 0x400; *(uint32_t*)0x20000850 = 0; *(uint32_t*)0x20000854 = -1; *(uint32_t*)0x20000858 = 6; *(uint32_t*)0x2000085c = 0x746; *(uint32_t*)0x20000860 = 0; *(uint32_t*)0x20000864 = 9; *(uint32_t*)0x20000868 = 0x8001; *(uint32_t*)0x2000086c = 0x40; *(uint32_t*)0x20000870 = 0x1f; *(uint32_t*)0x20000874 = 0; *(uint32_t*)0x20000878 = 1; *(uint32_t*)0x2000087c = 0x8001; *(uint32_t*)0x20000880 = 0; *(uint16_t*)0x20000884 = 0x404; *(uint16_t*)0x20000886 = 3; *(uint32_t*)0x20000888 = 4; *(uint32_t*)0x2000088c = 0x7fff; *(uint32_t*)0x20000890 = 0x10001; *(uint32_t*)0x20000894 = 0xa0ef; *(uint32_t*)0x20000898 = 0xfffffffa; *(uint32_t*)0x2000089c = 0xfff; *(uint32_t*)0x200008a0 = 0; *(uint32_t*)0x200008a4 = 0x3ff; *(uint32_t*)0x200008a8 = 0xf47; *(uint32_t*)0x200008ac = 5; *(uint32_t*)0x200008b0 = 0x81; *(uint32_t*)0x200008b4 = 0x31; *(uint32_t*)0x200008b8 = 0x10001; *(uint32_t*)0x200008bc = 0xfffffff9; *(uint32_t*)0x200008c0 = 0x40; *(uint32_t*)0x200008c4 = 0x10000; *(uint32_t*)0x200008c8 = 3; *(uint32_t*)0x200008cc = 0xfffffff9; *(uint32_t*)0x200008d0 = 7; *(uint32_t*)0x200008d4 = 7; *(uint32_t*)0x200008d8 = 2; *(uint32_t*)0x200008dc = 0x5cab; *(uint32_t*)0x200008e0 = 0x8001; *(uint32_t*)0x200008e4 = 0x100; *(uint32_t*)0x200008e8 = 0x1000; *(uint32_t*)0x200008ec = 8; *(uint32_t*)0x200008f0 = 7; *(uint32_t*)0x200008f4 = 2; *(uint32_t*)0x200008f8 = 6; *(uint32_t*)0x200008fc = 0x7fff; *(uint32_t*)0x20000900 = 0x800; *(uint32_t*)0x20000904 = 8; *(uint32_t*)0x20000908 = 0x730; *(uint32_t*)0x2000090c = 8; *(uint32_t*)0x20000910 = 1; *(uint32_t*)0x20000914 = 0x400000; *(uint32_t*)0x20000918 = 8; *(uint32_t*)0x2000091c = 6; *(uint32_t*)0x20000920 = 1; *(uint32_t*)0x20000924 = 1; *(uint32_t*)0x20000928 = 0x10000; *(uint32_t*)0x2000092c = 0x80000000; *(uint32_t*)0x20000930 = 7; *(uint32_t*)0x20000934 = 0x800; *(uint32_t*)0x20000938 = 0x1815753c; *(uint32_t*)0x2000093c = 0xec2; *(uint32_t*)0x20000940 = 0x41e5; *(uint32_t*)0x20000944 = 0xfffffffb; *(uint32_t*)0x20000948 = 6; *(uint32_t*)0x2000094c = 4; *(uint32_t*)0x20000950 = 5; *(uint32_t*)0x20000954 = 0x6f2; *(uint32_t*)0x20000958 = 5; *(uint32_t*)0x2000095c = 8; *(uint32_t*)0x20000960 = 0xfffff911; *(uint32_t*)0x20000964 = 0xafc; *(uint32_t*)0x20000968 = 7; *(uint32_t*)0x2000096c = 0xfff; *(uint32_t*)0x20000970 = 6; *(uint32_t*)0x20000974 = 0x29; *(uint32_t*)0x20000978 = 0x1ff; *(uint32_t*)0x2000097c = 7; *(uint32_t*)0x20000980 = 9; *(uint32_t*)0x20000984 = 8; *(uint32_t*)0x20000988 = 2; *(uint32_t*)0x2000098c = 4; *(uint32_t*)0x20000990 = 6; *(uint32_t*)0x20000994 = 0x80; *(uint32_t*)0x20000998 = 0; *(uint32_t*)0x2000099c = 1; *(uint32_t*)0x200009a0 = 0x200; *(uint32_t*)0x200009a4 = 0x100; *(uint32_t*)0x200009a8 = 3; *(uint32_t*)0x200009ac = 1; *(uint32_t*)0x200009b0 = 0x10001; *(uint32_t*)0x200009b4 = 0x80; *(uint32_t*)0x200009b8 = 1; *(uint32_t*)0x200009bc = 1; *(uint32_t*)0x200009c0 = 0x3f; *(uint32_t*)0x200009c4 = 0x8001; *(uint32_t*)0x200009c8 = 0x8001; *(uint32_t*)0x200009cc = 0xff; *(uint32_t*)0x200009d0 = 0x3ff; *(uint32_t*)0x200009d4 = 0x400; *(uint32_t*)0x200009d8 = 6; *(uint32_t*)0x200009dc = 0x401; *(uint32_t*)0x200009e0 = 3; *(uint32_t*)0x200009e4 = 2; *(uint32_t*)0x200009e8 = 7; *(uint32_t*)0x200009ec = 4; *(uint32_t*)0x200009f0 = 5; *(uint32_t*)0x200009f4 = 0xfffffd67; *(uint32_t*)0x200009f8 = 0xff; *(uint32_t*)0x200009fc = 5; *(uint32_t*)0x20000a00 = 0x10; *(uint32_t*)0x20000a04 = 0xffff; *(uint32_t*)0x20000a08 = 0x78; *(uint32_t*)0x20000a0c = 2; *(uint32_t*)0x20000a10 = 0xceab; *(uint32_t*)0x20000a14 = 9; *(uint32_t*)0x20000a18 = 6; *(uint32_t*)0x20000a1c = 6; *(uint32_t*)0x20000a20 = 0x80000001; *(uint32_t*)0x20000a24 = 9; *(uint32_t*)0x20000a28 = 0; *(uint32_t*)0x20000a2c = 0x87b; *(uint32_t*)0x20000a30 = 0xffffffda; *(uint32_t*)0x20000a34 = 2; *(uint32_t*)0x20000a38 = 0xfffff000; *(uint32_t*)0x20000a3c = 3; *(uint32_t*)0x20000a40 = 0xe7; *(uint32_t*)0x20000a44 = 7; *(uint32_t*)0x20000a48 = 6; *(uint32_t*)0x20000a4c = 9; *(uint32_t*)0x20000a50 = 7; *(uint32_t*)0x20000a54 = 9; *(uint32_t*)0x20000a58 = -1; *(uint32_t*)0x20000a5c = 0x3e20; *(uint32_t*)0x20000a60 = 4; *(uint32_t*)0x20000a64 = 0x200; *(uint32_t*)0x20000a68 = 5; *(uint32_t*)0x20000a6c = 1; *(uint32_t*)0x20000a70 = 0; *(uint32_t*)0x20000a74 = 0x800; *(uint32_t*)0x20000a78 = 0xb517; *(uint32_t*)0x20000a7c = 0x820; *(uint32_t*)0x20000a80 = 6; *(uint32_t*)0x20000a84 = 8; *(uint32_t*)0x20000a88 = 2; *(uint32_t*)0x20000a8c = -1; *(uint32_t*)0x20000a90 = 0x10000; *(uint32_t*)0x20000a94 = 5; *(uint32_t*)0x20000a98 = 0x200; *(uint32_t*)0x20000a9c = 0x20; *(uint32_t*)0x20000aa0 = 0x7ff; *(uint32_t*)0x20000aa4 = 0xa142; *(uint32_t*)0x20000aa8 = 0x47; *(uint32_t*)0x20000aac = 3; *(uint32_t*)0x20000ab0 = 2; *(uint32_t*)0x20000ab4 = 0x6a203e22; *(uint32_t*)0x20000ab8 = 0xff; *(uint32_t*)0x20000abc = 3; *(uint32_t*)0x20000ac0 = 1; *(uint32_t*)0x20000ac4 = 0x3f; *(uint32_t*)0x20000ac8 = 2; *(uint32_t*)0x20000acc = 4; *(uint32_t*)0x20000ad0 = 3; *(uint32_t*)0x20000ad4 = 9; *(uint32_t*)0x20000ad8 = 6; *(uint32_t*)0x20000adc = 0xfffffff8; *(uint32_t*)0x20000ae0 = 0; *(uint32_t*)0x20000ae4 = 0x1ff; *(uint32_t*)0x20000ae8 = 0xf0eb; *(uint32_t*)0x20000aec = 3; *(uint32_t*)0x20000af0 = 0xe2e; *(uint32_t*)0x20000af4 = 0xaaa; *(uint32_t*)0x20000af8 = 0; *(uint32_t*)0x20000afc = 0x7ff; *(uint32_t*)0x20000b00 = 4; *(uint32_t*)0x20000b04 = 2; *(uint32_t*)0x20000b08 = 0x20; *(uint32_t*)0x20000b0c = 3; *(uint32_t*)0x20000b10 = 0x2f6c; *(uint32_t*)0x20000b14 = 0x1f; *(uint32_t*)0x20000b18 = 0x7ff; *(uint32_t*)0x20000b1c = 9; *(uint32_t*)0x20000b20 = 0x401; *(uint32_t*)0x20000b24 = 8; *(uint32_t*)0x20000b28 = 9; *(uint32_t*)0x20000b2c = 0x7fffffff; *(uint32_t*)0x20000b30 = 0x4f6; *(uint32_t*)0x20000b34 = 5; *(uint32_t*)0x20000b38 = 0; *(uint32_t*)0x20000b3c = 1; *(uint32_t*)0x20000b40 = 0; *(uint32_t*)0x20000b44 = 7; *(uint32_t*)0x20000b48 = 0xffffff01; *(uint32_t*)0x20000b4c = 0xfffffd54; *(uint32_t*)0x20000b50 = 0xbdb; *(uint32_t*)0x20000b54 = 0x13; *(uint32_t*)0x20000b58 = 0x9ae6; *(uint32_t*)0x20000b5c = 0x800; *(uint32_t*)0x20000b60 = 3; *(uint32_t*)0x20000b64 = 0xd0; *(uint32_t*)0x20000b68 = 0x7fffffff; *(uint32_t*)0x20000b6c = 0x800; *(uint32_t*)0x20000b70 = 0x80000000; *(uint32_t*)0x20000b74 = 9; *(uint32_t*)0x20000b78 = 0xe9ba; *(uint32_t*)0x20000b7c = 0x6c; *(uint32_t*)0x20000b80 = 7; *(uint32_t*)0x20000b84 = 7; *(uint32_t*)0x20000b88 = 0x401; *(uint32_t*)0x20000b8c = 4; *(uint32_t*)0x20000b90 = 9; *(uint32_t*)0x20000b94 = 0x200; *(uint32_t*)0x20000b98 = 0xd07; *(uint32_t*)0x20000b9c = 0xf6b; *(uint32_t*)0x20000ba0 = 0xfff; *(uint32_t*)0x20000ba4 = 3; *(uint32_t*)0x20000ba8 = 0x8000; *(uint32_t*)0x20000bac = 0; *(uint32_t*)0x20000bb0 = 0x1f; *(uint32_t*)0x20000bb4 = 1; *(uint32_t*)0x20000bb8 = 9; *(uint32_t*)0x20000bbc = 3; *(uint32_t*)0x20000bc0 = 0x81; *(uint32_t*)0x20000bc4 = 7; *(uint32_t*)0x20000bc8 = 7; *(uint32_t*)0x20000bcc = 8; *(uint32_t*)0x20000bd0 = 1; *(uint32_t*)0x20000bd4 = 0; *(uint32_t*)0x20000bd8 = 0x1ff; *(uint32_t*)0x20000bdc = 4; *(uint32_t*)0x20000be0 = 0x10001; *(uint32_t*)0x20000be4 = 4; *(uint32_t*)0x20000be8 = 0x10001; *(uint32_t*)0x20000bec = 1; *(uint32_t*)0x20000bf0 = 0; *(uint32_t*)0x20000bf4 = 0x37de; *(uint32_t*)0x20000bf8 = 3; *(uint32_t*)0x20000bfc = 0x800; *(uint32_t*)0x20000c00 = 0xb5c4; *(uint32_t*)0x20000c04 = 0x800; *(uint32_t*)0x20000c08 = 7; *(uint32_t*)0x20000c0c = 3; *(uint32_t*)0x20000c10 = 4; *(uint32_t*)0x20000c14 = 4; *(uint32_t*)0x20000c18 = 0x1f; *(uint32_t*)0x20000c1c = 0xffff; *(uint32_t*)0x20000c20 = 0xd10; *(uint32_t*)0x20000c24 = 6; *(uint32_t*)0x20000c28 = 0x57d; *(uint32_t*)0x20000c2c = 7; *(uint32_t*)0x20000c30 = 0xfffffffe; *(uint32_t*)0x20000c34 = 3; *(uint32_t*)0x20000c38 = 0x57f6; *(uint32_t*)0x20000c3c = 0x400; *(uint32_t*)0x20000c40 = 0x8e; *(uint32_t*)0x20000c44 = 0x1000; *(uint32_t*)0x20000c48 = 0xaa1; *(uint32_t*)0x20000c4c = 8; *(uint32_t*)0x20000c50 = 7; *(uint32_t*)0x20000c54 = 0x20; *(uint32_t*)0x20000c58 = 0x100; *(uint32_t*)0x20000c5c = 0x80000001; *(uint32_t*)0x20000c60 = 0x40; *(uint32_t*)0x20000c64 = 9; *(uint32_t*)0x20000c68 = 9; *(uint32_t*)0x20000c6c = 1; *(uint32_t*)0x20000c70 = 9; *(uint32_t*)0x20000c74 = 7; *(uint32_t*)0x20000c78 = 0x2444aeb6; *(uint32_t*)0x20000c7c = 3; *(uint32_t*)0x20000c80 = 0xb55; *(uint32_t*)0x20000c84 = 0x8000; *(uint16_t*)0x20000c88 = 0x3c; *(uint16_t*)0x20000c8a = 1; *(uint32_t*)0x20000c8c = 0x34; *(uint32_t*)0x20000c90 = 7; *(uint32_t*)0x20000c94 = 8; *(uint32_t*)0x20000c98 = 5; *(uint32_t*)0x20000c9c = 7; *(uint8_t*)0x20000ca0 = 0; *(uint8_t*)0x20000ca1 = 2; *(uint16_t*)0x20000ca2 = 0; *(uint16_t*)0x20000ca4 = 0x200; *(uint16_t*)0x20000ca6 = 2; *(uint32_t*)0x20000ca8 = 0xff; *(uint8_t*)0x20000cac = 0x1a; *(uint8_t*)0x20000cad = 0; *(uint16_t*)0x20000cae = 0x8000; *(uint16_t*)0x20000cb0 = 6; *(uint16_t*)0x20000cb2 = 3; *(uint32_t*)0x20000cb4 = 0x7fffffff; *(uint32_t*)0x20000cb8 = 0xff; *(uint32_t*)0x20000cbc = 0x10000; *(uint32_t*)0x20000cc0 = 0xb8605c8; *(uint16_t*)0x20000cc4 = 0x3c; *(uint16_t*)0x20000cc6 = 1; *(uint32_t*)0x20000cc8 = 0x8000; *(uint32_t*)0x20000ccc = 0x10000002; *(uint32_t*)0x20000cd0 = 0; *(uint32_t*)0x20000cd4 = 7; *(uint32_t*)0x20000cd8 = 0xfffffffc; *(uint8_t*)0x20000cdc = 0x7d; *(uint8_t*)0x20000cdd = 2; *(uint16_t*)0x20000cde = 0x343c; *(uint16_t*)0x20000ce0 = 8; *(uint16_t*)0x20000ce2 = 0x200; *(uint32_t*)0x20000ce4 = 8; *(uint8_t*)0x20000ce8 = 4; *(uint8_t*)0x20000ce9 = 0; *(uint16_t*)0x20000cea = 4; *(uint16_t*)0x20000cec = 0x7fff; *(uint16_t*)0x20000cee = 6; *(uint32_t*)0x20000cf0 = 8; *(uint32_t*)0x20000cf4 = 2; *(uint32_t*)0x20000cf8 = 6; *(uint32_t*)0x20000cfc = 8; *(uint16_t*)0x20000d00 = 0xc; *(uint16_t*)0x20000d02 = 9; *(uint64_t*)0x20000d04 = 0x100; *(uint16_t*)0x20000d0c = 0x404; *(uint16_t*)0x20000d0e = 3; *(uint32_t*)0x20000d10 = 3; *(uint32_t*)0x20000d14 = 0x401; *(uint32_t*)0x20000d18 = 9; *(uint32_t*)0x20000d1c = 0xa251; *(uint32_t*)0x20000d20 = 0x170800; *(uint32_t*)0x20000d24 = 0x1f50; *(uint32_t*)0x20000d28 = 0x79b8; *(uint32_t*)0x20000d2c = 6; *(uint32_t*)0x20000d30 = 0; *(uint32_t*)0x20000d34 = 0x605; *(uint32_t*)0x20000d38 = 0x10001; *(uint32_t*)0x20000d3c = 7; *(uint32_t*)0x20000d40 = 0xe8; *(uint32_t*)0x20000d44 = 5; *(uint32_t*)0x20000d48 = 0x8c; *(uint32_t*)0x20000d4c = 0x80000001; *(uint32_t*)0x20000d50 = 0xe332; *(uint32_t*)0x20000d54 = 0x2da2; *(uint32_t*)0x20000d58 = 5; *(uint32_t*)0x20000d5c = 5; *(uint32_t*)0x20000d60 = 6; *(uint32_t*)0x20000d64 = 4; *(uint32_t*)0x20000d68 = 0xff; *(uint32_t*)0x20000d6c = 0x921; *(uint32_t*)0x20000d70 = 5; *(uint32_t*)0x20000d74 = 0xb8; *(uint32_t*)0x20000d78 = 0x100; *(uint32_t*)0x20000d7c = 0x7fff; *(uint32_t*)0x20000d80 = 9; *(uint32_t*)0x20000d84 = 0x81; *(uint32_t*)0x20000d88 = 9; *(uint32_t*)0x20000d8c = 0x81; *(uint32_t*)0x20000d90 = 3; *(uint32_t*)0x20000d94 = 0x53; *(uint32_t*)0x20000d98 = 8; *(uint32_t*)0x20000d9c = 0x7fffffff; *(uint32_t*)0x20000da0 = 4; *(uint32_t*)0x20000da4 = -1; *(uint32_t*)0x20000da8 = 4; *(uint32_t*)0x20000dac = 3; *(uint32_t*)0x20000db0 = 8; *(uint32_t*)0x20000db4 = 0xfff; *(uint32_t*)0x20000db8 = 9; *(uint32_t*)0x20000dbc = 0xe3; *(uint32_t*)0x20000dc0 = 3; *(uint32_t*)0x20000dc4 = 4; *(uint32_t*)0x20000dc8 = 0; *(uint32_t*)0x20000dcc = 1; *(uint32_t*)0x20000dd0 = -1; *(uint32_t*)0x20000dd4 = 7; *(uint32_t*)0x20000dd8 = 0x80000001; *(uint32_t*)0x20000ddc = 8; *(uint32_t*)0x20000de0 = 0x87d; *(uint32_t*)0x20000de4 = 0x2f; *(uint32_t*)0x20000de8 = 0xd; *(uint32_t*)0x20000dec = 0x8000; *(uint32_t*)0x20000df0 = 0xbd; *(uint32_t*)0x20000df4 = 0xae4; *(uint32_t*)0x20000df8 = 0x10000; *(uint32_t*)0x20000dfc = 0; *(uint32_t*)0x20000e00 = 5; *(uint32_t*)0x20000e04 = 7; *(uint32_t*)0x20000e08 = 4; *(uint32_t*)0x20000e0c = 1; *(uint32_t*)0x20000e10 = 0x200; *(uint32_t*)0x20000e14 = 7; *(uint32_t*)0x20000e18 = 0x3ff; *(uint32_t*)0x20000e1c = 0x70d4; *(uint32_t*)0x20000e20 = 1; *(uint32_t*)0x20000e24 = 7; *(uint32_t*)0x20000e28 = 0xfffffffe; *(uint32_t*)0x20000e2c = 0xffff; *(uint32_t*)0x20000e30 = 2; *(uint32_t*)0x20000e34 = 0xbd; *(uint32_t*)0x20000e38 = 2; *(uint32_t*)0x20000e3c = 0xffffee9d; *(uint32_t*)0x20000e40 = 0x5ff; *(uint32_t*)0x20000e44 = 0x8731; *(uint32_t*)0x20000e48 = 0xb; *(uint32_t*)0x20000e4c = 9; *(uint32_t*)0x20000e50 = 0xd6; *(uint32_t*)0x20000e54 = 0x7ff; *(uint32_t*)0x20000e58 = 0x4ff1c745; *(uint32_t*)0x20000e5c = 0x1000; *(uint32_t*)0x20000e60 = 0xffff; *(uint32_t*)0x20000e64 = 7; *(uint32_t*)0x20000e68 = 0; *(uint32_t*)0x20000e6c = 0x20; *(uint32_t*)0x20000e70 = 9; *(uint32_t*)0x20000e74 = 0x1000; *(uint32_t*)0x20000e78 = 0x10001; *(uint32_t*)0x20000e7c = 6; *(uint32_t*)0x20000e80 = 6; *(uint32_t*)0x20000e84 = 0x10000; *(uint32_t*)0x20000e88 = 0xfff; *(uint32_t*)0x20000e8c = 9; *(uint32_t*)0x20000e90 = 0x7ff; *(uint32_t*)0x20000e94 = 5; *(uint32_t*)0x20000e98 = 2; *(uint32_t*)0x20000e9c = 9; *(uint32_t*)0x20000ea0 = 0x7f; *(uint32_t*)0x20000ea4 = 8; *(uint32_t*)0x20000ea8 = 6; *(uint32_t*)0x20000eac = 0x1f; *(uint32_t*)0x20000eb0 = 0x7fff; *(uint32_t*)0x20000eb4 = 4; *(uint32_t*)0x20000eb8 = 1; *(uint32_t*)0x20000ebc = 0x81; *(uint32_t*)0x20000ec0 = 0x401; *(uint32_t*)0x20000ec4 = 8; *(uint32_t*)0x20000ec8 = 8; *(uint32_t*)0x20000ecc = 8; *(uint32_t*)0x20000ed0 = 4; *(uint32_t*)0x20000ed4 = 5; *(uint32_t*)0x20000ed8 = 6; *(uint32_t*)0x20000edc = -1; *(uint32_t*)0x20000ee0 = 0xe88; *(uint32_t*)0x20000ee4 = 0x80; *(uint32_t*)0x20000ee8 = 0; *(uint32_t*)0x20000eec = 1; *(uint32_t*)0x20000ef0 = 3; *(uint32_t*)0x20000ef4 = 0x9a; *(uint32_t*)0x20000ef8 = 0x80000001; *(uint32_t*)0x20000efc = 5; *(uint32_t*)0x20000f00 = 8; *(uint32_t*)0x20000f04 = 0x340c0000; *(uint32_t*)0x20000f08 = 7; *(uint32_t*)0x20000f0c = 7; *(uint32_t*)0x20000f10 = 0x7fff; *(uint32_t*)0x20000f14 = 8; *(uint32_t*)0x20000f18 = 1; *(uint32_t*)0x20000f1c = 0x20; *(uint32_t*)0x20000f20 = 0x69; *(uint32_t*)0x20000f24 = 0x1ff; *(uint32_t*)0x20000f28 = 0xde; *(uint32_t*)0x20000f2c = 0x8000; *(uint32_t*)0x20000f30 = 2; *(uint32_t*)0x20000f34 = 0; *(uint32_t*)0x20000f38 = 3; *(uint32_t*)0x20000f3c = 0x40; *(uint32_t*)0x20000f40 = 0x800; *(uint32_t*)0x20000f44 = 7; *(uint32_t*)0x20000f48 = 5; *(uint32_t*)0x20000f4c = 1; *(uint32_t*)0x20000f50 = 0x918; *(uint32_t*)0x20000f54 = 3; *(uint32_t*)0x20000f58 = 2; *(uint32_t*)0x20000f5c = 9; *(uint32_t*)0x20000f60 = 0; *(uint32_t*)0x20000f64 = 0xffff; *(uint32_t*)0x20000f68 = 2; *(uint32_t*)0x20000f6c = 0x48; *(uint32_t*)0x20000f70 = 7; *(uint32_t*)0x20000f74 = 0x8000; *(uint32_t*)0x20000f78 = 0xff; *(uint32_t*)0x20000f7c = 8; *(uint32_t*)0x20000f80 = 0x8001; *(uint32_t*)0x20000f84 = 6; *(uint32_t*)0x20000f88 = 2; *(uint32_t*)0x20000f8c = 0x10000; *(uint32_t*)0x20000f90 = 0; *(uint32_t*)0x20000f94 = 4; *(uint32_t*)0x20000f98 = 0x7fff; *(uint32_t*)0x20000f9c = 1; *(uint32_t*)0x20000fa0 = 0x20; *(uint32_t*)0x20000fa4 = 0x6b7d; *(uint32_t*)0x20000fa8 = 9; *(uint32_t*)0x20000fac = 6; *(uint32_t*)0x20000fb0 = 0x2d782c68; *(uint32_t*)0x20000fb4 = 5; *(uint32_t*)0x20000fb8 = 0xfa; *(uint32_t*)0x20000fbc = 0x100; *(uint32_t*)0x20000fc0 = 7; *(uint32_t*)0x20000fc4 = 7; *(uint32_t*)0x20000fc8 = 0x25ba3bca; *(uint32_t*)0x20000fcc = 4; *(uint32_t*)0x20000fd0 = 8; *(uint32_t*)0x20000fd4 = 0xff; *(uint32_t*)0x20000fd8 = 8; *(uint32_t*)0x20000fdc = 0x400; *(uint32_t*)0x20000fe0 = 8; *(uint32_t*)0x20000fe4 = 0xbf21; *(uint32_t*)0x20000fe8 = 0; *(uint32_t*)0x20000fec = 0x25; *(uint32_t*)0x20000ff0 = 0x7fffffff; *(uint32_t*)0x20000ff4 = 0xfffffff8; *(uint32_t*)0x20000ff8 = 0x7fff; *(uint32_t*)0x20000ffc = 0xd99; *(uint32_t*)0x20001000 = 4; *(uint32_t*)0x20001004 = 0x80000000; *(uint32_t*)0x20001008 = 0x7fffffff; *(uint32_t*)0x2000100c = 6; *(uint32_t*)0x20001010 = 7; *(uint32_t*)0x20001014 = 0xfffffff8; *(uint32_t*)0x20001018 = -1; *(uint32_t*)0x2000101c = 5; *(uint32_t*)0x20001020 = 2; *(uint32_t*)0x20001024 = 0x8001; *(uint32_t*)0x20001028 = 0xf3; *(uint32_t*)0x2000102c = 0x1f; *(uint32_t*)0x20001030 = 7; *(uint32_t*)0x20001034 = 4; *(uint32_t*)0x20001038 = 0x10000; *(uint32_t*)0x2000103c = 0x8001; *(uint32_t*)0x20001040 = 5; *(uint32_t*)0x20001044 = 4; *(uint32_t*)0x20001048 = 0xff40; *(uint32_t*)0x2000104c = 0x7ff; *(uint32_t*)0x20001050 = 0x7b5fe626; *(uint32_t*)0x20001054 = 7; *(uint32_t*)0x20001058 = 1; *(uint32_t*)0x2000105c = 0x7fffffff; *(uint32_t*)0x20001060 = 0x10000; *(uint32_t*)0x20001064 = 0x83b0; *(uint32_t*)0x20001068 = 0; *(uint32_t*)0x2000106c = 0x7f; *(uint32_t*)0x20001070 = 2; *(uint32_t*)0x20001074 = 0; *(uint32_t*)0x20001078 = 6; *(uint32_t*)0x2000107c = 3; *(uint32_t*)0x20001080 = 0x8000; *(uint32_t*)0x20001084 = 0; *(uint32_t*)0x20001088 = 0x80000000; *(uint32_t*)0x2000108c = 0xad8; *(uint32_t*)0x20001090 = 0x10001; *(uint32_t*)0x20001094 = 2; *(uint32_t*)0x20001098 = 0xfffffff7; *(uint32_t*)0x2000109c = 7; *(uint32_t*)0x200010a0 = 2; *(uint32_t*)0x200010a4 = 0xf25d; *(uint32_t*)0x200010a8 = 3; *(uint32_t*)0x200010ac = 9; *(uint32_t*)0x200010b0 = 2; *(uint32_t*)0x200010b4 = 0x7f; *(uint32_t*)0x200010b8 = 0x800; *(uint32_t*)0x200010bc = 0x10000; *(uint32_t*)0x200010c0 = 3; *(uint32_t*)0x200010c4 = 7; *(uint32_t*)0x200010c8 = 9; *(uint32_t*)0x200010cc = 3; *(uint32_t*)0x200010d0 = 0x80000001; *(uint32_t*)0x200010d4 = 5; *(uint32_t*)0x200010d8 = 0x7ff; *(uint32_t*)0x200010dc = 0x7fffffff; *(uint32_t*)0x200010e0 = 0x1260; *(uint32_t*)0x200010e4 = 9; *(uint32_t*)0x200010e8 = 6; *(uint32_t*)0x200010ec = 0x8001; *(uint32_t*)0x200010f0 = 0x83f; *(uint32_t*)0x200010f4 = 3; *(uint32_t*)0x200010f8 = 4; *(uint32_t*)0x200010fc = 3; *(uint32_t*)0x20001100 = 4; *(uint32_t*)0x20001104 = 4; *(uint32_t*)0x20001108 = 0x79e; *(uint32_t*)0x2000110c = 1; *(uint64_t*)0x20000188 = 0xd10; *(uint64_t*)0x200001d8 = 1; *(uint64_t*)0x200001e0 = 0; *(uint64_t*)0x200001e8 = 0; *(uint32_t*)0x200001f0 = 0x4000; syscall(__NR_sendmsg, -1, 0x200001c0ul, 0x44054ul); syscall(__NR_sendmmsg, r[0], 0x20000200ul, 0x10efe10675dec16ul, 0ul); } int main(void) { syscall(__NR_mmap, 0x1ffff000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x21000000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); do_sandbox_none(); return 0; }