// https://syzkaller.appspot.com/bug?id=65d461e9e0fdc015733f998034365d8c8112da95 // 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 static unsigned long long procid; 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); } static void thread_start(void* (*fn)(void*), void* arg) { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 128 << 10); int i = 0; for (; i < 100; i++) { if (pthread_create(&th, &attr, fn, arg) == 0) { pthread_attr_destroy(&attr); return; } if (errno == EAGAIN) { usleep(50); continue; } break; } exit(1); } #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)))) typedef struct { int state; } event_t; static void event_init(event_t* ev) { ev->state = 0; } static void event_reset(event_t* ev) { ev->state = 0; } static void event_set(event_t* ev) { if (ev->state) exit(1); __atomic_store_n(&ev->state, 1, __ATOMIC_RELEASE); syscall(SYS_futex, &ev->state, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, 1000000); } static void event_wait(event_t* ev) { while (!__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE)) syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, 0); } static int event_isset(event_t* ev) { return __atomic_load_n(&ev->state, __ATOMIC_ACQUIRE); } static int event_timedwait(event_t* ev, uint64_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; for (;;) { uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, &ts); if (__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE)) return 1; now = current_time_ms(); if (now - start > timeout) return 0; } } 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) { struct ifinfomsg hdr; memset(&hdr, 0, sizeof(hdr)); 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); 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); 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_hsr(struct nlmsg* nlmsg, int sock, const char* name, const char* slave1, const char* slave2) { netlink_add_device_impl(nlmsg, "hsr", name); 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); 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); 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); 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); 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); 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 = 240; 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) { char buf[16]; sprintf(buf, "%u %u", addr, port_count); if (write_file("/sys/bus/netdevsim/new_device", buf)) { 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"}, {"netdevsim", netdevsim}, {"veth", 0}, {"xfrm", "xfrm0"}, {"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_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 static long syz_open_procfs(volatile long a0, volatile long a1) { char buf[128]; memset(buf, 0, sizeof(buf)); if (a0 == 0) { snprintf(buf, sizeof(buf), "/proc/self/%s", (char*)a1); } else if (a0 == -1) { snprintf(buf, sizeof(buf), "/proc/thread-self/%s", (char*)a1); } else { snprintf(buf, sizeof(buf), "/proc/self/task/%d/%s", (int)a0, (char*)a1); } int fd = open(buf, O_RDWR); if (fd == -1) fd = open(buf, O_RDONLY); return fd; } static void setup_common() { if (mount(0, "/sys/fs/fuse/connections", "fusectl", 0, 0)) { } } static void loop(); static void sandbox_common() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); setsid(); struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = (200 << 20); setrlimit(RLIMIT_AS, &rlim); rlim.rlim_cur = rlim.rlim_max = 32 << 20; setrlimit(RLIMIT_MEMLOCK, &rlim); rlim.rlim_cur = rlim.rlim_max = 136 << 20; setrlimit(RLIMIT_FSIZE, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_STACK, &rlim); rlim.rlim_cur = rlim.rlim_max = 0; setrlimit(RLIMIT_CORE, &rlim); rlim.rlim_cur = rlim.rlim_max = 256; setrlimit(RLIMIT_NOFILE, &rlim); if (unshare(CLONE_NEWNS)) { } if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, NULL)) { } if (unshare(CLONE_NEWIPC)) { } if (unshare(0x02000000)) { } if (unshare(CLONE_NEWUTS)) { } if (unshare(CLONE_SYSVSEM)) { } typedef struct { const char* name; const char* value; } sysctl_t; static const sysctl_t sysctls[] = { {"/proc/sys/kernel/shmmax", "16777216"}, {"/proc/sys/kernel/shmall", "536870912"}, {"/proc/sys/kernel/shmmni", "1024"}, {"/proc/sys/kernel/msgmax", "8192"}, {"/proc/sys/kernel/msgmni", "1024"}, {"/proc/sys/kernel/msgmnb", "1024"}, {"/proc/sys/kernel/sem", "1024 1048576 500 1024"}, }; unsigned i; for (i = 0; i < sizeof(sysctls) / sizeof(sysctls[0]); i++) write_file(sysctls[i].name, sysctls[i].value); } static int wait_for_loop(int pid) { if (pid < 0) exit(1); int status = 0; while (waitpid(-1, &status, __WALL) != pid) { } return WEXITSTATUS(status); } static void drop_caps(void) { struct __user_cap_header_struct cap_hdr = {}; struct __user_cap_data_struct cap_data[2] = {}; cap_hdr.version = _LINUX_CAPABILITY_VERSION_3; cap_hdr.pid = getpid(); if (syscall(SYS_capget, &cap_hdr, &cap_data)) exit(1); const int drop = (1 << CAP_SYS_PTRACE) | (1 << CAP_SYS_NICE); cap_data[0].effective &= ~drop; cap_data[0].permitted &= ~drop; cap_data[0].inheritable &= ~drop; if (syscall(SYS_capset, &cap_hdr, &cap_data)) exit(1); } static int do_sandbox_none(void) { if (unshare(CLONE_NEWPID)) { } int pid = fork(); if (pid != 0) return wait_for_loop(pid); setup_common(); sandbox_common(); drop_caps(); initialize_netdevices_init(); if (unshare(CLONE_NEWNET)) { } initialize_tun(); initialize_netdevices(); initialize_wifi_devices(); 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) == 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) == 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)) 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)) 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_test() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); setpgrp(); write_file("/proc/self/oom_score_adj", "1000"); flush_tun(); } 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_usb() { if (chmod("/dev/raw-gadget", 0666)) exit(1); } 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/net/ipv4/ping_group_range", "0 65535"}, {"/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)); } } struct thread_t { int created, call; event_t ready, done; }; static struct thread_t threads[16]; static void execute_call(int call); static int running; static void* thr(void* arg) { struct thread_t* th = (struct thread_t*)arg; for (;;) { event_wait(&th->ready); event_reset(&th->ready); execute_call(th->call); __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); event_set(&th->done); } return 0; } static void execute_one(void) { int i, call, thread; for (call = 0; call < 18; call++) { for (thread = 0; thread < (int)(sizeof(threads) / sizeof(threads[0])); thread++) { struct thread_t* th = &threads[thread]; if (!th->created) { th->created = 1; event_init(&th->ready); event_init(&th->done); event_set(&th->done); thread_start(thr, th); } if (!event_isset(&th->done)) continue; event_reset(&th->done); th->call = call; __atomic_fetch_add(&running, 1, __ATOMIC_RELAXED); event_set(&th->ready); event_timedwait(&th->done, 50); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); close_fds(); } static void execute_one(void); #define WAIT_FLAGS __WALL static void loop(void) { int iter = 0; for (;; iter++) { char cwdbuf[32]; sprintf(cwdbuf, "./%d", iter); if (mkdir(cwdbuf, 0777)) exit(1); int pid = fork(); if (pid < 0) exit(1); if (pid == 0) { if (chdir(cwdbuf)) exit(1); setup_test(); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } #ifndef __NR_bpf #define __NR_bpf 321 #endif uint64_t r[3] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: memcpy((void*)0x20000000, "threaded\000", 9); syscall(__NR_write, -1, 0x20000000ul, 9ul); break; case 1: *(uint32_t*)0x200010c0 = -1; *(uint32_t*)0x200010c4 = 6; *(uint32_t*)0x200010c8 = 0x10; syscall(__NR_bpf, 0xeul, 0x200010c0ul, 0xcul); break; case 2: *(uint32_t*)0x20000200 = 0xc; *(uint32_t*)0x20000204 = 0xff; *(uint64_t*)0x20000208 = 0x20001100; *(uint64_t*)0x20000210 = 0; *(uint32_t*)0x20000218 = 0x8001; *(uint32_t*)0x2000021c = 0; *(uint64_t*)0x20000220 = 0; *(uint32_t*)0x20000228 = 0; *(uint32_t*)0x2000022c = 4; memset((void*)0x20000230, 0, 16); *(uint32_t*)0x20000240 = 0; *(uint32_t*)0x20000244 = 0x1b; *(uint32_t*)0x20000248 = -1; *(uint32_t*)0x2000024c = 8; *(uint64_t*)0x20000250 = 0x20000180; *(uint32_t*)0x20000180 = 0; *(uint32_t*)0x20000184 = 8; *(uint32_t*)0x20000258 = 8; *(uint32_t*)0x2000025c = 0x10; *(uint64_t*)0x20000260 = 0x20000680; *(uint32_t*)0x20000680 = 3; *(uint32_t*)0x20000684 = 2; *(uint32_t*)0x20000688 = 0; *(uint32_t*)0x2000068c = 0xc4; *(uint32_t*)0x20000268 = 0x10; *(uint32_t*)0x2000026c = -1; *(uint32_t*)0x20000270 = -1; syscall(__NR_bpf, 5ul, 0x20000200ul, 0xfffffffffffffff4ul); break; case 3: syscall(__NR_perf_event_open, 0ul, 0, 0ul, -1, 0ul); break; case 4: syscall(__NR_perf_event_open, 0ul, -1, 0ul, -1, 0ul); break; case 5: res = syscall(__NR_socket, 0x10ul, 2ul, 0); if (res != -1) r[0] = res; break; case 6: syscall(__NR_socket, 0x29ul, 7ul, 0); break; case 7: memcpy((void*)0x20000180, "cpuset.effective_cpus\000", 22); res = syscall(__NR_openat, 0xffffff9c, 0x20000180ul, 0x26e1ul, 0ul); if (res != -1) r[1] = res; break; case 8: *(uint64_t*)0x20000640 = 0x20000380; *(uint16_t*)0x20000380 = 0x306; memset((void*)0x20000382, 170, 5); *(uint8_t*)0x20000387 = 0xbb; *(uint32_t*)0x20000648 = 0x80; *(uint64_t*)0x20000650 = 0x20000600; *(uint64_t*)0x20000600 = 0x20000040; memcpy((void*)0x20000040, "\x76\xd0\x00\x40", 4); *(uint64_t*)0x20000608 = 4; *(uint64_t*)0x20000610 = 0; *(uint64_t*)0x20000618 = 0; *(uint64_t*)0x20000620 = 0x20000480; memcpy((void*)0x20000480, "\x16\xbc\x16\x71\x59\xd8\xa7\xe3\x66\x00\xdf\x62\x68\xe1\x96\xd5" "\x29\xb7\xc0\xd7\x96\xd9\x37\xc4\xbc\xe7\x6c\x1d\xa3\x38\xd0\x39" "\x59\x5b\xd5\xd7\xda\x3e\x06\x15\x9b\xf8\x31\xa8\x85\x8b\x3b\x83" "\xd8\x82\x3c\x3e\x1a\x53\x95\xdb\x3b\x9b\xfb\x00\xc3\xc1\x32\x32" "\x81\x0b\x9c\xd9\xdc\x2d\xc3\x37\x95\xb3\xa6\x95\x93\x27\x3a\xa9" "\x6e\x77\x3f\xac\xec\xae\xac\x5b\xbb\xf8\xcd\xe7\xc0\xa1\x14\x5d" "\xa9\xee\xa7\xbf\xff\x38\x46\x3c\x74\x4a\x03\x6a\x23\x36\xc9\x0f" "\xf9\x32\x6d\xce\xdf\x30\x96\x51\xa7\xac\xc5\x8b\x66\x8e\x34\x98" "\xae\xeb\x86\xe1\x92\x19\x5e\xee\x72\x4b\x9d\x70\x54\x1e\x21\xaa" "\x5e\x05\x2f\x8e\x80\x4f\x34\xc1\x8c\x4f\xc8\xd4\xe3\xa8\x4b\x16" "\x79\xe1\xb4\x87\x15\x53\x07\x7a\xc1\x79\x5b\x14\x8f\xdc\xb6\xe0", 176); *(uint64_t*)0x20000628 = 0xb0; *(uint64_t*)0x20000630 = 0x20000540; memcpy( (void*)0x20000540, "\x67\xa5\xb7\x64\x23\xf4\x05\x1f\xab\x07\xc0\x11\x80\x32\x0b\x41\x52" "\x54\xdd\xe9\x58\xe1\xc2\x99\x78\x99\xac\x62\x67\x11\x44\x46\x73\x7c" "\x62\xac\xdc\x77\xe6\x61\x47\x53\xf5\xe4\xa3\xfb\x9c\x25\x80\x3e\x32" "\xa3\x36\x85\x55\xbc\x6a\x76\x62\x7d\xc1\xb1\xdf\xe8\x0d\x9b\xa7\xe0" "\x8b\xe0\xa8\xeb\x53\x3b\x1f\xe4\xac\x0d\x0c\xa8\x1d\x60\xb4\x74\x9b" "\x3e\x49\x41\xcb\x4a\x0a\x5c\x0c\xe2\xbb\x16\xc6\x4d\xc6\x86\xc5\x60" "\xbf\x65\xa5\x9d\x15\xd8\x53\x92\x38\x28\x1a\x4f\x86\x3a\x82\x5e\xde" "\xa1\x85\x42\x6d\x67\x19\x62\xa0\x3c\xcd\xfd\x62\x94\x10\x71\xd5", 135); *(uint64_t*)0x20000638 = 0x87; *(uint64_t*)0x20000658 = 4; *(uint64_t*)0x20000660 = 0x200049c0; *(uint64_t*)0x200049c0 = 0xa0; *(uint32_t*)0x200049c8 = 0x108; *(uint32_t*)0x200049cc = 2; memcpy((void*)0x200049d0, "\x8f\x86\x16\xb0\x03\xe0\xdb\x56\x60\xeb\x5f\xa8\x73\xa3\xa3\x67" "\x58\x08\x76\xf3\xd5\x77\xfb\x2e\xf4\x32\x31\x84\x9c\x3f\x83\x11" "\x8f\x9e\x36\x9e\xa0\x86\x77\xb1\xef\xb1\x31\x32\xc3\x39\x12\x8e" "\x88\x36\x2e\xa4\xe9\xbe\xb4\xdc\xa3\x57\x6c\x63\xd8\x8a\x48\x76" "\x12\x7f\x4d\x63\xcf\xdb\x8f\x2d\xfb\x71\x19\xf8\xf7\xb7\xb2\x44" "\x5e\x79\xd6\x53\x1b\xb3\xa2\x82\x12\x36\x79\xa6\x6d\x18\x22\x28" "\x9f\xed\x24\xd4\xeb\xe7\xdc\x71\xc4\xb8\x33\x13\x2c\x20\xf4\xbd" "\x17\xd3\x4d\x78\x59\xf6\x98\x2c\x2c\xb7\x5c\xd0\x4d\x6f\xe0\x67" "\x4f\x3c\x21\x79\xbc\xbe\x13\x0b\x0c\x87\xa0\x4f\x72\x19\x39\x8b", 144); *(uint64_t*)0x20004a60 = 0x10; *(uint32_t*)0x20004a68 = 0x84; *(uint32_t*)0x20004a6c = 0; *(uint64_t*)0x20004a70 = 0x1010; *(uint32_t*)0x20004a78 = 0x113; *(uint32_t*)0x20004a7c = 4; memcpy( (void*)0x20004a80, "\xd6\x99\x4e\x22\x07\xd8\x7b\xef\x15\x54\xcf\x1b\x0c\xec\x89\x4f\xd5" "\x0c\x43\x6c\x89\xbd\x69\x1c\x6e\x16\x18\x84\x91\x61\xb2\x66\x04\x3a" "\x3a\x09\xbc\x1f\x92\x57\x6f\x5a\x88\x88\x2f\x7b\x4c\xfe\xa5\x1f\xb9" "\xa0\x1a\x4a\xd5\x4b\x8d\x67\xfe\x0b\xaf\x9c\x3f\x66\x38\xb8\xd6\xd9" "\xbb\x64\x10\xdb\xe5\x9f\x8a\x4c\xa5\xf7\x6f\x88\xaa\xc3\x41\x56\x3f" "\x4d\xc8\x8a\x09\x78\xcc\x1f\x19\xdf\x0c\xcd\x0c\x3b\xb7\x15\x60\x50" "\xd4\xbc\x6c\x78\xdc\x6c\x65\x76\x11\xdd\xa7\x9c\x12\xa9\x20\x5a\xb6" "\xbe\xfe\xbd\xea\x11\xc5\x74\x48\xf8\x7e\x9a\xf0\x77\x9f\x58\x2f\x25" "\x0a\xbd\xca\x81\xaf\x59\x29\x91\x92\x13\x24\xe1\xa1\x06\xac\x1f\x31" "\x60\x20\xbb\x9d\x26\xc2\x01\xc7\x0e\x5e\x7b\xe0\x1e\x39\x47\x82\x76" "\xcb\x17\x47\xac\x24\x0c\x31\x23\x51\xbb\xc7\x22\x57\x4a\xf6\x2f\xed" "\xf0\x85\xa1\x2c\xa9\xef\x47\x3f\xd9\xf1\x43\xc3\x5e\x81\x07\x8e\x52" "\xd6\x1d\xb4\x92\x1a\xad\x86\x57\xa9\xf7\xf4\x6d\x93\xc3\x97\x91\x04" "\xd4\xa2\x63\xf0\xea\xe9\x10\x0d\xf5\xd2\xc0\x48\x08\x6c\x76\xf5\xe2" "\x85\x04\xba\x7d\xd2\x22\xc0\xb3\x63\x33\x9c\x7f\xc1\x0e\xfe\x36\x4c" "\x11\x69\x35\xd6\x50\x64\xf2\x88\xb4\xfd\x2b\x90\x62\x4f\xa7\xd7\x1d" "\x70\x2e\x7b\x11\xbc\x7f\x71\x27\x51\x7c\x66\x13\x62\x7f\x69\xeb\xfb" "\xb2\x83\x29\xce\xd1\x11\x5f\x00\x11\x11\xb4\xa9\x12\xa0\xe5\x0a\x3a" "\xbf\x8f\xc5\x27\x96\xf4\xd5\x31\x0c\x68\x71\x3c\x17\xf4\xdf\x31\x00" "\x61\x8c\x6e\x86\xf4\x30\x39\x75\x0a\xb3\xcc\xfd\xf3\xda\xd4\xf7\x1f" "\x1b\x86\xae\x1a\x37\xf1\x82\x45\x63\x6c\x44\x36\x0f\x70\x24\x00\xbb" "\xe5\xeb\xdd\x62\x5d\x0b\x05\x48\x33\x2f\x93\x07\x8f\x9a\x96\xb7\xe5" "\x92\x42\x24\x86\xdb\x7c\xa9\x32\x74\x74\x72\xb7\x0d\xe8\x9e\xf6\xde" "\x98\xa9\x79\xd6\x28\x12\xa2\xe7\xc8\xb4\xc6\xd4\x44\xec\xfe\xdf\x1e" "\x99\x9a\x4c\x50\x97\x5f\x5c\x09\x6c\xe8\x73\x10\x40\x4a\x79\x50\xc3" "\x99\xb8\x28\x32\x91\xfb\x3a\xfd\xf6\x03\x90\xac\x64\xba\x79\xca\x93" "\x05\x6a\x4e\xe5\x4c\xaa\x83\xe2\x12\x02\xed\xf9\xe6\x91\x5d\x84\xb8" "\x23\x1e\x29\x8a\xeb\x5e\xcc\xeb\x97\x46\x55\x1b\x4d\xa7\xf7\x1a\x0e" "\x9f\x3a\xec\x8f\x21\x48\xa8\xf7\x70\xa2\xef\xab\x1f\xd8\x21\x11\x68" "\x58\xef\x56\x05\x72\xfd\x1f\x8a\xb4\x62\xeb\xe2\x71\xa8\x59\x9a\xc9" "\xcd\x6c\xe1\x2b\x41\x8b\x56\xd4\xe0\x83\x27\x5a\x96\x95\x5c\x77\x90" "\x43\xa9\x96\x61\x8e\xad\x35\x40\xf7\x94\x64\x7b\xcc\x83\xc8\x63\x96" "\x31\x7c\x3a\x02\xb1\x0c\xf1\x8b\x60\xdd\x51\xab\x36\x75\x3b\x92\x48" "\xbd\xf7\xa4\x18\xe6\xce\x03\x51\x95\x52\x6c\x24\x5a\xc5\xa3\xf6\xb3" "\x9f\x5e\x63\x1c\x0d\x35\xcd\xfb\xa8\xdc\x0f\xcc\x41\x29\xd6\x29\x76" "\x47\xe2\x7f\x5a\x32\x52\x86\x47\xc9\x8d\xf3\x53\xd3\x8d\x29\xf7\xfe" "\xf8\x96\x75\xc3\x6f\x07\x0c\x8e\x32\xec\xbb\x1a\x42\x52\xdc\xae\xbe" "\x25\x01\x59\xf3\x7b\xe1\x9d\x67\xfa\x9a\x33\xce\x41\x98\x57\xb5\x49" "\x3d\x02\x9c\xac\x0f\x0b\xf8\xf6\x31\x19\x93\x2b\x58\x28\x33\x73\x42" "\x6b\x00\xa8\x84\x86\xc5\x52\x08\x20\x80\x8b\xa0\x8f\xa9\xfc\xd9\xc5" "\xbd\x23\xe7\xf2\x47\x07\xe8\x07\xcd\xad\x3f\xb3\x5d\x08\xd4\x82\xc8" "\x8f\xb9\xd2\x08\x3f\x5e\x07\x75\xb5\x0b\x64\xe1\x81\x21\x27\xf2\xa7" "\x00\x6a\xe0\x5f\xc2\xf4\x46\x96\x8c\x33\x5d\xa4\xb8\xe5\x4e\x47\x95" "\x7e\x97\x67\x21\x09\x85\x4e\x43\x8a\xef\x75\x7a\x26\x0b\x71\x79\xc9" "\x68\xc9\xcb\x7f\xa2\x46\x2a\x4a\xfd\x1d\xc2\x20\x0c\x3f\x94\xbf\x37" "\x2b\x5a\xb7\x65\x64\xed\xde\x3d\xc4\xfc\xe5\x61\xae\x89\xef\x05\xbf" "\xd6\xfe\x90\x33\xe7\x08\xad\xad\x1f\xd6\xb3\x14\x4b\x1b\x36\x89\x21" "\x80\x8a\xe9\x6f\x53\xd2\x70\x94\xc2\xff\x23\xb7\x52\xea\x37\x5a\x7e" "\x43\xb7\xd3\xe4\xfa\xa5\x79\x85\x4e\xf8\x6f\x56\x80\xd8\xd8\x2b\x7d" "\x31\xcd\x05\x9a\xeb\xa7\x16\x0b\xbe\x0b\x47\x4e\xaa\x5f\x7f\x20\xc8" "\xd5\x60\x11\xc7\x50\xaa\xb4\x8e\x09\xa7\x13\x5c\xde\xaa\x5e\xad\x7a" "\xdb\x3a\x6a\x33\x57\x5d\xe3\xe9\x96\x71\x65\x11\xc3\x01\x08\x3a\xb4" "\x7e\x6a\xbe\xc7\x40\xd6\x1b\x6f\x0d\x9c\xd7\xb7\xcc\xc5\x7c\xaa\x7f" "\xcf\x84\x01\x6a\x04\x30\x8a\xaf\x07\xdf\xa5\x6e\x8d\xd1\x5d\x7e\x4b" "\x3e\x12\x34\xa9\x14\x81\x47\x0f\xea\x10\x4a\x93\x8c\xe4\x96\xb9\x68" "\x72\xa5\x75\xb3\x38\x53\xc2\x45\xe3\xf4\x78\xab\xbb\x15\x58\x17\x10" "\xb6\x40\x69\x4a\x5e\x8c\x3d\xf7\x77\xf2\xae\xfa\x98\x48\xe6\x36\xe0" "\xd4\x94\x01\x06\x38\xd3\x65\x97\x0f\x4b\xc2\x49\x74\xc3\x45\xad\xce" "\x23\xaa\x9d\x54\xd3\x34\xab\x54\x7f\x2a\x2a\x3b\x3d\x61\x5e\x25\x70" "\xa8\x20\x7f\x2f\xd6\xcf\x59\x93\x30\x88\xcf\x94\x13\xc0\x58\xc1\x10" "\x28\xc5\xd2\x38\x68\x15\x56\x6b\x94\x77\x6d\x85\xba\xc5\x68\xc7\x50" "\x33\x65\x57\xad\x68\xf5\x9a\x42\xf8\x3e\xc7\x79\x67\x19\xd7\xd4\x52" "\x69\x5a\xe1\xa2\x35\xd5\x02\x94\x3e\x7c\x5a\x6c\x38\x69\x44\xc1\x74" "\x80\x4c\x75\x81\xb5\xa9\xed\xbe\x3b\xb9\x19\x32\x57\x8c\xd7\xc7\x7c" "\xc7\xec\xae\x43\x86\xe9\x51\x99\x5e\x70\x09\xd7\xae\x6f\x2f\xde\x9e" "\x7b\x51\x58\xba\xfd\xd6\x8a\x88\xb3\x17\xa6\x11\x1c\x16\x41\xab\x62" "\x54\x2b\x35\xf2\x4b\x77\x05\x4a\x23\x66\x1e\xa3\x9f\x87\x40\xbf\x3b" "\x27\x11\x7b\x61\xc8\xbb\xd9\xb0\x6c\x5e\xd4\xfb\x42\x3f\x3c\x0b\xeb" "\xc0\x70\xf5\x1e\xa5\x92\x81\x51\xe5\x49\x2e\x20\x74\xc4\x69\x95\x90" "\x4d\xd3\xd6\x96\xbd\x71\x54\xe5\x74\xaa\xd6\x58\x0e\xec\x35\x7a\x8c" "\x80\x0c\x0d\xdc\x85\x24\x4d\x89\x38\xc1\x3a\xc1\xdb\x6f\x64\xf0\xeb" "\xba\xf9\xed\x3e\x41\x2c\xa6\x95\xd3\x0c\xec\x77\xa3\x51\x8b\x1c\x87" "\x18\xc3\xce\x9b\x37\x1a\xa6\x7f\x4a\x53\xa0\x6c\x1f\x9a\xa2\xd9\xb2" "\xc1\x72\xfb\xfc\xa0\x6c\xa1\xa7\x2f\x67\x00\x0c\x87\x76\x5f\xf2\xbc" "\xd9\x1c\xa0\xce\x6e\x67\x5f\x04\x7c\xb2\x9e\x6c\xa7\x3d\x09\xe3\xab" "\x35\xfa\x29\x9f\xb0\x62\x6f\xe8\x3d\x2d\x61\x94\x52\x37\xa8\x4a\x09" "\x17\x10\xcc\xa0\xe5\xa7\xc9\xb3\x73\x68\xfa\x36\x14\x73\x97\x71\x06" "\xaf\x3b\xda\x0c\xb9\xcc\xd6\x1b\x63\x1f\x30\x6e\x79\xd1\xfa\x37\x97" "\x46\xaf\xf0\x6d\xd6\x93\x7a\xba\x79\x8d\xc4\xef\xea\xd0\xd1\x66\xca" "\xfa\xce\x90\x00\x71\x2b\x23\x14\xc9\xad\x33\xe2\x9a\x20\x58\x57\x69" "\xc2\xf1\x36\xac\x61\x49\x0a\x5e\xd9\xf2\x30\x41\x02\x08\x27\x94\x43" "\x8c\x59\x8f\x1d\xb6\xe2\x38\x38\x11\xa2\x1d\x65\xe7\x1b\xa6\x74\x92" "\x6b\x02\xd9\x55\xc8\xff\x8c\x50\x65\x5a\xef\x40\x24\x2a\x71\xb0\x13" "\x0d\x97\xa5\x3d\x60\xec\x73\x2c\x9a\xa4\xb9\x53\x3f\xf9\x12\x20\x05" "\x91\x3a\xf6\x44\x17\x15\xe8\x02\x2a\xbe\x75\xac\x52\x42\xca\x04\x80" "\x37\x64\xde\x94\xa2\x04\xc0\xfe\x45\xf4\xcb\x9f\x2e\x6f\xfe\xfc\xca" "\x36\x35\x9a\x17\x83\x98\x80\x2b\x33\x96\x6e\xb4\x9d\x15\xd9\x97\x47" "\x49\x9e\xe2\x83\xaf\xa6\x3d\x6a\x96\xdb\x47\xa0\xf5\x0e\x0f\x52\x5d" "\x5d\x33\x32\xdc\x38\x0e\xd1\x72\x44\xc7\xfe\x20\x3c\xa3\x9c\x0d\xde" "\xe2\x4c\x22\x03\xdc\x46\xdb\x2f\x78\x8d\xe5\x4c\x4a\x99\xaa\x09\x07" "\x3d\x21\x2b\x8b\xdf\xb9\xfa\xec\xe8\x13\x6c\x06\xde\x4d\xb2\xbd\x1b" "\xfe\xf8\x3f\x0d\x93\x28\x0d\x2a\xfe\x96\x44\x72\x4b\x92\xa0\xf3\xa9" "\x95\x54\x08\x43\x92\x94\xa2\x62\xfc\x5a\x9f\xda\x0b\xa9\x74\x9d\xaa" "\xda\x15\xd2\xea\x58\x7c\x16\x4a\xde\xa9\xcc\xfe\x92\x24\x6f\x4f\x0b" "\xcc\xf2\x04\x6f\x98\x00\xce\xb8\x1c\xd8\xb2\x35\x97\x0b\x4f\x01\x3c" "\x9a\x53\x62\xc0\x88\x40\xc0\x37\xd4\x21\x6f\x43\x0b\x5f\xf3\x90\xbf" "\x7f\x19\x5c\xcb\x23\xce\xce\xc4\x23\x42\xb9\x81\x74\x68\x60\xd4\xfd" "\x38\x26\x9b\x87\x5b\x7e\x5b\x9f\x52\xe9\x77\x6f\xcf\x41\xfc\x49\xaa" "\x68\x6e\x96\x18\xd2\x23\x6b\xc4\xba\xaa\x1c\x63\xc0\x70\x9f\xf3\x66" "\xbc\xfb\x56\xe1\xf7\x7a\x1f\xca\xb8\x72\x6b\x35\x1a\x2b\xa7\x56\xa7" "\xef\xe3\xd4\x54\xb4\x20\xed\x96\x72\x59\x9c\x13\x27\xa3\x9a\x84\x01" "\x57\xc1\xed\x92\xac\x49\x15\xdc\x15\x86\x9f\x2e\xf3\x5a\xa4\xf0\x48" "\x42\x3b\x7f\xbe\x7d\xa2\x3c\x1f\xb3\x73\x56\xa9\xdb\xae\x91\x3b\x60" "\x03\x23\x4e\x4f\xe2\x84\xa2\x7f\xa9\xd2\xe7\x33\x60\x65\x03\x2e\xf8" "\xef\xdf\x84\x17\x25\x66\x2f\x45\x37\xae\x5c\x8f\x6d\x0f\x7a\x33\xca" "\x4f\x36\x32\x97\xae\xb2\x9f\xe9\x1b\xad\x08\x71\xcd\x57\xa7\x87\x8e" "\x2b\x8a\xaa\x64\x4c\x19\x7a\xd6\x5b\x4c\x03\x57\xc1\xd8\x3a\xf1\xfe" "\x47\xa4\x8d\x13\x1a\x80\x9f\xb1\x7c\x89\xb2\xcb\x8a\x0e\x60\x3c\x2b" "\xc4\x3b\xd4\x53\x97\x33\x01\xc2\xfc\x9e\x33\x51\x9c\x7d\xa5\x71\x3e" "\x16\x7b\xbc\x02\x51\x59\x88\x9d\xc0\x3e\x9c\x89\xd7\xae\xc4\x3e\xbd" "\x72\x2c\xf6\x80\x22\x36\x6d\x76\xf5\x26\xbb\x5d\x6b\x92\x34\xee\xb1" "\x9f\x09\x3c\x9f\xed\xe9\xd5\x12\x6e\x7d\x6c\x78\x5b\x1b\x2c\x94\x76" "\x67\x48\xcd\xd0\x33\x1e\x05\xe3\x37\xbb\xb4\xc0\x30\xaf\x42\x6d\x8e" "\xca\x0e\x41\xff\xa6\x8b\xec\xd5\x71\x4c\x20\x0e\xb6\x7f\x32\x6a\x1f" "\x3d\xe2\x29\x0f\xa5\x96\x13\x56\x95\x8b\x10\xe7\x5d\x8f\x00\xa0\x64" "\x91\xdf\x0f\x1f\x8f\x2a\x5c\xba\xeb\x10\xc9\xd5\xf8\x0c\x62\x54\xb8" "\xf0\xf9\x41\xad\x46\xe5\x62\xf0\x9f\x99\xee\xe0\x9f\x80\x32\xb8\x3b" "\xe3\x8f\xfa\xfe\x34\xc9\xaf\xfd\xf7\xbc\xfb\x32\x99\xf5\x34\xfa\xb8" "\x47\xcf\x8b\xe5\x19\x6d\xe3\x60\x49\x25\x24\x69\xb7\x73\x53\xce\x9b" "\x4c\x77\x4f\xe9\xf3\x9c\xd8\xe1\x78\xbc\xf3\xec\xc4\x9b\x5b\x48\x46" "\x0d\xd7\xe1\xaf\xd6\x9a\x13\x81\x88\x01\xb2\xdd\xc6\xd2\xee\x0e\xd6" "\xce\x10\x35\x77\x8b\x7a\x51\xcd\x59\x19\xaa\xd2\xa7\x02\xf1\xbe\x0a" "\x27\xac\xb6\xdd\xfa\xba\xcd\x17\xeb\x35\xe4\x4b\xa1\x5f\xba\xbe\xa1" "\xa5\x84\x0e\x23\xee\x61\x20\x95\xbf\x8c\xdc\x0f\x29\xbe\x41\x3c\x74" "\x39\x95\xae\x19\x1b\x96\x53\x3d\x66\x99\xab\x12\x33\xe9\x9f\xa8\x4d" "\x84\xf2\xaa\x35\x8f\x37\xa5\xd3\x37\x6b\x47\xa3\xc6\xf8\xda\x50\x1d" "\x76\x6d\x19\xdf\x93\x8e\x3c\x4c\xc3\xa8\xe3\xd7\x5c\x63\xd2\x41\x82" "\xda\xac\x34\x3a\x36\x32\x5c\x20\xa4\x0f\x71\x16\x0e\xb0\x24\x70\x26" "\x0a\x09\xaa\xca\x2a\xd2\xf8\x10\x8d\xac\x59\x5e\x9a\x45\x81\x2d\xc5" "\x0a\xe0\x58\x20\xa9\x73\x8a\x7f\xf9\xe0\x9b\x2b\xdb\xa9\x83\xa2\x02" "\x20\x0c\x9a\x45\xe7\x58\xcc\xab\x61\xe4\x8c\x4d\x81\xb1\xf2\xc1\x28" "\xa4\x51\x17\xe4\x41\xfe\x6d\x67\x1a\xdf\xa1\x88\x54\x12\x68\x2d\x77" "\x86\xbf\xbd\x65\xf0\x00\x66\xd6\x58\xff\x6e\xeb\x18\xc6\x1c\xba\x13" "\xb9\x3e\x2e\x4c\xe8\xac\x39\x7e\x3e\xf4\x06\xa5\x9a\x08\x8b\x4d\xcc" "\xdc\xb3\x94\x45\x8f\x36\xd0\xa3\xd1\xe9\x18\x8a\x25\xb3\xc9\x34\xc5" "\x15\x6c\x41\x08\x5b\x5f\xd1\xf2\x0d\x20\x13\x9b\xdb\xa8\x6f\xaf\xfd" "\x67\xfa\x6e\x53\x08\x73\xae\x3a\x24\x23\x86\xb4\x34\x88\xbf\x80\xba" "\x1f\xe4\xec\x4b\xfe\x2a\xa8\x44\x28\xfe\x09\xf3\x15\xe3\x82\xb0\x3c" "\xad\x63\xcb\x69\x51\x51\x64\xa9\xc5\x7d\x70\x45\x4f\xc4\xae\x09\xa0" "\x26\x47\x04\xb8\xf6\xd5\x94\x80\xfa\xc3\xbb\xd4\xff\x08\x43\x59\x62" "\xda\x68\xdb\xe6\xc7\x77\x25\xc0\x4d\xe0\xcd\x76\x61\x6a\x1b\x36\x57" "\x00\x24\xdb\xc5\xe2\x97\xa8\x73\x2a\xde\xf2\xd6\xcf\x51\xa3\x3e\x9c" "\x36\xf1\x43\x74\x2b\x97\xe6\xfe\x24\xfd\x9a\xe2\x1e\x00\xf0\xe5\x5b" "\x02\x7a\x5e\xb1\xc4\xe8\xfd\xe7\x2e\x05\x4b\x9c\xda\x4a\x84\x77\x08" "\x59\x0b\xcb\xa7\x68\x5e\x24\x95\x8d\x32\x1d\x98\x75\x15\x01\x83\x7f" "\x1e\x93\x7e\x19\x5f\x45\xfc\x62\x2e\xbe\x1e\x58\x9e\x07\xa0\x04\xc4" "\x39\x8d\x82\x90\x6c\xa3\xb5\x38\x3d\x96\xd3\x3e\xec\x8b\xee\x92\xae" "\x12\x79\x64\x86\x62\xae\x77\xc9\x83\x46\x73\x17\xef\x9d\xdf\x39\x61" "\x95\x8c\xa3\xf4\x21\xa4\xc0\x96\x85\x9b\x6d\xfc\xb5\x26\x08\x1c\x60" "\x9f\xa6\x14\x9f\x99\x08\xba\xef\xfd\x70\x5f\x25\xe3\x7d\x31\x9b\xf2" "\x63\xef\x0a\x29\xd1\xa0\x1d\x2e\x33\xd1\x89\x7c\x1c\x05\xc2\xe9\xc3" "\xef\x72\x26\x2d\x18\x25\x35\xca\xff\x6f\x74\xcb\x8b\xd5\xea\x1d\xf6" "\xe2\xc9\xea\x0d\xed\xf6\x53\x4e\xbb\x57\xdb\xc2\x97\xc4\x83\xbe\xb5" "\x83\xce\xe1\xe4\x07\xf9\x5d\x42\x3a\x5c\xf8\xc2\x3b\xe4\x6f\x67\xca" "\xa9\x90\xc4\x15\x8e\x75\xbb\x1c\x1d\x19\x4b\x0c\x92\xc6\x13\x97\xfd" "\x3c\xfe\x28\x7c\x75\xea\xc2\x59\x1c\x56\x0c\x01\xe2\xd7\xe9\xf2\x2f" "\xfc\xee\xe9\x64\xe7\x7a\x55\xec\x93\x3c\xee\xa3\x44\x72\x9f\x93\xc2" "\xd1\x51\xf1\x35\xdf\x8d\x6a\x50\x75\x1c\x9c\xfd\xfd\x7b\x08\x80\x39" "\x57\x04\x09\x2f\xaa\x10\xe2\x88\x5d\xdf\xbb\x3b\x87\xa3\x0f\x14\xd3" "\xbd\x22\x0f\x1e\x3d\xa0\xf8\x27\xa5\x70\x42\xbf\xd6\x70\xf8\x9d\x92" "\x9e\xad\x49\x31\x41\x14\x70\x57\x7e\x2d\xdb\x6b\x1d\x67\xc0\x37\x13" "\xb6\xc4\x67\xb5\x84\xa6\xe8\xc2\x5b\x08\x0f\x3b\xcf\x0b\x20\x7f\x97" "\x53\x75\xd9\x46\x39\x4f\x7a\x11\x9b\x0f\xd7\x56\x18\x99\xbf\x29\xc8" "\xe0\x6e\x9a\x09\x95\xd3\xc5\x85\x79\xa8\xb6\x9a\x22\xf9\x48\xa9\x63" "\x33\x8e\x9c\x30\xa0\x7a\x03\x5a\xdc\x07\xc8\x32\x07\x96\x7f\x29\xc5" "\xd4\x29\x26\x0d\x80\x34\x34\x96\x99\x80\x13\x62\x46\xef\x18\x77\x82" "\x4a\x30\x9a\x6b\x0e\x5d\xed\x9e\xe0\x25\x93\xb2\x20\x6e\x1d\xa7\x2b" "\xc2\x5d\xda\x40\x0c\xba\xae\x8a\xdc\x67\x9d\xec\x52\x4b\x92\x50\x0d" "\xf6\x48\x9f\x43\x0d\x5b\xe2\x6b\x14\xd8\x11\xee\x7c\xd6\xf2\xd0\xa6" "\x61\xbd\x4d\x20\xd9\x0d\x9f\xf8\x4b\xc5\xa9\xc4\x9f\xee\x79\xb4\xf7" "\x00\x7a\x34\x95\xfe\xa6\x00\xe0\xcf\xe7\x4e\x10\x22\xfe\x08\x1b\xf3" "\x5d\x0e\xf0\x36\x9d\x89\x85\x9e\x01\x8b\x06\x09\x68\xdc\x45\x3d\xfa" "\xa2\xab\x29\x0e\x87\x6e\x2f\x8a\x75\x53\xbc\xa9\xc3\x29\x5e\xeb\x91" "\xed\x7a\x96\x1a\x33\xe9\x80\x80\x34\xf8\xcd\xd9\xaa\x61\x46\x71\xd2" "\x8b\xbc\xad\xcf\xac\x1a\x55\x32\x4c\x0b\xe8\x5c\x61\xce\xa8\xc8\x0b" "\xa9\x51\xa3\x0a\xe2\xf9\x74\xf7\x2f\xe8\xc9\xa4\x9a\x3f\x4c\xdf\x65" "\x0a\xc4\x6d\x97\x11\x0e\x8b\xd2\xc2\x99\x64\x32\x6b\x41\x43\x86\x19" "\xab\x5f\x37\x92\x94\x77\x7d\xb7\x14\xfe\x47\xab\x72\xc0\x4e\x95\xab" "\x2f\x3a\x74\xfe\x43\xd3\x31\x99\x12\x8c\xf4\x33\x58\x92\xf7\x70\xed" "\xb0\xde\x55\xc8\x0e\xe0\x6f\xa0\xcf\xfe\x20\xbf\xf4\x2d\xc4\xf0\x12" "\xc1\x58\x23\x2a\x63\xbe\x13\x78\x70\xde\x8b\x48\x51\x9a\x15\x99\x88" "\x0b\xd0\x8c\x54\xcc\x9e\x8d\xd2\x9d\x39\x84\xd7\x9b\xd4\x72\xa9\xe3" "\x25\x00\x68\xd7\x01\xe1\x9b\xd9\x2a\xce\xb7\x41\xc4\x9a\xd2\xa4\x09" "\xd9\x39\x27\x5d\x86\x80\xd1\x9e\x27\xbc\xa1\xfe\x81\xde\xef\x87\x71" "\xb1\xb6\xdf\x25\xde\x7a\x57\x97\x92\x1d\xf4\x72\x8e\x23\xea\x92\x69" "\xaf\x1c\xac\x4a\x91\x38\x33\x82\x76\x7c\x60\x9c\x28\x8e\xf8\xa2\x85" "\x97\x1d\xa8\x67\x67\x88\x22\x1c\xe6\x91\xd0\x12\x00\x94\x24\x35\x34" "\x18\x92\xd9\xf0\xa6\x11\x55\x11\x73\xeb\xa8\xfd\xeb\x32\xc7\x53\x2a" "\xf1\xf5\xf9\xe4\x66\x62\x30\xc6\x4e\xf8\x11\x72\x2d\x91\x0a\x43\xf2" "\x8b\x4a\xbc\xd0\x77\x2b\xac\xbb\x64\xa3\x60\x98\x82\x3b\x25\x5b\x00" "\x48\x46\xd8\xcb\xe8\xf7\x27\xe7\xf8\x60\xa3\xe6\x99\x5f\xf7\x25\x3e" "\xf5\x6c\xab\xc0\x60\xee\xfa\x56\xcf\x19\xda\xf8\xa0\x88\x29\xb0\xc6" "\xe0\x60\xb0\x01\xd3\x00\xb1\xcf\x44\x62\x2c\x26\x04\xbd\x33\x78\x65" "\xa7\x15\xb0\xad\xae\x31\x74\x7a\x33\x1c\x7f\x80\x03\x76\xc9\x7e\x3f" "\xbb\x12\xc2\xd1\xdd\xff\x0f\xb8\x3d\x22\xa1\xc8\xf0\x7b\xa2\x15\xae" "\x8d\xa9\x05\xfb\x39\x50\x9f\x46\x10\xc8\x9c\xb3\x5d\xa1\x77\xf6\x31" "\x27\x31\xaf\xa1\x57\x3f\x29\x30\xdf\x30\x15\x9e\xff\x15\x02\xca\x1e" "\x2f\xf4\x93\xe7\x5c\xdb\xda\x5c\xdd\xbe\xb9\x1c\x2b\x11\xae\xb8\xe2" "\x33\xa0\x12\x04\xe7\xd9\x37\xb4\x73\xe9\xf8\x7f\x22\x33\x34\xdb\x39" "\xdc\x9e\xbf\xa0\x05\x3d\x1a\xf3\x97\x70\x65\x04\x32\x10\x7b\x1f\x28" "\xec\xb4\x11\xbb\x2d\xa7\xad\x5f\x2e\x12\x46\xba\x46\xb8\x49\xf8\x12" "\x9d\xe3\xb2\x46\xcb\xa4\x9b\x7a\x71\x8e\xf4\xe3\xe7\x58\x28\x64\xb0" "\xe3\x84\xbc\x88\x8d\xfa\x3a\x43\x8a\x03\x38\xfc\xd5\x5e\x6e\x64\x42" "\xef\xc6\x1c\xb6\x57\x43\xfd\xa7\x5c\x06\x3b\xb6\xf3\x34\xd1\x0a\x61" "\x85\xd4\x60\x0e\xbd\x78\x51\xac\x9d\x40\xc8\xb8\xd3\xea\xdf\x2a\x1d" "\x00\x2a\x42\x07\x96\x21\xf0\x4b\xaa\xdd\x57\x57\x98\xfd\x6f\xbb\x5a" "\xa6\x48\x26\xa7\xb2\x37\x08\x49\xe5\x01\x7c\x97\x43\xa8\x50\x2d\xc2" "\xc7\x7b\x0a\xac\x4b\x67\xf7\x63\x33\x14\x56\xd5\x9a\x4b\xb1\x37\x37" "\x34\x0f\xea\x25\x54\x90\xaa\x74\xf9\xa2\x4d\xbe\x14\x7e\x53\x4d\xab" "\x4e\x28\x95\xe4\xa5\x7c\x0a\x1e\xdc\x79\x8e\x51\x0b\xc0\x24\x98\x2a" "\x5a\x11\x44\x0f\xdd\xc6\x5c\x70\x87\xe5\xeb\xad\x72\x42\x1f\xac\xf7" "\xa7\x02\xa1\x35\xe3\x02\xf4\x39\x85\x5d\xa7\x01\xbd\x21\x0f\x0f\x08" "\x3f\xb2\x03\x72\x3b\xbb\x71\x94\x71\x23\xb6\x2f\x4a\x5f\x4c\x94\x5f" "\x95\xac\xac\xa7\xe6\xa3\x87\x4c\x1d\x2c\x53\x64\x4b\x65\x85\xac\xfc" "\xb6\x65\x39\x25\x91\xdc\x0c\x90\x47\x6a\x5a\xe5\x30\x01\x89\xfd\xe9" "\x1a\x4c\x3e\x8f\x9e\x25\xfc\x0e\x21\x5c\x60\x77\xc6\x8a\x33\xa5\x83" "\xe6\xff\x2d\x81\x9a\xb8\xef\xfe\xfa\x43\xab\xce\xc6\x17\x44\x9d\xc4" "\xb0\x2a\xb5\x4f\x7f\x4f\x7b\x36\x4e\xe3\x38\xd8\x09\xe8\xc0\x00\x65" "\x91\x7f\x5e\xe6\x57\x45\x3c\xfe\xde\x5d\xa7\x42\xd5\x0e\x85\xcc\xeb" "\xc2\xc0\x65\x44\x72\xf9\x42\x7f\x86\x4c\x8d\xad\x67\xaa\x13\xf7\xe8" "\xdc\xdd\x6c\xf3\x2b\xb1\xea\xe0\xcf\x87\xd2\x31\x67\xef\x97\x29\xbb" "\x55\x34\xac\xb8\x84\xf7\xbd\x18\xd9\xa3\x80\xdd\xef\xb6\xa5\xd7\x22" "\xe2\xc9\x65\x0d\x39\x83\x49\x09\xde\x09\x36\xb1\xb0\xd6\x82\x40\xd3" "\xd3\x1c\x8c\x7e\x98\xf4\x64\xe3\x95\xfa\x68\x80\xc7\x90\x45\x95\x9e" "\x9a\x65\xd6\x39\x1d\x65\x02\xd7\x06\x03\xe6\x40\x49\x5e\x3b\x24\xc4" "\xd7\xfb\xe4\xfa\x87\x06\x14\x8d\x59\x01\xd5\x8e\x99\x51\x98\xef\x81" "\x22\x81\xf8\x3d\x6f\x81\xac\xf5\xd0\x7e\x0a\x29\xa3\xde\xed\xdf\x0d" "\xe6\xa2\x58\x70\x4e\xbe\xfb\x95\xc2\xae\x0d\x6e\xe2\x1e\xd2\x10\xe2" "\x09\xf1\x82\x47\xd4\x67\xe2\x76\x51\xa4\x9b\x1c\xd6\x5f\x0f\xfa\x43" "\x90\x09\x26\xdf\xc4\x65\x24\x8b\xc2\xe7\xab\x93\x20\x5e\x27\x57\x89" "\xfb\xc5\x1d\x76\x48\x32\xa4\xfd\x0c\xe9\x80\x08\x73\xd9\x06\x84\x36" "\x3a\xba\x92\x4f\x58\x3a\xd8\x5a\xaf\x99\x53\x91\x9f\xf8\x3a\xd5\xfc" "\xc2\x0f\x2f\x0d\xb1\xaf\x57\xee\x14\xfc\x0e\xc9\xfd\xba\xaa\x2c\xfa" "\xa0\x8b\x87\x93\x0e\x39\x6c\xa7\x47\xfc\x9c\x1b\x0b\xa9\xfa\xc5\xe7" "\x3f\xc9\x33\xd1\xd0\x4f\xc4\x5e\x31\x12\x38\xe1\x1e\x74\xce\x26\xd1" "\x28\xdc\xb4\xfc\xb4\xd7\xfe\x75\x8f\x01\x6b\xb6\x99\x1c\xbb\xcf\x24" "\x8f\x8a\x3d\x9a\x05\x71\x6c\x31\x98\x18\x80\xe4\xcf\x4a\xa1\xdd\xf4" "\x60\xf0\xaf\x1e\x47\x79\xda\xa5\x71\x02\x08\x30\xc1\x73\x73\x2e\x64" "\x1d\x1c\x0d\xf0\x10\x72\x7f\x1e\x67\x4c\x6e\x79\xa0\x77\xf3\x38\x98" "\x17\xd1\xc4\xe9\x84\xd4\xaa\x58\x17\x67\x05\xc9\x06\x9b\xf1\x53\x53" "\x16\xec\x11\x73\x79\xe6\x1d\xd5\xc1\xe5\x2e\x03\x40\x74\xa1\x43", 4096); *(uint64_t*)0x20005a80 = 0x1010; *(uint32_t*)0x20005a88 = 0x114; *(uint32_t*)0x20005a8c = 2; memcpy( (void*)0x20005a90, "\xc9\xbd\x2f\x35\xe2\x78\x3f\xa1\xb8\x2a\xcb\xde\x3e\xec\x19\xf0\x9e" "\x21\xac\xcc\xf0\x1e\xe9\x9a\x2b\x74\xde\x05\x8c\x85\xa4\x93\x95\xe1" "\x73\xe6\x45\xa3\xf2\x09\xf7\x64\x73\xb3\x65\x7b\xea\x21\x26\xf6\xf4" "\xa5\xf1\x47\x6a\xff\xf5\xf4\x9f\xbf\x9a\x28\x03\x58\x52\xb7\x2f\x4b" "\xe6\x80\xd5\xee\x31\xa2\x36\x34\x50\x58\x36\xa5\x5b\x33\xe0\x17\x40" "\x2c\x95\x78\xb0\x75\x7a\x3b\x68\x38\x2e\xf4\x18\xac\x00\x3c\x96\x7c" "\xbe\xa8\x5b\xd0\x51\xfc\xac\x10\xb8\x34\xa3\xa1\x30\x68\xde\xa1\x4d" "\x61\x90\x6d\x5e\xa9\x66\x52\x12\x9d\x27\xd7\xa5\xc0\x62\x9d\xb8\x0c" "\xcd\xa9\x98\xd1\x70\xe2\x1f\x56\xc4\x4b\x59\x7b\x3c\x2b\x34\xf5\x5f" "\xbb\x10\x22\xfc\x6b\xb3\x5d\xc5\xf7\x25\xeb\xd6\x59\x14\x4f\xc4\xff" "\xc3\xa7\xef\x9c\x99\x49\x3d\x69\xdd\x7f\x89\x37\xdd\xb0\x40\x32\x48" "\xdd\xb6\x44\x95\xfa\x00\xf1\x5d\x44\xdc\x27\xfd\x01\x80\x51\xe4\x8d" "\x31\x03\x6d\xc2\x41\xd2\x5a\x85\xa9\x59\x1b\xeb\x4d\xb8\xb4\x54\x2d" "\xed\x19\x59\x3b\x61\xdc\x37\xaa\x91\x59\x51\x4a\x35\x12\x82\x12\x02" "\x2b\x5e\xee\xa6\xe4\x07\xe4\x7e\x04\x00\xcc\xe1\xfb\x4c\x18\x85\xc5" "\x59\x0f\xea\x59\x75\x20\x5a\xc7\xb2\xa3\xe0\x20\x32\x58\xbd\x4c\x64" "\x30\xa0\xe0\x11\xff\x48\x85\x79\x24\x02\x34\xa9\xe8\x75\x9e\xc9\xc7" "\x20\x62\x7f\xa0\x0c\xaa\x67\x33\x1f\xd9\xc1\x9a\x87\xed\x25\x5a\x26" "\x26\x09\x84\xdf\x08\xc8\x42\x15\xca\x75\x8b\x6c\x7f\xd1\x61\x6f\x55" "\x2f\xca\xb6\x1e\x66\xe3\xef\x7b\xa5\xd4\x28\x82\x04\x2e\xe1\x51\x81" "\xe3\xd5\x01\xf7\x6f\x2a\xe0\xa6\xb6\xfc\x4d\x06\x23\x66\x5c\x83\xf6" "\x2d\x0b\xa2\x5e\x52\xce\xeb\x8a\x26\x33\xc4\xb6\xc6\xba\x6e\x1f\xb5" "\x4f\xcf\x8b\x65\xc2\xd4\x44\x81\x78\x9b\xaa\xf5\x45\xcc\x84\xb5\x01" "\x5d\x5b\xd3\xfd\x68\xd0\x45\x16\x78\xc1\xb2\x9a\x8c\x6b\xf5\xbd\x16" "\x34\x24\x33\x94\x97\x8e\x59\x68\x89\x69\x49\x66\x64\xbc\x34\xa8\xce" "\x66\x3f\x46\x5c\xb6\xfe\x03\xb6\x00\xd0\x80\x9b\x6f\xac\xa6\xee\xbd" "\x3a\x98\xa4\xb1\xab\xc8\x57\xef\x19\x35\x6e\x9d\x33\xeb\x79\x3d\xed" "\xf2\x09\xb0\xe4\x20\x82\x94\xff\x96\xb0\x83\x6f\xfa\x9e\x9b\x5d\x8d" "\x88\xf7\xeb\xad\x8c\x75\xa4\x2a\xd5\x6e\xb8\x4d\xfe\x86\x9a\xd3\xc9" "\xfb\x14\xeb\x82\x18\x16\xd9\xec\x81\x8f\xce\xe1\x4c\xa1\xc8\x1b\x2e" "\xbe\xfa\x83\x7d\x30\x21\xa1\xe9\xf0\x71\x32\x64\xfa\x7b\x31\xe7\xcf" "\x66\x36\x04\x4a\x4a\x24\x3e\xa2\x41\x8c\x49\x51\x23\x3a\x89\x7f\xc0" "\xd7\x5e\x05\xfd\x2e\x0c\x38\x96\xeb\xa3\x20\x9c\xf6\x56\xee\x3f\x41" "\xba\x58\xfa\x96\x72\xd1\x94\xec\x08\xca\x31\xd8\x02\x8c\xb7\x2c\xf5" "\x17\x79\x5c\x9a\xcb\x1a\x3c\xbc\xfb\xe8\x4b\x4d\x52\xae\xd5\xa2\xe3" "\xf7\x72\x85\x9c\xe6\xac\x72\xc8\x5b\x03\x82\xb2\x4c\xc2\x5d\x16\x33" "\xf9\x23\x77\xba\x22\x3a\x08\x1e\x93\xcf\xed\xec\x27\xd0\x32\x4d\xa2" "\xdf\xc8\x37\x17\x3c\x57\x5a\x70\x2f\xb9\xc9\xa5\x2a\xac\xff\x12\x11" "\xbe\x46\x33\xfe\x18\x27\x4f\x2f\xa2\x9e\x92\x9e\x9b\x37\x13\xef\xb4" "\xf6\x51\xfa\x93\x98\x91\xd3\x9e\x69\x2f\xf1\xfd\x81\x0c\x41\xe4\xef" "\xb8\x6b\x58\x83\xec\xcd\x34\xb5\x9b\x69\x80\x89\x92\xfa\x35\xe4\x1d" "\x49\xa2\xa8\x7f\x8b\xab\x16\xaf\xb6\x3c\x66\xfd\x5a\x17\x07\x77\x40" "\xb9\xe7\xa9\x5d\xe6\x4f\x69\x87\x57\xf8\xd7\xbb\xfe\xc3\x59\xd8\xe7" "\x53\x45\x1c\x4e\x0c\xf8\x27\x54\x62\x33\x68\x8f\x3c\xa3\x36\x6d\xce" "\x70\xa8\x4d\xaf\xf8\xe5\xf0\xe0\x56\x0a\x63\x18\x08\x0e\xa8\x97\x3e" "\x7d\x59\xd9\xe2\xa8\x03\xec\x32\x00\xd1\x54\xce\xa4\xf3\x90\x64\xb4" "\x78\xfb\x64\x61\xfd\xb9\x58\x7f\x99\x30\xa4\x7b\x41\xb0\xc0\xc7\xe2" "\xd0\x58\x94\x48\x26\x71\x22\x40\x22\x92\x70\xd6\x83\x26\xa8\x4c\xc0" "\x93\x31\xe4\xaf\x57\x49\xf8\x86\x4f\x9f\xf8\x4e\x89\x0f\xb0\x2a\xa0" "\x1d\xf1\x02\x8c\xf0\xc3\x1b\xc9\xfe\x8a\xdc\x34\x04\x60\x7a\x5d\x11" "\xfc\xfb\xf8\x61\x9b\x97\xfc\x37\x08\x14\x6d\x10\xa6\x61\x98\x2e\x17" "\x04\x51\x3a\x37\x3f\xc7\xcd\xa4\x20\x19\x50\xe6\xe2\xec\xa2\x6f\x15" "\x7c\x7f\x9c\x9b\xbc\x57\xe4\xf1\x94\x31\x98\xb4\x0c\x8a\x4f\xd3\x5a" "\x4d\x47\xfc\x57\xf0\xfe\xf2\xe1\x5e\x54\x14\xf0\xcb\x33\x31\xde\x1b" "\xda\x00\x5c\xfe\x74\xa3\x94\xcf\x01\x03\x0e\xe8\xce\x65\xed\x32\x55" "\x98\xe6\xcd\xa0\x68\xc0\x14\xd8\xcc\x4a\x81\x73\xe0\x56\x0e\x39\x53" "\x19\x99\x11\x0e\x7f\x3a\xd3\x58\x1b\xf7\xed\x76\xb7\x9e\x9c\x93\x36" "\xec\x34\x2c\xce\xb3\x4f\x61\xdd\x6a\x25\x5c\x1b\x4c\x29\xa2\x6c\x39" "\x14\xfe\x68\x21\xf8\x90\x45\xaf\x54\xdc\xae\xd9\x19\x59\x97\x56\x41" "\xb7\x98\x5b\x94\x10\xbe\x92\xb4\xc0\x58\xf1\x7f\xc4\x60\xd6\xcb\x04" "\x5d\xc9\x10\xd6\x18\x42\x4b\x54\x9d\x8a\xb2\x32\x7e\x48\x55\x05\x4d" "\x3d\x80\x0f\xd9\xb2\x29\x9e\x5b\xde\xa7\xbf\x12\x09\x3d\x98\x42\x10" "\x7d\xcf\xea\x7d\x97\x6b\x56\x8c\x6b\x13\x6e\x91\x6e\x4b\x61\xa5\xe8" "\x64\x64\x58\x2a\xf9\xa9\xe0\x1d\xde\xbd\xf0\xfe\x5e\x7b\x12\x55\xd8" "\x35\x37\x5b\xba\x1d\x10\x96\xf6\x0c\xea\x72\xc2\x49\x9d\xfa\x32\x42" "\xb6\xf6\xdd\x84\x1c\xbe\xa4\x68\x6a\xc7\xa6\x0b\xf2\xfe\xe4\xf8\x8d" "\x32\x9e\xe5\xe9\xd3\xce\xfc\xf7\xb2\x3a\xfb\x3c\x77\xdd\x66\xe3\x79" "\x3c\x42\xf4\x7b\xc4\x88\x19\xf0\xdf\xaa\x98\x10\xbd\x41\xf2\xa0\x9d" "\x22\xb4\x16\x87\x3f\xdc\xf3\xda\x47\x83\x70\xda\x6e\x65\x84\xe6\x45" "\x2b\xe1\x33\x05\x21\x22\xd6\xf4\x6e\x15\x81\x09\x07\x45\x8f\xcc\xaa" "\x36\x16\xbc\x57\xe6\xbf\xf1\xe6\x7d\xd6\xa5\xf1\xdf\x40\xeb\x89\x19" "\x02\x0a\xae\x29\xa4\xea\x72\x60\x9a\x29\x61\xb5\x6c\x04\xce\xc8\x5b" "\x8e\x22\xb8\xa5\xde\x6d\x26\xfb\x28\x4e\x45\x8f\x56\x80\xd5\xb4\xd0" "\x8e\x46\xa5\x5b\x88\x7d\xf5\x8b\x8a\x69\x37\x6d\xda\x93\x5d\xa0\x85" "\x61\x63\x2d\x0b\xbf\x8b\x2f\xe0\xe6\x67\xcb\x62\xd0\x6a\x54\x2b\xee" "\xd3\x8b\x36\xc5\xc4\x01\xbc\x13\xc0\x01\x3c\xe1\x37\x2f\xb8\x5a\xb7" "\xd2\x91\x7e\xab\x40\x99\xcb\xdd\x4e\xd2\x6e\xd0\x7c\x21\xf0\xd5\x91" "\xf9\x53\x30\xc5\x16\x19\x26\xf8\x72\xe5\x1e\x00\xcc\xf0\xe6\xf5\x29" "\x60\xe7\x57\x42\x76\x6f\x27\x55\x4f\xc4\xec\x55\xe4\xb3\x67\xaf\xb1" "\xe0\x8c\xb9\xba\x5e\x62\x39\x1c\xc0\x15\x2b\xbe\x6e\x07\xc8\xc1\x4e" "\xbe\x25\x17\xb2\xc4\x81\x28\x9e\x05\xb4\x81\xb1\x3f\xa3\x77\xdc\xdb" "\x45\xa2\x28\xde\x55\x71\x8d\x49\x5c\xfb\x2c\x5b\x83\xee\x63\x46\xf5" "\x47\x8b\x1d\x7e\x19\x77\x49\x3e\xa7\x73\x02\xde\x0c\xcf\x71\xaf\x0a" "\xeb\x5f\x83\x16\x0e\x35\x5f\x9d\x17\x88\xf6\x58\xa4\xee\x26\xa1\xf8" "\xe6\x1a\x3a\x65\x26\x38\x2b\x7d\xe9\xf7\xad\x11\xf7\x60\x67\x11\xd6" "\x09\x47\xab\x32\x90\xfe\x56\xda\x55\xe8\x73\x92\x06\x03\x3e\xf1\x67" "\x42\x33\x4d\xc5\x6c\x53\xd0\x97\x48\x16\x04\xbd\xf6\x31\x7b\x22\xc9" "\xe0\xcf\xaf\xcf\x42\xf5\xd1\x55\x4d\x3d\x99\x76\x31\xec\xa0\x6a\x84" "\xb2\x72\x13\x4c\xd6\x77\x21\x33\x85\x77\x21\x9f\xdd\x9d\x7d\x2d\xa5" "\xce\x81\x28\x03\xb0\x9c\x6d\xc1\xbf\xbb\x48\x53\x47\xda\xef\x5b\x14" "\x29\xf5\x33\x2e\x0e\xcd\x73\xfd\x46\xd4\x9a\x21\xfa\xb7\x38\xf5\x93" "\xae\xe7\x63\x03\x0f\x45\x75\x9d\x6a\xcf\x3a\x90\xfb\xd1\x40\xc7\xd9" "\xf1\xa6\xe9\x9a\xa3\x2d\x0f\x82\x7c\xeb\x65\xa5\xbc\xb0\x4e\xbe\x88" "\xe0\x5a\x31\x9a\xeb\x72\x35\x73\x21\x15\x52\x57\x14\xca\x59\x07\xed" "\xb9\xa5\x97\xab\x1e\x24\x48\x40\xaf\xe7\x1a\x2e\x0d\x7d\x0e\xfc\xbf" "\x70\x72\x40\x79\x12\x50\xe1\xfd\x7d\x97\xe0\x30\x1b\x38\x17\x9e\xda" "\x90\x09\x79\xb5\x3c\x77\xb4\xa7\xe6\x5a\xba\xcf\xee\xc0\xb2\x50\x8f" "\x04\xe4\xfe\x06\x85\x15\x83\x96\x86\xf4\x3e\x3c\xd9\x53\xd9\xe1\xdd" "\x60\x9d\x17\x88\x92\x88\x09\xb7\x89\x09\x18\xea\x42\x71\x28\x9c\xa8" "\xb4\xcc\x7c\x62\xd4\xfe\x33\xbe\x18\x29\xdd\xce\x8e\xdb\x4a\xe0\xbf" "\x08\x7c\x10\x46\x50\x98\xfa\x74\x1b\xe3\x2a\xef\xc8\xee\x3d\xec\x2e" "\x95\xad\xaf\x16\xf9\x37\x09\x48\xd9\x3a\xe1\x01\xc5\xa5\xe8\x27\xc4" "\x35\x3f\x2a\x00\xff\x67\x90\x47\x74\xae\xfa\x7e\xfa\x39\x25\xf6\xe7" "\x51\xfa\xbf\x8e\x79\xda\x06\x8e\x97\x3f\xdd\x36\x99\xe5\x02\x27\xaa" "\x61\xa6\x4d\x5b\xcf\x47\x51\x90\x98\x0a\x5e\x67\xca\xbe\xd1\x82\x4e" "\xc7\xa5\x76\x96\x19\x32\xa6\x75\x07\x4f\x87\xf2\x8a\x5d\x97\x47\x41" "\xd4\x1a\xdc\xb0\x05\xb4\xbf\x52\x3e\x31\x5d\xb3\x23\x05\x65\x61\x9a" "\x7e\x21\x48\xfe\x2d\x70\xfa\xe2\xa1\x38\x97\x96\x1f\x1e\x89\xe5\xa5" "\x47\x18\xa1\x11\xe8\xe8\xbd\x66\x03\x51\x9f\x36\x34\x03\x56\xaa\x47" "\x05\xd6\xe6\xbb\x04\x23\xe0\x0f\x06\x7e\xb6\xd8\xb9\x78\xf8\x64\xc7" "\x78\xe9\x86\x7d\x13\xea\x86\x19\xab\x03\x12\x09\x01\x98\xb4\xd3\xc1" "\xc1\x2c\x86\x01\x7b\x4f\x31\x19\x2c\x35\xf1\x98\x02\xac\xb7\xc3\xde" "\x73\x5c\xe7\xc8\x87\xab\x47\x30\xc9\xd6\x2f\x4b\xc8\x42\xf0\x78\x67" "\xa9\x2a\xdc\x71\xec\xa4\x16\x4f\x87\x6d\xe9\x67\x9d\xc1\xab\x1c\x57" "\x4d\x87\xf3\x67\x4d\x7f\xdd\xee\x6a\xf1\xb8\xc9\xca\xcf\x2a\xe2\xfa" "\x0b\xee\xe9\x3d\x78\xff\xbc\xa2\xc5\xe0\xea\x2c\x8c\xb3\xf3\xfc\xa5" "\x41\x31\x1b\x15\xfb\xd1\x49\x3a\x18\x92\xc0\x05\x35\x6b\x17\x1c\x42" "\x9f\x22\xf7\x0b\x11\x26\x92\x8d\x37\x3d\x80\xd6\x48\x50\xc2\x67\x41" "\x3c\x7e\x7d\xd2\x73\x01\x46\x9d\x17\xe6\x5d\x04\x69\x59\xbc\x3c\x05" "\x1c\xb1\x97\xd6\x16\x70\x33\xaa\x7d\xbe\xe1\xd6\x1d\xb3\x20\x68\x4e" "\xe2\x8c\x23\x36\x52\x7c\x59\x49\xf0\x00\x1c\x35\x70\x11\x6a\x04\x12" "\x4d\x1d\x80\xcb\x7f\x8c\xc4\xad\x78\x45\x40\xef\x35\xbd\xab\x5c\xb3" "\x94\xa4\xb1\x25\xc7\x0a\x72\xb5\x84\xb9\x54\x27\x94\xf2\xb4\x35\xa3" "\x8f\x4f\x77\x95\x3c\xc6\xe7\x2c\xce\x42\xa3\x1b\x49\x92\x31\xd5\xbc" "\x1d\x68\x4b\x27\x89\x09\x88\x9a\x04\x80\x7e\x45\x04\xb5\x2b\x59\x5a" "\xe3\x73\x97\xa5\x76\x4c\x76\x27\xea\xf5\xd9\xcb\x01\xaf\xab\x27\x73" "\x94\xeb\xe6\xcc\x51\xad\x0c\x81\xd0\xe3\xf9\xa6\xb8\xe9\xfc\xb7\xe3" "\x06\x36\xca\xf0\xd0\xb6\xdf\x2d\xea\x6d\xfd\xcb\x89\xa8\x95\x51\x66" "\x0c\x82\xdf\x64\xb3\xed\x50\x04\xe0\x17\x95\xb7\x2c\x23\x73\x8b\x63" "\xd9\xdf\x9d\xfe\x86\x3f\xfc\x2a\x1a\xe0\x75\xd7\x21\x42\x58\x56\x3b" "\x7b\x96\xc8\xa2\x4f\x68\xad\xeb\x6b\x79\xed\x77\x3a\x3d\x0f\xa3\xf5" "\x4b\xec\xeb\x66\xd4\x58\x2f\xd7\xdb\xdd\x7f\xc4\xbd\x96\x2d\xa8\x39" "\x1c\xf5\xd9\x01\x70\xb6\xa1\x38\xfa\xcb\xe3\x50\x09\x19\x69\x1e\xa2" "\x58\x23\xb8\x7e\xff\x50\x62\x6c\xe0\x11\x1e\x5e\x37\xe6\x68\x4b\xf9" "\xc9\x45\x36\x06\xdb\x8b\xec\x89\x0e\x3f\x82\x06\xb8\x35\xd6\x1e\x10" "\x03\x50\x6f\xb0\x00\xf4\x3e\xc2\x85\xc8\x9e\xa0\xdf\x9a\xc4\x67\xb8" "\xe7\xdc\x01\x3e\x1a\x7d\x6c\x21\x37\x2e\xec\x4a\xca\x1e\xc0\x80\xfe" "\x4a\x56\x66\x5a\x05\x60\x8e\x89\x52\x60\x6d\x04\x24\x74\xe7\xab\x5c" "\x1b\x25\xec\x26\xd3\xc1\x88\x6c\xee\xa9\xb0\x3b\x79\x8f\xb2\x42\xaf" "\x7e\x95\xde\x0e\xd5\x1a\xfd\x80\x11\xd1\x6a\x4d\x7d\xef\xdf\x8d\xa5" "\x04\x6e\xf9\xe3\x32\xe7\x71\x52\x59\xd5\x02\xcd\x0c\xaa\x2b\xc2\x72" "\x8c\x8a\xe8\x9e\xf4\xfe\x3f\x00\x85\x81\x3c\x1b\x9f\x1c\x8b\x5c\x2c" "\x27\x53\x3e\x25\xfd\xaf\x61\x2f\x86\x36\x45\x93\x25\xd9\x31\xfb\xe4" "\x54\x01\x18\x6b\x29\x67\x4c\xff\x4b\x73\x53\xa3\x12\xa1\x49\xa7\x3a" "\x4f\xc9\xe9\xe2\xb5\x53\x23\x85\x07\x36\xc1\xdd\xbd\x02\x0a\x2e\x8f" "\x86\xb9\xee\xa4\x7d\x3c\x18\xb5\xa3\x12\x45\x3c\x4f\x0a\xc8\xd6\x69" "\x25\x02\xaf\x73\xa6\x61\x71\xae\x83\x20\x4d\xae\x39\x66\xc3\x10\x1e" "\x45\x7d\x06\x18\x9b\xc6\xf0\x31\x84\x92\xa0\x5e\x38\x19\x7e\xf5\x2f" "\xe4\x64\x25\xa3\xd8\x9f\x01\x69\x7a\xeb\x43\x4a\xf9\x34\xf6\xda\x0b" "\x46\x6e\x72\x3f\xeb\xe9\xb7\xff\x2d\x8b\x2d\x75\xac\xbf\xda\xcf\x98" "\x78\xa7\x33\xa0\xf7\x93\x55\xb6\x58\x38\x22\x7d\x11\xa6\x1e\x13\x96" "\x10\xc0\xf2\x35\x90\xea\x21\xcb\x76\x78\xc5\x44\xe1\x10\xb5\xda\x63" "\x8a\x31\x16\x19\xd1\xdb\x82\xa1\x8c\x4e\x4a\x2e\xea\xed\x16\xcc\x92" "\x24\xdc\xe3\x9e\x97\x86\x37\xd7\xda\x15\xc7\xaf\x41\xa3\xf1\xb9\x1f" "\x5e\x61\xc2\x03\x0c\x31\xc5\xf1\xc6\xaa\xe5\xb5\x57\x2a\x26\x89\x59" "\x1f\xb2\x3f\x5c\xcc\xb6\xf0\x1a\x34\x32\x39\xb8\x2f\x09\x12\x16\xdf" "\x21\x5d\xb7\xe9\xe3\x4f\x1c\xe1\x64\xc3\xda\x15\x1b\x29\x2a\xf7\x41" "\xff\x51\x37\x60\xe4\x35\xed\x74\xbd\x31\xdd\xf0\xb0\x44\xce\xb0\x23" "\x36\x9a\x09\xc2\xde\x51\xd7\xf6\x22\x3a\x6b\xe9\x23\x75\x50\xc7\x37" "\xab\x3b\x2e\xe6\xad\xcc\x83\x96\x91\x7c\x49\x10\xc0\x7b\xed\x71\x30" "\x43\xd7\x64\xed\x62\x34\x98\x28\x3a\x32\x90\x1c\xc0\x31\x9a\xaf\xa5" "\xdb\xfd\xe1\xd8\x99\x57\x08\x19\x64\x4e\x3a\xb8\xd1\x3b\xf0\x95\x28" "\x17\x31\x83\x80\x57\x9f\x08\x29\x98\x80\xd7\x30\xb5\x6f\x30\xb4\xe0" "\xd4\x25\xaa\xf1\x86\x99\x92\x7a\xda\x1a\xe4\x07\x6a\xba\xf9\xe2\xa9" "\x1d\x35\x68\x06\xba\x6e\x57\x2d\x8d\xee\x76\xa7\x24\xd9\xd2\xf5\x60" "\x4a\x43\x98\x8d\x20\x61\xc0\xd8\x42\x86\xe2\x68\xf0\x42\x88\x7c\x1e" "\x01\x26\x92\x9f\x19\xe5\x0b\x90\xf3\x67\xdb\x18\xc8\xfe\x92\x84\xe8" "\xef\x40\x98\xcd\x12\x10\xaf\xde\x61\xa3\x20\xfe\x61\xd7\xea\xb7\x4b" "\x19\x2b\x69\x11\xe4\xb4\x2b\x8b\xbb\xf5\x6c\xed\x87\x0d\xa6\x94\xcc" "\xe2\x87\x49\xc4\xaf\xb5\xe5\x6f\xbe\x42\x60\xc1\x78\x86\xd9\xf8\x94" "\xab\x4a\xea\xd0\x43\x8f\x38\x7e\x26\x9c\xc9\xf6\xb9\xa8\x9a\xd6\x89" "\x4e\x5e\x75\xc4\x25\x6b\x57\xcf\xb4\xf9\x99\xf2\x9f\x0c\x0b\x51\x30" "\x5d\x8e\x7e\xef\x17\xd0\x99\xe7\x00\x25\x44\xd8\x5f\x71\x90\x84\xfd" "\xa2\x8e\xda\x89\xc1\x51\x3a\x12\xe9\xa5\xdc\x39\x0b\xd5\x30\xf4\x84" "\xe4\xbf\x07\xf7\x6c\x8f\x8d\x50\x85\xd5\x7d\x1b\x67\xb8\x54\x5f\x9c" "\x51\xa8\xbc\x40\xb8\x17\x1a\x00\x85\x70\x0a\xee\x14\x2f\x75\xd0\xa4" "\x18\xb5\x2a\xbd\xc3\x64\x02\xa4\xd2\x66\xf5\x03\xa8\x4b\x19\x38\xa4" "\xa3\x1b\xfd\x67\x5a\xd6\x72\xa8\x35\xf0\xab\x67\xe0\x25\x7a\x16\x93" "\xd7\x79\x61\x0a\xb6\x9d\x33\x2d\x03\xc9\x7b\xbc\x84\xb7\x87\x9c\xdd" "\x48\x21\x24\xf5\x65\xda\x3d\xa5\x1c\x24\xc1\x1e\x57\x34\xa4\xdb\x98" "\xfc\x40\xba\x6f\x3d\x7c\x4b\x15\x30\x97\x1c\x05\x2e\xdd\xc7\x76\x72" "\x9d\x62\xf8\x3c\xa0\x65\x9d\x10\xe3\x0b\x5c\x4c\x8e\xf2\xf2\xfc\x22" "\x80\x72\xd4\x16\xbf\x66\x93\x44\xf6\xb7\x78\xfa\x5d\x46\x05\xab\x20" "\xae\xe0\x72\x1c\x60\xb2\x6e\xe7\xf8\xe0\x99\x50\xe2\xc5\xfc\x8d\x8f" "\xea\x1a\x95\xe4\xfc\x28\xfe\x25\xc0\xb2\xcf\x77\x34\xf5\x80\xe6\x80" "\xb5\x9a\x87\x77\x50\xdc\x2a\x91\x2f\x98\x12\xf9\x3a\x20\xba\x7a\xef" "\x28\x01\x00\x42\x08\x66\x0c\x4a\x24\x45\xaf\x60\x06\x79\x9a\xcf\x67" "\x74\x6f\x29\xeb\x3d\xea\xb0\x39\xe0\x69\xd4\xfc\x7c\xd1\x23\x25\x22" "\x0b\xdf\x30\x0a\x3d\x62\xff\x84\xd4\x16\xf1\xd6\xfd\x3c\x55\x2e\x1b" "\x83\xda\x65\xb5\x9e\x88\x00\x7b\xb6\xda\x5e\xfc\x98\x6c\x97\x34\x01" "\xb6\xaa\xb0\xcd\xa2\x52\x44\xe5\x7a\xac\x5f\xd7\x3a\x1a\xf7\xb0\x2c" "\x53\x42\xc2\xf1\x72\xf1\xd0\x49\x0a\x98\x86\xea\x10\x72\xe6\x5e\xb4" "\xf3\x35\x97\x8f\x81\x9d\x7a\x1d\xce\xfd\x5d\x37\x03\xfa\x82\x7a\x1c" "\xd9\x91\x8f\xbb\x98\x37\xc6\x22\xec\x03\xa1\xce\x9e\x7a\x2e\x3c\xf4" "\xe4\xaf\x70\x84\x45\x22\x86\x56\xa2\x53\x91\xb3\x67\xc0\xe5\x6e\x4a" "\xaa\xcb\xb7\xb5\x72\xae\xea\xfd\x20\x09\x95\xf2\x62\x2f\x98\x91\x3d" "\xcc\x94\x69\xf5\xa2\xcd\x98\x0c\x46\xca\x47\xc2\xe1\x2b\xbf\xa0\x0f" "\xca\xa5\x7c\x5d\x8b\xda\x1e\x6e\x4b\xd4\xa0\x84\x63\xc0\x76\x72\x53" "\xc2\x88\x9b\x6d\x96\x97\x97\x49\xb3\x27\x6b\x59\xcf\x82\xf0\xf6\x31" "\xb9\x41\x5b\x4c\x36\x45\xba\xd9\xa2\xf1\xc3\x42\x6d\x17\x2e\x02\x48" "\xfe\x42\x48\x22\xd2\x72\xcf\x22\xfe\x92\xa7\x30\xc2\x77\x8e\x0d\x06" "\xe1\x75\x73\xc9\xfd\x32\x44\x1a\xd3\xb7\x15\x31\xfa\x60\xb2\x5a\x94" "\xd5\x33\x91\xf4\xaa\xe4\x7e\xd5\x48\xb7\xc9\x98\x50\x46\x11\x68\xe1" "\x78\x24\x4e\x8b\x8f\x5d\xe8\x11\x10\xcb\x20\x1f\x16\xa7\x3a\x34\x0a" "\xd7\x37\x6b\xeb\x00\xaa\x50\x86\x91\x7a\xab\xbe\xb9\x84\x85\x19\xdd" "\xd0\x68\x49\x23\xf7\xff\x49\x79\x02\x90\xd2\xf3\xa7\xe2\x57\x67\x78" "\x91\xee\x28\xd7\x6a\x6c\x48\xfd\x8d\x14\x83\xe9\x25\x98\x8f\xbc\xd5" "\x97\xaa\x11\x77\xeb\x0c\xe3\x70\x56\x15\xea\xb7\x47\x9e\xf0\xd5\x76" "\x84\x8d\x1c\x97\xb4\xc5\x76\xd9\x8f\x5e\x81\x5a\xd9\x91\xd4\x0c\x3b" "\x6e\x13\xa4\x78\x61\x74\x71\xd1\xf7\x1d\xf8\x25\xb3\x5d\x82\x25\xa9" "\x83\x72\xff\xf5\x59\xc3\x3d\xee\x0f\xf6\xb3\x2e\x04\x0f\x7c\x25\x26" "\x62\xc4\xcc\x3d\x25\x7c\x9d\xff\x2c\x96\xda\x3a\x0a\x17\x59\x56\x54" "\xa2\xcf\x39\x3c\x5b\x97\xd0\x41\x57\x60\x03\xeb\x66\xfc\x29\x26\xfb" "\xe6\x3d\x4d\xb2\x4d\x36\x42\xff\x93\xc6\xea\x33\x5c\xdd\x21\x81\x28" "\xf1\xf6\xb6\x9e\x36\x12\x53\x1c\x00\x3b\xc4\x48\xa1\xf1\xa6\xe6\x5c" "\x0b\xf7\xe6\x77\x70\xf7\x64\x11\x0d\x46\xcd\x5b\x3f\xae\xd2\x9d\x3f" "\xc4\x49\x58\x78\xb9\xef\x78\xfe\x00\xc6\x08\x1a\xce\x25\x70\xca\xad" "\x6c\x7e\x85\x56\xd5\x59\x7e\xd2\x0d\xc5\xb3\x37\xb1\x6d\x34\xc9\x1a" "\xfa\x68\x77\x88\xab\x23\xdf\xdc\x1b\x4e\x62\xea\x46\x31\xb8\x2d\xc9" "\x94\xe6\x0c\x47\x6c\x28\xae\xcb\xd6\x0d\x58\xb0\x0a\x30\x3c\x1e\x30" "\x32\xd6\x5d\x2b\x9e\xd0\x22\x84\x7c\x12\x60\x2b\x73\x53\x0b\xfc\x6a" "\xb9\xfb\xf9\x78\xbc\x0a\xf9\x83\x99\xbd\x0a\xc2\x1b\xa8\xe3\x99\x70" "\xde\x9d\x38\x4d\x1c\x1a\xcd\x4e\x77\x28\xe3\xeb\x5e\x95\xc2\x7b\xf9" "\xc0\x48\xe4\xf2\xe0\xbf\x08\x5f\x41\x79\x3b\x0d\xc2\x26\xce\xfb\x13" "\xd9\x84\x11\xf1\xae\xa6\x9b\x73\x16\xe4\x8d\x9d\xde\xb3\xf7\x8a\xab" "\xc3\x6f\x8f\x5a\x53\xbf\x71\x09\x3e\x8e\x52\xfa\xdc\x5e\x0d\x4f\xc8" "\xfb\xc8\x57\x79\xa2\xb9\x9a\x77\x08\x07\xa7\xdf\x81\x46\xd2\x6e\x97" "\x18\x32\x0d\xd6\xd6\xac\x66\xae\x71\x13\xf4\x8e\x2d\x3f\xae\xe8\xd7" "\xf1\x1c\xec\x07\x39\xb8\xce\xd4\x3b\xda\xdb\x20\xc5\xf7\x8c\xe5\xbe" "\x32\xac\x60\x3a\xb6\xee\x05\xe0\x7a\xc1\x03\xde\x18\x0b\x4d\xa6\xc7" "\x4b\x77\x4d\x59\xf2\xc8\xc5\xbb\xdc\xe5\xaa\x0e\xf2\x6d\xa9\x5c\x58" "\x0b\xf6\xf4\x07\x81\x05\xea\xc6\x40\xa6\xd8\x0b\x28\xd3\x17\xc7\x40" "\x0d\x5d\x56\x9f\x43\x00\xb1\x5a\x29\xbf\x67\x17\xe4\x74\xa2\xcd\x55" "\x88\x8a\xed\xd1\x2a\x76\xdd\xe2\x93\x84\x38\x07\xfa\x3a\x09\xa1\x5f" "\xb2\x92\xb1\x2b\xaf\x16\x7d\xaf\x5e\x0b\x45\x94\xa4\x88\x8c\x04\x64" "\x0f\x4e\xc0\xaf\x38\x2f\x6b\x1b\xe3\x05\x0f\xa1\xae\x4d\x79\x5e\xf1" "\xa3\x02\xf9\x5c\xbd\x45\x00\xe5\xfc\x0a\x1f\x67\x0c\xe9\xc7\xd5\xfa" "\x9c\xfe\x16\xcd\x30\xd1\x3b\xf4\xe3\x4c\x17\x9e\x98\x4f\x39\xd7\x44" "\x54\x5c\x73\x81\x04\xe6\xb2\x1d\x95\x88\x91\xc5\x63\x82\xe3\x4d\x0a" "\x57\xa8\x59\xf5\xbd\x01\xdf\x1f\x07\x7b\xad\x45\xe4\xfa\x92\xba\xfb" "\xbe\x29\x0a\xa3\x6c\x59\x64\x54\xf7\x9b\xfe\x6a\x6d\x46\xfd\x1a", 4096); *(uint64_t*)0x20006a90 = 0x10; *(uint32_t*)0x20006a98 = 0x117; *(uint32_t*)0x20006a9c = 0x80000001; *(uint64_t*)0x20006aa0 = 0x10; *(uint32_t*)0x20006aa8 = 0x111; *(uint32_t*)0x20006aac = 0x7fff; *(uint64_t*)0x20006ab0 = 0xe8; *(uint32_t*)0x20006ab8 = 0; *(uint32_t*)0x20006abc = 0x20; memcpy( (void*)0x20006ac0, "\x1d\xca\xe4\x14\x8d\xdb\xa7\xb2\xda\x88\xda\x66\xb1\x0f\xe4\x37\xa4" "\x95\xaa\x82\xfc\x0a\x08\x91\xaa\x04\x42\x9a\xf3\xc2\x45\x0c\x5a\xcd" "\xac\x6f\x3e\x4a\x9a\xa1\x37\xc1\x8a\x97\x11\x83\x52\x8c\x49\x61\x4a" "\xac\x96\x90\x75\x86\x7a\x45\x39\xa0\x74\xce\x11\xb3\x7e\xe2\x7d\xe3" "\x5c\xc3\x4e\x45\x35\x19\x91\x76\x2a\xb9\x8a\xdd\x45\x43\xad\x39\x2a" "\x55\x5e\x78\x41\x47\x20\x31\xfd\x64\xa8\xcb\xeb\x04\x28\x6a\xba\x75" "\xe4\x2c\xb2\xf2\x71\x9a\xe5\xe3\x98\x9a\x14\xfc\x74\x81\xdb\x52\x1a" "\x69\xa8\x0a\x3f\x63\xe9\x9f\x21\x57\x35\x12\xb7\x60\x37\xc9\xa2\x8b" "\x81\x7a\xb3\xb4\x7b\x9e\xcd\xc7\xab\x91\xd4\x34\x91\xc1\x6f\xd7\x92" "\x05\x22\x7f\x0d\xa6\xa8\xc7\x99\x75\xcf\x67\x94\x81\x1e\xfa\xa7\x74" "\xbb\x05\x9c\x84\xd9\xe8\x86\x20\x27\xc5\x9e\x37\x75\x83\x39\x20\x1e" "\x14\xe5\x18\x06\x08\x2c\xf8\xcb\x62\x60\x8b\x6c\xb2\x21\x66\xd6\x59" "\xbc\x6e\xa2\x6f\xba\x4f\xa7\x8d", 212); *(uint64_t*)0x20006b98 = 0x30; *(uint32_t*)0x20006ba0 = 0; *(uint32_t*)0x20006ba4 = 0xfffffffe; memcpy((void*)0x20006ba8, "\x3d\xe8\xe6\xfa\xe1\x7f\xb9\xbd\x9a\x52\xdd\x75\x34\xba\x9d\x31" "\x06\xe5\xeb\xf0\xc7\x13\x0c\x5b\xe6\x11\x06\x27", 28); *(uint64_t*)0x20000668 = 0x2208; *(uint32_t*)0x20000670 = 0; syscall(__NR_sendmsg, -1, 0x20000640ul, 0x8001ul); break; case 9: res = syscall(__NR_socket, 2ul, 0x200000000000001ul, 0); if (res != -1) r[2] = res; break; case 10: *(uint32_t*)0x20000100 = 1; *(uint32_t*)0x20000104 = 0x80; *(uint8_t*)0x20000108 = 0; *(uint8_t*)0x20000109 = 0; *(uint8_t*)0x2000010a = 0; *(uint8_t*)0x2000010b = 0; *(uint32_t*)0x2000010c = 0; *(uint64_t*)0x20000110 = 6; *(uint64_t*)0x20000118 = 0; *(uint64_t*)0x20000120 = 0; STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 0, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 1, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 2, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 3, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 4, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 5, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 6, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 7, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 8, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 9, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 10, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 11, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 12, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 13, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 14, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 15, 2); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 17, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 18, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 19, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 20, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 21, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 22, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 23, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 24, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 25, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 26, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 27, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 28, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 29, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 30, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 31, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 32, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 33, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 34, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 35, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 36, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 37, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 38, 26); *(uint32_t*)0x20000130 = 0; *(uint32_t*)0x20000134 = 0; *(uint64_t*)0x20000138 = 0; *(uint64_t*)0x20000140 = 0; *(uint64_t*)0x20000148 = 0; *(uint64_t*)0x20000150 = 0; *(uint32_t*)0x20000158 = 0; *(uint32_t*)0x2000015c = 0; *(uint64_t*)0x20000160 = 0; *(uint32_t*)0x20000168 = 0; *(uint16_t*)0x2000016c = 0; *(uint16_t*)0x2000016e = 0; *(uint32_t*)0x20000170 = 0; *(uint32_t*)0x20000174 = 0; *(uint64_t*)0x20000178 = 0; syscall(__NR_perf_event_open, 0x20000100ul, 0, -1ul, -1, 0ul); break; case 11: *(uint64_t*)0x20000080 = 0x20000140; *(uint16_t*)0x20000140 = 2; *(uint16_t*)0x20000142 = htobe16(0x4001); *(uint8_t*)0x20000144 = 0xac; *(uint8_t*)0x20000145 = 0x14; *(uint8_t*)0x20000146 = 0x14; *(uint8_t*)0x20000147 = 0xbb; *(uint32_t*)0x20000088 = 0x10; *(uint64_t*)0x20000090 = 0; *(uint64_t*)0x20000098 = 0; *(uint64_t*)0x200000a0 = 0; *(uint64_t*)0x200000a8 = 0; *(uint32_t*)0x200000b0 = 0; syscall(__NR_sendmsg, r[2], 0x20000080ul, 0x200408c4ul); break; case 12: *(uint32_t*)0x200002c0 = r[1]; syscall(__NR_setsockopt, r[2], 1, 0x3e, 0x200002c0ul, 4ul); break; case 13: syscall(__NR_sendmsg, r[2], 0ul, 0x6d70ul); break; case 14: *(uint64_t*)0x200001c0 = 0; *(uint32_t*)0x200001c8 = 0; *(uint64_t*)0x200001d0 = 0x20000140; *(uint64_t*)0x20000140 = 0x200000c0; memcpy((void*)0x200000c0, "\x2e\x00\x00\x00\x10\x00\x81\x88\x12\x0f\x80\xec\xdb\x4c\xb9\xcc" "\xa7\x48\x0e\xf4\x3b\x00\x00\x00\xe3\xbd\x6e\xfb\x44\x0e\x09\x00" "\x0e\x00\x0a\x00\x10\x00\x00\x00\x02\x80\x00\x00\x12\x01", 46); *(uint64_t*)0x20000148 = 0x2e; *(uint64_t*)0x200001d8 = 1; *(uint64_t*)0x200001e0 = 0; *(uint64_t*)0x200001e8 = 0; *(uint32_t*)0x200001f0 = 0; syscall(__NR_sendmsg, r[0], 0x200001c0ul, 0ul); break; case 15: syscall(__NR_ioctl, -1, 0x40087602, 0ul); break; case 16: *(uint32_t*)0x20000240 = 0; *(uint32_t*)0x20000244 = 0x80; *(uint8_t*)0x20000248 = 0x40; *(uint8_t*)0x20000249 = 5; *(uint8_t*)0x2000024a = 6; *(uint8_t*)0x2000024b = 0; *(uint32_t*)0x2000024c = 0; *(uint64_t*)0x20000250 = 0; *(uint64_t*)0x20000258 = 0x80891; *(uint64_t*)0x20000260 = 7; STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 0, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 1, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 2, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 3, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 4, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 5, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 1, 6, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 7, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 1, 8, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 9, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 10, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 11, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 12, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 13, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 14, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 15, 2); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 17, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 18, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 19, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 20, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 1, 21, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 22, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 23, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 1, 24, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 25, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 26, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 1, 27, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 28, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 29, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0xf6, 30, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 31, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 32, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0x14400, 33, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0x800, 34, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 8, 35, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 36, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 37, 1); STORE_BY_BITMASK(uint64_t, , 0x20000268, 0, 38, 26); *(uint32_t*)0x20000270 = 0x47; *(uint32_t*)0x20000274 = 0; *(uint64_t*)0x20000278 = 0; *(uint64_t*)0x20000280 = 0; *(uint64_t*)0x20000288 = 0; *(uint64_t*)0x20000290 = 0xfffffffffffffffc; *(uint32_t*)0x20000298 = 1; *(uint32_t*)0x2000029c = 0; *(uint64_t*)0x200002a0 = 0; *(uint32_t*)0x200002a8 = 0; *(uint16_t*)0x200002ac = 2; *(uint16_t*)0x200002ae = 0; *(uint32_t*)0x200002b0 = 0; *(uint32_t*)0x200002b4 = 0; *(uint64_t*)0x200002b8 = 0; syscall(__NR_perf_event_open, 0x20000240ul, -1, 0ul, -1, 1ul); break; case 17: syz_open_procfs(-1, 0x20000080); break; } } 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_binfmt_misc(); setup_usb(); for (procid = 0; procid < 6; procid++) { if (fork() == 0) { use_temporary_dir(); do_sandbox_none(); } } sleep(1000000); return 0; }