// https://syzkaller.appspot.com/bug?id=a35a788ed46125e133d25da7d287815c1b813393 // 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 #include #include #include #include #include #include #include #include #include #include #include #include #ifndef __NR_memfd_create #define __NR_memfd_create 319 #endif static unsigned long long procid; static __thread int clone_ongoing; static __thread int skip_segv; static __thread jmp_buf segv_env; static void segv_handler(int sig, siginfo_t* info, void* ctx) { if (__atomic_load_n(&clone_ongoing, __ATOMIC_RELAXED) != 0) { exit(sig); } uintptr_t addr = (uintptr_t)info->si_addr; const uintptr_t prog_start = 1 << 20; const uintptr_t prog_end = 100 << 20; int skip = __atomic_load_n(&skip_segv, __ATOMIC_RELAXED) != 0; int valid = addr < prog_start || addr > prog_end; if (skip && valid) { _longjmp(segv_env, 1); } exit(sig); } static void install_segv_handler(void) { 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(...) \ ({ \ int ok = 1; \ __atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST); \ if (_setjmp(segv_env) == 0) { \ __VA_ARGS__; \ } else \ ok = 0; \ __atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST); \ ok; \ }) static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } #define BITMASK(bf_off, bf_len) (((1ull << (bf_len)) - 1) << (bf_off)) #define STORE_BY_BITMASK(type, htobe, addr, val, bf_off, bf_len) \ *(type*)(addr) = \ htobe((htobe(*(type*)(addr)) & ~BITMASK((bf_off), (bf_len))) | \ (((type)(val) << (bf_off)) & BITMASK((bf_off), (bf_len)))) static 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 void netlink_nest(struct nlmsg* nlmsg, int typ) { struct nlattr* attr = (struct nlattr*)nlmsg->pos; attr->nla_type = typ; nlmsg->pos += sizeof(*attr); nlmsg->nested[nlmsg->nesting++] = attr; } static void netlink_done(struct nlmsg* nlmsg) { struct nlattr* attr = nlmsg->nested[--nlmsg->nesting]; attr->nla_len = nlmsg->pos - (char*)attr; } 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 int netlink_next_msg(struct nlmsg* nlmsg, unsigned int offset, unsigned int total_len) { struct nlmsghdr* hdr = (struct nlmsghdr*)(nlmsg->buf + offset); if (offset == total_len || offset + hdr->nlmsg_len > total_len) return -1; return hdr->nlmsg_len; } static void netlink_add_device_impl(struct nlmsg* nlmsg, const char* type, const char* name, bool up) { struct ifinfomsg hdr; memset(&hdr, 0, sizeof(hdr)); if (up) hdr.ifi_flags = hdr.ifi_change = IFF_UP; netlink_init(nlmsg, RTM_NEWLINK, NLM_F_EXCL | NLM_F_CREATE, &hdr, sizeof(hdr)); if (name) netlink_attr(nlmsg, IFLA_IFNAME, name, strlen(name)); netlink_nest(nlmsg, IFLA_LINKINFO); netlink_attr(nlmsg, IFLA_INFO_KIND, type, strlen(type)); } static void netlink_add_device(struct nlmsg* nlmsg, int sock, const char* type, const char* name) { netlink_add_device_impl(nlmsg, type, name, false); netlink_done(nlmsg); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static void netlink_add_veth(struct nlmsg* nlmsg, int sock, const char* name, const char* peer) { netlink_add_device_impl(nlmsg, "veth", name, false); netlink_nest(nlmsg, IFLA_INFO_DATA); netlink_nest(nlmsg, VETH_INFO_PEER); nlmsg->pos += sizeof(struct ifinfomsg); netlink_attr(nlmsg, IFLA_IFNAME, peer, strlen(peer)); netlink_done(nlmsg); netlink_done(nlmsg); netlink_done(nlmsg); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static void netlink_add_xfrm(struct nlmsg* nlmsg, int sock, const char* name) { netlink_add_device_impl(nlmsg, "xfrm", name, true); netlink_nest(nlmsg, IFLA_INFO_DATA); int if_id = 1; netlink_attr(nlmsg, 2, &if_id, sizeof(if_id)); netlink_done(nlmsg); netlink_done(nlmsg); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static void netlink_add_hsr(struct nlmsg* nlmsg, int sock, const char* name, const char* slave1, const char* slave2) { netlink_add_device_impl(nlmsg, "hsr", name, false); netlink_nest(nlmsg, IFLA_INFO_DATA); int ifindex1 = if_nametoindex(slave1); netlink_attr(nlmsg, IFLA_HSR_SLAVE1, &ifindex1, sizeof(ifindex1)); int ifindex2 = if_nametoindex(slave2); netlink_attr(nlmsg, IFLA_HSR_SLAVE2, &ifindex2, sizeof(ifindex2)); netlink_done(nlmsg); netlink_done(nlmsg); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static void netlink_add_linked(struct nlmsg* nlmsg, int sock, const char* type, const char* name, const char* link) { netlink_add_device_impl(nlmsg, type, name, false); netlink_done(nlmsg); int ifindex = if_nametoindex(link); netlink_attr(nlmsg, IFLA_LINK, &ifindex, sizeof(ifindex)); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static void netlink_add_vlan(struct nlmsg* nlmsg, int sock, const char* name, const char* link, uint16_t id, uint16_t proto) { netlink_add_device_impl(nlmsg, "vlan", name, false); netlink_nest(nlmsg, IFLA_INFO_DATA); netlink_attr(nlmsg, IFLA_VLAN_ID, &id, sizeof(id)); netlink_attr(nlmsg, IFLA_VLAN_PROTOCOL, &proto, sizeof(proto)); netlink_done(nlmsg); netlink_done(nlmsg); int ifindex = if_nametoindex(link); netlink_attr(nlmsg, IFLA_LINK, &ifindex, sizeof(ifindex)); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static void netlink_add_macvlan(struct nlmsg* nlmsg, int sock, const char* name, const char* link) { netlink_add_device_impl(nlmsg, "macvlan", name, false); netlink_nest(nlmsg, IFLA_INFO_DATA); uint32_t mode = MACVLAN_MODE_BRIDGE; netlink_attr(nlmsg, IFLA_MACVLAN_MODE, &mode, sizeof(mode)); netlink_done(nlmsg); netlink_done(nlmsg); int ifindex = if_nametoindex(link); netlink_attr(nlmsg, IFLA_LINK, &ifindex, sizeof(ifindex)); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static void netlink_add_geneve(struct nlmsg* nlmsg, int sock, const char* name, uint32_t vni, struct in_addr* addr4, struct in6_addr* addr6) { netlink_add_device_impl(nlmsg, "geneve", name, false); netlink_nest(nlmsg, IFLA_INFO_DATA); netlink_attr(nlmsg, IFLA_GENEVE_ID, &vni, sizeof(vni)); if (addr4) netlink_attr(nlmsg, IFLA_GENEVE_REMOTE, addr4, sizeof(*addr4)); if (addr6) netlink_attr(nlmsg, IFLA_GENEVE_REMOTE6, addr6, sizeof(*addr6)); netlink_done(nlmsg); netlink_done(nlmsg); int err = netlink_send(nlmsg, sock); if (err < 0) { } } #define IFLA_IPVLAN_FLAGS 2 #define IPVLAN_MODE_L3S 2 #undef IPVLAN_F_VEPA #define IPVLAN_F_VEPA 2 static void netlink_add_ipvlan(struct nlmsg* nlmsg, int sock, const char* name, const char* link, uint16_t mode, uint16_t flags) { netlink_add_device_impl(nlmsg, "ipvlan", name, false); netlink_nest(nlmsg, IFLA_INFO_DATA); netlink_attr(nlmsg, IFLA_IPVLAN_MODE, &mode, sizeof(mode)); netlink_attr(nlmsg, IFLA_IPVLAN_FLAGS, &flags, sizeof(flags)); netlink_done(nlmsg); netlink_done(nlmsg); int ifindex = if_nametoindex(link); netlink_attr(nlmsg, IFLA_LINK, &ifindex, sizeof(ifindex)); int err = netlink_send(nlmsg, sock); if (err < 0) { } } 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); } #define DEVLINK_FAMILY_NAME "devlink" #define DEVLINK_CMD_PORT_GET 5 #define DEVLINK_ATTR_BUS_NAME 1 #define DEVLINK_ATTR_DEV_NAME 2 #define DEVLINK_ATTR_NETDEV_NAME 7 static struct nlmsg nlmsg2; static void initialize_devlink_ports(const char* bus_name, const char* dev_name, const char* netdev_prefix) { struct genlmsghdr genlhdr; int len, total_len, id, err, offset; uint16_t netdev_index; int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC); if (sock == -1) exit(1); int rtsock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); if (rtsock == -1) exit(1); id = netlink_query_family_id(&nlmsg, sock, DEVLINK_FAMILY_NAME, true); if (id == -1) goto error; memset(&genlhdr, 0, sizeof(genlhdr)); genlhdr.cmd = DEVLINK_CMD_PORT_GET; netlink_init(&nlmsg, id, NLM_F_DUMP, &genlhdr, sizeof(genlhdr)); netlink_attr(&nlmsg, DEVLINK_ATTR_BUS_NAME, bus_name, strlen(bus_name) + 1); netlink_attr(&nlmsg, DEVLINK_ATTR_DEV_NAME, dev_name, strlen(dev_name) + 1); err = netlink_send_ext(&nlmsg, sock, id, &total_len, true); if (err < 0) { goto error; } offset = 0; netdev_index = 0; while ((len = netlink_next_msg(&nlmsg, offset, total_len)) != -1) { struct nlattr* attr = (struct nlattr*)(nlmsg.buf + offset + NLMSG_HDRLEN + NLMSG_ALIGN(sizeof(genlhdr))); for (; (char*)attr < nlmsg.buf + offset + len; attr = (struct nlattr*)((char*)attr + NLMSG_ALIGN(attr->nla_len))) { if (attr->nla_type == DEVLINK_ATTR_NETDEV_NAME) { char* port_name; char netdev_name[IFNAMSIZ]; port_name = (char*)(attr + 1); snprintf(netdev_name, sizeof(netdev_name), "%s%d", netdev_prefix, netdev_index); netlink_device_change(&nlmsg2, rtsock, port_name, true, 0, 0, 0, netdev_name); break; } } offset += len; netdev_index++; } error: close(rtsock); close(sock); } #define WIFI_INITIAL_DEVICE_COUNT 2 #define WIFI_MAC_BASE \ { \ 0x08, 0x02, 0x11, 0x00, 0x00, 0x00 \ } #define WIFI_IBSS_BSSID \ { \ 0x50, 0x50, 0x50, 0x50, 0x50, 0x50 \ } #define WIFI_IBSS_SSID \ { \ 0x10, 0x10, 0x10, 0x10, 0x10, 0x10 \ } #define WIFI_DEFAULT_FREQUENCY 2412 #define WIFI_DEFAULT_SIGNAL 0 #define WIFI_DEFAULT_RX_RATE 1 #define HWSIM_CMD_REGISTER 1 #define HWSIM_CMD_FRAME 2 #define HWSIM_CMD_NEW_RADIO 4 #define HWSIM_ATTR_SUPPORT_P2P_DEVICE 14 #define HWSIM_ATTR_PERM_ADDR 22 #define IF_OPER_UP 6 struct join_ibss_props { int wiphy_freq; bool wiphy_freq_fixed; uint8_t* mac; uint8_t* ssid; int ssid_len; }; static int set_interface_state(const char* interface_name, int on) { struct ifreq ifr; int sock = socket(AF_INET, SOCK_DGRAM, 0); if (sock < 0) { return -1; } memset(&ifr, 0, sizeof(ifr)); strcpy(ifr.ifr_name, interface_name); int ret = ioctl(sock, SIOCGIFFLAGS, &ifr); if (ret < 0) { close(sock); return -1; } if (on) ifr.ifr_flags |= IFF_UP; else ifr.ifr_flags &= ~IFF_UP; ret = ioctl(sock, SIOCSIFFLAGS, &ifr); close(sock); if (ret < 0) { return -1; } return 0; } static int nl80211_set_interface(struct nlmsg* nlmsg, int sock, int nl80211_family, uint32_t ifindex, uint32_t iftype) { struct genlmsghdr genlhdr; memset(&genlhdr, 0, sizeof(genlhdr)); genlhdr.cmd = NL80211_CMD_SET_INTERFACE; netlink_init(nlmsg, nl80211_family, 0, &genlhdr, sizeof(genlhdr)); netlink_attr(nlmsg, NL80211_ATTR_IFINDEX, &ifindex, sizeof(ifindex)); netlink_attr(nlmsg, NL80211_ATTR_IFTYPE, &iftype, sizeof(iftype)); int err = netlink_send(nlmsg, sock); if (err < 0) { } return err; } static int nl80211_join_ibss(struct nlmsg* nlmsg, int sock, int nl80211_family, uint32_t ifindex, struct join_ibss_props* props) { struct genlmsghdr genlhdr; memset(&genlhdr, 0, sizeof(genlhdr)); genlhdr.cmd = NL80211_CMD_JOIN_IBSS; netlink_init(nlmsg, nl80211_family, 0, &genlhdr, sizeof(genlhdr)); netlink_attr(nlmsg, NL80211_ATTR_IFINDEX, &ifindex, sizeof(ifindex)); netlink_attr(nlmsg, NL80211_ATTR_SSID, props->ssid, props->ssid_len); netlink_attr(nlmsg, NL80211_ATTR_WIPHY_FREQ, &(props->wiphy_freq), sizeof(props->wiphy_freq)); if (props->mac) netlink_attr(nlmsg, NL80211_ATTR_MAC, props->mac, ETH_ALEN); if (props->wiphy_freq_fixed) netlink_attr(nlmsg, NL80211_ATTR_FREQ_FIXED, NULL, 0); int err = netlink_send(nlmsg, sock); if (err < 0) { } return err; } static int get_ifla_operstate(struct nlmsg* nlmsg, int ifindex) { struct ifinfomsg info; memset(&info, 0, sizeof(info)); info.ifi_family = AF_UNSPEC; info.ifi_index = ifindex; int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); if (sock == -1) { return -1; } netlink_init(nlmsg, RTM_GETLINK, 0, &info, sizeof(info)); int n; int err = netlink_send_ext(nlmsg, sock, RTM_NEWLINK, &n, true); close(sock); if (err) { return -1; } struct rtattr* attr = IFLA_RTA(NLMSG_DATA(nlmsg->buf)); for (; RTA_OK(attr, n); attr = RTA_NEXT(attr, n)) { if (attr->rta_type == IFLA_OPERSTATE) return *((int32_t*)RTA_DATA(attr)); } return -1; } static int await_ifla_operstate(struct nlmsg* nlmsg, char* interface, int operstate) { int ifindex = if_nametoindex(interface); while (true) { usleep(1000); int ret = get_ifla_operstate(nlmsg, ifindex); if (ret < 0) return ret; if (ret == operstate) return 0; } return 0; } static int nl80211_setup_ibss_interface(struct nlmsg* nlmsg, int sock, int nl80211_family_id, char* interface, struct join_ibss_props* ibss_props) { int ifindex = if_nametoindex(interface); if (ifindex == 0) { return -1; } int ret = nl80211_set_interface(nlmsg, sock, nl80211_family_id, ifindex, NL80211_IFTYPE_ADHOC); if (ret < 0) { return -1; } ret = set_interface_state(interface, 1); if (ret < 0) { return -1; } ret = nl80211_join_ibss(nlmsg, sock, nl80211_family_id, ifindex, ibss_props); if (ret < 0) { return -1; } return 0; } static int hwsim80211_create_device(struct nlmsg* nlmsg, int sock, int hwsim_family, uint8_t mac_addr[ETH_ALEN]) { struct genlmsghdr genlhdr; memset(&genlhdr, 0, sizeof(genlhdr)); genlhdr.cmd = HWSIM_CMD_NEW_RADIO; netlink_init(nlmsg, hwsim_family, 0, &genlhdr, sizeof(genlhdr)); netlink_attr(nlmsg, HWSIM_ATTR_SUPPORT_P2P_DEVICE, NULL, 0); netlink_attr(nlmsg, HWSIM_ATTR_PERM_ADDR, mac_addr, ETH_ALEN); int err = netlink_send(nlmsg, sock); if (err < 0) { } return err; } static void initialize_wifi_devices(void) { int rfkill = open("/dev/rfkill", O_RDWR); if (rfkill == -1) { if (errno != ENOENT && errno != EACCES) exit(1); } else { struct rfkill_event event = {0}; event.type = RFKILL_TYPE_ALL; event.op = RFKILL_OP_CHANGE_ALL; if (write(rfkill, &event, sizeof(event)) != (ssize_t)(sizeof(event))) exit(1); close(rfkill); } uint8_t mac_addr[6] = WIFI_MAC_BASE; int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC); if (sock < 0) { return; } int hwsim_family_id = netlink_query_family_id(&nlmsg, sock, "MAC80211_HWSIM", true); int nl80211_family_id = netlink_query_family_id(&nlmsg, sock, "nl80211", true); uint8_t ssid[] = WIFI_IBSS_SSID; uint8_t bssid[] = WIFI_IBSS_BSSID; struct join_ibss_props ibss_props = {.wiphy_freq = WIFI_DEFAULT_FREQUENCY, .wiphy_freq_fixed = true, .mac = bssid, .ssid = ssid, .ssid_len = sizeof(ssid)}; for (int device_id = 0; device_id < WIFI_INITIAL_DEVICE_COUNT; device_id++) { mac_addr[5] = device_id; int ret = hwsim80211_create_device(&nlmsg, sock, hwsim_family_id, mac_addr); if (ret < 0) exit(1); char interface[6] = "wlan0"; interface[4] += device_id; if (nl80211_setup_ibss_interface(&nlmsg, sock, nl80211_family_id, interface, &ibss_props) < 0) exit(1); } for (int device_id = 0; device_id < WIFI_INITIAL_DEVICE_COUNT; device_id++) { char interface[6] = "wlan0"; interface[4] += device_id; int ret = await_ifla_operstate(&nlmsg, interface, IF_OPER_UP); if (ret < 0) exit(1); } close(sock); } #define DEV_IPV4 "172.20.20.%d" #define DEV_IPV6 "fe80::%02x" #define DEV_MAC 0x00aaaaaaaaaa static void netdevsim_add(unsigned int addr, unsigned int port_count) { write_file("/sys/bus/netdevsim/del_device", "%u", addr); if (write_file("/sys/bus/netdevsim/new_device", "%u %u", addr, port_count)) { char buf[32]; snprintf(buf, sizeof(buf), "netdevsim%d", addr); initialize_devlink_ports("netdevsim", buf, "netdevsim"); } } #define WG_GENL_NAME "wireguard" enum wg_cmd { WG_CMD_GET_DEVICE, WG_CMD_SET_DEVICE, }; enum wgdevice_attribute { WGDEVICE_A_UNSPEC, WGDEVICE_A_IFINDEX, WGDEVICE_A_IFNAME, WGDEVICE_A_PRIVATE_KEY, WGDEVICE_A_PUBLIC_KEY, WGDEVICE_A_FLAGS, WGDEVICE_A_LISTEN_PORT, WGDEVICE_A_FWMARK, WGDEVICE_A_PEERS, }; enum wgpeer_attribute { WGPEER_A_UNSPEC, WGPEER_A_PUBLIC_KEY, WGPEER_A_PRESHARED_KEY, WGPEER_A_FLAGS, WGPEER_A_ENDPOINT, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL, WGPEER_A_LAST_HANDSHAKE_TIME, WGPEER_A_RX_BYTES, WGPEER_A_TX_BYTES, WGPEER_A_ALLOWEDIPS, WGPEER_A_PROTOCOL_VERSION, }; enum wgallowedip_attribute { WGALLOWEDIP_A_UNSPEC, WGALLOWEDIP_A_FAMILY, WGALLOWEDIP_A_IPADDR, WGALLOWEDIP_A_CIDR_MASK, }; static void netlink_wireguard_setup(void) { const char ifname_a[] = "wg0"; const char ifname_b[] = "wg1"; const char ifname_c[] = "wg2"; const char private_a[] = "\xa0\x5c\xa8\x4f\x6c\x9c\x8e\x38\x53\xe2\xfd\x7a\x70\xae\x0f\xb2\x0f\xa1" "\x52\x60\x0c\xb0\x08\x45\x17\x4f\x08\x07\x6f\x8d\x78\x43"; const char private_b[] = "\xb0\x80\x73\xe8\xd4\x4e\x91\xe3\xda\x92\x2c\x22\x43\x82\x44\xbb\x88\x5c" "\x69\xe2\x69\xc8\xe9\xd8\x35\xb1\x14\x29\x3a\x4d\xdc\x6e"; const char private_c[] = "\xa0\xcb\x87\x9a\x47\xf5\xbc\x64\x4c\x0e\x69\x3f\xa6\xd0\x31\xc7\x4a\x15" "\x53\xb6\xe9\x01\xb9\xff\x2f\x51\x8c\x78\x04\x2f\xb5\x42"; const char public_a[] = "\x97\x5c\x9d\x81\xc9\x83\xc8\x20\x9e\xe7\x81\x25\x4b\x89\x9f\x8e\xd9\x25" "\xae\x9f\x09\x23\xc2\x3c\x62\xf5\x3c\x57\xcd\xbf\x69\x1c"; const char public_b[] = "\xd1\x73\x28\x99\xf6\x11\xcd\x89\x94\x03\x4d\x7f\x41\x3d\xc9\x57\x63\x0e" "\x54\x93\xc2\x85\xac\xa4\x00\x65\xcb\x63\x11\xbe\x69\x6b"; const char public_c[] = "\xf4\x4d\xa3\x67\xa8\x8e\xe6\x56\x4f\x02\x02\x11\x45\x67\x27\x08\x2f\x5c" "\xeb\xee\x8b\x1b\xf5\xeb\x73\x37\x34\x1b\x45\x9b\x39\x22"; const uint16_t listen_a = 20001; const uint16_t listen_b = 20002; const uint16_t listen_c = 20003; const uint16_t af_inet = AF_INET; const uint16_t af_inet6 = AF_INET6; const struct sockaddr_in endpoint_b_v4 = { .sin_family = AF_INET, .sin_port = htons(listen_b), .sin_addr = {htonl(INADDR_LOOPBACK)}}; const struct sockaddr_in endpoint_c_v4 = { .sin_family = AF_INET, .sin_port = htons(listen_c), .sin_addr = {htonl(INADDR_LOOPBACK)}}; struct sockaddr_in6 endpoint_a_v6 = {.sin6_family = AF_INET6, .sin6_port = htons(listen_a)}; endpoint_a_v6.sin6_addr = in6addr_loopback; struct sockaddr_in6 endpoint_c_v6 = {.sin6_family = AF_INET6, .sin6_port = htons(listen_c)}; endpoint_c_v6.sin6_addr = in6addr_loopback; const struct in_addr first_half_v4 = {0}; const struct in_addr second_half_v4 = {(uint32_t)htonl(128 << 24)}; const struct in6_addr first_half_v6 = {{{0}}}; const struct in6_addr second_half_v6 = {{{0x80}}}; const uint8_t half_cidr = 1; const uint16_t persistent_keepalives[] = {1, 3, 7, 9, 14, 19}; struct genlmsghdr genlhdr = {.cmd = WG_CMD_SET_DEVICE, .version = 1}; int sock; int id, err; sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC); if (sock == -1) { return; } id = netlink_query_family_id(&nlmsg, sock, WG_GENL_NAME, true); if (id == -1) goto error; netlink_init(&nlmsg, id, 0, &genlhdr, sizeof(genlhdr)); netlink_attr(&nlmsg, WGDEVICE_A_IFNAME, ifname_a, strlen(ifname_a) + 1); netlink_attr(&nlmsg, WGDEVICE_A_PRIVATE_KEY, private_a, 32); netlink_attr(&nlmsg, WGDEVICE_A_LISTEN_PORT, &listen_a, 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGDEVICE_A_PEERS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_b, 32); netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_b_v4, sizeof(endpoint_b_v4)); netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL, &persistent_keepalives[0], 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v4, sizeof(first_half_v4)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v6, sizeof(first_half_v6)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_c, 32); netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_c_v6, sizeof(endpoint_c_v6)); netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL, &persistent_keepalives[1], 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v4, sizeof(second_half_v4)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v6, sizeof(second_half_v6)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); err = netlink_send(&nlmsg, sock); if (err < 0) { } netlink_init(&nlmsg, id, 0, &genlhdr, sizeof(genlhdr)); netlink_attr(&nlmsg, WGDEVICE_A_IFNAME, ifname_b, strlen(ifname_b) + 1); netlink_attr(&nlmsg, WGDEVICE_A_PRIVATE_KEY, private_b, 32); netlink_attr(&nlmsg, WGDEVICE_A_LISTEN_PORT, &listen_b, 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGDEVICE_A_PEERS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_a, 32); netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_a_v6, sizeof(endpoint_a_v6)); netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL, &persistent_keepalives[2], 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v4, sizeof(first_half_v4)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v6, sizeof(first_half_v6)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_c, 32); netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_c_v4, sizeof(endpoint_c_v4)); netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL, &persistent_keepalives[3], 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v4, sizeof(second_half_v4)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v6, sizeof(second_half_v6)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); err = netlink_send(&nlmsg, sock); if (err < 0) { } netlink_init(&nlmsg, id, 0, &genlhdr, sizeof(genlhdr)); netlink_attr(&nlmsg, WGDEVICE_A_IFNAME, ifname_c, strlen(ifname_c) + 1); netlink_attr(&nlmsg, WGDEVICE_A_PRIVATE_KEY, private_c, 32); netlink_attr(&nlmsg, WGDEVICE_A_LISTEN_PORT, &listen_c, 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGDEVICE_A_PEERS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_a, 32); netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_a_v6, sizeof(endpoint_a_v6)); netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL, &persistent_keepalives[4], 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v4, sizeof(first_half_v4)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v6, sizeof(first_half_v6)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_b, 32); netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_b_v4, sizeof(endpoint_b_v4)); netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL, &persistent_keepalives[5], 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v4, sizeof(second_half_v4)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v6, sizeof(second_half_v6)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); err = netlink_send(&nlmsg, sock); if (err < 0) { } error: close(sock); } static void initialize_netdevices(void) { char netdevsim[16]; sprintf(netdevsim, "netdevsim%d", (int)procid); struct { const char* type; const char* dev; } devtypes[] = { {"ip6gretap", "ip6gretap0"}, {"bridge", "bridge0"}, {"vcan", "vcan0"}, {"bond", "bond0"}, {"team", "team0"}, {"dummy", "dummy0"}, {"nlmon", "nlmon0"}, {"caif", "caif0"}, {"batadv", "batadv0"}, {"vxcan", "vxcan1"}, {"veth", 0}, {"wireguard", "wg0"}, {"wireguard", "wg1"}, {"wireguard", "wg2"}, }; const char* devmasters[] = {"bridge", "bond", "team", "batadv"}; struct { const char* name; int macsize; bool noipv6; } devices[] = { {"lo", ETH_ALEN}, {"sit0", 0}, {"bridge0", ETH_ALEN}, {"vcan0", 0, true}, {"tunl0", 0}, {"gre0", 0}, {"gretap0", ETH_ALEN}, {"ip_vti0", 0}, {"ip6_vti0", 0}, {"ip6tnl0", 0}, {"ip6gre0", 0}, {"ip6gretap0", ETH_ALEN}, {"erspan0", ETH_ALEN}, {"bond0", ETH_ALEN}, {"veth0", ETH_ALEN}, {"veth1", ETH_ALEN}, {"team0", ETH_ALEN}, {"veth0_to_bridge", ETH_ALEN}, {"veth1_to_bridge", ETH_ALEN}, {"veth0_to_bond", ETH_ALEN}, {"veth1_to_bond", ETH_ALEN}, {"veth0_to_team", ETH_ALEN}, {"veth1_to_team", ETH_ALEN}, {"veth0_to_hsr", ETH_ALEN}, {"veth1_to_hsr", ETH_ALEN}, {"hsr0", 0}, {"dummy0", ETH_ALEN}, {"nlmon0", 0}, {"vxcan0", 0, true}, {"vxcan1", 0, true}, {"caif0", ETH_ALEN}, {"batadv0", ETH_ALEN}, {netdevsim, ETH_ALEN}, {"xfrm0", ETH_ALEN}, {"veth0_virt_wifi", ETH_ALEN}, {"veth1_virt_wifi", ETH_ALEN}, {"virt_wifi0", ETH_ALEN}, {"veth0_vlan", ETH_ALEN}, {"veth1_vlan", ETH_ALEN}, {"vlan0", ETH_ALEN}, {"vlan1", ETH_ALEN}, {"macvlan0", ETH_ALEN}, {"macvlan1", ETH_ALEN}, {"ipvlan0", ETH_ALEN}, {"ipvlan1", ETH_ALEN}, {"veth0_macvtap", ETH_ALEN}, {"veth1_macvtap", ETH_ALEN}, {"macvtap0", ETH_ALEN}, {"macsec0", ETH_ALEN}, {"veth0_to_batadv", ETH_ALEN}, {"veth1_to_batadv", ETH_ALEN}, {"batadv_slave_0", ETH_ALEN}, {"batadv_slave_1", ETH_ALEN}, {"geneve0", ETH_ALEN}, {"geneve1", ETH_ALEN}, {"wg0", 0}, {"wg1", 0}, {"wg2", 0}, }; int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); if (sock == -1) exit(1); unsigned i; for (i = 0; i < sizeof(devtypes) / sizeof(devtypes[0]); i++) netlink_add_device(&nlmsg, sock, devtypes[i].type, devtypes[i].dev); for (i = 0; i < sizeof(devmasters) / (sizeof(devmasters[0])); i++) { char master[32], slave0[32], veth0[32], slave1[32], veth1[32]; sprintf(slave0, "%s_slave_0", devmasters[i]); sprintf(veth0, "veth0_to_%s", devmasters[i]); netlink_add_veth(&nlmsg, sock, slave0, veth0); sprintf(slave1, "%s_slave_1", devmasters[i]); sprintf(veth1, "veth1_to_%s", devmasters[i]); netlink_add_veth(&nlmsg, sock, slave1, veth1); sprintf(master, "%s0", devmasters[i]); netlink_device_change(&nlmsg, sock, slave0, false, master, 0, 0, NULL); netlink_device_change(&nlmsg, sock, slave1, false, master, 0, 0, NULL); } netlink_add_xfrm(&nlmsg, sock, "xfrm0"); netlink_device_change(&nlmsg, sock, "bridge_slave_0", true, 0, 0, 0, NULL); netlink_device_change(&nlmsg, sock, "bridge_slave_1", true, 0, 0, 0, NULL); netlink_add_veth(&nlmsg, sock, "hsr_slave_0", "veth0_to_hsr"); netlink_add_veth(&nlmsg, sock, "hsr_slave_1", "veth1_to_hsr"); netlink_add_hsr(&nlmsg, sock, "hsr0", "hsr_slave_0", "hsr_slave_1"); netlink_device_change(&nlmsg, sock, "hsr_slave_0", true, 0, 0, 0, NULL); netlink_device_change(&nlmsg, sock, "hsr_slave_1", true, 0, 0, 0, NULL); netlink_add_veth(&nlmsg, sock, "veth0_virt_wifi", "veth1_virt_wifi"); netlink_add_linked(&nlmsg, sock, "virt_wifi", "virt_wifi0", "veth1_virt_wifi"); netlink_add_veth(&nlmsg, sock, "veth0_vlan", "veth1_vlan"); netlink_add_vlan(&nlmsg, sock, "vlan0", "veth0_vlan", 0, htons(ETH_P_8021Q)); netlink_add_vlan(&nlmsg, sock, "vlan1", "veth0_vlan", 1, htons(ETH_P_8021AD)); netlink_add_macvlan(&nlmsg, sock, "macvlan0", "veth1_vlan"); netlink_add_macvlan(&nlmsg, sock, "macvlan1", "veth1_vlan"); netlink_add_ipvlan(&nlmsg, sock, "ipvlan0", "veth0_vlan", IPVLAN_MODE_L2, 0); netlink_add_ipvlan(&nlmsg, sock, "ipvlan1", "veth0_vlan", IPVLAN_MODE_L3S, IPVLAN_F_VEPA); netlink_add_veth(&nlmsg, sock, "veth0_macvtap", "veth1_macvtap"); netlink_add_linked(&nlmsg, sock, "macvtap", "macvtap0", "veth0_macvtap"); netlink_add_linked(&nlmsg, sock, "macsec", "macsec0", "veth1_macvtap"); char addr[32]; sprintf(addr, DEV_IPV4, 14 + 10); struct in_addr geneve_addr4; if (inet_pton(AF_INET, addr, &geneve_addr4) <= 0) exit(1); struct in6_addr geneve_addr6; if (inet_pton(AF_INET6, "fc00::01", &geneve_addr6) <= 0) exit(1); netlink_add_geneve(&nlmsg, sock, "geneve0", 0, &geneve_addr4, 0); netlink_add_geneve(&nlmsg, sock, "geneve1", 1, 0, &geneve_addr6); netdevsim_add((int)procid, 4); netlink_wireguard_setup(); for (i = 0; i < sizeof(devices) / (sizeof(devices[0])); i++) { char addr[32]; sprintf(addr, DEV_IPV4, i + 10); netlink_add_addr4(&nlmsg, sock, devices[i].name, addr); if (!devices[i].noipv6) { sprintf(addr, DEV_IPV6, i + 10); netlink_add_addr6(&nlmsg, sock, devices[i].name, addr); } uint64_t macaddr = DEV_MAC + ((i + 10ull) << 40); netlink_device_change(&nlmsg, sock, devices[i].name, true, 0, &macaddr, devices[i].macsize, NULL); } close(sock); } static void initialize_netdevices_init(void) { int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); if (sock == -1) exit(1); struct { const char* type; int macsize; bool noipv6; bool noup; } devtypes[] = { {"nr", 7, true}, {"rose", 5, true, true}, }; unsigned i; for (i = 0; i < sizeof(devtypes) / sizeof(devtypes[0]); i++) { char dev[32], addr[32]; sprintf(dev, "%s%d", devtypes[i].type, (int)procid); sprintf(addr, "172.30.%d.%d", i, (int)procid + 1); netlink_add_addr4(&nlmsg, sock, dev, addr); if (!devtypes[i].noipv6) { sprintf(addr, "fe88::%02x:%02x", i, (int)procid + 1); netlink_add_addr6(&nlmsg, sock, dev, addr); } int macsize = devtypes[i].macsize; uint64_t macaddr = 0xbbbbbb + ((unsigned long long)i << (8 * (macsize - 2))) + (procid << (8 * (macsize - 1))); netlink_device_change(&nlmsg, sock, dev, !devtypes[i].noup, 0, &macaddr, macsize, NULL); } close(sock); } static int read_tun(char* data, int size) { if (tunfd < 0) return -1; int rv = read(tunfd, data, size); if (rv < 0) { if (errno == EAGAIN || errno == EBADFD) return -1; exit(1); } return rv; } static void flush_tun() { char data[1000]; while (read_tun(&data[0], sizeof(data)) != -1) { } } #define MAX_FDS 30 #define BTPROTO_HCI 1 #define ACL_LINK 1 #define SCAN_PAGE 2 typedef struct { uint8_t b[6]; } __attribute__((packed)) bdaddr_t; #define HCI_COMMAND_PKT 1 #define HCI_EVENT_PKT 4 #define HCI_VENDOR_PKT 0xff struct hci_command_hdr { uint16_t opcode; uint8_t plen; } __attribute__((packed)); struct hci_event_hdr { uint8_t evt; uint8_t plen; } __attribute__((packed)); #define HCI_EV_CONN_COMPLETE 0x03 struct hci_ev_conn_complete { uint8_t status; uint16_t handle; bdaddr_t bdaddr; uint8_t link_type; uint8_t encr_mode; } __attribute__((packed)); #define HCI_EV_CONN_REQUEST 0x04 struct hci_ev_conn_request { bdaddr_t bdaddr; uint8_t dev_class[3]; uint8_t link_type; } __attribute__((packed)); #define HCI_EV_REMOTE_FEATURES 0x0b struct hci_ev_remote_features { uint8_t status; uint16_t handle; uint8_t features[8]; } __attribute__((packed)); #define HCI_EV_CMD_COMPLETE 0x0e struct hci_ev_cmd_complete { uint8_t ncmd; uint16_t opcode; } __attribute__((packed)); #define HCI_OP_WRITE_SCAN_ENABLE 0x0c1a #define HCI_OP_READ_BUFFER_SIZE 0x1005 struct hci_rp_read_buffer_size { uint8_t status; uint16_t acl_mtu; uint8_t sco_mtu; uint16_t acl_max_pkt; uint16_t sco_max_pkt; } __attribute__((packed)); #define HCI_OP_READ_BD_ADDR 0x1009 struct hci_rp_read_bd_addr { uint8_t status; bdaddr_t bdaddr; } __attribute__((packed)); #define HCI_EV_LE_META 0x3e struct hci_ev_le_meta { uint8_t subevent; } __attribute__((packed)); #define HCI_EV_LE_CONN_COMPLETE 0x01 struct hci_ev_le_conn_complete { uint8_t status; uint16_t handle; uint8_t role; uint8_t bdaddr_type; bdaddr_t bdaddr; uint16_t interval; uint16_t latency; uint16_t supervision_timeout; uint8_t clk_accurancy; } __attribute__((packed)); struct hci_dev_req { uint16_t dev_id; uint32_t dev_opt; }; struct vhci_vendor_pkt_request { uint8_t type; uint8_t opcode; } __attribute__((packed)); struct vhci_pkt { uint8_t type; union { struct { uint8_t opcode; uint16_t id; } __attribute__((packed)) vendor_pkt; struct hci_command_hdr command_hdr; }; } __attribute__((packed)); #define HCIDEVUP _IOW('H', 201, int) #define HCISETSCAN _IOW('H', 221, int) static int vhci_fd = -1; static void rfkill_unblock_all() { int fd = open("/dev/rfkill", O_WRONLY); if (fd < 0) exit(1); struct rfkill_event event = {0}; event.idx = 0; event.type = RFKILL_TYPE_ALL; event.op = RFKILL_OP_CHANGE_ALL; event.soft = 0; event.hard = 0; if (write(fd, &event, sizeof(event)) < 0) exit(1); close(fd); } static void hci_send_event_packet(int fd, uint8_t evt, void* data, size_t data_len) { struct iovec iv[3]; struct hci_event_hdr hdr; hdr.evt = evt; hdr.plen = data_len; uint8_t type = HCI_EVENT_PKT; iv[0].iov_base = &type; iv[0].iov_len = sizeof(type); iv[1].iov_base = &hdr; iv[1].iov_len = sizeof(hdr); iv[2].iov_base = data; iv[2].iov_len = data_len; if (writev(fd, iv, sizeof(iv) / sizeof(struct iovec)) < 0) exit(1); } static void hci_send_event_cmd_complete(int fd, uint16_t opcode, void* data, size_t data_len) { struct iovec iv[4]; struct hci_event_hdr hdr; hdr.evt = HCI_EV_CMD_COMPLETE; hdr.plen = sizeof(struct hci_ev_cmd_complete) + data_len; struct hci_ev_cmd_complete evt_hdr; evt_hdr.ncmd = 1; evt_hdr.opcode = opcode; uint8_t type = HCI_EVENT_PKT; iv[0].iov_base = &type; iv[0].iov_len = sizeof(type); iv[1].iov_base = &hdr; iv[1].iov_len = sizeof(hdr); iv[2].iov_base = &evt_hdr; iv[2].iov_len = sizeof(evt_hdr); iv[3].iov_base = data; iv[3].iov_len = data_len; if (writev(fd, iv, sizeof(iv) / sizeof(struct iovec)) < 0) exit(1); } static bool process_command_pkt(int fd, char* buf, ssize_t buf_size) { struct hci_command_hdr* hdr = (struct hci_command_hdr*)buf; if (buf_size < (ssize_t)sizeof(struct hci_command_hdr) || hdr->plen != buf_size - sizeof(struct hci_command_hdr)) exit(1); switch (hdr->opcode) { case HCI_OP_WRITE_SCAN_ENABLE: { uint8_t status = 0; hci_send_event_cmd_complete(fd, hdr->opcode, &status, sizeof(status)); return true; } case HCI_OP_READ_BD_ADDR: { struct hci_rp_read_bd_addr rp = {0}; rp.status = 0; memset(&rp.bdaddr, 0xaa, 6); hci_send_event_cmd_complete(fd, hdr->opcode, &rp, sizeof(rp)); return false; } case HCI_OP_READ_BUFFER_SIZE: { struct hci_rp_read_buffer_size rp = {0}; rp.status = 0; rp.acl_mtu = 1021; rp.sco_mtu = 96; rp.acl_max_pkt = 4; rp.sco_max_pkt = 6; hci_send_event_cmd_complete(fd, hdr->opcode, &rp, sizeof(rp)); return false; } } char dummy[0xf9] = {0}; hci_send_event_cmd_complete(fd, hdr->opcode, dummy, sizeof(dummy)); return false; } static void* event_thread(void* arg) { while (1) { char buf[1024] = {0}; ssize_t buf_size = read(vhci_fd, buf, sizeof(buf)); if (buf_size < 0) exit(1); if (buf_size > 0 && buf[0] == HCI_COMMAND_PKT) { if (process_command_pkt(vhci_fd, buf + 1, buf_size - 1)) break; } } return NULL; } #define HCI_HANDLE_1 200 #define HCI_HANDLE_2 201 #define HCI_PRIMARY 0 #define HCI_OP_RESET 0x0c03 static void initialize_vhci() { int hci_sock = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI); if (hci_sock < 0) exit(1); vhci_fd = open("/dev/vhci", O_RDWR); if (vhci_fd == -1) exit(1); const int kVhciFd = 202; if (dup2(vhci_fd, kVhciFd) < 0) exit(1); close(vhci_fd); vhci_fd = kVhciFd; struct vhci_vendor_pkt_request vendor_pkt_req = {HCI_VENDOR_PKT, HCI_PRIMARY}; if (write(vhci_fd, &vendor_pkt_req, sizeof(vendor_pkt_req)) != sizeof(vendor_pkt_req)) exit(1); struct vhci_pkt vhci_pkt; if (read(vhci_fd, &vhci_pkt, sizeof(vhci_pkt)) != sizeof(vhci_pkt)) exit(1); if (vhci_pkt.type == HCI_COMMAND_PKT && vhci_pkt.command_hdr.opcode == HCI_OP_RESET) { char response[1] = {0}; hci_send_event_cmd_complete(vhci_fd, HCI_OP_RESET, response, sizeof(response)); if (read(vhci_fd, &vhci_pkt, sizeof(vhci_pkt)) != sizeof(vhci_pkt)) exit(1); } if (vhci_pkt.type != HCI_VENDOR_PKT) exit(1); int dev_id = vhci_pkt.vendor_pkt.id; pthread_t th; if (pthread_create(&th, NULL, event_thread, NULL)) exit(1); int ret = ioctl(hci_sock, HCIDEVUP, dev_id); if (ret) { if (errno == ERFKILL) { rfkill_unblock_all(); ret = ioctl(hci_sock, HCIDEVUP, dev_id); } if (ret && errno != EALREADY) exit(1); } struct hci_dev_req dr = {0}; dr.dev_id = dev_id; dr.dev_opt = SCAN_PAGE; if (ioctl(hci_sock, HCISETSCAN, &dr)) exit(1); struct hci_ev_conn_request request; memset(&request, 0, sizeof(request)); memset(&request.bdaddr, 0xaa, 6); *(uint8_t*)&request.bdaddr.b[5] = 0x10; request.link_type = ACL_LINK; hci_send_event_packet(vhci_fd, HCI_EV_CONN_REQUEST, &request, sizeof(request)); struct hci_ev_conn_complete complete; memset(&complete, 0, sizeof(complete)); complete.status = 0; complete.handle = HCI_HANDLE_1; memset(&complete.bdaddr, 0xaa, 6); *(uint8_t*)&complete.bdaddr.b[5] = 0x10; complete.link_type = ACL_LINK; complete.encr_mode = 0; hci_send_event_packet(vhci_fd, HCI_EV_CONN_COMPLETE, &complete, sizeof(complete)); struct hci_ev_remote_features features; memset(&features, 0, sizeof(features)); features.status = 0; features.handle = HCI_HANDLE_1; hci_send_event_packet(vhci_fd, HCI_EV_REMOTE_FEATURES, &features, sizeof(features)); struct { struct hci_ev_le_meta le_meta; struct hci_ev_le_conn_complete le_conn; } le_conn; memset(&le_conn, 0, sizeof(le_conn)); le_conn.le_meta.subevent = HCI_EV_LE_CONN_COMPLETE; memset(&le_conn.le_conn.bdaddr, 0xaa, 6); *(uint8_t*)&le_conn.le_conn.bdaddr.b[5] = 0x11; le_conn.le_conn.role = 1; le_conn.le_conn.handle = HCI_HANDLE_2; hci_send_event_packet(vhci_fd, HCI_EV_LE_META, &le_conn, sizeof(le_conn)); pthread_join(th, NULL); close(hci_sock); } //% This code is derived from puff.{c,h}, found in the zlib development. The //% original files come with the following copyright notice: //% Copyright (C) 2002-2013 Mark Adler, all rights reserved //% version 2.3, 21 Jan 2013 //% This software is provided 'as-is', without any express or implied //% warranty. In no event will the author be held liable for any damages //% arising from the use of this software. //% Permission is granted to anyone to use this software for any purpose, //% including commercial applications, and to alter it and redistribute it //% freely, subject to the following restrictions: //% 1. The origin of this software must not be misrepresented; you must not //% claim that you wrote the original software. If you use this software //% in a product, an acknowledgment in the product documentation would be //% appreciated but is not required. //% 2. Altered source versions must be plainly marked as such, and must not be //% misrepresented as being the original software. //% 3. This notice may not be removed or altered from any source distribution. //% Mark Adler madler@alumni.caltech.edu //% BEGIN CODE DERIVED FROM puff.{c,h} #define MAXBITS 15 #define MAXLCODES 286 #define MAXDCODES 30 #define MAXCODES (MAXLCODES + MAXDCODES) #define FIXLCODES 288 struct puff_state { unsigned char* out; unsigned long outlen; unsigned long outcnt; const unsigned char* in; unsigned long inlen; unsigned long incnt; int bitbuf; int bitcnt; jmp_buf env; }; static int puff_bits(struct puff_state* s, int need) { long val = s->bitbuf; while (s->bitcnt < need) { if (s->incnt == s->inlen) longjmp(s->env, 1); val |= (long)(s->in[s->incnt++]) << s->bitcnt; s->bitcnt += 8; } s->bitbuf = (int)(val >> need); s->bitcnt -= need; return (int)(val & ((1L << need) - 1)); } static int puff_stored(struct puff_state* s) { s->bitbuf = 0; s->bitcnt = 0; if (s->incnt + 4 > s->inlen) return 2; unsigned len = s->in[s->incnt++]; len |= s->in[s->incnt++] << 8; if (s->in[s->incnt++] != (~len & 0xff) || s->in[s->incnt++] != ((~len >> 8) & 0xff)) return -2; if (s->incnt + len > s->inlen) return 2; if (s->outcnt + len > s->outlen) return 1; for (; len--; s->outcnt++, s->incnt++) { if (s->in[s->incnt]) s->out[s->outcnt] = s->in[s->incnt]; } return 0; } struct puff_huffman { short* count; short* symbol; }; static int puff_decode(struct puff_state* s, const struct puff_huffman* h) { int first = 0; int index = 0; int bitbuf = s->bitbuf; int left = s->bitcnt; int code = first = index = 0; int len = 1; short* next = h->count + 1; while (1) { while (left--) { code |= bitbuf & 1; bitbuf >>= 1; int count = *next++; if (code - count < first) { s->bitbuf = bitbuf; s->bitcnt = (s->bitcnt - len) & 7; return h->symbol[index + (code - first)]; } index += count; first += count; first <<= 1; code <<= 1; len++; } left = (MAXBITS + 1) - len; if (left == 0) break; if (s->incnt == s->inlen) longjmp(s->env, 1); bitbuf = s->in[s->incnt++]; if (left > 8) left = 8; } return -10; } static int puff_construct(struct puff_huffman* h, const short* length, int n) { int len; for (len = 0; len <= MAXBITS; len++) h->count[len] = 0; int symbol; for (symbol = 0; symbol < n; symbol++) (h->count[length[symbol]])++; if (h->count[0] == n) return 0; int left = 1; for (len = 1; len <= MAXBITS; len++) { left <<= 1; left -= h->count[len]; if (left < 0) return left; } short offs[MAXBITS + 1]; offs[1] = 0; for (len = 1; len < MAXBITS; len++) offs[len + 1] = offs[len] + h->count[len]; for (symbol = 0; symbol < n; symbol++) if (length[symbol] != 0) h->symbol[offs[length[symbol]]++] = symbol; return left; } static int puff_codes(struct puff_state* s, const struct puff_huffman* lencode, const struct puff_huffman* distcode) { static const short lens[29] = {3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258}; static const short lext[29] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0}; static const short dists[30] = { 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577}; static const short dext[30] = {0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13}; int symbol; do { symbol = puff_decode(s, lencode); if (symbol < 0) return symbol; if (symbol < 256) { if (s->outcnt == s->outlen) return 1; if (symbol) s->out[s->outcnt] = symbol; s->outcnt++; } else if (symbol > 256) { symbol -= 257; if (symbol >= 29) return -10; int len = lens[symbol] + puff_bits(s, lext[symbol]); symbol = puff_decode(s, distcode); if (symbol < 0) return symbol; unsigned dist = dists[symbol] + puff_bits(s, dext[symbol]); if (dist > s->outcnt) return -11; if (s->outcnt + len > s->outlen) return 1; while (len--) { if (dist <= s->outcnt && s->out[s->outcnt - dist]) s->out[s->outcnt] = s->out[s->outcnt - dist]; s->outcnt++; } } } while (symbol != 256); return 0; } static int puff_fixed(struct puff_state* s) { static int virgin = 1; static short lencnt[MAXBITS + 1], lensym[FIXLCODES]; static short distcnt[MAXBITS + 1], distsym[MAXDCODES]; static struct puff_huffman lencode, distcode; if (virgin) { lencode.count = lencnt; lencode.symbol = lensym; distcode.count = distcnt; distcode.symbol = distsym; short lengths[FIXLCODES]; int symbol; for (symbol = 0; symbol < 144; symbol++) lengths[symbol] = 8; for (; symbol < 256; symbol++) lengths[symbol] = 9; for (; symbol < 280; symbol++) lengths[symbol] = 7; for (; symbol < FIXLCODES; symbol++) lengths[symbol] = 8; puff_construct(&lencode, lengths, FIXLCODES); for (symbol = 0; symbol < MAXDCODES; symbol++) lengths[symbol] = 5; puff_construct(&distcode, lengths, MAXDCODES); virgin = 0; } return puff_codes(s, &lencode, &distcode); } static int puff_dynamic(struct puff_state* s) { static const short order[19] = {16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15}; int nlen = puff_bits(s, 5) + 257; int ndist = puff_bits(s, 5) + 1; int ncode = puff_bits(s, 4) + 4; if (nlen > MAXLCODES || ndist > MAXDCODES) return -3; short lengths[MAXCODES]; int index; for (index = 0; index < ncode; index++) lengths[order[index]] = puff_bits(s, 3); for (; index < 19; index++) lengths[order[index]] = 0; short lencnt[MAXBITS + 1], lensym[MAXLCODES]; struct puff_huffman lencode = {lencnt, lensym}; int err = puff_construct(&lencode, lengths, 19); if (err != 0) return -4; index = 0; while (index < nlen + ndist) { int symbol; int len; symbol = puff_decode(s, &lencode); if (symbol < 0) return symbol; if (symbol < 16) lengths[index++] = symbol; else { len = 0; if (symbol == 16) { if (index == 0) return -5; len = lengths[index - 1]; symbol = 3 + puff_bits(s, 2); } else if (symbol == 17) symbol = 3 + puff_bits(s, 3); else symbol = 11 + puff_bits(s, 7); if (index + symbol > nlen + ndist) return -6; while (symbol--) lengths[index++] = len; } } if (lengths[256] == 0) return -9; err = puff_construct(&lencode, lengths, nlen); if (err && (err < 0 || nlen != lencode.count[0] + lencode.count[1])) return -7; short distcnt[MAXBITS + 1], distsym[MAXDCODES]; struct puff_huffman distcode = {distcnt, distsym}; err = puff_construct(&distcode, lengths + nlen, ndist); if (err && (err < 0 || ndist != distcode.count[0] + distcode.count[1])) return -8; return puff_codes(s, &lencode, &distcode); } static int puff(unsigned char* dest, unsigned long* destlen, const unsigned char* source, unsigned long sourcelen) { struct puff_state s = { .out = dest, .outlen = *destlen, .outcnt = 0, .in = source, .inlen = sourcelen, .incnt = 0, .bitbuf = 0, .bitcnt = 0, }; int err; if (setjmp(s.env) != 0) err = 2; else { int last; do { last = puff_bits(&s, 1); int type = puff_bits(&s, 2); err = type == 0 ? puff_stored(&s) : (type == 1 ? puff_fixed(&s) : (type == 2 ? puff_dynamic(&s) : -1)); if (err != 0) break; } while (!last); } *destlen = s.outcnt; return err; } //% END CODE DERIVED FROM puff.{c,h} #define ZLIB_HEADER_WIDTH 2 static int puff_zlib_to_file(const unsigned char* source, unsigned long sourcelen, int dest_fd) { if (sourcelen < ZLIB_HEADER_WIDTH) return 0; source += ZLIB_HEADER_WIDTH; sourcelen -= ZLIB_HEADER_WIDTH; const unsigned long max_destlen = 132 << 20; void* ret = mmap(0, max_destlen, PROT_WRITE | PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0); if (ret == MAP_FAILED) return -1; unsigned char* dest = (unsigned char*)ret; unsigned long destlen = max_destlen; int err = puff(dest, &destlen, source, sourcelen); if (err) { munmap(dest, max_destlen); errno = -err; return -1; } if (write(dest_fd, dest, destlen) != (ssize_t)destlen) { munmap(dest, max_destlen); return -1; } return munmap(dest, destlen); } static int setup_loop_device(unsigned char* data, unsigned long size, const char* loopname, int* loopfd_p) { int err = 0, loopfd = -1; int memfd = syscall(__NR_memfd_create, "syzkaller", 0); if (memfd == -1) { err = errno; goto error; } if (puff_zlib_to_file(data, size, memfd)) { err = errno; goto error_close_memfd; } loopfd = open(loopname, O_RDWR); if (loopfd == -1) { err = errno; goto error_close_memfd; } if (ioctl(loopfd, LOOP_SET_FD, memfd)) { if (errno != EBUSY) { err = errno; goto error_close_loop; } ioctl(loopfd, LOOP_CLR_FD, 0); usleep(1000); if (ioctl(loopfd, LOOP_SET_FD, memfd)) { err = errno; goto error_close_loop; } } close(memfd); *loopfd_p = loopfd; return 0; error_close_loop: close(loopfd); error_close_memfd: close(memfd); error: errno = err; return -1; } static long syz_mount_image(volatile long fsarg, volatile long dir, volatile long flags, volatile long optsarg, volatile long change_dir, volatile unsigned long size, volatile long image) { unsigned char* data = (unsigned char*)image; int res = -1, err = 0, loopfd = -1, need_loop_device = !!size; char* mount_opts = (char*)optsarg; char* target = (char*)dir; char* fs = (char*)fsarg; char* source = NULL; char loopname[64]; if (need_loop_device) { memset(loopname, 0, sizeof(loopname)); snprintf(loopname, sizeof(loopname), "/dev/loop%llu", procid); if (setup_loop_device(data, size, loopname, &loopfd) == -1) return -1; source = loopname; } mkdir(target, 0777); char opts[256]; memset(opts, 0, sizeof(opts)); if (strlen(mount_opts) > (sizeof(opts) - 32)) { } strncpy(opts, mount_opts, sizeof(opts) - 32); if (strcmp(fs, "iso9660") == 0) { flags |= MS_RDONLY; } else if (strncmp(fs, "ext", 3) == 0) { bool has_remount_ro = false; char* remount_ro_start = strstr(opts, "errors=remount-ro"); if (remount_ro_start != NULL) { char after = *(remount_ro_start + strlen("errors=remount-ro")); char before = remount_ro_start == opts ? '\0' : *(remount_ro_start - 1); has_remount_ro = ((before == '\0' || before == ',') && (after == '\0' || after == ',')); } if (strstr(opts, "errors=panic") || !has_remount_ro) strcat(opts, ",errors=continue"); } else if (strcmp(fs, "xfs") == 0) { strcat(opts, ",nouuid"); } res = mount(source, target, fs, flags, opts); if (res == -1) { err = errno; goto error_clear_loop; } res = open(target, O_RDONLY | O_DIRECTORY); if (res == -1) { err = errno; goto error_clear_loop; } if (change_dir) { res = chdir(target); if (res == -1) { err = errno; } } error_clear_loop: if (need_loop_device) { ioctl(loopfd, LOOP_CLR_FD, 0); close(loopfd); } errno = err; return res; } #define XT_TABLE_SIZE 1536 #define XT_MAX_ENTRIES 10 struct xt_counters { uint64_t pcnt, bcnt; }; struct ipt_getinfo { char name[32]; unsigned int valid_hooks; unsigned int hook_entry[5]; unsigned int underflow[5]; unsigned int num_entries; unsigned int size; }; struct ipt_get_entries { char name[32]; unsigned int size; uint64_t entrytable[XT_TABLE_SIZE / sizeof(uint64_t)]; }; struct ipt_replace { char name[32]; unsigned int valid_hooks; unsigned int num_entries; unsigned int size; unsigned int hook_entry[5]; unsigned int underflow[5]; unsigned int num_counters; struct xt_counters* counters; uint64_t entrytable[XT_TABLE_SIZE / sizeof(uint64_t)]; }; struct ipt_table_desc { const char* name; struct ipt_getinfo info; struct ipt_replace replace; }; static struct ipt_table_desc ipv4_tables[] = { {.name = "filter"}, {.name = "nat"}, {.name = "mangle"}, {.name = "raw"}, {.name = "security"}, }; static struct ipt_table_desc ipv6_tables[] = { {.name = "filter"}, {.name = "nat"}, {.name = "mangle"}, {.name = "raw"}, {.name = "security"}, }; #define IPT_BASE_CTL 64 #define IPT_SO_SET_REPLACE (IPT_BASE_CTL) #define IPT_SO_GET_INFO (IPT_BASE_CTL) #define IPT_SO_GET_ENTRIES (IPT_BASE_CTL + 1) struct arpt_getinfo { char name[32]; unsigned int valid_hooks; unsigned int hook_entry[3]; unsigned int underflow[3]; unsigned int num_entries; unsigned int size; }; struct arpt_get_entries { char name[32]; unsigned int size; uint64_t entrytable[XT_TABLE_SIZE / sizeof(uint64_t)]; }; struct arpt_replace { char name[32]; unsigned int valid_hooks; unsigned int num_entries; unsigned int size; unsigned int hook_entry[3]; unsigned int underflow[3]; unsigned int num_counters; struct xt_counters* counters; uint64_t entrytable[XT_TABLE_SIZE / sizeof(uint64_t)]; }; struct arpt_table_desc { const char* name; struct arpt_getinfo info; struct arpt_replace replace; }; static struct arpt_table_desc arpt_tables[] = { {.name = "filter"}, }; #define ARPT_BASE_CTL 96 #define ARPT_SO_SET_REPLACE (ARPT_BASE_CTL) #define ARPT_SO_GET_INFO (ARPT_BASE_CTL) #define ARPT_SO_GET_ENTRIES (ARPT_BASE_CTL + 1) static void checkpoint_iptables(struct ipt_table_desc* tables, int num_tables, int family, int level) { int fd = socket(family, SOCK_STREAM, IPPROTO_TCP); if (fd == -1) { switch (errno) { case EAFNOSUPPORT: case ENOPROTOOPT: return; } exit(1); } for (int i = 0; i < num_tables; i++) { struct ipt_table_desc* table = &tables[i]; strcpy(table->info.name, table->name); strcpy(table->replace.name, table->name); socklen_t optlen = sizeof(table->info); if (getsockopt(fd, level, IPT_SO_GET_INFO, &table->info, &optlen)) { switch (errno) { case EPERM: case ENOENT: case ENOPROTOOPT: continue; } exit(1); } if (table->info.size > sizeof(table->replace.entrytable)) exit(1); if (table->info.num_entries > XT_MAX_ENTRIES) exit(1); struct ipt_get_entries entries; memset(&entries, 0, sizeof(entries)); strcpy(entries.name, table->name); entries.size = table->info.size; optlen = sizeof(entries) - sizeof(entries.entrytable) + table->info.size; if (getsockopt(fd, level, IPT_SO_GET_ENTRIES, &entries, &optlen)) exit(1); table->replace.valid_hooks = table->info.valid_hooks; table->replace.num_entries = table->info.num_entries; table->replace.size = table->info.size; memcpy(table->replace.hook_entry, table->info.hook_entry, sizeof(table->replace.hook_entry)); memcpy(table->replace.underflow, table->info.underflow, sizeof(table->replace.underflow)); memcpy(table->replace.entrytable, entries.entrytable, table->info.size); } close(fd); } static void reset_iptables(struct ipt_table_desc* tables, int num_tables, int family, int level) { int fd = socket(family, SOCK_STREAM, IPPROTO_TCP); if (fd == -1) { switch (errno) { case EAFNOSUPPORT: case ENOPROTOOPT: return; } exit(1); } for (int i = 0; i < num_tables; i++) { struct ipt_table_desc* table = &tables[i]; if (table->info.valid_hooks == 0) continue; struct ipt_getinfo info; memset(&info, 0, sizeof(info)); strcpy(info.name, table->name); socklen_t optlen = sizeof(info); if (getsockopt(fd, level, IPT_SO_GET_INFO, &info, &optlen)) exit(1); if (memcmp(&table->info, &info, sizeof(table->info)) == 0) { struct ipt_get_entries entries; memset(&entries, 0, sizeof(entries)); strcpy(entries.name, table->name); entries.size = table->info.size; optlen = sizeof(entries) - sizeof(entries.entrytable) + entries.size; if (getsockopt(fd, level, IPT_SO_GET_ENTRIES, &entries, &optlen)) exit(1); if (memcmp(table->replace.entrytable, entries.entrytable, table->info.size) == 0) continue; } struct xt_counters counters[XT_MAX_ENTRIES]; table->replace.num_counters = info.num_entries; table->replace.counters = counters; optlen = sizeof(table->replace) - sizeof(table->replace.entrytable) + table->replace.size; if (setsockopt(fd, level, IPT_SO_SET_REPLACE, &table->replace, optlen)) exit(1); } close(fd); } static void checkpoint_arptables(void) { int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (fd == -1) { switch (errno) { case EAFNOSUPPORT: case ENOPROTOOPT: return; } exit(1); } for (unsigned i = 0; i < sizeof(arpt_tables) / sizeof(arpt_tables[0]); i++) { struct arpt_table_desc* table = &arpt_tables[i]; strcpy(table->info.name, table->name); strcpy(table->replace.name, table->name); socklen_t optlen = sizeof(table->info); if (getsockopt(fd, SOL_IP, ARPT_SO_GET_INFO, &table->info, &optlen)) { switch (errno) { case EPERM: case ENOENT: case ENOPROTOOPT: continue; } exit(1); } if (table->info.size > sizeof(table->replace.entrytable)) exit(1); if (table->info.num_entries > XT_MAX_ENTRIES) exit(1); struct arpt_get_entries entries; memset(&entries, 0, sizeof(entries)); strcpy(entries.name, table->name); entries.size = table->info.size; optlen = sizeof(entries) - sizeof(entries.entrytable) + table->info.size; if (getsockopt(fd, SOL_IP, ARPT_SO_GET_ENTRIES, &entries, &optlen)) exit(1); table->replace.valid_hooks = table->info.valid_hooks; table->replace.num_entries = table->info.num_entries; table->replace.size = table->info.size; memcpy(table->replace.hook_entry, table->info.hook_entry, sizeof(table->replace.hook_entry)); memcpy(table->replace.underflow, table->info.underflow, sizeof(table->replace.underflow)); memcpy(table->replace.entrytable, entries.entrytable, table->info.size); } close(fd); } static void reset_arptables() { int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (fd == -1) { switch (errno) { case EAFNOSUPPORT: case ENOPROTOOPT: return; } exit(1); } for (unsigned i = 0; i < sizeof(arpt_tables) / sizeof(arpt_tables[0]); i++) { struct arpt_table_desc* table = &arpt_tables[i]; if (table->info.valid_hooks == 0) continue; struct arpt_getinfo info; memset(&info, 0, sizeof(info)); strcpy(info.name, table->name); socklen_t optlen = sizeof(info); if (getsockopt(fd, SOL_IP, ARPT_SO_GET_INFO, &info, &optlen)) exit(1); if (memcmp(&table->info, &info, sizeof(table->info)) == 0) { struct arpt_get_entries entries; memset(&entries, 0, sizeof(entries)); strcpy(entries.name, table->name); entries.size = table->info.size; optlen = sizeof(entries) - sizeof(entries.entrytable) + entries.size; if (getsockopt(fd, SOL_IP, ARPT_SO_GET_ENTRIES, &entries, &optlen)) exit(1); if (memcmp(table->replace.entrytable, entries.entrytable, table->info.size) == 0) continue; } else { } struct xt_counters counters[XT_MAX_ENTRIES]; table->replace.num_counters = info.num_entries; table->replace.counters = counters; optlen = sizeof(table->replace) - sizeof(table->replace.entrytable) + table->replace.size; if (setsockopt(fd, SOL_IP, ARPT_SO_SET_REPLACE, &table->replace, optlen)) exit(1); } close(fd); } #define NF_BR_NUMHOOKS 6 #define EBT_TABLE_MAXNAMELEN 32 #define EBT_CHAIN_MAXNAMELEN 32 #define EBT_BASE_CTL 128 #define EBT_SO_SET_ENTRIES (EBT_BASE_CTL) #define EBT_SO_GET_INFO (EBT_BASE_CTL) #define EBT_SO_GET_ENTRIES (EBT_SO_GET_INFO + 1) #define EBT_SO_GET_INIT_INFO (EBT_SO_GET_ENTRIES + 1) #define EBT_SO_GET_INIT_ENTRIES (EBT_SO_GET_INIT_INFO + 1) struct ebt_replace { char name[EBT_TABLE_MAXNAMELEN]; unsigned int valid_hooks; unsigned int nentries; unsigned int entries_size; struct ebt_entries* hook_entry[NF_BR_NUMHOOKS]; unsigned int num_counters; struct ebt_counter* counters; char* entries; }; struct ebt_entries { unsigned int distinguisher; char name[EBT_CHAIN_MAXNAMELEN]; unsigned int counter_offset; int policy; unsigned int nentries; char data[0] __attribute__((aligned(__alignof__(struct ebt_replace)))); }; struct ebt_table_desc { const char* name; struct ebt_replace replace; char entrytable[XT_TABLE_SIZE]; }; static struct ebt_table_desc ebt_tables[] = { {.name = "filter"}, {.name = "nat"}, {.name = "broute"}, }; static void checkpoint_ebtables(void) { int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (fd == -1) { switch (errno) { case EAFNOSUPPORT: case ENOPROTOOPT: return; } exit(1); } for (size_t i = 0; i < sizeof(ebt_tables) / sizeof(ebt_tables[0]); i++) { struct ebt_table_desc* table = &ebt_tables[i]; strcpy(table->replace.name, table->name); socklen_t optlen = sizeof(table->replace); if (getsockopt(fd, SOL_IP, EBT_SO_GET_INIT_INFO, &table->replace, &optlen)) { switch (errno) { case EPERM: case ENOENT: case ENOPROTOOPT: continue; } exit(1); } if (table->replace.entries_size > sizeof(table->entrytable)) exit(1); table->replace.num_counters = 0; table->replace.entries = table->entrytable; optlen = sizeof(table->replace) + table->replace.entries_size; if (getsockopt(fd, SOL_IP, EBT_SO_GET_INIT_ENTRIES, &table->replace, &optlen)) exit(1); } close(fd); } static void reset_ebtables() { int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (fd == -1) { switch (errno) { case EAFNOSUPPORT: case ENOPROTOOPT: return; } exit(1); } for (unsigned i = 0; i < sizeof(ebt_tables) / sizeof(ebt_tables[0]); i++) { struct ebt_table_desc* table = &ebt_tables[i]; if (table->replace.valid_hooks == 0) continue; struct ebt_replace replace; memset(&replace, 0, sizeof(replace)); strcpy(replace.name, table->name); socklen_t optlen = sizeof(replace); if (getsockopt(fd, SOL_IP, EBT_SO_GET_INFO, &replace, &optlen)) exit(1); replace.num_counters = 0; table->replace.entries = 0; for (unsigned h = 0; h < NF_BR_NUMHOOKS; h++) table->replace.hook_entry[h] = 0; if (memcmp(&table->replace, &replace, sizeof(table->replace)) == 0) { char entrytable[XT_TABLE_SIZE]; memset(&entrytable, 0, sizeof(entrytable)); replace.entries = entrytable; optlen = sizeof(replace) + replace.entries_size; if (getsockopt(fd, SOL_IP, EBT_SO_GET_ENTRIES, &replace, &optlen)) exit(1); if (memcmp(table->entrytable, entrytable, replace.entries_size) == 0) continue; } for (unsigned j = 0, h = 0; h < NF_BR_NUMHOOKS; h++) { if (table->replace.valid_hooks & (1 << h)) { table->replace.hook_entry[h] = (struct ebt_entries*)table->entrytable + j; j++; } } table->replace.entries = table->entrytable; optlen = sizeof(table->replace) + table->replace.entries_size; if (setsockopt(fd, SOL_IP, EBT_SO_SET_ENTRIES, &table->replace, optlen)) exit(1); } close(fd); } static void checkpoint_net_namespace(void) { checkpoint_ebtables(); checkpoint_arptables(); checkpoint_iptables(ipv4_tables, sizeof(ipv4_tables) / sizeof(ipv4_tables[0]), AF_INET, SOL_IP); checkpoint_iptables(ipv6_tables, sizeof(ipv6_tables) / sizeof(ipv6_tables[0]), AF_INET6, SOL_IPV6); } static void reset_net_namespace(void) { reset_ebtables(); reset_arptables(); reset_iptables(ipv4_tables, sizeof(ipv4_tables) / sizeof(ipv4_tables[0]), AF_INET, SOL_IP); reset_iptables(ipv6_tables, sizeof(ipv6_tables) / sizeof(ipv6_tables[0]), AF_INET6, SOL_IPV6); } static void mount_cgroups(const char* dir, const char** controllers, int count) { if (mkdir(dir, 0777)) { return; } char enabled[128] = {0}; int i = 0; for (; i < count; i++) { if (mount("none", dir, "cgroup", 0, controllers[i])) { continue; } umount(dir); strcat(enabled, ","); strcat(enabled, controllers[i]); } if (enabled[0] == 0) { if (rmdir(dir) && errno != EBUSY) exit(1); return; } if (mount("none", dir, "cgroup", 0, enabled + 1)) { if (rmdir(dir) && errno != EBUSY) exit(1); } if (chmod(dir, 0777)) { } } static void mount_cgroups2(const char** controllers, int count) { if (mkdir("/syzcgroup/unified", 0777)) { return; } if (mount("none", "/syzcgroup/unified", "cgroup2", 0, NULL)) { if (rmdir("/syzcgroup/unified") && errno != EBUSY) exit(1); return; } if (chmod("/syzcgroup/unified", 0777)) { } int control = open("/syzcgroup/unified/cgroup.subtree_control", O_WRONLY); if (control == -1) return; int i; for (i = 0; i < count; i++) if (write(control, controllers[i], strlen(controllers[i])) < 0) { } close(control); } static void setup_cgroups() { const char* unified_controllers[] = {"+cpu", "+memory", "+io", "+pids"}; const char* net_controllers[] = {"net", "net_prio", "devices", "blkio", "freezer"}; const char* cpu_controllers[] = {"cpuset", "cpuacct", "hugetlb", "rlimit"}; if (mkdir("/syzcgroup", 0777)) { return; } mount_cgroups2(unified_controllers, sizeof(unified_controllers) / sizeof(unified_controllers[0])); mount_cgroups("/syzcgroup/net", net_controllers, sizeof(net_controllers) / sizeof(net_controllers[0])); mount_cgroups("/syzcgroup/cpu", cpu_controllers, sizeof(cpu_controllers) / sizeof(cpu_controllers[0])); write_file("/syzcgroup/cpu/cgroup.clone_children", "1"); write_file("/syzcgroup/cpu/cpuset.memory_pressure_enabled", "1"); } static void setup_cgroups_loop() { int pid = getpid(); char file[128]; char cgroupdir[64]; snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/unified/syz%llu", procid); if (mkdir(cgroupdir, 0777)) { } snprintf(file, sizeof(file), "%s/pids.max", cgroupdir); write_file(file, "32"); snprintf(file, sizeof(file), "%s/memory.low", cgroupdir); write_file(file, "%d", 298 << 20); snprintf(file, sizeof(file), "%s/memory.high", cgroupdir); write_file(file, "%d", 299 << 20); snprintf(file, sizeof(file), "%s/memory.max", cgroupdir); write_file(file, "%d", 300 << 20); snprintf(file, sizeof(file), "%s/cgroup.procs", cgroupdir); write_file(file, "%d", pid); snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/cpu/syz%llu", procid); if (mkdir(cgroupdir, 0777)) { } snprintf(file, sizeof(file), "%s/cgroup.procs", cgroupdir); write_file(file, "%d", pid); snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/net/syz%llu", procid); if (mkdir(cgroupdir, 0777)) { } snprintf(file, sizeof(file), "%s/cgroup.procs", cgroupdir); write_file(file, "%d", pid); } static void setup_cgroups_test() { char cgroupdir[64]; snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/unified/syz%llu", procid); if (symlink(cgroupdir, "./cgroup")) { } snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/cpu/syz%llu", procid); if (symlink(cgroupdir, "./cgroup.cpu")) { } snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/net/syz%llu", procid); if (symlink(cgroupdir, "./cgroup.net")) { } } 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 = 128 << 20; 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(); initialize_vhci(); sandbox_common(); drop_caps(); initialize_netdevices_init(); if (unshare(CLONE_NEWNET)) { } write_file("/proc/sys/net/ipv4/ping_group_range", "0 65535"); initialize_tun(); initialize_netdevices(); initialize_wifi_devices(); setup_binderfs(); loop(); exit(1); } #define FS_IOC_SETFLAGS _IOW('f', 2, long) static void remove_dir(const char* dir) { int iter = 0; DIR* dp = 0; retry: while (umount2(dir, MNT_DETACH | UMOUNT_NOFOLLOW) == 0) { } dp = opendir(dir); if (dp == NULL) { if (errno == EMFILE) { exit(1); } exit(1); } struct dirent* ep = 0; while ((ep = readdir(dp))) { if (strcmp(ep->d_name, ".") == 0 || strcmp(ep->d_name, "..") == 0) continue; char filename[FILENAME_MAX]; snprintf(filename, sizeof(filename), "%s/%s", dir, ep->d_name); while (umount2(filename, MNT_DETACH | UMOUNT_NOFOLLOW) == 0) { } struct stat st; if (lstat(filename, &st)) exit(1); if (S_ISDIR(st.st_mode)) { remove_dir(filename); continue; } int i; for (i = 0;; i++) { if (unlink(filename) == 0) break; if (errno == EPERM) { int fd = open(filename, O_RDONLY); if (fd != -1) { long flags = 0; if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0) { } close(fd); continue; } } if (errno == EROFS) { break; } if (errno != EBUSY || i > 100) exit(1); if (umount2(filename, MNT_DETACH | UMOUNT_NOFOLLOW)) exit(1); } } closedir(dp); for (int i = 0;; i++) { if (rmdir(dir) == 0) break; if (i < 100) { if (errno == EPERM) { int fd = open(dir, O_RDONLY); if (fd != -1) { long flags = 0; if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0) { } close(fd); continue; } } if (errno == EROFS) { break; } if (errno == EBUSY) { if (umount2(dir, MNT_DETACH | UMOUNT_NOFOLLOW)) exit(1); continue; } if (errno == ENOTEMPTY) { if (iter < 100) { iter++; goto retry; } } } exit(1); } } static void kill_and_wait(int pid, int* status) { kill(-pid, SIGKILL); kill(pid, SIGKILL); for (int i = 0; i < 100; i++) { if (waitpid(-1, status, WNOHANG | __WALL) == pid) return; usleep(1000); } DIR* dir = opendir("/sys/fs/fuse/connections"); if (dir) { for (;;) { struct dirent* ent = readdir(dir); if (!ent) break; if (strcmp(ent->d_name, ".") == 0 || strcmp(ent->d_name, "..") == 0) continue; char abort[300]; snprintf(abort, sizeof(abort), "/sys/fs/fuse/connections/%s/abort", ent->d_name); int fd = open(abort, O_WRONLY); if (fd == -1) { continue; } if (write(fd, abort, 1) < 0) { } close(fd); } closedir(dir); } else { } while (waitpid(-1, status, __WALL) != pid) { } } static void setup_loop() { setup_cgroups_loop(); checkpoint_net_namespace(); } static void reset_loop() { char buf[64]; snprintf(buf, sizeof(buf), "/dev/loop%llu", procid); int loopfd = open(buf, O_RDWR); if (loopfd != -1) { ioctl(loopfd, LOOP_CLR_FD, 0); close(loopfd); } reset_net_namespace(); } static void setup_test() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); setpgrp(); setup_cgroups_test(); write_file("/proc/self/oom_score_adj", "1000"); flush_tun(); if (symlink("/dev/binderfs", "./binderfs")) { } } static void close_fds() { for (int fd = 3; fd < MAX_FDS; fd++) close(fd); } static void setup_binfmt_misc() { if (mount(0, "/proc/sys/fs/binfmt_misc", "binfmt_misc", 0, 0)) { } write_file("/proc/sys/fs/binfmt_misc/register", ":syz0:M:0:\x01::./file0:"); write_file("/proc/sys/fs/binfmt_misc/register", ":syz1:M:1:\x02::./file0:POC"); } static void setup_sysctl() { char mypid[32]; snprintf(mypid, sizeof(mypid), "%d", getpid()); struct { const char* name; const char* data; } files[] = { {"/sys/kernel/debug/x86/nmi_longest_ns", "10000000000"}, {"/proc/sys/kernel/hung_task_check_interval_secs", "20"}, {"/proc/sys/net/core/bpf_jit_kallsyms", "1"}, {"/proc/sys/net/core/bpf_jit_harden", "0"}, {"/proc/sys/kernel/kptr_restrict", "0"}, {"/proc/sys/kernel/softlockup_all_cpu_backtrace", "1"}, {"/proc/sys/fs/mount-max", "100"}, {"/proc/sys/vm/oom_dump_tasks", "0"}, {"/proc/sys/debug/exception-trace", "0"}, {"/proc/sys/kernel/printk", "7 4 1 3"}, {"/proc/sys/kernel/keys/gc_delay", "1"}, {"/proc/sys/vm/oom_kill_allocating_task", "1"}, {"/proc/sys/kernel/ctrl-alt-del", "0"}, {"/proc/sys/kernel/cad_pid", mypid}, }; for (size_t i = 0; i < sizeof(files) / sizeof(files[0]); i++) { if (!write_file(files[i].name, files[i].data)) printf("write to %s failed: %s\n", files[i].name, strerror(errno)); } } #define NL802154_CMD_SET_SHORT_ADDR 11 #define NL802154_ATTR_IFINDEX 3 #define NL802154_ATTR_SHORT_ADDR 10 static void setup_802154() { int sock_route = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); if (sock_route == -1) exit(1); int sock_generic = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC); if (sock_generic < 0) exit(1); int nl802154_family_id = netlink_query_family_id(&nlmsg, sock_generic, "nl802154", true); for (int i = 0; i < 2; i++) { char devname[] = "wpan0"; devname[strlen(devname) - 1] += i; uint64_t hwaddr = 0xaaaaaaaaaaaa0002 + (i << 8); uint16_t shortaddr = 0xaaa0 + i; int ifindex = if_nametoindex(devname); struct genlmsghdr genlhdr; memset(&genlhdr, 0, sizeof(genlhdr)); genlhdr.cmd = NL802154_CMD_SET_SHORT_ADDR; netlink_init(&nlmsg, nl802154_family_id, 0, &genlhdr, sizeof(genlhdr)); netlink_attr(&nlmsg, NL802154_ATTR_IFINDEX, &ifindex, sizeof(ifindex)); netlink_attr(&nlmsg, NL802154_ATTR_SHORT_ADDR, &shortaddr, sizeof(shortaddr)); int err = netlink_send(&nlmsg, sock_generic); if (err < 0) { } netlink_device_change(&nlmsg, sock_route, devname, true, 0, &hwaddr, sizeof(hwaddr), 0); if (i == 0) { netlink_add_device_impl(&nlmsg, "lowpan", "lowpan0", false); netlink_done(&nlmsg); netlink_attr(&nlmsg, IFLA_LINK, &ifindex, sizeof(ifindex)); int err = netlink_send(&nlmsg, sock_route); if (err < 0) { } } } close(sock_route); close(sock_generic); } #define USLEEP_FORKED_CHILD (3 * 50 * 1000) static long handle_clone_ret(long ret) { if (ret != 0) { __atomic_store_n(&clone_ongoing, 0, __ATOMIC_RELAXED); return ret; } usleep(USLEEP_FORKED_CHILD); syscall(__NR_exit, 0); while (1) { } } static long syz_clone(volatile long flags, volatile long stack, volatile long stack_len, volatile long ptid, volatile long ctid, volatile long tls) { long sp = (stack + stack_len) & ~15; __atomic_store_n(&clone_ongoing, 1, __ATOMIC_RELAXED); long ret = (long)syscall(__NR_clone, flags & ~CLONE_VM, sp, ptid, ctid, tls); return handle_clone_ret(ret); } static void execute_one(void); #define WAIT_FLAGS __WALL static void loop(void) { setup_loop(); int iter = 0; for (;; iter++) { char cwdbuf[32]; sprintf(cwdbuf, "./%d", iter); if (mkdir(cwdbuf, 0777)) exit(1); reset_loop(); int pid = fork(); if (pid < 0) exit(1); if (pid == 0) { if (chdir(cwdbuf)) exit(1); setup_test(); execute_one(); close_fds(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } uint64_t r[1] = {0x0}; void execute_one(void) { intptr_t res = 0; NONFAILING(memcpy((void*)0x20000c00, "udf\000", 4)); NONFAILING(memcpy((void*)0x20000080, "./file0\000", 8)); NONFAILING(memcpy( (void*)0x20003500, "\x75\x6e\x68\x69\x64\x65\x2c\x6e\x6f\x73\x74\x72\x69\x63\x74\x2c\x64\x6d" "\x6f\x64\x65\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30" "\x30\x30\x30\x30\x30\x30\x30\x31\x31\x2c\x69\x6f\x63\x68\x61\x72\x73\x65" "\x74\x3d\x69\x89\x6f\x38\x38\x35\x39\x2d\x35\x2c\x00", 67)); NONFAILING(memcpy( (void*)0x20003543, "\x78\x5a\xa1\x44\xa2\x12\x06\xa4\x9c\xf3\x59\x1d\xba\xa5\x15\xe6\x36\x0f" "\xa2\x7c\x38\x1f\x5c\x81\x57\xb0\xc7\x68\xc9\x5a\x2e\xa3\x68\x3f\xed\xf2" "\x97\x47\x2a\xf0\xa9\x3c\xc3\x05\xe3\x78\xf2\xa9\xd0\xbb\x5b\x55\x2c\xa2" "\x35\x2d\xa4\x6f\x6a\x8f\x25\x95\x6e\x6d\x88\xf3\xfe\x08\x3f\x33\x37\x51" "\x54\x43\xd0\xec\x95\xa8\x08\xfd\xb8\xb4\xd6\x2d\x25\xce\xa9\x66\xd8\x76" "\x02\x7d\x1c\x43\x53\x66\xe0\x1d\x97\x3a\xf4\xce\x4c\x8b\x54\xa5\xf7\x66" "\x0f\xcd\x54\xd8\x93\xe7\xc9\x90\x58\x00\x26\x65\x6c\x1b\x1f\x66\x81\xb5" "\x51\x38\x94\xff\x2d\xfe\x71\x8a\xaa\xbe\x70\xa9\xb3\x04\xbc\xae\x4f\x94" "\xd6\xcf\xd5\x0e\xb0\x2e\x90\x8f\xc2\x04\xea\x2b\x51\x9e\xba\x00\xfc\x45" "\xa0\xff\xb0\x66\x9e\x47\xb8\x11\x00\x19\xf4\xd7\x77\x95\x3a\x07\x5c\x4b" "\x38\x01\xf0\xd2\x83\x5f\x79\xc3\x74\xfc\x3c\x97\x78\x82\xdd\x7a\x0b\x76" "\xb2\x21\x32\xb5\xc3\xa5\x1f\x27\x3b\xb1\x93\x7b\x53\x56\xbb\x1a\x7a\xd7" "\x17\xaf\xfa\x54\x86\xf4\x5e\xe4\xa2\x8d\xf0\xea\x14\x19\xf8\x3f\x71\xdb" "\x0d\x55\x30\xb6\x7c\x63\x51\x3d\x68\x66\xb3\x86\x48\x9b\x97\xd5\xf7\x00" "\xcc\x57\x77\xc3\x70\x4f\xab\x57\xcc\xcc\x45\x69\xd7\x49\x06\x26\x5f\xff" "\xae\x44\xa2\x40\x2b\x4a\xc0\x05\xbb\x45\x2d\xb0\x2d\x3c\xd8\x0c\x99\xcd" "\xe8\xe9\x6e\xd5\x9b\x3f\x70\xd1\x75\x07\xc0\x4f\xcf\x3c\xff\xf8\x07\xbd" "\xa4\xb5\xb4\x62\x74\xb2\x3c\xd8\x48\x5e\x70\xda\x2a\x11\xa9\x3b\x1d\x1a" "\xbc\x9b\xaa\x41\x26\x0d\x51\x5c\xeb\xd7\x18\x00\xb4\x18\xa8\xdb\x13\xd9" "\x54\x46\x85\x18\x6b\xf3\x97\x5e\x62\xd5\xec\x6f\xfa\xc5\xc2\xea\x91\x5c" "\xaf\x2f\xb2\x1a\x43\x25\xba\x85\x19\x16\x2b\xf9\x6b\x6d\x07\x51\x74\x2e" "\xd9\xb8\xd5\x0e\xf2\xf8\x7a\x70\x5c\xab\xa8\xff\xe7\xa4\xc9\x44\xa4\xb9" "\x2b\x80\x4e\xcb\x4f\x8d\xf0\x15\xb2\x1d\xe8\x7d\x49\xa8\x20\xc2\x96\xcf" "\xc3\xf5\xa1\xb2\x3c\x35\xac\xa2\x4c\x68\xfb\x65\x9e\x01\xad\x2f\x7d\x2e" "\x59\x62\xb1\xc6\x65\x53\x50\x64\x90\x58\x68\x0b\xc1\x6f\x83\xba\xe4\xaf" "\x48\xf5\xb9\x74\x9a\x8e\x57\xa1\xdf\xab\x06\xc1\x09\xee\x4f\xec\x2e\x16" "\x6f\xb8\x21\xb0\x22\xd5\x73\xcf\x20\xb7\x90\xd1\x91\xfc\x48\x48\x11\xbb" "\xe3\x9c\xa2\x81\xe0\xd3\xfc\x79\x34\x46\x09\x6b\x46\x78\x8c\xe0\x9b\x4c" "\xd3\x20\x93\xb4\x21\xde\x47\xd6\xd6\x4d\xb0\xff\x6b\xef\x51\x4a\x89\x4b" "\x79\xa2\x18\xd1\x4e\xcb\x96\x8e\x86\x30\xff\x55\x5c\xe7\xe6\x94\x8a\x5d" "\xbd\x24\xa7\x48\x12\x2b\x90\xc8\xfe\x33\xe9\x38\x81\xb6\x1a\x8c\x3b\x3b" "\xcb\xc1\x38\xf5\x53\x27\x08\x4e\x87\xcf\x68\x4b\xe4\x0a\x30\x00\xb2\x24" "\xec\x8b\x9f\x51\xcb\xa2\xe5\xde\x12\x04\x8b\x55\x17\xcf\x55\xec\x82\xa2" "\xc3\xaa\xc4\x0d\xfa\xfe\x16\xd7\xd5\x81\x05\x9e\x1f\x91\x5a\x55\x5d\x4b" "\xed\x19\x7e\xf0\x39\xde\x35\x26\x99\xad\x44\x98\xe5\x8e\xec\x33\xe5\x1e" "\x6b\xe9\x0c\x76\x97\x7b\x74\x71\xc9\x22\xc5\x07\x09\xc3\x40\x95\x5d\xb1" "\x8d\x38\x34\xbc\x31\xc8\xb8\xc3\xb4\xd5\xc5\x88\x4e\xdd\x2c\x8c\x13\x33" "\xd4\xca\x4f\x9a\xee\xd7\xbf\x4d\x95\x2f\x49\xea\x6e\x3c\xc1\x1a\x94\xb5" "\x6b\x9e\xcd\x7b\xaa\x77\xdf\x62\x03\x56\x09\x25\xdf\xfd\xe2\xba\x45\x00" "\x95\x5e\x4b\xf1\x9d\xa5\x94\xb1\xde\xa4\x09\x88\xbf\x78\xd9\x16\x48\x16" "\xa2\xae\x3f\xa0\xf6\xe0\xd9\x06\xa9\x76\x07\x60\x61\x58\xfa\x9d\xee\x7c" "\xea\xa0\xa1\x19\x76\x7b\x5a\xd5\xda\x30\x7e\x6f\x4c\x67\xa0\x67\x0a\xf8" "\x76\xa2\x4a\xa5\xa0\x8c\xad\x31\x71\xb6\x7a\x31\x8c\xa9\x6b\xf6\xdf\x2b" "\x27\x53\x5d\xd4\x39\x88\x8b\x98\x73\x81\xdd\x33\x98\xe8\x00\x5c\xc1\xd4" "\xaa\x03\x0f\xee\x9e\x54\x68\xc6\x4e\x74\x08\x92\xa7\xb1\x76\x8f\x9c\xaa" "\x3a\xaa\x85\xf9\xd6\x3b\xc4\x65\x82\x4c\xe2\x79\x0b\x00\xe8\x7c\x0a\xa0" "\x81\x9a\x1f\x6d\x4e\x28\xdf\x67\x41\x01\x8e\xf8\xab\x75\xa1\x14\xc1\xac" "\x64\x03\x61\x54\xf1\x52\xd7\x14\x3e\x7d\xb4\x09\x05\x57\xad\x8f\x93\xc5" "\x3b\x2e\xfa\x8f\x76\x09\x77\xd1\x48\x1d\xfd\x34\x80\xb4\xe2\xc1\xd1\x85" "\xa0\x1d\x50\xa8\x5f\xac\xa1\x67\x1b\x0d\x33\x33\x7a\x2d\x81\x53\x63\x87" "\x73\x56\xf0\xe1\xf1\xcc\xc6\x67\xb8\x74\x69\xd0\xe0\x69\xbd\xbe\x25\xb5" "\x48\x9a\x8a\xd5\x97\xa4\x97\x5b\xd9\x62\xfe\xd1\xf0\x82\x24\xf8\x1f\x53" "\x99\x65\x90\xbf\xa1\x67\x9a\xa2\xef\x67\x29\xa9\x09\x9d\x30\xf3\x55\x2d" "\x75\x0f\x13\xcd\x74\xb9\xeb\xa4\x3d\xa2\x4c\x95\xb2\xb9\x54\x92\x18\xea" "\x08\x13\x9c\x03\x53\xd3\xe2\x40\x94\x86\xcc\x0f\xc2\x86\xff\x5a\xe8\x9f" "\xde\x84\xa2\x4b\x4e\x30\x33\xe1\xb0\x23\x49\x2b\xdf\x92\x9d\xbe\x89\x97" "\xc0\x3a\x7a\x97\x71\x00\x41\x64\xed\x19\xdd\x9c\xb7\x9b\xc3\x0b\x46\x0b" "\x3f\x8e\x5a\x61\xee\xe4\xd3\x93\x3e\x70\xd0\x4a\x2f\x8f\xb8\xac\xc5\xe0" "\xfb\xf7\x0f\x53\x58\x30\x25\x28\x51\x5d\x9b\xea\x18\x76\x89\xaf\x16\xaf" "\xa7\x43\xb8\xb3\x7d\x8a\x77\x4a\xc9\x61\x98\x64\x10\x7a\x5b\x62\x16\xca" "\x68\x37\x0c\xae\x94\x07\xc5\x15\xad\x82\xc8\x4f\x06\x1a\xb5\xe1\x29\xd9" "\x94\xa1\x6c\x47\xdc\x4d\x61\x19\x3e\x2a\xc2\xf2\x08\x83\x3b\x51\x12\x54" "\x5d\x42\x28\x5e\xc8\xc8\x2e\xac\x1d\x28\xfb\x5a\x29\x53\xc2\x5f\xf9\xe5" "\xd2\xf1\x5d\x66\xd3\x7b\xbb\x59\x28\xfc\xf4\xed\x62\x4e\x9f\x51\x39\xe1" "\xe0\x62\xbc\xf3\x57\x48\xfe\xf4\xb3\x22\xd5\x7b\x6c\xd6\xfa\x25\x58\x2d" "\xd5\xd7\xf6\x68\x6a\x98\x55\x5c\x7f\xba\x88\x60\x0b\x94\x5b\x9f\x15\x2b" "\xae\x74\xec\x48\x5b\x04\xc2\x7b\xb4\x90\x1f\xf7\x35\x2a\x6e\xe7\x95\x5d" "\xc1\xf9\xf5\xf8\x4c\xb2\x16\xc3\x88\x8e\x6a\xd2\x8a\x53\xa8\xd9\x58\x66" "\x59\x47\xd7\xd8\x22\xc1\xb8\x7f\xbf\x2f\xeb\x0e\x8c\x96\xa9\x22\x4b\xb6" "\x7e\x39\x2b\x9e\x70\x4e\x91\x8c\x07\x9e\x72\x5c\x3f\x90\xc3\x98\x4c\x88" "\xa8\xc5\xcc\x6a\x98\xd6\x1f\x18\x7f\xcd\xcf\x87\xe2\x97\xc1\x0f\xdb\x88" "\x2c\xc5\x59\xdb\xcf\x2f\x02\x0f\xcd\xbd\x0f\x65\xf9\x3f\x9f\x0d\xa5\xe8" "\xea\x44\xed\xfa\xd3\x5b\xf6\x4d\x2f\xc4\x30\xe4\x05\x82\x28\xd4\x98\x40" "\x6b\x3e\xba\x12\x3f\x25\xf5\x06\x70\xc5\x1f\x31\x36\xa2\x94\x8f\x7e\xe9" "\x10\x6e\xaa\x45\x31\x35\x9d\x1e\x2b\x91\xc0\x5c\xbb\x6e\x3f\x41\xf8\xca" "\xae\x7d\x6b\xcf\x42\x05\x25\x36\x52\x6b\xb6\x39\x2f\xfa\xc0\xbd\x94\xe6" "\x6d\xd3\x45\x8b\x80\x97\x6f\x2f\xaa\x35\x52\xc6\xb6\x5b\x66\x8a\x60\x6e" "\xe9\xfa\x55\xb9\x04\xfd\x08\xcc\xd7\x1c\x4b\x71\x91\xc2\xa9\x9d\x5c\x54" "\x06\xab\x5b\x62\x8e\x08\xa0\x7e\x00\xb4\x2f\x63\xc0\x5a\x6f\xae\x30\x18" "\x5c\x39\xc9\x5c\x6d\x5d\x74\xf1\x68\x6c\x42\xdc\x02\x3d\xbc\x6e\x64\xf3" "\xd0\xce\xcf\xea\x98\xa3\xcc\x6e\xfa\xaa\x4d\xd2\x91\x9d\x9f\x88\x48\x64" "\xa4\x6c\xd8\x3e\x07\xb2\x83\x8a\xfe\x52\xf1\xbe\x07\xf0\x40\x53\x27\xa3" "\x67\x49\x40\x82\xcb\x7b\x98\x6a\x02\xbf\x22\x34\x2f\xd1\xed\x98\x87\xdb" "\x54\x85\xe8\xad\xab\x5f\x4b\x78\xb1\x9a\x70\x8c\xf5\x53\xc6\x01\x00\x7a" "\x02\xb4\x73\x3c\x5f\xe0\xe7\x0b\xd8\x67\x23\xac\x36\xce\x36\xa1\x8f\x94" "\x89\xcf\xac\xa1\xe4\x1f\x03\xfe\x67\xde\xba\xe7\x68\x71\x76\x4a\xc0\x6b" "\x18\x79\xb9\x20\x1b\x86\xe9\xfb\x43\xd0\x84\x86\xa8\xb4\xa3\x9c\x8c\x35" "\xc0\x5e\x3c\x7c\x5c\x13\xda\xd3\xe2\xa5\xc2\xa6\xae\x39\xf7\xa2\x85\x7c" "\xa7\x7b\x81\x00\xc5\x86\x21\x02\xac\xf4\x60\x58\x65\xfd\xb6\xd9\xed\xe3" "\xc0\xb1\xca\xc0\x92\xf3\x71\x11\xc7\x3b\xdc\xb4\x29\x81\x96\x36\x05\xb0" "\x41\x3a\x2f\x9c\x97\x48\x6b\xf9\xa1\xe8\x41\x98\x77\xf6\xc7\x8a\x5b\xaf" "\xa2\x67\x7a\xac\x43\x16\xd5\xb0\x27\x28\xdb\x70\x15\x4e\xbe\xc5\xae\xbe" "\xbb\x86\x97\x3b\x57\xf0\xa3\x1d\x73\x92\x7b\xed\xcc\xf2\xb5\x4a\x75\x26" "\x28\xd3\x9e\xd0\x0d\xf4\xc7\x9e\x82\xfb\xe0\x17\x7f\x97\x9a\xcc\x09\x03" "\xb6\xf6\x2e\x09\xbc\x92\xab\x74\x77\x2a\xd2\x91\x46\xd6\x7d\x6f\x84\x98" "\xbb\xc5\x0c\x0f\xf8\x91\xdd\xa0\x26\x07\xbf\x0c\xfe\xab\x14\xb9\xfc\x67" "\x51\x76\x11\xc2\x95\xd3\x98\x30\x06\x46\xe9\xf8\x37\xc4\xaf\x65\x57\x13" "\xce\xe3\xfc\x90\x46\x35\x6f\x2d\xc9\x37\xbc\x3b\xa0\x03\x97\xec\xc5\x45" "\xe1\x85\xd0\x07\xa8\xbd\x28\x18\x35\x46\x9e\x09\xc8\x46\x63\xec\xbb\x31" "\x99\x56\xd6\x82\x6e\xfc\x9d\x6a\x75\x42\xaa\xee\x92\xd2\x20\x22\x16\x92" "\xa5\x51\x0f\x3e\x60\xcc\x98\x1a\x49\x72\xe5\xfd\x3c\x7b\xe1\x5d\x6a\xc3" "\xfc\xd6\x2e\xa1\x07\x23\xf2\xa5\xda\x91\xd5\x9b\x36\xde\xce\x80\x8c\xc5" "\x5d\x45\xb4\x80\x8d\x28\x8a\xe9\xaa\x83\xf6\x2d\x5b\x40\xe0\xda\xd8\x68" "\xf0\x17\x08\xaf\x1a\xf4\x5c\x04\x17\xe4\x9b\xf9\x7c\x08\x1e\x31\x67\x4f" "\xb0\x0d\xfb\x40\x7f\x9a\x47\x75\x8a\x32\x20\xa3\xc3\x08\x7a\x82\x5c\x66" "\x66\x08\xc0\x0e\xf7\x3f\x01\x91\x88\x0b\x07\x46\xd0\x2c\xdc\x64\xf0\x9b" "\xe5\x51\xfc\xd2\x2c\xaa\x90\x48\x99\xfe\x84\xc0\x68\x47\xaf\xcf\x60\xfe" "\xeb\xa3\xc5\x2b\x4c\xb6\x6d\x8e\x93\x38\xac\xf1\x7b\x8c\x5c\x76\x38\xe6" "\x7f\x13\x44\x53\x65\x5f\x2c\xc9\x62\x06\xdf\x7b\xc6\x8e\x94\xea\x67\xdc" "\xd2\x2f\x3a\x08\x62\xe5\x43\xec\x8c\x6c\x32\x0b\x10\x40\x65\x8b\x62\xfe" "\x07\xf4\xc8\x66\xfb\x5f\xd5\xaf\xed\x43\x2b\x86\x76\xa9\x07\x54\x64\x18" "\xb7\x05\x34\x29\x93\x5c\x34\x27\x95\x42\xce\x62\x9a\xf0\xa4\x93\x26\x3d" "\x6d\xf7\x92\xcf\x98\x2c\xf3\x06\x90\xdf\xdc\xfa\x4f\x18\x75\x6a\x5f\x05" "\x49\x39\x36\x49\xf1\x12\xe4\xaa\xfa\xe5\x86\x9a\x3a\x6e\xd8\x97\x30\xfb" "\x8f\x88\xa0\x94\x01\x24\x54\x00\x9a\x3c\xf3\xbd\xa7\x4f\x5a\x6a\x10\x27" "\xd5\x9a\x1c\xa4\xa3\x01\xfc\x67\xbc\xd8\x6d\x71\x15\x4c\x47\x7c\xfe\xac" "\xd8\x02\x2e\xff\x96\x51\xd5\x37\xf5\xe0\x3e\x61\x6d\x29\x21\x1e\x8b\x7a" "\xdf\xd8\x3e\x0f\xe0\x24\x0c\x83\x7b\x51\xea\xaa\xfe\xf8\xe2\xcf\x7d\x3f" "\xbb\xbf\x73\xc9\x7e\x2b\x5b\x50\xc2\x93\xa5\xa6\x79\x25\xc9\x29\xaa\x03" "\x50\x6b\x4d\x17\xec\xb6\x27\xe7\x0c\xbe\xbf\x4b\x9e\x39\x1d\x7d\x28\x95" "\x08\x46\x62\xa9\xd8\x44\x95\xa0\xf3\xa4\x2d\x15\x40\xc8\xa5\x0c\xa8\x38" "\x78\xca\x6e\xc7\xf6\xbf\x78\xda\xe4\x87\xea\x1e\x7a\x2b\x3b\xea\x47\x74" "\x56\x81\x01\x98\x98\x25\x84\xb2\xb3\x23\x68\x81\x1b\x6d\xa3\x46\x4d\xee" "\x6a\xaa\xf8\x47\x4e\x20\x08\x8e\xe0\xc3\xff\x68\xb6\x20\xb5\xf6\x2a\x2c" "\x33\xd3\xd6\x73\x17\x7c\xa1\xd9\xdb\x0a\x76\xe8\x1b\xd4\x73\x8b\xec\xa8" "\xa2\x37\xae\x2e\x1c\xa4\xd7\x11\xad\x94\x74\x9b\x02\xe6\x0d\x0d\xe4\x5e" "\x44\x08\x35\x2a\x97\xb0\x17\x5f\x4e\xe9\x72\x0a\x68\xf6\x36\x38\xc0\xb1" "\x88\xed\xdc\xf0\xf3\x72\xe6\x17\xc4\x8e\xd3\x99\xe3\x92\xf0\x7e\x22\x32" "\xfc\x0b\x79\xc0\x63\x09\xdb\x37\xe9\x62\x19\x7f\x7d\x41\x5f\x47\x7d\xd0" "\x29\x0e\x9c\xb5\x90\x5f\xa0\xff\xcf\x68\xba\x96\xa4\x44\x34\xb8\x11\xf0" "\x3d\xa9\x58\xdb\xe0\x05\x9d\xda\xc5\xac\xcd\x13\xec\x3c\x54\x12\xdc\x8d" "\xb1\x6e\xd9\xa2\x3a\xea\x3a\x36\x54\x6d\x23\xba\x25\x1f\xe6\x3d\x31\xc9" "\xdb\xb4\x92\x15\x1f\xdc\x18\xa8\x6a\x6f\x6f\x37\x82\x84\x01\xd4\x7b\x51" "\xcc\x1a\xa9\x30\x02\x1e\xb7\x10\xfd\x7c\x73\xd8\x25\x4b\xf7\x89\x63\x2a" "\xf5\x42\x1d\x9a\xdd\x32\x15\x28\x32\x08\x45\x76\x82\xbb\x22\xcc\xda\x25" "\xa0\x1a\x3b\xe2\xd8\x37\x45\x0f\x23\x63\x21\x7f\x6a\x8a\x5a\xf4\x48\x33" "\x35\x33\x22\x22\x4e\x64\xf5\x52\x00\x58\xb5\xbc\xf0\xdb\x36\x82\xda\x55" "\xde\xa4\x78\x6e\x65\x9d\x91\x14\x2e\xa2\xe3\x1b\x72\x19\x8e\x17\xad\x22" "\xe0\x95\x63\xf5\xdd\x18\xea\x12\x29\x82\x10\x3d\x2a\x65\x71\x77\x2f\xad" "\x35\x2c\xbd\xbc\xde\xdd\xba\xe8\xa8\x7d\x3e\xcb\xa5\x5b\x39\x18\xa6\x9f" "\x35\x7d\xf0\x3b\x35\x33\xee\x85\xec\x86\xe1\x0d\x93\x60\x3f\xc7\x12\x59" "\xc3\x51\xed\xd8\x40\xe2\x1b\x13\x3c\x74\xd6\x87\xd0\xf1\x1d\xad\x4a\x9b" "\x97\xed\x7a\xea\xf4\xbc\x6b\xba\x01\x7b\x02\x2b\x6b\xa5\xc9\x1d\x9b\x53" "\x63\x65\x1e\x89\x78\xac\xcc\x74\x4a\x40\xc3\x4b\x60\x20\x73\x46\xa8\x5b" "\xa6\x53\x80\x16\x52\xc8\x3c\x06\x09\xa7\x54\x33\x81\x71\x9b\xd9\x6e\xc7" "\x14\x46\x18\xd3\xeb\x27\x3e\x7a\xf6\x41\x6e\xec\xea\x3b\x0b\x7e\x0c\xed" "\x3e\xd0\x93\x42\x4d\xb5\x9c\x8a\x03\xb0\xa1\xb4\x72\x6d\xf4\x5c\x68\xd8" "\x50\x15\x74\xd6\x99\x18\xaf\x59\x4b\xf1\x40\x9b\x6b\xfe\xc0\x22\x18\x02" "\xf8\xcf\x52\x66\x57\x9c\xee\xa9\x6e\x12\x7a\x0e\xa3\x48\x73\x42\xf0\x9a" "\x8a\x60\x91\xb2\x1b\x8b\x0b\xf3\x7e\x5c\xa5\x31\xb5\x1e\x79\xb1\xbb\xb8" "\x1d\xb0\x5c\x96\xfa\x79\x43\x45\x61\x67\x2d\xaf\xdd\x00\x58\xa8\x99\x3b" "\x19\x54\xb6\xb0\x84\x0c\xcd\x4c\x5d\xd8\x22\x7d\x97\x70\x7c\x63\xa4\xb4" "\xad\x36\xa6\xa0\x37\x1e\x14\xdf\xc2\x5b\x3e\xd8\xa5\x34\x86\xbf\x30\x7a" "\xce\xd5\x0a\xed\x53\x23\x40\x7b\x51\x08\x8f\x52\x18\x19\x83\x8c\x0f\x4a" "\xbc\xc4\x4e\x28\xd1\xea\xd1\x1f\xa5\x5f\xf5\x51\xb6\xb6\x96\x14\x23\x30" "\xd7\x1e\x7a\x19\x05\xdb\x5a\xaf\x5f\x2a\x6f\x33\xfa\x38\x8e\x95\xf8\xd7" "\xec\x96\x0c\x77\x75\x56\x59\x5c\x50\xbf\x59\x89\x62\x40\x31\xc8\x38\x6c" "\xce\x52\x2a\x78\xb1\x79\x53\xaa\xdd\x21\xb1\x2c\xa7\x36\xfe\x41\x18\xe0" "\x99\x3c\x2d\x3e\x70\x94\x71\x93\x80\x40\xff\x37\xe8\x65\x83\x0f\x4f\x90" "\xeb\x7f\x6c\x53\xe8\xf4\xb2\x54\xae\x49\x14\xee\x06\x98\x3c\xb6\x9b\x32" "\x89\x85\x27\x63\x2f\x8a\xdd\x54\x1e\x74\xb3\xb7\xf2\xf6\xda\xc6\x2b\xff" "\xf1\xf2\x04\x02\x5e\x66\xdc\x30\x48\x8d\x08\x26\xe2\x9d\xc0\xec\x2e\x57" "\x65\x44\x10\x39\x79\x8d\x55\x17\x5a\x0f\xa0\xc8\xc2\x69\xa9\x08\xb4\x50" "\x82\xb8\x02\xc7\x37\x0c\xfd\xfc\xe1\x22\x62\x80\x03\xb8\xb7\xfc\x23\x53" "\x48\x8e\x75\x50\x0c\x5f\xc5\x08\xc8\x60\x05\x5b\xe9\x57\x9f\x8e\xc0\xb3" "\x9c\xf6\xef\x72\x1d\x80\x50\x20\x98\x2a\x83\x92\x30\x09\x63\x70\x16\x77" "\x85\xb2\xe3\x83\xc4\x26\xe7\x07\x90\xce\x21\xd8\x29\xef\x98\x41\xa0\x7e" "\x82\x5c\xc4\xab\xb2\x19\x79\x5d\x6a\x0b\x68\x26\x85\x33\x1b\xc3\xce\x64" "\xf1\x45\xa2\x00\xde\x50\x63\xd6\xde\x63\x47\x2c\x2d\x30\x6d\x53\xfb\x5b" "\xc3\x55\x59\xdf\x28\x6f\xa8\x3c\x75\x2c\x14\xed\x92\x2a\x84\xd8\xd9\xe5" "\x79\x18\x83\xd7\x77\x2f\xd6\xf5\xb6\x90\x32\x3a\x80\x4e\xd7\x73\xa6\xf4" "\x32\x8a\xec\x1b\x38\xef\x92\xe8\x6f\xe7\x73\xfd\xe1\x3a\x1e\xc6\x35\x0f" "\xe0\x23\x7e\xf8\xd4\x3b\xb5\xdb\xdf\xc4\x21\x0c\xcf\xe7\x58\x65\xf2\xdd" "\x1f\xd3\xc9\x41\xba\x6c\x0a\x16\xf0\xaa\xac\x26\xdf\x35\xb4\xd9\xa0\xb9" "\x42\x3d\x15\xd7\x06\x4e\x61\x7c\x54\xf1\x1b\xc0\xa3\xd8\x40\xf4\x71\x7d" "\x99\xb7\x45\xc5\xfa\xfd\xeb\x00\x7c\xfb\x02\x68\x10\x4b\xa5\x6d\xe1\xce" "\x83\x97\xba\xf2\x6e\x06\x2e\xca\x0b\xa5\x4e\xe4\xe0\x6b\x8b\x00\x26\x38" "\x98\xfa\xcc\xaf\x84\xd3\x85\xd8\xae\xc8\x5e\x02\x6b\x47\x1c\x42\x80\xfb" "\xd0\xf0\x57\x8c\x60\x56\xfb\xb8\x7e\x98\xd5\x4f\xe9\x76\xc6\x1b\x8b\xa3" "\x24\x61\xce\x3e\xcf\xe3\x3c\xf7\x9a\xd1\x86\xd4\x4d\x44\x2c\x7d\x99\xed" "\x44\x5d\x3d\xa0\xa6\x90\x26\x90\xee\x45\x7c\x00\x02\xd3\xa8\xa5\xdf\xfd" "\x88\xc5\xd1\xd0\xa3\x23\x1f\x2f\x25\xa8\x2a\xa9\xd1\x19\xa7\x7b\x56\xf0" "\xde\x8e\x28\xf0\x6e\x3f\xba\x56\x61\xec\x9f\x5a\xa6\xf2\x86\x17\xe5\x36" "\x4e\xda\x58\x70\xa2\x47\x32\x93\x6e\xdc\x88\x9a\x1b\x65\xdc\x8a\xc6\x68" "\xcc\x3f\xa1\x24\xbc\x87\x8e\x06\x70\x00\xe5\x0f\x67\x2e\x42\x49\xda\x09" "\xe4\xa6\x32\xd7\xf0\xa6\x55\x0f\xa0\x52\x59\x5b\x44\xe0\x70\x26\xef\x0f" "\x92\xba\xd3\xf5\xe5\x2a\xf4\xde\x24\x19\xa8\xa0\x62\x41\xd3\xeb\x27\x72" "\xe9\x76\x8a\x32\x2b\x0e\x4a\xed\x54\x39\x68\xee\x0e\xdd\xd1\x1e\x0f\x2a" "\x4f\xc4\xfd\xc5\x32\xbe\x92\x70\x23\xa1\x2a\x13\xdb\x83\x45\x5a\x4f\xb9" "\xb5\xfa\x69\xa2\x68\x85\x0a\x00\x86\xf0\x11\x4d\xc8\x08\x57\xb0\x4f\xb5" "\x4a\xca\xd9\xe9\x76\x9e\x4f\x5c\x3d\x1d\xc8\xb5\x67\xd0\xba\x3a\xc3\x56" "\xe6\x34\x78\x60\xb9\x6b\x1e\x16\x3d\x2d\x0b\x24\x86\xe7\x21\x0e\xaa\xfb" "\x95\x97\xcc\x19\x3a\xcc\xe6\x6d\x39\x09\xe8\xfd\x58\x49\x82\xd7\x9b\x05" "\x36\x32\x4f\x7f\x3a\x6b\x7a\x67\xef\x38\x6f\x19\xca\x5e\xd5\x11\xda\xf6" "\xa6\x69\xf7\x42\xd6\x81\xf5\xc2\xd9\x17\xbe\xc5\xd1\x77\xc7\x52\x47\x8b" "\xe4\x75\x1e\x8d\xea\x45\xc6\x89\x2e\xe7\x7d\x1c\x9c\xe1\x44\x12\x0c\x20" "\x33\x34\x14\xe3\xd5\x72\x99\x65\x8d\xc8\x38\xd9\xf8\xad\x62\xd4\xe1\xdf" "\x88\x53\xec\xbf\xb1\x8a\x71\x71\xf8\x71\x53\x85\x40\xe7\xe8\x1b\x43\x93" "\x76\xab\x3f\x16\x3b\x5d\xcc\x8c\x9e\xd2\x22\x2f\x8f\x25\x90\x0b\xd8\xfa" "\x0b\x17\x88\x64\x69\x24\xb7\xed\x91\xf1\x76\x86\x78\x6a\xc1\x4b\xb2\x06" "\x6f\xc2\x11\x75\x75\x53\xaf\x1a\x95\xed\x50\x40\xd0\xdb\xb7\x09\x8b\x23" "\x40\x69\x6c\xfc\xc5\x3c\x1b\x6b\x5e\x0f\xa1\xf2\x7d\x9a\xe6\x05\x42\xb2" "\x3c\x8a\x49\xc8\xd9\xd2\x5f\x58\x3f\xb7\x40\x50\x94\x2b\x43\x67\xbd\xf9" "\x8d\xb8\x66\xc5\xf0\x12\xb2\xc5\xe9\x17\x48\xfc\x86\xa3\x2b\x5f\x5b\xbd" "\x8a\x25\xae\x6c\x8b\x9b\xdc\xe8\xd3\xe2\x74\x2c\xe4\x44\xd7\xb4\x24\x90" "\x9f\xe2\x9e\xba\xb2\x4c\xe7\x58\xd9\x6e\x23\x73\x2c\xa9\xd8\xe6\xc8\x8f" "\x76\x79\x32\xc6\xf8\x9a\x6d\x88\x52\x76\x7b\x2f\x0b\x2a\xf8\x4f\x29\xdb" "\x7a\xb4\x11\x85\x62\x78\x3f\x1a\x01\x9b\x47\xda\xc2\x2b\x3b\x6e\x20\x88" "\x26\xfc\x81\x8b\x23\x6b\x3f\xde\x43\xba\x5b\x60\xb5\x09\xd1\x21\x10\x24" "\xd0\x0e\xc5\xf6\x22\x65\xf9\xaa\xe6\xcc\x9a\x2f\xba\xe5\x41\x5d\x8b\x69" "\x35\x59\x75\x55\xf0\x1a\x6c\x72\xca\xb1\x51\x8a\x54\x1f\x15\x17\x69\x91" "\xc9\xe6\x92\xf9\xe1\xfd\x72\xe5\x40\xb9\xb5\xa8\x0d\xc3\x08\xca\x50\x39" "\xc2\x2a\xdd\x98\x06\xeb\xc2\x0f\x9b\x01\x37\x8d\x83\x15\x77\xe7\x0e\x25" "\xb8\xff\x80\x8a\x11\x7d\xc6\xea\x89\xa2\xf8\x09\x38\xbf\x67\x8c\xcc\xc5" "\x36\x9b\xff\x8a\xf9\x5c\x04\x65\x6c\xf7\x60\x92\x70\xee\xfe\x4c\x49\x3a" "\x65\x6f\xd1\x36\x94\x6a\x3c\x1f\x47\x6d\x57\x96\xec\xde\x2f\xcf\xf8\xcc" "\x26\x49\x46\x79\xa1\x56\x0b\x56\x6c\x2e\xa2\x83\x44\x46\xf0\xcd\xd6\x0b" "\x88\x4d\x74\x46\xaa\x67\xd1\x62\xf4\x38\x3b\xe2\x05\x20\x0c\x90\x36\x50" "\x00\xef\x4b\xff\xfe\xb9\x4b\xd4\x58\x40\xf5\x0e\xc4\x21\x2d\xa3\xb9\x7b" "\x1c\x05\xb0\xcc\x2a\x77\x08\xc7\xcf\x7b\x4c\x0f\xc3\xf1\x06\xe6\xb8\x39" "\xbd\xdf\x18\x6e\xc3\xfb\x46\x5a\x15\x8e\xbb\x44\x00\xe0\x0c\xe9\xb6\xdc" "\x04\xf5\x13\x7c\xca\xb2\x9a\xb4\x07\x78\x3e\xa7\x62\xa1\xcb\xf3\x08\xf0" "\x2a\x0e\xbb\x4c\x9d\x55\x3c\x98\x1e\xfc\x85\x75\x50\x54\xfc\xd4\x2c\xcd" "\xa4\xf3\x2b\x89\xac\xec\x92\xd8\xec\x74\x97\x8e\x93\x70\xa6\x2b\x8f\xf2" "\x48\xae\x73\x2c\x4c\xe2\xbf\xd7\xcd\xca\x65\x21\x90\xf1\x16\xef\x5e\xa1" "\x16\xf7\x87\x4c\x96\xa2\x60\x14\xa0\x54\x93\xd8\x5b\x4d\x1f\xec\xec\x2e" "\x51\x35\x78\x36\x1f\x9b\xe2\xdf\x56\xbc\x68\x18\x54\xba\xde\x40\x13\x88" "\x05\xbb\xb4\x29", 4090)); NONFAILING(memcpy( (void*)0x20001840, "\x78\x9c\xec\xdd\x4f\x6c\x1c\xd7\x7d\x07\xf0\xdf\x1b\x92\x22\x29\xb7\x15" "\x13\x3b\x8a\xdd\xc6\xed\xa6\x2d\x52\x99\xb1\x5c\xfd\x8b\xa9\x58\x85\xbb" "\xaa\x69\xb6\x01\x64\x99\x08\xc5\xdc\x02\x70\x25\xae\xd4\x85\xa9\x25\x41" "\x52\x8d\x6c\xa4\x05\xd3\x4b\x0f\x3d\x04\x28\x8a\x1e\x72\x22\xd0\x1a\x05" "\x52\x34\x30\x9a\x22\xe8\x91\x6d\x5d\x20\xb9\xf8\x50\xe4\xd4\x13\xd1\xc2" "\x46\x50\xf4\xc0\x16\x01\x72\x0a\x58\xcc\xec\x5b\x6a\x49\x51\xb6\x22\x8a" "\x14\xe5\x7c\x3e\x36\xf9\xdd\x9d\x79\x6f\xe6\xbd\x99\xf5\x0c\x4d\xf0\xcd" "\x0b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x20\xe2\xf7\x5e" "\xbd\x78\xea\x74\x7a\xd4\xad\x00\x00\x0e\xd2\xe5\xa9\x2f\x9f\x3a\xe3\xfe" "\x0f\x00\x3f\x57\xae\xf8\xff\x7f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x38\xec\x52\x14\xf1\x64\xa4\x58\xb8\xbc\x91\x66\xaa\xf7\x1d\x43\x97" "\x5a\xed\x5b\xb7\xa7\xc7\x27\x76\xaf\x36\x9c\xaa\x9a\x7d\x55\xf9\xf2\x6b" "\xe8\xf4\x99\xb3\xe7\xbe\xf0\xe2\xd8\xf9\x6e\x7e\x78\xfd\x87\xed\x99\x78" "\x7d\xea\xca\xc5\xda\x2b\xf3\x37\x17\x16\x9b\x4b\x4b\xcd\xd9\xda\x74\xbb" "\x75\x6d\x7e\xb6\x79\xdf\x5b\xd8\x6b\xfd\x9d\x46\xab\x03\x50\xbb\xf9\xc6" "\xad\xd9\xeb\xd7\x97\x6a\x67\x5e\x38\xbb\x6d\xf5\xed\x91\x0f\x06\x9f\x38" "\x3e\x72\x61\xec\xb9\x93\xcf\x76\xcb\x4e\x8f\x4f\x4c\x4c\xf5\x94\xe9\x1f" "\x78\xe0\xbd\xdf\xe5\x5e\x23\x3c\x8e\x44\x11\x27\x23\xc5\xf3\xdf\xf9\x51" "\x6a\x44\x44\x11\x7b\x3f\x16\x1f\xf1\xd9\xd9\x6f\xc3\x55\x27\x46\xab\x4e" "\x4c\x8f\x4f\x54\x1d\x99\x6b\x35\xda\xcb\xe5\xca\xc9\xee\x81\x28\x22\x6a" "\x3d\x95\xea\xdd\x63\x74\x00\xe7\x62\x4f\xea\x11\x2b\x65\xf3\xcb\x06\x8f" "\x96\xdd\x9b\x5a\x68\x2c\x36\xae\xce\x35\x6b\x93\x8d\xc5\xe5\xd6\x72\x6b" "\xbe\x3d\x99\x3a\xad\x2d\xfb\x53\x8b\x22\xce\xa7\x88\xd5\x88\x58\x1f\xbc" "\x7b\x73\x03\x51\x44\x7f\xa4\xf8\xd6\xb1\x8d\x74\x35\x22\xfa\xba\xc7\xe1" "\xf3\xd5\xc0\xe0\x7b\xb7\xa3\xd8\xc7\x3e\xde\x87\xb2\x9d\xb5\x81\x88\xd5" "\xe2\x31\x38\x67\x87\xd8\x60\x14\xf1\x5a\xa4\xf8\xf1\xbb\x27\xe2\x5a\x79" "\xcc\xf2\x57\x7c\x2e\xe2\xb5\x32\xbf\x17\xf1\x76\x99\x2f\x47\xa4\xf2\x83" "\x71\x2e\xe2\xfd\x5d\x3e\x47\x3c\x9e\xfa\xa3\x88\x3f\x2f\xcf\xff\x85\x8d" "\x34\x5b\x5d\x0f\xba\xd7\x95\x4b\x5f\xa9\x7d\xa9\x7d\x7d\xbe\xa7\x6c\xf7" "\xba\xf2\xd8\xdf\x1f\x0e\xd2\x21\xbf\x36\x0d\x45\x11\x8d\xea\x8a\xbf\x91" "\x1e\xfc\x87\x1d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1e" "\xb6\xe1\x28\xe2\x99\x48\xf1\xea\xbf\xff\x51\x35\xae\x38\xaa\x71\xe9\xc7" "\x2e\x8c\xfd\xfe\xc8\x2f\xf6\x8e\x19\x7f\xfa\x23\xb6\x53\x96\x7d\x21\x22" "\x56\x8a\xfb\x1b\x93\x7b\x24\x0f\x21\x9e\x4c\x93\x29\xdd\x35\x96\x78\xd3" "\x08\xd3\x03\x32\x14\x45\xfc\x71\x1e\xff\xf7\x8d\x47\xdd\x18\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x9f\x6b\x45\xfc\x30\x52" "\xbc\xf4\xde\x89\xb4\x1a\xbd\x73\x8a\xb7\xda\x37\x6a\x57\x1a\x57\xe7\x3a" "\xb3\xc2\x76\xe7\xfe\xed\xce\x99\xbe\xb9\xb9\xb9\x59\x4b\x9d\xac\xe7\x9c" "\xc9\xb9\x92\x73\x35\xe7\x5a\xce\xf5\x9c\x51\xe4\xfa\x39\xeb\x39\x67\x72" "\xae\xe4\x5c\xcd\xb9\x96\x73\x3d\x67\xf4\xe5\xfa\x39\xeb\x39\x67\x72\xae" "\xe4\x5c\xcd\xb9\x96\x73\x3d\x67\xf4\xe7\xfa\x39\xeb\x39\x67\x72\xae\xe4" "\x5c\xcd\xb9\x96\x73\x3d\x67\x1c\x92\xb9\x7b\x01\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x3e\x4e\x8a\x28\xe2\xa7\x91\xe2\x9b\x5f\xdb\x48\x91\x22" "\xa2\x1e\x31\x13\x9d\x5c\x1b\x7c\xd4\xad\x03\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x4a\x83\xa9\x88\xef\x46" "\x8a\xda\x1f\xd4\xb7\x96\xf5\x47\x44\xaa\xfe\xed\x38\x51\x7e\x3b\x17\xf5" "\x23\x65\x7e\x32\xea\x63\x65\xbe\x1c\xf5\x8b\x39\x1b\x55\xf6\xd7\xbf\xf1" "\x08\xda\xcf\xde\x0c\xa4\x22\x7e\x10\x29\x06\x87\xde\xd9\x3a\xe1\xf9\xfc" "\x0f\x74\xde\x6d\x7d\x0c\xe2\xed\xaf\xdf\x79\xf7\xcb\xfd\x9d\xec\xeb\xae" "\x1c\xf9\x60\xf0\x89\xe3\xc7\x2e\x8c\x4d\xfc\xea\xd3\xf7\x7a\x9d\x76\x6b" "\xc0\xe8\xa5\x56\xfb\xd6\xed\xda\xf4\xf8\xc4\xc4\x54\xcf\xe2\xfe\xbc\xf7" "\x4f\xf6\x2c\x1b\xc9\xfb\x2d\x1e\x4e\xd7\x89\x88\xa5\x37\xdf\x7a\xa3\x31" "\x37\xd7\x5c\xf4\xc2\x0b\x2f\xbc\xd8\x7a\xf1\xa8\xaf\x4c\x1c\x84\xf2\xfe" "\xff\x7e\xa4\xf8\xed\xf7\xfe\xa3\x7b\xc3\xef\xde\xff\x7f\xa1\xf3\x6e\xeb" "\x0e\x1f\x3f\xf9\x93\x3b\xf7\xff\x97\x76\x6e\x68\x9f\xee\xff\x4f\xf6\x2c" "\x7b\x29\xff\x34\x32\xd0\x1f\x31\xb4\x7c\x73\x61\xe0\x78\xc4\xd0\xd2\x9b" "\x6f\x9d\x6c\xdd\x6c\xdc\x68\xde\x68\xb6\xcf\x9d\x3a\xf5\xc5\xb1\xb1\x2f" "\x9e\x3d\x35\x70\x24\x62\xe8\x7a\x6b\xae\xd9\xf3\x6a\xcf\x87\x0a\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xe0\x60\xa5\x22\x7e\x37\x52\x34" "\x7e\xb0\x91\x6a\x11\x71\xbb\x1a\xaf\x35\x72\x61\xec\xb9\x93\xcf\xf6\x45" "\x5f\x35\xde\x6a\xdb\xb8\xad\xd7\xa7\xae\x5c\xac\xbd\x32\x7f\x73\x61\xb1" "\xb9\xb4\xd4\x9c\xad\x4d\xb7\x5b\xd7\xe6\x67\x9b\xf7\xbb\xbb\xa1\x6a\xb8" "\xd7\xf4\xf8\xc4\xbe\x74\xe6\x23\x0d\xef\x73\xfb\x87\x87\x5e\x99\x5f\x78" "\x73\xb1\x75\xe3\x0f\x97\x77\x5d\x7f\x74\xe8\xe2\xd5\xa5\xe5\xc5\xc6\xb5" "\xdd\x57\xc7\x70\x14\x11\xf5\xde\x25\xa3\x55\x83\xa7\xc7\x27\xaa\x46\xcf" "\xb5\x1a\xed\xaa\xea\xe4\xae\x83\xe9\x7e\x76\x03\xa9\x88\xff\x8c\x14\xd7" "\xce\xd5\xd2\x67\xf3\xb2\x3c\xfe\x6f\xe7\x08\xff\x6d\xe3\xff\x57\x76\x6e" "\x68\x9f\xc6\xff\x7d\xa2\x67\x59\xb9\xcf\x94\x8a\xf8\x49\xa4\xf8\xad\xbf" "\x78\x3a\x3e\x5b\xb5\xf3\x68\xdc\x75\xcc\x72\xb9\xbf\x89\x14\xa3\xe7\x3f" "\x93\xcb\xc5\x91\xb2\x5c\xb7\x0d\x9d\xe7\x0a\x74\x46\x06\x96\x65\xff\x37" "\x52\xfc\xc3\x4f\xb7\x97\xed\x8e\x87\x7c\xf2\x4e\xd9\xd3\xf7\x7d\x60\x1f" "\x13\xe5\xf9\x3f\x16\x29\xbe\xfb\x67\xdf\x8e\x5f\xcf\xcb\xb6\x3f\xff\x61" "\xf7\xf3\x7f\x74\xe7\x86\xf6\xe9\xfc\x3f\xd5\xb3\xec\xe8\xb6\xe7\x15\xec" "\xb9\xeb\xe4\xf3\x7f\x32\x52\xbc\xfc\xe4\x3b\xf1\x1b\x79\xd9\x87\x3d\xff" "\xa3\xfb\xec\x8d\x13\xb9\xf0\xd6\xf3\x39\xf6\xe9\xfc\x7f\xaa\x67\xd9\x48" "\xde\xef\x6f\x3e\x9c\xae\x03\x00\x00\x00\x00\x00\x00\x00\x00\x3c\xd6\x06" "\x52\x11\x7f\x1b\x29\x9e\x9d\xe8\x4f\x2f\xe6\x65\xf7\xf3\xf7\x7f\xb3\x3b" "\x37\xb4\x4f\x7f\xff\xf5\xe9\x9e\x65\xb3\x07\x34\x5f\xd1\x9e\x0f\x2a\x00" "\x00\x00\x00\x1c\x12\x03\xa9\x88\x1f\x46\x8a\x1b\xcb\xef\x6c\x8d\xa1\xde" "\x3e\xfe\xbb\x67\xfc\xe7\xef\xdc\x19\xff\x39\x9e\x76\xac\xad\x7e\xcf\xf7" "\x4b\xd5\x73\x03\x1e\xe6\xef\xff\x7a\x8d\xe4\xfd\xce\xec\xbd\xdb\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x70\xa8\xa4\x54\xc4" "\x8b\x79\x3e\xf5\x99\xbb\xe6\x53\x1f\xde\x56\x6e\x2d\x52\xbc\xfa\xdf\xcf" "\xe7\x72\xe9\x78\x59\xae\x3b\x0f\xfc\x48\xf5\x7d\xe8\xf2\x7c\xfb\xe4\xc5" "\xb9\xb9\xf9\x6b\x8d\xe5\xc6\xd5\xb9\x66\x6d\x6a\xa1\x71\xad\x59\xd6\x7d" "\x2a\x52\x6c\xfc\xf5\x67\x72\xdd\xa2\x9a\x5f\xbd\x3b\xdf\x7c\x67\x8e\xf7" "\x3b\x73\xb1\x2f\x46\x8a\x89\xbf\xeb\x96\xed\xcc\xc5\xde\x9d\x9b\xfc\xa9" "\x3b\x65\x4f\x97\x65\x3f\x11\x29\xfe\xeb\xef\xb7\x97\xed\xce\x63\xfd\xa9" "\x3b\x65\xcf\x94\x65\xff\x2a\x52\x7c\xf5\x9f\x76\x2f\x7b\xfc\x4e\xd9\xb3" "\x65\xd9\x6f\x47\x8a\xef\x7f\xb5\xd6\x2d\x7b\xb4\x2c\xdb\x7d\x3e\xea\xa7" "\xbb\x65\x7f\x2d\x22\xe6\xe7\xee\x7a\x14\x2a\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\xfc\xac\x06\x52\x11\x7f\x1a\x29\xfe\xe7" "\xe6\xea\xd6\x58\xfe\x3c\xff\xff\x40\xcf\xdb\xca\xdb\x5f\xef\x99\xef\x7f" "\x87\xdb\xd5\x3c\xff\x23\xd5\xfc\xff\xf7\x7a\xfd\x20\xf3\xff\x8f\x3c\x9c" "\x6e\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\xc0\x63\x25\x45\x11\x6f\x45\x8a\x85\xcb\x1b\x69\x6d\xb0\x7c\xdf\x31\x74" "\xa9\xd5\xbe\x75\x7b\x7a\x7c\x62\xf7\x6a\xc3\xa9\xaa\xd9\x57\x95\x2f\xbf" "\x86\x4e\x9f\x39\x7b\xee\x0b\x2f\x8e\x9d\xef\xe6\x87\xd7\x7f\xd8\x9e\x89" "\xd7\xa7\xae\x5c\xac\xbd\x32\x7f\x73\x61\xb1\xb9\xb4\xd4\x9c\xad\x4d\xb7" "\x5b\xd7\xe6\x67\x9b\xf7\xbd\x85\xbd\xd6\xdf\x69\xb4\x3a\x00\xb5\x9b\x6f" "\xdc\x9a\xbd\x7e\x7d\xa9\x76\xe6\x85\xb3\xdb\x56\xdf\x1e\xf9\x60\xf0\x89" "\xe3\x23\x17\xc6\x9e\x3b\xf9\x6c\xb7\xec\xf4\xf8\xc4\xc4\x54\x4f\x99\xfe" "\x81\x07\xde\xfb\x5d\xd2\x3d\x96\x1f\x89\x22\xfe\x32\x52\x3c\xff\x9d\x1f" "\xa5\x7f\x1e\x8c\x28\x62\x8f\xc7\xa2\xdc\xd1\xc1\x9e\xfb\x9d\x86\xab\x4e" "\x8c\x56\x9d\x98\x1e\x9f\xa8\x3a\x32\xd7\x6a\xb4\x97\xcb\x95\x93\xdd\x03" "\x51\x44\xd4\x7a\x2a\xd5\xbb\xc7\xe8\x00\xce\xc5\x9e\xd4\x23\x56\xca\xe6" "\x97\x0d\x1e\x2d\xbb\x37\xb5\xd0\x58\x6c\x5c\x9d\x6b\xd6\x26\x1b\x8b\xcb" "\xad\xe5\xd6\x7c\x7b\x32\x75\x5a\x5b\xf6\xa7\x16\x45\x9c\x4f\x11\xab\x11" "\xb1\x3e\x78\xf7\xe6\x06\xa2\x88\x37\x22\xc5\xb7\x8e\x6d\xa4\x7f\x19\x8c" "\xe8\xeb\x1e\x87\xcf\x5f\x9e\xfa\xf2\xa9\x33\xf7\x6e\x47\xb1\x8f\x7d\xbc" "\x0f\x65\x3b\x6b\x03\x11\xab\xc5\x63\x70\xce\x0e\xb1\xc1\x28\xe2\x1f\x23" "\xc5\x8f\xdf\x3d\x11\xff\x3a\x18\xd1\x5f\x1e\xb7\xe1\x88\xf8\x5c\xc4\x6b" "\x65\x81\xef\x45\xbc\x5d\xe6\xcb\x11\xa9\xfc\x60\x9c\x8b\x78\x7f\x97\xcf" "\x11\x8f\xa7\xfe\x28\xe2\xff\xca\xf3\x7f\x61\x23\xbd\x3b\x58\x5e\x0f\xba" "\xd7\x95\x4b\x5f\xa9\x7d\xa9\x7d\x7d\xbe\xa7\x6c\xf7\xba\xb2\xd7\x7b\xe5" "\x47\xfc\x6c\xb1\xdf\x86\x0f\x74\x6f\x87\xfc\xda\x34\x14\x45\x7c\xbf\xba" "\xe2\x6f\xa4\x7f\xf3\xdf\x35\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\xc0\x21\x52\xc4\xaf\x44\x8a\x97\xde\x3b\x91\xaa\xf1\xc1\x5b\x63\x8a" "\x5b\xed\x1b\xb5\x2b\x8d\xab\x73\x9d\x61\x7d\xdd\xb1\x7f\xdd\x31\xd3\x9b" "\x9b\x9b\x9b\xb5\xd4\xc9\x7a\xce\x99\x9c\x2b\x39\x57\x73\xae\xe5\x5c\xcf" "\x19\x45\xae\x9f\xb3\x9e\x73\x26\xe7\x4a\xce\xd5\x9c\x6b\x39\xd7\x73\x46" "\x5f\xae\x9f\xb3\x9e\x73\x26\xe7\x4a\xce\xd5\x9c\x6b\x39\xd7\x73\x46\x7f" "\xae\x9f\xb3\x9e\x73\x26\xe7\x4a\xce\xd5\x9c\x6b\x39\xd7\x73\xc6\x21\x19" "\xbb\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x7c\xbc" "\x14\xd5\x3f\x29\xbe\xf9\xb5\x8d\xb4\x39\xd8\x99\x5f\x7a\x26\x3a\xb9\x66" "\x3e\xd0\x8f\xbd\xff\x0f\x00\x00\xff\xff\x6f\x4a\xfe\x6d", 3074)); NONFAILING(syz_mount_image(0x20000c00, 0x20000080, 0, 0x20003500, 1, 0xc02, 0x20001840)); NONFAILING(memcpy( (void*)0x20000100, "\x68\x10\xb1\x20\x36\x95\x7a\x37\x31\xc5\x1c\xb8\x1b\x3f\x1c\x29\x0a\x89" "\x53\x57\xb7\xbf\xe3\xe6\xc1\xa0\xb9\xa6\xe6\x1f\xe1\x27\x4f\xdd\x57\x78" "\x08\x2e\x07\x7f\x76\x0d\x87\xa3\x3e\x74\x60\xa7\x6c\x5a\x88\xdc\x44\x77" "\x0f\x82\x6c\xec\xbc\xe7\xac\xc0\x00\x91\x57\x2c\xde\x1e\x3f\x1f\xcc\x96" "\x25\xcb\x3a\xed\x13\x03\xf8\x96\xef\x04\x46\x95\x39\xba\xdd\x2e\x08\x33" "\x6a\x34\x5a\x36\x08\x01\x4f\xcc", 98)); NONFAILING(memcpy( (void*)0x20002480, "\x7d\xf2\x6c\x81\x9d\xde\xcc\xae\x65\xbe\xcc\xa9\x17\x66\xb3\xc8\x49\x3e" "\x21\xe6\xc4\x00\x0e\x3c\x50\x66\x6f\xd9\xf1\x87\x0d\xa2\x66\xa8\xac\x92" "\x1a\xce\x1b\xbb\x25\x66\xfb\x55\x98\xe2\x14\xcb\x1c\xe6\xde\xed\x33\xe5" "\x54\x8c\x1f\x58\xc6\xaa\xf8\xe5\x72\x62\xeb\xdd\x33\xaa\xb8\x54\xb4\x7b" "\xf5\xba\xd9\x0f\xd5\xc6\x6e\xab\x1c\x83\x80\xa7\xcf\xa1\x3a\xd9\xd8\x8b" "\xde\x7b\x04\x05\x61\x33\x6f\xc7\x11\xf6\x18\x25\x46\x97\xd7\x03\x99\x6b" "\x3e\xa7\x79\x0e\xe1\x37\x75\x94\x2b\x18\x31\x29\x19\x38\xf9\x59\x22\x49" "\x12\xdc\xea\x95\xff\xdb\x4b\x26\xa7\xab\xd2\xc8\xec\x30\x47\xa0\x5a\x0b" "\xfb\x4e\x8c\x11\xc9\x0c\x9f\x86\xa7\xb2\x45\xca\xf2\xc9\x1b\x48\xe2\x6d" "\x0d\xf2\x9c\xa6\x0e\xc1\x7c\x57\xcf\x10\xc3\x0c\xe9\x26\x2d\x88\xb2\x38" "\x3d\x25\x9d\x9b\xde\x9f\x69\x5f\x0c\xfb\x45\xf8\x55\x31\x89\x1e\x57\x0c" "\x08\xa0\x73\xe6\xd6\x50\x9c\xe7\xec\x6b\x8d\x13\x66\x53\x3a\xf0\xd4\xc5" "\x59\x9a\x91\xf9\x79\xa6\xd3\xec\x3e\x64\x7a\xd4\x45\x0b\x6d\xa8\xfa\x8d" "\xcb\xad\x1b\x9b\xa5\xe6\x74\xf3\x73\x1e\xc1\xf0\x6b\xca\x55\xed\xed\x24" "\xe0\x82\xcd\x6e\xf8\xb2\xed\x25\x96\xce\xfd\x70\x9d\x1f\xfa\xe9\xbe\x72" "\x92\x47\x36\x16\x7d\xde\xf2\xfa\x75\x93\xa7\xd4\xba\x36\xb6\xa9\x8e\x03" "\x98\x28\xdb\x1d\x34\xfb\x6b\x75\xaa\x7a\x61\x85\x45\xe9\x8e\x72\xd5\x39" "\xbe\x8b\x6a\x0d\x9e\x51\x65\x7d\xb8\xef\x11\x37\x97\x97\xdb\x05\x50\x51" "\x5b\xbe\x6e\xab\x81\xf8\x45\xaf\x45\x3b\x84\x17\x67\x05\xe7\xcc\x17\xd3" "\xcf\x91\xd4\xfa\x3e\x6c\xdb\xc7\xf5\x81\xa8\x9f\xb0\xdb\x72\xf4\xca\x4e" "\xe1\x9b\xbf\x31\x07\x2e\x5b\x33\x9f\xbb\xbb\xb7\xec\x8c\x75\x77\x03\x5e" "\xf8\x28\xd4\x2c\xba\x16\x0d\xf7\x5e\x5f\x7d\xaa\xc3\x21\x51\x5e\x45\x0b" "\x57\xee\x91\x74\xf2\xff\x61\x3e\x57\x4f\x7f\x57\x47\x52\xa1\xbc\x85\xf7" "\x9d\x44\xc8\x30\xff\xc5\xe6\x0a\x19\x84\xca\x2b\xd6\x76\x7b\xc0\xe0\x33" "\x92\xed\x7c\x2d\x0f\x76\x75\xca\x70\x48\x93\x80\xa9\x37\xa5\x14\x57\x93" "\x7d\xef\x3f\x0f\x5e\xbf\x2f\x2f\x77\x23\xff\xc5\xd9\x38\x12\x10\x94\x13" "\x59\x44\xb0\xa6\x25\xcd\x64\xbf\x79\xc7\xb4\xcd\xf2\xa0\xc4\xca\x23\xe3" "\xc3\x18\x5f\xfd\x3f\x67\x2d\xce\x5a\xbc\x8e\xc1\x7e\x29\x9f\xf1\x8f\x3e" "\x93\x16\xf0\x33\xbd\xcc\xbc\xdc\x7c\xee\x2b\xa4\xe4\xdd\xa9\x87\x0a\x71" "\x16\xf8\xad\x33\xda\x84\x2d\xdc\x99\xaf\xc6\x50\x74\xe4\x8f\x7f\x46\x49" "\xc7\x16\xea\x9b\x76\x3e\x96\xf4\xec\x7a\x9e\xb3\x07\x07\x7b\x26\x91\x3e" "\x85\xd3\x7a\xa7\xaa\x48\x09\xf1\xe3\x18\x36\xaa\x0b\xb8\xb1\x23\x08\xcd" "\x92\xa2\xcf\xe4\x56\xa4\xfb\xb1\x54\x5d\x14\xa8\xf4\x58\xcd\xd1\x52\xb9" "\x34\x59\x84\xc6\xf2\xc9\xe1\x89\xfa\x95\x7c\x51\xef\x01\x0a\xd4\x86\x85" "\xaa\xe3\x82\x35\x50\xa1\xa4\x56\xd3\x8f\x90\x3e\xc0\xca\x85\x74\xdb\x80" "\x31\x1b\xb4\x51\x74\xb1\xb8\x15\xd1\xc1\xdc\x4b\x4e\xd6\x86\x07\x47\x9a" "\xdd\xff\xb4\x91\x0b\xe8\xf7\xd7\xfc\xec\xe4\x92\x45\xd2\x36\xe2\x7a\x17" "\x09\x3e\xf1\xc9\x51\x7c\x51\x26\xa9\x1a\x93\x0b\xca\x75\x11\x20\x61\x76" "\x83\xf4\xa2\xb9\xc8\x49\xd8\xce\x66\x21\xe4\xf1\x0f\xa8\xa7\xda\x7b\xdd" "\xf4\x4f\xfa\xa3\xe4\x94\x53\x55\x0d\x4c\xcd\x09\xb4\xd1\x28\x22\x45\x86" "\x4b\xcc\x28\xa9\x07\x70\x38\x77\xf7\x28\x89\x9a\x6c\x11\xa2\xc4\xce\x12" "\xeb\xdf\x39\x01\xf0\x82\x6f\x12\xfd\xac\x5f\xd3\xd3\xaf\x1c\x7e\xb2\x8d" "\xd7\xc3\x6a\x6b\xcb\xa4\xc8\x32\x30\x48\x17\x3d\x2a\x9b\xb3\x1a\xcf\xad" "\xb2\x0c\x95\x63\x27\xb3\x40\xa6\xf3\xe9\x64\x2e\x26\x69\xca\x81\x79\x88" "\x26\x73\xd1\x23\xf3\xf3\x2b\x2f\xb6\xb7\xfa\xf0\xbb\xce\xf0\xe8\xcb\x66" "\xcf\xe2\x31\xb4\x82\x77\xaf\xdd\x92\xd1\xe4\xc0\x40\xf7\x4d\x99\x01\xf5" "\xcc\x64\x2b\xc3\x37\xf4\x7c\xf0\x53\x76\x9a\xde\xa5\x01\x58\x27\x53\x56" "\x09\x7c\xc1\x05\xc1\x91\xd5\xc2\x6f\x51\x9e\x41\x81\xf4\x2b\xc1\xc6\xc6" "\x84\x40\xde\xcb\x28\x82\x36\x90\xe8\xdc\x73\xb9\x07\x0f\x98\x25\x18\x88" "\xb2\x79\x7f\x20\x77\x2a\x09\x0a\xd8\x5b\xff\x62\x92\x28\x66\x9c\xe7\xba" "\x70\x47\xf5\xdb\x95\x16\xd6\xb9\x9a\x46\x87\xa6\xfb\x9b\xd7\xb8\xe3\x24" "\x59\xac\x18\x96\xef\xc5\xc8\xa3\x80\xd3\xdd\x4d\x3d\x40\x50\xb3\x7d\xb8" "\xdb\xbf\xc7\x4e\x79\x75\xe1\xb8\x82\x39\xf3\xc0\xee\x62\x9d\x9f\x70\x50" "\x8d\x3d\x3e\x78\x75\x4b\x59\x78\x24\x4a\xc3\x31\x6f\xc6\x8c\xcf\xd9\xaf" "\x08\xd6\x10\x93\x0b\xb5\x5b\xd0\x20\xc9\xcc\x11\xab\xc6\x32\x89\xfd\xe3" "\x39\x53\x7d\xaa\x2c\xa6\x53\xca\x92\x89\xd6\x3d\x34\xe1\x89\xfe\x85\x95" "\xc3\x30\x50\x42\x2f\xb9\x58\x37\xd4\x10\xcf\x83\xa4\xfd\x18\x9b\xdf\x1b" "\x44\x99\x98\xf0\x47\x34\x96\xa1\x1a\x43\xf3\x10\x7b\xa9\x2b\xa6\xc9\xc2" "\x90\x44\x78\x23\x55\x29\xe4\xd0\xeb\xe5\xba\x4a\x7d\xe2\x1e\x65\x78\x28" "\x40\xa8\xb8\x9e\x96\xd1\xe9\xcd\x2c\x3e\x40\x4a\xca\x53\x35\x6b\x75\x16" "\xb5\x30\x25\x48\xaa\xe5\x81\x74\x18\x73\xa7\xb5\xb4\xa7\xd9\x9f\xf5\x8d" "\x00\x2e\xc3\x27\x20\xb9\x85\xb5\x1e\x1b\xe1\xe3\xb5\x2d\xf5\x95\x35\x15" "\xf4\x0f\x32\x86\x6b\xec\xaa\xa5\x6f\x7e\x49\x7a\xc2\xb5\x3a\x2f\x27\x05" "\x46\xf4\xa2\x1d\xf0\xa4\x1b\x9d\x67\xc6\x0f\x2e\x25\x3a\xd0\xf2\xab\x0f" "\x64\xae\x7c\x9f\xf3\x1d\xd3\x7e\x32\x84\x31\x69\x9a\x85\x35\x0d\xd0\x11" "\xe4\xf1\xab\x54\x5f\x2c\x86\xa1\xce\x87\xdc\xa2\x14\x19\x49\xca\x7f\x2d" "\x5d\xdf\xd6\xad\x0a\x2d\x3e\xe3\x1e\x96\x74\xd3\x8c\x11\xa6\xc2\x07\x43" "\x7c\x5f\x41\xd5\x55\x44\xa0\x68\x77\xec\x8c\x08\xbe\x9e\xa4\x70\x97\xed" "\x40\x14\xa7\x61\xcd\xce\xb7\x36\x15\xde\xed\x00\xcb\xf4\x4c\x24\x17\x01" "\x80\x92\xc4\xda\x98\xed\xdf\x59\x8b\xe1\xd8\x68\x64\xaa\x11\x5f\x57\x3d" "\x71\xf4\xba\x36\x3f\x62\x3d\x71\x78\x8a\xad\x0c\xa1\xe0\x7b\x25\xab\xda" "\x7b\xd7\xbc\x6d\x4a\xe4\x4e\xf9\x2e\x69\x58\x36\x87\x52\x78\x46\xb7\xe0" "\xe5\xb8\xea\xaa\xba\x7c\xe2\x57\xdc\x3e\x7b\x96\x21\xe7\x60\x76\x4c\x0f" "\x3a\x1c\x18\x9e\x91\x46\x2d\x09\xfa\x0c\xf3\x30\x6b\x06\x16\xa5\x8b\x25" "\xd6\xb1\xa0\x38\xd1\x42\x38\x03\xe2\x8b\x91\xfa\x50\x2b\x2a\x04\x54\x26" "\xee\xe4\x28\xb3\xdc\x84\x1c\x7d\x95\x9d\xf3\xcb\x01\x7e\x79\x1e\x12\xa4" "\x43\xbd\xc0\x30\x77\xdb\x65\x4b\x55\x38\xd0\xee\xc9\x94\xf0\x4b\x91\x1c" "\x49\x75\xbc\xe7\xf9\x97\xb4\x91\x55\x74\x26\xe8\x06\x6f\xed\x94\xd8\x2d" "\x22\x53\x35\xfd\xac\x9d\x0e\xab\x73\x0c\x85\x32\x2c\xdf\x11\x57\xef\x52" "\x6a\x5b\xec\xf6\x7f\x61\x5f\x34\x15\x21\x17\x33\x79\xfd\xcd\xc5\x49\x6c" "\x02\x4c\x02\x38\x67\x45\x32\x05\x2d\xde\xc8\x22\xde\xe6\x1f\xd5\x1f\x0a" "\x5c\x54\xf0\xcd\x30\x75\xef\x8c\x21\x69\xa5\xe4\x5c\xf8\x13\x6a\xdd\xce" "\x45\x3e\xd3\x65\x3b\xb5\x8f\x5c\x53\x39\x8e\x8f\x75\x3f\x82\x3d\xbe\x1b" "\x9b\xa0\xf8\x18\x6f\xa7\xc3\x60\xf7\x1e\xd3\xfd\x99\x5e\x48\xc1\xd0\xe2" "\x3a\xed\xba\x1b\xd9\x4b\x80\x93\x88\xb6\x12\x6f\x06\x31\x15\x7c\x40\x00" "\x24\x20\xe0\xf2\xc7\x98\x83\x7d\xa3\x8e\x24\xf6\x42\x88\xcc\x68\x2f\xf4" "\x9a\x8c\x92\xfd\x10\xaf\x2e\x39\x46\xeb\x99\x9e\xba\xe5\x73\xc6\xca\xee" "\x92\x10\x59\x0a\x02\xad\xdc\x2a\x42\x6f\x27\xb6\xed\x84\x6d\x32\x7b\x6b" "\x2b\xa8\xdf\x5b\xe5\xe5\xb0\x3c\x0d\x5f\x92\xf7\xef\x2d\x83\xe9\xb1\x43" "\x4b\xdf\xf0\x68\x3b\x77\x75\x05\x23\xc1\x02\x68\x20\x55\x2b\xa1\x6e\x59" "\xbe\xac\x5e\xc2\xf5\xf7\x37\x80\x82\x35\x19\x75\xb9\x37\x64\x99\x6f\xc1" "\x52\xa9\x45\x5e\x01\xb3\x41\xf3\x84\x90\xf1\x1e\xfb\x61\x33\x42\xb8\x45" "\x74\x75\xed\x34\x5b\x77\x31\x76\x7a\xd2\xf7\xce\x9c\x67\x91\xbe\x0d\x84" "\x65\xc1\xfa\x4e\x91\x75\x47\x76\xf0\x43\x17\xe9\x22\x3b\x62\x51\x28\xbc" "\x3d\x70\xc6\x83\xce\x93\xab\x34\x09\x38\xd3\x0a\xaf\x17\x62\x3d\x25\xee" "\x7e\xce\x22\x20\x68\xe3\x1c\x1c\x73\x27\x9b\x62\xf4\xbc\x32\x11\x6c\x8a" "\xc2\xc9\xaf\xcb\xd2\x39\x47\xf3\x2b\x29\xbb\x49\x6f\xec\xd9\xff\x16\x03" "\x0f\xf9\x6b\xac\x04\xe3\x94\x61\xef\x5f\x4e\xff\x48\xf2\x3e\xf1\xde\x75" "\x5b\x91\x9a\xcd\x25\x29\x81\x09\x2c\xf8\x6d\xc7\x30\xb7\xee\x44\xb2\xa8" "\xed\x56\x83\x09\x74\x97\xbd\xed\x65\xc9\x5e\x07\xe4\x6f\x4e\xdd\xde\x1f" "\xa9\x7e\xe4\x43\xb6\x55\xc5\x53\xaa\x29\x40\xaa\xd1\xa1\x56\x84\x5e\x21" "\xad\xcf\x5d\x12\x79\x1f\x06\xce\x4d\xd3\xaa\xdd\xd8\xd9\xb3\x61\x47\x41" "\x95\x82\x24\xa8\xef\x47\x0b\xce\xa2\x29\x4e\x5a\x70\xa8\x49\xb2\x5e\x06" "\x1f\x5a\xc5\xb7\x89\xb8\xc3\x49\x8f\xc1\x9b\x65\x9d\x04\xec\xaa\x63\xc3" "\x4c\xee\xb4\xc3\x69\x9e\x74\xdc\x57\xf0\x2b\xce\x9b\x7d\x3f\xdd\xc3\x75" "\x85\xbc\x53\xec\x16\xb6\xf8\x7c\x49\xaf\xc7\x39\x15\xfe\x2d\xa4\xe2\x1f" "\x15\x52\x18\x2f\xe8\xc1\xf5\x23\x9a\xa1\x69\xd1\x9f\x2c\x3b\x13\x00\xc4" "\x88\xe5\x4f\x6e\x82\xe0\x65\xc6\x7d\x48\x1b\x05\xf8\xcd\x7f\x3c\x9f\x62" "\x00\x45\x88\x48\x4d\x8c\x49\xe2\xa1\x72\x7b\x45\x6a\x05\xce\x4b\xee\x3f" "\xd6\x45\x39\xd2\x0e\xba\x4e\xcf\x12\x25\x52\x1b\xdd\x17\xc8\x6f\x48\xd9" "\x18\x8a\x39\xd4\x06\xf2\x0e\x32\x78\x0c\x68\x05\x43\xe4\xd8\xb0\xa4\x2b" "\xa8\x21\x1c\x17\x3d\xd6\xb3\xd9\xa9\x34\x87\x04\x57\xde\x9d\xa4\xe9\x85" "\x9c\x24\xaf\x82\x05\xf0\xdf\x31\xc2\xa5\xb9\xdf\xb1\xb9\x5a\x34\xe8\xbe" "\x52\x3e\xaa\x70\xb3\xb2\x00\x9f\x27\x4e\xce\x75\x65\x70\x14\x32\xf0\x55" "\x8a\xe5\xad\x1b\x35\x4c\x2b\x53\x7d\xdd\xc3\x84\xd4\xbb\x5c\xd4\x3d\x7f" "\x52\xce\xac\xcb\xe8\x89\x28\x13\x4d\xd9\xbe\x87\xf7\x86\xe9\xa5\x06\x92" "\x39\xed\x7e\x01\x08\xeb\xa1\xee\x5e\x88\x0c\x0b\xef\x45\x7e\xd0\xf1\x22" "\x08\x0a\xa1\x8c\xa0\xf7\xa5\x88\xa5\x53\x8f\x73\x0b\x89\x47\x2a\xc3\x22" "\xfd\xdf\x99\xa8\x11\xd7\x27\x90\xe9\xd8\xc6\xcf\xc1\xc0\x85\x7d\xf7\xb3" "\x42\xe6\x41\xef\x7d\xd9\xba\xac\x26\x41\x45\x87\xe5\xc5\x5b\x2e\x7b\x50" "\x8c\xf1\xaf\xcb\xa8\xec\x8b\xd1\x9c\x6c\x42\x14\x9d\x59\x4a\x6e\x08\x2f" "\x51\xbe\x49\x58\xc1\x40\xe6\xd6\x45\x62\x55\x15\x0c\x95\x7a\x7f\x88\x21" "\xf9\xb0\x01\x96\x44\xe2\x66\x71\x0e\xe8\xb0\x2f\x8b\x66\xe4\xe9\x36\xba" "\xb4\x14\x68\x24\x06\x8a\xb0\x6e\xe2\x74\x83\x0f\xcb\x39\xf2\xc8\xc7\xc3" "\x42\x26\xbf\x59\x7a\x53\x47\xc8\xf2\xb3\x69\x82\xe6\xa5\xc5\x22\x76\xca" "\x23\x89\xcc\x9d\x1a\x2b\xf2\x02\x54\x42\x74\x30\x52\xdc\x7a\x30\x18\x33" "\x27\xd6\xa1\x22\xf4\x13\xe5\xd9\x3d\x45\x98\xb6\xb9\xec\xc6\x52\x2c\x2f" "\x1a\x31\xfc\x8d\x68\xc6\x6b\x27\x2c\x42\x82\xeb\x62\xf6\x4f\x78\x3c\x29" "\xc8\x94\xf2\x5b\x77\x7d\x7b\x63\xca\x62\xdd\x4c\x3c\x4d\x44\x87\x91\x7c" "\x16\x0c\x72\xfe\x0c\x48\x7e\x29\x09\x5d\x64\xea\x67\x85\x4d\x83\x86\x2e" "\x0e\x84\x72\x7e\xf8\x67\x14\x58\x76\x01\x12\x64\xdd\xcd\x80\x62\x33\xed" "\x88\x9a\xf3\x29\x4d\xcc\x00\x50\xdd\xe0\xe0\x3d\xfe\x68\x9d\x89\x12\xa4" "\xfa\x72\x2c\x35\x03\x0f\x54\xd0\xaf\x93\xcd\x58\xfb\x7d\xca\x8f\x92\xbc" "\xc1\x80\x10\x63\xa9\xf8\xb0\xf6\x47\x75\x6d\xc8\xf8\x70\x4e\xa6\x03\x3c" "\xd2\xbd\x07\xec\x10\x82\x9a\x4e\x7a\x10\x30\x85\x62\xf2\x56\x42\xd7\xd4" "\x4d\x81\x1e\xd9\xc5\x59\xa9\x80\xc5\x3f\x33\xe3\xad\xd7\x97\xc2\x01\x39" "\xb6\x14\xfe\xf4\xe7\x97\xb2\x31\xe8\x2f\x88\xa4\x68\x75\x70\xd2\x4d\x03" "\x37\x4b\x6b\x88\x72\x9c\xfb\xe1\xe6\x52\x1c\x71\xac\xfc\x1d\x3f\x2a\x4e" "\x87\xab\x97\x0b\x05\x93\xf2\xa2\x08\xf0\x4b\xa5\xea\x09\xcc\x1f\x26\x09" "\x7e\xc0\x3f\x8c\xd6\x87\x92\x8f\x52\x74\x6c\xd4\xd2\x7f\xd5\xff\xd5\xae" "\xe3\x6b\xed\xbd\x2b\x36\x6f\xba\x57\x2e\x16\x54\x06\xfd\x16\xa1\x4b\xfc" "\x11\x7e\xfa\xa5\x1e\xbc\x28\xec\xe1\x65\x16\xdd\xa7\x98\xfc\x41\x34\x13" "\xde\x76\x11\xbb\xa3\x77\xd2\xd2\xcc\x3a\x73\x1b\x81\x59\x30\x9c\xc9\x5e" "\x32\x8b\xf8\xdb\xb9\x45\x77\x54\x95\x44\xd2\x12\x3c\xf5\xd6\x76\x21\x4b" "\x7a\x9f\xae\x8e\x18\xdb\x03\x50\x2d\x56\xda\xad\x88\x0d\x0b\x83\x9d\x8a" "\x5a\x3a\x07\xb7\xb9\xf9\x82\x4f\x46\xb1\xfd\x60\x87\xae\x88\x8c\x50\x85" "\x53\x12\x1f\x4b\x40\xad\x08\xfe\x85\x5b\x85\xc5\x9e\x33\x7b\xa8\xd9\x50" "\x3c\x13\x43\x21\xc1\xfb\xab\x69\x7f\x68\x02\x9f\xe9\x58\x3d\xa9\x98\xff" "\xdc\xbe\x0f\x3f\x5e\xd4\xe7\x7d\xb3\x0c\xcb\x84\xf4\xc0\x96\xa4\x3b\x37" "\x30\x2b\x50\x20\x96\xc5\x74\x07\x08\x83\xf3\x81\xa2\x6a\x72\xe0\xf3\x5f" "\x2d\x79\xc3\xab\x0a\x2b\xe5\xb4\x9e\x28\x51\xb7\x62\x3b\xee\x4f\x64\x37" "\xb9\xa7\xc2\x5b\x67\x8e\x67\xf3\x21\xfa\x5c\xab\x52\x86\x84\x02\x1d\x82" "\xa9\x74\x94\x20\x24\x32\x58\x34\x5d\x81\x5f\xde\x06\x5f\x58\xee\xec\x9a" "\x19\xe4\xfb\xad\xec\xdc\x92\xea\x59\x4d\xd0\x84\x41\xd7\x97\x99\xd4\x74" "\x0c\xb2\xda\x1b\x2c\x82\xa1\x73\xe1\xdd\xfe\x5b\xa4\xbe\x93\x1b\xd7\x96" "\x3f\xbc\x84\x29\xce\x43\xd3\x38\xcb\xe9\x3a\xe0\x50\x0f\x04\x08\x93\x5a" "\x84\xb1\x6e\x1f\x67\xab\xd4\xaa\x23\x0d\xd6\x17\x1f\xca\xf1\x10\xbc\x03" "\xcc\xe5\x81\xc1\xea\x95\xcb\x6f\xb1\xc5\x9a\x94\xfd\xb5\x41\x40\xb2\xaa" "\xef\x10\x27\x24\x3e\x62\x5d\x9f\xeb\x3d\x76\x0b\x0e\xf6\x9c\x09\x93\xf1" "\xa1\x14\x4d\xce\xe2\x23\xbf\x6a\xb7\x7e\x80\x46\x8a\x01\x84\x2a\x30\xff" "\x97\x83\x64\x98\x7f\xa0\x6e\x72\xe5\x48\xa1\x72\xe1\x17\x91\x84\x3b\xf0" "\x53\xbc\xad\x7f\x54\xa1\x36\xa2\xa3\x58\x77\xc2\x84\x4d\x5a\x91\x8e\xf3" "\x25\x54\xb3\x06\x76\x20\x6d\xfd\x48\xef\xf0\x10\xe5\x19\xab\x5c\x57\x4a" "\xf2\x16\x29\xe5\x1c\x74\x29\xc5\x5a\x35\x01\x3a\x3a\xda\x08\x66\x3e\x8e" "\x0c\x50\x8f\xa6\x2d\x62\x85\x73\x93\xf4\x6a\x3b\x71\x7c\x1b\x96\x93\xc0" "\xad\xf4\xb0\x0b\x59\xa3\xe9\x08\x93\x82\x3d\xb1\xcc\x4b\x29\x8e\x71\xf1" "\x5e\xb8\x08\x69\x3a\x8f\xb4\x63\x0b\x32\x83\xb4\xb6\x1d\x2c\x63\xea\x2e" "\xfb\xcd\x79\xf1\xea\x01\xe9\x1c\xa2\xa6\xda\x61\xbd\x32\x9b\x0e\x4b\x69" "\x70\x87\xe9\x93\xf5\x2b\x33\x4f\xce\xe9\x2c\x31\x21\x1d\x06\x5f\xb1\x5d" "\xf2\x7e\xf5\xd2\xf1\x0d\xff\xda\x5a\x38\x35\xe2\x16\xb4\x6f\xa2\xb3\x7b" "\xb3\x8a\xc8\x27\xeb\x0d\xce\x37\xb8\x44\x0a\x18\xed\x71\x2b\xbb\x97\x76" "\xa5\x8e\x3c\x6b\x04\x8b\x91\x13\xa8\xf2\xea\x4d\x5c\x5d\xc2\xb6\xd6\xf6" "\xa3\xaf\xa5\xd5\xd6\xcd\x67\xd4\x9e\x98\x8e\xd7\xce\x19\x54\x3d\x42\x17" "\xc8\x45\x39\x41\x85\x93\xf9\x11\xe1\x32\x9f\xc0\xeb\x5a\x76\xfc\xb3\xc8" "\x3f\x02\xac\xf9\x43\x63\x22\xe9\x20\xd5\x0c\x02\x7a\x92\xc4\x85\xa6\xa2" "\xe6\x58\xec\x78\xe9\x7a\x75\x27\x39\x6b\xb4\x1a\x5c\x80\xe8\xf2\xd3\x35" "\xfc\x0e\xc3\x1f\xf6\x20\x9a\xd6\xfb\x66\x3e\x6d\xb7\xa9\x4d\x7d\x28\x13" "\xd6\x06\x47\xba\x98\x86\x19\xb2\x16\x44\x74\x69\x3b\x6b\xb0\x94\xa7\xc3" "\x37\x5a\x9a\x1f\x6d\x03\x93\xa5\x81\x34\x49\xf8\xc0\x5b\x74\x42\x91\xc1" "\x60\xc1\xde\x52\x02\x8c\x07\xb5\x11\x0d\x00\xe3\x7a\xbe\x4e\x90\xc7\x5c" "\x43\x9c\xbf\x33\x4f\x35\xd1\xf8\xd6\x64\xb0\x6c\xd3\x79\xc4\x10\x6c\xeb" "\x89\x1c\x5a\xde\x21\x0b\x08\x23\xe8\xf2\x0c\xa4\x31\x5f\x72\xc6\x5c\x8a" "\x38\xd1\xac\xaf\xda\x44\x75\xdf\xc2\x7f\xc1\xde\xde\x0a\x8d\x0e\x53\x31" "\xd4\xbf\x70\x78\x0b\xdd\x15\x97\x96\xa6\x30\xc2\x48\x59\xaa\xe4\xc9\x10" "\x8a\x97\x11\x91\xa6\x46\x89\x53\x49\xed\x29\xbe\x70\xef\x8a\xd9\x10\xd6" "\x31\x1b\x6f\xd4\x84\x24\xd2\x3e\x94\x53\x3a\xd6\xc7\xb4\x8d\x81\x92\x50" "\xed\xef\xaa\x02\x0f\x9c\x49\x0b\xea\xe9\x02\x94\x8d\x03\x32\x57\x0b\xaf" "\x93\x68\xe0\xfd\xfc\x76\x59\x17\xa4\xff\x6e\x73\x0d\x9b\x89\xa9\x34\x81" "\xbf\xe4\x8b\xa9\x22\x38\x9c\x2a\x52\x8d\x2d\xb8\xc9\xde\x7c\x70\x84\x45" "\x3f\x87\x00\x0a\xec\xe6\xd9\x93\x73\x27\xf1\xb3\x30\x91\xb4\xe9\xb1\x2b" "\x30\x7b\x4d\x0a\x66\xc2\x90\x09\x45\x66\x38\xf5\x6f\x81\x00\xdd\x41\xd3" "\x88\x9e\xa4\xad\xd4\x5d\xb4\xf3\xd6\xdc\x17\xad\x10\x2d\x7e\xde\xce\x8c" "\xdf\x86\xb3\xc2\x44\xbe\xc6\xa7\x7c\xb6\xbb\xaa\x35\x15\x7e\x88\x3a\x92" "\xb7\x67\x2e\xee\xd9\x1b\x65\xf7\x05\x17\xcf\xb1\x34\xe0\x7b\x24\xf3\xf4" "\xe2\x00\x34\x46\x0a\x7f\xc5\xe3\xa4\x98\x39\x4d\xfe\x53\x9f\x28\x3e\xa2" "\x32\xfd\xfe\xe7\xf5\x36\xf5\xd3\x83\x2b\x8a\x65\x57\xd6\xc0\x87\x80\x3b" "\x30\xda\xe9\xd2\x0b\x4b\xee\x06\x24\xb3\x80\x3f\x3c\xff\xbb\x5b\x44\x8e" "\x3a\x86\x4f\x92\x07\xad\xe9\x15\x1f\x7e\x45\x01\x0e\xce\x2f\x6d\xb1\xba" "\x70\xd8\xa5\x67\xb4\xdb\xb4\x7d\x59\x31\x2e\x2a\x66\xdd\xb6\xf8\x65\x04" "\x88\xb2\x18\x1d\x19\x4f\x42\x73\x92\xb3\xe2\xba\xdf\x88\x77\x78\x58\xc4" "\x68\xc5\x39\x3c\x4d\xf2\x89\x3b\x42\xff\xa2\x7e\x81\x35\xa4\x40\xa5\x77" "\x83\x7b\x6d\x90\x96\x85\x63\xcd\xcf\xe4\x19\x36\x52\x72\x1b\x77\x97\x27" "\x83\x3e\xfe\x62\x52\x0d\x2e\x1e\x93\x5f\x77\x56\x5c\x61\xf1\x02\x6d\x7b" "\xb7\x33\x5c\x1a\x1c\xc1\x8c\x39\xec\x0b\xcd\x05\x09\xe0\x43\x91\x06\x68" "\x7e\x52\x7c\xf8\xcc\x0b\x23\xd9\x57\x05\x4e\x0a\x9e\x96\x42\x6d\xfc\xb8" "\x74\x43\x3f\xd8\x6d\x38\x57\xc2\x20\x52\xc0\x1b\x5d\xdb\xa5\x14\x56\xd6" "\xaa\xa9\xa8\x26\x37\x33\x84\xa3\x76\x08\x31\x18\xf4\xdf\xf3\x4a\x6f\x03" "\x72\xc8\x9d\xc0\xb9\x52\x82\x30\x19\x3d\xa4\x30\x7e\xfb\xac\xe1\x0e\xc1" "\xec\x5d\x7b\xd8\x3d\x3b\xf1\x53\xad\x2a\x7c\xac\xba\xb6\x0a\x21\x58\x65" "\x9f\x69\x1b\x1b\x6c\xe8\x60\x66\xff\xae\xd6\x77\xce\x35\x5c\xc1\x73\x95" "\x48\xd9\x78\x2e\x63\x3d\x54\xac\xe0\x43\x50\xac\x3f\x61\x6b\x9f\x91\x59" "\x0d\x99\xee\x47\x1e\x5d\x3b\x47\xb7\x9f\x9a\xcc\x77\xb7\x9a\xd7\x1e\x28" "\x5f\xd7\x34\xbb\xbb\x98\x8b\xc7\x09\x5e\x58\xb0\x40\xa6\xc2\xec\x21\x31" "\xfa\xb8\x6f\x82\xe6\xa5\x4a\x2f\x99\x02\x0d\x21\x8d\x72\xc6\x25\x11\x05" "\x2e\x36\xfd\x5e\x17\xc9\x8a\xed\xc9\x07\x83\xff\x9e\x6c\xd7\x39\x66\x98" "\x83\x60\xe8\x51\xb7\x46\xe1\x7f\x51\xfb\x01\x9f\x89\xdb\x50\x2d\xe4\x7e" "\x85\x1b\x56\x46\xfb\x2f\x6e\x74\x8f\xf0\xdb\x22\x16\xed\xf6\xc3\xeb\x27" "\x54\xac\xbf\x19\xe4\x2e\x24\x9a\x67\xd9\x03\x5d\x6f\x02\xed\x6d\xf2\x98" "\x49\xf6\xcf\x01\x21\x86\xd8\x8d\xb0\x16\x12\xfd\xe2\xfe\x20\x78\xb5\xc7" "\xb6\xd8\xa7\x12\xa5\xb6\xcf\x93\xbf\xb0\x5a\xea\x55\x3c\xfa\x48\x99\x51" "\x0a\x45\xc3\x5e\x2d\x41\x6c\xfa\x3b\x8a\x1a\x2b\x01\x53\x84\x3e\xd9\xa1" "\x8b\xaf\xee\x4f\xa8\x16\x99\x44\xce\x0e\x4d\xab\x8a\xf0\xfc\x7f\x88\x15" "\x82\x0c\x2e\xc5\x56\xca\x79\x83\x31\xff\xa1\x9d\x82\xe3\xb8\x7f\x06\x98" "\xc8\xe8\x54\x5f\x84\x6c\x8c\x6e\xcc\xa5\x3c\x5f\x55\xad\x27\x07\xc0\x70" "\xe4\xe8\x6e\xe5\xcf\x53\x11\xdb\x69\x60\x44\x41\x81\x5e\x16\x72\xe2\x30" "\x1f\x27\x89\x1f\xb5\x8f\xdb\x74\x6b\xd2\x8b\xaf\xcf\x2f\x33\xf3\x23\xb0" "\x5d\x57\x01\x8a\x50\xaa\xf1\x54\x72\xba\xd0\xf1\x32\x52\x33\xa6\xa6\x73" "\xf2\x84\x20\x64\xee\x03\x6d\xf0\x79\x07", 4096)); res = -1; NONFAILING(res = syz_clone(0x80081200, 0x20000100, 0x62, 0x20000000, 0x20000180, 0x20002480)); if (res != -1) r[0] = res; NONFAILING(*(uint32_t*)0x2001d000 = 1); NONFAILING(*(uint32_t*)0x2001d004 = 0x80); NONFAILING(*(uint8_t*)0x2001d008 = 0); NONFAILING(*(uint8_t*)0x2001d009 = 0); NONFAILING(*(uint8_t*)0x2001d00a = 0); NONFAILING(*(uint8_t*)0x2001d00b = 0); NONFAILING(*(uint32_t*)0x2001d00c = 0); NONFAILING(*(uint64_t*)0x2001d010 = 0x41c1); NONFAILING(*(uint64_t*)0x2001d018 = 0x8400); NONFAILING(*(uint64_t*)0x2001d020 = 0); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 0, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 1, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 2, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 3, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 4, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 5, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 6, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 7, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 8, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 9, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 10, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 11, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 12, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 13, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 14, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 15, 2)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 17, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 18, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 19, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 20, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 21, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 22, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 23, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 24, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 25, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 26, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 27, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 28, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 29, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 30, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 31, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 32, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 33, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 34, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 35, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 36, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 37, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 38, 26)); NONFAILING(*(uint32_t*)0x2001d030 = 0); NONFAILING(*(uint32_t*)0x2001d034 = 0); NONFAILING(*(uint64_t*)0x2001d038 = 0); NONFAILING(*(uint64_t*)0x2001d040 = 0); NONFAILING(*(uint64_t*)0x2001d048 = 0); NONFAILING(*(uint64_t*)0x2001d050 = 0); NONFAILING(*(uint32_t*)0x2001d058 = 0); NONFAILING(*(uint32_t*)0x2001d05c = 0); NONFAILING(*(uint64_t*)0x2001d060 = 0); NONFAILING(*(uint32_t*)0x2001d068 = 0); NONFAILING(*(uint16_t*)0x2001d06c = 0); NONFAILING(*(uint16_t*)0x2001d06e = 0); NONFAILING(*(uint32_t*)0x2001d070 = 0); NONFAILING(*(uint32_t*)0x2001d074 = 0); NONFAILING(*(uint64_t*)0x2001d078 = 0); syscall(__NR_perf_event_open, 0x2001d000ul, r[0], 0xeul, -1, 0ul); NONFAILING(memcpy((void*)0x20000300, "./bus\000", 6)); syscall(__NR_creat, 0x20000300ul, 0ul); syscall(__NR_io_setup, 0xb, 0x20000040ul); NONFAILING(memcpy( (void*)0x20002480, "\x7d\xf2\x6c\x81\x9d\xde\xcc\xae\x65\xbe\xcc\xa9\x17\x66\xb3\xc8\x49\x3e" "\x21\xe6\xc4\x00\x0e\x3c\x50\x66\x6f\xd9\xf1\x87\x0d\xa2\x66\xa8\xac\x92" "\x1a\xce\x1b\xbb\x25\x66\xfb\x55\x98\xe2\x14\xcb\x1c\xe6\xde\xed\x33\xe5" "\x54\x8c\x1f\x58\xc6\xaa\xf8\xe5\x72\x62\xeb\xdd\x33\xaa\xb8\x54\xb4\x7b" "\xf5\xba\xd9\x0f\xd5\xc6\x6e\xab\x1c\x83\x80\xa7\xcf\xa1\x3a\xd9\xd8\x8b" "\xde\x7b\x04\x05\x61\x33\x6f\xc7\x11\xf6\x18\x25\x46\x97\xd7\x03\x99\x6b" "\x3e\xa7\x79\x0e\xe1\x37\x75\x94\x2b\x18\x31\x29\x19\x38\xf9\x59\x22\x49" "\x12\xdc\xea\x95\xff\xdb\x4b\x26\xa7\xab\xd2\xc8\xec\x30\x47\xa0\x5a\x0b" "\xfb\x4e\x8c\x11\xc9\x0c\x9f\x86\xa7\xb2\x45\xca\xf2\xc9\x1b\x48\xe2\x6d" "\x0d\xf2\x9c\xa6\x0e\xc1\x7c\x57\xcf\x10\xc3\x0c\xe9\x26\x2d\x88\xb2\x38" "\x3d\x25\x9d\x9b\xde\x9f\x69\x5f\x0c\xfb\x45\xf8\x55\x31\x89\x1e\x57\x0c" "\x08\xa0\x73\xe6\xd6\x50\x9c\xe7\xec\x6b\x8d\x13\x66\x53\x3a\xf0\xd4\xc5" "\x59\x9a\x91\xf9\x79\xa6\xd3\xec\x3e\x64\x7a\xd4\x45\x0b\x6d\xa8\xfa\x8d" "\xcb\xad\x1b\x9b\xa5\xe6\x74\xf3\x73\x1e\xc1\xf0\x6b\xca\x55\xed\xed\x24" "\xe0\x82\xcd\x6e\xf8\xb2\xed\x25\x96\xce\xfd\x70\x9d\x1f\xfa\xe9\xbe\x72" "\x92\x47\x36\x16\x7d\xde\xf2\xfa\x75\x93\xa7\xd4\xba\x36\xb6\xa9\x8e\x03" "\x98\x28\xdb\x1d\x34\xfb\x6b\x75\xaa\x7a\x61\x85\x45\xe9\x8e\x72\xd5\x39" "\xbe\x8b\x6a\x0d\x9e\x51\x65\x7d\xb8\xef\x11\x37\x97\x97\xdb\x05\x50\x51" "\x5b\xbe\x6e\xab\x81\xf8\x45\xaf\x45\x3b\x84\x17\x67\x05\xe7\xcc\x17\xd3" "\xcf\x91\xd4\xfa\x3e\x6c\xdb\xc7\xf5\x81\xa8\x9f\xb0\xdb\x72\xf4\xca\x4e" "\xe1\x9b\xbf\x31\x07\x2e\x5b\x33\x9f\xbb\xbb\xb7\xec\x8c\x75\x77\x03\x5e" "\xf8\x28\xd4\x2c\xba\x16\x0d\xf7\x5e\x5f\x7d\xaa\xc3\x21\x51\x5e\x45\x0b" "\x57\xee\x91\x74\xf2\xff\x61\x3e\x57\x4f\x7f\x57\x47\x52\xa1\xbc\x85\xf7" "\x9d\x44\xc8\x30\xff\xc5\xe6\x0a\x19\x84\xca\x2b\xd6\x76\x7b\xc0\xe0\x33" "\x92\xed\x7c\x2d\x0f\x76\x75\xca\x70\x48\x93\x80\xa9\x37\xa5\x14\x57\x93" "\x7d\xef\x3f\x0f\x5e\xbf\x2f\x2f\x77\x23\xff\xc5\xd9\x38\x12\x10\x94\x13" "\x59\x44\xb0\xa6\x25\xcd\x64\xbf\x79\xc7\xb4\xcd\xf2\xa0\xc4\xca\x23\xe3" "\xc3\x18\x5f\xfd\x3f\x67\x2d\xce\x5a\xbc\x8e\xc1\x7e\x29\x9f\xf1\x8f\x3e" "\x93\x16\xf0\x33\xbd\xcc\xbc\xdc\x7c\xee\x2b\xa4\xe4\xdd\xa9\x87\x0a\x71" "\x16\xf8\xad\x33\xda\x84\x2d\xdc\x99\xaf\xc6\x50\x74\xe4\x8f\x7f\x46\x49" "\xc7\x16\xea\x9b\x76\x3e\x96\xf4\xec\x7a\x9e\xb3\x07\x07\x7b\x26\x91\x3e" "\x85\xd3\x7a\xa7\xaa\x48\x09\xf1\xe3\x18\x36\xaa\x0b\xb8\xb1\x23\x08\xcd" "\x92\xa2\xcf\xe4\x56\xa4\xfb\xb1\x54\x5d\x14\xa8\xf4\x58\xcd\xd1\x52\xb9" "\x34\x59\x84\xc6\xf2\xc9\xe1\x89\xfa\x95\x7c\x51\xef\x01\x0a\xd4\x86\x85" "\xaa\xe3\x82\x35\x50\xa1\xa4\x56\xd3\x8f\x90\x3e\xc0\xca\x85\x74\xdb\x80" "\x31\x1b\xb4\x51\x74\xb1\xb8\x15\xd1\xc1\xdc\x4b\x4e\xd6\x86\x07\x47\x9a" "\xdd\xff\xb4\x91\x0b\xe8\xf7\xd7\xfc\xec\xe4\x92\x45\xd2\x36\xe2\x7a\x17" "\x09\x3e\xf1\xc9\x51\x7c\x51\x26\xa9\x1a\x93\x0b\xca\x75\x11\x20\x61\x76" "\x83\xf4\xa2\xb9\xc8\x49\xd8\xce\x66\x21\xe4\xf1\x0f\xa8\xa7\xda\x7b\xdd" "\xf4\x4f\xfa\xa3\xe4\x94\x53\x55\x0d\x4c\xcd\x09\xb4\xd1\x28\x22\x45\x86" "\x4b\xcc\x28\xa9\x07\x70\x38\x77\xf7\x28\x89\x9a\x6c\x11\xa2\xc4\xce\x12" "\xeb\xdf\x39\x01\xf0\x82\x6f\x12\xfd\xac\x5f\xd3\xd3\xaf\x1c\x7e\xb2\x8d" "\xd7\xc3\x6a\x6b\xcb\xa4\xc8\x32\x30\x48\x17\x3d\x2a\x9b\xb3\x1a\xcf\xad" "\xb2\x0c\x95\x63\x27\xb3\x40\xa6\xf3\xe9\x64\x2e\x26\x69\xca\x81\x79\x88" "\x26\x73\xd1\x23\xf3\xf3\x2b\x2f\xb6\xb7\xfa\xf0\xbb\xce\xf0\xe8\xcb\x66" "\xcf\xe2\x31\xb4\x82\x77\xaf\xdd\x92\xd1\xe4\xc0\x40\xf7\x4d\x99\x01\xf5" "\xcc\x64\x2b\xc3\x37\xf4\x7c\xf0\x53\x76\x9a\xde\xa5\x01\x58\x27\x53\x56" "\x09\x7c\xc1\x05\xc1\x91\xd5\xc2\x6f\x51\x9e\x41\x81\xf4\x2b\xc1\xc6\xc6" "\x84\x40\xde\xcb\x28\x82\x36\x90\xe8\xdc\x73\xb9\x07\x0f\x98\x25\x18\x88" "\xb2\x79\x7f\x20\x77\x2a\x09\x0a\xd8\x5b\xff\x62\x92\x28\x66\x9c\xe7\xba" "\x70\x47\xf5\xdb\x95\x16\xd6\xb9\x9a\x46\x87\xa6\xfb\x9b\xd7\xb8\xe3\x24" "\x59\xac\x18\x96\xef\xc5\xc8\xa3\x80\xd3\xdd\x4d\x3d\x40\x50\xb3\x7d\xb8" "\xdb\xbf\xc7\x4e\x79\x75\xe1\xb8\x82\x39\xf3\xc0\xee\x62\x9d\x9f\x70\x50" "\x8d\x3d\x3e\x78\x75\x4b\x59\x78\x24\x4a\xc3\x31\x6f\xc6\x8c\xcf\xd9\xaf" "\x08\xd6\x10\x93\x0b\xb5\x5b\xd0\x20\xc9\xcc\x11\xab\xc6\x32\x89\xfd\xe3" "\x39\x53\x7d\xaa\x2c\xa6\x53\xca\x92\x89\xd6\x3d\x34\xe1\x89\xfe\x85\x95" "\xc3\x30\x50\x42\x2f\xb9\x58\x37\xd4\x10\xcf\x83\xa4\xfd\x18\x9b\xdf\x1b" "\x44\x99\x98\xf0\x47\x34\x96\xa1\x1a\x43\xf3\x10\x7b\xa9\x2b\xa6\xc9\xc2" "\x90\x44\x78\x23\x55\x29\xe4\xd0\xeb\xe5\xba\x4a\x7d\xe2\x1e\x65\x78\x28" "\x40\xa8\xb8\x9e\x96\xd1\xe9\xcd\x2c\x3e\x40\x4a\xca\x53\x35\x6b\x75\x16" "\xb5\x30\x25\x48\xaa\xe5\x81\x74\x18\x73\xa7\xb5\xb4\xa7\xd9\x9f\xf5\x8d" "\x00\x2e\xc3\x27\x20\xb9\x85\xb5\x1e\x1b\xe1\xe3\xb5\x2d\xf5\x95\x35\x15" "\xf4\x0f\x32\x86\x6b\xec\xaa\xa5\x6f\x7e\x49\x7a\xc2\xb5\x3a\x2f\x27\x05" "\x46\xf4\xa2\x1d\xf0\xa4\x1b\x9d\x67\xc6\x0f\x2e\x25\x3a\xd0\xf2\xab\x0f" "\x64\xae\x7c\x9f\xf3\x1d\xd3\x7e\x32\x84\x31\x69\x9a\x85\x35\x0d\xd0\x11" "\xe4\xf1\xab\x54\x5f\x2c\x86\xa1\xce\x87\xdc\xa2\x14\x19\x49\xca\x7f\x2d" "\x5d\xdf\xd6\xad\x0a\x2d\x3e\xe3\x1e\x96\x74\xd3\x8c\x11\xa6\xc2\x07\x43" "\x7c\x5f\x41\xd5\x55\x44\xa0\x68\x77\xec\x8c\x08\xbe\x9e\xa4\x70\x97\xed" "\x40\x14\xa7\x61\xcd\xce\xb7\x36\x15\xde\xed\x00\xcb\xf4\x4c\x24\x17\x01" "\x80\x92\xc4\xda\x98\xed\xdf\x59\x8b\xe1\xd8\x68\x64\xaa\x11\x5f\x57\x3d" "\x71\xf4\xba\x36\x3f\x62\x3d\x71\x78\x8a\xad\x0c\xa1\xe0\x7b\x25\xab\xda" "\x7b\xd7\xbc\x6d\x4a\xe4\x4e\xf9\x2e\x69\x58\x36\x87\x52\x78\x46\xb7\xe0" "\xe5\xb8\xea\xaa\xba\x7c\xe2\x57\xdc\x3e\x7b\x96\x21\xe7\x60\x76\x4c\x0f" "\x3a\x1c\x18\x9e\x91\x46\x2d\x09\xfa\x0c\xf3\x30\x6b\x06\x16\xa5\x8b\x25" "\xd6\xb1\xa0\x38\xd1\x42\x38\x03\xe2\x8b\x91\xfa\x50\x2b\x2a\x04\x54\x26" "\xee\xe4\x28\xb3\xdc\x84\x1c\x7d\x95\x9d\xf3\xcb\x01\x7e\x79\x1e\x12\xa4" "\x43\xbd\xc0\x30\x77\xdb\x65\x4b\x55\x38\xd0\xee\xc9\x94\xf0\x4b\x91\x1c" "\x49\x75\xbc\xe7\xf9\x97\xb4\x91\x55\x74\x26\xe8\x06\x6f\xed\x94\xd8\x2d" "\x22\x53\x35\xfd\xac\x9d\x0e\xab\x73\x0c\x85\x32\x2c\xdf\x11\x57\xef\x52" "\x6a\x5b\xec\xf6\x7f\x61\x5f\x34\x15\x21\x17\x33\x79\xfd\xcd\xc5\x49\x6c" "\x02\x4c\x02\x38\x67\x45\x32\x05\x2d\xde\xc8\x22\xde\xe6\x1f\xd5\x1f\x0a" "\x5c\x54\xf0\xcd\x30\x75\xef\x8c\x21\x69\xa5\xe4\x5c\xf8\x13\x6a\xdd\xce" "\x45\x3e\xd3\x65\x3b\xb5\x8f\x5c\x53\x39\x8e\x8f\x75\x3f\x82\x3d\xbe\x1b" "\x9b\xa0\xf8\x18\x6f\xa7\xc3\x60\xf7\x1e\xd3\xfd\x99\x5e\x48\xc1\xd0\xe2" "\x3a\xed\xba\x1b\xd9\x4b\x80\x93\x88\xb6\x12\x6f\x06\x31\x15\x7c\x40\x00" "\x24\x20\xe0\xf2\xc7\x98\x83\x7d\xa3\x8e\x24\xf6\x42\x88\xcc\x68\x2f\xf4" "\x9a\x8c\x92\xfd\x10\xaf\x2e\x39\x46\xeb\x99\x9e\xba\xe5\x73\xc6\xca\xee" "\x92\x10\x59\x0a\x02\xad\xdc\x2a\x42\x6f\x27\xb6\xed\x84\x6d\x32\x7b\x6b" "\x2b\xa8\xdf\x5b\xe5\xe5\xb0\x3c\x0d\x5f\x92\xf7\xef\x2d\x83\xe9\xb1\x43" "\x4b\xdf\xf0\x68\x3b\x77\x75\x05\x23\xc1\x02\x68\x20\x55\x2b\xa1\x6e\x59" "\xbe\xac\x5e\xc2\xf5\xf7\x37\x80\x82\x35\x19\x75\xb9\x37\x64\x99\x6f\xc1" "\x52\xa9\x45\x5e\x01\xb3\x41\xf3\x84\x90\xf1\x1e\xfb\x61\x33\x42\xb8\x45" "\x74\x75\xed\x34\x5b\x77\x31\x76\x7a\xd2\xf7\xce\x9c\x67\x91\xbe\x0d\x84" "\x65\xc1\xfa\x4e\x91\x75\x47\x76\xf0\x43\x17\xe9\x22\x3b\x62\x51\x28\xbc" "\x3d\x70\xc6\x83\xce\x93\xab\x34\x09\x38\xd3\x0a\xaf\x17\x62\x3d\x25\xee" "\x7e\xce\x22\x20\x68\xe3\x1c\x1c\x73\x27\x9b\x62\xf4\xbc\x32\x11\x6c\x8a" "\xc2\xc9\xaf\xcb\xd2\x39\x47\xf3\x2b\x29\xbb\x49\x6f\xec\xd9\xff\x16\x03" "\x0f\xf9\x6b\xac\x04\xe3\x94\x61\xef\x5f\x4e\xff\x48\xf2\x3e\xf1\xde\x75" "\x5b\x91\x9a\xcd\x25\x29\x81\x09\x2c\xf8\x6d\xc7\x30\xb7\xee\x44\xb2\xa8" "\xed\x56\x83\x09\x74\x97\xbd\xed\x65\xc9\x5e\x07\xe4\x6f\x4e\xdd\xde\x1f" "\xa9\x7e\xe4\x43\xb6\x55\xc5\x53\xaa\x29\x40\xaa\xd1\xa1\x56\x84\x5e\x21" "\xad\xcf\x5d\x12\x79\x1f\x06\xce\x4d\xd3\xaa\xdd\xd8\xd9\xb3\x61\x47\x41" "\x95\x82\x24\xa8\xef\x47\x0b\xce\xa2\x29\x4e\x5a\x70\xa8\x49\xb2\x5e\x06" "\x1f\x5a\xc5\xb7\x89\xb8\xc3\x49\x8f\xc1\x9b\x65\x9d\x04\xec\xaa\x63\xc3" "\x4c\xee\xb4\xc3\x69\x9e\x74\xdc\x57\xf0\x2b\xce\x9b\x7d\x3f\xdd\xc3\x75" "\x85\xbc\x53\xec\x16\xb6\xf8\x7c\x49\xaf\xc7\x39\x15\xfe\x2d\xa4\xe2\x1f" "\x15\x52\x18\x2f\xe8\xc1\xf5\x23\x9a\xa1\x69\xd1\x9f\x2c\x3b\x13\x00\xc4" "\x88\xe5\x4f\x6e\x82\xe0\x65\xc6\x7d\x48\x1b\x05\xf8\xcd\x7f\x3c\x9f\x62" "\x00\x45\x88\x48\x4d\x8c\x49\xe2\xa1\x72\x7b\x45\x6a\x05\xce\x4b\xee\x3f" "\xd6\x45\x39\xd2\x0e\xba\x4e\xcf\x12\x25\x52\x1b\xdd\x17\xc8\x6f\x48\xd9" "\x18\x8a\x39\xd4\x06\xf2\x0e\x32\x78\x0c\x68\x05\x43\xe4\xd8\xb0\xa4\x2b" "\xa8\x21\x1c\x17\x3d\xd6\xb3\xd9\xa9\x34\x87\x04\x57\xde\x9d\xa4\xe9\x85" "\x9c\x24\xaf\x82\x05\xf0\xdf\x31\xc2\xa5\xb9\xdf\xb1\xb9\x5a\x34\xe8\xbe" "\x52\x3e\xaa\x70\xb3\xb2\x00\x9f\x27\x4e\xce\x75\x65\x70\x14\x32\xf0\x55" "\x8a\xe5\xad\x1b\x35\x4c\x2b\x53\x7d\xdd\xc3\x84\xd4\xbb\x5c\xd4\x3d\x7f" "\x52\xce\xac\xcb\xe8\x89\x28\x13\x4d\xd9\xbe\x87\xf7\x86\xe9\xa5\x06\x92" "\x39\xed\x7e\x01\x08\xeb\xa1\xee\x5e\x88\x0c\x0b\xef\x45\x7e\xd0\xf1\x22" "\x08\x0a\xa1\x8c\xa0\xf7\xa5\x88\xa5\x53\x8f\x73\x0b\x89\x47\x2a\xc3\x22" "\xfd\xdf\x99\xa8\x11\xd7\x27\x90\xe9\xd8\xc6\xcf\xc1\xc0\x85\x7d\xf7\xb3" "\x42\xe6\x41\xef\x7d\xd9\xba\xac\x26\x41\x45\x87\xe5\xc5\x5b\x2e\x7b\x50" "\x8c\xf1\xaf\xcb\xa8\xec\x8b\xd1\x9c\x6c\x42\x14\x9d\x59\x4a\x6e\x08\x2f" "\x51\xbe\x49\x58\xc1\x40\xe6\xd6\x45\x62\x55\x15\x0c\x95\x7a\x7f\x88\x21" "\xf9\xb0\x01\x96\x44\xe2\x66\x71\x0e\xe8\xb0\x2f\x8b\x66\xe4\xe9\x36\xba" "\xb4\x14\x68\x24\x06\x8a\xb0\x6e\xe2\x74\x83\x0f\xcb\x39\xf2\xc8\xc7\xc3" "\x42\x26\xbf\x59\x7a\x53\x47\xc8\xf2\xb3\x69\x82\xe6\xa5\xc5\x22\x76\xca" "\x23\x89\xcc\x9d\x1a\x2b\xf2\x02\x54\x42\x74\x30\x52\xdc\x7a\x30\x18\x33" "\x27\xd6\xa1\x22\xf4\x13\xe5\xd9\x3d\x45\x98\xb6\xb9\xec\xc6\x52\x2c\x2f" "\x1a\x31\xfc\x8d\x68\xc6\x6b\x27\x2c\x42\x82\xeb\x62\xf6\x4f\x78\x3c\x29" "\xc8\x94\xf2\x5b\x77\x7d\x7b\x63\xca\x62\xdd\x4c\x3c\x4d\x44\x87\x91\x7c" "\x16\x0c\x72\xfe\x0c\x48\x7e\x29\x09\x5d\x64\xea\x67\x85\x4d\x83\x86\x2e" "\x0e\x84\x72\x7e\xf8\x67\x14\x58\x76\x01\x12\x64\xdd\xcd\x80\x62\x33\xed" "\x88\x9a\xf3\x29\x4d\xcc\x00\x50\xdd\xe0\xe0\x3d\xfe\x68\x9d\x89\x12\xa4" "\xfa\x72\x2c\x35\x03\x0f\x54\xd0\xaf\x93\xcd\x58\xfb\x7d\xca\x8f\x92\xbc" "\xc1\x80\x10\x63\xa9\xf8\xb0\xf6\x47\x75\x6d\xc8\xf8\x70\x4e\xa6\x03\x3c" "\xd2\xbd\x07\xec\x10\x82\x9a\x4e\x7a\x10\x30\x85\x62\xf2\x56\x42\xd7\xd4" "\x4d\x81\x1e\xd9\xc5\x59\xa9\x80\xc5\x3f\x33\xe3\xad\xd7\x97\xc2\x01\x39" "\xb6\x14\xfe\xf4\xe7\x97\xb2\x31\xe8\x2f\x88\xa4\x68\x75\x70\xd2\x4d\x03" "\x37\x4b\x6b\x88\x72\x9c\xfb\xe1\xe6\x52\x1c\x71\xac\xfc\x1d\x3f\x2a\x4e" "\x87\xab\x97\x0b\x05\x93\xf2\xa2\x08\xf0\x4b\xa5\xea\x09\xcc\x1f\x26\x09" "\x7e\xc0\x3f\x8c\xd6\x87\x92\x8f\x52\x74\x6c\xd4\xd2\x7f\xd5\xff\xd5\xae" "\xe3\x6b\xed\xbd\x2b\x36\x6f\xba\x57\x2e\x16\x54\x06\xfd\x16\xa1\x4b\xfc" "\x11\x7e\xfa\xa5\x1e\xbc\x28\xec\xe1\x65\x16\xdd\xa7\x98\xfc\x41\x34\x13" "\xde\x76\x11\xbb\xa3\x77\xd2\xd2\xcc\x3a\x73\x1b\x81\x59\x30\x9c\xc9\x5e" "\x32\x8b\xf8\xdb\xb9\x45\x77\x54\x95\x44\xd2\x12\x3c\xf5\xd6\x76\x21\x4b" "\x7a\x9f\xae\x8e\x18\xdb\x03\x50\x2d\x56\xda\xad\x88\x0d\x0b\x83\x9d\x8a" "\x5a\x3a\x07\xb7\xb9\xf9\x82\x4f\x46\xb1\xfd\x60\x87\xae\x88\x8c\x50\x85" "\x53\x12\x1f\x4b\x40\xad\x08\xfe\x85\x5b\x85\xc5\x9e\x33\x7b\xa8\xd9\x50" "\x3c\x13\x43\x21\xc1\xfb\xab\x69\x7f\x68\x02\x9f\xe9\x58\x3d\xa9\x98\xff" "\xdc\xbe\x0f\x3f\x5e\xd4\xe7\x7d\xb3\x0c\xcb\x84\xf4\xc0\x96\xa4\x3b\x37" "\x30\x2b\x50\x20\x96\xc5\x74\x07\x08\x83\xf3\x81\xa2\x6a\x72\xe0\xf3\x5f" "\x2d\x79\xc3\xab\x0a\x2b\xe5\xb4\x9e\x28\x51\xb7\x62\x3b\xee\x4f\x64\x37" "\xb9\xa7\xc2\x5b\x67\x8e\x67\xf3\x21\xfa\x5c\xab\x52\x86\x84\x02\x1d\x82" "\xa9\x74\x94\x20\x24\x32\x58\x34\x5d\x81\x5f\xde\x06\x5f\x58\xee\xec\x9a" "\x19\xe4\xfb\xad\xec\xdc\x92\xea\x59\x4d\xd0\x84\x41\xd7\x97\x99\xd4\x74" "\x0c\xb2\xda\x1b\x2c\x82\xa1\x73\xe1\xdd\xfe\x5b\xa4\xbe\x93\x1b\xd7\x96" "\x3f\xbc\x84\x29\xce\x43\xd3\x38\xcb\xe9\x3a\xe0\x50\x0f\x04\x08\x93\x5a" "\x84\xb1\x6e\x1f\x67\xab\xd4\xaa\x23\x0d\xd6\x17\x1f\xca\xf1\x10\xbc\x03" "\xcc\xe5\x81\xc1\xea\x95\xcb\x6f\xb1\xc5\x9a\x94\xfd\xb5\x41\x40\xb2\xaa" "\xef\x10\x27\x24\x3e\x62\x5d\x9f\xeb\x3d\x76\x0b\x0e\xf6\x9c\x09\x93\xf1" "\xa1\x14\x4d\xce\xe2\x23\xbf\x6a\xb7\x7e\x80\x46\x8a\x01\x84\x2a\x30\xff" "\x97\x83\x64\x98\x7f\xa0\x6e\x72\xe5\x48\xa1\x72\xe1\x17\x91\x84\x3b\xf0" "\x53\xbc\xad\x7f\x54\xa1\x36\xa2\xa3\x58\x77\xc2\x84\x4d\x5a\x91\x8e\xf3" "\x25\x54\xb3\x06\x76\x20\x6d\xfd\x48\xef\xf0\x10\xe5\x19\xab\x5c\x57\x4a" "\xf2\x16\x29\xe5\x1c\x74\x29\xc5\x5a\x35\x01\x3a\x3a\xda\x08\x66\x3e\x8e" "\x0c\x50\x8f\xa6\x2d\x62\x85\x73\x93\xf4\x6a\x3b\x71\x7c\x1b\x96\x93\xc0" "\xad\xf4\xb0\x0b\x59\xa3\xe9\x08\x93\x82\x3d\xb1\xcc\x4b\x29\x8e\x71\xf1" "\x5e\xb8\x08\x69\x3a\x8f\xb4\x63\x0b\x32\x83\xb4\xb6\x1d\x2c\x63\xea\x2e" "\xfb\xcd\x79\xf1\xea\x01\xe9\x1c\xa2\xa6\xda\x61\xbd\x32\x9b\x0e\x4b\x69" "\x70\x87\xe9\x93\xf5\x2b\x33\x4f\xce\xe9\x2c\x31\x21\x1d\x06\x5f\xb1\x5d" "\xf2\x7e\xf5\xd2\xf1\x0d\xff\xda\x5a\x38\x35\xe2\x16\xb4\x6f\xa2\xb3\x7b" "\xb3\x8a\xc8\x27\xeb\x0d\xce\x37\xb8\x44\x0a\x18\xed\x71\x2b\xbb\x97\x76" "\xa5\x8e\x3c\x6b\x04\x8b\x91\x13\xa8\xf2\xea\x4d\x5c\x5d\xc2\xb6\xd6\xf6" "\xa3\xaf\xa5\xd5\xd6\xcd\x67\xd4\x9e\x98\x8e\xd7\xce\x19\x54\x3d\x42\x17" "\xc8\x45\x39\x41\x85\x93\xf9\x11\xe1\x32\x9f\xc0\xeb\x5a\x76\xfc\xb3\xc8" "\x3f\x02\xac\xf9\x43\x63\x22\xe9\x20\xd5\x0c\x02\x7a\x92\xc4\x85\xa6\xa2" "\xe6\x58\xec\x78\xe9\x7a\x75\x27\x39\x6b\xb4\x1a\x5c\x80\xe8\xf2\xd3\x35" "\xfc\x0e\xc3\x1f\xf6\x20\x9a\xd6\xfb\x66\x3e\x6d\xb7\xa9\x4d\x7d\x28\x13" "\xd6\x06\x47\xba\x98\x86\x19\xb2\x16\x44\x74\x69\x3b\x6b\xb0\x94\xa7\xc3" "\x37\x5a\x9a\x1f\x6d\x03\x93\xa5\x81\x34\x49\xf8\xc0\x5b\x74\x42\x91\xc1" "\x60\xc1\xde\x52\x02\x8c\x07\xb5\x11\x0d\x00\xe3\x7a\xbe\x4e\x90\xc7\x5c" "\x43\x9c\xbf\x33\x4f\x35\xd1\xf8\xd6\x64\xb0\x6c\xd3\x79\xc4\x10\x6c\xeb" "\x89\x1c\x5a\xde\x21\x0b\x08\x23\xe8\xf2\x0c\xa4\x31\x5f\x72\xc6\x5c\x8a" "\x38\xd1\xac\xaf\xda\x44\x75\xdf\xc2\x7f\xc1\xde\xde\x0a\x8d\x0e\x53\x31" "\xd4\xbf\x70\x78\x0b\xdd\x15\x97\x96\xa6\x30\xc2\x48\x59\xaa\xe4\xc9\x10" "\x8a\x97\x11\x91\xa6\x46\x89\x53\x49\xed\x29\xbe\x70\xef\x8a\xd9\x10\xd6" "\x31\x1b\x6f\xd4\x84\x24\xd2\x3e\x94\x53\x3a\xd6\xc7\xb4\x8d\x81\x92\x50" "\xed\xef\xaa\x02\x0f\x9c\x49\x0b\xea\xe9\x02\x94\x8d\x03\x32\x57\x0b\xaf" "\x93\x68\xe0\xfd\xfc\x76\x59\x17\xa4\xff\x6e\x73\x0d\x9b\x89\xa9\x34\x81" "\xbf\xe4\x8b\xa9\x22\x38\x9c\x2a\x52\x8d\x2d\xb8\xc9\xde\x7c\x70\x84\x45" "\x3f\x87\x00\x0a\xec\xe6\xd9\x93\x73\x27\xf1\xb3\x30\x91\xb4\xe9\xb1\x2b" "\x30\x7b\x4d\x0a\x66\xc2\x90\x09\x45\x66\x38\xf5\x6f\x81\x00\xdd\x41\xd3" "\x88\x9e\xa4\xad\xd4\x5d\xb4\xf3\xd6\xdc\x17\xad\x10\x2d\x7e\xde\xce\x8c" "\xdf\x86\xb3\xc2\x44\xbe\xc6\xa7\x7c\xb6\xbb\xaa\x35\x15\x7e\x88\x3a\x92" "\xb7\x67\x2e\xee\xd9\x1b\x65\xf7\x05\x17\xcf\xb1\x34\xe0\x7b\x24\xf3\xf4" "\xe2\x00\x34\x46\x0a\x7f\xc5\xe3\xa4\x98\x39\x4d\xfe\x53\x9f\x28\x3e\xa2" "\x32\xfd\xfe\xe7\xf5\x36\xf5\xd3\x83\x2b\x8a\x65\x57\xd6\xc0\x87\x80\x3b" "\x30\xda\xe9\xd2\x0b\x4b\xee\x06\x24\xb3\x80\x3f\x3c\xff\xbb\x5b\x44\x8e" "\x3a\x86\x4f\x92\x07\xad\xe9\x15\x1f\x7e\x45\x01\x0e\xce\x2f\x6d\xb1\xba" "\x70\xd8\xa5\x67\xb4\xdb\xb4\x7d\x59\x31\x2e\x2a\x66\xdd\xb6\xf8\x65\x04" "\x88\xb2\x18\x1d\x19\x4f\x42\x73\x92\xb3\xe2\xba\xdf\x88\x77\x78\x58\xc4" "\x68\xc5\x39\x3c\x4d\xf2\x89\x3b\x42\xff\xa2\x7e\x81\x35\xa4\x40\xa5\x77" "\x83\x7b\x6d\x90\x96\x85\x63\xcd\xcf\xe4\x19\x36\x52\x72\x1b\x77\x97\x27" "\x83\x3e\xfe\x62\x52\x0d\x2e\x1e\x93\x5f\x77\x56\x5c\x61\xf1\x02\x6d\x7b" "\xb7\x33\x5c\x1a\x1c\xc1\x8c\x39\xec\x0b\xcd\x05\x09\xe0\x43\x91\x06\x68" "\x7e\x52\x7c\xf8\xcc\x0b\x23\xd9\x57\x05\x4e\x0a\x9e\x96\x42\x6d\xfc\xb8" "\x74\x43\x3f\xd8\x6d\x38\x57\xc2\x20\x52\xc0\x1b\x5d\xdb\xa5\x14\x56\xd6" "\xaa\xa9\xa8\x26\x37\x33\x84\xa3\x76\x08\x31\x18\xf4\xdf\xf3\x4a\x6f\x03" "\x72\xc8\x9d\xc0\xb9\x52\x82\x30\x19\x3d\xa4\x30\x7e\xfb\xac\xe1\x0e\xc1" "\xec\x5d\x7b\xd8\x3d\x3b\xf1\x53\xad\x2a\x7c\xac\xba\xb6\x0a\x21\x58\x65" "\x9f\x69\x1b\x1b\x6c\xe8\x60\x66\xff\xae\xd6\x77\xce\x35\x5c\xc1\x73\x95" "\x48\xd9\x78\x2e\x63\x3d\x54\xac\xe0\x43\x50\xac\x3f\x61\x6b\x9f\x91\x59" "\x0d\x99\xee\x47\x1e\x5d\x3b\x47\xb7\x9f\x9a\xcc\x77\xb7\x9a\xd7\x1e\x28" "\x5f\xd7\x34\xbb\xbb\x98\x8b\xc7\x09\x5e\x58\xb0\x40\xa6\xc2\xec\x21\x31" "\xfa\xb8\x6f\x82\xe6\xa5\x4a\x2f\x99\x02\x0d\x21\x8d\x72\xc6\x25\x11\x05" "\x2e\x36\xfd\x5e\x17\xc9\x8a\xed\xc9\x07\x83\xff\x9e\x6c\xd7\x39\x66\x98" "\x83\x60\xe8\x51\xb7\x46\xe1\x7f\x51\xfb\x01\x9f\x89\xdb\x50\x2d\xe4\x7e" "\x85\x1b\x56\x46\xfb\x2f\x6e\x74\x8f\xf0\xdb\x22\x16\xed\xf6\xc3\xeb\x27" "\x54\xac\xbf\x19\xe4\x2e\x24\x9a\x67\xd9\x03\x5d\x6f\x02\xed\x6d\xf2\x98" "\x49\xf6\xcf\x01\x21\x86\xd8\x8d\xb0\x16\x12\xfd\xe2\xfe\x20\x78\xb5\xc7" "\xb6\xd8\xa7\x12\xa5\xb6\xcf\x93\xbf\xb0\x5a\xea\x55\x3c\xfa\x48\x99\x51" "\x0a\x45\xc3\x5e\x2d\x41\x6c\xfa\x3b\x8a\x1a\x2b\x01\x53\x84\x3e\xd9\xa1" "\x8b\xaf\xee\x4f\xa8\x16\x99\x44\xce\x0e\x4d\xab\x8a\xf0\xfc\x7f\x88\x15" "\x82\x0c\x2e\xc5\x56\xca\x79\x83\x31\xff\xa1\x9d\x82\xe3\xb8\x7f\x06\x98" "\xc8\xe8\x54\x5f\x84\x6c\x8c\x6e\xcc\xa5\x3c\x5f\x55\xad\x27\x07\xc0\x70" "\xe4\xe8\x6e\xe5\xcf\x53\x11\xdb\x69\x60\x44\x41\x81\x5e\x16\x72\xe2\x30" "\x1f\x27\x89\x1f\xb5\x8f\xdb\x74\x6b\xd2\x8b\xaf\xcf\x2f\x33\xf3\x23\xb0" "\x5d\x57\x01\x8a\x50\xaa\xf1\x54\x72\xba\xd0\xf1\x32\x52\x33\xa6\xa6\x73" "\xf2\x84\x20\x64\xee\x03\x6d\xf0\x79\x07", 4096)); NONFAILING( syz_clone(0x80081200, 0x20000100, 0, 0x20000000, 0x20000180, 0x20002480)); NONFAILING(*(uint32_t*)0x2001d000 = 1); NONFAILING(*(uint32_t*)0x2001d004 = 0x80); NONFAILING(*(uint8_t*)0x2001d008 = 0); NONFAILING(*(uint8_t*)0x2001d009 = 0); NONFAILING(*(uint8_t*)0x2001d00a = 0); NONFAILING(*(uint8_t*)0x2001d00b = 0); NONFAILING(*(uint32_t*)0x2001d00c = 0); NONFAILING(*(uint64_t*)0x2001d010 = 0x41c1); NONFAILING(*(uint64_t*)0x2001d018 = 0x8400); NONFAILING(*(uint64_t*)0x2001d020 = 0); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 0, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 1, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 2, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 3, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 4, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 5, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 6, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 7, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 8, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 9, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 10, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 11, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 12, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 13, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 14, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 15, 2)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 17, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 18, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 19, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 20, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 21, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 22, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 23, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 24, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 25, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 26, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 27, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 28, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 29, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 30, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 31, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 32, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 33, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 34, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 35, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 36, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 37, 1)); NONFAILING(STORE_BY_BITMASK(uint64_t, , 0x2001d028, 0, 38, 26)); NONFAILING(*(uint32_t*)0x2001d030 = 0); NONFAILING(*(uint32_t*)0x2001d034 = 0); NONFAILING(*(uint64_t*)0x2001d038 = 0); NONFAILING(*(uint64_t*)0x2001d040 = 0); NONFAILING(*(uint64_t*)0x2001d048 = 0); NONFAILING(*(uint64_t*)0x2001d050 = 0); NONFAILING(*(uint32_t*)0x2001d058 = 0); NONFAILING(*(uint32_t*)0x2001d05c = 0); NONFAILING(*(uint64_t*)0x2001d060 = 0); NONFAILING(*(uint32_t*)0x2001d068 = 0); NONFAILING(*(uint16_t*)0x2001d06c = 0); NONFAILING(*(uint16_t*)0x2001d06e = 0); NONFAILING(*(uint32_t*)0x2001d070 = 0); NONFAILING(*(uint32_t*)0x2001d074 = 0); NONFAILING(*(uint64_t*)0x2001d078 = 0); syscall(__NR_perf_event_open, 0x2001d000ul, r[0], 0xeul, -1, 0ul); syscall(__NR_creat, 0ul, 0ul); syscall(__NR_io_setup, 0xb, 0x20000040ul); } 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); setup_sysctl(); setup_cgroups(); setup_binfmt_misc(); setup_802154(); install_segv_handler(); for (procid = 0; procid < 6; procid++) { if (fork() == 0) { use_temporary_dir(); do_sandbox_none(); } } sleep(1000000); return 0; }