// https://syzkaller.appspot.com/bug?id=319d600149b51a6469bb9813513414e4a983e63e // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include long r[4]; void loop() { memset(r, -1, sizeof(r)); r[0] = syscall(__NR_socket, 0xa, 3, 0x3c); memcpy((void*)0x20038b58, "\x72\x61\x77\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00", 32); *(uint32_t*)0x20038b78 = 9; *(uint32_t*)0x20038b7c = 3; *(uint32_t*)0x20038b80 = 0x448; *(uint32_t*)0x20038b84 = 0; *(uint32_t*)0x20038b88 = -1; *(uint32_t*)0x20038b8c = -1; *(uint32_t*)0x20038b90 = 0; *(uint32_t*)0x20038b94 = -1; *(uint32_t*)0x20038b98 = 0x378; *(uint32_t*)0x20038b9c = -1; *(uint32_t*)0x20038ba0 = -1; *(uint32_t*)0x20038ba4 = 0x378; *(uint32_t*)0x20038ba8 = -1; *(uint32_t*)0x20038bac = 3; *(uint64_t*)0x20038bb0 = 0x20849fd0; *(uint8_t*)0x20038bb8 = 0; *(uint8_t*)0x20038bb9 = 0; *(uint8_t*)0x20038bba = 0; *(uint8_t*)0x20038bbb = 0; *(uint8_t*)0x20038bbc = 0; *(uint8_t*)0x20038bbd = 0; *(uint8_t*)0x20038bbe = 0; *(uint8_t*)0x20038bbf = 0; *(uint8_t*)0x20038bc0 = 0; *(uint8_t*)0x20038bc1 = 0; *(uint8_t*)0x20038bc2 = 0; *(uint8_t*)0x20038bc3 = 0; *(uint8_t*)0x20038bc4 = 0; *(uint8_t*)0x20038bc5 = 0; *(uint8_t*)0x20038bc6 = 0; *(uint8_t*)0x20038bc7 = 0; *(uint8_t*)0x20038bc8 = 0; *(uint8_t*)0x20038bc9 = 0; *(uint8_t*)0x20038bca = 0; *(uint8_t*)0x20038bcb = 0; *(uint8_t*)0x20038bcc = 0; *(uint8_t*)0x20038bcd = 0; *(uint8_t*)0x20038bce = 0; *(uint8_t*)0x20038bcf = 0; *(uint8_t*)0x20038bd0 = 0; *(uint8_t*)0x20038bd1 = 0; *(uint8_t*)0x20038bd2 = 0; *(uint8_t*)0x20038bd3 = 0; *(uint8_t*)0x20038bd4 = 0; *(uint8_t*)0x20038bd5 = 0; *(uint8_t*)0x20038bd6 = 0; *(uint8_t*)0x20038bd7 = 0; *(uint8_t*)0x20038bd8 = 0; *(uint8_t*)0x20038bd9 = 0; *(uint8_t*)0x20038bda = 0; *(uint8_t*)0x20038bdb = 0; *(uint8_t*)0x20038bdc = 0; *(uint8_t*)0x20038bdd = 0; *(uint8_t*)0x20038bde = 0; *(uint8_t*)0x20038bdf = 0; *(uint8_t*)0x20038be0 = 0; *(uint8_t*)0x20038be1 = 0; *(uint8_t*)0x20038be2 = 0; *(uint8_t*)0x20038be3 = 0; *(uint8_t*)0x20038be4 = 0; *(uint8_t*)0x20038be5 = 0; *(uint8_t*)0x20038be6 = 0; *(uint8_t*)0x20038be7 = 0; *(uint8_t*)0x20038be8 = 0; *(uint8_t*)0x20038be9 = 0; *(uint8_t*)0x20038bea = 0; *(uint8_t*)0x20038beb = 0; *(uint8_t*)0x20038bec = 0; *(uint8_t*)0x20038bed = 0; *(uint8_t*)0x20038bee = 0; *(uint8_t*)0x20038bef = 0; *(uint8_t*)0x20038bf0 = 0; *(uint8_t*)0x20038bf1 = 0; *(uint8_t*)0x20038bf2 = 0; *(uint8_t*)0x20038bf3 = 0; *(uint8_t*)0x20038bf4 = 0; *(uint8_t*)0x20038bf5 = 0; *(uint8_t*)0x20038bf6 = 0; *(uint8_t*)0x20038bf7 = 0; *(uint8_t*)0x20038bf8 = 0; *(uint8_t*)0x20038bf9 = 0; *(uint8_t*)0x20038bfa = 0; *(uint8_t*)0x20038bfb = 0; *(uint8_t*)0x20038bfc = 0; *(uint8_t*)0x20038bfd = 0; *(uint8_t*)0x20038bfe = 0; *(uint8_t*)0x20038bff = 0; *(uint8_t*)0x20038c00 = 0; *(uint8_t*)0x20038c01 = 0; *(uint8_t*)0x20038c02 = 0; *(uint8_t*)0x20038c03 = 0; *(uint8_t*)0x20038c04 = 0; *(uint8_t*)0x20038c05 = 0; *(uint8_t*)0x20038c06 = 0; *(uint8_t*)0x20038c07 = 0; *(uint8_t*)0x20038c08 = 0; *(uint8_t*)0x20038c09 = 0; *(uint8_t*)0x20038c0a = 0; *(uint8_t*)0x20038c0b = 0; *(uint8_t*)0x20038c0c = 0; *(uint8_t*)0x20038c0d = 0; *(uint8_t*)0x20038c0e = 0; *(uint8_t*)0x20038c0f = 0; *(uint8_t*)0x20038c10 = 0; *(uint8_t*)0x20038c11 = 0; *(uint8_t*)0x20038c12 = 0; *(uint8_t*)0x20038c13 = 0; *(uint8_t*)0x20038c14 = 0; *(uint8_t*)0x20038c15 = 0; *(uint8_t*)0x20038c16 = 0; *(uint8_t*)0x20038c17 = 0; *(uint8_t*)0x20038c18 = 0; *(uint8_t*)0x20038c19 = 0; *(uint8_t*)0x20038c1a = 0; *(uint8_t*)0x20038c1b = 0; *(uint8_t*)0x20038c1c = 0; *(uint8_t*)0x20038c1d = 0; *(uint8_t*)0x20038c1e = 0; *(uint8_t*)0x20038c1f = 0; *(uint8_t*)0x20038c20 = 0; *(uint8_t*)0x20038c21 = 0; *(uint8_t*)0x20038c22 = 0; *(uint8_t*)0x20038c23 = 0; *(uint8_t*)0x20038c24 = 0; *(uint8_t*)0x20038c25 = 0; *(uint8_t*)0x20038c26 = 0; *(uint8_t*)0x20038c27 = 0; *(uint8_t*)0x20038c28 = 0; *(uint8_t*)0x20038c29 = 0; *(uint8_t*)0x20038c2a = 0; *(uint8_t*)0x20038c2b = 0; *(uint8_t*)0x20038c2c = 0; *(uint8_t*)0x20038c2d = 0; *(uint8_t*)0x20038c2e = 0; *(uint8_t*)0x20038c2f = 0; *(uint8_t*)0x20038c30 = 0; *(uint8_t*)0x20038c31 = 0; *(uint8_t*)0x20038c32 = 0; *(uint8_t*)0x20038c33 = 0; *(uint8_t*)0x20038c34 = 0; *(uint8_t*)0x20038c35 = 0; *(uint8_t*)0x20038c36 = 0; *(uint8_t*)0x20038c37 = 0; *(uint8_t*)0x20038c38 = 0; *(uint8_t*)0x20038c39 = 0; *(uint8_t*)0x20038c3a = 0; *(uint8_t*)0x20038c3b = 0; *(uint8_t*)0x20038c3c = 0; *(uint8_t*)0x20038c3d = 0; *(uint8_t*)0x20038c3e = 0; *(uint8_t*)0x20038c3f = 0; *(uint32_t*)0x20038c40 = 0; *(uint16_t*)0x20038c44 = 0x200; *(uint16_t*)0x20038c46 = 0x268; *(uint32_t*)0x20038c48 = 0; *(uint64_t*)0x20038c50 = 0; *(uint64_t*)0x20038c58 = 0; *(uint16_t*)0x20038c60 = 0x158; memcpy((void*)0x20038c62, "\x68\x61\x73\x68\x6c\x69\x6d\x69\x74\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00", 29); *(uint8_t*)0x20038c7f = 3; memcpy((void*)0x20038c80, "\x73\x79\x7a\x6b\x61\x6c\x6c\x65\x72\x31\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 255); *(uint64_t*)0x20038d80 = 0x40; *(uint64_t*)0x20038d88 = 0; *(uint32_t*)0x20038d90 = 0x42; *(uint32_t*)0x20038d94 = 0; *(uint32_t*)0x20038d98 = 0; *(uint32_t*)0x20038d9c = 4; *(uint32_t*)0x20038da0 = 0x80000001; *(uint32_t*)0x20038da4 = 8; *(uint8_t*)0x20038da8 = 0; *(uint8_t*)0x20038da9 = 0; *(uint64_t*)0x20038db0 = 0; *(uint16_t*)0x20038db8 = 0x68; memcpy((void*)0x20038dba, "\x43\x54\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00", 29); *(uint8_t*)0x20038dd7 = 2; *(uint16_t*)0x20038dd8 = 0xf; *(uint16_t*)0x20038dda = 0; *(uint32_t*)0x20038ddc = 0; *(uint32_t*)0x20038de0 = 0; memcpy((void*)0x20038de4, "\x70\x70\x74\x70\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 16); memcpy((void*)0x20038df4, "\x73\x79\x7a\x31\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00", 32); *(uint64_t*)0x20038e18 = 0; *(uint8_t*)0x20038e20 = 0; *(uint8_t*)0x20038e21 = 0; *(uint8_t*)0x20038e22 = 0; *(uint8_t*)0x20038e23 = 0; *(uint8_t*)0x20038e24 = 0; *(uint8_t*)0x20038e25 = 0; *(uint8_t*)0x20038e26 = 0; *(uint8_t*)0x20038e27 = 0; *(uint8_t*)0x20038e28 = 0; *(uint8_t*)0x20038e29 = 0; *(uint8_t*)0x20038e2a = 0; *(uint8_t*)0x20038e2b = 0; *(uint8_t*)0x20038e2c = 0; *(uint8_t*)0x20038e2d = 0; *(uint8_t*)0x20038e2e = 0; *(uint8_t*)0x20038e2f = 0; *(uint8_t*)0x20038e30 = 0; *(uint8_t*)0x20038e31 = 0; *(uint8_t*)0x20038e32 = 0; *(uint8_t*)0x20038e33 = 0; *(uint8_t*)0x20038e34 = 0; *(uint8_t*)0x20038e35 = 0; *(uint8_t*)0x20038e36 = 0; *(uint8_t*)0x20038e37 = 0; *(uint8_t*)0x20038e38 = 0; *(uint8_t*)0x20038e39 = 0; *(uint8_t*)0x20038e3a = 0; *(uint8_t*)0x20038e3b = 0; *(uint8_t*)0x20038e3c = 0; *(uint8_t*)0x20038e3d = 0; *(uint8_t*)0x20038e3e = 0; *(uint8_t*)0x20038e3f = 0; *(uint8_t*)0x20038e40 = 0; *(uint8_t*)0x20038e41 = 0; *(uint8_t*)0x20038e42 = 0; *(uint8_t*)0x20038e43 = 0; *(uint8_t*)0x20038e44 = 0; *(uint8_t*)0x20038e45 = 0; *(uint8_t*)0x20038e46 = 0; *(uint8_t*)0x20038e47 = 0; *(uint8_t*)0x20038e48 = 0; *(uint8_t*)0x20038e49 = 0; *(uint8_t*)0x20038e4a = 0; *(uint8_t*)0x20038e4b = 0; *(uint8_t*)0x20038e4c = 0; *(uint8_t*)0x20038e4d = 0; *(uint8_t*)0x20038e4e = 0; *(uint8_t*)0x20038e4f = 0; *(uint8_t*)0x20038e50 = 0; *(uint8_t*)0x20038e51 = 0; *(uint8_t*)0x20038e52 = 0; *(uint8_t*)0x20038e53 = 0; *(uint8_t*)0x20038e54 = 0; *(uint8_t*)0x20038e55 = 0; *(uint8_t*)0x20038e56 = 0; *(uint8_t*)0x20038e57 = 0; *(uint8_t*)0x20038e58 = 0; *(uint8_t*)0x20038e59 = 0; *(uint8_t*)0x20038e5a = 0; *(uint8_t*)0x20038e5b = 0; *(uint8_t*)0x20038e5c = 0; *(uint8_t*)0x20038e5d = 0; *(uint8_t*)0x20038e5e = 0; *(uint8_t*)0x20038e5f = 0; *(uint8_t*)0x20038e60 = 0; *(uint8_t*)0x20038e61 = 0; *(uint8_t*)0x20038e62 = 0; *(uint8_t*)0x20038e63 = 0; *(uint8_t*)0x20038e64 = 0; *(uint8_t*)0x20038e65 = 0; *(uint8_t*)0x20038e66 = 0; *(uint8_t*)0x20038e67 = 0; *(uint8_t*)0x20038e68 = 0; *(uint8_t*)0x20038e69 = 0; *(uint8_t*)0x20038e6a = 0; *(uint8_t*)0x20038e6b = 0; *(uint8_t*)0x20038e6c = 0; *(uint8_t*)0x20038e6d = 0; *(uint8_t*)0x20038e6e = 0; *(uint8_t*)0x20038e6f = 0; *(uint8_t*)0x20038e70 = 0; *(uint8_t*)0x20038e71 = 0; *(uint8_t*)0x20038e72 = 0; *(uint8_t*)0x20038e73 = 0; *(uint8_t*)0x20038e74 = 0; *(uint8_t*)0x20038e75 = 0; *(uint8_t*)0x20038e76 = 0; *(uint8_t*)0x20038e77 = 0; *(uint8_t*)0x20038e78 = 0; *(uint8_t*)0x20038e79 = 0; *(uint8_t*)0x20038e7a = 0; *(uint8_t*)0x20038e7b = 0; *(uint8_t*)0x20038e7c = 0; *(uint8_t*)0x20038e7d = 0; *(uint8_t*)0x20038e7e = 0; *(uint8_t*)0x20038e7f = 0; *(uint8_t*)0x20038e80 = 0; *(uint8_t*)0x20038e81 = 0; *(uint8_t*)0x20038e82 = 0; *(uint8_t*)0x20038e83 = 0; *(uint8_t*)0x20038e84 = 0; *(uint8_t*)0x20038e85 = 0; *(uint8_t*)0x20038e86 = 0; *(uint8_t*)0x20038e87 = 0; *(uint8_t*)0x20038e88 = 0; *(uint8_t*)0x20038e89 = 0; *(uint8_t*)0x20038e8a = 0; *(uint8_t*)0x20038e8b = 0; *(uint8_t*)0x20038e8c = 0; *(uint8_t*)0x20038e8d = 0; *(uint8_t*)0x20038e8e = 0; *(uint8_t*)0x20038e8f = 0; *(uint8_t*)0x20038e90 = 0; *(uint8_t*)0x20038e91 = 0; *(uint8_t*)0x20038e92 = 0; *(uint8_t*)0x20038e93 = 0; *(uint8_t*)0x20038e94 = 0; *(uint8_t*)0x20038e95 = 0; *(uint8_t*)0x20038e96 = 0; *(uint8_t*)0x20038e97 = 0; *(uint8_t*)0x20038e98 = 0; *(uint8_t*)0x20038e99 = 0; *(uint8_t*)0x20038e9a = 0; *(uint8_t*)0x20038e9b = 0; *(uint8_t*)0x20038e9c = 0; *(uint8_t*)0x20038e9d = 0; *(uint8_t*)0x20038e9e = 0; *(uint8_t*)0x20038e9f = 0; *(uint8_t*)0x20038ea0 = 0; *(uint8_t*)0x20038ea1 = 0; *(uint8_t*)0x20038ea2 = 0; *(uint8_t*)0x20038ea3 = 0; *(uint8_t*)0x20038ea4 = 0; *(uint8_t*)0x20038ea5 = 0; *(uint8_t*)0x20038ea6 = 0; *(uint8_t*)0x20038ea7 = 0; *(uint32_t*)0x20038ea8 = 0; *(uint16_t*)0x20038eac = 0xa8; *(uint16_t*)0x20038eae = 0x110; *(uint32_t*)0x20038eb0 = 0; *(uint64_t*)0x20038eb8 = 0; *(uint64_t*)0x20038ec0 = 0; *(uint16_t*)0x20038ec8 = 0x68; memcpy((void*)0x20038eca, "\x43\x54\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00", 29); *(uint8_t*)0x20038ee7 = 2; *(uint16_t*)0x20038ee8 = 0x11; *(uint16_t*)0x20038eea = 0; *(uint32_t*)0x20038eec = 0; *(uint32_t*)0x20038ef0 = 0; memcpy((void*)0x20038ef4, "\x6e\x65\x74\x62\x69\x6f\x73\x2d\x6e\x73\x00\x00\x00\x00\x00\x00", 16); memcpy((void*)0x20038f04, "\x73\x79\x7a\x31\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00", 32); *(uint64_t*)0x20038f28 = 0; *(uint8_t*)0x20038f30 = 0; *(uint8_t*)0x20038f31 = 0; *(uint8_t*)0x20038f32 = 0; *(uint8_t*)0x20038f33 = 0; *(uint8_t*)0x20038f34 = 0; *(uint8_t*)0x20038f35 = 0; *(uint8_t*)0x20038f36 = 0; *(uint8_t*)0x20038f37 = 0; *(uint8_t*)0x20038f38 = 0; *(uint8_t*)0x20038f39 = 0; *(uint8_t*)0x20038f3a = 0; *(uint8_t*)0x20038f3b = 0; *(uint8_t*)0x20038f3c = 0; *(uint8_t*)0x20038f3d = 0; *(uint8_t*)0x20038f3e = 0; *(uint8_t*)0x20038f3f = 0; *(uint8_t*)0x20038f40 = 0; *(uint8_t*)0x20038f41 = 0; *(uint8_t*)0x20038f42 = 0; *(uint8_t*)0x20038f43 = 0; *(uint8_t*)0x20038f44 = 0; *(uint8_t*)0x20038f45 = 0; *(uint8_t*)0x20038f46 = 0; *(uint8_t*)0x20038f47 = 0; *(uint8_t*)0x20038f48 = 0; *(uint8_t*)0x20038f49 = 0; *(uint8_t*)0x20038f4a = 0; *(uint8_t*)0x20038f4b = 0; *(uint8_t*)0x20038f4c = 0; *(uint8_t*)0x20038f4d = 0; *(uint8_t*)0x20038f4e = 0; *(uint8_t*)0x20038f4f = 0; *(uint8_t*)0x20038f50 = 0; *(uint8_t*)0x20038f51 = 0; *(uint8_t*)0x20038f52 = 0; *(uint8_t*)0x20038f53 = 0; *(uint8_t*)0x20038f54 = 0; *(uint8_t*)0x20038f55 = 0; *(uint8_t*)0x20038f56 = 0; *(uint8_t*)0x20038f57 = 0; *(uint8_t*)0x20038f58 = 0; *(uint8_t*)0x20038f59 = 0; *(uint8_t*)0x20038f5a = 0; *(uint8_t*)0x20038f5b = 0; *(uint8_t*)0x20038f5c = 0; *(uint8_t*)0x20038f5d = 0; *(uint8_t*)0x20038f5e = 0; *(uint8_t*)0x20038f5f = 0; *(uint8_t*)0x20038f60 = 0; *(uint8_t*)0x20038f61 = 0; *(uint8_t*)0x20038f62 = 0; *(uint8_t*)0x20038f63 = 0; *(uint8_t*)0x20038f64 = 0; *(uint8_t*)0x20038f65 = 0; *(uint8_t*)0x20038f66 = 0; *(uint8_t*)0x20038f67 = 0; *(uint8_t*)0x20038f68 = 0; *(uint8_t*)0x20038f69 = 0; *(uint8_t*)0x20038f6a = 0; *(uint8_t*)0x20038f6b = 0; *(uint8_t*)0x20038f6c = 0; *(uint8_t*)0x20038f6d = 0; *(uint8_t*)0x20038f6e = 0; *(uint8_t*)0x20038f6f = 0; *(uint8_t*)0x20038f70 = 0; *(uint8_t*)0x20038f71 = 0; *(uint8_t*)0x20038f72 = 0; *(uint8_t*)0x20038f73 = 0; *(uint8_t*)0x20038f74 = 0; *(uint8_t*)0x20038f75 = 0; *(uint8_t*)0x20038f76 = 0; *(uint8_t*)0x20038f77 = 0; *(uint8_t*)0x20038f78 = 0; *(uint8_t*)0x20038f79 = 0; *(uint8_t*)0x20038f7a = 0; *(uint8_t*)0x20038f7b = 0; *(uint8_t*)0x20038f7c = 0; *(uint8_t*)0x20038f7d = 0; *(uint8_t*)0x20038f7e = 0; *(uint8_t*)0x20038f7f = 0; *(uint8_t*)0x20038f80 = 0; *(uint8_t*)0x20038f81 = 0; *(uint8_t*)0x20038f82 = 0; *(uint8_t*)0x20038f83 = 0; *(uint8_t*)0x20038f84 = 0; *(uint8_t*)0x20038f85 = 0; *(uint8_t*)0x20038f86 = 0; *(uint8_t*)0x20038f87 = 0; *(uint8_t*)0x20038f88 = 0; *(uint8_t*)0x20038f89 = 0; *(uint8_t*)0x20038f8a = 0; *(uint8_t*)0x20038f8b = 0; *(uint8_t*)0x20038f8c = 0; *(uint8_t*)0x20038f8d = 0; *(uint8_t*)0x20038f8e = 0; *(uint8_t*)0x20038f8f = 0; *(uint8_t*)0x20038f90 = 0; *(uint8_t*)0x20038f91 = 0; *(uint8_t*)0x20038f92 = 0; *(uint8_t*)0x20038f93 = 0; *(uint8_t*)0x20038f94 = 0; *(uint8_t*)0x20038f95 = 0; *(uint8_t*)0x20038f96 = 0; *(uint8_t*)0x20038f97 = 0; *(uint8_t*)0x20038f98 = 0; *(uint8_t*)0x20038f99 = 0; *(uint8_t*)0x20038f9a = 0; *(uint8_t*)0x20038f9b = 0; *(uint8_t*)0x20038f9c = 0; *(uint8_t*)0x20038f9d = 0; *(uint8_t*)0x20038f9e = 0; *(uint8_t*)0x20038f9f = 0; *(uint8_t*)0x20038fa0 = 0; *(uint8_t*)0x20038fa1 = 0; *(uint8_t*)0x20038fa2 = 0; *(uint8_t*)0x20038fa3 = 0; *(uint8_t*)0x20038fa4 = 0; *(uint8_t*)0x20038fa5 = 0; *(uint8_t*)0x20038fa6 = 0; *(uint8_t*)0x20038fa7 = 0; *(uint8_t*)0x20038fa8 = 0; *(uint8_t*)0x20038fa9 = 0; *(uint8_t*)0x20038faa = 0; *(uint8_t*)0x20038fab = 0; *(uint8_t*)0x20038fac = 0; *(uint8_t*)0x20038fad = 0; *(uint8_t*)0x20038fae = 0; *(uint8_t*)0x20038faf = 0; *(uint8_t*)0x20038fb0 = 0; *(uint8_t*)0x20038fb1 = 0; *(uint8_t*)0x20038fb2 = 0; *(uint8_t*)0x20038fb3 = 0; *(uint8_t*)0x20038fb4 = 0; *(uint8_t*)0x20038fb5 = 0; *(uint8_t*)0x20038fb6 = 0; *(uint8_t*)0x20038fb7 = 0; *(uint32_t*)0x20038fb8 = 0; *(uint16_t*)0x20038fbc = 0xa8; *(uint16_t*)0x20038fbe = 0xd0; *(uint32_t*)0x20038fc0 = 0; *(uint64_t*)0x20038fc8 = 0; *(uint64_t*)0x20038fd0 = 0; *(uint16_t*)0x20038fd8 = 0x28; memcpy((void*)0x20038fda, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00", 29); *(uint8_t*)0x20038ff7 = 0; *(uint32_t*)0x20038ff8 = 0xfffffffe; syscall(__NR_setsockopt, r[0], 0x29, 0x40, 0x20038b58, 0x4a8); r[1] = syscall(__NR_socket, 0xa, 1, 0); *(uint16_t*)0x2053b000 = 0xa; *(uint16_t*)0x2053b002 = 0; *(uint32_t*)0x2053b004 = 0; *(uint8_t*)0x2053b008 = 0; *(uint8_t*)0x2053b009 = 0; *(uint8_t*)0x2053b00a = 0; *(uint8_t*)0x2053b00b = 0; *(uint8_t*)0x2053b00c = 0; *(uint8_t*)0x2053b00d = 0; *(uint8_t*)0x2053b00e = 0; *(uint8_t*)0x2053b00f = 0; *(uint8_t*)0x2053b010 = 0; *(uint8_t*)0x2053b011 = 0; *(uint8_t*)0x2053b012 = 0; *(uint8_t*)0x2053b013 = 0; *(uint8_t*)0x2053b014 = 0; *(uint8_t*)0x2053b015 = 0; *(uint8_t*)0x2053b016 = 0; *(uint8_t*)0x2053b017 = 0; *(uint32_t*)0x2053b018 = 0; syscall(__NR_connect, r[1], 0x2053b000, 0x1c); r[2] = syscall(__NR_socket, 0x10, 3, 0); memcpy((void*)0x2048cfd8, "\x6c\x6f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 16); *(uint32_t*)0x2048cfe8 = 0; *(uint8_t*)0x2048cfec = 0; *(uint8_t*)0x2048cfed = 0; *(uint8_t*)0x2048cfee = 0; *(uint8_t*)0x2048cfef = 0; *(uint8_t*)0x2048cff0 = 0; *(uint8_t*)0x2048cff1 = 0; *(uint8_t*)0x2048cff2 = 0; *(uint8_t*)0x2048cff3 = 0; *(uint8_t*)0x2048cff4 = 0; *(uint8_t*)0x2048cff5 = 0; *(uint8_t*)0x2048cff6 = 0; *(uint8_t*)0x2048cff7 = 0; *(uint8_t*)0x2048cff8 = 0; *(uint8_t*)0x2048cff9 = 0; *(uint8_t*)0x2048cffa = 0; *(uint8_t*)0x2048cffb = 0; *(uint8_t*)0x2048cffc = 0; *(uint8_t*)0x2048cffd = 0; *(uint8_t*)0x2048cffe = 0; *(uint8_t*)0x2048cfff = 0; if (syscall(__NR_ioctl, r[2], 0x8933, 0x2048cfd8) != -1) r[3] = *(uint32_t*)0x2048cfe8; *(uint64_t*)0x20873000 = 0x20e1eff4; *(uint16_t*)0x20e1eff4 = 0x10; *(uint16_t*)0x20e1eff6 = 0; *(uint32_t*)0x20e1eff8 = 0; *(uint32_t*)0x20e1effc = 0; *(uint32_t*)0x20873008 = 0xc; *(uint64_t*)0x20873010 = 0x200a6000; *(uint64_t*)0x200a6000 = 0x205da000; *(uint32_t*)0x205da000 = 0x40; *(uint16_t*)0x205da004 = 0x14; *(uint16_t*)0x205da006 = 0x101; *(uint32_t*)0x205da008 = 0; *(uint32_t*)0x205da00c = 0; *(uint8_t*)0x205da010 = 0xa; *(uint8_t*)0x205da011 = 0; *(uint8_t*)0x205da012 = 0; *(uint8_t*)0x205da013 = 0; *(uint32_t*)0x205da014 = r[3]; *(uint16_t*)0x205da018 = 0x14; *(uint16_t*)0x205da01a = 2; *(uint64_t*)0x205da01c = htobe64(0); *(uint64_t*)0x205da024 = htobe64(1); *(uint16_t*)0x205da02c = 0x14; *(uint16_t*)0x205da02e = 6; *(uint32_t*)0x205da030 = 0; *(uint32_t*)0x205da034 = 1; *(uint32_t*)0x205da038 = 0; *(uint32_t*)0x205da03c = 0; *(uint64_t*)0x200a6008 = 0x40; *(uint64_t*)0x20873018 = 1; *(uint64_t*)0x20873020 = 0; *(uint64_t*)0x20873028 = 0; *(uint32_t*)0x20873030 = 0; syscall(__NR_sendmsg, r[2], 0x20873000, 0); } int main() { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); loop(); return 0; }