// https://syzkaller.appspot.com/bug?id=a9cd200cc742e33f1fefdf06bb6a3e47f6b5d5d4 // 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } static 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; } struct nlmsg { char* pos; int nesting; struct nlattr* nested[8]; char buf[4096]; }; static void netlink_init(struct nlmsg* nlmsg, int typ, int flags, const void* data, int size) { memset(nlmsg, 0, sizeof(*nlmsg)); struct nlmsghdr* hdr = (struct nlmsghdr*)nlmsg->buf; hdr->nlmsg_type = typ; hdr->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | flags; memcpy(hdr + 1, data, size); nlmsg->pos = (char*)(hdr + 1) + NLMSG_ALIGN(size); } static void netlink_attr(struct nlmsg* nlmsg, int typ, const void* data, int size) { struct nlattr* attr = (struct nlattr*)nlmsg->pos; attr->nla_len = sizeof(*attr) + size; attr->nla_type = typ; if (size > 0) memcpy(attr + 1, data, size); nlmsg->pos += NLMSG_ALIGN(attr->nla_len); } static int netlink_send_ext(struct nlmsg* nlmsg, int sock, uint16_t reply_type, int* reply_len, bool dofail) { if (nlmsg->pos > nlmsg->buf + sizeof(nlmsg->buf) || nlmsg->nesting) exit(1); struct nlmsghdr* hdr = (struct nlmsghdr*)nlmsg->buf; hdr->nlmsg_len = nlmsg->pos - nlmsg->buf; struct sockaddr_nl addr; memset(&addr, 0, sizeof(addr)); addr.nl_family = AF_NETLINK; ssize_t n = sendto(sock, nlmsg->buf, hdr->nlmsg_len, 0, (struct sockaddr*)&addr, sizeof(addr)); if (n != (ssize_t)hdr->nlmsg_len) { if (dofail) exit(1); return -1; } n = recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0); if (reply_len) *reply_len = 0; if (n < 0) { if (dofail) exit(1); return -1; } if (n < (ssize_t)sizeof(struct nlmsghdr)) { errno = EINVAL; if (dofail) exit(1); return -1; } if (hdr->nlmsg_type == NLMSG_DONE) return 0; if (reply_len && hdr->nlmsg_type == reply_type) { *reply_len = n; return 0; } if (n < (ssize_t)(sizeof(struct nlmsghdr) + sizeof(struct nlmsgerr))) { errno = EINVAL; if (dofail) exit(1); return -1; } if (hdr->nlmsg_type != NLMSG_ERROR) { errno = EINVAL; if (dofail) exit(1); return -1; } errno = -((struct nlmsgerr*)(hdr + 1))->error; return -errno; } static int netlink_send(struct nlmsg* nlmsg, int sock) { return netlink_send_ext(nlmsg, sock, 0, NULL, true); } static int netlink_query_family_id(struct nlmsg* nlmsg, int sock, const char* family_name, bool dofail) { struct genlmsghdr genlhdr; memset(&genlhdr, 0, sizeof(genlhdr)); genlhdr.cmd = CTRL_CMD_GETFAMILY; netlink_init(nlmsg, GENL_ID_CTRL, 0, &genlhdr, sizeof(genlhdr)); netlink_attr(nlmsg, CTRL_ATTR_FAMILY_NAME, family_name, strnlen(family_name, GENL_NAMSIZ - 1) + 1); int n = 0; int err = netlink_send_ext(nlmsg, sock, GENL_ID_CTRL, &n, dofail); if (err < 0) { return -1; } uint16_t id = 0; struct nlattr* attr = (struct nlattr*)(nlmsg->buf + NLMSG_HDRLEN + NLMSG_ALIGN(sizeof(genlhdr))); for (; (char*)attr < nlmsg->buf + n; attr = (struct nlattr*)((char*)attr + NLMSG_ALIGN(attr->nla_len))) { if (attr->nla_type == CTRL_ATTR_FAMILY_ID) { id = *(uint16_t*)(attr + 1); break; } } if (!id) { errno = EINVAL; return -1; } recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0); return id; } static void netlink_device_change(struct nlmsg* nlmsg, int sock, const char* name, bool up, const char* master, const void* mac, int macsize, const char* new_name) { struct ifinfomsg hdr; memset(&hdr, 0, sizeof(hdr)); if (up) hdr.ifi_flags = hdr.ifi_change = IFF_UP; hdr.ifi_index = if_nametoindex(name); netlink_init(nlmsg, RTM_NEWLINK, 0, &hdr, sizeof(hdr)); if (new_name) netlink_attr(nlmsg, IFLA_IFNAME, new_name, strlen(new_name)); if (master) { int ifindex = if_nametoindex(master); netlink_attr(nlmsg, IFLA_MASTER, &ifindex, sizeof(ifindex)); } if (macsize) netlink_attr(nlmsg, IFLA_ADDRESS, mac, macsize); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static int netlink_add_addr(struct nlmsg* nlmsg, int sock, const char* dev, const void* addr, int addrsize) { struct ifaddrmsg hdr; memset(&hdr, 0, sizeof(hdr)); hdr.ifa_family = addrsize == 4 ? AF_INET : AF_INET6; hdr.ifa_prefixlen = addrsize == 4 ? 24 : 120; hdr.ifa_scope = RT_SCOPE_UNIVERSE; hdr.ifa_index = if_nametoindex(dev); netlink_init(nlmsg, RTM_NEWADDR, NLM_F_CREATE | NLM_F_REPLACE, &hdr, sizeof(hdr)); netlink_attr(nlmsg, IFA_LOCAL, addr, addrsize); netlink_attr(nlmsg, IFA_ADDRESS, addr, addrsize); return netlink_send(nlmsg, sock); } static void netlink_add_addr4(struct nlmsg* nlmsg, int sock, const char* dev, const char* addr) { struct in_addr in_addr; inet_pton(AF_INET, addr, &in_addr); int err = netlink_add_addr(nlmsg, sock, dev, &in_addr, sizeof(in_addr)); if (err < 0) { } } static void netlink_add_addr6(struct nlmsg* nlmsg, int sock, const char* dev, const char* addr) { struct in6_addr in6_addr; inet_pton(AF_INET6, addr, &in6_addr); int err = netlink_add_addr(nlmsg, sock, dev, &in6_addr, sizeof(in6_addr)); if (err < 0) { } } static void netlink_add_neigh(struct nlmsg* nlmsg, int sock, const char* name, const void* addr, int addrsize, const void* mac, int macsize) { struct ndmsg hdr; memset(&hdr, 0, sizeof(hdr)); hdr.ndm_family = addrsize == 4 ? AF_INET : AF_INET6; hdr.ndm_ifindex = if_nametoindex(name); hdr.ndm_state = NUD_PERMANENT; netlink_init(nlmsg, RTM_NEWNEIGH, NLM_F_EXCL | NLM_F_CREATE, &hdr, sizeof(hdr)); netlink_attr(nlmsg, NDA_DST, addr, addrsize); netlink_attr(nlmsg, NDA_LLADDR, mac, macsize); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static struct nlmsg nlmsg; static int tunfd = -1; #define TUN_IFACE "syz_tun" #define LOCAL_MAC 0xaaaaaaaaaaaa #define REMOTE_MAC 0xaaaaaaaaaabb #define LOCAL_IPV4 "172.20.20.170" #define REMOTE_IPV4 "172.20.20.187" #define LOCAL_IPV6 "fe80::aa" #define REMOTE_IPV6 "fe80::bb" #define IFF_NAPI 0x0010 static void initialize_tun(void) { 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; } const int kTunFd = 200; if (dup2(tunfd, kTunFd) < 0) exit(1); close(tunfd); tunfd = kTunFd; struct ifreq ifr; memset(&ifr, 0, sizeof(ifr)); strncpy(ifr.ifr_name, TUN_IFACE, IFNAMSIZ); ifr.ifr_flags = IFF_TAP | IFF_NO_PI; if (ioctl(tunfd, TUNSETIFF, (void*)&ifr) < 0) { exit(1); } char sysctl[64]; sprintf(sysctl, "/proc/sys/net/ipv6/conf/%s/accept_dad", TUN_IFACE); write_file(sysctl, "0"); sprintf(sysctl, "/proc/sys/net/ipv6/conf/%s/router_solicitations", TUN_IFACE); write_file(sysctl, "0"); int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); if (sock == -1) exit(1); netlink_add_addr4(&nlmsg, sock, TUN_IFACE, LOCAL_IPV4); netlink_add_addr6(&nlmsg, sock, TUN_IFACE, LOCAL_IPV6); uint64_t macaddr = REMOTE_MAC; struct in_addr in_addr; inet_pton(AF_INET, REMOTE_IPV4, &in_addr); netlink_add_neigh(&nlmsg, sock, TUN_IFACE, &in_addr, sizeof(in_addr), &macaddr, ETH_ALEN); struct in6_addr in6_addr; inet_pton(AF_INET6, REMOTE_IPV6, &in6_addr); netlink_add_neigh(&nlmsg, sock, TUN_IFACE, &in6_addr, sizeof(in6_addr), &macaddr, ETH_ALEN); macaddr = LOCAL_MAC; netlink_device_change(&nlmsg, sock, TUN_IFACE, true, 0, &macaddr, ETH_ALEN, NULL); close(sock); } static long syz_open_dev(volatile long a0, volatile long a1, volatile long a2) { if (a0 == 0xc || a0 == 0xb) { char buf[128]; sprintf(buf, "/dev/%s/%d:%d", a0 == 0xc ? "char" : "block", (uint8_t)a1, (uint8_t)a2); return open(buf, O_RDWR, 0); } else { char buf[1024]; char* hash; strncpy(buf, (char*)a0, sizeof(buf) - 1); buf[sizeof(buf) - 1] = 0; while ((hash = strchr(buf, '#'))) { *hash = '0' + (char)(a1 % 10); a1 /= 10; } return open(buf, a2, 0); } } static void setup_common() { if (mount(0, "/sys/fs/fuse/connections", "fusectl", 0, 0)) { } } static void setup_binderfs() { if (mkdir("/dev/binderfs", 0777)) { } if (mount("binder", "/dev/binderfs", "binder", 0, NULL)) { } } static void loop(); static void sandbox_common() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); 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)) { } initialize_tun(); setup_binderfs(); loop(); exit(1); } uint64_t r[3] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff}; void loop(void) { intptr_t res = 0; res = syscall(__NR_socket, 1ul, 2ul, 0); if (res != -1) r[0] = res; *(uint16_t*)0x200006c0 = 1; memcpy( (void*)0x200006c2, "\351\037q\211Y\036\2223aK\000\000\000\000\000\000\000\000\000\000\000" "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000", 108); syscall(__NR_bind, r[0], 0x200006c0ul, 0x6eul); *(uint32_t*)0x200001c0 = -1; syscall(__NR_ioctl, r[0], 0x8901, 0x200001c0ul); *(uint64_t*)0x20000000 = 2; syscall(__NR_ioctl, r[0], 0x5452, 0x20000000ul); *(uint16_t*)0x20000080 = 1; memcpy( (void*)0x20000082, "\351\037q\211Y\036\2223aK\000\000\000\000\000\000\000\000\000\000\000" "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000", 108); syscall(__NR_connect, r[0], 0x20000080ul, 0x6eul); syscall(__NR_sendmmsg, r[0], 0x20002dc0ul, 0x307017fdb7a66cbul, 0x3ec0ul); *(uint32_t*)0x20000ac0 = 0; *(uint32_t*)0x20000ac4 = 0; *(uint32_t*)0x20000ac8 = 0; *(uint32_t*)0x20000acc = 0; *(uint32_t*)0x20000ad0 = 0; *(uint32_t*)0x20000ad4 = 0; *(uint32_t*)0x20000ad8 = 0; *(uint32_t*)0x20000adc = 0; *(uint32_t*)0x20000ae0 = 0; *(uint32_t*)0x20000ae4 = 0; *(uint32_t*)0x20000ae8 = 0; *(uint32_t*)0x20000aec = 0; *(uint32_t*)0x20000af0 = 0; *(uint32_t*)0x20000af4 = 0; *(uint32_t*)0x20000af8 = 0; *(uint32_t*)0x20000afc = 0; *(uint32_t*)0x20000b00 = 0; *(uint32_t*)0x20000b04 = 0; *(uint32_t*)0x20000b08 = 0; *(uint32_t*)0x20000b0c = 0; *(uint32_t*)0x20000b10 = 0; *(uint32_t*)0x20000b14 = 0; *(uint32_t*)0x20000b18 = 0; *(uint32_t*)0x20000b1c = 0; *(uint32_t*)0x20000b20 = 0; *(uint32_t*)0x20000b24 = 0; *(uint32_t*)0x20000b28 = 0; *(uint32_t*)0x20000b2c = 0; *(uint32_t*)0x20000b30 = 0; *(uint32_t*)0x20000b34 = 0; *(uint32_t*)0x20000b38 = 0; *(uint32_t*)0x20000b3c = 0; *(uint32_t*)0x20000b40 = 0; *(uint32_t*)0x20000b44 = 0; *(uint32_t*)0x20000b48 = 0; *(uint32_t*)0x20000b4c = 0; *(uint32_t*)0x20000b50 = 0; *(uint32_t*)0x20000b54 = 0; *(uint32_t*)0x20000b58 = 0; *(uint32_t*)0x20000b5c = 0; *(uint32_t*)0x20000b60 = 0; *(uint32_t*)0x20000b64 = 0; *(uint32_t*)0x20000b68 = 0; *(uint32_t*)0x20000b6c = 0; *(uint32_t*)0x20000b70 = 0x10000; *(uint32_t*)0x20000b74 = 0; *(uint32_t*)0x20000b78 = 0; *(uint32_t*)0x20000b7c = 0; *(uint32_t*)0x20000b80 = 0; *(uint32_t*)0x20000b84 = 0; *(uint32_t*)0x20000b88 = 0; *(uint32_t*)0x20000b8c = 0; *(uint32_t*)0x20000b90 = 0; *(uint32_t*)0x20000b94 = 0; *(uint32_t*)0x20000b98 = 0; *(uint32_t*)0x20000b9c = 0; *(uint32_t*)0x20000ba0 = 0; *(uint32_t*)0x20000ba4 = 0; *(uint32_t*)0x20000ba8 = 0; *(uint32_t*)0x20000bac = 0; *(uint32_t*)0x20000bb0 = 0; *(uint32_t*)0x20000bb4 = 0; *(uint32_t*)0x20000bb8 = 0; *(uint32_t*)0x20000bbc = 0; *(uint32_t*)0x20000bc0 = 0; *(uint32_t*)0x20000bc4 = 0; *(uint32_t*)0x20000bc8 = 0; *(uint32_t*)0x20000bcc = 0; *(uint32_t*)0x20000bd0 = 0; *(uint32_t*)0x20000bd4 = 0; *(uint32_t*)0x20000bd8 = 0; *(uint32_t*)0x20000bdc = 0; *(uint32_t*)0x20000be0 = 0; *(uint32_t*)0x20000be4 = 0; *(uint32_t*)0x20000be8 = 0; *(uint32_t*)0x20000bec = 0; *(uint32_t*)0x20000bf0 = 0; *(uint32_t*)0x20000bf4 = 0; *(uint32_t*)0x20000bf8 = 0; *(uint32_t*)0x20000bfc = 0; *(uint32_t*)0x20000c00 = 0; *(uint32_t*)0x20000c04 = 0; *(uint32_t*)0x20000c08 = 0; *(uint32_t*)0x20000c0c = 0; *(uint32_t*)0x20000c10 = 0; *(uint32_t*)0x20000c14 = 0; *(uint32_t*)0x20000c18 = 0; *(uint32_t*)0x20000c1c = 0; *(uint32_t*)0x20000c20 = 0; *(uint32_t*)0x20000c24 = 0; *(uint32_t*)0x20000c28 = 0; *(uint32_t*)0x20000c2c = 0; *(uint32_t*)0x20000c30 = 0; *(uint32_t*)0x20000c34 = 0; *(uint32_t*)0x20000c38 = 0; *(uint32_t*)0x20000c3c = 0; *(uint32_t*)0x20000c40 = 0; *(uint32_t*)0x20000c44 = 0; *(uint32_t*)0x20000c48 = 0; *(uint32_t*)0x20000c4c = 0; *(uint32_t*)0x20000c50 = 0; *(uint32_t*)0x20000c54 = 0; *(uint32_t*)0x20000c58 = 0; *(uint32_t*)0x20000c5c = 0; *(uint32_t*)0x20000c60 = 0; *(uint32_t*)0x20000c64 = 0; *(uint32_t*)0x20000c68 = 0; *(uint32_t*)0x20000c6c = 0; *(uint32_t*)0x20000c70 = 0; *(uint32_t*)0x20000c74 = 0; *(uint32_t*)0x20000c78 = 0; *(uint32_t*)0x20000c7c = 0; *(uint32_t*)0x20000c80 = 0; *(uint32_t*)0x20000c84 = 0; *(uint32_t*)0x20000c88 = 0; *(uint32_t*)0x20000c8c = 0; *(uint32_t*)0x20000c90 = 0; *(uint32_t*)0x20000c94 = 0; *(uint32_t*)0x20000c98 = 0; *(uint32_t*)0x20000c9c = 0; *(uint32_t*)0x20000ca0 = 0; *(uint32_t*)0x20000ca4 = 0; *(uint32_t*)0x20000ca8 = 0; *(uint32_t*)0x20000cac = 0; *(uint32_t*)0x20000cb0 = 0; *(uint32_t*)0x20000cb4 = 0; *(uint32_t*)0x20000cb8 = 0; *(uint32_t*)0x20000cbc = 0; *(uint32_t*)0x20000cc0 = 0; *(uint32_t*)0x20000cc4 = 0; *(uint32_t*)0x20000cc8 = 0; *(uint32_t*)0x20000ccc = 0; *(uint32_t*)0x20000cd0 = 0; *(uint32_t*)0x20000cd4 = 0; *(uint32_t*)0x20000cd8 = 0; *(uint32_t*)0x20000cdc = 0; *(uint32_t*)0x20000ce0 = 0; *(uint32_t*)0x20000ce4 = 0; *(uint32_t*)0x20000ce8 = 0; *(uint32_t*)0x20000cec = 0; *(uint32_t*)0x20000cf0 = 0; *(uint32_t*)0x20000cf4 = 0; *(uint32_t*)0x20000cf8 = 0; *(uint32_t*)0x20000cfc = 0; *(uint32_t*)0x20000d00 = 0; *(uint32_t*)0x20000d04 = 0; *(uint32_t*)0x20000d08 = 0; *(uint32_t*)0x20000d0c = 0; *(uint32_t*)0x20000d10 = 0; *(uint32_t*)0x20000d14 = 0; *(uint32_t*)0x20000d18 = 0; *(uint32_t*)0x20000d1c = 0; *(uint32_t*)0x20000d20 = 0; *(uint32_t*)0x20000d24 = 0; *(uint32_t*)0x20000d28 = 0; *(uint32_t*)0x20000d2c = 0; *(uint32_t*)0x20000d30 = 0; *(uint32_t*)0x20000d34 = 0; *(uint32_t*)0x20000d38 = 0; *(uint32_t*)0x20000d3c = 0; *(uint32_t*)0x20000d40 = 0; *(uint32_t*)0x20000d44 = 0; *(uint32_t*)0x20000d48 = 0; *(uint32_t*)0x20000d4c = 0; *(uint32_t*)0x20000d50 = 0; *(uint32_t*)0x20000d54 = 0; *(uint32_t*)0x20000d58 = 0; *(uint32_t*)0x20000d5c = 0; *(uint32_t*)0x20000d60 = 0; *(uint32_t*)0x20000d64 = 0; *(uint32_t*)0x20000d68 = 0; *(uint32_t*)0x20000d6c = 0; *(uint32_t*)0x20000d70 = 0; *(uint32_t*)0x20000d74 = 0; *(uint32_t*)0x20000d78 = 0; *(uint32_t*)0x20000d7c = 0; *(uint32_t*)0x20000d80 = 0; *(uint32_t*)0x20000d84 = 0; *(uint32_t*)0x20000d88 = 0; *(uint32_t*)0x20000d8c = 0; *(uint32_t*)0x20000d90 = 0; *(uint32_t*)0x20000d94 = 0; *(uint32_t*)0x20000d98 = 0; *(uint32_t*)0x20000d9c = 0; *(uint32_t*)0x20000da0 = 0; *(uint32_t*)0x20000da4 = 0; *(uint32_t*)0x20000da8 = 0; *(uint32_t*)0x20000dac = 0; *(uint32_t*)0x20000db0 = 0; *(uint32_t*)0x20000db4 = 0; *(uint32_t*)0x20000db8 = 0; *(uint32_t*)0x20000dbc = 0; *(uint32_t*)0x20000dc0 = 0; *(uint32_t*)0x20000dc4 = 0; *(uint32_t*)0x20000dc8 = 0; *(uint32_t*)0x20000dcc = 0; *(uint32_t*)0x20000dd0 = 0; *(uint32_t*)0x20000dd4 = 0; *(uint32_t*)0x20000dd8 = 0; *(uint32_t*)0x20000ddc = 0; *(uint32_t*)0x20000de0 = 0; *(uint32_t*)0x20000de4 = 0; *(uint32_t*)0x20000de8 = 0; *(uint32_t*)0x20000dec = 0; *(uint32_t*)0x20000df0 = 0; *(uint32_t*)0x20000df4 = 0; *(uint32_t*)0x20000df8 = 0; *(uint32_t*)0x20000dfc = 0; *(uint32_t*)0x20000e00 = 0; *(uint32_t*)0x20000e04 = 0; *(uint32_t*)0x20000e08 = 0; *(uint32_t*)0x20000e0c = 0; *(uint32_t*)0x20000e10 = 0; *(uint32_t*)0x20000e14 = 0; *(uint32_t*)0x20000e18 = 0; *(uint32_t*)0x20000e1c = 0; *(uint32_t*)0x20000e20 = 0; *(uint32_t*)0x20000e24 = 0; *(uint32_t*)0x20000e28 = 0; *(uint32_t*)0x20000e2c = 0; *(uint32_t*)0x20000e30 = 0; *(uint32_t*)0x20000e34 = 0; *(uint32_t*)0x20000e38 = 0; *(uint32_t*)0x20000e3c = 0; *(uint32_t*)0x20000e40 = 0; *(uint32_t*)0x20000e44 = 0; *(uint32_t*)0x20000e48 = 0; *(uint32_t*)0x20000e4c = 0; *(uint32_t*)0x20000e50 = 0; *(uint32_t*)0x20000e54 = 0; *(uint32_t*)0x20000e58 = 0; *(uint32_t*)0x20000e5c = 0; *(uint32_t*)0x20000e60 = 0; *(uint32_t*)0x20000e64 = 0; *(uint32_t*)0x20000e68 = 0; *(uint32_t*)0x20000e6c = 0; *(uint32_t*)0x20000e70 = 0; *(uint32_t*)0x20000e74 = 0; *(uint32_t*)0x20000e78 = 0; *(uint32_t*)0x20000e7c = 0; *(uint32_t*)0x20000e80 = 0; *(uint32_t*)0x20000e84 = 0; *(uint32_t*)0x20000e88 = 0; *(uint32_t*)0x20000e8c = 0; *(uint32_t*)0x20000e90 = 0; *(uint32_t*)0x20000e94 = 0; *(uint32_t*)0x20000e98 = 0; *(uint32_t*)0x20000e9c = 0; *(uint32_t*)0x20000ea0 = 0; *(uint32_t*)0x20000ea4 = 0; *(uint32_t*)0x20000ea8 = 0; *(uint32_t*)0x20000eac = 0; *(uint32_t*)0x20000eb0 = 0; *(uint32_t*)0x20000eb4 = 0; *(uint32_t*)0x20000eb8 = 0; *(uint32_t*)0x20000ebc = 0; *(uint32_t*)0x20000ec0 = 0; *(uint32_t*)0x20000ec4 = 0; *(uint32_t*)0x20000ec8 = 0; *(uint32_t*)0x20000ecc = 0; *(uint32_t*)0x20000ed0 = 0; *(uint32_t*)0x20000ed4 = 0; *(uint32_t*)0x20000ed8 = 0; *(uint32_t*)0x20000edc = 0; *(uint32_t*)0x20000ee0 = 0; *(uint32_t*)0x20000ee4 = 0; *(uint32_t*)0x20000ee8 = 0; *(uint32_t*)0x20000eec = 0; *(uint32_t*)0x20000ef0 = 0; *(uint32_t*)0x20000ef4 = 0; *(uint32_t*)0x20000ef8 = 0; *(uint32_t*)0x20000efc = 0; *(uint32_t*)0x20000f00 = 0; *(uint32_t*)0x20000f04 = 0; *(uint32_t*)0x20000f08 = 0; *(uint32_t*)0x20000f0c = 0; *(uint32_t*)0x20000f10 = 0; *(uint32_t*)0x20000f14 = 0; *(uint32_t*)0x20000f18 = 0; *(uint32_t*)0x20000f1c = 0; *(uint32_t*)0x20000f20 = 0; *(uint32_t*)0x20000f24 = 0; *(uint32_t*)0x20000f28 = 0; *(uint32_t*)0x20000f2c = 0; *(uint32_t*)0x20000f30 = 0; *(uint32_t*)0x20000f34 = 0; *(uint32_t*)0x20000f38 = 0; *(uint32_t*)0x20000f3c = 0; *(uint32_t*)0x20000f40 = 0; *(uint32_t*)0x20000f44 = 0; *(uint32_t*)0x20000f48 = 0; *(uint32_t*)0x20000f4c = 0; *(uint32_t*)0x20000f50 = 0; *(uint32_t*)0x20000f54 = 0; *(uint32_t*)0x20000f58 = 0; *(uint32_t*)0x20000f5c = 0; *(uint32_t*)0x20000f60 = 0; *(uint32_t*)0x20000f64 = 0; *(uint32_t*)0x20000f68 = 0; *(uint32_t*)0x20000f6c = 0; *(uint32_t*)0x20000f70 = 0; *(uint32_t*)0x20000f74 = 0; *(uint32_t*)0x20000f78 = 0; *(uint32_t*)0x20000f7c = 0; *(uint32_t*)0x20000f80 = 0; *(uint32_t*)0x20000f84 = 0; *(uint32_t*)0x20000f88 = 0; *(uint32_t*)0x20000f8c = 0; *(uint32_t*)0x20000f90 = 0; *(uint32_t*)0x20000f94 = 0; *(uint32_t*)0x20000f98 = 0; *(uint32_t*)0x20000f9c = 0; *(uint32_t*)0x20000fa0 = 0; *(uint32_t*)0x20000fa4 = 0; *(uint32_t*)0x20000fa8 = 0; *(uint32_t*)0x20000fac = 0; *(uint32_t*)0x20000fb0 = 0; *(uint32_t*)0x20000fb4 = 0; *(uint32_t*)0x20000fb8 = 0; *(uint32_t*)0x20000fbc = 0; *(uint32_t*)0x20000fc0 = 0; *(uint32_t*)0x20000fc4 = 0; *(uint32_t*)0x20000fc8 = 0; *(uint32_t*)0x20000fcc = 0; *(uint32_t*)0x20000fd0 = 0; *(uint32_t*)0x20000fd4 = 0; *(uint32_t*)0x20000fd8 = 0; *(uint32_t*)0x20000fdc = 0; *(uint32_t*)0x20000fe0 = 0; *(uint32_t*)0x20000fe4 = 0; *(uint32_t*)0x20000fe8 = 0; *(uint32_t*)0x20000fec = 0; *(uint32_t*)0x20000ff0 = 0; *(uint32_t*)0x20000ff4 = 0; *(uint32_t*)0x20000ff8 = 0; *(uint32_t*)0x20000ffc = 0; *(uint32_t*)0x20001000 = 0; *(uint32_t*)0x20001004 = 0; *(uint32_t*)0x20001008 = 0; *(uint32_t*)0x2000100c = 0; *(uint32_t*)0x20001010 = 0; *(uint32_t*)0x20001014 = 0; *(uint32_t*)0x20001018 = 0; *(uint32_t*)0x2000101c = 0; *(uint32_t*)0x20001020 = 0; *(uint32_t*)0x20001024 = 0; *(uint32_t*)0x20001028 = 0; *(uint32_t*)0x2000102c = 0; *(uint32_t*)0x20001030 = 0; *(uint32_t*)0x20001034 = 0; *(uint32_t*)0x20001038 = 0; *(uint32_t*)0x2000103c = 0; *(uint32_t*)0x20001040 = 0; *(uint32_t*)0x20001044 = 0; *(uint32_t*)0x20001048 = 0; *(uint32_t*)0x2000104c = 0; *(uint32_t*)0x20001050 = 0; *(uint32_t*)0x20001054 = 0; *(uint32_t*)0x20001058 = 0; *(uint32_t*)0x2000105c = 0; *(uint32_t*)0x20001060 = 0; *(uint32_t*)0x20001064 = 0; *(uint32_t*)0x20001068 = 0; *(uint32_t*)0x2000106c = 0; *(uint32_t*)0x20001070 = 0; *(uint32_t*)0x20001074 = 0; *(uint32_t*)0x20001078 = 0; *(uint32_t*)0x2000107c = 0; *(uint32_t*)0x20001080 = 0; *(uint32_t*)0x20001084 = 0; *(uint32_t*)0x20001088 = 0; *(uint32_t*)0x2000108c = 0; *(uint32_t*)0x20001090 = 0; *(uint32_t*)0x20001094 = 0; *(uint32_t*)0x20001098 = 0; *(uint32_t*)0x2000109c = 0; *(uint32_t*)0x200010a0 = 0; *(uint32_t*)0x200010a4 = 0; *(uint32_t*)0x200010a8 = 0; *(uint32_t*)0x200010ac = 0; *(uint32_t*)0x200010b0 = 0; *(uint32_t*)0x200010b4 = 0; *(uint32_t*)0x200010b8 = 0; *(uint32_t*)0x200010bc = 0; *(uint32_t*)0x200010c0 = 0; *(uint32_t*)0x200010c4 = 0; *(uint32_t*)0x200010c8 = 0; *(uint32_t*)0x200010cc = 0; *(uint32_t*)0x200010d0 = 0; *(uint32_t*)0x200010d4 = 0; *(uint32_t*)0x200010d8 = 0; *(uint32_t*)0x200010dc = 0; *(uint32_t*)0x200010e0 = 0; *(uint32_t*)0x200010e4 = 0; *(uint32_t*)0x200010e8 = 0; *(uint32_t*)0x200010ec = 0; *(uint32_t*)0x200010f0 = 0; *(uint32_t*)0x200010f4 = 0; *(uint32_t*)0x200010f8 = 0; *(uint32_t*)0x200010fc = 0; *(uint32_t*)0x20001100 = 0; *(uint32_t*)0x20001104 = 0; *(uint32_t*)0x20001108 = 0; *(uint32_t*)0x2000110c = 0; *(uint32_t*)0x20001110 = 0; *(uint32_t*)0x20001114 = 0; *(uint32_t*)0x20001118 = 0; *(uint32_t*)0x2000111c = 0; *(uint32_t*)0x20001120 = 0; *(uint32_t*)0x20001124 = 0; *(uint32_t*)0x20001128 = 0; *(uint32_t*)0x2000112c = 0; *(uint32_t*)0x20001130 = 0; *(uint32_t*)0x20001134 = 0; *(uint32_t*)0x20001138 = 0; *(uint32_t*)0x2000113c = 0; *(uint32_t*)0x20001140 = 0; *(uint32_t*)0x20001144 = 0; *(uint32_t*)0x20001148 = 0; *(uint32_t*)0x2000114c = 0; *(uint32_t*)0x20001150 = 0; *(uint32_t*)0x20001154 = 0; *(uint32_t*)0x20001158 = 0; *(uint32_t*)0x2000115c = 0; *(uint32_t*)0x20001160 = 0; *(uint32_t*)0x20001164 = 0; *(uint32_t*)0x20001168 = 0; *(uint32_t*)0x2000116c = 0; *(uint32_t*)0x20001170 = 0; *(uint32_t*)0x20001174 = 0; *(uint32_t*)0x20001178 = 0; *(uint32_t*)0x2000117c = 0; *(uint32_t*)0x20001180 = 0; *(uint32_t*)0x20001184 = 0; *(uint32_t*)0x20001188 = 0; *(uint32_t*)0x2000118c = 0; *(uint32_t*)0x20001190 = 0; *(uint32_t*)0x20001194 = 0; *(uint32_t*)0x20001198 = 0; *(uint32_t*)0x2000119c = 0; *(uint32_t*)0x200011a0 = 0; *(uint32_t*)0x200011a4 = 0; *(uint32_t*)0x200011a8 = 0; *(uint32_t*)0x200011ac = 0; *(uint32_t*)0x200011b0 = 0; *(uint32_t*)0x200011b4 = 0; *(uint32_t*)0x200011b8 = 0; *(uint32_t*)0x200011bc = 0; *(uint32_t*)0x200011c0 = 0; *(uint32_t*)0x200011c4 = 0; *(uint32_t*)0x200011c8 = 0; *(uint32_t*)0x200011cc = 0; *(uint32_t*)0x200011d0 = 0; *(uint32_t*)0x200011d4 = 0; *(uint32_t*)0x200011d8 = 0; *(uint32_t*)0x200011dc = 0; *(uint32_t*)0x200011e0 = 0; *(uint32_t*)0x200011e4 = 0; *(uint32_t*)0x200011e8 = 0; *(uint32_t*)0x200011ec = 0; *(uint32_t*)0x200011f0 = 0; *(uint32_t*)0x200011f4 = 0; *(uint32_t*)0x200011f8 = 0; *(uint32_t*)0x200011fc = 0; *(uint32_t*)0x20001200 = 0; *(uint32_t*)0x20001204 = 0; *(uint32_t*)0x20001208 = 0; *(uint32_t*)0x2000120c = 0; *(uint32_t*)0x20001210 = 0; *(uint32_t*)0x20001214 = 0; *(uint32_t*)0x20001218 = 0; *(uint32_t*)0x2000121c = 0; *(uint32_t*)0x20001220 = 0; *(uint32_t*)0x20001224 = 0; *(uint32_t*)0x20001228 = 0; *(uint32_t*)0x2000122c = 0; *(uint32_t*)0x20001230 = 0; *(uint32_t*)0x20001234 = 0; *(uint32_t*)0x20001238 = 0; *(uint32_t*)0x2000123c = 0; *(uint32_t*)0x20001240 = 0; *(uint32_t*)0x20001244 = 0; *(uint32_t*)0x20001248 = 0; *(uint32_t*)0x2000124c = 0; *(uint32_t*)0x20001250 = 0; *(uint32_t*)0x20001254 = 0; *(uint32_t*)0x20001258 = 0; *(uint32_t*)0x2000125c = 0; *(uint32_t*)0x20001260 = 0; *(uint32_t*)0x20001264 = 0; *(uint32_t*)0x20001268 = 0; *(uint32_t*)0x2000126c = 0; *(uint32_t*)0x20001270 = 0; *(uint32_t*)0x20001274 = 0; *(uint32_t*)0x20001278 = 0; *(uint32_t*)0x2000127c = 0; *(uint32_t*)0x20001280 = 0; *(uint32_t*)0x20001284 = 0; *(uint32_t*)0x20001288 = 0; *(uint32_t*)0x2000128c = 0; *(uint32_t*)0x20001290 = 0; *(uint32_t*)0x20001294 = 0; *(uint32_t*)0x20001298 = 0; *(uint32_t*)0x2000129c = 0; *(uint32_t*)0x200012a0 = 0; *(uint32_t*)0x200012a4 = 0; *(uint32_t*)0x200012a8 = 0; *(uint32_t*)0x200012ac = 0; *(uint32_t*)0x200012b0 = 0; *(uint32_t*)0x200012b4 = 0; *(uint32_t*)0x200012b8 = 0; *(uint32_t*)0x200012bc = 0; *(uint32_t*)0x200012c0 = 0; *(uint32_t*)0x200012c4 = 0; *(uint32_t*)0x200012c8 = 0; *(uint32_t*)0x200012cc = 0; *(uint32_t*)0x200012d0 = 0; *(uint32_t*)0x200012d4 = 0; *(uint32_t*)0x200012d8 = 0; *(uint32_t*)0x200012dc = 0; *(uint32_t*)0x200012e0 = 0; *(uint32_t*)0x200012e4 = 0; *(uint32_t*)0x200012e8 = 0; *(uint32_t*)0x200012ec = 0; *(uint32_t*)0x200012f0 = 0; *(uint32_t*)0x200012f4 = 0; *(uint32_t*)0x200012f8 = 0; *(uint32_t*)0x200012fc = 0; *(uint32_t*)0x20001300 = 0; *(uint32_t*)0x20001304 = 0; *(uint32_t*)0x20001308 = 0; *(uint32_t*)0x2000130c = 0; *(uint32_t*)0x20001310 = 0; *(uint32_t*)0x20001314 = 0; *(uint32_t*)0x20001318 = 0; *(uint32_t*)0x2000131c = 0; *(uint32_t*)0x20001320 = 0; *(uint32_t*)0x20001324 = 0; *(uint32_t*)0x20001328 = 0; *(uint32_t*)0x2000132c = 0; *(uint32_t*)0x20001330 = 0; *(uint32_t*)0x20001334 = 0; *(uint32_t*)0x20001338 = 0; *(uint32_t*)0x2000133c = 0; *(uint32_t*)0x20001340 = 0; *(uint32_t*)0x20001344 = 0; *(uint32_t*)0x20001348 = 0; *(uint32_t*)0x2000134c = 0; *(uint32_t*)0x20001350 = 0; *(uint32_t*)0x20001354 = 0; *(uint32_t*)0x20001358 = 0; *(uint32_t*)0x2000135c = 0; *(uint32_t*)0x20001360 = 0; *(uint32_t*)0x20001364 = 0; *(uint32_t*)0x20001368 = 0; *(uint32_t*)0x2000136c = 0; *(uint32_t*)0x20001370 = 0; *(uint32_t*)0x20001374 = 0; *(uint32_t*)0x20001378 = 0; *(uint32_t*)0x2000137c = 0; *(uint32_t*)0x20001380 = 0; *(uint32_t*)0x20001384 = 0; *(uint32_t*)0x20001388 = 0; *(uint32_t*)0x2000138c = 0; *(uint32_t*)0x20001390 = 0; *(uint32_t*)0x20001394 = 0; *(uint32_t*)0x20001398 = 0; *(uint32_t*)0x2000139c = 0; *(uint32_t*)0x200013a0 = 0; *(uint32_t*)0x200013a4 = 0; *(uint32_t*)0x200013a8 = 0; *(uint32_t*)0x200013ac = 0; *(uint32_t*)0x200013b0 = 0; *(uint32_t*)0x200013b4 = 0; *(uint32_t*)0x200013b8 = 0; *(uint32_t*)0x200013bc = 0; *(uint32_t*)0x200013c0 = 0; *(uint32_t*)0x200013c4 = 0; *(uint32_t*)0x200013c8 = 0; *(uint32_t*)0x200013cc = 0; *(uint32_t*)0x200013d0 = 0; *(uint32_t*)0x200013d4 = 0; *(uint32_t*)0x200013d8 = 0; *(uint32_t*)0x200013dc = 0; *(uint32_t*)0x200013e0 = 0; *(uint32_t*)0x200013e4 = 0; *(uint32_t*)0x200013e8 = 0; *(uint32_t*)0x200013ec = 0; *(uint32_t*)0x200013f0 = 0; *(uint32_t*)0x200013f4 = 0; *(uint32_t*)0x200013f8 = 0; *(uint32_t*)0x200013fc = 0; *(uint32_t*)0x20001400 = 0; *(uint32_t*)0x20001404 = 0; *(uint32_t*)0x20001408 = 0; *(uint32_t*)0x2000140c = 0; *(uint32_t*)0x20001410 = 0; *(uint32_t*)0x20001414 = 0; *(uint32_t*)0x20001418 = 0; *(uint32_t*)0x2000141c = 0; *(uint32_t*)0x20001420 = 0; *(uint32_t*)0x20001424 = 0; *(uint32_t*)0x20001428 = 0; *(uint32_t*)0x2000142c = 0; *(uint32_t*)0x20001430 = 0; *(uint32_t*)0x20001434 = 0; *(uint32_t*)0x20001438 = 0; *(uint32_t*)0x2000143c = 0; *(uint32_t*)0x20001440 = 0; *(uint32_t*)0x20001444 = 0; *(uint32_t*)0x20001448 = 0; *(uint32_t*)0x2000144c = 0; *(uint32_t*)0x20001450 = 0; *(uint32_t*)0x20001454 = 0; *(uint32_t*)0x20001458 = 0; *(uint32_t*)0x2000145c = 0; *(uint32_t*)0x20001460 = 0; *(uint32_t*)0x20001464 = 0; *(uint32_t*)0x20001468 = 0; *(uint32_t*)0x2000146c = 0; *(uint32_t*)0x20001470 = 0; *(uint32_t*)0x20001474 = 0; *(uint32_t*)0x20001478 = 0; *(uint32_t*)0x2000147c = 0; *(uint32_t*)0x20001480 = 0; *(uint32_t*)0x20001484 = 0; *(uint32_t*)0x20001488 = 0; *(uint32_t*)0x2000148c = 0; *(uint32_t*)0x20001490 = 0; *(uint32_t*)0x20001494 = 0; *(uint32_t*)0x20001498 = 0; *(uint32_t*)0x2000149c = 0; *(uint32_t*)0x200014a0 = 0; *(uint32_t*)0x200014a4 = 0; *(uint32_t*)0x200014a8 = 0; *(uint32_t*)0x200014ac = 0; *(uint32_t*)0x200014b0 = 0; *(uint32_t*)0x200014b4 = 0; *(uint32_t*)0x200014b8 = 0; *(uint32_t*)0x200014bc = 0; *(uint32_t*)0x200014c0 = 0; *(uint32_t*)0x200014c4 = 0; *(uint32_t*)0x200014c8 = 0; *(uint32_t*)0x200014cc = 0; *(uint32_t*)0x200014d0 = 0; *(uint32_t*)0x200014d4 = 0; *(uint32_t*)0x200014d8 = 0; *(uint32_t*)0x200014dc = 0; *(uint32_t*)0x200014e0 = 0; *(uint32_t*)0x200014e4 = 0; *(uint32_t*)0x200014e8 = 0; *(uint32_t*)0x200014ec = 0; *(uint32_t*)0x200014f0 = 0; *(uint32_t*)0x200014f4 = 0; *(uint32_t*)0x200014f8 = 0; *(uint32_t*)0x200014fc = 0; *(uint32_t*)0x20001500 = 0; *(uint32_t*)0x20001504 = 0; *(uint32_t*)0x20001508 = 0; *(uint32_t*)0x2000150c = 0; *(uint32_t*)0x20001510 = 0; *(uint32_t*)0x20001514 = 0; *(uint32_t*)0x20001518 = 0; *(uint32_t*)0x2000151c = 0; *(uint32_t*)0x20001520 = 0; *(uint32_t*)0x20001524 = 0; *(uint32_t*)0x20001528 = 0; *(uint32_t*)0x2000152c = 0; *(uint32_t*)0x20001530 = 0; *(uint32_t*)0x20001534 = 0; *(uint32_t*)0x20001538 = 0; *(uint32_t*)0x2000153c = 0; *(uint32_t*)0x20001540 = 0; *(uint32_t*)0x20001544 = 0; *(uint32_t*)0x20001548 = 0; *(uint32_t*)0x2000154c = 0; *(uint32_t*)0x20001550 = 0; *(uint32_t*)0x20001554 = 0; *(uint32_t*)0x20001558 = 0; *(uint32_t*)0x2000155c = 0; *(uint32_t*)0x20001560 = 0; *(uint32_t*)0x20001564 = 0; *(uint32_t*)0x20001568 = 0; *(uint32_t*)0x2000156c = 0; *(uint32_t*)0x20001570 = 0; *(uint32_t*)0x20001574 = 0; *(uint32_t*)0x20001578 = 0; *(uint32_t*)0x2000157c = 0; *(uint32_t*)0x20001580 = 0; *(uint32_t*)0x20001584 = 0; *(uint32_t*)0x20001588 = 0; *(uint32_t*)0x2000158c = 0; *(uint32_t*)0x20001590 = 0; *(uint32_t*)0x20001594 = 0; *(uint32_t*)0x20001598 = 0; *(uint32_t*)0x2000159c = 0; *(uint32_t*)0x200015a0 = 0; *(uint32_t*)0x200015a4 = 0; *(uint32_t*)0x200015a8 = 0; *(uint32_t*)0x200015ac = 0; *(uint32_t*)0x200015b0 = 0; *(uint32_t*)0x200015b4 = 0; *(uint32_t*)0x200015b8 = 0; *(uint32_t*)0x200015bc = 0; *(uint32_t*)0x200015c0 = 0; *(uint32_t*)0x200015c4 = 0; *(uint32_t*)0x200015c8 = 0; *(uint32_t*)0x200015cc = 0; *(uint32_t*)0x200015d0 = 0; *(uint32_t*)0x200015d4 = 0; *(uint32_t*)0x200015d8 = 0; *(uint32_t*)0x200015dc = 0; *(uint32_t*)0x200015e0 = 0; *(uint32_t*)0x200015e4 = 0; *(uint32_t*)0x200015e8 = 0; *(uint32_t*)0x200015ec = 0; *(uint32_t*)0x200015f0 = 0; *(uint32_t*)0x200015f4 = 0; *(uint32_t*)0x200015f8 = 0; *(uint32_t*)0x200015fc = 0; *(uint32_t*)0x20001600 = 0; *(uint32_t*)0x20001604 = 0; *(uint32_t*)0x20001608 = 0; *(uint32_t*)0x2000160c = 0; *(uint32_t*)0x20001610 = 0; *(uint32_t*)0x20001614 = 0; *(uint32_t*)0x20001618 = 0; *(uint32_t*)0x2000161c = 0; *(uint32_t*)0x20001620 = 0; *(uint32_t*)0x20001624 = 0; *(uint32_t*)0x20001628 = 0; *(uint32_t*)0x2000162c = 0; *(uint32_t*)0x20001630 = 0; *(uint32_t*)0x20001634 = 0; *(uint32_t*)0x20001638 = 0; *(uint32_t*)0x2000163c = 0; *(uint32_t*)0x20001640 = 0; *(uint32_t*)0x20001644 = 0; *(uint32_t*)0x20001648 = 0; *(uint32_t*)0x2000164c = 0; *(uint32_t*)0x20001650 = 0; *(uint32_t*)0x20001654 = 0; *(uint32_t*)0x20001658 = 0; *(uint32_t*)0x2000165c = 0; *(uint32_t*)0x20001660 = 0; *(uint32_t*)0x20001664 = 0; *(uint32_t*)0x20001668 = 0; *(uint32_t*)0x2000166c = 0; *(uint32_t*)0x20001670 = 0; *(uint32_t*)0x20001674 = 0; *(uint32_t*)0x20001678 = 0; *(uint32_t*)0x2000167c = 0; *(uint32_t*)0x20001680 = 0; *(uint32_t*)0x20001684 = 0; *(uint32_t*)0x20001688 = 0; *(uint32_t*)0x2000168c = 0; *(uint32_t*)0x20001690 = 0; *(uint32_t*)0x20001694 = 0; *(uint32_t*)0x20001698 = 0; *(uint32_t*)0x2000169c = 0; *(uint32_t*)0x200016a0 = 0; *(uint32_t*)0x200016a4 = 0; *(uint32_t*)0x200016a8 = 0; *(uint32_t*)0x200016ac = 0; *(uint32_t*)0x200016b0 = 0; *(uint32_t*)0x200016b4 = 0; *(uint32_t*)0x200016b8 = 0; *(uint32_t*)0x200016bc = 0; *(uint32_t*)0x200016c0 = 0; *(uint32_t*)0x200016c4 = 0; *(uint32_t*)0x200016c8 = 0; *(uint32_t*)0x200016cc = 0; *(uint32_t*)0x200016d0 = 0; *(uint32_t*)0x200016d4 = 0; *(uint32_t*)0x200016d8 = 0; *(uint32_t*)0x200016dc = 0; *(uint32_t*)0x200016e0 = 0; *(uint32_t*)0x200016e4 = 0; *(uint32_t*)0x200016e8 = 0; *(uint32_t*)0x200016ec = 0; *(uint32_t*)0x200016f0 = 0; *(uint32_t*)0x200016f4 = 0; *(uint32_t*)0x200016f8 = 0; *(uint32_t*)0x200016fc = 0; *(uint32_t*)0x20001700 = 0; *(uint32_t*)0x20001704 = 0; *(uint32_t*)0x20001708 = 0; *(uint32_t*)0x2000170c = 0; *(uint32_t*)0x20001710 = 0; *(uint32_t*)0x20001714 = 0; *(uint32_t*)0x20001718 = 0; *(uint32_t*)0x2000171c = 0; *(uint32_t*)0x20001720 = 0; *(uint32_t*)0x20001724 = 0; *(uint32_t*)0x20001728 = 0; *(uint32_t*)0x2000172c = 0; *(uint32_t*)0x20001730 = 0; *(uint32_t*)0x20001734 = 0; *(uint32_t*)0x20001738 = 0; *(uint32_t*)0x2000173c = 0; *(uint32_t*)0x20001740 = 0; *(uint32_t*)0x20001744 = 0; *(uint32_t*)0x20001748 = 0; *(uint32_t*)0x2000174c = 0; *(uint32_t*)0x20001750 = 0; *(uint32_t*)0x20001754 = 0; *(uint32_t*)0x20001758 = 0; *(uint32_t*)0x2000175c = 0; *(uint32_t*)0x20001760 = 0; *(uint32_t*)0x20001764 = 0; *(uint32_t*)0x20001768 = 0; *(uint32_t*)0x2000176c = 0; *(uint32_t*)0x20001770 = 0; *(uint32_t*)0x20001774 = 0; *(uint32_t*)0x20001778 = 0; *(uint32_t*)0x2000177c = 0; *(uint32_t*)0x20001780 = 0; *(uint32_t*)0x20001784 = 0; *(uint32_t*)0x20001788 = 0; *(uint32_t*)0x2000178c = 0; *(uint32_t*)0x20001790 = 0; *(uint32_t*)0x20001794 = 0; *(uint32_t*)0x20001798 = 0; *(uint32_t*)0x2000179c = 0; *(uint32_t*)0x200017a0 = 0; *(uint32_t*)0x200017a4 = 0; *(uint32_t*)0x200017a8 = 0; *(uint32_t*)0x200017ac = 0; *(uint32_t*)0x200017b0 = 0; *(uint32_t*)0x200017b4 = 0; *(uint32_t*)0x200017b8 = 0; *(uint32_t*)0x200017bc = 0; *(uint32_t*)0x200017c0 = 0; *(uint32_t*)0x200017c4 = 0; *(uint32_t*)0x200017c8 = 0; *(uint32_t*)0x200017cc = 0; *(uint32_t*)0x200017d0 = 0; *(uint32_t*)0x200017d4 = 0; *(uint32_t*)0x200017d8 = 0; *(uint32_t*)0x200017dc = 0; *(uint32_t*)0x200017e0 = 0; *(uint32_t*)0x200017e4 = 0; *(uint32_t*)0x200017e8 = 0; *(uint32_t*)0x200017ec = 0; *(uint32_t*)0x200017f0 = 0; *(uint32_t*)0x200017f4 = 0; *(uint32_t*)0x200017f8 = 0; *(uint32_t*)0x200017fc = 0; *(uint32_t*)0x20001800 = 0; *(uint32_t*)0x20001804 = 0; *(uint32_t*)0x20001808 = 0; *(uint32_t*)0x2000180c = 0; *(uint32_t*)0x20001810 = 0; *(uint32_t*)0x20001814 = 0; *(uint32_t*)0x20001818 = 0; *(uint32_t*)0x2000181c = 0; *(uint32_t*)0x20001820 = 0; *(uint32_t*)0x20001824 = 0; *(uint32_t*)0x20001828 = 0; *(uint32_t*)0x2000182c = 0; *(uint32_t*)0x20001830 = 0; *(uint32_t*)0x20001834 = 0; *(uint32_t*)0x20001838 = 0; *(uint32_t*)0x2000183c = 0; *(uint32_t*)0x20001840 = 0; *(uint32_t*)0x20001844 = 0; *(uint32_t*)0x20001848 = 0; *(uint32_t*)0x2000184c = 0; *(uint32_t*)0x20001850 = 0; *(uint32_t*)0x20001854 = 0; *(uint32_t*)0x20001858 = 0; *(uint32_t*)0x2000185c = 0; *(uint32_t*)0x20001860 = 0; *(uint32_t*)0x20001864 = 0; *(uint32_t*)0x20001868 = 0; *(uint32_t*)0x2000186c = 0; *(uint32_t*)0x20001870 = 0; *(uint32_t*)0x20001874 = 0; *(uint32_t*)0x20001878 = 0; *(uint32_t*)0x2000187c = 0; *(uint32_t*)0x20001880 = 0; *(uint32_t*)0x20001884 = 0; *(uint32_t*)0x20001888 = 0; *(uint32_t*)0x2000188c = 0; *(uint32_t*)0x20001890 = 0; *(uint32_t*)0x20001894 = 0; *(uint32_t*)0x20001898 = 0; *(uint32_t*)0x2000189c = 0; *(uint32_t*)0x200018a0 = 0; *(uint32_t*)0x200018a4 = 0; *(uint32_t*)0x200018a8 = 0; *(uint32_t*)0x200018ac = 0; *(uint32_t*)0x200018b0 = 0; *(uint32_t*)0x200018b4 = 0; *(uint32_t*)0x200018b8 = 0; *(uint32_t*)0x200018bc = 0; *(uint32_t*)0x200018c0 = 0; *(uint32_t*)0x200018c4 = 0; *(uint32_t*)0x200018c8 = 0; *(uint32_t*)0x200018cc = 0; *(uint32_t*)0x200018d0 = 0; *(uint32_t*)0x200018d4 = 0; *(uint32_t*)0x200018d8 = 0; *(uint32_t*)0x200018dc = 0; *(uint32_t*)0x200018e0 = 0; *(uint32_t*)0x200018e4 = 0; *(uint32_t*)0x200018e8 = 0; *(uint32_t*)0x200018ec = 0; *(uint32_t*)0x200018f0 = 0; *(uint32_t*)0x200018f4 = 0; *(uint32_t*)0x200018f8 = 0; *(uint32_t*)0x200018fc = 0; *(uint32_t*)0x20001900 = 0; *(uint32_t*)0x20001904 = 0; *(uint32_t*)0x20001908 = 0; *(uint32_t*)0x2000190c = 0; *(uint32_t*)0x20001910 = 0; *(uint32_t*)0x20001914 = 0; *(uint32_t*)0x20001918 = 0; *(uint32_t*)0x2000191c = 0; *(uint32_t*)0x20001920 = 0; *(uint32_t*)0x20001924 = 0; *(uint32_t*)0x20001928 = 0; *(uint32_t*)0x2000192c = 0; *(uint32_t*)0x20001930 = 0; *(uint32_t*)0x20001934 = 0; *(uint32_t*)0x20001938 = 0; *(uint32_t*)0x2000193c = 0; *(uint32_t*)0x20001940 = 0; *(uint32_t*)0x20001944 = 0; *(uint32_t*)0x20001948 = 0; *(uint32_t*)0x2000194c = 0; *(uint32_t*)0x20001950 = 0; *(uint32_t*)0x20001954 = 0; *(uint32_t*)0x20001958 = 0; *(uint32_t*)0x2000195c = 0; *(uint32_t*)0x20001960 = 0; *(uint32_t*)0x20001964 = 0; *(uint32_t*)0x20001968 = 0; *(uint32_t*)0x2000196c = 0; *(uint32_t*)0x20001970 = 0; *(uint32_t*)0x20001974 = 0; *(uint32_t*)0x20001978 = 0; *(uint32_t*)0x2000197c = 0; *(uint32_t*)0x20001980 = 0; *(uint32_t*)0x20001984 = 0; *(uint32_t*)0x20001988 = 0; *(uint32_t*)0x2000198c = 0; *(uint32_t*)0x20001990 = 0; *(uint32_t*)0x20001994 = 0; *(uint32_t*)0x20001998 = 0; *(uint32_t*)0x2000199c = 0; *(uint32_t*)0x200019a0 = 0; *(uint32_t*)0x200019a4 = 0; *(uint32_t*)0x200019a8 = 0; *(uint32_t*)0x200019ac = 0; *(uint32_t*)0x200019b0 = 0; *(uint32_t*)0x200019b4 = 0; *(uint32_t*)0x200019b8 = 0; *(uint32_t*)0x200019bc = 0; *(uint32_t*)0x200019c0 = 0; *(uint32_t*)0x200019c4 = 0; *(uint32_t*)0x200019c8 = 0; *(uint32_t*)0x200019cc = 0; *(uint32_t*)0x200019d0 = 0; *(uint32_t*)0x200019d4 = 0; *(uint32_t*)0x200019d8 = 0; *(uint32_t*)0x200019dc = 0; *(uint32_t*)0x200019e0 = 0; *(uint32_t*)0x200019e4 = 0; *(uint32_t*)0x200019e8 = 0; *(uint32_t*)0x200019ec = 0; *(uint32_t*)0x200019f0 = 0; *(uint32_t*)0x200019f4 = 0; *(uint32_t*)0x200019f8 = 0; *(uint32_t*)0x200019fc = 0; *(uint32_t*)0x20001a00 = 0; *(uint32_t*)0x20001a04 = 0; *(uint32_t*)0x20001a08 = 0; *(uint32_t*)0x20001a0c = 0; *(uint32_t*)0x20001a10 = 0; *(uint32_t*)0x20001a14 = 0; *(uint32_t*)0x20001a18 = 0; *(uint32_t*)0x20001a1c = 0; *(uint32_t*)0x20001a20 = 0; *(uint32_t*)0x20001a24 = 0; *(uint32_t*)0x20001a28 = 0; *(uint32_t*)0x20001a2c = 0; *(uint32_t*)0x20001a30 = 0; *(uint32_t*)0x20001a34 = 0; *(uint32_t*)0x20001a38 = 0; *(uint32_t*)0x20001a3c = 0; *(uint32_t*)0x20001a40 = 0; *(uint32_t*)0x20001a44 = 0; *(uint32_t*)0x20001a48 = 0; *(uint32_t*)0x20001a4c = 0; *(uint32_t*)0x20001a50 = 0; *(uint32_t*)0x20001a54 = 0; *(uint32_t*)0x20001a58 = 0; *(uint32_t*)0x20001a5c = 0; *(uint32_t*)0x20001a60 = 0; *(uint32_t*)0x20001a64 = 0; *(uint32_t*)0x20001a68 = 0; *(uint32_t*)0x20001a6c = 0; *(uint32_t*)0x20001a70 = 0; *(uint32_t*)0x20001a74 = 0; *(uint32_t*)0x20001a78 = 0; *(uint32_t*)0x20001a7c = 0; *(uint32_t*)0x20001a80 = 0; *(uint32_t*)0x20001a84 = 0; *(uint32_t*)0x20001a88 = 0; *(uint32_t*)0x20001a8c = 0; *(uint32_t*)0x20001a90 = 0; *(uint32_t*)0x20001a94 = 0; *(uint32_t*)0x20001a98 = 0; *(uint32_t*)0x20001a9c = 0; *(uint32_t*)0x20001aa0 = 0; *(uint32_t*)0x20001aa4 = 0; *(uint32_t*)0x20001aa8 = 0; *(uint32_t*)0x20001aac = 0; *(uint32_t*)0x20001ab0 = 0; *(uint32_t*)0x20001ab4 = 0; *(uint32_t*)0x20001ab8 = 0; *(uint32_t*)0x20001abc = 0; *(uint32_t*)0x20001ac0 = 0; *(uint32_t*)0x20001ac4 = 0; *(uint32_t*)0x20001ac8 = 0; *(uint32_t*)0x20001acc = 0; *(uint32_t*)0x20001ad0 = 0; *(uint32_t*)0x20001ad4 = 0; *(uint32_t*)0x20001ad8 = 0; syscall(__NR_ioctl, -1, 0x501c4814, 0x20000ac0ul); memcpy((void*)0x20002980, "/dev/input/event#\000", 18); res = -1; res = syz_open_dev(0x20002980, 0, 0); if (res != -1) r[1] = res; *(uint32_t*)0x20000100 = 3; syscall(__NR_ioctl, r[1], 0x5452, 0x20000100ul); memcpy((void*)0x20000040, "/dev/input/event#\000", 18); res = -1; res = syz_open_dev(0x20000040, 0, 0x1a9402); if (res != -1) r[2] = res; memset((void*)0x20000080, 38, 1); syscall(__NR_write, r[2], 0x20000080ul, 0x3888ul); } 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); use_temporary_dir(); do_sandbox_none(); return 0; }