// https://syzkaller.appspot.com/bug?id=9ff117082222e5ec493fca16a22c0f0611b715cf // autogenerated by syzkaller (http://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 #include #include #include #include #include #include #include #include #include #include #include __attribute__((noreturn)) static void doexit(int status) { volatile unsigned i; syscall(__NR_exit_group, status); for (i = 0;; i++) { } } #include #include #include #include #include #include #include #include #include #include const int kFailStatus = 67; const int kRetryStatus = 69; static void fail(const char* msg, ...) { int e = errno; va_list args; va_start(args, msg); vfprintf(stderr, msg, args); va_end(args); fprintf(stderr, " (errno %d)\n", e); doexit((e == ENOMEM || e == EAGAIN) ? kRetryStatus : kFailStatus); } static __thread int skip_segv; static __thread jmp_buf segv_env; static void segv_handler(int sig, siginfo_t* info, void* uctx) { 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); } doexit(sig); } static void install_segv_handler() { struct sigaction sa; memset(&sa, 0, sizeof(sa)); sa.sa_handler = SIG_IGN; syscall(SYS_rt_sigaction, 0x20, &sa, NULL, 8); syscall(SYS_rt_sigaction, 0x21, &sa, NULL, 8); memset(&sa, 0, sizeof(sa)); sa.sa_sigaction = segv_handler; sa.sa_flags = SA_NODEFER | SA_SIGINFO; sigaction(SIGSEGV, &sa, NULL); sigaction(SIGBUS, &sa, NULL); } #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 use_temporary_dir() { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) fail("failed to mkdtemp"); if (chmod(tmpdir, 0777)) fail("failed to chmod"); if (chdir(tmpdir)) fail("failed to chdir"); } static void vsnprintf_check(char* str, size_t size, const char* format, va_list args) { int rv; rv = vsnprintf(str, size, format, args); if (rv < 0) fail("tun: snprintf failed"); if ((size_t)rv >= size) fail("tun: string '%s...' doesn't fit into buffer", str); } static void snprintf_check(char* str, size_t size, const char* format, ...) { va_list args; va_start(args, format); vsnprintf_check(str, size, format, args); va_end(args); } #define COMMAND_MAX_LEN 128 #define PATH_PREFIX \ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin " #define PATH_PREFIX_LEN (sizeof(PATH_PREFIX) - 1) static void execute_command(bool panic, const char* format, ...) { va_list args; char command[PATH_PREFIX_LEN + COMMAND_MAX_LEN]; int rv; va_start(args, format); memcpy(command, PATH_PREFIX, PATH_PREFIX_LEN); vsnprintf_check(command + PATH_PREFIX_LEN, COMMAND_MAX_LEN, format, args); rv = system(command); if (panic && rv != 0) fail("tun: command \"%s\" failed with code %d", &command[0], rv); va_end(args); } static int tunfd = -1; static int tun_frags_enabled; #define SYZ_TUN_MAX_PACKET_SIZE 1000 #define MAX_PIDS 32 #define ADDR_MAX_LEN 32 #define LOCAL_MAC "aa:aa:aa:aa:%02hx:aa" #define REMOTE_MAC "aa:aa:aa:aa:%02hx:bb" #define LOCAL_IPV4 "172.20.%d.170" #define REMOTE_IPV4 "172.20.%d.187" #define LOCAL_IPV6 "fe80::%02hx:aa" #define REMOTE_IPV6 "fe80::%02hx:bb" #define IFF_NAPI 0x0010 #define IFF_NAPI_FRAGS 0x0020 static void initialize_tun(int id) { if (id >= MAX_PIDS) fail("tun: no more than %d executors", MAX_PIDS); tunfd = open("/dev/net/tun", O_RDWR | O_NONBLOCK); if (tunfd == -1) { printf("tun: can't open /dev/net/tun: please enable CONFIG_TUN=y\n"); printf("otherwise fuzzing or reproducing might not work as intended\n"); return; } char iface[IFNAMSIZ]; snprintf_check(iface, sizeof(iface), "syz%d", id); struct ifreq ifr; memset(&ifr, 0, sizeof(ifr)); strncpy(ifr.ifr_name, iface, IFNAMSIZ); ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_NAPI | IFF_NAPI_FRAGS; if (ioctl(tunfd, TUNSETIFF, (void*)&ifr) < 0) { ifr.ifr_flags = IFF_TAP | IFF_NO_PI; if (ioctl(tunfd, TUNSETIFF, (void*)&ifr) < 0) fail("tun: ioctl(TUNSETIFF) failed"); } if (ioctl(tunfd, TUNGETIFF, (void*)&ifr) < 0) fail("tun: ioctl(TUNGETIFF) failed"); tun_frags_enabled = (ifr.ifr_flags & IFF_NAPI_FRAGS) != 0; char local_mac[ADDR_MAX_LEN]; snprintf_check(local_mac, sizeof(local_mac), LOCAL_MAC, id); char remote_mac[ADDR_MAX_LEN]; snprintf_check(remote_mac, sizeof(remote_mac), REMOTE_MAC, id); char local_ipv4[ADDR_MAX_LEN]; snprintf_check(local_ipv4, sizeof(local_ipv4), LOCAL_IPV4, id); char remote_ipv4[ADDR_MAX_LEN]; snprintf_check(remote_ipv4, sizeof(remote_ipv4), REMOTE_IPV4, id); char local_ipv6[ADDR_MAX_LEN]; snprintf_check(local_ipv6, sizeof(local_ipv6), LOCAL_IPV6, id); char remote_ipv6[ADDR_MAX_LEN]; snprintf_check(remote_ipv6, sizeof(remote_ipv6), REMOTE_IPV6, id); execute_command(1, "sysctl -w net.ipv6.conf.%s.accept_dad=0", iface); execute_command(1, "sysctl -w net.ipv6.conf.%s.router_solicitations=0", iface); execute_command(1, "ip link set dev %s address %s", iface, local_mac); execute_command(1, "ip addr add %s/24 dev %s", local_ipv4, iface); execute_command(1, "ip -6 addr add %s/120 dev %s", local_ipv6, iface); execute_command(1, "ip neigh add %s lladdr %s dev %s nud permanent", remote_ipv4, remote_mac, iface); execute_command(1, "ip -6 neigh add %s lladdr %s dev %s nud permanent", remote_ipv6, remote_mac, iface); execute_command(1, "ip link set dev %s up", iface); } #define DEV_IPV4 "172.20.%d.%d" #define DEV_IPV6 "fe80::%02hx:%02hx" #define DEV_MAC "aa:aa:aa:aa:%02hx:%02hx" static void initialize_netdevices(int id) { unsigned i; const char* devtypes[] = {"ip6gretap", "bridge", "vcan"}; const char* devnames[] = {"lo", "sit0", "bridge0", "vcan0", "tunl0", "gre0", "gretap0", "ip_vti0", "ip6_vti0", "ip6tnl0", "ip6gre0", "ip6gretap0", "erspan0"}; for (i = 0; i < sizeof(devtypes) / (sizeof(devtypes[0])); i++) execute_command(0, "ip link add dev %s0 type %s", devtypes[i], devtypes[i]); for (i = 0; i < sizeof(devnames) / (sizeof(devnames[0])); i++) { char addr[ADDR_MAX_LEN]; snprintf_check(addr, sizeof(addr), DEV_IPV4, id, id + 10); execute_command(0, "ip -4 addr add %s/24 dev %s", addr, devnames[i]); snprintf_check(addr, sizeof(addr), DEV_IPV6, id, id + 10); execute_command(0, "ip -6 addr add %s/120 dev %s", addr, devnames[i]); snprintf_check(addr, sizeof(addr), DEV_MAC, id, id + 10); execute_command(0, "ip link set dev %s address %s", devnames[i], addr); execute_command(0, "ip link set dev %s up", devnames[i]); } } static void setup_tun(uint64_t pid, bool enable_tun) { if (enable_tun) { initialize_tun(pid); initialize_netdevices(pid); } } #define MAX_FRAGS 4 struct vnet_fragmentation { uint32_t full; uint32_t count; uint32_t frags[MAX_FRAGS]; }; static uintptr_t syz_emit_ethernet(uintptr_t a0, uintptr_t a1, uintptr_t a2) { if (tunfd < 0) return (uintptr_t)-1; uint32_t length = a0; char* data = (char*)a1; struct vnet_fragmentation* frags = (struct vnet_fragmentation*)a2; struct iovec vecs[MAX_FRAGS + 1]; uint32_t nfrags = 0; if (!tun_frags_enabled || frags == NULL) { vecs[nfrags].iov_base = data; vecs[nfrags].iov_len = length; nfrags++; } else { bool full = true; uint32_t i, count = 0; NONFAILING(full = frags->full); NONFAILING(count = frags->count); if (count > MAX_FRAGS) count = MAX_FRAGS; for (i = 0; i < count && length != 0; i++) { uint32_t size = 0; NONFAILING(size = frags->frags[i]); if (size > length) size = length; vecs[nfrags].iov_base = data; vecs[nfrags].iov_len = size; nfrags++; data += size; length -= size; } if (length != 0 && (full || nfrags == 0)) { vecs[nfrags].iov_base = data; vecs[nfrags].iov_len = length; nfrags++; } } return writev(tunfd, vecs, nfrags); } 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 = 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); #define CLONE_NEWCGROUP 0x02000000 if (unshare(CLONE_NEWNS)) { } if (unshare(CLONE_NEWIPC)) { } if (unshare(CLONE_NEWCGROUP)) { } if (unshare(CLONE_NEWUTS)) { } if (unshare(CLONE_SYSVSEM)) { } } 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) { close(fd); return false; } close(fd); return true; } static int real_uid; static int real_gid; __attribute__((aligned(64 << 10))) static char sandbox_stack[1 << 20]; static int namespace_sandbox_proc(void* arg) { sandbox_common(); write_file("/proc/self/setgroups", "deny"); if (!write_file("/proc/self/uid_map", "0 %d 1\n", real_uid)) fail("write of /proc/self/uid_map failed"); if (!write_file("/proc/self/gid_map", "0 %d 1\n", real_gid)) fail("write of /proc/self/gid_map failed"); if (unshare(CLONE_NEWNET)) fail("unshare(CLONE_NEWNET)"); setup_tun((long)arg >> 1, (long)arg & 1); if (mkdir("./syz-tmp", 0777)) fail("mkdir(syz-tmp) failed"); if (mount("", "./syz-tmp", "tmpfs", 0, NULL)) fail("mount(tmpfs) failed"); if (mkdir("./syz-tmp/newroot", 0777)) fail("mkdir failed"); if (mkdir("./syz-tmp/newroot/dev", 0700)) fail("mkdir failed"); unsigned mount_flags = MS_BIND | MS_REC | MS_PRIVATE; if (mount("/dev", "./syz-tmp/newroot/dev", NULL, mount_flags, NULL)) fail("mount(dev) failed"); if (mkdir("./syz-tmp/newroot/proc", 0700)) fail("mkdir failed"); if (mount(NULL, "./syz-tmp/newroot/proc", "proc", 0, NULL)) fail("mount(proc) failed"); if (mkdir("./syz-tmp/newroot/selinux", 0700)) fail("mkdir failed"); const char* selinux_path = "./syz-tmp/newroot/selinux"; if (mount("/selinux", selinux_path, NULL, mount_flags, NULL) && mount("/sys/fs/selinux", selinux_path, NULL, mount_flags, NULL)) fail("mount(selinuxfs) failed"); if (mkdir("./syz-tmp/pivot", 0777)) fail("mkdir failed"); if (syscall(SYS_pivot_root, "./syz-tmp", "./syz-tmp/pivot")) { if (chdir("./syz-tmp")) fail("chdir failed"); } else { if (chdir("/")) fail("chdir failed"); if (umount2("./pivot", MNT_DETACH)) fail("umount failed"); } if (chroot("./newroot")) fail("chroot failed"); if (chdir("/")) fail("chdir failed"); struct __user_cap_header_struct cap_hdr = {}; struct __user_cap_data_struct cap_data[2] = {}; cap_hdr.version = _LINUX_CAPABILITY_VERSION_3; cap_hdr.pid = getpid(); if (syscall(SYS_capget, &cap_hdr, &cap_data)) fail("capget failed"); cap_data[0].effective &= ~(1 << CAP_SYS_PTRACE); cap_data[0].permitted &= ~(1 << CAP_SYS_PTRACE); cap_data[0].inheritable &= ~(1 << CAP_SYS_PTRACE); if (syscall(SYS_capset, &cap_hdr, &cap_data)) fail("capset failed"); loop(); doexit(1); } static int do_sandbox_namespace(int executor_pid, bool enable_tun) { int pid; real_uid = getuid(); real_gid = getgid(); mprotect(sandbox_stack, 4096, PROT_NONE); void* arg = (void*)(long)((executor_pid << 1) | enable_tun); pid = clone(namespace_sandbox_proc, &sandbox_stack[sizeof(sandbox_stack) - 64], CLONE_NEWUSER | CLONE_NEWPID, arg); if (pid < 0) fail("sandbox clone failed"); return pid; } long r[2]; void loop() { memset(r, -1, sizeof(r)); syscall(__NR_mmap, 0x20000000, 0xfff000, 3, 0x32, -1, 0); r[0] = syscall(__NR_socket, 0xa, 2, 0); NONFAILING(*(uint16_t*)0x20e6f000 = 0xa); NONFAILING(*(uint16_t*)0x20e6f002 = htobe16(0x4e22)); NONFAILING(*(uint32_t*)0x20e6f004 = 0); NONFAILING(*(uint8_t*)0x20e6f008 = 0); NONFAILING(*(uint8_t*)0x20e6f009 = 0); NONFAILING(*(uint8_t*)0x20e6f00a = 0); NONFAILING(*(uint8_t*)0x20e6f00b = 0); NONFAILING(*(uint8_t*)0x20e6f00c = 0); NONFAILING(*(uint8_t*)0x20e6f00d = 0); NONFAILING(*(uint8_t*)0x20e6f00e = 0); NONFAILING(*(uint8_t*)0x20e6f00f = 0); NONFAILING(*(uint8_t*)0x20e6f010 = 0); NONFAILING(*(uint8_t*)0x20e6f011 = 0); NONFAILING(*(uint8_t*)0x20e6f012 = -1); NONFAILING(*(uint8_t*)0x20e6f013 = -1); NONFAILING(*(uint8_t*)0x20e6f014 = 0xac); NONFAILING(*(uint8_t*)0x20e6f015 = 0x14); NONFAILING(*(uint8_t*)0x20e6f016 = 0); NONFAILING(*(uint8_t*)0x20e6f017 = 0xaa); NONFAILING(*(uint32_t*)0x20e6f018 = 1); syscall(__NR_connect, r[0], 0x20e6f000, 0x1c); NONFAILING(*(uint16_t*)0x20d94fe4 = 0xa); NONFAILING(*(uint16_t*)0x20d94fe6 = htobe16(0x4e20)); NONFAILING(*(uint32_t*)0x20d94fe8 = 4); NONFAILING(*(uint8_t*)0x20d94fec = 0xfe); NONFAILING(*(uint8_t*)0x20d94fed = 0x80); NONFAILING(*(uint8_t*)0x20d94fee = 0); NONFAILING(*(uint8_t*)0x20d94fef = 0); NONFAILING(*(uint8_t*)0x20d94ff0 = 0); NONFAILING(*(uint8_t*)0x20d94ff1 = 0); NONFAILING(*(uint8_t*)0x20d94ff2 = 0); NONFAILING(*(uint8_t*)0x20d94ff3 = 0); NONFAILING(*(uint8_t*)0x20d94ff4 = 0); NONFAILING(*(uint8_t*)0x20d94ff5 = 0); NONFAILING(*(uint8_t*)0x20d94ff6 = 0); NONFAILING(*(uint8_t*)0x20d94ff7 = 0); NONFAILING(*(uint8_t*)0x20d94ff8 = 0); NONFAILING(*(uint8_t*)0x20d94ff9 = 0); NONFAILING(*(uint8_t*)0x20d94ffa = 0); NONFAILING(*(uint8_t*)0x20d94ffb = 0xaa); NONFAILING(*(uint32_t*)0x20d94ffc = 9); syscall(__NR_connect, r[0], 0x20d94fe4, 0x1c); r[1] = syscall(__NR_socket, 0x18, 1, 1); NONFAILING(*(uint16_t*)0x205fafd2 = 0x18); NONFAILING(*(uint32_t*)0x205fafd4 = 1); NONFAILING(*(uint32_t*)0x205fafd8 = 0); NONFAILING(*(uint32_t*)0x205fafdc = r[0]); NONFAILING(*(uint16_t*)0x205fafe0 = 2); NONFAILING(*(uint16_t*)0x205fafe2 = htobe16(0x4e21)); NONFAILING(*(uint32_t*)0x205fafe4 = htobe32(0xe0000002)); NONFAILING(*(uint8_t*)0x205fafe8 = 0); NONFAILING(*(uint8_t*)0x205fafe9 = 0); NONFAILING(*(uint8_t*)0x205fafea = 0); NONFAILING(*(uint8_t*)0x205fafeb = 0); NONFAILING(*(uint8_t*)0x205fafec = 0); NONFAILING(*(uint8_t*)0x205fafed = 0); NONFAILING(*(uint8_t*)0x205fafee = 0); NONFAILING(*(uint8_t*)0x205fafef = 0); NONFAILING(*(uint32_t*)0x205faff0 = 4); NONFAILING(*(uint32_t*)0x205faff4 = 0); NONFAILING(*(uint32_t*)0x205faff8 = 2); NONFAILING(*(uint32_t*)0x205faffc = 0); syscall(__NR_connect, r[1], 0x205fafd2, 0x2e); NONFAILING(*(uint64_t*)0x204f2e78 = 0x2034aff0); NONFAILING(*(uint32_t*)0x204f2e80 = 0x10); NONFAILING(*(uint64_t*)0x204f2e88 = 0x20afc000); NONFAILING(*(uint64_t*)0x204f2e90 = 7); NONFAILING(*(uint64_t*)0x204f2e98 = 0x20f11fa0); NONFAILING(*(uint64_t*)0x204f2ea0 = 0x60); NONFAILING(*(uint32_t*)0x204f2ea8 = 4); NONFAILING(*(uint64_t*)0x204f2eb0 = 0x20187fe4); NONFAILING(*(uint32_t*)0x204f2eb8 = 0x1c); NONFAILING(*(uint64_t*)0x204f2ec0 = 0x20ee8fb0); NONFAILING(*(uint64_t*)0x204f2ec8 = 5); NONFAILING(*(uint64_t*)0x204f2ed0 = 0x2009d000); NONFAILING(*(uint64_t*)0x204f2ed8 = 0xc0); NONFAILING(*(uint32_t*)0x204f2ee0 = 1); NONFAILING(*(uint64_t*)0x204f2ee8 = 0x206f2000); NONFAILING(*(uint32_t*)0x204f2ef0 = 0x10); NONFAILING(*(uint64_t*)0x204f2ef8 = 0x20523ff0); NONFAILING(*(uint64_t*)0x204f2f00 = 1); NONFAILING(*(uint64_t*)0x204f2f08 = 0x20881ee0); NONFAILING(*(uint64_t*)0x204f2f10 = 0x120); NONFAILING(*(uint32_t*)0x204f2f18 = 0x4000000); NONFAILING(*(uint64_t*)0x204f2f20 = 0x204ff000); NONFAILING(*(uint32_t*)0x204f2f28 = 0x1c); NONFAILING(*(uint64_t*)0x204f2f30 = 0x20999fd0); NONFAILING(*(uint64_t*)0x204f2f38 = 3); NONFAILING(*(uint64_t*)0x204f2f40 = 0x20b96e50); NONFAILING(*(uint64_t*)0x204f2f48 = 0x1b0); NONFAILING(*(uint32_t*)0x204f2f50 = 0x4004040); NONFAILING(*(uint64_t*)0x204f2f58 = 0x2064a000); NONFAILING(*(uint32_t*)0x204f2f60 = 0x1c); NONFAILING(*(uint64_t*)0x204f2f68 = 0x201a5000); NONFAILING(*(uint64_t*)0x204f2f70 = 8); NONFAILING(*(uint64_t*)0x204f2f78 = 0x2009bf40); NONFAILING(*(uint64_t*)0x204f2f80 = 0xc0); NONFAILING(*(uint32_t*)0x204f2f88 = 0x800); NONFAILING(*(uint64_t*)0x204f2f90 = 0x20121000); NONFAILING(*(uint32_t*)0x204f2f98 = 0x10); NONFAILING(*(uint64_t*)0x204f2fa0 = 0x20072000); NONFAILING(*(uint64_t*)0x204f2fa8 = 9); NONFAILING(*(uint64_t*)0x204f2fb0 = 0x207e9e80); NONFAILING(*(uint64_t*)0x204f2fb8 = 0x180); NONFAILING(*(uint32_t*)0x204f2fc0 = 0x40); NONFAILING(*(uint64_t*)0x204f2fc8 = 0x20c41fe4); NONFAILING(*(uint32_t*)0x204f2fd0 = 0x1c); NONFAILING(*(uint64_t*)0x204f2fd8 = 0x20e14000); NONFAILING(*(uint64_t*)0x204f2fe0 = 6); NONFAILING(*(uint64_t*)0x204f2fe8 = 0x20e5a000); NONFAILING(*(uint64_t*)0x204f2ff0 = 0x30); NONFAILING(*(uint32_t*)0x204f2ff8 = 0x4000040); NONFAILING(*(uint16_t*)0x2034aff0 = 2); NONFAILING(*(uint16_t*)0x2034aff2 = htobe16(0x4e22)); NONFAILING(*(uint32_t*)0x2034aff4 = htobe32(-1)); NONFAILING(*(uint8_t*)0x2034aff8 = 0); NONFAILING(*(uint8_t*)0x2034aff9 = 0); NONFAILING(*(uint8_t*)0x2034affa = 0); NONFAILING(*(uint8_t*)0x2034affb = 0); NONFAILING(*(uint8_t*)0x2034affc = 0); NONFAILING(*(uint8_t*)0x2034affd = 0); NONFAILING(*(uint8_t*)0x2034affe = 0); NONFAILING(*(uint8_t*)0x2034afff = 0); NONFAILING(*(uint64_t*)0x20afc000 = 0x2022bff2); NONFAILING(*(uint64_t*)0x20afc008 = 0); NONFAILING(*(uint64_t*)0x20afc010 = 0x20222000); NONFAILING(*(uint64_t*)0x20afc018 = 0); NONFAILING(*(uint64_t*)0x20afc020 = 0x20b25000); NONFAILING(*(uint64_t*)0x20afc028 = 0); NONFAILING(*(uint64_t*)0x20afc030 = 0x204d1000); NONFAILING(*(uint64_t*)0x20afc038 = 0); NONFAILING(*(uint64_t*)0x20afc040 = 0x2037a000); NONFAILING(*(uint64_t*)0x20afc048 = 0); NONFAILING(*(uint64_t*)0x20afc050 = 0x20cccfe5); NONFAILING(*(uint64_t*)0x20afc058 = 0); NONFAILING(*(uint64_t*)0x20afc060 = 0x20b14000); NONFAILING(*(uint64_t*)0x20afc068 = 0); NONFAILING(*(uint64_t*)0x20f11fa0 = 0x18); NONFAILING(*(uint32_t*)0x20f11fa8 = 0x84); NONFAILING(*(uint32_t*)0x20f11fac = 0); NONFAILING(*(uint16_t*)0x20f11fb0 = 0x7fff); NONFAILING(*(uint16_t*)0x20f11fb2 = 0); NONFAILING(*(uint16_t*)0x20f11fb4 = 9); NONFAILING(*(uint16_t*)0x20f11fb6 = 7); NONFAILING(*(uint64_t*)0x20f11fd0 = 0x18); NONFAILING(*(uint32_t*)0x20f11fd8 = 0x84); NONFAILING(*(uint32_t*)0x20f11fdc = 0); NONFAILING(*(uint16_t*)0x20f11fe0 = 4); NONFAILING(*(uint16_t*)0x20f11fe2 = 0x2f); NONFAILING(*(uint16_t*)0x20f11fe4 = 7); NONFAILING(*(uint16_t*)0x20f11fe6 = 8); NONFAILING(*(uint16_t*)0x20187fe4 = 0xa); NONFAILING(*(uint16_t*)0x20187fe6 = htobe16(0x4e22)); NONFAILING(*(uint32_t*)0x20187fe8 = 5); NONFAILING(*(uint8_t*)0x20187fec = 0); NONFAILING(*(uint8_t*)0x20187fed = 0); NONFAILING(*(uint8_t*)0x20187fee = 0); NONFAILING(*(uint8_t*)0x20187fef = 0); NONFAILING(*(uint8_t*)0x20187ff0 = 0); NONFAILING(*(uint8_t*)0x20187ff1 = 0); NONFAILING(*(uint8_t*)0x20187ff2 = 0); NONFAILING(*(uint8_t*)0x20187ff3 = 0); NONFAILING(*(uint8_t*)0x20187ff4 = 0); NONFAILING(*(uint8_t*)0x20187ff5 = 0); NONFAILING(*(uint8_t*)0x20187ff6 = 0); NONFAILING(*(uint8_t*)0x20187ff7 = 0); NONFAILING(*(uint8_t*)0x20187ff8 = 0); NONFAILING(*(uint8_t*)0x20187ff9 = 0); NONFAILING(*(uint8_t*)0x20187ffa = 0); NONFAILING(*(uint8_t*)0x20187ffb = 0); NONFAILING(*(uint32_t*)0x20187ffc = -1); NONFAILING(*(uint64_t*)0x20ee8fb0 = 0x20db3f9f); NONFAILING(*(uint64_t*)0x20ee8fb8 = 0); NONFAILING(*(uint64_t*)0x20ee8fc0 = 0x20d30f67); NONFAILING(*(uint64_t*)0x20ee8fc8 = 0); NONFAILING(*(uint64_t*)0x20ee8fd0 = 0x2085b000); NONFAILING(*(uint64_t*)0x20ee8fd8 = 0); NONFAILING(*(uint64_t*)0x20ee8fe0 = 0x20bfa000); NONFAILING(*(uint64_t*)0x20ee8fe8 = 0); NONFAILING(*(uint64_t*)0x20ee8ff0 = 0x20da7000); NONFAILING(*(uint64_t*)0x20ee8ff8 = 0); NONFAILING(*(uint64_t*)0x2009d000 = 0x30); NONFAILING(*(uint32_t*)0x2009d008 = 0x84); NONFAILING(*(uint32_t*)0x2009d00c = 1); NONFAILING(*(uint16_t*)0x2009d010 = 0x100); NONFAILING(*(uint16_t*)0x2009d012 = 3); NONFAILING(*(uint16_t*)0x2009d014 = 0); NONFAILING(*(uint32_t*)0x2009d018 = 0x401); NONFAILING(*(uint32_t*)0x2009d01c = 9); NONFAILING(*(uint32_t*)0x2009d020 = -1); NONFAILING(*(uint32_t*)0x2009d024 = 0xfff); NONFAILING(*(uint32_t*)0x2009d028 = 0x7ff); NONFAILING(*(uint32_t*)0x2009d02c = 0); NONFAILING(*(uint64_t*)0x2009d030 = 0x30); NONFAILING(*(uint32_t*)0x2009d038 = 0x84); NONFAILING(*(uint32_t*)0x2009d03c = 1); NONFAILING(*(uint16_t*)0x2009d040 = 0); NONFAILING(*(uint16_t*)0x2009d042 = 7); NONFAILING(*(uint16_t*)0x2009d044 = 0x200); NONFAILING(*(uint32_t*)0x2009d048 = 0xfffffc00); NONFAILING(*(uint32_t*)0x2009d04c = 4); NONFAILING(*(uint32_t*)0x2009d050 = 8); NONFAILING(*(uint32_t*)0x2009d054 = 9); NONFAILING(*(uint32_t*)0x2009d058 = 7); NONFAILING(*(uint32_t*)0x2009d05c = 0); NONFAILING(*(uint64_t*)0x2009d060 = 0x30); NONFAILING(*(uint32_t*)0x2009d068 = 0x84); NONFAILING(*(uint32_t*)0x2009d06c = 1); NONFAILING(*(uint16_t*)0x2009d070 = 0x1f); NONFAILING(*(uint16_t*)0x2009d072 = 7); NONFAILING(*(uint16_t*)0x2009d074 = 0x8000); NONFAILING(*(uint32_t*)0x2009d078 = 0x24d); NONFAILING(*(uint32_t*)0x2009d07c = 5); NONFAILING(*(uint32_t*)0x2009d080 = 2); NONFAILING(*(uint32_t*)0x2009d084 = 0x401); NONFAILING(*(uint32_t*)0x2009d088 = 1); NONFAILING(*(uint32_t*)0x2009d08c = 0); NONFAILING(*(uint64_t*)0x2009d090 = 0x30); NONFAILING(*(uint32_t*)0x2009d098 = 0x84); NONFAILING(*(uint32_t*)0x2009d09c = 1); NONFAILING(*(uint16_t*)0x2009d0a0 = 0x89c); NONFAILING(*(uint16_t*)0x2009d0a2 = 0); NONFAILING(*(uint16_t*)0x2009d0a4 = 0x8000); NONFAILING(*(uint32_t*)0x2009d0a8 = 0xffff); NONFAILING(*(uint32_t*)0x2009d0ac = 1); NONFAILING(*(uint32_t*)0x2009d0b0 = 2); NONFAILING(*(uint32_t*)0x2009d0b4 = 9); NONFAILING(*(uint32_t*)0x2009d0b8 = 0xda9); NONFAILING(*(uint32_t*)0x2009d0bc = 0); NONFAILING(*(uint16_t*)0x206f2000 = 2); NONFAILING(*(uint16_t*)0x206f2002 = htobe16(0x4e21)); NONFAILING(*(uint8_t*)0x206f2004 = 0xac); NONFAILING(*(uint8_t*)0x206f2005 = 0x14); NONFAILING(*(uint8_t*)0x206f2006 = 0); NONFAILING(*(uint8_t*)0x206f2007 = 0xbb); NONFAILING(*(uint8_t*)0x206f2008 = 0); NONFAILING(*(uint8_t*)0x206f2009 = 0); NONFAILING(*(uint8_t*)0x206f200a = 0); NONFAILING(*(uint8_t*)0x206f200b = 0); NONFAILING(*(uint8_t*)0x206f200c = 0); NONFAILING(*(uint8_t*)0x206f200d = 0); NONFAILING(*(uint8_t*)0x206f200e = 0); NONFAILING(*(uint8_t*)0x206f200f = 0); NONFAILING(*(uint64_t*)0x20523ff0 = 0x20970ff2); NONFAILING(*(uint64_t*)0x20523ff8 = 0); NONFAILING(*(uint64_t*)0x20881ee0 = 0x18); NONFAILING(*(uint32_t*)0x20881ee8 = 0x84); NONFAILING(*(uint32_t*)0x20881eec = 0); NONFAILING(*(uint16_t*)0x20881ef0 = 4); NONFAILING(*(uint16_t*)0x20881ef2 = 8); NONFAILING(*(uint16_t*)0x20881ef4 = 1); NONFAILING(*(uint16_t*)0x20881ef6 = 0); NONFAILING(*(uint64_t*)0x20881f10 = 0x30); NONFAILING(*(uint32_t*)0x20881f18 = 0x84); NONFAILING(*(uint32_t*)0x20881f1c = 1); NONFAILING(*(uint16_t*)0x20881f20 = 9); NONFAILING(*(uint16_t*)0x20881f22 = 0x8889); NONFAILING(*(uint16_t*)0x20881f24 = 1); NONFAILING(*(uint32_t*)0x20881f28 = 0xfff); NONFAILING(*(uint32_t*)0x20881f2c = 8); NONFAILING(*(uint32_t*)0x20881f30 = 0xffffff15); NONFAILING(*(uint32_t*)0x20881f34 = 0x12); NONFAILING(*(uint32_t*)0x20881f38 = 0x40); NONFAILING(*(uint32_t*)0x20881f3c = 0); NONFAILING(*(uint64_t*)0x20881f40 = 0x30); NONFAILING(*(uint32_t*)0x20881f48 = 0x84); NONFAILING(*(uint32_t*)0x20881f4c = 1); NONFAILING(*(uint16_t*)0x20881f50 = -1); NONFAILING(*(uint16_t*)0x20881f52 = 6); NONFAILING(*(uint16_t*)0x20881f54 = 0); NONFAILING(*(uint32_t*)0x20881f58 = 0x200); NONFAILING(*(uint32_t*)0x20881f5c = 4); NONFAILING(*(uint32_t*)0x20881f60 = 2); NONFAILING(*(uint32_t*)0x20881f64 = 6); NONFAILING(*(uint32_t*)0x20881f68 = 0x4080); NONFAILING(*(uint32_t*)0x20881f6c = 0); NONFAILING(*(uint64_t*)0x20881f70 = 0x30); NONFAILING(*(uint32_t*)0x20881f78 = 0x84); NONFAILING(*(uint32_t*)0x20881f7c = 1); NONFAILING(*(uint16_t*)0x20881f80 = 0x100); NONFAILING(*(uint16_t*)0x20881f82 = 0x3b); NONFAILING(*(uint16_t*)0x20881f84 = 0xa); NONFAILING(*(uint32_t*)0x20881f88 = 6); NONFAILING(*(uint32_t*)0x20881f8c = 0x69); NONFAILING(*(uint32_t*)0x20881f90 = -1); NONFAILING(*(uint32_t*)0x20881f94 = 9); NONFAILING(*(uint32_t*)0x20881f98 = 2); NONFAILING(*(uint32_t*)0x20881f9c = 0); NONFAILING(*(uint64_t*)0x20881fa0 = 0x18); NONFAILING(*(uint32_t*)0x20881fa8 = 0x84); NONFAILING(*(uint32_t*)0x20881fac = 0); NONFAILING(*(uint16_t*)0x20881fb0 = 0x81); NONFAILING(*(uint16_t*)0x20881fb2 = 0x3f); NONFAILING(*(uint16_t*)0x20881fb4 = 0xfff); NONFAILING(*(uint16_t*)0x20881fb6 = 0); NONFAILING(*(uint64_t*)0x20881fd0 = 0x30); NONFAILING(*(uint32_t*)0x20881fd8 = 0x84); NONFAILING(*(uint32_t*)0x20881fdc = 1); NONFAILING(*(uint16_t*)0x20881fe0 = 3); NONFAILING(*(uint16_t*)0x20881fe2 = 0); NONFAILING(*(uint16_t*)0x20881fe4 = 0x8000); NONFAILING(*(uint32_t*)0x20881fe8 = 0x3ff); NONFAILING(*(uint32_t*)0x20881fec = 0x67ae); NONFAILING(*(uint32_t*)0x20881ff0 = 0x993); NONFAILING(*(uint32_t*)0x20881ff4 = 0xfffffffa); NONFAILING(*(uint32_t*)0x20881ff8 = 1); NONFAILING(*(uint32_t*)0x20881ffc = 0); NONFAILING(*(uint16_t*)0x204ff000 = 0xa); NONFAILING(*(uint16_t*)0x204ff002 = htobe16(0x4e21)); NONFAILING(*(uint32_t*)0x204ff004 = 9); NONFAILING(*(uint8_t*)0x204ff008 = 0xfe); NONFAILING(*(uint8_t*)0x204ff009 = 0x80); NONFAILING(*(uint8_t*)0x204ff00a = 0); NONFAILING(*(uint8_t*)0x204ff00b = 0); NONFAILING(*(uint8_t*)0x204ff00c = 0); NONFAILING(*(uint8_t*)0x204ff00d = 0); NONFAILING(*(uint8_t*)0x204ff00e = 0); NONFAILING(*(uint8_t*)0x204ff00f = 0); NONFAILING(*(uint8_t*)0x204ff010 = 0); NONFAILING(*(uint8_t*)0x204ff011 = 0); NONFAILING(*(uint8_t*)0x204ff012 = 0); NONFAILING(*(uint8_t*)0x204ff013 = 0); NONFAILING(*(uint8_t*)0x204ff014 = 0); NONFAILING(*(uint8_t*)0x204ff015 = 0); NONFAILING(*(uint8_t*)0x204ff016 = 0); NONFAILING(*(uint8_t*)0x204ff017 = 0xbb); NONFAILING(*(uint32_t*)0x204ff018 = 9); NONFAILING(*(uint64_t*)0x20999fd0 = 0x20fe2fb9); NONFAILING(*(uint64_t*)0x20999fd8 = 0); NONFAILING(*(uint64_t*)0x20999fe0 = 0x2009c000); NONFAILING(*(uint64_t*)0x20999fe8 = 0); NONFAILING(*(uint64_t*)0x20999ff0 = 0x200cffec); NONFAILING(*(uint64_t*)0x20999ff8 = 0); NONFAILING(*(uint64_t*)0x20b96e50 = 0x30); NONFAILING(*(uint32_t*)0x20b96e58 = 0x84); NONFAILING(*(uint32_t*)0x20b96e5c = 1); NONFAILING(*(uint16_t*)0x20b96e60 = 7); NONFAILING(*(uint16_t*)0x20b96e62 = 0x9a); NONFAILING(*(uint16_t*)0x20b96e64 = 4); NONFAILING(*(uint32_t*)0x20b96e68 = 0x95e); NONFAILING(*(uint32_t*)0x20b96e6c = 0x7f); NONFAILING(*(uint32_t*)0x20b96e70 = 5); NONFAILING(*(uint32_t*)0x20b96e74 = 0); NONFAILING(*(uint32_t*)0x20b96e78 = 0x3ff); NONFAILING(*(uint32_t*)0x20b96e7c = 0); NONFAILING(*(uint64_t*)0x20b96e80 = 0x18); NONFAILING(*(uint32_t*)0x20b96e88 = 0x84); NONFAILING(*(uint32_t*)0x20b96e8c = 0); NONFAILING(*(uint16_t*)0x20b96e90 = 3); NONFAILING(*(uint16_t*)0x20b96e92 = 9); NONFAILING(*(uint16_t*)0x20b96e94 = 0); NONFAILING(*(uint16_t*)0x20b96e96 = 0x20); NONFAILING(*(uint64_t*)0x20b96eb0 = 0x20); NONFAILING(*(uint32_t*)0x20b96eb8 = 0x84); NONFAILING(*(uint32_t*)0x20b96ebc = 2); NONFAILING(*(uint16_t*)0x20b96ec0 = 1); NONFAILING(*(uint16_t*)0x20b96ec2 = 0x202); NONFAILING(*(uint32_t*)0x20b96ec4 = 1); NONFAILING(*(uint32_t*)0x20b96ec8 = 0x40); NONFAILING(*(uint32_t*)0x20b96ecc = 0); NONFAILING(*(uint64_t*)0x20b96ee0 = 0x18); NONFAILING(*(uint32_t*)0x20b96ee8 = 0x84); NONFAILING(*(uint32_t*)0x20b96eec = 0); NONFAILING(*(uint16_t*)0x20b96ef0 = 2); NONFAILING(*(uint16_t*)0x20b96ef2 = 5); NONFAILING(*(uint16_t*)0x20b96ef4 = 2); NONFAILING(*(uint16_t*)0x20b96ef6 = 0xee9); NONFAILING(*(uint64_t*)0x20b96f10 = 0x20); NONFAILING(*(uint32_t*)0x20b96f18 = 0x84); NONFAILING(*(uint32_t*)0x20b96f1c = 2); NONFAILING(*(uint16_t*)0x20b96f20 = 0x86); NONFAILING(*(uint16_t*)0x20b96f22 = 0x20d); NONFAILING(*(uint32_t*)0x20b96f24 = 0x9fc); NONFAILING(*(uint32_t*)0x20b96f28 = 0); NONFAILING(*(uint32_t*)0x20b96f2c = 0); NONFAILING(*(uint64_t*)0x20b96f40 = 0x20); NONFAILING(*(uint32_t*)0x20b96f48 = 0x84); NONFAILING(*(uint32_t*)0x20b96f4c = 2); NONFAILING(*(uint16_t*)0x20b96f50 = 0x4d5); NONFAILING(*(uint16_t*)0x20b96f52 = 0x8208); NONFAILING(*(uint32_t*)0x20b96f54 = 3); NONFAILING(*(uint32_t*)0x20b96f58 = 5); NONFAILING(*(uint32_t*)0x20b96f5c = 0); NONFAILING(*(uint64_t*)0x20b96f70 = 0x18); NONFAILING(*(uint32_t*)0x20b96f78 = 0x84); NONFAILING(*(uint32_t*)0x20b96f7c = 0); NONFAILING(*(uint16_t*)0x20b96f80 = 5); NONFAILING(*(uint16_t*)0x20b96f82 = 9); NONFAILING(*(uint16_t*)0x20b96f84 = 7); NONFAILING(*(uint16_t*)0x20b96f86 = 0xfff7); NONFAILING(*(uint64_t*)0x20b96fa0 = 0x20); NONFAILING(*(uint32_t*)0x20b96fa8 = 0x84); NONFAILING(*(uint32_t*)0x20b96fac = 2); NONFAILING(*(uint16_t*)0x20b96fb0 = 1); NONFAILING(*(uint16_t*)0x20b96fb2 = 0x800b); NONFAILING(*(uint32_t*)0x20b96fb4 = 0); NONFAILING(*(uint32_t*)0x20b96fb8 = 0x80000001); NONFAILING(*(uint32_t*)0x20b96fbc = 0); NONFAILING(*(uint64_t*)0x20b96fd0 = 0x20); NONFAILING(*(uint32_t*)0x20b96fd8 = 0x84); NONFAILING(*(uint32_t*)0x20b96fdc = 2); NONFAILING(*(uint16_t*)0x20b96fe0 = 7); NONFAILING(*(uint16_t*)0x20b96fe2 = 4); NONFAILING(*(uint32_t*)0x20b96fe4 = 7); NONFAILING(*(uint32_t*)0x20b96fe8 = 0x921); NONFAILING(*(uint32_t*)0x20b96fec = 0); NONFAILING(*(uint16_t*)0x2064a000 = 0xa); NONFAILING(*(uint16_t*)0x2064a002 = htobe16(0x4e21)); NONFAILING(*(uint32_t*)0x2064a004 = 0x81); NONFAILING(*(uint8_t*)0x2064a008 = 0xfe); NONFAILING(*(uint8_t*)0x2064a009 = 0x80); NONFAILING(*(uint8_t*)0x2064a00a = 0); NONFAILING(*(uint8_t*)0x2064a00b = 0); NONFAILING(*(uint8_t*)0x2064a00c = 0); NONFAILING(*(uint8_t*)0x2064a00d = 0); NONFAILING(*(uint8_t*)0x2064a00e = 0); NONFAILING(*(uint8_t*)0x2064a00f = 0); NONFAILING(*(uint8_t*)0x2064a010 = 0); NONFAILING(*(uint8_t*)0x2064a011 = 0); NONFAILING(*(uint8_t*)0x2064a012 = 0); NONFAILING(*(uint8_t*)0x2064a013 = 0); NONFAILING(*(uint8_t*)0x2064a014 = 0); NONFAILING(*(uint8_t*)0x2064a015 = 0); NONFAILING(*(uint8_t*)0x2064a016 = 0); NONFAILING(*(uint8_t*)0x2064a017 = 0xbb); NONFAILING(*(uint32_t*)0x2064a018 = 0); NONFAILING(*(uint64_t*)0x201a5000 = 0x20249f15); NONFAILING(*(uint64_t*)0x201a5008 = 0); NONFAILING(*(uint64_t*)0x201a5010 = 0x20ca9000); NONFAILING(*(uint64_t*)0x201a5018 = 0); NONFAILING(*(uint64_t*)0x201a5020 = 0x20cf9000); NONFAILING(*(uint64_t*)0x201a5028 = 0); NONFAILING(*(uint64_t*)0x201a5030 = 0x203cdfb0); NONFAILING(*(uint64_t*)0x201a5038 = 0); NONFAILING(*(uint64_t*)0x201a5040 = 0x20eed000); NONFAILING(*(uint64_t*)0x201a5048 = 0); NONFAILING(*(uint64_t*)0x201a5050 = 0x20ae0000); NONFAILING(*(uint64_t*)0x201a5058 = 0); NONFAILING(*(uint64_t*)0x201a5060 = 0x20ed4000); NONFAILING(*(uint64_t*)0x201a5068 = 0); NONFAILING(*(uint64_t*)0x201a5070 = 0x20ed1f6d); NONFAILING(*(uint64_t*)0x201a5078 = 0); NONFAILING(*(uint64_t*)0x2009bf40 = 0x30); NONFAILING(*(uint32_t*)0x2009bf48 = 0x84); NONFAILING(*(uint32_t*)0x2009bf4c = 1); NONFAILING(*(uint16_t*)0x2009bf50 = 9); NONFAILING(*(uint16_t*)0x2009bf52 = 1); NONFAILING(*(uint16_t*)0x2009bf54 = 0x205); NONFAILING(*(uint32_t*)0x2009bf58 = 5); NONFAILING(*(uint32_t*)0x2009bf5c = 1); NONFAILING(*(uint32_t*)0x2009bf60 = 6); NONFAILING(*(uint32_t*)0x2009bf64 = 0x3f); NONFAILING(*(uint32_t*)0x2009bf68 = 8); NONFAILING(*(uint32_t*)0x2009bf6c = 0); NONFAILING(*(uint64_t*)0x2009bf70 = 0x18); NONFAILING(*(uint32_t*)0x2009bf78 = 0x84); NONFAILING(*(uint32_t*)0x2009bf7c = 0); NONFAILING(*(uint16_t*)0x2009bf80 = 6); NONFAILING(*(uint16_t*)0x2009bf82 = 5); NONFAILING(*(uint16_t*)0x2009bf84 = 9); NONFAILING(*(uint16_t*)0x2009bf86 = 6); NONFAILING(*(uint64_t*)0x2009bfa0 = 0x30); NONFAILING(*(uint32_t*)0x2009bfa8 = 0x84); NONFAILING(*(uint32_t*)0x2009bfac = 1); NONFAILING(*(uint16_t*)0x2009bfb0 = 0x61); NONFAILING(*(uint16_t*)0x2009bfb2 = 0x8000); NONFAILING(*(uint16_t*)0x2009bfb4 = 8); NONFAILING(*(uint32_t*)0x2009bfb8 = 6); NONFAILING(*(uint32_t*)0x2009bfbc = 0xfffffffc); NONFAILING(*(uint32_t*)0x2009bfc0 = 0x100); NONFAILING(*(uint32_t*)0x2009bfc4 = 1); NONFAILING(*(uint32_t*)0x2009bfc8 = 0x80000000); NONFAILING(*(uint32_t*)0x2009bfcc = 0); NONFAILING(*(uint64_t*)0x2009bfd0 = 0x20); NONFAILING(*(uint32_t*)0x2009bfd8 = 0x84); NONFAILING(*(uint32_t*)0x2009bfdc = 2); NONFAILING(*(uint16_t*)0x2009bfe0 = 7); NONFAILING(*(uint16_t*)0x2009bfe2 = 0); NONFAILING(*(uint32_t*)0x2009bfe4 = 0x40); NONFAILING(*(uint32_t*)0x2009bfe8 = 0x400); NONFAILING(*(uint32_t*)0x2009bfec = 0); NONFAILING(*(uint16_t*)0x20121000 = 2); NONFAILING(*(uint16_t*)0x20121002 = htobe16(0x4e23)); NONFAILING(*(uint8_t*)0x20121004 = 0xac); NONFAILING(*(uint8_t*)0x20121005 = 0x14); NONFAILING(*(uint8_t*)0x20121006 = 0); NONFAILING(*(uint8_t*)0x20121007 = 0xaa); NONFAILING(*(uint8_t*)0x20121008 = 0); NONFAILING(*(uint8_t*)0x20121009 = 0); NONFAILING(*(uint8_t*)0x2012100a = 0); NONFAILING(*(uint8_t*)0x2012100b = 0); NONFAILING(*(uint8_t*)0x2012100c = 0); NONFAILING(*(uint8_t*)0x2012100d = 0); NONFAILING(*(uint8_t*)0x2012100e = 0); NONFAILING(*(uint8_t*)0x2012100f = 0); NONFAILING(*(uint64_t*)0x20072000 = 0x20696fb2); NONFAILING(*(uint64_t*)0x20072008 = 0); NONFAILING(*(uint64_t*)0x20072010 = 0x2060c241); NONFAILING(*(uint64_t*)0x20072018 = 0); NONFAILING(*(uint64_t*)0x20072020 = 0x2002aff8); NONFAILING(*(uint64_t*)0x20072028 = 0); NONFAILING(*(uint64_t*)0x20072030 = 0x20054000); NONFAILING(*(uint64_t*)0x20072038 = 0); NONFAILING(*(uint64_t*)0x20072040 = 0x2005b000); NONFAILING(*(uint64_t*)0x20072048 = 0); NONFAILING(*(uint64_t*)0x20072050 = 0x20237ff8); NONFAILING(*(uint64_t*)0x20072058 = 0); NONFAILING(*(uint64_t*)0x20072060 = 0x20b00f21); NONFAILING(*(uint64_t*)0x20072068 = 0); NONFAILING(*(uint64_t*)0x20072070 = 0x205fef38); NONFAILING(*(uint64_t*)0x20072078 = 0); NONFAILING(*(uint64_t*)0x20072080 = 0x209ee000); NONFAILING(*(uint64_t*)0x20072088 = 0); NONFAILING(*(uint64_t*)0x207e9e80 = 0x20); NONFAILING(*(uint32_t*)0x207e9e88 = 0x84); NONFAILING(*(uint32_t*)0x207e9e8c = 2); NONFAILING(*(uint16_t*)0x207e9e90 = 2); NONFAILING(*(uint16_t*)0x207e9e92 = 0x8000); NONFAILING(*(uint32_t*)0x207e9e94 = 3); NONFAILING(*(uint32_t*)0x207e9e98 = 1); NONFAILING(*(uint32_t*)0x207e9e9c = 0); NONFAILING(*(uint64_t*)0x207e9eb0 = 0x18); NONFAILING(*(uint32_t*)0x207e9eb8 = 0x84); NONFAILING(*(uint32_t*)0x207e9ebc = 0); NONFAILING(*(uint16_t*)0x207e9ec0 = 0x41bd); NONFAILING(*(uint16_t*)0x207e9ec2 = 8); NONFAILING(*(uint16_t*)0x207e9ec4 = 2); NONFAILING(*(uint16_t*)0x207e9ec6 = 1); NONFAILING(*(uint64_t*)0x207e9ee0 = 0x30); NONFAILING(*(uint32_t*)0x207e9ee8 = 0x84); NONFAILING(*(uint32_t*)0x207e9eec = 1); NONFAILING(*(uint16_t*)0x207e9ef0 = 9); NONFAILING(*(uint16_t*)0x207e9ef2 = 4); NONFAILING(*(uint16_t*)0x207e9ef4 = 0x8007); NONFAILING(*(uint32_t*)0x207e9ef8 = 0x7fff); NONFAILING(*(uint32_t*)0x207e9efc = 7); NONFAILING(*(uint32_t*)0x207e9f00 = 0x2b); NONFAILING(*(uint32_t*)0x207e9f04 = 0x8001); NONFAILING(*(uint32_t*)0x207e9f08 = 0); NONFAILING(*(uint32_t*)0x207e9f0c = 0); NONFAILING(*(uint64_t*)0x207e9f10 = 0x30); NONFAILING(*(uint32_t*)0x207e9f18 = 0x84); NONFAILING(*(uint32_t*)0x207e9f1c = 1); NONFAILING(*(uint16_t*)0x207e9f20 = 4); NONFAILING(*(uint16_t*)0x207e9f22 = 6); NONFAILING(*(uint16_t*)0x207e9f24 = 0x8008); NONFAILING(*(uint32_t*)0x207e9f28 = 0xc3); NONFAILING(*(uint32_t*)0x207e9f2c = 2); NONFAILING(*(uint32_t*)0x207e9f30 = 1); NONFAILING(*(uint32_t*)0x207e9f34 = 0x1f); NONFAILING(*(uint32_t*)0x207e9f38 = 0x1f); NONFAILING(*(uint32_t*)0x207e9f3c = 0); NONFAILING(*(uint64_t*)0x207e9f40 = 0x18); NONFAILING(*(uint32_t*)0x207e9f48 = 0x84); NONFAILING(*(uint32_t*)0x207e9f4c = 0); NONFAILING(*(uint16_t*)0x207e9f50 = 8); NONFAILING(*(uint16_t*)0x207e9f52 = 0xa3d3); NONFAILING(*(uint16_t*)0x207e9f54 = 7); NONFAILING(*(uint16_t*)0x207e9f56 = 0x800); NONFAILING(*(uint64_t*)0x207e9f70 = 0x30); NONFAILING(*(uint32_t*)0x207e9f78 = 0x84); NONFAILING(*(uint32_t*)0x207e9f7c = 1); NONFAILING(*(uint16_t*)0x207e9f80 = 2); NONFAILING(*(uint16_t*)0x207e9f82 = 5); NONFAILING(*(uint16_t*)0x207e9f84 = 8); NONFAILING(*(uint32_t*)0x207e9f88 = 9); NONFAILING(*(uint32_t*)0x207e9f8c = 6); NONFAILING(*(uint32_t*)0x207e9f90 = 5); NONFAILING(*(uint32_t*)0x207e9f94 = 0x733); NONFAILING(*(uint32_t*)0x207e9f98 = 1); NONFAILING(*(uint32_t*)0x207e9f9c = 0); NONFAILING(*(uint64_t*)0x207e9fa0 = 0x30); NONFAILING(*(uint32_t*)0x207e9fa8 = 0x84); NONFAILING(*(uint32_t*)0x207e9fac = 1); NONFAILING(*(uint16_t*)0x207e9fb0 = 0x7f); NONFAILING(*(uint16_t*)0x207e9fb2 = 0xfff8); NONFAILING(*(uint16_t*)0x207e9fb4 = 0); NONFAILING(*(uint32_t*)0x207e9fb8 = 2); NONFAILING(*(uint32_t*)0x207e9fbc = 7); NONFAILING(*(uint32_t*)0x207e9fc0 = 0xffff); NONFAILING(*(uint32_t*)0x207e9fc4 = 0x851d); NONFAILING(*(uint32_t*)0x207e9fc8 = 0xc0000000); NONFAILING(*(uint32_t*)0x207e9fcc = 0); NONFAILING(*(uint64_t*)0x207e9fd0 = 0x18); NONFAILING(*(uint32_t*)0x207e9fd8 = 0x84); NONFAILING(*(uint32_t*)0x207e9fdc = 0); NONFAILING(*(uint16_t*)0x207e9fe0 = 0x26); NONFAILING(*(uint16_t*)0x207e9fe2 = 7); NONFAILING(*(uint16_t*)0x207e9fe4 = 1); NONFAILING(*(uint16_t*)0x207e9fe6 = 9); NONFAILING(*(uint16_t*)0x20c41fe4 = 0xa); NONFAILING(*(uint16_t*)0x20c41fe6 = htobe16(0x4e23)); NONFAILING(*(uint32_t*)0x20c41fe8 = 9); NONFAILING(*(uint8_t*)0x20c41fec = -1); NONFAILING(*(uint8_t*)0x20c41fed = 1); NONFAILING(*(uint8_t*)0x20c41fee = 0); NONFAILING(*(uint8_t*)0x20c41fef = 0); NONFAILING(*(uint8_t*)0x20c41ff0 = 0); NONFAILING(*(uint8_t*)0x20c41ff1 = 0); NONFAILING(*(uint8_t*)0x20c41ff2 = 0); NONFAILING(*(uint8_t*)0x20c41ff3 = 0); NONFAILING(*(uint8_t*)0x20c41ff4 = 0); NONFAILING(*(uint8_t*)0x20c41ff5 = 0); NONFAILING(*(uint8_t*)0x20c41ff6 = 0); NONFAILING(*(uint8_t*)0x20c41ff7 = 0); NONFAILING(*(uint8_t*)0x20c41ff8 = 0); NONFAILING(*(uint8_t*)0x20c41ff9 = 0); NONFAILING(*(uint8_t*)0x20c41ffa = 0); NONFAILING(*(uint8_t*)0x20c41ffb = 1); NONFAILING(*(uint32_t*)0x20c41ffc = 3); NONFAILING(*(uint64_t*)0x20e14000 = 0x20412f7c); NONFAILING(*(uint64_t*)0x20e14008 = 0); NONFAILING(*(uint64_t*)0x20e14010 = 0x20586fe8); NONFAILING(*(uint64_t*)0x20e14018 = 0); NONFAILING(*(uint64_t*)0x20e14020 = 0x20073f65); NONFAILING(*(uint64_t*)0x20e14028 = 0); NONFAILING(*(uint64_t*)0x20e14030 = 0x209c7000); NONFAILING(*(uint64_t*)0x20e14038 = 0); NONFAILING(*(uint64_t*)0x20e14040 = 0x2000d000); NONFAILING(*(uint64_t*)0x20e14048 = 0); NONFAILING(*(uint64_t*)0x20e14050 = 0x20bfcf0f); NONFAILING(*(uint64_t*)0x20e14058 = 0); NONFAILING(*(uint64_t*)0x20e5a000 = 0x30); NONFAILING(*(uint32_t*)0x20e5a008 = 0x84); NONFAILING(*(uint32_t*)0x20e5a00c = 1); NONFAILING(*(uint16_t*)0x20e5a010 = 0x401); NONFAILING(*(uint16_t*)0x20e5a012 = 7); NONFAILING(*(uint16_t*)0x20e5a014 = 0); NONFAILING(*(uint32_t*)0x20e5a018 = 0x8001); NONFAILING(*(uint32_t*)0x20e5a01c = 9); NONFAILING(*(uint32_t*)0x20e5a020 = 0); NONFAILING(*(uint32_t*)0x20e5a024 = 0x1f80); NONFAILING(*(uint32_t*)0x20e5a028 = 9); NONFAILING(*(uint32_t*)0x20e5a02c = 0); syscall(__NR_sendmmsg, r[1], 0x204f2e78, 7, 0x2000c801); NONFAILING(*(uint8_t*)0x207f4ff2 = 0); NONFAILING(*(uint8_t*)0x207f4ff3 = 0); NONFAILING(*(uint8_t*)0x207f4ff4 = 0); NONFAILING(*(uint8_t*)0x207f4ff5 = 0); NONFAILING(*(uint8_t*)0x207f4ff6 = 0); NONFAILING(*(uint8_t*)0x207f4ff7 = 0); NONFAILING(memcpy((void*)0x207f4ff8, "\x14\x3b\x5a\x84\x50\xc3", 6)); NONFAILING(*(uint16_t*)0x207f4ffe = htobe16(0)); NONFAILING(*(uint32_t*)0x20073fec = 0); NONFAILING(*(uint32_t*)0x20073ff0 = 1); NONFAILING(*(uint32_t*)0x20073ff4 = 0); syz_emit_ethernet(0xe, 0x207f4ff2, 0x20073fec); } int main() { install_segv_handler(); use_temporary_dir(); int pid = do_sandbox_namespace(0, true); int status = 0; while (waitpid(pid, &status, __WALL) != pid) { } return 0; }