ok github.com/google/syzkaller/dashboard/app (cached) ? github.com/google/syzkaller/dashboard/dashapi [no test files] ok github.com/google/syzkaller/executor 0.794s ok github.com/google/syzkaller/pkg/ast 1.566s ok github.com/google/syzkaller/pkg/bisect 62.111s ok github.com/google/syzkaller/pkg/build 1.503s ? github.com/google/syzkaller/pkg/cmdprof [no test files] ok github.com/google/syzkaller/pkg/compiler 8.471s ok github.com/google/syzkaller/pkg/config (cached) ? github.com/google/syzkaller/pkg/cover [no test files] --- FAIL: TestGenerate (5.48s) --- FAIL: TestGenerate/freebsd/386 (1.52s) csource_test.go:67: seed=1603538389870573032 --- FAIL: TestGenerate/freebsd/386/0 (1.25s) csource_test.go:123: opts: {Threaded:false Collide:false Repeat:true RepeatTimes:0 Procs:0 Sandbox:none Fault:false FaultCall:0 FaultNth:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false USB:false VhciInjection:false Wifi:false UseTmpDir:true HandleSegv:false Repro:false Trace:false} program: r0 = fcntl$dupfd(0xffffffffffffff9c, 0x11, 0xffffffffffffff9c) setsockopt$inet_sctp_SCTP_AUTOCLOSE(r0, 0x84, 0x5, &(0x7f0000000000)=0x5, 0x4) cap_rights_limit(r0, &(0x7f0000000040)=[0x6, 0xa9]) setsockopt$inet_sctp_SCTP_EVENTS(r0, 0x84, 0xc, &(0x7f0000000080)={0x20, 0x81, 0x3, 0x20, 0x20, 0xf7, 0xff, 0x7, 0x4, 0x40, 0x4}, 0xb) setsockopt$inet_sctp_SCTP_RESET_STREAMS(r0, 0x84, 0x901, &(0x7f00000000c0)={0x0, 0x9, 0x3, [0x1, 0xffff, 0x8000]}, 0xe) r1 = accept(r0, &(0x7f0000000100)=@un=@file={0x6e, 0x0, ""/108}, &(0x7f0000000180)=0x6e) __realpathat(r1, &(0x7f00000001c0)='./file0\x00', &(0x7f0000000200)=""/5, 0x5, 0x0) r2 = socket$inet_icmp_raw(0x2, 0x3, 0x1) fcntl$getown(r2, 0x5) getsockopt$inet6_sctp_SCTP_PRIMARY_ADDR(r1, 0x84, 0x7, &(0x7f0000000240)={@in6={{0x1c, 0x1c, 0x1, 0x7f, @loopback, 0xfffff9b1}}}, &(0x7f00000002c0)=0x80) syz_emit_ethernet(0x123c, &(0x7f0000000000)={@remote, @remote, [{[], {0x8100, 0x5, 0x1, 0x3}}], {@ipv6={0x86dd, {0x7, 0x6, "c3cb10", 0x1202, 0x2f, 0x1, @rand_addr="cdd9639d818e3c5354e423e67c0261ce", @rand_addr="9aa3a73eacf47f646cf70032c9d108ee", {[@hopopts={0x36, 0x1e, [], [@enc_lim={0x4, 0x1, 0x1}, @jumbo={0xc2, 0x4, 0x7}, @padn={0x1, 0x2, [0x0, 0x0]}, @generic={0xff, 0xe2, "6643d230d2ebee2da66799233fd3953c637fbff58a08fe47946de86f44bcf9e809d627768d7e38be69808921c800a8ca76dba12e6b01e8b0b852821fe46d8d1b863c6ed1f386d2779a2983036a403ec804bbc1ce77c679d945e9c0b836352e6f8ee210ede5f8eb2937afc8307287e8a27e8fc66de2ef50421840455126dc362d0994a2a2db619ca5b70f615b719413594471a2efad9e7e22a5400361abac231575d1b498781612296d932e4832dd0c9f6709c2f81038bbcde5c27832bae014b13b9b93b41374f997c188d74a33960b2b2948a2eb3211c2aca855f616f2223f4746ce"}, @enc_lim={0x4, 0x1, 0x1f}]}, @routing={0x31, 0x4, 0x0, 0x5, 0x0, [@ipv4={[], [], @broadcast}, @empty]}, @routing={0x58, 0x8, 0x1, 0x81, 0x0, [@local={0xfe, 0x80, [], 0x0}, @mcast1, @local={0xfe, 0x80, [], 0x0}, @loopback]}, @routing={0x59, 0xc, 0x0, 0x3, 0x0, [@rand_addr="d691f228498c816bd931bf11ea3cb358", @empty, @loopback, @rand_addr="4046fbe3c1e1669f072dd9ee3ba11696", @ipv4={[], [], @broadcast}, @mcast1]}, @fragment={0x27, 0x0, 0x91, 0x1, 0x0, 0x6, 0x66}, @hopopts={0x26, 0x0, [], [@ra={0x5, 0x2, 0x5}]}], @icmpv6=@ndisc_ra={0x86, 0x0, 0x0, 0x0, 0x9, 0x9, 0x401, 0x7fffffff, [{0x1, 0x200, "d145ff576d7fe933a6f7ae4bd47d7aec4360a335727c0267ff79e34d036694ea6d8de62ebb1941f6b9a95a6c95fa33d4a6ddfe3be408148daca556b6b4dfebef869da93cfa26fb8e16509febb321011f508eec7502824442d8620519d7ce359284ef093639001b689f9443260584dfaf819313726c4495ac4c3203aa603e26f374d696cdb36fb00e6c412edbefc16270c783d3a1ada35a07cd9225f21b9570f801a960e06d96556b9eaca234f12861444231c94aee6315fb199f69eebdf9fdb0bdb89902e0eb69bbdf9730aa371b84b02e9ab5f3a4f99f9205694f062460e286b1abef3936fdf183bd7c95a9d99b57827dea1814e0e2dc58a677f2ae6c73de4e27fe8856e417fd266088008abe5d38d74ea0bdc6d046c5d3f45e2ee47a440c5dfc30459b219bb3b1302feb6b36a6e524b1db70d57efe32823b0ad037a3c204c77748b85fd88abf24ef0717eac90e235d91764b48bb1dcc3c9177fc4b0fc997d3d4e90702872bf0d8702194e22577353e557c0041f106e5dee1d24f243ab7c07b4335a6886c04061e84966599b68c676e966008a7905f1706048334501a3608305330cb8b447a1698fa9646c73cd758871c1e8b96889ae3372a5fef5b03ef56d1608eae44a863b05991f626447730df97f33686e5cb72554a1a8ace8b530d3e60452352d9e93ed031852eb2dc87903a1346c3962ced8f4fd2c07e01843d19e253653fcc7eb3e710b546e1180844d95e67143def4619375d71173729dfabeecddd0239456fd1f563bedd3e8aa7bd29ce40bfb72e832324cf0e7ed960bc4cdd81a1d1c4d3a2f984218a8f7ce9288fb57b315c475a57c2d56743ba3987ad1fe69af5a391cdb9c8a551723340c3d1c989b5da33771f797e8993ef51546e9849ba61a3cb3babbc5b33fc9e883b3ee41e6d8c675841718b908092b2c4da4c1a78a17bee0c409d03cd8bed2d56a46ee7721b5659be3fa5cd0e89bceffaffaf1e95716adc762554c496a40282cb6d85f4e0e29fd76574001b893d0ffc8c94a187829e24546d890439547b81c18c4865be4cb57e06e319c5007d43459ec3aa20ce72f7883cbda6a303c343fbed7f62b2f2ac9f5d24842e8abae1c9e32954b0d0d60242891b1fae40d03283f33c0948e161fa2f9ffb77b72ce969718768282c45ae089faf80ecaff1658114a78d8b13833958a360fe8bead9b485d5dcc701812a559c6d04a22fe59d3f6fc0fcc7cbbbc4450a58bee99560579eff8d7846d062253d15d5e6b20a78134014323bc31f3dbfa53e2ede137e3c1129ba8db638a95972e1a7223504af10a149154fa581b9dbc516289cff0d655888592199c77fa553f07db009ee2a42c5412df9fe612d108ee2d595cbb0bf59776646cb7c83e3551a91c0aca05de20d0bfc6c1f8f5c9492f22e5714ea0cbab5763194996c818545c0997ff555e5d136aea50a7a93dc40340a725da5ca7ea45a483d2c9da67a254d6ebdb6e20270beb33373321d922375207bf54707e1d97d52a6930b4287cd0dc6d8d3346e388fe41fca91162739a30c97da08cc3f42b3f54382dcdef5d0e7670b8c98c0533bf6c53d58688d9b958b23a91a8a6f2ffad419e01e2bb776cc3213fef59a7034d835c022dad02994624c55855b09e266e416a66939fc3664e441b99d7ffa0b83bfd0b0d752de0baedc1746b4938201972253924b0a68641e7c935fbb4189e5fdc391a29e331151fe720bfbc06825ba0766e421a2613fc0b78ceeb3817f262c90f66e7cfa0533c17ac71b0b1f94ffb02e3807b6247e968cedb141206edf0ca6f98fd919fa5279fe208799d82ab3a70b9b4baea410dc7cb3933782d63fe42807cf0fa7f5c9ae0cd4d0a0294692d3629d9881dad532b34efd702d8eaf0ac20378e62b36460656e0e887c44959552c9620e9ec3e73fee5ca0e5a6dd767b7b7a97ac4c77e709ce7859f21f0be66c9be7f445fb15f7bf4c8124a567fbfe0d379f08cb1b816f4c720ef5e3a6a083b5be05694a0d3d3ac784fc4399b1ccb7482ca0a1182166403565a9f7d4b0b71cccd20b952aee3be5c9ab10663e08aa419c8dee91e6f9bc58377e949d7251a445e1a7f87933dbbac2703f5d111de77b9dc5de5a53b90ee18ef9ab6a154f3f2500df04124645a6f09edb80c2fed4f30ffc4659176a6d3633db7c6c6c7acdc9332fbfc34f63543f99c3e7283ab9a98e8073e2c1a3158158976f06a520975b2f565936521babdd27fce006d30f5d75053847e6124940f3ef663e7e12e206e8dccc221a2381a1762f3e6ebbd37eb7a5409498e19eeab8b75cfbd7522a3ef45a236ad0b7129154e44436bd8b8da1323469c150cd487746247d06f12ae67fa30dc79f4df5cc8c1f86e8b35689b5a2c32e50777cf132f14c4cd2fb8f3760a66ec723e29624f8a974953350ca8853239944e33727d5965e10c8da5a8fcb4033ea2f96cad4d33524d181844b5a6a2a3a0c0a3572e4354b5f0bb6c727bcf02d31f66742bcd3e3767c70b1fa695812896ed053934abee8dea4ca8242b1fe1409717ddca6676b358e7930dc927f688c22e2ae6296ff2ed3c8519f3f8d49c3a7183d4aa0da4e3c7a652d539bff9ab1952aa13c002a0a8e7128b4e4ab441fcc905a0f26f9f6b5fa31360d5c24845ad876577bb0e1fcfed3101aedf14a73c0ce03e36360c01eee27342c1fa46d72474cd519e57837c250cedf09a31e45deb383587c5aee4c36fe2a8df37240de321a6a1c6fc656b5e6b28ffa25f40a723a5d13cbe7b42b4f62f60ccfbaa4ffeb00ca3b6d94119c0594aa5e11af8055b10d1a5a9900bd25b850c993c3bd9a941bded209dc4c74e9421b84c81c624dfffd12f397cc79101da2aac938a23aa49908f3f1ff41fc60dba8240a04f0941784a2284aaebdcc8143910ab01780e463dfb8be387b99346fbf8676e7f3e92420502a98eaa6d710b064f016dce0d6dc41956aea4fc9f304394b321c78141ad4c8d6527d7e946cff3fe06b252ae992837f0a9b9be2fb5d6358e419f9f30c4358906a82685fc734d2d2497a152cbe965f7e3220d437a7e64e9d1cef4092d0f8e731910d04e15df205b130979e1b8710faa5804642ceca6667c9dfe3747ee43cd73466204470987d0e76af237218ccb37bd77a39a09918e74aaf597bd3fbd79bba735c5ce6e81c559c986bbf60755170b30474a9e7caa5e83a42f19f79b186ec3af3bf1112c00cf05bff72a0d1698a94a871c4e8a0797d4d7f3c3e7e2a27ca7b9386f16c0473395fe85b280f9aba2efdaa08bcc7f2f2c301e165d626c83285bddf052cba134df3bbdd1e8f46415bbb391e05b1e475f344c1012cca9a72fb122c25d7f85c92a74fe7350a909dfee05b8a87557ad0cbc5912dcbdf9373a5e413b8375df15d4d8a06f4ced1259a8165389acc897cfd01c0dbea278144d079440086f7febdcf7aa7eec023993df73d8d0d46163add80a7c686789331c15aa22c8cafd5df40d4561f6f24759eb3d6a97ea01a3a3368ea8b1cf6fff8bf58ac225528d7a17d21edfa6eacfc5aab6f785a0b3003ab6ee0de9423cd363b14d03e102f445b23c14a536d7b231243288f288da44f8a5e8bc1f13b8cec7cb6a2a569636163a098b2f40f45c43564f1aa8b916426e77510936202363fe0dd717450cca9e8cbde8dffc9b9e24d8bd3cf171e36f05c06334873110b9c2d1a3020b660aacb19682d771e02c4d80dbfcdd11edf7553abad4cd0cee0fc5e81e94c4810a2c497f3d0ffa21bf7a31b6a835daf1f609e23cd64f81c1716af85b9233b547e679c72755e6cbb1cb405d7a897fcaa8c815bbd5a2aecc89d69981f349af2f97edb5a6f4197d20eec8d4b0f3c2375b8839cf6858bbf101ee06aecb7516cc27d59a8bdc9b5b208aaa4b5c14a5251d9d232397dd8d0eb8855d3ae0625a254fb89779ab00b3af427454c6bf5cff225c2f77bac6e5997404f00a4079d2237d19aec130c03a771e126cec4bc0661c3f9fae365d617723024ef8802fc94a85ebb80144b165f9d4bc2a1f87ce048ea52858d65dd33b1320b697ed30299b1848835c616b0a687e887483127078433db991d662fa367421445be00af4c06a34e554b3efa0f8cf99d2e1740c3d23ae57f97e1d19770103d7ec6f17b085ee3ea95ee6c74c3753628d0a97b440d38c139fd8974f049e3b4a8e83dae7c626d0139f92c69a92975270456cf7640c4b0ea0c3f5f2bdffd9a0cca3acadc2f2789bd59109059ff454bf742da9933f66e004da866be462ba3a2e42a2302407e822791b782164c795b1712a2c1d957e37703a328ae14628884c76ed83d08710a6212dd13cc466ac8f4b8c65e8ad647261e41786dac815c47299ff9b572579c2b5a27af372358c3f2ba4c11f86cab07c65ca9f0f703554b162b73c3706add4f7e10d95b847ca798c092361b43e086569d402d55f72ca7aa78ee95d9343c381196bcf8f8cfb0b805d418d51ccab377f646b3934b4c6773ba4cd975a0f12084a337d435d4611550656345f83cba264a958f7ac218c63821b22b8bd1ac3684d6dcc3b71e445d5707b9a5a6ba9e7fc2405b259a6531e937b8ea4ac7f8fa8aaff40c570fa5bd488e289b73e0a05e94ce0bba7e4b2f2cd8b3a3fdf91eb5ea2b004f91500d84bfd36199f9aa9a0b3f66af816f0b9b462d79602a12e705ec62c00cecb61070e09bb25d49076bf75011ce19d4ea7ff6ef6ddc4fffcc134c81bf5bda49f66616792e3fbf0953d9a0c25dc36b245046c01ff8f98975329624f3c9eac958236daa0aa026996840d48dc633cebb5ef484ba7cdf1b76a27a803c4ea464eb30c5573147ba783f0e42869bfa9970b61d5ed05b790f6a93bab2f939eefc9efad8677e59a037e3ab2303ce97ffd53e3ce3369ba4c48eceb3aaedcb4089a97eb59fc9788204739d5e6df7c8dc326994bdcd1803cb4b521ff6647de9590dfcb2c570510a619118703e82e7e45a54e287a8c734d0294a8b2cd07ffa32e400edcd5bbf86b2dd2f09c2b72018b17e54debad47b839e98cebead5ce68a439e5eb427945dfdd168ac7026a5c9c33c6c3ce0b98f832d7ad16aecdb01891904f6042a4c98e5f41209b4488e6c99ef116f43c489f51e306476642194fe0535077c94fc80c5aba2e26e61c77b1fc5fe9dad47968bb4114baa614d234e3b0be0d5abec9e60d72c6956a797809b51e16b6f49029d2f4b2266d3a8b9b567099b556c2685a00bd84238a9080aa022c357ad6d454bd7594a029eb4284a973b48e6392f425b70301b8c51477500490b765c6b70015bdd99f51c2d1995d80ba04508d6e66eb56695cccf63d50cc40b02c80c3886ce75d8a02abbb7149daced8ff3e8dfc169fb46031c4c0f19060daba08d35d3402b20cb0417f14ef184f5f531f4695ba4832a8b6391b13f3abcdd2c05b5168c30fe3cde8677ff738836aa85b7ef90148b2556b790bd9bda3d108ea37b03acfd09a544a8e85843643f31368cfc226a930dc7496ed4c9966e3de92637933ee7bfdf12bbfbac0234a74e289bdb37a522bd047a1007a3687a21bc9b0cff80874277d825bdbab845c1ac50460563d08b1e04a7f1086e677931988d5cd6f974706d64f63e84491b302888f8b8f0f42997f5edd2510f26a0b16d7038bec871309389cab6f5761a2b9f00111bc4441bbfade0eca7cea5b0b8daca736e6150503aae879f72d108361ca31bafbf4e0c2e9ebd7af57265bb04c388923a00b4c59088a2f7b767b14f3982e642e7b3dd94dc6f4b6b0113c9d49f80a3e169c1060893539ffc3237d6eccf4920a9b50a860eed127a22ffe"}]}}}}}}) syz_execute_func(&(0x7f0000001240)="f22633545b41c4c2b1de3a0f4bbe11140000c4c231dc03c4c24d961c5f660f3821471ec4e185d87128c4c3c5cf8e0e080000fed16200c4c22d4011") syz_extract_tcp_res(&(0x7f0000001280), 0x26e, 0x1) csource_test.go:124: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include static void kill_and_wait(int pid, int* status) { kill(pid, SIGKILL); while (waitpid(-1, status, 0) != pid) { } } static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void 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 __attribute__((noinline)) remove_dir(const char* dir) { DIR* dp = opendir(dir); if (dp == NULL) { if (errno == EACCES) { if (rmdir(dir)) exit(1); return; } 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); struct stat st; if (lstat(filename, &st)) exit(1); if (S_ISDIR(st.st_mode)) { remove_dir(filename); continue; } if (unlink(filename)) exit(1); } closedir(dp); if (rmdir(dir)) 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)))) struct csum_inet { uint32_t acc; }; static void csum_inet_init(struct csum_inet* csum) { csum->acc = 0; } static void csum_inet_update(struct csum_inet* csum, const uint8_t* data, size_t length) { if (length == 0) return; size_t i = 0; for (; i < length - 1; i += 2) csum->acc += *(uint16_t*)&data[i]; if (length & 1) csum->acc += le16toh((uint16_t)data[length - 1]); while (csum->acc > 0xffff) csum->acc = (csum->acc & 0xffff) + (csum->acc >> 16); } static uint16_t csum_inet_digest(struct csum_inet* csum) { return ~csum->acc; } static void sandbox_common() { if (setsid() == -1) exit(1); struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = 128 << 20; setrlimit(RLIMIT_AS, &rlim); rlim.rlim_cur = rlim.rlim_max = 8 << 20; setrlimit(RLIMIT_MEMLOCK, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_FSIZE, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_STACK, &rlim); rlim.rlim_cur = rlim.rlim_max = 0; setrlimit(RLIMIT_CORE, &rlim); rlim.rlim_cur = rlim.rlim_max = 256; setrlimit(RLIMIT_NOFILE, &rlim); } static void loop(); static int do_sandbox_none(void) { sandbox_common(); loop(); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } static void execute_one(void); #define WAIT_FLAGS 0 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); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5 * 1000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } uint64_t r[3] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff}; void execute_one(void) { intptr_t res = 0; res = syscall(SYS_fcntl, 0xffffff9c, 0x11, 0xffffff9c); if (res != -1) r[0] = res; *(uint32_t*)0x10000000 = 5; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 5, 0x10000000, 4); *(uint64_t*)0x10000040 = 6; *(uint64_t*)0x10000048 = 0xa9; syscall(SYS_cap_rights_limit, (intptr_t)r[0], 0x10000040); *(uint8_t*)0x10000080 = 0x20; *(uint8_t*)0x10000081 = 0x81; *(uint8_t*)0x10000082 = 3; *(uint8_t*)0x10000083 = 0x20; *(uint8_t*)0x10000084 = 0x20; *(uint8_t*)0x10000085 = 0xf7; *(uint8_t*)0x10000086 = -1; *(uint8_t*)0x10000087 = 7; *(uint8_t*)0x10000088 = 4; *(uint8_t*)0x10000089 = 0x40; *(uint8_t*)0x1000008a = 4; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0xc, 0x10000080, 0xb); *(uint32_t*)0x100000c0 = 0; *(uint16_t*)0x100000c4 = 9; *(uint16_t*)0x100000c6 = 3; *(uint16_t*)0x100000c8 = 1; *(uint16_t*)0x100000ca = -1; *(uint16_t*)0x100000cc = 0x8000; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0x901, 0x100000c0, 0xe); *(uint32_t*)0x10000180 = 0x6e; res = syscall(SYS_accept, (intptr_t)r[0], 0x10000100, 0x10000180); if (res != -1) r[1] = res; memcpy((void*)0x100001c0, "./file0\000", 8); syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); res = syscall(SYS_socket, 2, 3, 1); if (res != -1) r[2] = res; syscall(SYS_fcntl, (intptr_t)r[2], 5, 0); *(uint8_t*)0x10000240 = 0x1c; *(uint8_t*)0x10000241 = 0x1c; *(uint16_t*)0x10000242 = htobe16(0x4e21); *(uint32_t*)0x10000244 = 0x7f; *(uint64_t*)0x10000248 = htobe64(0); *(uint64_t*)0x10000250 = htobe64(1); *(uint32_t*)0x10000258 = 0xfffff9b1; *(uint64_t*)0x1000025c = 0; *(uint64_t*)0x10000264 = 0; *(uint64_t*)0x1000026c = 0; *(uint64_t*)0x10000274 = 0; *(uint64_t*)0x1000027c = 0; *(uint64_t*)0x10000284 = 0; *(uint64_t*)0x1000028c = 0; *(uint64_t*)0x10000294 = 0; *(uint64_t*)0x1000029c = 0; *(uint64_t*)0x100002a4 = 0; *(uint64_t*)0x100002ac = 0; *(uint64_t*)0x100002b4 = 0; *(uint32_t*)0x100002bc = 0; *(uint32_t*)0x100002c0 = 0x80; syscall(SYS_getsockopt, (intptr_t)r[1], 0x84, 7, 0x10000240, 0x100002c0); *(uint8_t*)0x10000000 = 0xaa; *(uint8_t*)0x10000001 = 0xaa; *(uint8_t*)0x10000002 = 0xaa; *(uint8_t*)0x10000003 = 0xaa; *(uint8_t*)0x10000004 = 0xaa; *(uint8_t*)0x10000005 = 0xbb; *(uint8_t*)0x10000006 = 0xaa; *(uint8_t*)0x10000007 = 0xaa; *(uint8_t*)0x10000008 = 0xaa; *(uint8_t*)0x10000009 = 0xaa; *(uint8_t*)0x1000000a = 0xaa; *(uint8_t*)0x1000000b = 0xbb; *(uint16_t*)0x1000000c = htobe16(0x8100); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 5, 0, 3); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 1, 3, 1); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 3, 4, 12); *(uint16_t*)0x10000010 = htobe16(0x86dd); STORE_BY_BITMASK(uint8_t, , 0x10000012, 7, 0, 4); STORE_BY_BITMASK(uint8_t, , 0x10000012, 6, 4, 4); memcpy((void*)0x10000013, "\xc3\xcb\x10", 3); *(uint16_t*)0x10000016 = htobe16(0x1202); *(uint8_t*)0x10000018 = 0x2f; *(uint8_t*)0x10000019 = 1; memcpy((void*)0x1000001a, "\xcd\xd9\x63\x9d\x81\x8e\x3c\x53\x54\xe4\x23\xe6\x7c\x02\x61\xce", 16); memcpy((void*)0x1000002a, "\x9a\xa3\xa7\x3e\xac\xf4\x7f\x64\x6c\xf7\x00\x32\xc9\xd1\x08\xee", 16); *(uint8_t*)0x1000003a = 0x36; *(uint8_t*)0x1000003b = 0x1e; *(uint8_t*)0x1000003c = 0; *(uint8_t*)0x1000003d = 0; *(uint8_t*)0x1000003e = 0; *(uint8_t*)0x1000003f = 0; *(uint8_t*)0x10000040 = 0; *(uint8_t*)0x10000041 = 0; *(uint8_t*)0x10000042 = 4; *(uint8_t*)0x10000043 = 1; *(uint8_t*)0x10000044 = 1; *(uint8_t*)0x10000045 = 0xc2; *(uint8_t*)0x10000046 = 4; *(uint32_t*)0x10000047 = htobe32(7); *(uint8_t*)0x1000004b = 1; *(uint8_t*)0x1000004c = 2; *(uint8_t*)0x1000004d = 0; *(uint8_t*)0x1000004e = 0; *(uint8_t*)0x1000004f = -1; *(uint8_t*)0x10000050 = 0xe2; memcpy((void*)0x10000051, "\x66\x43\xd2\x30\xd2\xeb\xee\x2d\xa6\x67\x99\x23\x3f\xd3\x95\x3c\x63\x7f\xbf\xf5\x8a\x08\xfe\x47\x94\x6d\xe8\x6f\x44\xbc\xf9\xe8\x09\xd6\x27\x76\x8d\x7e\x38\xbe\x69\x80\x89\x21\xc8\x00\xa8\xca\x76\xdb\xa1\x2e\x6b\x01\xe8\xb0\xb8\x52\x82\x1f\xe4\x6d\x8d\x1b\x86\x3c\x6e\xd1\xf3\x86\xd2\x77\x9a\x29\x83\x03\x6a\x40\x3e\xc8\x04\xbb\xc1\xce\x77\xc6\x79\xd9\x45\xe9\xc0\xb8\x36\x35\x2e\x6f\x8e\xe2\x10\xed\xe5\xf8\xeb\x29\x37\xaf\xc8\x30\x72\x87\xe8\xa2\x7e\x8f\xc6\x6d\xe2\xef\x50\x42\x18\x40\x45\x51\x26\xdc\x36\x2d\x09\x94\xa2\xa2\xdb\x61\x9c\xa5\xb7\x0f\x61\x5b\x71\x94\x13\x59\x44\x71\xa2\xef\xad\x9e\x7e\x22\xa5\x40\x03\x61\xab\xac\x23\x15\x75\xd1\xb4\x98\x78\x16\x12\x29\x6d\x93\x2e\x48\x32\xdd\x0c\x9f\x67\x09\xc2\xf8\x10\x38\xbb\xcd\xe5\xc2\x78\x32\xba\xe0\x14\xb1\x3b\x9b\x93\xb4\x13\x74\xf9\x97\xc1\x88\xd7\x4a\x33\x96\x0b\x2b\x29\x48\xa2\xeb\x32\x11\xc2\xac\xa8\x55\xf6\x16\xf2\x22\x3f\x47\x46\xce", 226); *(uint8_t*)0x10000133 = 4; *(uint8_t*)0x10000134 = 1; *(uint8_t*)0x10000135 = 0x1f; *(uint8_t*)0x1000013a = 0x31; *(uint8_t*)0x1000013b = 4; *(uint8_t*)0x1000013c = 0; *(uint8_t*)0x1000013d = 5; *(uint32_t*)0x1000013e = 0; *(uint8_t*)0x10000142 = 0; *(uint8_t*)0x10000143 = 0; *(uint8_t*)0x10000144 = 0; *(uint8_t*)0x10000145 = 0; *(uint8_t*)0x10000146 = 0; *(uint8_t*)0x10000147 = 0; *(uint8_t*)0x10000148 = 0; *(uint8_t*)0x10000149 = 0; *(uint8_t*)0x1000014a = 0; *(uint8_t*)0x1000014b = 0; *(uint8_t*)0x1000014c = -1; *(uint8_t*)0x1000014d = -1; *(uint32_t*)0x1000014e = htobe32(-1); *(uint8_t*)0x10000152 = 0; *(uint8_t*)0x10000153 = 0; *(uint8_t*)0x10000154 = 0; *(uint8_t*)0x10000155 = 0; *(uint8_t*)0x10000156 = 0; *(uint8_t*)0x10000157 = 0; *(uint8_t*)0x10000158 = 0; *(uint8_t*)0x10000159 = 0; *(uint8_t*)0x1000015a = 0; *(uint8_t*)0x1000015b = 0; *(uint8_t*)0x1000015c = 0; *(uint8_t*)0x1000015d = 0; *(uint8_t*)0x1000015e = 0; *(uint8_t*)0x1000015f = 0; *(uint8_t*)0x10000160 = 0; *(uint8_t*)0x10000161 = 0; *(uint8_t*)0x10000162 = 0x58; *(uint8_t*)0x10000163 = 8; *(uint8_t*)0x10000164 = 1; *(uint8_t*)0x10000165 = 0x81; *(uint32_t*)0x10000166 = 0; *(uint8_t*)0x1000016a = 0xfe; *(uint8_t*)0x1000016b = 0x80; *(uint8_t*)0x1000016c = 0; *(uint8_t*)0x1000016d = 0; *(uint8_t*)0x1000016e = 0; *(uint8_t*)0x1000016f = 0; *(uint8_t*)0x10000170 = 0; *(uint8_t*)0x10000171 = 0; *(uint8_t*)0x10000172 = 0; *(uint8_t*)0x10000173 = 0; *(uint8_t*)0x10000174 = 0; *(uint8_t*)0x10000175 = 0; *(uint8_t*)0x10000176 = 0; *(uint8_t*)0x10000177 = 0; *(uint8_t*)0x10000178 = 0; *(uint8_t*)0x10000179 = 0xaa; *(uint8_t*)0x1000017a = -1; *(uint8_t*)0x1000017b = 1; *(uint8_t*)0x1000017c = 0; *(uint8_t*)0x1000017d = 0; *(uint8_t*)0x1000017e = 0; *(uint8_t*)0x1000017f = 0; *(uint8_t*)0x10000180 = 0; *(uint8_t*)0x10000181 = 0; *(uint8_t*)0x10000182 = 0; *(uint8_t*)0x10000183 = 0; *(uint8_t*)0x10000184 = 0; *(uint8_t*)0x10000185 = 0; *(uint8_t*)0x10000186 = 0; *(uint8_t*)0x10000187 = 0; *(uint8_t*)0x10000188 = 0; *(uint8_t*)0x10000189 = 1; *(uint8_t*)0x1000018a = 0xfe; *(uint8_t*)0x1000018b = 0x80; *(uint8_t*)0x1000018c = 0; *(uint8_t*)0x1000018d = 0; *(uint8_t*)0x1000018e = 0; *(uint8_t*)0x1000018f = 0; *(uint8_t*)0x10000190 = 0; *(uint8_t*)0x10000191 = 0; *(uint8_t*)0x10000192 = 0; *(uint8_t*)0x10000193 = 0; *(uint8_t*)0x10000194 = 0; *(uint8_t*)0x10000195 = 0; *(uint8_t*)0x10000196 = 0; *(uint8_t*)0x10000197 = 0; *(uint8_t*)0x10000198 = 0; *(uint8_t*)0x10000199 = 0xaa; *(uint64_t*)0x1000019a = htobe64(0); *(uint64_t*)0x100001a2 = htobe64(1); *(uint8_t*)0x100001aa = 0x59; *(uint8_t*)0x100001ab = 0xc; *(uint8_t*)0x100001ac = 0; *(uint8_t*)0x100001ad = 3; *(uint32_t*)0x100001ae = 0; memcpy((void*)0x100001b2, "\xd6\x91\xf2\x28\x49\x8c\x81\x6b\xd9\x31\xbf\x11\xea\x3c\xb3\x58", 16); *(uint8_t*)0x100001c2 = 0; *(uint8_t*)0x100001c3 = 0; *(uint8_t*)0x100001c4 = 0; *(uint8_t*)0x100001c5 = 0; *(uint8_t*)0x100001c6 = 0; *(uint8_t*)0x100001c7 = 0; *(uint8_t*)0x100001c8 = 0; *(uint8_t*)0x100001c9 = 0; *(uint8_t*)0x100001ca = 0; *(uint8_t*)0x100001cb = 0; *(uint8_t*)0x100001cc = 0; *(uint8_t*)0x100001cd = 0; *(uint8_t*)0x100001ce = 0; *(uint8_t*)0x100001cf = 0; *(uint8_t*)0x100001d0 = 0; *(uint8_t*)0x100001d1 = 0; *(uint64_t*)0x100001d2 = htobe64(0); *(uint64_t*)0x100001da = htobe64(1); memcpy((void*)0x100001e2, "\x40\x46\xfb\xe3\xc1\xe1\x66\x9f\x07\x2d\xd9\xee\x3b\xa1\x16\x96", 16); *(uint8_t*)0x100001f2 = 0; *(uint8_t*)0x100001f3 = 0; *(uint8_t*)0x100001f4 = 0; *(uint8_t*)0x100001f5 = 0; *(uint8_t*)0x100001f6 = 0; *(uint8_t*)0x100001f7 = 0; *(uint8_t*)0x100001f8 = 0; *(uint8_t*)0x100001f9 = 0; *(uint8_t*)0x100001fa = 0; *(uint8_t*)0x100001fb = 0; *(uint8_t*)0x100001fc = -1; *(uint8_t*)0x100001fd = -1; *(uint32_t*)0x100001fe = htobe32(-1); *(uint8_t*)0x10000202 = -1; *(uint8_t*)0x10000203 = 1; *(uint8_t*)0x10000204 = 0; *(uint8_t*)0x10000205 = 0; *(uint8_t*)0x10000206 = 0; *(uint8_t*)0x10000207 = 0; *(uint8_t*)0x10000208 = 0; *(uint8_t*)0x10000209 = 0; *(uint8_t*)0x1000020a = 0; *(uint8_t*)0x1000020b = 0; *(uint8_t*)0x1000020c = 0; *(uint8_t*)0x1000020d = 0; *(uint8_t*)0x1000020e = 0; *(uint8_t*)0x1000020f = 0; *(uint8_t*)0x10000210 = 0; *(uint8_t*)0x10000211 = 1; *(uint8_t*)0x10000212 = 0x27; *(uint8_t*)0x10000213 = 0; *(uint8_t*)0x10000214 = 0x91; STORE_BY_BITMASK(uint8_t, , 0x10000215, 1, 0, 1); STORE_BY_BITMASK(uint8_t, , 0x10000215, 0, 1, 2); STORE_BY_BITMASK(uint8_t, , 0x10000215, 6, 3, 5); *(uint32_t*)0x10000216 = 0x66; *(uint8_t*)0x1000021a = 0x26; *(uint8_t*)0x1000021b = 0; *(uint8_t*)0x1000021c = 0; *(uint8_t*)0x1000021d = 0; *(uint8_t*)0x1000021e = 0; *(uint8_t*)0x1000021f = 0; *(uint8_t*)0x10000220 = 0; *(uint8_t*)0x10000221 = 0; *(uint8_t*)0x10000222 = 5; *(uint8_t*)0x10000223 = 2; *(uint16_t*)0x10000224 = htobe16(5); *(uint8_t*)0x1000022a = 0x86; *(uint8_t*)0x1000022b = 0; *(uint16_t*)0x1000022c = htobe16(0); *(uint8_t*)0x1000022e = 0; *(uint8_t*)0x1000022f = 9; *(uint16_t*)0x10000230 = htobe16(9); *(uint32_t*)0x10000232 = htobe32(0x401); *(uint32_t*)0x10000236 = htobe32(0x7fffffff); *(uint8_t*)0x1000023a = 1; *(uint8_t*)0x1000023b = 0; memcpy((void*)0x1000023c, "\xd1\x45\xff\x57\x6d\x7f\xe9\x33\xa6\xf7\xae\x4b\xd4\x7d\x7a\xec\x43\x60\xa3\x35\x72\x7c\x02\x67\xff\x79\xe3\x4d\x03\x66\x94\xea\x6d\x8d\xe6\x2e\xbb\x19\x41\xf6\xb9\xa9\x5a\x6c\x95\xfa\x33\xd4\xa6\xdd\xfe\x3b\xe4\x08\x14\x8d\xac\xa5\x56\xb6\xb4\xdf\xeb\xef\x86\x9d\xa9\x3c\xfa\x26\xfb\x8e\x16\x50\x9f\xeb\xb3\x21\x01\x1f\x50\x8e\xec\x75\x02\x82\x44\x42\xd8\x62\x05\x19\xd7\xce\x35\x92\x84\xef\x09\x36\x39\x00\x1b\x68\x9f\x94\x43\x26\x05\x84\xdf\xaf\x81\x93\x13\x72\x6c\x44\x95\xac\x4c\x32\x03\xaa\x60\x3e\x26\xf3\x74\xd6\x96\xcd\xb3\x6f\xb0\x0e\x6c\x41\x2e\xdb\xef\xc1\x62\x70\xc7\x83\xd3\xa1\xad\xa3\x5a\x07\xcd\x92\x25\xf2\x1b\x95\x70\xf8\x01\xa9\x60\xe0\x6d\x96\x55\x6b\x9e\xac\xa2\x34\xf1\x28\x61\x44\x42\x31\xc9\x4a\xee\x63\x15\xfb\x19\x9f\x69\xee\xbd\xf9\xfd\xb0\xbd\xb8\x99\x02\xe0\xeb\x69\xbb\xdf\x97\x30\xaa\x37\x1b\x84\xb0\x2e\x9a\xb5\xf3\xa4\xf9\x9f\x92\x05\x69\x4f\x06\x24\x60\xe2\x86\xb1\xab\xef\x39\x36\xfd\xf1\x83\xbd\x7c\x95\xa9\xd9\x9b\x57\x82\x7d\xea\x18\x14\xe0\xe2\xdc\x58\xa6\x77\xf2\xae\x6c\x73\xde\x4e\x27\xfe\x88\x56\xe4\x17\xfd\x26\x60\x88\x00\x8a\xbe\x5d\x38\xd7\x4e\xa0\xbd\xc6\xd0\x46\xc5\xd3\xf4\x5e\x2e\xe4\x7a\x44\x0c\x5d\xfc\x30\x45\x9b\x21\x9b\xb3\xb1\x30\x2f\xeb\x6b\x36\xa6\xe5\x24\xb1\xdb\x70\xd5\x7e\xfe\x32\x82\x3b\x0a\xd0\x37\xa3\xc2\x04\xc7\x77\x48\xb8\x5f\xd8\x8a\xbf\x24\xef\x07\x17\xea\xc9\x0e\x23\x5d\x91\x76\x4b\x48\xbb\x1d\xcc\x3c\x91\x77\xfc\x4b\x0f\xc9\x97\xd3\xd4\xe9\x07\x02\x87\x2b\xf0\xd8\x70\x21\x94\xe2\x25\x77\x35\x3e\x55\x7c\x00\x41\xf1\x06\xe5\xde\xe1\xd2\x4f\x24\x3a\xb7\xc0\x7b\x43\x35\xa6\x88\x6c\x04\x06\x1e\x84\x96\x65\x99\xb6\x8c\x67\x6e\x96\x60\x08\xa7\x90\x5f\x17\x06\x04\x83\x34\x50\x1a\x36\x08\x30\x53\x30\xcb\x8b\x44\x7a\x16\x98\xfa\x96\x46\xc7\x3c\xd7\x58\x87\x1c\x1e\x8b\x96\x88\x9a\xe3\x37\x2a\x5f\xef\x5b\x03\xef\x56\xd1\x60\x8e\xae\x44\xa8\x63\xb0\x59\x91\xf6\x26\x44\x77\x30\xdf\x97\xf3\x36\x86\xe5\xcb\x72\x55\x4a\x1a\x8a\xce\x8b\x53\x0d\x3e\x60\x45\x23\x52\xd9\xe9\x3e\xd0\x31\x85\x2e\xb2\xdc\x87\x90\x3a\x13\x46\xc3\x96\x2c\xed\x8f\x4f\xd2\xc0\x7e\x01\x84\x3d\x19\xe2\x53\x65\x3f\xcc\x7e\xb3\xe7\x10\xb5\x46\xe1\x18\x08\x44\xd9\x5e\x67\x14\x3d\xef\x46\x19\x37\x5d\x71\x17\x37\x29\xdf\xab\xee\xcd\xdd\x02\x39\x45\x6f\xd1\xf5\x63\xbe\xdd\x3e\x8a\xa7\xbd\x29\xce\x40\xbf\xb7\x2e\x83\x23\x24\xcf\x0e\x7e\xd9\x60\xbc\x4c\xdd\x81\xa1\xd1\xc4\xd3\xa2\xf9\x84\x21\x8a\x8f\x7c\xe9\x28\x8f\xb5\x7b\x31\x5c\x47\x5a\x57\xc2\xd5\x67\x43\xba\x39\x87\xad\x1f\xe6\x9a\xf5\xa3\x91\xcd\xb9\xc8\xa5\x51\x72\x33\x40\xc3\xd1\xc9\x89\xb5\xda\x33\x77\x1f\x79\x7e\x89\x93\xef\x51\x54\x6e\x98\x49\xba\x61\xa3\xcb\x3b\xab\xbc\x5b\x33\xfc\x9e\x88\x3b\x3e\xe4\x1e\x6d\x8c\x67\x58\x41\x71\x8b\x90\x80\x92\xb2\xc4\xda\x4c\x1a\x78\xa1\x7b\xee\x0c\x40\x9d\x03\xcd\x8b\xed\x2d\x56\xa4\x6e\xe7\x72\x1b\x56\x59\xbe\x3f\xa5\xcd\x0e\x89\xbc\xef\xfa\xff\xaf\x1e\x95\x71\x6a\xdc\x76\x25\x54\xc4\x96\xa4\x02\x82\xcb\x6d\x85\xf4\xe0\xe2\x9f\xd7\x65\x74\x00\x1b\x89\x3d\x0f\xfc\x8c\x94\xa1\x87\x82\x9e\x24\x54\x6d\x89\x04\x39\x54\x7b\x81\xc1\x8c\x48\x65\xbe\x4c\xb5\x7e\x06\xe3\x19\xc5\x00\x7d\x43\x45\x9e\xc3\xaa\x20\xce\x72\xf7\x88\x3c\xbd\xa6\xa3\x03\xc3\x43\xfb\xed\x7f\x62\xb2\xf2\xac\x9f\x5d\x24\x84\x2e\x8a\xba\xe1\xc9\xe3\x29\x54\xb0\xd0\xd6\x02\x42\x89\x1b\x1f\xae\x40\xd0\x32\x83\xf3\x3c\x09\x48\xe1\x61\xfa\x2f\x9f\xfb\x77\xb7\x2c\xe9\x69\x71\x87\x68\x28\x2c\x45\xae\x08\x9f\xaf\x80\xec\xaf\xf1\x65\x81\x14\xa7\x8d\x8b\x13\x83\x39\x58\xa3\x60\xfe\x8b\xea\xd9\xb4\x85\xd5\xdc\xc7\x01\x81\x2a\x55\x9c\x6d\x04\xa2\x2f\xe5\x9d\x3f\x6f\xc0\xfc\xc7\xcb\xbb\xc4\x45\x0a\x58\xbe\xe9\x95\x60\x57\x9e\xff\x8d\x78\x46\xd0\x62\x25\x3d\x15\xd5\xe6\xb2\x0a\x78\x13\x40\x14\x32\x3b\xc3\x1f\x3d\xbf\xa5\x3e\x2e\xde\x13\x7e\x3c\x11\x29\xba\x8d\xb6\x38\xa9\x59\x72\xe1\xa7\x22\x35\x04\xaf\x10\xa1\x49\x15\x4f\xa5\x81\xb9\xdb\xc5\x16\x28\x9c\xff\x0d\x65\x58\x88\x59\x21\x99\xc7\x7f\xa5\x53\xf0\x7d\xb0\x09\xee\x2a\x42\xc5\x41\x2d\xf9\xfe\x61\x2d\x10\x8e\xe2\xd5\x95\xcb\xb0\xbf\x59\x77\x66\x46\xcb\x7c\x83\xe3\x55\x1a\x91\xc0\xac\xa0\x5d\xe2\x0d\x0b\xfc\x6c\x1f\x8f\x5c\x94\x92\xf2\x2e\x57\x14\xea\x0c\xba\xb5\x76\x31\x94\x99\x6c\x81\x85\x45\xc0\x99\x7f\xf5\x55\xe5\xd1\x36\xae\xa5\x0a\x7a\x93\xdc\x40\x34\x0a\x72\x5d\xa5\xca\x7e\xa4\x5a\x48\x3d\x2c\x9d\xa6\x7a\x25\x4d\x6e\xbd\xb6\xe2\x02\x70\xbe\xb3\x33\x73\x32\x1d\x92\x23\x75\x20\x7b\xf5\x47\x07\xe1\xd9\x7d\x52\xa6\x93\x0b\x42\x87\xcd\x0d\xc6\xd8\xd3\x34\x6e\x38\x8f\xe4\x1f\xca\x91\x16\x27\x39\xa3\x0c\x97\xda\x08\xcc\x3f\x42\xb3\xf5\x43\x82\xdc\xde\xf5\xd0\xe7\x67\x0b\x8c\x98\xc0\x53\x3b\xf6\xc5\x3d\x58\x68\x8d\x9b\x95\x8b\x23\xa9\x1a\x8a\x6f\x2f\xfa\xd4\x19\xe0\x1e\x2b\xb7\x76\xcc\x32\x13\xfe\xf5\x9a\x70\x34\xd8\x35\xc0\x22\xda\xd0\x29\x94\x62\x4c\x55\x85\x5b\x09\xe2\x66\xe4\x16\xa6\x69\x39\xfc\x36\x64\xe4\x41\xb9\x9d\x7f\xfa\x0b\x83\xbf\xd0\xb0\xd7\x52\xde\x0b\xae\xdc\x17\x46\xb4\x93\x82\x01\x97\x22\x53\x92\x4b\x0a\x68\x64\x1e\x7c\x93\x5f\xbb\x41\x89\xe5\xfd\xc3\x91\xa2\x9e\x33\x11\x51\xfe\x72\x0b\xfb\xc0\x68\x25\xba\x07\x66\xe4\x21\xa2\x61\x3f\xc0\xb7\x8c\xee\xb3\x81\x7f\x26\x2c\x90\xf6\x6e\x7c\xfa\x05\x33\xc1\x7a\xc7\x1b\x0b\x1f\x94\xff\xb0\x2e\x38\x07\xb6\x24\x7e\x96\x8c\xed\xb1\x41\x20\x6e\xdf\x0c\xa6\xf9\x8f\xd9\x19\xfa\x52\x79\xfe\x20\x87\x99\xd8\x2a\xb3\xa7\x0b\x9b\x4b\xae\xa4\x10\xdc\x7c\xb3\x93\x37\x82\xd6\x3f\xe4\x28\x07\xcf\x0f\xa7\xf5\xc9\xae\x0c\xd4\xd0\xa0\x29\x46\x92\xd3\x62\x9d\x98\x81\xda\xd5\x32\xb3\x4e\xfd\x70\x2d\x8e\xaf\x0a\xc2\x03\x78\xe6\x2b\x36\x46\x06\x56\xe0\xe8\x87\xc4\x49\x59\x55\x2c\x96\x20\xe9\xec\x3e\x73\xfe\xe5\xca\x0e\x5a\x6d\xd7\x67\xb7\xb7\xa9\x7a\xc4\xc7\x7e\x70\x9c\xe7\x85\x9f\x21\xf0\xbe\x66\xc9\xbe\x7f\x44\x5f\xb1\x5f\x7b\xf4\xc8\x12\x4a\x56\x7f\xbf\xe0\xd3\x79\xf0\x8c\xb1\xb8\x16\xf4\xc7\x20\xef\x5e\x3a\x6a\x08\x3b\x5b\xe0\x56\x94\xa0\xd3\xd3\xac\x78\x4f\xc4\x39\x9b\x1c\xcb\x74\x82\xca\x0a\x11\x82\x16\x64\x03\x56\x5a\x9f\x7d\x4b\x0b\x71\xcc\xcd\x20\xb9\x52\xae\xe3\xbe\x5c\x9a\xb1\x06\x63\xe0\x8a\xa4\x19\xc8\xde\xe9\x1e\x6f\x9b\xc5\x83\x77\xe9\x49\xd7\x25\x1a\x44\x5e\x1a\x7f\x87\x93\x3d\xbb\xac\x27\x03\xf5\xd1\x11\xde\x77\xb9\xdc\x5d\xe5\xa5\x3b\x90\xee\x18\xef\x9a\xb6\xa1\x54\xf3\xf2\x50\x0d\xf0\x41\x24\x64\x5a\x6f\x09\xed\xb8\x0c\x2f\xed\x4f\x30\xff\xc4\x65\x91\x76\xa6\xd3\x63\x3d\xb7\xc6\xc6\xc7\xac\xdc\x93\x32\xfb\xfc\x34\xf6\x35\x43\xf9\x9c\x3e\x72\x83\xab\x9a\x98\xe8\x07\x3e\x2c\x1a\x31\x58\x15\x89\x76\xf0\x6a\x52\x09\x75\xb2\xf5\x65\x93\x65\x21\xba\xbd\xd2\x7f\xce\x00\x6d\x30\xf5\xd7\x50\x53\x84\x7e\x61\x24\x94\x0f\x3e\xf6\x63\xe7\xe1\x2e\x20\x6e\x8d\xcc\xc2\x21\xa2\x38\x1a\x17\x62\xf3\xe6\xeb\xbd\x37\xeb\x7a\x54\x09\x49\x8e\x19\xee\xab\x8b\x75\xcf\xbd\x75\x22\xa3\xef\x45\xa2\x36\xad\x0b\x71\x29\x15\x4e\x44\x43\x6b\xd8\xb8\xda\x13\x23\x46\x9c\x15\x0c\xd4\x87\x74\x62\x47\xd0\x6f\x12\xae\x67\xfa\x30\xdc\x79\xf4\xdf\x5c\xc8\xc1\xf8\x6e\x8b\x35\x68\x9b\x5a\x2c\x32\xe5\x07\x77\xcf\x13\x2f\x14\xc4\xcd\x2f\xb8\xf3\x76\x0a\x66\xec\x72\x3e\x29\x62\x4f\x8a\x97\x49\x53\x35\x0c\xa8\x85\x32\x39\x94\x4e\x33\x72\x7d\x59\x65\xe1\x0c\x8d\xa5\xa8\xfc\xb4\x03\x3e\xa2\xf9\x6c\xad\x4d\x33\x52\x4d\x18\x18\x44\xb5\xa6\xa2\xa3\xa0\xc0\xa3\x57\x2e\x43\x54\xb5\xf0\xbb\x6c\x72\x7b\xcf\x02\xd3\x1f\x66\x74\x2b\xcd\x3e\x37\x67\xc7\x0b\x1f\xa6\x95\x81\x28\x96\xed\x05\x39\x34\xab\xee\x8d\xea\x4c\xa8\x24\x2b\x1f\xe1\x40\x97\x17\xdd\xca\x66\x76\xb3\x58\xe7\x93\x0d\xc9\x27\xf6\x88\xc2\x2e\x2a\xe6\x29\x6f\xf2\xed\x3c\x85\x19\xf3\xf8\xd4\x9c\x3a\x71\x83\xd4\xaa\x0d\xa4\xe3\xc7\xa6\x52\xd5\x39\xbf\xf9\xab\x19\x52\xaa\x13\xc0\x02\xa0\xa8\xe7\x12\x8b\x4e\x4a\xb4\x41\xfc\xc9\x05\xa0\xf2\x6f\x9f\x6b\x5f\xa3\x13\x60\xd5\xc2\x48\x45\xad\x87\x65\x77\xbb\x0e\x1f\xcf\xed\x31\x01\xae\xdf\x14\xa7\x3c\x0c\xe0\x3e\x36\x36\x0c\x01\xee\xe2\x73\x42\xc1\xfa\x46\xd7\x24\x74\xcd\x51\x9e\x57\x83\x7c\x25\x0c\xed\xf0\x9a\x31\xe4\x5d\xeb\x38\x35\x87\xc5\xae\xe4\xc3\x6f\xe2\xa8\xdf\x37\x24\x0d\xe3\x21\xa6\xa1\xc6\xfc\x65\x6b\x5e\x6b\x28\xff\xa2\x5f\x40\xa7\x23\xa5\xd1\x3c\xbe\x7b\x42\xb4\xf6\x2f\x60\xcc\xfb\xaa\x4f\xfe\xb0\x0c\xa3\xb6\xd9\x41\x19\xc0\x59\x4a\xa5\xe1\x1a\xf8\x05\x5b\x10\xd1\xa5\xa9\x90\x0b\xd2\x5b\x85\x0c\x99\x3c\x3b\xd9\xa9\x41\xbd\xed\x20\x9d\xc4\xc7\x4e\x94\x21\xb8\x4c\x81\xc6\x24\xdf\xff\xd1\x2f\x39\x7c\xc7\x91\x01\xda\x2a\xac\x93\x8a\x23\xaa\x49\x90\x8f\x3f\x1f\xf4\x1f\xc6\x0d\xba\x82\x40\xa0\x4f\x09\x41\x78\x4a\x22\x84\xaa\xeb\xdc\xc8\x14\x39\x10\xab\x01\x78\x0e\x46\x3d\xfb\x8b\xe3\x87\xb9\x93\x46\xfb\xf8\x67\x6e\x7f\x3e\x92\x42\x05\x02\xa9\x8e\xaa\x6d\x71\x0b\x06\x4f\x01\x6d\xce\x0d\x6d\xc4\x19\x56\xae\xa4\xfc\x9f\x30\x43\x94\xb3\x21\xc7\x81\x41\xad\x4c\x8d\x65\x27\xd7\xe9\x46\xcf\xf3\xfe\x06\xb2\x52\xae\x99\x28\x37\xf0\xa9\xb9\xbe\x2f\xb5\xd6\x35\x8e\x41\x9f\x9f\x30\xc4\x35\x89\x06\xa8\x26\x85\xfc\x73\x4d\x2d\x24\x97\xa1\x52\xcb\xe9\x65\xf7\xe3\x22\x0d\x43\x7a\x7e\x64\xe9\xd1\xce\xf4\x09\x2d\x0f\x8e\x73\x19\x10\xd0\x4e\x15\xdf\x20\x5b\x13\x09\x79\xe1\xb8\x71\x0f\xaa\x58\x04\x64\x2c\xec\xa6\x66\x7c\x9d\xfe\x37\x47\xee\x43\xcd\x73\x46\x62\x04\x47\x09\x87\xd0\xe7\x6a\xf2\x37\x21\x8c\xcb\x37\xbd\x77\xa3\x9a\x09\x91\x8e\x74\xaa\xf5\x97\xbd\x3f\xbd\x79\xbb\xa7\x35\xc5\xce\x6e\x81\xc5\x59\xc9\x86\xbb\xf6\x07\x55\x17\x0b\x30\x47\x4a\x9e\x7c\xaa\x5e\x83\xa4\x2f\x19\xf7\x9b\x18\x6e\xc3\xaf\x3b\xf1\x11\x2c\x00\xcf\x05\xbf\xf7\x2a\x0d\x16\x98\xa9\x4a\x87\x1c\x4e\x8a\x07\x97\xd4\xd7\xf3\xc3\xe7\xe2\xa2\x7c\xa7\xb9\x38\x6f\x16\xc0\x47\x33\x95\xfe\x85\xb2\x80\xf9\xab\xa2\xef\xda\xa0\x8b\xcc\x7f\x2f\x2c\x30\x1e\x16\x5d\x62\x6c\x83\x28\x5b\xdd\xf0\x52\xcb\xa1\x34\xdf\x3b\xbd\xd1\xe8\xf4\x64\x15\xbb\xb3\x91\xe0\x5b\x1e\x47\x5f\x34\x4c\x10\x12\xcc\xa9\xa7\x2f\xb1\x22\xc2\x5d\x7f\x85\xc9\x2a\x74\xfe\x73\x50\xa9\x09\xdf\xee\x05\xb8\xa8\x75\x57\xad\x0c\xbc\x59\x12\xdc\xbd\xf9\x37\x3a\x5e\x41\x3b\x83\x75\xdf\x15\xd4\xd8\xa0\x6f\x4c\xed\x12\x59\xa8\x16\x53\x89\xac\xc8\x97\xcf\xd0\x1c\x0d\xbe\xa2\x78\x14\x4d\x07\x94\x40\x08\x6f\x7f\xeb\xdc\xf7\xaa\x7e\xec\x02\x39\x93\xdf\x73\xd8\xd0\xd4\x61\x63\xad\xd8\x0a\x7c\x68\x67\x89\x33\x1c\x15\xaa\x22\xc8\xca\xfd\x5d\xf4\x0d\x45\x61\xf6\xf2\x47\x59\xeb\x3d\x6a\x97\xea\x01\xa3\xa3\x36\x8e\xa8\xb1\xcf\x6f\xff\x8b\xf5\x8a\xc2\x25\x52\x8d\x7a\x17\xd2\x1e\xdf\xa6\xea\xcf\xc5\xaa\xb6\xf7\x85\xa0\xb3\x00\x3a\xb6\xee\x0d\xe9\x42\x3c\xd3\x63\xb1\x4d\x03\xe1\x02\xf4\x45\xb2\x3c\x14\xa5\x36\xd7\xb2\x31\x24\x32\x88\xf2\x88\xda\x44\xf8\xa5\xe8\xbc\x1f\x13\xb8\xce\xc7\xcb\x6a\x2a\x56\x96\x36\x16\x3a\x09\x8b\x2f\x40\xf4\x5c\x43\x56\x4f\x1a\xa8\xb9\x16\x42\x6e\x77\x51\x09\x36\x20\x23\x63\xfe\x0d\xd7\x17\x45\x0c\xca\x9e\x8c\xbd\xe8\xdf\xfc\x9b\x9e\x24\xd8\xbd\x3c\xf1\x71\xe3\x6f\x05\xc0\x63\x34\x87\x31\x10\xb9\xc2\xd1\xa3\x02\x0b\x66\x0a\xac\xb1\x96\x82\xd7\x71\xe0\x2c\x4d\x80\xdb\xfc\xdd\x11\xed\xf7\x55\x3a\xba\xd4\xcd\x0c\xee\x0f\xc5\xe8\x1e\x94\xc4\x81\x0a\x2c\x49\x7f\x3d\x0f\xfa\x21\xbf\x7a\x31\xb6\xa8\x35\xda\xf1\xf6\x09\xe2\x3c\xd6\x4f\x81\xc1\x71\x6a\xf8\x5b\x92\x33\xb5\x47\xe6\x79\xc7\x27\x55\xe6\xcb\xb1\xcb\x40\x5d\x7a\x89\x7f\xca\xa8\xc8\x15\xbb\xd5\xa2\xae\xcc\x89\xd6\x99\x81\xf3\x49\xaf\x2f\x97\xed\xb5\xa6\xf4\x19\x7d\x20\xee\xc8\xd4\xb0\xf3\xc2\x37\x5b\x88\x39\xcf\x68\x58\xbb\xf1\x01\xee\x06\xae\xcb\x75\x16\xcc\x27\xd5\x9a\x8b\xdc\x9b\x5b\x20\x8a\xaa\x4b\x5c\x14\xa5\x25\x1d\x9d\x23\x23\x97\xdd\x8d\x0e\xb8\x85\x5d\x3a\xe0\x62\x5a\x25\x4f\xb8\x97\x79\xab\x00\xb3\xaf\x42\x74\x54\xc6\xbf\x5c\xff\x22\x5c\x2f\x77\xba\xc6\xe5\x99\x74\x04\xf0\x0a\x40\x79\xd2\x23\x7d\x19\xae\xc1\x30\xc0\x3a\x77\x1e\x12\x6c\xec\x4b\xc0\x66\x1c\x3f\x9f\xae\x36\x5d\x61\x77\x23\x02\x4e\xf8\x80\x2f\xc9\x4a\x85\xeb\xb8\x01\x44\xb1\x65\xf9\xd4\xbc\x2a\x1f\x87\xce\x04\x8e\xa5\x28\x58\xd6\x5d\xd3\x3b\x13\x20\xb6\x97\xed\x30\x29\x9b\x18\x48\x83\x5c\x61\x6b\x0a\x68\x7e\x88\x74\x83\x12\x70\x78\x43\x3d\xb9\x91\xd6\x62\xfa\x36\x74\x21\x44\x5b\xe0\x0a\xf4\xc0\x6a\x34\xe5\x54\xb3\xef\xa0\xf8\xcf\x99\xd2\xe1\x74\x0c\x3d\x23\xae\x57\xf9\x7e\x1d\x19\x77\x01\x03\xd7\xec\x6f\x17\xb0\x85\xee\x3e\xa9\x5e\xe6\xc7\x4c\x37\x53\x62\x8d\x0a\x97\xb4\x40\xd3\x8c\x13\x9f\xd8\x97\x4f\x04\x9e\x3b\x4a\x8e\x83\xda\xe7\xc6\x26\xd0\x13\x9f\x92\xc6\x9a\x92\x97\x52\x70\x45\x6c\xf7\x64\x0c\x4b\x0e\xa0\xc3\xf5\xf2\xbd\xff\xd9\xa0\xcc\xa3\xac\xad\xc2\xf2\x78\x9b\xd5\x91\x09\x05\x9f\xf4\x54\xbf\x74\x2d\xa9\x93\x3f\x66\xe0\x04\xda\x86\x6b\xe4\x62\xba\x3a\x2e\x42\xa2\x30\x24\x07\xe8\x22\x79\x1b\x78\x21\x64\xc7\x95\xb1\x71\x2a\x2c\x1d\x95\x7e\x37\x70\x3a\x32\x8a\xe1\x46\x28\x88\x4c\x76\xed\x83\xd0\x87\x10\xa6\x21\x2d\xd1\x3c\xc4\x66\xac\x8f\x4b\x8c\x65\xe8\xad\x64\x72\x61\xe4\x17\x86\xda\xc8\x15\xc4\x72\x99\xff\x9b\x57\x25\x79\xc2\xb5\xa2\x7a\xf3\x72\x35\x8c\x3f\x2b\xa4\xc1\x1f\x86\xca\xb0\x7c\x65\xca\x9f\x0f\x70\x35\x54\xb1\x62\xb7\x3c\x37\x06\xad\xd4\xf7\xe1\x0d\x95\xb8\x47\xca\x79\x8c\x09\x23\x61\xb4\x3e\x08\x65\x69\xd4\x02\xd5\x5f\x72\xca\x7a\xa7\x8e\xe9\x5d\x93\x43\xc3\x81\x19\x6b\xcf\x8f\x8c\xfb\x0b\x80\x5d\x41\x8d\x51\xcc\xab\x37\x7f\x64\x6b\x39\x34\xb4\xc6\x77\x3b\xa4\xcd\x97\x5a\x0f\x12\x08\x4a\x33\x7d\x43\x5d\x46\x11\x55\x06\x56\x34\x5f\x83\xcb\xa2\x64\xa9\x58\xf7\xac\x21\x8c\x63\x82\x1b\x22\xb8\xbd\x1a\xc3\x68\x4d\x6d\xcc\x3b\x71\xe4\x45\xd5\x70\x7b\x9a\x5a\x6b\xa9\xe7\xfc\x24\x05\xb2\x59\xa6\x53\x1e\x93\x7b\x8e\xa4\xac\x7f\x8f\xa8\xaa\xff\x40\xc5\x70\xfa\x5b\xd4\x88\xe2\x89\xb7\x3e\x0a\x05\xe9\x4c\xe0\xbb\xa7\xe4\xb2\xf2\xcd\x8b\x3a\x3f\xdf\x91\xeb\x5e\xa2\xb0\x04\xf9\x15\x00\xd8\x4b\xfd\x36\x19\x9f\x9a\xa9\xa0\xb3\xf6\x6a\xf8\x16\xf0\xb9\xb4\x62\xd7\x96\x02\xa1\x2e\x70\x5e\xc6\x2c\x00\xce\xcb\x61\x07\x0e\x09\xbb\x25\xd4\x90\x76\xbf\x75\x01\x1c\xe1\x9d\x4e\xa7\xff\x6e\xf6\xdd\xc4\xff\xfc\xc1\x34\xc8\x1b\xf5\xbd\xa4\x9f\x66\x61\x67\x92\xe3\xfb\xf0\x95\x3d\x9a\x0c\x25\xdc\x36\xb2\x45\x04\x6c\x01\xff\x8f\x98\x97\x53\x29\x62\x4f\x3c\x9e\xac\x95\x82\x36\xda\xa0\xaa\x02\x69\x96\x84\x0d\x48\xdc\x63\x3c\xeb\xb5\xef\x48\x4b\xa7\xcd\xf1\xb7\x6a\x27\xa8\x03\xc4\xea\x46\x4e\xb3\x0c\x55\x73\x14\x7b\xa7\x83\xf0\xe4\x28\x69\xbf\xa9\x97\x0b\x61\xd5\xed\x05\xb7\x90\xf6\xa9\x3b\xab\x2f\x93\x9e\xef\xc9\xef\xad\x86\x77\xe5\x9a\x03\x7e\x3a\xb2\x30\x3c\xe9\x7f\xfd\x53\xe3\xce\x33\x69\xba\x4c\x48\xec\xeb\x3a\xae\xdc\xb4\x08\x9a\x97\xeb\x59\xfc\x97\x88\x20\x47\x39\xd5\xe6\xdf\x7c\x8d\xc3\x26\x99\x4b\xdc\xd1\x80\x3c\xb4\xb5\x21\xff\x66\x47\xde\x95\x90\xdf\xcb\x2c\x57\x05\x10\xa6\x19\x11\x87\x03\xe8\x2e\x7e\x45\xa5\x4e\x28\x7a\x8c\x73\x4d\x02\x94\xa8\xb2\xcd\x07\xff\xa3\x2e\x40\x0e\xdc\xd5\xbb\xf8\x6b\x2d\xd2\xf0\x9c\x2b\x72\x01\x8b\x17\xe5\x4d\xeb\xad\x47\xb8\x39\xe9\x8c\xeb\xea\xd5\xce\x68\xa4\x39\xe5\xeb\x42\x79\x45\xdf\xdd\x16\x8a\xc7\x02\x6a\x5c\x9c\x33\xc6\xc3\xce\x0b\x98\xf8\x32\xd7\xad\x16\xae\xcd\xb0\x18\x91\x90\x4f\x60\x42\xa4\xc9\x8e\x5f\x41\x20\x9b\x44\x88\xe6\xc9\x9e\xf1\x16\xf4\x3c\x48\x9f\x51\xe3\x06\x47\x66\x42\x19\x4f\xe0\x53\x50\x77\xc9\x4f\xc8\x0c\x5a\xba\x2e\x26\xe6\x1c\x77\xb1\xfc\x5f\xe9\xda\xd4\x79\x68\xbb\x41\x14\xba\xa6\x14\xd2\x34\xe3\xb0\xbe\x0d\x5a\xbe\xc9\xe6\x0d\x72\xc6\x95\x6a\x79\x78\x09\xb5\x1e\x16\xb6\xf4\x90\x29\xd2\xf4\xb2\x26\x6d\x3a\x8b\x9b\x56\x70\x99\xb5\x56\xc2\x68\x5a\x00\xbd\x84\x23\x8a\x90\x80\xaa\x02\x2c\x35\x7a\xd6\xd4\x54\xbd\x75\x94\xa0\x29\xeb\x42\x84\xa9\x73\xb4\x8e\x63\x92\xf4\x25\xb7\x03\x01\xb8\xc5\x14\x77\x50\x04\x90\xb7\x65\xc6\xb7\x00\x15\xbd\xd9\x9f\x51\xc2\xd1\x99\x5d\x80\xba\x04\x50\x8d\x6e\x66\xeb\x56\x69\x5c\xcc\xf6\x3d\x50\xcc\x40\xb0\x2c\x80\xc3\x88\x6c\xe7\x5d\x8a\x02\xab\xbb\x71\x49\xda\xce\xd8\xff\x3e\x8d\xfc\x16\x9f\xb4\x60\x31\xc4\xc0\xf1\x90\x60\xda\xba\x08\xd3\x5d\x34\x02\xb2\x0c\xb0\x41\x7f\x14\xef\x18\x4f\x5f\x53\x1f\x46\x95\xba\x48\x32\xa8\xb6\x39\x1b\x13\xf3\xab\xcd\xd2\xc0\x5b\x51\x68\xc3\x0f\xe3\xcd\xe8\x67\x7f\xf7\x38\x83\x6a\xa8\x5b\x7e\xf9\x01\x48\xb2\x55\x6b\x79\x0b\xd9\xbd\xa3\xd1\x08\xea\x37\xb0\x3a\xcf\xd0\x9a\x54\x4a\x8e\x85\x84\x36\x43\xf3\x13\x68\xcf\xc2\x26\xa9\x30\xdc\x74\x96\xed\x4c\x99\x66\xe3\xde\x92\x63\x79\x33\xee\x7b\xfd\xf1\x2b\xbf\xba\xc0\x23\x4a\x74\xe2\x89\xbd\xb3\x7a\x52\x2b\xd0\x47\xa1\x00\x7a\x36\x87\xa2\x1b\xc9\xb0\xcf\xf8\x08\x74\x27\x7d\x82\x5b\xdb\xab\x84\x5c\x1a\xc5\x04\x60\x56\x3d\x08\xb1\xe0\x4a\x7f\x10\x86\xe6\x77\x93\x19\x88\xd5\xcd\x6f\x97\x47\x06\xd6\x4f\x63\xe8\x44\x91\xb3\x02\x88\x8f\x8b\x8f\x0f\x42\x99\x7f\x5e\xdd\x25\x10\xf2\x6a\x0b\x16\xd7\x03\x8b\xec\x87\x13\x09\x38\x9c\xab\x6f\x57\x61\xa2\xb9\xf0\x01\x11\xbc\x44\x41\xbb\xfa\xde\x0e\xca\x7c\xea\x5b\x0b\x8d\xac\xa7\x36\xe6\x15\x05\x03\xaa\xe8\x79\xf7\x2d\x10\x83\x61\xca\x31\xba\xfb\xf4\xe0\xc2\xe9\xeb\xd7\xaf\x57\x26\x5b\xb0\x4c\x38\x89\x23\xa0\x0b\x4c\x59\x08\x8a\x2f\x7b\x76\x7b\x14\xf3\x98\x2e\x64\x2e\x7b\x3d\xd9\x4d\xc6\xf4\xb6\xb0\x11\x3c\x9d\x49\xf8\x0a\x3e\x16\x9c\x10\x60\x89\x35\x39\xff\xc3\x23\x7d\x6e\xcc\xf4\x92\x0a\x9b\x50\xa8\x60\xee\xd1\x27\xa2\x2f\xfe", 4096); struct csum_inet csum_1; csum_inet_init(&csum_1); csum_inet_update(&csum_1, (const uint8_t*)0x1000001a, 16); csum_inet_update(&csum_1, (const uint8_t*)0x1000002a, 16); uint32_t csum_1_chunk_2 = 0x12100000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_2, 4); uint32_t csum_1_chunk_3 = 0x3a000000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_3, 4); csum_inet_update(&csum_1, (const uint8_t*)0x1000022a, 4114); *(uint16_t*)0x1000022c = csum_inet_digest(&csum_1); memcpy((void*)0x10001240, "\xf2\x26\x33\x54\x5b\x41\xc4\xc2\xb1\xde\x3a\x0f\x4b\xbe\x11\x14\x00\x00\xc4\xc2\x31\xdc\x03\xc4\xc2\x4d\x96\x1c\x5f\x66\x0f\x38\x21\x47\x1e\xc4\xe1\x85\xd8\x71\x28\xc4\xc3\xc5\xcf\x8e\x0e\x08\x00\x00\xfe\xd1\x62\x00\xc4\xc2\x2d\x40\x11", 59); syz_execute_func(0x10001240); } int main(void) { syscall(SYS_mmap, 0x10000000, 0x1000000, 7, 0x1012, -1, 0); use_temporary_dir(); do_sandbox_none(); return 0; } :226:10: error: use of undeclared identifier 'SYS___realpathat' syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); ^ 1 error generated. compiler invocation: clang [-o /tmp/syz-executor061148848 -DGOOS_freebsd=1 -DGOARCH_386=1 -DHOSTGOOS_freebsd=1 -x c - -m32 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -static -lc++ -Wno-overflow] --- FAIL: TestGenerate/freebsd/386/11 (1.19s) csource_test.go:123: opts: {Threaded:true Collide:false Repeat:true RepeatTimes:0 Procs:0 Sandbox:none Fault:false FaultCall:0 FaultNth:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false USB:false VhciInjection:false Wifi:false UseTmpDir:true HandleSegv:true Repro:false Trace:false} program: r0 = fcntl$dupfd(0xffffffffffffff9c, 0x11, 0xffffffffffffff9c) setsockopt$inet_sctp_SCTP_AUTOCLOSE(r0, 0x84, 0x5, &(0x7f0000000000)=0x5, 0x4) cap_rights_limit(r0, &(0x7f0000000040)=[0x6, 0xa9]) setsockopt$inet_sctp_SCTP_EVENTS(r0, 0x84, 0xc, &(0x7f0000000080)={0x20, 0x81, 0x3, 0x20, 0x20, 0xf7, 0xff, 0x7, 0x4, 0x40, 0x4}, 0xb) setsockopt$inet_sctp_SCTP_RESET_STREAMS(r0, 0x84, 0x901, &(0x7f00000000c0)={0x0, 0x9, 0x3, [0x1, 0xffff, 0x8000]}, 0xe) r1 = accept(r0, &(0x7f0000000100)=@un=@file={0x6e, 0x0, ""/108}, &(0x7f0000000180)=0x6e) __realpathat(r1, &(0x7f00000001c0)='./file0\x00', &(0x7f0000000200)=""/5, 0x5, 0x0) r2 = socket$inet_icmp_raw(0x2, 0x3, 0x1) fcntl$getown(r2, 0x5) getsockopt$inet6_sctp_SCTP_PRIMARY_ADDR(r1, 0x84, 0x7, &(0x7f0000000240)={@in6={{0x1c, 0x1c, 0x1, 0x7f, @loopback, 0xfffff9b1}}}, &(0x7f00000002c0)=0x80) syz_emit_ethernet(0x123c, &(0x7f0000000000)={@remote, @remote, [{[], {0x8100, 0x5, 0x1, 0x3}}], {@ipv6={0x86dd, {0x7, 0x6, "c3cb10", 0x1202, 0x2f, 0x1, @rand_addr="cdd9639d818e3c5354e423e67c0261ce", @rand_addr="9aa3a73eacf47f646cf70032c9d108ee", {[@hopopts={0x36, 0x1e, [], [@enc_lim={0x4, 0x1, 0x1}, @jumbo={0xc2, 0x4, 0x7}, @padn={0x1, 0x2, [0x0, 0x0]}, @generic={0xff, 0xe2, "6643d230d2ebee2da66799233fd3953c637fbff58a08fe47946de86f44bcf9e809d627768d7e38be69808921c800a8ca76dba12e6b01e8b0b852821fe46d8d1b863c6ed1f386d2779a2983036a403ec804bbc1ce77c679d945e9c0b836352e6f8ee210ede5f8eb2937afc8307287e8a27e8fc66de2ef50421840455126dc362d0994a2a2db619ca5b70f615b719413594471a2efad9e7e22a5400361abac231575d1b498781612296d932e4832dd0c9f6709c2f81038bbcde5c27832bae014b13b9b93b41374f997c188d74a33960b2b2948a2eb3211c2aca855f616f2223f4746ce"}, @enc_lim={0x4, 0x1, 0x1f}]}, @routing={0x31, 0x4, 0x0, 0x5, 0x0, [@ipv4={[], [], @broadcast}, @empty]}, @routing={0x58, 0x8, 0x1, 0x81, 0x0, [@local={0xfe, 0x80, [], 0x0}, @mcast1, @local={0xfe, 0x80, [], 0x0}, @loopback]}, @routing={0x59, 0xc, 0x0, 0x3, 0x0, [@rand_addr="d691f228498c816bd931bf11ea3cb358", @empty, @loopback, @rand_addr="4046fbe3c1e1669f072dd9ee3ba11696", @ipv4={[], [], @broadcast}, @mcast1]}, @fragment={0x27, 0x0, 0x91, 0x1, 0x0, 0x6, 0x66}, @hopopts={0x26, 0x0, [], [@ra={0x5, 0x2, 0x5}]}], @icmpv6=@ndisc_ra={0x86, 0x0, 0x0, 0x0, 0x9, 0x9, 0x401, 0x7fffffff, [{0x1, 0x200, "d145ff576d7fe933a6f7ae4bd47d7aec4360a335727c0267ff79e34d036694ea6d8de62ebb1941f6b9a95a6c95fa33d4a6ddfe3be408148daca556b6b4dfebef869da93cfa26fb8e16509febb321011f508eec7502824442d8620519d7ce359284ef093639001b689f9443260584dfaf819313726c4495ac4c3203aa603e26f374d696cdb36fb00e6c412edbefc16270c783d3a1ada35a07cd9225f21b9570f801a960e06d96556b9eaca234f12861444231c94aee6315fb199f69eebdf9fdb0bdb89902e0eb69bbdf9730aa371b84b02e9ab5f3a4f99f9205694f062460e286b1abef3936fdf183bd7c95a9d99b57827dea1814e0e2dc58a677f2ae6c73de4e27fe8856e417fd266088008abe5d38d74ea0bdc6d046c5d3f45e2ee47a440c5dfc30459b219bb3b1302feb6b36a6e524b1db70d57efe32823b0ad037a3c204c77748b85fd88abf24ef0717eac90e235d91764b48bb1dcc3c9177fc4b0fc997d3d4e90702872bf0d8702194e22577353e557c0041f106e5dee1d24f243ab7c07b4335a6886c04061e84966599b68c676e966008a7905f1706048334501a3608305330cb8b447a1698fa9646c73cd758871c1e8b96889ae3372a5fef5b03ef56d1608eae44a863b05991f626447730df97f33686e5cb72554a1a8ace8b530d3e60452352d9e93ed031852eb2dc87903a1346c3962ced8f4fd2c07e01843d19e253653fcc7eb3e710b546e1180844d95e67143def4619375d71173729dfabeecddd0239456fd1f563bedd3e8aa7bd29ce40bfb72e832324cf0e7ed960bc4cdd81a1d1c4d3a2f984218a8f7ce9288fb57b315c475a57c2d56743ba3987ad1fe69af5a391cdb9c8a551723340c3d1c989b5da33771f797e8993ef51546e9849ba61a3cb3babbc5b33fc9e883b3ee41e6d8c675841718b908092b2c4da4c1a78a17bee0c409d03cd8bed2d56a46ee7721b5659be3fa5cd0e89bceffaffaf1e95716adc762554c496a40282cb6d85f4e0e29fd76574001b893d0ffc8c94a187829e24546d890439547b81c18c4865be4cb57e06e319c5007d43459ec3aa20ce72f7883cbda6a303c343fbed7f62b2f2ac9f5d24842e8abae1c9e32954b0d0d60242891b1fae40d03283f33c0948e161fa2f9ffb77b72ce969718768282c45ae089faf80ecaff1658114a78d8b13833958a360fe8bead9b485d5dcc701812a559c6d04a22fe59d3f6fc0fcc7cbbbc4450a58bee99560579eff8d7846d062253d15d5e6b20a78134014323bc31f3dbfa53e2ede137e3c1129ba8db638a95972e1a7223504af10a149154fa581b9dbc516289cff0d655888592199c77fa553f07db009ee2a42c5412df9fe612d108ee2d595cbb0bf59776646cb7c83e3551a91c0aca05de20d0bfc6c1f8f5c9492f22e5714ea0cbab5763194996c818545c0997ff555e5d136aea50a7a93dc40340a725da5ca7ea45a483d2c9da67a254d6ebdb6e20270beb33373321d922375207bf54707e1d97d52a6930b4287cd0dc6d8d3346e388fe41fca91162739a30c97da08cc3f42b3f54382dcdef5d0e7670b8c98c0533bf6c53d58688d9b958b23a91a8a6f2ffad419e01e2bb776cc3213fef59a7034d835c022dad02994624c55855b09e266e416a66939fc3664e441b99d7ffa0b83bfd0b0d752de0baedc1746b4938201972253924b0a68641e7c935fbb4189e5fdc391a29e331151fe720bfbc06825ba0766e421a2613fc0b78ceeb3817f262c90f66e7cfa0533c17ac71b0b1f94ffb02e3807b6247e968cedb141206edf0ca6f98fd919fa5279fe208799d82ab3a70b9b4baea410dc7cb3933782d63fe42807cf0fa7f5c9ae0cd4d0a0294692d3629d9881dad532b34efd702d8eaf0ac20378e62b36460656e0e887c44959552c9620e9ec3e73fee5ca0e5a6dd767b7b7a97ac4c77e709ce7859f21f0be66c9be7f445fb15f7bf4c8124a567fbfe0d379f08cb1b816f4c720ef5e3a6a083b5be05694a0d3d3ac784fc4399b1ccb7482ca0a1182166403565a9f7d4b0b71cccd20b952aee3be5c9ab10663e08aa419c8dee91e6f9bc58377e949d7251a445e1a7f87933dbbac2703f5d111de77b9dc5de5a53b90ee18ef9ab6a154f3f2500df04124645a6f09edb80c2fed4f30ffc4659176a6d3633db7c6c6c7acdc9332fbfc34f63543f99c3e7283ab9a98e8073e2c1a3158158976f06a520975b2f565936521babdd27fce006d30f5d75053847e6124940f3ef663e7e12e206e8dccc221a2381a1762f3e6ebbd37eb7a5409498e19eeab8b75cfbd7522a3ef45a236ad0b7129154e44436bd8b8da1323469c150cd487746247d06f12ae67fa30dc79f4df5cc8c1f86e8b35689b5a2c32e50777cf132f14c4cd2fb8f3760a66ec723e29624f8a974953350ca8853239944e33727d5965e10c8da5a8fcb4033ea2f96cad4d33524d181844b5a6a2a3a0c0a3572e4354b5f0bb6c727bcf02d31f66742bcd3e3767c70b1fa695812896ed053934abee8dea4ca8242b1fe1409717ddca6676b358e7930dc927f688c22e2ae6296ff2ed3c8519f3f8d49c3a7183d4aa0da4e3c7a652d539bff9ab1952aa13c002a0a8e7128b4e4ab441fcc905a0f26f9f6b5fa31360d5c24845ad876577bb0e1fcfed3101aedf14a73c0ce03e36360c01eee27342c1fa46d72474cd519e57837c250cedf09a31e45deb383587c5aee4c36fe2a8df37240de321a6a1c6fc656b5e6b28ffa25f40a723a5d13cbe7b42b4f62f60ccfbaa4ffeb00ca3b6d94119c0594aa5e11af8055b10d1a5a9900bd25b850c993c3bd9a941bded209dc4c74e9421b84c81c624dfffd12f397cc79101da2aac938a23aa49908f3f1ff41fc60dba8240a04f0941784a2284aaebdcc8143910ab01780e463dfb8be387b99346fbf8676e7f3e92420502a98eaa6d710b064f016dce0d6dc41956aea4fc9f304394b321c78141ad4c8d6527d7e946cff3fe06b252ae992837f0a9b9be2fb5d6358e419f9f30c4358906a82685fc734d2d2497a152cbe965f7e3220d437a7e64e9d1cef4092d0f8e731910d04e15df205b130979e1b8710faa5804642ceca6667c9dfe3747ee43cd73466204470987d0e76af237218ccb37bd77a39a09918e74aaf597bd3fbd79bba735c5ce6e81c559c986bbf60755170b30474a9e7caa5e83a42f19f79b186ec3af3bf1112c00cf05bff72a0d1698a94a871c4e8a0797d4d7f3c3e7e2a27ca7b9386f16c0473395fe85b280f9aba2efdaa08bcc7f2f2c301e165d626c83285bddf052cba134df3bbdd1e8f46415bbb391e05b1e475f344c1012cca9a72fb122c25d7f85c92a74fe7350a909dfee05b8a87557ad0cbc5912dcbdf9373a5e413b8375df15d4d8a06f4ced1259a8165389acc897cfd01c0dbea278144d079440086f7febdcf7aa7eec023993df73d8d0d46163add80a7c686789331c15aa22c8cafd5df40d4561f6f24759eb3d6a97ea01a3a3368ea8b1cf6fff8bf58ac225528d7a17d21edfa6eacfc5aab6f785a0b3003ab6ee0de9423cd363b14d03e102f445b23c14a536d7b231243288f288da44f8a5e8bc1f13b8cec7cb6a2a569636163a098b2f40f45c43564f1aa8b916426e77510936202363fe0dd717450cca9e8cbde8dffc9b9e24d8bd3cf171e36f05c06334873110b9c2d1a3020b660aacb19682d771e02c4d80dbfcdd11edf7553abad4cd0cee0fc5e81e94c4810a2c497f3d0ffa21bf7a31b6a835daf1f609e23cd64f81c1716af85b9233b547e679c72755e6cbb1cb405d7a897fcaa8c815bbd5a2aecc89d69981f349af2f97edb5a6f4197d20eec8d4b0f3c2375b8839cf6858bbf101ee06aecb7516cc27d59a8bdc9b5b208aaa4b5c14a5251d9d232397dd8d0eb8855d3ae0625a254fb89779ab00b3af427454c6bf5cff225c2f77bac6e5997404f00a4079d2237d19aec130c03a771e126cec4bc0661c3f9fae365d617723024ef8802fc94a85ebb80144b165f9d4bc2a1f87ce048ea52858d65dd33b1320b697ed30299b1848835c616b0a687e887483127078433db991d662fa367421445be00af4c06a34e554b3efa0f8cf99d2e1740c3d23ae57f97e1d19770103d7ec6f17b085ee3ea95ee6c74c3753628d0a97b440d38c139fd8974f049e3b4a8e83dae7c626d0139f92c69a92975270456cf7640c4b0ea0c3f5f2bdffd9a0cca3acadc2f2789bd59109059ff454bf742da9933f66e004da866be462ba3a2e42a2302407e822791b782164c795b1712a2c1d957e37703a328ae14628884c76ed83d08710a6212dd13cc466ac8f4b8c65e8ad647261e41786dac815c47299ff9b572579c2b5a27af372358c3f2ba4c11f86cab07c65ca9f0f703554b162b73c3706add4f7e10d95b847ca798c092361b43e086569d402d55f72ca7aa78ee95d9343c381196bcf8f8cfb0b805d418d51ccab377f646b3934b4c6773ba4cd975a0f12084a337d435d4611550656345f83cba264a958f7ac218c63821b22b8bd1ac3684d6dcc3b71e445d5707b9a5a6ba9e7fc2405b259a6531e937b8ea4ac7f8fa8aaff40c570fa5bd488e289b73e0a05e94ce0bba7e4b2f2cd8b3a3fdf91eb5ea2b004f91500d84bfd36199f9aa9a0b3f66af816f0b9b462d79602a12e705ec62c00cecb61070e09bb25d49076bf75011ce19d4ea7ff6ef6ddc4fffcc134c81bf5bda49f66616792e3fbf0953d9a0c25dc36b245046c01ff8f98975329624f3c9eac958236daa0aa026996840d48dc633cebb5ef484ba7cdf1b76a27a803c4ea464eb30c5573147ba783f0e42869bfa9970b61d5ed05b790f6a93bab2f939eefc9efad8677e59a037e3ab2303ce97ffd53e3ce3369ba4c48eceb3aaedcb4089a97eb59fc9788204739d5e6df7c8dc326994bdcd1803cb4b521ff6647de9590dfcb2c570510a619118703e82e7e45a54e287a8c734d0294a8b2cd07ffa32e400edcd5bbf86b2dd2f09c2b72018b17e54debad47b839e98cebead5ce68a439e5eb427945dfdd168ac7026a5c9c33c6c3ce0b98f832d7ad16aecdb01891904f6042a4c98e5f41209b4488e6c99ef116f43c489f51e306476642194fe0535077c94fc80c5aba2e26e61c77b1fc5fe9dad47968bb4114baa614d234e3b0be0d5abec9e60d72c6956a797809b51e16b6f49029d2f4b2266d3a8b9b567099b556c2685a00bd84238a9080aa022c357ad6d454bd7594a029eb4284a973b48e6392f425b70301b8c51477500490b765c6b70015bdd99f51c2d1995d80ba04508d6e66eb56695cccf63d50cc40b02c80c3886ce75d8a02abbb7149daced8ff3e8dfc169fb46031c4c0f19060daba08d35d3402b20cb0417f14ef184f5f531f4695ba4832a8b6391b13f3abcdd2c05b5168c30fe3cde8677ff738836aa85b7ef90148b2556b790bd9bda3d108ea37b03acfd09a544a8e85843643f31368cfc226a930dc7496ed4c9966e3de92637933ee7bfdf12bbfbac0234a74e289bdb37a522bd047a1007a3687a21bc9b0cff80874277d825bdbab845c1ac50460563d08b1e04a7f1086e677931988d5cd6f974706d64f63e84491b302888f8b8f0f42997f5edd2510f26a0b16d7038bec871309389cab6f5761a2b9f00111bc4441bbfade0eca7cea5b0b8daca736e6150503aae879f72d108361ca31bafbf4e0c2e9ebd7af57265bb04c388923a00b4c59088a2f7b767b14f3982e642e7b3dd94dc6f4b6b0113c9d49f80a3e169c1060893539ffc3237d6eccf4920a9b50a860eed127a22ffe"}]}}}}}}) syz_execute_func(&(0x7f0000001240)="f22633545b41c4c2b1de3a0f4bbe11140000c4c231dc03c4c24d961c5f660f3821471ec4e185d87128c4c3c5cf8e0e080000fed16200c4c22d4011") syz_extract_tcp_res(&(0x7f0000001280), 0x26e, 0x1) csource_test.go:124: failed to build program: // 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 static __thread int skip_segv; static __thread jmp_buf segv_env; static void segv_handler(int sig, siginfo_t* info, void* ctx) { uintptr_t addr = (uintptr_t)info->si_addr; const uintptr_t prog_start = 1 << 20; const uintptr_t prog_end = 100 << 20; int skip = __atomic_load_n(&skip_segv, __ATOMIC_RELAXED) != 0; int valid = addr < prog_start || addr > prog_end; if (sig == SIGBUS) { valid = 1; } if (skip && valid) { _longjmp(segv_env, 1); } exit(sig); } static void install_segv_handler(void) { struct sigaction sa; memset(&sa, 0, sizeof(sa)); sa.sa_sigaction = segv_handler; sa.sa_flags = SA_NODEFER | SA_SIGINFO; sigaction(SIGSEGV, &sa, NULL); sigaction(SIGBUS, &sa, NULL); } #define NONFAILING(...) ({ int ok = 1; __atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST); if (_setjmp(segv_env) == 0) { __VA_ARGS__; } else ok = 0; __atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST); ok; }) static void kill_and_wait(int pid, int* status) { kill(pid, SIGKILL); while (waitpid(-1, status, 0) != pid) { } } static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void 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 __attribute__((noinline)) remove_dir(const char* dir) { DIR* dp = opendir(dir); if (dp == NULL) { if (errno == EACCES) { if (rmdir(dir)) exit(1); return; } 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); struct stat st; if (lstat(filename, &st)) exit(1); if (S_ISDIR(st.st_mode)) { remove_dir(filename); continue; } if (unlink(filename)) exit(1); } closedir(dp); if (rmdir(dir)) 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); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); ev->state = 0; } static void event_reset(event_t* ev) { ev->state = 0; } static void event_set(event_t* ev) { pthread_mutex_lock(&ev->mu); if (ev->state) exit(1); ev->state = 1; pthread_mutex_unlock(&ev->mu); pthread_cond_broadcast(&ev->cv); } static void event_wait(event_t* ev) { pthread_mutex_lock(&ev->mu); while (!ev->state) pthread_cond_wait(&ev->cv, &ev->mu); pthread_mutex_unlock(&ev->mu); } static int event_isset(event_t* ev) { pthread_mutex_lock(&ev->mu); int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } static int event_timedwait(event_t* ev, uint64_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #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)))) struct csum_inet { uint32_t acc; }; static void csum_inet_init(struct csum_inet* csum) { csum->acc = 0; } static void csum_inet_update(struct csum_inet* csum, const uint8_t* data, size_t length) { if (length == 0) return; size_t i = 0; for (; i < length - 1; i += 2) csum->acc += *(uint16_t*)&data[i]; if (length & 1) csum->acc += le16toh((uint16_t)data[length - 1]); while (csum->acc > 0xffff) csum->acc = (csum->acc & 0xffff) + (csum->acc >> 16); } static uint16_t csum_inet_digest(struct csum_inet* csum) { return ~csum->acc; } static void sandbox_common() { if (setsid() == -1) exit(1); struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = 128 << 20; setrlimit(RLIMIT_AS, &rlim); rlim.rlim_cur = rlim.rlim_max = 8 << 20; setrlimit(RLIMIT_MEMLOCK, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_FSIZE, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_STACK, &rlim); rlim.rlim_cur = rlim.rlim_max = 0; setrlimit(RLIMIT_CORE, &rlim); rlim.rlim_cur = rlim.rlim_max = 256; setrlimit(RLIMIT_NOFILE, &rlim); } static void loop(); static int do_sandbox_none(void) { sandbox_common(); loop(); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } struct thread_t { int created, call; event_t ready, done; }; static struct thread_t threads[16]; static void execute_call(int call); static int running; static void* thr(void* arg) { struct thread_t* th = (struct thread_t*)arg; for (;;) { event_wait(&th->ready); event_reset(&th->ready); execute_call(th->call); __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); event_set(&th->done); } return 0; } static void execute_one(void) { int i, call, thread; for (call = 0; call < 13; 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, 45); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); #define WAIT_FLAGS 0 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); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5 * 1000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } uint64_t r[3] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: res = syscall(SYS_fcntl, 0xffffff9c, 0x11, 0xffffff9c); if (res != -1) r[0] = res; break; case 1: NONFAILING(*(uint32_t*)0x10000000 = 5); syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 5, 0x10000000, 4); break; case 2: NONFAILING(*(uint64_t*)0x10000040 = 6); NONFAILING(*(uint64_t*)0x10000048 = 0xa9); syscall(SYS_cap_rights_limit, (intptr_t)r[0], 0x10000040); break; case 3: NONFAILING(*(uint8_t*)0x10000080 = 0x20); NONFAILING(*(uint8_t*)0x10000081 = 0x81); NONFAILING(*(uint8_t*)0x10000082 = 3); NONFAILING(*(uint8_t*)0x10000083 = 0x20); NONFAILING(*(uint8_t*)0x10000084 = 0x20); NONFAILING(*(uint8_t*)0x10000085 = 0xf7); NONFAILING(*(uint8_t*)0x10000086 = -1); NONFAILING(*(uint8_t*)0x10000087 = 7); NONFAILING(*(uint8_t*)0x10000088 = 4); NONFAILING(*(uint8_t*)0x10000089 = 0x40); NONFAILING(*(uint8_t*)0x1000008a = 4); syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0xc, 0x10000080, 0xb); break; case 4: NONFAILING(*(uint32_t*)0x100000c0 = 0); NONFAILING(*(uint16_t*)0x100000c4 = 9); NONFAILING(*(uint16_t*)0x100000c6 = 3); NONFAILING(*(uint16_t*)0x100000c8 = 1); NONFAILING(*(uint16_t*)0x100000ca = -1); NONFAILING(*(uint16_t*)0x100000cc = 0x8000); syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0x901, 0x100000c0, 0xe); break; case 5: NONFAILING(*(uint32_t*)0x10000180 = 0x6e); res = syscall(SYS_accept, (intptr_t)r[0], 0x10000100, 0x10000180); if (res != -1) r[1] = res; break; case 6: NONFAILING(memcpy((void*)0x100001c0, "./file0\000", 8)); syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); break; case 7: res = syscall(SYS_socket, 2, 3, 1); if (res != -1) r[2] = res; break; case 8: syscall(SYS_fcntl, (intptr_t)r[2], 5, 0); break; case 9: NONFAILING(*(uint8_t*)0x10000240 = 0x1c); NONFAILING(*(uint8_t*)0x10000241 = 0x1c); NONFAILING(*(uint16_t*)0x10000242 = htobe16(0x4e21)); NONFAILING(*(uint32_t*)0x10000244 = 0x7f); NONFAILING(*(uint64_t*)0x10000248 = htobe64(0)); NONFAILING(*(uint64_t*)0x10000250 = htobe64(1)); NONFAILING(*(uint32_t*)0x10000258 = 0xfffff9b1); NONFAILING(*(uint64_t*)0x1000025c = 0); NONFAILING(*(uint64_t*)0x10000264 = 0); NONFAILING(*(uint64_t*)0x1000026c = 0); NONFAILING(*(uint64_t*)0x10000274 = 0); NONFAILING(*(uint64_t*)0x1000027c = 0); NONFAILING(*(uint64_t*)0x10000284 = 0); NONFAILING(*(uint64_t*)0x1000028c = 0); NONFAILING(*(uint64_t*)0x10000294 = 0); NONFAILING(*(uint64_t*)0x1000029c = 0); NONFAILING(*(uint64_t*)0x100002a4 = 0); NONFAILING(*(uint64_t*)0x100002ac = 0); NONFAILING(*(uint64_t*)0x100002b4 = 0); NONFAILING(*(uint32_t*)0x100002bc = 0); NONFAILING(*(uint32_t*)0x100002c0 = 0x80); syscall(SYS_getsockopt, (intptr_t)r[1], 0x84, 7, 0x10000240, 0x100002c0); break; case 10: NONFAILING(*(uint8_t*)0x10000000 = 0xaa); NONFAILING(*(uint8_t*)0x10000001 = 0xaa); NONFAILING(*(uint8_t*)0x10000002 = 0xaa); NONFAILING(*(uint8_t*)0x10000003 = 0xaa); NONFAILING(*(uint8_t*)0x10000004 = 0xaa); NONFAILING(*(uint8_t*)0x10000005 = 0xbb); NONFAILING(*(uint8_t*)0x10000006 = 0xaa); NONFAILING(*(uint8_t*)0x10000007 = 0xaa); NONFAILING(*(uint8_t*)0x10000008 = 0xaa); NONFAILING(*(uint8_t*)0x10000009 = 0xaa); NONFAILING(*(uint8_t*)0x1000000a = 0xaa); NONFAILING(*(uint8_t*)0x1000000b = 0xbb); NONFAILING(*(uint16_t*)0x1000000c = htobe16(0x8100)); NONFAILING(STORE_BY_BITMASK(uint16_t, , 0x1000000e, 5, 0, 3)); NONFAILING(STORE_BY_BITMASK(uint16_t, , 0x1000000e, 1, 3, 1)); NONFAILING(STORE_BY_BITMASK(uint16_t, , 0x1000000e, 3, 4, 12)); NONFAILING(*(uint16_t*)0x10000010 = htobe16(0x86dd)); NONFAILING(STORE_BY_BITMASK(uint8_t, , 0x10000012, 7, 0, 4)); NONFAILING(STORE_BY_BITMASK(uint8_t, , 0x10000012, 6, 4, 4)); NONFAILING(memcpy((void*)0x10000013, "\xc3\xcb\x10", 3)); NONFAILING(*(uint16_t*)0x10000016 = htobe16(0x1202)); NONFAILING(*(uint8_t*)0x10000018 = 0x2f); NONFAILING(*(uint8_t*)0x10000019 = 1); NONFAILING(memcpy((void*)0x1000001a, "\xcd\xd9\x63\x9d\x81\x8e\x3c\x53\x54\xe4\x23\xe6\x7c\x02\x61\xce", 16)); NONFAILING(memcpy((void*)0x1000002a, "\x9a\xa3\xa7\x3e\xac\xf4\x7f\x64\x6c\xf7\x00\x32\xc9\xd1\x08\xee", 16)); NONFAILING(*(uint8_t*)0x1000003a = 0x36); NONFAILING(*(uint8_t*)0x1000003b = 0x1e); NONFAILING(*(uint8_t*)0x1000003c = 0); NONFAILING(*(uint8_t*)0x1000003d = 0); NONFAILING(*(uint8_t*)0x1000003e = 0); NONFAILING(*(uint8_t*)0x1000003f = 0); NONFAILING(*(uint8_t*)0x10000040 = 0); NONFAILING(*(uint8_t*)0x10000041 = 0); NONFAILING(*(uint8_t*)0x10000042 = 4); NONFAILING(*(uint8_t*)0x10000043 = 1); NONFAILING(*(uint8_t*)0x10000044 = 1); NONFAILING(*(uint8_t*)0x10000045 = 0xc2); NONFAILING(*(uint8_t*)0x10000046 = 4); NONFAILING(*(uint32_t*)0x10000047 = htobe32(7)); NONFAILING(*(uint8_t*)0x1000004b = 1); NONFAILING(*(uint8_t*)0x1000004c = 2); NONFAILING(*(uint8_t*)0x1000004d = 0); NONFAILING(*(uint8_t*)0x1000004e = 0); NONFAILING(*(uint8_t*)0x1000004f = -1); NONFAILING(*(uint8_t*)0x10000050 = 0xe2); NONFAILING(memcpy((void*)0x10000051, "\x66\x43\xd2\x30\xd2\xeb\xee\x2d\xa6\x67\x99\x23\x3f\xd3\x95\x3c\x63\x7f\xbf\xf5\x8a\x08\xfe\x47\x94\x6d\xe8\x6f\x44\xbc\xf9\xe8\x09\xd6\x27\x76\x8d\x7e\x38\xbe\x69\x80\x89\x21\xc8\x00\xa8\xca\x76\xdb\xa1\x2e\x6b\x01\xe8\xb0\xb8\x52\x82\x1f\xe4\x6d\x8d\x1b\x86\x3c\x6e\xd1\xf3\x86\xd2\x77\x9a\x29\x83\x03\x6a\x40\x3e\xc8\x04\xbb\xc1\xce\x77\xc6\x79\xd9\x45\xe9\xc0\xb8\x36\x35\x2e\x6f\x8e\xe2\x10\xed\xe5\xf8\xeb\x29\x37\xaf\xc8\x30\x72\x87\xe8\xa2\x7e\x8f\xc6\x6d\xe2\xef\x50\x42\x18\x40\x45\x51\x26\xdc\x36\x2d\x09\x94\xa2\xa2\xdb\x61\x9c\xa5\xb7\x0f\x61\x5b\x71\x94\x13\x59\x44\x71\xa2\xef\xad\x9e\x7e\x22\xa5\x40\x03\x61\xab\xac\x23\x15\x75\xd1\xb4\x98\x78\x16\x12\x29\x6d\x93\x2e\x48\x32\xdd\x0c\x9f\x67\x09\xc2\xf8\x10\x38\xbb\xcd\xe5\xc2\x78\x32\xba\xe0\x14\xb1\x3b\x9b\x93\xb4\x13\x74\xf9\x97\xc1\x88\xd7\x4a\x33\x96\x0b\x2b\x29\x48\xa2\xeb\x32\x11\xc2\xac\xa8\x55\xf6\x16\xf2\x22\x3f\x47\x46\xce", 226)); NONFAILING(*(uint8_t*)0x10000133 = 4); NONFAILING(*(uint8_t*)0x10000134 = 1); NONFAILING(*(uint8_t*)0x10000135 = 0x1f); NONFAILING(*(uint8_t*)0x1000013a = 0x31); NONFAILING(*(uint8_t*)0x1000013b = 4); NONFAILING(*(uint8_t*)0x1000013c = 0); NONFAILING(*(uint8_t*)0x1000013d = 5); NONFAILING(*(uint32_t*)0x1000013e = 0); NONFAILING(*(uint8_t*)0x10000142 = 0); NONFAILING(*(uint8_t*)0x10000143 = 0); NONFAILING(*(uint8_t*)0x10000144 = 0); NONFAILING(*(uint8_t*)0x10000145 = 0); NONFAILING(*(uint8_t*)0x10000146 = 0); NONFAILING(*(uint8_t*)0x10000147 = 0); NONFAILING(*(uint8_t*)0x10000148 = 0); NONFAILING(*(uint8_t*)0x10000149 = 0); NONFAILING(*(uint8_t*)0x1000014a = 0); NONFAILING(*(uint8_t*)0x1000014b = 0); NONFAILING(*(uint8_t*)0x1000014c = -1); NONFAILING(*(uint8_t*)0x1000014d = -1); NONFAILING(*(uint32_t*)0x1000014e = htobe32(-1)); NONFAILING(*(uint8_t*)0x10000152 = 0); NONFAILING(*(uint8_t*)0x10000153 = 0); NONFAILING(*(uint8_t*)0x10000154 = 0); NONFAILING(*(uint8_t*)0x10000155 = 0); NONFAILING(*(uint8_t*)0x10000156 = 0); NONFAILING(*(uint8_t*)0x10000157 = 0); NONFAILING(*(uint8_t*)0x10000158 = 0); NONFAILING(*(uint8_t*)0x10000159 = 0); NONFAILING(*(uint8_t*)0x1000015a = 0); NONFAILING(*(uint8_t*)0x1000015b = 0); NONFAILING(*(uint8_t*)0x1000015c = 0); NONFAILING(*(uint8_t*)0x1000015d = 0); NONFAILING(*(uint8_t*)0x1000015e = 0); NONFAILING(*(uint8_t*)0x1000015f = 0); NONFAILING(*(uint8_t*)0x10000160 = 0); NONFAILING(*(uint8_t*)0x10000161 = 0); NONFAILING(*(uint8_t*)0x10000162 = 0x58); NONFAILING(*(uint8_t*)0x10000163 = 8); NONFAILING(*(uint8_t*)0x10000164 = 1); NONFAILING(*(uint8_t*)0x10000165 = 0x81); NONFAILING(*(uint32_t*)0x10000166 = 0); NONFAILING(*(uint8_t*)0x1000016a = 0xfe); NONFAILING(*(uint8_t*)0x1000016b = 0x80); NONFAILING(*(uint8_t*)0x1000016c = 0); NONFAILING(*(uint8_t*)0x1000016d = 0); NONFAILING(*(uint8_t*)0x1000016e = 0); NONFAILING(*(uint8_t*)0x1000016f = 0); NONFAILING(*(uint8_t*)0x10000170 = 0); NONFAILING(*(uint8_t*)0x10000171 = 0); NONFAILING(*(uint8_t*)0x10000172 = 0); NONFAILING(*(uint8_t*)0x10000173 = 0); NONFAILING(*(uint8_t*)0x10000174 = 0); NONFAILING(*(uint8_t*)0x10000175 = 0); NONFAILING(*(uint8_t*)0x10000176 = 0); NONFAILING(*(uint8_t*)0x10000177 = 0); NONFAILING(*(uint8_t*)0x10000178 = 0); NONFAILING(*(uint8_t*)0x10000179 = 0xaa); NONFAILING(*(uint8_t*)0x1000017a = -1); NONFAILING(*(uint8_t*)0x1000017b = 1); NONFAILING(*(uint8_t*)0x1000017c = 0); NONFAILING(*(uint8_t*)0x1000017d = 0); NONFAILING(*(uint8_t*)0x1000017e = 0); NONFAILING(*(uint8_t*)0x1000017f = 0); NONFAILING(*(uint8_t*)0x10000180 = 0); NONFAILING(*(uint8_t*)0x10000181 = 0); NONFAILING(*(uint8_t*)0x10000182 = 0); NONFAILING(*(uint8_t*)0x10000183 = 0); NONFAILING(*(uint8_t*)0x10000184 = 0); NONFAILING(*(uint8_t*)0x10000185 = 0); NONFAILING(*(uint8_t*)0x10000186 = 0); NONFAILING(*(uint8_t*)0x10000187 = 0); NONFAILING(*(uint8_t*)0x10000188 = 0); NONFAILING(*(uint8_t*)0x10000189 = 1); NONFAILING(*(uint8_t*)0x1000018a = 0xfe); NONFAILING(*(uint8_t*)0x1000018b = 0x80); NONFAILING(*(uint8_t*)0x1000018c = 0); NONFAILING(*(uint8_t*)0x1000018d = 0); NONFAILING(*(uint8_t*)0x1000018e = 0); NONFAILING(*(uint8_t*)0x1000018f = 0); NONFAILING(*(uint8_t*)0x10000190 = 0); NONFAILING(*(uint8_t*)0x10000191 = 0); NONFAILING(*(uint8_t*)0x10000192 = 0); NONFAILING(*(uint8_t*)0x10000193 = 0); NONFAILING(*(uint8_t*)0x10000194 = 0); NONFAILING(*(uint8_t*)0x10000195 = 0); NONFAILING(*(uint8_t*)0x10000196 = 0); NONFAILING(*(uint8_t*)0x10000197 = 0); NONFAILING(*(uint8_t*)0x10000198 = 0); NONFAILING(*(uint8_t*)0x10000199 = 0xaa); NONFAILING(*(uint64_t*)0x1000019a = htobe64(0)); NONFAILING(*(uint64_t*)0x100001a2 = htobe64(1)); NONFAILING(*(uint8_t*)0x100001aa = 0x59); NONFAILING(*(uint8_t*)0x100001ab = 0xc); NONFAILING(*(uint8_t*)0x100001ac = 0); NONFAILING(*(uint8_t*)0x100001ad = 3); NONFAILING(*(uint32_t*)0x100001ae = 0); NONFAILING(memcpy((void*)0x100001b2, "\xd6\x91\xf2\x28\x49\x8c\x81\x6b\xd9\x31\xbf\x11\xea\x3c\xb3\x58", 16)); NONFAILING(*(uint8_t*)0x100001c2 = 0); NONFAILING(*(uint8_t*)0x100001c3 = 0); NONFAILING(*(uint8_t*)0x100001c4 = 0); NONFAILING(*(uint8_t*)0x100001c5 = 0); NONFAILING(*(uint8_t*)0x100001c6 = 0); NONFAILING(*(uint8_t*)0x100001c7 = 0); NONFAILING(*(uint8_t*)0x100001c8 = 0); NONFAILING(*(uint8_t*)0x100001c9 = 0); NONFAILING(*(uint8_t*)0x100001ca = 0); NONFAILING(*(uint8_t*)0x100001cb = 0); NONFAILING(*(uint8_t*)0x100001cc = 0); NONFAILING(*(uint8_t*)0x100001cd = 0); NONFAILING(*(uint8_t*)0x100001ce = 0); NONFAILING(*(uint8_t*)0x100001cf = 0); NONFAILING(*(uint8_t*)0x100001d0 = 0); NONFAILING(*(uint8_t*)0x100001d1 = 0); NONFAILING(*(uint64_t*)0x100001d2 = htobe64(0)); NONFAILING(*(uint64_t*)0x100001da = htobe64(1)); NONFAILING(memcpy((void*)0x100001e2, "\x40\x46\xfb\xe3\xc1\xe1\x66\x9f\x07\x2d\xd9\xee\x3b\xa1\x16\x96", 16)); NONFAILING(*(uint8_t*)0x100001f2 = 0); NONFAILING(*(uint8_t*)0x100001f3 = 0); NONFAILING(*(uint8_t*)0x100001f4 = 0); NONFAILING(*(uint8_t*)0x100001f5 = 0); NONFAILING(*(uint8_t*)0x100001f6 = 0); NONFAILING(*(uint8_t*)0x100001f7 = 0); NONFAILING(*(uint8_t*)0x100001f8 = 0); NONFAILING(*(uint8_t*)0x100001f9 = 0); NONFAILING(*(uint8_t*)0x100001fa = 0); NONFAILING(*(uint8_t*)0x100001fb = 0); NONFAILING(*(uint8_t*)0x100001fc = -1); NONFAILING(*(uint8_t*)0x100001fd = -1); NONFAILING(*(uint32_t*)0x100001fe = htobe32(-1)); NONFAILING(*(uint8_t*)0x10000202 = -1); NONFAILING(*(uint8_t*)0x10000203 = 1); NONFAILING(*(uint8_t*)0x10000204 = 0); NONFAILING(*(uint8_t*)0x10000205 = 0); NONFAILING(*(uint8_t*)0x10000206 = 0); NONFAILING(*(uint8_t*)0x10000207 = 0); NONFAILING(*(uint8_t*)0x10000208 = 0); NONFAILING(*(uint8_t*)0x10000209 = 0); NONFAILING(*(uint8_t*)0x1000020a = 0); NONFAILING(*(uint8_t*)0x1000020b = 0); NONFAILING(*(uint8_t*)0x1000020c = 0); NONFAILING(*(uint8_t*)0x1000020d = 0); NONFAILING(*(uint8_t*)0x1000020e = 0); NONFAILING(*(uint8_t*)0x1000020f = 0); NONFAILING(*(uint8_t*)0x10000210 = 0); NONFAILING(*(uint8_t*)0x10000211 = 1); NONFAILING(*(uint8_t*)0x10000212 = 0x27); NONFAILING(*(uint8_t*)0x10000213 = 0); NONFAILING(*(uint8_t*)0x10000214 = 0x91); NONFAILING(STORE_BY_BITMASK(uint8_t, , 0x10000215, 1, 0, 1)); NONFAILING(STORE_BY_BITMASK(uint8_t, , 0x10000215, 0, 1, 2)); NONFAILING(STORE_BY_BITMASK(uint8_t, , 0x10000215, 6, 3, 5)); NONFAILING(*(uint32_t*)0x10000216 = 0x66); NONFAILING(*(uint8_t*)0x1000021a = 0x26); NONFAILING(*(uint8_t*)0x1000021b = 0); NONFAILING(*(uint8_t*)0x1000021c = 0); NONFAILING(*(uint8_t*)0x1000021d = 0); NONFAILING(*(uint8_t*)0x1000021e = 0); NONFAILING(*(uint8_t*)0x1000021f = 0); NONFAILING(*(uint8_t*)0x10000220 = 0); NONFAILING(*(uint8_t*)0x10000221 = 0); NONFAILING(*(uint8_t*)0x10000222 = 5); NONFAILING(*(uint8_t*)0x10000223 = 2); NONFAILING(*(uint16_t*)0x10000224 = htobe16(5)); NONFAILING(*(uint8_t*)0x1000022a = 0x86); NONFAILING(*(uint8_t*)0x1000022b = 0); NONFAILING(*(uint16_t*)0x1000022c = htobe16(0)); NONFAILING(*(uint8_t*)0x1000022e = 0); NONFAILING(*(uint8_t*)0x1000022f = 9); NONFAILING(*(uint16_t*)0x10000230 = htobe16(9)); NONFAILING(*(uint32_t*)0x10000232 = htobe32(0x401)); NONFAILING(*(uint32_t*)0x10000236 = htobe32(0x7fffffff)); NONFAILING(*(uint8_t*)0x1000023a = 1); NONFAILING(*(uint8_t*)0x1000023b = 0); NONFAILING(memcpy((void*)0x1000023c, "\xd1\x45\xff\x57\x6d\x7f\xe9\x33\xa6\xf7\xae\x4b\xd4\x7d\x7a\xec\x43\x60\xa3\x35\x72\x7c\x02\x67\xff\x79\xe3\x4d\x03\x66\x94\xea\x6d\x8d\xe6\x2e\xbb\x19\x41\xf6\xb9\xa9\x5a\x6c\x95\xfa\x33\xd4\xa6\xdd\xfe\x3b\xe4\x08\x14\x8d\xac\xa5\x56\xb6\xb4\xdf\xeb\xef\x86\x9d\xa9\x3c\xfa\x26\xfb\x8e\x16\x50\x9f\xeb\xb3\x21\x01\x1f\x50\x8e\xec\x75\x02\x82\x44\x42\xd8\x62\x05\x19\xd7\xce\x35\x92\x84\xef\x09\x36\x39\x00\x1b\x68\x9f\x94\x43\x26\x05\x84\xdf\xaf\x81\x93\x13\x72\x6c\x44\x95\xac\x4c\x32\x03\xaa\x60\x3e\x26\xf3\x74\xd6\x96\xcd\xb3\x6f\xb0\x0e\x6c\x41\x2e\xdb\xef\xc1\x62\x70\xc7\x83\xd3\xa1\xad\xa3\x5a\x07\xcd\x92\x25\xf2\x1b\x95\x70\xf8\x01\xa9\x60\xe0\x6d\x96\x55\x6b\x9e\xac\xa2\x34\xf1\x28\x61\x44\x42\x31\xc9\x4a\xee\x63\x15\xfb\x19\x9f\x69\xee\xbd\xf9\xfd\xb0\xbd\xb8\x99\x02\xe0\xeb\x69\xbb\xdf\x97\x30\xaa\x37\x1b\x84\xb0\x2e\x9a\xb5\xf3\xa4\xf9\x9f\x92\x05\x69\x4f\x06\x24\x60\xe2\x86\xb1\xab\xef\x39\x36\xfd\xf1\x83\xbd\x7c\x95\xa9\xd9\x9b\x57\x82\x7d\xea\x18\x14\xe0\xe2\xdc\x58\xa6\x77\xf2\xae\x6c\x73\xde\x4e\x27\xfe\x88\x56\xe4\x17\xfd\x26\x60\x88\x00\x8a\xbe\x5d\x38\xd7\x4e\xa0\xbd\xc6\xd0\x46\xc5\xd3\xf4\x5e\x2e\xe4\x7a\x44\x0c\x5d\xfc\x30\x45\x9b\x21\x9b\xb3\xb1\x30\x2f\xeb\x6b\x36\xa6\xe5\x24\xb1\xdb\x70\xd5\x7e\xfe\x32\x82\x3b\x0a\xd0\x37\xa3\xc2\x04\xc7\x77\x48\xb8\x5f\xd8\x8a\xbf\x24\xef\x07\x17\xea\xc9\x0e\x23\x5d\x91\x76\x4b\x48\xbb\x1d\xcc\x3c\x91\x77\xfc\x4b\x0f\xc9\x97\xd3\xd4\xe9\x07\x02\x87\x2b\xf0\xd8\x70\x21\x94\xe2\x25\x77\x35\x3e\x55\x7c\x00\x41\xf1\x06\xe5\xde\xe1\xd2\x4f\x24\x3a\xb7\xc0\x7b\x43\x35\xa6\x88\x6c\x04\x06\x1e\x84\x96\x65\x99\xb6\x8c\x67\x6e\x96\x60\x08\xa7\x90\x5f\x17\x06\x04\x83\x34\x50\x1a\x36\x08\x30\x53\x30\xcb\x8b\x44\x7a\x16\x98\xfa\x96\x46\xc7\x3c\xd7\x58\x87\x1c\x1e\x8b\x96\x88\x9a\xe3\x37\x2a\x5f\xef\x5b\x03\xef\x56\xd1\x60\x8e\xae\x44\xa8\x63\xb0\x59\x91\xf6\x26\x44\x77\x30\xdf\x97\xf3\x36\x86\xe5\xcb\x72\x55\x4a\x1a\x8a\xce\x8b\x53\x0d\x3e\x60\x45\x23\x52\xd9\xe9\x3e\xd0\x31\x85\x2e\xb2\xdc\x87\x90\x3a\x13\x46\xc3\x96\x2c\xed\x8f\x4f\xd2\xc0\x7e\x01\x84\x3d\x19\xe2\x53\x65\x3f\xcc\x7e\xb3\xe7\x10\xb5\x46\xe1\x18\x08\x44\xd9\x5e\x67\x14\x3d\xef\x46\x19\x37\x5d\x71\x17\x37\x29\xdf\xab\xee\xcd\xdd\x02\x39\x45\x6f\xd1\xf5\x63\xbe\xdd\x3e\x8a\xa7\xbd\x29\xce\x40\xbf\xb7\x2e\x83\x23\x24\xcf\x0e\x7e\xd9\x60\xbc\x4c\xdd\x81\xa1\xd1\xc4\xd3\xa2\xf9\x84\x21\x8a\x8f\x7c\xe9\x28\x8f\xb5\x7b\x31\x5c\x47\x5a\x57\xc2\xd5\x67\x43\xba\x39\x87\xad\x1f\xe6\x9a\xf5\xa3\x91\xcd\xb9\xc8\xa5\x51\x72\x33\x40\xc3\xd1\xc9\x89\xb5\xda\x33\x77\x1f\x79\x7e\x89\x93\xef\x51\x54\x6e\x98\x49\xba\x61\xa3\xcb\x3b\xab\xbc\x5b\x33\xfc\x9e\x88\x3b\x3e\xe4\x1e\x6d\x8c\x67\x58\x41\x71\x8b\x90\x80\x92\xb2\xc4\xda\x4c\x1a\x78\xa1\x7b\xee\x0c\x40\x9d\x03\xcd\x8b\xed\x2d\x56\xa4\x6e\xe7\x72\x1b\x56\x59\xbe\x3f\xa5\xcd\x0e\x89\xbc\xef\xfa\xff\xaf\x1e\x95\x71\x6a\xdc\x76\x25\x54\xc4\x96\xa4\x02\x82\xcb\x6d\x85\xf4\xe0\xe2\x9f\xd7\x65\x74\x00\x1b\x89\x3d\x0f\xfc\x8c\x94\xa1\x87\x82\x9e\x24\x54\x6d\x89\x04\x39\x54\x7b\x81\xc1\x8c\x48\x65\xbe\x4c\xb5\x7e\x06\xe3\x19\xc5\x00\x7d\x43\x45\x9e\xc3\xaa\x20\xce\x72\xf7\x88\x3c\xbd\xa6\xa3\x03\xc3\x43\xfb\xed\x7f\x62\xb2\xf2\xac\x9f\x5d\x24\x84\x2e\x8a\xba\xe1\xc9\xe3\x29\x54\xb0\xd0\xd6\x02\x42\x89\x1b\x1f\xae\x40\xd0\x32\x83\xf3\x3c\x09\x48\xe1\x61\xfa\x2f\x9f\xfb\x77\xb7\x2c\xe9\x69\x71\x87\x68\x28\x2c\x45\xae\x08\x9f\xaf\x80\xec\xaf\xf1\x65\x81\x14\xa7\x8d\x8b\x13\x83\x39\x58\xa3\x60\xfe\x8b\xea\xd9\xb4\x85\xd5\xdc\xc7\x01\x81\x2a\x55\x9c\x6d\x04\xa2\x2f\xe5\x9d\x3f\x6f\xc0\xfc\xc7\xcb\xbb\xc4\x45\x0a\x58\xbe\xe9\x95\x60\x57\x9e\xff\x8d\x78\x46\xd0\x62\x25\x3d\x15\xd5\xe6\xb2\x0a\x78\x13\x40\x14\x32\x3b\xc3\x1f\x3d\xbf\xa5\x3e\x2e\xde\x13\x7e\x3c\x11\x29\xba\x8d\xb6\x38\xa9\x59\x72\xe1\xa7\x22\x35\x04\xaf\x10\xa1\x49\x15\x4f\xa5\x81\xb9\xdb\xc5\x16\x28\x9c\xff\x0d\x65\x58\x88\x59\x21\x99\xc7\x7f\xa5\x53\xf0\x7d\xb0\x09\xee\x2a\x42\xc5\x41\x2d\xf9\xfe\x61\x2d\x10\x8e\xe2\xd5\x95\xcb\xb0\xbf\x59\x77\x66\x46\xcb\x7c\x83\xe3\x55\x1a\x91\xc0\xac\xa0\x5d\xe2\x0d\x0b\xfc\x6c\x1f\x8f\x5c\x94\x92\xf2\x2e\x57\x14\xea\x0c\xba\xb5\x76\x31\x94\x99\x6c\x81\x85\x45\xc0\x99\x7f\xf5\x55\xe5\xd1\x36\xae\xa5\x0a\x7a\x93\xdc\x40\x34\x0a\x72\x5d\xa5\xca\x7e\xa4\x5a\x48\x3d\x2c\x9d\xa6\x7a\x25\x4d\x6e\xbd\xb6\xe2\x02\x70\xbe\xb3\x33\x73\x32\x1d\x92\x23\x75\x20\x7b\xf5\x47\x07\xe1\xd9\x7d\x52\xa6\x93\x0b\x42\x87\xcd\x0d\xc6\xd8\xd3\x34\x6e\x38\x8f\xe4\x1f\xca\x91\x16\x27\x39\xa3\x0c\x97\xda\x08\xcc\x3f\x42\xb3\xf5\x43\x82\xdc\xde\xf5\xd0\xe7\x67\x0b\x8c\x98\xc0\x53\x3b\xf6\xc5\x3d\x58\x68\x8d\x9b\x95\x8b\x23\xa9\x1a\x8a\x6f\x2f\xfa\xd4\x19\xe0\x1e\x2b\xb7\x76\xcc\x32\x13\xfe\xf5\x9a\x70\x34\xd8\x35\xc0\x22\xda\xd0\x29\x94\x62\x4c\x55\x85\x5b\x09\xe2\x66\xe4\x16\xa6\x69\x39\xfc\x36\x64\xe4\x41\xb9\x9d\x7f\xfa\x0b\x83\xbf\xd0\xb0\xd7\x52\xde\x0b\xae\xdc\x17\x46\xb4\x93\x82\x01\x97\x22\x53\x92\x4b\x0a\x68\x64\x1e\x7c\x93\x5f\xbb\x41\x89\xe5\xfd\xc3\x91\xa2\x9e\x33\x11\x51\xfe\x72\x0b\xfb\xc0\x68\x25\xba\x07\x66\xe4\x21\xa2\x61\x3f\xc0\xb7\x8c\xee\xb3\x81\x7f\x26\x2c\x90\xf6\x6e\x7c\xfa\x05\x33\xc1\x7a\xc7\x1b\x0b\x1f\x94\xff\xb0\x2e\x38\x07\xb6\x24\x7e\x96\x8c\xed\xb1\x41\x20\x6e\xdf\x0c\xa6\xf9\x8f\xd9\x19\xfa\x52\x79\xfe\x20\x87\x99\xd8\x2a\xb3\xa7\x0b\x9b\x4b\xae\xa4\x10\xdc\x7c\xb3\x93\x37\x82\xd6\x3f\xe4\x28\x07\xcf\x0f\xa7\xf5\xc9\xae\x0c\xd4\xd0\xa0\x29\x46\x92\xd3\x62\x9d\x98\x81\xda\xd5\x32\xb3\x4e\xfd\x70\x2d\x8e\xaf\x0a\xc2\x03\x78\xe6\x2b\x36\x46\x06\x56\xe0\xe8\x87\xc4\x49\x59\x55\x2c\x96\x20\xe9\xec\x3e\x73\xfe\xe5\xca\x0e\x5a\x6d\xd7\x67\xb7\xb7\xa9\x7a\xc4\xc7\x7e\x70\x9c\xe7\x85\x9f\x21\xf0\xbe\x66\xc9\xbe\x7f\x44\x5f\xb1\x5f\x7b\xf4\xc8\x12\x4a\x56\x7f\xbf\xe0\xd3\x79\xf0\x8c\xb1\xb8\x16\xf4\xc7\x20\xef\x5e\x3a\x6a\x08\x3b\x5b\xe0\x56\x94\xa0\xd3\xd3\xac\x78\x4f\xc4\x39\x9b\x1c\xcb\x74\x82\xca\x0a\x11\x82\x16\x64\x03\x56\x5a\x9f\x7d\x4b\x0b\x71\xcc\xcd\x20\xb9\x52\xae\xe3\xbe\x5c\x9a\xb1\x06\x63\xe0\x8a\xa4\x19\xc8\xde\xe9\x1e\x6f\x9b\xc5\x83\x77\xe9\x49\xd7\x25\x1a\x44\x5e\x1a\x7f\x87\x93\x3d\xbb\xac\x27\x03\xf5\xd1\x11\xde\x77\xb9\xdc\x5d\xe5\xa5\x3b\x90\xee\x18\xef\x9a\xb6\xa1\x54\xf3\xf2\x50\x0d\xf0\x41\x24\x64\x5a\x6f\x09\xed\xb8\x0c\x2f\xed\x4f\x30\xff\xc4\x65\x91\x76\xa6\xd3\x63\x3d\xb7\xc6\xc6\xc7\xac\xdc\x93\x32\xfb\xfc\x34\xf6\x35\x43\xf9\x9c\x3e\x72\x83\xab\x9a\x98\xe8\x07\x3e\x2c\x1a\x31\x58\x15\x89\x76\xf0\x6a\x52\x09\x75\xb2\xf5\x65\x93\x65\x21\xba\xbd\xd2\x7f\xce\x00\x6d\x30\xf5\xd7\x50\x53\x84\x7e\x61\x24\x94\x0f\x3e\xf6\x63\xe7\xe1\x2e\x20\x6e\x8d\xcc\xc2\x21\xa2\x38\x1a\x17\x62\xf3\xe6\xeb\xbd\x37\xeb\x7a\x54\x09\x49\x8e\x19\xee\xab\x8b\x75\xcf\xbd\x75\x22\xa3\xef\x45\xa2\x36\xad\x0b\x71\x29\x15\x4e\x44\x43\x6b\xd8\xb8\xda\x13\x23\x46\x9c\x15\x0c\xd4\x87\x74\x62\x47\xd0\x6f\x12\xae\x67\xfa\x30\xdc\x79\xf4\xdf\x5c\xc8\xc1\xf8\x6e\x8b\x35\x68\x9b\x5a\x2c\x32\xe5\x07\x77\xcf\x13\x2f\x14\xc4\xcd\x2f\xb8\xf3\x76\x0a\x66\xec\x72\x3e\x29\x62\x4f\x8a\x97\x49\x53\x35\x0c\xa8\x85\x32\x39\x94\x4e\x33\x72\x7d\x59\x65\xe1\x0c\x8d\xa5\xa8\xfc\xb4\x03\x3e\xa2\xf9\x6c\xad\x4d\x33\x52\x4d\x18\x18\x44\xb5\xa6\xa2\xa3\xa0\xc0\xa3\x57\x2e\x43\x54\xb5\xf0\xbb\x6c\x72\x7b\xcf\x02\xd3\x1f\x66\x74\x2b\xcd\x3e\x37\x67\xc7\x0b\x1f\xa6\x95\x81\x28\x96\xed\x05\x39\x34\xab\xee\x8d\xea\x4c\xa8\x24\x2b\x1f\xe1\x40\x97\x17\xdd\xca\x66\x76\xb3\x58\xe7\x93\x0d\xc9\x27\xf6\x88\xc2\x2e\x2a\xe6\x29\x6f\xf2\xed\x3c\x85\x19\xf3\xf8\xd4\x9c\x3a\x71\x83\xd4\xaa\x0d\xa4\xe3\xc7\xa6\x52\xd5\x39\xbf\xf9\xab\x19\x52\xaa\x13\xc0\x02\xa0\xa8\xe7\x12\x8b\x4e\x4a\xb4\x41\xfc\xc9\x05\xa0\xf2\x6f\x9f\x6b\x5f\xa3\x13\x60\xd5\xc2\x48\x45\xad\x87\x65\x77\xbb\x0e\x1f\xcf\xed\x31\x01\xae\xdf\x14\xa7\x3c\x0c\xe0\x3e\x36\x36\x0c\x01\xee\xe2\x73\x42\xc1\xfa\x46\xd7\x24\x74\xcd\x51\x9e\x57\x83\x7c\x25\x0c\xed\xf0\x9a\x31\xe4\x5d\xeb\x38\x35\x87\xc5\xae\xe4\xc3\x6f\xe2\xa8\xdf\x37\x24\x0d\xe3\x21\xa6\xa1\xc6\xfc\x65\x6b\x5e\x6b\x28\xff\xa2\x5f\x40\xa7\x23\xa5\xd1\x3c\xbe\x7b\x42\xb4\xf6\x2f\x60\xcc\xfb\xaa\x4f\xfe\xb0\x0c\xa3\xb6\xd9\x41\x19\xc0\x59\x4a\xa5\xe1\x1a\xf8\x05\x5b\x10\xd1\xa5\xa9\x90\x0b\xd2\x5b\x85\x0c\x99\x3c\x3b\xd9\xa9\x41\xbd\xed\x20\x9d\xc4\xc7\x4e\x94\x21\xb8\x4c\x81\xc6\x24\xdf\xff\xd1\x2f\x39\x7c\xc7\x91\x01\xda\x2a\xac\x93\x8a\x23\xaa\x49\x90\x8f\x3f\x1f\xf4\x1f\xc6\x0d\xba\x82\x40\xa0\x4f\x09\x41\x78\x4a\x22\x84\xaa\xeb\xdc\xc8\x14\x39\x10\xab\x01\x78\x0e\x46\x3d\xfb\x8b\xe3\x87\xb9\x93\x46\xfb\xf8\x67\x6e\x7f\x3e\x92\x42\x05\x02\xa9\x8e\xaa\x6d\x71\x0b\x06\x4f\x01\x6d\xce\x0d\x6d\xc4\x19\x56\xae\xa4\xfc\x9f\x30\x43\x94\xb3\x21\xc7\x81\x41\xad\x4c\x8d\x65\x27\xd7\xe9\x46\xcf\xf3\xfe\x06\xb2\x52\xae\x99\x28\x37\xf0\xa9\xb9\xbe\x2f\xb5\xd6\x35\x8e\x41\x9f\x9f\x30\xc4\x35\x89\x06\xa8\x26\x85\xfc\x73\x4d\x2d\x24\x97\xa1\x52\xcb\xe9\x65\xf7\xe3\x22\x0d\x43\x7a\x7e\x64\xe9\xd1\xce\xf4\x09\x2d\x0f\x8e\x73\x19\x10\xd0\x4e\x15\xdf\x20\x5b\x13\x09\x79\xe1\xb8\x71\x0f\xaa\x58\x04\x64\x2c\xec\xa6\x66\x7c\x9d\xfe\x37\x47\xee\x43\xcd\x73\x46\x62\x04\x47\x09\x87\xd0\xe7\x6a\xf2\x37\x21\x8c\xcb\x37\xbd\x77\xa3\x9a\x09\x91\x8e\x74\xaa\xf5\x97\xbd\x3f\xbd\x79\xbb\xa7\x35\xc5\xce\x6e\x81\xc5\x59\xc9\x86\xbb\xf6\x07\x55\x17\x0b\x30\x47\x4a\x9e\x7c\xaa\x5e\x83\xa4\x2f\x19\xf7\x9b\x18\x6e\xc3\xaf\x3b\xf1\x11\x2c\x00\xcf\x05\xbf\xf7\x2a\x0d\x16\x98\xa9\x4a\x87\x1c\x4e\x8a\x07\x97\xd4\xd7\xf3\xc3\xe7\xe2\xa2\x7c\xa7\xb9\x38\x6f\x16\xc0\x47\x33\x95\xfe\x85\xb2\x80\xf9\xab\xa2\xef\xda\xa0\x8b\xcc\x7f\x2f\x2c\x30\x1e\x16\x5d\x62\x6c\x83\x28\x5b\xdd\xf0\x52\xcb\xa1\x34\xdf\x3b\xbd\xd1\xe8\xf4\x64\x15\xbb\xb3\x91\xe0\x5b\x1e\x47\x5f\x34\x4c\x10\x12\xcc\xa9\xa7\x2f\xb1\x22\xc2\x5d\x7f\x85\xc9\x2a\x74\xfe\x73\x50\xa9\x09\xdf\xee\x05\xb8\xa8\x75\x57\xad\x0c\xbc\x59\x12\xdc\xbd\xf9\x37\x3a\x5e\x41\x3b\x83\x75\xdf\x15\xd4\xd8\xa0\x6f\x4c\xed\x12\x59\xa8\x16\x53\x89\xac\xc8\x97\xcf\xd0\x1c\x0d\xbe\xa2\x78\x14\x4d\x07\x94\x40\x08\x6f\x7f\xeb\xdc\xf7\xaa\x7e\xec\x02\x39\x93\xdf\x73\xd8\xd0\xd4\x61\x63\xad\xd8\x0a\x7c\x68\x67\x89\x33\x1c\x15\xaa\x22\xc8\xca\xfd\x5d\xf4\x0d\x45\x61\xf6\xf2\x47\x59\xeb\x3d\x6a\x97\xea\x01\xa3\xa3\x36\x8e\xa8\xb1\xcf\x6f\xff\x8b\xf5\x8a\xc2\x25\x52\x8d\x7a\x17\xd2\x1e\xdf\xa6\xea\xcf\xc5\xaa\xb6\xf7\x85\xa0\xb3\x00\x3a\xb6\xee\x0d\xe9\x42\x3c\xd3\x63\xb1\x4d\x03\xe1\x02\xf4\x45\xb2\x3c\x14\xa5\x36\xd7\xb2\x31\x24\x32\x88\xf2\x88\xda\x44\xf8\xa5\xe8\xbc\x1f\x13\xb8\xce\xc7\xcb\x6a\x2a\x56\x96\x36\x16\x3a\x09\x8b\x2f\x40\xf4\x5c\x43\x56\x4f\x1a\xa8\xb9\x16\x42\x6e\x77\x51\x09\x36\x20\x23\x63\xfe\x0d\xd7\x17\x45\x0c\xca\x9e\x8c\xbd\xe8\xdf\xfc\x9b\x9e\x24\xd8\xbd\x3c\xf1\x71\xe3\x6f\x05\xc0\x63\x34\x87\x31\x10\xb9\xc2\xd1\xa3\x02\x0b\x66\x0a\xac\xb1\x96\x82\xd7\x71\xe0\x2c\x4d\x80\xdb\xfc\xdd\x11\xed\xf7\x55\x3a\xba\xd4\xcd\x0c\xee\x0f\xc5\xe8\x1e\x94\xc4\x81\x0a\x2c\x49\x7f\x3d\x0f\xfa\x21\xbf\x7a\x31\xb6\xa8\x35\xda\xf1\xf6\x09\xe2\x3c\xd6\x4f\x81\xc1\x71\x6a\xf8\x5b\x92\x33\xb5\x47\xe6\x79\xc7\x27\x55\xe6\xcb\xb1\xcb\x40\x5d\x7a\x89\x7f\xca\xa8\xc8\x15\xbb\xd5\xa2\xae\xcc\x89\xd6\x99\x81\xf3\x49\xaf\x2f\x97\xed\xb5\xa6\xf4\x19\x7d\x20\xee\xc8\xd4\xb0\xf3\xc2\x37\x5b\x88\x39\xcf\x68\x58\xbb\xf1\x01\xee\x06\xae\xcb\x75\x16\xcc\x27\xd5\x9a\x8b\xdc\x9b\x5b\x20\x8a\xaa\x4b\x5c\x14\xa5\x25\x1d\x9d\x23\x23\x97\xdd\x8d\x0e\xb8\x85\x5d\x3a\xe0\x62\x5a\x25\x4f\xb8\x97\x79\xab\x00\xb3\xaf\x42\x74\x54\xc6\xbf\x5c\xff\x22\x5c\x2f\x77\xba\xc6\xe5\x99\x74\x04\xf0\x0a\x40\x79\xd2\x23\x7d\x19\xae\xc1\x30\xc0\x3a\x77\x1e\x12\x6c\xec\x4b\xc0\x66\x1c\x3f\x9f\xae\x36\x5d\x61\x77\x23\x02\x4e\xf8\x80\x2f\xc9\x4a\x85\xeb\xb8\x01\x44\xb1\x65\xf9\xd4\xbc\x2a\x1f\x87\xce\x04\x8e\xa5\x28\x58\xd6\x5d\xd3\x3b\x13\x20\xb6\x97\xed\x30\x29\x9b\x18\x48\x83\x5c\x61\x6b\x0a\x68\x7e\x88\x74\x83\x12\x70\x78\x43\x3d\xb9\x91\xd6\x62\xfa\x36\x74\x21\x44\x5b\xe0\x0a\xf4\xc0\x6a\x34\xe5\x54\xb3\xef\xa0\xf8\xcf\x99\xd2\xe1\x74\x0c\x3d\x23\xae\x57\xf9\x7e\x1d\x19\x77\x01\x03\xd7\xec\x6f\x17\xb0\x85\xee\x3e\xa9\x5e\xe6\xc7\x4c\x37\x53\x62\x8d\x0a\x97\xb4\x40\xd3\x8c\x13\x9f\xd8\x97\x4f\x04\x9e\x3b\x4a\x8e\x83\xda\xe7\xc6\x26\xd0\x13\x9f\x92\xc6\x9a\x92\x97\x52\x70\x45\x6c\xf7\x64\x0c\x4b\x0e\xa0\xc3\xf5\xf2\xbd\xff\xd9\xa0\xcc\xa3\xac\xad\xc2\xf2\x78\x9b\xd5\x91\x09\x05\x9f\xf4\x54\xbf\x74\x2d\xa9\x93\x3f\x66\xe0\x04\xda\x86\x6b\xe4\x62\xba\x3a\x2e\x42\xa2\x30\x24\x07\xe8\x22\x79\x1b\x78\x21\x64\xc7\x95\xb1\x71\x2a\x2c\x1d\x95\x7e\x37\x70\x3a\x32\x8a\xe1\x46\x28\x88\x4c\x76\xed\x83\xd0\x87\x10\xa6\x21\x2d\xd1\x3c\xc4\x66\xac\x8f\x4b\x8c\x65\xe8\xad\x64\x72\x61\xe4\x17\x86\xda\xc8\x15\xc4\x72\x99\xff\x9b\x57\x25\x79\xc2\xb5\xa2\x7a\xf3\x72\x35\x8c\x3f\x2b\xa4\xc1\x1f\x86\xca\xb0\x7c\x65\xca\x9f\x0f\x70\x35\x54\xb1\x62\xb7\x3c\x37\x06\xad\xd4\xf7\xe1\x0d\x95\xb8\x47\xca\x79\x8c\x09\x23\x61\xb4\x3e\x08\x65\x69\xd4\x02\xd5\x5f\x72\xca\x7a\xa7\x8e\xe9\x5d\x93\x43\xc3\x81\x19\x6b\xcf\x8f\x8c\xfb\x0b\x80\x5d\x41\x8d\x51\xcc\xab\x37\x7f\x64\x6b\x39\x34\xb4\xc6\x77\x3b\xa4\xcd\x97\x5a\x0f\x12\x08\x4a\x33\x7d\x43\x5d\x46\x11\x55\x06\x56\x34\x5f\x83\xcb\xa2\x64\xa9\x58\xf7\xac\x21\x8c\x63\x82\x1b\x22\xb8\xbd\x1a\xc3\x68\x4d\x6d\xcc\x3b\x71\xe4\x45\xd5\x70\x7b\x9a\x5a\x6b\xa9\xe7\xfc\x24\x05\xb2\x59\xa6\x53\x1e\x93\x7b\x8e\xa4\xac\x7f\x8f\xa8\xaa\xff\x40\xc5\x70\xfa\x5b\xd4\x88\xe2\x89\xb7\x3e\x0a\x05\xe9\x4c\xe0\xbb\xa7\xe4\xb2\xf2\xcd\x8b\x3a\x3f\xdf\x91\xeb\x5e\xa2\xb0\x04\xf9\x15\x00\xd8\x4b\xfd\x36\x19\x9f\x9a\xa9\xa0\xb3\xf6\x6a\xf8\x16\xf0\xb9\xb4\x62\xd7\x96\x02\xa1\x2e\x70\x5e\xc6\x2c\x00\xce\xcb\x61\x07\x0e\x09\xbb\x25\xd4\x90\x76\xbf\x75\x01\x1c\xe1\x9d\x4e\xa7\xff\x6e\xf6\xdd\xc4\xff\xfc\xc1\x34\xc8\x1b\xf5\xbd\xa4\x9f\x66\x61\x67\x92\xe3\xfb\xf0\x95\x3d\x9a\x0c\x25\xdc\x36\xb2\x45\x04\x6c\x01\xff\x8f\x98\x97\x53\x29\x62\x4f\x3c\x9e\xac\x95\x82\x36\xda\xa0\xaa\x02\x69\x96\x84\x0d\x48\xdc\x63\x3c\xeb\xb5\xef\x48\x4b\xa7\xcd\xf1\xb7\x6a\x27\xa8\x03\xc4\xea\x46\x4e\xb3\x0c\x55\x73\x14\x7b\xa7\x83\xf0\xe4\x28\x69\xbf\xa9\x97\x0b\x61\xd5\xed\x05\xb7\x90\xf6\xa9\x3b\xab\x2f\x93\x9e\xef\xc9\xef\xad\x86\x77\xe5\x9a\x03\x7e\x3a\xb2\x30\x3c\xe9\x7f\xfd\x53\xe3\xce\x33\x69\xba\x4c\x48\xec\xeb\x3a\xae\xdc\xb4\x08\x9a\x97\xeb\x59\xfc\x97\x88\x20\x47\x39\xd5\xe6\xdf\x7c\x8d\xc3\x26\x99\x4b\xdc\xd1\x80\x3c\xb4\xb5\x21\xff\x66\x47\xde\x95\x90\xdf\xcb\x2c\x57\x05\x10\xa6\x19\x11\x87\x03\xe8\x2e\x7e\x45\xa5\x4e\x28\x7a\x8c\x73\x4d\x02\x94\xa8\xb2\xcd\x07\xff\xa3\x2e\x40\x0e\xdc\xd5\xbb\xf8\x6b\x2d\xd2\xf0\x9c\x2b\x72\x01\x8b\x17\xe5\x4d\xeb\xad\x47\xb8\x39\xe9\x8c\xeb\xea\xd5\xce\x68\xa4\x39\xe5\xeb\x42\x79\x45\xdf\xdd\x16\x8a\xc7\x02\x6a\x5c\x9c\x33\xc6\xc3\xce\x0b\x98\xf8\x32\xd7\xad\x16\xae\xcd\xb0\x18\x91\x90\x4f\x60\x42\xa4\xc9\x8e\x5f\x41\x20\x9b\x44\x88\xe6\xc9\x9e\xf1\x16\xf4\x3c\x48\x9f\x51\xe3\x06\x47\x66\x42\x19\x4f\xe0\x53\x50\x77\xc9\x4f\xc8\x0c\x5a\xba\x2e\x26\xe6\x1c\x77\xb1\xfc\x5f\xe9\xda\xd4\x79\x68\xbb\x41\x14\xba\xa6\x14\xd2\x34\xe3\xb0\xbe\x0d\x5a\xbe\xc9\xe6\x0d\x72\xc6\x95\x6a\x79\x78\x09\xb5\x1e\x16\xb6\xf4\x90\x29\xd2\xf4\xb2\x26\x6d\x3a\x8b\x9b\x56\x70\x99\xb5\x56\xc2\x68\x5a\x00\xbd\x84\x23\x8a\x90\x80\xaa\x02\x2c\x35\x7a\xd6\xd4\x54\xbd\x75\x94\xa0\x29\xeb\x42\x84\xa9\x73\xb4\x8e\x63\x92\xf4\x25\xb7\x03\x01\xb8\xc5\x14\x77\x50\x04\x90\xb7\x65\xc6\xb7\x00\x15\xbd\xd9\x9f\x51\xc2\xd1\x99\x5d\x80\xba\x04\x50\x8d\x6e\x66\xeb\x56\x69\x5c\xcc\xf6\x3d\x50\xcc\x40\xb0\x2c\x80\xc3\x88\x6c\xe7\x5d\x8a\x02\xab\xbb\x71\x49\xda\xce\xd8\xff\x3e\x8d\xfc\x16\x9f\xb4\x60\x31\xc4\xc0\xf1\x90\x60\xda\xba\x08\xd3\x5d\x34\x02\xb2\x0c\xb0\x41\x7f\x14\xef\x18\x4f\x5f\x53\x1f\x46\x95\xba\x48\x32\xa8\xb6\x39\x1b\x13\xf3\xab\xcd\xd2\xc0\x5b\x51\x68\xc3\x0f\xe3\xcd\xe8\x67\x7f\xf7\x38\x83\x6a\xa8\x5b\x7e\xf9\x01\x48\xb2\x55\x6b\x79\x0b\xd9\xbd\xa3\xd1\x08\xea\x37\xb0\x3a\xcf\xd0\x9a\x54\x4a\x8e\x85\x84\x36\x43\xf3\x13\x68\xcf\xc2\x26\xa9\x30\xdc\x74\x96\xed\x4c\x99\x66\xe3\xde\x92\x63\x79\x33\xee\x7b\xfd\xf1\x2b\xbf\xba\xc0\x23\x4a\x74\xe2\x89\xbd\xb3\x7a\x52\x2b\xd0\x47\xa1\x00\x7a\x36\x87\xa2\x1b\xc9\xb0\xcf\xf8\x08\x74\x27\x7d\x82\x5b\xdb\xab\x84\x5c\x1a\xc5\x04\x60\x56\x3d\x08\xb1\xe0\x4a\x7f\x10\x86\xe6\x77\x93\x19\x88\xd5\xcd\x6f\x97\x47\x06\xd6\x4f\x63\xe8\x44\x91\xb3\x02\x88\x8f\x8b\x8f\x0f\x42\x99\x7f\x5e\xdd\x25\x10\xf2\x6a\x0b\x16\xd7\x03\x8b\xec\x87\x13\x09\x38\x9c\xab\x6f\x57\x61\xa2\xb9\xf0\x01\x11\xbc\x44\x41\xbb\xfa\xde\x0e\xca\x7c\xea\x5b\x0b\x8d\xac\xa7\x36\xe6\x15\x05\x03\xaa\xe8\x79\xf7\x2d\x10\x83\x61\xca\x31\xba\xfb\xf4\xe0\xc2\xe9\xeb\xd7\xaf\x57\x26\x5b\xb0\x4c\x38\x89\x23\xa0\x0b\x4c\x59\x08\x8a\x2f\x7b\x76\x7b\x14\xf3\x98\x2e\x64\x2e\x7b\x3d\xd9\x4d\xc6\xf4\xb6\xb0\x11\x3c\x9d\x49\xf8\x0a\x3e\x16\x9c\x10\x60\x89\x35\x39\xff\xc3\x23\x7d\x6e\xcc\xf4\x92\x0a\x9b\x50\xa8\x60\xee\xd1\x27\xa2\x2f\xfe", 4096)); struct csum_inet csum_1; csum_inet_init(&csum_1); NONFAILING(csum_inet_update(&csum_1, (const uint8_t*)0x1000001a, 16)); NONFAILING(csum_inet_update(&csum_1, (const uint8_t*)0x1000002a, 16)); uint32_t csum_1_chunk_2 = 0x12100000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_2, 4); uint32_t csum_1_chunk_3 = 0x3a000000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_3, 4); NONFAILING(csum_inet_update(&csum_1, (const uint8_t*)0x1000022a, 4114)); NONFAILING(*(uint16_t*)0x1000022c = csum_inet_digest(&csum_1)); break; case 11: NONFAILING(memcpy((void*)0x10001240, "\xf2\x26\x33\x54\x5b\x41\xc4\xc2\xb1\xde\x3a\x0f\x4b\xbe\x11\x14\x00\x00\xc4\xc2\x31\xdc\x03\xc4\xc2\x4d\x96\x1c\x5f\x66\x0f\x38\x21\x47\x1e\xc4\xe1\x85\xd8\x71\x28\xc4\xc3\xc5\xcf\x8e\x0e\x08\x00\x00\xfe\xd1\x62\x00\xc4\xc2\x2d\x40\x11", 59)); NONFAILING(syz_execute_func(0x10001240)); break; case 12: break; } } int main(void) { syscall(SYS_mmap, 0x10000000, 0x1000000, 7, 0x1012, -1, 0); install_segv_handler(); use_temporary_dir(); do_sandbox_none(); return 0; } :411:11: error: use of undeclared identifier 'SYS___realpathat' syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); ^ 1 error generated. compiler invocation: clang [-o /tmp/syz-executor922087266 -DGOOS_freebsd=1 -DGOARCH_386=1 -DHOSTGOOS_freebsd=1 -x c - -m32 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -static -lc++ -Wno-overflow] --- FAIL: TestGenerate/freebsd/386/8 (1.67s) csource_test.go:123: opts: {Threaded:true Collide:false Repeat:true RepeatTimes:0 Procs:0 Sandbox:setuid Fault:false FaultCall:0 FaultNth:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false USB:false VhciInjection:false Wifi:false UseTmpDir:true HandleSegv:false Repro:false Trace:false} program: r0 = fcntl$dupfd(0xffffffffffffff9c, 0x11, 0xffffffffffffff9c) setsockopt$inet_sctp_SCTP_AUTOCLOSE(r0, 0x84, 0x5, &(0x7f0000000000)=0x5, 0x4) cap_rights_limit(r0, &(0x7f0000000040)=[0x6, 0xa9]) setsockopt$inet_sctp_SCTP_EVENTS(r0, 0x84, 0xc, &(0x7f0000000080)={0x20, 0x81, 0x3, 0x20, 0x20, 0xf7, 0xff, 0x7, 0x4, 0x40, 0x4}, 0xb) setsockopt$inet_sctp_SCTP_RESET_STREAMS(r0, 0x84, 0x901, &(0x7f00000000c0)={0x0, 0x9, 0x3, [0x1, 0xffff, 0x8000]}, 0xe) r1 = accept(r0, &(0x7f0000000100)=@un=@file={0x6e, 0x0, ""/108}, &(0x7f0000000180)=0x6e) __realpathat(r1, &(0x7f00000001c0)='./file0\x00', &(0x7f0000000200)=""/5, 0x5, 0x0) r2 = socket$inet_icmp_raw(0x2, 0x3, 0x1) fcntl$getown(r2, 0x5) getsockopt$inet6_sctp_SCTP_PRIMARY_ADDR(r1, 0x84, 0x7, &(0x7f0000000240)={@in6={{0x1c, 0x1c, 0x1, 0x7f, @loopback, 0xfffff9b1}}}, &(0x7f00000002c0)=0x80) syz_emit_ethernet(0x123c, &(0x7f0000000000)={@remote, @remote, [{[], {0x8100, 0x5, 0x1, 0x3}}], {@ipv6={0x86dd, {0x7, 0x6, "c3cb10", 0x1202, 0x2f, 0x1, @rand_addr="cdd9639d818e3c5354e423e67c0261ce", @rand_addr="9aa3a73eacf47f646cf70032c9d108ee", {[@hopopts={0x36, 0x1e, [], [@enc_lim={0x4, 0x1, 0x1}, @jumbo={0xc2, 0x4, 0x7}, @padn={0x1, 0x2, [0x0, 0x0]}, @generic={0xff, 0xe2, "6643d230d2ebee2da66799233fd3953c637fbff58a08fe47946de86f44bcf9e809d627768d7e38be69808921c800a8ca76dba12e6b01e8b0b852821fe46d8d1b863c6ed1f386d2779a2983036a403ec804bbc1ce77c679d945e9c0b836352e6f8ee210ede5f8eb2937afc8307287e8a27e8fc66de2ef50421840455126dc362d0994a2a2db619ca5b70f615b719413594471a2efad9e7e22a5400361abac231575d1b498781612296d932e4832dd0c9f6709c2f81038bbcde5c27832bae014b13b9b93b41374f997c188d74a33960b2b2948a2eb3211c2aca855f616f2223f4746ce"}, @enc_lim={0x4, 0x1, 0x1f}]}, @routing={0x31, 0x4, 0x0, 0x5, 0x0, [@ipv4={[], [], @broadcast}, @empty]}, @routing={0x58, 0x8, 0x1, 0x81, 0x0, [@local={0xfe, 0x80, [], 0x0}, @mcast1, @local={0xfe, 0x80, [], 0x0}, @loopback]}, @routing={0x59, 0xc, 0x0, 0x3, 0x0, [@rand_addr="d691f228498c816bd931bf11ea3cb358", @empty, @loopback, @rand_addr="4046fbe3c1e1669f072dd9ee3ba11696", @ipv4={[], [], @broadcast}, @mcast1]}, @fragment={0x27, 0x0, 0x91, 0x1, 0x0, 0x6, 0x66}, @hopopts={0x26, 0x0, [], [@ra={0x5, 0x2, 0x5}]}], @icmpv6=@ndisc_ra={0x86, 0x0, 0x0, 0x0, 0x9, 0x9, 0x401, 0x7fffffff, [{0x1, 0x200, "d145ff576d7fe933a6f7ae4bd47d7aec4360a335727c0267ff79e34d036694ea6d8de62ebb1941f6b9a95a6c95fa33d4a6ddfe3be408148daca556b6b4dfebef869da93cfa26fb8e16509febb321011f508eec7502824442d8620519d7ce359284ef093639001b689f9443260584dfaf819313726c4495ac4c3203aa603e26f374d696cdb36fb00e6c412edbefc16270c783d3a1ada35a07cd9225f21b9570f801a960e06d96556b9eaca234f12861444231c94aee6315fb199f69eebdf9fdb0bdb89902e0eb69bbdf9730aa371b84b02e9ab5f3a4f99f9205694f062460e286b1abef3936fdf183bd7c95a9d99b57827dea1814e0e2dc58a677f2ae6c73de4e27fe8856e417fd266088008abe5d38d74ea0bdc6d046c5d3f45e2ee47a440c5dfc30459b219bb3b1302feb6b36a6e524b1db70d57efe32823b0ad037a3c204c77748b85fd88abf24ef0717eac90e235d91764b48bb1dcc3c9177fc4b0fc997d3d4e90702872bf0d8702194e22577353e557c0041f106e5dee1d24f243ab7c07b4335a6886c04061e84966599b68c676e966008a7905f1706048334501a3608305330cb8b447a1698fa9646c73cd758871c1e8b96889ae3372a5fef5b03ef56d1608eae44a863b05991f626447730df97f33686e5cb72554a1a8ace8b530d3e60452352d9e93ed031852eb2dc87903a1346c3962ced8f4fd2c07e01843d19e253653fcc7eb3e710b546e1180844d95e67143def4619375d71173729dfabeecddd0239456fd1f563bedd3e8aa7bd29ce40bfb72e832324cf0e7ed960bc4cdd81a1d1c4d3a2f984218a8f7ce9288fb57b315c475a57c2d56743ba3987ad1fe69af5a391cdb9c8a551723340c3d1c989b5da33771f797e8993ef51546e9849ba61a3cb3babbc5b33fc9e883b3ee41e6d8c675841718b908092b2c4da4c1a78a17bee0c409d03cd8bed2d56a46ee7721b5659be3fa5cd0e89bceffaffaf1e95716adc762554c496a40282cb6d85f4e0e29fd76574001b893d0ffc8c94a187829e24546d890439547b81c18c4865be4cb57e06e319c5007d43459ec3aa20ce72f7883cbda6a303c343fbed7f62b2f2ac9f5d24842e8abae1c9e32954b0d0d60242891b1fae40d03283f33c0948e161fa2f9ffb77b72ce969718768282c45ae089faf80ecaff1658114a78d8b13833958a360fe8bead9b485d5dcc701812a559c6d04a22fe59d3f6fc0fcc7cbbbc4450a58bee99560579eff8d7846d062253d15d5e6b20a78134014323bc31f3dbfa53e2ede137e3c1129ba8db638a95972e1a7223504af10a149154fa581b9dbc516289cff0d655888592199c77fa553f07db009ee2a42c5412df9fe612d108ee2d595cbb0bf59776646cb7c83e3551a91c0aca05de20d0bfc6c1f8f5c9492f22e5714ea0cbab5763194996c818545c0997ff555e5d136aea50a7a93dc40340a725da5ca7ea45a483d2c9da67a254d6ebdb6e20270beb33373321d922375207bf54707e1d97d52a6930b4287cd0dc6d8d3346e388fe41fca91162739a30c97da08cc3f42b3f54382dcdef5d0e7670b8c98c0533bf6c53d58688d9b958b23a91a8a6f2ffad419e01e2bb776cc3213fef59a7034d835c022dad02994624c55855b09e266e416a66939fc3664e441b99d7ffa0b83bfd0b0d752de0baedc1746b4938201972253924b0a68641e7c935fbb4189e5fdc391a29e331151fe720bfbc06825ba0766e421a2613fc0b78ceeb3817f262c90f66e7cfa0533c17ac71b0b1f94ffb02e3807b6247e968cedb141206edf0ca6f98fd919fa5279fe208799d82ab3a70b9b4baea410dc7cb3933782d63fe42807cf0fa7f5c9ae0cd4d0a0294692d3629d9881dad532b34efd702d8eaf0ac20378e62b36460656e0e887c44959552c9620e9ec3e73fee5ca0e5a6dd767b7b7a97ac4c77e709ce7859f21f0be66c9be7f445fb15f7bf4c8124a567fbfe0d379f08cb1b816f4c720ef5e3a6a083b5be05694a0d3d3ac784fc4399b1ccb7482ca0a1182166403565a9f7d4b0b71cccd20b952aee3be5c9ab10663e08aa419c8dee91e6f9bc58377e949d7251a445e1a7f87933dbbac2703f5d111de77b9dc5de5a53b90ee18ef9ab6a154f3f2500df04124645a6f09edb80c2fed4f30ffc4659176a6d3633db7c6c6c7acdc9332fbfc34f63543f99c3e7283ab9a98e8073e2c1a3158158976f06a520975b2f565936521babdd27fce006d30f5d75053847e6124940f3ef663e7e12e206e8dccc221a2381a1762f3e6ebbd37eb7a5409498e19eeab8b75cfbd7522a3ef45a236ad0b7129154e44436bd8b8da1323469c150cd487746247d06f12ae67fa30dc79f4df5cc8c1f86e8b35689b5a2c32e50777cf132f14c4cd2fb8f3760a66ec723e29624f8a974953350ca8853239944e33727d5965e10c8da5a8fcb4033ea2f96cad4d33524d181844b5a6a2a3a0c0a3572e4354b5f0bb6c727bcf02d31f66742bcd3e3767c70b1fa695812896ed053934abee8dea4ca8242b1fe1409717ddca6676b358e7930dc927f688c22e2ae6296ff2ed3c8519f3f8d49c3a7183d4aa0da4e3c7a652d539bff9ab1952aa13c002a0a8e7128b4e4ab441fcc905a0f26f9f6b5fa31360d5c24845ad876577bb0e1fcfed3101aedf14a73c0ce03e36360c01eee27342c1fa46d72474cd519e57837c250cedf09a31e45deb383587c5aee4c36fe2a8df37240de321a6a1c6fc656b5e6b28ffa25f40a723a5d13cbe7b42b4f62f60ccfbaa4ffeb00ca3b6d94119c0594aa5e11af8055b10d1a5a9900bd25b850c993c3bd9a941bded209dc4c74e9421b84c81c624dfffd12f397cc79101da2aac938a23aa49908f3f1ff41fc60dba8240a04f0941784a2284aaebdcc8143910ab01780e463dfb8be387b99346fbf8676e7f3e92420502a98eaa6d710b064f016dce0d6dc41956aea4fc9f304394b321c78141ad4c8d6527d7e946cff3fe06b252ae992837f0a9b9be2fb5d6358e419f9f30c4358906a82685fc734d2d2497a152cbe965f7e3220d437a7e64e9d1cef4092d0f8e731910d04e15df205b130979e1b8710faa5804642ceca6667c9dfe3747ee43cd73466204470987d0e76af237218ccb37bd77a39a09918e74aaf597bd3fbd79bba735c5ce6e81c559c986bbf60755170b30474a9e7caa5e83a42f19f79b186ec3af3bf1112c00cf05bff72a0d1698a94a871c4e8a0797d4d7f3c3e7e2a27ca7b9386f16c0473395fe85b280f9aba2efdaa08bcc7f2f2c301e165d626c83285bddf052cba134df3bbdd1e8f46415bbb391e05b1e475f344c1012cca9a72fb122c25d7f85c92a74fe7350a909dfee05b8a87557ad0cbc5912dcbdf9373a5e413b8375df15d4d8a06f4ced1259a8165389acc897cfd01c0dbea278144d079440086f7febdcf7aa7eec023993df73d8d0d46163add80a7c686789331c15aa22c8cafd5df40d4561f6f24759eb3d6a97ea01a3a3368ea8b1cf6fff8bf58ac225528d7a17d21edfa6eacfc5aab6f785a0b3003ab6ee0de9423cd363b14d03e102f445b23c14a536d7b231243288f288da44f8a5e8bc1f13b8cec7cb6a2a569636163a098b2f40f45c43564f1aa8b916426e77510936202363fe0dd717450cca9e8cbde8dffc9b9e24d8bd3cf171e36f05c06334873110b9c2d1a3020b660aacb19682d771e02c4d80dbfcdd11edf7553abad4cd0cee0fc5e81e94c4810a2c497f3d0ffa21bf7a31b6a835daf1f609e23cd64f81c1716af85b9233b547e679c72755e6cbb1cb405d7a897fcaa8c815bbd5a2aecc89d69981f349af2f97edb5a6f4197d20eec8d4b0f3c2375b8839cf6858bbf101ee06aecb7516cc27d59a8bdc9b5b208aaa4b5c14a5251d9d232397dd8d0eb8855d3ae0625a254fb89779ab00b3af427454c6bf5cff225c2f77bac6e5997404f00a4079d2237d19aec130c03a771e126cec4bc0661c3f9fae365d617723024ef8802fc94a85ebb80144b165f9d4bc2a1f87ce048ea52858d65dd33b1320b697ed30299b1848835c616b0a687e887483127078433db991d662fa367421445be00af4c06a34e554b3efa0f8cf99d2e1740c3d23ae57f97e1d19770103d7ec6f17b085ee3ea95ee6c74c3753628d0a97b440d38c139fd8974f049e3b4a8e83dae7c626d0139f92c69a92975270456cf7640c4b0ea0c3f5f2bdffd9a0cca3acadc2f2789bd59109059ff454bf742da9933f66e004da866be462ba3a2e42a2302407e822791b782164c795b1712a2c1d957e37703a328ae14628884c76ed83d08710a6212dd13cc466ac8f4b8c65e8ad647261e41786dac815c47299ff9b572579c2b5a27af372358c3f2ba4c11f86cab07c65ca9f0f703554b162b73c3706add4f7e10d95b847ca798c092361b43e086569d402d55f72ca7aa78ee95d9343c381196bcf8f8cfb0b805d418d51ccab377f646b3934b4c6773ba4cd975a0f12084a337d435d4611550656345f83cba264a958f7ac218c63821b22b8bd1ac3684d6dcc3b71e445d5707b9a5a6ba9e7fc2405b259a6531e937b8ea4ac7f8fa8aaff40c570fa5bd488e289b73e0a05e94ce0bba7e4b2f2cd8b3a3fdf91eb5ea2b004f91500d84bfd36199f9aa9a0b3f66af816f0b9b462d79602a12e705ec62c00cecb61070e09bb25d49076bf75011ce19d4ea7ff6ef6ddc4fffcc134c81bf5bda49f66616792e3fbf0953d9a0c25dc36b245046c01ff8f98975329624f3c9eac958236daa0aa026996840d48dc633cebb5ef484ba7cdf1b76a27a803c4ea464eb30c5573147ba783f0e42869bfa9970b61d5ed05b790f6a93bab2f939eefc9efad8677e59a037e3ab2303ce97ffd53e3ce3369ba4c48eceb3aaedcb4089a97eb59fc9788204739d5e6df7c8dc326994bdcd1803cb4b521ff6647de9590dfcb2c570510a619118703e82e7e45a54e287a8c734d0294a8b2cd07ffa32e400edcd5bbf86b2dd2f09c2b72018b17e54debad47b839e98cebead5ce68a439e5eb427945dfdd168ac7026a5c9c33c6c3ce0b98f832d7ad16aecdb01891904f6042a4c98e5f41209b4488e6c99ef116f43c489f51e306476642194fe0535077c94fc80c5aba2e26e61c77b1fc5fe9dad47968bb4114baa614d234e3b0be0d5abec9e60d72c6956a797809b51e16b6f49029d2f4b2266d3a8b9b567099b556c2685a00bd84238a9080aa022c357ad6d454bd7594a029eb4284a973b48e6392f425b70301b8c51477500490b765c6b70015bdd99f51c2d1995d80ba04508d6e66eb56695cccf63d50cc40b02c80c3886ce75d8a02abbb7149daced8ff3e8dfc169fb46031c4c0f19060daba08d35d3402b20cb0417f14ef184f5f531f4695ba4832a8b6391b13f3abcdd2c05b5168c30fe3cde8677ff738836aa85b7ef90148b2556b790bd9bda3d108ea37b03acfd09a544a8e85843643f31368cfc226a930dc7496ed4c9966e3de92637933ee7bfdf12bbfbac0234a74e289bdb37a522bd047a1007a3687a21bc9b0cff80874277d825bdbab845c1ac50460563d08b1e04a7f1086e677931988d5cd6f974706d64f63e84491b302888f8b8f0f42997f5edd2510f26a0b16d7038bec871309389cab6f5761a2b9f00111bc4441bbfade0eca7cea5b0b8daca736e6150503aae879f72d108361ca31bafbf4e0c2e9ebd7af57265bb04c388923a00b4c59088a2f7b767b14f3982e642e7b3dd94dc6f4b6b0113c9d49f80a3e169c1060893539ffc3237d6eccf4920a9b50a860eed127a22ffe"}]}}}}}}) syz_execute_func(&(0x7f0000001240)="f22633545b41c4c2b1de3a0f4bbe11140000c4c231dc03c4c24d961c5f660f3821471ec4e185d87128c4c3c5cf8e0e080000fed16200c4c22d4011") syz_extract_tcp_res(&(0x7f0000001280), 0x26e, 0x1) csource_test.go:124: failed to build program: // 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 static void kill_and_wait(int pid, int* status) { kill(pid, SIGKILL); while (waitpid(-1, status, 0) != pid) { } } static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void 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 __attribute__((noinline)) remove_dir(const char* dir) { DIR* dp = opendir(dir); if (dp == NULL) { if (errno == EACCES) { if (rmdir(dir)) exit(1); return; } 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); struct stat st; if (lstat(filename, &st)) exit(1); if (S_ISDIR(st.st_mode)) { remove_dir(filename); continue; } if (unlink(filename)) exit(1); } closedir(dp); if (rmdir(dir)) 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); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); ev->state = 0; } static void event_reset(event_t* ev) { ev->state = 0; } static void event_set(event_t* ev) { pthread_mutex_lock(&ev->mu); if (ev->state) exit(1); ev->state = 1; pthread_mutex_unlock(&ev->mu); pthread_cond_broadcast(&ev->cv); } static void event_wait(event_t* ev) { pthread_mutex_lock(&ev->mu); while (!ev->state) pthread_cond_wait(&ev->cv, &ev->mu); pthread_mutex_unlock(&ev->mu); } static int event_isset(event_t* ev) { pthread_mutex_lock(&ev->mu); int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } static int event_timedwait(event_t* ev, uint64_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #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)))) struct csum_inet { uint32_t acc; }; static void csum_inet_init(struct csum_inet* csum) { csum->acc = 0; } static void csum_inet_update(struct csum_inet* csum, const uint8_t* data, size_t length) { if (length == 0) return; size_t i = 0; for (; i < length - 1; i += 2) csum->acc += *(uint16_t*)&data[i]; if (length & 1) csum->acc += le16toh((uint16_t)data[length - 1]); while (csum->acc > 0xffff) csum->acc = (csum->acc & 0xffff) + (csum->acc >> 16); } static uint16_t csum_inet_digest(struct csum_inet* csum) { return ~csum->acc; } static void sandbox_common() { if (setsid() == -1) exit(1); struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = 128 << 20; setrlimit(RLIMIT_AS, &rlim); rlim.rlim_cur = rlim.rlim_max = 8 << 20; setrlimit(RLIMIT_MEMLOCK, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_FSIZE, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_STACK, &rlim); rlim.rlim_cur = rlim.rlim_max = 0; setrlimit(RLIMIT_CORE, &rlim); rlim.rlim_cur = rlim.rlim_max = 256; setrlimit(RLIMIT_NOFILE, &rlim); } static void loop(); static int wait_for_loop(int pid) { if (pid < 0) exit(1); int status = 0; while (waitpid(-1, &status, WUNTRACED) != pid) { } return WEXITSTATUS(status); } static int do_sandbox_setuid(void) { int pid = fork(); if (pid != 0) return wait_for_loop(pid); sandbox_common(); char pwbuf[1024]; struct passwd *pw, pwres; if (getpwnam_r("nobody", &pwres, pwbuf, sizeof(pwbuf), &pw) != 0 || !pw) exit(1); if (setgroups(0, NULL)) exit(1); if (setgid(pw->pw_gid)) exit(1); if (setuid(pw->pw_uid)) exit(1); loop(); exit(1); } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } struct thread_t { int created, call; event_t ready, done; }; static struct thread_t threads[16]; static void execute_call(int call); static int running; static void* thr(void* arg) { struct thread_t* th = (struct thread_t*)arg; for (;;) { event_wait(&th->ready); event_reset(&th->ready); execute_call(th->call); __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); event_set(&th->done); } return 0; } static void execute_one(void) { int i, call, thread; for (call = 0; call < 13; 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, 45); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); #define WAIT_FLAGS 0 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); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5 * 1000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } uint64_t r[3] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: res = syscall(SYS_fcntl, 0xffffff9c, 0x11, 0xffffff9c); if (res != -1) r[0] = res; break; case 1: *(uint32_t*)0x10000000 = 5; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 5, 0x10000000, 4); break; case 2: *(uint64_t*)0x10000040 = 6; *(uint64_t*)0x10000048 = 0xa9; syscall(SYS_cap_rights_limit, (intptr_t)r[0], 0x10000040); break; case 3: *(uint8_t*)0x10000080 = 0x20; *(uint8_t*)0x10000081 = 0x81; *(uint8_t*)0x10000082 = 3; *(uint8_t*)0x10000083 = 0x20; *(uint8_t*)0x10000084 = 0x20; *(uint8_t*)0x10000085 = 0xf7; *(uint8_t*)0x10000086 = -1; *(uint8_t*)0x10000087 = 7; *(uint8_t*)0x10000088 = 4; *(uint8_t*)0x10000089 = 0x40; *(uint8_t*)0x1000008a = 4; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0xc, 0x10000080, 0xb); break; case 4: *(uint32_t*)0x100000c0 = 0; *(uint16_t*)0x100000c4 = 9; *(uint16_t*)0x100000c6 = 3; *(uint16_t*)0x100000c8 = 1; *(uint16_t*)0x100000ca = -1; *(uint16_t*)0x100000cc = 0x8000; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0x901, 0x100000c0, 0xe); break; case 5: *(uint32_t*)0x10000180 = 0x6e; res = syscall(SYS_accept, (intptr_t)r[0], 0x10000100, 0x10000180); if (res != -1) r[1] = res; break; case 6: memcpy((void*)0x100001c0, "./file0\000", 8); syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); break; case 7: res = syscall(SYS_socket, 2, 3, 1); if (res != -1) r[2] = res; break; case 8: syscall(SYS_fcntl, (intptr_t)r[2], 5, 0); break; case 9: *(uint8_t*)0x10000240 = 0x1c; *(uint8_t*)0x10000241 = 0x1c; *(uint16_t*)0x10000242 = htobe16(0x4e21); *(uint32_t*)0x10000244 = 0x7f; *(uint64_t*)0x10000248 = htobe64(0); *(uint64_t*)0x10000250 = htobe64(1); *(uint32_t*)0x10000258 = 0xfffff9b1; *(uint64_t*)0x1000025c = 0; *(uint64_t*)0x10000264 = 0; *(uint64_t*)0x1000026c = 0; *(uint64_t*)0x10000274 = 0; *(uint64_t*)0x1000027c = 0; *(uint64_t*)0x10000284 = 0; *(uint64_t*)0x1000028c = 0; *(uint64_t*)0x10000294 = 0; *(uint64_t*)0x1000029c = 0; *(uint64_t*)0x100002a4 = 0; *(uint64_t*)0x100002ac = 0; *(uint64_t*)0x100002b4 = 0; *(uint32_t*)0x100002bc = 0; *(uint32_t*)0x100002c0 = 0x80; syscall(SYS_getsockopt, (intptr_t)r[1], 0x84, 7, 0x10000240, 0x100002c0); break; case 10: *(uint8_t*)0x10000000 = 0xaa; *(uint8_t*)0x10000001 = 0xaa; *(uint8_t*)0x10000002 = 0xaa; *(uint8_t*)0x10000003 = 0xaa; *(uint8_t*)0x10000004 = 0xaa; *(uint8_t*)0x10000005 = 0xbb; *(uint8_t*)0x10000006 = 0xaa; *(uint8_t*)0x10000007 = 0xaa; *(uint8_t*)0x10000008 = 0xaa; *(uint8_t*)0x10000009 = 0xaa; *(uint8_t*)0x1000000a = 0xaa; *(uint8_t*)0x1000000b = 0xbb; *(uint16_t*)0x1000000c = htobe16(0x8100); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 5, 0, 3); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 1, 3, 1); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 3, 4, 12); *(uint16_t*)0x10000010 = htobe16(0x86dd); STORE_BY_BITMASK(uint8_t, , 0x10000012, 7, 0, 4); STORE_BY_BITMASK(uint8_t, , 0x10000012, 6, 4, 4); memcpy((void*)0x10000013, "\xc3\xcb\x10", 3); *(uint16_t*)0x10000016 = htobe16(0x1202); *(uint8_t*)0x10000018 = 0x2f; *(uint8_t*)0x10000019 = 1; memcpy((void*)0x1000001a, "\xcd\xd9\x63\x9d\x81\x8e\x3c\x53\x54\xe4\x23\xe6\x7c\x02\x61\xce", 16); memcpy((void*)0x1000002a, "\x9a\xa3\xa7\x3e\xac\xf4\x7f\x64\x6c\xf7\x00\x32\xc9\xd1\x08\xee", 16); *(uint8_t*)0x1000003a = 0x36; *(uint8_t*)0x1000003b = 0x1e; *(uint8_t*)0x1000003c = 0; *(uint8_t*)0x1000003d = 0; *(uint8_t*)0x1000003e = 0; *(uint8_t*)0x1000003f = 0; *(uint8_t*)0x10000040 = 0; *(uint8_t*)0x10000041 = 0; *(uint8_t*)0x10000042 = 4; *(uint8_t*)0x10000043 = 1; *(uint8_t*)0x10000044 = 1; *(uint8_t*)0x10000045 = 0xc2; *(uint8_t*)0x10000046 = 4; *(uint32_t*)0x10000047 = htobe32(7); *(uint8_t*)0x1000004b = 1; *(uint8_t*)0x1000004c = 2; *(uint8_t*)0x1000004d = 0; *(uint8_t*)0x1000004e = 0; *(uint8_t*)0x1000004f = -1; *(uint8_t*)0x10000050 = 0xe2; memcpy((void*)0x10000051, "\x66\x43\xd2\x30\xd2\xeb\xee\x2d\xa6\x67\x99\x23\x3f\xd3\x95\x3c\x63\x7f\xbf\xf5\x8a\x08\xfe\x47\x94\x6d\xe8\x6f\x44\xbc\xf9\xe8\x09\xd6\x27\x76\x8d\x7e\x38\xbe\x69\x80\x89\x21\xc8\x00\xa8\xca\x76\xdb\xa1\x2e\x6b\x01\xe8\xb0\xb8\x52\x82\x1f\xe4\x6d\x8d\x1b\x86\x3c\x6e\xd1\xf3\x86\xd2\x77\x9a\x29\x83\x03\x6a\x40\x3e\xc8\x04\xbb\xc1\xce\x77\xc6\x79\xd9\x45\xe9\xc0\xb8\x36\x35\x2e\x6f\x8e\xe2\x10\xed\xe5\xf8\xeb\x29\x37\xaf\xc8\x30\x72\x87\xe8\xa2\x7e\x8f\xc6\x6d\xe2\xef\x50\x42\x18\x40\x45\x51\x26\xdc\x36\x2d\x09\x94\xa2\xa2\xdb\x61\x9c\xa5\xb7\x0f\x61\x5b\x71\x94\x13\x59\x44\x71\xa2\xef\xad\x9e\x7e\x22\xa5\x40\x03\x61\xab\xac\x23\x15\x75\xd1\xb4\x98\x78\x16\x12\x29\x6d\x93\x2e\x48\x32\xdd\x0c\x9f\x67\x09\xc2\xf8\x10\x38\xbb\xcd\xe5\xc2\x78\x32\xba\xe0\x14\xb1\x3b\x9b\x93\xb4\x13\x74\xf9\x97\xc1\x88\xd7\x4a\x33\x96\x0b\x2b\x29\x48\xa2\xeb\x32\x11\xc2\xac\xa8\x55\xf6\x16\xf2\x22\x3f\x47\x46\xce", 226); *(uint8_t*)0x10000133 = 4; *(uint8_t*)0x10000134 = 1; *(uint8_t*)0x10000135 = 0x1f; *(uint8_t*)0x1000013a = 0x31; *(uint8_t*)0x1000013b = 4; *(uint8_t*)0x1000013c = 0; *(uint8_t*)0x1000013d = 5; *(uint32_t*)0x1000013e = 0; *(uint8_t*)0x10000142 = 0; *(uint8_t*)0x10000143 = 0; *(uint8_t*)0x10000144 = 0; *(uint8_t*)0x10000145 = 0; *(uint8_t*)0x10000146 = 0; *(uint8_t*)0x10000147 = 0; *(uint8_t*)0x10000148 = 0; *(uint8_t*)0x10000149 = 0; *(uint8_t*)0x1000014a = 0; *(uint8_t*)0x1000014b = 0; *(uint8_t*)0x1000014c = -1; *(uint8_t*)0x1000014d = -1; *(uint32_t*)0x1000014e = htobe32(-1); *(uint8_t*)0x10000152 = 0; *(uint8_t*)0x10000153 = 0; *(uint8_t*)0x10000154 = 0; *(uint8_t*)0x10000155 = 0; *(uint8_t*)0x10000156 = 0; *(uint8_t*)0x10000157 = 0; *(uint8_t*)0x10000158 = 0; *(uint8_t*)0x10000159 = 0; *(uint8_t*)0x1000015a = 0; *(uint8_t*)0x1000015b = 0; *(uint8_t*)0x1000015c = 0; *(uint8_t*)0x1000015d = 0; *(uint8_t*)0x1000015e = 0; *(uint8_t*)0x1000015f = 0; *(uint8_t*)0x10000160 = 0; *(uint8_t*)0x10000161 = 0; *(uint8_t*)0x10000162 = 0x58; *(uint8_t*)0x10000163 = 8; *(uint8_t*)0x10000164 = 1; *(uint8_t*)0x10000165 = 0x81; *(uint32_t*)0x10000166 = 0; *(uint8_t*)0x1000016a = 0xfe; *(uint8_t*)0x1000016b = 0x80; *(uint8_t*)0x1000016c = 0; *(uint8_t*)0x1000016d = 0; *(uint8_t*)0x1000016e = 0; *(uint8_t*)0x1000016f = 0; *(uint8_t*)0x10000170 = 0; *(uint8_t*)0x10000171 = 0; *(uint8_t*)0x10000172 = 0; *(uint8_t*)0x10000173 = 0; *(uint8_t*)0x10000174 = 0; *(uint8_t*)0x10000175 = 0; *(uint8_t*)0x10000176 = 0; *(uint8_t*)0x10000177 = 0; *(uint8_t*)0x10000178 = 0; *(uint8_t*)0x10000179 = 0xaa; *(uint8_t*)0x1000017a = -1; *(uint8_t*)0x1000017b = 1; *(uint8_t*)0x1000017c = 0; *(uint8_t*)0x1000017d = 0; *(uint8_t*)0x1000017e = 0; *(uint8_t*)0x1000017f = 0; *(uint8_t*)0x10000180 = 0; *(uint8_t*)0x10000181 = 0; *(uint8_t*)0x10000182 = 0; *(uint8_t*)0x10000183 = 0; *(uint8_t*)0x10000184 = 0; *(uint8_t*)0x10000185 = 0; *(uint8_t*)0x10000186 = 0; *(uint8_t*)0x10000187 = 0; *(uint8_t*)0x10000188 = 0; *(uint8_t*)0x10000189 = 1; *(uint8_t*)0x1000018a = 0xfe; *(uint8_t*)0x1000018b = 0x80; *(uint8_t*)0x1000018c = 0; *(uint8_t*)0x1000018d = 0; *(uint8_t*)0x1000018e = 0; *(uint8_t*)0x1000018f = 0; *(uint8_t*)0x10000190 = 0; *(uint8_t*)0x10000191 = 0; *(uint8_t*)0x10000192 = 0; *(uint8_t*)0x10000193 = 0; *(uint8_t*)0x10000194 = 0; *(uint8_t*)0x10000195 = 0; *(uint8_t*)0x10000196 = 0; *(uint8_t*)0x10000197 = 0; *(uint8_t*)0x10000198 = 0; *(uint8_t*)0x10000199 = 0xaa; *(uint64_t*)0x1000019a = htobe64(0); *(uint64_t*)0x100001a2 = htobe64(1); *(uint8_t*)0x100001aa = 0x59; *(uint8_t*)0x100001ab = 0xc; *(uint8_t*)0x100001ac = 0; *(uint8_t*)0x100001ad = 3; *(uint32_t*)0x100001ae = 0; memcpy((void*)0x100001b2, "\xd6\x91\xf2\x28\x49\x8c\x81\x6b\xd9\x31\xbf\x11\xea\x3c\xb3\x58", 16); *(uint8_t*)0x100001c2 = 0; *(uint8_t*)0x100001c3 = 0; *(uint8_t*)0x100001c4 = 0; *(uint8_t*)0x100001c5 = 0; *(uint8_t*)0x100001c6 = 0; *(uint8_t*)0x100001c7 = 0; *(uint8_t*)0x100001c8 = 0; *(uint8_t*)0x100001c9 = 0; *(uint8_t*)0x100001ca = 0; *(uint8_t*)0x100001cb = 0; *(uint8_t*)0x100001cc = 0; *(uint8_t*)0x100001cd = 0; *(uint8_t*)0x100001ce = 0; *(uint8_t*)0x100001cf = 0; *(uint8_t*)0x100001d0 = 0; *(uint8_t*)0x100001d1 = 0; *(uint64_t*)0x100001d2 = htobe64(0); *(uint64_t*)0x100001da = htobe64(1); memcpy((void*)0x100001e2, "\x40\x46\xfb\xe3\xc1\xe1\x66\x9f\x07\x2d\xd9\xee\x3b\xa1\x16\x96", 16); *(uint8_t*)0x100001f2 = 0; *(uint8_t*)0x100001f3 = 0; *(uint8_t*)0x100001f4 = 0; *(uint8_t*)0x100001f5 = 0; *(uint8_t*)0x100001f6 = 0; *(uint8_t*)0x100001f7 = 0; *(uint8_t*)0x100001f8 = 0; *(uint8_t*)0x100001f9 = 0; *(uint8_t*)0x100001fa = 0; *(uint8_t*)0x100001fb = 0; *(uint8_t*)0x100001fc = -1; *(uint8_t*)0x100001fd = -1; *(uint32_t*)0x100001fe = htobe32(-1); *(uint8_t*)0x10000202 = -1; *(uint8_t*)0x10000203 = 1; *(uint8_t*)0x10000204 = 0; *(uint8_t*)0x10000205 = 0; *(uint8_t*)0x10000206 = 0; *(uint8_t*)0x10000207 = 0; *(uint8_t*)0x10000208 = 0; *(uint8_t*)0x10000209 = 0; *(uint8_t*)0x1000020a = 0; *(uint8_t*)0x1000020b = 0; *(uint8_t*)0x1000020c = 0; *(uint8_t*)0x1000020d = 0; *(uint8_t*)0x1000020e = 0; *(uint8_t*)0x1000020f = 0; *(uint8_t*)0x10000210 = 0; *(uint8_t*)0x10000211 = 1; *(uint8_t*)0x10000212 = 0x27; *(uint8_t*)0x10000213 = 0; *(uint8_t*)0x10000214 = 0x91; STORE_BY_BITMASK(uint8_t, , 0x10000215, 1, 0, 1); STORE_BY_BITMASK(uint8_t, , 0x10000215, 0, 1, 2); STORE_BY_BITMASK(uint8_t, , 0x10000215, 6, 3, 5); *(uint32_t*)0x10000216 = 0x66; *(uint8_t*)0x1000021a = 0x26; *(uint8_t*)0x1000021b = 0; *(uint8_t*)0x1000021c = 0; *(uint8_t*)0x1000021d = 0; *(uint8_t*)0x1000021e = 0; *(uint8_t*)0x1000021f = 0; *(uint8_t*)0x10000220 = 0; *(uint8_t*)0x10000221 = 0; *(uint8_t*)0x10000222 = 5; *(uint8_t*)0x10000223 = 2; *(uint16_t*)0x10000224 = htobe16(5); *(uint8_t*)0x1000022a = 0x86; *(uint8_t*)0x1000022b = 0; *(uint16_t*)0x1000022c = htobe16(0); *(uint8_t*)0x1000022e = 0; *(uint8_t*)0x1000022f = 9; *(uint16_t*)0x10000230 = htobe16(9); *(uint32_t*)0x10000232 = htobe32(0x401); *(uint32_t*)0x10000236 = htobe32(0x7fffffff); *(uint8_t*)0x1000023a = 1; *(uint8_t*)0x1000023b = 0; memcpy((void*)0x1000023c, "\xd1\x45\xff\x57\x6d\x7f\xe9\x33\xa6\xf7\xae\x4b\xd4\x7d\x7a\xec\x43\x60\xa3\x35\x72\x7c\x02\x67\xff\x79\xe3\x4d\x03\x66\x94\xea\x6d\x8d\xe6\x2e\xbb\x19\x41\xf6\xb9\xa9\x5a\x6c\x95\xfa\x33\xd4\xa6\xdd\xfe\x3b\xe4\x08\x14\x8d\xac\xa5\x56\xb6\xb4\xdf\xeb\xef\x86\x9d\xa9\x3c\xfa\x26\xfb\x8e\x16\x50\x9f\xeb\xb3\x21\x01\x1f\x50\x8e\xec\x75\x02\x82\x44\x42\xd8\x62\x05\x19\xd7\xce\x35\x92\x84\xef\x09\x36\x39\x00\x1b\x68\x9f\x94\x43\x26\x05\x84\xdf\xaf\x81\x93\x13\x72\x6c\x44\x95\xac\x4c\x32\x03\xaa\x60\x3e\x26\xf3\x74\xd6\x96\xcd\xb3\x6f\xb0\x0e\x6c\x41\x2e\xdb\xef\xc1\x62\x70\xc7\x83\xd3\xa1\xad\xa3\x5a\x07\xcd\x92\x25\xf2\x1b\x95\x70\xf8\x01\xa9\x60\xe0\x6d\x96\x55\x6b\x9e\xac\xa2\x34\xf1\x28\x61\x44\x42\x31\xc9\x4a\xee\x63\x15\xfb\x19\x9f\x69\xee\xbd\xf9\xfd\xb0\xbd\xb8\x99\x02\xe0\xeb\x69\xbb\xdf\x97\x30\xaa\x37\x1b\x84\xb0\x2e\x9a\xb5\xf3\xa4\xf9\x9f\x92\x05\x69\x4f\x06\x24\x60\xe2\x86\xb1\xab\xef\x39\x36\xfd\xf1\x83\xbd\x7c\x95\xa9\xd9\x9b\x57\x82\x7d\xea\x18\x14\xe0\xe2\xdc\x58\xa6\x77\xf2\xae\x6c\x73\xde\x4e\x27\xfe\x88\x56\xe4\x17\xfd\x26\x60\x88\x00\x8a\xbe\x5d\x38\xd7\x4e\xa0\xbd\xc6\xd0\x46\xc5\xd3\xf4\x5e\x2e\xe4\x7a\x44\x0c\x5d\xfc\x30\x45\x9b\x21\x9b\xb3\xb1\x30\x2f\xeb\x6b\x36\xa6\xe5\x24\xb1\xdb\x70\xd5\x7e\xfe\x32\x82\x3b\x0a\xd0\x37\xa3\xc2\x04\xc7\x77\x48\xb8\x5f\xd8\x8a\xbf\x24\xef\x07\x17\xea\xc9\x0e\x23\x5d\x91\x76\x4b\x48\xbb\x1d\xcc\x3c\x91\x77\xfc\x4b\x0f\xc9\x97\xd3\xd4\xe9\x07\x02\x87\x2b\xf0\xd8\x70\x21\x94\xe2\x25\x77\x35\x3e\x55\x7c\x00\x41\xf1\x06\xe5\xde\xe1\xd2\x4f\x24\x3a\xb7\xc0\x7b\x43\x35\xa6\x88\x6c\x04\x06\x1e\x84\x96\x65\x99\xb6\x8c\x67\x6e\x96\x60\x08\xa7\x90\x5f\x17\x06\x04\x83\x34\x50\x1a\x36\x08\x30\x53\x30\xcb\x8b\x44\x7a\x16\x98\xfa\x96\x46\xc7\x3c\xd7\x58\x87\x1c\x1e\x8b\x96\x88\x9a\xe3\x37\x2a\x5f\xef\x5b\x03\xef\x56\xd1\x60\x8e\xae\x44\xa8\x63\xb0\x59\x91\xf6\x26\x44\x77\x30\xdf\x97\xf3\x36\x86\xe5\xcb\x72\x55\x4a\x1a\x8a\xce\x8b\x53\x0d\x3e\x60\x45\x23\x52\xd9\xe9\x3e\xd0\x31\x85\x2e\xb2\xdc\x87\x90\x3a\x13\x46\xc3\x96\x2c\xed\x8f\x4f\xd2\xc0\x7e\x01\x84\x3d\x19\xe2\x53\x65\x3f\xcc\x7e\xb3\xe7\x10\xb5\x46\xe1\x18\x08\x44\xd9\x5e\x67\x14\x3d\xef\x46\x19\x37\x5d\x71\x17\x37\x29\xdf\xab\xee\xcd\xdd\x02\x39\x45\x6f\xd1\xf5\x63\xbe\xdd\x3e\x8a\xa7\xbd\x29\xce\x40\xbf\xb7\x2e\x83\x23\x24\xcf\x0e\x7e\xd9\x60\xbc\x4c\xdd\x81\xa1\xd1\xc4\xd3\xa2\xf9\x84\x21\x8a\x8f\x7c\xe9\x28\x8f\xb5\x7b\x31\x5c\x47\x5a\x57\xc2\xd5\x67\x43\xba\x39\x87\xad\x1f\xe6\x9a\xf5\xa3\x91\xcd\xb9\xc8\xa5\x51\x72\x33\x40\xc3\xd1\xc9\x89\xb5\xda\x33\x77\x1f\x79\x7e\x89\x93\xef\x51\x54\x6e\x98\x49\xba\x61\xa3\xcb\x3b\xab\xbc\x5b\x33\xfc\x9e\x88\x3b\x3e\xe4\x1e\x6d\x8c\x67\x58\x41\x71\x8b\x90\x80\x92\xb2\xc4\xda\x4c\x1a\x78\xa1\x7b\xee\x0c\x40\x9d\x03\xcd\x8b\xed\x2d\x56\xa4\x6e\xe7\x72\x1b\x56\x59\xbe\x3f\xa5\xcd\x0e\x89\xbc\xef\xfa\xff\xaf\x1e\x95\x71\x6a\xdc\x76\x25\x54\xc4\x96\xa4\x02\x82\xcb\x6d\x85\xf4\xe0\xe2\x9f\xd7\x65\x74\x00\x1b\x89\x3d\x0f\xfc\x8c\x94\xa1\x87\x82\x9e\x24\x54\x6d\x89\x04\x39\x54\x7b\x81\xc1\x8c\x48\x65\xbe\x4c\xb5\x7e\x06\xe3\x19\xc5\x00\x7d\x43\x45\x9e\xc3\xaa\x20\xce\x72\xf7\x88\x3c\xbd\xa6\xa3\x03\xc3\x43\xfb\xed\x7f\x62\xb2\xf2\xac\x9f\x5d\x24\x84\x2e\x8a\xba\xe1\xc9\xe3\x29\x54\xb0\xd0\xd6\x02\x42\x89\x1b\x1f\xae\x40\xd0\x32\x83\xf3\x3c\x09\x48\xe1\x61\xfa\x2f\x9f\xfb\x77\xb7\x2c\xe9\x69\x71\x87\x68\x28\x2c\x45\xae\x08\x9f\xaf\x80\xec\xaf\xf1\x65\x81\x14\xa7\x8d\x8b\x13\x83\x39\x58\xa3\x60\xfe\x8b\xea\xd9\xb4\x85\xd5\xdc\xc7\x01\x81\x2a\x55\x9c\x6d\x04\xa2\x2f\xe5\x9d\x3f\x6f\xc0\xfc\xc7\xcb\xbb\xc4\x45\x0a\x58\xbe\xe9\x95\x60\x57\x9e\xff\x8d\x78\x46\xd0\x62\x25\x3d\x15\xd5\xe6\xb2\x0a\x78\x13\x40\x14\x32\x3b\xc3\x1f\x3d\xbf\xa5\x3e\x2e\xde\x13\x7e\x3c\x11\x29\xba\x8d\xb6\x38\xa9\x59\x72\xe1\xa7\x22\x35\x04\xaf\x10\xa1\x49\x15\x4f\xa5\x81\xb9\xdb\xc5\x16\x28\x9c\xff\x0d\x65\x58\x88\x59\x21\x99\xc7\x7f\xa5\x53\xf0\x7d\xb0\x09\xee\x2a\x42\xc5\x41\x2d\xf9\xfe\x61\x2d\x10\x8e\xe2\xd5\x95\xcb\xb0\xbf\x59\x77\x66\x46\xcb\x7c\x83\xe3\x55\x1a\x91\xc0\xac\xa0\x5d\xe2\x0d\x0b\xfc\x6c\x1f\x8f\x5c\x94\x92\xf2\x2e\x57\x14\xea\x0c\xba\xb5\x76\x31\x94\x99\x6c\x81\x85\x45\xc0\x99\x7f\xf5\x55\xe5\xd1\x36\xae\xa5\x0a\x7a\x93\xdc\x40\x34\x0a\x72\x5d\xa5\xca\x7e\xa4\x5a\x48\x3d\x2c\x9d\xa6\x7a\x25\x4d\x6e\xbd\xb6\xe2\x02\x70\xbe\xb3\x33\x73\x32\x1d\x92\x23\x75\x20\x7b\xf5\x47\x07\xe1\xd9\x7d\x52\xa6\x93\x0b\x42\x87\xcd\x0d\xc6\xd8\xd3\x34\x6e\x38\x8f\xe4\x1f\xca\x91\x16\x27\x39\xa3\x0c\x97\xda\x08\xcc\x3f\x42\xb3\xf5\x43\x82\xdc\xde\xf5\xd0\xe7\x67\x0b\x8c\x98\xc0\x53\x3b\xf6\xc5\x3d\x58\x68\x8d\x9b\x95\x8b\x23\xa9\x1a\x8a\x6f\x2f\xfa\xd4\x19\xe0\x1e\x2b\xb7\x76\xcc\x32\x13\xfe\xf5\x9a\x70\x34\xd8\x35\xc0\x22\xda\xd0\x29\x94\x62\x4c\x55\x85\x5b\x09\xe2\x66\xe4\x16\xa6\x69\x39\xfc\x36\x64\xe4\x41\xb9\x9d\x7f\xfa\x0b\x83\xbf\xd0\xb0\xd7\x52\xde\x0b\xae\xdc\x17\x46\xb4\x93\x82\x01\x97\x22\x53\x92\x4b\x0a\x68\x64\x1e\x7c\x93\x5f\xbb\x41\x89\xe5\xfd\xc3\x91\xa2\x9e\x33\x11\x51\xfe\x72\x0b\xfb\xc0\x68\x25\xba\x07\x66\xe4\x21\xa2\x61\x3f\xc0\xb7\x8c\xee\xb3\x81\x7f\x26\x2c\x90\xf6\x6e\x7c\xfa\x05\x33\xc1\x7a\xc7\x1b\x0b\x1f\x94\xff\xb0\x2e\x38\x07\xb6\x24\x7e\x96\x8c\xed\xb1\x41\x20\x6e\xdf\x0c\xa6\xf9\x8f\xd9\x19\xfa\x52\x79\xfe\x20\x87\x99\xd8\x2a\xb3\xa7\x0b\x9b\x4b\xae\xa4\x10\xdc\x7c\xb3\x93\x37\x82\xd6\x3f\xe4\x28\x07\xcf\x0f\xa7\xf5\xc9\xae\x0c\xd4\xd0\xa0\x29\x46\x92\xd3\x62\x9d\x98\x81\xda\xd5\x32\xb3\x4e\xfd\x70\x2d\x8e\xaf\x0a\xc2\x03\x78\xe6\x2b\x36\x46\x06\x56\xe0\xe8\x87\xc4\x49\x59\x55\x2c\x96\x20\xe9\xec\x3e\x73\xfe\xe5\xca\x0e\x5a\x6d\xd7\x67\xb7\xb7\xa9\x7a\xc4\xc7\x7e\x70\x9c\xe7\x85\x9f\x21\xf0\xbe\x66\xc9\xbe\x7f\x44\x5f\xb1\x5f\x7b\xf4\xc8\x12\x4a\x56\x7f\xbf\xe0\xd3\x79\xf0\x8c\xb1\xb8\x16\xf4\xc7\x20\xef\x5e\x3a\x6a\x08\x3b\x5b\xe0\x56\x94\xa0\xd3\xd3\xac\x78\x4f\xc4\x39\x9b\x1c\xcb\x74\x82\xca\x0a\x11\x82\x16\x64\x03\x56\x5a\x9f\x7d\x4b\x0b\x71\xcc\xcd\x20\xb9\x52\xae\xe3\xbe\x5c\x9a\xb1\x06\x63\xe0\x8a\xa4\x19\xc8\xde\xe9\x1e\x6f\x9b\xc5\x83\x77\xe9\x49\xd7\x25\x1a\x44\x5e\x1a\x7f\x87\x93\x3d\xbb\xac\x27\x03\xf5\xd1\x11\xde\x77\xb9\xdc\x5d\xe5\xa5\x3b\x90\xee\x18\xef\x9a\xb6\xa1\x54\xf3\xf2\x50\x0d\xf0\x41\x24\x64\x5a\x6f\x09\xed\xb8\x0c\x2f\xed\x4f\x30\xff\xc4\x65\x91\x76\xa6\xd3\x63\x3d\xb7\xc6\xc6\xc7\xac\xdc\x93\x32\xfb\xfc\x34\xf6\x35\x43\xf9\x9c\x3e\x72\x83\xab\x9a\x98\xe8\x07\x3e\x2c\x1a\x31\x58\x15\x89\x76\xf0\x6a\x52\x09\x75\xb2\xf5\x65\x93\x65\x21\xba\xbd\xd2\x7f\xce\x00\x6d\x30\xf5\xd7\x50\x53\x84\x7e\x61\x24\x94\x0f\x3e\xf6\x63\xe7\xe1\x2e\x20\x6e\x8d\xcc\xc2\x21\xa2\x38\x1a\x17\x62\xf3\xe6\xeb\xbd\x37\xeb\x7a\x54\x09\x49\x8e\x19\xee\xab\x8b\x75\xcf\xbd\x75\x22\xa3\xef\x45\xa2\x36\xad\x0b\x71\x29\x15\x4e\x44\x43\x6b\xd8\xb8\xda\x13\x23\x46\x9c\x15\x0c\xd4\x87\x74\x62\x47\xd0\x6f\x12\xae\x67\xfa\x30\xdc\x79\xf4\xdf\x5c\xc8\xc1\xf8\x6e\x8b\x35\x68\x9b\x5a\x2c\x32\xe5\x07\x77\xcf\x13\x2f\x14\xc4\xcd\x2f\xb8\xf3\x76\x0a\x66\xec\x72\x3e\x29\x62\x4f\x8a\x97\x49\x53\x35\x0c\xa8\x85\x32\x39\x94\x4e\x33\x72\x7d\x59\x65\xe1\x0c\x8d\xa5\xa8\xfc\xb4\x03\x3e\xa2\xf9\x6c\xad\x4d\x33\x52\x4d\x18\x18\x44\xb5\xa6\xa2\xa3\xa0\xc0\xa3\x57\x2e\x43\x54\xb5\xf0\xbb\x6c\x72\x7b\xcf\x02\xd3\x1f\x66\x74\x2b\xcd\x3e\x37\x67\xc7\x0b\x1f\xa6\x95\x81\x28\x96\xed\x05\x39\x34\xab\xee\x8d\xea\x4c\xa8\x24\x2b\x1f\xe1\x40\x97\x17\xdd\xca\x66\x76\xb3\x58\xe7\x93\x0d\xc9\x27\xf6\x88\xc2\x2e\x2a\xe6\x29\x6f\xf2\xed\x3c\x85\x19\xf3\xf8\xd4\x9c\x3a\x71\x83\xd4\xaa\x0d\xa4\xe3\xc7\xa6\x52\xd5\x39\xbf\xf9\xab\x19\x52\xaa\x13\xc0\x02\xa0\xa8\xe7\x12\x8b\x4e\x4a\xb4\x41\xfc\xc9\x05\xa0\xf2\x6f\x9f\x6b\x5f\xa3\x13\x60\xd5\xc2\x48\x45\xad\x87\x65\x77\xbb\x0e\x1f\xcf\xed\x31\x01\xae\xdf\x14\xa7\x3c\x0c\xe0\x3e\x36\x36\x0c\x01\xee\xe2\x73\x42\xc1\xfa\x46\xd7\x24\x74\xcd\x51\x9e\x57\x83\x7c\x25\x0c\xed\xf0\x9a\x31\xe4\x5d\xeb\x38\x35\x87\xc5\xae\xe4\xc3\x6f\xe2\xa8\xdf\x37\x24\x0d\xe3\x21\xa6\xa1\xc6\xfc\x65\x6b\x5e\x6b\x28\xff\xa2\x5f\x40\xa7\x23\xa5\xd1\x3c\xbe\x7b\x42\xb4\xf6\x2f\x60\xcc\xfb\xaa\x4f\xfe\xb0\x0c\xa3\xb6\xd9\x41\x19\xc0\x59\x4a\xa5\xe1\x1a\xf8\x05\x5b\x10\xd1\xa5\xa9\x90\x0b\xd2\x5b\x85\x0c\x99\x3c\x3b\xd9\xa9\x41\xbd\xed\x20\x9d\xc4\xc7\x4e\x94\x21\xb8\x4c\x81\xc6\x24\xdf\xff\xd1\x2f\x39\x7c\xc7\x91\x01\xda\x2a\xac\x93\x8a\x23\xaa\x49\x90\x8f\x3f\x1f\xf4\x1f\xc6\x0d\xba\x82\x40\xa0\x4f\x09\x41\x78\x4a\x22\x84\xaa\xeb\xdc\xc8\x14\x39\x10\xab\x01\x78\x0e\x46\x3d\xfb\x8b\xe3\x87\xb9\x93\x46\xfb\xf8\x67\x6e\x7f\x3e\x92\x42\x05\x02\xa9\x8e\xaa\x6d\x71\x0b\x06\x4f\x01\x6d\xce\x0d\x6d\xc4\x19\x56\xae\xa4\xfc\x9f\x30\x43\x94\xb3\x21\xc7\x81\x41\xad\x4c\x8d\x65\x27\xd7\xe9\x46\xcf\xf3\xfe\x06\xb2\x52\xae\x99\x28\x37\xf0\xa9\xb9\xbe\x2f\xb5\xd6\x35\x8e\x41\x9f\x9f\x30\xc4\x35\x89\x06\xa8\x26\x85\xfc\x73\x4d\x2d\x24\x97\xa1\x52\xcb\xe9\x65\xf7\xe3\x22\x0d\x43\x7a\x7e\x64\xe9\xd1\xce\xf4\x09\x2d\x0f\x8e\x73\x19\x10\xd0\x4e\x15\xdf\x20\x5b\x13\x09\x79\xe1\xb8\x71\x0f\xaa\x58\x04\x64\x2c\xec\xa6\x66\x7c\x9d\xfe\x37\x47\xee\x43\xcd\x73\x46\x62\x04\x47\x09\x87\xd0\xe7\x6a\xf2\x37\x21\x8c\xcb\x37\xbd\x77\xa3\x9a\x09\x91\x8e\x74\xaa\xf5\x97\xbd\x3f\xbd\x79\xbb\xa7\x35\xc5\xce\x6e\x81\xc5\x59\xc9\x86\xbb\xf6\x07\x55\x17\x0b\x30\x47\x4a\x9e\x7c\xaa\x5e\x83\xa4\x2f\x19\xf7\x9b\x18\x6e\xc3\xaf\x3b\xf1\x11\x2c\x00\xcf\x05\xbf\xf7\x2a\x0d\x16\x98\xa9\x4a\x87\x1c\x4e\x8a\x07\x97\xd4\xd7\xf3\xc3\xe7\xe2\xa2\x7c\xa7\xb9\x38\x6f\x16\xc0\x47\x33\x95\xfe\x85\xb2\x80\xf9\xab\xa2\xef\xda\xa0\x8b\xcc\x7f\x2f\x2c\x30\x1e\x16\x5d\x62\x6c\x83\x28\x5b\xdd\xf0\x52\xcb\xa1\x34\xdf\x3b\xbd\xd1\xe8\xf4\x64\x15\xbb\xb3\x91\xe0\x5b\x1e\x47\x5f\x34\x4c\x10\x12\xcc\xa9\xa7\x2f\xb1\x22\xc2\x5d\x7f\x85\xc9\x2a\x74\xfe\x73\x50\xa9\x09\xdf\xee\x05\xb8\xa8\x75\x57\xad\x0c\xbc\x59\x12\xdc\xbd\xf9\x37\x3a\x5e\x41\x3b\x83\x75\xdf\x15\xd4\xd8\xa0\x6f\x4c\xed\x12\x59\xa8\x16\x53\x89\xac\xc8\x97\xcf\xd0\x1c\x0d\xbe\xa2\x78\x14\x4d\x07\x94\x40\x08\x6f\x7f\xeb\xdc\xf7\xaa\x7e\xec\x02\x39\x93\xdf\x73\xd8\xd0\xd4\x61\x63\xad\xd8\x0a\x7c\x68\x67\x89\x33\x1c\x15\xaa\x22\xc8\xca\xfd\x5d\xf4\x0d\x45\x61\xf6\xf2\x47\x59\xeb\x3d\x6a\x97\xea\x01\xa3\xa3\x36\x8e\xa8\xb1\xcf\x6f\xff\x8b\xf5\x8a\xc2\x25\x52\x8d\x7a\x17\xd2\x1e\xdf\xa6\xea\xcf\xc5\xaa\xb6\xf7\x85\xa0\xb3\x00\x3a\xb6\xee\x0d\xe9\x42\x3c\xd3\x63\xb1\x4d\x03\xe1\x02\xf4\x45\xb2\x3c\x14\xa5\x36\xd7\xb2\x31\x24\x32\x88\xf2\x88\xda\x44\xf8\xa5\xe8\xbc\x1f\x13\xb8\xce\xc7\xcb\x6a\x2a\x56\x96\x36\x16\x3a\x09\x8b\x2f\x40\xf4\x5c\x43\x56\x4f\x1a\xa8\xb9\x16\x42\x6e\x77\x51\x09\x36\x20\x23\x63\xfe\x0d\xd7\x17\x45\x0c\xca\x9e\x8c\xbd\xe8\xdf\xfc\x9b\x9e\x24\xd8\xbd\x3c\xf1\x71\xe3\x6f\x05\xc0\x63\x34\x87\x31\x10\xb9\xc2\xd1\xa3\x02\x0b\x66\x0a\xac\xb1\x96\x82\xd7\x71\xe0\x2c\x4d\x80\xdb\xfc\xdd\x11\xed\xf7\x55\x3a\xba\xd4\xcd\x0c\xee\x0f\xc5\xe8\x1e\x94\xc4\x81\x0a\x2c\x49\x7f\x3d\x0f\xfa\x21\xbf\x7a\x31\xb6\xa8\x35\xda\xf1\xf6\x09\xe2\x3c\xd6\x4f\x81\xc1\x71\x6a\xf8\x5b\x92\x33\xb5\x47\xe6\x79\xc7\x27\x55\xe6\xcb\xb1\xcb\x40\x5d\x7a\x89\x7f\xca\xa8\xc8\x15\xbb\xd5\xa2\xae\xcc\x89\xd6\x99\x81\xf3\x49\xaf\x2f\x97\xed\xb5\xa6\xf4\x19\x7d\x20\xee\xc8\xd4\xb0\xf3\xc2\x37\x5b\x88\x39\xcf\x68\x58\xbb\xf1\x01\xee\x06\xae\xcb\x75\x16\xcc\x27\xd5\x9a\x8b\xdc\x9b\x5b\x20\x8a\xaa\x4b\x5c\x14\xa5\x25\x1d\x9d\x23\x23\x97\xdd\x8d\x0e\xb8\x85\x5d\x3a\xe0\x62\x5a\x25\x4f\xb8\x97\x79\xab\x00\xb3\xaf\x42\x74\x54\xc6\xbf\x5c\xff\x22\x5c\x2f\x77\xba\xc6\xe5\x99\x74\x04\xf0\x0a\x40\x79\xd2\x23\x7d\x19\xae\xc1\x30\xc0\x3a\x77\x1e\x12\x6c\xec\x4b\xc0\x66\x1c\x3f\x9f\xae\x36\x5d\x61\x77\x23\x02\x4e\xf8\x80\x2f\xc9\x4a\x85\xeb\xb8\x01\x44\xb1\x65\xf9\xd4\xbc\x2a\x1f\x87\xce\x04\x8e\xa5\x28\x58\xd6\x5d\xd3\x3b\x13\x20\xb6\x97\xed\x30\x29\x9b\x18\x48\x83\x5c\x61\x6b\x0a\x68\x7e\x88\x74\x83\x12\x70\x78\x43\x3d\xb9\x91\xd6\x62\xfa\x36\x74\x21\x44\x5b\xe0\x0a\xf4\xc0\x6a\x34\xe5\x54\xb3\xef\xa0\xf8\xcf\x99\xd2\xe1\x74\x0c\x3d\x23\xae\x57\xf9\x7e\x1d\x19\x77\x01\x03\xd7\xec\x6f\x17\xb0\x85\xee\x3e\xa9\x5e\xe6\xc7\x4c\x37\x53\x62\x8d\x0a\x97\xb4\x40\xd3\x8c\x13\x9f\xd8\x97\x4f\x04\x9e\x3b\x4a\x8e\x83\xda\xe7\xc6\x26\xd0\x13\x9f\x92\xc6\x9a\x92\x97\x52\x70\x45\x6c\xf7\x64\x0c\x4b\x0e\xa0\xc3\xf5\xf2\xbd\xff\xd9\xa0\xcc\xa3\xac\xad\xc2\xf2\x78\x9b\xd5\x91\x09\x05\x9f\xf4\x54\xbf\x74\x2d\xa9\x93\x3f\x66\xe0\x04\xda\x86\x6b\xe4\x62\xba\x3a\x2e\x42\xa2\x30\x24\x07\xe8\x22\x79\x1b\x78\x21\x64\xc7\x95\xb1\x71\x2a\x2c\x1d\x95\x7e\x37\x70\x3a\x32\x8a\xe1\x46\x28\x88\x4c\x76\xed\x83\xd0\x87\x10\xa6\x21\x2d\xd1\x3c\xc4\x66\xac\x8f\x4b\x8c\x65\xe8\xad\x64\x72\x61\xe4\x17\x86\xda\xc8\x15\xc4\x72\x99\xff\x9b\x57\x25\x79\xc2\xb5\xa2\x7a\xf3\x72\x35\x8c\x3f\x2b\xa4\xc1\x1f\x86\xca\xb0\x7c\x65\xca\x9f\x0f\x70\x35\x54\xb1\x62\xb7\x3c\x37\x06\xad\xd4\xf7\xe1\x0d\x95\xb8\x47\xca\x79\x8c\x09\x23\x61\xb4\x3e\x08\x65\x69\xd4\x02\xd5\x5f\x72\xca\x7a\xa7\x8e\xe9\x5d\x93\x43\xc3\x81\x19\x6b\xcf\x8f\x8c\xfb\x0b\x80\x5d\x41\x8d\x51\xcc\xab\x37\x7f\x64\x6b\x39\x34\xb4\xc6\x77\x3b\xa4\xcd\x97\x5a\x0f\x12\x08\x4a\x33\x7d\x43\x5d\x46\x11\x55\x06\x56\x34\x5f\x83\xcb\xa2\x64\xa9\x58\xf7\xac\x21\x8c\x63\x82\x1b\x22\xb8\xbd\x1a\xc3\x68\x4d\x6d\xcc\x3b\x71\xe4\x45\xd5\x70\x7b\x9a\x5a\x6b\xa9\xe7\xfc\x24\x05\xb2\x59\xa6\x53\x1e\x93\x7b\x8e\xa4\xac\x7f\x8f\xa8\xaa\xff\x40\xc5\x70\xfa\x5b\xd4\x88\xe2\x89\xb7\x3e\x0a\x05\xe9\x4c\xe0\xbb\xa7\xe4\xb2\xf2\xcd\x8b\x3a\x3f\xdf\x91\xeb\x5e\xa2\xb0\x04\xf9\x15\x00\xd8\x4b\xfd\x36\x19\x9f\x9a\xa9\xa0\xb3\xf6\x6a\xf8\x16\xf0\xb9\xb4\x62\xd7\x96\x02\xa1\x2e\x70\x5e\xc6\x2c\x00\xce\xcb\x61\x07\x0e\x09\xbb\x25\xd4\x90\x76\xbf\x75\x01\x1c\xe1\x9d\x4e\xa7\xff\x6e\xf6\xdd\xc4\xff\xfc\xc1\x34\xc8\x1b\xf5\xbd\xa4\x9f\x66\x61\x67\x92\xe3\xfb\xf0\x95\x3d\x9a\x0c\x25\xdc\x36\xb2\x45\x04\x6c\x01\xff\x8f\x98\x97\x53\x29\x62\x4f\x3c\x9e\xac\x95\x82\x36\xda\xa0\xaa\x02\x69\x96\x84\x0d\x48\xdc\x63\x3c\xeb\xb5\xef\x48\x4b\xa7\xcd\xf1\xb7\x6a\x27\xa8\x03\xc4\xea\x46\x4e\xb3\x0c\x55\x73\x14\x7b\xa7\x83\xf0\xe4\x28\x69\xbf\xa9\x97\x0b\x61\xd5\xed\x05\xb7\x90\xf6\xa9\x3b\xab\x2f\x93\x9e\xef\xc9\xef\xad\x86\x77\xe5\x9a\x03\x7e\x3a\xb2\x30\x3c\xe9\x7f\xfd\x53\xe3\xce\x33\x69\xba\x4c\x48\xec\xeb\x3a\xae\xdc\xb4\x08\x9a\x97\xeb\x59\xfc\x97\x88\x20\x47\x39\xd5\xe6\xdf\x7c\x8d\xc3\x26\x99\x4b\xdc\xd1\x80\x3c\xb4\xb5\x21\xff\x66\x47\xde\x95\x90\xdf\xcb\x2c\x57\x05\x10\xa6\x19\x11\x87\x03\xe8\x2e\x7e\x45\xa5\x4e\x28\x7a\x8c\x73\x4d\x02\x94\xa8\xb2\xcd\x07\xff\xa3\x2e\x40\x0e\xdc\xd5\xbb\xf8\x6b\x2d\xd2\xf0\x9c\x2b\x72\x01\x8b\x17\xe5\x4d\xeb\xad\x47\xb8\x39\xe9\x8c\xeb\xea\xd5\xce\x68\xa4\x39\xe5\xeb\x42\x79\x45\xdf\xdd\x16\x8a\xc7\x02\x6a\x5c\x9c\x33\xc6\xc3\xce\x0b\x98\xf8\x32\xd7\xad\x16\xae\xcd\xb0\x18\x91\x90\x4f\x60\x42\xa4\xc9\x8e\x5f\x41\x20\x9b\x44\x88\xe6\xc9\x9e\xf1\x16\xf4\x3c\x48\x9f\x51\xe3\x06\x47\x66\x42\x19\x4f\xe0\x53\x50\x77\xc9\x4f\xc8\x0c\x5a\xba\x2e\x26\xe6\x1c\x77\xb1\xfc\x5f\xe9\xda\xd4\x79\x68\xbb\x41\x14\xba\xa6\x14\xd2\x34\xe3\xb0\xbe\x0d\x5a\xbe\xc9\xe6\x0d\x72\xc6\x95\x6a\x79\x78\x09\xb5\x1e\x16\xb6\xf4\x90\x29\xd2\xf4\xb2\x26\x6d\x3a\x8b\x9b\x56\x70\x99\xb5\x56\xc2\x68\x5a\x00\xbd\x84\x23\x8a\x90\x80\xaa\x02\x2c\x35\x7a\xd6\xd4\x54\xbd\x75\x94\xa0\x29\xeb\x42\x84\xa9\x73\xb4\x8e\x63\x92\xf4\x25\xb7\x03\x01\xb8\xc5\x14\x77\x50\x04\x90\xb7\x65\xc6\xb7\x00\x15\xbd\xd9\x9f\x51\xc2\xd1\x99\x5d\x80\xba\x04\x50\x8d\x6e\x66\xeb\x56\x69\x5c\xcc\xf6\x3d\x50\xcc\x40\xb0\x2c\x80\xc3\x88\x6c\xe7\x5d\x8a\x02\xab\xbb\x71\x49\xda\xce\xd8\xff\x3e\x8d\xfc\x16\x9f\xb4\x60\x31\xc4\xc0\xf1\x90\x60\xda\xba\x08\xd3\x5d\x34\x02\xb2\x0c\xb0\x41\x7f\x14\xef\x18\x4f\x5f\x53\x1f\x46\x95\xba\x48\x32\xa8\xb6\x39\x1b\x13\xf3\xab\xcd\xd2\xc0\x5b\x51\x68\xc3\x0f\xe3\xcd\xe8\x67\x7f\xf7\x38\x83\x6a\xa8\x5b\x7e\xf9\x01\x48\xb2\x55\x6b\x79\x0b\xd9\xbd\xa3\xd1\x08\xea\x37\xb0\x3a\xcf\xd0\x9a\x54\x4a\x8e\x85\x84\x36\x43\xf3\x13\x68\xcf\xc2\x26\xa9\x30\xdc\x74\x96\xed\x4c\x99\x66\xe3\xde\x92\x63\x79\x33\xee\x7b\xfd\xf1\x2b\xbf\xba\xc0\x23\x4a\x74\xe2\x89\xbd\xb3\x7a\x52\x2b\xd0\x47\xa1\x00\x7a\x36\x87\xa2\x1b\xc9\xb0\xcf\xf8\x08\x74\x27\x7d\x82\x5b\xdb\xab\x84\x5c\x1a\xc5\x04\x60\x56\x3d\x08\xb1\xe0\x4a\x7f\x10\x86\xe6\x77\x93\x19\x88\xd5\xcd\x6f\x97\x47\x06\xd6\x4f\x63\xe8\x44\x91\xb3\x02\x88\x8f\x8b\x8f\x0f\x42\x99\x7f\x5e\xdd\x25\x10\xf2\x6a\x0b\x16\xd7\x03\x8b\xec\x87\x13\x09\x38\x9c\xab\x6f\x57\x61\xa2\xb9\xf0\x01\x11\xbc\x44\x41\xbb\xfa\xde\x0e\xca\x7c\xea\x5b\x0b\x8d\xac\xa7\x36\xe6\x15\x05\x03\xaa\xe8\x79\xf7\x2d\x10\x83\x61\xca\x31\xba\xfb\xf4\xe0\xc2\xe9\xeb\xd7\xaf\x57\x26\x5b\xb0\x4c\x38\x89\x23\xa0\x0b\x4c\x59\x08\x8a\x2f\x7b\x76\x7b\x14\xf3\x98\x2e\x64\x2e\x7b\x3d\xd9\x4d\xc6\xf4\xb6\xb0\x11\x3c\x9d\x49\xf8\x0a\x3e\x16\x9c\x10\x60\x89\x35\x39\xff\xc3\x23\x7d\x6e\xcc\xf4\x92\x0a\x9b\x50\xa8\x60\xee\xd1\x27\xa2\x2f\xfe", 4096); struct csum_inet csum_1; csum_inet_init(&csum_1); csum_inet_update(&csum_1, (const uint8_t*)0x1000001a, 16); csum_inet_update(&csum_1, (const uint8_t*)0x1000002a, 16); uint32_t csum_1_chunk_2 = 0x12100000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_2, 4); uint32_t csum_1_chunk_3 = 0x3a000000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_3, 4); csum_inet_update(&csum_1, (const uint8_t*)0x1000022a, 4114); *(uint16_t*)0x1000022c = csum_inet_digest(&csum_1); break; case 11: memcpy((void*)0x10001240, "\xf2\x26\x33\x54\x5b\x41\xc4\xc2\xb1\xde\x3a\x0f\x4b\xbe\x11\x14\x00\x00\xc4\xc2\x31\xdc\x03\xc4\xc2\x4d\x96\x1c\x5f\x66\x0f\x38\x21\x47\x1e\xc4\xe1\x85\xd8\x71\x28\xc4\xc3\xc5\xcf\x8e\x0e\x08\x00\x00\xfe\xd1\x62\x00\xc4\xc2\x2d\x40\x11", 59); syz_execute_func(0x10001240); break; case 12: break; } } int main(void) { syscall(SYS_mmap, 0x10000000, 0x1000000, 7, 0x1012, -1, 0); use_temporary_dir(); do_sandbox_setuid(); return 0; } :402:11: error: use of undeclared identifier 'SYS___realpathat' syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); ^ 1 error generated. compiler invocation: clang [-o /tmp/syz-executor413208655 -DGOOS_freebsd=1 -DGOARCH_386=1 -DHOSTGOOS_freebsd=1 -x c - -m32 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -static -lc++ -Wno-overflow] --- FAIL: TestGenerate/freebsd/386/14 (1.41s) csource_test.go:123: opts: {Threaded:true Collide:true Repeat:true RepeatTimes:0 Procs:2 Sandbox:none Fault:false FaultCall:0 FaultNth:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false USB:false VhciInjection:false Wifi:false UseTmpDir:true HandleSegv:false Repro:true Trace:false} program: r0 = fcntl$dupfd(0xffffffffffffff9c, 0x11, 0xffffffffffffff9c) setsockopt$inet_sctp_SCTP_AUTOCLOSE(r0, 0x84, 0x5, &(0x7f0000000000)=0x5, 0x4) cap_rights_limit(r0, &(0x7f0000000040)=[0x6, 0xa9]) setsockopt$inet_sctp_SCTP_EVENTS(r0, 0x84, 0xc, &(0x7f0000000080)={0x20, 0x81, 0x3, 0x20, 0x20, 0xf7, 0xff, 0x7, 0x4, 0x40, 0x4}, 0xb) setsockopt$inet_sctp_SCTP_RESET_STREAMS(r0, 0x84, 0x901, &(0x7f00000000c0)={0x0, 0x9, 0x3, [0x1, 0xffff, 0x8000]}, 0xe) r1 = accept(r0, &(0x7f0000000100)=@un=@file={0x6e, 0x0, ""/108}, &(0x7f0000000180)=0x6e) __realpathat(r1, &(0x7f00000001c0)='./file0\x00', &(0x7f0000000200)=""/5, 0x5, 0x0) r2 = socket$inet_icmp_raw(0x2, 0x3, 0x1) fcntl$getown(r2, 0x5) getsockopt$inet6_sctp_SCTP_PRIMARY_ADDR(r1, 0x84, 0x7, &(0x7f0000000240)={@in6={{0x1c, 0x1c, 0x1, 0x7f, @loopback, 0xfffff9b1}}}, &(0x7f00000002c0)=0x80) syz_emit_ethernet(0x123c, &(0x7f0000000000)={@remote, @remote, [{[], {0x8100, 0x5, 0x1, 0x3}}], {@ipv6={0x86dd, {0x7, 0x6, "c3cb10", 0x1202, 0x2f, 0x1, @rand_addr="cdd9639d818e3c5354e423e67c0261ce", @rand_addr="9aa3a73eacf47f646cf70032c9d108ee", {[@hopopts={0x36, 0x1e, [], [@enc_lim={0x4, 0x1, 0x1}, @jumbo={0xc2, 0x4, 0x7}, @padn={0x1, 0x2, [0x0, 0x0]}, @generic={0xff, 0xe2, "6643d230d2ebee2da66799233fd3953c637fbff58a08fe47946de86f44bcf9e809d627768d7e38be69808921c800a8ca76dba12e6b01e8b0b852821fe46d8d1b863c6ed1f386d2779a2983036a403ec804bbc1ce77c679d945e9c0b836352e6f8ee210ede5f8eb2937afc8307287e8a27e8fc66de2ef50421840455126dc362d0994a2a2db619ca5b70f615b719413594471a2efad9e7e22a5400361abac231575d1b498781612296d932e4832dd0c9f6709c2f81038bbcde5c27832bae014b13b9b93b41374f997c188d74a33960b2b2948a2eb3211c2aca855f616f2223f4746ce"}, @enc_lim={0x4, 0x1, 0x1f}]}, @routing={0x31, 0x4, 0x0, 0x5, 0x0, [@ipv4={[], [], @broadcast}, @empty]}, @routing={0x58, 0x8, 0x1, 0x81, 0x0, [@local={0xfe, 0x80, [], 0x0}, @mcast1, @local={0xfe, 0x80, [], 0x0}, @loopback]}, @routing={0x59, 0xc, 0x0, 0x3, 0x0, [@rand_addr="d691f228498c816bd931bf11ea3cb358", @empty, @loopback, @rand_addr="4046fbe3c1e1669f072dd9ee3ba11696", @ipv4={[], [], @broadcast}, @mcast1]}, @fragment={0x27, 0x0, 0x91, 0x1, 0x0, 0x6, 0x66}, @hopopts={0x26, 0x0, [], [@ra={0x5, 0x2, 0x5}]}], @icmpv6=@ndisc_ra={0x86, 0x0, 0x0, 0x0, 0x9, 0x9, 0x401, 0x7fffffff, [{0x1, 0x200, "d145ff576d7fe933a6f7ae4bd47d7aec4360a335727c0267ff79e34d036694ea6d8de62ebb1941f6b9a95a6c95fa33d4a6ddfe3be408148daca556b6b4dfebef869da93cfa26fb8e16509febb321011f508eec7502824442d8620519d7ce359284ef093639001b689f9443260584dfaf819313726c4495ac4c3203aa603e26f374d696cdb36fb00e6c412edbefc16270c783d3a1ada35a07cd9225f21b9570f801a960e06d96556b9eaca234f12861444231c94aee6315fb199f69eebdf9fdb0bdb89902e0eb69bbdf9730aa371b84b02e9ab5f3a4f99f9205694f062460e286b1abef3936fdf183bd7c95a9d99b57827dea1814e0e2dc58a677f2ae6c73de4e27fe8856e417fd266088008abe5d38d74ea0bdc6d046c5d3f45e2ee47a440c5dfc30459b219bb3b1302feb6b36a6e524b1db70d57efe32823b0ad037a3c204c77748b85fd88abf24ef0717eac90e235d91764b48bb1dcc3c9177fc4b0fc997d3d4e90702872bf0d8702194e22577353e557c0041f106e5dee1d24f243ab7c07b4335a6886c04061e84966599b68c676e966008a7905f1706048334501a3608305330cb8b447a1698fa9646c73cd758871c1e8b96889ae3372a5fef5b03ef56d1608eae44a863b05991f626447730df97f33686e5cb72554a1a8ace8b530d3e60452352d9e93ed031852eb2dc87903a1346c3962ced8f4fd2c07e01843d19e253653fcc7eb3e710b546e1180844d95e67143def4619375d71173729dfabeecddd0239456fd1f563bedd3e8aa7bd29ce40bfb72e832324cf0e7ed960bc4cdd81a1d1c4d3a2f984218a8f7ce9288fb57b315c475a57c2d56743ba3987ad1fe69af5a391cdb9c8a551723340c3d1c989b5da33771f797e8993ef51546e9849ba61a3cb3babbc5b33fc9e883b3ee41e6d8c675841718b908092b2c4da4c1a78a17bee0c409d03cd8bed2d56a46ee7721b5659be3fa5cd0e89bceffaffaf1e95716adc762554c496a40282cb6d85f4e0e29fd76574001b893d0ffc8c94a187829e24546d890439547b81c18c4865be4cb57e06e319c5007d43459ec3aa20ce72f7883cbda6a303c343fbed7f62b2f2ac9f5d24842e8abae1c9e32954b0d0d60242891b1fae40d03283f33c0948e161fa2f9ffb77b72ce969718768282c45ae089faf80ecaff1658114a78d8b13833958a360fe8bead9b485d5dcc701812a559c6d04a22fe59d3f6fc0fcc7cbbbc4450a58bee99560579eff8d7846d062253d15d5e6b20a78134014323bc31f3dbfa53e2ede137e3c1129ba8db638a95972e1a7223504af10a149154fa581b9dbc516289cff0d655888592199c77fa553f07db009ee2a42c5412df9fe612d108ee2d595cbb0bf59776646cb7c83e3551a91c0aca05de20d0bfc6c1f8f5c9492f22e5714ea0cbab5763194996c818545c0997ff555e5d136aea50a7a93dc40340a725da5ca7ea45a483d2c9da67a254d6ebdb6e20270beb33373321d922375207bf54707e1d97d52a6930b4287cd0dc6d8d3346e388fe41fca91162739a30c97da08cc3f42b3f54382dcdef5d0e7670b8c98c0533bf6c53d58688d9b958b23a91a8a6f2ffad419e01e2bb776cc3213fef59a7034d835c022dad02994624c55855b09e266e416a66939fc3664e441b99d7ffa0b83bfd0b0d752de0baedc1746b4938201972253924b0a68641e7c935fbb4189e5fdc391a29e331151fe720bfbc06825ba0766e421a2613fc0b78ceeb3817f262c90f66e7cfa0533c17ac71b0b1f94ffb02e3807b6247e968cedb141206edf0ca6f98fd919fa5279fe208799d82ab3a70b9b4baea410dc7cb3933782d63fe42807cf0fa7f5c9ae0cd4d0a0294692d3629d9881dad532b34efd702d8eaf0ac20378e62b36460656e0e887c44959552c9620e9ec3e73fee5ca0e5a6dd767b7b7a97ac4c77e709ce7859f21f0be66c9be7f445fb15f7bf4c8124a567fbfe0d379f08cb1b816f4c720ef5e3a6a083b5be05694a0d3d3ac784fc4399b1ccb7482ca0a1182166403565a9f7d4b0b71cccd20b952aee3be5c9ab10663e08aa419c8dee91e6f9bc58377e949d7251a445e1a7f87933dbbac2703f5d111de77b9dc5de5a53b90ee18ef9ab6a154f3f2500df04124645a6f09edb80c2fed4f30ffc4659176a6d3633db7c6c6c7acdc9332fbfc34f63543f99c3e7283ab9a98e8073e2c1a3158158976f06a520975b2f565936521babdd27fce006d30f5d75053847e6124940f3ef663e7e12e206e8dccc221a2381a1762f3e6ebbd37eb7a5409498e19eeab8b75cfbd7522a3ef45a236ad0b7129154e44436bd8b8da1323469c150cd487746247d06f12ae67fa30dc79f4df5cc8c1f86e8b35689b5a2c32e50777cf132f14c4cd2fb8f3760a66ec723e29624f8a974953350ca8853239944e33727d5965e10c8da5a8fcb4033ea2f96cad4d33524d181844b5a6a2a3a0c0a3572e4354b5f0bb6c727bcf02d31f66742bcd3e3767c70b1fa695812896ed053934abee8dea4ca8242b1fe1409717ddca6676b358e7930dc927f688c22e2ae6296ff2ed3c8519f3f8d49c3a7183d4aa0da4e3c7a652d539bff9ab1952aa13c002a0a8e7128b4e4ab441fcc905a0f26f9f6b5fa31360d5c24845ad876577bb0e1fcfed3101aedf14a73c0ce03e36360c01eee27342c1fa46d72474cd519e57837c250cedf09a31e45deb383587c5aee4c36fe2a8df37240de321a6a1c6fc656b5e6b28ffa25f40a723a5d13cbe7b42b4f62f60ccfbaa4ffeb00ca3b6d94119c0594aa5e11af8055b10d1a5a9900bd25b850c993c3bd9a941bded209dc4c74e9421b84c81c624dfffd12f397cc79101da2aac938a23aa49908f3f1ff41fc60dba8240a04f0941784a2284aaebdcc8143910ab01780e463dfb8be387b99346fbf8676e7f3e92420502a98eaa6d710b064f016dce0d6dc41956aea4fc9f304394b321c78141ad4c8d6527d7e946cff3fe06b252ae992837f0a9b9be2fb5d6358e419f9f30c4358906a82685fc734d2d2497a152cbe965f7e3220d437a7e64e9d1cef4092d0f8e731910d04e15df205b130979e1b8710faa5804642ceca6667c9dfe3747ee43cd73466204470987d0e76af237218ccb37bd77a39a09918e74aaf597bd3fbd79bba735c5ce6e81c559c986bbf60755170b30474a9e7caa5e83a42f19f79b186ec3af3bf1112c00cf05bff72a0d1698a94a871c4e8a0797d4d7f3c3e7e2a27ca7b9386f16c0473395fe85b280f9aba2efdaa08bcc7f2f2c301e165d626c83285bddf052cba134df3bbdd1e8f46415bbb391e05b1e475f344c1012cca9a72fb122c25d7f85c92a74fe7350a909dfee05b8a87557ad0cbc5912dcbdf9373a5e413b8375df15d4d8a06f4ced1259a8165389acc897cfd01c0dbea278144d079440086f7febdcf7aa7eec023993df73d8d0d46163add80a7c686789331c15aa22c8cafd5df40d4561f6f24759eb3d6a97ea01a3a3368ea8b1cf6fff8bf58ac225528d7a17d21edfa6eacfc5aab6f785a0b3003ab6ee0de9423cd363b14d03e102f445b23c14a536d7b231243288f288da44f8a5e8bc1f13b8cec7cb6a2a569636163a098b2f40f45c43564f1aa8b916426e77510936202363fe0dd717450cca9e8cbde8dffc9b9e24d8bd3cf171e36f05c06334873110b9c2d1a3020b660aacb19682d771e02c4d80dbfcdd11edf7553abad4cd0cee0fc5e81e94c4810a2c497f3d0ffa21bf7a31b6a835daf1f609e23cd64f81c1716af85b9233b547e679c72755e6cbb1cb405d7a897fcaa8c815bbd5a2aecc89d69981f349af2f97edb5a6f4197d20eec8d4b0f3c2375b8839cf6858bbf101ee06aecb7516cc27d59a8bdc9b5b208aaa4b5c14a5251d9d232397dd8d0eb8855d3ae0625a254fb89779ab00b3af427454c6bf5cff225c2f77bac6e5997404f00a4079d2237d19aec130c03a771e126cec4bc0661c3f9fae365d617723024ef8802fc94a85ebb80144b165f9d4bc2a1f87ce048ea52858d65dd33b1320b697ed30299b1848835c616b0a687e887483127078433db991d662fa367421445be00af4c06a34e554b3efa0f8cf99d2e1740c3d23ae57f97e1d19770103d7ec6f17b085ee3ea95ee6c74c3753628d0a97b440d38c139fd8974f049e3b4a8e83dae7c626d0139f92c69a92975270456cf7640c4b0ea0c3f5f2bdffd9a0cca3acadc2f2789bd59109059ff454bf742da9933f66e004da866be462ba3a2e42a2302407e822791b782164c795b1712a2c1d957e37703a328ae14628884c76ed83d08710a6212dd13cc466ac8f4b8c65e8ad647261e41786dac815c47299ff9b572579c2b5a27af372358c3f2ba4c11f86cab07c65ca9f0f703554b162b73c3706add4f7e10d95b847ca798c092361b43e086569d402d55f72ca7aa78ee95d9343c381196bcf8f8cfb0b805d418d51ccab377f646b3934b4c6773ba4cd975a0f12084a337d435d4611550656345f83cba264a958f7ac218c63821b22b8bd1ac3684d6dcc3b71e445d5707b9a5a6ba9e7fc2405b259a6531e937b8ea4ac7f8fa8aaff40c570fa5bd488e289b73e0a05e94ce0bba7e4b2f2cd8b3a3fdf91eb5ea2b004f91500d84bfd36199f9aa9a0b3f66af816f0b9b462d79602a12e705ec62c00cecb61070e09bb25d49076bf75011ce19d4ea7ff6ef6ddc4fffcc134c81bf5bda49f66616792e3fbf0953d9a0c25dc36b245046c01ff8f98975329624f3c9eac958236daa0aa026996840d48dc633cebb5ef484ba7cdf1b76a27a803c4ea464eb30c5573147ba783f0e42869bfa9970b61d5ed05b790f6a93bab2f939eefc9efad8677e59a037e3ab2303ce97ffd53e3ce3369ba4c48eceb3aaedcb4089a97eb59fc9788204739d5e6df7c8dc326994bdcd1803cb4b521ff6647de9590dfcb2c570510a619118703e82e7e45a54e287a8c734d0294a8b2cd07ffa32e400edcd5bbf86b2dd2f09c2b72018b17e54debad47b839e98cebead5ce68a439e5eb427945dfdd168ac7026a5c9c33c6c3ce0b98f832d7ad16aecdb01891904f6042a4c98e5f41209b4488e6c99ef116f43c489f51e306476642194fe0535077c94fc80c5aba2e26e61c77b1fc5fe9dad47968bb4114baa614d234e3b0be0d5abec9e60d72c6956a797809b51e16b6f49029d2f4b2266d3a8b9b567099b556c2685a00bd84238a9080aa022c357ad6d454bd7594a029eb4284a973b48e6392f425b70301b8c51477500490b765c6b70015bdd99f51c2d1995d80ba04508d6e66eb56695cccf63d50cc40b02c80c3886ce75d8a02abbb7149daced8ff3e8dfc169fb46031c4c0f19060daba08d35d3402b20cb0417f14ef184f5f531f4695ba4832a8b6391b13f3abcdd2c05b5168c30fe3cde8677ff738836aa85b7ef90148b2556b790bd9bda3d108ea37b03acfd09a544a8e85843643f31368cfc226a930dc7496ed4c9966e3de92637933ee7bfdf12bbfbac0234a74e289bdb37a522bd047a1007a3687a21bc9b0cff80874277d825bdbab845c1ac50460563d08b1e04a7f1086e677931988d5cd6f974706d64f63e84491b302888f8b8f0f42997f5edd2510f26a0b16d7038bec871309389cab6f5761a2b9f00111bc4441bbfade0eca7cea5b0b8daca736e6150503aae879f72d108361ca31bafbf4e0c2e9ebd7af57265bb04c388923a00b4c59088a2f7b767b14f3982e642e7b3dd94dc6f4b6b0113c9d49f80a3e169c1060893539ffc3237d6eccf4920a9b50a860eed127a22ffe"}]}}}}}}) syz_execute_func(&(0x7f0000001240)="f22633545b41c4c2b1de3a0f4bbe11140000c4c231dc03c4c24d961c5f660f3821471ec4e185d87128c4c3c5cf8e0e080000fed16200c4c22d4011") syz_extract_tcp_res(&(0x7f0000001280), 0x26e, 0x1) csource_test.go:124: failed to build program: // 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 static unsigned long long procid; static void kill_and_wait(int pid, int* status) { kill(pid, SIGKILL); while (waitpid(-1, status, 0) != pid) { } } static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void 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 __attribute__((noinline)) remove_dir(const char* dir) { DIR* dp = opendir(dir); if (dp == NULL) { if (errno == EACCES) { if (rmdir(dir)) exit(1); return; } 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); struct stat st; if (lstat(filename, &st)) exit(1); if (S_ISDIR(st.st_mode)) { remove_dir(filename); continue; } if (unlink(filename)) exit(1); } closedir(dp); if (rmdir(dir)) 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); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); ev->state = 0; } static void event_reset(event_t* ev) { ev->state = 0; } static void event_set(event_t* ev) { pthread_mutex_lock(&ev->mu); if (ev->state) exit(1); ev->state = 1; pthread_mutex_unlock(&ev->mu); pthread_cond_broadcast(&ev->cv); } static void event_wait(event_t* ev) { pthread_mutex_lock(&ev->mu); while (!ev->state) pthread_cond_wait(&ev->cv, &ev->mu); pthread_mutex_unlock(&ev->mu); } static int event_isset(event_t* ev) { pthread_mutex_lock(&ev->mu); int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } static int event_timedwait(event_t* ev, uint64_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #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)))) struct csum_inet { uint32_t acc; }; static void csum_inet_init(struct csum_inet* csum) { csum->acc = 0; } static void csum_inet_update(struct csum_inet* csum, const uint8_t* data, size_t length) { if (length == 0) return; size_t i = 0; for (; i < length - 1; i += 2) csum->acc += *(uint16_t*)&data[i]; if (length & 1) csum->acc += le16toh((uint16_t)data[length - 1]); while (csum->acc > 0xffff) csum->acc = (csum->acc & 0xffff) + (csum->acc >> 16); } static uint16_t csum_inet_digest(struct csum_inet* csum) { return ~csum->acc; } static void sandbox_common() { if (setsid() == -1) exit(1); struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = 128 << 20; setrlimit(RLIMIT_AS, &rlim); rlim.rlim_cur = rlim.rlim_max = 8 << 20; setrlimit(RLIMIT_MEMLOCK, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_FSIZE, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_STACK, &rlim); rlim.rlim_cur = rlim.rlim_max = 0; setrlimit(RLIMIT_CORE, &rlim); rlim.rlim_cur = rlim.rlim_max = 256; setrlimit(RLIMIT_NOFILE, &rlim); } static void loop(); static int do_sandbox_none(void) { sandbox_common(); loop(); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } struct thread_t { int created, call; event_t ready, done; }; static struct thread_t threads[16]; static void execute_call(int call); static int running; static void* thr(void* arg) { struct thread_t* th = (struct thread_t*)arg; for (;;) { event_wait(&th->ready); event_reset(&th->ready); execute_call(th->call); __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); event_set(&th->done); } return 0; } static void execute_one(void) { if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } int i, call, thread; int collide = 0; again: for (call = 0; call < 13; call++) { for (thread = 0; thread < (int)(sizeof(threads) / sizeof(threads[0])); thread++) { struct thread_t* th = &threads[thread]; if (!th->created) { th->created = 1; event_init(&th->ready); event_init(&th->done); event_set(&th->done); thread_start(thr, th); } if (!event_isset(&th->done)) continue; event_reset(&th->done); th->call = call; __atomic_fetch_add(&running, 1, __ATOMIC_RELAXED); event_set(&th->ready); if (collide && (call % 2) == 0) break; event_timedwait(&th->done, 45); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); if (!collide) { collide = 1; goto again; } } static void execute_one(void); #define WAIT_FLAGS 0 static void loop(void) { int iter = 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); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5 * 1000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } uint64_t r[3] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: res = syscall(SYS_fcntl, 0xffffff9c, 0x11, 0xffffff9c); if (res != -1) r[0] = res; break; case 1: *(uint32_t*)0x10000000 = 5; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 5, 0x10000000, 4); break; case 2: *(uint64_t*)0x10000040 = 6; *(uint64_t*)0x10000048 = 0xa9; syscall(SYS_cap_rights_limit, (intptr_t)r[0], 0x10000040); break; case 3: *(uint8_t*)0x10000080 = 0x20; *(uint8_t*)0x10000081 = 0x81; *(uint8_t*)0x10000082 = 3; *(uint8_t*)0x10000083 = 0x20; *(uint8_t*)0x10000084 = 0x20; *(uint8_t*)0x10000085 = 0xf7; *(uint8_t*)0x10000086 = -1; *(uint8_t*)0x10000087 = 7; *(uint8_t*)0x10000088 = 4; *(uint8_t*)0x10000089 = 0x40; *(uint8_t*)0x1000008a = 4; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0xc, 0x10000080, 0xb); break; case 4: *(uint32_t*)0x100000c0 = 0; *(uint16_t*)0x100000c4 = 9; *(uint16_t*)0x100000c6 = 3; *(uint16_t*)0x100000c8 = 1; *(uint16_t*)0x100000ca = -1; *(uint16_t*)0x100000cc = 0x8000; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0x901, 0x100000c0, 0xe); break; case 5: *(uint32_t*)0x10000180 = 0x6e; res = syscall(SYS_accept, (intptr_t)r[0], 0x10000100, 0x10000180); if (res != -1) r[1] = res; break; case 6: memcpy((void*)0x100001c0, "./file0\000", 8); syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); break; case 7: res = syscall(SYS_socket, 2, 3, 1); if (res != -1) r[2] = res; break; case 8: syscall(SYS_fcntl, (intptr_t)r[2], 5, 0); break; case 9: *(uint8_t*)0x10000240 = 0x1c; *(uint8_t*)0x10000241 = 0x1c; *(uint16_t*)0x10000242 = htobe16(0x4e21 + procid*4); *(uint32_t*)0x10000244 = 0x7f; *(uint64_t*)0x10000248 = htobe64(0); *(uint64_t*)0x10000250 = htobe64(1); *(uint32_t*)0x10000258 = 0xfffff9b1; *(uint64_t*)0x1000025c = 0; *(uint64_t*)0x10000264 = 0; *(uint64_t*)0x1000026c = 0; *(uint64_t*)0x10000274 = 0; *(uint64_t*)0x1000027c = 0; *(uint64_t*)0x10000284 = 0; *(uint64_t*)0x1000028c = 0; *(uint64_t*)0x10000294 = 0; *(uint64_t*)0x1000029c = 0; *(uint64_t*)0x100002a4 = 0; *(uint64_t*)0x100002ac = 0; *(uint64_t*)0x100002b4 = 0; *(uint32_t*)0x100002bc = 0; *(uint32_t*)0x100002c0 = 0x80; syscall(SYS_getsockopt, (intptr_t)r[1], 0x84, 7, 0x10000240, 0x100002c0); break; case 10: *(uint8_t*)0x10000000 = 0xaa; *(uint8_t*)0x10000001 = 0xaa; *(uint8_t*)0x10000002 = 0xaa; *(uint8_t*)0x10000003 = 0xaa; *(uint8_t*)0x10000004 = 0xaa; *(uint8_t*)0x10000005 = 0xbb; *(uint8_t*)0x10000006 = 0xaa; *(uint8_t*)0x10000007 = 0xaa; *(uint8_t*)0x10000008 = 0xaa; *(uint8_t*)0x10000009 = 0xaa; *(uint8_t*)0x1000000a = 0xaa; *(uint8_t*)0x1000000b = 0xbb; *(uint16_t*)0x1000000c = htobe16(0x8100); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 5, 0, 3); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 1, 3, 1); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 3, 4, 12); *(uint16_t*)0x10000010 = htobe16(0x86dd); STORE_BY_BITMASK(uint8_t, , 0x10000012, 7, 0, 4); STORE_BY_BITMASK(uint8_t, , 0x10000012, 6, 4, 4); memcpy((void*)0x10000013, "\xc3\xcb\x10", 3); *(uint16_t*)0x10000016 = htobe16(0x1202); *(uint8_t*)0x10000018 = 0x2f; *(uint8_t*)0x10000019 = 1; memcpy((void*)0x1000001a, "\xcd\xd9\x63\x9d\x81\x8e\x3c\x53\x54\xe4\x23\xe6\x7c\x02\x61\xce", 16); memcpy((void*)0x1000002a, "\x9a\xa3\xa7\x3e\xac\xf4\x7f\x64\x6c\xf7\x00\x32\xc9\xd1\x08\xee", 16); *(uint8_t*)0x1000003a = 0x36; *(uint8_t*)0x1000003b = 0x1e; *(uint8_t*)0x1000003c = 0; *(uint8_t*)0x1000003d = 0; *(uint8_t*)0x1000003e = 0; *(uint8_t*)0x1000003f = 0; *(uint8_t*)0x10000040 = 0; *(uint8_t*)0x10000041 = 0; *(uint8_t*)0x10000042 = 4; *(uint8_t*)0x10000043 = 1; *(uint8_t*)0x10000044 = 1; *(uint8_t*)0x10000045 = 0xc2; *(uint8_t*)0x10000046 = 4; *(uint32_t*)0x10000047 = htobe32(7); *(uint8_t*)0x1000004b = 1; *(uint8_t*)0x1000004c = 2; *(uint8_t*)0x1000004d = 0; *(uint8_t*)0x1000004e = 0; *(uint8_t*)0x1000004f = -1; *(uint8_t*)0x10000050 = 0xe2; memcpy((void*)0x10000051, "\x66\x43\xd2\x30\xd2\xeb\xee\x2d\xa6\x67\x99\x23\x3f\xd3\x95\x3c\x63\x7f\xbf\xf5\x8a\x08\xfe\x47\x94\x6d\xe8\x6f\x44\xbc\xf9\xe8\x09\xd6\x27\x76\x8d\x7e\x38\xbe\x69\x80\x89\x21\xc8\x00\xa8\xca\x76\xdb\xa1\x2e\x6b\x01\xe8\xb0\xb8\x52\x82\x1f\xe4\x6d\x8d\x1b\x86\x3c\x6e\xd1\xf3\x86\xd2\x77\x9a\x29\x83\x03\x6a\x40\x3e\xc8\x04\xbb\xc1\xce\x77\xc6\x79\xd9\x45\xe9\xc0\xb8\x36\x35\x2e\x6f\x8e\xe2\x10\xed\xe5\xf8\xeb\x29\x37\xaf\xc8\x30\x72\x87\xe8\xa2\x7e\x8f\xc6\x6d\xe2\xef\x50\x42\x18\x40\x45\x51\x26\xdc\x36\x2d\x09\x94\xa2\xa2\xdb\x61\x9c\xa5\xb7\x0f\x61\x5b\x71\x94\x13\x59\x44\x71\xa2\xef\xad\x9e\x7e\x22\xa5\x40\x03\x61\xab\xac\x23\x15\x75\xd1\xb4\x98\x78\x16\x12\x29\x6d\x93\x2e\x48\x32\xdd\x0c\x9f\x67\x09\xc2\xf8\x10\x38\xbb\xcd\xe5\xc2\x78\x32\xba\xe0\x14\xb1\x3b\x9b\x93\xb4\x13\x74\xf9\x97\xc1\x88\xd7\x4a\x33\x96\x0b\x2b\x29\x48\xa2\xeb\x32\x11\xc2\xac\xa8\x55\xf6\x16\xf2\x22\x3f\x47\x46\xce", 226); *(uint8_t*)0x10000133 = 4; *(uint8_t*)0x10000134 = 1; *(uint8_t*)0x10000135 = 0x1f; *(uint8_t*)0x1000013a = 0x31; *(uint8_t*)0x1000013b = 4; *(uint8_t*)0x1000013c = 0; *(uint8_t*)0x1000013d = 5; *(uint32_t*)0x1000013e = 0; *(uint8_t*)0x10000142 = 0; *(uint8_t*)0x10000143 = 0; *(uint8_t*)0x10000144 = 0; *(uint8_t*)0x10000145 = 0; *(uint8_t*)0x10000146 = 0; *(uint8_t*)0x10000147 = 0; *(uint8_t*)0x10000148 = 0; *(uint8_t*)0x10000149 = 0; *(uint8_t*)0x1000014a = 0; *(uint8_t*)0x1000014b = 0; *(uint8_t*)0x1000014c = -1; *(uint8_t*)0x1000014d = -1; *(uint32_t*)0x1000014e = htobe32(-1); *(uint8_t*)0x10000152 = 0; *(uint8_t*)0x10000153 = 0; *(uint8_t*)0x10000154 = 0; *(uint8_t*)0x10000155 = 0; *(uint8_t*)0x10000156 = 0; *(uint8_t*)0x10000157 = 0; *(uint8_t*)0x10000158 = 0; *(uint8_t*)0x10000159 = 0; *(uint8_t*)0x1000015a = 0; *(uint8_t*)0x1000015b = 0; *(uint8_t*)0x1000015c = 0; *(uint8_t*)0x1000015d = 0; *(uint8_t*)0x1000015e = 0; *(uint8_t*)0x1000015f = 0; *(uint8_t*)0x10000160 = 0; *(uint8_t*)0x10000161 = 0; *(uint8_t*)0x10000162 = 0x58; *(uint8_t*)0x10000163 = 8; *(uint8_t*)0x10000164 = 1; *(uint8_t*)0x10000165 = 0x81; *(uint32_t*)0x10000166 = 0; *(uint8_t*)0x1000016a = 0xfe; *(uint8_t*)0x1000016b = 0x80; *(uint8_t*)0x1000016c = 0; *(uint8_t*)0x1000016d = 0; *(uint8_t*)0x1000016e = 0; *(uint8_t*)0x1000016f = 0; *(uint8_t*)0x10000170 = 0; *(uint8_t*)0x10000171 = 0; *(uint8_t*)0x10000172 = 0; *(uint8_t*)0x10000173 = 0; *(uint8_t*)0x10000174 = 0; *(uint8_t*)0x10000175 = 0; *(uint8_t*)0x10000176 = 0; *(uint8_t*)0x10000177 = 0; *(uint8_t*)0x10000178 = 0 + procid*1; *(uint8_t*)0x10000179 = 0xaa; *(uint8_t*)0x1000017a = -1; *(uint8_t*)0x1000017b = 1; *(uint8_t*)0x1000017c = 0; *(uint8_t*)0x1000017d = 0; *(uint8_t*)0x1000017e = 0; *(uint8_t*)0x1000017f = 0; *(uint8_t*)0x10000180 = 0; *(uint8_t*)0x10000181 = 0; *(uint8_t*)0x10000182 = 0; *(uint8_t*)0x10000183 = 0; *(uint8_t*)0x10000184 = 0; *(uint8_t*)0x10000185 = 0; *(uint8_t*)0x10000186 = 0; *(uint8_t*)0x10000187 = 0; *(uint8_t*)0x10000188 = 0; *(uint8_t*)0x10000189 = 1; *(uint8_t*)0x1000018a = 0xfe; *(uint8_t*)0x1000018b = 0x80; *(uint8_t*)0x1000018c = 0; *(uint8_t*)0x1000018d = 0; *(uint8_t*)0x1000018e = 0; *(uint8_t*)0x1000018f = 0; *(uint8_t*)0x10000190 = 0; *(uint8_t*)0x10000191 = 0; *(uint8_t*)0x10000192 = 0; *(uint8_t*)0x10000193 = 0; *(uint8_t*)0x10000194 = 0; *(uint8_t*)0x10000195 = 0; *(uint8_t*)0x10000196 = 0; *(uint8_t*)0x10000197 = 0; *(uint8_t*)0x10000198 = 0 + procid*1; *(uint8_t*)0x10000199 = 0xaa; *(uint64_t*)0x1000019a = htobe64(0); *(uint64_t*)0x100001a2 = htobe64(1); *(uint8_t*)0x100001aa = 0x59; *(uint8_t*)0x100001ab = 0xc; *(uint8_t*)0x100001ac = 0; *(uint8_t*)0x100001ad = 3; *(uint32_t*)0x100001ae = 0; memcpy((void*)0x100001b2, "\xd6\x91\xf2\x28\x49\x8c\x81\x6b\xd9\x31\xbf\x11\xea\x3c\xb3\x58", 16); *(uint8_t*)0x100001c2 = 0; *(uint8_t*)0x100001c3 = 0; *(uint8_t*)0x100001c4 = 0; *(uint8_t*)0x100001c5 = 0; *(uint8_t*)0x100001c6 = 0; *(uint8_t*)0x100001c7 = 0; *(uint8_t*)0x100001c8 = 0; *(uint8_t*)0x100001c9 = 0; *(uint8_t*)0x100001ca = 0; *(uint8_t*)0x100001cb = 0; *(uint8_t*)0x100001cc = 0; *(uint8_t*)0x100001cd = 0; *(uint8_t*)0x100001ce = 0; *(uint8_t*)0x100001cf = 0; *(uint8_t*)0x100001d0 = 0; *(uint8_t*)0x100001d1 = 0; *(uint64_t*)0x100001d2 = htobe64(0); *(uint64_t*)0x100001da = htobe64(1); memcpy((void*)0x100001e2, "\x40\x46\xfb\xe3\xc1\xe1\x66\x9f\x07\x2d\xd9\xee\x3b\xa1\x16\x96", 16); *(uint8_t*)0x100001f2 = 0; *(uint8_t*)0x100001f3 = 0; *(uint8_t*)0x100001f4 = 0; *(uint8_t*)0x100001f5 = 0; *(uint8_t*)0x100001f6 = 0; *(uint8_t*)0x100001f7 = 0; *(uint8_t*)0x100001f8 = 0; *(uint8_t*)0x100001f9 = 0; *(uint8_t*)0x100001fa = 0; *(uint8_t*)0x100001fb = 0; *(uint8_t*)0x100001fc = -1; *(uint8_t*)0x100001fd = -1; *(uint32_t*)0x100001fe = htobe32(-1); *(uint8_t*)0x10000202 = -1; *(uint8_t*)0x10000203 = 1; *(uint8_t*)0x10000204 = 0; *(uint8_t*)0x10000205 = 0; *(uint8_t*)0x10000206 = 0; *(uint8_t*)0x10000207 = 0; *(uint8_t*)0x10000208 = 0; *(uint8_t*)0x10000209 = 0; *(uint8_t*)0x1000020a = 0; *(uint8_t*)0x1000020b = 0; *(uint8_t*)0x1000020c = 0; *(uint8_t*)0x1000020d = 0; *(uint8_t*)0x1000020e = 0; *(uint8_t*)0x1000020f = 0; *(uint8_t*)0x10000210 = 0; *(uint8_t*)0x10000211 = 1; *(uint8_t*)0x10000212 = 0x27; *(uint8_t*)0x10000213 = 0; *(uint8_t*)0x10000214 = 0x91; STORE_BY_BITMASK(uint8_t, , 0x10000215, 1, 0, 1); STORE_BY_BITMASK(uint8_t, , 0x10000215, 0, 1, 2); STORE_BY_BITMASK(uint8_t, , 0x10000215, 6, 3, 5); *(uint32_t*)0x10000216 = 0x66; *(uint8_t*)0x1000021a = 0x26; *(uint8_t*)0x1000021b = 0; *(uint8_t*)0x1000021c = 0; *(uint8_t*)0x1000021d = 0; *(uint8_t*)0x1000021e = 0; *(uint8_t*)0x1000021f = 0; *(uint8_t*)0x10000220 = 0; *(uint8_t*)0x10000221 = 0; *(uint8_t*)0x10000222 = 5; *(uint8_t*)0x10000223 = 2; *(uint16_t*)0x10000224 = htobe16(5); *(uint8_t*)0x1000022a = 0x86; *(uint8_t*)0x1000022b = 0; *(uint16_t*)0x1000022c = htobe16(0); *(uint8_t*)0x1000022e = 0; *(uint8_t*)0x1000022f = 9; *(uint16_t*)0x10000230 = htobe16(9); *(uint32_t*)0x10000232 = htobe32(0x401); *(uint32_t*)0x10000236 = htobe32(0x7fffffff); *(uint8_t*)0x1000023a = 1; *(uint8_t*)0x1000023b = 0; memcpy((void*)0x1000023c, "\xd1\x45\xff\x57\x6d\x7f\xe9\x33\xa6\xf7\xae\x4b\xd4\x7d\x7a\xec\x43\x60\xa3\x35\x72\x7c\x02\x67\xff\x79\xe3\x4d\x03\x66\x94\xea\x6d\x8d\xe6\x2e\xbb\x19\x41\xf6\xb9\xa9\x5a\x6c\x95\xfa\x33\xd4\xa6\xdd\xfe\x3b\xe4\x08\x14\x8d\xac\xa5\x56\xb6\xb4\xdf\xeb\xef\x86\x9d\xa9\x3c\xfa\x26\xfb\x8e\x16\x50\x9f\xeb\xb3\x21\x01\x1f\x50\x8e\xec\x75\x02\x82\x44\x42\xd8\x62\x05\x19\xd7\xce\x35\x92\x84\xef\x09\x36\x39\x00\x1b\x68\x9f\x94\x43\x26\x05\x84\xdf\xaf\x81\x93\x13\x72\x6c\x44\x95\xac\x4c\x32\x03\xaa\x60\x3e\x26\xf3\x74\xd6\x96\xcd\xb3\x6f\xb0\x0e\x6c\x41\x2e\xdb\xef\xc1\x62\x70\xc7\x83\xd3\xa1\xad\xa3\x5a\x07\xcd\x92\x25\xf2\x1b\x95\x70\xf8\x01\xa9\x60\xe0\x6d\x96\x55\x6b\x9e\xac\xa2\x34\xf1\x28\x61\x44\x42\x31\xc9\x4a\xee\x63\x15\xfb\x19\x9f\x69\xee\xbd\xf9\xfd\xb0\xbd\xb8\x99\x02\xe0\xeb\x69\xbb\xdf\x97\x30\xaa\x37\x1b\x84\xb0\x2e\x9a\xb5\xf3\xa4\xf9\x9f\x92\x05\x69\x4f\x06\x24\x60\xe2\x86\xb1\xab\xef\x39\x36\xfd\xf1\x83\xbd\x7c\x95\xa9\xd9\x9b\x57\x82\x7d\xea\x18\x14\xe0\xe2\xdc\x58\xa6\x77\xf2\xae\x6c\x73\xde\x4e\x27\xfe\x88\x56\xe4\x17\xfd\x26\x60\x88\x00\x8a\xbe\x5d\x38\xd7\x4e\xa0\xbd\xc6\xd0\x46\xc5\xd3\xf4\x5e\x2e\xe4\x7a\x44\x0c\x5d\xfc\x30\x45\x9b\x21\x9b\xb3\xb1\x30\x2f\xeb\x6b\x36\xa6\xe5\x24\xb1\xdb\x70\xd5\x7e\xfe\x32\x82\x3b\x0a\xd0\x37\xa3\xc2\x04\xc7\x77\x48\xb8\x5f\xd8\x8a\xbf\x24\xef\x07\x17\xea\xc9\x0e\x23\x5d\x91\x76\x4b\x48\xbb\x1d\xcc\x3c\x91\x77\xfc\x4b\x0f\xc9\x97\xd3\xd4\xe9\x07\x02\x87\x2b\xf0\xd8\x70\x21\x94\xe2\x25\x77\x35\x3e\x55\x7c\x00\x41\xf1\x06\xe5\xde\xe1\xd2\x4f\x24\x3a\xb7\xc0\x7b\x43\x35\xa6\x88\x6c\x04\x06\x1e\x84\x96\x65\x99\xb6\x8c\x67\x6e\x96\x60\x08\xa7\x90\x5f\x17\x06\x04\x83\x34\x50\x1a\x36\x08\x30\x53\x30\xcb\x8b\x44\x7a\x16\x98\xfa\x96\x46\xc7\x3c\xd7\x58\x87\x1c\x1e\x8b\x96\x88\x9a\xe3\x37\x2a\x5f\xef\x5b\x03\xef\x56\xd1\x60\x8e\xae\x44\xa8\x63\xb0\x59\x91\xf6\x26\x44\x77\x30\xdf\x97\xf3\x36\x86\xe5\xcb\x72\x55\x4a\x1a\x8a\xce\x8b\x53\x0d\x3e\x60\x45\x23\x52\xd9\xe9\x3e\xd0\x31\x85\x2e\xb2\xdc\x87\x90\x3a\x13\x46\xc3\x96\x2c\xed\x8f\x4f\xd2\xc0\x7e\x01\x84\x3d\x19\xe2\x53\x65\x3f\xcc\x7e\xb3\xe7\x10\xb5\x46\xe1\x18\x08\x44\xd9\x5e\x67\x14\x3d\xef\x46\x19\x37\x5d\x71\x17\x37\x29\xdf\xab\xee\xcd\xdd\x02\x39\x45\x6f\xd1\xf5\x63\xbe\xdd\x3e\x8a\xa7\xbd\x29\xce\x40\xbf\xb7\x2e\x83\x23\x24\xcf\x0e\x7e\xd9\x60\xbc\x4c\xdd\x81\xa1\xd1\xc4\xd3\xa2\xf9\x84\x21\x8a\x8f\x7c\xe9\x28\x8f\xb5\x7b\x31\x5c\x47\x5a\x57\xc2\xd5\x67\x43\xba\x39\x87\xad\x1f\xe6\x9a\xf5\xa3\x91\xcd\xb9\xc8\xa5\x51\x72\x33\x40\xc3\xd1\xc9\x89\xb5\xda\x33\x77\x1f\x79\x7e\x89\x93\xef\x51\x54\x6e\x98\x49\xba\x61\xa3\xcb\x3b\xab\xbc\x5b\x33\xfc\x9e\x88\x3b\x3e\xe4\x1e\x6d\x8c\x67\x58\x41\x71\x8b\x90\x80\x92\xb2\xc4\xda\x4c\x1a\x78\xa1\x7b\xee\x0c\x40\x9d\x03\xcd\x8b\xed\x2d\x56\xa4\x6e\xe7\x72\x1b\x56\x59\xbe\x3f\xa5\xcd\x0e\x89\xbc\xef\xfa\xff\xaf\x1e\x95\x71\x6a\xdc\x76\x25\x54\xc4\x96\xa4\x02\x82\xcb\x6d\x85\xf4\xe0\xe2\x9f\xd7\x65\x74\x00\x1b\x89\x3d\x0f\xfc\x8c\x94\xa1\x87\x82\x9e\x24\x54\x6d\x89\x04\x39\x54\x7b\x81\xc1\x8c\x48\x65\xbe\x4c\xb5\x7e\x06\xe3\x19\xc5\x00\x7d\x43\x45\x9e\xc3\xaa\x20\xce\x72\xf7\x88\x3c\xbd\xa6\xa3\x03\xc3\x43\xfb\xed\x7f\x62\xb2\xf2\xac\x9f\x5d\x24\x84\x2e\x8a\xba\xe1\xc9\xe3\x29\x54\xb0\xd0\xd6\x02\x42\x89\x1b\x1f\xae\x40\xd0\x32\x83\xf3\x3c\x09\x48\xe1\x61\xfa\x2f\x9f\xfb\x77\xb7\x2c\xe9\x69\x71\x87\x68\x28\x2c\x45\xae\x08\x9f\xaf\x80\xec\xaf\xf1\x65\x81\x14\xa7\x8d\x8b\x13\x83\x39\x58\xa3\x60\xfe\x8b\xea\xd9\xb4\x85\xd5\xdc\xc7\x01\x81\x2a\x55\x9c\x6d\x04\xa2\x2f\xe5\x9d\x3f\x6f\xc0\xfc\xc7\xcb\xbb\xc4\x45\x0a\x58\xbe\xe9\x95\x60\x57\x9e\xff\x8d\x78\x46\xd0\x62\x25\x3d\x15\xd5\xe6\xb2\x0a\x78\x13\x40\x14\x32\x3b\xc3\x1f\x3d\xbf\xa5\x3e\x2e\xde\x13\x7e\x3c\x11\x29\xba\x8d\xb6\x38\xa9\x59\x72\xe1\xa7\x22\x35\x04\xaf\x10\xa1\x49\x15\x4f\xa5\x81\xb9\xdb\xc5\x16\x28\x9c\xff\x0d\x65\x58\x88\x59\x21\x99\xc7\x7f\xa5\x53\xf0\x7d\xb0\x09\xee\x2a\x42\xc5\x41\x2d\xf9\xfe\x61\x2d\x10\x8e\xe2\xd5\x95\xcb\xb0\xbf\x59\x77\x66\x46\xcb\x7c\x83\xe3\x55\x1a\x91\xc0\xac\xa0\x5d\xe2\x0d\x0b\xfc\x6c\x1f\x8f\x5c\x94\x92\xf2\x2e\x57\x14\xea\x0c\xba\xb5\x76\x31\x94\x99\x6c\x81\x85\x45\xc0\x99\x7f\xf5\x55\xe5\xd1\x36\xae\xa5\x0a\x7a\x93\xdc\x40\x34\x0a\x72\x5d\xa5\xca\x7e\xa4\x5a\x48\x3d\x2c\x9d\xa6\x7a\x25\x4d\x6e\xbd\xb6\xe2\x02\x70\xbe\xb3\x33\x73\x32\x1d\x92\x23\x75\x20\x7b\xf5\x47\x07\xe1\xd9\x7d\x52\xa6\x93\x0b\x42\x87\xcd\x0d\xc6\xd8\xd3\x34\x6e\x38\x8f\xe4\x1f\xca\x91\x16\x27\x39\xa3\x0c\x97\xda\x08\xcc\x3f\x42\xb3\xf5\x43\x82\xdc\xde\xf5\xd0\xe7\x67\x0b\x8c\x98\xc0\x53\x3b\xf6\xc5\x3d\x58\x68\x8d\x9b\x95\x8b\x23\xa9\x1a\x8a\x6f\x2f\xfa\xd4\x19\xe0\x1e\x2b\xb7\x76\xcc\x32\x13\xfe\xf5\x9a\x70\x34\xd8\x35\xc0\x22\xda\xd0\x29\x94\x62\x4c\x55\x85\x5b\x09\xe2\x66\xe4\x16\xa6\x69\x39\xfc\x36\x64\xe4\x41\xb9\x9d\x7f\xfa\x0b\x83\xbf\xd0\xb0\xd7\x52\xde\x0b\xae\xdc\x17\x46\xb4\x93\x82\x01\x97\x22\x53\x92\x4b\x0a\x68\x64\x1e\x7c\x93\x5f\xbb\x41\x89\xe5\xfd\xc3\x91\xa2\x9e\x33\x11\x51\xfe\x72\x0b\xfb\xc0\x68\x25\xba\x07\x66\xe4\x21\xa2\x61\x3f\xc0\xb7\x8c\xee\xb3\x81\x7f\x26\x2c\x90\xf6\x6e\x7c\xfa\x05\x33\xc1\x7a\xc7\x1b\x0b\x1f\x94\xff\xb0\x2e\x38\x07\xb6\x24\x7e\x96\x8c\xed\xb1\x41\x20\x6e\xdf\x0c\xa6\xf9\x8f\xd9\x19\xfa\x52\x79\xfe\x20\x87\x99\xd8\x2a\xb3\xa7\x0b\x9b\x4b\xae\xa4\x10\xdc\x7c\xb3\x93\x37\x82\xd6\x3f\xe4\x28\x07\xcf\x0f\xa7\xf5\xc9\xae\x0c\xd4\xd0\xa0\x29\x46\x92\xd3\x62\x9d\x98\x81\xda\xd5\x32\xb3\x4e\xfd\x70\x2d\x8e\xaf\x0a\xc2\x03\x78\xe6\x2b\x36\x46\x06\x56\xe0\xe8\x87\xc4\x49\x59\x55\x2c\x96\x20\xe9\xec\x3e\x73\xfe\xe5\xca\x0e\x5a\x6d\xd7\x67\xb7\xb7\xa9\x7a\xc4\xc7\x7e\x70\x9c\xe7\x85\x9f\x21\xf0\xbe\x66\xc9\xbe\x7f\x44\x5f\xb1\x5f\x7b\xf4\xc8\x12\x4a\x56\x7f\xbf\xe0\xd3\x79\xf0\x8c\xb1\xb8\x16\xf4\xc7\x20\xef\x5e\x3a\x6a\x08\x3b\x5b\xe0\x56\x94\xa0\xd3\xd3\xac\x78\x4f\xc4\x39\x9b\x1c\xcb\x74\x82\xca\x0a\x11\x82\x16\x64\x03\x56\x5a\x9f\x7d\x4b\x0b\x71\xcc\xcd\x20\xb9\x52\xae\xe3\xbe\x5c\x9a\xb1\x06\x63\xe0\x8a\xa4\x19\xc8\xde\xe9\x1e\x6f\x9b\xc5\x83\x77\xe9\x49\xd7\x25\x1a\x44\x5e\x1a\x7f\x87\x93\x3d\xbb\xac\x27\x03\xf5\xd1\x11\xde\x77\xb9\xdc\x5d\xe5\xa5\x3b\x90\xee\x18\xef\x9a\xb6\xa1\x54\xf3\xf2\x50\x0d\xf0\x41\x24\x64\x5a\x6f\x09\xed\xb8\x0c\x2f\xed\x4f\x30\xff\xc4\x65\x91\x76\xa6\xd3\x63\x3d\xb7\xc6\xc6\xc7\xac\xdc\x93\x32\xfb\xfc\x34\xf6\x35\x43\xf9\x9c\x3e\x72\x83\xab\x9a\x98\xe8\x07\x3e\x2c\x1a\x31\x58\x15\x89\x76\xf0\x6a\x52\x09\x75\xb2\xf5\x65\x93\x65\x21\xba\xbd\xd2\x7f\xce\x00\x6d\x30\xf5\xd7\x50\x53\x84\x7e\x61\x24\x94\x0f\x3e\xf6\x63\xe7\xe1\x2e\x20\x6e\x8d\xcc\xc2\x21\xa2\x38\x1a\x17\x62\xf3\xe6\xeb\xbd\x37\xeb\x7a\x54\x09\x49\x8e\x19\xee\xab\x8b\x75\xcf\xbd\x75\x22\xa3\xef\x45\xa2\x36\xad\x0b\x71\x29\x15\x4e\x44\x43\x6b\xd8\xb8\xda\x13\x23\x46\x9c\x15\x0c\xd4\x87\x74\x62\x47\xd0\x6f\x12\xae\x67\xfa\x30\xdc\x79\xf4\xdf\x5c\xc8\xc1\xf8\x6e\x8b\x35\x68\x9b\x5a\x2c\x32\xe5\x07\x77\xcf\x13\x2f\x14\xc4\xcd\x2f\xb8\xf3\x76\x0a\x66\xec\x72\x3e\x29\x62\x4f\x8a\x97\x49\x53\x35\x0c\xa8\x85\x32\x39\x94\x4e\x33\x72\x7d\x59\x65\xe1\x0c\x8d\xa5\xa8\xfc\xb4\x03\x3e\xa2\xf9\x6c\xad\x4d\x33\x52\x4d\x18\x18\x44\xb5\xa6\xa2\xa3\xa0\xc0\xa3\x57\x2e\x43\x54\xb5\xf0\xbb\x6c\x72\x7b\xcf\x02\xd3\x1f\x66\x74\x2b\xcd\x3e\x37\x67\xc7\x0b\x1f\xa6\x95\x81\x28\x96\xed\x05\x39\x34\xab\xee\x8d\xea\x4c\xa8\x24\x2b\x1f\xe1\x40\x97\x17\xdd\xca\x66\x76\xb3\x58\xe7\x93\x0d\xc9\x27\xf6\x88\xc2\x2e\x2a\xe6\x29\x6f\xf2\xed\x3c\x85\x19\xf3\xf8\xd4\x9c\x3a\x71\x83\xd4\xaa\x0d\xa4\xe3\xc7\xa6\x52\xd5\x39\xbf\xf9\xab\x19\x52\xaa\x13\xc0\x02\xa0\xa8\xe7\x12\x8b\x4e\x4a\xb4\x41\xfc\xc9\x05\xa0\xf2\x6f\x9f\x6b\x5f\xa3\x13\x60\xd5\xc2\x48\x45\xad\x87\x65\x77\xbb\x0e\x1f\xcf\xed\x31\x01\xae\xdf\x14\xa7\x3c\x0c\xe0\x3e\x36\x36\x0c\x01\xee\xe2\x73\x42\xc1\xfa\x46\xd7\x24\x74\xcd\x51\x9e\x57\x83\x7c\x25\x0c\xed\xf0\x9a\x31\xe4\x5d\xeb\x38\x35\x87\xc5\xae\xe4\xc3\x6f\xe2\xa8\xdf\x37\x24\x0d\xe3\x21\xa6\xa1\xc6\xfc\x65\x6b\x5e\x6b\x28\xff\xa2\x5f\x40\xa7\x23\xa5\xd1\x3c\xbe\x7b\x42\xb4\xf6\x2f\x60\xcc\xfb\xaa\x4f\xfe\xb0\x0c\xa3\xb6\xd9\x41\x19\xc0\x59\x4a\xa5\xe1\x1a\xf8\x05\x5b\x10\xd1\xa5\xa9\x90\x0b\xd2\x5b\x85\x0c\x99\x3c\x3b\xd9\xa9\x41\xbd\xed\x20\x9d\xc4\xc7\x4e\x94\x21\xb8\x4c\x81\xc6\x24\xdf\xff\xd1\x2f\x39\x7c\xc7\x91\x01\xda\x2a\xac\x93\x8a\x23\xaa\x49\x90\x8f\x3f\x1f\xf4\x1f\xc6\x0d\xba\x82\x40\xa0\x4f\x09\x41\x78\x4a\x22\x84\xaa\xeb\xdc\xc8\x14\x39\x10\xab\x01\x78\x0e\x46\x3d\xfb\x8b\xe3\x87\xb9\x93\x46\xfb\xf8\x67\x6e\x7f\x3e\x92\x42\x05\x02\xa9\x8e\xaa\x6d\x71\x0b\x06\x4f\x01\x6d\xce\x0d\x6d\xc4\x19\x56\xae\xa4\xfc\x9f\x30\x43\x94\xb3\x21\xc7\x81\x41\xad\x4c\x8d\x65\x27\xd7\xe9\x46\xcf\xf3\xfe\x06\xb2\x52\xae\x99\x28\x37\xf0\xa9\xb9\xbe\x2f\xb5\xd6\x35\x8e\x41\x9f\x9f\x30\xc4\x35\x89\x06\xa8\x26\x85\xfc\x73\x4d\x2d\x24\x97\xa1\x52\xcb\xe9\x65\xf7\xe3\x22\x0d\x43\x7a\x7e\x64\xe9\xd1\xce\xf4\x09\x2d\x0f\x8e\x73\x19\x10\xd0\x4e\x15\xdf\x20\x5b\x13\x09\x79\xe1\xb8\x71\x0f\xaa\x58\x04\x64\x2c\xec\xa6\x66\x7c\x9d\xfe\x37\x47\xee\x43\xcd\x73\x46\x62\x04\x47\x09\x87\xd0\xe7\x6a\xf2\x37\x21\x8c\xcb\x37\xbd\x77\xa3\x9a\x09\x91\x8e\x74\xaa\xf5\x97\xbd\x3f\xbd\x79\xbb\xa7\x35\xc5\xce\x6e\x81\xc5\x59\xc9\x86\xbb\xf6\x07\x55\x17\x0b\x30\x47\x4a\x9e\x7c\xaa\x5e\x83\xa4\x2f\x19\xf7\x9b\x18\x6e\xc3\xaf\x3b\xf1\x11\x2c\x00\xcf\x05\xbf\xf7\x2a\x0d\x16\x98\xa9\x4a\x87\x1c\x4e\x8a\x07\x97\xd4\xd7\xf3\xc3\xe7\xe2\xa2\x7c\xa7\xb9\x38\x6f\x16\xc0\x47\x33\x95\xfe\x85\xb2\x80\xf9\xab\xa2\xef\xda\xa0\x8b\xcc\x7f\x2f\x2c\x30\x1e\x16\x5d\x62\x6c\x83\x28\x5b\xdd\xf0\x52\xcb\xa1\x34\xdf\x3b\xbd\xd1\xe8\xf4\x64\x15\xbb\xb3\x91\xe0\x5b\x1e\x47\x5f\x34\x4c\x10\x12\xcc\xa9\xa7\x2f\xb1\x22\xc2\x5d\x7f\x85\xc9\x2a\x74\xfe\x73\x50\xa9\x09\xdf\xee\x05\xb8\xa8\x75\x57\xad\x0c\xbc\x59\x12\xdc\xbd\xf9\x37\x3a\x5e\x41\x3b\x83\x75\xdf\x15\xd4\xd8\xa0\x6f\x4c\xed\x12\x59\xa8\x16\x53\x89\xac\xc8\x97\xcf\xd0\x1c\x0d\xbe\xa2\x78\x14\x4d\x07\x94\x40\x08\x6f\x7f\xeb\xdc\xf7\xaa\x7e\xec\x02\x39\x93\xdf\x73\xd8\xd0\xd4\x61\x63\xad\xd8\x0a\x7c\x68\x67\x89\x33\x1c\x15\xaa\x22\xc8\xca\xfd\x5d\xf4\x0d\x45\x61\xf6\xf2\x47\x59\xeb\x3d\x6a\x97\xea\x01\xa3\xa3\x36\x8e\xa8\xb1\xcf\x6f\xff\x8b\xf5\x8a\xc2\x25\x52\x8d\x7a\x17\xd2\x1e\xdf\xa6\xea\xcf\xc5\xaa\xb6\xf7\x85\xa0\xb3\x00\x3a\xb6\xee\x0d\xe9\x42\x3c\xd3\x63\xb1\x4d\x03\xe1\x02\xf4\x45\xb2\x3c\x14\xa5\x36\xd7\xb2\x31\x24\x32\x88\xf2\x88\xda\x44\xf8\xa5\xe8\xbc\x1f\x13\xb8\xce\xc7\xcb\x6a\x2a\x56\x96\x36\x16\x3a\x09\x8b\x2f\x40\xf4\x5c\x43\x56\x4f\x1a\xa8\xb9\x16\x42\x6e\x77\x51\x09\x36\x20\x23\x63\xfe\x0d\xd7\x17\x45\x0c\xca\x9e\x8c\xbd\xe8\xdf\xfc\x9b\x9e\x24\xd8\xbd\x3c\xf1\x71\xe3\x6f\x05\xc0\x63\x34\x87\x31\x10\xb9\xc2\xd1\xa3\x02\x0b\x66\x0a\xac\xb1\x96\x82\xd7\x71\xe0\x2c\x4d\x80\xdb\xfc\xdd\x11\xed\xf7\x55\x3a\xba\xd4\xcd\x0c\xee\x0f\xc5\xe8\x1e\x94\xc4\x81\x0a\x2c\x49\x7f\x3d\x0f\xfa\x21\xbf\x7a\x31\xb6\xa8\x35\xda\xf1\xf6\x09\xe2\x3c\xd6\x4f\x81\xc1\x71\x6a\xf8\x5b\x92\x33\xb5\x47\xe6\x79\xc7\x27\x55\xe6\xcb\xb1\xcb\x40\x5d\x7a\x89\x7f\xca\xa8\xc8\x15\xbb\xd5\xa2\xae\xcc\x89\xd6\x99\x81\xf3\x49\xaf\x2f\x97\xed\xb5\xa6\xf4\x19\x7d\x20\xee\xc8\xd4\xb0\xf3\xc2\x37\x5b\x88\x39\xcf\x68\x58\xbb\xf1\x01\xee\x06\xae\xcb\x75\x16\xcc\x27\xd5\x9a\x8b\xdc\x9b\x5b\x20\x8a\xaa\x4b\x5c\x14\xa5\x25\x1d\x9d\x23\x23\x97\xdd\x8d\x0e\xb8\x85\x5d\x3a\xe0\x62\x5a\x25\x4f\xb8\x97\x79\xab\x00\xb3\xaf\x42\x74\x54\xc6\xbf\x5c\xff\x22\x5c\x2f\x77\xba\xc6\xe5\x99\x74\x04\xf0\x0a\x40\x79\xd2\x23\x7d\x19\xae\xc1\x30\xc0\x3a\x77\x1e\x12\x6c\xec\x4b\xc0\x66\x1c\x3f\x9f\xae\x36\x5d\x61\x77\x23\x02\x4e\xf8\x80\x2f\xc9\x4a\x85\xeb\xb8\x01\x44\xb1\x65\xf9\xd4\xbc\x2a\x1f\x87\xce\x04\x8e\xa5\x28\x58\xd6\x5d\xd3\x3b\x13\x20\xb6\x97\xed\x30\x29\x9b\x18\x48\x83\x5c\x61\x6b\x0a\x68\x7e\x88\x74\x83\x12\x70\x78\x43\x3d\xb9\x91\xd6\x62\xfa\x36\x74\x21\x44\x5b\xe0\x0a\xf4\xc0\x6a\x34\xe5\x54\xb3\xef\xa0\xf8\xcf\x99\xd2\xe1\x74\x0c\x3d\x23\xae\x57\xf9\x7e\x1d\x19\x77\x01\x03\xd7\xec\x6f\x17\xb0\x85\xee\x3e\xa9\x5e\xe6\xc7\x4c\x37\x53\x62\x8d\x0a\x97\xb4\x40\xd3\x8c\x13\x9f\xd8\x97\x4f\x04\x9e\x3b\x4a\x8e\x83\xda\xe7\xc6\x26\xd0\x13\x9f\x92\xc6\x9a\x92\x97\x52\x70\x45\x6c\xf7\x64\x0c\x4b\x0e\xa0\xc3\xf5\xf2\xbd\xff\xd9\xa0\xcc\xa3\xac\xad\xc2\xf2\x78\x9b\xd5\x91\x09\x05\x9f\xf4\x54\xbf\x74\x2d\xa9\x93\x3f\x66\xe0\x04\xda\x86\x6b\xe4\x62\xba\x3a\x2e\x42\xa2\x30\x24\x07\xe8\x22\x79\x1b\x78\x21\x64\xc7\x95\xb1\x71\x2a\x2c\x1d\x95\x7e\x37\x70\x3a\x32\x8a\xe1\x46\x28\x88\x4c\x76\xed\x83\xd0\x87\x10\xa6\x21\x2d\xd1\x3c\xc4\x66\xac\x8f\x4b\x8c\x65\xe8\xad\x64\x72\x61\xe4\x17\x86\xda\xc8\x15\xc4\x72\x99\xff\x9b\x57\x25\x79\xc2\xb5\xa2\x7a\xf3\x72\x35\x8c\x3f\x2b\xa4\xc1\x1f\x86\xca\xb0\x7c\x65\xca\x9f\x0f\x70\x35\x54\xb1\x62\xb7\x3c\x37\x06\xad\xd4\xf7\xe1\x0d\x95\xb8\x47\xca\x79\x8c\x09\x23\x61\xb4\x3e\x08\x65\x69\xd4\x02\xd5\x5f\x72\xca\x7a\xa7\x8e\xe9\x5d\x93\x43\xc3\x81\x19\x6b\xcf\x8f\x8c\xfb\x0b\x80\x5d\x41\x8d\x51\xcc\xab\x37\x7f\x64\x6b\x39\x34\xb4\xc6\x77\x3b\xa4\xcd\x97\x5a\x0f\x12\x08\x4a\x33\x7d\x43\x5d\x46\x11\x55\x06\x56\x34\x5f\x83\xcb\xa2\x64\xa9\x58\xf7\xac\x21\x8c\x63\x82\x1b\x22\xb8\xbd\x1a\xc3\x68\x4d\x6d\xcc\x3b\x71\xe4\x45\xd5\x70\x7b\x9a\x5a\x6b\xa9\xe7\xfc\x24\x05\xb2\x59\xa6\x53\x1e\x93\x7b\x8e\xa4\xac\x7f\x8f\xa8\xaa\xff\x40\xc5\x70\xfa\x5b\xd4\x88\xe2\x89\xb7\x3e\x0a\x05\xe9\x4c\xe0\xbb\xa7\xe4\xb2\xf2\xcd\x8b\x3a\x3f\xdf\x91\xeb\x5e\xa2\xb0\x04\xf9\x15\x00\xd8\x4b\xfd\x36\x19\x9f\x9a\xa9\xa0\xb3\xf6\x6a\xf8\x16\xf0\xb9\xb4\x62\xd7\x96\x02\xa1\x2e\x70\x5e\xc6\x2c\x00\xce\xcb\x61\x07\x0e\x09\xbb\x25\xd4\x90\x76\xbf\x75\x01\x1c\xe1\x9d\x4e\xa7\xff\x6e\xf6\xdd\xc4\xff\xfc\xc1\x34\xc8\x1b\xf5\xbd\xa4\x9f\x66\x61\x67\x92\xe3\xfb\xf0\x95\x3d\x9a\x0c\x25\xdc\x36\xb2\x45\x04\x6c\x01\xff\x8f\x98\x97\x53\x29\x62\x4f\x3c\x9e\xac\x95\x82\x36\xda\xa0\xaa\x02\x69\x96\x84\x0d\x48\xdc\x63\x3c\xeb\xb5\xef\x48\x4b\xa7\xcd\xf1\xb7\x6a\x27\xa8\x03\xc4\xea\x46\x4e\xb3\x0c\x55\x73\x14\x7b\xa7\x83\xf0\xe4\x28\x69\xbf\xa9\x97\x0b\x61\xd5\xed\x05\xb7\x90\xf6\xa9\x3b\xab\x2f\x93\x9e\xef\xc9\xef\xad\x86\x77\xe5\x9a\x03\x7e\x3a\xb2\x30\x3c\xe9\x7f\xfd\x53\xe3\xce\x33\x69\xba\x4c\x48\xec\xeb\x3a\xae\xdc\xb4\x08\x9a\x97\xeb\x59\xfc\x97\x88\x20\x47\x39\xd5\xe6\xdf\x7c\x8d\xc3\x26\x99\x4b\xdc\xd1\x80\x3c\xb4\xb5\x21\xff\x66\x47\xde\x95\x90\xdf\xcb\x2c\x57\x05\x10\xa6\x19\x11\x87\x03\xe8\x2e\x7e\x45\xa5\x4e\x28\x7a\x8c\x73\x4d\x02\x94\xa8\xb2\xcd\x07\xff\xa3\x2e\x40\x0e\xdc\xd5\xbb\xf8\x6b\x2d\xd2\xf0\x9c\x2b\x72\x01\x8b\x17\xe5\x4d\xeb\xad\x47\xb8\x39\xe9\x8c\xeb\xea\xd5\xce\x68\xa4\x39\xe5\xeb\x42\x79\x45\xdf\xdd\x16\x8a\xc7\x02\x6a\x5c\x9c\x33\xc6\xc3\xce\x0b\x98\xf8\x32\xd7\xad\x16\xae\xcd\xb0\x18\x91\x90\x4f\x60\x42\xa4\xc9\x8e\x5f\x41\x20\x9b\x44\x88\xe6\xc9\x9e\xf1\x16\xf4\x3c\x48\x9f\x51\xe3\x06\x47\x66\x42\x19\x4f\xe0\x53\x50\x77\xc9\x4f\xc8\x0c\x5a\xba\x2e\x26\xe6\x1c\x77\xb1\xfc\x5f\xe9\xda\xd4\x79\x68\xbb\x41\x14\xba\xa6\x14\xd2\x34\xe3\xb0\xbe\x0d\x5a\xbe\xc9\xe6\x0d\x72\xc6\x95\x6a\x79\x78\x09\xb5\x1e\x16\xb6\xf4\x90\x29\xd2\xf4\xb2\x26\x6d\x3a\x8b\x9b\x56\x70\x99\xb5\x56\xc2\x68\x5a\x00\xbd\x84\x23\x8a\x90\x80\xaa\x02\x2c\x35\x7a\xd6\xd4\x54\xbd\x75\x94\xa0\x29\xeb\x42\x84\xa9\x73\xb4\x8e\x63\x92\xf4\x25\xb7\x03\x01\xb8\xc5\x14\x77\x50\x04\x90\xb7\x65\xc6\xb7\x00\x15\xbd\xd9\x9f\x51\xc2\xd1\x99\x5d\x80\xba\x04\x50\x8d\x6e\x66\xeb\x56\x69\x5c\xcc\xf6\x3d\x50\xcc\x40\xb0\x2c\x80\xc3\x88\x6c\xe7\x5d\x8a\x02\xab\xbb\x71\x49\xda\xce\xd8\xff\x3e\x8d\xfc\x16\x9f\xb4\x60\x31\xc4\xc0\xf1\x90\x60\xda\xba\x08\xd3\x5d\x34\x02\xb2\x0c\xb0\x41\x7f\x14\xef\x18\x4f\x5f\x53\x1f\x46\x95\xba\x48\x32\xa8\xb6\x39\x1b\x13\xf3\xab\xcd\xd2\xc0\x5b\x51\x68\xc3\x0f\xe3\xcd\xe8\x67\x7f\xf7\x38\x83\x6a\xa8\x5b\x7e\xf9\x01\x48\xb2\x55\x6b\x79\x0b\xd9\xbd\xa3\xd1\x08\xea\x37\xb0\x3a\xcf\xd0\x9a\x54\x4a\x8e\x85\x84\x36\x43\xf3\x13\x68\xcf\xc2\x26\xa9\x30\xdc\x74\x96\xed\x4c\x99\x66\xe3\xde\x92\x63\x79\x33\xee\x7b\xfd\xf1\x2b\xbf\xba\xc0\x23\x4a\x74\xe2\x89\xbd\xb3\x7a\x52\x2b\xd0\x47\xa1\x00\x7a\x36\x87\xa2\x1b\xc9\xb0\xcf\xf8\x08\x74\x27\x7d\x82\x5b\xdb\xab\x84\x5c\x1a\xc5\x04\x60\x56\x3d\x08\xb1\xe0\x4a\x7f\x10\x86\xe6\x77\x93\x19\x88\xd5\xcd\x6f\x97\x47\x06\xd6\x4f\x63\xe8\x44\x91\xb3\x02\x88\x8f\x8b\x8f\x0f\x42\x99\x7f\x5e\xdd\x25\x10\xf2\x6a\x0b\x16\xd7\x03\x8b\xec\x87\x13\x09\x38\x9c\xab\x6f\x57\x61\xa2\xb9\xf0\x01\x11\xbc\x44\x41\xbb\xfa\xde\x0e\xca\x7c\xea\x5b\x0b\x8d\xac\xa7\x36\xe6\x15\x05\x03\xaa\xe8\x79\xf7\x2d\x10\x83\x61\xca\x31\xba\xfb\xf4\xe0\xc2\xe9\xeb\xd7\xaf\x57\x26\x5b\xb0\x4c\x38\x89\x23\xa0\x0b\x4c\x59\x08\x8a\x2f\x7b\x76\x7b\x14\xf3\x98\x2e\x64\x2e\x7b\x3d\xd9\x4d\xc6\xf4\xb6\xb0\x11\x3c\x9d\x49\xf8\x0a\x3e\x16\x9c\x10\x60\x89\x35\x39\xff\xc3\x23\x7d\x6e\xcc\xf4\x92\x0a\x9b\x50\xa8\x60\xee\xd1\x27\xa2\x2f\xfe", 4096); struct csum_inet csum_1; csum_inet_init(&csum_1); csum_inet_update(&csum_1, (const uint8_t*)0x1000001a, 16); csum_inet_update(&csum_1, (const uint8_t*)0x1000002a, 16); uint32_t csum_1_chunk_2 = 0x12100000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_2, 4); uint32_t csum_1_chunk_3 = 0x3a000000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_3, 4); csum_inet_update(&csum_1, (const uint8_t*)0x1000022a, 4114); *(uint16_t*)0x1000022c = csum_inet_digest(&csum_1); break; case 11: memcpy((void*)0x10001240, "\xf2\x26\x33\x54\x5b\x41\xc4\xc2\xb1\xde\x3a\x0f\x4b\xbe\x11\x14\x00\x00\xc4\xc2\x31\xdc\x03\xc4\xc2\x4d\x96\x1c\x5f\x66\x0f\x38\x21\x47\x1e\xc4\xe1\x85\xd8\x71\x28\xc4\xc3\xc5\xcf\x8e\x0e\x08\x00\x00\xfe\xd1\x62\x00\xc4\xc2\x2d\x40\x11", 59); syz_execute_func(0x10001240); break; case 12: break; } } int main(void) { syscall(SYS_mmap, 0x10000000, 0x1000000, 7, 0x1012, -1, 0); for (procid = 0; procid < 2; procid++) { if (fork() == 0) { use_temporary_dir(); do_sandbox_none(); } } sleep(1000000); return 0; } :391:11: error: use of undeclared identifier 'SYS___realpathat' syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); ^ 1 error generated. compiler invocation: clang [-o /tmp/syz-executor496597235 -DGOOS_freebsd=1 -DGOARCH_386=1 -DHOSTGOOS_freebsd=1 -x c - -m32 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -static -lc++ -Wno-overflow] --- FAIL: TestGenerate/freebsd/386/4 (1.33s) csource_test.go:123: opts: {Threaded:true Collide:false Repeat:true RepeatTimes:10 Procs:0 Sandbox:none Fault:false FaultCall:0 FaultNth:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false USB:false VhciInjection:false Wifi:false UseTmpDir:true HandleSegv:false Repro:false Trace:false} program: r0 = fcntl$dupfd(0xffffffffffffff9c, 0x11, 0xffffffffffffff9c) setsockopt$inet_sctp_SCTP_AUTOCLOSE(r0, 0x84, 0x5, &(0x7f0000000000)=0x5, 0x4) cap_rights_limit(r0, &(0x7f0000000040)=[0x6, 0xa9]) setsockopt$inet_sctp_SCTP_EVENTS(r0, 0x84, 0xc, &(0x7f0000000080)={0x20, 0x81, 0x3, 0x20, 0x20, 0xf7, 0xff, 0x7, 0x4, 0x40, 0x4}, 0xb) setsockopt$inet_sctp_SCTP_RESET_STREAMS(r0, 0x84, 0x901, &(0x7f00000000c0)={0x0, 0x9, 0x3, [0x1, 0xffff, 0x8000]}, 0xe) r1 = accept(r0, &(0x7f0000000100)=@un=@file={0x6e, 0x0, ""/108}, &(0x7f0000000180)=0x6e) __realpathat(r1, &(0x7f00000001c0)='./file0\x00', &(0x7f0000000200)=""/5, 0x5, 0x0) r2 = socket$inet_icmp_raw(0x2, 0x3, 0x1) fcntl$getown(r2, 0x5) getsockopt$inet6_sctp_SCTP_PRIMARY_ADDR(r1, 0x84, 0x7, &(0x7f0000000240)={@in6={{0x1c, 0x1c, 0x1, 0x7f, @loopback, 0xfffff9b1}}}, &(0x7f00000002c0)=0x80) syz_emit_ethernet(0x123c, &(0x7f0000000000)={@remote, @remote, [{[], {0x8100, 0x5, 0x1, 0x3}}], {@ipv6={0x86dd, {0x7, 0x6, "c3cb10", 0x1202, 0x2f, 0x1, @rand_addr="cdd9639d818e3c5354e423e67c0261ce", @rand_addr="9aa3a73eacf47f646cf70032c9d108ee", {[@hopopts={0x36, 0x1e, [], [@enc_lim={0x4, 0x1, 0x1}, @jumbo={0xc2, 0x4, 0x7}, @padn={0x1, 0x2, [0x0, 0x0]}, @generic={0xff, 0xe2, "6643d230d2ebee2da66799233fd3953c637fbff58a08fe47946de86f44bcf9e809d627768d7e38be69808921c800a8ca76dba12e6b01e8b0b852821fe46d8d1b863c6ed1f386d2779a2983036a403ec804bbc1ce77c679d945e9c0b836352e6f8ee210ede5f8eb2937afc8307287e8a27e8fc66de2ef50421840455126dc362d0994a2a2db619ca5b70f615b719413594471a2efad9e7e22a5400361abac231575d1b498781612296d932e4832dd0c9f6709c2f81038bbcde5c27832bae014b13b9b93b41374f997c188d74a33960b2b2948a2eb3211c2aca855f616f2223f4746ce"}, @enc_lim={0x4, 0x1, 0x1f}]}, @routing={0x31, 0x4, 0x0, 0x5, 0x0, [@ipv4={[], [], @broadcast}, @empty]}, @routing={0x58, 0x8, 0x1, 0x81, 0x0, [@local={0xfe, 0x80, [], 0x0}, @mcast1, @local={0xfe, 0x80, [], 0x0}, @loopback]}, @routing={0x59, 0xc, 0x0, 0x3, 0x0, [@rand_addr="d691f228498c816bd931bf11ea3cb358", @empty, @loopback, @rand_addr="4046fbe3c1e1669f072dd9ee3ba11696", @ipv4={[], [], @broadcast}, @mcast1]}, @fragment={0x27, 0x0, 0x91, 0x1, 0x0, 0x6, 0x66}, @hopopts={0x26, 0x0, [], [@ra={0x5, 0x2, 0x5}]}], @icmpv6=@ndisc_ra={0x86, 0x0, 0x0, 0x0, 0x9, 0x9, 0x401, 0x7fffffff, [{0x1, 0x200, "d145ff576d7fe933a6f7ae4bd47d7aec4360a335727c0267ff79e34d036694ea6d8de62ebb1941f6b9a95a6c95fa33d4a6ddfe3be408148daca556b6b4dfebef869da93cfa26fb8e16509febb321011f508eec7502824442d8620519d7ce359284ef093639001b689f9443260584dfaf819313726c4495ac4c3203aa603e26f374d696cdb36fb00e6c412edbefc16270c783d3a1ada35a07cd9225f21b9570f801a960e06d96556b9eaca234f12861444231c94aee6315fb199f69eebdf9fdb0bdb89902e0eb69bbdf9730aa371b84b02e9ab5f3a4f99f9205694f062460e286b1abef3936fdf183bd7c95a9d99b57827dea1814e0e2dc58a677f2ae6c73de4e27fe8856e417fd266088008abe5d38d74ea0bdc6d046c5d3f45e2ee47a440c5dfc30459b219bb3b1302feb6b36a6e524b1db70d57efe32823b0ad037a3c204c77748b85fd88abf24ef0717eac90e235d91764b48bb1dcc3c9177fc4b0fc997d3d4e90702872bf0d8702194e22577353e557c0041f106e5dee1d24f243ab7c07b4335a6886c04061e84966599b68c676e966008a7905f1706048334501a3608305330cb8b447a1698fa9646c73cd758871c1e8b96889ae3372a5fef5b03ef56d1608eae44a863b05991f626447730df97f33686e5cb72554a1a8ace8b530d3e60452352d9e93ed031852eb2dc87903a1346c3962ced8f4fd2c07e01843d19e253653fcc7eb3e710b546e1180844d95e67143def4619375d71173729dfabeecddd0239456fd1f563bedd3e8aa7bd29ce40bfb72e832324cf0e7ed960bc4cdd81a1d1c4d3a2f984218a8f7ce9288fb57b315c475a57c2d56743ba3987ad1fe69af5a391cdb9c8a551723340c3d1c989b5da33771f797e8993ef51546e9849ba61a3cb3babbc5b33fc9e883b3ee41e6d8c675841718b908092b2c4da4c1a78a17bee0c409d03cd8bed2d56a46ee7721b5659be3fa5cd0e89bceffaffaf1e95716adc762554c496a40282cb6d85f4e0e29fd76574001b893d0ffc8c94a187829e24546d890439547b81c18c4865be4cb57e06e319c5007d43459ec3aa20ce72f7883cbda6a303c343fbed7f62b2f2ac9f5d24842e8abae1c9e32954b0d0d60242891b1fae40d03283f33c0948e161fa2f9ffb77b72ce969718768282c45ae089faf80ecaff1658114a78d8b13833958a360fe8bead9b485d5dcc701812a559c6d04a22fe59d3f6fc0fcc7cbbbc4450a58bee99560579eff8d7846d062253d15d5e6b20a78134014323bc31f3dbfa53e2ede137e3c1129ba8db638a95972e1a7223504af10a149154fa581b9dbc516289cff0d655888592199c77fa553f07db009ee2a42c5412df9fe612d108ee2d595cbb0bf59776646cb7c83e3551a91c0aca05de20d0bfc6c1f8f5c9492f22e5714ea0cbab5763194996c818545c0997ff555e5d136aea50a7a93dc40340a725da5ca7ea45a483d2c9da67a254d6ebdb6e20270beb33373321d922375207bf54707e1d97d52a6930b4287cd0dc6d8d3346e388fe41fca91162739a30c97da08cc3f42b3f54382dcdef5d0e7670b8c98c0533bf6c53d58688d9b958b23a91a8a6f2ffad419e01e2bb776cc3213fef59a7034d835c022dad02994624c55855b09e266e416a66939fc3664e441b99d7ffa0b83bfd0b0d752de0baedc1746b4938201972253924b0a68641e7c935fbb4189e5fdc391a29e331151fe720bfbc06825ba0766e421a2613fc0b78ceeb3817f262c90f66e7cfa0533c17ac71b0b1f94ffb02e3807b6247e968cedb141206edf0ca6f98fd919fa5279fe208799d82ab3a70b9b4baea410dc7cb3933782d63fe42807cf0fa7f5c9ae0cd4d0a0294692d3629d9881dad532b34efd702d8eaf0ac20378e62b36460656e0e887c44959552c9620e9ec3e73fee5ca0e5a6dd767b7b7a97ac4c77e709ce7859f21f0be66c9be7f445fb15f7bf4c8124a567fbfe0d379f08cb1b816f4c720ef5e3a6a083b5be05694a0d3d3ac784fc4399b1ccb7482ca0a1182166403565a9f7d4b0b71cccd20b952aee3be5c9ab10663e08aa419c8dee91e6f9bc58377e949d7251a445e1a7f87933dbbac2703f5d111de77b9dc5de5a53b90ee18ef9ab6a154f3f2500df04124645a6f09edb80c2fed4f30ffc4659176a6d3633db7c6c6c7acdc9332fbfc34f63543f99c3e7283ab9a98e8073e2c1a3158158976f06a520975b2f565936521babdd27fce006d30f5d75053847e6124940f3ef663e7e12e206e8dccc221a2381a1762f3e6ebbd37eb7a5409498e19eeab8b75cfbd7522a3ef45a236ad0b7129154e44436bd8b8da1323469c150cd487746247d06f12ae67fa30dc79f4df5cc8c1f86e8b35689b5a2c32e50777cf132f14c4cd2fb8f3760a66ec723e29624f8a974953350ca8853239944e33727d5965e10c8da5a8fcb4033ea2f96cad4d33524d181844b5a6a2a3a0c0a3572e4354b5f0bb6c727bcf02d31f66742bcd3e3767c70b1fa695812896ed053934abee8dea4ca8242b1fe1409717ddca6676b358e7930dc927f688c22e2ae6296ff2ed3c8519f3f8d49c3a7183d4aa0da4e3c7a652d539bff9ab1952aa13c002a0a8e7128b4e4ab441fcc905a0f26f9f6b5fa31360d5c24845ad876577bb0e1fcfed3101aedf14a73c0ce03e36360c01eee27342c1fa46d72474cd519e57837c250cedf09a31e45deb383587c5aee4c36fe2a8df37240de321a6a1c6fc656b5e6b28ffa25f40a723a5d13cbe7b42b4f62f60ccfbaa4ffeb00ca3b6d94119c0594aa5e11af8055b10d1a5a9900bd25b850c993c3bd9a941bded209dc4c74e9421b84c81c624dfffd12f397cc79101da2aac938a23aa49908f3f1ff41fc60dba8240a04f0941784a2284aaebdcc8143910ab01780e463dfb8be387b99346fbf8676e7f3e92420502a98eaa6d710b064f016dce0d6dc41956aea4fc9f304394b321c78141ad4c8d6527d7e946cff3fe06b252ae992837f0a9b9be2fb5d6358e419f9f30c4358906a82685fc734d2d2497a152cbe965f7e3220d437a7e64e9d1cef4092d0f8e731910d04e15df205b130979e1b8710faa5804642ceca6667c9dfe3747ee43cd73466204470987d0e76af237218ccb37bd77a39a09918e74aaf597bd3fbd79bba735c5ce6e81c559c986bbf60755170b30474a9e7caa5e83a42f19f79b186ec3af3bf1112c00cf05bff72a0d1698a94a871c4e8a0797d4d7f3c3e7e2a27ca7b9386f16c0473395fe85b280f9aba2efdaa08bcc7f2f2c301e165d626c83285bddf052cba134df3bbdd1e8f46415bbb391e05b1e475f344c1012cca9a72fb122c25d7f85c92a74fe7350a909dfee05b8a87557ad0cbc5912dcbdf9373a5e413b8375df15d4d8a06f4ced1259a8165389acc897cfd01c0dbea278144d079440086f7febdcf7aa7eec023993df73d8d0d46163add80a7c686789331c15aa22c8cafd5df40d4561f6f24759eb3d6a97ea01a3a3368ea8b1cf6fff8bf58ac225528d7a17d21edfa6eacfc5aab6f785a0b3003ab6ee0de9423cd363b14d03e102f445b23c14a536d7b231243288f288da44f8a5e8bc1f13b8cec7cb6a2a569636163a098b2f40f45c43564f1aa8b916426e77510936202363fe0dd717450cca9e8cbde8dffc9b9e24d8bd3cf171e36f05c06334873110b9c2d1a3020b660aacb19682d771e02c4d80dbfcdd11edf7553abad4cd0cee0fc5e81e94c4810a2c497f3d0ffa21bf7a31b6a835daf1f609e23cd64f81c1716af85b9233b547e679c72755e6cbb1cb405d7a897fcaa8c815bbd5a2aecc89d69981f349af2f97edb5a6f4197d20eec8d4b0f3c2375b8839cf6858bbf101ee06aecb7516cc27d59a8bdc9b5b208aaa4b5c14a5251d9d232397dd8d0eb8855d3ae0625a254fb89779ab00b3af427454c6bf5cff225c2f77bac6e5997404f00a4079d2237d19aec130c03a771e126cec4bc0661c3f9fae365d617723024ef8802fc94a85ebb80144b165f9d4bc2a1f87ce048ea52858d65dd33b1320b697ed30299b1848835c616b0a687e887483127078433db991d662fa367421445be00af4c06a34e554b3efa0f8cf99d2e1740c3d23ae57f97e1d19770103d7ec6f17b085ee3ea95ee6c74c3753628d0a97b440d38c139fd8974f049e3b4a8e83dae7c626d0139f92c69a92975270456cf7640c4b0ea0c3f5f2bdffd9a0cca3acadc2f2789bd59109059ff454bf742da9933f66e004da866be462ba3a2e42a2302407e822791b782164c795b1712a2c1d957e37703a328ae14628884c76ed83d08710a6212dd13cc466ac8f4b8c65e8ad647261e41786dac815c47299ff9b572579c2b5a27af372358c3f2ba4c11f86cab07c65ca9f0f703554b162b73c3706add4f7e10d95b847ca798c092361b43e086569d402d55f72ca7aa78ee95d9343c381196bcf8f8cfb0b805d418d51ccab377f646b3934b4c6773ba4cd975a0f12084a337d435d4611550656345f83cba264a958f7ac218c63821b22b8bd1ac3684d6dcc3b71e445d5707b9a5a6ba9e7fc2405b259a6531e937b8ea4ac7f8fa8aaff40c570fa5bd488e289b73e0a05e94ce0bba7e4b2f2cd8b3a3fdf91eb5ea2b004f91500d84bfd36199f9aa9a0b3f66af816f0b9b462d79602a12e705ec62c00cecb61070e09bb25d49076bf75011ce19d4ea7ff6ef6ddc4fffcc134c81bf5bda49f66616792e3fbf0953d9a0c25dc36b245046c01ff8f98975329624f3c9eac958236daa0aa026996840d48dc633cebb5ef484ba7cdf1b76a27a803c4ea464eb30c5573147ba783f0e42869bfa9970b61d5ed05b790f6a93bab2f939eefc9efad8677e59a037e3ab2303ce97ffd53e3ce3369ba4c48eceb3aaedcb4089a97eb59fc9788204739d5e6df7c8dc326994bdcd1803cb4b521ff6647de9590dfcb2c570510a619118703e82e7e45a54e287a8c734d0294a8b2cd07ffa32e400edcd5bbf86b2dd2f09c2b72018b17e54debad47b839e98cebead5ce68a439e5eb427945dfdd168ac7026a5c9c33c6c3ce0b98f832d7ad16aecdb01891904f6042a4c98e5f41209b4488e6c99ef116f43c489f51e306476642194fe0535077c94fc80c5aba2e26e61c77b1fc5fe9dad47968bb4114baa614d234e3b0be0d5abec9e60d72c6956a797809b51e16b6f49029d2f4b2266d3a8b9b567099b556c2685a00bd84238a9080aa022c357ad6d454bd7594a029eb4284a973b48e6392f425b70301b8c51477500490b765c6b70015bdd99f51c2d1995d80ba04508d6e66eb56695cccf63d50cc40b02c80c3886ce75d8a02abbb7149daced8ff3e8dfc169fb46031c4c0f19060daba08d35d3402b20cb0417f14ef184f5f531f4695ba4832a8b6391b13f3abcdd2c05b5168c30fe3cde8677ff738836aa85b7ef90148b2556b790bd9bda3d108ea37b03acfd09a544a8e85843643f31368cfc226a930dc7496ed4c9966e3de92637933ee7bfdf12bbfbac0234a74e289bdb37a522bd047a1007a3687a21bc9b0cff80874277d825bdbab845c1ac50460563d08b1e04a7f1086e677931988d5cd6f974706d64f63e84491b302888f8b8f0f42997f5edd2510f26a0b16d7038bec871309389cab6f5761a2b9f00111bc4441bbfade0eca7cea5b0b8daca736e6150503aae879f72d108361ca31bafbf4e0c2e9ebd7af57265bb04c388923a00b4c59088a2f7b767b14f3982e642e7b3dd94dc6f4b6b0113c9d49f80a3e169c1060893539ffc3237d6eccf4920a9b50a860eed127a22ffe"}]}}}}}}) syz_execute_func(&(0x7f0000001240)="f22633545b41c4c2b1de3a0f4bbe11140000c4c231dc03c4c24d961c5f660f3821471ec4e185d87128c4c3c5cf8e0e080000fed16200c4c22d4011") syz_extract_tcp_res(&(0x7f0000001280), 0x26e, 0x1) csource_test.go:124: failed to build program: // 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 static void kill_and_wait(int pid, int* status) { kill(pid, SIGKILL); while (waitpid(-1, status, 0) != pid) { } } static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void 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 __attribute__((noinline)) remove_dir(const char* dir) { DIR* dp = opendir(dir); if (dp == NULL) { if (errno == EACCES) { if (rmdir(dir)) exit(1); return; } 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); struct stat st; if (lstat(filename, &st)) exit(1); if (S_ISDIR(st.st_mode)) { remove_dir(filename); continue; } if (unlink(filename)) exit(1); } closedir(dp); if (rmdir(dir)) 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); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); ev->state = 0; } static void event_reset(event_t* ev) { ev->state = 0; } static void event_set(event_t* ev) { pthread_mutex_lock(&ev->mu); if (ev->state) exit(1); ev->state = 1; pthread_mutex_unlock(&ev->mu); pthread_cond_broadcast(&ev->cv); } static void event_wait(event_t* ev) { pthread_mutex_lock(&ev->mu); while (!ev->state) pthread_cond_wait(&ev->cv, &ev->mu); pthread_mutex_unlock(&ev->mu); } static int event_isset(event_t* ev) { pthread_mutex_lock(&ev->mu); int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } static int event_timedwait(event_t* ev, uint64_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #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)))) struct csum_inet { uint32_t acc; }; static void csum_inet_init(struct csum_inet* csum) { csum->acc = 0; } static void csum_inet_update(struct csum_inet* csum, const uint8_t* data, size_t length) { if (length == 0) return; size_t i = 0; for (; i < length - 1; i += 2) csum->acc += *(uint16_t*)&data[i]; if (length & 1) csum->acc += le16toh((uint16_t)data[length - 1]); while (csum->acc > 0xffff) csum->acc = (csum->acc & 0xffff) + (csum->acc >> 16); } static uint16_t csum_inet_digest(struct csum_inet* csum) { return ~csum->acc; } static void sandbox_common() { if (setsid() == -1) exit(1); struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = 128 << 20; setrlimit(RLIMIT_AS, &rlim); rlim.rlim_cur = rlim.rlim_max = 8 << 20; setrlimit(RLIMIT_MEMLOCK, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_FSIZE, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_STACK, &rlim); rlim.rlim_cur = rlim.rlim_max = 0; setrlimit(RLIMIT_CORE, &rlim); rlim.rlim_cur = rlim.rlim_max = 256; setrlimit(RLIMIT_NOFILE, &rlim); } static void loop(); static int do_sandbox_none(void) { sandbox_common(); loop(); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } struct thread_t { int created, call; event_t ready, done; }; static struct thread_t threads[16]; static void execute_call(int call); static int running; static void* thr(void* arg) { struct thread_t* th = (struct thread_t*)arg; for (;;) { event_wait(&th->ready); event_reset(&th->ready); execute_call(th->call); __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); event_set(&th->done); } return 0; } static void execute_one(void) { int i, call, thread; for (call = 0; call < 13; 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, 45); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); #define WAIT_FLAGS 0 static void loop(void) { int iter = 0; for (; iter < 10; 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); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5 * 1000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } uint64_t r[3] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: res = syscall(SYS_fcntl, 0xffffff9c, 0x11, 0xffffff9c); if (res != -1) r[0] = res; break; case 1: *(uint32_t*)0x10000000 = 5; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 5, 0x10000000, 4); break; case 2: *(uint64_t*)0x10000040 = 6; *(uint64_t*)0x10000048 = 0xa9; syscall(SYS_cap_rights_limit, (intptr_t)r[0], 0x10000040); break; case 3: *(uint8_t*)0x10000080 = 0x20; *(uint8_t*)0x10000081 = 0x81; *(uint8_t*)0x10000082 = 3; *(uint8_t*)0x10000083 = 0x20; *(uint8_t*)0x10000084 = 0x20; *(uint8_t*)0x10000085 = 0xf7; *(uint8_t*)0x10000086 = -1; *(uint8_t*)0x10000087 = 7; *(uint8_t*)0x10000088 = 4; *(uint8_t*)0x10000089 = 0x40; *(uint8_t*)0x1000008a = 4; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0xc, 0x10000080, 0xb); break; case 4: *(uint32_t*)0x100000c0 = 0; *(uint16_t*)0x100000c4 = 9; *(uint16_t*)0x100000c6 = 3; *(uint16_t*)0x100000c8 = 1; *(uint16_t*)0x100000ca = -1; *(uint16_t*)0x100000cc = 0x8000; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0x901, 0x100000c0, 0xe); break; case 5: *(uint32_t*)0x10000180 = 0x6e; res = syscall(SYS_accept, (intptr_t)r[0], 0x10000100, 0x10000180); if (res != -1) r[1] = res; break; case 6: memcpy((void*)0x100001c0, "./file0\000", 8); syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); break; case 7: res = syscall(SYS_socket, 2, 3, 1); if (res != -1) r[2] = res; break; case 8: syscall(SYS_fcntl, (intptr_t)r[2], 5, 0); break; case 9: *(uint8_t*)0x10000240 = 0x1c; *(uint8_t*)0x10000241 = 0x1c; *(uint16_t*)0x10000242 = htobe16(0x4e21); *(uint32_t*)0x10000244 = 0x7f; *(uint64_t*)0x10000248 = htobe64(0); *(uint64_t*)0x10000250 = htobe64(1); *(uint32_t*)0x10000258 = 0xfffff9b1; *(uint64_t*)0x1000025c = 0; *(uint64_t*)0x10000264 = 0; *(uint64_t*)0x1000026c = 0; *(uint64_t*)0x10000274 = 0; *(uint64_t*)0x1000027c = 0; *(uint64_t*)0x10000284 = 0; *(uint64_t*)0x1000028c = 0; *(uint64_t*)0x10000294 = 0; *(uint64_t*)0x1000029c = 0; *(uint64_t*)0x100002a4 = 0; *(uint64_t*)0x100002ac = 0; *(uint64_t*)0x100002b4 = 0; *(uint32_t*)0x100002bc = 0; *(uint32_t*)0x100002c0 = 0x80; syscall(SYS_getsockopt, (intptr_t)r[1], 0x84, 7, 0x10000240, 0x100002c0); break; case 10: *(uint8_t*)0x10000000 = 0xaa; *(uint8_t*)0x10000001 = 0xaa; *(uint8_t*)0x10000002 = 0xaa; *(uint8_t*)0x10000003 = 0xaa; *(uint8_t*)0x10000004 = 0xaa; *(uint8_t*)0x10000005 = 0xbb; *(uint8_t*)0x10000006 = 0xaa; *(uint8_t*)0x10000007 = 0xaa; *(uint8_t*)0x10000008 = 0xaa; *(uint8_t*)0x10000009 = 0xaa; *(uint8_t*)0x1000000a = 0xaa; *(uint8_t*)0x1000000b = 0xbb; *(uint16_t*)0x1000000c = htobe16(0x8100); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 5, 0, 3); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 1, 3, 1); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 3, 4, 12); *(uint16_t*)0x10000010 = htobe16(0x86dd); STORE_BY_BITMASK(uint8_t, , 0x10000012, 7, 0, 4); STORE_BY_BITMASK(uint8_t, , 0x10000012, 6, 4, 4); memcpy((void*)0x10000013, "\xc3\xcb\x10", 3); *(uint16_t*)0x10000016 = htobe16(0x1202); *(uint8_t*)0x10000018 = 0x2f; *(uint8_t*)0x10000019 = 1; memcpy((void*)0x1000001a, "\xcd\xd9\x63\x9d\x81\x8e\x3c\x53\x54\xe4\x23\xe6\x7c\x02\x61\xce", 16); memcpy((void*)0x1000002a, "\x9a\xa3\xa7\x3e\xac\xf4\x7f\x64\x6c\xf7\x00\x32\xc9\xd1\x08\xee", 16); *(uint8_t*)0x1000003a = 0x36; *(uint8_t*)0x1000003b = 0x1e; *(uint8_t*)0x1000003c = 0; *(uint8_t*)0x1000003d = 0; *(uint8_t*)0x1000003e = 0; *(uint8_t*)0x1000003f = 0; *(uint8_t*)0x10000040 = 0; *(uint8_t*)0x10000041 = 0; *(uint8_t*)0x10000042 = 4; *(uint8_t*)0x10000043 = 1; *(uint8_t*)0x10000044 = 1; *(uint8_t*)0x10000045 = 0xc2; *(uint8_t*)0x10000046 = 4; *(uint32_t*)0x10000047 = htobe32(7); *(uint8_t*)0x1000004b = 1; *(uint8_t*)0x1000004c = 2; *(uint8_t*)0x1000004d = 0; *(uint8_t*)0x1000004e = 0; *(uint8_t*)0x1000004f = -1; *(uint8_t*)0x10000050 = 0xe2; memcpy((void*)0x10000051, "\x66\x43\xd2\x30\xd2\xeb\xee\x2d\xa6\x67\x99\x23\x3f\xd3\x95\x3c\x63\x7f\xbf\xf5\x8a\x08\xfe\x47\x94\x6d\xe8\x6f\x44\xbc\xf9\xe8\x09\xd6\x27\x76\x8d\x7e\x38\xbe\x69\x80\x89\x21\xc8\x00\xa8\xca\x76\xdb\xa1\x2e\x6b\x01\xe8\xb0\xb8\x52\x82\x1f\xe4\x6d\x8d\x1b\x86\x3c\x6e\xd1\xf3\x86\xd2\x77\x9a\x29\x83\x03\x6a\x40\x3e\xc8\x04\xbb\xc1\xce\x77\xc6\x79\xd9\x45\xe9\xc0\xb8\x36\x35\x2e\x6f\x8e\xe2\x10\xed\xe5\xf8\xeb\x29\x37\xaf\xc8\x30\x72\x87\xe8\xa2\x7e\x8f\xc6\x6d\xe2\xef\x50\x42\x18\x40\x45\x51\x26\xdc\x36\x2d\x09\x94\xa2\xa2\xdb\x61\x9c\xa5\xb7\x0f\x61\x5b\x71\x94\x13\x59\x44\x71\xa2\xef\xad\x9e\x7e\x22\xa5\x40\x03\x61\xab\xac\x23\x15\x75\xd1\xb4\x98\x78\x16\x12\x29\x6d\x93\x2e\x48\x32\xdd\x0c\x9f\x67\x09\xc2\xf8\x10\x38\xbb\xcd\xe5\xc2\x78\x32\xba\xe0\x14\xb1\x3b\x9b\x93\xb4\x13\x74\xf9\x97\xc1\x88\xd7\x4a\x33\x96\x0b\x2b\x29\x48\xa2\xeb\x32\x11\xc2\xac\xa8\x55\xf6\x16\xf2\x22\x3f\x47\x46\xce", 226); *(uint8_t*)0x10000133 = 4; *(uint8_t*)0x10000134 = 1; *(uint8_t*)0x10000135 = 0x1f; *(uint8_t*)0x1000013a = 0x31; *(uint8_t*)0x1000013b = 4; *(uint8_t*)0x1000013c = 0; *(uint8_t*)0x1000013d = 5; *(uint32_t*)0x1000013e = 0; *(uint8_t*)0x10000142 = 0; *(uint8_t*)0x10000143 = 0; *(uint8_t*)0x10000144 = 0; *(uint8_t*)0x10000145 = 0; *(uint8_t*)0x10000146 = 0; *(uint8_t*)0x10000147 = 0; *(uint8_t*)0x10000148 = 0; *(uint8_t*)0x10000149 = 0; *(uint8_t*)0x1000014a = 0; *(uint8_t*)0x1000014b = 0; *(uint8_t*)0x1000014c = -1; *(uint8_t*)0x1000014d = -1; *(uint32_t*)0x1000014e = htobe32(-1); *(uint8_t*)0x10000152 = 0; *(uint8_t*)0x10000153 = 0; *(uint8_t*)0x10000154 = 0; *(uint8_t*)0x10000155 = 0; *(uint8_t*)0x10000156 = 0; *(uint8_t*)0x10000157 = 0; *(uint8_t*)0x10000158 = 0; *(uint8_t*)0x10000159 = 0; *(uint8_t*)0x1000015a = 0; *(uint8_t*)0x1000015b = 0; *(uint8_t*)0x1000015c = 0; *(uint8_t*)0x1000015d = 0; *(uint8_t*)0x1000015e = 0; *(uint8_t*)0x1000015f = 0; *(uint8_t*)0x10000160 = 0; *(uint8_t*)0x10000161 = 0; *(uint8_t*)0x10000162 = 0x58; *(uint8_t*)0x10000163 = 8; *(uint8_t*)0x10000164 = 1; *(uint8_t*)0x10000165 = 0x81; *(uint32_t*)0x10000166 = 0; *(uint8_t*)0x1000016a = 0xfe; *(uint8_t*)0x1000016b = 0x80; *(uint8_t*)0x1000016c = 0; *(uint8_t*)0x1000016d = 0; *(uint8_t*)0x1000016e = 0; *(uint8_t*)0x1000016f = 0; *(uint8_t*)0x10000170 = 0; *(uint8_t*)0x10000171 = 0; *(uint8_t*)0x10000172 = 0; *(uint8_t*)0x10000173 = 0; *(uint8_t*)0x10000174 = 0; *(uint8_t*)0x10000175 = 0; *(uint8_t*)0x10000176 = 0; *(uint8_t*)0x10000177 = 0; *(uint8_t*)0x10000178 = 0; *(uint8_t*)0x10000179 = 0xaa; *(uint8_t*)0x1000017a = -1; *(uint8_t*)0x1000017b = 1; *(uint8_t*)0x1000017c = 0; *(uint8_t*)0x1000017d = 0; *(uint8_t*)0x1000017e = 0; *(uint8_t*)0x1000017f = 0; *(uint8_t*)0x10000180 = 0; *(uint8_t*)0x10000181 = 0; *(uint8_t*)0x10000182 = 0; *(uint8_t*)0x10000183 = 0; *(uint8_t*)0x10000184 = 0; *(uint8_t*)0x10000185 = 0; *(uint8_t*)0x10000186 = 0; *(uint8_t*)0x10000187 = 0; *(uint8_t*)0x10000188 = 0; *(uint8_t*)0x10000189 = 1; *(uint8_t*)0x1000018a = 0xfe; *(uint8_t*)0x1000018b = 0x80; *(uint8_t*)0x1000018c = 0; *(uint8_t*)0x1000018d = 0; *(uint8_t*)0x1000018e = 0; *(uint8_t*)0x1000018f = 0; *(uint8_t*)0x10000190 = 0; *(uint8_t*)0x10000191 = 0; *(uint8_t*)0x10000192 = 0; *(uint8_t*)0x10000193 = 0; *(uint8_t*)0x10000194 = 0; *(uint8_t*)0x10000195 = 0; *(uint8_t*)0x10000196 = 0; *(uint8_t*)0x10000197 = 0; *(uint8_t*)0x10000198 = 0; *(uint8_t*)0x10000199 = 0xaa; *(uint64_t*)0x1000019a = htobe64(0); *(uint64_t*)0x100001a2 = htobe64(1); *(uint8_t*)0x100001aa = 0x59; *(uint8_t*)0x100001ab = 0xc; *(uint8_t*)0x100001ac = 0; *(uint8_t*)0x100001ad = 3; *(uint32_t*)0x100001ae = 0; memcpy((void*)0x100001b2, "\xd6\x91\xf2\x28\x49\x8c\x81\x6b\xd9\x31\xbf\x11\xea\x3c\xb3\x58", 16); *(uint8_t*)0x100001c2 = 0; *(uint8_t*)0x100001c3 = 0; *(uint8_t*)0x100001c4 = 0; *(uint8_t*)0x100001c5 = 0; *(uint8_t*)0x100001c6 = 0; *(uint8_t*)0x100001c7 = 0; *(uint8_t*)0x100001c8 = 0; *(uint8_t*)0x100001c9 = 0; *(uint8_t*)0x100001ca = 0; *(uint8_t*)0x100001cb = 0; *(uint8_t*)0x100001cc = 0; *(uint8_t*)0x100001cd = 0; *(uint8_t*)0x100001ce = 0; *(uint8_t*)0x100001cf = 0; *(uint8_t*)0x100001d0 = 0; *(uint8_t*)0x100001d1 = 0; *(uint64_t*)0x100001d2 = htobe64(0); *(uint64_t*)0x100001da = htobe64(1); memcpy((void*)0x100001e2, "\x40\x46\xfb\xe3\xc1\xe1\x66\x9f\x07\x2d\xd9\xee\x3b\xa1\x16\x96", 16); *(uint8_t*)0x100001f2 = 0; *(uint8_t*)0x100001f3 = 0; *(uint8_t*)0x100001f4 = 0; *(uint8_t*)0x100001f5 = 0; *(uint8_t*)0x100001f6 = 0; *(uint8_t*)0x100001f7 = 0; *(uint8_t*)0x100001f8 = 0; *(uint8_t*)0x100001f9 = 0; *(uint8_t*)0x100001fa = 0; *(uint8_t*)0x100001fb = 0; *(uint8_t*)0x100001fc = -1; *(uint8_t*)0x100001fd = -1; *(uint32_t*)0x100001fe = htobe32(-1); *(uint8_t*)0x10000202 = -1; *(uint8_t*)0x10000203 = 1; *(uint8_t*)0x10000204 = 0; *(uint8_t*)0x10000205 = 0; *(uint8_t*)0x10000206 = 0; *(uint8_t*)0x10000207 = 0; *(uint8_t*)0x10000208 = 0; *(uint8_t*)0x10000209 = 0; *(uint8_t*)0x1000020a = 0; *(uint8_t*)0x1000020b = 0; *(uint8_t*)0x1000020c = 0; *(uint8_t*)0x1000020d = 0; *(uint8_t*)0x1000020e = 0; *(uint8_t*)0x1000020f = 0; *(uint8_t*)0x10000210 = 0; *(uint8_t*)0x10000211 = 1; *(uint8_t*)0x10000212 = 0x27; *(uint8_t*)0x10000213 = 0; *(uint8_t*)0x10000214 = 0x91; STORE_BY_BITMASK(uint8_t, , 0x10000215, 1, 0, 1); STORE_BY_BITMASK(uint8_t, , 0x10000215, 0, 1, 2); STORE_BY_BITMASK(uint8_t, , 0x10000215, 6, 3, 5); *(uint32_t*)0x10000216 = 0x66; *(uint8_t*)0x1000021a = 0x26; *(uint8_t*)0x1000021b = 0; *(uint8_t*)0x1000021c = 0; *(uint8_t*)0x1000021d = 0; *(uint8_t*)0x1000021e = 0; *(uint8_t*)0x1000021f = 0; *(uint8_t*)0x10000220 = 0; *(uint8_t*)0x10000221 = 0; *(uint8_t*)0x10000222 = 5; *(uint8_t*)0x10000223 = 2; *(uint16_t*)0x10000224 = htobe16(5); *(uint8_t*)0x1000022a = 0x86; *(uint8_t*)0x1000022b = 0; *(uint16_t*)0x1000022c = htobe16(0); *(uint8_t*)0x1000022e = 0; *(uint8_t*)0x1000022f = 9; *(uint16_t*)0x10000230 = htobe16(9); *(uint32_t*)0x10000232 = htobe32(0x401); *(uint32_t*)0x10000236 = htobe32(0x7fffffff); *(uint8_t*)0x1000023a = 1; *(uint8_t*)0x1000023b = 0; memcpy((void*)0x1000023c, "\xd1\x45\xff\x57\x6d\x7f\xe9\x33\xa6\xf7\xae\x4b\xd4\x7d\x7a\xec\x43\x60\xa3\x35\x72\x7c\x02\x67\xff\x79\xe3\x4d\x03\x66\x94\xea\x6d\x8d\xe6\x2e\xbb\x19\x41\xf6\xb9\xa9\x5a\x6c\x95\xfa\x33\xd4\xa6\xdd\xfe\x3b\xe4\x08\x14\x8d\xac\xa5\x56\xb6\xb4\xdf\xeb\xef\x86\x9d\xa9\x3c\xfa\x26\xfb\x8e\x16\x50\x9f\xeb\xb3\x21\x01\x1f\x50\x8e\xec\x75\x02\x82\x44\x42\xd8\x62\x05\x19\xd7\xce\x35\x92\x84\xef\x09\x36\x39\x00\x1b\x68\x9f\x94\x43\x26\x05\x84\xdf\xaf\x81\x93\x13\x72\x6c\x44\x95\xac\x4c\x32\x03\xaa\x60\x3e\x26\xf3\x74\xd6\x96\xcd\xb3\x6f\xb0\x0e\x6c\x41\x2e\xdb\xef\xc1\x62\x70\xc7\x83\xd3\xa1\xad\xa3\x5a\x07\xcd\x92\x25\xf2\x1b\x95\x70\xf8\x01\xa9\x60\xe0\x6d\x96\x55\x6b\x9e\xac\xa2\x34\xf1\x28\x61\x44\x42\x31\xc9\x4a\xee\x63\x15\xfb\x19\x9f\x69\xee\xbd\xf9\xfd\xb0\xbd\xb8\x99\x02\xe0\xeb\x69\xbb\xdf\x97\x30\xaa\x37\x1b\x84\xb0\x2e\x9a\xb5\xf3\xa4\xf9\x9f\x92\x05\x69\x4f\x06\x24\x60\xe2\x86\xb1\xab\xef\x39\x36\xfd\xf1\x83\xbd\x7c\x95\xa9\xd9\x9b\x57\x82\x7d\xea\x18\x14\xe0\xe2\xdc\x58\xa6\x77\xf2\xae\x6c\x73\xde\x4e\x27\xfe\x88\x56\xe4\x17\xfd\x26\x60\x88\x00\x8a\xbe\x5d\x38\xd7\x4e\xa0\xbd\xc6\xd0\x46\xc5\xd3\xf4\x5e\x2e\xe4\x7a\x44\x0c\x5d\xfc\x30\x45\x9b\x21\x9b\xb3\xb1\x30\x2f\xeb\x6b\x36\xa6\xe5\x24\xb1\xdb\x70\xd5\x7e\xfe\x32\x82\x3b\x0a\xd0\x37\xa3\xc2\x04\xc7\x77\x48\xb8\x5f\xd8\x8a\xbf\x24\xef\x07\x17\xea\xc9\x0e\x23\x5d\x91\x76\x4b\x48\xbb\x1d\xcc\x3c\x91\x77\xfc\x4b\x0f\xc9\x97\xd3\xd4\xe9\x07\x02\x87\x2b\xf0\xd8\x70\x21\x94\xe2\x25\x77\x35\x3e\x55\x7c\x00\x41\xf1\x06\xe5\xde\xe1\xd2\x4f\x24\x3a\xb7\xc0\x7b\x43\x35\xa6\x88\x6c\x04\x06\x1e\x84\x96\x65\x99\xb6\x8c\x67\x6e\x96\x60\x08\xa7\x90\x5f\x17\x06\x04\x83\x34\x50\x1a\x36\x08\x30\x53\x30\xcb\x8b\x44\x7a\x16\x98\xfa\x96\x46\xc7\x3c\xd7\x58\x87\x1c\x1e\x8b\x96\x88\x9a\xe3\x37\x2a\x5f\xef\x5b\x03\xef\x56\xd1\x60\x8e\xae\x44\xa8\x63\xb0\x59\x91\xf6\x26\x44\x77\x30\xdf\x97\xf3\x36\x86\xe5\xcb\x72\x55\x4a\x1a\x8a\xce\x8b\x53\x0d\x3e\x60\x45\x23\x52\xd9\xe9\x3e\xd0\x31\x85\x2e\xb2\xdc\x87\x90\x3a\x13\x46\xc3\x96\x2c\xed\x8f\x4f\xd2\xc0\x7e\x01\x84\x3d\x19\xe2\x53\x65\x3f\xcc\x7e\xb3\xe7\x10\xb5\x46\xe1\x18\x08\x44\xd9\x5e\x67\x14\x3d\xef\x46\x19\x37\x5d\x71\x17\x37\x29\xdf\xab\xee\xcd\xdd\x02\x39\x45\x6f\xd1\xf5\x63\xbe\xdd\x3e\x8a\xa7\xbd\x29\xce\x40\xbf\xb7\x2e\x83\x23\x24\xcf\x0e\x7e\xd9\x60\xbc\x4c\xdd\x81\xa1\xd1\xc4\xd3\xa2\xf9\x84\x21\x8a\x8f\x7c\xe9\x28\x8f\xb5\x7b\x31\x5c\x47\x5a\x57\xc2\xd5\x67\x43\xba\x39\x87\xad\x1f\xe6\x9a\xf5\xa3\x91\xcd\xb9\xc8\xa5\x51\x72\x33\x40\xc3\xd1\xc9\x89\xb5\xda\x33\x77\x1f\x79\x7e\x89\x93\xef\x51\x54\x6e\x98\x49\xba\x61\xa3\xcb\x3b\xab\xbc\x5b\x33\xfc\x9e\x88\x3b\x3e\xe4\x1e\x6d\x8c\x67\x58\x41\x71\x8b\x90\x80\x92\xb2\xc4\xda\x4c\x1a\x78\xa1\x7b\xee\x0c\x40\x9d\x03\xcd\x8b\xed\x2d\x56\xa4\x6e\xe7\x72\x1b\x56\x59\xbe\x3f\xa5\xcd\x0e\x89\xbc\xef\xfa\xff\xaf\x1e\x95\x71\x6a\xdc\x76\x25\x54\xc4\x96\xa4\x02\x82\xcb\x6d\x85\xf4\xe0\xe2\x9f\xd7\x65\x74\x00\x1b\x89\x3d\x0f\xfc\x8c\x94\xa1\x87\x82\x9e\x24\x54\x6d\x89\x04\x39\x54\x7b\x81\xc1\x8c\x48\x65\xbe\x4c\xb5\x7e\x06\xe3\x19\xc5\x00\x7d\x43\x45\x9e\xc3\xaa\x20\xce\x72\xf7\x88\x3c\xbd\xa6\xa3\x03\xc3\x43\xfb\xed\x7f\x62\xb2\xf2\xac\x9f\x5d\x24\x84\x2e\x8a\xba\xe1\xc9\xe3\x29\x54\xb0\xd0\xd6\x02\x42\x89\x1b\x1f\xae\x40\xd0\x32\x83\xf3\x3c\x09\x48\xe1\x61\xfa\x2f\x9f\xfb\x77\xb7\x2c\xe9\x69\x71\x87\x68\x28\x2c\x45\xae\x08\x9f\xaf\x80\xec\xaf\xf1\x65\x81\x14\xa7\x8d\x8b\x13\x83\x39\x58\xa3\x60\xfe\x8b\xea\xd9\xb4\x85\xd5\xdc\xc7\x01\x81\x2a\x55\x9c\x6d\x04\xa2\x2f\xe5\x9d\x3f\x6f\xc0\xfc\xc7\xcb\xbb\xc4\x45\x0a\x58\xbe\xe9\x95\x60\x57\x9e\xff\x8d\x78\x46\xd0\x62\x25\x3d\x15\xd5\xe6\xb2\x0a\x78\x13\x40\x14\x32\x3b\xc3\x1f\x3d\xbf\xa5\x3e\x2e\xde\x13\x7e\x3c\x11\x29\xba\x8d\xb6\x38\xa9\x59\x72\xe1\xa7\x22\x35\x04\xaf\x10\xa1\x49\x15\x4f\xa5\x81\xb9\xdb\xc5\x16\x28\x9c\xff\x0d\x65\x58\x88\x59\x21\x99\xc7\x7f\xa5\x53\xf0\x7d\xb0\x09\xee\x2a\x42\xc5\x41\x2d\xf9\xfe\x61\x2d\x10\x8e\xe2\xd5\x95\xcb\xb0\xbf\x59\x77\x66\x46\xcb\x7c\x83\xe3\x55\x1a\x91\xc0\xac\xa0\x5d\xe2\x0d\x0b\xfc\x6c\x1f\x8f\x5c\x94\x92\xf2\x2e\x57\x14\xea\x0c\xba\xb5\x76\x31\x94\x99\x6c\x81\x85\x45\xc0\x99\x7f\xf5\x55\xe5\xd1\x36\xae\xa5\x0a\x7a\x93\xdc\x40\x34\x0a\x72\x5d\xa5\xca\x7e\xa4\x5a\x48\x3d\x2c\x9d\xa6\x7a\x25\x4d\x6e\xbd\xb6\xe2\x02\x70\xbe\xb3\x33\x73\x32\x1d\x92\x23\x75\x20\x7b\xf5\x47\x07\xe1\xd9\x7d\x52\xa6\x93\x0b\x42\x87\xcd\x0d\xc6\xd8\xd3\x34\x6e\x38\x8f\xe4\x1f\xca\x91\x16\x27\x39\xa3\x0c\x97\xda\x08\xcc\x3f\x42\xb3\xf5\x43\x82\xdc\xde\xf5\xd0\xe7\x67\x0b\x8c\x98\xc0\x53\x3b\xf6\xc5\x3d\x58\x68\x8d\x9b\x95\x8b\x23\xa9\x1a\x8a\x6f\x2f\xfa\xd4\x19\xe0\x1e\x2b\xb7\x76\xcc\x32\x13\xfe\xf5\x9a\x70\x34\xd8\x35\xc0\x22\xda\xd0\x29\x94\x62\x4c\x55\x85\x5b\x09\xe2\x66\xe4\x16\xa6\x69\x39\xfc\x36\x64\xe4\x41\xb9\x9d\x7f\xfa\x0b\x83\xbf\xd0\xb0\xd7\x52\xde\x0b\xae\xdc\x17\x46\xb4\x93\x82\x01\x97\x22\x53\x92\x4b\x0a\x68\x64\x1e\x7c\x93\x5f\xbb\x41\x89\xe5\xfd\xc3\x91\xa2\x9e\x33\x11\x51\xfe\x72\x0b\xfb\xc0\x68\x25\xba\x07\x66\xe4\x21\xa2\x61\x3f\xc0\xb7\x8c\xee\xb3\x81\x7f\x26\x2c\x90\xf6\x6e\x7c\xfa\x05\x33\xc1\x7a\xc7\x1b\x0b\x1f\x94\xff\xb0\x2e\x38\x07\xb6\x24\x7e\x96\x8c\xed\xb1\x41\x20\x6e\xdf\x0c\xa6\xf9\x8f\xd9\x19\xfa\x52\x79\xfe\x20\x87\x99\xd8\x2a\xb3\xa7\x0b\x9b\x4b\xae\xa4\x10\xdc\x7c\xb3\x93\x37\x82\xd6\x3f\xe4\x28\x07\xcf\x0f\xa7\xf5\xc9\xae\x0c\xd4\xd0\xa0\x29\x46\x92\xd3\x62\x9d\x98\x81\xda\xd5\x32\xb3\x4e\xfd\x70\x2d\x8e\xaf\x0a\xc2\x03\x78\xe6\x2b\x36\x46\x06\x56\xe0\xe8\x87\xc4\x49\x59\x55\x2c\x96\x20\xe9\xec\x3e\x73\xfe\xe5\xca\x0e\x5a\x6d\xd7\x67\xb7\xb7\xa9\x7a\xc4\xc7\x7e\x70\x9c\xe7\x85\x9f\x21\xf0\xbe\x66\xc9\xbe\x7f\x44\x5f\xb1\x5f\x7b\xf4\xc8\x12\x4a\x56\x7f\xbf\xe0\xd3\x79\xf0\x8c\xb1\xb8\x16\xf4\xc7\x20\xef\x5e\x3a\x6a\x08\x3b\x5b\xe0\x56\x94\xa0\xd3\xd3\xac\x78\x4f\xc4\x39\x9b\x1c\xcb\x74\x82\xca\x0a\x11\x82\x16\x64\x03\x56\x5a\x9f\x7d\x4b\x0b\x71\xcc\xcd\x20\xb9\x52\xae\xe3\xbe\x5c\x9a\xb1\x06\x63\xe0\x8a\xa4\x19\xc8\xde\xe9\x1e\x6f\x9b\xc5\x83\x77\xe9\x49\xd7\x25\x1a\x44\x5e\x1a\x7f\x87\x93\x3d\xbb\xac\x27\x03\xf5\xd1\x11\xde\x77\xb9\xdc\x5d\xe5\xa5\x3b\x90\xee\x18\xef\x9a\xb6\xa1\x54\xf3\xf2\x50\x0d\xf0\x41\x24\x64\x5a\x6f\x09\xed\xb8\x0c\x2f\xed\x4f\x30\xff\xc4\x65\x91\x76\xa6\xd3\x63\x3d\xb7\xc6\xc6\xc7\xac\xdc\x93\x32\xfb\xfc\x34\xf6\x35\x43\xf9\x9c\x3e\x72\x83\xab\x9a\x98\xe8\x07\x3e\x2c\x1a\x31\x58\x15\x89\x76\xf0\x6a\x52\x09\x75\xb2\xf5\x65\x93\x65\x21\xba\xbd\xd2\x7f\xce\x00\x6d\x30\xf5\xd7\x50\x53\x84\x7e\x61\x24\x94\x0f\x3e\xf6\x63\xe7\xe1\x2e\x20\x6e\x8d\xcc\xc2\x21\xa2\x38\x1a\x17\x62\xf3\xe6\xeb\xbd\x37\xeb\x7a\x54\x09\x49\x8e\x19\xee\xab\x8b\x75\xcf\xbd\x75\x22\xa3\xef\x45\xa2\x36\xad\x0b\x71\x29\x15\x4e\x44\x43\x6b\xd8\xb8\xda\x13\x23\x46\x9c\x15\x0c\xd4\x87\x74\x62\x47\xd0\x6f\x12\xae\x67\xfa\x30\xdc\x79\xf4\xdf\x5c\xc8\xc1\xf8\x6e\x8b\x35\x68\x9b\x5a\x2c\x32\xe5\x07\x77\xcf\x13\x2f\x14\xc4\xcd\x2f\xb8\xf3\x76\x0a\x66\xec\x72\x3e\x29\x62\x4f\x8a\x97\x49\x53\x35\x0c\xa8\x85\x32\x39\x94\x4e\x33\x72\x7d\x59\x65\xe1\x0c\x8d\xa5\xa8\xfc\xb4\x03\x3e\xa2\xf9\x6c\xad\x4d\x33\x52\x4d\x18\x18\x44\xb5\xa6\xa2\xa3\xa0\xc0\xa3\x57\x2e\x43\x54\xb5\xf0\xbb\x6c\x72\x7b\xcf\x02\xd3\x1f\x66\x74\x2b\xcd\x3e\x37\x67\xc7\x0b\x1f\xa6\x95\x81\x28\x96\xed\x05\x39\x34\xab\xee\x8d\xea\x4c\xa8\x24\x2b\x1f\xe1\x40\x97\x17\xdd\xca\x66\x76\xb3\x58\xe7\x93\x0d\xc9\x27\xf6\x88\xc2\x2e\x2a\xe6\x29\x6f\xf2\xed\x3c\x85\x19\xf3\xf8\xd4\x9c\x3a\x71\x83\xd4\xaa\x0d\xa4\xe3\xc7\xa6\x52\xd5\x39\xbf\xf9\xab\x19\x52\xaa\x13\xc0\x02\xa0\xa8\xe7\x12\x8b\x4e\x4a\xb4\x41\xfc\xc9\x05\xa0\xf2\x6f\x9f\x6b\x5f\xa3\x13\x60\xd5\xc2\x48\x45\xad\x87\x65\x77\xbb\x0e\x1f\xcf\xed\x31\x01\xae\xdf\x14\xa7\x3c\x0c\xe0\x3e\x36\x36\x0c\x01\xee\xe2\x73\x42\xc1\xfa\x46\xd7\x24\x74\xcd\x51\x9e\x57\x83\x7c\x25\x0c\xed\xf0\x9a\x31\xe4\x5d\xeb\x38\x35\x87\xc5\xae\xe4\xc3\x6f\xe2\xa8\xdf\x37\x24\x0d\xe3\x21\xa6\xa1\xc6\xfc\x65\x6b\x5e\x6b\x28\xff\xa2\x5f\x40\xa7\x23\xa5\xd1\x3c\xbe\x7b\x42\xb4\xf6\x2f\x60\xcc\xfb\xaa\x4f\xfe\xb0\x0c\xa3\xb6\xd9\x41\x19\xc0\x59\x4a\xa5\xe1\x1a\xf8\x05\x5b\x10\xd1\xa5\xa9\x90\x0b\xd2\x5b\x85\x0c\x99\x3c\x3b\xd9\xa9\x41\xbd\xed\x20\x9d\xc4\xc7\x4e\x94\x21\xb8\x4c\x81\xc6\x24\xdf\xff\xd1\x2f\x39\x7c\xc7\x91\x01\xda\x2a\xac\x93\x8a\x23\xaa\x49\x90\x8f\x3f\x1f\xf4\x1f\xc6\x0d\xba\x82\x40\xa0\x4f\x09\x41\x78\x4a\x22\x84\xaa\xeb\xdc\xc8\x14\x39\x10\xab\x01\x78\x0e\x46\x3d\xfb\x8b\xe3\x87\xb9\x93\x46\xfb\xf8\x67\x6e\x7f\x3e\x92\x42\x05\x02\xa9\x8e\xaa\x6d\x71\x0b\x06\x4f\x01\x6d\xce\x0d\x6d\xc4\x19\x56\xae\xa4\xfc\x9f\x30\x43\x94\xb3\x21\xc7\x81\x41\xad\x4c\x8d\x65\x27\xd7\xe9\x46\xcf\xf3\xfe\x06\xb2\x52\xae\x99\x28\x37\xf0\xa9\xb9\xbe\x2f\xb5\xd6\x35\x8e\x41\x9f\x9f\x30\xc4\x35\x89\x06\xa8\x26\x85\xfc\x73\x4d\x2d\x24\x97\xa1\x52\xcb\xe9\x65\xf7\xe3\x22\x0d\x43\x7a\x7e\x64\xe9\xd1\xce\xf4\x09\x2d\x0f\x8e\x73\x19\x10\xd0\x4e\x15\xdf\x20\x5b\x13\x09\x79\xe1\xb8\x71\x0f\xaa\x58\x04\x64\x2c\xec\xa6\x66\x7c\x9d\xfe\x37\x47\xee\x43\xcd\x73\x46\x62\x04\x47\x09\x87\xd0\xe7\x6a\xf2\x37\x21\x8c\xcb\x37\xbd\x77\xa3\x9a\x09\x91\x8e\x74\xaa\xf5\x97\xbd\x3f\xbd\x79\xbb\xa7\x35\xc5\xce\x6e\x81\xc5\x59\xc9\x86\xbb\xf6\x07\x55\x17\x0b\x30\x47\x4a\x9e\x7c\xaa\x5e\x83\xa4\x2f\x19\xf7\x9b\x18\x6e\xc3\xaf\x3b\xf1\x11\x2c\x00\xcf\x05\xbf\xf7\x2a\x0d\x16\x98\xa9\x4a\x87\x1c\x4e\x8a\x07\x97\xd4\xd7\xf3\xc3\xe7\xe2\xa2\x7c\xa7\xb9\x38\x6f\x16\xc0\x47\x33\x95\xfe\x85\xb2\x80\xf9\xab\xa2\xef\xda\xa0\x8b\xcc\x7f\x2f\x2c\x30\x1e\x16\x5d\x62\x6c\x83\x28\x5b\xdd\xf0\x52\xcb\xa1\x34\xdf\x3b\xbd\xd1\xe8\xf4\x64\x15\xbb\xb3\x91\xe0\x5b\x1e\x47\x5f\x34\x4c\x10\x12\xcc\xa9\xa7\x2f\xb1\x22\xc2\x5d\x7f\x85\xc9\x2a\x74\xfe\x73\x50\xa9\x09\xdf\xee\x05\xb8\xa8\x75\x57\xad\x0c\xbc\x59\x12\xdc\xbd\xf9\x37\x3a\x5e\x41\x3b\x83\x75\xdf\x15\xd4\xd8\xa0\x6f\x4c\xed\x12\x59\xa8\x16\x53\x89\xac\xc8\x97\xcf\xd0\x1c\x0d\xbe\xa2\x78\x14\x4d\x07\x94\x40\x08\x6f\x7f\xeb\xdc\xf7\xaa\x7e\xec\x02\x39\x93\xdf\x73\xd8\xd0\xd4\x61\x63\xad\xd8\x0a\x7c\x68\x67\x89\x33\x1c\x15\xaa\x22\xc8\xca\xfd\x5d\xf4\x0d\x45\x61\xf6\xf2\x47\x59\xeb\x3d\x6a\x97\xea\x01\xa3\xa3\x36\x8e\xa8\xb1\xcf\x6f\xff\x8b\xf5\x8a\xc2\x25\x52\x8d\x7a\x17\xd2\x1e\xdf\xa6\xea\xcf\xc5\xaa\xb6\xf7\x85\xa0\xb3\x00\x3a\xb6\xee\x0d\xe9\x42\x3c\xd3\x63\xb1\x4d\x03\xe1\x02\xf4\x45\xb2\x3c\x14\xa5\x36\xd7\xb2\x31\x24\x32\x88\xf2\x88\xda\x44\xf8\xa5\xe8\xbc\x1f\x13\xb8\xce\xc7\xcb\x6a\x2a\x56\x96\x36\x16\x3a\x09\x8b\x2f\x40\xf4\x5c\x43\x56\x4f\x1a\xa8\xb9\x16\x42\x6e\x77\x51\x09\x36\x20\x23\x63\xfe\x0d\xd7\x17\x45\x0c\xca\x9e\x8c\xbd\xe8\xdf\xfc\x9b\x9e\x24\xd8\xbd\x3c\xf1\x71\xe3\x6f\x05\xc0\x63\x34\x87\x31\x10\xb9\xc2\xd1\xa3\x02\x0b\x66\x0a\xac\xb1\x96\x82\xd7\x71\xe0\x2c\x4d\x80\xdb\xfc\xdd\x11\xed\xf7\x55\x3a\xba\xd4\xcd\x0c\xee\x0f\xc5\xe8\x1e\x94\xc4\x81\x0a\x2c\x49\x7f\x3d\x0f\xfa\x21\xbf\x7a\x31\xb6\xa8\x35\xda\xf1\xf6\x09\xe2\x3c\xd6\x4f\x81\xc1\x71\x6a\xf8\x5b\x92\x33\xb5\x47\xe6\x79\xc7\x27\x55\xe6\xcb\xb1\xcb\x40\x5d\x7a\x89\x7f\xca\xa8\xc8\x15\xbb\xd5\xa2\xae\xcc\x89\xd6\x99\x81\xf3\x49\xaf\x2f\x97\xed\xb5\xa6\xf4\x19\x7d\x20\xee\xc8\xd4\xb0\xf3\xc2\x37\x5b\x88\x39\xcf\x68\x58\xbb\xf1\x01\xee\x06\xae\xcb\x75\x16\xcc\x27\xd5\x9a\x8b\xdc\x9b\x5b\x20\x8a\xaa\x4b\x5c\x14\xa5\x25\x1d\x9d\x23\x23\x97\xdd\x8d\x0e\xb8\x85\x5d\x3a\xe0\x62\x5a\x25\x4f\xb8\x97\x79\xab\x00\xb3\xaf\x42\x74\x54\xc6\xbf\x5c\xff\x22\x5c\x2f\x77\xba\xc6\xe5\x99\x74\x04\xf0\x0a\x40\x79\xd2\x23\x7d\x19\xae\xc1\x30\xc0\x3a\x77\x1e\x12\x6c\xec\x4b\xc0\x66\x1c\x3f\x9f\xae\x36\x5d\x61\x77\x23\x02\x4e\xf8\x80\x2f\xc9\x4a\x85\xeb\xb8\x01\x44\xb1\x65\xf9\xd4\xbc\x2a\x1f\x87\xce\x04\x8e\xa5\x28\x58\xd6\x5d\xd3\x3b\x13\x20\xb6\x97\xed\x30\x29\x9b\x18\x48\x83\x5c\x61\x6b\x0a\x68\x7e\x88\x74\x83\x12\x70\x78\x43\x3d\xb9\x91\xd6\x62\xfa\x36\x74\x21\x44\x5b\xe0\x0a\xf4\xc0\x6a\x34\xe5\x54\xb3\xef\xa0\xf8\xcf\x99\xd2\xe1\x74\x0c\x3d\x23\xae\x57\xf9\x7e\x1d\x19\x77\x01\x03\xd7\xec\x6f\x17\xb0\x85\xee\x3e\xa9\x5e\xe6\xc7\x4c\x37\x53\x62\x8d\x0a\x97\xb4\x40\xd3\x8c\x13\x9f\xd8\x97\x4f\x04\x9e\x3b\x4a\x8e\x83\xda\xe7\xc6\x26\xd0\x13\x9f\x92\xc6\x9a\x92\x97\x52\x70\x45\x6c\xf7\x64\x0c\x4b\x0e\xa0\xc3\xf5\xf2\xbd\xff\xd9\xa0\xcc\xa3\xac\xad\xc2\xf2\x78\x9b\xd5\x91\x09\x05\x9f\xf4\x54\xbf\x74\x2d\xa9\x93\x3f\x66\xe0\x04\xda\x86\x6b\xe4\x62\xba\x3a\x2e\x42\xa2\x30\x24\x07\xe8\x22\x79\x1b\x78\x21\x64\xc7\x95\xb1\x71\x2a\x2c\x1d\x95\x7e\x37\x70\x3a\x32\x8a\xe1\x46\x28\x88\x4c\x76\xed\x83\xd0\x87\x10\xa6\x21\x2d\xd1\x3c\xc4\x66\xac\x8f\x4b\x8c\x65\xe8\xad\x64\x72\x61\xe4\x17\x86\xda\xc8\x15\xc4\x72\x99\xff\x9b\x57\x25\x79\xc2\xb5\xa2\x7a\xf3\x72\x35\x8c\x3f\x2b\xa4\xc1\x1f\x86\xca\xb0\x7c\x65\xca\x9f\x0f\x70\x35\x54\xb1\x62\xb7\x3c\x37\x06\xad\xd4\xf7\xe1\x0d\x95\xb8\x47\xca\x79\x8c\x09\x23\x61\xb4\x3e\x08\x65\x69\xd4\x02\xd5\x5f\x72\xca\x7a\xa7\x8e\xe9\x5d\x93\x43\xc3\x81\x19\x6b\xcf\x8f\x8c\xfb\x0b\x80\x5d\x41\x8d\x51\xcc\xab\x37\x7f\x64\x6b\x39\x34\xb4\xc6\x77\x3b\xa4\xcd\x97\x5a\x0f\x12\x08\x4a\x33\x7d\x43\x5d\x46\x11\x55\x06\x56\x34\x5f\x83\xcb\xa2\x64\xa9\x58\xf7\xac\x21\x8c\x63\x82\x1b\x22\xb8\xbd\x1a\xc3\x68\x4d\x6d\xcc\x3b\x71\xe4\x45\xd5\x70\x7b\x9a\x5a\x6b\xa9\xe7\xfc\x24\x05\xb2\x59\xa6\x53\x1e\x93\x7b\x8e\xa4\xac\x7f\x8f\xa8\xaa\xff\x40\xc5\x70\xfa\x5b\xd4\x88\xe2\x89\xb7\x3e\x0a\x05\xe9\x4c\xe0\xbb\xa7\xe4\xb2\xf2\xcd\x8b\x3a\x3f\xdf\x91\xeb\x5e\xa2\xb0\x04\xf9\x15\x00\xd8\x4b\xfd\x36\x19\x9f\x9a\xa9\xa0\xb3\xf6\x6a\xf8\x16\xf0\xb9\xb4\x62\xd7\x96\x02\xa1\x2e\x70\x5e\xc6\x2c\x00\xce\xcb\x61\x07\x0e\x09\xbb\x25\xd4\x90\x76\xbf\x75\x01\x1c\xe1\x9d\x4e\xa7\xff\x6e\xf6\xdd\xc4\xff\xfc\xc1\x34\xc8\x1b\xf5\xbd\xa4\x9f\x66\x61\x67\x92\xe3\xfb\xf0\x95\x3d\x9a\x0c\x25\xdc\x36\xb2\x45\x04\x6c\x01\xff\x8f\x98\x97\x53\x29\x62\x4f\x3c\x9e\xac\x95\x82\x36\xda\xa0\xaa\x02\x69\x96\x84\x0d\x48\xdc\x63\x3c\xeb\xb5\xef\x48\x4b\xa7\xcd\xf1\xb7\x6a\x27\xa8\x03\xc4\xea\x46\x4e\xb3\x0c\x55\x73\x14\x7b\xa7\x83\xf0\xe4\x28\x69\xbf\xa9\x97\x0b\x61\xd5\xed\x05\xb7\x90\xf6\xa9\x3b\xab\x2f\x93\x9e\xef\xc9\xef\xad\x86\x77\xe5\x9a\x03\x7e\x3a\xb2\x30\x3c\xe9\x7f\xfd\x53\xe3\xce\x33\x69\xba\x4c\x48\xec\xeb\x3a\xae\xdc\xb4\x08\x9a\x97\xeb\x59\xfc\x97\x88\x20\x47\x39\xd5\xe6\xdf\x7c\x8d\xc3\x26\x99\x4b\xdc\xd1\x80\x3c\xb4\xb5\x21\xff\x66\x47\xde\x95\x90\xdf\xcb\x2c\x57\x05\x10\xa6\x19\x11\x87\x03\xe8\x2e\x7e\x45\xa5\x4e\x28\x7a\x8c\x73\x4d\x02\x94\xa8\xb2\xcd\x07\xff\xa3\x2e\x40\x0e\xdc\xd5\xbb\xf8\x6b\x2d\xd2\xf0\x9c\x2b\x72\x01\x8b\x17\xe5\x4d\xeb\xad\x47\xb8\x39\xe9\x8c\xeb\xea\xd5\xce\x68\xa4\x39\xe5\xeb\x42\x79\x45\xdf\xdd\x16\x8a\xc7\x02\x6a\x5c\x9c\x33\xc6\xc3\xce\x0b\x98\xf8\x32\xd7\xad\x16\xae\xcd\xb0\x18\x91\x90\x4f\x60\x42\xa4\xc9\x8e\x5f\x41\x20\x9b\x44\x88\xe6\xc9\x9e\xf1\x16\xf4\x3c\x48\x9f\x51\xe3\x06\x47\x66\x42\x19\x4f\xe0\x53\x50\x77\xc9\x4f\xc8\x0c\x5a\xba\x2e\x26\xe6\x1c\x77\xb1\xfc\x5f\xe9\xda\xd4\x79\x68\xbb\x41\x14\xba\xa6\x14\xd2\x34\xe3\xb0\xbe\x0d\x5a\xbe\xc9\xe6\x0d\x72\xc6\x95\x6a\x79\x78\x09\xb5\x1e\x16\xb6\xf4\x90\x29\xd2\xf4\xb2\x26\x6d\x3a\x8b\x9b\x56\x70\x99\xb5\x56\xc2\x68\x5a\x00\xbd\x84\x23\x8a\x90\x80\xaa\x02\x2c\x35\x7a\xd6\xd4\x54\xbd\x75\x94\xa0\x29\xeb\x42\x84\xa9\x73\xb4\x8e\x63\x92\xf4\x25\xb7\x03\x01\xb8\xc5\x14\x77\x50\x04\x90\xb7\x65\xc6\xb7\x00\x15\xbd\xd9\x9f\x51\xc2\xd1\x99\x5d\x80\xba\x04\x50\x8d\x6e\x66\xeb\x56\x69\x5c\xcc\xf6\x3d\x50\xcc\x40\xb0\x2c\x80\xc3\x88\x6c\xe7\x5d\x8a\x02\xab\xbb\x71\x49\xda\xce\xd8\xff\x3e\x8d\xfc\x16\x9f\xb4\x60\x31\xc4\xc0\xf1\x90\x60\xda\xba\x08\xd3\x5d\x34\x02\xb2\x0c\xb0\x41\x7f\x14\xef\x18\x4f\x5f\x53\x1f\x46\x95\xba\x48\x32\xa8\xb6\x39\x1b\x13\xf3\xab\xcd\xd2\xc0\x5b\x51\x68\xc3\x0f\xe3\xcd\xe8\x67\x7f\xf7\x38\x83\x6a\xa8\x5b\x7e\xf9\x01\x48\xb2\x55\x6b\x79\x0b\xd9\xbd\xa3\xd1\x08\xea\x37\xb0\x3a\xcf\xd0\x9a\x54\x4a\x8e\x85\x84\x36\x43\xf3\x13\x68\xcf\xc2\x26\xa9\x30\xdc\x74\x96\xed\x4c\x99\x66\xe3\xde\x92\x63\x79\x33\xee\x7b\xfd\xf1\x2b\xbf\xba\xc0\x23\x4a\x74\xe2\x89\xbd\xb3\x7a\x52\x2b\xd0\x47\xa1\x00\x7a\x36\x87\xa2\x1b\xc9\xb0\xcf\xf8\x08\x74\x27\x7d\x82\x5b\xdb\xab\x84\x5c\x1a\xc5\x04\x60\x56\x3d\x08\xb1\xe0\x4a\x7f\x10\x86\xe6\x77\x93\x19\x88\xd5\xcd\x6f\x97\x47\x06\xd6\x4f\x63\xe8\x44\x91\xb3\x02\x88\x8f\x8b\x8f\x0f\x42\x99\x7f\x5e\xdd\x25\x10\xf2\x6a\x0b\x16\xd7\x03\x8b\xec\x87\x13\x09\x38\x9c\xab\x6f\x57\x61\xa2\xb9\xf0\x01\x11\xbc\x44\x41\xbb\xfa\xde\x0e\xca\x7c\xea\x5b\x0b\x8d\xac\xa7\x36\xe6\x15\x05\x03\xaa\xe8\x79\xf7\x2d\x10\x83\x61\xca\x31\xba\xfb\xf4\xe0\xc2\xe9\xeb\xd7\xaf\x57\x26\x5b\xb0\x4c\x38\x89\x23\xa0\x0b\x4c\x59\x08\x8a\x2f\x7b\x76\x7b\x14\xf3\x98\x2e\x64\x2e\x7b\x3d\xd9\x4d\xc6\xf4\xb6\xb0\x11\x3c\x9d\x49\xf8\x0a\x3e\x16\x9c\x10\x60\x89\x35\x39\xff\xc3\x23\x7d\x6e\xcc\xf4\x92\x0a\x9b\x50\xa8\x60\xee\xd1\x27\xa2\x2f\xfe", 4096); struct csum_inet csum_1; csum_inet_init(&csum_1); csum_inet_update(&csum_1, (const uint8_t*)0x1000001a, 16); csum_inet_update(&csum_1, (const uint8_t*)0x1000002a, 16); uint32_t csum_1_chunk_2 = 0x12100000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_2, 4); uint32_t csum_1_chunk_3 = 0x3a000000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_3, 4); csum_inet_update(&csum_1, (const uint8_t*)0x1000022a, 4114); *(uint16_t*)0x1000022c = csum_inet_digest(&csum_1); break; case 11: memcpy((void*)0x10001240, "\xf2\x26\x33\x54\x5b\x41\xc4\xc2\xb1\xde\x3a\x0f\x4b\xbe\x11\x14\x00\x00\xc4\xc2\x31\xdc\x03\xc4\xc2\x4d\x96\x1c\x5f\x66\x0f\x38\x21\x47\x1e\xc4\xe1\x85\xd8\x71\x28\xc4\xc3\xc5\xcf\x8e\x0e\x08\x00\x00\xfe\xd1\x62\x00\xc4\xc2\x2d\x40\x11", 59); syz_execute_func(0x10001240); break; case 12: break; } } int main(void) { syscall(SYS_mmap, 0x10000000, 0x1000000, 7, 0x1012, -1, 0); use_temporary_dir(); do_sandbox_none(); return 0; } :379:11: error: use of undeclared identifier 'SYS___realpathat' syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); ^ 1 error generated. compiler invocation: clang [-o /tmp/syz-executor890655460 -DGOOS_freebsd=1 -DGOARCH_386=1 -DHOSTGOOS_freebsd=1 -x c - -m32 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -static -lc++ -Wno-overflow] --- FAIL: TestGenerate/freebsd/386/12 (1.69s) csource_test.go:123: opts: {Threaded:true Collide:false Repeat:true RepeatTimes:0 Procs:0 Sandbox:none Fault:false FaultCall:0 FaultNth:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false USB:false VhciInjection:false Wifi:false UseTmpDir:true HandleSegv:false Repro:true Trace:false} program: r0 = fcntl$dupfd(0xffffffffffffff9c, 0x11, 0xffffffffffffff9c) setsockopt$inet_sctp_SCTP_AUTOCLOSE(r0, 0x84, 0x5, &(0x7f0000000000)=0x5, 0x4) cap_rights_limit(r0, &(0x7f0000000040)=[0x6, 0xa9]) setsockopt$inet_sctp_SCTP_EVENTS(r0, 0x84, 0xc, &(0x7f0000000080)={0x20, 0x81, 0x3, 0x20, 0x20, 0xf7, 0xff, 0x7, 0x4, 0x40, 0x4}, 0xb) setsockopt$inet_sctp_SCTP_RESET_STREAMS(r0, 0x84, 0x901, &(0x7f00000000c0)={0x0, 0x9, 0x3, [0x1, 0xffff, 0x8000]}, 0xe) r1 = accept(r0, &(0x7f0000000100)=@un=@file={0x6e, 0x0, ""/108}, &(0x7f0000000180)=0x6e) __realpathat(r1, &(0x7f00000001c0)='./file0\x00', &(0x7f0000000200)=""/5, 0x5, 0x0) r2 = socket$inet_icmp_raw(0x2, 0x3, 0x1) fcntl$getown(r2, 0x5) getsockopt$inet6_sctp_SCTP_PRIMARY_ADDR(r1, 0x84, 0x7, &(0x7f0000000240)={@in6={{0x1c, 0x1c, 0x1, 0x7f, @loopback, 0xfffff9b1}}}, &(0x7f00000002c0)=0x80) syz_emit_ethernet(0x123c, &(0x7f0000000000)={@remote, @remote, [{[], {0x8100, 0x5, 0x1, 0x3}}], {@ipv6={0x86dd, {0x7, 0x6, "c3cb10", 0x1202, 0x2f, 0x1, @rand_addr="cdd9639d818e3c5354e423e67c0261ce", @rand_addr="9aa3a73eacf47f646cf70032c9d108ee", {[@hopopts={0x36, 0x1e, [], [@enc_lim={0x4, 0x1, 0x1}, @jumbo={0xc2, 0x4, 0x7}, @padn={0x1, 0x2, [0x0, 0x0]}, @generic={0xff, 0xe2, "6643d230d2ebee2da66799233fd3953c637fbff58a08fe47946de86f44bcf9e809d627768d7e38be69808921c800a8ca76dba12e6b01e8b0b852821fe46d8d1b863c6ed1f386d2779a2983036a403ec804bbc1ce77c679d945e9c0b836352e6f8ee210ede5f8eb2937afc8307287e8a27e8fc66de2ef50421840455126dc362d0994a2a2db619ca5b70f615b719413594471a2efad9e7e22a5400361abac231575d1b498781612296d932e4832dd0c9f6709c2f81038bbcde5c27832bae014b13b9b93b41374f997c188d74a33960b2b2948a2eb3211c2aca855f616f2223f4746ce"}, @enc_lim={0x4, 0x1, 0x1f}]}, @routing={0x31, 0x4, 0x0, 0x5, 0x0, [@ipv4={[], [], @broadcast}, @empty]}, @routing={0x58, 0x8, 0x1, 0x81, 0x0, [@local={0xfe, 0x80, [], 0x0}, @mcast1, @local={0xfe, 0x80, [], 0x0}, @loopback]}, @routing={0x59, 0xc, 0x0, 0x3, 0x0, [@rand_addr="d691f228498c816bd931bf11ea3cb358", @empty, @loopback, @rand_addr="4046fbe3c1e1669f072dd9ee3ba11696", @ipv4={[], [], @broadcast}, @mcast1]}, @fragment={0x27, 0x0, 0x91, 0x1, 0x0, 0x6, 0x66}, @hopopts={0x26, 0x0, [], [@ra={0x5, 0x2, 0x5}]}], @icmpv6=@ndisc_ra={0x86, 0x0, 0x0, 0x0, 0x9, 0x9, 0x401, 0x7fffffff, [{0x1, 0x200, "d145ff576d7fe933a6f7ae4bd47d7aec4360a335727c0267ff79e34d036694ea6d8de62ebb1941f6b9a95a6c95fa33d4a6ddfe3be408148daca556b6b4dfebef869da93cfa26fb8e16509febb321011f508eec7502824442d8620519d7ce359284ef093639001b689f9443260584dfaf819313726c4495ac4c3203aa603e26f374d696cdb36fb00e6c412edbefc16270c783d3a1ada35a07cd9225f21b9570f801a960e06d96556b9eaca234f12861444231c94aee6315fb199f69eebdf9fdb0bdb89902e0eb69bbdf9730aa371b84b02e9ab5f3a4f99f9205694f062460e286b1abef3936fdf183bd7c95a9d99b57827dea1814e0e2dc58a677f2ae6c73de4e27fe8856e417fd266088008abe5d38d74ea0bdc6d046c5d3f45e2ee47a440c5dfc30459b219bb3b1302feb6b36a6e524b1db70d57efe32823b0ad037a3c204c77748b85fd88abf24ef0717eac90e235d91764b48bb1dcc3c9177fc4b0fc997d3d4e90702872bf0d8702194e22577353e557c0041f106e5dee1d24f243ab7c07b4335a6886c04061e84966599b68c676e966008a7905f1706048334501a3608305330cb8b447a1698fa9646c73cd758871c1e8b96889ae3372a5fef5b03ef56d1608eae44a863b05991f626447730df97f33686e5cb72554a1a8ace8b530d3e60452352d9e93ed031852eb2dc87903a1346c3962ced8f4fd2c07e01843d19e253653fcc7eb3e710b546e1180844d95e67143def4619375d71173729dfabeecddd0239456fd1f563bedd3e8aa7bd29ce40bfb72e832324cf0e7ed960bc4cdd81a1d1c4d3a2f984218a8f7ce9288fb57b315c475a57c2d56743ba3987ad1fe69af5a391cdb9c8a551723340c3d1c989b5da33771f797e8993ef51546e9849ba61a3cb3babbc5b33fc9e883b3ee41e6d8c675841718b908092b2c4da4c1a78a17bee0c409d03cd8bed2d56a46ee7721b5659be3fa5cd0e89bceffaffaf1e95716adc762554c496a40282cb6d85f4e0e29fd76574001b893d0ffc8c94a187829e24546d890439547b81c18c4865be4cb57e06e319c5007d43459ec3aa20ce72f7883cbda6a303c343fbed7f62b2f2ac9f5d24842e8abae1c9e32954b0d0d60242891b1fae40d03283f33c0948e161fa2f9ffb77b72ce969718768282c45ae089faf80ecaff1658114a78d8b13833958a360fe8bead9b485d5dcc701812a559c6d04a22fe59d3f6fc0fcc7cbbbc4450a58bee99560579eff8d7846d062253d15d5e6b20a78134014323bc31f3dbfa53e2ede137e3c1129ba8db638a95972e1a7223504af10a149154fa581b9dbc516289cff0d655888592199c77fa553f07db009ee2a42c5412df9fe612d108ee2d595cbb0bf59776646cb7c83e3551a91c0aca05de20d0bfc6c1f8f5c9492f22e5714ea0cbab5763194996c818545c0997ff555e5d136aea50a7a93dc40340a725da5ca7ea45a483d2c9da67a254d6ebdb6e20270beb33373321d922375207bf54707e1d97d52a6930b4287cd0dc6d8d3346e388fe41fca91162739a30c97da08cc3f42b3f54382dcdef5d0e7670b8c98c0533bf6c53d58688d9b958b23a91a8a6f2ffad419e01e2bb776cc3213fef59a7034d835c022dad02994624c55855b09e266e416a66939fc3664e441b99d7ffa0b83bfd0b0d752de0baedc1746b4938201972253924b0a68641e7c935fbb4189e5fdc391a29e331151fe720bfbc06825ba0766e421a2613fc0b78ceeb3817f262c90f66e7cfa0533c17ac71b0b1f94ffb02e3807b6247e968cedb141206edf0ca6f98fd919fa5279fe208799d82ab3a70b9b4baea410dc7cb3933782d63fe42807cf0fa7f5c9ae0cd4d0a0294692d3629d9881dad532b34efd702d8eaf0ac20378e62b36460656e0e887c44959552c9620e9ec3e73fee5ca0e5a6dd767b7b7a97ac4c77e709ce7859f21f0be66c9be7f445fb15f7bf4c8124a567fbfe0d379f08cb1b816f4c720ef5e3a6a083b5be05694a0d3d3ac784fc4399b1ccb7482ca0a1182166403565a9f7d4b0b71cccd20b952aee3be5c9ab10663e08aa419c8dee91e6f9bc58377e949d7251a445e1a7f87933dbbac2703f5d111de77b9dc5de5a53b90ee18ef9ab6a154f3f2500df04124645a6f09edb80c2fed4f30ffc4659176a6d3633db7c6c6c7acdc9332fbfc34f63543f99c3e7283ab9a98e8073e2c1a3158158976f06a520975b2f565936521babdd27fce006d30f5d75053847e6124940f3ef663e7e12e206e8dccc221a2381a1762f3e6ebbd37eb7a5409498e19eeab8b75cfbd7522a3ef45a236ad0b7129154e44436bd8b8da1323469c150cd487746247d06f12ae67fa30dc79f4df5cc8c1f86e8b35689b5a2c32e50777cf132f14c4cd2fb8f3760a66ec723e29624f8a974953350ca8853239944e33727d5965e10c8da5a8fcb4033ea2f96cad4d33524d181844b5a6a2a3a0c0a3572e4354b5f0bb6c727bcf02d31f66742bcd3e3767c70b1fa695812896ed053934abee8dea4ca8242b1fe1409717ddca6676b358e7930dc927f688c22e2ae6296ff2ed3c8519f3f8d49c3a7183d4aa0da4e3c7a652d539bff9ab1952aa13c002a0a8e7128b4e4ab441fcc905a0f26f9f6b5fa31360d5c24845ad876577bb0e1fcfed3101aedf14a73c0ce03e36360c01eee27342c1fa46d72474cd519e57837c250cedf09a31e45deb383587c5aee4c36fe2a8df37240de321a6a1c6fc656b5e6b28ffa25f40a723a5d13cbe7b42b4f62f60ccfbaa4ffeb00ca3b6d94119c0594aa5e11af8055b10d1a5a9900bd25b850c993c3bd9a941bded209dc4c74e9421b84c81c624dfffd12f397cc79101da2aac938a23aa49908f3f1ff41fc60dba8240a04f0941784a2284aaebdcc8143910ab01780e463dfb8be387b99346fbf8676e7f3e92420502a98eaa6d710b064f016dce0d6dc41956aea4fc9f304394b321c78141ad4c8d6527d7e946cff3fe06b252ae992837f0a9b9be2fb5d6358e419f9f30c4358906a82685fc734d2d2497a152cbe965f7e3220d437a7e64e9d1cef4092d0f8e731910d04e15df205b130979e1b8710faa5804642ceca6667c9dfe3747ee43cd73466204470987d0e76af237218ccb37bd77a39a09918e74aaf597bd3fbd79bba735c5ce6e81c559c986bbf60755170b30474a9e7caa5e83a42f19f79b186ec3af3bf1112c00cf05bff72a0d1698a94a871c4e8a0797d4d7f3c3e7e2a27ca7b9386f16c0473395fe85b280f9aba2efdaa08bcc7f2f2c301e165d626c83285bddf052cba134df3bbdd1e8f46415bbb391e05b1e475f344c1012cca9a72fb122c25d7f85c92a74fe7350a909dfee05b8a87557ad0cbc5912dcbdf9373a5e413b8375df15d4d8a06f4ced1259a8165389acc897cfd01c0dbea278144d079440086f7febdcf7aa7eec023993df73d8d0d46163add80a7c686789331c15aa22c8cafd5df40d4561f6f24759eb3d6a97ea01a3a3368ea8b1cf6fff8bf58ac225528d7a17d21edfa6eacfc5aab6f785a0b3003ab6ee0de9423cd363b14d03e102f445b23c14a536d7b231243288f288da44f8a5e8bc1f13b8cec7cb6a2a569636163a098b2f40f45c43564f1aa8b916426e77510936202363fe0dd717450cca9e8cbde8dffc9b9e24d8bd3cf171e36f05c06334873110b9c2d1a3020b660aacb19682d771e02c4d80dbfcdd11edf7553abad4cd0cee0fc5e81e94c4810a2c497f3d0ffa21bf7a31b6a835daf1f609e23cd64f81c1716af85b9233b547e679c72755e6cbb1cb405d7a897fcaa8c815bbd5a2aecc89d69981f349af2f97edb5a6f4197d20eec8d4b0f3c2375b8839cf6858bbf101ee06aecb7516cc27d59a8bdc9b5b208aaa4b5c14a5251d9d232397dd8d0eb8855d3ae0625a254fb89779ab00b3af427454c6bf5cff225c2f77bac6e5997404f00a4079d2237d19aec130c03a771e126cec4bc0661c3f9fae365d617723024ef8802fc94a85ebb80144b165f9d4bc2a1f87ce048ea52858d65dd33b1320b697ed30299b1848835c616b0a687e887483127078433db991d662fa367421445be00af4c06a34e554b3efa0f8cf99d2e1740c3d23ae57f97e1d19770103d7ec6f17b085ee3ea95ee6c74c3753628d0a97b440d38c139fd8974f049e3b4a8e83dae7c626d0139f92c69a92975270456cf7640c4b0ea0c3f5f2bdffd9a0cca3acadc2f2789bd59109059ff454bf742da9933f66e004da866be462ba3a2e42a2302407e822791b782164c795b1712a2c1d957e37703a328ae14628884c76ed83d08710a6212dd13cc466ac8f4b8c65e8ad647261e41786dac815c47299ff9b572579c2b5a27af372358c3f2ba4c11f86cab07c65ca9f0f703554b162b73c3706add4f7e10d95b847ca798c092361b43e086569d402d55f72ca7aa78ee95d9343c381196bcf8f8cfb0b805d418d51ccab377f646b3934b4c6773ba4cd975a0f12084a337d435d4611550656345f83cba264a958f7ac218c63821b22b8bd1ac3684d6dcc3b71e445d5707b9a5a6ba9e7fc2405b259a6531e937b8ea4ac7f8fa8aaff40c570fa5bd488e289b73e0a05e94ce0bba7e4b2f2cd8b3a3fdf91eb5ea2b004f91500d84bfd36199f9aa9a0b3f66af816f0b9b462d79602a12e705ec62c00cecb61070e09bb25d49076bf75011ce19d4ea7ff6ef6ddc4fffcc134c81bf5bda49f66616792e3fbf0953d9a0c25dc36b245046c01ff8f98975329624f3c9eac958236daa0aa026996840d48dc633cebb5ef484ba7cdf1b76a27a803c4ea464eb30c5573147ba783f0e42869bfa9970b61d5ed05b790f6a93bab2f939eefc9efad8677e59a037e3ab2303ce97ffd53e3ce3369ba4c48eceb3aaedcb4089a97eb59fc9788204739d5e6df7c8dc326994bdcd1803cb4b521ff6647de9590dfcb2c570510a619118703e82e7e45a54e287a8c734d0294a8b2cd07ffa32e400edcd5bbf86b2dd2f09c2b72018b17e54debad47b839e98cebead5ce68a439e5eb427945dfdd168ac7026a5c9c33c6c3ce0b98f832d7ad16aecdb01891904f6042a4c98e5f41209b4488e6c99ef116f43c489f51e306476642194fe0535077c94fc80c5aba2e26e61c77b1fc5fe9dad47968bb4114baa614d234e3b0be0d5abec9e60d72c6956a797809b51e16b6f49029d2f4b2266d3a8b9b567099b556c2685a00bd84238a9080aa022c357ad6d454bd7594a029eb4284a973b48e6392f425b70301b8c51477500490b765c6b70015bdd99f51c2d1995d80ba04508d6e66eb56695cccf63d50cc40b02c80c3886ce75d8a02abbb7149daced8ff3e8dfc169fb46031c4c0f19060daba08d35d3402b20cb0417f14ef184f5f531f4695ba4832a8b6391b13f3abcdd2c05b5168c30fe3cde8677ff738836aa85b7ef90148b2556b790bd9bda3d108ea37b03acfd09a544a8e85843643f31368cfc226a930dc7496ed4c9966e3de92637933ee7bfdf12bbfbac0234a74e289bdb37a522bd047a1007a3687a21bc9b0cff80874277d825bdbab845c1ac50460563d08b1e04a7f1086e677931988d5cd6f974706d64f63e84491b302888f8b8f0f42997f5edd2510f26a0b16d7038bec871309389cab6f5761a2b9f00111bc4441bbfade0eca7cea5b0b8daca736e6150503aae879f72d108361ca31bafbf4e0c2e9ebd7af57265bb04c388923a00b4c59088a2f7b767b14f3982e642e7b3dd94dc6f4b6b0113c9d49f80a3e169c1060893539ffc3237d6eccf4920a9b50a860eed127a22ffe"}]}}}}}}) syz_execute_func(&(0x7f0000001240)="f22633545b41c4c2b1de3a0f4bbe11140000c4c231dc03c4c24d961c5f660f3821471ec4e185d87128c4c3c5cf8e0e080000fed16200c4c22d4011") syz_extract_tcp_res(&(0x7f0000001280), 0x26e, 0x1) csource_test.go:124: failed to build program: // 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 static void kill_and_wait(int pid, int* status) { kill(pid, SIGKILL); while (waitpid(-1, status, 0) != pid) { } } static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void 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 __attribute__((noinline)) remove_dir(const char* dir) { DIR* dp = opendir(dir); if (dp == NULL) { if (errno == EACCES) { if (rmdir(dir)) exit(1); return; } 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); struct stat st; if (lstat(filename, &st)) exit(1); if (S_ISDIR(st.st_mode)) { remove_dir(filename); continue; } if (unlink(filename)) exit(1); } closedir(dp); if (rmdir(dir)) 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); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); ev->state = 0; } static void event_reset(event_t* ev) { ev->state = 0; } static void event_set(event_t* ev) { pthread_mutex_lock(&ev->mu); if (ev->state) exit(1); ev->state = 1; pthread_mutex_unlock(&ev->mu); pthread_cond_broadcast(&ev->cv); } static void event_wait(event_t* ev) { pthread_mutex_lock(&ev->mu); while (!ev->state) pthread_cond_wait(&ev->cv, &ev->mu); pthread_mutex_unlock(&ev->mu); } static int event_isset(event_t* ev) { pthread_mutex_lock(&ev->mu); int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } static int event_timedwait(event_t* ev, uint64_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #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)))) struct csum_inet { uint32_t acc; }; static void csum_inet_init(struct csum_inet* csum) { csum->acc = 0; } static void csum_inet_update(struct csum_inet* csum, const uint8_t* data, size_t length) { if (length == 0) return; size_t i = 0; for (; i < length - 1; i += 2) csum->acc += *(uint16_t*)&data[i]; if (length & 1) csum->acc += le16toh((uint16_t)data[length - 1]); while (csum->acc > 0xffff) csum->acc = (csum->acc & 0xffff) + (csum->acc >> 16); } static uint16_t csum_inet_digest(struct csum_inet* csum) { return ~csum->acc; } static void sandbox_common() { if (setsid() == -1) exit(1); struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = 128 << 20; setrlimit(RLIMIT_AS, &rlim); rlim.rlim_cur = rlim.rlim_max = 8 << 20; setrlimit(RLIMIT_MEMLOCK, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_FSIZE, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_STACK, &rlim); rlim.rlim_cur = rlim.rlim_max = 0; setrlimit(RLIMIT_CORE, &rlim); rlim.rlim_cur = rlim.rlim_max = 256; setrlimit(RLIMIT_NOFILE, &rlim); } static void loop(); static int do_sandbox_none(void) { sandbox_common(); loop(); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } struct thread_t { int created, call; event_t ready, done; }; static struct thread_t threads[16]; static void execute_call(int call); static int running; static void* thr(void* arg) { struct thread_t* th = (struct thread_t*)arg; for (;;) { event_wait(&th->ready); event_reset(&th->ready); execute_call(th->call); __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); event_set(&th->done); } return 0; } static void execute_one(void) { if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } int i, call, thread; for (call = 0; call < 13; 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, 45); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); #define WAIT_FLAGS 0 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); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5 * 1000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } uint64_t r[3] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: res = syscall(SYS_fcntl, 0xffffff9c, 0x11, 0xffffff9c); if (res != -1) r[0] = res; break; case 1: *(uint32_t*)0x10000000 = 5; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 5, 0x10000000, 4); break; case 2: *(uint64_t*)0x10000040 = 6; *(uint64_t*)0x10000048 = 0xa9; syscall(SYS_cap_rights_limit, (intptr_t)r[0], 0x10000040); break; case 3: *(uint8_t*)0x10000080 = 0x20; *(uint8_t*)0x10000081 = 0x81; *(uint8_t*)0x10000082 = 3; *(uint8_t*)0x10000083 = 0x20; *(uint8_t*)0x10000084 = 0x20; *(uint8_t*)0x10000085 = 0xf7; *(uint8_t*)0x10000086 = -1; *(uint8_t*)0x10000087 = 7; *(uint8_t*)0x10000088 = 4; *(uint8_t*)0x10000089 = 0x40; *(uint8_t*)0x1000008a = 4; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0xc, 0x10000080, 0xb); break; case 4: *(uint32_t*)0x100000c0 = 0; *(uint16_t*)0x100000c4 = 9; *(uint16_t*)0x100000c6 = 3; *(uint16_t*)0x100000c8 = 1; *(uint16_t*)0x100000ca = -1; *(uint16_t*)0x100000cc = 0x8000; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0x901, 0x100000c0, 0xe); break; case 5: *(uint32_t*)0x10000180 = 0x6e; res = syscall(SYS_accept, (intptr_t)r[0], 0x10000100, 0x10000180); if (res != -1) r[1] = res; break; case 6: memcpy((void*)0x100001c0, "./file0\000", 8); syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); break; case 7: res = syscall(SYS_socket, 2, 3, 1); if (res != -1) r[2] = res; break; case 8: syscall(SYS_fcntl, (intptr_t)r[2], 5, 0); break; case 9: *(uint8_t*)0x10000240 = 0x1c; *(uint8_t*)0x10000241 = 0x1c; *(uint16_t*)0x10000242 = htobe16(0x4e21); *(uint32_t*)0x10000244 = 0x7f; *(uint64_t*)0x10000248 = htobe64(0); *(uint64_t*)0x10000250 = htobe64(1); *(uint32_t*)0x10000258 = 0xfffff9b1; *(uint64_t*)0x1000025c = 0; *(uint64_t*)0x10000264 = 0; *(uint64_t*)0x1000026c = 0; *(uint64_t*)0x10000274 = 0; *(uint64_t*)0x1000027c = 0; *(uint64_t*)0x10000284 = 0; *(uint64_t*)0x1000028c = 0; *(uint64_t*)0x10000294 = 0; *(uint64_t*)0x1000029c = 0; *(uint64_t*)0x100002a4 = 0; *(uint64_t*)0x100002ac = 0; *(uint64_t*)0x100002b4 = 0; *(uint32_t*)0x100002bc = 0; *(uint32_t*)0x100002c0 = 0x80; syscall(SYS_getsockopt, (intptr_t)r[1], 0x84, 7, 0x10000240, 0x100002c0); break; case 10: *(uint8_t*)0x10000000 = 0xaa; *(uint8_t*)0x10000001 = 0xaa; *(uint8_t*)0x10000002 = 0xaa; *(uint8_t*)0x10000003 = 0xaa; *(uint8_t*)0x10000004 = 0xaa; *(uint8_t*)0x10000005 = 0xbb; *(uint8_t*)0x10000006 = 0xaa; *(uint8_t*)0x10000007 = 0xaa; *(uint8_t*)0x10000008 = 0xaa; *(uint8_t*)0x10000009 = 0xaa; *(uint8_t*)0x1000000a = 0xaa; *(uint8_t*)0x1000000b = 0xbb; *(uint16_t*)0x1000000c = htobe16(0x8100); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 5, 0, 3); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 1, 3, 1); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 3, 4, 12); *(uint16_t*)0x10000010 = htobe16(0x86dd); STORE_BY_BITMASK(uint8_t, , 0x10000012, 7, 0, 4); STORE_BY_BITMASK(uint8_t, , 0x10000012, 6, 4, 4); memcpy((void*)0x10000013, "\xc3\xcb\x10", 3); *(uint16_t*)0x10000016 = htobe16(0x1202); *(uint8_t*)0x10000018 = 0x2f; *(uint8_t*)0x10000019 = 1; memcpy((void*)0x1000001a, "\xcd\xd9\x63\x9d\x81\x8e\x3c\x53\x54\xe4\x23\xe6\x7c\x02\x61\xce", 16); memcpy((void*)0x1000002a, "\x9a\xa3\xa7\x3e\xac\xf4\x7f\x64\x6c\xf7\x00\x32\xc9\xd1\x08\xee", 16); *(uint8_t*)0x1000003a = 0x36; *(uint8_t*)0x1000003b = 0x1e; *(uint8_t*)0x1000003c = 0; *(uint8_t*)0x1000003d = 0; *(uint8_t*)0x1000003e = 0; *(uint8_t*)0x1000003f = 0; *(uint8_t*)0x10000040 = 0; *(uint8_t*)0x10000041 = 0; *(uint8_t*)0x10000042 = 4; *(uint8_t*)0x10000043 = 1; *(uint8_t*)0x10000044 = 1; *(uint8_t*)0x10000045 = 0xc2; *(uint8_t*)0x10000046 = 4; *(uint32_t*)0x10000047 = htobe32(7); *(uint8_t*)0x1000004b = 1; *(uint8_t*)0x1000004c = 2; *(uint8_t*)0x1000004d = 0; *(uint8_t*)0x1000004e = 0; *(uint8_t*)0x1000004f = -1; *(uint8_t*)0x10000050 = 0xe2; memcpy((void*)0x10000051, "\x66\x43\xd2\x30\xd2\xeb\xee\x2d\xa6\x67\x99\x23\x3f\xd3\x95\x3c\x63\x7f\xbf\xf5\x8a\x08\xfe\x47\x94\x6d\xe8\x6f\x44\xbc\xf9\xe8\x09\xd6\x27\x76\x8d\x7e\x38\xbe\x69\x80\x89\x21\xc8\x00\xa8\xca\x76\xdb\xa1\x2e\x6b\x01\xe8\xb0\xb8\x52\x82\x1f\xe4\x6d\x8d\x1b\x86\x3c\x6e\xd1\xf3\x86\xd2\x77\x9a\x29\x83\x03\x6a\x40\x3e\xc8\x04\xbb\xc1\xce\x77\xc6\x79\xd9\x45\xe9\xc0\xb8\x36\x35\x2e\x6f\x8e\xe2\x10\xed\xe5\xf8\xeb\x29\x37\xaf\xc8\x30\x72\x87\xe8\xa2\x7e\x8f\xc6\x6d\xe2\xef\x50\x42\x18\x40\x45\x51\x26\xdc\x36\x2d\x09\x94\xa2\xa2\xdb\x61\x9c\xa5\xb7\x0f\x61\x5b\x71\x94\x13\x59\x44\x71\xa2\xef\xad\x9e\x7e\x22\xa5\x40\x03\x61\xab\xac\x23\x15\x75\xd1\xb4\x98\x78\x16\x12\x29\x6d\x93\x2e\x48\x32\xdd\x0c\x9f\x67\x09\xc2\xf8\x10\x38\xbb\xcd\xe5\xc2\x78\x32\xba\xe0\x14\xb1\x3b\x9b\x93\xb4\x13\x74\xf9\x97\xc1\x88\xd7\x4a\x33\x96\x0b\x2b\x29\x48\xa2\xeb\x32\x11\xc2\xac\xa8\x55\xf6\x16\xf2\x22\x3f\x47\x46\xce", 226); *(uint8_t*)0x10000133 = 4; *(uint8_t*)0x10000134 = 1; *(uint8_t*)0x10000135 = 0x1f; *(uint8_t*)0x1000013a = 0x31; *(uint8_t*)0x1000013b = 4; *(uint8_t*)0x1000013c = 0; *(uint8_t*)0x1000013d = 5; *(uint32_t*)0x1000013e = 0; *(uint8_t*)0x10000142 = 0; *(uint8_t*)0x10000143 = 0; *(uint8_t*)0x10000144 = 0; *(uint8_t*)0x10000145 = 0; *(uint8_t*)0x10000146 = 0; *(uint8_t*)0x10000147 = 0; *(uint8_t*)0x10000148 = 0; *(uint8_t*)0x10000149 = 0; *(uint8_t*)0x1000014a = 0; *(uint8_t*)0x1000014b = 0; *(uint8_t*)0x1000014c = -1; *(uint8_t*)0x1000014d = -1; *(uint32_t*)0x1000014e = htobe32(-1); *(uint8_t*)0x10000152 = 0; *(uint8_t*)0x10000153 = 0; *(uint8_t*)0x10000154 = 0; *(uint8_t*)0x10000155 = 0; *(uint8_t*)0x10000156 = 0; *(uint8_t*)0x10000157 = 0; *(uint8_t*)0x10000158 = 0; *(uint8_t*)0x10000159 = 0; *(uint8_t*)0x1000015a = 0; *(uint8_t*)0x1000015b = 0; *(uint8_t*)0x1000015c = 0; *(uint8_t*)0x1000015d = 0; *(uint8_t*)0x1000015e = 0; *(uint8_t*)0x1000015f = 0; *(uint8_t*)0x10000160 = 0; *(uint8_t*)0x10000161 = 0; *(uint8_t*)0x10000162 = 0x58; *(uint8_t*)0x10000163 = 8; *(uint8_t*)0x10000164 = 1; *(uint8_t*)0x10000165 = 0x81; *(uint32_t*)0x10000166 = 0; *(uint8_t*)0x1000016a = 0xfe; *(uint8_t*)0x1000016b = 0x80; *(uint8_t*)0x1000016c = 0; *(uint8_t*)0x1000016d = 0; *(uint8_t*)0x1000016e = 0; *(uint8_t*)0x1000016f = 0; *(uint8_t*)0x10000170 = 0; *(uint8_t*)0x10000171 = 0; *(uint8_t*)0x10000172 = 0; *(uint8_t*)0x10000173 = 0; *(uint8_t*)0x10000174 = 0; *(uint8_t*)0x10000175 = 0; *(uint8_t*)0x10000176 = 0; *(uint8_t*)0x10000177 = 0; *(uint8_t*)0x10000178 = 0; *(uint8_t*)0x10000179 = 0xaa; *(uint8_t*)0x1000017a = -1; *(uint8_t*)0x1000017b = 1; *(uint8_t*)0x1000017c = 0; *(uint8_t*)0x1000017d = 0; *(uint8_t*)0x1000017e = 0; *(uint8_t*)0x1000017f = 0; *(uint8_t*)0x10000180 = 0; *(uint8_t*)0x10000181 = 0; *(uint8_t*)0x10000182 = 0; *(uint8_t*)0x10000183 = 0; *(uint8_t*)0x10000184 = 0; *(uint8_t*)0x10000185 = 0; *(uint8_t*)0x10000186 = 0; *(uint8_t*)0x10000187 = 0; *(uint8_t*)0x10000188 = 0; *(uint8_t*)0x10000189 = 1; *(uint8_t*)0x1000018a = 0xfe; *(uint8_t*)0x1000018b = 0x80; *(uint8_t*)0x1000018c = 0; *(uint8_t*)0x1000018d = 0; *(uint8_t*)0x1000018e = 0; *(uint8_t*)0x1000018f = 0; *(uint8_t*)0x10000190 = 0; *(uint8_t*)0x10000191 = 0; *(uint8_t*)0x10000192 = 0; *(uint8_t*)0x10000193 = 0; *(uint8_t*)0x10000194 = 0; *(uint8_t*)0x10000195 = 0; *(uint8_t*)0x10000196 = 0; *(uint8_t*)0x10000197 = 0; *(uint8_t*)0x10000198 = 0; *(uint8_t*)0x10000199 = 0xaa; *(uint64_t*)0x1000019a = htobe64(0); *(uint64_t*)0x100001a2 = htobe64(1); *(uint8_t*)0x100001aa = 0x59; *(uint8_t*)0x100001ab = 0xc; *(uint8_t*)0x100001ac = 0; *(uint8_t*)0x100001ad = 3; *(uint32_t*)0x100001ae = 0; memcpy((void*)0x100001b2, "\xd6\x91\xf2\x28\x49\x8c\x81\x6b\xd9\x31\xbf\x11\xea\x3c\xb3\x58", 16); *(uint8_t*)0x100001c2 = 0; *(uint8_t*)0x100001c3 = 0; *(uint8_t*)0x100001c4 = 0; *(uint8_t*)0x100001c5 = 0; *(uint8_t*)0x100001c6 = 0; *(uint8_t*)0x100001c7 = 0; *(uint8_t*)0x100001c8 = 0; *(uint8_t*)0x100001c9 = 0; *(uint8_t*)0x100001ca = 0; *(uint8_t*)0x100001cb = 0; *(uint8_t*)0x100001cc = 0; *(uint8_t*)0x100001cd = 0; *(uint8_t*)0x100001ce = 0; *(uint8_t*)0x100001cf = 0; *(uint8_t*)0x100001d0 = 0; *(uint8_t*)0x100001d1 = 0; *(uint64_t*)0x100001d2 = htobe64(0); *(uint64_t*)0x100001da = htobe64(1); memcpy((void*)0x100001e2, "\x40\x46\xfb\xe3\xc1\xe1\x66\x9f\x07\x2d\xd9\xee\x3b\xa1\x16\x96", 16); *(uint8_t*)0x100001f2 = 0; *(uint8_t*)0x100001f3 = 0; *(uint8_t*)0x100001f4 = 0; *(uint8_t*)0x100001f5 = 0; *(uint8_t*)0x100001f6 = 0; *(uint8_t*)0x100001f7 = 0; *(uint8_t*)0x100001f8 = 0; *(uint8_t*)0x100001f9 = 0; *(uint8_t*)0x100001fa = 0; *(uint8_t*)0x100001fb = 0; *(uint8_t*)0x100001fc = -1; *(uint8_t*)0x100001fd = -1; *(uint32_t*)0x100001fe = htobe32(-1); *(uint8_t*)0x10000202 = -1; *(uint8_t*)0x10000203 = 1; *(uint8_t*)0x10000204 = 0; *(uint8_t*)0x10000205 = 0; *(uint8_t*)0x10000206 = 0; *(uint8_t*)0x10000207 = 0; *(uint8_t*)0x10000208 = 0; *(uint8_t*)0x10000209 = 0; *(uint8_t*)0x1000020a = 0; *(uint8_t*)0x1000020b = 0; *(uint8_t*)0x1000020c = 0; *(uint8_t*)0x1000020d = 0; *(uint8_t*)0x1000020e = 0; *(uint8_t*)0x1000020f = 0; *(uint8_t*)0x10000210 = 0; *(uint8_t*)0x10000211 = 1; *(uint8_t*)0x10000212 = 0x27; *(uint8_t*)0x10000213 = 0; *(uint8_t*)0x10000214 = 0x91; STORE_BY_BITMASK(uint8_t, , 0x10000215, 1, 0, 1); STORE_BY_BITMASK(uint8_t, , 0x10000215, 0, 1, 2); STORE_BY_BITMASK(uint8_t, , 0x10000215, 6, 3, 5); *(uint32_t*)0x10000216 = 0x66; *(uint8_t*)0x1000021a = 0x26; *(uint8_t*)0x1000021b = 0; *(uint8_t*)0x1000021c = 0; *(uint8_t*)0x1000021d = 0; *(uint8_t*)0x1000021e = 0; *(uint8_t*)0x1000021f = 0; *(uint8_t*)0x10000220 = 0; *(uint8_t*)0x10000221 = 0; *(uint8_t*)0x10000222 = 5; *(uint8_t*)0x10000223 = 2; *(uint16_t*)0x10000224 = htobe16(5); *(uint8_t*)0x1000022a = 0x86; *(uint8_t*)0x1000022b = 0; *(uint16_t*)0x1000022c = htobe16(0); *(uint8_t*)0x1000022e = 0; *(uint8_t*)0x1000022f = 9; *(uint16_t*)0x10000230 = htobe16(9); *(uint32_t*)0x10000232 = htobe32(0x401); *(uint32_t*)0x10000236 = htobe32(0x7fffffff); *(uint8_t*)0x1000023a = 1; *(uint8_t*)0x1000023b = 0; memcpy((void*)0x1000023c, "\xd1\x45\xff\x57\x6d\x7f\xe9\x33\xa6\xf7\xae\x4b\xd4\x7d\x7a\xec\x43\x60\xa3\x35\x72\x7c\x02\x67\xff\x79\xe3\x4d\x03\x66\x94\xea\x6d\x8d\xe6\x2e\xbb\x19\x41\xf6\xb9\xa9\x5a\x6c\x95\xfa\x33\xd4\xa6\xdd\xfe\x3b\xe4\x08\x14\x8d\xac\xa5\x56\xb6\xb4\xdf\xeb\xef\x86\x9d\xa9\x3c\xfa\x26\xfb\x8e\x16\x50\x9f\xeb\xb3\x21\x01\x1f\x50\x8e\xec\x75\x02\x82\x44\x42\xd8\x62\x05\x19\xd7\xce\x35\x92\x84\xef\x09\x36\x39\x00\x1b\x68\x9f\x94\x43\x26\x05\x84\xdf\xaf\x81\x93\x13\x72\x6c\x44\x95\xac\x4c\x32\x03\xaa\x60\x3e\x26\xf3\x74\xd6\x96\xcd\xb3\x6f\xb0\x0e\x6c\x41\x2e\xdb\xef\xc1\x62\x70\xc7\x83\xd3\xa1\xad\xa3\x5a\x07\xcd\x92\x25\xf2\x1b\x95\x70\xf8\x01\xa9\x60\xe0\x6d\x96\x55\x6b\x9e\xac\xa2\x34\xf1\x28\x61\x44\x42\x31\xc9\x4a\xee\x63\x15\xfb\x19\x9f\x69\xee\xbd\xf9\xfd\xb0\xbd\xb8\x99\x02\xe0\xeb\x69\xbb\xdf\x97\x30\xaa\x37\x1b\x84\xb0\x2e\x9a\xb5\xf3\xa4\xf9\x9f\x92\x05\x69\x4f\x06\x24\x60\xe2\x86\xb1\xab\xef\x39\x36\xfd\xf1\x83\xbd\x7c\x95\xa9\xd9\x9b\x57\x82\x7d\xea\x18\x14\xe0\xe2\xdc\x58\xa6\x77\xf2\xae\x6c\x73\xde\x4e\x27\xfe\x88\x56\xe4\x17\xfd\x26\x60\x88\x00\x8a\xbe\x5d\x38\xd7\x4e\xa0\xbd\xc6\xd0\x46\xc5\xd3\xf4\x5e\x2e\xe4\x7a\x44\x0c\x5d\xfc\x30\x45\x9b\x21\x9b\xb3\xb1\x30\x2f\xeb\x6b\x36\xa6\xe5\x24\xb1\xdb\x70\xd5\x7e\xfe\x32\x82\x3b\x0a\xd0\x37\xa3\xc2\x04\xc7\x77\x48\xb8\x5f\xd8\x8a\xbf\x24\xef\x07\x17\xea\xc9\x0e\x23\x5d\x91\x76\x4b\x48\xbb\x1d\xcc\x3c\x91\x77\xfc\x4b\x0f\xc9\x97\xd3\xd4\xe9\x07\x02\x87\x2b\xf0\xd8\x70\x21\x94\xe2\x25\x77\x35\x3e\x55\x7c\x00\x41\xf1\x06\xe5\xde\xe1\xd2\x4f\x24\x3a\xb7\xc0\x7b\x43\x35\xa6\x88\x6c\x04\x06\x1e\x84\x96\x65\x99\xb6\x8c\x67\x6e\x96\x60\x08\xa7\x90\x5f\x17\x06\x04\x83\x34\x50\x1a\x36\x08\x30\x53\x30\xcb\x8b\x44\x7a\x16\x98\xfa\x96\x46\xc7\x3c\xd7\x58\x87\x1c\x1e\x8b\x96\x88\x9a\xe3\x37\x2a\x5f\xef\x5b\x03\xef\x56\xd1\x60\x8e\xae\x44\xa8\x63\xb0\x59\x91\xf6\x26\x44\x77\x30\xdf\x97\xf3\x36\x86\xe5\xcb\x72\x55\x4a\x1a\x8a\xce\x8b\x53\x0d\x3e\x60\x45\x23\x52\xd9\xe9\x3e\xd0\x31\x85\x2e\xb2\xdc\x87\x90\x3a\x13\x46\xc3\x96\x2c\xed\x8f\x4f\xd2\xc0\x7e\x01\x84\x3d\x19\xe2\x53\x65\x3f\xcc\x7e\xb3\xe7\x10\xb5\x46\xe1\x18\x08\x44\xd9\x5e\x67\x14\x3d\xef\x46\x19\x37\x5d\x71\x17\x37\x29\xdf\xab\xee\xcd\xdd\x02\x39\x45\x6f\xd1\xf5\x63\xbe\xdd\x3e\x8a\xa7\xbd\x29\xce\x40\xbf\xb7\x2e\x83\x23\x24\xcf\x0e\x7e\xd9\x60\xbc\x4c\xdd\x81\xa1\xd1\xc4\xd3\xa2\xf9\x84\x21\x8a\x8f\x7c\xe9\x28\x8f\xb5\x7b\x31\x5c\x47\x5a\x57\xc2\xd5\x67\x43\xba\x39\x87\xad\x1f\xe6\x9a\xf5\xa3\x91\xcd\xb9\xc8\xa5\x51\x72\x33\x40\xc3\xd1\xc9\x89\xb5\xda\x33\x77\x1f\x79\x7e\x89\x93\xef\x51\x54\x6e\x98\x49\xba\x61\xa3\xcb\x3b\xab\xbc\x5b\x33\xfc\x9e\x88\x3b\x3e\xe4\x1e\x6d\x8c\x67\x58\x41\x71\x8b\x90\x80\x92\xb2\xc4\xda\x4c\x1a\x78\xa1\x7b\xee\x0c\x40\x9d\x03\xcd\x8b\xed\x2d\x56\xa4\x6e\xe7\x72\x1b\x56\x59\xbe\x3f\xa5\xcd\x0e\x89\xbc\xef\xfa\xff\xaf\x1e\x95\x71\x6a\xdc\x76\x25\x54\xc4\x96\xa4\x02\x82\xcb\x6d\x85\xf4\xe0\xe2\x9f\xd7\x65\x74\x00\x1b\x89\x3d\x0f\xfc\x8c\x94\xa1\x87\x82\x9e\x24\x54\x6d\x89\x04\x39\x54\x7b\x81\xc1\x8c\x48\x65\xbe\x4c\xb5\x7e\x06\xe3\x19\xc5\x00\x7d\x43\x45\x9e\xc3\xaa\x20\xce\x72\xf7\x88\x3c\xbd\xa6\xa3\x03\xc3\x43\xfb\xed\x7f\x62\xb2\xf2\xac\x9f\x5d\x24\x84\x2e\x8a\xba\xe1\xc9\xe3\x29\x54\xb0\xd0\xd6\x02\x42\x89\x1b\x1f\xae\x40\xd0\x32\x83\xf3\x3c\x09\x48\xe1\x61\xfa\x2f\x9f\xfb\x77\xb7\x2c\xe9\x69\x71\x87\x68\x28\x2c\x45\xae\x08\x9f\xaf\x80\xec\xaf\xf1\x65\x81\x14\xa7\x8d\x8b\x13\x83\x39\x58\xa3\x60\xfe\x8b\xea\xd9\xb4\x85\xd5\xdc\xc7\x01\x81\x2a\x55\x9c\x6d\x04\xa2\x2f\xe5\x9d\x3f\x6f\xc0\xfc\xc7\xcb\xbb\xc4\x45\x0a\x58\xbe\xe9\x95\x60\x57\x9e\xff\x8d\x78\x46\xd0\x62\x25\x3d\x15\xd5\xe6\xb2\x0a\x78\x13\x40\x14\x32\x3b\xc3\x1f\x3d\xbf\xa5\x3e\x2e\xde\x13\x7e\x3c\x11\x29\xba\x8d\xb6\x38\xa9\x59\x72\xe1\xa7\x22\x35\x04\xaf\x10\xa1\x49\x15\x4f\xa5\x81\xb9\xdb\xc5\x16\x28\x9c\xff\x0d\x65\x58\x88\x59\x21\x99\xc7\x7f\xa5\x53\xf0\x7d\xb0\x09\xee\x2a\x42\xc5\x41\x2d\xf9\xfe\x61\x2d\x10\x8e\xe2\xd5\x95\xcb\xb0\xbf\x59\x77\x66\x46\xcb\x7c\x83\xe3\x55\x1a\x91\xc0\xac\xa0\x5d\xe2\x0d\x0b\xfc\x6c\x1f\x8f\x5c\x94\x92\xf2\x2e\x57\x14\xea\x0c\xba\xb5\x76\x31\x94\x99\x6c\x81\x85\x45\xc0\x99\x7f\xf5\x55\xe5\xd1\x36\xae\xa5\x0a\x7a\x93\xdc\x40\x34\x0a\x72\x5d\xa5\xca\x7e\xa4\x5a\x48\x3d\x2c\x9d\xa6\x7a\x25\x4d\x6e\xbd\xb6\xe2\x02\x70\xbe\xb3\x33\x73\x32\x1d\x92\x23\x75\x20\x7b\xf5\x47\x07\xe1\xd9\x7d\x52\xa6\x93\x0b\x42\x87\xcd\x0d\xc6\xd8\xd3\x34\x6e\x38\x8f\xe4\x1f\xca\x91\x16\x27\x39\xa3\x0c\x97\xda\x08\xcc\x3f\x42\xb3\xf5\x43\x82\xdc\xde\xf5\xd0\xe7\x67\x0b\x8c\x98\xc0\x53\x3b\xf6\xc5\x3d\x58\x68\x8d\x9b\x95\x8b\x23\xa9\x1a\x8a\x6f\x2f\xfa\xd4\x19\xe0\x1e\x2b\xb7\x76\xcc\x32\x13\xfe\xf5\x9a\x70\x34\xd8\x35\xc0\x22\xda\xd0\x29\x94\x62\x4c\x55\x85\x5b\x09\xe2\x66\xe4\x16\xa6\x69\x39\xfc\x36\x64\xe4\x41\xb9\x9d\x7f\xfa\x0b\x83\xbf\xd0\xb0\xd7\x52\xde\x0b\xae\xdc\x17\x46\xb4\x93\x82\x01\x97\x22\x53\x92\x4b\x0a\x68\x64\x1e\x7c\x93\x5f\xbb\x41\x89\xe5\xfd\xc3\x91\xa2\x9e\x33\x11\x51\xfe\x72\x0b\xfb\xc0\x68\x25\xba\x07\x66\xe4\x21\xa2\x61\x3f\xc0\xb7\x8c\xee\xb3\x81\x7f\x26\x2c\x90\xf6\x6e\x7c\xfa\x05\x33\xc1\x7a\xc7\x1b\x0b\x1f\x94\xff\xb0\x2e\x38\x07\xb6\x24\x7e\x96\x8c\xed\xb1\x41\x20\x6e\xdf\x0c\xa6\xf9\x8f\xd9\x19\xfa\x52\x79\xfe\x20\x87\x99\xd8\x2a\xb3\xa7\x0b\x9b\x4b\xae\xa4\x10\xdc\x7c\xb3\x93\x37\x82\xd6\x3f\xe4\x28\x07\xcf\x0f\xa7\xf5\xc9\xae\x0c\xd4\xd0\xa0\x29\x46\x92\xd3\x62\x9d\x98\x81\xda\xd5\x32\xb3\x4e\xfd\x70\x2d\x8e\xaf\x0a\xc2\x03\x78\xe6\x2b\x36\x46\x06\x56\xe0\xe8\x87\xc4\x49\x59\x55\x2c\x96\x20\xe9\xec\x3e\x73\xfe\xe5\xca\x0e\x5a\x6d\xd7\x67\xb7\xb7\xa9\x7a\xc4\xc7\x7e\x70\x9c\xe7\x85\x9f\x21\xf0\xbe\x66\xc9\xbe\x7f\x44\x5f\xb1\x5f\x7b\xf4\xc8\x12\x4a\x56\x7f\xbf\xe0\xd3\x79\xf0\x8c\xb1\xb8\x16\xf4\xc7\x20\xef\x5e\x3a\x6a\x08\x3b\x5b\xe0\x56\x94\xa0\xd3\xd3\xac\x78\x4f\xc4\x39\x9b\x1c\xcb\x74\x82\xca\x0a\x11\x82\x16\x64\x03\x56\x5a\x9f\x7d\x4b\x0b\x71\xcc\xcd\x20\xb9\x52\xae\xe3\xbe\x5c\x9a\xb1\x06\x63\xe0\x8a\xa4\x19\xc8\xde\xe9\x1e\x6f\x9b\xc5\x83\x77\xe9\x49\xd7\x25\x1a\x44\x5e\x1a\x7f\x87\x93\x3d\xbb\xac\x27\x03\xf5\xd1\x11\xde\x77\xb9\xdc\x5d\xe5\xa5\x3b\x90\xee\x18\xef\x9a\xb6\xa1\x54\xf3\xf2\x50\x0d\xf0\x41\x24\x64\x5a\x6f\x09\xed\xb8\x0c\x2f\xed\x4f\x30\xff\xc4\x65\x91\x76\xa6\xd3\x63\x3d\xb7\xc6\xc6\xc7\xac\xdc\x93\x32\xfb\xfc\x34\xf6\x35\x43\xf9\x9c\x3e\x72\x83\xab\x9a\x98\xe8\x07\x3e\x2c\x1a\x31\x58\x15\x89\x76\xf0\x6a\x52\x09\x75\xb2\xf5\x65\x93\x65\x21\xba\xbd\xd2\x7f\xce\x00\x6d\x30\xf5\xd7\x50\x53\x84\x7e\x61\x24\x94\x0f\x3e\xf6\x63\xe7\xe1\x2e\x20\x6e\x8d\xcc\xc2\x21\xa2\x38\x1a\x17\x62\xf3\xe6\xeb\xbd\x37\xeb\x7a\x54\x09\x49\x8e\x19\xee\xab\x8b\x75\xcf\xbd\x75\x22\xa3\xef\x45\xa2\x36\xad\x0b\x71\x29\x15\x4e\x44\x43\x6b\xd8\xb8\xda\x13\x23\x46\x9c\x15\x0c\xd4\x87\x74\x62\x47\xd0\x6f\x12\xae\x67\xfa\x30\xdc\x79\xf4\xdf\x5c\xc8\xc1\xf8\x6e\x8b\x35\x68\x9b\x5a\x2c\x32\xe5\x07\x77\xcf\x13\x2f\x14\xc4\xcd\x2f\xb8\xf3\x76\x0a\x66\xec\x72\x3e\x29\x62\x4f\x8a\x97\x49\x53\x35\x0c\xa8\x85\x32\x39\x94\x4e\x33\x72\x7d\x59\x65\xe1\x0c\x8d\xa5\xa8\xfc\xb4\x03\x3e\xa2\xf9\x6c\xad\x4d\x33\x52\x4d\x18\x18\x44\xb5\xa6\xa2\xa3\xa0\xc0\xa3\x57\x2e\x43\x54\xb5\xf0\xbb\x6c\x72\x7b\xcf\x02\xd3\x1f\x66\x74\x2b\xcd\x3e\x37\x67\xc7\x0b\x1f\xa6\x95\x81\x28\x96\xed\x05\x39\x34\xab\xee\x8d\xea\x4c\xa8\x24\x2b\x1f\xe1\x40\x97\x17\xdd\xca\x66\x76\xb3\x58\xe7\x93\x0d\xc9\x27\xf6\x88\xc2\x2e\x2a\xe6\x29\x6f\xf2\xed\x3c\x85\x19\xf3\xf8\xd4\x9c\x3a\x71\x83\xd4\xaa\x0d\xa4\xe3\xc7\xa6\x52\xd5\x39\xbf\xf9\xab\x19\x52\xaa\x13\xc0\x02\xa0\xa8\xe7\x12\x8b\x4e\x4a\xb4\x41\xfc\xc9\x05\xa0\xf2\x6f\x9f\x6b\x5f\xa3\x13\x60\xd5\xc2\x48\x45\xad\x87\x65\x77\xbb\x0e\x1f\xcf\xed\x31\x01\xae\xdf\x14\xa7\x3c\x0c\xe0\x3e\x36\x36\x0c\x01\xee\xe2\x73\x42\xc1\xfa\x46\xd7\x24\x74\xcd\x51\x9e\x57\x83\x7c\x25\x0c\xed\xf0\x9a\x31\xe4\x5d\xeb\x38\x35\x87\xc5\xae\xe4\xc3\x6f\xe2\xa8\xdf\x37\x24\x0d\xe3\x21\xa6\xa1\xc6\xfc\x65\x6b\x5e\x6b\x28\xff\xa2\x5f\x40\xa7\x23\xa5\xd1\x3c\xbe\x7b\x42\xb4\xf6\x2f\x60\xcc\xfb\xaa\x4f\xfe\xb0\x0c\xa3\xb6\xd9\x41\x19\xc0\x59\x4a\xa5\xe1\x1a\xf8\x05\x5b\x10\xd1\xa5\xa9\x90\x0b\xd2\x5b\x85\x0c\x99\x3c\x3b\xd9\xa9\x41\xbd\xed\x20\x9d\xc4\xc7\x4e\x94\x21\xb8\x4c\x81\xc6\x24\xdf\xff\xd1\x2f\x39\x7c\xc7\x91\x01\xda\x2a\xac\x93\x8a\x23\xaa\x49\x90\x8f\x3f\x1f\xf4\x1f\xc6\x0d\xba\x82\x40\xa0\x4f\x09\x41\x78\x4a\x22\x84\xaa\xeb\xdc\xc8\x14\x39\x10\xab\x01\x78\x0e\x46\x3d\xfb\x8b\xe3\x87\xb9\x93\x46\xfb\xf8\x67\x6e\x7f\x3e\x92\x42\x05\x02\xa9\x8e\xaa\x6d\x71\x0b\x06\x4f\x01\x6d\xce\x0d\x6d\xc4\x19\x56\xae\xa4\xfc\x9f\x30\x43\x94\xb3\x21\xc7\x81\x41\xad\x4c\x8d\x65\x27\xd7\xe9\x46\xcf\xf3\xfe\x06\xb2\x52\xae\x99\x28\x37\xf0\xa9\xb9\xbe\x2f\xb5\xd6\x35\x8e\x41\x9f\x9f\x30\xc4\x35\x89\x06\xa8\x26\x85\xfc\x73\x4d\x2d\x24\x97\xa1\x52\xcb\xe9\x65\xf7\xe3\x22\x0d\x43\x7a\x7e\x64\xe9\xd1\xce\xf4\x09\x2d\x0f\x8e\x73\x19\x10\xd0\x4e\x15\xdf\x20\x5b\x13\x09\x79\xe1\xb8\x71\x0f\xaa\x58\x04\x64\x2c\xec\xa6\x66\x7c\x9d\xfe\x37\x47\xee\x43\xcd\x73\x46\x62\x04\x47\x09\x87\xd0\xe7\x6a\xf2\x37\x21\x8c\xcb\x37\xbd\x77\xa3\x9a\x09\x91\x8e\x74\xaa\xf5\x97\xbd\x3f\xbd\x79\xbb\xa7\x35\xc5\xce\x6e\x81\xc5\x59\xc9\x86\xbb\xf6\x07\x55\x17\x0b\x30\x47\x4a\x9e\x7c\xaa\x5e\x83\xa4\x2f\x19\xf7\x9b\x18\x6e\xc3\xaf\x3b\xf1\x11\x2c\x00\xcf\x05\xbf\xf7\x2a\x0d\x16\x98\xa9\x4a\x87\x1c\x4e\x8a\x07\x97\xd4\xd7\xf3\xc3\xe7\xe2\xa2\x7c\xa7\xb9\x38\x6f\x16\xc0\x47\x33\x95\xfe\x85\xb2\x80\xf9\xab\xa2\xef\xda\xa0\x8b\xcc\x7f\x2f\x2c\x30\x1e\x16\x5d\x62\x6c\x83\x28\x5b\xdd\xf0\x52\xcb\xa1\x34\xdf\x3b\xbd\xd1\xe8\xf4\x64\x15\xbb\xb3\x91\xe0\x5b\x1e\x47\x5f\x34\x4c\x10\x12\xcc\xa9\xa7\x2f\xb1\x22\xc2\x5d\x7f\x85\xc9\x2a\x74\xfe\x73\x50\xa9\x09\xdf\xee\x05\xb8\xa8\x75\x57\xad\x0c\xbc\x59\x12\xdc\xbd\xf9\x37\x3a\x5e\x41\x3b\x83\x75\xdf\x15\xd4\xd8\xa0\x6f\x4c\xed\x12\x59\xa8\x16\x53\x89\xac\xc8\x97\xcf\xd0\x1c\x0d\xbe\xa2\x78\x14\x4d\x07\x94\x40\x08\x6f\x7f\xeb\xdc\xf7\xaa\x7e\xec\x02\x39\x93\xdf\x73\xd8\xd0\xd4\x61\x63\xad\xd8\x0a\x7c\x68\x67\x89\x33\x1c\x15\xaa\x22\xc8\xca\xfd\x5d\xf4\x0d\x45\x61\xf6\xf2\x47\x59\xeb\x3d\x6a\x97\xea\x01\xa3\xa3\x36\x8e\xa8\xb1\xcf\x6f\xff\x8b\xf5\x8a\xc2\x25\x52\x8d\x7a\x17\xd2\x1e\xdf\xa6\xea\xcf\xc5\xaa\xb6\xf7\x85\xa0\xb3\x00\x3a\xb6\xee\x0d\xe9\x42\x3c\xd3\x63\xb1\x4d\x03\xe1\x02\xf4\x45\xb2\x3c\x14\xa5\x36\xd7\xb2\x31\x24\x32\x88\xf2\x88\xda\x44\xf8\xa5\xe8\xbc\x1f\x13\xb8\xce\xc7\xcb\x6a\x2a\x56\x96\x36\x16\x3a\x09\x8b\x2f\x40\xf4\x5c\x43\x56\x4f\x1a\xa8\xb9\x16\x42\x6e\x77\x51\x09\x36\x20\x23\x63\xfe\x0d\xd7\x17\x45\x0c\xca\x9e\x8c\xbd\xe8\xdf\xfc\x9b\x9e\x24\xd8\xbd\x3c\xf1\x71\xe3\x6f\x05\xc0\x63\x34\x87\x31\x10\xb9\xc2\xd1\xa3\x02\x0b\x66\x0a\xac\xb1\x96\x82\xd7\x71\xe0\x2c\x4d\x80\xdb\xfc\xdd\x11\xed\xf7\x55\x3a\xba\xd4\xcd\x0c\xee\x0f\xc5\xe8\x1e\x94\xc4\x81\x0a\x2c\x49\x7f\x3d\x0f\xfa\x21\xbf\x7a\x31\xb6\xa8\x35\xda\xf1\xf6\x09\xe2\x3c\xd6\x4f\x81\xc1\x71\x6a\xf8\x5b\x92\x33\xb5\x47\xe6\x79\xc7\x27\x55\xe6\xcb\xb1\xcb\x40\x5d\x7a\x89\x7f\xca\xa8\xc8\x15\xbb\xd5\xa2\xae\xcc\x89\xd6\x99\x81\xf3\x49\xaf\x2f\x97\xed\xb5\xa6\xf4\x19\x7d\x20\xee\xc8\xd4\xb0\xf3\xc2\x37\x5b\x88\x39\xcf\x68\x58\xbb\xf1\x01\xee\x06\xae\xcb\x75\x16\xcc\x27\xd5\x9a\x8b\xdc\x9b\x5b\x20\x8a\xaa\x4b\x5c\x14\xa5\x25\x1d\x9d\x23\x23\x97\xdd\x8d\x0e\xb8\x85\x5d\x3a\xe0\x62\x5a\x25\x4f\xb8\x97\x79\xab\x00\xb3\xaf\x42\x74\x54\xc6\xbf\x5c\xff\x22\x5c\x2f\x77\xba\xc6\xe5\x99\x74\x04\xf0\x0a\x40\x79\xd2\x23\x7d\x19\xae\xc1\x30\xc0\x3a\x77\x1e\x12\x6c\xec\x4b\xc0\x66\x1c\x3f\x9f\xae\x36\x5d\x61\x77\x23\x02\x4e\xf8\x80\x2f\xc9\x4a\x85\xeb\xb8\x01\x44\xb1\x65\xf9\xd4\xbc\x2a\x1f\x87\xce\x04\x8e\xa5\x28\x58\xd6\x5d\xd3\x3b\x13\x20\xb6\x97\xed\x30\x29\x9b\x18\x48\x83\x5c\x61\x6b\x0a\x68\x7e\x88\x74\x83\x12\x70\x78\x43\x3d\xb9\x91\xd6\x62\xfa\x36\x74\x21\x44\x5b\xe0\x0a\xf4\xc0\x6a\x34\xe5\x54\xb3\xef\xa0\xf8\xcf\x99\xd2\xe1\x74\x0c\x3d\x23\xae\x57\xf9\x7e\x1d\x19\x77\x01\x03\xd7\xec\x6f\x17\xb0\x85\xee\x3e\xa9\x5e\xe6\xc7\x4c\x37\x53\x62\x8d\x0a\x97\xb4\x40\xd3\x8c\x13\x9f\xd8\x97\x4f\x04\x9e\x3b\x4a\x8e\x83\xda\xe7\xc6\x26\xd0\x13\x9f\x92\xc6\x9a\x92\x97\x52\x70\x45\x6c\xf7\x64\x0c\x4b\x0e\xa0\xc3\xf5\xf2\xbd\xff\xd9\xa0\xcc\xa3\xac\xad\xc2\xf2\x78\x9b\xd5\x91\x09\x05\x9f\xf4\x54\xbf\x74\x2d\xa9\x93\x3f\x66\xe0\x04\xda\x86\x6b\xe4\x62\xba\x3a\x2e\x42\xa2\x30\x24\x07\xe8\x22\x79\x1b\x78\x21\x64\xc7\x95\xb1\x71\x2a\x2c\x1d\x95\x7e\x37\x70\x3a\x32\x8a\xe1\x46\x28\x88\x4c\x76\xed\x83\xd0\x87\x10\xa6\x21\x2d\xd1\x3c\xc4\x66\xac\x8f\x4b\x8c\x65\xe8\xad\x64\x72\x61\xe4\x17\x86\xda\xc8\x15\xc4\x72\x99\xff\x9b\x57\x25\x79\xc2\xb5\xa2\x7a\xf3\x72\x35\x8c\x3f\x2b\xa4\xc1\x1f\x86\xca\xb0\x7c\x65\xca\x9f\x0f\x70\x35\x54\xb1\x62\xb7\x3c\x37\x06\xad\xd4\xf7\xe1\x0d\x95\xb8\x47\xca\x79\x8c\x09\x23\x61\xb4\x3e\x08\x65\x69\xd4\x02\xd5\x5f\x72\xca\x7a\xa7\x8e\xe9\x5d\x93\x43\xc3\x81\x19\x6b\xcf\x8f\x8c\xfb\x0b\x80\x5d\x41\x8d\x51\xcc\xab\x37\x7f\x64\x6b\x39\x34\xb4\xc6\x77\x3b\xa4\xcd\x97\x5a\x0f\x12\x08\x4a\x33\x7d\x43\x5d\x46\x11\x55\x06\x56\x34\x5f\x83\xcb\xa2\x64\xa9\x58\xf7\xac\x21\x8c\x63\x82\x1b\x22\xb8\xbd\x1a\xc3\x68\x4d\x6d\xcc\x3b\x71\xe4\x45\xd5\x70\x7b\x9a\x5a\x6b\xa9\xe7\xfc\x24\x05\xb2\x59\xa6\x53\x1e\x93\x7b\x8e\xa4\xac\x7f\x8f\xa8\xaa\xff\x40\xc5\x70\xfa\x5b\xd4\x88\xe2\x89\xb7\x3e\x0a\x05\xe9\x4c\xe0\xbb\xa7\xe4\xb2\xf2\xcd\x8b\x3a\x3f\xdf\x91\xeb\x5e\xa2\xb0\x04\xf9\x15\x00\xd8\x4b\xfd\x36\x19\x9f\x9a\xa9\xa0\xb3\xf6\x6a\xf8\x16\xf0\xb9\xb4\x62\xd7\x96\x02\xa1\x2e\x70\x5e\xc6\x2c\x00\xce\xcb\x61\x07\x0e\x09\xbb\x25\xd4\x90\x76\xbf\x75\x01\x1c\xe1\x9d\x4e\xa7\xff\x6e\xf6\xdd\xc4\xff\xfc\xc1\x34\xc8\x1b\xf5\xbd\xa4\x9f\x66\x61\x67\x92\xe3\xfb\xf0\x95\x3d\x9a\x0c\x25\xdc\x36\xb2\x45\x04\x6c\x01\xff\x8f\x98\x97\x53\x29\x62\x4f\x3c\x9e\xac\x95\x82\x36\xda\xa0\xaa\x02\x69\x96\x84\x0d\x48\xdc\x63\x3c\xeb\xb5\xef\x48\x4b\xa7\xcd\xf1\xb7\x6a\x27\xa8\x03\xc4\xea\x46\x4e\xb3\x0c\x55\x73\x14\x7b\xa7\x83\xf0\xe4\x28\x69\xbf\xa9\x97\x0b\x61\xd5\xed\x05\xb7\x90\xf6\xa9\x3b\xab\x2f\x93\x9e\xef\xc9\xef\xad\x86\x77\xe5\x9a\x03\x7e\x3a\xb2\x30\x3c\xe9\x7f\xfd\x53\xe3\xce\x33\x69\xba\x4c\x48\xec\xeb\x3a\xae\xdc\xb4\x08\x9a\x97\xeb\x59\xfc\x97\x88\x20\x47\x39\xd5\xe6\xdf\x7c\x8d\xc3\x26\x99\x4b\xdc\xd1\x80\x3c\xb4\xb5\x21\xff\x66\x47\xde\x95\x90\xdf\xcb\x2c\x57\x05\x10\xa6\x19\x11\x87\x03\xe8\x2e\x7e\x45\xa5\x4e\x28\x7a\x8c\x73\x4d\x02\x94\xa8\xb2\xcd\x07\xff\xa3\x2e\x40\x0e\xdc\xd5\xbb\xf8\x6b\x2d\xd2\xf0\x9c\x2b\x72\x01\x8b\x17\xe5\x4d\xeb\xad\x47\xb8\x39\xe9\x8c\xeb\xea\xd5\xce\x68\xa4\x39\xe5\xeb\x42\x79\x45\xdf\xdd\x16\x8a\xc7\x02\x6a\x5c\x9c\x33\xc6\xc3\xce\x0b\x98\xf8\x32\xd7\xad\x16\xae\xcd\xb0\x18\x91\x90\x4f\x60\x42\xa4\xc9\x8e\x5f\x41\x20\x9b\x44\x88\xe6\xc9\x9e\xf1\x16\xf4\x3c\x48\x9f\x51\xe3\x06\x47\x66\x42\x19\x4f\xe0\x53\x50\x77\xc9\x4f\xc8\x0c\x5a\xba\x2e\x26\xe6\x1c\x77\xb1\xfc\x5f\xe9\xda\xd4\x79\x68\xbb\x41\x14\xba\xa6\x14\xd2\x34\xe3\xb0\xbe\x0d\x5a\xbe\xc9\xe6\x0d\x72\xc6\x95\x6a\x79\x78\x09\xb5\x1e\x16\xb6\xf4\x90\x29\xd2\xf4\xb2\x26\x6d\x3a\x8b\x9b\x56\x70\x99\xb5\x56\xc2\x68\x5a\x00\xbd\x84\x23\x8a\x90\x80\xaa\x02\x2c\x35\x7a\xd6\xd4\x54\xbd\x75\x94\xa0\x29\xeb\x42\x84\xa9\x73\xb4\x8e\x63\x92\xf4\x25\xb7\x03\x01\xb8\xc5\x14\x77\x50\x04\x90\xb7\x65\xc6\xb7\x00\x15\xbd\xd9\x9f\x51\xc2\xd1\x99\x5d\x80\xba\x04\x50\x8d\x6e\x66\xeb\x56\x69\x5c\xcc\xf6\x3d\x50\xcc\x40\xb0\x2c\x80\xc3\x88\x6c\xe7\x5d\x8a\x02\xab\xbb\x71\x49\xda\xce\xd8\xff\x3e\x8d\xfc\x16\x9f\xb4\x60\x31\xc4\xc0\xf1\x90\x60\xda\xba\x08\xd3\x5d\x34\x02\xb2\x0c\xb0\x41\x7f\x14\xef\x18\x4f\x5f\x53\x1f\x46\x95\xba\x48\x32\xa8\xb6\x39\x1b\x13\xf3\xab\xcd\xd2\xc0\x5b\x51\x68\xc3\x0f\xe3\xcd\xe8\x67\x7f\xf7\x38\x83\x6a\xa8\x5b\x7e\xf9\x01\x48\xb2\x55\x6b\x79\x0b\xd9\xbd\xa3\xd1\x08\xea\x37\xb0\x3a\xcf\xd0\x9a\x54\x4a\x8e\x85\x84\x36\x43\xf3\x13\x68\xcf\xc2\x26\xa9\x30\xdc\x74\x96\xed\x4c\x99\x66\xe3\xde\x92\x63\x79\x33\xee\x7b\xfd\xf1\x2b\xbf\xba\xc0\x23\x4a\x74\xe2\x89\xbd\xb3\x7a\x52\x2b\xd0\x47\xa1\x00\x7a\x36\x87\xa2\x1b\xc9\xb0\xcf\xf8\x08\x74\x27\x7d\x82\x5b\xdb\xab\x84\x5c\x1a\xc5\x04\x60\x56\x3d\x08\xb1\xe0\x4a\x7f\x10\x86\xe6\x77\x93\x19\x88\xd5\xcd\x6f\x97\x47\x06\xd6\x4f\x63\xe8\x44\x91\xb3\x02\x88\x8f\x8b\x8f\x0f\x42\x99\x7f\x5e\xdd\x25\x10\xf2\x6a\x0b\x16\xd7\x03\x8b\xec\x87\x13\x09\x38\x9c\xab\x6f\x57\x61\xa2\xb9\xf0\x01\x11\xbc\x44\x41\xbb\xfa\xde\x0e\xca\x7c\xea\x5b\x0b\x8d\xac\xa7\x36\xe6\x15\x05\x03\xaa\xe8\x79\xf7\x2d\x10\x83\x61\xca\x31\xba\xfb\xf4\xe0\xc2\xe9\xeb\xd7\xaf\x57\x26\x5b\xb0\x4c\x38\x89\x23\xa0\x0b\x4c\x59\x08\x8a\x2f\x7b\x76\x7b\x14\xf3\x98\x2e\x64\x2e\x7b\x3d\xd9\x4d\xc6\xf4\xb6\xb0\x11\x3c\x9d\x49\xf8\x0a\x3e\x16\x9c\x10\x60\x89\x35\x39\xff\xc3\x23\x7d\x6e\xcc\xf4\x92\x0a\x9b\x50\xa8\x60\xee\xd1\x27\xa2\x2f\xfe", 4096); struct csum_inet csum_1; csum_inet_init(&csum_1); csum_inet_update(&csum_1, (const uint8_t*)0x1000001a, 16); csum_inet_update(&csum_1, (const uint8_t*)0x1000002a, 16); uint32_t csum_1_chunk_2 = 0x12100000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_2, 4); uint32_t csum_1_chunk_3 = 0x3a000000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_3, 4); csum_inet_update(&csum_1, (const uint8_t*)0x1000022a, 4114); *(uint16_t*)0x1000022c = csum_inet_digest(&csum_1); break; case 11: memcpy((void*)0x10001240, "\xf2\x26\x33\x54\x5b\x41\xc4\xc2\xb1\xde\x3a\x0f\x4b\xbe\x11\x14\x00\x00\xc4\xc2\x31\xdc\x03\xc4\xc2\x4d\x96\x1c\x5f\x66\x0f\x38\x21\x47\x1e\xc4\xe1\x85\xd8\x71\x28\xc4\xc3\xc5\xcf\x8e\x0e\x08\x00\x00\xfe\xd1\x62\x00\xc4\xc2\x2d\x40\x11", 59); syz_execute_func(0x10001240); break; case 12: break; } } int main(void) { syscall(SYS_mmap, 0x10000000, 0x1000000, 7, 0x1012, -1, 0); use_temporary_dir(); do_sandbox_none(); return 0; } :381:11: error: use of undeclared identifier 'SYS___realpathat' syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); ^ 1 error generated. compiler invocation: clang [-o /tmp/syz-executor066380121 -DGOOS_freebsd=1 -DGOARCH_386=1 -DHOSTGOOS_freebsd=1 -x c - -m32 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -static -lc++ -Wno-overflow] --- FAIL: TestGenerate/freebsd/386/10 (1.87s) csource_test.go:123: opts: {Threaded:true Collide:false Repeat:true RepeatTimes:0 Procs:0 Sandbox:none Fault:false FaultCall:0 FaultNth:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false USB:false VhciInjection:false Wifi:false UseTmpDir:false HandleSegv:false Repro:false Trace:false} program: r0 = fcntl$dupfd(0xffffffffffffff9c, 0x11, 0xffffffffffffff9c) setsockopt$inet_sctp_SCTP_AUTOCLOSE(r0, 0x84, 0x5, &(0x7f0000000000)=0x5, 0x4) cap_rights_limit(r0, &(0x7f0000000040)=[0x6, 0xa9]) setsockopt$inet_sctp_SCTP_EVENTS(r0, 0x84, 0xc, &(0x7f0000000080)={0x20, 0x81, 0x3, 0x20, 0x20, 0xf7, 0xff, 0x7, 0x4, 0x40, 0x4}, 0xb) setsockopt$inet_sctp_SCTP_RESET_STREAMS(r0, 0x84, 0x901, &(0x7f00000000c0)={0x0, 0x9, 0x3, [0x1, 0xffff, 0x8000]}, 0xe) r1 = accept(r0, &(0x7f0000000100)=@un=@file={0x6e, 0x0, ""/108}, &(0x7f0000000180)=0x6e) __realpathat(r1, &(0x7f00000001c0)='./file0\x00', &(0x7f0000000200)=""/5, 0x5, 0x0) r2 = socket$inet_icmp_raw(0x2, 0x3, 0x1) fcntl$getown(r2, 0x5) getsockopt$inet6_sctp_SCTP_PRIMARY_ADDR(r1, 0x84, 0x7, &(0x7f0000000240)={@in6={{0x1c, 0x1c, 0x1, 0x7f, @loopback, 0xfffff9b1}}}, &(0x7f00000002c0)=0x80) syz_emit_ethernet(0x123c, &(0x7f0000000000)={@remote, @remote, [{[], {0x8100, 0x5, 0x1, 0x3}}], {@ipv6={0x86dd, {0x7, 0x6, "c3cb10", 0x1202, 0x2f, 0x1, @rand_addr="cdd9639d818e3c5354e423e67c0261ce", @rand_addr="9aa3a73eacf47f646cf70032c9d108ee", {[@hopopts={0x36, 0x1e, [], [@enc_lim={0x4, 0x1, 0x1}, @jumbo={0xc2, 0x4, 0x7}, @padn={0x1, 0x2, [0x0, 0x0]}, @generic={0xff, 0xe2, "6643d230d2ebee2da66799233fd3953c637fbff58a08fe47946de86f44bcf9e809d627768d7e38be69808921c800a8ca76dba12e6b01e8b0b852821fe46d8d1b863c6ed1f386d2779a2983036a403ec804bbc1ce77c679d945e9c0b836352e6f8ee210ede5f8eb2937afc8307287e8a27e8fc66de2ef50421840455126dc362d0994a2a2db619ca5b70f615b719413594471a2efad9e7e22a5400361abac231575d1b498781612296d932e4832dd0c9f6709c2f81038bbcde5c27832bae014b13b9b93b41374f997c188d74a33960b2b2948a2eb3211c2aca855f616f2223f4746ce"}, @enc_lim={0x4, 0x1, 0x1f}]}, @routing={0x31, 0x4, 0x0, 0x5, 0x0, [@ipv4={[], [], @broadcast}, @empty]}, @routing={0x58, 0x8, 0x1, 0x81, 0x0, [@local={0xfe, 0x80, [], 0x0}, @mcast1, @local={0xfe, 0x80, [], 0x0}, @loopback]}, @routing={0x59, 0xc, 0x0, 0x3, 0x0, [@rand_addr="d691f228498c816bd931bf11ea3cb358", @empty, @loopback, @rand_addr="4046fbe3c1e1669f072dd9ee3ba11696", @ipv4={[], [], @broadcast}, @mcast1]}, @fragment={0x27, 0x0, 0x91, 0x1, 0x0, 0x6, 0x66}, @hopopts={0x26, 0x0, [], [@ra={0x5, 0x2, 0x5}]}], @icmpv6=@ndisc_ra={0x86, 0x0, 0x0, 0x0, 0x9, 0x9, 0x401, 0x7fffffff, [{0x1, 0x200, "d145ff576d7fe933a6f7ae4bd47d7aec4360a335727c0267ff79e34d036694ea6d8de62ebb1941f6b9a95a6c95fa33d4a6ddfe3be408148daca556b6b4dfebef869da93cfa26fb8e16509febb321011f508eec7502824442d8620519d7ce359284ef093639001b689f9443260584dfaf819313726c4495ac4c3203aa603e26f374d696cdb36fb00e6c412edbefc16270c783d3a1ada35a07cd9225f21b9570f801a960e06d96556b9eaca234f12861444231c94aee6315fb199f69eebdf9fdb0bdb89902e0eb69bbdf9730aa371b84b02e9ab5f3a4f99f9205694f062460e286b1abef3936fdf183bd7c95a9d99b57827dea1814e0e2dc58a677f2ae6c73de4e27fe8856e417fd266088008abe5d38d74ea0bdc6d046c5d3f45e2ee47a440c5dfc30459b219bb3b1302feb6b36a6e524b1db70d57efe32823b0ad037a3c204c77748b85fd88abf24ef0717eac90e235d91764b48bb1dcc3c9177fc4b0fc997d3d4e90702872bf0d8702194e22577353e557c0041f106e5dee1d24f243ab7c07b4335a6886c04061e84966599b68c676e966008a7905f1706048334501a3608305330cb8b447a1698fa9646c73cd758871c1e8b96889ae3372a5fef5b03ef56d1608eae44a863b05991f626447730df97f33686e5cb72554a1a8ace8b530d3e60452352d9e93ed031852eb2dc87903a1346c3962ced8f4fd2c07e01843d19e253653fcc7eb3e710b546e1180844d95e67143def4619375d71173729dfabeecddd0239456fd1f563bedd3e8aa7bd29ce40bfb72e832324cf0e7ed960bc4cdd81a1d1c4d3a2f984218a8f7ce9288fb57b315c475a57c2d56743ba3987ad1fe69af5a391cdb9c8a551723340c3d1c989b5da33771f797e8993ef51546e9849ba61a3cb3babbc5b33fc9e883b3ee41e6d8c675841718b908092b2c4da4c1a78a17bee0c409d03cd8bed2d56a46ee7721b5659be3fa5cd0e89bceffaffaf1e95716adc762554c496a40282cb6d85f4e0e29fd76574001b893d0ffc8c94a187829e24546d890439547b81c18c4865be4cb57e06e319c5007d43459ec3aa20ce72f7883cbda6a303c343fbed7f62b2f2ac9f5d24842e8abae1c9e32954b0d0d60242891b1fae40d03283f33c0948e161fa2f9ffb77b72ce969718768282c45ae089faf80ecaff1658114a78d8b13833958a360fe8bead9b485d5dcc701812a559c6d04a22fe59d3f6fc0fcc7cbbbc4450a58bee99560579eff8d7846d062253d15d5e6b20a78134014323bc31f3dbfa53e2ede137e3c1129ba8db638a95972e1a7223504af10a149154fa581b9dbc516289cff0d655888592199c77fa553f07db009ee2a42c5412df9fe612d108ee2d595cbb0bf59776646cb7c83e3551a91c0aca05de20d0bfc6c1f8f5c9492f22e5714ea0cbab5763194996c818545c0997ff555e5d136aea50a7a93dc40340a725da5ca7ea45a483d2c9da67a254d6ebdb6e20270beb33373321d922375207bf54707e1d97d52a6930b4287cd0dc6d8d3346e388fe41fca91162739a30c97da08cc3f42b3f54382dcdef5d0e7670b8c98c0533bf6c53d58688d9b958b23a91a8a6f2ffad419e01e2bb776cc3213fef59a7034d835c022dad02994624c55855b09e266e416a66939fc3664e441b99d7ffa0b83bfd0b0d752de0baedc1746b4938201972253924b0a68641e7c935fbb4189e5fdc391a29e331151fe720bfbc06825ba0766e421a2613fc0b78ceeb3817f262c90f66e7cfa0533c17ac71b0b1f94ffb02e3807b6247e968cedb141206edf0ca6f98fd919fa5279fe208799d82ab3a70b9b4baea410dc7cb3933782d63fe42807cf0fa7f5c9ae0cd4d0a0294692d3629d9881dad532b34efd702d8eaf0ac20378e62b36460656e0e887c44959552c9620e9ec3e73fee5ca0e5a6dd767b7b7a97ac4c77e709ce7859f21f0be66c9be7f445fb15f7bf4c8124a567fbfe0d379f08cb1b816f4c720ef5e3a6a083b5be05694a0d3d3ac784fc4399b1ccb7482ca0a1182166403565a9f7d4b0b71cccd20b952aee3be5c9ab10663e08aa419c8dee91e6f9bc58377e949d7251a445e1a7f87933dbbac2703f5d111de77b9dc5de5a53b90ee18ef9ab6a154f3f2500df04124645a6f09edb80c2fed4f30ffc4659176a6d3633db7c6c6c7acdc9332fbfc34f63543f99c3e7283ab9a98e8073e2c1a3158158976f06a520975b2f565936521babdd27fce006d30f5d75053847e6124940f3ef663e7e12e206e8dccc221a2381a1762f3e6ebbd37eb7a5409498e19eeab8b75cfbd7522a3ef45a236ad0b7129154e44436bd8b8da1323469c150cd487746247d06f12ae67fa30dc79f4df5cc8c1f86e8b35689b5a2c32e50777cf132f14c4cd2fb8f3760a66ec723e29624f8a974953350ca8853239944e33727d5965e10c8da5a8fcb4033ea2f96cad4d33524d181844b5a6a2a3a0c0a3572e4354b5f0bb6c727bcf02d31f66742bcd3e3767c70b1fa695812896ed053934abee8dea4ca8242b1fe1409717ddca6676b358e7930dc927f688c22e2ae6296ff2ed3c8519f3f8d49c3a7183d4aa0da4e3c7a652d539bff9ab1952aa13c002a0a8e7128b4e4ab441fcc905a0f26f9f6b5fa31360d5c24845ad876577bb0e1fcfed3101aedf14a73c0ce03e36360c01eee27342c1fa46d72474cd519e57837c250cedf09a31e45deb383587c5aee4c36fe2a8df37240de321a6a1c6fc656b5e6b28ffa25f40a723a5d13cbe7b42b4f62f60ccfbaa4ffeb00ca3b6d94119c0594aa5e11af8055b10d1a5a9900bd25b850c993c3bd9a941bded209dc4c74e9421b84c81c624dfffd12f397cc79101da2aac938a23aa49908f3f1ff41fc60dba8240a04f0941784a2284aaebdcc8143910ab01780e463dfb8be387b99346fbf8676e7f3e92420502a98eaa6d710b064f016dce0d6dc41956aea4fc9f304394b321c78141ad4c8d6527d7e946cff3fe06b252ae992837f0a9b9be2fb5d6358e419f9f30c4358906a82685fc734d2d2497a152cbe965f7e3220d437a7e64e9d1cef4092d0f8e731910d04e15df205b130979e1b8710faa5804642ceca6667c9dfe3747ee43cd73466204470987d0e76af237218ccb37bd77a39a09918e74aaf597bd3fbd79bba735c5ce6e81c559c986bbf60755170b30474a9e7caa5e83a42f19f79b186ec3af3bf1112c00cf05bff72a0d1698a94a871c4e8a0797d4d7f3c3e7e2a27ca7b9386f16c0473395fe85b280f9aba2efdaa08bcc7f2f2c301e165d626c83285bddf052cba134df3bbdd1e8f46415bbb391e05b1e475f344c1012cca9a72fb122c25d7f85c92a74fe7350a909dfee05b8a87557ad0cbc5912dcbdf9373a5e413b8375df15d4d8a06f4ced1259a8165389acc897cfd01c0dbea278144d079440086f7febdcf7aa7eec023993df73d8d0d46163add80a7c686789331c15aa22c8cafd5df40d4561f6f24759eb3d6a97ea01a3a3368ea8b1cf6fff8bf58ac225528d7a17d21edfa6eacfc5aab6f785a0b3003ab6ee0de9423cd363b14d03e102f445b23c14a536d7b231243288f288da44f8a5e8bc1f13b8cec7cb6a2a569636163a098b2f40f45c43564f1aa8b916426e77510936202363fe0dd717450cca9e8cbde8dffc9b9e24d8bd3cf171e36f05c06334873110b9c2d1a3020b660aacb19682d771e02c4d80dbfcdd11edf7553abad4cd0cee0fc5e81e94c4810a2c497f3d0ffa21bf7a31b6a835daf1f609e23cd64f81c1716af85b9233b547e679c72755e6cbb1cb405d7a897fcaa8c815bbd5a2aecc89d69981f349af2f97edb5a6f4197d20eec8d4b0f3c2375b8839cf6858bbf101ee06aecb7516cc27d59a8bdc9b5b208aaa4b5c14a5251d9d232397dd8d0eb8855d3ae0625a254fb89779ab00b3af427454c6bf5cff225c2f77bac6e5997404f00a4079d2237d19aec130c03a771e126cec4bc0661c3f9fae365d617723024ef8802fc94a85ebb80144b165f9d4bc2a1f87ce048ea52858d65dd33b1320b697ed30299b1848835c616b0a687e887483127078433db991d662fa367421445be00af4c06a34e554b3efa0f8cf99d2e1740c3d23ae57f97e1d19770103d7ec6f17b085ee3ea95ee6c74c3753628d0a97b440d38c139fd8974f049e3b4a8e83dae7c626d0139f92c69a92975270456cf7640c4b0ea0c3f5f2bdffd9a0cca3acadc2f2789bd59109059ff454bf742da9933f66e004da866be462ba3a2e42a2302407e822791b782164c795b1712a2c1d957e37703a328ae14628884c76ed83d08710a6212dd13cc466ac8f4b8c65e8ad647261e41786dac815c47299ff9b572579c2b5a27af372358c3f2ba4c11f86cab07c65ca9f0f703554b162b73c3706add4f7e10d95b847ca798c092361b43e086569d402d55f72ca7aa78ee95d9343c381196bcf8f8cfb0b805d418d51ccab377f646b3934b4c6773ba4cd975a0f12084a337d435d4611550656345f83cba264a958f7ac218c63821b22b8bd1ac3684d6dcc3b71e445d5707b9a5a6ba9e7fc2405b259a6531e937b8ea4ac7f8fa8aaff40c570fa5bd488e289b73e0a05e94ce0bba7e4b2f2cd8b3a3fdf91eb5ea2b004f91500d84bfd36199f9aa9a0b3f66af816f0b9b462d79602a12e705ec62c00cecb61070e09bb25d49076bf75011ce19d4ea7ff6ef6ddc4fffcc134c81bf5bda49f66616792e3fbf0953d9a0c25dc36b245046c01ff8f98975329624f3c9eac958236daa0aa026996840d48dc633cebb5ef484ba7cdf1b76a27a803c4ea464eb30c5573147ba783f0e42869bfa9970b61d5ed05b790f6a93bab2f939eefc9efad8677e59a037e3ab2303ce97ffd53e3ce3369ba4c48eceb3aaedcb4089a97eb59fc9788204739d5e6df7c8dc326994bdcd1803cb4b521ff6647de9590dfcb2c570510a619118703e82e7e45a54e287a8c734d0294a8b2cd07ffa32e400edcd5bbf86b2dd2f09c2b72018b17e54debad47b839e98cebead5ce68a439e5eb427945dfdd168ac7026a5c9c33c6c3ce0b98f832d7ad16aecdb01891904f6042a4c98e5f41209b4488e6c99ef116f43c489f51e306476642194fe0535077c94fc80c5aba2e26e61c77b1fc5fe9dad47968bb4114baa614d234e3b0be0d5abec9e60d72c6956a797809b51e16b6f49029d2f4b2266d3a8b9b567099b556c2685a00bd84238a9080aa022c357ad6d454bd7594a029eb4284a973b48e6392f425b70301b8c51477500490b765c6b70015bdd99f51c2d1995d80ba04508d6e66eb56695cccf63d50cc40b02c80c3886ce75d8a02abbb7149daced8ff3e8dfc169fb46031c4c0f19060daba08d35d3402b20cb0417f14ef184f5f531f4695ba4832a8b6391b13f3abcdd2c05b5168c30fe3cde8677ff738836aa85b7ef90148b2556b790bd9bda3d108ea37b03acfd09a544a8e85843643f31368cfc226a930dc7496ed4c9966e3de92637933ee7bfdf12bbfbac0234a74e289bdb37a522bd047a1007a3687a21bc9b0cff80874277d825bdbab845c1ac50460563d08b1e04a7f1086e677931988d5cd6f974706d64f63e84491b302888f8b8f0f42997f5edd2510f26a0b16d7038bec871309389cab6f5761a2b9f00111bc4441bbfade0eca7cea5b0b8daca736e6150503aae879f72d108361ca31bafbf4e0c2e9ebd7af57265bb04c388923a00b4c59088a2f7b767b14f3982e642e7b3dd94dc6f4b6b0113c9d49f80a3e169c1060893539ffc3237d6eccf4920a9b50a860eed127a22ffe"}]}}}}}}) syz_execute_func(&(0x7f0000001240)="f22633545b41c4c2b1de3a0f4bbe11140000c4c231dc03c4c24d961c5f660f3821471ec4e185d87128c4c3c5cf8e0e080000fed16200c4c22d4011") syz_extract_tcp_res(&(0x7f0000001280), 0x26e, 0x1) csource_test.go:124: failed to build program: // 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 static void kill_and_wait(int pid, int* status) { kill(pid, SIGKILL); while (waitpid(-1, status, 0) != pid) { } } static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void thread_start(void* (*fn)(void*), void* arg) { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 128 << 10); int i = 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); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); ev->state = 0; } static void event_reset(event_t* ev) { ev->state = 0; } static void event_set(event_t* ev) { pthread_mutex_lock(&ev->mu); if (ev->state) exit(1); ev->state = 1; pthread_mutex_unlock(&ev->mu); pthread_cond_broadcast(&ev->cv); } static void event_wait(event_t* ev) { pthread_mutex_lock(&ev->mu); while (!ev->state) pthread_cond_wait(&ev->cv, &ev->mu); pthread_mutex_unlock(&ev->mu); } static int event_isset(event_t* ev) { pthread_mutex_lock(&ev->mu); int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } static int event_timedwait(event_t* ev, uint64_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #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)))) struct csum_inet { uint32_t acc; }; static void csum_inet_init(struct csum_inet* csum) { csum->acc = 0; } static void csum_inet_update(struct csum_inet* csum, const uint8_t* data, size_t length) { if (length == 0) return; size_t i = 0; for (; i < length - 1; i += 2) csum->acc += *(uint16_t*)&data[i]; if (length & 1) csum->acc += le16toh((uint16_t)data[length - 1]); while (csum->acc > 0xffff) csum->acc = (csum->acc & 0xffff) + (csum->acc >> 16); } static uint16_t csum_inet_digest(struct csum_inet* csum) { return ~csum->acc; } static void sandbox_common() { if (setsid() == -1) exit(1); struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = 128 << 20; setrlimit(RLIMIT_AS, &rlim); rlim.rlim_cur = rlim.rlim_max = 8 << 20; setrlimit(RLIMIT_MEMLOCK, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_FSIZE, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_STACK, &rlim); rlim.rlim_cur = rlim.rlim_max = 0; setrlimit(RLIMIT_CORE, &rlim); rlim.rlim_cur = rlim.rlim_max = 256; setrlimit(RLIMIT_NOFILE, &rlim); } static void loop(); static int do_sandbox_none(void) { sandbox_common(); loop(); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } struct thread_t { int created, call; event_t ready, done; }; static struct thread_t threads[16]; static void execute_call(int call); static int running; static void* thr(void* arg) { struct thread_t* th = (struct thread_t*)arg; for (;;) { event_wait(&th->ready); event_reset(&th->ready); execute_call(th->call); __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); event_set(&th->done); } return 0; } static void execute_one(void) { int i, call, thread; for (call = 0; call < 13; 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, 45); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); #define WAIT_FLAGS 0 static void loop(void) { int iter = 0; for (;; iter++) { int pid = fork(); if (pid < 0) exit(1); if (pid == 0) { execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5 * 1000) continue; kill_and_wait(pid, &status); break; } } } uint64_t r[3] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: res = syscall(SYS_fcntl, 0xffffff9c, 0x11, 0xffffff9c); if (res != -1) r[0] = res; break; case 1: *(uint32_t*)0x10000000 = 5; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 5, 0x10000000, 4); break; case 2: *(uint64_t*)0x10000040 = 6; *(uint64_t*)0x10000048 = 0xa9; syscall(SYS_cap_rights_limit, (intptr_t)r[0], 0x10000040); break; case 3: *(uint8_t*)0x10000080 = 0x20; *(uint8_t*)0x10000081 = 0x81; *(uint8_t*)0x10000082 = 3; *(uint8_t*)0x10000083 = 0x20; *(uint8_t*)0x10000084 = 0x20; *(uint8_t*)0x10000085 = 0xf7; *(uint8_t*)0x10000086 = -1; *(uint8_t*)0x10000087 = 7; *(uint8_t*)0x10000088 = 4; *(uint8_t*)0x10000089 = 0x40; *(uint8_t*)0x1000008a = 4; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0xc, 0x10000080, 0xb); break; case 4: *(uint32_t*)0x100000c0 = 0; *(uint16_t*)0x100000c4 = 9; *(uint16_t*)0x100000c6 = 3; *(uint16_t*)0x100000c8 = 1; *(uint16_t*)0x100000ca = -1; *(uint16_t*)0x100000cc = 0x8000; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0x901, 0x100000c0, 0xe); break; case 5: *(uint32_t*)0x10000180 = 0x6e; res = syscall(SYS_accept, (intptr_t)r[0], 0x10000100, 0x10000180); if (res != -1) r[1] = res; break; case 6: memcpy((void*)0x100001c0, "./file0\000", 8); syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); break; case 7: res = syscall(SYS_socket, 2, 3, 1); if (res != -1) r[2] = res; break; case 8: syscall(SYS_fcntl, (intptr_t)r[2], 5, 0); break; case 9: *(uint8_t*)0x10000240 = 0x1c; *(uint8_t*)0x10000241 = 0x1c; *(uint16_t*)0x10000242 = htobe16(0x4e21); *(uint32_t*)0x10000244 = 0x7f; *(uint64_t*)0x10000248 = htobe64(0); *(uint64_t*)0x10000250 = htobe64(1); *(uint32_t*)0x10000258 = 0xfffff9b1; *(uint64_t*)0x1000025c = 0; *(uint64_t*)0x10000264 = 0; *(uint64_t*)0x1000026c = 0; *(uint64_t*)0x10000274 = 0; *(uint64_t*)0x1000027c = 0; *(uint64_t*)0x10000284 = 0; *(uint64_t*)0x1000028c = 0; *(uint64_t*)0x10000294 = 0; *(uint64_t*)0x1000029c = 0; *(uint64_t*)0x100002a4 = 0; *(uint64_t*)0x100002ac = 0; *(uint64_t*)0x100002b4 = 0; *(uint32_t*)0x100002bc = 0; *(uint32_t*)0x100002c0 = 0x80; syscall(SYS_getsockopt, (intptr_t)r[1], 0x84, 7, 0x10000240, 0x100002c0); break; case 10: *(uint8_t*)0x10000000 = 0xaa; *(uint8_t*)0x10000001 = 0xaa; *(uint8_t*)0x10000002 = 0xaa; *(uint8_t*)0x10000003 = 0xaa; *(uint8_t*)0x10000004 = 0xaa; *(uint8_t*)0x10000005 = 0xbb; *(uint8_t*)0x10000006 = 0xaa; *(uint8_t*)0x10000007 = 0xaa; *(uint8_t*)0x10000008 = 0xaa; *(uint8_t*)0x10000009 = 0xaa; *(uint8_t*)0x1000000a = 0xaa; *(uint8_t*)0x1000000b = 0xbb; *(uint16_t*)0x1000000c = htobe16(0x8100); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 5, 0, 3); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 1, 3, 1); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 3, 4, 12); *(uint16_t*)0x10000010 = htobe16(0x86dd); STORE_BY_BITMASK(uint8_t, , 0x10000012, 7, 0, 4); STORE_BY_BITMASK(uint8_t, , 0x10000012, 6, 4, 4); memcpy((void*)0x10000013, "\xc3\xcb\x10", 3); *(uint16_t*)0x10000016 = htobe16(0x1202); *(uint8_t*)0x10000018 = 0x2f; *(uint8_t*)0x10000019 = 1; memcpy((void*)0x1000001a, "\xcd\xd9\x63\x9d\x81\x8e\x3c\x53\x54\xe4\x23\xe6\x7c\x02\x61\xce", 16); memcpy((void*)0x1000002a, "\x9a\xa3\xa7\x3e\xac\xf4\x7f\x64\x6c\xf7\x00\x32\xc9\xd1\x08\xee", 16); *(uint8_t*)0x1000003a = 0x36; *(uint8_t*)0x1000003b = 0x1e; *(uint8_t*)0x1000003c = 0; *(uint8_t*)0x1000003d = 0; *(uint8_t*)0x1000003e = 0; *(uint8_t*)0x1000003f = 0; *(uint8_t*)0x10000040 = 0; *(uint8_t*)0x10000041 = 0; *(uint8_t*)0x10000042 = 4; *(uint8_t*)0x10000043 = 1; *(uint8_t*)0x10000044 = 1; *(uint8_t*)0x10000045 = 0xc2; *(uint8_t*)0x10000046 = 4; *(uint32_t*)0x10000047 = htobe32(7); *(uint8_t*)0x1000004b = 1; *(uint8_t*)0x1000004c = 2; *(uint8_t*)0x1000004d = 0; *(uint8_t*)0x1000004e = 0; *(uint8_t*)0x1000004f = -1; *(uint8_t*)0x10000050 = 0xe2; memcpy((void*)0x10000051, "\x66\x43\xd2\x30\xd2\xeb\xee\x2d\xa6\x67\x99\x23\x3f\xd3\x95\x3c\x63\x7f\xbf\xf5\x8a\x08\xfe\x47\x94\x6d\xe8\x6f\x44\xbc\xf9\xe8\x09\xd6\x27\x76\x8d\x7e\x38\xbe\x69\x80\x89\x21\xc8\x00\xa8\xca\x76\xdb\xa1\x2e\x6b\x01\xe8\xb0\xb8\x52\x82\x1f\xe4\x6d\x8d\x1b\x86\x3c\x6e\xd1\xf3\x86\xd2\x77\x9a\x29\x83\x03\x6a\x40\x3e\xc8\x04\xbb\xc1\xce\x77\xc6\x79\xd9\x45\xe9\xc0\xb8\x36\x35\x2e\x6f\x8e\xe2\x10\xed\xe5\xf8\xeb\x29\x37\xaf\xc8\x30\x72\x87\xe8\xa2\x7e\x8f\xc6\x6d\xe2\xef\x50\x42\x18\x40\x45\x51\x26\xdc\x36\x2d\x09\x94\xa2\xa2\xdb\x61\x9c\xa5\xb7\x0f\x61\x5b\x71\x94\x13\x59\x44\x71\xa2\xef\xad\x9e\x7e\x22\xa5\x40\x03\x61\xab\xac\x23\x15\x75\xd1\xb4\x98\x78\x16\x12\x29\x6d\x93\x2e\x48\x32\xdd\x0c\x9f\x67\x09\xc2\xf8\x10\x38\xbb\xcd\xe5\xc2\x78\x32\xba\xe0\x14\xb1\x3b\x9b\x93\xb4\x13\x74\xf9\x97\xc1\x88\xd7\x4a\x33\x96\x0b\x2b\x29\x48\xa2\xeb\x32\x11\xc2\xac\xa8\x55\xf6\x16\xf2\x22\x3f\x47\x46\xce", 226); *(uint8_t*)0x10000133 = 4; *(uint8_t*)0x10000134 = 1; *(uint8_t*)0x10000135 = 0x1f; *(uint8_t*)0x1000013a = 0x31; *(uint8_t*)0x1000013b = 4; *(uint8_t*)0x1000013c = 0; *(uint8_t*)0x1000013d = 5; *(uint32_t*)0x1000013e = 0; *(uint8_t*)0x10000142 = 0; *(uint8_t*)0x10000143 = 0; *(uint8_t*)0x10000144 = 0; *(uint8_t*)0x10000145 = 0; *(uint8_t*)0x10000146 = 0; *(uint8_t*)0x10000147 = 0; *(uint8_t*)0x10000148 = 0; *(uint8_t*)0x10000149 = 0; *(uint8_t*)0x1000014a = 0; *(uint8_t*)0x1000014b = 0; *(uint8_t*)0x1000014c = -1; *(uint8_t*)0x1000014d = -1; *(uint32_t*)0x1000014e = htobe32(-1); *(uint8_t*)0x10000152 = 0; *(uint8_t*)0x10000153 = 0; *(uint8_t*)0x10000154 = 0; *(uint8_t*)0x10000155 = 0; *(uint8_t*)0x10000156 = 0; *(uint8_t*)0x10000157 = 0; *(uint8_t*)0x10000158 = 0; *(uint8_t*)0x10000159 = 0; *(uint8_t*)0x1000015a = 0; *(uint8_t*)0x1000015b = 0; *(uint8_t*)0x1000015c = 0; *(uint8_t*)0x1000015d = 0; *(uint8_t*)0x1000015e = 0; *(uint8_t*)0x1000015f = 0; *(uint8_t*)0x10000160 = 0; *(uint8_t*)0x10000161 = 0; *(uint8_t*)0x10000162 = 0x58; *(uint8_t*)0x10000163 = 8; *(uint8_t*)0x10000164 = 1; *(uint8_t*)0x10000165 = 0x81; *(uint32_t*)0x10000166 = 0; *(uint8_t*)0x1000016a = 0xfe; *(uint8_t*)0x1000016b = 0x80; *(uint8_t*)0x1000016c = 0; *(uint8_t*)0x1000016d = 0; *(uint8_t*)0x1000016e = 0; *(uint8_t*)0x1000016f = 0; *(uint8_t*)0x10000170 = 0; *(uint8_t*)0x10000171 = 0; *(uint8_t*)0x10000172 = 0; *(uint8_t*)0x10000173 = 0; *(uint8_t*)0x10000174 = 0; *(uint8_t*)0x10000175 = 0; *(uint8_t*)0x10000176 = 0; *(uint8_t*)0x10000177 = 0; *(uint8_t*)0x10000178 = 0; *(uint8_t*)0x10000179 = 0xaa; *(uint8_t*)0x1000017a = -1; *(uint8_t*)0x1000017b = 1; *(uint8_t*)0x1000017c = 0; *(uint8_t*)0x1000017d = 0; *(uint8_t*)0x1000017e = 0; *(uint8_t*)0x1000017f = 0; *(uint8_t*)0x10000180 = 0; *(uint8_t*)0x10000181 = 0; *(uint8_t*)0x10000182 = 0; *(uint8_t*)0x10000183 = 0; *(uint8_t*)0x10000184 = 0; *(uint8_t*)0x10000185 = 0; *(uint8_t*)0x10000186 = 0; *(uint8_t*)0x10000187 = 0; *(uint8_t*)0x10000188 = 0; *(uint8_t*)0x10000189 = 1; *(uint8_t*)0x1000018a = 0xfe; *(uint8_t*)0x1000018b = 0x80; *(uint8_t*)0x1000018c = 0; *(uint8_t*)0x1000018d = 0; *(uint8_t*)0x1000018e = 0; *(uint8_t*)0x1000018f = 0; *(uint8_t*)0x10000190 = 0; *(uint8_t*)0x10000191 = 0; *(uint8_t*)0x10000192 = 0; *(uint8_t*)0x10000193 = 0; *(uint8_t*)0x10000194 = 0; *(uint8_t*)0x10000195 = 0; *(uint8_t*)0x10000196 = 0; *(uint8_t*)0x10000197 = 0; *(uint8_t*)0x10000198 = 0; *(uint8_t*)0x10000199 = 0xaa; *(uint64_t*)0x1000019a = htobe64(0); *(uint64_t*)0x100001a2 = htobe64(1); *(uint8_t*)0x100001aa = 0x59; *(uint8_t*)0x100001ab = 0xc; *(uint8_t*)0x100001ac = 0; *(uint8_t*)0x100001ad = 3; *(uint32_t*)0x100001ae = 0; memcpy((void*)0x100001b2, "\xd6\x91\xf2\x28\x49\x8c\x81\x6b\xd9\x31\xbf\x11\xea\x3c\xb3\x58", 16); *(uint8_t*)0x100001c2 = 0; *(uint8_t*)0x100001c3 = 0; *(uint8_t*)0x100001c4 = 0; *(uint8_t*)0x100001c5 = 0; *(uint8_t*)0x100001c6 = 0; *(uint8_t*)0x100001c7 = 0; *(uint8_t*)0x100001c8 = 0; *(uint8_t*)0x100001c9 = 0; *(uint8_t*)0x100001ca = 0; *(uint8_t*)0x100001cb = 0; *(uint8_t*)0x100001cc = 0; *(uint8_t*)0x100001cd = 0; *(uint8_t*)0x100001ce = 0; *(uint8_t*)0x100001cf = 0; *(uint8_t*)0x100001d0 = 0; *(uint8_t*)0x100001d1 = 0; *(uint64_t*)0x100001d2 = htobe64(0); *(uint64_t*)0x100001da = htobe64(1); memcpy((void*)0x100001e2, "\x40\x46\xfb\xe3\xc1\xe1\x66\x9f\x07\x2d\xd9\xee\x3b\xa1\x16\x96", 16); *(uint8_t*)0x100001f2 = 0; *(uint8_t*)0x100001f3 = 0; *(uint8_t*)0x100001f4 = 0; *(uint8_t*)0x100001f5 = 0; *(uint8_t*)0x100001f6 = 0; *(uint8_t*)0x100001f7 = 0; *(uint8_t*)0x100001f8 = 0; *(uint8_t*)0x100001f9 = 0; *(uint8_t*)0x100001fa = 0; *(uint8_t*)0x100001fb = 0; *(uint8_t*)0x100001fc = -1; *(uint8_t*)0x100001fd = -1; *(uint32_t*)0x100001fe = htobe32(-1); *(uint8_t*)0x10000202 = -1; *(uint8_t*)0x10000203 = 1; *(uint8_t*)0x10000204 = 0; *(uint8_t*)0x10000205 = 0; *(uint8_t*)0x10000206 = 0; *(uint8_t*)0x10000207 = 0; *(uint8_t*)0x10000208 = 0; *(uint8_t*)0x10000209 = 0; *(uint8_t*)0x1000020a = 0; *(uint8_t*)0x1000020b = 0; *(uint8_t*)0x1000020c = 0; *(uint8_t*)0x1000020d = 0; *(uint8_t*)0x1000020e = 0; *(uint8_t*)0x1000020f = 0; *(uint8_t*)0x10000210 = 0; *(uint8_t*)0x10000211 = 1; *(uint8_t*)0x10000212 = 0x27; *(uint8_t*)0x10000213 = 0; *(uint8_t*)0x10000214 = 0x91; STORE_BY_BITMASK(uint8_t, , 0x10000215, 1, 0, 1); STORE_BY_BITMASK(uint8_t, , 0x10000215, 0, 1, 2); STORE_BY_BITMASK(uint8_t, , 0x10000215, 6, 3, 5); *(uint32_t*)0x10000216 = 0x66; *(uint8_t*)0x1000021a = 0x26; *(uint8_t*)0x1000021b = 0; *(uint8_t*)0x1000021c = 0; *(uint8_t*)0x1000021d = 0; *(uint8_t*)0x1000021e = 0; *(uint8_t*)0x1000021f = 0; *(uint8_t*)0x10000220 = 0; *(uint8_t*)0x10000221 = 0; *(uint8_t*)0x10000222 = 5; *(uint8_t*)0x10000223 = 2; *(uint16_t*)0x10000224 = htobe16(5); *(uint8_t*)0x1000022a = 0x86; *(uint8_t*)0x1000022b = 0; *(uint16_t*)0x1000022c = htobe16(0); *(uint8_t*)0x1000022e = 0; *(uint8_t*)0x1000022f = 9; *(uint16_t*)0x10000230 = htobe16(9); *(uint32_t*)0x10000232 = htobe32(0x401); *(uint32_t*)0x10000236 = htobe32(0x7fffffff); *(uint8_t*)0x1000023a = 1; *(uint8_t*)0x1000023b = 0; memcpy((void*)0x1000023c, "\xd1\x45\xff\x57\x6d\x7f\xe9\x33\xa6\xf7\xae\x4b\xd4\x7d\x7a\xec\x43\x60\xa3\x35\x72\x7c\x02\x67\xff\x79\xe3\x4d\x03\x66\x94\xea\x6d\x8d\xe6\x2e\xbb\x19\x41\xf6\xb9\xa9\x5a\x6c\x95\xfa\x33\xd4\xa6\xdd\xfe\x3b\xe4\x08\x14\x8d\xac\xa5\x56\xb6\xb4\xdf\xeb\xef\x86\x9d\xa9\x3c\xfa\x26\xfb\x8e\x16\x50\x9f\xeb\xb3\x21\x01\x1f\x50\x8e\xec\x75\x02\x82\x44\x42\xd8\x62\x05\x19\xd7\xce\x35\x92\x84\xef\x09\x36\x39\x00\x1b\x68\x9f\x94\x43\x26\x05\x84\xdf\xaf\x81\x93\x13\x72\x6c\x44\x95\xac\x4c\x32\x03\xaa\x60\x3e\x26\xf3\x74\xd6\x96\xcd\xb3\x6f\xb0\x0e\x6c\x41\x2e\xdb\xef\xc1\x62\x70\xc7\x83\xd3\xa1\xad\xa3\x5a\x07\xcd\x92\x25\xf2\x1b\x95\x70\xf8\x01\xa9\x60\xe0\x6d\x96\x55\x6b\x9e\xac\xa2\x34\xf1\x28\x61\x44\x42\x31\xc9\x4a\xee\x63\x15\xfb\x19\x9f\x69\xee\xbd\xf9\xfd\xb0\xbd\xb8\x99\x02\xe0\xeb\x69\xbb\xdf\x97\x30\xaa\x37\x1b\x84\xb0\x2e\x9a\xb5\xf3\xa4\xf9\x9f\x92\x05\x69\x4f\x06\x24\x60\xe2\x86\xb1\xab\xef\x39\x36\xfd\xf1\x83\xbd\x7c\x95\xa9\xd9\x9b\x57\x82\x7d\xea\x18\x14\xe0\xe2\xdc\x58\xa6\x77\xf2\xae\x6c\x73\xde\x4e\x27\xfe\x88\x56\xe4\x17\xfd\x26\x60\x88\x00\x8a\xbe\x5d\x38\xd7\x4e\xa0\xbd\xc6\xd0\x46\xc5\xd3\xf4\x5e\x2e\xe4\x7a\x44\x0c\x5d\xfc\x30\x45\x9b\x21\x9b\xb3\xb1\x30\x2f\xeb\x6b\x36\xa6\xe5\x24\xb1\xdb\x70\xd5\x7e\xfe\x32\x82\x3b\x0a\xd0\x37\xa3\xc2\x04\xc7\x77\x48\xb8\x5f\xd8\x8a\xbf\x24\xef\x07\x17\xea\xc9\x0e\x23\x5d\x91\x76\x4b\x48\xbb\x1d\xcc\x3c\x91\x77\xfc\x4b\x0f\xc9\x97\xd3\xd4\xe9\x07\x02\x87\x2b\xf0\xd8\x70\x21\x94\xe2\x25\x77\x35\x3e\x55\x7c\x00\x41\xf1\x06\xe5\xde\xe1\xd2\x4f\x24\x3a\xb7\xc0\x7b\x43\x35\xa6\x88\x6c\x04\x06\x1e\x84\x96\x65\x99\xb6\x8c\x67\x6e\x96\x60\x08\xa7\x90\x5f\x17\x06\x04\x83\x34\x50\x1a\x36\x08\x30\x53\x30\xcb\x8b\x44\x7a\x16\x98\xfa\x96\x46\xc7\x3c\xd7\x58\x87\x1c\x1e\x8b\x96\x88\x9a\xe3\x37\x2a\x5f\xef\x5b\x03\xef\x56\xd1\x60\x8e\xae\x44\xa8\x63\xb0\x59\x91\xf6\x26\x44\x77\x30\xdf\x97\xf3\x36\x86\xe5\xcb\x72\x55\x4a\x1a\x8a\xce\x8b\x53\x0d\x3e\x60\x45\x23\x52\xd9\xe9\x3e\xd0\x31\x85\x2e\xb2\xdc\x87\x90\x3a\x13\x46\xc3\x96\x2c\xed\x8f\x4f\xd2\xc0\x7e\x01\x84\x3d\x19\xe2\x53\x65\x3f\xcc\x7e\xb3\xe7\x10\xb5\x46\xe1\x18\x08\x44\xd9\x5e\x67\x14\x3d\xef\x46\x19\x37\x5d\x71\x17\x37\x29\xdf\xab\xee\xcd\xdd\x02\x39\x45\x6f\xd1\xf5\x63\xbe\xdd\x3e\x8a\xa7\xbd\x29\xce\x40\xbf\xb7\x2e\x83\x23\x24\xcf\x0e\x7e\xd9\x60\xbc\x4c\xdd\x81\xa1\xd1\xc4\xd3\xa2\xf9\x84\x21\x8a\x8f\x7c\xe9\x28\x8f\xb5\x7b\x31\x5c\x47\x5a\x57\xc2\xd5\x67\x43\xba\x39\x87\xad\x1f\xe6\x9a\xf5\xa3\x91\xcd\xb9\xc8\xa5\x51\x72\x33\x40\xc3\xd1\xc9\x89\xb5\xda\x33\x77\x1f\x79\x7e\x89\x93\xef\x51\x54\x6e\x98\x49\xba\x61\xa3\xcb\x3b\xab\xbc\x5b\x33\xfc\x9e\x88\x3b\x3e\xe4\x1e\x6d\x8c\x67\x58\x41\x71\x8b\x90\x80\x92\xb2\xc4\xda\x4c\x1a\x78\xa1\x7b\xee\x0c\x40\x9d\x03\xcd\x8b\xed\x2d\x56\xa4\x6e\xe7\x72\x1b\x56\x59\xbe\x3f\xa5\xcd\x0e\x89\xbc\xef\xfa\xff\xaf\x1e\x95\x71\x6a\xdc\x76\x25\x54\xc4\x96\xa4\x02\x82\xcb\x6d\x85\xf4\xe0\xe2\x9f\xd7\x65\x74\x00\x1b\x89\x3d\x0f\xfc\x8c\x94\xa1\x87\x82\x9e\x24\x54\x6d\x89\x04\x39\x54\x7b\x81\xc1\x8c\x48\x65\xbe\x4c\xb5\x7e\x06\xe3\x19\xc5\x00\x7d\x43\x45\x9e\xc3\xaa\x20\xce\x72\xf7\x88\x3c\xbd\xa6\xa3\x03\xc3\x43\xfb\xed\x7f\x62\xb2\xf2\xac\x9f\x5d\x24\x84\x2e\x8a\xba\xe1\xc9\xe3\x29\x54\xb0\xd0\xd6\x02\x42\x89\x1b\x1f\xae\x40\xd0\x32\x83\xf3\x3c\x09\x48\xe1\x61\xfa\x2f\x9f\xfb\x77\xb7\x2c\xe9\x69\x71\x87\x68\x28\x2c\x45\xae\x08\x9f\xaf\x80\xec\xaf\xf1\x65\x81\x14\xa7\x8d\x8b\x13\x83\x39\x58\xa3\x60\xfe\x8b\xea\xd9\xb4\x85\xd5\xdc\xc7\x01\x81\x2a\x55\x9c\x6d\x04\xa2\x2f\xe5\x9d\x3f\x6f\xc0\xfc\xc7\xcb\xbb\xc4\x45\x0a\x58\xbe\xe9\x95\x60\x57\x9e\xff\x8d\x78\x46\xd0\x62\x25\x3d\x15\xd5\xe6\xb2\x0a\x78\x13\x40\x14\x32\x3b\xc3\x1f\x3d\xbf\xa5\x3e\x2e\xde\x13\x7e\x3c\x11\x29\xba\x8d\xb6\x38\xa9\x59\x72\xe1\xa7\x22\x35\x04\xaf\x10\xa1\x49\x15\x4f\xa5\x81\xb9\xdb\xc5\x16\x28\x9c\xff\x0d\x65\x58\x88\x59\x21\x99\xc7\x7f\xa5\x53\xf0\x7d\xb0\x09\xee\x2a\x42\xc5\x41\x2d\xf9\xfe\x61\x2d\x10\x8e\xe2\xd5\x95\xcb\xb0\xbf\x59\x77\x66\x46\xcb\x7c\x83\xe3\x55\x1a\x91\xc0\xac\xa0\x5d\xe2\x0d\x0b\xfc\x6c\x1f\x8f\x5c\x94\x92\xf2\x2e\x57\x14\xea\x0c\xba\xb5\x76\x31\x94\x99\x6c\x81\x85\x45\xc0\x99\x7f\xf5\x55\xe5\xd1\x36\xae\xa5\x0a\x7a\x93\xdc\x40\x34\x0a\x72\x5d\xa5\xca\x7e\xa4\x5a\x48\x3d\x2c\x9d\xa6\x7a\x25\x4d\x6e\xbd\xb6\xe2\x02\x70\xbe\xb3\x33\x73\x32\x1d\x92\x23\x75\x20\x7b\xf5\x47\x07\xe1\xd9\x7d\x52\xa6\x93\x0b\x42\x87\xcd\x0d\xc6\xd8\xd3\x34\x6e\x38\x8f\xe4\x1f\xca\x91\x16\x27\x39\xa3\x0c\x97\xda\x08\xcc\x3f\x42\xb3\xf5\x43\x82\xdc\xde\xf5\xd0\xe7\x67\x0b\x8c\x98\xc0\x53\x3b\xf6\xc5\x3d\x58\x68\x8d\x9b\x95\x8b\x23\xa9\x1a\x8a\x6f\x2f\xfa\xd4\x19\xe0\x1e\x2b\xb7\x76\xcc\x32\x13\xfe\xf5\x9a\x70\x34\xd8\x35\xc0\x22\xda\xd0\x29\x94\x62\x4c\x55\x85\x5b\x09\xe2\x66\xe4\x16\xa6\x69\x39\xfc\x36\x64\xe4\x41\xb9\x9d\x7f\xfa\x0b\x83\xbf\xd0\xb0\xd7\x52\xde\x0b\xae\xdc\x17\x46\xb4\x93\x82\x01\x97\x22\x53\x92\x4b\x0a\x68\x64\x1e\x7c\x93\x5f\xbb\x41\x89\xe5\xfd\xc3\x91\xa2\x9e\x33\x11\x51\xfe\x72\x0b\xfb\xc0\x68\x25\xba\x07\x66\xe4\x21\xa2\x61\x3f\xc0\xb7\x8c\xee\xb3\x81\x7f\x26\x2c\x90\xf6\x6e\x7c\xfa\x05\x33\xc1\x7a\xc7\x1b\x0b\x1f\x94\xff\xb0\x2e\x38\x07\xb6\x24\x7e\x96\x8c\xed\xb1\x41\x20\x6e\xdf\x0c\xa6\xf9\x8f\xd9\x19\xfa\x52\x79\xfe\x20\x87\x99\xd8\x2a\xb3\xa7\x0b\x9b\x4b\xae\xa4\x10\xdc\x7c\xb3\x93\x37\x82\xd6\x3f\xe4\x28\x07\xcf\x0f\xa7\xf5\xc9\xae\x0c\xd4\xd0\xa0\x29\x46\x92\xd3\x62\x9d\x98\x81\xda\xd5\x32\xb3\x4e\xfd\x70\x2d\x8e\xaf\x0a\xc2\x03\x78\xe6\x2b\x36\x46\x06\x56\xe0\xe8\x87\xc4\x49\x59\x55\x2c\x96\x20\xe9\xec\x3e\x73\xfe\xe5\xca\x0e\x5a\x6d\xd7\x67\xb7\xb7\xa9\x7a\xc4\xc7\x7e\x70\x9c\xe7\x85\x9f\x21\xf0\xbe\x66\xc9\xbe\x7f\x44\x5f\xb1\x5f\x7b\xf4\xc8\x12\x4a\x56\x7f\xbf\xe0\xd3\x79\xf0\x8c\xb1\xb8\x16\xf4\xc7\x20\xef\x5e\x3a\x6a\x08\x3b\x5b\xe0\x56\x94\xa0\xd3\xd3\xac\x78\x4f\xc4\x39\x9b\x1c\xcb\x74\x82\xca\x0a\x11\x82\x16\x64\x03\x56\x5a\x9f\x7d\x4b\x0b\x71\xcc\xcd\x20\xb9\x52\xae\xe3\xbe\x5c\x9a\xb1\x06\x63\xe0\x8a\xa4\x19\xc8\xde\xe9\x1e\x6f\x9b\xc5\x83\x77\xe9\x49\xd7\x25\x1a\x44\x5e\x1a\x7f\x87\x93\x3d\xbb\xac\x27\x03\xf5\xd1\x11\xde\x77\xb9\xdc\x5d\xe5\xa5\x3b\x90\xee\x18\xef\x9a\xb6\xa1\x54\xf3\xf2\x50\x0d\xf0\x41\x24\x64\x5a\x6f\x09\xed\xb8\x0c\x2f\xed\x4f\x30\xff\xc4\x65\x91\x76\xa6\xd3\x63\x3d\xb7\xc6\xc6\xc7\xac\xdc\x93\x32\xfb\xfc\x34\xf6\x35\x43\xf9\x9c\x3e\x72\x83\xab\x9a\x98\xe8\x07\x3e\x2c\x1a\x31\x58\x15\x89\x76\xf0\x6a\x52\x09\x75\xb2\xf5\x65\x93\x65\x21\xba\xbd\xd2\x7f\xce\x00\x6d\x30\xf5\xd7\x50\x53\x84\x7e\x61\x24\x94\x0f\x3e\xf6\x63\xe7\xe1\x2e\x20\x6e\x8d\xcc\xc2\x21\xa2\x38\x1a\x17\x62\xf3\xe6\xeb\xbd\x37\xeb\x7a\x54\x09\x49\x8e\x19\xee\xab\x8b\x75\xcf\xbd\x75\x22\xa3\xef\x45\xa2\x36\xad\x0b\x71\x29\x15\x4e\x44\x43\x6b\xd8\xb8\xda\x13\x23\x46\x9c\x15\x0c\xd4\x87\x74\x62\x47\xd0\x6f\x12\xae\x67\xfa\x30\xdc\x79\xf4\xdf\x5c\xc8\xc1\xf8\x6e\x8b\x35\x68\x9b\x5a\x2c\x32\xe5\x07\x77\xcf\x13\x2f\x14\xc4\xcd\x2f\xb8\xf3\x76\x0a\x66\xec\x72\x3e\x29\x62\x4f\x8a\x97\x49\x53\x35\x0c\xa8\x85\x32\x39\x94\x4e\x33\x72\x7d\x59\x65\xe1\x0c\x8d\xa5\xa8\xfc\xb4\x03\x3e\xa2\xf9\x6c\xad\x4d\x33\x52\x4d\x18\x18\x44\xb5\xa6\xa2\xa3\xa0\xc0\xa3\x57\x2e\x43\x54\xb5\xf0\xbb\x6c\x72\x7b\xcf\x02\xd3\x1f\x66\x74\x2b\xcd\x3e\x37\x67\xc7\x0b\x1f\xa6\x95\x81\x28\x96\xed\x05\x39\x34\xab\xee\x8d\xea\x4c\xa8\x24\x2b\x1f\xe1\x40\x97\x17\xdd\xca\x66\x76\xb3\x58\xe7\x93\x0d\xc9\x27\xf6\x88\xc2\x2e\x2a\xe6\x29\x6f\xf2\xed\x3c\x85\x19\xf3\xf8\xd4\x9c\x3a\x71\x83\xd4\xaa\x0d\xa4\xe3\xc7\xa6\x52\xd5\x39\xbf\xf9\xab\x19\x52\xaa\x13\xc0\x02\xa0\xa8\xe7\x12\x8b\x4e\x4a\xb4\x41\xfc\xc9\x05\xa0\xf2\x6f\x9f\x6b\x5f\xa3\x13\x60\xd5\xc2\x48\x45\xad\x87\x65\x77\xbb\x0e\x1f\xcf\xed\x31\x01\xae\xdf\x14\xa7\x3c\x0c\xe0\x3e\x36\x36\x0c\x01\xee\xe2\x73\x42\xc1\xfa\x46\xd7\x24\x74\xcd\x51\x9e\x57\x83\x7c\x25\x0c\xed\xf0\x9a\x31\xe4\x5d\xeb\x38\x35\x87\xc5\xae\xe4\xc3\x6f\xe2\xa8\xdf\x37\x24\x0d\xe3\x21\xa6\xa1\xc6\xfc\x65\x6b\x5e\x6b\x28\xff\xa2\x5f\x40\xa7\x23\xa5\xd1\x3c\xbe\x7b\x42\xb4\xf6\x2f\x60\xcc\xfb\xaa\x4f\xfe\xb0\x0c\xa3\xb6\xd9\x41\x19\xc0\x59\x4a\xa5\xe1\x1a\xf8\x05\x5b\x10\xd1\xa5\xa9\x90\x0b\xd2\x5b\x85\x0c\x99\x3c\x3b\xd9\xa9\x41\xbd\xed\x20\x9d\xc4\xc7\x4e\x94\x21\xb8\x4c\x81\xc6\x24\xdf\xff\xd1\x2f\x39\x7c\xc7\x91\x01\xda\x2a\xac\x93\x8a\x23\xaa\x49\x90\x8f\x3f\x1f\xf4\x1f\xc6\x0d\xba\x82\x40\xa0\x4f\x09\x41\x78\x4a\x22\x84\xaa\xeb\xdc\xc8\x14\x39\x10\xab\x01\x78\x0e\x46\x3d\xfb\x8b\xe3\x87\xb9\x93\x46\xfb\xf8\x67\x6e\x7f\x3e\x92\x42\x05\x02\xa9\x8e\xaa\x6d\x71\x0b\x06\x4f\x01\x6d\xce\x0d\x6d\xc4\x19\x56\xae\xa4\xfc\x9f\x30\x43\x94\xb3\x21\xc7\x81\x41\xad\x4c\x8d\x65\x27\xd7\xe9\x46\xcf\xf3\xfe\x06\xb2\x52\xae\x99\x28\x37\xf0\xa9\xb9\xbe\x2f\xb5\xd6\x35\x8e\x41\x9f\x9f\x30\xc4\x35\x89\x06\xa8\x26\x85\xfc\x73\x4d\x2d\x24\x97\xa1\x52\xcb\xe9\x65\xf7\xe3\x22\x0d\x43\x7a\x7e\x64\xe9\xd1\xce\xf4\x09\x2d\x0f\x8e\x73\x19\x10\xd0\x4e\x15\xdf\x20\x5b\x13\x09\x79\xe1\xb8\x71\x0f\xaa\x58\x04\x64\x2c\xec\xa6\x66\x7c\x9d\xfe\x37\x47\xee\x43\xcd\x73\x46\x62\x04\x47\x09\x87\xd0\xe7\x6a\xf2\x37\x21\x8c\xcb\x37\xbd\x77\xa3\x9a\x09\x91\x8e\x74\xaa\xf5\x97\xbd\x3f\xbd\x79\xbb\xa7\x35\xc5\xce\x6e\x81\xc5\x59\xc9\x86\xbb\xf6\x07\x55\x17\x0b\x30\x47\x4a\x9e\x7c\xaa\x5e\x83\xa4\x2f\x19\xf7\x9b\x18\x6e\xc3\xaf\x3b\xf1\x11\x2c\x00\xcf\x05\xbf\xf7\x2a\x0d\x16\x98\xa9\x4a\x87\x1c\x4e\x8a\x07\x97\xd4\xd7\xf3\xc3\xe7\xe2\xa2\x7c\xa7\xb9\x38\x6f\x16\xc0\x47\x33\x95\xfe\x85\xb2\x80\xf9\xab\xa2\xef\xda\xa0\x8b\xcc\x7f\x2f\x2c\x30\x1e\x16\x5d\x62\x6c\x83\x28\x5b\xdd\xf0\x52\xcb\xa1\x34\xdf\x3b\xbd\xd1\xe8\xf4\x64\x15\xbb\xb3\x91\xe0\x5b\x1e\x47\x5f\x34\x4c\x10\x12\xcc\xa9\xa7\x2f\xb1\x22\xc2\x5d\x7f\x85\xc9\x2a\x74\xfe\x73\x50\xa9\x09\xdf\xee\x05\xb8\xa8\x75\x57\xad\x0c\xbc\x59\x12\xdc\xbd\xf9\x37\x3a\x5e\x41\x3b\x83\x75\xdf\x15\xd4\xd8\xa0\x6f\x4c\xed\x12\x59\xa8\x16\x53\x89\xac\xc8\x97\xcf\xd0\x1c\x0d\xbe\xa2\x78\x14\x4d\x07\x94\x40\x08\x6f\x7f\xeb\xdc\xf7\xaa\x7e\xec\x02\x39\x93\xdf\x73\xd8\xd0\xd4\x61\x63\xad\xd8\x0a\x7c\x68\x67\x89\x33\x1c\x15\xaa\x22\xc8\xca\xfd\x5d\xf4\x0d\x45\x61\xf6\xf2\x47\x59\xeb\x3d\x6a\x97\xea\x01\xa3\xa3\x36\x8e\xa8\xb1\xcf\x6f\xff\x8b\xf5\x8a\xc2\x25\x52\x8d\x7a\x17\xd2\x1e\xdf\xa6\xea\xcf\xc5\xaa\xb6\xf7\x85\xa0\xb3\x00\x3a\xb6\xee\x0d\xe9\x42\x3c\xd3\x63\xb1\x4d\x03\xe1\x02\xf4\x45\xb2\x3c\x14\xa5\x36\xd7\xb2\x31\x24\x32\x88\xf2\x88\xda\x44\xf8\xa5\xe8\xbc\x1f\x13\xb8\xce\xc7\xcb\x6a\x2a\x56\x96\x36\x16\x3a\x09\x8b\x2f\x40\xf4\x5c\x43\x56\x4f\x1a\xa8\xb9\x16\x42\x6e\x77\x51\x09\x36\x20\x23\x63\xfe\x0d\xd7\x17\x45\x0c\xca\x9e\x8c\xbd\xe8\xdf\xfc\x9b\x9e\x24\xd8\xbd\x3c\xf1\x71\xe3\x6f\x05\xc0\x63\x34\x87\x31\x10\xb9\xc2\xd1\xa3\x02\x0b\x66\x0a\xac\xb1\x96\x82\xd7\x71\xe0\x2c\x4d\x80\xdb\xfc\xdd\x11\xed\xf7\x55\x3a\xba\xd4\xcd\x0c\xee\x0f\xc5\xe8\x1e\x94\xc4\x81\x0a\x2c\x49\x7f\x3d\x0f\xfa\x21\xbf\x7a\x31\xb6\xa8\x35\xda\xf1\xf6\x09\xe2\x3c\xd6\x4f\x81\xc1\x71\x6a\xf8\x5b\x92\x33\xb5\x47\xe6\x79\xc7\x27\x55\xe6\xcb\xb1\xcb\x40\x5d\x7a\x89\x7f\xca\xa8\xc8\x15\xbb\xd5\xa2\xae\xcc\x89\xd6\x99\x81\xf3\x49\xaf\x2f\x97\xed\xb5\xa6\xf4\x19\x7d\x20\xee\xc8\xd4\xb0\xf3\xc2\x37\x5b\x88\x39\xcf\x68\x58\xbb\xf1\x01\xee\x06\xae\xcb\x75\x16\xcc\x27\xd5\x9a\x8b\xdc\x9b\x5b\x20\x8a\xaa\x4b\x5c\x14\xa5\x25\x1d\x9d\x23\x23\x97\xdd\x8d\x0e\xb8\x85\x5d\x3a\xe0\x62\x5a\x25\x4f\xb8\x97\x79\xab\x00\xb3\xaf\x42\x74\x54\xc6\xbf\x5c\xff\x22\x5c\x2f\x77\xba\xc6\xe5\x99\x74\x04\xf0\x0a\x40\x79\xd2\x23\x7d\x19\xae\xc1\x30\xc0\x3a\x77\x1e\x12\x6c\xec\x4b\xc0\x66\x1c\x3f\x9f\xae\x36\x5d\x61\x77\x23\x02\x4e\xf8\x80\x2f\xc9\x4a\x85\xeb\xb8\x01\x44\xb1\x65\xf9\xd4\xbc\x2a\x1f\x87\xce\x04\x8e\xa5\x28\x58\xd6\x5d\xd3\x3b\x13\x20\xb6\x97\xed\x30\x29\x9b\x18\x48\x83\x5c\x61\x6b\x0a\x68\x7e\x88\x74\x83\x12\x70\x78\x43\x3d\xb9\x91\xd6\x62\xfa\x36\x74\x21\x44\x5b\xe0\x0a\xf4\xc0\x6a\x34\xe5\x54\xb3\xef\xa0\xf8\xcf\x99\xd2\xe1\x74\x0c\x3d\x23\xae\x57\xf9\x7e\x1d\x19\x77\x01\x03\xd7\xec\x6f\x17\xb0\x85\xee\x3e\xa9\x5e\xe6\xc7\x4c\x37\x53\x62\x8d\x0a\x97\xb4\x40\xd3\x8c\x13\x9f\xd8\x97\x4f\x04\x9e\x3b\x4a\x8e\x83\xda\xe7\xc6\x26\xd0\x13\x9f\x92\xc6\x9a\x92\x97\x52\x70\x45\x6c\xf7\x64\x0c\x4b\x0e\xa0\xc3\xf5\xf2\xbd\xff\xd9\xa0\xcc\xa3\xac\xad\xc2\xf2\x78\x9b\xd5\x91\x09\x05\x9f\xf4\x54\xbf\x74\x2d\xa9\x93\x3f\x66\xe0\x04\xda\x86\x6b\xe4\x62\xba\x3a\x2e\x42\xa2\x30\x24\x07\xe8\x22\x79\x1b\x78\x21\x64\xc7\x95\xb1\x71\x2a\x2c\x1d\x95\x7e\x37\x70\x3a\x32\x8a\xe1\x46\x28\x88\x4c\x76\xed\x83\xd0\x87\x10\xa6\x21\x2d\xd1\x3c\xc4\x66\xac\x8f\x4b\x8c\x65\xe8\xad\x64\x72\x61\xe4\x17\x86\xda\xc8\x15\xc4\x72\x99\xff\x9b\x57\x25\x79\xc2\xb5\xa2\x7a\xf3\x72\x35\x8c\x3f\x2b\xa4\xc1\x1f\x86\xca\xb0\x7c\x65\xca\x9f\x0f\x70\x35\x54\xb1\x62\xb7\x3c\x37\x06\xad\xd4\xf7\xe1\x0d\x95\xb8\x47\xca\x79\x8c\x09\x23\x61\xb4\x3e\x08\x65\x69\xd4\x02\xd5\x5f\x72\xca\x7a\xa7\x8e\xe9\x5d\x93\x43\xc3\x81\x19\x6b\xcf\x8f\x8c\xfb\x0b\x80\x5d\x41\x8d\x51\xcc\xab\x37\x7f\x64\x6b\x39\x34\xb4\xc6\x77\x3b\xa4\xcd\x97\x5a\x0f\x12\x08\x4a\x33\x7d\x43\x5d\x46\x11\x55\x06\x56\x34\x5f\x83\xcb\xa2\x64\xa9\x58\xf7\xac\x21\x8c\x63\x82\x1b\x22\xb8\xbd\x1a\xc3\x68\x4d\x6d\xcc\x3b\x71\xe4\x45\xd5\x70\x7b\x9a\x5a\x6b\xa9\xe7\xfc\x24\x05\xb2\x59\xa6\x53\x1e\x93\x7b\x8e\xa4\xac\x7f\x8f\xa8\xaa\xff\x40\xc5\x70\xfa\x5b\xd4\x88\xe2\x89\xb7\x3e\x0a\x05\xe9\x4c\xe0\xbb\xa7\xe4\xb2\xf2\xcd\x8b\x3a\x3f\xdf\x91\xeb\x5e\xa2\xb0\x04\xf9\x15\x00\xd8\x4b\xfd\x36\x19\x9f\x9a\xa9\xa0\xb3\xf6\x6a\xf8\x16\xf0\xb9\xb4\x62\xd7\x96\x02\xa1\x2e\x70\x5e\xc6\x2c\x00\xce\xcb\x61\x07\x0e\x09\xbb\x25\xd4\x90\x76\xbf\x75\x01\x1c\xe1\x9d\x4e\xa7\xff\x6e\xf6\xdd\xc4\xff\xfc\xc1\x34\xc8\x1b\xf5\xbd\xa4\x9f\x66\x61\x67\x92\xe3\xfb\xf0\x95\x3d\x9a\x0c\x25\xdc\x36\xb2\x45\x04\x6c\x01\xff\x8f\x98\x97\x53\x29\x62\x4f\x3c\x9e\xac\x95\x82\x36\xda\xa0\xaa\x02\x69\x96\x84\x0d\x48\xdc\x63\x3c\xeb\xb5\xef\x48\x4b\xa7\xcd\xf1\xb7\x6a\x27\xa8\x03\xc4\xea\x46\x4e\xb3\x0c\x55\x73\x14\x7b\xa7\x83\xf0\xe4\x28\x69\xbf\xa9\x97\x0b\x61\xd5\xed\x05\xb7\x90\xf6\xa9\x3b\xab\x2f\x93\x9e\xef\xc9\xef\xad\x86\x77\xe5\x9a\x03\x7e\x3a\xb2\x30\x3c\xe9\x7f\xfd\x53\xe3\xce\x33\x69\xba\x4c\x48\xec\xeb\x3a\xae\xdc\xb4\x08\x9a\x97\xeb\x59\xfc\x97\x88\x20\x47\x39\xd5\xe6\xdf\x7c\x8d\xc3\x26\x99\x4b\xdc\xd1\x80\x3c\xb4\xb5\x21\xff\x66\x47\xde\x95\x90\xdf\xcb\x2c\x57\x05\x10\xa6\x19\x11\x87\x03\xe8\x2e\x7e\x45\xa5\x4e\x28\x7a\x8c\x73\x4d\x02\x94\xa8\xb2\xcd\x07\xff\xa3\x2e\x40\x0e\xdc\xd5\xbb\xf8\x6b\x2d\xd2\xf0\x9c\x2b\x72\x01\x8b\x17\xe5\x4d\xeb\xad\x47\xb8\x39\xe9\x8c\xeb\xea\xd5\xce\x68\xa4\x39\xe5\xeb\x42\x79\x45\xdf\xdd\x16\x8a\xc7\x02\x6a\x5c\x9c\x33\xc6\xc3\xce\x0b\x98\xf8\x32\xd7\xad\x16\xae\xcd\xb0\x18\x91\x90\x4f\x60\x42\xa4\xc9\x8e\x5f\x41\x20\x9b\x44\x88\xe6\xc9\x9e\xf1\x16\xf4\x3c\x48\x9f\x51\xe3\x06\x47\x66\x42\x19\x4f\xe0\x53\x50\x77\xc9\x4f\xc8\x0c\x5a\xba\x2e\x26\xe6\x1c\x77\xb1\xfc\x5f\xe9\xda\xd4\x79\x68\xbb\x41\x14\xba\xa6\x14\xd2\x34\xe3\xb0\xbe\x0d\x5a\xbe\xc9\xe6\x0d\x72\xc6\x95\x6a\x79\x78\x09\xb5\x1e\x16\xb6\xf4\x90\x29\xd2\xf4\xb2\x26\x6d\x3a\x8b\x9b\x56\x70\x99\xb5\x56\xc2\x68\x5a\x00\xbd\x84\x23\x8a\x90\x80\xaa\x02\x2c\x35\x7a\xd6\xd4\x54\xbd\x75\x94\xa0\x29\xeb\x42\x84\xa9\x73\xb4\x8e\x63\x92\xf4\x25\xb7\x03\x01\xb8\xc5\x14\x77\x50\x04\x90\xb7\x65\xc6\xb7\x00\x15\xbd\xd9\x9f\x51\xc2\xd1\x99\x5d\x80\xba\x04\x50\x8d\x6e\x66\xeb\x56\x69\x5c\xcc\xf6\x3d\x50\xcc\x40\xb0\x2c\x80\xc3\x88\x6c\xe7\x5d\x8a\x02\xab\xbb\x71\x49\xda\xce\xd8\xff\x3e\x8d\xfc\x16\x9f\xb4\x60\x31\xc4\xc0\xf1\x90\x60\xda\xba\x08\xd3\x5d\x34\x02\xb2\x0c\xb0\x41\x7f\x14\xef\x18\x4f\x5f\x53\x1f\x46\x95\xba\x48\x32\xa8\xb6\x39\x1b\x13\xf3\xab\xcd\xd2\xc0\x5b\x51\x68\xc3\x0f\xe3\xcd\xe8\x67\x7f\xf7\x38\x83\x6a\xa8\x5b\x7e\xf9\x01\x48\xb2\x55\x6b\x79\x0b\xd9\xbd\xa3\xd1\x08\xea\x37\xb0\x3a\xcf\xd0\x9a\x54\x4a\x8e\x85\x84\x36\x43\xf3\x13\x68\xcf\xc2\x26\xa9\x30\xdc\x74\x96\xed\x4c\x99\x66\xe3\xde\x92\x63\x79\x33\xee\x7b\xfd\xf1\x2b\xbf\xba\xc0\x23\x4a\x74\xe2\x89\xbd\xb3\x7a\x52\x2b\xd0\x47\xa1\x00\x7a\x36\x87\xa2\x1b\xc9\xb0\xcf\xf8\x08\x74\x27\x7d\x82\x5b\xdb\xab\x84\x5c\x1a\xc5\x04\x60\x56\x3d\x08\xb1\xe0\x4a\x7f\x10\x86\xe6\x77\x93\x19\x88\xd5\xcd\x6f\x97\x47\x06\xd6\x4f\x63\xe8\x44\x91\xb3\x02\x88\x8f\x8b\x8f\x0f\x42\x99\x7f\x5e\xdd\x25\x10\xf2\x6a\x0b\x16\xd7\x03\x8b\xec\x87\x13\x09\x38\x9c\xab\x6f\x57\x61\xa2\xb9\xf0\x01\x11\xbc\x44\x41\xbb\xfa\xde\x0e\xca\x7c\xea\x5b\x0b\x8d\xac\xa7\x36\xe6\x15\x05\x03\xaa\xe8\x79\xf7\x2d\x10\x83\x61\xca\x31\xba\xfb\xf4\xe0\xc2\xe9\xeb\xd7\xaf\x57\x26\x5b\xb0\x4c\x38\x89\x23\xa0\x0b\x4c\x59\x08\x8a\x2f\x7b\x76\x7b\x14\xf3\x98\x2e\x64\x2e\x7b\x3d\xd9\x4d\xc6\xf4\xb6\xb0\x11\x3c\x9d\x49\xf8\x0a\x3e\x16\x9c\x10\x60\x89\x35\x39\xff\xc3\x23\x7d\x6e\xcc\xf4\x92\x0a\x9b\x50\xa8\x60\xee\xd1\x27\xa2\x2f\xfe", 4096); struct csum_inet csum_1; csum_inet_init(&csum_1); csum_inet_update(&csum_1, (const uint8_t*)0x1000001a, 16); csum_inet_update(&csum_1, (const uint8_t*)0x1000002a, 16); uint32_t csum_1_chunk_2 = 0x12100000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_2, 4); uint32_t csum_1_chunk_3 = 0x3a000000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_3, 4); csum_inet_update(&csum_1, (const uint8_t*)0x1000022a, 4114); *(uint16_t*)0x1000022c = csum_inet_digest(&csum_1); break; case 11: memcpy((void*)0x10001240, "\xf2\x26\x33\x54\x5b\x41\xc4\xc2\xb1\xde\x3a\x0f\x4b\xbe\x11\x14\x00\x00\xc4\xc2\x31\xdc\x03\xc4\xc2\x4d\x96\x1c\x5f\x66\x0f\x38\x21\x47\x1e\xc4\xe1\x85\xd8\x71\x28\xc4\xc3\xc5\xcf\x8e\x0e\x08\x00\x00\xfe\xd1\x62\x00\xc4\xc2\x2d\x40\x11", 59); syz_execute_func(0x10001240); break; case 12: break; } } int main(void) { syscall(SYS_mmap, 0x10000000, 0x1000000, 7, 0x1012, -1, 0); do_sandbox_none(); return 0; } :326:11: error: use of undeclared identifier 'SYS___realpathat' syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); ^ 1 error generated. compiler invocation: clang [-o /tmp/syz-executor545139638 -DGOOS_freebsd=1 -DGOARCH_386=1 -DHOSTGOOS_freebsd=1 -x c - -m32 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -static -lc++ -Wno-overflow] --- FAIL: TestGenerate/freebsd/386/7 (1.82s) csource_test.go:123: opts: {Threaded:true Collide:false Repeat:true RepeatTimes:0 Procs:0 Sandbox: Fault:false FaultCall:0 FaultNth:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false USB:false VhciInjection:false Wifi:false UseTmpDir:true HandleSegv:false Repro:false Trace:false} program: r0 = fcntl$dupfd(0xffffffffffffff9c, 0x11, 0xffffffffffffff9c) setsockopt$inet_sctp_SCTP_AUTOCLOSE(r0, 0x84, 0x5, &(0x7f0000000000)=0x5, 0x4) cap_rights_limit(r0, &(0x7f0000000040)=[0x6, 0xa9]) setsockopt$inet_sctp_SCTP_EVENTS(r0, 0x84, 0xc, &(0x7f0000000080)={0x20, 0x81, 0x3, 0x20, 0x20, 0xf7, 0xff, 0x7, 0x4, 0x40, 0x4}, 0xb) setsockopt$inet_sctp_SCTP_RESET_STREAMS(r0, 0x84, 0x901, &(0x7f00000000c0)={0x0, 0x9, 0x3, [0x1, 0xffff, 0x8000]}, 0xe) r1 = accept(r0, &(0x7f0000000100)=@un=@file={0x6e, 0x0, ""/108}, &(0x7f0000000180)=0x6e) __realpathat(r1, &(0x7f00000001c0)='./file0\x00', &(0x7f0000000200)=""/5, 0x5, 0x0) r2 = socket$inet_icmp_raw(0x2, 0x3, 0x1) fcntl$getown(r2, 0x5) getsockopt$inet6_sctp_SCTP_PRIMARY_ADDR(r1, 0x84, 0x7, &(0x7f0000000240)={@in6={{0x1c, 0x1c, 0x1, 0x7f, @loopback, 0xfffff9b1}}}, &(0x7f00000002c0)=0x80) syz_emit_ethernet(0x123c, &(0x7f0000000000)={@remote, @remote, [{[], {0x8100, 0x5, 0x1, 0x3}}], {@ipv6={0x86dd, {0x7, 0x6, "c3cb10", 0x1202, 0x2f, 0x1, @rand_addr="cdd9639d818e3c5354e423e67c0261ce", @rand_addr="9aa3a73eacf47f646cf70032c9d108ee", {[@hopopts={0x36, 0x1e, [], [@enc_lim={0x4, 0x1, 0x1}, @jumbo={0xc2, 0x4, 0x7}, @padn={0x1, 0x2, [0x0, 0x0]}, @generic={0xff, 0xe2, "6643d230d2ebee2da66799233fd3953c637fbff58a08fe47946de86f44bcf9e809d627768d7e38be69808921c800a8ca76dba12e6b01e8b0b852821fe46d8d1b863c6ed1f386d2779a2983036a403ec804bbc1ce77c679d945e9c0b836352e6f8ee210ede5f8eb2937afc8307287e8a27e8fc66de2ef50421840455126dc362d0994a2a2db619ca5b70f615b719413594471a2efad9e7e22a5400361abac231575d1b498781612296d932e4832dd0c9f6709c2f81038bbcde5c27832bae014b13b9b93b41374f997c188d74a33960b2b2948a2eb3211c2aca855f616f2223f4746ce"}, @enc_lim={0x4, 0x1, 0x1f}]}, @routing={0x31, 0x4, 0x0, 0x5, 0x0, [@ipv4={[], [], @broadcast}, @empty]}, @routing={0x58, 0x8, 0x1, 0x81, 0x0, [@local={0xfe, 0x80, [], 0x0}, @mcast1, @local={0xfe, 0x80, [], 0x0}, @loopback]}, @routing={0x59, 0xc, 0x0, 0x3, 0x0, [@rand_addr="d691f228498c816bd931bf11ea3cb358", @empty, @loopback, @rand_addr="4046fbe3c1e1669f072dd9ee3ba11696", @ipv4={[], [], @broadcast}, @mcast1]}, @fragment={0x27, 0x0, 0x91, 0x1, 0x0, 0x6, 0x66}, @hopopts={0x26, 0x0, [], [@ra={0x5, 0x2, 0x5}]}], @icmpv6=@ndisc_ra={0x86, 0x0, 0x0, 0x0, 0x9, 0x9, 0x401, 0x7fffffff, [{0x1, 0x200, "d145ff576d7fe933a6f7ae4bd47d7aec4360a335727c0267ff79e34d036694ea6d8de62ebb1941f6b9a95a6c95fa33d4a6ddfe3be408148daca556b6b4dfebef869da93cfa26fb8e16509febb321011f508eec7502824442d8620519d7ce359284ef093639001b689f9443260584dfaf819313726c4495ac4c3203aa603e26f374d696cdb36fb00e6c412edbefc16270c783d3a1ada35a07cd9225f21b9570f801a960e06d96556b9eaca234f12861444231c94aee6315fb199f69eebdf9fdb0bdb89902e0eb69bbdf9730aa371b84b02e9ab5f3a4f99f9205694f062460e286b1abef3936fdf183bd7c95a9d99b57827dea1814e0e2dc58a677f2ae6c73de4e27fe8856e417fd266088008abe5d38d74ea0bdc6d046c5d3f45e2ee47a440c5dfc30459b219bb3b1302feb6b36a6e524b1db70d57efe32823b0ad037a3c204c77748b85fd88abf24ef0717eac90e235d91764b48bb1dcc3c9177fc4b0fc997d3d4e90702872bf0d8702194e22577353e557c0041f106e5dee1d24f243ab7c07b4335a6886c04061e84966599b68c676e966008a7905f1706048334501a3608305330cb8b447a1698fa9646c73cd758871c1e8b96889ae3372a5fef5b03ef56d1608eae44a863b05991f626447730df97f33686e5cb72554a1a8ace8b530d3e60452352d9e93ed031852eb2dc87903a1346c3962ced8f4fd2c07e01843d19e253653fcc7eb3e710b546e1180844d95e67143def4619375d71173729dfabeecddd0239456fd1f563bedd3e8aa7bd29ce40bfb72e832324cf0e7ed960bc4cdd81a1d1c4d3a2f984218a8f7ce9288fb57b315c475a57c2d56743ba3987ad1fe69af5a391cdb9c8a551723340c3d1c989b5da33771f797e8993ef51546e9849ba61a3cb3babbc5b33fc9e883b3ee41e6d8c675841718b908092b2c4da4c1a78a17bee0c409d03cd8bed2d56a46ee7721b5659be3fa5cd0e89bceffaffaf1e95716adc762554c496a40282cb6d85f4e0e29fd76574001b893d0ffc8c94a187829e24546d890439547b81c18c4865be4cb57e06e319c5007d43459ec3aa20ce72f7883cbda6a303c343fbed7f62b2f2ac9f5d24842e8abae1c9e32954b0d0d60242891b1fae40d03283f33c0948e161fa2f9ffb77b72ce969718768282c45ae089faf80ecaff1658114a78d8b13833958a360fe8bead9b485d5dcc701812a559c6d04a22fe59d3f6fc0fcc7cbbbc4450a58bee99560579eff8d7846d062253d15d5e6b20a78134014323bc31f3dbfa53e2ede137e3c1129ba8db638a95972e1a7223504af10a149154fa581b9dbc516289cff0d655888592199c77fa553f07db009ee2a42c5412df9fe612d108ee2d595cbb0bf59776646cb7c83e3551a91c0aca05de20d0bfc6c1f8f5c9492f22e5714ea0cbab5763194996c818545c0997ff555e5d136aea50a7a93dc40340a725da5ca7ea45a483d2c9da67a254d6ebdb6e20270beb33373321d922375207bf54707e1d97d52a6930b4287cd0dc6d8d3346e388fe41fca91162739a30c97da08cc3f42b3f54382dcdef5d0e7670b8c98c0533bf6c53d58688d9b958b23a91a8a6f2ffad419e01e2bb776cc3213fef59a7034d835c022dad02994624c55855b09e266e416a66939fc3664e441b99d7ffa0b83bfd0b0d752de0baedc1746b4938201972253924b0a68641e7c935fbb4189e5fdc391a29e331151fe720bfbc06825ba0766e421a2613fc0b78ceeb3817f262c90f66e7cfa0533c17ac71b0b1f94ffb02e3807b6247e968cedb141206edf0ca6f98fd919fa5279fe208799d82ab3a70b9b4baea410dc7cb3933782d63fe42807cf0fa7f5c9ae0cd4d0a0294692d3629d9881dad532b34efd702d8eaf0ac20378e62b36460656e0e887c44959552c9620e9ec3e73fee5ca0e5a6dd767b7b7a97ac4c77e709ce7859f21f0be66c9be7f445fb15f7bf4c8124a567fbfe0d379f08cb1b816f4c720ef5e3a6a083b5be05694a0d3d3ac784fc4399b1ccb7482ca0a1182166403565a9f7d4b0b71cccd20b952aee3be5c9ab10663e08aa419c8dee91e6f9bc58377e949d7251a445e1a7f87933dbbac2703f5d111de77b9dc5de5a53b90ee18ef9ab6a154f3f2500df04124645a6f09edb80c2fed4f30ffc4659176a6d3633db7c6c6c7acdc9332fbfc34f63543f99c3e7283ab9a98e8073e2c1a3158158976f06a520975b2f565936521babdd27fce006d30f5d75053847e6124940f3ef663e7e12e206e8dccc221a2381a1762f3e6ebbd37eb7a5409498e19eeab8b75cfbd7522a3ef45a236ad0b7129154e44436bd8b8da1323469c150cd487746247d06f12ae67fa30dc79f4df5cc8c1f86e8b35689b5a2c32e50777cf132f14c4cd2fb8f3760a66ec723e29624f8a974953350ca8853239944e33727d5965e10c8da5a8fcb4033ea2f96cad4d33524d181844b5a6a2a3a0c0a3572e4354b5f0bb6c727bcf02d31f66742bcd3e3767c70b1fa695812896ed053934abee8dea4ca8242b1fe1409717ddca6676b358e7930dc927f688c22e2ae6296ff2ed3c8519f3f8d49c3a7183d4aa0da4e3c7a652d539bff9ab1952aa13c002a0a8e7128b4e4ab441fcc905a0f26f9f6b5fa31360d5c24845ad876577bb0e1fcfed3101aedf14a73c0ce03e36360c01eee27342c1fa46d72474cd519e57837c250cedf09a31e45deb383587c5aee4c36fe2a8df37240de321a6a1c6fc656b5e6b28ffa25f40a723a5d13cbe7b42b4f62f60ccfbaa4ffeb00ca3b6d94119c0594aa5e11af8055b10d1a5a9900bd25b850c993c3bd9a941bded209dc4c74e9421b84c81c624dfffd12f397cc79101da2aac938a23aa49908f3f1ff41fc60dba8240a04f0941784a2284aaebdcc8143910ab01780e463dfb8be387b99346fbf8676e7f3e92420502a98eaa6d710b064f016dce0d6dc41956aea4fc9f304394b321c78141ad4c8d6527d7e946cff3fe06b252ae992837f0a9b9be2fb5d6358e419f9f30c4358906a82685fc734d2d2497a152cbe965f7e3220d437a7e64e9d1cef4092d0f8e731910d04e15df205b130979e1b8710faa5804642ceca6667c9dfe3747ee43cd73466204470987d0e76af237218ccb37bd77a39a09918e74aaf597bd3fbd79bba735c5ce6e81c559c986bbf60755170b30474a9e7caa5e83a42f19f79b186ec3af3bf1112c00cf05bff72a0d1698a94a871c4e8a0797d4d7f3c3e7e2a27ca7b9386f16c0473395fe85b280f9aba2efdaa08bcc7f2f2c301e165d626c83285bddf052cba134df3bbdd1e8f46415bbb391e05b1e475f344c1012cca9a72fb122c25d7f85c92a74fe7350a909dfee05b8a87557ad0cbc5912dcbdf9373a5e413b8375df15d4d8a06f4ced1259a8165389acc897cfd01c0dbea278144d079440086f7febdcf7aa7eec023993df73d8d0d46163add80a7c686789331c15aa22c8cafd5df40d4561f6f24759eb3d6a97ea01a3a3368ea8b1cf6fff8bf58ac225528d7a17d21edfa6eacfc5aab6f785a0b3003ab6ee0de9423cd363b14d03e102f445b23c14a536d7b231243288f288da44f8a5e8bc1f13b8cec7cb6a2a569636163a098b2f40f45c43564f1aa8b916426e77510936202363fe0dd717450cca9e8cbde8dffc9b9e24d8bd3cf171e36f05c06334873110b9c2d1a3020b660aacb19682d771e02c4d80dbfcdd11edf7553abad4cd0cee0fc5e81e94c4810a2c497f3d0ffa21bf7a31b6a835daf1f609e23cd64f81c1716af85b9233b547e679c72755e6cbb1cb405d7a897fcaa8c815bbd5a2aecc89d69981f349af2f97edb5a6f4197d20eec8d4b0f3c2375b8839cf6858bbf101ee06aecb7516cc27d59a8bdc9b5b208aaa4b5c14a5251d9d232397dd8d0eb8855d3ae0625a254fb89779ab00b3af427454c6bf5cff225c2f77bac6e5997404f00a4079d2237d19aec130c03a771e126cec4bc0661c3f9fae365d617723024ef8802fc94a85ebb80144b165f9d4bc2a1f87ce048ea52858d65dd33b1320b697ed30299b1848835c616b0a687e887483127078433db991d662fa367421445be00af4c06a34e554b3efa0f8cf99d2e1740c3d23ae57f97e1d19770103d7ec6f17b085ee3ea95ee6c74c3753628d0a97b440d38c139fd8974f049e3b4a8e83dae7c626d0139f92c69a92975270456cf7640c4b0ea0c3f5f2bdffd9a0cca3acadc2f2789bd59109059ff454bf742da9933f66e004da866be462ba3a2e42a2302407e822791b782164c795b1712a2c1d957e37703a328ae14628884c76ed83d08710a6212dd13cc466ac8f4b8c65e8ad647261e41786dac815c47299ff9b572579c2b5a27af372358c3f2ba4c11f86cab07c65ca9f0f703554b162b73c3706add4f7e10d95b847ca798c092361b43e086569d402d55f72ca7aa78ee95d9343c381196bcf8f8cfb0b805d418d51ccab377f646b3934b4c6773ba4cd975a0f12084a337d435d4611550656345f83cba264a958f7ac218c63821b22b8bd1ac3684d6dcc3b71e445d5707b9a5a6ba9e7fc2405b259a6531e937b8ea4ac7f8fa8aaff40c570fa5bd488e289b73e0a05e94ce0bba7e4b2f2cd8b3a3fdf91eb5ea2b004f91500d84bfd36199f9aa9a0b3f66af816f0b9b462d79602a12e705ec62c00cecb61070e09bb25d49076bf75011ce19d4ea7ff6ef6ddc4fffcc134c81bf5bda49f66616792e3fbf0953d9a0c25dc36b245046c01ff8f98975329624f3c9eac958236daa0aa026996840d48dc633cebb5ef484ba7cdf1b76a27a803c4ea464eb30c5573147ba783f0e42869bfa9970b61d5ed05b790f6a93bab2f939eefc9efad8677e59a037e3ab2303ce97ffd53e3ce3369ba4c48eceb3aaedcb4089a97eb59fc9788204739d5e6df7c8dc326994bdcd1803cb4b521ff6647de9590dfcb2c570510a619118703e82e7e45a54e287a8c734d0294a8b2cd07ffa32e400edcd5bbf86b2dd2f09c2b72018b17e54debad47b839e98cebead5ce68a439e5eb427945dfdd168ac7026a5c9c33c6c3ce0b98f832d7ad16aecdb01891904f6042a4c98e5f41209b4488e6c99ef116f43c489f51e306476642194fe0535077c94fc80c5aba2e26e61c77b1fc5fe9dad47968bb4114baa614d234e3b0be0d5abec9e60d72c6956a797809b51e16b6f49029d2f4b2266d3a8b9b567099b556c2685a00bd84238a9080aa022c357ad6d454bd7594a029eb4284a973b48e6392f425b70301b8c51477500490b765c6b70015bdd99f51c2d1995d80ba04508d6e66eb56695cccf63d50cc40b02c80c3886ce75d8a02abbb7149daced8ff3e8dfc169fb46031c4c0f19060daba08d35d3402b20cb0417f14ef184f5f531f4695ba4832a8b6391b13f3abcdd2c05b5168c30fe3cde8677ff738836aa85b7ef90148b2556b790bd9bda3d108ea37b03acfd09a544a8e85843643f31368cfc226a930dc7496ed4c9966e3de92637933ee7bfdf12bbfbac0234a74e289bdb37a522bd047a1007a3687a21bc9b0cff80874277d825bdbab845c1ac50460563d08b1e04a7f1086e677931988d5cd6f974706d64f63e84491b302888f8b8f0f42997f5edd2510f26a0b16d7038bec871309389cab6f5761a2b9f00111bc4441bbfade0eca7cea5b0b8daca736e6150503aae879f72d108361ca31bafbf4e0c2e9ebd7af57265bb04c388923a00b4c59088a2f7b767b14f3982e642e7b3dd94dc6f4b6b0113c9d49f80a3e169c1060893539ffc3237d6eccf4920a9b50a860eed127a22ffe"}]}}}}}}) syz_execute_func(&(0x7f0000001240)="f22633545b41c4c2b1de3a0f4bbe11140000c4c231dc03c4c24d961c5f660f3821471ec4e185d87128c4c3c5cf8e0e080000fed16200c4c22d4011") syz_extract_tcp_res(&(0x7f0000001280), 0x26e, 0x1) csource_test.go:124: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include static void kill_and_wait(int pid, int* status) { kill(pid, SIGKILL); while (waitpid(-1, status, 0) != pid) { } } static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void 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 __attribute__((noinline)) remove_dir(const char* dir) { DIR* dp = opendir(dir); if (dp == NULL) { if (errno == EACCES) { if (rmdir(dir)) exit(1); return; } 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); struct stat st; if (lstat(filename, &st)) exit(1); if (S_ISDIR(st.st_mode)) { remove_dir(filename); continue; } if (unlink(filename)) exit(1); } closedir(dp); if (rmdir(dir)) 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); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); ev->state = 0; } static void event_reset(event_t* ev) { ev->state = 0; } static void event_set(event_t* ev) { pthread_mutex_lock(&ev->mu); if (ev->state) exit(1); ev->state = 1; pthread_mutex_unlock(&ev->mu); pthread_cond_broadcast(&ev->cv); } static void event_wait(event_t* ev) { pthread_mutex_lock(&ev->mu); while (!ev->state) pthread_cond_wait(&ev->cv, &ev->mu); pthread_mutex_unlock(&ev->mu); } static int event_isset(event_t* ev) { pthread_mutex_lock(&ev->mu); int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } static int event_timedwait(event_t* ev, uint64_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #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)))) struct csum_inet { uint32_t acc; }; static void csum_inet_init(struct csum_inet* csum) { csum->acc = 0; } static void csum_inet_update(struct csum_inet* csum, const uint8_t* data, size_t length) { if (length == 0) return; size_t i = 0; for (; i < length - 1; i += 2) csum->acc += *(uint16_t*)&data[i]; if (length & 1) csum->acc += le16toh((uint16_t)data[length - 1]); while (csum->acc > 0xffff) csum->acc = (csum->acc & 0xffff) + (csum->acc >> 16); } static uint16_t csum_inet_digest(struct csum_inet* csum) { return ~csum->acc; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } struct thread_t { int created, call; event_t ready, done; }; static struct thread_t threads[16]; static void execute_call(int call); static int running; static void* thr(void* arg) { struct thread_t* th = (struct thread_t*)arg; for (;;) { event_wait(&th->ready); event_reset(&th->ready); execute_call(th->call); __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); event_set(&th->done); } return 0; } static void execute_one(void) { int i, call, thread; for (call = 0; call < 13; 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, 45); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); #define WAIT_FLAGS 0 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); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5 * 1000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } uint64_t r[3] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: res = syscall(SYS_fcntl, 0xffffff9c, 0x11, 0xffffff9c); if (res != -1) r[0] = res; break; case 1: *(uint32_t*)0x10000000 = 5; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 5, 0x10000000, 4); break; case 2: *(uint64_t*)0x10000040 = 6; *(uint64_t*)0x10000048 = 0xa9; syscall(SYS_cap_rights_limit, (intptr_t)r[0], 0x10000040); break; case 3: *(uint8_t*)0x10000080 = 0x20; *(uint8_t*)0x10000081 = 0x81; *(uint8_t*)0x10000082 = 3; *(uint8_t*)0x10000083 = 0x20; *(uint8_t*)0x10000084 = 0x20; *(uint8_t*)0x10000085 = 0xf7; *(uint8_t*)0x10000086 = -1; *(uint8_t*)0x10000087 = 7; *(uint8_t*)0x10000088 = 4; *(uint8_t*)0x10000089 = 0x40; *(uint8_t*)0x1000008a = 4; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0xc, 0x10000080, 0xb); break; case 4: *(uint32_t*)0x100000c0 = 0; *(uint16_t*)0x100000c4 = 9; *(uint16_t*)0x100000c6 = 3; *(uint16_t*)0x100000c8 = 1; *(uint16_t*)0x100000ca = -1; *(uint16_t*)0x100000cc = 0x8000; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0x901, 0x100000c0, 0xe); break; case 5: *(uint32_t*)0x10000180 = 0x6e; res = syscall(SYS_accept, (intptr_t)r[0], 0x10000100, 0x10000180); if (res != -1) r[1] = res; break; case 6: memcpy((void*)0x100001c0, "./file0\000", 8); syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); break; case 7: res = syscall(SYS_socket, 2, 3, 1); if (res != -1) r[2] = res; break; case 8: syscall(SYS_fcntl, (intptr_t)r[2], 5, 0); break; case 9: *(uint8_t*)0x10000240 = 0x1c; *(uint8_t*)0x10000241 = 0x1c; *(uint16_t*)0x10000242 = htobe16(0x4e21); *(uint32_t*)0x10000244 = 0x7f; *(uint64_t*)0x10000248 = htobe64(0); *(uint64_t*)0x10000250 = htobe64(1); *(uint32_t*)0x10000258 = 0xfffff9b1; *(uint64_t*)0x1000025c = 0; *(uint64_t*)0x10000264 = 0; *(uint64_t*)0x1000026c = 0; *(uint64_t*)0x10000274 = 0; *(uint64_t*)0x1000027c = 0; *(uint64_t*)0x10000284 = 0; *(uint64_t*)0x1000028c = 0; *(uint64_t*)0x10000294 = 0; *(uint64_t*)0x1000029c = 0; *(uint64_t*)0x100002a4 = 0; *(uint64_t*)0x100002ac = 0; *(uint64_t*)0x100002b4 = 0; *(uint32_t*)0x100002bc = 0; *(uint32_t*)0x100002c0 = 0x80; syscall(SYS_getsockopt, (intptr_t)r[1], 0x84, 7, 0x10000240, 0x100002c0); break; case 10: *(uint8_t*)0x10000000 = 0xaa; *(uint8_t*)0x10000001 = 0xaa; *(uint8_t*)0x10000002 = 0xaa; *(uint8_t*)0x10000003 = 0xaa; *(uint8_t*)0x10000004 = 0xaa; *(uint8_t*)0x10000005 = 0xbb; *(uint8_t*)0x10000006 = 0xaa; *(uint8_t*)0x10000007 = 0xaa; *(uint8_t*)0x10000008 = 0xaa; *(uint8_t*)0x10000009 = 0xaa; *(uint8_t*)0x1000000a = 0xaa; *(uint8_t*)0x1000000b = 0xbb; *(uint16_t*)0x1000000c = htobe16(0x8100); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 5, 0, 3); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 1, 3, 1); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 3, 4, 12); *(uint16_t*)0x10000010 = htobe16(0x86dd); STORE_BY_BITMASK(uint8_t, , 0x10000012, 7, 0, 4); STORE_BY_BITMASK(uint8_t, , 0x10000012, 6, 4, 4); memcpy((void*)0x10000013, "\xc3\xcb\x10", 3); *(uint16_t*)0x10000016 = htobe16(0x1202); *(uint8_t*)0x10000018 = 0x2f; *(uint8_t*)0x10000019 = 1; memcpy((void*)0x1000001a, "\xcd\xd9\x63\x9d\x81\x8e\x3c\x53\x54\xe4\x23\xe6\x7c\x02\x61\xce", 16); memcpy((void*)0x1000002a, "\x9a\xa3\xa7\x3e\xac\xf4\x7f\x64\x6c\xf7\x00\x32\xc9\xd1\x08\xee", 16); *(uint8_t*)0x1000003a = 0x36; *(uint8_t*)0x1000003b = 0x1e; *(uint8_t*)0x1000003c = 0; *(uint8_t*)0x1000003d = 0; *(uint8_t*)0x1000003e = 0; *(uint8_t*)0x1000003f = 0; *(uint8_t*)0x10000040 = 0; *(uint8_t*)0x10000041 = 0; *(uint8_t*)0x10000042 = 4; *(uint8_t*)0x10000043 = 1; *(uint8_t*)0x10000044 = 1; *(uint8_t*)0x10000045 = 0xc2; *(uint8_t*)0x10000046 = 4; *(uint32_t*)0x10000047 = htobe32(7); *(uint8_t*)0x1000004b = 1; *(uint8_t*)0x1000004c = 2; *(uint8_t*)0x1000004d = 0; *(uint8_t*)0x1000004e = 0; *(uint8_t*)0x1000004f = -1; *(uint8_t*)0x10000050 = 0xe2; memcpy((void*)0x10000051, "\x66\x43\xd2\x30\xd2\xeb\xee\x2d\xa6\x67\x99\x23\x3f\xd3\x95\x3c\x63\x7f\xbf\xf5\x8a\x08\xfe\x47\x94\x6d\xe8\x6f\x44\xbc\xf9\xe8\x09\xd6\x27\x76\x8d\x7e\x38\xbe\x69\x80\x89\x21\xc8\x00\xa8\xca\x76\xdb\xa1\x2e\x6b\x01\xe8\xb0\xb8\x52\x82\x1f\xe4\x6d\x8d\x1b\x86\x3c\x6e\xd1\xf3\x86\xd2\x77\x9a\x29\x83\x03\x6a\x40\x3e\xc8\x04\xbb\xc1\xce\x77\xc6\x79\xd9\x45\xe9\xc0\xb8\x36\x35\x2e\x6f\x8e\xe2\x10\xed\xe5\xf8\xeb\x29\x37\xaf\xc8\x30\x72\x87\xe8\xa2\x7e\x8f\xc6\x6d\xe2\xef\x50\x42\x18\x40\x45\x51\x26\xdc\x36\x2d\x09\x94\xa2\xa2\xdb\x61\x9c\xa5\xb7\x0f\x61\x5b\x71\x94\x13\x59\x44\x71\xa2\xef\xad\x9e\x7e\x22\xa5\x40\x03\x61\xab\xac\x23\x15\x75\xd1\xb4\x98\x78\x16\x12\x29\x6d\x93\x2e\x48\x32\xdd\x0c\x9f\x67\x09\xc2\xf8\x10\x38\xbb\xcd\xe5\xc2\x78\x32\xba\xe0\x14\xb1\x3b\x9b\x93\xb4\x13\x74\xf9\x97\xc1\x88\xd7\x4a\x33\x96\x0b\x2b\x29\x48\xa2\xeb\x32\x11\xc2\xac\xa8\x55\xf6\x16\xf2\x22\x3f\x47\x46\xce", 226); *(uint8_t*)0x10000133 = 4; *(uint8_t*)0x10000134 = 1; *(uint8_t*)0x10000135 = 0x1f; *(uint8_t*)0x1000013a = 0x31; *(uint8_t*)0x1000013b = 4; *(uint8_t*)0x1000013c = 0; *(uint8_t*)0x1000013d = 5; *(uint32_t*)0x1000013e = 0; *(uint8_t*)0x10000142 = 0; *(uint8_t*)0x10000143 = 0; *(uint8_t*)0x10000144 = 0; *(uint8_t*)0x10000145 = 0; *(uint8_t*)0x10000146 = 0; *(uint8_t*)0x10000147 = 0; *(uint8_t*)0x10000148 = 0; *(uint8_t*)0x10000149 = 0; *(uint8_t*)0x1000014a = 0; *(uint8_t*)0x1000014b = 0; *(uint8_t*)0x1000014c = -1; *(uint8_t*)0x1000014d = -1; *(uint32_t*)0x1000014e = htobe32(-1); *(uint8_t*)0x10000152 = 0; *(uint8_t*)0x10000153 = 0; *(uint8_t*)0x10000154 = 0; *(uint8_t*)0x10000155 = 0; *(uint8_t*)0x10000156 = 0; *(uint8_t*)0x10000157 = 0; *(uint8_t*)0x10000158 = 0; *(uint8_t*)0x10000159 = 0; *(uint8_t*)0x1000015a = 0; *(uint8_t*)0x1000015b = 0; *(uint8_t*)0x1000015c = 0; *(uint8_t*)0x1000015d = 0; *(uint8_t*)0x1000015e = 0; *(uint8_t*)0x1000015f = 0; *(uint8_t*)0x10000160 = 0; *(uint8_t*)0x10000161 = 0; *(uint8_t*)0x10000162 = 0x58; *(uint8_t*)0x10000163 = 8; *(uint8_t*)0x10000164 = 1; *(uint8_t*)0x10000165 = 0x81; *(uint32_t*)0x10000166 = 0; *(uint8_t*)0x1000016a = 0xfe; *(uint8_t*)0x1000016b = 0x80; *(uint8_t*)0x1000016c = 0; *(uint8_t*)0x1000016d = 0; *(uint8_t*)0x1000016e = 0; *(uint8_t*)0x1000016f = 0; *(uint8_t*)0x10000170 = 0; *(uint8_t*)0x10000171 = 0; *(uint8_t*)0x10000172 = 0; *(uint8_t*)0x10000173 = 0; *(uint8_t*)0x10000174 = 0; *(uint8_t*)0x10000175 = 0; *(uint8_t*)0x10000176 = 0; *(uint8_t*)0x10000177 = 0; *(uint8_t*)0x10000178 = 0; *(uint8_t*)0x10000179 = 0xaa; *(uint8_t*)0x1000017a = -1; *(uint8_t*)0x1000017b = 1; *(uint8_t*)0x1000017c = 0; *(uint8_t*)0x1000017d = 0; *(uint8_t*)0x1000017e = 0; *(uint8_t*)0x1000017f = 0; *(uint8_t*)0x10000180 = 0; *(uint8_t*)0x10000181 = 0; *(uint8_t*)0x10000182 = 0; *(uint8_t*)0x10000183 = 0; *(uint8_t*)0x10000184 = 0; *(uint8_t*)0x10000185 = 0; *(uint8_t*)0x10000186 = 0; *(uint8_t*)0x10000187 = 0; *(uint8_t*)0x10000188 = 0; *(uint8_t*)0x10000189 = 1; *(uint8_t*)0x1000018a = 0xfe; *(uint8_t*)0x1000018b = 0x80; *(uint8_t*)0x1000018c = 0; *(uint8_t*)0x1000018d = 0; *(uint8_t*)0x1000018e = 0; *(uint8_t*)0x1000018f = 0; *(uint8_t*)0x10000190 = 0; *(uint8_t*)0x10000191 = 0; *(uint8_t*)0x10000192 = 0; *(uint8_t*)0x10000193 = 0; *(uint8_t*)0x10000194 = 0; *(uint8_t*)0x10000195 = 0; *(uint8_t*)0x10000196 = 0; *(uint8_t*)0x10000197 = 0; *(uint8_t*)0x10000198 = 0; *(uint8_t*)0x10000199 = 0xaa; *(uint64_t*)0x1000019a = htobe64(0); *(uint64_t*)0x100001a2 = htobe64(1); *(uint8_t*)0x100001aa = 0x59; *(uint8_t*)0x100001ab = 0xc; *(uint8_t*)0x100001ac = 0; *(uint8_t*)0x100001ad = 3; *(uint32_t*)0x100001ae = 0; memcpy((void*)0x100001b2, "\xd6\x91\xf2\x28\x49\x8c\x81\x6b\xd9\x31\xbf\x11\xea\x3c\xb3\x58", 16); *(uint8_t*)0x100001c2 = 0; *(uint8_t*)0x100001c3 = 0; *(uint8_t*)0x100001c4 = 0; *(uint8_t*)0x100001c5 = 0; *(uint8_t*)0x100001c6 = 0; *(uint8_t*)0x100001c7 = 0; *(uint8_t*)0x100001c8 = 0; *(uint8_t*)0x100001c9 = 0; *(uint8_t*)0x100001ca = 0; *(uint8_t*)0x100001cb = 0; *(uint8_t*)0x100001cc = 0; *(uint8_t*)0x100001cd = 0; *(uint8_t*)0x100001ce = 0; *(uint8_t*)0x100001cf = 0; *(uint8_t*)0x100001d0 = 0; *(uint8_t*)0x100001d1 = 0; *(uint64_t*)0x100001d2 = htobe64(0); *(uint64_t*)0x100001da = htobe64(1); memcpy((void*)0x100001e2, "\x40\x46\xfb\xe3\xc1\xe1\x66\x9f\x07\x2d\xd9\xee\x3b\xa1\x16\x96", 16); *(uint8_t*)0x100001f2 = 0; *(uint8_t*)0x100001f3 = 0; *(uint8_t*)0x100001f4 = 0; *(uint8_t*)0x100001f5 = 0; *(uint8_t*)0x100001f6 = 0; *(uint8_t*)0x100001f7 = 0; *(uint8_t*)0x100001f8 = 0; *(uint8_t*)0x100001f9 = 0; *(uint8_t*)0x100001fa = 0; *(uint8_t*)0x100001fb = 0; *(uint8_t*)0x100001fc = -1; *(uint8_t*)0x100001fd = -1; *(uint32_t*)0x100001fe = htobe32(-1); *(uint8_t*)0x10000202 = -1; *(uint8_t*)0x10000203 = 1; *(uint8_t*)0x10000204 = 0; *(uint8_t*)0x10000205 = 0; *(uint8_t*)0x10000206 = 0; *(uint8_t*)0x10000207 = 0; *(uint8_t*)0x10000208 = 0; *(uint8_t*)0x10000209 = 0; *(uint8_t*)0x1000020a = 0; *(uint8_t*)0x1000020b = 0; *(uint8_t*)0x1000020c = 0; *(uint8_t*)0x1000020d = 0; *(uint8_t*)0x1000020e = 0; *(uint8_t*)0x1000020f = 0; *(uint8_t*)0x10000210 = 0; *(uint8_t*)0x10000211 = 1; *(uint8_t*)0x10000212 = 0x27; *(uint8_t*)0x10000213 = 0; *(uint8_t*)0x10000214 = 0x91; STORE_BY_BITMASK(uint8_t, , 0x10000215, 1, 0, 1); STORE_BY_BITMASK(uint8_t, , 0x10000215, 0, 1, 2); STORE_BY_BITMASK(uint8_t, , 0x10000215, 6, 3, 5); *(uint32_t*)0x10000216 = 0x66; *(uint8_t*)0x1000021a = 0x26; *(uint8_t*)0x1000021b = 0; *(uint8_t*)0x1000021c = 0; *(uint8_t*)0x1000021d = 0; *(uint8_t*)0x1000021e = 0; *(uint8_t*)0x1000021f = 0; *(uint8_t*)0x10000220 = 0; *(uint8_t*)0x10000221 = 0; *(uint8_t*)0x10000222 = 5; *(uint8_t*)0x10000223 = 2; *(uint16_t*)0x10000224 = htobe16(5); *(uint8_t*)0x1000022a = 0x86; *(uint8_t*)0x1000022b = 0; *(uint16_t*)0x1000022c = htobe16(0); *(uint8_t*)0x1000022e = 0; *(uint8_t*)0x1000022f = 9; *(uint16_t*)0x10000230 = htobe16(9); *(uint32_t*)0x10000232 = htobe32(0x401); *(uint32_t*)0x10000236 = htobe32(0x7fffffff); *(uint8_t*)0x1000023a = 1; *(uint8_t*)0x1000023b = 0; memcpy((void*)0x1000023c, "\xd1\x45\xff\x57\x6d\x7f\xe9\x33\xa6\xf7\xae\x4b\xd4\x7d\x7a\xec\x43\x60\xa3\x35\x72\x7c\x02\x67\xff\x79\xe3\x4d\x03\x66\x94\xea\x6d\x8d\xe6\x2e\xbb\x19\x41\xf6\xb9\xa9\x5a\x6c\x95\xfa\x33\xd4\xa6\xdd\xfe\x3b\xe4\x08\x14\x8d\xac\xa5\x56\xb6\xb4\xdf\xeb\xef\x86\x9d\xa9\x3c\xfa\x26\xfb\x8e\x16\x50\x9f\xeb\xb3\x21\x01\x1f\x50\x8e\xec\x75\x02\x82\x44\x42\xd8\x62\x05\x19\xd7\xce\x35\x92\x84\xef\x09\x36\x39\x00\x1b\x68\x9f\x94\x43\x26\x05\x84\xdf\xaf\x81\x93\x13\x72\x6c\x44\x95\xac\x4c\x32\x03\xaa\x60\x3e\x26\xf3\x74\xd6\x96\xcd\xb3\x6f\xb0\x0e\x6c\x41\x2e\xdb\xef\xc1\x62\x70\xc7\x83\xd3\xa1\xad\xa3\x5a\x07\xcd\x92\x25\xf2\x1b\x95\x70\xf8\x01\xa9\x60\xe0\x6d\x96\x55\x6b\x9e\xac\xa2\x34\xf1\x28\x61\x44\x42\x31\xc9\x4a\xee\x63\x15\xfb\x19\x9f\x69\xee\xbd\xf9\xfd\xb0\xbd\xb8\x99\x02\xe0\xeb\x69\xbb\xdf\x97\x30\xaa\x37\x1b\x84\xb0\x2e\x9a\xb5\xf3\xa4\xf9\x9f\x92\x05\x69\x4f\x06\x24\x60\xe2\x86\xb1\xab\xef\x39\x36\xfd\xf1\x83\xbd\x7c\x95\xa9\xd9\x9b\x57\x82\x7d\xea\x18\x14\xe0\xe2\xdc\x58\xa6\x77\xf2\xae\x6c\x73\xde\x4e\x27\xfe\x88\x56\xe4\x17\xfd\x26\x60\x88\x00\x8a\xbe\x5d\x38\xd7\x4e\xa0\xbd\xc6\xd0\x46\xc5\xd3\xf4\x5e\x2e\xe4\x7a\x44\x0c\x5d\xfc\x30\x45\x9b\x21\x9b\xb3\xb1\x30\x2f\xeb\x6b\x36\xa6\xe5\x24\xb1\xdb\x70\xd5\x7e\xfe\x32\x82\x3b\x0a\xd0\x37\xa3\xc2\x04\xc7\x77\x48\xb8\x5f\xd8\x8a\xbf\x24\xef\x07\x17\xea\xc9\x0e\x23\x5d\x91\x76\x4b\x48\xbb\x1d\xcc\x3c\x91\x77\xfc\x4b\x0f\xc9\x97\xd3\xd4\xe9\x07\x02\x87\x2b\xf0\xd8\x70\x21\x94\xe2\x25\x77\x35\x3e\x55\x7c\x00\x41\xf1\x06\xe5\xde\xe1\xd2\x4f\x24\x3a\xb7\xc0\x7b\x43\x35\xa6\x88\x6c\x04\x06\x1e\x84\x96\x65\x99\xb6\x8c\x67\x6e\x96\x60\x08\xa7\x90\x5f\x17\x06\x04\x83\x34\x50\x1a\x36\x08\x30\x53\x30\xcb\x8b\x44\x7a\x16\x98\xfa\x96\x46\xc7\x3c\xd7\x58\x87\x1c\x1e\x8b\x96\x88\x9a\xe3\x37\x2a\x5f\xef\x5b\x03\xef\x56\xd1\x60\x8e\xae\x44\xa8\x63\xb0\x59\x91\xf6\x26\x44\x77\x30\xdf\x97\xf3\x36\x86\xe5\xcb\x72\x55\x4a\x1a\x8a\xce\x8b\x53\x0d\x3e\x60\x45\x23\x52\xd9\xe9\x3e\xd0\x31\x85\x2e\xb2\xdc\x87\x90\x3a\x13\x46\xc3\x96\x2c\xed\x8f\x4f\xd2\xc0\x7e\x01\x84\x3d\x19\xe2\x53\x65\x3f\xcc\x7e\xb3\xe7\x10\xb5\x46\xe1\x18\x08\x44\xd9\x5e\x67\x14\x3d\xef\x46\x19\x37\x5d\x71\x17\x37\x29\xdf\xab\xee\xcd\xdd\x02\x39\x45\x6f\xd1\xf5\x63\xbe\xdd\x3e\x8a\xa7\xbd\x29\xce\x40\xbf\xb7\x2e\x83\x23\x24\xcf\x0e\x7e\xd9\x60\xbc\x4c\xdd\x81\xa1\xd1\xc4\xd3\xa2\xf9\x84\x21\x8a\x8f\x7c\xe9\x28\x8f\xb5\x7b\x31\x5c\x47\x5a\x57\xc2\xd5\x67\x43\xba\x39\x87\xad\x1f\xe6\x9a\xf5\xa3\x91\xcd\xb9\xc8\xa5\x51\x72\x33\x40\xc3\xd1\xc9\x89\xb5\xda\x33\x77\x1f\x79\x7e\x89\x93\xef\x51\x54\x6e\x98\x49\xba\x61\xa3\xcb\x3b\xab\xbc\x5b\x33\xfc\x9e\x88\x3b\x3e\xe4\x1e\x6d\x8c\x67\x58\x41\x71\x8b\x90\x80\x92\xb2\xc4\xda\x4c\x1a\x78\xa1\x7b\xee\x0c\x40\x9d\x03\xcd\x8b\xed\x2d\x56\xa4\x6e\xe7\x72\x1b\x56\x59\xbe\x3f\xa5\xcd\x0e\x89\xbc\xef\xfa\xff\xaf\x1e\x95\x71\x6a\xdc\x76\x25\x54\xc4\x96\xa4\x02\x82\xcb\x6d\x85\xf4\xe0\xe2\x9f\xd7\x65\x74\x00\x1b\x89\x3d\x0f\xfc\x8c\x94\xa1\x87\x82\x9e\x24\x54\x6d\x89\x04\x39\x54\x7b\x81\xc1\x8c\x48\x65\xbe\x4c\xb5\x7e\x06\xe3\x19\xc5\x00\x7d\x43\x45\x9e\xc3\xaa\x20\xce\x72\xf7\x88\x3c\xbd\xa6\xa3\x03\xc3\x43\xfb\xed\x7f\x62\xb2\xf2\xac\x9f\x5d\x24\x84\x2e\x8a\xba\xe1\xc9\xe3\x29\x54\xb0\xd0\xd6\x02\x42\x89\x1b\x1f\xae\x40\xd0\x32\x83\xf3\x3c\x09\x48\xe1\x61\xfa\x2f\x9f\xfb\x77\xb7\x2c\xe9\x69\x71\x87\x68\x28\x2c\x45\xae\x08\x9f\xaf\x80\xec\xaf\xf1\x65\x81\x14\xa7\x8d\x8b\x13\x83\x39\x58\xa3\x60\xfe\x8b\xea\xd9\xb4\x85\xd5\xdc\xc7\x01\x81\x2a\x55\x9c\x6d\x04\xa2\x2f\xe5\x9d\x3f\x6f\xc0\xfc\xc7\xcb\xbb\xc4\x45\x0a\x58\xbe\xe9\x95\x60\x57\x9e\xff\x8d\x78\x46\xd0\x62\x25\x3d\x15\xd5\xe6\xb2\x0a\x78\x13\x40\x14\x32\x3b\xc3\x1f\x3d\xbf\xa5\x3e\x2e\xde\x13\x7e\x3c\x11\x29\xba\x8d\xb6\x38\xa9\x59\x72\xe1\xa7\x22\x35\x04\xaf\x10\xa1\x49\x15\x4f\xa5\x81\xb9\xdb\xc5\x16\x28\x9c\xff\x0d\x65\x58\x88\x59\x21\x99\xc7\x7f\xa5\x53\xf0\x7d\xb0\x09\xee\x2a\x42\xc5\x41\x2d\xf9\xfe\x61\x2d\x10\x8e\xe2\xd5\x95\xcb\xb0\xbf\x59\x77\x66\x46\xcb\x7c\x83\xe3\x55\x1a\x91\xc0\xac\xa0\x5d\xe2\x0d\x0b\xfc\x6c\x1f\x8f\x5c\x94\x92\xf2\x2e\x57\x14\xea\x0c\xba\xb5\x76\x31\x94\x99\x6c\x81\x85\x45\xc0\x99\x7f\xf5\x55\xe5\xd1\x36\xae\xa5\x0a\x7a\x93\xdc\x40\x34\x0a\x72\x5d\xa5\xca\x7e\xa4\x5a\x48\x3d\x2c\x9d\xa6\x7a\x25\x4d\x6e\xbd\xb6\xe2\x02\x70\xbe\xb3\x33\x73\x32\x1d\x92\x23\x75\x20\x7b\xf5\x47\x07\xe1\xd9\x7d\x52\xa6\x93\x0b\x42\x87\xcd\x0d\xc6\xd8\xd3\x34\x6e\x38\x8f\xe4\x1f\xca\x91\x16\x27\x39\xa3\x0c\x97\xda\x08\xcc\x3f\x42\xb3\xf5\x43\x82\xdc\xde\xf5\xd0\xe7\x67\x0b\x8c\x98\xc0\x53\x3b\xf6\xc5\x3d\x58\x68\x8d\x9b\x95\x8b\x23\xa9\x1a\x8a\x6f\x2f\xfa\xd4\x19\xe0\x1e\x2b\xb7\x76\xcc\x32\x13\xfe\xf5\x9a\x70\x34\xd8\x35\xc0\x22\xda\xd0\x29\x94\x62\x4c\x55\x85\x5b\x09\xe2\x66\xe4\x16\xa6\x69\x39\xfc\x36\x64\xe4\x41\xb9\x9d\x7f\xfa\x0b\x83\xbf\xd0\xb0\xd7\x52\xde\x0b\xae\xdc\x17\x46\xb4\x93\x82\x01\x97\x22\x53\x92\x4b\x0a\x68\x64\x1e\x7c\x93\x5f\xbb\x41\x89\xe5\xfd\xc3\x91\xa2\x9e\x33\x11\x51\xfe\x72\x0b\xfb\xc0\x68\x25\xba\x07\x66\xe4\x21\xa2\x61\x3f\xc0\xb7\x8c\xee\xb3\x81\x7f\x26\x2c\x90\xf6\x6e\x7c\xfa\x05\x33\xc1\x7a\xc7\x1b\x0b\x1f\x94\xff\xb0\x2e\x38\x07\xb6\x24\x7e\x96\x8c\xed\xb1\x41\x20\x6e\xdf\x0c\xa6\xf9\x8f\xd9\x19\xfa\x52\x79\xfe\x20\x87\x99\xd8\x2a\xb3\xa7\x0b\x9b\x4b\xae\xa4\x10\xdc\x7c\xb3\x93\x37\x82\xd6\x3f\xe4\x28\x07\xcf\x0f\xa7\xf5\xc9\xae\x0c\xd4\xd0\xa0\x29\x46\x92\xd3\x62\x9d\x98\x81\xda\xd5\x32\xb3\x4e\xfd\x70\x2d\x8e\xaf\x0a\xc2\x03\x78\xe6\x2b\x36\x46\x06\x56\xe0\xe8\x87\xc4\x49\x59\x55\x2c\x96\x20\xe9\xec\x3e\x73\xfe\xe5\xca\x0e\x5a\x6d\xd7\x67\xb7\xb7\xa9\x7a\xc4\xc7\x7e\x70\x9c\xe7\x85\x9f\x21\xf0\xbe\x66\xc9\xbe\x7f\x44\x5f\xb1\x5f\x7b\xf4\xc8\x12\x4a\x56\x7f\xbf\xe0\xd3\x79\xf0\x8c\xb1\xb8\x16\xf4\xc7\x20\xef\x5e\x3a\x6a\x08\x3b\x5b\xe0\x56\x94\xa0\xd3\xd3\xac\x78\x4f\xc4\x39\x9b\x1c\xcb\x74\x82\xca\x0a\x11\x82\x16\x64\x03\x56\x5a\x9f\x7d\x4b\x0b\x71\xcc\xcd\x20\xb9\x52\xae\xe3\xbe\x5c\x9a\xb1\x06\x63\xe0\x8a\xa4\x19\xc8\xde\xe9\x1e\x6f\x9b\xc5\x83\x77\xe9\x49\xd7\x25\x1a\x44\x5e\x1a\x7f\x87\x93\x3d\xbb\xac\x27\x03\xf5\xd1\x11\xde\x77\xb9\xdc\x5d\xe5\xa5\x3b\x90\xee\x18\xef\x9a\xb6\xa1\x54\xf3\xf2\x50\x0d\xf0\x41\x24\x64\x5a\x6f\x09\xed\xb8\x0c\x2f\xed\x4f\x30\xff\xc4\x65\x91\x76\xa6\xd3\x63\x3d\xb7\xc6\xc6\xc7\xac\xdc\x93\x32\xfb\xfc\x34\xf6\x35\x43\xf9\x9c\x3e\x72\x83\xab\x9a\x98\xe8\x07\x3e\x2c\x1a\x31\x58\x15\x89\x76\xf0\x6a\x52\x09\x75\xb2\xf5\x65\x93\x65\x21\xba\xbd\xd2\x7f\xce\x00\x6d\x30\xf5\xd7\x50\x53\x84\x7e\x61\x24\x94\x0f\x3e\xf6\x63\xe7\xe1\x2e\x20\x6e\x8d\xcc\xc2\x21\xa2\x38\x1a\x17\x62\xf3\xe6\xeb\xbd\x37\xeb\x7a\x54\x09\x49\x8e\x19\xee\xab\x8b\x75\xcf\xbd\x75\x22\xa3\xef\x45\xa2\x36\xad\x0b\x71\x29\x15\x4e\x44\x43\x6b\xd8\xb8\xda\x13\x23\x46\x9c\x15\x0c\xd4\x87\x74\x62\x47\xd0\x6f\x12\xae\x67\xfa\x30\xdc\x79\xf4\xdf\x5c\xc8\xc1\xf8\x6e\x8b\x35\x68\x9b\x5a\x2c\x32\xe5\x07\x77\xcf\x13\x2f\x14\xc4\xcd\x2f\xb8\xf3\x76\x0a\x66\xec\x72\x3e\x29\x62\x4f\x8a\x97\x49\x53\x35\x0c\xa8\x85\x32\x39\x94\x4e\x33\x72\x7d\x59\x65\xe1\x0c\x8d\xa5\xa8\xfc\xb4\x03\x3e\xa2\xf9\x6c\xad\x4d\x33\x52\x4d\x18\x18\x44\xb5\xa6\xa2\xa3\xa0\xc0\xa3\x57\x2e\x43\x54\xb5\xf0\xbb\x6c\x72\x7b\xcf\x02\xd3\x1f\x66\x74\x2b\xcd\x3e\x37\x67\xc7\x0b\x1f\xa6\x95\x81\x28\x96\xed\x05\x39\x34\xab\xee\x8d\xea\x4c\xa8\x24\x2b\x1f\xe1\x40\x97\x17\xdd\xca\x66\x76\xb3\x58\xe7\x93\x0d\xc9\x27\xf6\x88\xc2\x2e\x2a\xe6\x29\x6f\xf2\xed\x3c\x85\x19\xf3\xf8\xd4\x9c\x3a\x71\x83\xd4\xaa\x0d\xa4\xe3\xc7\xa6\x52\xd5\x39\xbf\xf9\xab\x19\x52\xaa\x13\xc0\x02\xa0\xa8\xe7\x12\x8b\x4e\x4a\xb4\x41\xfc\xc9\x05\xa0\xf2\x6f\x9f\x6b\x5f\xa3\x13\x60\xd5\xc2\x48\x45\xad\x87\x65\x77\xbb\x0e\x1f\xcf\xed\x31\x01\xae\xdf\x14\xa7\x3c\x0c\xe0\x3e\x36\x36\x0c\x01\xee\xe2\x73\x42\xc1\xfa\x46\xd7\x24\x74\xcd\x51\x9e\x57\x83\x7c\x25\x0c\xed\xf0\x9a\x31\xe4\x5d\xeb\x38\x35\x87\xc5\xae\xe4\xc3\x6f\xe2\xa8\xdf\x37\x24\x0d\xe3\x21\xa6\xa1\xc6\xfc\x65\x6b\x5e\x6b\x28\xff\xa2\x5f\x40\xa7\x23\xa5\xd1\x3c\xbe\x7b\x42\xb4\xf6\x2f\x60\xcc\xfb\xaa\x4f\xfe\xb0\x0c\xa3\xb6\xd9\x41\x19\xc0\x59\x4a\xa5\xe1\x1a\xf8\x05\x5b\x10\xd1\xa5\xa9\x90\x0b\xd2\x5b\x85\x0c\x99\x3c\x3b\xd9\xa9\x41\xbd\xed\x20\x9d\xc4\xc7\x4e\x94\x21\xb8\x4c\x81\xc6\x24\xdf\xff\xd1\x2f\x39\x7c\xc7\x91\x01\xda\x2a\xac\x93\x8a\x23\xaa\x49\x90\x8f\x3f\x1f\xf4\x1f\xc6\x0d\xba\x82\x40\xa0\x4f\x09\x41\x78\x4a\x22\x84\xaa\xeb\xdc\xc8\x14\x39\x10\xab\x01\x78\x0e\x46\x3d\xfb\x8b\xe3\x87\xb9\x93\x46\xfb\xf8\x67\x6e\x7f\x3e\x92\x42\x05\x02\xa9\x8e\xaa\x6d\x71\x0b\x06\x4f\x01\x6d\xce\x0d\x6d\xc4\x19\x56\xae\xa4\xfc\x9f\x30\x43\x94\xb3\x21\xc7\x81\x41\xad\x4c\x8d\x65\x27\xd7\xe9\x46\xcf\xf3\xfe\x06\xb2\x52\xae\x99\x28\x37\xf0\xa9\xb9\xbe\x2f\xb5\xd6\x35\x8e\x41\x9f\x9f\x30\xc4\x35\x89\x06\xa8\x26\x85\xfc\x73\x4d\x2d\x24\x97\xa1\x52\xcb\xe9\x65\xf7\xe3\x22\x0d\x43\x7a\x7e\x64\xe9\xd1\xce\xf4\x09\x2d\x0f\x8e\x73\x19\x10\xd0\x4e\x15\xdf\x20\x5b\x13\x09\x79\xe1\xb8\x71\x0f\xaa\x58\x04\x64\x2c\xec\xa6\x66\x7c\x9d\xfe\x37\x47\xee\x43\xcd\x73\x46\x62\x04\x47\x09\x87\xd0\xe7\x6a\xf2\x37\x21\x8c\xcb\x37\xbd\x77\xa3\x9a\x09\x91\x8e\x74\xaa\xf5\x97\xbd\x3f\xbd\x79\xbb\xa7\x35\xc5\xce\x6e\x81\xc5\x59\xc9\x86\xbb\xf6\x07\x55\x17\x0b\x30\x47\x4a\x9e\x7c\xaa\x5e\x83\xa4\x2f\x19\xf7\x9b\x18\x6e\xc3\xaf\x3b\xf1\x11\x2c\x00\xcf\x05\xbf\xf7\x2a\x0d\x16\x98\xa9\x4a\x87\x1c\x4e\x8a\x07\x97\xd4\xd7\xf3\xc3\xe7\xe2\xa2\x7c\xa7\xb9\x38\x6f\x16\xc0\x47\x33\x95\xfe\x85\xb2\x80\xf9\xab\xa2\xef\xda\xa0\x8b\xcc\x7f\x2f\x2c\x30\x1e\x16\x5d\x62\x6c\x83\x28\x5b\xdd\xf0\x52\xcb\xa1\x34\xdf\x3b\xbd\xd1\xe8\xf4\x64\x15\xbb\xb3\x91\xe0\x5b\x1e\x47\x5f\x34\x4c\x10\x12\xcc\xa9\xa7\x2f\xb1\x22\xc2\x5d\x7f\x85\xc9\x2a\x74\xfe\x73\x50\xa9\x09\xdf\xee\x05\xb8\xa8\x75\x57\xad\x0c\xbc\x59\x12\xdc\xbd\xf9\x37\x3a\x5e\x41\x3b\x83\x75\xdf\x15\xd4\xd8\xa0\x6f\x4c\xed\x12\x59\xa8\x16\x53\x89\xac\xc8\x97\xcf\xd0\x1c\x0d\xbe\xa2\x78\x14\x4d\x07\x94\x40\x08\x6f\x7f\xeb\xdc\xf7\xaa\x7e\xec\x02\x39\x93\xdf\x73\xd8\xd0\xd4\x61\x63\xad\xd8\x0a\x7c\x68\x67\x89\x33\x1c\x15\xaa\x22\xc8\xca\xfd\x5d\xf4\x0d\x45\x61\xf6\xf2\x47\x59\xeb\x3d\x6a\x97\xea\x01\xa3\xa3\x36\x8e\xa8\xb1\xcf\x6f\xff\x8b\xf5\x8a\xc2\x25\x52\x8d\x7a\x17\xd2\x1e\xdf\xa6\xea\xcf\xc5\xaa\xb6\xf7\x85\xa0\xb3\x00\x3a\xb6\xee\x0d\xe9\x42\x3c\xd3\x63\xb1\x4d\x03\xe1\x02\xf4\x45\xb2\x3c\x14\xa5\x36\xd7\xb2\x31\x24\x32\x88\xf2\x88\xda\x44\xf8\xa5\xe8\xbc\x1f\x13\xb8\xce\xc7\xcb\x6a\x2a\x56\x96\x36\x16\x3a\x09\x8b\x2f\x40\xf4\x5c\x43\x56\x4f\x1a\xa8\xb9\x16\x42\x6e\x77\x51\x09\x36\x20\x23\x63\xfe\x0d\xd7\x17\x45\x0c\xca\x9e\x8c\xbd\xe8\xdf\xfc\x9b\x9e\x24\xd8\xbd\x3c\xf1\x71\xe3\x6f\x05\xc0\x63\x34\x87\x31\x10\xb9\xc2\xd1\xa3\x02\x0b\x66\x0a\xac\xb1\x96\x82\xd7\x71\xe0\x2c\x4d\x80\xdb\xfc\xdd\x11\xed\xf7\x55\x3a\xba\xd4\xcd\x0c\xee\x0f\xc5\xe8\x1e\x94\xc4\x81\x0a\x2c\x49\x7f\x3d\x0f\xfa\x21\xbf\x7a\x31\xb6\xa8\x35\xda\xf1\xf6\x09\xe2\x3c\xd6\x4f\x81\xc1\x71\x6a\xf8\x5b\x92\x33\xb5\x47\xe6\x79\xc7\x27\x55\xe6\xcb\xb1\xcb\x40\x5d\x7a\x89\x7f\xca\xa8\xc8\x15\xbb\xd5\xa2\xae\xcc\x89\xd6\x99\x81\xf3\x49\xaf\x2f\x97\xed\xb5\xa6\xf4\x19\x7d\x20\xee\xc8\xd4\xb0\xf3\xc2\x37\x5b\x88\x39\xcf\x68\x58\xbb\xf1\x01\xee\x06\xae\xcb\x75\x16\xcc\x27\xd5\x9a\x8b\xdc\x9b\x5b\x20\x8a\xaa\x4b\x5c\x14\xa5\x25\x1d\x9d\x23\x23\x97\xdd\x8d\x0e\xb8\x85\x5d\x3a\xe0\x62\x5a\x25\x4f\xb8\x97\x79\xab\x00\xb3\xaf\x42\x74\x54\xc6\xbf\x5c\xff\x22\x5c\x2f\x77\xba\xc6\xe5\x99\x74\x04\xf0\x0a\x40\x79\xd2\x23\x7d\x19\xae\xc1\x30\xc0\x3a\x77\x1e\x12\x6c\xec\x4b\xc0\x66\x1c\x3f\x9f\xae\x36\x5d\x61\x77\x23\x02\x4e\xf8\x80\x2f\xc9\x4a\x85\xeb\xb8\x01\x44\xb1\x65\xf9\xd4\xbc\x2a\x1f\x87\xce\x04\x8e\xa5\x28\x58\xd6\x5d\xd3\x3b\x13\x20\xb6\x97\xed\x30\x29\x9b\x18\x48\x83\x5c\x61\x6b\x0a\x68\x7e\x88\x74\x83\x12\x70\x78\x43\x3d\xb9\x91\xd6\x62\xfa\x36\x74\x21\x44\x5b\xe0\x0a\xf4\xc0\x6a\x34\xe5\x54\xb3\xef\xa0\xf8\xcf\x99\xd2\xe1\x74\x0c\x3d\x23\xae\x57\xf9\x7e\x1d\x19\x77\x01\x03\xd7\xec\x6f\x17\xb0\x85\xee\x3e\xa9\x5e\xe6\xc7\x4c\x37\x53\x62\x8d\x0a\x97\xb4\x40\xd3\x8c\x13\x9f\xd8\x97\x4f\x04\x9e\x3b\x4a\x8e\x83\xda\xe7\xc6\x26\xd0\x13\x9f\x92\xc6\x9a\x92\x97\x52\x70\x45\x6c\xf7\x64\x0c\x4b\x0e\xa0\xc3\xf5\xf2\xbd\xff\xd9\xa0\xcc\xa3\xac\xad\xc2\xf2\x78\x9b\xd5\x91\x09\x05\x9f\xf4\x54\xbf\x74\x2d\xa9\x93\x3f\x66\xe0\x04\xda\x86\x6b\xe4\x62\xba\x3a\x2e\x42\xa2\x30\x24\x07\xe8\x22\x79\x1b\x78\x21\x64\xc7\x95\xb1\x71\x2a\x2c\x1d\x95\x7e\x37\x70\x3a\x32\x8a\xe1\x46\x28\x88\x4c\x76\xed\x83\xd0\x87\x10\xa6\x21\x2d\xd1\x3c\xc4\x66\xac\x8f\x4b\x8c\x65\xe8\xad\x64\x72\x61\xe4\x17\x86\xda\xc8\x15\xc4\x72\x99\xff\x9b\x57\x25\x79\xc2\xb5\xa2\x7a\xf3\x72\x35\x8c\x3f\x2b\xa4\xc1\x1f\x86\xca\xb0\x7c\x65\xca\x9f\x0f\x70\x35\x54\xb1\x62\xb7\x3c\x37\x06\xad\xd4\xf7\xe1\x0d\x95\xb8\x47\xca\x79\x8c\x09\x23\x61\xb4\x3e\x08\x65\x69\xd4\x02\xd5\x5f\x72\xca\x7a\xa7\x8e\xe9\x5d\x93\x43\xc3\x81\x19\x6b\xcf\x8f\x8c\xfb\x0b\x80\x5d\x41\x8d\x51\xcc\xab\x37\x7f\x64\x6b\x39\x34\xb4\xc6\x77\x3b\xa4\xcd\x97\x5a\x0f\x12\x08\x4a\x33\x7d\x43\x5d\x46\x11\x55\x06\x56\x34\x5f\x83\xcb\xa2\x64\xa9\x58\xf7\xac\x21\x8c\x63\x82\x1b\x22\xb8\xbd\x1a\xc3\x68\x4d\x6d\xcc\x3b\x71\xe4\x45\xd5\x70\x7b\x9a\x5a\x6b\xa9\xe7\xfc\x24\x05\xb2\x59\xa6\x53\x1e\x93\x7b\x8e\xa4\xac\x7f\x8f\xa8\xaa\xff\x40\xc5\x70\xfa\x5b\xd4\x88\xe2\x89\xb7\x3e\x0a\x05\xe9\x4c\xe0\xbb\xa7\xe4\xb2\xf2\xcd\x8b\x3a\x3f\xdf\x91\xeb\x5e\xa2\xb0\x04\xf9\x15\x00\xd8\x4b\xfd\x36\x19\x9f\x9a\xa9\xa0\xb3\xf6\x6a\xf8\x16\xf0\xb9\xb4\x62\xd7\x96\x02\xa1\x2e\x70\x5e\xc6\x2c\x00\xce\xcb\x61\x07\x0e\x09\xbb\x25\xd4\x90\x76\xbf\x75\x01\x1c\xe1\x9d\x4e\xa7\xff\x6e\xf6\xdd\xc4\xff\xfc\xc1\x34\xc8\x1b\xf5\xbd\xa4\x9f\x66\x61\x67\x92\xe3\xfb\xf0\x95\x3d\x9a\x0c\x25\xdc\x36\xb2\x45\x04\x6c\x01\xff\x8f\x98\x97\x53\x29\x62\x4f\x3c\x9e\xac\x95\x82\x36\xda\xa0\xaa\x02\x69\x96\x84\x0d\x48\xdc\x63\x3c\xeb\xb5\xef\x48\x4b\xa7\xcd\xf1\xb7\x6a\x27\xa8\x03\xc4\xea\x46\x4e\xb3\x0c\x55\x73\x14\x7b\xa7\x83\xf0\xe4\x28\x69\xbf\xa9\x97\x0b\x61\xd5\xed\x05\xb7\x90\xf6\xa9\x3b\xab\x2f\x93\x9e\xef\xc9\xef\xad\x86\x77\xe5\x9a\x03\x7e\x3a\xb2\x30\x3c\xe9\x7f\xfd\x53\xe3\xce\x33\x69\xba\x4c\x48\xec\xeb\x3a\xae\xdc\xb4\x08\x9a\x97\xeb\x59\xfc\x97\x88\x20\x47\x39\xd5\xe6\xdf\x7c\x8d\xc3\x26\x99\x4b\xdc\xd1\x80\x3c\xb4\xb5\x21\xff\x66\x47\xde\x95\x90\xdf\xcb\x2c\x57\x05\x10\xa6\x19\x11\x87\x03\xe8\x2e\x7e\x45\xa5\x4e\x28\x7a\x8c\x73\x4d\x02\x94\xa8\xb2\xcd\x07\xff\xa3\x2e\x40\x0e\xdc\xd5\xbb\xf8\x6b\x2d\xd2\xf0\x9c\x2b\x72\x01\x8b\x17\xe5\x4d\xeb\xad\x47\xb8\x39\xe9\x8c\xeb\xea\xd5\xce\x68\xa4\x39\xe5\xeb\x42\x79\x45\xdf\xdd\x16\x8a\xc7\x02\x6a\x5c\x9c\x33\xc6\xc3\xce\x0b\x98\xf8\x32\xd7\xad\x16\xae\xcd\xb0\x18\x91\x90\x4f\x60\x42\xa4\xc9\x8e\x5f\x41\x20\x9b\x44\x88\xe6\xc9\x9e\xf1\x16\xf4\x3c\x48\x9f\x51\xe3\x06\x47\x66\x42\x19\x4f\xe0\x53\x50\x77\xc9\x4f\xc8\x0c\x5a\xba\x2e\x26\xe6\x1c\x77\xb1\xfc\x5f\xe9\xda\xd4\x79\x68\xbb\x41\x14\xba\xa6\x14\xd2\x34\xe3\xb0\xbe\x0d\x5a\xbe\xc9\xe6\x0d\x72\xc6\x95\x6a\x79\x78\x09\xb5\x1e\x16\xb6\xf4\x90\x29\xd2\xf4\xb2\x26\x6d\x3a\x8b\x9b\x56\x70\x99\xb5\x56\xc2\x68\x5a\x00\xbd\x84\x23\x8a\x90\x80\xaa\x02\x2c\x35\x7a\xd6\xd4\x54\xbd\x75\x94\xa0\x29\xeb\x42\x84\xa9\x73\xb4\x8e\x63\x92\xf4\x25\xb7\x03\x01\xb8\xc5\x14\x77\x50\x04\x90\xb7\x65\xc6\xb7\x00\x15\xbd\xd9\x9f\x51\xc2\xd1\x99\x5d\x80\xba\x04\x50\x8d\x6e\x66\xeb\x56\x69\x5c\xcc\xf6\x3d\x50\xcc\x40\xb0\x2c\x80\xc3\x88\x6c\xe7\x5d\x8a\x02\xab\xbb\x71\x49\xda\xce\xd8\xff\x3e\x8d\xfc\x16\x9f\xb4\x60\x31\xc4\xc0\xf1\x90\x60\xda\xba\x08\xd3\x5d\x34\x02\xb2\x0c\xb0\x41\x7f\x14\xef\x18\x4f\x5f\x53\x1f\x46\x95\xba\x48\x32\xa8\xb6\x39\x1b\x13\xf3\xab\xcd\xd2\xc0\x5b\x51\x68\xc3\x0f\xe3\xcd\xe8\x67\x7f\xf7\x38\x83\x6a\xa8\x5b\x7e\xf9\x01\x48\xb2\x55\x6b\x79\x0b\xd9\xbd\xa3\xd1\x08\xea\x37\xb0\x3a\xcf\xd0\x9a\x54\x4a\x8e\x85\x84\x36\x43\xf3\x13\x68\xcf\xc2\x26\xa9\x30\xdc\x74\x96\xed\x4c\x99\x66\xe3\xde\x92\x63\x79\x33\xee\x7b\xfd\xf1\x2b\xbf\xba\xc0\x23\x4a\x74\xe2\x89\xbd\xb3\x7a\x52\x2b\xd0\x47\xa1\x00\x7a\x36\x87\xa2\x1b\xc9\xb0\xcf\xf8\x08\x74\x27\x7d\x82\x5b\xdb\xab\x84\x5c\x1a\xc5\x04\x60\x56\x3d\x08\xb1\xe0\x4a\x7f\x10\x86\xe6\x77\x93\x19\x88\xd5\xcd\x6f\x97\x47\x06\xd6\x4f\x63\xe8\x44\x91\xb3\x02\x88\x8f\x8b\x8f\x0f\x42\x99\x7f\x5e\xdd\x25\x10\xf2\x6a\x0b\x16\xd7\x03\x8b\xec\x87\x13\x09\x38\x9c\xab\x6f\x57\x61\xa2\xb9\xf0\x01\x11\xbc\x44\x41\xbb\xfa\xde\x0e\xca\x7c\xea\x5b\x0b\x8d\xac\xa7\x36\xe6\x15\x05\x03\xaa\xe8\x79\xf7\x2d\x10\x83\x61\xca\x31\xba\xfb\xf4\xe0\xc2\xe9\xeb\xd7\xaf\x57\x26\x5b\xb0\x4c\x38\x89\x23\xa0\x0b\x4c\x59\x08\x8a\x2f\x7b\x76\x7b\x14\xf3\x98\x2e\x64\x2e\x7b\x3d\xd9\x4d\xc6\xf4\xb6\xb0\x11\x3c\x9d\x49\xf8\x0a\x3e\x16\x9c\x10\x60\x89\x35\x39\xff\xc3\x23\x7d\x6e\xcc\xf4\x92\x0a\x9b\x50\xa8\x60\xee\xd1\x27\xa2\x2f\xfe", 4096); struct csum_inet csum_1; csum_inet_init(&csum_1); csum_inet_update(&csum_1, (const uint8_t*)0x1000001a, 16); csum_inet_update(&csum_1, (const uint8_t*)0x1000002a, 16); uint32_t csum_1_chunk_2 = 0x12100000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_2, 4); uint32_t csum_1_chunk_3 = 0x3a000000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_3, 4); csum_inet_update(&csum_1, (const uint8_t*)0x1000022a, 4114); *(uint16_t*)0x1000022c = csum_inet_digest(&csum_1); break; case 11: memcpy((void*)0x10001240, "\xf2\x26\x33\x54\x5b\x41\xc4\xc2\xb1\xde\x3a\x0f\x4b\xbe\x11\x14\x00\x00\xc4\xc2\x31\xdc\x03\xc4\xc2\x4d\x96\x1c\x5f\x66\x0f\x38\x21\x47\x1e\xc4\xe1\x85\xd8\x71\x28\xc4\xc3\xc5\xcf\x8e\x0e\x08\x00\x00\xfe\xd1\x62\x00\xc4\xc2\x2d\x40\x11", 59); syz_execute_func(0x10001240); break; case 12: break; } } int main(void) { syscall(SYS_mmap, 0x10000000, 0x1000000, 7, 0x1012, -1, 0); use_temporary_dir(); loop(); return 0; } :350:11: error: use of undeclared identifier 'SYS___realpathat' syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); ^ 1 error generated. compiler invocation: clang [-o /tmp/syz-executor829220253 -DGOOS_freebsd=1 -DGOARCH_386=1 -DHOSTGOOS_freebsd=1 -x c - -m32 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -static -lc++ -Wno-overflow] --- FAIL: TestGenerate/freebsd/386/13 (2.15s) csource_test.go:123: opts: {Threaded:true Collide:false Repeat:true RepeatTimes:0 Procs:0 Sandbox:none Fault:false FaultCall:0 FaultNth:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false USB:false VhciInjection:false Wifi:false UseTmpDir:true HandleSegv:false Repro:false Trace:true} program: r0 = fcntl$dupfd(0xffffffffffffff9c, 0x11, 0xffffffffffffff9c) setsockopt$inet_sctp_SCTP_AUTOCLOSE(r0, 0x84, 0x5, &(0x7f0000000000)=0x5, 0x4) cap_rights_limit(r0, &(0x7f0000000040)=[0x6, 0xa9]) setsockopt$inet_sctp_SCTP_EVENTS(r0, 0x84, 0xc, &(0x7f0000000080)={0x20, 0x81, 0x3, 0x20, 0x20, 0xf7, 0xff, 0x7, 0x4, 0x40, 0x4}, 0xb) setsockopt$inet_sctp_SCTP_RESET_STREAMS(r0, 0x84, 0x901, &(0x7f00000000c0)={0x0, 0x9, 0x3, [0x1, 0xffff, 0x8000]}, 0xe) r1 = accept(r0, &(0x7f0000000100)=@un=@file={0x6e, 0x0, ""/108}, &(0x7f0000000180)=0x6e) __realpathat(r1, &(0x7f00000001c0)='./file0\x00', &(0x7f0000000200)=""/5, 0x5, 0x0) r2 = socket$inet_icmp_raw(0x2, 0x3, 0x1) fcntl$getown(r2, 0x5) getsockopt$inet6_sctp_SCTP_PRIMARY_ADDR(r1, 0x84, 0x7, &(0x7f0000000240)={@in6={{0x1c, 0x1c, 0x1, 0x7f, @loopback, 0xfffff9b1}}}, &(0x7f00000002c0)=0x80) syz_emit_ethernet(0x123c, &(0x7f0000000000)={@remote, @remote, [{[], {0x8100, 0x5, 0x1, 0x3}}], {@ipv6={0x86dd, {0x7, 0x6, "c3cb10", 0x1202, 0x2f, 0x1, @rand_addr="cdd9639d818e3c5354e423e67c0261ce", @rand_addr="9aa3a73eacf47f646cf70032c9d108ee", {[@hopopts={0x36, 0x1e, [], [@enc_lim={0x4, 0x1, 0x1}, @jumbo={0xc2, 0x4, 0x7}, @padn={0x1, 0x2, [0x0, 0x0]}, @generic={0xff, 0xe2, "6643d230d2ebee2da66799233fd3953c637fbff58a08fe47946de86f44bcf9e809d627768d7e38be69808921c800a8ca76dba12e6b01e8b0b852821fe46d8d1b863c6ed1f386d2779a2983036a403ec804bbc1ce77c679d945e9c0b836352e6f8ee210ede5f8eb2937afc8307287e8a27e8fc66de2ef50421840455126dc362d0994a2a2db619ca5b70f615b719413594471a2efad9e7e22a5400361abac231575d1b498781612296d932e4832dd0c9f6709c2f81038bbcde5c27832bae014b13b9b93b41374f997c188d74a33960b2b2948a2eb3211c2aca855f616f2223f4746ce"}, @enc_lim={0x4, 0x1, 0x1f}]}, @routing={0x31, 0x4, 0x0, 0x5, 0x0, [@ipv4={[], [], @broadcast}, @empty]}, @routing={0x58, 0x8, 0x1, 0x81, 0x0, [@local={0xfe, 0x80, [], 0x0}, @mcast1, @local={0xfe, 0x80, [], 0x0}, @loopback]}, @routing={0x59, 0xc, 0x0, 0x3, 0x0, [@rand_addr="d691f228498c816bd931bf11ea3cb358", @empty, @loopback, @rand_addr="4046fbe3c1e1669f072dd9ee3ba11696", @ipv4={[], [], @broadcast}, @mcast1]}, @fragment={0x27, 0x0, 0x91, 0x1, 0x0, 0x6, 0x66}, @hopopts={0x26, 0x0, [], [@ra={0x5, 0x2, 0x5}]}], @icmpv6=@ndisc_ra={0x86, 0x0, 0x0, 0x0, 0x9, 0x9, 0x401, 0x7fffffff, [{0x1, 0x200, "d145ff576d7fe933a6f7ae4bd47d7aec4360a335727c0267ff79e34d036694ea6d8de62ebb1941f6b9a95a6c95fa33d4a6ddfe3be408148daca556b6b4dfebef869da93cfa26fb8e16509febb321011f508eec7502824442d8620519d7ce359284ef093639001b689f9443260584dfaf819313726c4495ac4c3203aa603e26f374d696cdb36fb00e6c412edbefc16270c783d3a1ada35a07cd9225f21b9570f801a960e06d96556b9eaca234f12861444231c94aee6315fb199f69eebdf9fdb0bdb89902e0eb69bbdf9730aa371b84b02e9ab5f3a4f99f9205694f062460e286b1abef3936fdf183bd7c95a9d99b57827dea1814e0e2dc58a677f2ae6c73de4e27fe8856e417fd266088008abe5d38d74ea0bdc6d046c5d3f45e2ee47a440c5dfc30459b219bb3b1302feb6b36a6e524b1db70d57efe32823b0ad037a3c204c77748b85fd88abf24ef0717eac90e235d91764b48bb1dcc3c9177fc4b0fc997d3d4e90702872bf0d8702194e22577353e557c0041f106e5dee1d24f243ab7c07b4335a6886c04061e84966599b68c676e966008a7905f1706048334501a3608305330cb8b447a1698fa9646c73cd758871c1e8b96889ae3372a5fef5b03ef56d1608eae44a863b05991f626447730df97f33686e5cb72554a1a8ace8b530d3e60452352d9e93ed031852eb2dc87903a1346c3962ced8f4fd2c07e01843d19e253653fcc7eb3e710b546e1180844d95e67143def4619375d71173729dfabeecddd0239456fd1f563bedd3e8aa7bd29ce40bfb72e832324cf0e7ed960bc4cdd81a1d1c4d3a2f984218a8f7ce9288fb57b315c475a57c2d56743ba3987ad1fe69af5a391cdb9c8a551723340c3d1c989b5da33771f797e8993ef51546e9849ba61a3cb3babbc5b33fc9e883b3ee41e6d8c675841718b908092b2c4da4c1a78a17bee0c409d03cd8bed2d56a46ee7721b5659be3fa5cd0e89bceffaffaf1e95716adc762554c496a40282cb6d85f4e0e29fd76574001b893d0ffc8c94a187829e24546d890439547b81c18c4865be4cb57e06e319c5007d43459ec3aa20ce72f7883cbda6a303c343fbed7f62b2f2ac9f5d24842e8abae1c9e32954b0d0d60242891b1fae40d03283f33c0948e161fa2f9ffb77b72ce969718768282c45ae089faf80ecaff1658114a78d8b13833958a360fe8bead9b485d5dcc701812a559c6d04a22fe59d3f6fc0fcc7cbbbc4450a58bee99560579eff8d7846d062253d15d5e6b20a78134014323bc31f3dbfa53e2ede137e3c1129ba8db638a95972e1a7223504af10a149154fa581b9dbc516289cff0d655888592199c77fa553f07db009ee2a42c5412df9fe612d108ee2d595cbb0bf59776646cb7c83e3551a91c0aca05de20d0bfc6c1f8f5c9492f22e5714ea0cbab5763194996c818545c0997ff555e5d136aea50a7a93dc40340a725da5ca7ea45a483d2c9da67a254d6ebdb6e20270beb33373321d922375207bf54707e1d97d52a6930b4287cd0dc6d8d3346e388fe41fca91162739a30c97da08cc3f42b3f54382dcdef5d0e7670b8c98c0533bf6c53d58688d9b958b23a91a8a6f2ffad419e01e2bb776cc3213fef59a7034d835c022dad02994624c55855b09e266e416a66939fc3664e441b99d7ffa0b83bfd0b0d752de0baedc1746b4938201972253924b0a68641e7c935fbb4189e5fdc391a29e331151fe720bfbc06825ba0766e421a2613fc0b78ceeb3817f262c90f66e7cfa0533c17ac71b0b1f94ffb02e3807b6247e968cedb141206edf0ca6f98fd919fa5279fe208799d82ab3a70b9b4baea410dc7cb3933782d63fe42807cf0fa7f5c9ae0cd4d0a0294692d3629d9881dad532b34efd702d8eaf0ac20378e62b36460656e0e887c44959552c9620e9ec3e73fee5ca0e5a6dd767b7b7a97ac4c77e709ce7859f21f0be66c9be7f445fb15f7bf4c8124a567fbfe0d379f08cb1b816f4c720ef5e3a6a083b5be05694a0d3d3ac784fc4399b1ccb7482ca0a1182166403565a9f7d4b0b71cccd20b952aee3be5c9ab10663e08aa419c8dee91e6f9bc58377e949d7251a445e1a7f87933dbbac2703f5d111de77b9dc5de5a53b90ee18ef9ab6a154f3f2500df04124645a6f09edb80c2fed4f30ffc4659176a6d3633db7c6c6c7acdc9332fbfc34f63543f99c3e7283ab9a98e8073e2c1a3158158976f06a520975b2f565936521babdd27fce006d30f5d75053847e6124940f3ef663e7e12e206e8dccc221a2381a1762f3e6ebbd37eb7a5409498e19eeab8b75cfbd7522a3ef45a236ad0b7129154e44436bd8b8da1323469c150cd487746247d06f12ae67fa30dc79f4df5cc8c1f86e8b35689b5a2c32e50777cf132f14c4cd2fb8f3760a66ec723e29624f8a974953350ca8853239944e33727d5965e10c8da5a8fcb4033ea2f96cad4d33524d181844b5a6a2a3a0c0a3572e4354b5f0bb6c727bcf02d31f66742bcd3e3767c70b1fa695812896ed053934abee8dea4ca8242b1fe1409717ddca6676b358e7930dc927f688c22e2ae6296ff2ed3c8519f3f8d49c3a7183d4aa0da4e3c7a652d539bff9ab1952aa13c002a0a8e7128b4e4ab441fcc905a0f26f9f6b5fa31360d5c24845ad876577bb0e1fcfed3101aedf14a73c0ce03e36360c01eee27342c1fa46d72474cd519e57837c250cedf09a31e45deb383587c5aee4c36fe2a8df37240de321a6a1c6fc656b5e6b28ffa25f40a723a5d13cbe7b42b4f62f60ccfbaa4ffeb00ca3b6d94119c0594aa5e11af8055b10d1a5a9900bd25b850c993c3bd9a941bded209dc4c74e9421b84c81c624dfffd12f397cc79101da2aac938a23aa49908f3f1ff41fc60dba8240a04f0941784a2284aaebdcc8143910ab01780e463dfb8be387b99346fbf8676e7f3e92420502a98eaa6d710b064f016dce0d6dc41956aea4fc9f304394b321c78141ad4c8d6527d7e946cff3fe06b252ae992837f0a9b9be2fb5d6358e419f9f30c4358906a82685fc734d2d2497a152cbe965f7e3220d437a7e64e9d1cef4092d0f8e731910d04e15df205b130979e1b8710faa5804642ceca6667c9dfe3747ee43cd73466204470987d0e76af237218ccb37bd77a39a09918e74aaf597bd3fbd79bba735c5ce6e81c559c986bbf60755170b30474a9e7caa5e83a42f19f79b186ec3af3bf1112c00cf05bff72a0d1698a94a871c4e8a0797d4d7f3c3e7e2a27ca7b9386f16c0473395fe85b280f9aba2efdaa08bcc7f2f2c301e165d626c83285bddf052cba134df3bbdd1e8f46415bbb391e05b1e475f344c1012cca9a72fb122c25d7f85c92a74fe7350a909dfee05b8a87557ad0cbc5912dcbdf9373a5e413b8375df15d4d8a06f4ced1259a8165389acc897cfd01c0dbea278144d079440086f7febdcf7aa7eec023993df73d8d0d46163add80a7c686789331c15aa22c8cafd5df40d4561f6f24759eb3d6a97ea01a3a3368ea8b1cf6fff8bf58ac225528d7a17d21edfa6eacfc5aab6f785a0b3003ab6ee0de9423cd363b14d03e102f445b23c14a536d7b231243288f288da44f8a5e8bc1f13b8cec7cb6a2a569636163a098b2f40f45c43564f1aa8b916426e77510936202363fe0dd717450cca9e8cbde8dffc9b9e24d8bd3cf171e36f05c06334873110b9c2d1a3020b660aacb19682d771e02c4d80dbfcdd11edf7553abad4cd0cee0fc5e81e94c4810a2c497f3d0ffa21bf7a31b6a835daf1f609e23cd64f81c1716af85b9233b547e679c72755e6cbb1cb405d7a897fcaa8c815bbd5a2aecc89d69981f349af2f97edb5a6f4197d20eec8d4b0f3c2375b8839cf6858bbf101ee06aecb7516cc27d59a8bdc9b5b208aaa4b5c14a5251d9d232397dd8d0eb8855d3ae0625a254fb89779ab00b3af427454c6bf5cff225c2f77bac6e5997404f00a4079d2237d19aec130c03a771e126cec4bc0661c3f9fae365d617723024ef8802fc94a85ebb80144b165f9d4bc2a1f87ce048ea52858d65dd33b1320b697ed30299b1848835c616b0a687e887483127078433db991d662fa367421445be00af4c06a34e554b3efa0f8cf99d2e1740c3d23ae57f97e1d19770103d7ec6f17b085ee3ea95ee6c74c3753628d0a97b440d38c139fd8974f049e3b4a8e83dae7c626d0139f92c69a92975270456cf7640c4b0ea0c3f5f2bdffd9a0cca3acadc2f2789bd59109059ff454bf742da9933f66e004da866be462ba3a2e42a2302407e822791b782164c795b1712a2c1d957e37703a328ae14628884c76ed83d08710a6212dd13cc466ac8f4b8c65e8ad647261e41786dac815c47299ff9b572579c2b5a27af372358c3f2ba4c11f86cab07c65ca9f0f703554b162b73c3706add4f7e10d95b847ca798c092361b43e086569d402d55f72ca7aa78ee95d9343c381196bcf8f8cfb0b805d418d51ccab377f646b3934b4c6773ba4cd975a0f12084a337d435d4611550656345f83cba264a958f7ac218c63821b22b8bd1ac3684d6dcc3b71e445d5707b9a5a6ba9e7fc2405b259a6531e937b8ea4ac7f8fa8aaff40c570fa5bd488e289b73e0a05e94ce0bba7e4b2f2cd8b3a3fdf91eb5ea2b004f91500d84bfd36199f9aa9a0b3f66af816f0b9b462d79602a12e705ec62c00cecb61070e09bb25d49076bf75011ce19d4ea7ff6ef6ddc4fffcc134c81bf5bda49f66616792e3fbf0953d9a0c25dc36b245046c01ff8f98975329624f3c9eac958236daa0aa026996840d48dc633cebb5ef484ba7cdf1b76a27a803c4ea464eb30c5573147ba783f0e42869bfa9970b61d5ed05b790f6a93bab2f939eefc9efad8677e59a037e3ab2303ce97ffd53e3ce3369ba4c48eceb3aaedcb4089a97eb59fc9788204739d5e6df7c8dc326994bdcd1803cb4b521ff6647de9590dfcb2c570510a619118703e82e7e45a54e287a8c734d0294a8b2cd07ffa32e400edcd5bbf86b2dd2f09c2b72018b17e54debad47b839e98cebead5ce68a439e5eb427945dfdd168ac7026a5c9c33c6c3ce0b98f832d7ad16aecdb01891904f6042a4c98e5f41209b4488e6c99ef116f43c489f51e306476642194fe0535077c94fc80c5aba2e26e61c77b1fc5fe9dad47968bb4114baa614d234e3b0be0d5abec9e60d72c6956a797809b51e16b6f49029d2f4b2266d3a8b9b567099b556c2685a00bd84238a9080aa022c357ad6d454bd7594a029eb4284a973b48e6392f425b70301b8c51477500490b765c6b70015bdd99f51c2d1995d80ba04508d6e66eb56695cccf63d50cc40b02c80c3886ce75d8a02abbb7149daced8ff3e8dfc169fb46031c4c0f19060daba08d35d3402b20cb0417f14ef184f5f531f4695ba4832a8b6391b13f3abcdd2c05b5168c30fe3cde8677ff738836aa85b7ef90148b2556b790bd9bda3d108ea37b03acfd09a544a8e85843643f31368cfc226a930dc7496ed4c9966e3de92637933ee7bfdf12bbfbac0234a74e289bdb37a522bd047a1007a3687a21bc9b0cff80874277d825bdbab845c1ac50460563d08b1e04a7f1086e677931988d5cd6f974706d64f63e84491b302888f8b8f0f42997f5edd2510f26a0b16d7038bec871309389cab6f5761a2b9f00111bc4441bbfade0eca7cea5b0b8daca736e6150503aae879f72d108361ca31bafbf4e0c2e9ebd7af57265bb04c388923a00b4c59088a2f7b767b14f3982e642e7b3dd94dc6f4b6b0113c9d49f80a3e169c1060893539ffc3237d6eccf4920a9b50a860eed127a22ffe"}]}}}}}}) syz_execute_func(&(0x7f0000001240)="f22633545b41c4c2b1de3a0f4bbe11140000c4c231dc03c4c24d961c5f660f3821471ec4e185d87128c4c3c5cf8e0e080000fed16200c4c22d4011") syz_extract_tcp_res(&(0x7f0000001280), 0x26e, 0x1) csource_test.go:124: failed to build program: // 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 static void kill_and_wait(int pid, int* status) { kill(pid, SIGKILL); while (waitpid(-1, status, 0) != pid) { } } static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void 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 __attribute__((noinline)) remove_dir(const char* dir) { DIR* dp = opendir(dir); if (dp == NULL) { if (errno == EACCES) { if (rmdir(dir)) exit(1); return; } 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); struct stat st; if (lstat(filename, &st)) exit(1); if (S_ISDIR(st.st_mode)) { remove_dir(filename); continue; } if (unlink(filename)) exit(1); } closedir(dp); if (rmdir(dir)) 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); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); ev->state = 0; } static void event_reset(event_t* ev) { ev->state = 0; } static void event_set(event_t* ev) { pthread_mutex_lock(&ev->mu); if (ev->state) exit(1); ev->state = 1; pthread_mutex_unlock(&ev->mu); pthread_cond_broadcast(&ev->cv); } static void event_wait(event_t* ev) { pthread_mutex_lock(&ev->mu); while (!ev->state) pthread_cond_wait(&ev->cv, &ev->mu); pthread_mutex_unlock(&ev->mu); } static int event_isset(event_t* ev) { pthread_mutex_lock(&ev->mu); int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } static int event_timedwait(event_t* ev, uint64_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #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)))) struct csum_inet { uint32_t acc; }; static void csum_inet_init(struct csum_inet* csum) { csum->acc = 0; } static void csum_inet_update(struct csum_inet* csum, const uint8_t* data, size_t length) { if (length == 0) return; size_t i = 0; for (; i < length - 1; i += 2) csum->acc += *(uint16_t*)&data[i]; if (length & 1) csum->acc += le16toh((uint16_t)data[length - 1]); while (csum->acc > 0xffff) csum->acc = (csum->acc & 0xffff) + (csum->acc >> 16); } static uint16_t csum_inet_digest(struct csum_inet* csum) { return ~csum->acc; } static void sandbox_common() { if (setsid() == -1) exit(1); struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = 128 << 20; setrlimit(RLIMIT_AS, &rlim); rlim.rlim_cur = rlim.rlim_max = 8 << 20; setrlimit(RLIMIT_MEMLOCK, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_FSIZE, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_STACK, &rlim); rlim.rlim_cur = rlim.rlim_max = 0; setrlimit(RLIMIT_CORE, &rlim); rlim.rlim_cur = rlim.rlim_max = 256; setrlimit(RLIMIT_NOFILE, &rlim); } static void loop(); static int do_sandbox_none(void) { sandbox_common(); loop(); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } struct thread_t { int created, call; event_t ready, done; }; static struct thread_t threads[16]; static void execute_call(int call); static int running; static void* thr(void* arg) { struct thread_t* th = (struct thread_t*)arg; for (;;) { event_wait(&th->ready); event_reset(&th->ready); execute_call(th->call); __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); event_set(&th->done); } return 0; } static void execute_one(void) { fprintf(stderr, "### start\n"); int i, call, thread; for (call = 0; call < 13; 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, 45); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); #define WAIT_FLAGS 0 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); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5 * 1000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } uint64_t r[3] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: res = syscall(SYS_fcntl, 0xffffff9c, 0x11, 0xffffff9c); fprintf(stderr, "### call=0 errno=%u\n", res == -1 ? errno : 0); if (res != -1) r[0] = res; break; case 1: *(uint32_t*)0x10000000 = 5; res = syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 5, 0x10000000, 4); fprintf(stderr, "### call=1 errno=%u\n", res == -1 ? errno : 0); break; case 2: *(uint64_t*)0x10000040 = 6; *(uint64_t*)0x10000048 = 0xa9; res = syscall(SYS_cap_rights_limit, (intptr_t)r[0], 0x10000040); fprintf(stderr, "### call=2 errno=%u\n", res == -1 ? errno : 0); break; case 3: *(uint8_t*)0x10000080 = 0x20; *(uint8_t*)0x10000081 = 0x81; *(uint8_t*)0x10000082 = 3; *(uint8_t*)0x10000083 = 0x20; *(uint8_t*)0x10000084 = 0x20; *(uint8_t*)0x10000085 = 0xf7; *(uint8_t*)0x10000086 = -1; *(uint8_t*)0x10000087 = 7; *(uint8_t*)0x10000088 = 4; *(uint8_t*)0x10000089 = 0x40; *(uint8_t*)0x1000008a = 4; res = syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0xc, 0x10000080, 0xb); fprintf(stderr, "### call=3 errno=%u\n", res == -1 ? errno : 0); break; case 4: *(uint32_t*)0x100000c0 = 0; *(uint16_t*)0x100000c4 = 9; *(uint16_t*)0x100000c6 = 3; *(uint16_t*)0x100000c8 = 1; *(uint16_t*)0x100000ca = -1; *(uint16_t*)0x100000cc = 0x8000; res = syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0x901, 0x100000c0, 0xe); fprintf(stderr, "### call=4 errno=%u\n", res == -1 ? errno : 0); break; case 5: *(uint32_t*)0x10000180 = 0x6e; res = syscall(SYS_accept, (intptr_t)r[0], 0x10000100, 0x10000180); fprintf(stderr, "### call=5 errno=%u\n", res == -1 ? errno : 0); if (res != -1) r[1] = res; break; case 6: memcpy((void*)0x100001c0, "./file0\000", 8); res = syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); fprintf(stderr, "### call=6 errno=%u\n", res == -1 ? errno : 0); break; case 7: res = syscall(SYS_socket, 2, 3, 1); fprintf(stderr, "### call=7 errno=%u\n", res == -1 ? errno : 0); if (res != -1) r[2] = res; break; case 8: res = syscall(SYS_fcntl, (intptr_t)r[2], 5, 0); fprintf(stderr, "### call=8 errno=%u\n", res == -1 ? errno : 0); break; case 9: *(uint8_t*)0x10000240 = 0x1c; *(uint8_t*)0x10000241 = 0x1c; *(uint16_t*)0x10000242 = htobe16(0x4e21); *(uint32_t*)0x10000244 = 0x7f; *(uint64_t*)0x10000248 = htobe64(0); *(uint64_t*)0x10000250 = htobe64(1); *(uint32_t*)0x10000258 = 0xfffff9b1; *(uint64_t*)0x1000025c = 0; *(uint64_t*)0x10000264 = 0; *(uint64_t*)0x1000026c = 0; *(uint64_t*)0x10000274 = 0; *(uint64_t*)0x1000027c = 0; *(uint64_t*)0x10000284 = 0; *(uint64_t*)0x1000028c = 0; *(uint64_t*)0x10000294 = 0; *(uint64_t*)0x1000029c = 0; *(uint64_t*)0x100002a4 = 0; *(uint64_t*)0x100002ac = 0; *(uint64_t*)0x100002b4 = 0; *(uint32_t*)0x100002bc = 0; *(uint32_t*)0x100002c0 = 0x80; res = syscall(SYS_getsockopt, (intptr_t)r[1], 0x84, 7, 0x10000240, 0x100002c0); fprintf(stderr, "### call=9 errno=%u\n", res == -1 ? errno : 0); break; case 10: *(uint8_t*)0x10000000 = 0xaa; *(uint8_t*)0x10000001 = 0xaa; *(uint8_t*)0x10000002 = 0xaa; *(uint8_t*)0x10000003 = 0xaa; *(uint8_t*)0x10000004 = 0xaa; *(uint8_t*)0x10000005 = 0xbb; *(uint8_t*)0x10000006 = 0xaa; *(uint8_t*)0x10000007 = 0xaa; *(uint8_t*)0x10000008 = 0xaa; *(uint8_t*)0x10000009 = 0xaa; *(uint8_t*)0x1000000a = 0xaa; *(uint8_t*)0x1000000b = 0xbb; *(uint16_t*)0x1000000c = htobe16(0x8100); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 5, 0, 3); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 1, 3, 1); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 3, 4, 12); *(uint16_t*)0x10000010 = htobe16(0x86dd); STORE_BY_BITMASK(uint8_t, , 0x10000012, 7, 0, 4); STORE_BY_BITMASK(uint8_t, , 0x10000012, 6, 4, 4); memcpy((void*)0x10000013, "\xc3\xcb\x10", 3); *(uint16_t*)0x10000016 = htobe16(0x1202); *(uint8_t*)0x10000018 = 0x2f; *(uint8_t*)0x10000019 = 1; memcpy((void*)0x1000001a, "\xcd\xd9\x63\x9d\x81\x8e\x3c\x53\x54\xe4\x23\xe6\x7c\x02\x61\xce", 16); memcpy((void*)0x1000002a, "\x9a\xa3\xa7\x3e\xac\xf4\x7f\x64\x6c\xf7\x00\x32\xc9\xd1\x08\xee", 16); *(uint8_t*)0x1000003a = 0x36; *(uint8_t*)0x1000003b = 0x1e; *(uint8_t*)0x1000003c = 0; *(uint8_t*)0x1000003d = 0; *(uint8_t*)0x1000003e = 0; *(uint8_t*)0x1000003f = 0; *(uint8_t*)0x10000040 = 0; *(uint8_t*)0x10000041 = 0; *(uint8_t*)0x10000042 = 4; *(uint8_t*)0x10000043 = 1; *(uint8_t*)0x10000044 = 1; *(uint8_t*)0x10000045 = 0xc2; *(uint8_t*)0x10000046 = 4; *(uint32_t*)0x10000047 = htobe32(7); *(uint8_t*)0x1000004b = 1; *(uint8_t*)0x1000004c = 2; *(uint8_t*)0x1000004d = 0; *(uint8_t*)0x1000004e = 0; *(uint8_t*)0x1000004f = -1; *(uint8_t*)0x10000050 = 0xe2; memcpy((void*)0x10000051, "\x66\x43\xd2\x30\xd2\xeb\xee\x2d\xa6\x67\x99\x23\x3f\xd3\x95\x3c\x63\x7f\xbf\xf5\x8a\x08\xfe\x47\x94\x6d\xe8\x6f\x44\xbc\xf9\xe8\x09\xd6\x27\x76\x8d\x7e\x38\xbe\x69\x80\x89\x21\xc8\x00\xa8\xca\x76\xdb\xa1\x2e\x6b\x01\xe8\xb0\xb8\x52\x82\x1f\xe4\x6d\x8d\x1b\x86\x3c\x6e\xd1\xf3\x86\xd2\x77\x9a\x29\x83\x03\x6a\x40\x3e\xc8\x04\xbb\xc1\xce\x77\xc6\x79\xd9\x45\xe9\xc0\xb8\x36\x35\x2e\x6f\x8e\xe2\x10\xed\xe5\xf8\xeb\x29\x37\xaf\xc8\x30\x72\x87\xe8\xa2\x7e\x8f\xc6\x6d\xe2\xef\x50\x42\x18\x40\x45\x51\x26\xdc\x36\x2d\x09\x94\xa2\xa2\xdb\x61\x9c\xa5\xb7\x0f\x61\x5b\x71\x94\x13\x59\x44\x71\xa2\xef\xad\x9e\x7e\x22\xa5\x40\x03\x61\xab\xac\x23\x15\x75\xd1\xb4\x98\x78\x16\x12\x29\x6d\x93\x2e\x48\x32\xdd\x0c\x9f\x67\x09\xc2\xf8\x10\x38\xbb\xcd\xe5\xc2\x78\x32\xba\xe0\x14\xb1\x3b\x9b\x93\xb4\x13\x74\xf9\x97\xc1\x88\xd7\x4a\x33\x96\x0b\x2b\x29\x48\xa2\xeb\x32\x11\xc2\xac\xa8\x55\xf6\x16\xf2\x22\x3f\x47\x46\xce", 226); *(uint8_t*)0x10000133 = 4; *(uint8_t*)0x10000134 = 1; *(uint8_t*)0x10000135 = 0x1f; *(uint8_t*)0x1000013a = 0x31; *(uint8_t*)0x1000013b = 4; *(uint8_t*)0x1000013c = 0; *(uint8_t*)0x1000013d = 5; *(uint32_t*)0x1000013e = 0; *(uint8_t*)0x10000142 = 0; *(uint8_t*)0x10000143 = 0; *(uint8_t*)0x10000144 = 0; *(uint8_t*)0x10000145 = 0; *(uint8_t*)0x10000146 = 0; *(uint8_t*)0x10000147 = 0; *(uint8_t*)0x10000148 = 0; *(uint8_t*)0x10000149 = 0; *(uint8_t*)0x1000014a = 0; *(uint8_t*)0x1000014b = 0; *(uint8_t*)0x1000014c = -1; *(uint8_t*)0x1000014d = -1; *(uint32_t*)0x1000014e = htobe32(-1); *(uint8_t*)0x10000152 = 0; *(uint8_t*)0x10000153 = 0; *(uint8_t*)0x10000154 = 0; *(uint8_t*)0x10000155 = 0; *(uint8_t*)0x10000156 = 0; *(uint8_t*)0x10000157 = 0; *(uint8_t*)0x10000158 = 0; *(uint8_t*)0x10000159 = 0; *(uint8_t*)0x1000015a = 0; *(uint8_t*)0x1000015b = 0; *(uint8_t*)0x1000015c = 0; *(uint8_t*)0x1000015d = 0; *(uint8_t*)0x1000015e = 0; *(uint8_t*)0x1000015f = 0; *(uint8_t*)0x10000160 = 0; *(uint8_t*)0x10000161 = 0; *(uint8_t*)0x10000162 = 0x58; *(uint8_t*)0x10000163 = 8; *(uint8_t*)0x10000164 = 1; *(uint8_t*)0x10000165 = 0x81; *(uint32_t*)0x10000166 = 0; *(uint8_t*)0x1000016a = 0xfe; *(uint8_t*)0x1000016b = 0x80; *(uint8_t*)0x1000016c = 0; *(uint8_t*)0x1000016d = 0; *(uint8_t*)0x1000016e = 0; *(uint8_t*)0x1000016f = 0; *(uint8_t*)0x10000170 = 0; *(uint8_t*)0x10000171 = 0; *(uint8_t*)0x10000172 = 0; *(uint8_t*)0x10000173 = 0; *(uint8_t*)0x10000174 = 0; *(uint8_t*)0x10000175 = 0; *(uint8_t*)0x10000176 = 0; *(uint8_t*)0x10000177 = 0; *(uint8_t*)0x10000178 = 0; *(uint8_t*)0x10000179 = 0xaa; *(uint8_t*)0x1000017a = -1; *(uint8_t*)0x1000017b = 1; *(uint8_t*)0x1000017c = 0; *(uint8_t*)0x1000017d = 0; *(uint8_t*)0x1000017e = 0; *(uint8_t*)0x1000017f = 0; *(uint8_t*)0x10000180 = 0; *(uint8_t*)0x10000181 = 0; *(uint8_t*)0x10000182 = 0; *(uint8_t*)0x10000183 = 0; *(uint8_t*)0x10000184 = 0; *(uint8_t*)0x10000185 = 0; *(uint8_t*)0x10000186 = 0; *(uint8_t*)0x10000187 = 0; *(uint8_t*)0x10000188 = 0; *(uint8_t*)0x10000189 = 1; *(uint8_t*)0x1000018a = 0xfe; *(uint8_t*)0x1000018b = 0x80; *(uint8_t*)0x1000018c = 0; *(uint8_t*)0x1000018d = 0; *(uint8_t*)0x1000018e = 0; *(uint8_t*)0x1000018f = 0; *(uint8_t*)0x10000190 = 0; *(uint8_t*)0x10000191 = 0; *(uint8_t*)0x10000192 = 0; *(uint8_t*)0x10000193 = 0; *(uint8_t*)0x10000194 = 0; *(uint8_t*)0x10000195 = 0; *(uint8_t*)0x10000196 = 0; *(uint8_t*)0x10000197 = 0; *(uint8_t*)0x10000198 = 0; *(uint8_t*)0x10000199 = 0xaa; *(uint64_t*)0x1000019a = htobe64(0); *(uint64_t*)0x100001a2 = htobe64(1); *(uint8_t*)0x100001aa = 0x59; *(uint8_t*)0x100001ab = 0xc; *(uint8_t*)0x100001ac = 0; *(uint8_t*)0x100001ad = 3; *(uint32_t*)0x100001ae = 0; memcpy((void*)0x100001b2, "\xd6\x91\xf2\x28\x49\x8c\x81\x6b\xd9\x31\xbf\x11\xea\x3c\xb3\x58", 16); *(uint8_t*)0x100001c2 = 0; *(uint8_t*)0x100001c3 = 0; *(uint8_t*)0x100001c4 = 0; *(uint8_t*)0x100001c5 = 0; *(uint8_t*)0x100001c6 = 0; *(uint8_t*)0x100001c7 = 0; *(uint8_t*)0x100001c8 = 0; *(uint8_t*)0x100001c9 = 0; *(uint8_t*)0x100001ca = 0; *(uint8_t*)0x100001cb = 0; *(uint8_t*)0x100001cc = 0; *(uint8_t*)0x100001cd = 0; *(uint8_t*)0x100001ce = 0; *(uint8_t*)0x100001cf = 0; *(uint8_t*)0x100001d0 = 0; *(uint8_t*)0x100001d1 = 0; *(uint64_t*)0x100001d2 = htobe64(0); *(uint64_t*)0x100001da = htobe64(1); memcpy((void*)0x100001e2, "\x40\x46\xfb\xe3\xc1\xe1\x66\x9f\x07\x2d\xd9\xee\x3b\xa1\x16\x96", 16); *(uint8_t*)0x100001f2 = 0; *(uint8_t*)0x100001f3 = 0; *(uint8_t*)0x100001f4 = 0; *(uint8_t*)0x100001f5 = 0; *(uint8_t*)0x100001f6 = 0; *(uint8_t*)0x100001f7 = 0; *(uint8_t*)0x100001f8 = 0; *(uint8_t*)0x100001f9 = 0; *(uint8_t*)0x100001fa = 0; *(uint8_t*)0x100001fb = 0; *(uint8_t*)0x100001fc = -1; *(uint8_t*)0x100001fd = -1; *(uint32_t*)0x100001fe = htobe32(-1); *(uint8_t*)0x10000202 = -1; *(uint8_t*)0x10000203 = 1; *(uint8_t*)0x10000204 = 0; *(uint8_t*)0x10000205 = 0; *(uint8_t*)0x10000206 = 0; *(uint8_t*)0x10000207 = 0; *(uint8_t*)0x10000208 = 0; *(uint8_t*)0x10000209 = 0; *(uint8_t*)0x1000020a = 0; *(uint8_t*)0x1000020b = 0; *(uint8_t*)0x1000020c = 0; *(uint8_t*)0x1000020d = 0; *(uint8_t*)0x1000020e = 0; *(uint8_t*)0x1000020f = 0; *(uint8_t*)0x10000210 = 0; *(uint8_t*)0x10000211 = 1; *(uint8_t*)0x10000212 = 0x27; *(uint8_t*)0x10000213 = 0; *(uint8_t*)0x10000214 = 0x91; STORE_BY_BITMASK(uint8_t, , 0x10000215, 1, 0, 1); STORE_BY_BITMASK(uint8_t, , 0x10000215, 0, 1, 2); STORE_BY_BITMASK(uint8_t, , 0x10000215, 6, 3, 5); *(uint32_t*)0x10000216 = 0x66; *(uint8_t*)0x1000021a = 0x26; *(uint8_t*)0x1000021b = 0; *(uint8_t*)0x1000021c = 0; *(uint8_t*)0x1000021d = 0; *(uint8_t*)0x1000021e = 0; *(uint8_t*)0x1000021f = 0; *(uint8_t*)0x10000220 = 0; *(uint8_t*)0x10000221 = 0; *(uint8_t*)0x10000222 = 5; *(uint8_t*)0x10000223 = 2; *(uint16_t*)0x10000224 = htobe16(5); *(uint8_t*)0x1000022a = 0x86; *(uint8_t*)0x1000022b = 0; *(uint16_t*)0x1000022c = htobe16(0); *(uint8_t*)0x1000022e = 0; *(uint8_t*)0x1000022f = 9; *(uint16_t*)0x10000230 = htobe16(9); *(uint32_t*)0x10000232 = htobe32(0x401); *(uint32_t*)0x10000236 = htobe32(0x7fffffff); *(uint8_t*)0x1000023a = 1; *(uint8_t*)0x1000023b = 0; memcpy((void*)0x1000023c, "\xd1\x45\xff\x57\x6d\x7f\xe9\x33\xa6\xf7\xae\x4b\xd4\x7d\x7a\xec\x43\x60\xa3\x35\x72\x7c\x02\x67\xff\x79\xe3\x4d\x03\x66\x94\xea\x6d\x8d\xe6\x2e\xbb\x19\x41\xf6\xb9\xa9\x5a\x6c\x95\xfa\x33\xd4\xa6\xdd\xfe\x3b\xe4\x08\x14\x8d\xac\xa5\x56\xb6\xb4\xdf\xeb\xef\x86\x9d\xa9\x3c\xfa\x26\xfb\x8e\x16\x50\x9f\xeb\xb3\x21\x01\x1f\x50\x8e\xec\x75\x02\x82\x44\x42\xd8\x62\x05\x19\xd7\xce\x35\x92\x84\xef\x09\x36\x39\x00\x1b\x68\x9f\x94\x43\x26\x05\x84\xdf\xaf\x81\x93\x13\x72\x6c\x44\x95\xac\x4c\x32\x03\xaa\x60\x3e\x26\xf3\x74\xd6\x96\xcd\xb3\x6f\xb0\x0e\x6c\x41\x2e\xdb\xef\xc1\x62\x70\xc7\x83\xd3\xa1\xad\xa3\x5a\x07\xcd\x92\x25\xf2\x1b\x95\x70\xf8\x01\xa9\x60\xe0\x6d\x96\x55\x6b\x9e\xac\xa2\x34\xf1\x28\x61\x44\x42\x31\xc9\x4a\xee\x63\x15\xfb\x19\x9f\x69\xee\xbd\xf9\xfd\xb0\xbd\xb8\x99\x02\xe0\xeb\x69\xbb\xdf\x97\x30\xaa\x37\x1b\x84\xb0\x2e\x9a\xb5\xf3\xa4\xf9\x9f\x92\x05\x69\x4f\x06\x24\x60\xe2\x86\xb1\xab\xef\x39\x36\xfd\xf1\x83\xbd\x7c\x95\xa9\xd9\x9b\x57\x82\x7d\xea\x18\x14\xe0\xe2\xdc\x58\xa6\x77\xf2\xae\x6c\x73\xde\x4e\x27\xfe\x88\x56\xe4\x17\xfd\x26\x60\x88\x00\x8a\xbe\x5d\x38\xd7\x4e\xa0\xbd\xc6\xd0\x46\xc5\xd3\xf4\x5e\x2e\xe4\x7a\x44\x0c\x5d\xfc\x30\x45\x9b\x21\x9b\xb3\xb1\x30\x2f\xeb\x6b\x36\xa6\xe5\x24\xb1\xdb\x70\xd5\x7e\xfe\x32\x82\x3b\x0a\xd0\x37\xa3\xc2\x04\xc7\x77\x48\xb8\x5f\xd8\x8a\xbf\x24\xef\x07\x17\xea\xc9\x0e\x23\x5d\x91\x76\x4b\x48\xbb\x1d\xcc\x3c\x91\x77\xfc\x4b\x0f\xc9\x97\xd3\xd4\xe9\x07\x02\x87\x2b\xf0\xd8\x70\x21\x94\xe2\x25\x77\x35\x3e\x55\x7c\x00\x41\xf1\x06\xe5\xde\xe1\xd2\x4f\x24\x3a\xb7\xc0\x7b\x43\x35\xa6\x88\x6c\x04\x06\x1e\x84\x96\x65\x99\xb6\x8c\x67\x6e\x96\x60\x08\xa7\x90\x5f\x17\x06\x04\x83\x34\x50\x1a\x36\x08\x30\x53\x30\xcb\x8b\x44\x7a\x16\x98\xfa\x96\x46\xc7\x3c\xd7\x58\x87\x1c\x1e\x8b\x96\x88\x9a\xe3\x37\x2a\x5f\xef\x5b\x03\xef\x56\xd1\x60\x8e\xae\x44\xa8\x63\xb0\x59\x91\xf6\x26\x44\x77\x30\xdf\x97\xf3\x36\x86\xe5\xcb\x72\x55\x4a\x1a\x8a\xce\x8b\x53\x0d\x3e\x60\x45\x23\x52\xd9\xe9\x3e\xd0\x31\x85\x2e\xb2\xdc\x87\x90\x3a\x13\x46\xc3\x96\x2c\xed\x8f\x4f\xd2\xc0\x7e\x01\x84\x3d\x19\xe2\x53\x65\x3f\xcc\x7e\xb3\xe7\x10\xb5\x46\xe1\x18\x08\x44\xd9\x5e\x67\x14\x3d\xef\x46\x19\x37\x5d\x71\x17\x37\x29\xdf\xab\xee\xcd\xdd\x02\x39\x45\x6f\xd1\xf5\x63\xbe\xdd\x3e\x8a\xa7\xbd\x29\xce\x40\xbf\xb7\x2e\x83\x23\x24\xcf\x0e\x7e\xd9\x60\xbc\x4c\xdd\x81\xa1\xd1\xc4\xd3\xa2\xf9\x84\x21\x8a\x8f\x7c\xe9\x28\x8f\xb5\x7b\x31\x5c\x47\x5a\x57\xc2\xd5\x67\x43\xba\x39\x87\xad\x1f\xe6\x9a\xf5\xa3\x91\xcd\xb9\xc8\xa5\x51\x72\x33\x40\xc3\xd1\xc9\x89\xb5\xda\x33\x77\x1f\x79\x7e\x89\x93\xef\x51\x54\x6e\x98\x49\xba\x61\xa3\xcb\x3b\xab\xbc\x5b\x33\xfc\x9e\x88\x3b\x3e\xe4\x1e\x6d\x8c\x67\x58\x41\x71\x8b\x90\x80\x92\xb2\xc4\xda\x4c\x1a\x78\xa1\x7b\xee\x0c\x40\x9d\x03\xcd\x8b\xed\x2d\x56\xa4\x6e\xe7\x72\x1b\x56\x59\xbe\x3f\xa5\xcd\x0e\x89\xbc\xef\xfa\xff\xaf\x1e\x95\x71\x6a\xdc\x76\x25\x54\xc4\x96\xa4\x02\x82\xcb\x6d\x85\xf4\xe0\xe2\x9f\xd7\x65\x74\x00\x1b\x89\x3d\x0f\xfc\x8c\x94\xa1\x87\x82\x9e\x24\x54\x6d\x89\x04\x39\x54\x7b\x81\xc1\x8c\x48\x65\xbe\x4c\xb5\x7e\x06\xe3\x19\xc5\x00\x7d\x43\x45\x9e\xc3\xaa\x20\xce\x72\xf7\x88\x3c\xbd\xa6\xa3\x03\xc3\x43\xfb\xed\x7f\x62\xb2\xf2\xac\x9f\x5d\x24\x84\x2e\x8a\xba\xe1\xc9\xe3\x29\x54\xb0\xd0\xd6\x02\x42\x89\x1b\x1f\xae\x40\xd0\x32\x83\xf3\x3c\x09\x48\xe1\x61\xfa\x2f\x9f\xfb\x77\xb7\x2c\xe9\x69\x71\x87\x68\x28\x2c\x45\xae\x08\x9f\xaf\x80\xec\xaf\xf1\x65\x81\x14\xa7\x8d\x8b\x13\x83\x39\x58\xa3\x60\xfe\x8b\xea\xd9\xb4\x85\xd5\xdc\xc7\x01\x81\x2a\x55\x9c\x6d\x04\xa2\x2f\xe5\x9d\x3f\x6f\xc0\xfc\xc7\xcb\xbb\xc4\x45\x0a\x58\xbe\xe9\x95\x60\x57\x9e\xff\x8d\x78\x46\xd0\x62\x25\x3d\x15\xd5\xe6\xb2\x0a\x78\x13\x40\x14\x32\x3b\xc3\x1f\x3d\xbf\xa5\x3e\x2e\xde\x13\x7e\x3c\x11\x29\xba\x8d\xb6\x38\xa9\x59\x72\xe1\xa7\x22\x35\x04\xaf\x10\xa1\x49\x15\x4f\xa5\x81\xb9\xdb\xc5\x16\x28\x9c\xff\x0d\x65\x58\x88\x59\x21\x99\xc7\x7f\xa5\x53\xf0\x7d\xb0\x09\xee\x2a\x42\xc5\x41\x2d\xf9\xfe\x61\x2d\x10\x8e\xe2\xd5\x95\xcb\xb0\xbf\x59\x77\x66\x46\xcb\x7c\x83\xe3\x55\x1a\x91\xc0\xac\xa0\x5d\xe2\x0d\x0b\xfc\x6c\x1f\x8f\x5c\x94\x92\xf2\x2e\x57\x14\xea\x0c\xba\xb5\x76\x31\x94\x99\x6c\x81\x85\x45\xc0\x99\x7f\xf5\x55\xe5\xd1\x36\xae\xa5\x0a\x7a\x93\xdc\x40\x34\x0a\x72\x5d\xa5\xca\x7e\xa4\x5a\x48\x3d\x2c\x9d\xa6\x7a\x25\x4d\x6e\xbd\xb6\xe2\x02\x70\xbe\xb3\x33\x73\x32\x1d\x92\x23\x75\x20\x7b\xf5\x47\x07\xe1\xd9\x7d\x52\xa6\x93\x0b\x42\x87\xcd\x0d\xc6\xd8\xd3\x34\x6e\x38\x8f\xe4\x1f\xca\x91\x16\x27\x39\xa3\x0c\x97\xda\x08\xcc\x3f\x42\xb3\xf5\x43\x82\xdc\xde\xf5\xd0\xe7\x67\x0b\x8c\x98\xc0\x53\x3b\xf6\xc5\x3d\x58\x68\x8d\x9b\x95\x8b\x23\xa9\x1a\x8a\x6f\x2f\xfa\xd4\x19\xe0\x1e\x2b\xb7\x76\xcc\x32\x13\xfe\xf5\x9a\x70\x34\xd8\x35\xc0\x22\xda\xd0\x29\x94\x62\x4c\x55\x85\x5b\x09\xe2\x66\xe4\x16\xa6\x69\x39\xfc\x36\x64\xe4\x41\xb9\x9d\x7f\xfa\x0b\x83\xbf\xd0\xb0\xd7\x52\xde\x0b\xae\xdc\x17\x46\xb4\x93\x82\x01\x97\x22\x53\x92\x4b\x0a\x68\x64\x1e\x7c\x93\x5f\xbb\x41\x89\xe5\xfd\xc3\x91\xa2\x9e\x33\x11\x51\xfe\x72\x0b\xfb\xc0\x68\x25\xba\x07\x66\xe4\x21\xa2\x61\x3f\xc0\xb7\x8c\xee\xb3\x81\x7f\x26\x2c\x90\xf6\x6e\x7c\xfa\x05\x33\xc1\x7a\xc7\x1b\x0b\x1f\x94\xff\xb0\x2e\x38\x07\xb6\x24\x7e\x96\x8c\xed\xb1\x41\x20\x6e\xdf\x0c\xa6\xf9\x8f\xd9\x19\xfa\x52\x79\xfe\x20\x87\x99\xd8\x2a\xb3\xa7\x0b\x9b\x4b\xae\xa4\x10\xdc\x7c\xb3\x93\x37\x82\xd6\x3f\xe4\x28\x07\xcf\x0f\xa7\xf5\xc9\xae\x0c\xd4\xd0\xa0\x29\x46\x92\xd3\x62\x9d\x98\x81\xda\xd5\x32\xb3\x4e\xfd\x70\x2d\x8e\xaf\x0a\xc2\x03\x78\xe6\x2b\x36\x46\x06\x56\xe0\xe8\x87\xc4\x49\x59\x55\x2c\x96\x20\xe9\xec\x3e\x73\xfe\xe5\xca\x0e\x5a\x6d\xd7\x67\xb7\xb7\xa9\x7a\xc4\xc7\x7e\x70\x9c\xe7\x85\x9f\x21\xf0\xbe\x66\xc9\xbe\x7f\x44\x5f\xb1\x5f\x7b\xf4\xc8\x12\x4a\x56\x7f\xbf\xe0\xd3\x79\xf0\x8c\xb1\xb8\x16\xf4\xc7\x20\xef\x5e\x3a\x6a\x08\x3b\x5b\xe0\x56\x94\xa0\xd3\xd3\xac\x78\x4f\xc4\x39\x9b\x1c\xcb\x74\x82\xca\x0a\x11\x82\x16\x64\x03\x56\x5a\x9f\x7d\x4b\x0b\x71\xcc\xcd\x20\xb9\x52\xae\xe3\xbe\x5c\x9a\xb1\x06\x63\xe0\x8a\xa4\x19\xc8\xde\xe9\x1e\x6f\x9b\xc5\x83\x77\xe9\x49\xd7\x25\x1a\x44\x5e\x1a\x7f\x87\x93\x3d\xbb\xac\x27\x03\xf5\xd1\x11\xde\x77\xb9\xdc\x5d\xe5\xa5\x3b\x90\xee\x18\xef\x9a\xb6\xa1\x54\xf3\xf2\x50\x0d\xf0\x41\x24\x64\x5a\x6f\x09\xed\xb8\x0c\x2f\xed\x4f\x30\xff\xc4\x65\x91\x76\xa6\xd3\x63\x3d\xb7\xc6\xc6\xc7\xac\xdc\x93\x32\xfb\xfc\x34\xf6\x35\x43\xf9\x9c\x3e\x72\x83\xab\x9a\x98\xe8\x07\x3e\x2c\x1a\x31\x58\x15\x89\x76\xf0\x6a\x52\x09\x75\xb2\xf5\x65\x93\x65\x21\xba\xbd\xd2\x7f\xce\x00\x6d\x30\xf5\xd7\x50\x53\x84\x7e\x61\x24\x94\x0f\x3e\xf6\x63\xe7\xe1\x2e\x20\x6e\x8d\xcc\xc2\x21\xa2\x38\x1a\x17\x62\xf3\xe6\xeb\xbd\x37\xeb\x7a\x54\x09\x49\x8e\x19\xee\xab\x8b\x75\xcf\xbd\x75\x22\xa3\xef\x45\xa2\x36\xad\x0b\x71\x29\x15\x4e\x44\x43\x6b\xd8\xb8\xda\x13\x23\x46\x9c\x15\x0c\xd4\x87\x74\x62\x47\xd0\x6f\x12\xae\x67\xfa\x30\xdc\x79\xf4\xdf\x5c\xc8\xc1\xf8\x6e\x8b\x35\x68\x9b\x5a\x2c\x32\xe5\x07\x77\xcf\x13\x2f\x14\xc4\xcd\x2f\xb8\xf3\x76\x0a\x66\xec\x72\x3e\x29\x62\x4f\x8a\x97\x49\x53\x35\x0c\xa8\x85\x32\x39\x94\x4e\x33\x72\x7d\x59\x65\xe1\x0c\x8d\xa5\xa8\xfc\xb4\x03\x3e\xa2\xf9\x6c\xad\x4d\x33\x52\x4d\x18\x18\x44\xb5\xa6\xa2\xa3\xa0\xc0\xa3\x57\x2e\x43\x54\xb5\xf0\xbb\x6c\x72\x7b\xcf\x02\xd3\x1f\x66\x74\x2b\xcd\x3e\x37\x67\xc7\x0b\x1f\xa6\x95\x81\x28\x96\xed\x05\x39\x34\xab\xee\x8d\xea\x4c\xa8\x24\x2b\x1f\xe1\x40\x97\x17\xdd\xca\x66\x76\xb3\x58\xe7\x93\x0d\xc9\x27\xf6\x88\xc2\x2e\x2a\xe6\x29\x6f\xf2\xed\x3c\x85\x19\xf3\xf8\xd4\x9c\x3a\x71\x83\xd4\xaa\x0d\xa4\xe3\xc7\xa6\x52\xd5\x39\xbf\xf9\xab\x19\x52\xaa\x13\xc0\x02\xa0\xa8\xe7\x12\x8b\x4e\x4a\xb4\x41\xfc\xc9\x05\xa0\xf2\x6f\x9f\x6b\x5f\xa3\x13\x60\xd5\xc2\x48\x45\xad\x87\x65\x77\xbb\x0e\x1f\xcf\xed\x31\x01\xae\xdf\x14\xa7\x3c\x0c\xe0\x3e\x36\x36\x0c\x01\xee\xe2\x73\x42\xc1\xfa\x46\xd7\x24\x74\xcd\x51\x9e\x57\x83\x7c\x25\x0c\xed\xf0\x9a\x31\xe4\x5d\xeb\x38\x35\x87\xc5\xae\xe4\xc3\x6f\xe2\xa8\xdf\x37\x24\x0d\xe3\x21\xa6\xa1\xc6\xfc\x65\x6b\x5e\x6b\x28\xff\xa2\x5f\x40\xa7\x23\xa5\xd1\x3c\xbe\x7b\x42\xb4\xf6\x2f\x60\xcc\xfb\xaa\x4f\xfe\xb0\x0c\xa3\xb6\xd9\x41\x19\xc0\x59\x4a\xa5\xe1\x1a\xf8\x05\x5b\x10\xd1\xa5\xa9\x90\x0b\xd2\x5b\x85\x0c\x99\x3c\x3b\xd9\xa9\x41\xbd\xed\x20\x9d\xc4\xc7\x4e\x94\x21\xb8\x4c\x81\xc6\x24\xdf\xff\xd1\x2f\x39\x7c\xc7\x91\x01\xda\x2a\xac\x93\x8a\x23\xaa\x49\x90\x8f\x3f\x1f\xf4\x1f\xc6\x0d\xba\x82\x40\xa0\x4f\x09\x41\x78\x4a\x22\x84\xaa\xeb\xdc\xc8\x14\x39\x10\xab\x01\x78\x0e\x46\x3d\xfb\x8b\xe3\x87\xb9\x93\x46\xfb\xf8\x67\x6e\x7f\x3e\x92\x42\x05\x02\xa9\x8e\xaa\x6d\x71\x0b\x06\x4f\x01\x6d\xce\x0d\x6d\xc4\x19\x56\xae\xa4\xfc\x9f\x30\x43\x94\xb3\x21\xc7\x81\x41\xad\x4c\x8d\x65\x27\xd7\xe9\x46\xcf\xf3\xfe\x06\xb2\x52\xae\x99\x28\x37\xf0\xa9\xb9\xbe\x2f\xb5\xd6\x35\x8e\x41\x9f\x9f\x30\xc4\x35\x89\x06\xa8\x26\x85\xfc\x73\x4d\x2d\x24\x97\xa1\x52\xcb\xe9\x65\xf7\xe3\x22\x0d\x43\x7a\x7e\x64\xe9\xd1\xce\xf4\x09\x2d\x0f\x8e\x73\x19\x10\xd0\x4e\x15\xdf\x20\x5b\x13\x09\x79\xe1\xb8\x71\x0f\xaa\x58\x04\x64\x2c\xec\xa6\x66\x7c\x9d\xfe\x37\x47\xee\x43\xcd\x73\x46\x62\x04\x47\x09\x87\xd0\xe7\x6a\xf2\x37\x21\x8c\xcb\x37\xbd\x77\xa3\x9a\x09\x91\x8e\x74\xaa\xf5\x97\xbd\x3f\xbd\x79\xbb\xa7\x35\xc5\xce\x6e\x81\xc5\x59\xc9\x86\xbb\xf6\x07\x55\x17\x0b\x30\x47\x4a\x9e\x7c\xaa\x5e\x83\xa4\x2f\x19\xf7\x9b\x18\x6e\xc3\xaf\x3b\xf1\x11\x2c\x00\xcf\x05\xbf\xf7\x2a\x0d\x16\x98\xa9\x4a\x87\x1c\x4e\x8a\x07\x97\xd4\xd7\xf3\xc3\xe7\xe2\xa2\x7c\xa7\xb9\x38\x6f\x16\xc0\x47\x33\x95\xfe\x85\xb2\x80\xf9\xab\xa2\xef\xda\xa0\x8b\xcc\x7f\x2f\x2c\x30\x1e\x16\x5d\x62\x6c\x83\x28\x5b\xdd\xf0\x52\xcb\xa1\x34\xdf\x3b\xbd\xd1\xe8\xf4\x64\x15\xbb\xb3\x91\xe0\x5b\x1e\x47\x5f\x34\x4c\x10\x12\xcc\xa9\xa7\x2f\xb1\x22\xc2\x5d\x7f\x85\xc9\x2a\x74\xfe\x73\x50\xa9\x09\xdf\xee\x05\xb8\xa8\x75\x57\xad\x0c\xbc\x59\x12\xdc\xbd\xf9\x37\x3a\x5e\x41\x3b\x83\x75\xdf\x15\xd4\xd8\xa0\x6f\x4c\xed\x12\x59\xa8\x16\x53\x89\xac\xc8\x97\xcf\xd0\x1c\x0d\xbe\xa2\x78\x14\x4d\x07\x94\x40\x08\x6f\x7f\xeb\xdc\xf7\xaa\x7e\xec\x02\x39\x93\xdf\x73\xd8\xd0\xd4\x61\x63\xad\xd8\x0a\x7c\x68\x67\x89\x33\x1c\x15\xaa\x22\xc8\xca\xfd\x5d\xf4\x0d\x45\x61\xf6\xf2\x47\x59\xeb\x3d\x6a\x97\xea\x01\xa3\xa3\x36\x8e\xa8\xb1\xcf\x6f\xff\x8b\xf5\x8a\xc2\x25\x52\x8d\x7a\x17\xd2\x1e\xdf\xa6\xea\xcf\xc5\xaa\xb6\xf7\x85\xa0\xb3\x00\x3a\xb6\xee\x0d\xe9\x42\x3c\xd3\x63\xb1\x4d\x03\xe1\x02\xf4\x45\xb2\x3c\x14\xa5\x36\xd7\xb2\x31\x24\x32\x88\xf2\x88\xda\x44\xf8\xa5\xe8\xbc\x1f\x13\xb8\xce\xc7\xcb\x6a\x2a\x56\x96\x36\x16\x3a\x09\x8b\x2f\x40\xf4\x5c\x43\x56\x4f\x1a\xa8\xb9\x16\x42\x6e\x77\x51\x09\x36\x20\x23\x63\xfe\x0d\xd7\x17\x45\x0c\xca\x9e\x8c\xbd\xe8\xdf\xfc\x9b\x9e\x24\xd8\xbd\x3c\xf1\x71\xe3\x6f\x05\xc0\x63\x34\x87\x31\x10\xb9\xc2\xd1\xa3\x02\x0b\x66\x0a\xac\xb1\x96\x82\xd7\x71\xe0\x2c\x4d\x80\xdb\xfc\xdd\x11\xed\xf7\x55\x3a\xba\xd4\xcd\x0c\xee\x0f\xc5\xe8\x1e\x94\xc4\x81\x0a\x2c\x49\x7f\x3d\x0f\xfa\x21\xbf\x7a\x31\xb6\xa8\x35\xda\xf1\xf6\x09\xe2\x3c\xd6\x4f\x81\xc1\x71\x6a\xf8\x5b\x92\x33\xb5\x47\xe6\x79\xc7\x27\x55\xe6\xcb\xb1\xcb\x40\x5d\x7a\x89\x7f\xca\xa8\xc8\x15\xbb\xd5\xa2\xae\xcc\x89\xd6\x99\x81\xf3\x49\xaf\x2f\x97\xed\xb5\xa6\xf4\x19\x7d\x20\xee\xc8\xd4\xb0\xf3\xc2\x37\x5b\x88\x39\xcf\x68\x58\xbb\xf1\x01\xee\x06\xae\xcb\x75\x16\xcc\x27\xd5\x9a\x8b\xdc\x9b\x5b\x20\x8a\xaa\x4b\x5c\x14\xa5\x25\x1d\x9d\x23\x23\x97\xdd\x8d\x0e\xb8\x85\x5d\x3a\xe0\x62\x5a\x25\x4f\xb8\x97\x79\xab\x00\xb3\xaf\x42\x74\x54\xc6\xbf\x5c\xff\x22\x5c\x2f\x77\xba\xc6\xe5\x99\x74\x04\xf0\x0a\x40\x79\xd2\x23\x7d\x19\xae\xc1\x30\xc0\x3a\x77\x1e\x12\x6c\xec\x4b\xc0\x66\x1c\x3f\x9f\xae\x36\x5d\x61\x77\x23\x02\x4e\xf8\x80\x2f\xc9\x4a\x85\xeb\xb8\x01\x44\xb1\x65\xf9\xd4\xbc\x2a\x1f\x87\xce\x04\x8e\xa5\x28\x58\xd6\x5d\xd3\x3b\x13\x20\xb6\x97\xed\x30\x29\x9b\x18\x48\x83\x5c\x61\x6b\x0a\x68\x7e\x88\x74\x83\x12\x70\x78\x43\x3d\xb9\x91\xd6\x62\xfa\x36\x74\x21\x44\x5b\xe0\x0a\xf4\xc0\x6a\x34\xe5\x54\xb3\xef\xa0\xf8\xcf\x99\xd2\xe1\x74\x0c\x3d\x23\xae\x57\xf9\x7e\x1d\x19\x77\x01\x03\xd7\xec\x6f\x17\xb0\x85\xee\x3e\xa9\x5e\xe6\xc7\x4c\x37\x53\x62\x8d\x0a\x97\xb4\x40\xd3\x8c\x13\x9f\xd8\x97\x4f\x04\x9e\x3b\x4a\x8e\x83\xda\xe7\xc6\x26\xd0\x13\x9f\x92\xc6\x9a\x92\x97\x52\x70\x45\x6c\xf7\x64\x0c\x4b\x0e\xa0\xc3\xf5\xf2\xbd\xff\xd9\xa0\xcc\xa3\xac\xad\xc2\xf2\x78\x9b\xd5\x91\x09\x05\x9f\xf4\x54\xbf\x74\x2d\xa9\x93\x3f\x66\xe0\x04\xda\x86\x6b\xe4\x62\xba\x3a\x2e\x42\xa2\x30\x24\x07\xe8\x22\x79\x1b\x78\x21\x64\xc7\x95\xb1\x71\x2a\x2c\x1d\x95\x7e\x37\x70\x3a\x32\x8a\xe1\x46\x28\x88\x4c\x76\xed\x83\xd0\x87\x10\xa6\x21\x2d\xd1\x3c\xc4\x66\xac\x8f\x4b\x8c\x65\xe8\xad\x64\x72\x61\xe4\x17\x86\xda\xc8\x15\xc4\x72\x99\xff\x9b\x57\x25\x79\xc2\xb5\xa2\x7a\xf3\x72\x35\x8c\x3f\x2b\xa4\xc1\x1f\x86\xca\xb0\x7c\x65\xca\x9f\x0f\x70\x35\x54\xb1\x62\xb7\x3c\x37\x06\xad\xd4\xf7\xe1\x0d\x95\xb8\x47\xca\x79\x8c\x09\x23\x61\xb4\x3e\x08\x65\x69\xd4\x02\xd5\x5f\x72\xca\x7a\xa7\x8e\xe9\x5d\x93\x43\xc3\x81\x19\x6b\xcf\x8f\x8c\xfb\x0b\x80\x5d\x41\x8d\x51\xcc\xab\x37\x7f\x64\x6b\x39\x34\xb4\xc6\x77\x3b\xa4\xcd\x97\x5a\x0f\x12\x08\x4a\x33\x7d\x43\x5d\x46\x11\x55\x06\x56\x34\x5f\x83\xcb\xa2\x64\xa9\x58\xf7\xac\x21\x8c\x63\x82\x1b\x22\xb8\xbd\x1a\xc3\x68\x4d\x6d\xcc\x3b\x71\xe4\x45\xd5\x70\x7b\x9a\x5a\x6b\xa9\xe7\xfc\x24\x05\xb2\x59\xa6\x53\x1e\x93\x7b\x8e\xa4\xac\x7f\x8f\xa8\xaa\xff\x40\xc5\x70\xfa\x5b\xd4\x88\xe2\x89\xb7\x3e\x0a\x05\xe9\x4c\xe0\xbb\xa7\xe4\xb2\xf2\xcd\x8b\x3a\x3f\xdf\x91\xeb\x5e\xa2\xb0\x04\xf9\x15\x00\xd8\x4b\xfd\x36\x19\x9f\x9a\xa9\xa0\xb3\xf6\x6a\xf8\x16\xf0\xb9\xb4\x62\xd7\x96\x02\xa1\x2e\x70\x5e\xc6\x2c\x00\xce\xcb\x61\x07\x0e\x09\xbb\x25\xd4\x90\x76\xbf\x75\x01\x1c\xe1\x9d\x4e\xa7\xff\x6e\xf6\xdd\xc4\xff\xfc\xc1\x34\xc8\x1b\xf5\xbd\xa4\x9f\x66\x61\x67\x92\xe3\xfb\xf0\x95\x3d\x9a\x0c\x25\xdc\x36\xb2\x45\x04\x6c\x01\xff\x8f\x98\x97\x53\x29\x62\x4f\x3c\x9e\xac\x95\x82\x36\xda\xa0\xaa\x02\x69\x96\x84\x0d\x48\xdc\x63\x3c\xeb\xb5\xef\x48\x4b\xa7\xcd\xf1\xb7\x6a\x27\xa8\x03\xc4\xea\x46\x4e\xb3\x0c\x55\x73\x14\x7b\xa7\x83\xf0\xe4\x28\x69\xbf\xa9\x97\x0b\x61\xd5\xed\x05\xb7\x90\xf6\xa9\x3b\xab\x2f\x93\x9e\xef\xc9\xef\xad\x86\x77\xe5\x9a\x03\x7e\x3a\xb2\x30\x3c\xe9\x7f\xfd\x53\xe3\xce\x33\x69\xba\x4c\x48\xec\xeb\x3a\xae\xdc\xb4\x08\x9a\x97\xeb\x59\xfc\x97\x88\x20\x47\x39\xd5\xe6\xdf\x7c\x8d\xc3\x26\x99\x4b\xdc\xd1\x80\x3c\xb4\xb5\x21\xff\x66\x47\xde\x95\x90\xdf\xcb\x2c\x57\x05\x10\xa6\x19\x11\x87\x03\xe8\x2e\x7e\x45\xa5\x4e\x28\x7a\x8c\x73\x4d\x02\x94\xa8\xb2\xcd\x07\xff\xa3\x2e\x40\x0e\xdc\xd5\xbb\xf8\x6b\x2d\xd2\xf0\x9c\x2b\x72\x01\x8b\x17\xe5\x4d\xeb\xad\x47\xb8\x39\xe9\x8c\xeb\xea\xd5\xce\x68\xa4\x39\xe5\xeb\x42\x79\x45\xdf\xdd\x16\x8a\xc7\x02\x6a\x5c\x9c\x33\xc6\xc3\xce\x0b\x98\xf8\x32\xd7\xad\x16\xae\xcd\xb0\x18\x91\x90\x4f\x60\x42\xa4\xc9\x8e\x5f\x41\x20\x9b\x44\x88\xe6\xc9\x9e\xf1\x16\xf4\x3c\x48\x9f\x51\xe3\x06\x47\x66\x42\x19\x4f\xe0\x53\x50\x77\xc9\x4f\xc8\x0c\x5a\xba\x2e\x26\xe6\x1c\x77\xb1\xfc\x5f\xe9\xda\xd4\x79\x68\xbb\x41\x14\xba\xa6\x14\xd2\x34\xe3\xb0\xbe\x0d\x5a\xbe\xc9\xe6\x0d\x72\xc6\x95\x6a\x79\x78\x09\xb5\x1e\x16\xb6\xf4\x90\x29\xd2\xf4\xb2\x26\x6d\x3a\x8b\x9b\x56\x70\x99\xb5\x56\xc2\x68\x5a\x00\xbd\x84\x23\x8a\x90\x80\xaa\x02\x2c\x35\x7a\xd6\xd4\x54\xbd\x75\x94\xa0\x29\xeb\x42\x84\xa9\x73\xb4\x8e\x63\x92\xf4\x25\xb7\x03\x01\xb8\xc5\x14\x77\x50\x04\x90\xb7\x65\xc6\xb7\x00\x15\xbd\xd9\x9f\x51\xc2\xd1\x99\x5d\x80\xba\x04\x50\x8d\x6e\x66\xeb\x56\x69\x5c\xcc\xf6\x3d\x50\xcc\x40\xb0\x2c\x80\xc3\x88\x6c\xe7\x5d\x8a\x02\xab\xbb\x71\x49\xda\xce\xd8\xff\x3e\x8d\xfc\x16\x9f\xb4\x60\x31\xc4\xc0\xf1\x90\x60\xda\xba\x08\xd3\x5d\x34\x02\xb2\x0c\xb0\x41\x7f\x14\xef\x18\x4f\x5f\x53\x1f\x46\x95\xba\x48\x32\xa8\xb6\x39\x1b\x13\xf3\xab\xcd\xd2\xc0\x5b\x51\x68\xc3\x0f\xe3\xcd\xe8\x67\x7f\xf7\x38\x83\x6a\xa8\x5b\x7e\xf9\x01\x48\xb2\x55\x6b\x79\x0b\xd9\xbd\xa3\xd1\x08\xea\x37\xb0\x3a\xcf\xd0\x9a\x54\x4a\x8e\x85\x84\x36\x43\xf3\x13\x68\xcf\xc2\x26\xa9\x30\xdc\x74\x96\xed\x4c\x99\x66\xe3\xde\x92\x63\x79\x33\xee\x7b\xfd\xf1\x2b\xbf\xba\xc0\x23\x4a\x74\xe2\x89\xbd\xb3\x7a\x52\x2b\xd0\x47\xa1\x00\x7a\x36\x87\xa2\x1b\xc9\xb0\xcf\xf8\x08\x74\x27\x7d\x82\x5b\xdb\xab\x84\x5c\x1a\xc5\x04\x60\x56\x3d\x08\xb1\xe0\x4a\x7f\x10\x86\xe6\x77\x93\x19\x88\xd5\xcd\x6f\x97\x47\x06\xd6\x4f\x63\xe8\x44\x91\xb3\x02\x88\x8f\x8b\x8f\x0f\x42\x99\x7f\x5e\xdd\x25\x10\xf2\x6a\x0b\x16\xd7\x03\x8b\xec\x87\x13\x09\x38\x9c\xab\x6f\x57\x61\xa2\xb9\xf0\x01\x11\xbc\x44\x41\xbb\xfa\xde\x0e\xca\x7c\xea\x5b\x0b\x8d\xac\xa7\x36\xe6\x15\x05\x03\xaa\xe8\x79\xf7\x2d\x10\x83\x61\xca\x31\xba\xfb\xf4\xe0\xc2\xe9\xeb\xd7\xaf\x57\x26\x5b\xb0\x4c\x38\x89\x23\xa0\x0b\x4c\x59\x08\x8a\x2f\x7b\x76\x7b\x14\xf3\x98\x2e\x64\x2e\x7b\x3d\xd9\x4d\xc6\xf4\xb6\xb0\x11\x3c\x9d\x49\xf8\x0a\x3e\x16\x9c\x10\x60\x89\x35\x39\xff\xc3\x23\x7d\x6e\xcc\xf4\x92\x0a\x9b\x50\xa8\x60\xee\xd1\x27\xa2\x2f\xfe", 4096); struct csum_inet csum_1; csum_inet_init(&csum_1); csum_inet_update(&csum_1, (const uint8_t*)0x1000001a, 16); csum_inet_update(&csum_1, (const uint8_t*)0x1000002a, 16); uint32_t csum_1_chunk_2 = 0x12100000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_2, 4); uint32_t csum_1_chunk_3 = 0x3a000000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_3, 4); csum_inet_update(&csum_1, (const uint8_t*)0x1000022a, 4114); *(uint16_t*)0x1000022c = csum_inet_digest(&csum_1); (void)res; break; case 11: memcpy((void*)0x10001240, "\xf2\x26\x33\x54\x5b\x41\xc4\xc2\xb1\xde\x3a\x0f\x4b\xbe\x11\x14\x00\x00\xc4\xc2\x31\xdc\x03\xc4\xc2\x4d\x96\x1c\x5f\x66\x0f\x38\x21\x47\x1e\xc4\xe1\x85\xd8\x71\x28\xc4\xc3\xc5\xcf\x8e\x0e\x08\x00\x00\xfe\xd1\x62\x00\xc4\xc2\x2d\x40\x11", 59); res = -1; errno = EFAULT; res = syz_execute_func(0x10001240); fprintf(stderr, "### call=11 errno=%u\n", res == -1 ? errno : 0); break; case 12: (void)res; break; } } int main(void) { syscall(SYS_mmap, 0x10000000, 0x1000000, 7, 0x1012, -1, 0); use_temporary_dir(); do_sandbox_none(); return 0; } :386:17: error: use of undeclared identifier 'SYS___realpathat' res = syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); ^ 1 error generated. compiler invocation: clang [-o /tmp/syz-executor312602583 -DGOOS_freebsd=1 -DGOARCH_386=1 -DHOSTGOOS_freebsd=1 -x c - -m32 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -static -lc++ -Wno-overflow] --- FAIL: TestGenerate/freebsd/386/9 (2.07s) csource_test.go:123: opts: {Threaded:true Collide:false Repeat:true RepeatTimes:0 Procs:0 Sandbox:none Fault:false FaultCall:0 FaultNth:0 Leak:false NetInjection:true NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false USB:false VhciInjection:false Wifi:false UseTmpDir:true HandleSegv:false Repro:false Trace:false} program: r0 = fcntl$dupfd(0xffffffffffffff9c, 0x11, 0xffffffffffffff9c) setsockopt$inet_sctp_SCTP_AUTOCLOSE(r0, 0x84, 0x5, &(0x7f0000000000)=0x5, 0x4) cap_rights_limit(r0, &(0x7f0000000040)=[0x6, 0xa9]) setsockopt$inet_sctp_SCTP_EVENTS(r0, 0x84, 0xc, &(0x7f0000000080)={0x20, 0x81, 0x3, 0x20, 0x20, 0xf7, 0xff, 0x7, 0x4, 0x40, 0x4}, 0xb) setsockopt$inet_sctp_SCTP_RESET_STREAMS(r0, 0x84, 0x901, &(0x7f00000000c0)={0x0, 0x9, 0x3, [0x1, 0xffff, 0x8000]}, 0xe) r1 = accept(r0, &(0x7f0000000100)=@un=@file={0x6e, 0x0, ""/108}, &(0x7f0000000180)=0x6e) __realpathat(r1, &(0x7f00000001c0)='./file0\x00', &(0x7f0000000200)=""/5, 0x5, 0x0) r2 = socket$inet_icmp_raw(0x2, 0x3, 0x1) fcntl$getown(r2, 0x5) getsockopt$inet6_sctp_SCTP_PRIMARY_ADDR(r1, 0x84, 0x7, &(0x7f0000000240)={@in6={{0x1c, 0x1c, 0x1, 0x7f, @loopback, 0xfffff9b1}}}, &(0x7f00000002c0)=0x80) syz_emit_ethernet(0x123c, &(0x7f0000000000)={@remote, @remote, [{[], {0x8100, 0x5, 0x1, 0x3}}], {@ipv6={0x86dd, {0x7, 0x6, "c3cb10", 0x1202, 0x2f, 0x1, @rand_addr="cdd9639d818e3c5354e423e67c0261ce", @rand_addr="9aa3a73eacf47f646cf70032c9d108ee", {[@hopopts={0x36, 0x1e, [], [@enc_lim={0x4, 0x1, 0x1}, @jumbo={0xc2, 0x4, 0x7}, @padn={0x1, 0x2, [0x0, 0x0]}, @generic={0xff, 0xe2, "6643d230d2ebee2da66799233fd3953c637fbff58a08fe47946de86f44bcf9e809d627768d7e38be69808921c800a8ca76dba12e6b01e8b0b852821fe46d8d1b863c6ed1f386d2779a2983036a403ec804bbc1ce77c679d945e9c0b836352e6f8ee210ede5f8eb2937afc8307287e8a27e8fc66de2ef50421840455126dc362d0994a2a2db619ca5b70f615b719413594471a2efad9e7e22a5400361abac231575d1b498781612296d932e4832dd0c9f6709c2f81038bbcde5c27832bae014b13b9b93b41374f997c188d74a33960b2b2948a2eb3211c2aca855f616f2223f4746ce"}, @enc_lim={0x4, 0x1, 0x1f}]}, @routing={0x31, 0x4, 0x0, 0x5, 0x0, [@ipv4={[], [], @broadcast}, @empty]}, @routing={0x58, 0x8, 0x1, 0x81, 0x0, [@local={0xfe, 0x80, [], 0x0}, @mcast1, @local={0xfe, 0x80, [], 0x0}, @loopback]}, @routing={0x59, 0xc, 0x0, 0x3, 0x0, [@rand_addr="d691f228498c816bd931bf11ea3cb358", @empty, @loopback, @rand_addr="4046fbe3c1e1669f072dd9ee3ba11696", @ipv4={[], [], @broadcast}, @mcast1]}, @fragment={0x27, 0x0, 0x91, 0x1, 0x0, 0x6, 0x66}, @hopopts={0x26, 0x0, [], [@ra={0x5, 0x2, 0x5}]}], @icmpv6=@ndisc_ra={0x86, 0x0, 0x0, 0x0, 0x9, 0x9, 0x401, 0x7fffffff, [{0x1, 0x200, "d145ff576d7fe933a6f7ae4bd47d7aec4360a335727c0267ff79e34d036694ea6d8de62ebb1941f6b9a95a6c95fa33d4a6ddfe3be408148daca556b6b4dfebef869da93cfa26fb8e16509febb321011f508eec7502824442d8620519d7ce359284ef093639001b689f9443260584dfaf819313726c4495ac4c3203aa603e26f374d696cdb36fb00e6c412edbefc16270c783d3a1ada35a07cd9225f21b9570f801a960e06d96556b9eaca234f12861444231c94aee6315fb199f69eebdf9fdb0bdb89902e0eb69bbdf9730aa371b84b02e9ab5f3a4f99f9205694f062460e286b1abef3936fdf183bd7c95a9d99b57827dea1814e0e2dc58a677f2ae6c73de4e27fe8856e417fd266088008abe5d38d74ea0bdc6d046c5d3f45e2ee47a440c5dfc30459b219bb3b1302feb6b36a6e524b1db70d57efe32823b0ad037a3c204c77748b85fd88abf24ef0717eac90e235d91764b48bb1dcc3c9177fc4b0fc997d3d4e90702872bf0d8702194e22577353e557c0041f106e5dee1d24f243ab7c07b4335a6886c04061e84966599b68c676e966008a7905f1706048334501a3608305330cb8b447a1698fa9646c73cd758871c1e8b96889ae3372a5fef5b03ef56d1608eae44a863b05991f626447730df97f33686e5cb72554a1a8ace8b530d3e60452352d9e93ed031852eb2dc87903a1346c3962ced8f4fd2c07e01843d19e253653fcc7eb3e710b546e1180844d95e67143def4619375d71173729dfabeecddd0239456fd1f563bedd3e8aa7bd29ce40bfb72e832324cf0e7ed960bc4cdd81a1d1c4d3a2f984218a8f7ce9288fb57b315c475a57c2d56743ba3987ad1fe69af5a391cdb9c8a551723340c3d1c989b5da33771f797e8993ef51546e9849ba61a3cb3babbc5b33fc9e883b3ee41e6d8c675841718b908092b2c4da4c1a78a17bee0c409d03cd8bed2d56a46ee7721b5659be3fa5cd0e89bceffaffaf1e95716adc762554c496a40282cb6d85f4e0e29fd76574001b893d0ffc8c94a187829e24546d890439547b81c18c4865be4cb57e06e319c5007d43459ec3aa20ce72f7883cbda6a303c343fbed7f62b2f2ac9f5d24842e8abae1c9e32954b0d0d60242891b1fae40d03283f33c0948e161fa2f9ffb77b72ce969718768282c45ae089faf80ecaff1658114a78d8b13833958a360fe8bead9b485d5dcc701812a559c6d04a22fe59d3f6fc0fcc7cbbbc4450a58bee99560579eff8d7846d062253d15d5e6b20a78134014323bc31f3dbfa53e2ede137e3c1129ba8db638a95972e1a7223504af10a149154fa581b9dbc516289cff0d655888592199c77fa553f07db009ee2a42c5412df9fe612d108ee2d595cbb0bf59776646cb7c83e3551a91c0aca05de20d0bfc6c1f8f5c9492f22e5714ea0cbab5763194996c818545c0997ff555e5d136aea50a7a93dc40340a725da5ca7ea45a483d2c9da67a254d6ebdb6e20270beb33373321d922375207bf54707e1d97d52a6930b4287cd0dc6d8d3346e388fe41fca91162739a30c97da08cc3f42b3f54382dcdef5d0e7670b8c98c0533bf6c53d58688d9b958b23a91a8a6f2ffad419e01e2bb776cc3213fef59a7034d835c022dad02994624c55855b09e266e416a66939fc3664e441b99d7ffa0b83bfd0b0d752de0baedc1746b4938201972253924b0a68641e7c935fbb4189e5fdc391a29e331151fe720bfbc06825ba0766e421a2613fc0b78ceeb3817f262c90f66e7cfa0533c17ac71b0b1f94ffb02e3807b6247e968cedb141206edf0ca6f98fd919fa5279fe208799d82ab3a70b9b4baea410dc7cb3933782d63fe42807cf0fa7f5c9ae0cd4d0a0294692d3629d9881dad532b34efd702d8eaf0ac20378e62b36460656e0e887c44959552c9620e9ec3e73fee5ca0e5a6dd767b7b7a97ac4c77e709ce7859f21f0be66c9be7f445fb15f7bf4c8124a567fbfe0d379f08cb1b816f4c720ef5e3a6a083b5be05694a0d3d3ac784fc4399b1ccb7482ca0a1182166403565a9f7d4b0b71cccd20b952aee3be5c9ab10663e08aa419c8dee91e6f9bc58377e949d7251a445e1a7f87933dbbac2703f5d111de77b9dc5de5a53b90ee18ef9ab6a154f3f2500df04124645a6f09edb80c2fed4f30ffc4659176a6d3633db7c6c6c7acdc9332fbfc34f63543f99c3e7283ab9a98e8073e2c1a3158158976f06a520975b2f565936521babdd27fce006d30f5d75053847e6124940f3ef663e7e12e206e8dccc221a2381a1762f3e6ebbd37eb7a5409498e19eeab8b75cfbd7522a3ef45a236ad0b7129154e44436bd8b8da1323469c150cd487746247d06f12ae67fa30dc79f4df5cc8c1f86e8b35689b5a2c32e50777cf132f14c4cd2fb8f3760a66ec723e29624f8a974953350ca8853239944e33727d5965e10c8da5a8fcb4033ea2f96cad4d33524d181844b5a6a2a3a0c0a3572e4354b5f0bb6c727bcf02d31f66742bcd3e3767c70b1fa695812896ed053934abee8dea4ca8242b1fe1409717ddca6676b358e7930dc927f688c22e2ae6296ff2ed3c8519f3f8d49c3a7183d4aa0da4e3c7a652d539bff9ab1952aa13c002a0a8e7128b4e4ab441fcc905a0f26f9f6b5fa31360d5c24845ad876577bb0e1fcfed3101aedf14a73c0ce03e36360c01eee27342c1fa46d72474cd519e57837c250cedf09a31e45deb383587c5aee4c36fe2a8df37240de321a6a1c6fc656b5e6b28ffa25f40a723a5d13cbe7b42b4f62f60ccfbaa4ffeb00ca3b6d94119c0594aa5e11af8055b10d1a5a9900bd25b850c993c3bd9a941bded209dc4c74e9421b84c81c624dfffd12f397cc79101da2aac938a23aa49908f3f1ff41fc60dba8240a04f0941784a2284aaebdcc8143910ab01780e463dfb8be387b99346fbf8676e7f3e92420502a98eaa6d710b064f016dce0d6dc41956aea4fc9f304394b321c78141ad4c8d6527d7e946cff3fe06b252ae992837f0a9b9be2fb5d6358e419f9f30c4358906a82685fc734d2d2497a152cbe965f7e3220d437a7e64e9d1cef4092d0f8e731910d04e15df205b130979e1b8710faa5804642ceca6667c9dfe3747ee43cd73466204470987d0e76af237218ccb37bd77a39a09918e74aaf597bd3fbd79bba735c5ce6e81c559c986bbf60755170b30474a9e7caa5e83a42f19f79b186ec3af3bf1112c00cf05bff72a0d1698a94a871c4e8a0797d4d7f3c3e7e2a27ca7b9386f16c0473395fe85b280f9aba2efdaa08bcc7f2f2c301e165d626c83285bddf052cba134df3bbdd1e8f46415bbb391e05b1e475f344c1012cca9a72fb122c25d7f85c92a74fe7350a909dfee05b8a87557ad0cbc5912dcbdf9373a5e413b8375df15d4d8a06f4ced1259a8165389acc897cfd01c0dbea278144d079440086f7febdcf7aa7eec023993df73d8d0d46163add80a7c686789331c15aa22c8cafd5df40d4561f6f24759eb3d6a97ea01a3a3368ea8b1cf6fff8bf58ac225528d7a17d21edfa6eacfc5aab6f785a0b3003ab6ee0de9423cd363b14d03e102f445b23c14a536d7b231243288f288da44f8a5e8bc1f13b8cec7cb6a2a569636163a098b2f40f45c43564f1aa8b916426e77510936202363fe0dd717450cca9e8cbde8dffc9b9e24d8bd3cf171e36f05c06334873110b9c2d1a3020b660aacb19682d771e02c4d80dbfcdd11edf7553abad4cd0cee0fc5e81e94c4810a2c497f3d0ffa21bf7a31b6a835daf1f609e23cd64f81c1716af85b9233b547e679c72755e6cbb1cb405d7a897fcaa8c815bbd5a2aecc89d69981f349af2f97edb5a6f4197d20eec8d4b0f3c2375b8839cf6858bbf101ee06aecb7516cc27d59a8bdc9b5b208aaa4b5c14a5251d9d232397dd8d0eb8855d3ae0625a254fb89779ab00b3af427454c6bf5cff225c2f77bac6e5997404f00a4079d2237d19aec130c03a771e126cec4bc0661c3f9fae365d617723024ef8802fc94a85ebb80144b165f9d4bc2a1f87ce048ea52858d65dd33b1320b697ed30299b1848835c616b0a687e887483127078433db991d662fa367421445be00af4c06a34e554b3efa0f8cf99d2e1740c3d23ae57f97e1d19770103d7ec6f17b085ee3ea95ee6c74c3753628d0a97b440d38c139fd8974f049e3b4a8e83dae7c626d0139f92c69a92975270456cf7640c4b0ea0c3f5f2bdffd9a0cca3acadc2f2789bd59109059ff454bf742da9933f66e004da866be462ba3a2e42a2302407e822791b782164c795b1712a2c1d957e37703a328ae14628884c76ed83d08710a6212dd13cc466ac8f4b8c65e8ad647261e41786dac815c47299ff9b572579c2b5a27af372358c3f2ba4c11f86cab07c65ca9f0f703554b162b73c3706add4f7e10d95b847ca798c092361b43e086569d402d55f72ca7aa78ee95d9343c381196bcf8f8cfb0b805d418d51ccab377f646b3934b4c6773ba4cd975a0f12084a337d435d4611550656345f83cba264a958f7ac218c63821b22b8bd1ac3684d6dcc3b71e445d5707b9a5a6ba9e7fc2405b259a6531e937b8ea4ac7f8fa8aaff40c570fa5bd488e289b73e0a05e94ce0bba7e4b2f2cd8b3a3fdf91eb5ea2b004f91500d84bfd36199f9aa9a0b3f66af816f0b9b462d79602a12e705ec62c00cecb61070e09bb25d49076bf75011ce19d4ea7ff6ef6ddc4fffcc134c81bf5bda49f66616792e3fbf0953d9a0c25dc36b245046c01ff8f98975329624f3c9eac958236daa0aa026996840d48dc633cebb5ef484ba7cdf1b76a27a803c4ea464eb30c5573147ba783f0e42869bfa9970b61d5ed05b790f6a93bab2f939eefc9efad8677e59a037e3ab2303ce97ffd53e3ce3369ba4c48eceb3aaedcb4089a97eb59fc9788204739d5e6df7c8dc326994bdcd1803cb4b521ff6647de9590dfcb2c570510a619118703e82e7e45a54e287a8c734d0294a8b2cd07ffa32e400edcd5bbf86b2dd2f09c2b72018b17e54debad47b839e98cebead5ce68a439e5eb427945dfdd168ac7026a5c9c33c6c3ce0b98f832d7ad16aecdb01891904f6042a4c98e5f41209b4488e6c99ef116f43c489f51e306476642194fe0535077c94fc80c5aba2e26e61c77b1fc5fe9dad47968bb4114baa614d234e3b0be0d5abec9e60d72c6956a797809b51e16b6f49029d2f4b2266d3a8b9b567099b556c2685a00bd84238a9080aa022c357ad6d454bd7594a029eb4284a973b48e6392f425b70301b8c51477500490b765c6b70015bdd99f51c2d1995d80ba04508d6e66eb56695cccf63d50cc40b02c80c3886ce75d8a02abbb7149daced8ff3e8dfc169fb46031c4c0f19060daba08d35d3402b20cb0417f14ef184f5f531f4695ba4832a8b6391b13f3abcdd2c05b5168c30fe3cde8677ff738836aa85b7ef90148b2556b790bd9bda3d108ea37b03acfd09a544a8e85843643f31368cfc226a930dc7496ed4c9966e3de92637933ee7bfdf12bbfbac0234a74e289bdb37a522bd047a1007a3687a21bc9b0cff80874277d825bdbab845c1ac50460563d08b1e04a7f1086e677931988d5cd6f974706d64f63e84491b302888f8b8f0f42997f5edd2510f26a0b16d7038bec871309389cab6f5761a2b9f00111bc4441bbfade0eca7cea5b0b8daca736e6150503aae879f72d108361ca31bafbf4e0c2e9ebd7af57265bb04c388923a00b4c59088a2f7b767b14f3982e642e7b3dd94dc6f4b6b0113c9d49f80a3e169c1060893539ffc3237d6eccf4920a9b50a860eed127a22ffe"}]}}}}}}) syz_execute_func(&(0x7f0000001240)="f22633545b41c4c2b1de3a0f4bbe11140000c4c231dc03c4c24d961c5f660f3821471ec4e185d87128c4c3c5cf8e0e080000fed16200c4c22d4011") syz_extract_tcp_res(&(0x7f0000001280), 0x26e, 0x1) csource_test.go:124: failed to build program: // 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 static unsigned long long procid; static void kill_and_wait(int pid, int* status) { kill(pid, SIGKILL); while (waitpid(-1, status, 0) != pid) { } } static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void 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 __attribute__((noinline)) remove_dir(const char* dir) { DIR* dp = opendir(dir); if (dp == NULL) { if (errno == EACCES) { if (rmdir(dir)) exit(1); return; } 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); struct stat st; if (lstat(filename, &st)) exit(1); if (S_ISDIR(st.st_mode)) { remove_dir(filename); continue; } if (unlink(filename)) exit(1); } closedir(dp); if (rmdir(dir)) 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); } typedef struct { pthread_mutex_t mu; pthread_cond_t cv; int state; } event_t; static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) exit(1); if (pthread_cond_init(&ev->cv, 0)) exit(1); ev->state = 0; } static void event_reset(event_t* ev) { ev->state = 0; } static void event_set(event_t* ev) { pthread_mutex_lock(&ev->mu); if (ev->state) exit(1); ev->state = 1; pthread_mutex_unlock(&ev->mu); pthread_cond_broadcast(&ev->cv); } static void event_wait(event_t* ev) { pthread_mutex_lock(&ev->mu); while (!ev->state) pthread_cond_wait(&ev->cv, &ev->mu); pthread_mutex_unlock(&ev->mu); } static int event_isset(event_t* ev) { pthread_mutex_lock(&ev->mu); int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } static int event_timedwait(event_t* ev, uint64_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; pthread_mutex_lock(&ev->mu); for (;;) { if (ev->state) break; uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; pthread_cond_timedwait(&ev->cv, &ev->mu, &ts); now = current_time_ms(); if (now - start > timeout) break; } int res = ev->state; pthread_mutex_unlock(&ev->mu); return res; } #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)))) struct csum_inet { uint32_t acc; }; static void csum_inet_init(struct csum_inet* csum) { csum->acc = 0; } static void csum_inet_update(struct csum_inet* csum, const uint8_t* data, size_t length) { if (length == 0) return; size_t i = 0; for (; i < length - 1; i += 2) csum->acc += *(uint16_t*)&data[i]; if (length & 1) csum->acc += le16toh((uint16_t)data[length - 1]); while (csum->acc > 0xffff) csum->acc = (csum->acc & 0xffff) + (csum->acc >> 16); } static uint16_t csum_inet_digest(struct csum_inet* csum) { return ~csum->acc; } static int tunfd = -1; #define MAX_TUN 4 #define TUN_IFACE "tap%d" #define TUN_DEVICE "/dev/tap%d" #define LOCAL_MAC "aa:aa:aa:aa:aa:aa" #define REMOTE_MAC "aa:aa:aa:aa:aa:bb" #define LOCAL_IPV4 "172.20.%d.170" #define REMOTE_IPV4 "172.20.%d.187" #define LOCAL_IPV6 "fe80::%02hxaa" #define REMOTE_IPV6 "fe80::%02hxbb" static void vsnprintf_check(char* str, size_t size, const char* format, va_list args) { int rv = vsnprintf(str, size, format, args); if (rv < 0) exit(1); if ((size_t)rv >= size) exit(1); } static void snprintf_check(char* str, size_t size, const char* format, ...) { va_list args; va_start(args, format); vsnprintf_check(str, size, format, args); va_end(args); } #define COMMAND_MAX_LEN 128 #define PATH_PREFIX "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin " #define PATH_PREFIX_LEN (sizeof(PATH_PREFIX) - 1) static void execute_command(bool panic, const char* format, ...) { va_list args; va_start(args, format); char command[PATH_PREFIX_LEN + COMMAND_MAX_LEN]; memcpy(command, PATH_PREFIX, PATH_PREFIX_LEN); vsnprintf_check(command + PATH_PREFIX_LEN, COMMAND_MAX_LEN, format, args); va_end(args); int rv = system(command); if (rv) { if (panic) exit(1); } } static void initialize_tun(int tun_id) { if (tun_id < 0 || tun_id >= MAX_TUN) { exit(1); } char tun_device[sizeof(TUN_DEVICE)]; snprintf_check(tun_device, sizeof(tun_device), TUN_DEVICE, tun_id); char tun_iface[sizeof(TUN_IFACE)]; snprintf_check(tun_iface, sizeof(tun_iface), TUN_IFACE, tun_id); execute_command(0, "ifconfig %s destroy", tun_device); tunfd = open(tun_device, O_RDWR | O_NONBLOCK); if ((tunfd < 0) && (errno == ENOENT)) { execute_command(0, "kldload -q if_tap"); tunfd = open(tun_device, O_RDWR | O_NONBLOCK); } if (tunfd == -1) { printf("tun: can't open %s: errno=%d\n", tun_device, errno); return; } const int kTunFd = 240; if (dup2(tunfd, kTunFd) < 0) exit(1); close(tunfd); tunfd = kTunFd; char local_mac[sizeof(LOCAL_MAC)]; snprintf_check(local_mac, sizeof(local_mac), LOCAL_MAC); execute_command(1, "ifconfig %s ether %s", tun_iface, local_mac); char local_ipv4[sizeof(LOCAL_IPV4)]; snprintf_check(local_ipv4, sizeof(local_ipv4), LOCAL_IPV4, tun_id); execute_command(1, "ifconfig %s inet %s netmask 255.255.255.0", tun_iface, local_ipv4); char remote_mac[sizeof(REMOTE_MAC)]; char remote_ipv4[sizeof(REMOTE_IPV4)]; snprintf_check(remote_mac, sizeof(remote_mac), REMOTE_MAC); snprintf_check(remote_ipv4, sizeof(remote_ipv4), REMOTE_IPV4, tun_id); execute_command(0, "arp -s %s %s", remote_ipv4, remote_mac); char local_ipv6[sizeof(LOCAL_IPV6)]; snprintf_check(local_ipv6, sizeof(local_ipv6), LOCAL_IPV6, tun_id); execute_command(1, "ifconfig %s inet6 %s", tun_iface, local_ipv6); char remote_ipv6[sizeof(REMOTE_IPV6)]; snprintf_check(remote_ipv6, sizeof(remote_ipv6), REMOTE_IPV6, tun_id); execute_command(0, "ndp -s %s%%%s %s", remote_ipv6, tun_iface, remote_mac); } static long syz_emit_ethernet(volatile long a0, volatile long a1) { if (tunfd < 0) return (uintptr_t)-1; size_t length = a0; const char* data = (char*)a1; return write(tunfd, data, length); } 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) return -1; exit(1); } return rv; } struct tcp_resources { uint32_t seq; uint32_t ack; }; static long syz_extract_tcp_res(volatile long a0, volatile long a1, volatile long a2) { if (tunfd < 0) return (uintptr_t)-1; char data[1000]; int rv = read_tun(&data[0], sizeof(data)); if (rv == -1) return (uintptr_t)-1; size_t length = rv; if (length < sizeof(struct ether_header)) return (uintptr_t)-1; struct ether_header* ethhdr = (struct ether_header*)&data[0]; struct tcphdr* tcphdr = 0; if (ethhdr->ether_type == htons(ETHERTYPE_IP)) { if (length < sizeof(struct ether_header) + sizeof(struct ip)) return (uintptr_t)-1; struct ip* iphdr = (struct ip*)&data[sizeof(struct ether_header)]; if (iphdr->ip_p != IPPROTO_TCP) return (uintptr_t)-1; if (length < sizeof(struct ether_header) + iphdr->ip_hl * 4 + sizeof(struct tcphdr)) return (uintptr_t)-1; tcphdr = (struct tcphdr*)&data[sizeof(struct ether_header) + iphdr->ip_hl * 4]; } else { if (length < sizeof(struct ether_header) + sizeof(struct ip6_hdr)) return (uintptr_t)-1; struct ip6_hdr* ipv6hdr = (struct ip6_hdr*)&data[sizeof(struct ether_header)]; if (ipv6hdr->ip6_nxt != IPPROTO_TCP) return (uintptr_t)-1; if (length < sizeof(struct ether_header) + sizeof(struct ip6_hdr) + sizeof(struct tcphdr)) return (uintptr_t)-1; tcphdr = (struct tcphdr*)&data[sizeof(struct ether_header) + sizeof(struct ip6_hdr)]; } struct tcp_resources* res = (struct tcp_resources*)a0; res->seq = htonl(ntohl(tcphdr->th_seq) + (uint32_t)a1); res->ack = htonl(ntohl(tcphdr->th_ack) + (uint32_t)a2); return 0; } static void sandbox_common() { if (setsid() == -1) exit(1); struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = 128 << 20; setrlimit(RLIMIT_AS, &rlim); rlim.rlim_cur = rlim.rlim_max = 8 << 20; setrlimit(RLIMIT_MEMLOCK, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_FSIZE, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_STACK, &rlim); rlim.rlim_cur = rlim.rlim_max = 0; setrlimit(RLIMIT_CORE, &rlim); rlim.rlim_cur = rlim.rlim_max = 256; setrlimit(RLIMIT_NOFILE, &rlim); } static void loop(); static int do_sandbox_none(void) { sandbox_common(); initialize_tun(procid); loop(); return 0; } static long syz_execute_func(volatile long text) { ((void (*)(void))(text))(); return 0; } struct thread_t { int created, call; event_t ready, done; }; static struct thread_t threads[16]; static void execute_call(int call); static int running; static void* thr(void* arg) { struct thread_t* th = (struct thread_t*)arg; for (;;) { event_wait(&th->ready); event_reset(&th->ready); execute_call(th->call); __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); event_set(&th->done); } return 0; } static void execute_one(void) { int i, call, thread; for (call = 0; call < 13; 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, 45); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); #define WAIT_FLAGS 0 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); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5 * 1000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } uint64_t r[3] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: res = syscall(SYS_fcntl, 0xffffff9c, 0x11, 0xffffff9c); if (res != -1) r[0] = res; break; case 1: *(uint32_t*)0x10000000 = 5; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 5, 0x10000000, 4); break; case 2: *(uint64_t*)0x10000040 = 6; *(uint64_t*)0x10000048 = 0xa9; syscall(SYS_cap_rights_limit, (intptr_t)r[0], 0x10000040); break; case 3: *(uint8_t*)0x10000080 = 0x20; *(uint8_t*)0x10000081 = 0x81; *(uint8_t*)0x10000082 = 3; *(uint8_t*)0x10000083 = 0x20; *(uint8_t*)0x10000084 = 0x20; *(uint8_t*)0x10000085 = 0xf7; *(uint8_t*)0x10000086 = -1; *(uint8_t*)0x10000087 = 7; *(uint8_t*)0x10000088 = 4; *(uint8_t*)0x10000089 = 0x40; *(uint8_t*)0x1000008a = 4; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0xc, 0x10000080, 0xb); break; case 4: *(uint32_t*)0x100000c0 = 0; *(uint16_t*)0x100000c4 = 9; *(uint16_t*)0x100000c6 = 3; *(uint16_t*)0x100000c8 = 1; *(uint16_t*)0x100000ca = -1; *(uint16_t*)0x100000cc = 0x8000; syscall(SYS_setsockopt, (intptr_t)r[0], 0x84, 0x901, 0x100000c0, 0xe); break; case 5: *(uint32_t*)0x10000180 = 0x6e; res = syscall(SYS_accept, (intptr_t)r[0], 0x10000100, 0x10000180); if (res != -1) r[1] = res; break; case 6: memcpy((void*)0x100001c0, "./file0\000", 8); syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); break; case 7: res = syscall(SYS_socket, 2, 3, 1); if (res != -1) r[2] = res; break; case 8: syscall(SYS_fcntl, (intptr_t)r[2], 5, 0); break; case 9: *(uint8_t*)0x10000240 = 0x1c; *(uint8_t*)0x10000241 = 0x1c; *(uint16_t*)0x10000242 = htobe16(0x4e21); *(uint32_t*)0x10000244 = 0x7f; *(uint64_t*)0x10000248 = htobe64(0); *(uint64_t*)0x10000250 = htobe64(1); *(uint32_t*)0x10000258 = 0xfffff9b1; *(uint64_t*)0x1000025c = 0; *(uint64_t*)0x10000264 = 0; *(uint64_t*)0x1000026c = 0; *(uint64_t*)0x10000274 = 0; *(uint64_t*)0x1000027c = 0; *(uint64_t*)0x10000284 = 0; *(uint64_t*)0x1000028c = 0; *(uint64_t*)0x10000294 = 0; *(uint64_t*)0x1000029c = 0; *(uint64_t*)0x100002a4 = 0; *(uint64_t*)0x100002ac = 0; *(uint64_t*)0x100002b4 = 0; *(uint32_t*)0x100002bc = 0; *(uint32_t*)0x100002c0 = 0x80; syscall(SYS_getsockopt, (intptr_t)r[1], 0x84, 7, 0x10000240, 0x100002c0); break; case 10: *(uint8_t*)0x10000000 = 0xaa; *(uint8_t*)0x10000001 = 0xaa; *(uint8_t*)0x10000002 = 0xaa; *(uint8_t*)0x10000003 = 0xaa; *(uint8_t*)0x10000004 = 0xaa; *(uint8_t*)0x10000005 = 0xbb; *(uint8_t*)0x10000006 = 0xaa; *(uint8_t*)0x10000007 = 0xaa; *(uint8_t*)0x10000008 = 0xaa; *(uint8_t*)0x10000009 = 0xaa; *(uint8_t*)0x1000000a = 0xaa; *(uint8_t*)0x1000000b = 0xbb; *(uint16_t*)0x1000000c = htobe16(0x8100); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 5, 0, 3); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 1, 3, 1); STORE_BY_BITMASK(uint16_t, , 0x1000000e, 3, 4, 12); *(uint16_t*)0x10000010 = htobe16(0x86dd); STORE_BY_BITMASK(uint8_t, , 0x10000012, 7, 0, 4); STORE_BY_BITMASK(uint8_t, , 0x10000012, 6, 4, 4); memcpy((void*)0x10000013, "\xc3\xcb\x10", 3); *(uint16_t*)0x10000016 = htobe16(0x1202); *(uint8_t*)0x10000018 = 0x2f; *(uint8_t*)0x10000019 = 1; memcpy((void*)0x1000001a, "\xcd\xd9\x63\x9d\x81\x8e\x3c\x53\x54\xe4\x23\xe6\x7c\x02\x61\xce", 16); memcpy((void*)0x1000002a, "\x9a\xa3\xa7\x3e\xac\xf4\x7f\x64\x6c\xf7\x00\x32\xc9\xd1\x08\xee", 16); *(uint8_t*)0x1000003a = 0x36; *(uint8_t*)0x1000003b = 0x1e; *(uint8_t*)0x1000003c = 0; *(uint8_t*)0x1000003d = 0; *(uint8_t*)0x1000003e = 0; *(uint8_t*)0x1000003f = 0; *(uint8_t*)0x10000040 = 0; *(uint8_t*)0x10000041 = 0; *(uint8_t*)0x10000042 = 4; *(uint8_t*)0x10000043 = 1; *(uint8_t*)0x10000044 = 1; *(uint8_t*)0x10000045 = 0xc2; *(uint8_t*)0x10000046 = 4; *(uint32_t*)0x10000047 = htobe32(7); *(uint8_t*)0x1000004b = 1; *(uint8_t*)0x1000004c = 2; *(uint8_t*)0x1000004d = 0; *(uint8_t*)0x1000004e = 0; *(uint8_t*)0x1000004f = -1; *(uint8_t*)0x10000050 = 0xe2; memcpy((void*)0x10000051, "\x66\x43\xd2\x30\xd2\xeb\xee\x2d\xa6\x67\x99\x23\x3f\xd3\x95\x3c\x63\x7f\xbf\xf5\x8a\x08\xfe\x47\x94\x6d\xe8\x6f\x44\xbc\xf9\xe8\x09\xd6\x27\x76\x8d\x7e\x38\xbe\x69\x80\x89\x21\xc8\x00\xa8\xca\x76\xdb\xa1\x2e\x6b\x01\xe8\xb0\xb8\x52\x82\x1f\xe4\x6d\x8d\x1b\x86\x3c\x6e\xd1\xf3\x86\xd2\x77\x9a\x29\x83\x03\x6a\x40\x3e\xc8\x04\xbb\xc1\xce\x77\xc6\x79\xd9\x45\xe9\xc0\xb8\x36\x35\x2e\x6f\x8e\xe2\x10\xed\xe5\xf8\xeb\x29\x37\xaf\xc8\x30\x72\x87\xe8\xa2\x7e\x8f\xc6\x6d\xe2\xef\x50\x42\x18\x40\x45\x51\x26\xdc\x36\x2d\x09\x94\xa2\xa2\xdb\x61\x9c\xa5\xb7\x0f\x61\x5b\x71\x94\x13\x59\x44\x71\xa2\xef\xad\x9e\x7e\x22\xa5\x40\x03\x61\xab\xac\x23\x15\x75\xd1\xb4\x98\x78\x16\x12\x29\x6d\x93\x2e\x48\x32\xdd\x0c\x9f\x67\x09\xc2\xf8\x10\x38\xbb\xcd\xe5\xc2\x78\x32\xba\xe0\x14\xb1\x3b\x9b\x93\xb4\x13\x74\xf9\x97\xc1\x88\xd7\x4a\x33\x96\x0b\x2b\x29\x48\xa2\xeb\x32\x11\xc2\xac\xa8\x55\xf6\x16\xf2\x22\x3f\x47\x46\xce", 226); *(uint8_t*)0x10000133 = 4; *(uint8_t*)0x10000134 = 1; *(uint8_t*)0x10000135 = 0x1f; *(uint8_t*)0x1000013a = 0x31; *(uint8_t*)0x1000013b = 4; *(uint8_t*)0x1000013c = 0; *(uint8_t*)0x1000013d = 5; *(uint32_t*)0x1000013e = 0; *(uint8_t*)0x10000142 = 0; *(uint8_t*)0x10000143 = 0; *(uint8_t*)0x10000144 = 0; *(uint8_t*)0x10000145 = 0; *(uint8_t*)0x10000146 = 0; *(uint8_t*)0x10000147 = 0; *(uint8_t*)0x10000148 = 0; *(uint8_t*)0x10000149 = 0; *(uint8_t*)0x1000014a = 0; *(uint8_t*)0x1000014b = 0; *(uint8_t*)0x1000014c = -1; *(uint8_t*)0x1000014d = -1; *(uint32_t*)0x1000014e = htobe32(-1); *(uint8_t*)0x10000152 = 0; *(uint8_t*)0x10000153 = 0; *(uint8_t*)0x10000154 = 0; *(uint8_t*)0x10000155 = 0; *(uint8_t*)0x10000156 = 0; *(uint8_t*)0x10000157 = 0; *(uint8_t*)0x10000158 = 0; *(uint8_t*)0x10000159 = 0; *(uint8_t*)0x1000015a = 0; *(uint8_t*)0x1000015b = 0; *(uint8_t*)0x1000015c = 0; *(uint8_t*)0x1000015d = 0; *(uint8_t*)0x1000015e = 0; *(uint8_t*)0x1000015f = 0; *(uint8_t*)0x10000160 = 0; *(uint8_t*)0x10000161 = 0; *(uint8_t*)0x10000162 = 0x58; *(uint8_t*)0x10000163 = 8; *(uint8_t*)0x10000164 = 1; *(uint8_t*)0x10000165 = 0x81; *(uint32_t*)0x10000166 = 0; *(uint8_t*)0x1000016a = 0xfe; *(uint8_t*)0x1000016b = 0x80; *(uint8_t*)0x1000016c = 0; *(uint8_t*)0x1000016d = 0; *(uint8_t*)0x1000016e = 0; *(uint8_t*)0x1000016f = 0; *(uint8_t*)0x10000170 = 0; *(uint8_t*)0x10000171 = 0; *(uint8_t*)0x10000172 = 0; *(uint8_t*)0x10000173 = 0; *(uint8_t*)0x10000174 = 0; *(uint8_t*)0x10000175 = 0; *(uint8_t*)0x10000176 = 0; *(uint8_t*)0x10000177 = 0; *(uint8_t*)0x10000178 = 0; *(uint8_t*)0x10000179 = 0xaa; *(uint8_t*)0x1000017a = -1; *(uint8_t*)0x1000017b = 1; *(uint8_t*)0x1000017c = 0; *(uint8_t*)0x1000017d = 0; *(uint8_t*)0x1000017e = 0; *(uint8_t*)0x1000017f = 0; *(uint8_t*)0x10000180 = 0; *(uint8_t*)0x10000181 = 0; *(uint8_t*)0x10000182 = 0; *(uint8_t*)0x10000183 = 0; *(uint8_t*)0x10000184 = 0; *(uint8_t*)0x10000185 = 0; *(uint8_t*)0x10000186 = 0; *(uint8_t*)0x10000187 = 0; *(uint8_t*)0x10000188 = 0; *(uint8_t*)0x10000189 = 1; *(uint8_t*)0x1000018a = 0xfe; *(uint8_t*)0x1000018b = 0x80; *(uint8_t*)0x1000018c = 0; *(uint8_t*)0x1000018d = 0; *(uint8_t*)0x1000018e = 0; *(uint8_t*)0x1000018f = 0; *(uint8_t*)0x10000190 = 0; *(uint8_t*)0x10000191 = 0; *(uint8_t*)0x10000192 = 0; *(uint8_t*)0x10000193 = 0; *(uint8_t*)0x10000194 = 0; *(uint8_t*)0x10000195 = 0; *(uint8_t*)0x10000196 = 0; *(uint8_t*)0x10000197 = 0; *(uint8_t*)0x10000198 = 0; *(uint8_t*)0x10000199 = 0xaa; *(uint64_t*)0x1000019a = htobe64(0); *(uint64_t*)0x100001a2 = htobe64(1); *(uint8_t*)0x100001aa = 0x59; *(uint8_t*)0x100001ab = 0xc; *(uint8_t*)0x100001ac = 0; *(uint8_t*)0x100001ad = 3; *(uint32_t*)0x100001ae = 0; memcpy((void*)0x100001b2, "\xd6\x91\xf2\x28\x49\x8c\x81\x6b\xd9\x31\xbf\x11\xea\x3c\xb3\x58", 16); *(uint8_t*)0x100001c2 = 0; *(uint8_t*)0x100001c3 = 0; *(uint8_t*)0x100001c4 = 0; *(uint8_t*)0x100001c5 = 0; *(uint8_t*)0x100001c6 = 0; *(uint8_t*)0x100001c7 = 0; *(uint8_t*)0x100001c8 = 0; *(uint8_t*)0x100001c9 = 0; *(uint8_t*)0x100001ca = 0; *(uint8_t*)0x100001cb = 0; *(uint8_t*)0x100001cc = 0; *(uint8_t*)0x100001cd = 0; *(uint8_t*)0x100001ce = 0; *(uint8_t*)0x100001cf = 0; *(uint8_t*)0x100001d0 = 0; *(uint8_t*)0x100001d1 = 0; *(uint64_t*)0x100001d2 = htobe64(0); *(uint64_t*)0x100001da = htobe64(1); memcpy((void*)0x100001e2, "\x40\x46\xfb\xe3\xc1\xe1\x66\x9f\x07\x2d\xd9\xee\x3b\xa1\x16\x96", 16); *(uint8_t*)0x100001f2 = 0; *(uint8_t*)0x100001f3 = 0; *(uint8_t*)0x100001f4 = 0; *(uint8_t*)0x100001f5 = 0; *(uint8_t*)0x100001f6 = 0; *(uint8_t*)0x100001f7 = 0; *(uint8_t*)0x100001f8 = 0; *(uint8_t*)0x100001f9 = 0; *(uint8_t*)0x100001fa = 0; *(uint8_t*)0x100001fb = 0; *(uint8_t*)0x100001fc = -1; *(uint8_t*)0x100001fd = -1; *(uint32_t*)0x100001fe = htobe32(-1); *(uint8_t*)0x10000202 = -1; *(uint8_t*)0x10000203 = 1; *(uint8_t*)0x10000204 = 0; *(uint8_t*)0x10000205 = 0; *(uint8_t*)0x10000206 = 0; *(uint8_t*)0x10000207 = 0; *(uint8_t*)0x10000208 = 0; *(uint8_t*)0x10000209 = 0; *(uint8_t*)0x1000020a = 0; *(uint8_t*)0x1000020b = 0; *(uint8_t*)0x1000020c = 0; *(uint8_t*)0x1000020d = 0; *(uint8_t*)0x1000020e = 0; *(uint8_t*)0x1000020f = 0; *(uint8_t*)0x10000210 = 0; *(uint8_t*)0x10000211 = 1; *(uint8_t*)0x10000212 = 0x27; *(uint8_t*)0x10000213 = 0; *(uint8_t*)0x10000214 = 0x91; STORE_BY_BITMASK(uint8_t, , 0x10000215, 1, 0, 1); STORE_BY_BITMASK(uint8_t, , 0x10000215, 0, 1, 2); STORE_BY_BITMASK(uint8_t, , 0x10000215, 6, 3, 5); *(uint32_t*)0x10000216 = 0x66; *(uint8_t*)0x1000021a = 0x26; *(uint8_t*)0x1000021b = 0; *(uint8_t*)0x1000021c = 0; *(uint8_t*)0x1000021d = 0; *(uint8_t*)0x1000021e = 0; *(uint8_t*)0x1000021f = 0; *(uint8_t*)0x10000220 = 0; *(uint8_t*)0x10000221 = 0; *(uint8_t*)0x10000222 = 5; *(uint8_t*)0x10000223 = 2; *(uint16_t*)0x10000224 = htobe16(5); *(uint8_t*)0x1000022a = 0x86; *(uint8_t*)0x1000022b = 0; *(uint16_t*)0x1000022c = htobe16(0); *(uint8_t*)0x1000022e = 0; *(uint8_t*)0x1000022f = 9; *(uint16_t*)0x10000230 = htobe16(9); *(uint32_t*)0x10000232 = htobe32(0x401); *(uint32_t*)0x10000236 = htobe32(0x7fffffff); *(uint8_t*)0x1000023a = 1; *(uint8_t*)0x1000023b = 0; memcpy((void*)0x1000023c, "\xd1\x45\xff\x57\x6d\x7f\xe9\x33\xa6\xf7\xae\x4b\xd4\x7d\x7a\xec\x43\x60\xa3\x35\x72\x7c\x02\x67\xff\x79\xe3\x4d\x03\x66\x94\xea\x6d\x8d\xe6\x2e\xbb\x19\x41\xf6\xb9\xa9\x5a\x6c\x95\xfa\x33\xd4\xa6\xdd\xfe\x3b\xe4\x08\x14\x8d\xac\xa5\x56\xb6\xb4\xdf\xeb\xef\x86\x9d\xa9\x3c\xfa\x26\xfb\x8e\x16\x50\x9f\xeb\xb3\x21\x01\x1f\x50\x8e\xec\x75\x02\x82\x44\x42\xd8\x62\x05\x19\xd7\xce\x35\x92\x84\xef\x09\x36\x39\x00\x1b\x68\x9f\x94\x43\x26\x05\x84\xdf\xaf\x81\x93\x13\x72\x6c\x44\x95\xac\x4c\x32\x03\xaa\x60\x3e\x26\xf3\x74\xd6\x96\xcd\xb3\x6f\xb0\x0e\x6c\x41\x2e\xdb\xef\xc1\x62\x70\xc7\x83\xd3\xa1\xad\xa3\x5a\x07\xcd\x92\x25\xf2\x1b\x95\x70\xf8\x01\xa9\x60\xe0\x6d\x96\x55\x6b\x9e\xac\xa2\x34\xf1\x28\x61\x44\x42\x31\xc9\x4a\xee\x63\x15\xfb\x19\x9f\x69\xee\xbd\xf9\xfd\xb0\xbd\xb8\x99\x02\xe0\xeb\x69\xbb\xdf\x97\x30\xaa\x37\x1b\x84\xb0\x2e\x9a\xb5\xf3\xa4\xf9\x9f\x92\x05\x69\x4f\x06\x24\x60\xe2\x86\xb1\xab\xef\x39\x36\xfd\xf1\x83\xbd\x7c\x95\xa9\xd9\x9b\x57\x82\x7d\xea\x18\x14\xe0\xe2\xdc\x58\xa6\x77\xf2\xae\x6c\x73\xde\x4e\x27\xfe\x88\x56\xe4\x17\xfd\x26\x60\x88\x00\x8a\xbe\x5d\x38\xd7\x4e\xa0\xbd\xc6\xd0\x46\xc5\xd3\xf4\x5e\x2e\xe4\x7a\x44\x0c\x5d\xfc\x30\x45\x9b\x21\x9b\xb3\xb1\x30\x2f\xeb\x6b\x36\xa6\xe5\x24\xb1\xdb\x70\xd5\x7e\xfe\x32\x82\x3b\x0a\xd0\x37\xa3\xc2\x04\xc7\x77\x48\xb8\x5f\xd8\x8a\xbf\x24\xef\x07\x17\xea\xc9\x0e\x23\x5d\x91\x76\x4b\x48\xbb\x1d\xcc\x3c\x91\x77\xfc\x4b\x0f\xc9\x97\xd3\xd4\xe9\x07\x02\x87\x2b\xf0\xd8\x70\x21\x94\xe2\x25\x77\x35\x3e\x55\x7c\x00\x41\xf1\x06\xe5\xde\xe1\xd2\x4f\x24\x3a\xb7\xc0\x7b\x43\x35\xa6\x88\x6c\x04\x06\x1e\x84\x96\x65\x99\xb6\x8c\x67\x6e\x96\x60\x08\xa7\x90\x5f\x17\x06\x04\x83\x34\x50\x1a\x36\x08\x30\x53\x30\xcb\x8b\x44\x7a\x16\x98\xfa\x96\x46\xc7\x3c\xd7\x58\x87\x1c\x1e\x8b\x96\x88\x9a\xe3\x37\x2a\x5f\xef\x5b\x03\xef\x56\xd1\x60\x8e\xae\x44\xa8\x63\xb0\x59\x91\xf6\x26\x44\x77\x30\xdf\x97\xf3\x36\x86\xe5\xcb\x72\x55\x4a\x1a\x8a\xce\x8b\x53\x0d\x3e\x60\x45\x23\x52\xd9\xe9\x3e\xd0\x31\x85\x2e\xb2\xdc\x87\x90\x3a\x13\x46\xc3\x96\x2c\xed\x8f\x4f\xd2\xc0\x7e\x01\x84\x3d\x19\xe2\x53\x65\x3f\xcc\x7e\xb3\xe7\x10\xb5\x46\xe1\x18\x08\x44\xd9\x5e\x67\x14\x3d\xef\x46\x19\x37\x5d\x71\x17\x37\x29\xdf\xab\xee\xcd\xdd\x02\x39\x45\x6f\xd1\xf5\x63\xbe\xdd\x3e\x8a\xa7\xbd\x29\xce\x40\xbf\xb7\x2e\x83\x23\x24\xcf\x0e\x7e\xd9\x60\xbc\x4c\xdd\x81\xa1\xd1\xc4\xd3\xa2\xf9\x84\x21\x8a\x8f\x7c\xe9\x28\x8f\xb5\x7b\x31\x5c\x47\x5a\x57\xc2\xd5\x67\x43\xba\x39\x87\xad\x1f\xe6\x9a\xf5\xa3\x91\xcd\xb9\xc8\xa5\x51\x72\x33\x40\xc3\xd1\xc9\x89\xb5\xda\x33\x77\x1f\x79\x7e\x89\x93\xef\x51\x54\x6e\x98\x49\xba\x61\xa3\xcb\x3b\xab\xbc\x5b\x33\xfc\x9e\x88\x3b\x3e\xe4\x1e\x6d\x8c\x67\x58\x41\x71\x8b\x90\x80\x92\xb2\xc4\xda\x4c\x1a\x78\xa1\x7b\xee\x0c\x40\x9d\x03\xcd\x8b\xed\x2d\x56\xa4\x6e\xe7\x72\x1b\x56\x59\xbe\x3f\xa5\xcd\x0e\x89\xbc\xef\xfa\xff\xaf\x1e\x95\x71\x6a\xdc\x76\x25\x54\xc4\x96\xa4\x02\x82\xcb\x6d\x85\xf4\xe0\xe2\x9f\xd7\x65\x74\x00\x1b\x89\x3d\x0f\xfc\x8c\x94\xa1\x87\x82\x9e\x24\x54\x6d\x89\x04\x39\x54\x7b\x81\xc1\x8c\x48\x65\xbe\x4c\xb5\x7e\x06\xe3\x19\xc5\x00\x7d\x43\x45\x9e\xc3\xaa\x20\xce\x72\xf7\x88\x3c\xbd\xa6\xa3\x03\xc3\x43\xfb\xed\x7f\x62\xb2\xf2\xac\x9f\x5d\x24\x84\x2e\x8a\xba\xe1\xc9\xe3\x29\x54\xb0\xd0\xd6\x02\x42\x89\x1b\x1f\xae\x40\xd0\x32\x83\xf3\x3c\x09\x48\xe1\x61\xfa\x2f\x9f\xfb\x77\xb7\x2c\xe9\x69\x71\x87\x68\x28\x2c\x45\xae\x08\x9f\xaf\x80\xec\xaf\xf1\x65\x81\x14\xa7\x8d\x8b\x13\x83\x39\x58\xa3\x60\xfe\x8b\xea\xd9\xb4\x85\xd5\xdc\xc7\x01\x81\x2a\x55\x9c\x6d\x04\xa2\x2f\xe5\x9d\x3f\x6f\xc0\xfc\xc7\xcb\xbb\xc4\x45\x0a\x58\xbe\xe9\x95\x60\x57\x9e\xff\x8d\x78\x46\xd0\x62\x25\x3d\x15\xd5\xe6\xb2\x0a\x78\x13\x40\x14\x32\x3b\xc3\x1f\x3d\xbf\xa5\x3e\x2e\xde\x13\x7e\x3c\x11\x29\xba\x8d\xb6\x38\xa9\x59\x72\xe1\xa7\x22\x35\x04\xaf\x10\xa1\x49\x15\x4f\xa5\x81\xb9\xdb\xc5\x16\x28\x9c\xff\x0d\x65\x58\x88\x59\x21\x99\xc7\x7f\xa5\x53\xf0\x7d\xb0\x09\xee\x2a\x42\xc5\x41\x2d\xf9\xfe\x61\x2d\x10\x8e\xe2\xd5\x95\xcb\xb0\xbf\x59\x77\x66\x46\xcb\x7c\x83\xe3\x55\x1a\x91\xc0\xac\xa0\x5d\xe2\x0d\x0b\xfc\x6c\x1f\x8f\x5c\x94\x92\xf2\x2e\x57\x14\xea\x0c\xba\xb5\x76\x31\x94\x99\x6c\x81\x85\x45\xc0\x99\x7f\xf5\x55\xe5\xd1\x36\xae\xa5\x0a\x7a\x93\xdc\x40\x34\x0a\x72\x5d\xa5\xca\x7e\xa4\x5a\x48\x3d\x2c\x9d\xa6\x7a\x25\x4d\x6e\xbd\xb6\xe2\x02\x70\xbe\xb3\x33\x73\x32\x1d\x92\x23\x75\x20\x7b\xf5\x47\x07\xe1\xd9\x7d\x52\xa6\x93\x0b\x42\x87\xcd\x0d\xc6\xd8\xd3\x34\x6e\x38\x8f\xe4\x1f\xca\x91\x16\x27\x39\xa3\x0c\x97\xda\x08\xcc\x3f\x42\xb3\xf5\x43\x82\xdc\xde\xf5\xd0\xe7\x67\x0b\x8c\x98\xc0\x53\x3b\xf6\xc5\x3d\x58\x68\x8d\x9b\x95\x8b\x23\xa9\x1a\x8a\x6f\x2f\xfa\xd4\x19\xe0\x1e\x2b\xb7\x76\xcc\x32\x13\xfe\xf5\x9a\x70\x34\xd8\x35\xc0\x22\xda\xd0\x29\x94\x62\x4c\x55\x85\x5b\x09\xe2\x66\xe4\x16\xa6\x69\x39\xfc\x36\x64\xe4\x41\xb9\x9d\x7f\xfa\x0b\x83\xbf\xd0\xb0\xd7\x52\xde\x0b\xae\xdc\x17\x46\xb4\x93\x82\x01\x97\x22\x53\x92\x4b\x0a\x68\x64\x1e\x7c\x93\x5f\xbb\x41\x89\xe5\xfd\xc3\x91\xa2\x9e\x33\x11\x51\xfe\x72\x0b\xfb\xc0\x68\x25\xba\x07\x66\xe4\x21\xa2\x61\x3f\xc0\xb7\x8c\xee\xb3\x81\x7f\x26\x2c\x90\xf6\x6e\x7c\xfa\x05\x33\xc1\x7a\xc7\x1b\x0b\x1f\x94\xff\xb0\x2e\x38\x07\xb6\x24\x7e\x96\x8c\xed\xb1\x41\x20\x6e\xdf\x0c\xa6\xf9\x8f\xd9\x19\xfa\x52\x79\xfe\x20\x87\x99\xd8\x2a\xb3\xa7\x0b\x9b\x4b\xae\xa4\x10\xdc\x7c\xb3\x93\x37\x82\xd6\x3f\xe4\x28\x07\xcf\x0f\xa7\xf5\xc9\xae\x0c\xd4\xd0\xa0\x29\x46\x92\xd3\x62\x9d\x98\x81\xda\xd5\x32\xb3\x4e\xfd\x70\x2d\x8e\xaf\x0a\xc2\x03\x78\xe6\x2b\x36\x46\x06\x56\xe0\xe8\x87\xc4\x49\x59\x55\x2c\x96\x20\xe9\xec\x3e\x73\xfe\xe5\xca\x0e\x5a\x6d\xd7\x67\xb7\xb7\xa9\x7a\xc4\xc7\x7e\x70\x9c\xe7\x85\x9f\x21\xf0\xbe\x66\xc9\xbe\x7f\x44\x5f\xb1\x5f\x7b\xf4\xc8\x12\x4a\x56\x7f\xbf\xe0\xd3\x79\xf0\x8c\xb1\xb8\x16\xf4\xc7\x20\xef\x5e\x3a\x6a\x08\x3b\x5b\xe0\x56\x94\xa0\xd3\xd3\xac\x78\x4f\xc4\x39\x9b\x1c\xcb\x74\x82\xca\x0a\x11\x82\x16\x64\x03\x56\x5a\x9f\x7d\x4b\x0b\x71\xcc\xcd\x20\xb9\x52\xae\xe3\xbe\x5c\x9a\xb1\x06\x63\xe0\x8a\xa4\x19\xc8\xde\xe9\x1e\x6f\x9b\xc5\x83\x77\xe9\x49\xd7\x25\x1a\x44\x5e\x1a\x7f\x87\x93\x3d\xbb\xac\x27\x03\xf5\xd1\x11\xde\x77\xb9\xdc\x5d\xe5\xa5\x3b\x90\xee\x18\xef\x9a\xb6\xa1\x54\xf3\xf2\x50\x0d\xf0\x41\x24\x64\x5a\x6f\x09\xed\xb8\x0c\x2f\xed\x4f\x30\xff\xc4\x65\x91\x76\xa6\xd3\x63\x3d\xb7\xc6\xc6\xc7\xac\xdc\x93\x32\xfb\xfc\x34\xf6\x35\x43\xf9\x9c\x3e\x72\x83\xab\x9a\x98\xe8\x07\x3e\x2c\x1a\x31\x58\x15\x89\x76\xf0\x6a\x52\x09\x75\xb2\xf5\x65\x93\x65\x21\xba\xbd\xd2\x7f\xce\x00\x6d\x30\xf5\xd7\x50\x53\x84\x7e\x61\x24\x94\x0f\x3e\xf6\x63\xe7\xe1\x2e\x20\x6e\x8d\xcc\xc2\x21\xa2\x38\x1a\x17\x62\xf3\xe6\xeb\xbd\x37\xeb\x7a\x54\x09\x49\x8e\x19\xee\xab\x8b\x75\xcf\xbd\x75\x22\xa3\xef\x45\xa2\x36\xad\x0b\x71\x29\x15\x4e\x44\x43\x6b\xd8\xb8\xda\x13\x23\x46\x9c\x15\x0c\xd4\x87\x74\x62\x47\xd0\x6f\x12\xae\x67\xfa\x30\xdc\x79\xf4\xdf\x5c\xc8\xc1\xf8\x6e\x8b\x35\x68\x9b\x5a\x2c\x32\xe5\x07\x77\xcf\x13\x2f\x14\xc4\xcd\x2f\xb8\xf3\x76\x0a\x66\xec\x72\x3e\x29\x62\x4f\x8a\x97\x49\x53\x35\x0c\xa8\x85\x32\x39\x94\x4e\x33\x72\x7d\x59\x65\xe1\x0c\x8d\xa5\xa8\xfc\xb4\x03\x3e\xa2\xf9\x6c\xad\x4d\x33\x52\x4d\x18\x18\x44\xb5\xa6\xa2\xa3\xa0\xc0\xa3\x57\x2e\x43\x54\xb5\xf0\xbb\x6c\x72\x7b\xcf\x02\xd3\x1f\x66\x74\x2b\xcd\x3e\x37\x67\xc7\x0b\x1f\xa6\x95\x81\x28\x96\xed\x05\x39\x34\xab\xee\x8d\xea\x4c\xa8\x24\x2b\x1f\xe1\x40\x97\x17\xdd\xca\x66\x76\xb3\x58\xe7\x93\x0d\xc9\x27\xf6\x88\xc2\x2e\x2a\xe6\x29\x6f\xf2\xed\x3c\x85\x19\xf3\xf8\xd4\x9c\x3a\x71\x83\xd4\xaa\x0d\xa4\xe3\xc7\xa6\x52\xd5\x39\xbf\xf9\xab\x19\x52\xaa\x13\xc0\x02\xa0\xa8\xe7\x12\x8b\x4e\x4a\xb4\x41\xfc\xc9\x05\xa0\xf2\x6f\x9f\x6b\x5f\xa3\x13\x60\xd5\xc2\x48\x45\xad\x87\x65\x77\xbb\x0e\x1f\xcf\xed\x31\x01\xae\xdf\x14\xa7\x3c\x0c\xe0\x3e\x36\x36\x0c\x01\xee\xe2\x73\x42\xc1\xfa\x46\xd7\x24\x74\xcd\x51\x9e\x57\x83\x7c\x25\x0c\xed\xf0\x9a\x31\xe4\x5d\xeb\x38\x35\x87\xc5\xae\xe4\xc3\x6f\xe2\xa8\xdf\x37\x24\x0d\xe3\x21\xa6\xa1\xc6\xfc\x65\x6b\x5e\x6b\x28\xff\xa2\x5f\x40\xa7\x23\xa5\xd1\x3c\xbe\x7b\x42\xb4\xf6\x2f\x60\xcc\xfb\xaa\x4f\xfe\xb0\x0c\xa3\xb6\xd9\x41\x19\xc0\x59\x4a\xa5\xe1\x1a\xf8\x05\x5b\x10\xd1\xa5\xa9\x90\x0b\xd2\x5b\x85\x0c\x99\x3c\x3b\xd9\xa9\x41\xbd\xed\x20\x9d\xc4\xc7\x4e\x94\x21\xb8\x4c\x81\xc6\x24\xdf\xff\xd1\x2f\x39\x7c\xc7\x91\x01\xda\x2a\xac\x93\x8a\x23\xaa\x49\x90\x8f\x3f\x1f\xf4\x1f\xc6\x0d\xba\x82\x40\xa0\x4f\x09\x41\x78\x4a\x22\x84\xaa\xeb\xdc\xc8\x14\x39\x10\xab\x01\x78\x0e\x46\x3d\xfb\x8b\xe3\x87\xb9\x93\x46\xfb\xf8\x67\x6e\x7f\x3e\x92\x42\x05\x02\xa9\x8e\xaa\x6d\x71\x0b\x06\x4f\x01\x6d\xce\x0d\x6d\xc4\x19\x56\xae\xa4\xfc\x9f\x30\x43\x94\xb3\x21\xc7\x81\x41\xad\x4c\x8d\x65\x27\xd7\xe9\x46\xcf\xf3\xfe\x06\xb2\x52\xae\x99\x28\x37\xf0\xa9\xb9\xbe\x2f\xb5\xd6\x35\x8e\x41\x9f\x9f\x30\xc4\x35\x89\x06\xa8\x26\x85\xfc\x73\x4d\x2d\x24\x97\xa1\x52\xcb\xe9\x65\xf7\xe3\x22\x0d\x43\x7a\x7e\x64\xe9\xd1\xce\xf4\x09\x2d\x0f\x8e\x73\x19\x10\xd0\x4e\x15\xdf\x20\x5b\x13\x09\x79\xe1\xb8\x71\x0f\xaa\x58\x04\x64\x2c\xec\xa6\x66\x7c\x9d\xfe\x37\x47\xee\x43\xcd\x73\x46\x62\x04\x47\x09\x87\xd0\xe7\x6a\xf2\x37\x21\x8c\xcb\x37\xbd\x77\xa3\x9a\x09\x91\x8e\x74\xaa\xf5\x97\xbd\x3f\xbd\x79\xbb\xa7\x35\xc5\xce\x6e\x81\xc5\x59\xc9\x86\xbb\xf6\x07\x55\x17\x0b\x30\x47\x4a\x9e\x7c\xaa\x5e\x83\xa4\x2f\x19\xf7\x9b\x18\x6e\xc3\xaf\x3b\xf1\x11\x2c\x00\xcf\x05\xbf\xf7\x2a\x0d\x16\x98\xa9\x4a\x87\x1c\x4e\x8a\x07\x97\xd4\xd7\xf3\xc3\xe7\xe2\xa2\x7c\xa7\xb9\x38\x6f\x16\xc0\x47\x33\x95\xfe\x85\xb2\x80\xf9\xab\xa2\xef\xda\xa0\x8b\xcc\x7f\x2f\x2c\x30\x1e\x16\x5d\x62\x6c\x83\x28\x5b\xdd\xf0\x52\xcb\xa1\x34\xdf\x3b\xbd\xd1\xe8\xf4\x64\x15\xbb\xb3\x91\xe0\x5b\x1e\x47\x5f\x34\x4c\x10\x12\xcc\xa9\xa7\x2f\xb1\x22\xc2\x5d\x7f\x85\xc9\x2a\x74\xfe\x73\x50\xa9\x09\xdf\xee\x05\xb8\xa8\x75\x57\xad\x0c\xbc\x59\x12\xdc\xbd\xf9\x37\x3a\x5e\x41\x3b\x83\x75\xdf\x15\xd4\xd8\xa0\x6f\x4c\xed\x12\x59\xa8\x16\x53\x89\xac\xc8\x97\xcf\xd0\x1c\x0d\xbe\xa2\x78\x14\x4d\x07\x94\x40\x08\x6f\x7f\xeb\xdc\xf7\xaa\x7e\xec\x02\x39\x93\xdf\x73\xd8\xd0\xd4\x61\x63\xad\xd8\x0a\x7c\x68\x67\x89\x33\x1c\x15\xaa\x22\xc8\xca\xfd\x5d\xf4\x0d\x45\x61\xf6\xf2\x47\x59\xeb\x3d\x6a\x97\xea\x01\xa3\xa3\x36\x8e\xa8\xb1\xcf\x6f\xff\x8b\xf5\x8a\xc2\x25\x52\x8d\x7a\x17\xd2\x1e\xdf\xa6\xea\xcf\xc5\xaa\xb6\xf7\x85\xa0\xb3\x00\x3a\xb6\xee\x0d\xe9\x42\x3c\xd3\x63\xb1\x4d\x03\xe1\x02\xf4\x45\xb2\x3c\x14\xa5\x36\xd7\xb2\x31\x24\x32\x88\xf2\x88\xda\x44\xf8\xa5\xe8\xbc\x1f\x13\xb8\xce\xc7\xcb\x6a\x2a\x56\x96\x36\x16\x3a\x09\x8b\x2f\x40\xf4\x5c\x43\x56\x4f\x1a\xa8\xb9\x16\x42\x6e\x77\x51\x09\x36\x20\x23\x63\xfe\x0d\xd7\x17\x45\x0c\xca\x9e\x8c\xbd\xe8\xdf\xfc\x9b\x9e\x24\xd8\xbd\x3c\xf1\x71\xe3\x6f\x05\xc0\x63\x34\x87\x31\x10\xb9\xc2\xd1\xa3\x02\x0b\x66\x0a\xac\xb1\x96\x82\xd7\x71\xe0\x2c\x4d\x80\xdb\xfc\xdd\x11\xed\xf7\x55\x3a\xba\xd4\xcd\x0c\xee\x0f\xc5\xe8\x1e\x94\xc4\x81\x0a\x2c\x49\x7f\x3d\x0f\xfa\x21\xbf\x7a\x31\xb6\xa8\x35\xda\xf1\xf6\x09\xe2\x3c\xd6\x4f\x81\xc1\x71\x6a\xf8\x5b\x92\x33\xb5\x47\xe6\x79\xc7\x27\x55\xe6\xcb\xb1\xcb\x40\x5d\x7a\x89\x7f\xca\xa8\xc8\x15\xbb\xd5\xa2\xae\xcc\x89\xd6\x99\x81\xf3\x49\xaf\x2f\x97\xed\xb5\xa6\xf4\x19\x7d\x20\xee\xc8\xd4\xb0\xf3\xc2\x37\x5b\x88\x39\xcf\x68\x58\xbb\xf1\x01\xee\x06\xae\xcb\x75\x16\xcc\x27\xd5\x9a\x8b\xdc\x9b\x5b\x20\x8a\xaa\x4b\x5c\x14\xa5\x25\x1d\x9d\x23\x23\x97\xdd\x8d\x0e\xb8\x85\x5d\x3a\xe0\x62\x5a\x25\x4f\xb8\x97\x79\xab\x00\xb3\xaf\x42\x74\x54\xc6\xbf\x5c\xff\x22\x5c\x2f\x77\xba\xc6\xe5\x99\x74\x04\xf0\x0a\x40\x79\xd2\x23\x7d\x19\xae\xc1\x30\xc0\x3a\x77\x1e\x12\x6c\xec\x4b\xc0\x66\x1c\x3f\x9f\xae\x36\x5d\x61\x77\x23\x02\x4e\xf8\x80\x2f\xc9\x4a\x85\xeb\xb8\x01\x44\xb1\x65\xf9\xd4\xbc\x2a\x1f\x87\xce\x04\x8e\xa5\x28\x58\xd6\x5d\xd3\x3b\x13\x20\xb6\x97\xed\x30\x29\x9b\x18\x48\x83\x5c\x61\x6b\x0a\x68\x7e\x88\x74\x83\x12\x70\x78\x43\x3d\xb9\x91\xd6\x62\xfa\x36\x74\x21\x44\x5b\xe0\x0a\xf4\xc0\x6a\x34\xe5\x54\xb3\xef\xa0\xf8\xcf\x99\xd2\xe1\x74\x0c\x3d\x23\xae\x57\xf9\x7e\x1d\x19\x77\x01\x03\xd7\xec\x6f\x17\xb0\x85\xee\x3e\xa9\x5e\xe6\xc7\x4c\x37\x53\x62\x8d\x0a\x97\xb4\x40\xd3\x8c\x13\x9f\xd8\x97\x4f\x04\x9e\x3b\x4a\x8e\x83\xda\xe7\xc6\x26\xd0\x13\x9f\x92\xc6\x9a\x92\x97\x52\x70\x45\x6c\xf7\x64\x0c\x4b\x0e\xa0\xc3\xf5\xf2\xbd\xff\xd9\xa0\xcc\xa3\xac\xad\xc2\xf2\x78\x9b\xd5\x91\x09\x05\x9f\xf4\x54\xbf\x74\x2d\xa9\x93\x3f\x66\xe0\x04\xda\x86\x6b\xe4\x62\xba\x3a\x2e\x42\xa2\x30\x24\x07\xe8\x22\x79\x1b\x78\x21\x64\xc7\x95\xb1\x71\x2a\x2c\x1d\x95\x7e\x37\x70\x3a\x32\x8a\xe1\x46\x28\x88\x4c\x76\xed\x83\xd0\x87\x10\xa6\x21\x2d\xd1\x3c\xc4\x66\xac\x8f\x4b\x8c\x65\xe8\xad\x64\x72\x61\xe4\x17\x86\xda\xc8\x15\xc4\x72\x99\xff\x9b\x57\x25\x79\xc2\xb5\xa2\x7a\xf3\x72\x35\x8c\x3f\x2b\xa4\xc1\x1f\x86\xca\xb0\x7c\x65\xca\x9f\x0f\x70\x35\x54\xb1\x62\xb7\x3c\x37\x06\xad\xd4\xf7\xe1\x0d\x95\xb8\x47\xca\x79\x8c\x09\x23\x61\xb4\x3e\x08\x65\x69\xd4\x02\xd5\x5f\x72\xca\x7a\xa7\x8e\xe9\x5d\x93\x43\xc3\x81\x19\x6b\xcf\x8f\x8c\xfb\x0b\x80\x5d\x41\x8d\x51\xcc\xab\x37\x7f\x64\x6b\x39\x34\xb4\xc6\x77\x3b\xa4\xcd\x97\x5a\x0f\x12\x08\x4a\x33\x7d\x43\x5d\x46\x11\x55\x06\x56\x34\x5f\x83\xcb\xa2\x64\xa9\x58\xf7\xac\x21\x8c\x63\x82\x1b\x22\xb8\xbd\x1a\xc3\x68\x4d\x6d\xcc\x3b\x71\xe4\x45\xd5\x70\x7b\x9a\x5a\x6b\xa9\xe7\xfc\x24\x05\xb2\x59\xa6\x53\x1e\x93\x7b\x8e\xa4\xac\x7f\x8f\xa8\xaa\xff\x40\xc5\x70\xfa\x5b\xd4\x88\xe2\x89\xb7\x3e\x0a\x05\xe9\x4c\xe0\xbb\xa7\xe4\xb2\xf2\xcd\x8b\x3a\x3f\xdf\x91\xeb\x5e\xa2\xb0\x04\xf9\x15\x00\xd8\x4b\xfd\x36\x19\x9f\x9a\xa9\xa0\xb3\xf6\x6a\xf8\x16\xf0\xb9\xb4\x62\xd7\x96\x02\xa1\x2e\x70\x5e\xc6\x2c\x00\xce\xcb\x61\x07\x0e\x09\xbb\x25\xd4\x90\x76\xbf\x75\x01\x1c\xe1\x9d\x4e\xa7\xff\x6e\xf6\xdd\xc4\xff\xfc\xc1\x34\xc8\x1b\xf5\xbd\xa4\x9f\x66\x61\x67\x92\xe3\xfb\xf0\x95\x3d\x9a\x0c\x25\xdc\x36\xb2\x45\x04\x6c\x01\xff\x8f\x98\x97\x53\x29\x62\x4f\x3c\x9e\xac\x95\x82\x36\xda\xa0\xaa\x02\x69\x96\x84\x0d\x48\xdc\x63\x3c\xeb\xb5\xef\x48\x4b\xa7\xcd\xf1\xb7\x6a\x27\xa8\x03\xc4\xea\x46\x4e\xb3\x0c\x55\x73\x14\x7b\xa7\x83\xf0\xe4\x28\x69\xbf\xa9\x97\x0b\x61\xd5\xed\x05\xb7\x90\xf6\xa9\x3b\xab\x2f\x93\x9e\xef\xc9\xef\xad\x86\x77\xe5\x9a\x03\x7e\x3a\xb2\x30\x3c\xe9\x7f\xfd\x53\xe3\xce\x33\x69\xba\x4c\x48\xec\xeb\x3a\xae\xdc\xb4\x08\x9a\x97\xeb\x59\xfc\x97\x88\x20\x47\x39\xd5\xe6\xdf\x7c\x8d\xc3\x26\x99\x4b\xdc\xd1\x80\x3c\xb4\xb5\x21\xff\x66\x47\xde\x95\x90\xdf\xcb\x2c\x57\x05\x10\xa6\x19\x11\x87\x03\xe8\x2e\x7e\x45\xa5\x4e\x28\x7a\x8c\x73\x4d\x02\x94\xa8\xb2\xcd\x07\xff\xa3\x2e\x40\x0e\xdc\xd5\xbb\xf8\x6b\x2d\xd2\xf0\x9c\x2b\x72\x01\x8b\x17\xe5\x4d\xeb\xad\x47\xb8\x39\xe9\x8c\xeb\xea\xd5\xce\x68\xa4\x39\xe5\xeb\x42\x79\x45\xdf\xdd\x16\x8a\xc7\x02\x6a\x5c\x9c\x33\xc6\xc3\xce\x0b\x98\xf8\x32\xd7\xad\x16\xae\xcd\xb0\x18\x91\x90\x4f\x60\x42\xa4\xc9\x8e\x5f\x41\x20\x9b\x44\x88\xe6\xc9\x9e\xf1\x16\xf4\x3c\x48\x9f\x51\xe3\x06\x47\x66\x42\x19\x4f\xe0\x53\x50\x77\xc9\x4f\xc8\x0c\x5a\xba\x2e\x26\xe6\x1c\x77\xb1\xfc\x5f\xe9\xda\xd4\x79\x68\xbb\x41\x14\xba\xa6\x14\xd2\x34\xe3\xb0\xbe\x0d\x5a\xbe\xc9\xe6\x0d\x72\xc6\x95\x6a\x79\x78\x09\xb5\x1e\x16\xb6\xf4\x90\x29\xd2\xf4\xb2\x26\x6d\x3a\x8b\x9b\x56\x70\x99\xb5\x56\xc2\x68\x5a\x00\xbd\x84\x23\x8a\x90\x80\xaa\x02\x2c\x35\x7a\xd6\xd4\x54\xbd\x75\x94\xa0\x29\xeb\x42\x84\xa9\x73\xb4\x8e\x63\x92\xf4\x25\xb7\x03\x01\xb8\xc5\x14\x77\x50\x04\x90\xb7\x65\xc6\xb7\x00\x15\xbd\xd9\x9f\x51\xc2\xd1\x99\x5d\x80\xba\x04\x50\x8d\x6e\x66\xeb\x56\x69\x5c\xcc\xf6\x3d\x50\xcc\x40\xb0\x2c\x80\xc3\x88\x6c\xe7\x5d\x8a\x02\xab\xbb\x71\x49\xda\xce\xd8\xff\x3e\x8d\xfc\x16\x9f\xb4\x60\x31\xc4\xc0\xf1\x90\x60\xda\xba\x08\xd3\x5d\x34\x02\xb2\x0c\xb0\x41\x7f\x14\xef\x18\x4f\x5f\x53\x1f\x46\x95\xba\x48\x32\xa8\xb6\x39\x1b\x13\xf3\xab\xcd\xd2\xc0\x5b\x51\x68\xc3\x0f\xe3\xcd\xe8\x67\x7f\xf7\x38\x83\x6a\xa8\x5b\x7e\xf9\x01\x48\xb2\x55\x6b\x79\x0b\xd9\xbd\xa3\xd1\x08\xea\x37\xb0\x3a\xcf\xd0\x9a\x54\x4a\x8e\x85\x84\x36\x43\xf3\x13\x68\xcf\xc2\x26\xa9\x30\xdc\x74\x96\xed\x4c\x99\x66\xe3\xde\x92\x63\x79\x33\xee\x7b\xfd\xf1\x2b\xbf\xba\xc0\x23\x4a\x74\xe2\x89\xbd\xb3\x7a\x52\x2b\xd0\x47\xa1\x00\x7a\x36\x87\xa2\x1b\xc9\xb0\xcf\xf8\x08\x74\x27\x7d\x82\x5b\xdb\xab\x84\x5c\x1a\xc5\x04\x60\x56\x3d\x08\xb1\xe0\x4a\x7f\x10\x86\xe6\x77\x93\x19\x88\xd5\xcd\x6f\x97\x47\x06\xd6\x4f\x63\xe8\x44\x91\xb3\x02\x88\x8f\x8b\x8f\x0f\x42\x99\x7f\x5e\xdd\x25\x10\xf2\x6a\x0b\x16\xd7\x03\x8b\xec\x87\x13\x09\x38\x9c\xab\x6f\x57\x61\xa2\xb9\xf0\x01\x11\xbc\x44\x41\xbb\xfa\xde\x0e\xca\x7c\xea\x5b\x0b\x8d\xac\xa7\x36\xe6\x15\x05\x03\xaa\xe8\x79\xf7\x2d\x10\x83\x61\xca\x31\xba\xfb\xf4\xe0\xc2\xe9\xeb\xd7\xaf\x57\x26\x5b\xb0\x4c\x38\x89\x23\xa0\x0b\x4c\x59\x08\x8a\x2f\x7b\x76\x7b\x14\xf3\x98\x2e\x64\x2e\x7b\x3d\xd9\x4d\xc6\xf4\xb6\xb0\x11\x3c\x9d\x49\xf8\x0a\x3e\x16\x9c\x10\x60\x89\x35\x39\xff\xc3\x23\x7d\x6e\xcc\xf4\x92\x0a\x9b\x50\xa8\x60\xee\xd1\x27\xa2\x2f\xfe", 4096); struct csum_inet csum_1; csum_inet_init(&csum_1); csum_inet_update(&csum_1, (const uint8_t*)0x1000001a, 16); csum_inet_update(&csum_1, (const uint8_t*)0x1000002a, 16); uint32_t csum_1_chunk_2 = 0x12100000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_2, 4); uint32_t csum_1_chunk_3 = 0x3a000000; csum_inet_update(&csum_1, (const uint8_t*)&csum_1_chunk_3, 4); csum_inet_update(&csum_1, (const uint8_t*)0x1000022a, 4114); *(uint16_t*)0x1000022c = csum_inet_digest(&csum_1); syz_emit_ethernet(0x123c, 0x10000000); break; case 11: memcpy((void*)0x10001240, "\xf2\x26\x33\x54\x5b\x41\xc4\xc2\xb1\xde\x3a\x0f\x4b\xbe\x11\x14\x00\x00\xc4\xc2\x31\xdc\x03\xc4\xc2\x4d\x96\x1c\x5f\x66\x0f\x38\x21\x47\x1e\xc4\xe1\x85\xd8\x71\x28\xc4\xc3\xc5\xcf\x8e\x0e\x08\x00\x00\xfe\xd1\x62\x00\xc4\xc2\x2d\x40\x11", 59); syz_execute_func(0x10001240); break; case 12: syz_extract_tcp_res(0x10001280, 0x26e, 1); break; } } int main(void) { syscall(SYS_mmap, 0x10000000, 0x1000000, 7, 0x1012, -1, 0); use_temporary_dir(); do_sandbox_none(); return 0; } :551:11: error: use of undeclared identifier 'SYS___realpathat' syscall(SYS___realpathat, (intptr_t)r[1], 0x100001c0, 0x10000200, 5, 0); ^ 1 error generated. compiler invocation: clang [-o /tmp/syz-executor229983320 -DGOOS_freebsd=1 -DGOARCH_386=1 -DHOSTGOOS_freebsd=1 -x c - -m32 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -static -lc++ -Wno-overflow] --- FAIL: TestGenerate/freebsd/386/5 (1.68s) csource_test.go:121: --- FAIL: TestGenerate/freebsd/386/3 (1.30s) csource_test.go:121: --- FAIL: TestGenerate/freebsd/386/2 (1.52s) csource_test.go:121: --- FAIL: TestGenerate/freebsd/386/1 (1.49s) csource_test.go:121: --- FAIL: TestGenerate/freebsd/386/6 (2.23s) csource_test.go:121: FAIL FAIL github.com/google/syzkaller/pkg/csource 13.665s ok github.com/google/syzkaller/pkg/db (cached) ok github.com/google/syzkaller/pkg/email (cached) ? github.com/google/syzkaller/pkg/gce [no test files] ? github.com/google/syzkaller/pkg/gcs [no test files] ? github.com/google/syzkaller/pkg/hash [no test files] ok github.com/google/syzkaller/pkg/host 1.619s ? github.com/google/syzkaller/pkg/html [no test files] ok github.com/google/syzkaller/pkg/ifuzz (cached) ? github.com/google/syzkaller/pkg/ifuzz/gen [no test files] ? github.com/google/syzkaller/pkg/ifuzz/generated [no test files] ok github.com/google/syzkaller/pkg/instance 2.359s ok github.com/google/syzkaller/pkg/ipc 4.096s ? github.com/google/syzkaller/pkg/ipc/ipcconfig [no test files] ? github.com/google/syzkaller/pkg/kcidb [no test files] ok github.com/google/syzkaller/pkg/kconfig (cached) ok github.com/google/syzkaller/pkg/kd (cached) ok github.com/google/syzkaller/pkg/log (cached) ok github.com/google/syzkaller/pkg/mgrconfig (cached) ok github.com/google/syzkaller/pkg/osutil (cached) ok github.com/google/syzkaller/pkg/report (cached) ok github.com/google/syzkaller/pkg/repro (cached) ? github.com/google/syzkaller/pkg/rpctype [no test files] ok github.com/google/syzkaller/pkg/runtest 60.166s ok github.com/google/syzkaller/pkg/serializer (cached) ? github.com/google/syzkaller/pkg/signal [no test files] ok github.com/google/syzkaller/pkg/symbolizer 0.376s ok github.com/google/syzkaller/pkg/vcs 7.352s ok github.com/google/syzkaller/prog (cached) ok github.com/google/syzkaller/prog/test (cached) ? github.com/google/syzkaller/sys [no test files] ? github.com/google/syzkaller/sys/akaros [no test files] ? github.com/google/syzkaller/sys/akaros/gen [no test files] ? github.com/google/syzkaller/sys/freebsd [no test files] ? github.com/google/syzkaller/sys/freebsd/gen [no test files] ? github.com/google/syzkaller/sys/fuchsia [no test files] ? github.com/google/syzkaller/sys/fuchsia/fidlgen [no test files] ? github.com/google/syzkaller/sys/fuchsia/gen [no test files] ? github.com/google/syzkaller/sys/fuchsia/layout [no test files] ok github.com/google/syzkaller/sys/linux (cached) ? github.com/google/syzkaller/sys/linux/gen [no test files] ? github.com/google/syzkaller/sys/netbsd [no test files] ? github.com/google/syzkaller/sys/netbsd/gen [no test files] ok github.com/google/syzkaller/sys/openbsd (cached) ? github.com/google/syzkaller/sys/openbsd/gen [no test files] ? github.com/google/syzkaller/sys/syz-extract [no test files] ? github.com/google/syzkaller/sys/syz-sysgen [no test files] ? github.com/google/syzkaller/sys/targets [no test files] ? github.com/google/syzkaller/sys/test [no test files] ? github.com/google/syzkaller/sys/test/gen [no test files] ? github.com/google/syzkaller/sys/trusty [no test files] ? github.com/google/syzkaller/sys/trusty/gen [no test files] ? github.com/google/syzkaller/sys/windows [no test files] ? github.com/google/syzkaller/sys/windows/gen [no test files] ok github.com/google/syzkaller/syz-ci (cached) ok github.com/google/syzkaller/syz-fuzzer (cached) ok github.com/google/syzkaller/syz-hub (cached) ok github.com/google/syzkaller/syz-hub/state (cached) ? github.com/google/syzkaller/syz-manager [no test files] ? github.com/google/syzkaller/tools/syz-benchcmp [no test files] ? github.com/google/syzkaller/tools/syz-bisect [no test files] ? github.com/google/syzkaller/tools/syz-check [no test files] ? github.com/google/syzkaller/tools/syz-cover [no test files] ? github.com/google/syzkaller/tools/syz-crush [no test files] ? github.com/google/syzkaller/tools/syz-db [no test files] ? github.com/google/syzkaller/tools/syz-execprog [no test files] ? github.com/google/syzkaller/tools/syz-expand [no test files] ? github.com/google/syzkaller/tools/syz-fmt [no test files] ? github.com/google/syzkaller/tools/syz-hubtool [no test files] ? github.com/google/syzkaller/tools/syz-kcidb [no test files] ? github.com/google/syzkaller/tools/syz-kconf [no test files] ok github.com/google/syzkaller/tools/syz-linter 2.851s ? github.com/google/syzkaller/tools/syz-make [no test files] ? github.com/google/syzkaller/tools/syz-minconfig [no test files] ? github.com/google/syzkaller/tools/syz-mutate [no test files] ? github.com/google/syzkaller/tools/syz-prog2c [no test files] ? github.com/google/syzkaller/tools/syz-reporter [no test files] ? github.com/google/syzkaller/tools/syz-repro [no test files] ? github.com/google/syzkaller/tools/syz-reprolist [no test files] ? github.com/google/syzkaller/tools/syz-runtest [no test files] ? github.com/google/syzkaller/tools/syz-showprio [no test files] ? github.com/google/syzkaller/tools/syz-stress [no test files] ? github.com/google/syzkaller/tools/syz-symbolize [no test files] ? github.com/google/syzkaller/tools/syz-testbuild [no test files] ? github.com/google/syzkaller/tools/syz-trace2syz [no test files] ok github.com/google/syzkaller/tools/syz-trace2syz/parser (cached) ok github.com/google/syzkaller/tools/syz-trace2syz/proggen (cached) ? github.com/google/syzkaller/tools/syz-tty [no test files] ? github.com/google/syzkaller/tools/syz-upgrade [no test files] ? github.com/google/syzkaller/tools/syz-usbgen [no test files] ok github.com/google/syzkaller/vm (cached) ? github.com/google/syzkaller/vm/adb [no test files] ? github.com/google/syzkaller/vm/bhyve [no test files] ? github.com/google/syzkaller/vm/gce [no test files] ? github.com/google/syzkaller/vm/gvisor [no test files] ok github.com/google/syzkaller/vm/isolated (cached) ? github.com/google/syzkaller/vm/kvm [no test files] ? github.com/google/syzkaller/vm/odroid [no test files] ? github.com/google/syzkaller/vm/qemu [no test files] ok github.com/google/syzkaller/vm/vmimpl (cached) ? github.com/google/syzkaller/vm/vmm [no test files] ? github.com/google/syzkaller/vm/vmware [no test files] FAIL