// https://syzkaller.appspot.com/bug?id=a758732bac1ec0b91f41f26ae26e12f195625316 // 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 static __thread int skip_segv; static __thread jmp_buf segv_env; static void segv_handler(int sig, siginfo_t* info, void* ctx) { uintptr_t addr = (uintptr_t)info->si_addr; const uintptr_t prog_start = 1 << 20; const uintptr_t prog_end = 100 << 20; if (__atomic_load_n(&skip_segv, __ATOMIC_RELAXED) && (addr < prog_start || addr > prog_end)) { _longjmp(segv_env, 1); } exit(sig); } static void install_segv_handler(void) { struct sigaction sa; memset(&sa, 0, sizeof(sa)); sa.sa_sigaction = segv_handler; sa.sa_flags = SA_NODEFER | SA_SIGINFO; sigaction(SIGSEGV, &sa, NULL); sigaction(SIGBUS, &sa, NULL); } #define NONFAILING(...) \ { \ __atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST); \ if (_setjmp(segv_env) == 0) { \ __VA_ARGS__; \ } \ __atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST); \ } static void kill_and_wait(int pid, int* status) { kill(pid, SIGKILL); while (waitpid(-1, status, 0) != pid) { } } 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 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; for (i = 0; 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; } static void sandbox_common() { if (setsid() == -1) exit(1); struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = 128 << 20; setrlimit(RLIMIT_AS, &rlim); rlim.rlim_cur = rlim.rlim_max = 8 << 20; setrlimit(RLIMIT_MEMLOCK, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_FSIZE, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_STACK, &rlim); rlim.rlim_cur = rlim.rlim_max = 0; setrlimit(RLIMIT_CORE, &rlim); rlim.rlim_cur = rlim.rlim_max = 256; setrlimit(RLIMIT_NOFILE, &rlim); } static void loop(); static int do_sandbox_none(void) { sandbox_common(); loop(); 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; int collide = 0; again: for (call = 0; call < 9; 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 (collide && (call % 2) == 0) break; event_timedwait(&th->done, 45); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); if (!collide) { collide = 1; goto again; } } static void execute_one(void); #define WAIT_FLAGS 0 static void loop(void) { int iter; for (iter = 0;; iter++) { int pid = fork(); if (pid < 0) exit(1); if (pid == 0) { execute_one(); 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[2] = {0xffffffffffffffff, 0xffffffffffffffff}; void execute_call(int call) { intptr_t res; switch (call) { case 0: NONFAILING(memcpy((void*)0x20000040, "./file0\000", 8)); res = syscall(SYS_open, 0x20000040, 0x80000000000206, 0); if (res != -1) r[0] = res; break; case 1: syscall(SYS_mmap, 0x20000000, 0x4000, 7, 0x12, r[0], 0); break; case 2: syscall(SYS_ftruncate, r[0], 0x20000000004); break; case 3: syscall(SYS_mprotect, 0x20001000, 0x1000, 4); break; case 4: NONFAILING(*(uint64_t*)0x20000000 = 0x10000000000b35d); NONFAILING(*(uint64_t*)0x20000008 = 0x800000b35d); syscall(SYS_setrlimit, 6, 0x20000000); break; case 5: syscall(SYS_mlockall, 1); break; case 6: NONFAILING(memcpy((void*)0x20000240, "./file0\000", 8)); res = syscall(SYS_open, 0x20000240, 0x8444, 0x40); if (res != -1) r[1] = res; break; case 7: syscall(SYS_mprotect, 0x20000000, 0x4000, 2); break; case 8: NONFAILING(memcpy( (void*)0x20000280, "\x72\xb0\xd2\x88\x6b\x19\x36\x7b\x84\xcd\x9d\x2f\x0e\x93\x45\xf2\x64" "\x49\xde\xab\x6d\x48\xb0\xc0\xc1\xe0\x8e\x88\x01\x25\x29\x3d\x67\x2a" "\x26\x87\x45\xdd\xf2\x93\xeb\x0c\x8a\x6f\xa9\xa8\xe4\x8f\x5a\xea\xb9" "\x8c\x97\xd5\xcd\x39\xe9\xaa\xaf\xce\x21\x63\x9e\xe0\x46\xeb\xaa\x33" "\xc0\xb9\xb1\xa9\xb7\x57\x6b\xb0\xaa\x40\x49\xf5\x59\xab\x7d\x4d\x07" "\x33\x10\x2e\x86\x5b\x93\x16\x12\xed\x48\x9f\x42\x10\xb7\x38\x36\x8c" "\x28\xa4\xbe\x14\x67\x61\x32\x4c\x59\x5d\xc8\xf8\xcb\x82\x0f\x58\x52" "\x3e\x37\x1a\xa6\x48\x8d\x52\xd1\xc8\xe5\x21\x64\x65\x09\x52\x03\xf3" "\xe9\x21\xc3\x35\x2a\xb4\x6d\x2b\x52\x8e\x80\xa3\x59\xac\x8e\xd5\xbd" "\x7f\x36\x4d\x40\x66\x02\xb4\x73\xdd\xec\xaf\x77\x49\x3c\xe1\x8f\x38" "\xab\x27\xaa\xe0\x9d\xbc\x96\x2d\x10\x0f\x6c\xc7\xe6\x41\x08\xab\x84" "\x9d\x41\x70\x06\xa5\x8f\x12\x9b\x1c\x8c\x8b\xaf\x2c\x2a\xce\x2a\xfb" "\x4f\x4b\x5d\x01\xad\xb7\x4e\xe8\x7f\x7f\xd0\xd7\xb8\x8b\xe0\x66\x3e" "\x34\xe8\x4a\x5b\x7a\x56\xb7\x29\x71\xe7\x23\x66\xeb\x8e\xea\x89\x24" "\xa6\x90\x08\xb1\x2b\xa9\xdc\xe1\x7a\x2f\xc1\x0a\x7f\x2a\x57\x40\x11" "\x9a\x27\x6f\x21\xd0\x3b\x19\x30\x28\xbc\xb2\xef\x60\xeb\xbe\x66\x59" "\xe4\x34\xa6\xec\xaa\xc8\xd2\x47\x5d\x0d\x01\xe6\xb7\xd0\xeb\x30\xff" "\x39\xdb\xf0\x9c\xd1\x25\x93\x4c\x3a\xf4\xdd\xa4\xf8\x21\xf8\x52\x4c" "\xc4\x26\xeb\x53\xac\xc2\xd9\xe3\x7e\xdd\xc0\x09\x66\x63\xbf\x34\x70" "\xcb\xec\x19\x01\xb1\x9d\x35\xae\x57\x1c\x54\xf2\x75\xa7\xe9\x4d\x5e" "\x81\x50\x27\xb4\x6e\xcb\xcf\x5b\x9a\xae\xf3\x4f\x4c\x8d\x44\x75\x2e" "\x4f\x06\xb2\x44\x7c\xd7\x95\x14\xc1\x58\x4b\x7a\x39\x3d\x7c\xde\xd4" "\xf7\x6e\x6d\x5f\xab\xfd\x64\x92\xb1\xa9\xb2\x0e\x06\x5d\x3b\x90\xe4" "\x67\x0f\x84\x90\x01\x21\xa6\xf6\x53\xb0\x48\xd9\x8a\x25\x0e\x04\x6b" "\x35\x6f\xe1\x40\x8c\x37\xbf\x92\x68\x76\x44\x92\xc3\xb2\xc4\xde\x81" "\x14\xa4\xb0\xb1\x51\x8e\x4c\x73\x00\x63\x08\xfc\xb8\x10\xfe\x1d\x59" "\x3f\xa0\x37\x41\x12\x86\x6b\x11\x13\xbc\x71\x97\x33\xce\x98\xb4\x23" "\xab\xa6\x60\xae\xff\x9b\x8b\x0e\xa2\x5d\x11\xc2\xdc\xba\x63\x4f\xe5" "\x87\xc4\xd4\x06\x89\x46\x35\x4b\x61\x71\x03\x9a\xc5\x9c\x9b\x53\x45" "\xa8\x13\x6d\xb9\xa7\x8d\xe0\x3e\xfe\x10\xa3\x89\x74\x78\x20\x1a\x19" "\x48\x20\xbb\x67\xc3\x28\x7b\xd8\xbc\xee\xb3\x0f\x36\xd9\xab\xa6\x3c" "\x23\x4c\xc2\xca\x48\xce\xb7\xce\x2d\x6e\xfc\x3c\x10\xc8\x75\xfa\xc6" "\x9e\x37\x0e\x58\x72\x6a\xaf\x92\xa7\xf4\x2b\x4b\x68\x28\x46\x31\xe1" "\xa3\x23\xe1\x0e\xf5\x47\x79\x54\x4c\x5b\xc6\x72\xce\x88\xb7\x17\x06" "\x70\x94\x6f\x8f\xad\xe8\xfc\x4e\x6f\x5d\xe9\xe8\x59\xe3\x79\x10\xf3" "\x1e\xdc\x84\x66\x85\xf2\xc6\x23\x3c\xe7\xc0\x73\x64\x25\x7a\x71\xb8" "\x78\xb8\xcc\xab\x82\x0b\xfa\xdd\xee\xe0\xa0\x57\x98\x2b\x38\xb1\xbd" "\xdf\x10\xc8\x93\xd2\x04\xd9\xbb\x3e\xfe\xbf\x75\xa1\xc1\x83\x5a\xd1" "\x68\xe3\x7b\xf8\xce\x55\xa6\x49\x22\x0c\x94\x6b\x9a\x9e\x32\x09\xc9" "\xcd\x12\xbf\x53\xb2\x64\xbf\x86\x3d\x3e\x5b\x7b\x9a\x44\xd6\xb7\xbb" "\xc3\xa1\x1f\x8b\x80\xd6\x2d\x19\x3e\xe6\xc3\x4b\xc5\xd4\xe1\x4a\x39" "\x15\x2a\xb6\x9e\xfa\xf1\xd0\x5c\x2b\x38\x99\x95\x24\x5d\xcf\x13\x85" "\xba\x71\xec\x90\x9f\xdb\x7e\x36\x93\x23\x15\xc3\xd6\x6a\xe8\x3e\xfc" "\xb1\xfd\x77\x29\x93\x20\xff\xf1\x17\xf4\x60\x05\xab\xfd\x7d\x98\x79" "\x99\xf5\xef\x26\x94\x09\xe9\x8f\xf7\xf0\x46\xc0\x1a\xfc\xea\xdc\xba" "\x47\x5c\x87\x4b\xa5\x56\x05\x2a\x7a\xe0\xa0\xdb\x34\x9c\x23\x00\xb8" "\xd6\xde\x4d\xcc\x76\x2f\xf0\x62\x1a\xc4\x9a\x37\xad\x77\x49\xb2\x4b" "\xcc\x35\xe7\xdf\x56\xd3\x7d\xe4\xf9\xfb\x98\xf8\x8b\x5b\x25\x77\xa8" "\x7d\xed\x20\x8d\xd7\x42\x41\x67\x1e\x88\x5b\x69\x80\x50\x73\xa2\xab" "\x38\x5b\x4c\x53\xf5\x19\xae\x65\xe2\x37\xe5\xeb\x18\x5f\x91\x69\x43" "\xaf\x4c\x75\xe9\xbf\x6e\xf3\x7b\x79\xc6\x9e\xfb\x82\x81\x52\x9b\xe0" "\x2e\x38\x0d\xad\x23\x38\xe2\x26\x0f\xfa\x4e\x1a\x58\x99\xcc\x66\x1c" "\x81\x4b\xff\x2a\xb8\x83\xf2\xb2\xae\xda\x10\x9f\x91\x74\x1b\xd5\x82" "\xe3\x72\x5d\x02\x87\xb0\xa8\xd1\xdc\x36\x51\x0b\x39\xc7\xad\xd6\x06" "\x93\x41\xc6\xf9\xd6\x8f\x5f\x0d\xad\xe2\x41\x04\x36\x87\xb8\x34\xba" "\x67\x03\xc0\x16\x6f\x06\x57\x34\x2e\x26\x8b\xba\xfd\xeb\x6b\x8b\x25" "\x87\x93\xfd\xba\x3a\x74\x25\x79\xa6\x82\x5b\xf2\x9b\xcc\x86\x25\xc7" "\x11\xaa\x3f\x78\xf6\x45\x6c\x0a\x9a\xa8\x17\x6e\x8d\x93\xcb\x2e\xbe" "\x83\x1e\x04\x9e\x3a\x51\xe9\x85\x94\xcf\xb3\xf9\x2b\xe5\xef\x79\x3f" "\x1d\x57\xf4\xcb\xda\xdc\xfa\x8a\x16\x25\xf9\xcc\x3b\x1a\xdf\xbe\x25" "\xb1\x59\x88\x58\x9c\xd9\x9b\xac\x41\xbc\xcf\xc8\xd5\xbe\xac\x9b\x2e" "\x48\x94\xd0\x88\xaf\xae\x53\xbd\x3b\x79\xfd\xf9\x1b\xd4\xd4\x65\x13" "\x3e\x41\xf0\x60\x88\xe7\xc7\x23\x30\xb2\x78\xbd\xe3\x54\xd8\xf7\xb2" "\xe6\x57\x44\x8a\x3c\x68\x96\x5a\x9e\x5d\x4b\x7d\x80\x50\x2f\x2b\x01" "\xee\xb3\x39\x82\xfe\xdb\xdd\x07\x04\xba\xdc\xa0\x12\x94\xbe\x2c\x49" "\x39\x19\x99\x4a\x64\x99\xa2\x23\xde\x03\x52\xff\x34\x38\x1b\xf8\x2c" "\x6b\x2b\x25\x31\xd7\x73\x7e\x29\x54\x25\x6c\xda\x1e\xcf\x43\x1d\xe3" "\xaf\xe5\x07\x3a\x1b\x1f\x74\xf2\xef\x84\xf5\x14\xb8\x8f\xa7\x24\xd9" "\x86\x31\xdd\xa7\x1e\xe4\xcf\x5b\xdb\xf5\x0b\xf2\x43\xb4\x56\x29\xcb" "\xca\x5c\xc7\xaa\x5d\x4e\x22\x77\x59\x94\x4e\x57\x7b\xcd\x36\x3d\x84" "\xef\x90\x8f\x36\x57\xbf\x77\xb8\xf0\x26\xf2\x34\x23\x13\x0b\x1f\xba" "\xad\x2d\x26\xfc\xfe\x30\x79\xbb\x5a\xa8\x98\x44\x32\xb5\xb7\x17\x0e" "\x31\x82\x70\xeb\x9a\xda\xcc\xbe\xa5\xdf\x33\x19\xd1\xab\x94\x1a\xf8" "\xcb\xea\x66\x7d\x77\xb6\xba\x0d\xcc\x1e\x02\xe8\xd6\x70\x0f\xc3\xfd" "\x14\x29\x67\x27\xab\xce\xbd\x84\x24\xc7\xd8\x7d\xc6\x3e\xa4\x42\x2b" "\xa4\xdd\xde\x31\x09\x35\x58\x94\xce\xed\xdc\xb5\x8f\xdc\x3a\x6b\x3f" "\xfc\xde\x72\xc6\x3f\x60\x25\x61\x80\x22\x07\x08\xdd\x00\x75\x4a\x95" "\x20\x19\xf0\xfc\xc1\x48\x43\x78\x1b\x0b\x8c\x83\xb3\x8d\xc1\x65\x04" "\xef\xbd\x78\x84\x84\x9d\xab\x9d\x8d\x19\xf0\x75\x6e\xe1\xcc\x02\x8b" "\xd3\xe6\x48\x5c\x7e\x9d\x6d\x41\x58\x1c\xf5\xc4\x17\x75\x3f\x56\xc0" "\x0a\xd8\x43\x31\x72\x45\x9c\xf7\x03\xee\x97\x96\xe8\x6f\x1b\x09\xd2" "\xa0\x3e\x44\x14\x2b\x04\x74\xd6\xc0\x02\x03\x0b\xd5\x13\x86\xe7\x6e" "\x5c\x5c\x8d\x3f\xf5\x72\xaa\x2b\xa1\x9e\xd7\xb8\xa7\x54\xb7\x23\x74" "\xb7\x2d\xca\x00\x36\xb3\x17\x00\x4d\x14\xfc\x9d\x92\xa6\xaf\x35\xfb" "\x1b\xc8\x98\xfc\x30\x7a\x4e\x50\xac\x4e\x97\xb7\x2b\x9e\x01\xa9\x1f" "\xe4\x79\xc2\xa9\xe1\x43\x3a\x3a\xd6\xea\xfe\x91\x07\xc8\x42\x20\xfd" "\xf3\xe2\x0b\x09\xfc\xf5\xbb\xfa\x3a\x43\xc1\xd3\x62\x5c\x20\xb9\x42" "\xf2\x8f\x54\x36\xf7\x4c\x4a\xd2\x55\x26\x0f\xb4\xc6\x7d\xb5\xe2\xd0" "\x92\x23\x34\x1f\xc6\xab\x7a\x5d\x32\xc1\xb4\xb6\xfc\x44\x09\x96\xa2" "\xa8\x74\xbb\x42\xb4\xc8\xc1\xf3\xd5\x7a\xf5\x09\x7c\x17\x37\x09\x99" "\x8d\x74\x37\x15\x0a\xec\xd3\xf4\x0b\xdc\xfb\x93\xe4\xc9\xfe\xba\xb2" "\x32\xfb\x11\x0c\x58\x95\xef\x55\x7f\x39\x79\x02\x3d\x22\xd9\xf5\xa5" "\xb3\x21\x58\x18\x48\x9b\x52\xc0\x2d\x07\x48\xce\x1a\x87\x3f\xed\x41" "\xdb\x8c\x23\x8b\xa5\xd8\xb7\xd0\x0c\xe6\x3a\x4b\x06\xd2\x91\x60\x9f" "\x56\xd8\x43\x0c\x53\x37\x97\xd7\x83\x7d\x93\x30\x92\xc6\xd5\x97\xdc" "\x68\xcd\x70\x5e\x82\x78\x69\xa8\x5b\x37\xda\x1b\x75\x70\xfe\x98\xf3" "\x99\xa6\x85\x84\xed\x41\x0d\x71\xb5\xb0\x8a\xc5\xde\x7c\x3f\xa3\xb8" "\x80\xf4\xfc\x7f\x8d\x28\xfe\x90\xab\x94\x67\x17\x49\x17\x03\xe7\x6f" "\x56\x23\x7f\xbd\xf1\x6e\x2f\x8d\x7f\x7a\x96\x8a\x9f\xfe\x99\x41\x5f" "\xdc\x4d\x87\x69\x5d\x81\x31\x98\x50\x7d\x40\xfd\x8c\x46\xdf\x31\x34" "\xd7\xf9\xd0\x9d\xb6\x0c\x1a\x60\xe4\x6a\x7b\xe1\xf0\x45\x37\x4c\x0e" "\xb9\x87\x9c\xa0\xac\x34\x43\x6e\x73\xf1\xe3\x2a\xfd\x32\xed\x74\xf8" "\x70\x71\x0c\x60\x2e\x69\xd0\xda\xca\x7e\x60\xa5\x83\x48\x63\x5a\xd4" "\x62\x66\x81\x43\xbb\xec\x60\x03\x61\xfc\x4a\xe8\x3a\xf7\x5b\x5c\x01" "\xb4\x61\x7f\x10\x14\xd1\x9e\xbd\x12\x88\xea\x80\x81\x59\x0b\xb3\xf4" "\xf1\xcb\xec\x15\xd7\x02\x20\x3d\xc1\x0b\xb7\x79\xf8\x0c\xa7\x6d\x60" "\x59\x05\x2d\x27\x3b\xfd\x21\xf6\x07\x17\xfb\xb5\x40\x11\xf0\xfb\xb9" "\xe2\xac\xb6\x6b\xb4\xf0\xd9\x21\x0b\x37\x51\x87\x33\xbf\x93\xc5\x90" "\x7f\x7f\xe0\xfd\xf8\x7c\xb4\x23\x6c\xc1\x22\x41\x9a\x04\xee\xbd\x64" "\xf7\x95\x9a\xf0\xaa\xa7\xc1\x8d\x41\x1b\xaa\x37\x60\x2f\x3a\xb9\x0b" "\x6d\x13\x5c\x67\xd4\x2c\xb4\x5d\x15\x28\xbf\xbf\xd4\x6f\xa4\x07\xa0" "\x11\xc1\x62\x3e\x4c\x5f\x2e\xf9\x85\x96\xa3\x19\x18\x54\xe2\xc4\xd7" "\x53\xbe\x07\x05\xa7\xf5\x4a\xea\x71\x2a\xfb\x20\xe6\xf7\x6d\x3c\x65" "\x01\xc4\x6c\x17\x8a\x19\xac\xb2\x1d\x6c\xf9\x6c\x06\x07\x90\x87\x6b" "\x0d\x01\xc1\x0d\xd7\xe2\xe3\x9e\x6e\x4b\x7c\x21\x5d\x85\x46\xf5\xc0" "\xfc\x4a\x8f\xdf\x85\x53\x45\x48\x0d\x8f\xd3\x00\x08\x64\x89\x10\xa4" "\x79\x73\xf0\xd4\x8b\x4d\xa3\x03\xcf\xff\x73\x4d\x82\x2f\x89\x4c\x77" "\x13\x2e\x5d\x5c\xa2\xb0\x3f\x19\x81\xf9\xd8\x51\x87\x59\xc0\x2d\x6a" "\x6a\x1b\x9d\xae\xfe\x06\x21\x77\x2e\x81\xa1\xd5\x5d\xb0\x12\x63\x90" "\x88\x7a\x66\xce\x58\xb7\x8a\xf3\xa9\x11\x31\x46\x04\x03\x90\x57\x8d" "\x7b\x02\xb2\x2b\x5e\xac\x88\xca\x5c\x14\x32\x0a\x64\xfa\x1b\xb4\x94" "\x38\x2b\x05\xc3\x00\xd5\x93\x27\x06\x04\x2c\xb4\x6c\xda\x18\xb0\x69" "\x56\x14\xff\x67\x6b\xfd\xd1\x83\x52\x27\xd1\x3e\xa7\xd0\x66\x26\xf2" "\x05\x2d\x7e\x0b\x92\xc3\xa4\xa0\x9f\xc0\x1a\x21\x19\x57\xf4\xb2\x8b" "\x3c\xfa\xdd\x13\xbe\xad\x33\xb0\x68\x75\x57\xc5\xea\x0f\xc0\x31\x71" "\x2c\xb9\x89\x6f\x6b\x9f\xb1\x3e\xa5\x78\x24\x43\xc4\xd4\x66\x4f\xc3" "\xf8\x41\x07\x68\x44\xcf\xc0\x99\x27\x13\xe2\x71\xf1\xcf\x81\xb1\x5f" "\x35\x00\x16\xe1\x78\xc5\x61\x6b\x1c\x5e\x8b\x48\xcd\x3a\xad\xfb\x0d" "\x72\xa6\x7f\x34\x0d\xf0\xc3\x64\x72\xb1\x18\x3c\xfb\x72\x1b\xf8\xe1" "\x3d\xb8\x94\x78\xfe\xc5\x65\xb2\x84\xaf\xcd\x99\xc2\xdf\x4a\x9d\xdb" "\xa3\xa4\xd8\x44\x8a\x6a\x12\x76\x64\x44\xe3\x58\x8a\x2b\xf6\xa5\x78" "\x38\x66\xf3\xea\x17\x60\x6f\xbb\xb8\x0b\x28\xc7\x9a\xae\xe9\x0e\xfe" "\xe5\x87\xe4\xa6\x84\x16\x13\x82\x7f\x0f\xa3\x2c\xcd\x76\x2b\x09\xda" "\xa0\x11\xbe\x09\xf0\x0a\xc8\x89\x30\x85\xe0\x48\xa8\xaa\xd9\x7d\x1f" "\xd8\x9a\xa9\x1d\x28\x94\x90\xc1\x75\xc7\xc3\x01\xb1\xab\x37\x7c\xc1" "\x11\xb9\x12\xb6\x4c\x98\xb5\x16\x39\x89\x43\x66\x1d\xfd\xd3\x2d\x0e" "\x9a\x95\x62\x96\x95\xda\x8d\x79\x10\x94\x61\x40\xc4\xeb\x96\xbc\x61" "\xc9\x7b\x9a\x79\xb4\xe3\x00\x90\x5a\xf4\x79\x24\x25\xde\xe6\x79\xdf" "\xd3\x26\xee\xca\xe5\xcc\xa2\x54\xcc\xb6\x82\xa5\xa0\x0d\x51\xaa\xe1" "\xdf\x66\x30\xdf\x08\xdc\xac\xdf\x97\xfa\x1d\x1b\xd5\x7b\xd6\x04\xc7" "\x5d\xdb\xb8\xef\x9c\xa9\x2d\xb4\x09\x73\x29\x4c\xb6\xb5\xfb\xd5\x08" "\x73\x4d\xf6\x4b\x7b\x22\x19\xa9\x4a\x4c\xe5\x85\x9d\xc9\x01\x8e\x8a" "\xc1\x19\x38\x0f\x80\x3f\x84\x01\xaa\x18\x0f\x9b\x54\x9d\x86\xed\x65" "\x4f\x0f\x22\x21\x19\xc9\x4c\x94\x2a\xaf\x23\x1b\xc8\x4c\x1a\xab\xf4" "\x8a\x27\xca\xeb\xf6\x30\x31\x5e\x68\x60\x6f\x7c\x33\x90\x0d\x0c\xa3" "\x89\xff\x46\xd5\x94\xa8\xfc\xc5\xe2\xbe\x68\xd8\x07\xd6\x3c\xb2\x71" "\x08\x58\x02\xee\x6d\x4a\x29\xe7\xe6\x09\x4b\x83\x6a\x4b\x8d\x35\xf1" "\xd7\x67\x5f\x78\x80\xba\x7a\x87\x10\x9b\xd0\x00\x1b\x58\xb6\xef\xb5" "\xf3\x30\x72\x56\xd1\x7f\x36\xf9\x79\xec\x4b\x08\x2d\x91\xe2\x43\x94" "\xf4\x4c\xc3\xdb\x75\xea\x76\xcf\x90\xc0\x0c\x4b\x56\xaa\x6c\xe6\x54" "\x02\xbb\x38\x18\x69\xa5\xb6\xee\x47\xbc\xbd\x83\xfe\xfb\x3a\x17\x02" "\x14\x57\x01\x1f\x46\x20\x99\xbd\x7a\xc2\x99\xe7\xe0\x90\xee\xa7\xb9" "\x5b\x3d\x99\x31\x96\x09\x27\x0f\xa8\x99\xe0\xd8\x54\xf2\x49\xf2\x5f" "\x12\x08\x94\x1b\x72\x8d\x35\x87\xea\x1a\x21\xe3\x8f\x40\x7b\x95\x77" "\xe5\xf4\x9d\x1d\x4b\x87\xa1\x00\x04\xdf\x19\x13\x2d\x1a\x74\x20\x02" "\x99\x69\x59\xd9\xf1\x3a\x23\xb0\xe2\x28\x52\xaa\x96\xd7\x2d\x01\x63" "\x73\xe5\xa5\x14\x04\xce\xb4\x92\xae\x25\x28\xbe\x84\xe1\xba\xbe\xd5" "\xde\x07\x74\xfd\x4f\xa7\xd7\x86\x84\x63\xfd\x4f\xdb\xb2\xc9\x69\xfa" "\x88\x92\x9d\x8b\x36\x51\x7d\x2c\xd1\x11\x3e\x02\xa1\x81\x1b\x92\x7f" "\x29\xf4\xb0\xc1\xe2\x33\xeb\x66\xeb\x1f\x62\xaf\x57\xc2\x2a\x2d\x6a" "\xa1\xbd\xd8\x32\x61\x4e\xf5\x1b\x6d\x29\x92\xe1\xa9\xed\x1a\x7c\x77" "\x42\x3a\x3d\xeb\x4d\xb9\xec\xc1\x99\x49\x0d\x2c\xd1\x48\xde\xa5\xf6" "\x40\xc8\xf1\x29\x02\x4f\xbb\x1a\xb6\x67\xba\xaa\xb9\x6b\x62\x6f\xad" "\xb7\x38\xd2\x7b\xd7\x0c\x02\x47\xc1\xbd\x97\xde\x73\xc1\xd7\xeb\xfd" "\xa5\xb7\x94\xe4\x08\xe9\xbc\x31\x6c\x95\xe5\x2d\x46\xe6\x26\x5b\x41" "\x59\x59\xff\x48\x8a\x42\x83\x39\xae\xdb\x5d\xe7\xef\xfa\x82\xb1\x71" "\xbe\x15\x32\x9c\x5c\x4c\xfd\x41\x19\x3d\x62\x35\xbc\x64\xef\x25\x2e" "\x62\x83\x13\xba\x2b\x6e\xe7\x33\x6c\x63\xd0\x98\xcd\x67\x75\x94\x2c" "\xcf\x6f\xbf\x18\x40\x39\x35\xf5\x86\xd4\xa3\xba\x79\x66\xb0\x52\xe3" "\x69\xda\x91\xc5\xa0\x53\xd6\xdd\x32\xc3\x98\x41\xbb\x29\xe9\x98\xbd" "\x0c\x76\xb6\x13\xe5\x0f\x88\x53\xab\x3c\x5b\xdb\x25\xe6\x2c\x2a\x6c" "\x9b\x4e\x7f\x92\x63\x34\xa0\x41\xae\xb6\x55\x60\x44\x2c\x39\xc3\x96" "\x3d\x01\x5f\xb6\xa8\x65\x0f\x78\x7e\x45\xe1\x89\x87\xff\x7b\x34\x73" "\xb9\xde\x98\xcf\xf1\xc8\xcc\xfd\x64\x6b\xdc\xdd\x22\x02\xa0\x93\x4f" "\xc6\x2b\xe6\x6a\x41\xb9\xf7\x1e\x3a\x22\xbb\x20\xe1\x07\xb1\xfb\x9a" "\x5c\xd6\xd4\x48\xbc\xff\x4e\xc0\xe1\xc2\x23\x2a\x0c\x32\x7a\x19\xca" "\x14\xce\x71\xe1\xa6\x8a\x9a\xab\xd0\x69\xfe\x9a\x55\xf6\xe4\x65\xf8" "\x9a\x5c\xe4\x88\x38\x33\x3e\x8a\x8b\x9b\xd8\x98\xed\xeb\x80\xed\x25" "\x36\xc5\xc9\x9c\x41\x11\xeb\x10\xb8\x3d\x55\x20\xfa\xc9\x8d\x83\x89" "\x77\x03\xcd\xfd\x2b\xfb\x27\xcb\x94\xdb\x69\x8b\x68\x9a\x8c\xc3\xe1" "\x2d\xd6\x15\xfd\x45\x77\x66\xef\xc2\x79\xa2\x88\xb6\x45\x2c\xfc\xef" "\xea\x55\x1e\xe1\x07\xf3\x1b\x8b\x0f\xea\x8d\xcf\xef\x47\xfd\x71\x1e" "\xbb\xe8\xfc\x18\xa6\xa7\xcf\x68\x8c\xa6\x72\x54\x0c\x23\xc4\x67\xa6" "\xe9\xdc\x0b\x23\x56\xfc\x6e\x02\x8b\x22\x53\x86\x8b\xfd\xd9\xcb\x65" "\xab\x05\x69\x39\x05\x8b\x42\x63\x87\x68\x17\x37\xae\xc6\x29\x8b\xc8" "\xce\xe0\xa9\x22\x86\xad\x9f\x2c\x88\x9f\xaa\xed\x43\x77\x61\x01\x02" "\x62\xc3\x64\xfd\xd0\xa3\x92\x86\x4f\xe5\x53\x5d\xef\x7d\xe8\x4c\x71" "\x8c\x34\x0b\xfa\x54\xfd\x1c\x80\xd1\x9c\x5e\x0e\xbc\x82\xc5\x6b\x59" "\x9f\x64\x11\x07\x4f\x89\x3e\x63\x6b\xc7\x38\x40\x9b\x8f\x94\x97\xa6" "\x01\xef\x66\x82\xea\x13\xab\x5b\x3d\xe0\x00\x53\xc2\x17\xa0\xbe\xdf" "\xd6\x68\x2b\xeb\x49\x5b\xcd\x24\x38\xae\x42\xbd\xb9\x4b\x60\x8b\xec" "\xd5\x80\x86\xb6\x70\x0f\xa9\xe5\x98\x0f\xc3\x86\x9d\xf2\xd8\x8e\x1d" "\x98\xc8\x60\x20\x07\xce\x48\x1e\x8d\x8b\x28\xd4\x79\x5c\x6b\xe1\xb5" "\x9f\x72\xe2\x68\xeb\x36\x82\x1a\x3c\x55\x04\xd2\x20\x7f\x88\x0b\x24" "\x77\xb4\xf2\x9a\xad\x80\x13\x8d\x91\xd3\xcf\xd5\x4a\xee\x79\x4f\x65" "\xbc\x62\x69\xb9\x1c\x8e\xaa\x7f\x8d\xbe\x09\xd3\x2c\x25\x72\xbf\x24" "\x2f\x22\xf2\x83\x26\xd7\x59\x0f\xdd\xdc\xf6\x19\xcb\xf1\x83\x18\x4a" "\xa8\xd7\x17\xb8\x2b\x14\x1f\xec\xd3\xee\x90\x84\x10\xb8\x38\x26\x73" "\x6e\x77\x03\xb3\x80\x60\x52\x89\xd3\xef\x16\x20\x0b\x45\xf6\x40\x3e" "\xb2\xec\x24\xcc\xe1\xee\xda\xe2\xc4\x63\x0e\x50\x2b\x43\x92\xbe\xd4" "\x4e\x67\x37\xd5\xcf\xeb\xb9\x88\x4a\xad\xc3\x59\x90\x08\xc6\x72\x16" "\x0b\x52\x19\x58\xfd\xe4\x95\x8e\x26\x0b\x50\x1b\xac\x59\xa9\xfe\x5d" "\x4e\x60\x04\x7e\x3b\x32\xd8\x4e\xeb\x3e\x0a\x82\xc0\x73\x90\xa3\x78" "\xe0\x73\x67\x78\x5e\x25\x95\xea\xe8\x47\x30\x8a\xdd\x2c\x41\xde\xab" "\x93\xd5\x5a\x97\xdc\xf3\x44\xb7\xc9\x1b\x1a\x1b\xaa\x76\x21\x59\x38" "\xfa\xd7\xcd\x99\x45\x82\x54\x67\x84\x27\x79\xbe\x60\x39\xcd\xb3\xa3" "\xee\x5f\xbb\xd6\x27\xa5\x36\xf2\x0b\x64\xd9\xae\x58\x07\xcb\xf3\xee" "\x21\x75\xc1\x34\x6d\xc5\x70\xee\x11\xd2\xd3\x5a\xc4\x9e\x51\x8e\x37" "\x83\xa8\x41\xde\x65\xe8\x58\xcf\x1e\x08\xbf\x9c\x8e\x58\xf5\x3b\xd2" "\x7d\x6b\x6f\x47\xd3\xc7\x13\xa4\x1d\xdd\xe8\x54\x99\x4b\x66\xf2\x4d" "\xde\x6e\xd2\x2c\xbd\x68\xa0\xf5\x94\x43\xce\x6a\x31\x20\xc3\xc2\x0c" "\x65\x0b\x23\x4b\x7b\x40\xb8\xb7\xb1\x08\xd8\xd3\xe7\xfa\x97\x54\x65" "\xae\xca\xcd\xc2\xec\x25\x72\xae\x06\xc1\x42\xee\xb3\x27\xd5\x0b\x50" "\x7d\xe7\x61\xa2\x53\x03\xad\x0d\xd7\x54\xdb\xb5\xbb\xd5\x82\xd4\x68" "\x84\x5a\x87\xbb\xf0\xd5\x81\x4c\x52\x60\x72\x9f\x98\x0e\x12\xf3\x6b" "\x39\xd9\xb7\xb8\xa8\x4a\x79\x43\x7c\x51\x26\xef\x7d\x02\x58\x90\x04" "\x4b\xb5\x57\xf9\x4f\x71\x74\x6f\xce\x77\xaa\xb3\x43\xe6\x26\xa7\x79" "\x0a\x27\xdd\x29\x42\x8b\xb3\x85\xd5\x23\x7c\x6f\xd7\x94\x55\xc1\xa4" "\x05\x1e\xc8\x91\x24\xad\x86\xe5\x72\xaf\xa5\xb0\x6b\x9d\x7e\xb3\xf9" "\x74\x4f\x76\xf3\x9b\xb1\xab\x21\xe8\xc2\x13\x96\x35\xe3\x95\x7b\xe3" "\x37\xd5\x39\xe1\x00\xf3\x2a\xf3\x7e\xf3\xa7\xe3\xea\x8a\x1f\x43\xe0" "\xe5\x99\x03\x55\x38\xf0\x6f\x98\xde\xe5\x28\x7b\x20\x23\x9d\xca\x83" "\x47\x81\xe5\x0a\xbc\x7a\x02\x26\x6f\xf3\xb0\x4a\x3b\x8c\x13\xc5\x48" "\xeb\x3d\xf6\x93\xd1\xcb\xd3\x2c\x70\xd7\x3d\x2d\xfa\x29\xb0\x59\xde" "\xc1\xc1\x0b\xac\xa6\x9d\x29\xf4\x5f\xb2\xa0\x66\x9d\x7d\xbe\x77\x25" "\xe6\x29\xc7\xac\x27\xd3\x1b\xd6\xbb\xbd\x9b\xc8\x2a\x01\x76\x51\x3c" "\xa8\xab\x93\x0a\xdb\x00\x25\x5a\x40\xf5\xcf\xbb\x3f\xb1\xa7\x79\x32" "\x1b\x0e\xf0\xbb\x5b\x3e\xc6\x55\xa9\x8a\x97\xf6\x6c\xb0\x5b\xb8\x5b" "\x34\xf7\xe9\x5b\x4d\x15\xfa\xeb\x0b\x72\xa2\xf7\x8e\x26\x0a\x3d\xf6" "\x86\x00\x02\x9d\xf7\x58\xd5\xce\x8c\x60\x60\x00\x2d\x70\xc8\x1d\x81" "\xe9\x98\xe7\x19\x8e\xbf\xab\xcb\x3b\xcc\xb0\xd8\x5c\xfa\x78\xcc\x10" "\xf9\xe3\x59\x45\x77\xb2\x1d\xa6\x68\xef\x10\x4b\x1f\x9f\xf4\xdb\xb6" "\xdb\xa4\xc5\x34\xd6\x45\x8a\x40\x61\x51\x8f\xf4\x5c\x1a\xfe\xde\xd3" "\x8e\x29\x13\xb1\x17\xd3\x10\xc3\x3d\x0d\x4a\xef\xdd\x4f\x97\x08\x42" "\x05\x58\xa7\x9b\x80\x3b\xce\x91\x2b\x68\xef\xe3\x63\x57\xc1\x4b\x94" "\xe7\x4f\x31\x3b\x57\xa9\x01\xd7\x64\x7a\x80\xe7\xe5\x9d\x1a\x6a\x4a" "\xcf\xf0\x5e\x83\x8f\xc4\x4c\xbb\xfb\x44\x66\xbe\xee\x3c\xa3\x77\x40" "\xc4\x7b\x27\x2a\x60\x89\x0b\x1c\xf1\x88\xe4\x86\xc9\x81\x27\x1b\x05" "\xb6\x1f\xd0\xd0\x49\xc7\xfc\xc3\x99\xff\x97\x28\x2b\xaf\xf4\x8c\x23" "\x6d\x81\x28\xde\xda\x01\x55\xb1\x59\xb2\xb5\xe8\xc0\xcf\x83\x47\x35" "\xd1\x05\x78\xd5\xc8\xc0\xb9\xd3\x6a\x80\x0c\xd8\x60\x74\x4b\x58", 4096)); syscall(SYS_ioctl, r[1], 0xc1a04415, 0x20000280); break; } } int main(void) { syscall(SYS_mmap, 0x20000000, 0x1000000, 3, 0x1012, -1, 0); install_segv_handler(); do_sandbox_none(); return 0; }