text
stringlengths
4
256k
label
stringclasses
104 values
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t puts(char const* str): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSPL|$L%"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 push(rax) 0x116b 7 r15 = rsp + 4 {var_38+0x4} 0x1170 8 r12 = 0x2007 {"%c"} 0x1177 9 r13 = rsp + 3 {var_38+0x3} 0x117c 10 ebp = 0 0x117e 11 ebx = 0 0x117e 12 goto 13 @ 0x1180 0x1180 13 r14d = ebp 0x1183 14 rdi = 0x2004 {"%d"} 0x118a 15 rsi = r15 {var_38+0x4} 0x118d 16 eax = 0 0x118f 17 call(0x1040) 0x1194 18 eax = [rsp + 4 {var_38+0x4}].d 0x1198 19 cond:0 = ebp s< eax 0x119a 20 if (ebp s< eax) then 21 else 23 @ 0x119d 0x119a 21 ebp = eax 0x119a 22 goto 23 @ 0x119d 0x119d 23 ecx = ebx 0x119f 24 if (cond:0) then 25 else 27 @ 0x11a3 0x119f 25 ecx = r14d 0x119f 26 goto 27 @ 0x11a3 0x11a3 27 cond:1 = eax s> ecx 0x11a5 28 ebx = ecx 0x11a7 29 if (cond:1) then 30 else 32 @ 0x11ad 0x11a7 30 ebx = eax 0x11a7 31 goto 32 @ 0x11ad 0x11ad 32 if (eax s>= r14d) then 33 else 35 @ 0x11b0 0x11ad 33 ebx = ecx 0x11ad 34 goto 35 @ 0x11b0 0x11b0 35 rdi = r12 0x11b3 36 rsi = r13 {var_38+0x3} 0x11b6 37 eax = 0 0x11b8 38 call(0x1040) 0x11c2 39 if ([rsp + 3 {var_38+0x3}].b == 0x2c) then 13 @ 0x1180 else 40 @ 0x11c6 0x11c6 40 if (ebx s>= ebp) then 41 @ 0x11e0 else 42 @ 0x11ca 0x11e0 41 if (ebx == ebp) then 43 @ 0x11e6 else 46 @ 0x11e4 0x11ca 42 if (ebx == 0) then 41 @ 0x11e0 else 47 @ 0x11cc 0x11e6 43 rdi = 0x200e {"No"} 0x11ed 44 call(0x1050) 0x11ed 45 goto 52 @ 0x11f2 0x11e4 46 if (ebx != 0) then 52 @ 0x11f2 else 43 @ 0x11e6 0x11cc 47 rdi = 0x200a {"%d\n"} 0x11d3 48 esi = ebx 0x11d5 49 eax = 0 0x11d7 50 call(0x1030) 0x11dc 51 goto 52 @ 0x11f2 0x11f2 52 eax = 0 0x11f4 53 rsp = rsp + 8 0x11f8 54 rbx = pop 0x11f9 55 r12 = pop 0x11fb 56 r13 = pop 0x11fd 57 r14 = pop 0x11ff 58 r15 = pop 0x1201 59 rbp = pop 0x1202 60 <return> jump(pop) int64_t _fini(): 0x1208 0 rsp = rsp - 8 0x120c 1 rsp = rsp + 8 0x1210 2 <return> jump(pop)
POJ_22
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHAWAVAUATSHH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 push(r15) 0x1166 3 push(r14) 0x1168 4 push(r13) 0x116a 5 push(r12) 0x116c 6 push(rbx) 0x116d 7 rsp = rsp - 0x18 0x1171 8 rdi = 0x2043 {"%d"} 0x1178 9 r14d = 0 0x117b 10 rsi = rbp - 0x2c {var_34} 0x117f 11 eax = 0 0x1181 12 call(0x1040) 0x1186 13 r15 = rsp {var_48} 0x1189 14 eax = [rbp - 0x2c {var_34}].d 0x118c 15 r13 = rsp {var_48} 0x118f 16 rax = (rax << 2) + 0xf 0x1197 17 rax = rax & 0xfffffffffffffff0 0x119b 18 r13 = r13 - rax 0x119e 19 rsp = r13 0x11a1 20 eax = [rbp - 0x2c {var_34}].d 0x11a4 21 rdx = rsp 0x11a7 22 rcx = (rax << 2) + 0xf 0x11af 23 rcx = rcx & 0xfffffffffffffff0 0x11b3 24 rdx = rdx - rcx 0x11b6 25 rsp = rdx 0x11b9 26 ebx = 0 0x11c0 27 if (eax s<= 0) then 28 @ 0x12d4 else 32 @ 0x11c6 0x12d4 28 rdi = 0x2046 {"Tie"} 0x12db 29 eax = 0 0x12dd 30 call(0x1030) 0x12e5 31 if (ebx s<= r14d) then 39 @ 0x12ab else 40 @ 0x12e7 0x11c6 32 [rbp - 0x38 {var_40_1}].q = r15 {var_48} 0x11ca 33 r14 = 0x2040 {"%d %d"} 0x11d1 34 r15 = r13 0x11d4 35 [rbp - 0x40 {var_48}].q = rdx 0x11d8 36 rbx = rdx 0x11db 37 r12d = 0 0x11de 38 goto 43 @ 0x11e0 0x12ab 39 if (ebx s>= r14d) then 53 @ 0x12b7 else 63 @ 0x12ad 0x12e7 40 edi = 0x41 {""} 0x12ec 41 call(0x1050) 0x12f4 42 if (ebx s< r14d) then 63 @ 0x12ad else 66 @ 0x12f6 0x11e0 43 rdi = r14 0x11e3 44 rsi = r15 0x11e6 45 rdx = rbx 0x11e9 46 eax = 0 0x11eb 47 call(0x1040) 0x11f0 48 r12 = r12 + 1 0x11f4 49 rax = sx.q([rbp - 0x2c {var_34}].d) 0x11f8 50 rbx = rbx + 4 0x11fc 51 r15 = r15 + 4 0x1203 52 if (r12 s< rax) then 43 @ 0x11e0 else 67 @ 0x1205 0x12b7 53 rsp = r15 0x12ba 54 eax = 0 0x12bc 55 rsp = rbp - 0x28 0x12c0 56 rbx = pop 0x12c1 57 r12 = pop 0x12c3 58 r13 = pop 0x12c5 59 r14 = pop 0x12c7 60 r15 = pop 0x12c9 61 rbp = pop 0x12ca 62 <return> jump(pop) 0x12ad 63 edi = 0x42 {""} 0x12b2 64 call(0x1050) 0x12b2 65 goto 53 @ 0x12b7 0x12f6 66 goto 53 @ 0x12b7 0x1205 67 eax = eax 0x1209 68 if (eax s<= 0) then 69 @ 0x12cb else 73 @ 0x120f 0x12cb 69 r14d = 0 0x12ce 70 ebx = 0 0x12d0 71 r15 = [rbp - 0x38 {var_40_1}].q {var_48} 0x12d0 72 goto 28 @ 0x12d4 0x120f 73 xmm0 = 0 0x1213 74 ecx = 0 0x1215 75 xmm1 = [0x2010].o 0x121d 76 xmm2 = [0x2020].o 0x1225 77 xmm3 = [0x2030].o 0x122d 78 r15 = [rbp - 0x38 {var_40}].q {var_48} 0x1231 79 rsi = [rbp - 0x40 {var_48}].q 0x1235 80 goto 81 @ 0x125b 0x125b 81 edx = [r13 + (rcx << 2)].d 0x1263 82 if (edx == 2) then 83 @ 0x1240 else 87 @ 0x1268 0x1240 83 xmm4 = [rsi + (rcx << 2)].d 0x1245 84 xmm4 = _mm_shuffle_epi32(xmm4, 0x50) 0x124a 85 xmm4 = _mm_cmpeq_epi32(xmm4, xmm1) 0x124a 86 goto 88 @ 0x124e 0x1268 87 if (edx == 1) then 90 @ 0x1280 else 94 @ 0x126c 0x124e 88 xmm0 = _mm_sub_epi32(xmm0, xmm4) 0x124e 89 goto 95 @ 0x1252 0x1280 90 xmm4 = [rsi + (rcx << 2)].d 0x1285 91 xmm4 = _mm_shuffle_epi32(xmm4, 0x50) 0x128a 92 xmm4 = _mm_cmpeq_epi32(xmm4, xmm2) 0x128e 93 goto 88 @ 0x124e 0x126c 94 if (edx != 0) then 95 @ 0x1252 else 97 @ 0x126e 0x1252 95 rcx = rcx + 1 0x1259 96 if (rax == rcx) then 101 @ 0x1290 else 81 @ 0x125b 0x126e 97 xmm4 = [rsi + (rcx << 2)].d 0x1273 98 xmm4 = _mm_shuffle_epi32(xmm4, 0x50) 0x1278 99 xmm4 = _mm_cmpeq_epi32(xmm4, xmm3) 0x127c 100 goto 88 @ 0x124e 0x1290 101 ebx = xmm0.d 0x1294 102 xmm0 = _mm_shuffle_epi32(xmm0, 0x55) 0x1299 103 r14d = xmm0.d 0x12a1 104 if (ebx == r14d) then 28 @ 0x12d4 else 105 @ 0x12a6 0x12a6 105 if (ebx s> r14d) then 40 @ 0x12e7 else 39 @ 0x12ab int64_t _fini(): 0x12fc 0 rsp = rsp - 8 0x1300 1 rsp = rsp + 8 0x1304 2 <return> jump(pop)
POJ_65
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r12) 0x1167 4 push(rbx) 0x1168 5 rsp = rsp - 0x390 0x116f 6 rdi = 0x2004 {"%s"} 0x1176 7 rbx = rsp {var_3b8} 0x1179 8 rsi = rbx {var_3b8} 0x117c 9 eax = 0 0x117e 10 call(0x1050) 0x1183 11 rdi = rbx {var_3b8} 0x1186 12 call(0x1040) 0x118b 13 rbx = rax 0x1190 14 if (ebx s<= 0) then 15 @ 0x11b7 else 18 @ 0x1192 0x11b7 15 eax = [rsp + 0x200 {var_1b8}].d 0x11be 16 [rsp + 0x70 {var_348}].d = eax 0x11c5 17 if (ebx == 1) then 21 @ 0x11db else 26 @ 0x11ca 0x1192 18 eax = ebx 0x1194 19 ecx = 0 0x1196 20 goto 27 @ 0x11a0 0x11db 21 rdi = 0x2008 {"%d"} 0x11e2 22 esi = 0 0x11e4 23 eax = 0 0x11e6 24 call(0x1030) 0x11e6 25 goto 32 @ 0x11eb 0x11ca 26 if (ebx != 2) then 32 @ 0x11eb else 34 @ 0x11cf 0x11a0 27 edx = sx.d([rsp + rcx].b) 0x11a4 28 edx = edx - 0x30 0x11a7 29 [rsp + (rcx << 2) + 0x200].d = edx 0x11ae 30 rcx = rcx + 1 0x11b5 31 if (rax != rcx) then 27 @ 0x11a0 else 15 @ 0x11b7 0x11eb 32 r14d = (rbx - 1).d 0x11f2 33 if (ebx s< 2) then 35 @ 0x1270 else 48 @ 0x11f4 0x11cf 34 if (eax != 1) then 32 @ 0x11eb else 52 @ 0x11d9 0x1270 35 rax = sx.q(r14d) 0x1273 36 esi = [rsp + (rax << 2) + 0x70].d 0x1277 37 rdi = 0x2007 {"\n%d"} 0x127e 38 eax = 0 0x1280 39 call(0x1030) 0x1285 40 eax = 0 0x1287 41 rsp = rsp + 0x390 0x128e 42 rbx = pop 0x128f 43 r12 = pop 0x1291 44 r14 = pop 0x1293 45 r15 = pop 0x1295 46 rbp = pop 0x1296 47 <return> jump(pop) 0x11f4 48 r12d = r14d 0x11f7 49 r15 = 0x2008 {"%d"} 0x11fe 50 eax = 0 0x1200 51 goto 53 @ 0x1222 0x11d9 52 if ([rsp + 0x204 {var_1b4}].d s> 2) then 32 @ 0x11eb else 21 @ 0x11db 0x1222 53 ecx = [rsp + (rax << 2) + 0x70].d 0x1226 54 ecx = (rcx + (rcx << 2)).d 0x1229 55 rbx = rax + 1 0x122d 56 edx = [rsp + (rax << 2) + 0x204].d 0x1234 57 esi = (rdx + (rcx << 1)).d 0x1237 58 rdi = sx.q(esi) 0x123a 59 rsi = rdi * 0x4ec4ec4f 0x1241 60 rbp = rsi 0x1244 61 rbp = rbp u>> 0x3f 0x1248 62 rsi = rsi s>> 0x22 0x124c 63 esi = esi + ebp 0x124e 64 ebp = (rsi + (rsi << 1)).d 0x1251 65 ebp = (rsi + (rbp << 2)).d 0x1254 66 edi = edi - ebp 0x1256 67 [rsp + (rax << 2) + 0x70].d = edi 0x125a 68 [rsp + (rax << 2) + 0x74].d = edi 0x125e 69 ecx = (rdx + (rcx << 1)).d 0x1261 70 ecx = ecx + 0xc 0x1267 71 if (ecx u> 0x18) then 72 @ 0x1210 else 76 @ 0x126c 0x1210 72 rdi = r15 0x1213 73 eax = 0 0x1215 74 call(0x1030) 0x1215 75 goto 77 @ 0x121a 0x126c 76 if (rax == 0) then 77 @ 0x121a else 79 @ 0x126e 0x121a 77 rax = rbx 0x1220 78 if (r12 == rbx) then 35 @ 0x1270 else 53 @ 0x1222 0x126e 79 goto 72 @ 0x1210 int64_t _fini(): 0x129c 0 rsp = rsp - 8 0x12a0 1 rsp = rsp + 8 0x12a4 2 <return> jump(pop)
POJ_96
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH E"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x20 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 rdi = 0x200c {"%d"} 0x1166 5 rsi = rbp - 8 {var_10} 0x116a 6 al = 0 0x116c 7 call(0x1040) 0x116c 8 goto 9 @ 0x1175 0x1175 9 if ([rbp - 8 {var_10}].d s<= 0) then 10 @ 0x11f4 else 14 @ 0x117b 0x11f4 10 eax = [rbp - 4 {var_c}].d 0x11f7 11 rsp = rsp + 0x20 0x11fb 12 rbp = pop 0x11fc 13 <return> jump(pop) 0x117b 14 rdi = 0x2004 {"%d%d%d%d%d"} 0x1182 15 rsi = rbp - 0xc {var_14} 0x1186 16 rdx = rbp - 0x10 {var_18} 0x118a 17 rcx = rbp - 0x14 {var_1c} 0x118e 18 r8 = rbp - 0x18 {var_20} 0x1192 19 r9 = rbp - 0x1c {var_24} 0x1196 20 al = 0 0x1198 21 call(0x1040) 0x119d 22 eax = [rbp - 0x14 {var_1c}].d 0x11a0 23 eax = eax + 0xc 0x11a3 24 eax = eax - [rbp - 8 {var_10}].d 0x11a6 25 eax = eax * 0xe10 0x11ac 26 [rbp - 0x20 {var_28_1}].d = eax 0x11af 27 eax = [rbp - 0x20 {var_28_1}].d 0x11b2 28 ecx = [rbp - 0x18 {var_20}].d 0x11b5 29 ecx = ecx - [rbp - 0xc {var_14}].d 0x11b8 30 ecx = ecx * 0x3c 0x11bb 31 eax = eax + ecx 0x11bd 32 [rbp - 0x20 {var_28_2}].d = eax 0x11c0 33 eax = [rbp - 0x20 {var_28_2}].d 0x11c3 34 eax = eax + [rbp - 0x1c {var_24}].d 0x11c6 35 eax = eax - [rbp - 0x10 {var_18}].d 0x11c9 36 [rbp - 0x20 {var_28}].d = eax 0x11cc 37 esi = [rbp - 0x20 {var_28}].d 0x11cf 38 rdi = 0x200f {"%d\n"} 0x11d6 39 al = 0 0x11d8 40 call(0x1030) 0x11dd 41 rdi = 0x200c {"%d"} 0x11e4 42 rsi = rbp - 8 {var_10} 0x11e8 43 al = 0 0x11ea 44 call(0x1040) 0x11ef 45 goto 9 @ 0x1175 int64_t _fini(): 0x1204 0 rsp = rsp - 8 0x1208 1 rsp = rsp + 8 0x120c 2 <return> jump(pop)
POJ_87
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UHH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 rbp = rsp {__saved_rbp} 0x1174 2 rsp = rsp - 0x3f0 0x117b 3 [rbp - 4 {var_c}].d = 0 0x1182 4 rdi = 0x2004 {"%d"} 0x1189 5 rsi = rbp - 8 {var_10} 0x118d 6 al = 0 0x118f 7 call(0x1060) 0x1194 8 [rbp - 0xc {var_14}].d = 1 0x1194 9 goto 10 @ 0x119b 0x119b 10 eax = [rbp - 0xc {var_14}].d 0x11a1 11 if (eax s> [rbp - 8 {var_10}].d) then 12 @ 0x1416 else 16 @ 0x11a7 0x1416 12 eax = 0 0x1418 13 rsp = rsp + 0x3f0 0x141f 14 rbp = pop 0x1420 15 <return> jump(pop) 0x11a7 16 rsi = rbp - 0x80 {var_88} 0x11ab 17 rdi = 0x2007 {"%s"} 0x11b2 18 al = 0 0x11b4 19 call(0x1060) 0x11b9 20 rdi = rbp - 0x220 {var_228} 0x11c0 21 esi = 0 0x11c2 22 edx = 0x194 {""} 0x11c7 23 call(0x1040) 0x11cc 24 rdi = rbp - 0x3c0 {var_3c8} 0x11d3 25 esi = 0 0x11d5 26 edx = 0x194 {""} 0x11da 27 call(0x1040) 0x11df 28 [rbp - 0x3c8 {var_3d0_1}].d = 0 0x11e9 29 [rbp - 0x3cc {var_3d4_1}].d = 0 0x11f3 30 [rbp - 0x3c4 {var_3cc_1}].d = 0 0x11f3 31 goto 32 @ 0x11fd 0x11fd 32 rax = sx.q([rbp - 0x3c4 {var_3cc_1}].d) 0x1204 33 [rbp - 0x3e0 {var_3e8_1}].q = rax 0x120b 34 rdi = rbp - 0x80 {var_88} 0x120f 35 call(0x1050) 0x1214 36 rcx = rax 0x1217 37 rax = [rbp - 0x3e0 {var_3e8_1}].q 0x1221 38 if (rax u>= rcx) then 39 @ 0x12f2 else 47 @ 0x1227 0x12f2 39 [rbp - 0x3d0 {var_3d8_1}].d = 0 0x12fc 40 [rbp - 0x3d4 {var_3dc_1}].d = 0 0x1306 41 rsi = rbp - 0x80 {var_88} 0x130a 42 rdi = 0x200a {"%s\n"} 0x1311 43 al = 0 0x1313 44 call(0x1030) 0x1318 45 [rbp - 0x3c4 {var_3cc_2}].d = 0 0x1318 46 goto 50 @ 0x1322 0x1227 47 rax = sx.q([rbp - 0x3c4 {var_3cc_1}].d) 0x122e 48 eax = sx.d([rbp + rax - 0x80].b) 0x1236 49 if (eax != 0x28) then 57 @ 0x1264 else 60 @ 0x123c 0x1322 50 rax = sx.q([rbp - 0x3c4 {var_3cc_2}].d) 0x1329 51 [rbp - 0x3e8 {var_3f0_1}].q = rax 0x1330 52 rdi = rbp - 0x80 {var_88} 0x1334 53 call(0x1050) 0x1339 54 rcx = rax 0x133c 55 rax = [rbp - 0x3e8 {var_3f0_1}].q 0x1346 56 if (rax u>= rcx) then 69 @ 0x13fa else 76 @ 0x134c 0x1264 57 rax = sx.q([rbp - 0x3c4 {var_3cc_1}].d) 0x126b 58 eax = sx.d([rbp + rax - 0x80].b) 0x1273 59 if (eax != 0x29) then 81 @ 0x12d4 else 82 @ 0x1280 0x123c 60 ecx = [rbp - 0x3c4 {var_3cc_1}].d 0x1242 61 ecx = ecx + 1 0x1245 62 eax = [rbp - 0x3c8 {var_3d0_1}].d 0x124b 63 edx = eax 0x124d 64 edx = edx + 1 0x1250 65 [rbp - 0x3c8 {var_3d0_1}].d = edx 0x1256 66 rax = sx.q(eax) 0x1258 67 [rbp + (rax << 2) - 0x220].d = ecx 0x125f 68 goto 83 @ 0x12d9 0x13fa 69 rdi = 0x200c {"\n"} 0x1401 70 al = 0 0x1403 71 call(0x1030) 0x1408 72 eax = [rbp - 0xc {var_14}].d 0x140b 73 eax = eax + 1 0x140e 74 [rbp - 0xc {var_14}].d = eax 0x1411 75 goto 10 @ 0x119b 0x134c 76 rax = sx.q([rbp - 0x3d0 {var_3d8_1}].d) 0x1353 77 eax = [rbp + (rax << 2) - 0x220].d 0x135a 78 ecx = [rbp - 0x3c4 {var_3cc_2}].d 0x1360 79 ecx = ecx + 1 0x1365 80 if (eax != ecx) then 84 @ 0x138d else 89 @ 0x136b 0x12d4 81 goto 83 @ 0x12d9 0x1280 82 if ([rbp - 0x3c8 {var_3d0_1}].d == 0) then 96 @ 0x12ac else 105 @ 0x1286 0x12d9 83 goto 111 @ 0x12de 0x138d 84 rax = sx.q([rbp - 0x3d4 {var_3dc_1}].d) 0x1394 85 eax = [rbp + (rax << 2) - 0x3c0].d 0x139b 86 ecx = [rbp - 0x3c4 {var_3cc_2}].d 0x13a1 87 ecx = ecx + 1 0x13a6 88 if (eax != ecx) then 115 @ 0x13ce else 119 @ 0x13ac 0x136b 89 rdi = 0x200e {"$"} 0x1372 90 al = 0 0x1374 91 call(0x1030) 0x1379 92 eax = [rbp - 0x3d0 {var_3d8_1}].d 0x137f 93 eax = eax + 1 0x1382 94 [rbp - 0x3d0 {var_3d8_1}].d = eax 0x1388 95 goto 126 @ 0x13e1 0x12ac 96 ecx = [rbp - 0x3c4 {var_3cc_1}].d 0x12b2 97 ecx = ecx + 1 0x12b5 98 eax = [rbp - 0x3cc {var_3d4_1}].d 0x12bb 99 edx = eax 0x12bd 100 edx = edx + 1 0x12c0 101 [rbp - 0x3cc {var_3d4_1}].d = edx 0x12c6 102 rax = sx.q(eax) 0x12c8 103 [rbp + (rax << 2) - 0x3c0].d = ecx 0x12c8 104 goto 127 @ 0x12cf 0x1286 105 eax = [rbp - 0x3c8 {var_3d0_1}].d 0x128c 106 eax = eax - 1 0x128f 107 [rbp - 0x3c8 {var_3d0_1}].d = eax 0x1295 108 rax = sx.q([rbp - 0x3c8 {var_3d0_1}].d) 0x129c 109 [rbp + (rax << 2) - 0x220].d = 0 0x12a7 110 goto 127 @ 0x12cf 0x12de 111 eax = [rbp - 0x3c4 {var_3cc_1}].d 0x12e4 112 eax = eax + 1 0x12e7 113 [rbp - 0x3c4 {var_3cc_1}].d = eax 0x12ed 114 goto 32 @ 0x11fd 0x13ce 115 rdi = 0x2012 {" "} 0x13d5 116 al = 0 0x13d7 117 call(0x1030) 0x13d7 118 goto 128 @ 0x13dc 0x13ac 119 rdi = 0x2010 {"?"} 0x13b3 120 al = 0 0x13b5 121 call(0x1030) 0x13ba 122 eax = [rbp - 0x3d4 {var_3dc_1}].d 0x13c0 123 eax = eax + 1 0x13c3 124 [rbp - 0x3d4 {var_3dc_1}].d = eax 0x13c9 125 goto 128 @ 0x13dc 0x13e1 126 goto 129 @ 0x13e6 0x12cf 127 goto 81 @ 0x12d4 0x13dc 128 goto 126 @ 0x13e1 0x13e6 129 eax = [rbp - 0x3c4 {var_3cc_2}].d 0x13ec 130 eax = eax + 1 0x13ef 131 [rbp - 0x3c4 {var_3cc_2}].d = eax 0x13f5 132 goto 50 @ 0x1322 int64_t _fini(): 0x1428 0 rsp = rsp - 8 0x142c 1 rsp = rsp + 8 0x1430 2 <return> jump(pop)
POJ_17
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"USHxH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(rbx) 0x1162 2 rsp = rsp - 0x78 0x1166 3 rdi = 0x2004 {"%s %s"} 0x116d 4 ebp = 0 0x116f 5 rbx = rsp + 0x40 {var_48} 0x1174 6 rdx = rsp {var_88} 0x1177 7 rsi = rbx {var_48} 0x117a 8 eax = 0 0x117c 9 call(0x1050) 0x1181 10 rdi = rbx {var_48} 0x1184 11 call(0x1040) 0x1189 12 rbx = rax 0x118f 13 if (rax == 0) then 14 @ 0x11e2 else 25 @ 0x1191 0x11e2 14 rsi = sx.q(ebp) 0x11e5 15 rsi = rsi - rbx 0x11e8 16 rsi = rsi + 1 0x11ec 17 rdi = 0x200a {"%d"} 0x11f3 18 eax = 0 0x11f5 19 call(0x1030) 0x11fa 20 eax = 0 0x11fc 21 rsp = rsp + 0x78 0x1200 22 rbx = pop 0x1201 23 rbp = pop 0x1202 24 <return> jump(pop) 0x1191 25 rdi = rsp {var_88} 0x1194 26 call(0x1040) 0x1199 27 ecx = 0 0x119b 28 ebp = 0 0x119d 29 edx = 0 0x119f 30 goto 31 @ 0x11be 0x11be 31 rsi = sx.q(edx) 0x11c4 32 if (rax u<= rsi) then 33 @ 0x11b5 else 35 @ 0x11c6 0x11b5 33 rcx = rcx + 1 0x11bc 34 if (rcx == rbx) then 14 @ 0x11e2 else 31 @ 0x11be 0x11c6 35 dl = [rsp + rcx + 0x40].b 0x11ca 36 goto 37 @ 0x11d3 0x11d3 37 if (dl == [rsp + rsi].b) then 38 @ 0x11b0 else 41 @ 0x11d5 0x11b0 38 edx = (rsi + 1).d 0x11b3 39 ebp = esi 0x11b3 40 goto 33 @ 0x11b5 0x11d5 41 rsi = rsi + 1 0x11dc 42 if (rax u> rsi) then 37 @ 0x11d3 else 43 @ 0x11de 0x11de 43 edx = esi 0x11e0 44 goto 33 @ 0x11b5 int64_t _fini(): 0x1208 0 rsp = rsp - 8 0x120c 1 rsp = rsp + 8 0x1210 2 <return> jump(pop)
POJ_45
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int64_t malloc(uint64_t bytes): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHH0E"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x30 0x1168 3 [rbp - 4 {var_c}].d = 0 0x116f 4 [rbp - 0x1c {var_24}].d = 0 0x1176 5 rdi = 0x2004 {"%d %d"} 0x117d 6 rsi = rbp - 0x18 {var_20} 0x1181 7 rdx = rbp - 0x14 {var_1c} 0x1185 8 al = 0 0x1187 9 call(0x1040) 0x118c 10 rdi = sx.q([rbp - 0x18 {var_20}].d) 0x1190 11 rdi = rdi << 2 0x1194 12 call(0x1050) 0x1199 13 [rbp - 0x28 {var_30}].q = rax 0x119d 14 rdi = sx.q([rbp - 0x14 {var_1c}].d) 0x11a1 15 rdi = rdi << 2 0x11a5 16 call(0x1050) 0x11aa 17 [rbp - 0x30 {var_38}].q = rax 0x11ae 18 [rbp - 8 {var_10}].d = 0 0x11ae 19 goto 20 @ 0x11b5 0x11b5 20 eax = [rbp - 8 {var_10}].d 0x11bb 21 if (eax s>= [rbp - 0x18 {var_20}].d) then 22 @ 0x11ec else 24 @ 0x11c1 0x11ec 22 [rbp - 8 {var_10_1}].d = 0 0x11ec 23 goto 35 @ 0x11f3 0x11c1 24 rsi = [rbp - 0x28 {var_30}].q 0x11c5 25 rax = sx.q([rbp - 8 {var_10}].d) 0x11c9 26 rax = rax << 2 0x11cd 27 rsi = rsi + rax 0x11d0 28 rdi = 0x2007 {"%d"} 0x11d7 29 al = 0 0x11d9 30 call(0x1040) 0x11de 31 eax = [rbp - 8 {var_10}].d 0x11e1 32 eax = eax + 1 0x11e4 33 [rbp - 8 {var_10}].d = eax 0x11e7 34 goto 20 @ 0x11b5 0x11f3 35 eax = [rbp - 8 {var_10_1}].d 0x11f9 36 if (eax s>= [rbp - 0x14 {var_1c}].d) then 37 @ 0x122a else 39 @ 0x11ff 0x122a 37 [rbp - 8 {var_10_2}].d = 0 0x122a 38 goto 50 @ 0x1231 0x11ff 39 rsi = [rbp - 0x30 {var_38}].q 0x1203 40 rax = sx.q([rbp - 8 {var_10_1}].d) 0x1207 41 rax = rax << 2 0x120b 42 rsi = rsi + rax 0x120e 43 rdi = 0x2007 {"%d"} 0x1215 44 al = 0 0x1217 45 call(0x1040) 0x121c 46 eax = [rbp - 8 {var_10_1}].d 0x121f 47 eax = eax + 1 0x1222 48 [rbp - 8 {var_10_1}].d = eax 0x1225 49 goto 35 @ 0x11f3 0x1231 50 eax = [rbp - 8 {var_10_2}].d 0x1237 51 if (eax s>= [rbp - 0x18 {var_20}].d) then 52 @ 0x12db else 59 @ 0x123d 0x12db 52 rax = [rbp - 0x28 {var_30}].q 0x12df 53 esi = [rax].d 0x12e1 54 rdi = 0x2007 {"%d"} 0x12e8 55 al = 0 0x12ea 56 call(0x1030) 0x12ef 57 [rbp - 8 {var_10_3}].d = 1 0x12ef 58 goto 61 @ 0x12f6 0x123d 59 [rbp - 0xc {var_14_1}].d = 0 0x123d 60 goto 63 @ 0x1244 0x12f6 61 eax = [rbp - 8 {var_10_3}].d 0x12fc 62 if (eax s>= [rbp - 0x18 {var_20}].d) then 68 @ 0x1329 else 70 @ 0x1302 0x1244 63 eax = [rbp - 0xc {var_14_1}].d 0x1247 64 ecx = [rbp - 0x18 {var_20}].d 0x124a 65 ecx = ecx - [rbp - 8 {var_10_2}].d 0x124d 66 ecx = ecx - 1 0x1252 67 if (eax s>= ecx) then 80 @ 0x12c8 else 81 @ 0x1258 0x1329 68 [rbp - 8 {var_10_4}].d = 0 0x1329 69 goto 89 @ 0x1330 0x1302 70 rax = [rbp - 0x28 {var_30}].q 0x1306 71 rcx = sx.q([rbp - 8 {var_10_3}].d) 0x130a 72 esi = [rax + (rcx << 2)].d 0x130d 73 rdi = 0x2006 {" %d"} 0x1314 74 al = 0 0x1316 75 call(0x1030) 0x131b 76 eax = [rbp - 8 {var_10_3}].d 0x131e 77 eax = eax + 1 0x1321 78 [rbp - 8 {var_10_3}].d = eax 0x1324 79 goto 61 @ 0x12f6 0x12c8 80 goto 91 @ 0x12cd 0x1258 81 rax = [rbp - 0x28 {var_30}].q 0x125c 82 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x1260 83 eax = [rax + (rcx << 2)].d 0x1263 84 rcx = [rbp - 0x28 {var_30}].q 0x1267 85 edx = [rbp - 0xc {var_14_1}].d 0x126a 86 edx = edx + 1 0x126d 87 rdx = sx.q(edx) 0x1273 88 if (eax s<= [rcx + (rdx << 2)].d) then 95 @ 0x12b5 else 96 @ 0x1279 0x1330 89 eax = [rbp - 8 {var_10_4}].d 0x1336 90 if (eax s>= [rbp - 0x14 {var_1c}].d) then 115 @ 0x13da else 117 @ 0x133c 0x12cd 91 eax = [rbp - 8 {var_10_2}].d 0x12d0 92 eax = eax + 1 0x12d3 93 [rbp - 8 {var_10_2}].d = eax 0x12d6 94 goto 50 @ 0x1231 0x12b5 95 goto 119 @ 0x12ba 0x1279 96 rax = [rbp - 0x28 {var_30}].q 0x127d 97 ecx = [rbp - 0xc {var_14_1}].d 0x1280 98 ecx = ecx + 1 0x1283 99 rcx = sx.q(ecx) 0x1286 100 eax = [rax + (rcx << 2)].d 0x1289 101 [rbp - 0x1c {var_24_1}].d = eax 0x128c 102 rax = [rbp - 0x28 {var_30}].q 0x1290 103 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x1294 104 edx = [rax + (rcx << 2)].d 0x1297 105 rax = [rbp - 0x28 {var_30}].q 0x129b 106 ecx = [rbp - 0xc {var_14_1}].d 0x129e 107 ecx = ecx + 1 0x12a1 108 rcx = sx.q(ecx) 0x12a4 109 [rax + (rcx << 2)].d = edx 0x12a7 110 edx = [rbp - 0x1c {var_24_1}].d 0x12aa 111 rax = [rbp - 0x28 {var_30}].q 0x12ae 112 rcx = sx.q([rbp - 0xc {var_14_1}].d) 0x12b2 113 [rax + (rcx << 2)].d = edx 0x12b2 114 goto 95 @ 0x12b5 0x13da 115 [rbp - 8 {var_10_5}].d = 0 0x13da 116 goto 123 @ 0x13e1 0x133c 117 [rbp - 0xc {var_14_2}].d = 0 0x133c 118 goto 125 @ 0x1343 0x12ba 119 eax = [rbp - 0xc {var_14_1}].d 0x12bd 120 eax = eax + 1 0x12c0 121 [rbp - 0xc {var_14_1}].d = eax 0x12c3 122 goto 63 @ 0x1244 0x13e1 123 eax = [rbp - 8 {var_10_5}].d 0x13e7 124 if (eax s>= [rbp - 0x14 {var_1c}].d) then 130 @ 0x1414 else 134 @ 0x13ed 0x1343 125 eax = [rbp - 0xc {var_14_2}].d 0x1346 126 ecx = [rbp - 0x14 {var_1c}].d 0x1349 127 ecx = ecx - [rbp - 8 {var_10_4}].d 0x134c 128 ecx = ecx - 1 0x1351 129 if (eax s>= ecx) then 144 @ 0x13c7 else 145 @ 0x1357 0x1414 130 eax = [rbp - 4 {var_c}].d 0x1417 131 rsp = rsp + 0x30 0x141b 132 rbp = pop 0x141c 133 <return> jump(pop) 0x13ed 134 rax = [rbp - 0x30 {var_38}].q 0x13f1 135 rcx = sx.q([rbp - 8 {var_10_5}].d) 0x13f5 136 esi = [rax + (rcx << 2)].d 0x13f8 137 rdi = 0x2006 {" %d"} 0x13ff 138 al = 0 0x1401 139 call(0x1030) 0x1406 140 eax = [rbp - 8 {var_10_5}].d 0x1409 141 eax = eax + 1 0x140c 142 [rbp - 8 {var_10_5}].d = eax 0x140f 143 goto 123 @ 0x13e1 0x13c7 144 goto 153 @ 0x13cc 0x1357 145 rax = [rbp - 0x30 {var_38}].q 0x135b 146 rcx = sx.q([rbp - 0xc {var_14_2}].d) 0x135f 147 eax = [rax + (rcx << 2)].d 0x1362 148 rcx = [rbp - 0x30 {var_38}].q 0x1366 149 edx = [rbp - 0xc {var_14_2}].d 0x1369 150 edx = edx + 1 0x136c 151 rdx = sx.q(edx) 0x1372 152 if (eax s<= [rcx + (rdx << 2)].d) then 157 @ 0x13b4 else 158 @ 0x1378 0x13cc 153 eax = [rbp - 8 {var_10_4}].d 0x13cf 154 eax = eax + 1 0x13d2 155 [rbp - 8 {var_10_4}].d = eax 0x13d5 156 goto 89 @ 0x1330 0x13b4 157 goto 177 @ 0x13b9 0x1378 158 rax = [rbp - 0x30 {var_38}].q 0x137c 159 ecx = [rbp - 0xc {var_14_2}].d 0x137f 160 ecx = ecx + 1 0x1382 161 rcx = sx.q(ecx) 0x1385 162 eax = [rax + (rcx << 2)].d 0x1388 163 [rbp - 0x1c {var_24_2}].d = eax 0x138b 164 rax = [rbp - 0x30 {var_38}].q 0x138f 165 rcx = sx.q([rbp - 0xc {var_14_2}].d) 0x1393 166 edx = [rax + (rcx << 2)].d 0x1396 167 rax = [rbp - 0x30 {var_38}].q 0x139a 168 ecx = [rbp - 0xc {var_14_2}].d 0x139d 169 ecx = ecx + 1 0x13a0 170 rcx = sx.q(ecx) 0x13a3 171 [rax + (rcx << 2)].d = edx 0x13a6 172 edx = [rbp - 0x1c {var_24_2}].d 0x13a9 173 rax = [rbp - 0x30 {var_38}].q 0x13ad 174 rcx = sx.q([rbp - 0xc {var_14_2}].d) 0x13b1 175 [rax + (rcx << 2)].d = edx 0x13b1 176 goto 157 @ 0x13b4 0x13b9 177 eax = [rbp - 0xc {var_14_2}].d 0x13bc 178 eax = eax + 1 0x13bf 179 [rbp - 0xc {var_14_2}].d = eax 0x13c2 180 goto 125 @ 0x1343 int64_t _fini(): 0x1424 0 rsp = rsp - 8 0x1428 1 rsp = rsp + 8 0x142c 2 <return> jump(pop)
POJ_8
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 char* strcpy(char* arg1, char const* arg2): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t puts(char const* str): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHAWAVAUATSHXH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 push(r15) 0x1166 3 push(r14) 0x1168 4 push(r13) 0x116a 5 push(r12) 0x116c 6 push(rbx) 0x116d 7 rsp = rsp - 0x58 0x1171 8 rdi = 0x2007 {"%d"} 0x1178 9 rsi = rbp - 0x2c {var_34} 0x117c 10 eax = 0 0x117e 11 call(0x1040) 0x1183 12 [rbp - 0x60 {var_68}].q = rsp {var_88} 0x1187 13 eax = [rbp - 0x2c {var_34}].d 0x118a 14 rax = rax + (rax << 2) 0x118e 15 rax = rax + rax 0x1191 16 rax = rax + 0xf 0x1195 17 rcx = 0x1ffffffff0 {""} 0x119f 18 rax = rax & rcx 0x11a2 19 rdx = rsp {var_88} 0x11a5 20 rdx = rdx - rax 0x11a8 21 rsp = rdx 0x11ab 22 eax = [rbp - 0x2c {var_34}].d 0x11ae 23 rsi = rsp 0x11b1 24 rcx = (rax << 2) + 0xf 0x11b9 25 rcx = rcx & 0xfffffffffffffff0 0x11bd 26 rsi = rsi - rcx 0x11c0 27 [rbp - 0x40 {var_48}].q = rsi 0x11c4 28 rsp = rsi 0x11c7 29 cond:0 = eax s<= 0 0x11c9 30 [rbp - 0x50 {var_58}].q = rdx 0x11cd 31 if (cond:0) then 32 @ 0x1209 else 50 @ 0x11cf 0x1209 32 r12d = eax 0x120c 33 rcx = r12 + (r12 << 2) 0x1210 34 rcx = rcx + rcx 0x1213 35 rcx = rcx + 0xf 0x1217 36 rsi = 0x1ffffffff0 {""} 0x1221 37 rcx = rcx & rsi 0x1224 38 rsi = rsp 0x1227 39 rsi = rsi - rcx 0x122a 40 [rbp - 0x38 {var_40}].q = rsi 0x122e 41 rsp = rsi 0x1231 42 r14 = rsp 0x1234 43 rcx = (r12 << 2) + 0xf 0x123c 44 rcx = rcx & 0xfffffffffffffff0 0x1240 45 r14 = r14 - rcx 0x1243 46 rsp = r14 0x1246 47 cond:1 = eax s<= 0 0x1248 48 ecx = 0 0x124d 49 if (cond:1) then 55 @ 0x129f else 57 @ 0x124f 0x11cf 50 r15 = 0x2004 {"%s %d"} 0x11d6 51 r12 = rdx 0x11d9 52 r14 = [rbp - 0x40 {var_48}].q 0x11dd 53 ebx = 0 0x11df 54 goto 61 @ 0x11e0 0x129f 55 [rbp - 0x58 {var_60}].q = rcx 0x12a6 56 if (ecx s< 2) then 71 @ 0x1345 else 75 @ 0x12ac 0x124f 57 ebx = 0 0x1251 58 r15 = rdx 0x1254 59 ecx = 0 0x1256 60 goto 81 @ 0x126d 0x11e0 61 rdi = r15 0x11e3 62 rsi = r12 0x11e6 63 rdx = r14 0x11e9 64 eax = 0 0x11eb 65 call(0x1040) 0x11f0 66 rbx = rbx + 1 0x11f4 67 rax = sx.q([rbp - 0x2c {var_34}].d) 0x11f8 68 r14 = r14 + 4 0x11fc 69 r12 = r12 + 0xa 0x1203 70 if (rbx s< rax) then 61 @ 0x11e0 else 84 @ 0x1205 0x1345 71 rax = [rbp - 0x58 {var_60}].q 0x1349 72 cond:2 = eax s<= 0 0x134b 73 rbx = [rbp - 0x38 {var_40}].q 0x134f 74 if (cond:2) then 86 @ 0x1372 else 96 @ 0x1351 0x12ac 75 rax = [rbp - 0x58 {var_60}].q 0x12b0 76 eax = eax - 1 0x12b3 77 ecx = 0 0x12b5 78 esi = eax 0x12b7 79 [rbp - 0x44 {var_4c_1}].d = eax 0x12ba 80 goto 98 @ 0x12d1 0x126d 81 rax = [rbp - 0x40 {var_48}].q 0x1271 82 eax = [rax + (rbx << 2)].d 0x1277 83 if (eax s< 0x3c) then 101 @ 0x1260 else 104 @ 0x1279 0x1205 84 rdx = [rbp - 0x50 {var_58}].q 0x1205 85 goto 32 @ 0x1209 0x1372 86 r14d = [rbp - 0x2c {var_34}].d 0x1376 87 rax = r14 + (r14 << 2) 0x137a 88 rax = rax + rax 0x137d 89 rax = rax + 0xf 0x1381 90 rcx = 0x1ffffffff0 {""} 0x138b 91 rax = rax & rcx 0x138e 92 r12 = rsp 0x1391 93 r12 = r12 - rax 0x1394 94 rsp = r12 0x139a 95 if (r14d s<= 0) then 115 @ 0x13e3 else 117 @ 0x139c 0x1351 96 r14d = eax 0x135e 97 goto 121 @ 0x1360 0x12d1 98 esi = esi 0x12d3 99 [rbp - 0x68 {var_70_1}].q = rcx 0x12d9 100 if (eax s<= ecx) then 127 @ 0x12c0 else 132 @ 0x12db 0x1260 101 rbx = rbx + 1 0x1264 102 r15 = r15 + 0xa 0x126b 103 if (r12 == rbx) then 55 @ 0x129f else 81 @ 0x126d 0x1279 104 rcx = sx.q(ecx) 0x127c 105 [r14 + (rcx << 2)].d = eax 0x1280 106 rax = rcx + (rcx << 2) 0x1284 107 rdx = [rbp - 0x38 {var_40}].q 0x1288 108 rdi = rdx + (rax << 1) 0x128c 109 rsi = r15 0x128f 110 r13 = rcx 0x1292 111 call(0x1030) 0x1297 112 rcx = r13 0x129a 113 ecx = ecx + 1 0x129d 114 goto 101 @ 0x1260 0x13e3 115 r15d = 0 0x13e3 116 goto 135 @ 0x13e9 0x139c 117 ebx = 0 0x139e 118 r15d = 0 0x13a1 119 rsi = [rbp - 0x50 {var_58}].q 0x13a5 120 goto 136 @ 0x13bd 0x1360 121 rdi = rbx 0x1363 122 call(0x1050) 0x1368 123 rbx = rbx + 0xa 0x136c 124 temp0.q = r14 0x136c 125 r14 = r14 - 1 0x1370 126 if (temp0.q != 1) then 121 @ 0x1360 else 86 @ 0x1372 0x12c0 127 rcx = [rbp - 0x68 {var_70_1}].q 0x12c4 128 ecx = ecx + 1 0x12c7 129 esi = esi - 1 0x12ca 130 eax = [rbp - 0x44 {var_4c_1}].d 0x12cf 131 if (ecx == eax) then 71 @ 0x1345 else 98 @ 0x12d1 0x12db 132 rbx = [rbp - 0x38 {var_40}].q 0x12df 133 eax = 0 0x12e1 134 goto 138 @ 0x12fc 0x13e9 135 if (r15d s<= 0) then 142 @ 0x1402 else 152 @ 0x13eb 0x13bd 136 rax = [rbp - 0x40 {var_48}].q 0x13c5 137 if ([rax + (rbx << 2)].d s> 0x3b) then 154 @ 0x13b0 else 157 @ 0x13c7 0x12fc 138 ecx = [r14 + (rax << 2)].d 0x1300 139 edx = [r14 + (rax << 2) + 4].d 0x1305 140 r12 = rax + 1 0x130b 141 if (ecx s>= edx) then 165 @ 0x12f0 else 168 @ 0x130d 0x1402 142 rsp = [rbp - 0x60].q 0x1406 143 eax = 0 0x1408 144 rsp = rbp - 0x28 0x140c 145 rbx = pop 0x140d 146 r12 = pop 0x140f 147 r13 = pop 0x1411 148 r14 = pop 0x1413 149 r15 = pop 0x1415 150 rbp = pop 0x1416 151 <return> jump(pop) 0x13eb 152 ebx = r15d 0x13ee 153 goto 183 @ 0x13f0 0x13b0 154 rbx = rbx + 1 0x13b4 155 rsi = rsi + 0xa 0x13bb 156 if (r14 == rbx) then 135 @ 0x13e9 else 136 @ 0x13bd 0x13c7 157 r15 = sx.q(r15d) 0x13ca 158 rax = r15 + (r15 << 2) 0x13ce 159 rdi = r12 + (rax << 1) 0x13d2 160 r13 = rsi 0x13d5 161 call(0x1030) 0x13da 162 rsi = r13 0x13dd 163 r15d = r15d + 1 0x13e1 164 goto 154 @ 0x13b0 0x12f0 165 rbx = rbx + 0xa 0x12f4 166 rax = r12 0x12fa 167 if (rsi == r12) then 127 @ 0x12c0 else 138 @ 0x12fc 0x130d 168 [r14 + (rax << 2)].d = edx 0x1311 169 [r14 + (rax << 2) + 4].d = ecx 0x1316 170 rdi = rbp - 0x72 {var_7a} 0x131a 171 r15 = rsi 0x131d 172 rsi = rbx 0x1320 173 call(0x1030) 0x1325 174 r13 = rbx + 0xa 0x1329 175 rdi = rbx 0x132c 176 rsi = r13 0x132f 177 call(0x1030) 0x1334 178 rdi = r13 0x1337 179 rsi = rbp - 0x72 {var_7a} 0x133b 180 call(0x1030) 0x1340 181 rsi = r15 0x1343 182 goto 165 @ 0x12f0 0x13f0 183 rdi = r12 0x13f3 184 call(0x1050) 0x13f8 185 r12 = r12 + 0xa 0x13fc 186 temp1.q = rbx 0x13fc 187 rbx = rbx - 1 0x1400 188 if (temp1.q != 1) then 183 @ 0x13f0 else 142 @ 0x1402 int64_t _fini(): 0x141c 0 rsp = rsp - 8 0x1420 1 rsp = rsp + 8 0x1424 2 <return> jump(pop)
POJ_9
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x1e9c08 0x1161 7 rdi = 0x2004 {"%d %d"} 0x1168 8 rsi = rsp + 8 {var_1e9c30} 0x116d 9 rdx = rsp + 0xc {var_1e9c2c} 0x1172 10 eax = 0 0x1174 11 call(0x1040) 0x1179 12 r14 = 0x200e {"no"} 0x1185 13 if ([rsp + 8 {var_1e9c30}].d s<= 0) then 14 @ 0x1357 else 26 @ 0x118b 0x1357 14 rdi = r14 0x135a 15 eax = 0 0x135c 16 call(0x1030) 0x1361 17 eax = 0 0x1363 18 rsp = rsp + 0x1e9c08 0x136a 19 rbx = pop 0x136b 20 r12 = pop 0x136d 21 r13 = pop 0x136f 22 r14 = pop 0x1371 23 r15 = pop 0x1373 24 rbp = pop 0x1374 25 <return> jump(pop) 0x118b 26 r13 = rsp + 0x10 {var_1e9c28} 0x1190 27 r15 = 0x2007 {"%d"} 0x1197 28 ebx = 0 0x1199 29 goto 30 @ 0x11a0 0x11a0 30 rdi = r15 0x11a3 31 rsi = r13 0x11a6 32 eax = 0 0x11a8 33 call(0x1040) 0x11ad 34 rbx = rbx + 1 0x11b1 35 r12 = sx.q([rsp + 8 {var_1e9c30}].d) 0x11b6 36 r13 = r13 + 4 0x11bd 37 if (rbx s< r12) then 30 @ 0x11a0 else 38 @ 0x11c2 0x11c2 38 if (r12d s<= 0) then 14 @ 0x1357 else 39 @ 0x11c8 0x11c8 39 r9d = r12d 0x11cb 40 r13d = 0 0x11ce 41 r8 = rsp + 0xfe0 {var_1e8c58} 0x11d6 42 ebp = r12d 0x11d9 43 r11d = 0 0x11dc 44 goto 45 @ 0x11f0 0x11f0 45 ebp = ebp 0x11f2 46 edx = r12d 0x11f5 47 edx = edx - r13d 0x11fb 48 if (edx s< 2) then 49 @ 0x11e0 else 52 @ 0x11fd 0x11e0 49 r13 = r13 + 1 0x11e4 50 ebp = ebp - 1 0x11ea 51 if (r13 == r9) then 57 @ 0x132c else 45 @ 0x11f0 0x11fd 52 r10 = rdx - 1 0x1201 53 ebx = [rsp + (r13 << 2) + 0x10].d 0x1206 54 r11 = sx.q(r11d) 0x1209 55 ecx = 1 0x1212 56 if (r10 u< 8) then 58 @ 0x12eb else 66 @ 0x1218 0x132c 57 if (r11d s<= 0) then 14 @ 0x1357 else 73 @ 0x132e 0x12eb 58 rdx = rsp + (rcx << 2) 0x12ef 59 rdx = rdx + 0x10 0x12f3 60 rdi = rbp 0x12f6 61 rdi = rdi - rcx 0x12f9 62 rsi = rsp + (r11 << 2) 0x12fd 63 rsi = rsi + 0xfb0 0x1304 64 ecx = 0 0x1306 65 goto 78 @ 0x1310 0x1218 66 rdx = rdx - 9 0x121c 67 r15 = rdx 0x121f 68 r15 = r15 u>> 3 0x1223 69 r15 = r15 + 1 0x1227 70 xmm0 = ebx 0x122b 71 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x1234 72 if (rdx u>= 8) then 83 @ 0x123a else 90 @ 0x1236 0x132e 73 eax = [rsp + 0xc {var_1e9c2c}].d 0x1332 74 ecx = r11d 0x1335 75 edx = 0 0x1337 76 rsi = 0x200a {"yes"} 0x133e 77 goto 92 @ 0x1347 0x1310 78 eax = [rdx + (rcx << 2)].d 0x1313 79 eax = eax + ebx 0x1315 80 [rsi + (rcx << 2)].d = eax 0x1318 81 rcx = rcx + 1 0x131f 82 if (rdi != rcx) then 78 @ 0x1310 else 93 @ 0x1321 0x123a 83 rcx = rbp - 9 0x123e 84 rcx = rcx u>> 3 0x1242 85 rcx = rcx + 1 0x1246 86 rcx = rcx & 0xfffffffffffffffe 0x124a 87 rdi = r8 + (r11 << 2) 0x124e 88 edx = 0 0x124e 89 goto 95 @ 0x1250 0x1236 90 edx = 0 0x1238 91 goto 111 @ 0x1299 0x1347 92 if (eax == [rsp + (rdx << 2) + 0xfb0].d) then 114 @ 0x1354 else 116 @ 0x1349 0x1321 93 r11 = r11 + rcx 0x1324 94 goto 49 @ 0x11e0 0x1250 95 xmm1 = [rsp + (rdx << 2) + 0x14].o 0x1256 96 xmm2 = [rsp + (rdx << 2) + 0x24].o 0x125c 97 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1260 98 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x1264 99 [rdi + (rdx << 2) - 0x30].o = xmm1 0x126a 100 [rdi + (rdx << 2) - 0x20].o = xmm2 0x1270 101 xmm1 = [rsp + (rdx << 2) + 0x34].o 0x1276 102 xmm2 = [rsp + (rdx << 2) + 0x44].o 0x127c 103 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x1280 104 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x1284 105 [rdi + (rdx << 2) - 0x10].o = xmm1 0x128a 106 [rdi + (rdx << 2)].o = xmm2 0x128f 107 rdx = rdx + 0x10 0x1293 108 temp0.q = rcx 0x1293 109 rcx = rcx - 2 0x1297 110 if (temp0.q != 2) then 95 @ 0x1250 else 111 @ 0x1299 0x1299 111 rcx = r10 0x129c 112 rcx = rcx & 0xfffffffffffffff8 0x12a4 113 if ((r15b & 1) == 0) then 118 @ 0x12db else 120 @ 0x12a6 0x1354 114 r14 = rsi 0x1354 115 goto 14 @ 0x1357 0x1349 116 rdx = rdx + 1 0x1350 117 if (rcx != rdx) then 92 @ 0x1347 else 130 @ 0x1352 0x12db 118 r11 = r11 + rcx 0x12e1 119 if (r10 == rcx) then 49 @ 0x11e0 else 131 @ 0x12e7 0x12a6 120 rsi = rdx << 2 0x12ae 121 rdx = rdx + r11 0x12b1 122 rsi = rsi | 4 0x12b5 123 xmm1 = [rsp + rsi + 0x10].o 0x12bb 124 xmm2 = [rsp + rsi + 0x20].o 0x12c1 125 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x12c5 126 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x12c9 127 [rsp + (rdx << 2) + 0xfb0].o = xmm1 0x12d2 128 [rsp + (rdx << 2) + 0xfc0].o = xmm2 0x12d2 129 goto 118 @ 0x12db 0x1352 130 goto 14 @ 0x1357 0x12e7 131 rcx = rcx | 1 0x12e7 132 goto 58 @ 0x12eb int64_t _fini(): 0x137c 0 rsp = rsp - 8 0x1380 1 rsp = rsp + 8 0x1384 2 <return> jump(pop)
POJ_3
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memcpy(void* arg1, void const* arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVATSH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r12) 0x1167 4 push(rbx) 0x1168 5 rdi = 0x2004 {"%d %d"} 0x116f 6 rsi = 0x4050 {""} 0x1176 7 rdx = 0x4054 {""} 0x117d 8 eax = 0 0x117f 9 call(0x1050) 0x118b 10 if ([0x4050].d s<= 0) then 11 @ 0x11c8 else 12 @ 0x118d 0x11c8 11 if ([0x4054].d s<= 0) then 16 @ 0x1201 else 20 @ 0x11ca 0x118d 12 rbx = 0x4060 {""} 0x1194 13 r14 = 0x2007 {"%d"} 0x119b 14 ebp = 0 0x119d 15 goto 24 @ 0x11a0 0x1201 16 r12 = sx.q([0x4050].d) 0x1208 17 r14d = (r12 - 1).d 0x120d 18 edx = r12d 0x1214 19 if (r12 s< 2) then 32 @ 0x1270 else 34 @ 0x1216 0x11ca 20 rbx = 0x41f0 {""} 0x11d1 21 r14 = 0x2007 {"%d"} 0x11d8 22 ebp = 0 0x11da 23 goto 38 @ 0x11e0 0x11a0 24 rdi = r14 0x11a3 25 rsi = rbx 0x11a6 26 eax = 0 0x11a8 27 call(0x1050) 0x11ad 28 rbp = rbp + 1 0x11b1 29 rax = sx.q([0x4050].d) 0x11b8 30 rbx = rbx + 4 0x11bf 31 if (rbp s< rax) then 24 @ 0x11a0 else 11 @ 0x11c8 0x1270 32 r15d = [0x4054].d 0x127b 33 if (r15d s< 2) then 46 @ 0x12d2 else 47 @ 0x127d 0x1216 34 r8d = 0 0x1219 35 rcx = 0x4060 {""} 0x1220 36 esi = r14d 0x1223 37 goto 52 @ 0x123c 0x11e0 38 rdi = r14 0x11e3 39 rsi = rbx 0x11e6 40 eax = 0 0x11e8 41 call(0x1050) 0x11ed 42 rbp = rbp + 1 0x11f1 43 rax = sx.q([0x4054].d) 0x11f8 44 rbx = rbx + 4 0x11ff 45 if (rbp s< rax) then 38 @ 0x11e0 else 16 @ 0x1201 0x12d2 46 if (edx s<= 0) then 57 @ 0x12ee else 58 @ 0x12d4 0x127d 47 r8d = (r15 - 1).d 0x1281 48 r9d = 0 0x1284 49 rsi = 0x41f0 {""} 0x128b 50 edi = r8d 0x128e 51 goto 63 @ 0x129c 0x123c 52 esi = esi 0x123e 53 eax = r8d 0x1241 54 eax = not.d(eax) 0x1243 55 eax = eax + r12d 0x1248 56 if (eax s<= 0) then 68 @ 0x1230 else 71 @ 0x124a 0x12ee 57 if (r15d s<= 0) then 73 @ 0x130f else 75 @ 0x12f0 0x12d4 58 rdx = rdx << 2 0x12d8 59 rdi = 0x4380 {""} 0x12df 60 rsi = 0x4060 {""} 0x12e6 61 call(0x1040) 0x12e6 62 goto 57 @ 0x12ee 0x129c 63 edi = edi 0x129e 64 eax = r9d 0x12a1 65 eax = not.d(eax) 0x12a3 66 eax = eax + r15d 0x12a8 67 if (eax s<= 0) then 81 @ 0x1290 else 84 @ 0x12aa 0x1230 68 r8d = r8d + 1 0x1234 69 esi = esi - 1 0x123a 70 if (r8d == r14d) then 32 @ 0x1270 else 52 @ 0x123c 0x124a 71 edi = 0 0x124c 72 goto 86 @ 0x1258 0x130f 73 r15d = r15d + r14d 0x1315 74 if (r15d s<= 0) then 90 @ 0x1360 else 102 @ 0x1317 0x12f0 75 rax = 0x4380 {""} 0x12f7 76 rdi = rax + (r12 << 2) 0x12fb 77 rdx = r15 << 2 0x1303 78 rsi = 0x41f0 {""} 0x130a 79 call(0x1040) 0x130a 80 goto 73 @ 0x130f 0x1290 81 r9d = r9d + 1 0x1294 82 edi = edi - 1 0x129a 83 if (r9d == r8d) then 46 @ 0x12d2 else 63 @ 0x129c 0x12aa 84 ebp = 0 0x12ac 85 goto 106 @ 0x12b8 0x1258 86 ebx = [rcx + (rdi << 2)].d 0x125b 87 eax = [rcx + (rdi << 2) + 4].d 0x125f 88 rbp = rdi + 1 0x1265 89 if (ebx s<= eax) then 110 @ 0x1250 else 112 @ 0x1267 0x1360 90 rax = sx.q(r15d) 0x1363 91 rcx = 0x4380 {""} 0x136a 92 esi = [rcx + (rax << 2)].d 0x136d 93 rdi = 0x2007 {"%d"} 0x1374 94 eax = 0 0x1376 95 call(0x1030) 0x137b 96 rbx = pop 0x137c 97 r12 = pop 0x137e 98 r14 = pop 0x1380 99 r15 = pop 0x1382 100 rbp = pop 0x1383 101 <return> jump(pop) 0x1317 102 rbx = 0x4380 {""} 0x131e 103 r14 = 0x200a {"%d "} 0x1325 104 ebp = 0 0x1327 105 goto 115 @ 0x1330 0x12b8 106 eax = [rsi + (rbp << 2)].d 0x12bb 107 ecx = [rsi + (rbp << 2) + 4].d 0x12bf 108 rbx = rbp + 1 0x12c5 109 if (eax s<= ecx) then 127 @ 0x12b0 else 129 @ 0x12c7 0x1250 110 rdi = rbp 0x1256 111 if (rsi == rbp) then 68 @ 0x1230 else 86 @ 0x1258 0x1267 112 [rcx + (rdi << 2)].d = eax 0x126a 113 [rcx + (rdi << 2) + 4].d = ebx 0x126e 114 goto 110 @ 0x1250 0x1330 115 esi = [rbx].d 0x1332 116 rdi = r14 0x1335 117 eax = 0 0x1337 118 call(0x1030) 0x133c 119 rbp = rbp + 1 0x1340 120 eax = [0x4050].d 0x1346 121 ecx = [0x4054].d 0x134c 122 r15d = (rax + rcx).d 0x1350 123 r15d = r15d - 1 0x1354 124 rax = sx.q(r15d) 0x1357 125 rbx = rbx + 4 0x135e 126 if (rbp s< rax) then 115 @ 0x1330 else 90 @ 0x1360 0x12b0 127 rbp = rbx 0x12b6 128 if (rdi == rbx) then 81 @ 0x1290 else 106 @ 0x12b8 0x12c7 129 [rsi + (rbp << 2)].d = ecx 0x12ca 130 [rsi + (rbp << 2) + 4].d = eax 0x12ce 131 goto 127 @ 0x12b0 int64_t read(): 0x1390 0 push(r15) 0x1392 1 push(r14) 0x1394 2 push(rbx) 0x1395 3 rdi = 0x2004 {"%d %d"} 0x139c 4 rsi = 0x4050 {""} 0x13a3 5 rdx = 0x4054 {""} 0x13aa 6 eax = 0 0x13ac 7 call(0x1050) 0x13b8 8 if ([0x4050].d s<= 0) then 9 @ 0x13f8 else 10 @ 0x13ba 0x13f8 9 if ([0x4054].d s<= 0) then 14 @ 0x1431 else 18 @ 0x13fa 0x13ba 10 r15 = 0x4060 {""} 0x13c1 11 r14 = 0x2007 {"%d"} 0x13c8 12 ebx = 0 0x13ca 13 goto 22 @ 0x13d0 0x1431 14 rbx = pop 0x1432 15 r14 = pop 0x1434 16 r15 = pop 0x1436 17 <return> jump(pop) 0x13fa 18 r15 = 0x41f0 {""} 0x1401 19 r14 = 0x2007 {"%d"} 0x1408 20 ebx = 0 0x140a 21 goto 30 @ 0x1410 0x13d0 22 rdi = r14 0x13d3 23 rsi = r15 0x13d6 24 eax = 0 0x13d8 25 call(0x1050) 0x13dd 26 rbx = rbx + 1 0x13e1 27 rax = sx.q([0x4050].d) 0x13e8 28 r15 = r15 + 4 0x13ef 29 if (rbx s< rax) then 22 @ 0x13d0 else 9 @ 0x13f8 0x1410 30 rdi = r14 0x1413 31 rsi = r15 0x1416 32 eax = 0 0x1418 33 call(0x1050) 0x141d 34 rbx = rbx + 1 0x1421 35 rax = sx.q([0x4054].d) 0x1428 36 r15 = r15 + 4 0x142f 37 if (rbx s< rax) then 30 @ 0x1410 else 14 @ 0x1431 void queue(): 0x1440 0 r9d = [0x4050].d 0x144b 1 if (r9d s< 2) then 2 @ 0x14a0 else 4 @ 0x144d 0x14a0 2 r9d = [0x4054].d 0x14ab 3 if (r9d s< 2) then 9 @ 0x1500 else 10 @ 0x14ad 0x144d 4 r8d = (r9 - 1).d 0x1451 5 r10d = 0 0x1454 6 rsi = 0x4060 {""} 0x145b 7 r11d = r8d 0x145e 8 goto 15 @ 0x146d 0x1500 9 <return> jump(pop) 0x14ad 10 r8d = (r9 - 1).d 0x14b1 11 r10d = 0 0x14b4 12 rsi = 0x41f0 {""} 0x14bb 13 r11d = r8d 0x14be 14 goto 20 @ 0x14cd 0x146d 15 r11d = r11d 0x1470 16 eax = r10d 0x1473 17 eax = not.d(eax) 0x1475 18 eax = eax + r9d 0x147a 19 if (eax s<= 0) then 25 @ 0x1460 else 28 @ 0x147c 0x14cd 20 r11d = r11d 0x14d0 21 eax = r10d 0x14d3 22 eax = not.d(eax) 0x14d5 23 eax = eax + r9d 0x14da 24 if (eax s<= 0) then 30 @ 0x14c0 else 33 @ 0x14dc 0x1460 25 r10d = r10d + 1 0x1464 26 r11d = r11d - 1 0x146b 27 if (r10d == r8d) then 2 @ 0x14a0 else 15 @ 0x146d 0x147c 28 ecx = 0 0x147e 29 goto 35 @ 0x1488 0x14c0 30 r10d = r10d + 1 0x14c4 31 r11d = r11d - 1 0x14cb 32 if (r10d == r8d) then 9 @ 0x1500 else 20 @ 0x14cd 0x14dc 33 ecx = 0 0x14de 34 goto 39 @ 0x14e8 0x1488 35 edx = [rsi + (rcx << 2)].d 0x148b 36 edi = [rsi + (rcx << 2) + 4].d 0x148f 37 rax = rcx + 1 0x1495 38 if (edx s<= edi) then 43 @ 0x1480 else 45 @ 0x1497 0x14e8 39 edx = [rsi + (rcx << 2)].d 0x14eb 40 edi = [rsi + (rcx << 2) + 4].d 0x14ef 41 rax = rcx + 1 0x14f5 42 if (edx s<= edi) then 48 @ 0x14e0 else 50 @ 0x14f7 0x1480 43 rcx = rax 0x1486 44 if (r11 == rax) then 25 @ 0x1460 else 35 @ 0x1488 0x1497 45 [rsi + (rcx << 2)].d = edi 0x149a 46 [rsi + (rcx << 2) + 4].d = edx 0x149e 47 goto 43 @ 0x1480 0x14e0 48 rcx = rax 0x14e6 49 if (r11 == rax) then 30 @ 0x14c0 else 39 @ 0x14e8 0x14f7 50 [rsi + (rcx << 2)].d = edi 0x14fa 51 [rsi + (rcx << 2) + 4].d = edx 0x14fe 52 goto 48 @ 0x14e0 void combine(): 0x1510 0 push(rbx) 0x1511 1 ebx = [0x4050].d 0x1519 2 if (ebx s<= 0) then 3 @ 0x1536 else 5 @ 0x151b 0x1536 3 edx = [0x4054].d 0x153e 4 if (edx s<= 0) then 10 @ 0x155e else 12 @ 0x1540 0x151b 5 rdx = rbx << 2 0x1523 6 rdi = 0x4380 {""} 0x152a 7 rsi = 0x4060 {""} 0x1531 8 call(0x1040) 0x1531 9 goto 3 @ 0x1536 0x155e 10 rbx = pop 0x155f 11 <return> jump(pop) 0x1540 12 rax = sx.q(ebx) 0x1543 13 rcx = 0x4380 {""} 0x154a 14 rdi = rcx + (rax << 2) 0x154e 15 rdx = rdx << 2 0x1552 16 rsi = 0x41f0 {""} 0x1559 17 call(0x1040) 0x1559 18 goto 10 @ 0x155e int64_t put(): 0x1560 0 push(r15) 0x1562 1 push(r14) 0x1564 2 push(rbx) 0x1565 3 eax = [0x4050].d 0x156b 4 ecx = [0x4054].d 0x1571 5 eax = eax + ecx 0x1573 6 eax = eax - 1 0x1578 7 if (eax s<= 0) then 8 @ 0x15be else 18 @ 0x157a 0x15be 8 rax = sx.q(eax) 0x15c0 9 rcx = 0x4380 {""} 0x15c7 10 esi = [rcx + (rax << 2)].d 0x15ca 11 rdi = 0x2007 {"%d"} 0x15d1 12 eax = 0 0x15d3 13 call(0x1030) 0x15d8 14 rbx = pop 0x15d9 15 r14 = pop 0x15db 16 r15 = pop 0x15dd 17 <return> jump(pop) 0x157a 18 r15 = 0x4380 {""} 0x1581 19 r14 = 0x200a {"%d "} 0x1588 20 ebx = 0 0x158a 21 goto 22 @ 0x1590 0x1590 22 esi = [r15].d 0x1593 23 rdi = r14 0x1596 24 eax = 0 0x1598 25 call(0x1030) 0x159d 26 rbx = rbx + 1 0x15a1 27 eax = [0x4050].d 0x15a7 28 ecx = [0x4054].d 0x15ad 29 eax = eax + ecx 0x15af 30 eax = eax - 1 0x15b2 31 rcx = sx.q(eax) 0x15b5 32 r15 = r15 + 4 0x15bc 33 if (rbx s< rcx) then 22 @ 0x1590 else 8 @ 0x15be int64_t _fini(): 0x15e4 0 rsp = rsp - 8 0x15e8 1 rsp = rsp + 8 0x15ec 2 <return> jump(pop)
POJ_8
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) int32_t strcmp(char const* arg1, char const* arg2): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"SH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbx) 0x1171 1 rsp = rsp - 0xf0 0x1178 2 rdi = 0x2004 {"%s%s"} 0x117f 3 rbx = rsp + 0x80 {var_78} 0x1187 4 rdx = rsp + 0x10 {var_e8} 0x118c 5 rsi = rbx {var_78} 0x118f 6 eax = 0 0x1191 7 call(0x1050) 0x1196 8 rdi = rbx {var_78} 0x1199 9 call(0x1040) 0x11a0 10 if (eax s<= 0) then 11 @ 0x123e else 18 @ 0x11a6 0x123e 11 rdi = rsp + 0x80 {var_78} 0x1246 12 rsi = rsp + 0x10 {var_e8} 0x124b 13 call(0x1060) 0x1250 14 cond:0 = eax == 0 0x1252 15 rax = 0x2009 {"YES"} 0x1259 16 rdi = 0x200d {"NO"} 0x1260 17 if (cond:0) then 21 else 23 @ 0x1264 0x11a6 18 r9d = (rax - 1).d 0x11aa 19 r8d = 1 0x11b0 20 goto 33 @ 0x11d0 0x1260 21 rdi = rax 0x1260 22 goto 23 @ 0x1264 0x1264 23 eax = 0 0x1266 24 call(0x1030) 0x126b 25 rdi = 0x2010 {"%d"} 0x1272 26 rsi = rsp + 0xc {var_ec} 0x1277 27 eax = 0 0x1279 28 call(0x1050) 0x127e 29 eax = 0 0x1280 30 rsp = rsp + 0xf0 0x1287 31 rbx = pop 0x1288 32 <return> jump(pop) 0x11d0 33 r9d = r9d 0x11d6 34 if (r8d s>= eax) then 35 @ 0x11c0 else 40 @ 0x11d8 0x11c0 35 ecx = (r8 + 1).d 0x11c4 36 r9d = r9d - 1 0x11c8 37 cond:1 = r8d == eax 0x11cb 38 r8d = ecx 0x11ce 39 if (cond:1) then 11 @ 0x123e else 33 @ 0x11d0 0x11d8 40 bl = [rsp + 0x80 {var_78}].b 0x11df 41 esi = 0 0x11e1 42 goto 43 @ 0x11f8 0x11f8 43 edx = zx.d([rsp + rsi + 0x81].b) 0x1202 44 if (dl s>= bl) then 45 @ 0x1220 else 47 @ 0x1204 0x1220 45 ebx = edx 0x1220 46 goto 50 @ 0x1222 0x1204 47 [rsp + rsi + 0x80].b = dl 0x120b 48 [rsp + rsi + 0x81].b = bl 0x1212 49 goto 50 @ 0x1222 0x1222 50 rdi = rsi + 1 0x1226 51 edx = zx.d([rsp + rsi + 0x10].b) 0x122b 52 ecx = zx.d([rsp + rsi + 0x11].b) 0x1232 53 if (cl s>= dl) then 54 @ 0x11f0 else 56 @ 0x1234 0x11f0 54 rsi = rdi 0x11f6 55 if (r9 == rdi) then 35 @ 0x11c0 else 43 @ 0x11f8 0x1234 56 [rsp + rsi + 0x10].b = cl 0x1238 57 [rsp + rsi + 0x11].b = dl 0x123c 58 goto 54 @ 0x11f0 int64_t _fini(): 0x1290 0 rsp = rsp - 8 0x1294 1 rsp = rsp + 8 0x1298 2 <return> jump(pop)
POJ_36
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHHpH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x70 0x1158 3 rdi = 0x2050 {"%d"} 0x115f 4 rsi = rbp - 0xc {var_14} 0x1163 5 al = 0 0x1165 6 call(0x1040) 0x116a 7 [rbp - 4 {var_c}].d = 0 0x116a 8 goto 9 @ 0x1171 0x1171 9 eax = [rbp - 4 {var_c}].d 0x1177 10 if (eax s>= [rbp - 0xc {var_14}].d) then 11 @ 0x11a8 else 13 @ 0x117d 0x11a8 11 [rbp - 8 {var_10}].d = 0 0x11a8 12 goto 24 @ 0x11af 0x117d 13 rsi = rbp - 0x60 {var_68} 0x1181 14 rax = sx.q([rbp - 4 {var_c}].d) 0x1185 15 rax = rax << 2 0x1189 16 rsi = rsi + rax 0x118c 17 rdi = 0x2050 {"%d"} 0x1193 18 al = 0 0x1195 19 call(0x1040) 0x119a 20 eax = [rbp - 4 {var_c}].d 0x119d 21 eax = eax + 1 0x11a0 22 [rbp - 4 {var_c}].d = eax 0x11a3 23 goto 9 @ 0x1171 0x11af 24 eax = [rbp - 8 {var_10}].d 0x11b5 25 if (eax s>= [rbp - 0xc {var_14}].d) then 26 @ 0x11ea else 32 @ 0x11bb 0x11ea 26 xmm0 = 0 0x11ed 27 [rbp - 0x6c {var_74}].d = xmm0.d 0x11f2 28 xmm0 = 0 0x11f5 29 [rbp - 0x68 {var_70}].d = xmm0.d 0x11fa 30 [rbp - 4 {var_c_1}].d = 0 0x11fa 31 goto 44 @ 0x1201 0x11bb 32 rsi = rbp - 0x60 {var_68} 0x11bf 33 rsi = rsi + 0x28 {var_40} 0x11c3 34 rax = sx.q([rbp - 8 {var_10}].d) 0x11c7 35 rax = rax << 2 0x11cb 36 rsi = rsi + rax 0x11ce 37 rdi = 0x2050 {"%d"} 0x11d5 38 al = 0 0x11d7 39 call(0x1040) 0x11dc 40 eax = [rbp - 8 {var_10}].d 0x11df 41 eax = eax + 1 0x11e2 42 [rbp - 8 {var_10}].d = eax 0x11e5 43 goto 24 @ 0x11af 0x1201 44 eax = [rbp - 4 {var_c_1}].d 0x1207 45 if (eax s>= [rbp - 0xc {var_14}].d) then 46 @ 0x143d else 57 @ 0x120d 0x143d 46 xmm0 = [rbp - 0x6c {var_74}].d 0x1442 47 xmm0.d = xmm0.d f/ fconvert.t([rbp - 0x68 {var_70}].d) 0x1447 48 [rbp - 0x70 {var_78}].d = xmm0.d 0x144c 49 xmm0 = [rbp - 0x70 {var_78}].d 0x1451 50 xmm0.q = fconvert.d(xmm0.d) 0x1455 51 rdi = 0x2053 {"%.2f\n"} 0x145c 52 al = 1 0x145e 53 call(0x1030) 0x1463 54 rsp = rsp + 0x70 0x1467 55 rbp = pop 0x1468 56 <return> jump(pop) 0x120d 57 rax = sx.q([rbp - 4 {var_c_1}].d) 0x1216 58 if ([rbp + (rax << 2) - 0x38].d s< 0x5a) then 59 @ 0x1240 else 61 @ 0x121c 0x1240 59 rax = sx.q([rbp - 4 {var_c_1}].d) 0x1249 60 if ([rbp + (rax << 2) - 0x38].d s< 0x55) then 68 @ 0x1273 else 70 @ 0x124f 0x121c 61 rax = sx.q([rbp - 4 {var_c_1}].d) 0x1220 62 xmm0.q = float.d([rbp + (rax << 2) - 0x60].d) 0x1226 63 xmm1 = zx.o([0x2048].q) 0x122e 64 xmm0.q = xmm0.q f* xmm1.q 0x1232 65 xmm0.d = fconvert.s(xmm0.q) 0x1236 66 [rbp - 0x64 {var_6c_1}].d = xmm0.d 0x123b 67 goto 77 @ 0x1408 0x1273 68 rax = sx.q([rbp - 4 {var_c_1}].d) 0x127c 69 if ([rbp + (rax << 2) - 0x38].d s< 0x52) then 89 @ 0x12a6 else 91 @ 0x1282 0x124f 70 rax = sx.q([rbp - 4 {var_c_1}].d) 0x1253 71 xmm0.q = float.d([rbp + (rax << 2) - 0x60].d) 0x1259 72 xmm1 = zx.o([0x2040].q) 0x1261 73 xmm0.q = xmm0.q f* xmm1.q 0x1265 74 xmm0.d = fconvert.s(xmm0.q) 0x1269 75 [rbp - 0x64 {var_6c_1}].d = xmm0.d 0x126e 76 goto 98 @ 0x1403 0x1408 77 xmm0 = [rbp - 0x6c {var_74}].d 0x140d 78 xmm0.d = xmm0.d f+ fconvert.t([rbp - 0x64 {var_6c_1}].d) 0x1412 79 [rbp - 0x6c {var_74}].d = xmm0.d 0x1417 80 xmm0 = [rbp - 0x68 {var_70}].d 0x141c 81 rax = sx.q([rbp - 4 {var_c_1}].d) 0x1420 82 xmm1.d = float.s([rbp + (rax << 2) - 0x60].d) 0x1426 83 xmm0.d = xmm0.d f+ xmm1.d 0x142a 84 [rbp - 0x68 {var_70}].d = xmm0.d 0x142f 85 eax = [rbp - 4 {var_c_1}].d 0x1432 86 eax = eax + 1 0x1435 87 [rbp - 4 {var_c_1}].d = eax 0x1438 88 goto 44 @ 0x1201 0x12a6 89 rax = sx.q([rbp - 4 {var_c_1}].d) 0x12af 90 if ([rbp + (rax << 2) - 0x38].d s< 0x4e) then 99 @ 0x12d9 else 101 @ 0x12b5 0x1282 91 rax = sx.q([rbp - 4 {var_c_1}].d) 0x1286 92 xmm0.q = float.d([rbp + (rax << 2) - 0x60].d) 0x128c 93 xmm1 = zx.o([0x2038].q) 0x1294 94 xmm0.q = xmm0.q f* xmm1.q 0x1298 95 xmm0.d = fconvert.s(xmm0.q) 0x129c 96 [rbp - 0x64 {var_6c_1}].d = xmm0.d 0x12a1 97 goto 108 @ 0x13fe 0x1403 98 goto 77 @ 0x1408 0x12d9 99 rax = sx.q([rbp - 4 {var_c_1}].d) 0x12e2 100 if ([rbp + (rax << 2) - 0x38].d s< 0x4b) then 109 @ 0x130c else 111 @ 0x12e8 0x12b5 101 rax = sx.q([rbp - 4 {var_c_1}].d) 0x12b9 102 xmm0.q = float.d([rbp + (rax << 2) - 0x60].d) 0x12bf 103 xmm1 = zx.o([0x2030].q) 0x12c7 104 xmm0.q = xmm0.q f* xmm1.q 0x12cb 105 xmm0.d = fconvert.s(xmm0.q) 0x12cf 106 [rbp - 0x64 {var_6c_1}].d = xmm0.d 0x12d4 107 goto 118 @ 0x13f9 0x13fe 108 goto 98 @ 0x1403 0x130c 109 rax = sx.q([rbp - 4 {var_c_1}].d) 0x1315 110 if ([rbp + (rax << 2) - 0x38].d s< 0x48) then 119 @ 0x133f else 121 @ 0x131b 0x12e8 111 rax = sx.q([rbp - 4 {var_c_1}].d) 0x12ec 112 xmm0.q = float.d([rbp + (rax << 2) - 0x60].d) 0x12f2 113 xmm1 = zx.o([0x2028].q) 0x12fa 114 xmm0.q = xmm0.q f* xmm1.q 0x12fe 115 xmm0.d = fconvert.s(xmm0.q) 0x1302 116 [rbp - 0x64 {var_6c_1}].d = xmm0.d 0x1307 117 goto 128 @ 0x13f4 0x13f9 118 goto 108 @ 0x13fe 0x133f 119 rax = sx.q([rbp - 4 {var_c_1}].d) 0x1348 120 if ([rbp + (rax << 2) - 0x38].d s< 0x44) then 129 @ 0x1372 else 131 @ 0x134e 0x131b 121 rax = sx.q([rbp - 4 {var_c_1}].d) 0x131f 122 xmm0.q = float.d([rbp + (rax << 2) - 0x60].d) 0x1325 123 xmm1 = zx.o([0x2020].q) 0x132d 124 xmm0.q = xmm0.q f* xmm1.q 0x1331 125 xmm0.d = fconvert.s(xmm0.q) 0x1335 126 [rbp - 0x64 {var_6c_1}].d = xmm0.d 0x133a 127 goto 138 @ 0x13ef 0x13f4 128 goto 118 @ 0x13f9 0x1372 129 rax = sx.q([rbp - 4 {var_c_1}].d) 0x137b 130 if ([rbp + (rax << 2) - 0x38].d s< 0x40) then 139 @ 0x13a5 else 141 @ 0x1381 0x134e 131 rax = sx.q([rbp - 4 {var_c_1}].d) 0x1352 132 xmm0.q = float.d([rbp + (rax << 2) - 0x60].d) 0x1358 133 xmm1 = zx.o([0x2018].q) 0x1360 134 xmm0.q = xmm0.q f* xmm1.q 0x1364 135 xmm0.d = fconvert.s(xmm0.q) 0x1368 136 [rbp - 0x64 {var_6c_1}].d = xmm0.d 0x136d 137 goto 148 @ 0x13ea 0x13ef 138 goto 128 @ 0x13f4 0x13a5 139 rax = sx.q([rbp - 4 {var_c_1}].d) 0x13ae 140 if ([rbp + (rax << 2) - 0x38].d s< 0x3c) then 149 @ 0x13d8 else 152 @ 0x13b4 0x1381 141 rax = sx.q([rbp - 4 {var_c_1}].d) 0x1385 142 xmm0.q = float.d([rbp + (rax << 2) - 0x60].d) 0x138b 143 xmm1 = zx.o([0x2010].q) 0x1393 144 xmm0.q = xmm0.q f* xmm1.q 0x1397 145 xmm0.d = fconvert.s(xmm0.q) 0x139b 146 [rbp - 0x64 {var_6c_1}].d = xmm0.d 0x13a0 147 goto 159 @ 0x13e5 0x13ea 148 goto 138 @ 0x13ef 0x13d8 149 xmm0 = 0 0x13db 150 [rbp - 0x64 {var_6c_1}].d = xmm0.d 0x13db 151 goto 160 @ 0x13e0 0x13b4 152 rax = sx.q([rbp - 4 {var_c_1}].d) 0x13b8 153 xmm0.q = float.d([rbp + (rax << 2) - 0x60].d) 0x13be 154 xmm1 = zx.o([0x2008].q) 0x13c6 155 xmm0.q = xmm0.q f* xmm1.q 0x13ca 156 xmm0.d = fconvert.s(xmm0.q) 0x13ce 157 [rbp - 0x64 {var_6c_1}].d = xmm0.d 0x13d3 158 goto 160 @ 0x13e0 0x13e5 159 goto 148 @ 0x13ea 0x13e0 160 goto 159 @ 0x13e5 int64_t _fini(): 0x1470 0 rsp = rsp - 8 0x1474 1 rsp = rsp + 8 0x1478 2 <return> jump(pop)
POJ_83
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x61aa0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 rdi = 0x200f {"%d"} 0x1169 5 rsi = rbp - 8 {var_10} 0x116d 6 al = 0 0x116f 7 call(0x1040) 0x1174 8 [rbp - 0x61a94 {var_61a9c}].d = 0 0x1174 9 goto 10 @ 0x117e 0x117e 10 eax = [rbp - 0x61a94 {var_61a9c}].d 0x1184 11 ecx = [rbp - 8 {var_10}].d 0x1187 12 ecx = ecx - 1 0x118c 13 if (eax s> ecx) then 14 @ 0x11e2 else 16 @ 0x1192 0x11e2 14 [rbp - 0x61a98 {var_61aa0}].d = 1 0x11e2 15 goto 32 @ 0x11ec 0x1192 16 rax = sx.q([rbp - 0x61a94 {var_61a9c}].d) 0x1199 17 rsi = rbp - 0x61a90 {var_61a98} 0x11a0 18 rax = rax << 3 0x11a4 19 rsi = rsi + rax 0x11a7 20 rax = sx.q([rbp - 0x61a94 {var_61a9c}].d) 0x11ae 21 rdx = rbp - 0x61a90 {var_61a98} 0x11b5 22 rax = rax << 3 0x11b9 23 rdx = rdx + rax 0x11bc 24 rdx = rdx + 4 0x11c0 25 rdi = 0x2004 {"%d%d"} 0x11c7 26 al = 0 0x11c9 27 call(0x1040) 0x11ce 28 eax = [rbp - 0x61a94 {var_61a9c}].d 0x11d4 29 eax = eax + 1 0x11d7 30 [rbp - 0x61a94 {var_61a9c}].d = eax 0x11dd 31 goto 10 @ 0x117e 0x11ec 32 eax = [rbp - 0x61a98 {var_61aa0}].d 0x11f5 33 if (eax s> [rbp - 8 {var_10}].d) then 34 @ 0x1300 else 38 @ 0x11fb 0x1300 34 eax = [rbp - 8 {var_10}].d 0x1303 35 eax = eax - 1 0x1306 36 [rbp - 0x61aa0 {var_61aa8}].d = eax 0x1306 37 goto 40 @ 0x1313 0x11fb 38 [rbp - 0x61a9c {var_61aa4_1}].d = 0 0x11fb 39 goto 41 @ 0x1205 0x1313 40 if ([rbp - 0x61aa0 {var_61aa8}].d s< 1) then 45 @ 0x13fe else 49 @ 0x1319 0x1205 41 eax = [rbp - 0x61a9c {var_61aa4_1}].d 0x120b 42 ecx = [rbp - 8 {var_10}].d 0x120e 43 ecx = ecx - [rbp - 0x61a98 {var_61aa0}].d 0x1216 44 if (eax s> ecx) then 55 @ 0x12e7 else 56 @ 0x121c 0x13fe 45 eax = 0 0x1400 46 rsp = rsp + 0x61aa0 0x1407 47 rbp = pop 0x1408 48 <return> jump(pop) 0x1319 49 eax = [rbp - 0x61aa0 {var_61aa8}].d 0x131f 50 eax = eax - 1 0x1322 51 rax = sx.q(eax) 0x1324 52 eax = [rbp + (rax << 3) - 0x61a90].d 0x132b 53 rcx = sx.q([rbp - 0x61aa0 {var_61aa8}].d) 0x1339 54 if (eax s<= [rbp + (rcx << 3) - 0x61a8c].d) then 62 @ 0x1352 else 74 @ 0x133f 0x12e7 55 goto 78 @ 0x12ec 0x121c 56 eax = [rbp - 0x61a9c {var_61aa4_1}].d 0x1222 57 eax = eax + 1 0x1225 58 rax = sx.q(eax) 0x1227 59 eax = [rbp + (rax << 3) - 0x61a90].d 0x122e 60 rcx = sx.q([rbp - 0x61a9c {var_61aa4_1}].d) 0x123c 61 if (eax s< [rbp + (rcx << 3) - 0x61a90].d) then 82 @ 0x12ce else 83 @ 0x1242 0x1352 62 rax = sx.q([rbp - 0x61aa0 {var_61aa8}].d) 0x1359 63 ecx = [rbp + (rax << 3) - 0x61a90].d 0x1360 64 eax = [rbp - 0x61aa0 {var_61aa8}].d 0x1366 65 eax = eax - 1 0x1369 66 rax = sx.q(eax) 0x136b 67 [rbp + (rax << 3) - 0x61a90].d = ecx 0x1372 68 rax = sx.q([rbp - 0x61aa0 {var_61aa8}].d) 0x1379 69 eax = [rbp + (rax << 3) - 0x61a8c].d 0x1380 70 ecx = [rbp - 0x61aa0 {var_61aa8}].d 0x1386 71 ecx = ecx - 1 0x1389 72 rcx = sx.q(ecx) 0x1393 73 if (eax s<= [rbp + (rcx << 3) - 0x61a8c].d) then 112 @ 0x13b9 else 113 @ 0x1399 0x133f 74 rdi = 0x2009 {"no"} 0x1346 75 al = 0 0x1348 76 call(0x1030) 0x134d 77 goto 45 @ 0x13fe 0x12ec 78 eax = [rbp - 0x61a98 {var_61aa0}].d 0x12f2 79 eax = eax + 1 0x12f5 80 [rbp - 0x61a98 {var_61aa0}].d = eax 0x12fb 81 goto 32 @ 0x11ec 0x12ce 82 goto 120 @ 0x12d3 0x1242 83 eax = [rbp - 0x61a9c {var_61aa4_1}].d 0x1248 84 eax = eax + 1 0x124b 85 rax = sx.q(eax) 0x124d 86 eax = [rbp + (rax << 3) - 0x61a90].d 0x1254 87 [rbp - 0xc {var_14_1}].d = eax 0x1257 88 rax = sx.q([rbp - 0x61a9c {var_61aa4_1}].d) 0x125e 89 ecx = [rbp + (rax << 3) - 0x61a90].d 0x1265 90 eax = [rbp - 0x61a9c {var_61aa4_1}].d 0x126b 91 eax = eax + 1 0x126e 92 rax = sx.q(eax) 0x1270 93 [rbp + (rax << 3) - 0x61a90].d = ecx 0x1277 94 ecx = [rbp - 0xc {var_14_1}].d 0x127a 95 rax = sx.q([rbp - 0x61a9c {var_61aa4_1}].d) 0x1281 96 [rbp + (rax << 3) - 0x61a90].d = ecx 0x1288 97 eax = [rbp - 0x61a9c {var_61aa4_1}].d 0x128e 98 eax = eax + 1 0x1291 99 rax = sx.q(eax) 0x1293 100 eax = [rbp + (rax << 3) - 0x61a8c].d 0x129a 101 [rbp - 0xc {var_14_2}].d = eax 0x129d 102 rax = sx.q([rbp - 0x61a9c {var_61aa4_1}].d) 0x12a4 103 ecx = [rbp + (rax << 3) - 0x61a8c].d 0x12ab 104 eax = [rbp - 0x61a9c {var_61aa4_1}].d 0x12b1 105 eax = eax + 1 0x12b4 106 rax = sx.q(eax) 0x12b6 107 [rbp + (rax << 3) - 0x61a8c].d = ecx 0x12bd 108 ecx = [rbp - 0xc {var_14_2}].d 0x12c0 109 rax = sx.q([rbp - 0x61a9c {var_61aa4_1}].d) 0x12c7 110 [rbp + (rax << 3) - 0x61a8c].d = ecx 0x12c7 111 goto 82 @ 0x12ce 0x13b9 112 goto 124 @ 0x13c5 0x1399 113 rax = sx.q([rbp - 0x61aa0 {var_61aa8}].d) 0x13a0 114 ecx = [rbp + (rax << 3) - 0x61a8c].d 0x13a7 115 eax = [rbp - 0x61aa0 {var_61aa8}].d 0x13ad 116 eax = eax - 1 0x13b0 117 rax = sx.q(eax) 0x13b2 118 [rbp + (rax << 3) - 0x61a8c].d = ecx 0x13b2 119 goto 112 @ 0x13b9 0x12d3 120 eax = [rbp - 0x61a9c {var_61aa4_1}].d 0x12d9 121 eax = eax + 1 0x12dc 122 [rbp - 0x61a9c {var_61aa4_1}].d = eax 0x12e2 123 goto 41 @ 0x1205 0x13c5 124 if ([rbp - 0x61aa0 {var_61aa8}].d != 1) then 125 @ 0x13e5 else 126 @ 0x13cb 0x13e5 125 goto 132 @ 0x13ea 0x13cb 126 esi = [rbp - 0x61a90 {var_61a98}].d 0x13d1 127 edx = [rbp - 0x61a8c {var_61a94}].d 0x13d7 128 rdi = 0x200c {"%d %d"} 0x13de 129 al = 0 0x13e0 130 call(0x1030) 0x13e0 131 goto 125 @ 0x13e5 0x13ea 132 eax = [rbp - 0x61aa0 {var_61aa8}].d 0x13f0 133 eax = eax - 1 0x13f3 134 [rbp - 0x61aa0 {var_61aa8}].d = eax 0x13f9 135 goto 40 @ 0x1313 int64_t _fini(): 0x1410 0 rsp = rsp - 8 0x1414 1 rsp = rsp + 8 0x1418 2 <return> jump(pop)
POJ_76
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4040].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4040].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0x1b0 0x115c 4 rdi = 0x2013 {"%d"} 0x1163 5 ebx = 0 0x1165 6 rsi = rsp + 0xc {var_1bc} 0x116a 7 eax = 0 0x116c 8 call(0x1040) 0x1176 9 if ([rsp + 0xc {var_1bc}].d s<= 0) then 10 @ 0x12a7 else 20 @ 0x117c 0x12a7 10 rdi = 0x2019 {"%d\n"} 0x12ae 11 esi = ebx 0x12b0 12 eax = 0 0x12b2 13 call(0x1030) 0x12b7 14 eax = 0 0x12b9 15 rsp = rsp + 0x1b0 0x12c0 16 rbx = pop 0x12c1 17 r14 = pop 0x12c3 18 r15 = pop 0x12c5 19 <return> jump(pop) 0x117c 20 rbx = 0x4050 {""} 0x1183 21 r14 = 0x2004 {"%s %d %d %c %c %d"} 0x118a 22 r15d = 0 0x118d 23 goto 24 @ 0x1190 0x1190 24 rdx = rbx + 0x14 0x1194 25 rcx = rbx + 0x18 0x1198 26 r8 = rbx + 0x1c 0x119c 27 r9 = rbx + 0x1d 0x11a0 28 rax = rbx + 0x20 0x11a4 29 [rsp {var_1c8_1}].q = rax 0x11a8 30 rdi = r14 0x11ab 31 rsi = rbx 0x11ae 32 eax = 0 0x11b0 33 call(0x1040) 0x11b5 34 [rsp + (r15 << 2) + 0x10].d = 0 0x11be 35 r15 = r15 + 1 0x11c2 36 rax = sx.q([rsp + 0xc {var_1bc}].d) 0x11c7 37 rbx = rbx + 0x24 0x11ce 38 if (r15 s< rax) then 24 @ 0x1190 else 39 @ 0x11d0 0x11d0 39 eax = eax 0x11d4 40 if (eax s<= 0) then 41 @ 0x1295 else 43 @ 0x11da 0x1295 41 ebx = 0 0x1297 42 goto 10 @ 0x12a7 0x11da 43 ecx = 0 0x11dc 44 rsi = 0x4070 {""} 0x11e3 45 ebx = 0 0x11e5 46 edx = 0 0x11e7 47 goto 48 @ 0x1208 0x1208 48 edi = [rsi - 0xc].d 0x120e 49 if (edi s< 0x51) then 50 @ 0x1244 else 51 @ 0x1213 0x1244 50 if ([rsi - 8].d s< 0x51) then 52 @ 0x11f0 else 54 @ 0x124a 0x1213 51 if ([rsi].d s<= 0) then 55 @ 0x1220 else 56 @ 0x1215 0x11f0 52 edi = [rsp + (rcx << 2) + 0x10].d 0x11f6 53 if (edx s< edi) then 58 else 60 @ 0x11f9 0x124a 54 if ([rsi - 4].b != 0x59) then 52 @ 0x11f0 else 64 @ 0x124c 0x1220 55 if (edi u< 0x56) then 50 @ 0x1244 else 66 @ 0x1226 0x1215 56 [rsp + (rcx << 2) + 0x10].d = [rsp + (rcx << 2) + 0x10].d + 0x1f40 0x1215 57 goto 55 @ 0x1220 0x11f6 58 edx = edi 0x11f6 59 goto 60 @ 0x11f9 0x11f9 60 ebx = ebx + edi 0x11fb 61 rcx = rcx + 1 0x11ff 62 rsi = rsi + 0x24 0x1206 63 if (rax == rcx) then 67 @ 0x1275 else 48 @ 0x1208 0x124c 64 [rsp + (rcx << 2) + 0x10].d = [rsp + (rcx << 2) + 0x10].d + 0x352 0x1254 65 goto 52 @ 0x11f0 0x1226 66 if ([rsi - 8].d s>= 0x51) then 68 @ 0x1256 else 70 @ 0x122b 0x1275 67 if (eax s<= 0) then 10 @ 0x12a7 else 71 @ 0x1277 0x1256 68 [rsp + (rcx << 2) + 0x10].d = [rsp + (rcx << 2) + 0x10].d + 0xfa0 0x1261 69 if (edi u< 0x5b) then 74 @ 0x1231 else 75 @ 0x1263 0x122b 70 if (edi u>= 0x5b) then 75 @ 0x1263 else 74 @ 0x1231 0x1277 71 rsi = 0x4050 {""} 0x127e 72 ecx = 0 0x127e 73 goto 77 @ 0x1284 0x1231 74 if ([rsi - 3].b != 0x59) then 50 @ 0x1244 else 78 @ 0x1233 0x1263 75 [rsp + (rcx << 2) + 0x10].d = [rsp + (rcx << 2) + 0x10].d + 0x7d0 0x126f 76 if ([rsi - 3].b == 0x59) then 78 @ 0x1233 else 80 @ 0x1271 0x1284 77 if (edx == [rsp + (rcx << 2) + 0x10].d) then 81 @ 0x1299 else 85 @ 0x1286 0x1233 78 [rsp + (rcx << 2) + 0x10].d = [rsp + (rcx << 2) + 0x10].d + 0x3e8 0x123b 79 goto 50 @ 0x1244 0x1271 80 goto 50 @ 0x1244 0x1299 81 rdi = 0x2016 {"%s\n%d\n"} 0x12a0 82 eax = 0 0x12a2 83 call(0x1030) 0x12a2 84 goto 10 @ 0x12a7 0x1286 85 rcx = rcx + 1 0x128a 86 rsi = rsi + 0x24 0x1291 87 if (rax != rcx) then 77 @ 0x1284 else 88 @ 0x1293 0x1293 88 goto 10 @ 0x12a7 int64_t _fini(): 0x12cc 0 rsp = rsp - 8 0x12d0 1 rsp = rsp + 8 0x12d4 2 <return> jump(pop)
POJ_39
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1270 {"UHH E"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) uint64_t prime(double arg1): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x10 0x1168 3 [rbp - 4 {var_c}].d = edi 0x116b 4 [rbp - 0x10 {var_18}].d = 1 0x1172 5 xmm0.q = float.d([rbp - 4 {var_c}].d) 0x1177 6 call(0x1050) 0x117c 7 eax = int.d(ftrunc(xmm0.q)) 0x1180 8 [rbp - 8 {var_10}].d = eax 0x1183 9 [rbp - 0xc {var_14}].d = 2 0x1183 10 goto 11 @ 0x118a 0x118a 11 eax = [rbp - 0xc {var_14}].d 0x1190 12 if (eax s> [rbp - 8 {var_10}].d) then 13 @ 0x11c9 else 17 @ 0x1196 0x11c9 13 eax = [rbp - 0x10 {var_18}].d 0x11cc 14 rsp = rsp + 0x10 0x11d0 15 rbp = pop 0x11d1 16 <return> jump(pop) 0x1196 17 eax = [rbp - 4 {var_c}].d 0x1199 18 temp2.d:temp3.d = sx.q(eax) 0x1199 19 edx = temp2.d 0x1199 20 eax = temp3.d 0x119a 21 temp4.d = edx 0x119a 22 temp5.d = eax 0x119a 23 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0xc {var_14}].d) 0x119a 24 temp6.d = edx 0x119a 25 temp7.d = eax 0x119a 26 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0xc {var_14}].d) 0x119a 27 eax = temp0.d 0x119a 28 edx = temp1.d 0x119d 29 eax = eax * [rbp - 0xc {var_14}].d 0x11a4 30 if (eax != [rbp - 4 {var_c}].d) then 31 @ 0x11b6 else 32 @ 0x11aa 0x11b6 31 goto 34 @ 0x11bb 0x11aa 32 [rbp - 0x10 {var_18}].d = 0 0x11b1 33 goto 13 @ 0x11c9 0x11bb 34 eax = [rbp - 0xc {var_14}].d 0x11be 35 eax = eax + 1 0x11c1 36 [rbp - 0xc {var_14}].d = eax 0x11c4 37 goto 11 @ 0x118a uint64_t hw(int32_t arg1): 0x11e0 0 push(rbp) 0x11e1 1 rbp = rsp {__saved_rbp} 0x11e4 2 [rbp - 8 {var_10}].d = edi 0x11e7 3 [rbp - 0x14 {var_1c}].d = 0 0x11ee 4 eax = [rbp - 8 {var_10}].d 0x11f1 5 [rbp - 0xc {var_14}].d = eax 0x11f4 6 eax = [rbp - 8 {var_10}].d 0x11f7 7 [rbp - 0x10 {var_18}].d = eax 0x11f7 8 goto 9 @ 0x11fa 0x11fa 9 eax = [rbp - 0x10 {var_18}].d 0x11fd 10 ecx = 0xa {""} 0x1202 11 temp2.d:temp3.d = sx.q(eax) 0x1202 12 edx = temp2.d 0x1202 13 eax = temp3.d 0x1203 14 temp4.d = edx 0x1203 15 temp5.d = eax 0x1203 16 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x1203 17 temp6.d = edx 0x1203 18 temp7.d = eax 0x1203 19 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x1203 20 eax = temp0.d 0x1203 21 edx = temp1.d 0x1208 22 if (eax s<= 0) then 23 @ 0x123b else 28 @ 0x120e 0x123b 23 eax = [rbp - 0x14 {var_1c}].d * 0xa 0x123f 24 eax = eax + [rbp - 0x10 {var_18}].d 0x1242 25 [rbp - 0x14 {var_1c_1}].d = eax 0x1245 26 eax = [rbp - 0x14 {var_1c_1}].d 0x124b 27 if (eax != [rbp - 0xc {var_14}].d) then 61 @ 0x125d else 63 @ 0x1251 0x120e 28 eax = [rbp - 0x14 {var_1c}].d * 0xa 0x1212 29 [rbp - 0x18 {var_20_1}].d = eax 0x1215 30 eax = [rbp - 0x10 {var_18}].d 0x1218 31 ecx = 0xa {""} 0x121d 32 temp8.d:temp9.d = sx.q(eax) 0x121d 33 edx = temp8.d 0x121d 34 eax = temp9.d 0x121e 35 temp10.d = edx 0x121e 36 temp11.d = eax 0x121e 37 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x121e 38 temp12.d = edx 0x121e 39 temp13.d = eax 0x121e 40 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x121e 41 eax = temp0.d 0x121e 42 edx = temp1.d 0x1220 43 eax = [rbp - 0x18 {var_20_1}].d 0x1223 44 eax = eax + edx 0x1225 45 [rbp - 0x14 {var_1c}].d = eax 0x1228 46 eax = [rbp - 0x10 {var_18}].d 0x122b 47 ecx = 0xa {""} 0x1230 48 temp14.d:temp15.d = sx.q(eax) 0x1230 49 edx = temp14.d 0x1230 50 eax = temp15.d 0x1231 51 temp16.d = edx 0x1231 52 temp17.d = eax 0x1231 53 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x1231 54 temp18.d = edx 0x1231 55 temp19.d = eax 0x1231 56 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x1231 57 eax = temp0.d 0x1231 58 edx = temp1.d 0x1233 59 [rbp - 0x10 {var_18}].d = eax 0x1236 60 goto 9 @ 0x11fa 0x125d 61 [rbp - 4 {var_c}].d = 0 0x125d 62 goto 65 @ 0x1264 0x1251 63 [rbp - 4 {var_c}].d = 1 0x1258 64 goto 65 @ 0x1264 0x1264 65 eax = [rbp - 4 {var_c}].d 0x1267 66 rbp = pop 0x1268 67 <return> jump(pop) int32_t main(int32_t argc, char** argv, char** envp): 0x1270 0 push(rbp) 0x1271 1 rbp = rsp {__saved_rbp} 0x1274 2 rsp = rsp - 0x20 0x1278 3 [rbp - 4 {var_c}].d = 0 0x127f 4 [rbp - 0x14 {var_1c}].d = 0 0x1286 5 rdi = 0x2004 {"%d %d"} 0x128d 6 rsi = rbp - 8 {var_10} 0x1291 7 rdx = rbp - 0xc {var_14} 0x1295 8 al = 0 0x1297 9 call(0x1040) 0x129c 10 eax = [rbp - 8 {var_10}].d 0x129f 11 [rbp - 0x10 {var_18}].d = eax 0x129f 12 goto 13 @ 0x12a2 0x12a2 13 eax = [rbp - 0x10 {var_18}].d 0x12a8 14 if (eax s> [rbp - 0xc {var_14}].d) then 15 @ 0x1319 else 16 @ 0x12ae 0x1319 15 if ([rbp - 0x14 {var_1c}].d != 0) then 19 @ 0x1332 else 23 @ 0x131f 0x12ae 16 edi = [rbp - 0x10 {var_18}].d 0x12b1 17 call(0x1160) 0x12b9 18 if (eax != 1) then 27 @ 0x1302 else 28 @ 0x12bf 0x1332 19 rdi = 0x200e {"\n"} 0x1339 20 al = 0 0x133b 21 call(0x1030) 0x133b 22 goto 31 @ 0x1340 0x131f 23 rdi = 0x200c {"no\n"} 0x1326 24 al = 0 0x1328 25 call(0x1030) 0x132d 26 goto 31 @ 0x1340 0x1302 27 goto 35 @ 0x1307 0x12bf 28 edi = [rbp - 0x10 {var_18}].d 0x12c2 29 call(0x11e0) 0x12ca 30 if (eax != 1) then 27 @ 0x1302 else 39 @ 0x12d0 0x1340 31 eax = 0 0x1342 32 rsp = rsp + 0x20 0x1346 33 rbp = pop 0x1347 34 <return> jump(pop) 0x1307 35 eax = [rbp - 0x10 {var_18}].d 0x130a 36 eax = eax + 1 0x130d 37 [rbp - 0x10 {var_18}].d = eax 0x1310 38 goto 13 @ 0x12a2 0x12d0 39 eax = [rbp - 0x14 {var_1c}].d 0x12d3 40 eax = eax + 1 0x12d6 41 [rbp - 0x14 {var_1c}].d = eax 0x12dd 42 if ([rbp - 0x14 {var_1c}].d s<= 1) then 43 @ 0x12f1 else 48 @ 0x12e3 0x12f1 43 esi = [rbp - 0x10 {var_18}].d 0x12f4 44 rdi = 0x2007 {"%d"} 0x12fb 45 al = 0 0x12fd 46 call(0x1030) 0x12fd 47 goto 27 @ 0x1302 0x12e3 48 rdi = 0x200a {","} 0x12ea 49 al = 0 0x12ec 50 call(0x1030) 0x12ec 51 goto 43 @ 0x12f1 int64_t _fini(): 0x134c 0 rsp = rsp - 8 0x1350 1 rsp = rsp + 8 0x1354 2 <return> jump(pop)
POJ_74
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0xfb8 0x1161 7 r14 = 0x2004 {"%d"} 0x1168 8 r12d = 0 0x116b 9 rsi = rsp + 0xc {var_fdc} 0x1170 10 rdi = r14 0x1173 11 eax = 0 0x1175 12 call(0x1040) 0x117f 13 if ([rsp + 0xc {var_fdc}].d s<= 0) then 14 @ 0x11eb else 19 @ 0x1181 0x11eb 14 r8d = (r12 + 1).d 0x11f0 15 r15d = r12d 0x11f3 16 r11d = 0 0x11f6 17 r13d = r8d 0x11f9 18 goto 24 @ 0x1215 0x1181 19 rbx = rsp + 0x7e0 {var_808} 0x1189 20 r15 = 0x2004 {"%d"} 0x1190 21 r13d = 0 0x1193 22 r12d = 0 0x1196 23 goto 32 @ 0x11b2 0x1215 24 r12d = zx.d(r12b) 0x1219 25 r12d = r12d & 3 0x121d 26 r13d = r13d 0x1220 27 r10 = r15 0x1223 28 eax = 0 0x1228 29 temp0.q = r10 0x1228 30 r10 = r10 - r11 0x122b 31 if (temp0.q s<= r11) then 44 @ 0x1273 else 45 @ 0x122d 0x11b2 32 rdi = r15 0x11b5 33 rsi = rbx 0x11b8 34 eax = 0 0x11ba 35 call(0x1040) 0x11bf 36 eax = [rbx].d 0x11c1 37 ecx = eax 0x11c3 38 ecx = ecx u>> 0x1f 0x11c6 39 ecx = ecx + eax 0x11c8 40 ecx = ecx & 0xfffffffe 0x11cb 41 edx = eax 0x11cd 42 edx = edx - ecx 0x11d2 43 if (edx != 1) then 48 @ 0x11a0 else 52 @ 0x11d4 0x1273 44 if (eax == r10d) then 56 @ 0x1200 else 60 @ 0x1275 0x122d 45 r9 = r13 - 1 0x1231 46 rax = r13 - 2 0x1239 47 if (rax u>= 3) then 66 @ 0x1290 else 72 @ 0x123b 0x11a0 48 r13 = r13 + 1 0x11a4 49 rax = sx.q([rsp + 0xc {var_fdc}].d) 0x11a9 50 rbx = rbx + 4 0x11b0 51 if (r13 s>= rax) then 75 @ 0x11e5 else 32 @ 0x11b2 0x11d4 52 r12 = sx.q(r12d) 0x11d7 53 [rsp + (r12 << 2) + 0x10].d = eax 0x11dc 54 r12d = r12d + 1 0x11e0 55 goto 48 @ 0x11a0 0x1200 56 r11 = r11 + 1 0x1204 57 r13d = r13d - 1 0x1208 58 r12b = r12b + 3 0x120f 59 if (r11 == r8) then 76 @ 0x133a else 24 @ 0x1215 0x1275 60 ecx = [rsp + (r10 << 2) + 0x10].d 0x127a 61 rax = sx.q(eax) 0x127c 62 edx = [rsp + (rax << 2) + 0x10].d 0x1280 63 [rsp + (r10 << 2) + 0x10].d = edx 0x1285 64 [rsp + (rax << 2) + 0x10].d = ecx 0x1289 65 goto 56 @ 0x1200 0x1290 66 rax = r9 0x1293 67 rax = rax & 0xfffffffffffffffc 0x1297 68 ecx = 0 0x1299 69 edi = 1 0x129e 70 esi = 0 0x12a0 71 goto 77 @ 0x12c3 0x123b 72 ebx = 0 0x123d 73 edi = 1 0x123d 74 goto 81 @ 0x1242 0x11e5 75 if (r12d s< 0) then 83 @ 0x136e else 14 @ 0x11eb 0x133a 76 if (r15d s<= 0) then 83 @ 0x136e else 92 @ 0x133c 0x12c3 77 rdx = sx.q(ecx) 0x12c6 78 ebp = [rsp + (rdi << 2) + 0x10].d 0x12ca 79 ebx = edi 0x12d0 80 if (ebp s<= [rsp + (rdx << 2) + 0x10].d) then 96 @ 0x1300 else 100 @ 0x12d2 0x1242 81 eax = ebx 0x1248 82 if ((r9b & 3) == 0) then 44 @ 0x1273 else 103 @ 0x124a 0x136e 83 eax = 0 0x1370 84 rsp = rsp + 0xfb8 0x1377 85 rbx = pop 0x1378 86 r12 = pop 0x137a 87 r13 = pop 0x137c 88 r14 = pop 0x137e 89 r15 = pop 0x1380 90 rbp = pop 0x1381 91 <return> jump(pop) 0x133c 92 r12d = (r15 + 1).d 0x1340 93 ebx = 1 0x1345 94 r13 = 0x2007 {"%d,"} 0x134c 95 goto 105 @ 0x1350 0x1300 96 ebx = ecx 0x1302 97 ecx = [rsp + (rdi << 2) + 0x14].d 0x1306 98 rdx = sx.q(ebx) 0x130d 99 if (ecx s<= [rsp + (rdx << 2) + 0x10].d) then 109 @ 0x12df else 112 @ 0x130f 0x12d2 100 ecx = [rsp + (rdi << 2) + 0x14].d 0x12d6 101 rdx = sx.q(ebx) 0x12dd 102 if (ecx s> [rsp + (rdx << 2) + 0x10].d) then 112 @ 0x130f else 109 @ 0x12df 0x124a 103 rsi = r12 0x124d 104 goto 116 @ 0x125c 0x1350 105 cond:0 = rbx u< r15 0x1353 106 esi = [rsp + (rbx << 2) + 0x10].d 0x1357 107 rdi = r14 0x135a 108 if (cond:0) then 120 else 122 @ 0x135e 0x12df 109 ecx = [rsp + (rdi << 2) + 0x18].d 0x12e3 110 rdx = sx.q(ebx) 0x12ea 111 if (ecx s> [rsp + (rdx << 2) + 0x10].d) then 126 @ 0x131f else 130 @ 0x12ec 0x130f 112 ebx = (rdi + 1).d 0x1312 113 ecx = [rsp + (rdi << 2) + 0x18].d 0x1316 114 rdx = sx.q(ebx) 0x131d 115 if (ecx s<= [rsp + (rdx << 2) + 0x10].d) then 130 @ 0x12ec else 126 @ 0x131f 0x125c 116 ecx = [rsp + (rdi << 2) + 0x10].d 0x1260 117 rdx = sx.q(ebx) 0x1263 118 eax = edi 0x1269 119 if (ecx s> [rsp + (rdx << 2) + 0x10].d) then 133 @ 0x1250 else 138 @ 0x126b 0x135a 120 rdi = r13 0x135a 121 goto 122 @ 0x135e 0x135e 122 eax = 0 0x1360 123 call(0x1030) 0x1365 124 rbx = rbx + 1 0x136c 125 if (r12 != rbx) then 105 @ 0x1350 else 83 @ 0x136e 0x131f 126 ebx = (rdi + 2).d 0x1322 127 ecx = [rsp + (rdi << 2) + 0x1c].d 0x1326 128 rdx = sx.q(ebx) 0x132d 129 if (ecx s<= [rsp + (rdx << 2) + 0x10].d) then 140 @ 0x12b0 else 144 @ 0x132f 0x12ec 130 ecx = [rsp + (rdi << 2) + 0x1c].d 0x12f0 131 rdx = sx.q(ebx) 0x12f7 132 if (ecx s<= [rsp + (rdx << 2) + 0x10].d) then 140 @ 0x12b0 else 146 @ 0x12f9 0x1250 133 rdi = rdi + 1 0x1254 134 ebx = eax 0x1256 135 temp1.q = rsi 0x1256 136 rsi = rsi - 1 0x125a 137 if (temp1.q == 1) then 44 @ 0x1273 else 116 @ 0x125c 0x126b 138 eax = ebx 0x126d 139 goto 133 @ 0x1250 0x12b0 140 rdi = rdi + 4 0x12b4 141 rsi = rsi + 4 0x12b8 142 ecx = ebx 0x12bd 143 if (rsi == rax) then 81 @ 0x1242 else 77 @ 0x12c3 0x132f 144 ebx = (rdi + 3).d 0x1332 145 goto 140 @ 0x12b0 0x12f9 146 goto 144 @ 0x132f int64_t _fini(): 0x1388 0 rsp = rsp - 8 0x138c 1 rsp = rsp + 8 0x1390 2 <return> jump(pop)
POJ_94
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 rsp = rsp - 0x7e8 0x116e 5 rdi = 0x2004 {"%d"} 0x1175 6 rsi = rsp + 0xc {var_7fc} 0x117a 7 eax = 0 0x117c 8 call(0x1040) 0x1186 9 if ([rsp + 0xc {var_7fc}].d s<= 0) then 10 @ 0x12f8 else 19 @ 0x118c 0x12f8 10 edi = 0xa {""} 0x12fd 11 call(0x1050) 0x1302 12 eax = 0 0x1304 13 rsp = rsp + 0x7e8 0x130b 14 rbx = pop 0x130c 15 r12 = pop 0x130e 16 r14 = pop 0x1310 17 r15 = pop 0x1312 18 <return> jump(pop) 0x118c 19 r14 = 0x2004 {"%d"} 0x1193 20 r15 = rsp + 8 {var_800} 0x1198 21 ebx = 0 0x119a 22 r12d = 0 0x119d 23 goto 24 @ 0x11a9 0x11a9 24 rdi = r14 0x11ac 25 rsi = r15 {var_800} 0x11af 26 eax = 0 0x11b1 27 call(0x1040) 0x11b6 28 eax = [rsp + 8 {var_800}].d 0x11bc 29 if ((al & 1) == 0) then 30 @ 0x11a0 else 32 @ 0x11be 0x11a0 30 ebx = ebx + 1 0x11a7 31 if (ebx s>= [rsp + 0xc {var_7fc}].d) then 36 @ 0x11cf else 24 @ 0x11a9 0x11be 32 rcx = sx.q(r12d) 0x11c1 33 r12d = r12d + 1 0x11c5 34 [rsp + (rcx << 2) + 0x10].d = eax 0x11c9 35 goto 30 @ 0x11a0 0x11cf 36 if (r12d s< 2) then 37 @ 0x12b2 else 38 @ 0x11d5 0x12b2 37 if (r12d s<= 0) then 10 @ 0x12f8 else 42 @ 0x12b4 0x11d5 38 r9d = (r12 - 1).d 0x11da 39 ecx = 1 0x11df 40 r10d = 0 0x11e2 41 goto 47 @ 0x1207 0x12b4 42 r15d = (r12 - 1).d 0x12b9 43 r12d = r12d 0x12bc 44 r14 = 0x2004 {"%d"} 0x12c3 45 ebx = 0 0x12c5 46 goto 48 @ 0x12d9 0x1207 47 if (r12d s<= ecx) then 53 @ 0x11f0 else 57 @ 0x1209 0x12d9 48 esi = [rsp + (rbx << 2) + 0x10].d 0x12dd 49 rdi = r14 0x12e0 50 eax = 0 0x12e2 51 call(0x1030) 0x12ea 52 if (rbx u>= r15) then 62 @ 0x12d0 else 64 @ 0x12ec 0x11f0 53 ecx = ecx + 1 0x11f3 54 r10d = r10d + 1 0x11f7 55 r9d = r9d - 1 0x11fe 56 if (ecx == r12d) then 37 @ 0x12b2 else 47 @ 0x1207 0x1209 57 r8d = r10d 0x120c 58 r8d = not.d(r8d) 0x120f 59 r8d = r8d + r12d 0x1212 60 edx = [rsp + 0x10 {var_7f8}].d 0x121a 61 if (r8d != 1) then 67 @ 0x1220 else 71 @ 0x121c 0x12d0 62 rbx = rbx + 1 0x12d7 63 if (r12 == rbx) then 10 @ 0x12f8 else 48 @ 0x12d9 0x12ec 64 edi = 0x2c {""} 0x12f1 65 call(0x1050) 0x12f6 66 goto 62 @ 0x12d0 0x1220 67 eax = r9d 0x1223 68 eax = eax & 0xfffffffe 0x1226 69 edi = 0 0x1228 70 goto 73 @ 0x1244 0x121c 71 ebx = 0 0x121e 72 goto 75 @ 0x128c 0x1244 73 esi = [rsp + (rdi << 2) + 0x14].d 0x124a 74 if (edx s<= esi) then 76 @ 0x1270 else 80 @ 0x124c 0x128c 75 if ((r8b & 1) == 0) then 53 @ 0x11f0 else 86 @ 0x1292 0x1270 76 edx = esi 0x1272 77 rbx = rdi + 2 0x1276 78 esi = [rsp + (rdi << 2) + 0x18].d 0x127c 79 if (edx s> esi) then 88 @ 0x1230 else 93 @ 0x127e 0x124c 80 [rsp + 8 {var_800}].d = esi 0x1250 81 [rsp + (rdi << 2) + 0x14].d = edx 0x1254 82 [rsp + (rdi << 2) + 0x10].d = esi 0x1258 83 rbx = rdi + 2 0x125c 84 esi = [rsp + (rdi << 2) + 0x18].d 0x1262 85 if (edx s> esi) then 88 @ 0x1230 else 96 @ 0x1264 0x1292 86 eax = [rsp + (rbx << 2) + 0x14].d 0x1298 87 if (edx s<= eax) then 53 @ 0x11f0 else 97 @ 0x129e 0x1230 88 [rsp + 8 {var_800}].d = esi 0x1234 89 [rsp + (rdi << 2) + 0x18].d = edx 0x1238 90 [rsp + (rdi << 2) + 0x14].d = esi 0x123c 91 rdi = rbx 0x1242 92 if (rax == rbx) then 75 @ 0x128c else 73 @ 0x1244 0x127e 93 edx = esi 0x1280 94 rdi = rbx 0x1286 95 if (rax != rbx) then 73 @ 0x1244 else 75 @ 0x128c 0x1264 96 goto 93 @ 0x127e 0x129e 97 [rsp + 8 {var_800}].d = eax 0x12a2 98 [rsp + (rbx << 2) + 0x14].d = edx 0x12a6 99 [rsp + (rbx << 2) + 0x10].d = eax 0x12aa 100 goto 53 @ 0x11f0 int64_t _fini(): 0x1318 0 rsp = rsp - 8 0x131c 1 rsp = rsp + 8 0x1320 2 <return> jump(pop)
POJ_94
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSHX"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0x1f58 0x1161 7 rdi = 0x2004 {"%d"} 0x1168 8 rsi = rsp + 0xc {var_1f7c} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1179 11 if ([rsp + 0xc {var_1f7c}].d s<= 0) then 12 @ 0x12fd else 21 @ 0x117f 0x12fd 12 eax = 0 0x12ff 13 rsp = rsp + 0x1f58 0x1306 14 rbx = pop 0x1307 15 r12 = pop 0x1309 16 r13 = pop 0x130b 17 r14 = pop 0x130d 18 r15 = pop 0x130f 19 rbp = pop 0x1310 20 <return> jump(pop) 0x117f 21 r15 = rsp + 0xfb0 {var_fd8} 0x1187 22 r14 = 0x2004 {"%d"} 0x118e 23 ebx = 0 0x118e 24 goto 25 @ 0x1190 0x1190 25 rdi = r14 0x1193 26 rsi = r15 0x1196 27 eax = 0 0x1198 28 call(0x1040) 0x119d 29 rbx = rbx + 1 0x11a1 30 rax = sx.q([rsp + 0xc {var_1f7c}].d) 0x11a6 31 r15 = r15 + 4 0x11ad 32 if (rbx s< rax) then 25 @ 0x1190 else 33 @ 0x11af 0x11af 33 r8d = eax 0x11b5 34 if (r8d s<= 0) then 12 @ 0x12fd else 35 @ 0x11bb 0x11bb 35 r9d = 0 0x11be 36 r10d = 0 0x11c1 37 goto 38 @ 0x11dd 0x11dd 38 eax = [rsp + (r9 << 2) + 0xfb0].d 0x11e5 39 ecx = eax 0x11e7 40 ecx = ecx u>> 0x1f 0x11ea 41 ecx = ecx + eax 0x11ec 42 ecx = ecx & 0xfffffffe 0x11ef 43 edx = eax 0x11f1 44 edx = edx - ecx 0x11f6 45 if (edx != 1) then 46 @ 0x1207 else 47 @ 0x11f8 0x1207 46 if (r10d s<= 0) then 51 @ 0x11d0 else 53 @ 0x1209 0x11f8 47 r10 = sx.q(r10d) 0x11fb 48 [rsp + (r10 << 2) + 0x10].d = eax 0x1200 49 r10d = r10d + 1 0x1200 50 goto 46 @ 0x1207 0x11d0 51 r9 = r9 + 1 0x11d7 52 if (r9 == r8) then 56 @ 0x12b5 else 38 @ 0x11dd 0x1209 53 r11d = (r10 - 1).d 0x120d 54 edi = 0 0x120f 55 goto 57 @ 0x122c 0x12b5 56 if (r10d s<= 0) then 12 @ 0x12fd else 61 @ 0x12b7 0x122c 57 ebx = edi 0x122e 58 ebx = not.d(ebx) 0x1230 59 ebx = ebx + r10d 0x1235 60 if (ebx s<= 0) then 67 @ 0x1220 else 70 @ 0x1237 0x12b7 61 r12d = (r10 - 1).d 0x12bb 62 r13d = r10d 0x12be 63 r14 = 0x2007 {"%d%c"} 0x12c5 64 r15 = 0x2004 {"%d"} 0x12cc 65 ebx = 0 0x12ce 66 goto 72 @ 0x12e3 0x1220 67 edi = edi + 1 0x1223 68 r11d = r11d - 1 0x122a 69 if (edi == r10d) then 51 @ 0x11d0 else 57 @ 0x122c 0x1237 70 eax = [rsp + 0x10 {var_1f78}].d 0x123e 71 if (ebx != 1) then 74 @ 0x1260 else 78 @ 0x1240 0x12e3 72 esi = [rsp + (rbx << 2) + 0x10].d 0x12ea 73 if (rbx u>= r12) then 80 @ 0x12d0 else 84 @ 0x12ec 0x1260 74 esi = r11d 0x1263 75 esi = esi & 0xfffffffe 0x1266 76 ecx = 0 0x1268 77 goto 89 @ 0x1280 0x1240 78 edx = 0 0x1240 79 goto 91 @ 0x1245 0x12d0 80 rdi = r15 0x12d3 81 eax = 0 0x12d5 82 call(0x1030) 0x12d5 83 goto 92 @ 0x12da 0x12ec 84 rdi = r14 0x12ef 85 edx = 0x2c {""} 0x12f4 86 eax = 0 0x12f6 87 call(0x1030) 0x12fb 88 goto 92 @ 0x12da 0x1280 89 edx = [rsp + (rcx << 2) + 0x14].d 0x1286 90 if (eax s<= edx) then 94 @ 0x12a0 else 96 @ 0x1288 0x1245 91 if ((bl & 1) == 0) then 67 @ 0x1220 else 99 @ 0x1247 0x12da 92 rbx = rbx + 1 0x12e1 93 if (r13 == rbx) then 12 @ 0x12fd else 72 @ 0x12e3 0x12a0 94 eax = edx 0x12a0 95 goto 101 @ 0x12a2 0x1288 96 [rsp + (rcx << 2) + 0x14].d = eax 0x128c 97 [rsp + (rcx << 2) + 0x10].d = edx 0x1290 98 goto 101 @ 0x12a2 0x1247 99 ecx = [rsp + (rdx << 2) + 0x14].d 0x124d 100 if (eax s<= ecx) then 67 @ 0x1220 else 104 @ 0x124f 0x12a2 101 rdx = rcx + 2 0x12a6 102 ebp = [rsp + (rcx << 2) + 0x18].d 0x12ac 103 if (eax s> ebp) then 107 @ 0x1270 else 110 @ 0x12ae 0x124f 104 [rsp + (rdx << 2) + 0x14].d = eax 0x1253 105 [rsp + (rdx << 2) + 0x10].d = ecx 0x1257 106 goto 67 @ 0x1220 0x1270 107 [rsp + (rcx << 2) + 0x18].d = eax 0x1274 108 [rsp + (rcx << 2) + 0x14].d = ebp 0x1274 109 goto 112 @ 0x1278 0x12ae 110 eax = ebp 0x12b0 111 goto 112 @ 0x1278 0x1278 112 rcx = rdx 0x127e 113 if (rsi == rdx) then 91 @ 0x1245 else 89 @ 0x1280 int64_t _fini(): 0x1318 0 rsp = rsp - 8 0x131c 1 rsp = rsp + 8 0x1320 2 <return> jump(pop)
POJ_94
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t scanf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t puts(char const* str): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVSH "} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0xca0 0x115c 4 [rsp + 0xc {var_cac}].d = 0 0x1164 5 rdi = 0x2007 {"%d"} 0x116b 6 rsi = rsp + 0xc {var_cac} 0x1170 7 eax = 0 0x1172 8 call(0x1030) 0x117c 9 if ([rsp + 0xc {var_cac}].d s<= 0) then 10 @ 0x12e2 else 15 @ 0x1182 0x12e2 10 rsp = rsp + 0xca0 0x12e9 11 rbx = pop 0x12ea 12 r14 = pop 0x12ec 13 r15 = pop 0x12ee 14 <return> jump(pop) 0x1182 15 rbx = rsp + 0x660 {var_658} 0x118a 16 r14 = 0x2004 {"%s %d"} 0x1191 17 r15d = 0 0x119e 18 goto 19 @ 0x11a0 0x11a0 19 rsi = rbx + 4 0x11a4 20 rdi = r14 0x11a7 21 rdx = rbx 0x11aa 22 eax = 0 0x11ac 23 call(0x1030) 0x11b1 24 r15 = r15 + 1 0x11b5 25 rax = sx.q([rsp + 0xc {var_cac}].d) 0x11ba 26 rbx = rbx + 0x10 0x11c1 27 if (r15 s< rax) then 19 @ 0x11a0 else 28 @ 0x11c3 0x11c3 28 r8d = eax 0x11c9 29 if (r8d s<= 0) then 10 @ 0x12e2 else 30 @ 0x11d3 0x11d3 30 if (r8d != 1) then 31 @ 0x12ef else 37 @ 0x11d9 0x12ef 31 esi = r8d 0x12f2 32 esi = esi & 0xfffffffe 0x12f5 33 rdi = rsp + 0x670 {var_648} 0x12fd 34 edx = 0 0x12ff 35 r10d = 0 0x1302 36 goto 40 @ 0x1325 0x11d9 37 edx = 0 0x11db 38 r10d = 0 0x11db 39 goto 41 @ 0x11e2 0x1325 40 if ([rdi - 0x10].d s< 0x3c) then 42 @ 0x1341 else 43 @ 0x1327 0x11e2 41 if ((r8b & 1) == 0) then 50 @ 0x1217 else 51 @ 0x11e4 0x1341 42 if ([rdi].d s< 0x3c) then 53 @ 0x1310 else 56 @ 0x1343 0x1327 43 r10 = sx.q(r10d) 0x132a 44 rcx = r10 0x132d 45 rcx = rcx << 4 0x1331 46 xmm0 = [rdi - 0x10].o 0x1335 47 [rsp + rcx + 0x20].o = xmm0 0x133a 48 r10d = r10d + 1 0x133a 49 goto 42 @ 0x1341 0x1217 50 if (r10d s< 2) then 63 @ 0x1281 else 64 @ 0x1219 0x11e4 51 rdx = rdx << 4 0x11f0 52 if ([rsp + rdx + 0x660].d s< 0x3c) then 50 @ 0x1217 else 68 @ 0x11f2 0x1310 53 rdx = rdx + 2 0x1314 54 rdi = rdi + 0x20 0x131b 55 if (rsi == rdx) then 41 @ 0x11e2 else 40 @ 0x1325 0x1343 56 r10 = sx.q(r10d) 0x1346 57 rcx = r10 0x1349 58 rcx = rcx << 4 0x134d 59 xmm0 = [rdi].o 0x1350 60 [rsp + rcx + 0x20].o = xmm0 0x1355 61 r10d = r10d + 1 0x1359 62 goto 53 @ 0x1310 0x1281 63 if (r8d s<= 0) then 77 @ 0x12c6 else 78 @ 0x1287 0x1219 64 edx = (r10 - 1).d 0x121d 65 r9 = rsp + 0x30 {var_c88} 0x1222 66 edi = r10d 0x1225 67 goto 79 @ 0x1239 0x11f2 68 rcx = rsp + rdx 0x11f6 69 rcx = rcx + 0x660 0x11fd 70 r10 = sx.q(r10d) 0x1200 71 rdx = r10 0x1203 72 rdx = rdx << 4 0x1207 73 xmm0 = [rcx].o 0x120a 74 [rsp + rdx + 0x20].o = xmm0 0x120f 75 r10d = r10d + 1 0x120f 76 goto 50 @ 0x1217 0x12c6 77 if (r10d s<= 0) then 10 @ 0x12e2 else 84 @ 0x12c8 0x1287 78 if (r8d != 1) then 87 @ 0x135b else 92 @ 0x128d 0x1239 79 ebx = edi 0x123b 80 edi = (rbx - 1).d 0x123e 81 rsi = r9 {var_c88} 0x1241 82 ecx = 0 0x1243 83 goto 94 @ 0x1259 0x12c8 84 r14d = r10d 0x12cb 85 rbx = rsp + 0x24 {var_c94} 0x12cb 86 goto 97 @ 0x12d0 0x135b 87 esi = r8d 0x135e 88 esi = esi & 0xfffffffe 0x1361 89 rdi = rsp + 0x670 {var_648} 0x1369 90 edx = 0 0x136b 91 goto 103 @ 0x1385 0x128d 92 edx = 0 0x128d 93 goto 104 @ 0x1293 0x1259 94 eax = [rsi - 0x10].d 0x125c 95 rcx = rcx + 1 0x1262 96 if (eax s>= [rsi].d) then 105 @ 0x1250 else 107 @ 0x1264 0x12d0 97 rdi = rbx 0x12d3 98 call(0x1040) 0x12d8 99 rbx = rbx + 0x10 0x12dc 100 temp0.q = r14 0x12dc 101 r14 = r14 - 1 0x12e0 102 if (temp0.q != 1) then 97 @ 0x12d0 else 10 @ 0x12e2 0x1385 103 if ([rdi - 0x10].d s> 0x3b) then 114 @ 0x13a1 else 115 @ 0x1387 0x1293 104 if ((r8b & 1) == 0) then 77 @ 0x12c6 else 122 @ 0x1295 0x1250 105 rsi = rsi + 0x10 0x1257 106 if (rdx == rcx) then 124 @ 0x1230 else 94 @ 0x1259 0x1264 107 xmm0 = [rsi].o 0x1267 108 [rsp + 0x10 {var_ca8_1}].o = xmm0 0x126c 109 xmm0 = [rsi - 0x10].o 0x1270 110 [rsi].o = xmm0 0x1273 111 xmm0 = [rsp + 0x10 {var_ca8_1}].o 0x1278 112 [rsi - 0x10].o = xmm0 0x127c 113 goto 105 @ 0x1250 0x13a1 114 if ([rdi].d s> 0x3b) then 126 @ 0x1370 else 129 @ 0x13a3 0x1387 115 r10 = sx.q(r10d) 0x138a 116 rax = r10 0x138d 117 rax = rax << 4 0x1391 118 xmm0 = [rdi - 0x10].o 0x1395 119 [rsp + rax + 0x20].o = xmm0 0x139a 120 r10d = r10d + 1 0x139a 121 goto 114 @ 0x13a1 0x1295 122 rdx = rdx << 4 0x12a1 123 if ([rsp + rdx + 0x660].d s> 0x3b) then 77 @ 0x12c6 else 136 @ 0x12a3 0x1230 124 rdx = rdx - 1 0x1237 125 if (ebx s< 3) then 63 @ 0x1281 else 79 @ 0x1239 0x1370 126 rdx = rdx + 2 0x1374 127 rdi = rdi + 0x20 0x137b 128 if (rsi == rdx) then 104 @ 0x1293 else 103 @ 0x1385 0x13a3 129 r10 = sx.q(r10d) 0x13a6 130 rax = r10 0x13a9 131 rax = rax << 4 0x13ad 132 xmm0 = [rdi].o 0x13b0 133 [rsp + rax + 0x20].o = xmm0 0x13b5 134 r10d = r10d + 1 0x13b9 135 goto 126 @ 0x1370 0x12a3 136 rax = rsp + rdx 0x12a7 137 rax = rax + 0x660 0x12ad 138 r10 = sx.q(r10d) 0x12b0 139 rcx = r10 0x12b3 140 rcx = rcx << 4 0x12b7 141 xmm0 = [rax].o 0x12ba 142 [rsp + rcx + 0x20].o = xmm0 0x12bf 143 r10d = r10d + 1 0x12bf 144 goto 77 @ 0x12c6 int64_t _fini(): 0x13c0 0 rsp = rsp - 8 0x13c4 1 rsp = rsp + 8 0x13c8 2 <return> jump(pop)
POJ_9
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(rbx) 0x1166 4 rsp = rsp - 0xd8 0x116d 5 rdi = 0x2004 {"%d %d"} 0x1174 6 r14d = 0 0x1177 7 rsi = rsp + 0xc {var_ec} 0x117c 8 rdx = rsp + 8 {var_f0} 0x1181 9 eax = 0 0x1183 10 call(0x1040) 0x1188 11 ebx = [rsp + 0xc {var_ec}].d 0x118c 12 ebp = [rsp + 8 {var_f0}].d 0x1192 13 if (ebx s<= ebp) then 14 @ 0x11ac else 15 @ 0x1194 0x11ac 14 if (ebx s< 3) then 16 @ 0x11d0 else 19 @ 0x11ae 0x1194 15 goto 21 @ 0x123a 0x11d0 16 edi = ebx 0x11d2 17 call(0x12b0) 0x11d9 18 if (eax != ebx) then 25 @ 0x11a0 else 29 @ 0x11db 0x11ae 19 ecx = 2 0x11bd 20 goto 33 @ 0x11c0 0x123a 21 rdi = 0x200a {"no"} 0x1241 22 eax = 0 0x1243 23 call(0x1030) 0x1243 24 goto 46 @ 0x1248 0x11a0 25 eax = (rbx + 1).d 0x11a3 26 cond:0 = ebx == ebp 0x11a5 27 ebx = eax 0x11a7 28 if (cond:0) then 52 @ 0x11e9 else 14 @ 0x11ac 0x11db 29 r14 = sx.q(r14d) 0x11de 30 [rsp + (r14 << 2) + 0x10].d = ebx 0x11e3 31 r14d = r14d + 1 0x11e7 32 goto 25 @ 0x11a0 0x11c0 33 eax = ebx 0x11c2 34 temp2.d:temp3.d = sx.q(eax) 0x11c2 35 edx = temp2.d 0x11c2 36 eax = temp3.d 0x11c3 37 temp4.d = edx 0x11c3 38 temp5.d = eax 0x11c3 39 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x11c3 40 temp6.d = edx 0x11c3 41 temp7.d = eax 0x11c3 42 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x11c3 43 eax = temp0.d 0x11c3 44 edx = temp1.d 0x11c7 45 if (edx == 0) then 25 @ 0x11a0 else 55 @ 0x11c9 0x1248 46 rsp = rsp + 0xd8 0x124f 47 rbx = pop 0x1250 48 r14 = pop 0x1252 49 r15 = pop 0x1254 50 rbp = pop 0x1255 51 <return> jump(pop) 0x11e9 52 temp8.d = r14d 0x11e9 53 cond:1 = temp8.d s<= 0 0x11ec 54 if (temp8.d == 0) then 21 @ 0x123a else 57 @ 0x11ee 0x11c9 55 ecx = ecx + 1 0x11ce 56 if (ebx != ecx) then 33 @ 0x11c0 else 16 @ 0x11d0 0x11ee 57 if (cond:1) then 46 @ 0x1248 else 58 @ 0x11f0 0x11f0 58 r15d = (r14 - 1).d 0x11f4 59 ebx = r14d 0x11f7 60 r14 = 0x2007 {"%d"} 0x11fe 61 ebp = 0 0x1200 62 goto 63 @ 0x1219 0x1219 63 esi = [rsp + (rbp << 2) + 0x10].d 0x121d 64 rdi = r14 0x1220 65 eax = 0 0x1222 66 call(0x1030) 0x122a 67 if (rbp u>= r15) then 68 @ 0x1210 else 70 @ 0x122c 0x1210 68 rbp = rbp + 1 0x1217 69 if (rbx == rbp) then 46 @ 0x1248 else 63 @ 0x1219 0x122c 70 edi = 0x2c {""} 0x1231 71 eax = 0 0x1233 72 call(0x1050) 0x1238 73 goto 68 @ 0x1210 int64_t su(int32_t arg1): 0x1260 0 ecx = 1 0x1268 1 if (edi s< 3) then 2 @ 0x1280 else 4 @ 0x126a 0x1280 2 eax = ecx 0x1282 3 <return> jump(pop) 0x126a 4 esi = 2 0x126f 5 goto 6 @ 0x1270 0x1270 6 eax = edi 0x1272 7 temp2.d:temp3.d = sx.q(eax) 0x1272 8 edx = temp2.d 0x1272 9 eax = temp3.d 0x1273 10 temp4.d = edx 0x1273 11 temp5.d = eax 0x1273 12 temp0.d = divs.dp.d(temp4.d:temp5.d, esi) 0x1273 13 temp6.d = edx 0x1273 14 temp7.d = eax 0x1273 15 temp1.d = mods.dp.d(temp6.d:temp7.d, esi) 0x1273 16 eax = temp0.d 0x1273 17 edx = temp1.d 0x1277 18 if (edx == 0) then 19 @ 0x1283 else 22 @ 0x1279 0x1283 19 ecx = 0 0x1285 20 eax = ecx 0x1287 21 <return> jump(pop) 0x1279 22 esi = esi + 1 0x127e 23 if (edi != esi) then 6 @ 0x1270 else 2 @ 0x1280 uint64_t hui(int32_t arg1): 0x1290 0 push(rbx) 0x1291 1 ebx = edi 0x1293 2 call(0x12b0) 0x1298 3 ecx = 0 0x129c 4 cl = eax == ebx 0x129f 5 eax = ecx 0x12a1 6 rbx = pop 0x12a2 7 <return> jump(pop) uint64_t change(int32_t arg1): 0x12b0 0 esi = edi 0x12b5 1 if (edi s< 0xa) then 2 @ 0x1319 else 4 @ 0x12b7 0x1319 2 eax = esi 0x131b 3 <return> jump(pop) 0x12b7 4 ecx = 1 0x12bc 5 goto 6 @ 0x12c0 0x12c0 6 ecx = ecx + ecx 0x12c2 7 ecx = (rcx + (rcx << 2)).d 0x12c5 8 eax = esi 0x12c7 9 temp3.d:temp4.d = sx.q(eax) 0x12c7 10 edx = temp3.d 0x12c7 11 eax = temp4.d 0x12c8 12 temp5.d = edx 0x12c8 13 temp6.d = eax 0x12c8 14 temp0.d = divs.dp.d(temp5.d:temp6.d, ecx) 0x12c8 15 temp7.d = edx 0x12c8 16 temp8.d = eax 0x12c8 17 temp1.d = mods.dp.d(temp7.d:temp8.d, ecx) 0x12c8 18 eax = temp0.d 0x12c8 19 edx = temp1.d 0x12cd 20 if (eax s> 9) then 6 @ 0x12c0 else 21 @ 0x12d2 0x12d2 21 if (ecx u< 0xa) then 2 @ 0x1319 else 22 @ 0x12d4 0x12d4 22 push(rbp) 0x12d5 23 push(rbx) 0x12d6 24 push(rax) 0x12d7 25 edi = edx 0x12d9 26 ebx = eax 0x12db 27 esi = 1 0x12e3 28 if (edx s< 0xa) then 29 @ 0x12ff else 49 @ 0x12e5 0x12ff 29 eax = ecx 0x1301 30 edx = 0 0x1303 31 temp2.d = esi 0x1303 32 temp9.d = edx 0x1303 33 temp10.d = eax 0x1303 34 temp0.d = divu.dp.d(temp9.d:temp10.d, temp2.d) 0x1303 35 temp11.d = edx 0x1303 36 temp12.d = eax 0x1303 37 temp1.d = modu.dp.d(temp11.d:temp12.d, temp2.d) 0x1303 38 eax = temp0.d 0x1303 39 edx = temp1.d 0x1305 40 ebp = eax 0x1307 41 call(0x12b0) 0x130c 42 esi = eax 0x130e 43 esi = esi * ebp 0x1311 44 esi = esi + ebx 0x1313 45 rsp = rsp + 8 0x1317 46 rbx = pop 0x1318 47 rbp = pop 0x1318 48 goto 2 @ 0x1319 0x12e5 49 esi = 1 0x12ea 50 goto 51 @ 0x12f0 0x12f0 51 esi = esi + esi 0x12f2 52 esi = (rsi + (rsi << 2)).d 0x12f5 53 eax = edi 0x12f7 54 temp13.d:temp14.d = sx.q(eax) 0x12f7 55 edx = temp13.d 0x12f7 56 eax = temp14.d 0x12f8 57 temp15.d = edx 0x12f8 58 temp16.d = eax 0x12f8 59 temp0.d = divs.dp.d(temp15.d:temp16.d, esi) 0x12f8 60 temp17.d = edx 0x12f8 61 temp18.d = eax 0x12f8 62 temp1.d = mods.dp.d(temp17.d:temp18.d, esi) 0x12f8 63 eax = temp0.d 0x12f8 64 edx = temp1.d 0x12fd 65 if (eax s>= 0xa) then 51 @ 0x12f0 else 29 @ 0x12ff int64_t _fini(): 0x1320 0 rsp = rsp - 8 0x1324 1 rsp = rsp + 8 0x1328 2 <return> jump(pop)
POJ_74
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t scanf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t puts(char const* str): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHAWAVAUATSH(H="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 push(r15) 0x1156 3 push(r14) 0x1158 4 push(r13) 0x115a 5 push(r12) 0x115c 6 push(rbx) 0x115d 7 rsp = rsp - 0x28 0x1161 8 rdi = 0x2018 {"%d%d%d"} 0x1168 9 rsi = rbp - 0x2c {var_34} 0x116c 10 rdx = rbp - 0x40 {var_48} 0x1170 11 rcx = rbp - 0x3c {var_44} 0x1174 12 eax = 0 0x1176 13 call(0x1030) 0x117b 14 [rbp - 0x50 {var_58}].q = rsp {var_58} 0x117f 15 xmm0.q = float.d([rbp - 0x3c {var_44}].d) 0x1184 16 [rbp - 0x38 {var_40}].q = xmm0.q 0x1189 17 xmm0 = 0 0x118c 18 xmm0.q = float.d([rbp - 0x40 {var_48}].d) 0x1191 19 [rbp - 0x48 {var_50}].q = xmm0.q 0x1196 20 eax = [rbp - 0x2c {var_34}].d 0x1199 21 eax = eax - 1 0x119c 22 r15 = rsp {var_58} 0x119f 23 rax = (rax << 3) + 0xf 0x11a7 24 rax = rax & 0xfffffffffffffff0 0x11ab 25 r15 = r15 - rax 0x11ae 26 rsp = r15 0x11b5 27 if ([rbp - 0x2c {var_34}].d s< 2) then 28 @ 0x1215 else 29 @ 0x11b7 0x1215 28 if ([rbp - 0x2c {var_34}].d s>= 2) then 33 @ 0x122c else 41 @ 0x1217 0x11b7 29 r14 = 0x201c {"%d"} 0x11be 30 r13 = r15 0x11c1 31 r12d = 0 0x11ce 32 goto 51 @ 0x11d0 0x122c 33 xmm0 = zx.o([rbp - 0x38 {var_40}].q) 0x1231 34 xmm0.q = xmm0.q f/ fconvert.t([rbp - 0x48 {var_50}].q) 0x1236 35 [rbp - 0x38 {var_40_1}].q = xmm0.q 0x123b 36 rbx = -1 0x1242 37 r12 = 0x2024 {"worse"} 0x1249 38 r13 = 0x201f {"same"} 0x1250 39 r14 = 0x202a {"better"} 0x1257 40 goto 53 @ 0x1276 0x1217 41 rsp = [rbp - 0x50 {var_58}].q 0x121b 42 eax = 0 0x121d 43 rsp = rbp - 0x28 0x1221 44 rbx = pop 0x1222 45 r12 = pop 0x1224 46 r13 = pop 0x1226 47 r14 = pop 0x1228 48 r15 = pop 0x122a 49 rbp = pop 0x122b 50 <return> jump(pop) 0x11d0 51 ebx = 0 0x11dc 52 goto 68 @ 0x11e0 0x1276 53 xmm0 = 0 0x1279 54 xmm0.q = float.d([r15 + (rbx << 3) + 0xc].d) 0x1280 55 xmm1 = 0 0x1283 56 xmm1.q = float.d([r15 + (rbx << 3) + 8].d) 0x128a 57 xmm0.q = xmm0.q f/ xmm1.q 0x128e 58 xmm0.q = xmm0.q f- fconvert.t([rbp - 0x38 {var_40_1}].q) 0x1293 59 xmm1 = zx.o([0x2008].q) 0x129b 60 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x129b 61 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x129b 62 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x129b 63 flag:s = 0 0x129b 64 flag:o = 0 0x129b 65 flag:a = 0 0x129f 66 rax = r12 0x12a2 67 if (not(flag:z) && not(flag:c)) then 74 @ 0x12a7 else 82 @ 0x12a4 0x11e0 68 rsi = rbx + r13 0x11e4 69 rdi = r14 0x11e7 70 eax = 0 0x11e9 71 call(0x1030) 0x11ee 72 rbx = rbx + 4 0x11f6 73 if (rbx == 4) then 68 @ 0x11e0 else 84 @ 0x11f8 0x12a7 74 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x12a7 75 flag:c = xmm0.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x12a7 76 flag:z = xmm0.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm0.q, fconvert.t([0x2010].q)) 0x12a7 77 flag:s = 0 0x12a7 78 flag:o = 0 0x12a7 79 flag:a = 0 0x12af 80 rdi = r14 0x12b2 81 if (not(flag:z) && not(flag:c)) then 91 @ 0x1260 else 96 @ 0x12b4 0x12a4 82 rax = r13 0x12a4 83 goto 74 @ 0x12a7 0x11f8 84 rax = r12 + 1 0x11fd 85 rcx = sx.q([rbp - 0x2c {var_34}].d) 0x1201 86 rcx = rcx - 2 0x1205 87 r13 = r13 + 8 0x1209 88 cond:0 = r12 s< rcx 0x120c 89 r12 = rax 0x120f 90 if (cond:0) then 51 @ 0x11d0 else 28 @ 0x1215 0x1260 91 call(0x1040) 0x1265 92 rax = sx.q([rbp - 0x2c {var_34}].d) 0x1269 93 rax = rax - 2 0x126d 94 rbx = rbx + 1 0x1274 95 if (rbx s>= rax) then 41 @ 0x1217 else 53 @ 0x1276 0x12b4 96 rdi = rax 0x12b7 97 goto 91 @ 0x1260 int64_t _fini(): 0x12c0 0 rsp = rsp - 8 0x12c4 1 rsp = rsp + 8 0x12c8 2 <return> jump(pop)
POJ_67
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVSHP"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0x650 0x115c 4 rdi = 0x2007 {"%d"} 0x1163 5 rsi = rsp + 0xc {var_65c} 0x1168 6 eax = 0 0x116a 7 call(0x1040) 0x116f 8 ecx = [rsp + 0xc {var_65c}].d 0x1175 9 if (ecx s<= 0) then 10 @ 0x1242 else 13 @ 0x117b 0x1242 10 ecx = ecx - 1 0x1245 11 r9d = ecx 0x1245 12 goto 17 @ 0x1248 0x117b 13 rbx = rsp + 0x1a0 {var_4c8} 0x1183 14 r14 = 0x2004 {"%d %d"} 0x118a 15 r15d = 0 0x118d 16 goto 20 @ 0x1190 0x1248 17 edx = 0 0x124a 18 ecx = 0 0x1252 19 if (r9d != 0) then 29 @ 0x1279 else 31 @ 0x1254 0x1190 20 rdx = rbx + 0x190 0x1197 21 rdi = r14 0x119a 22 rsi = rbx 0x119d 23 eax = 0 0x119f 24 call(0x1040) 0x11a4 25 r15 = r15 + 1 0x11a8 26 rcx = sx.q([rsp + 0xc {var_65c}].d) 0x11ad 27 rbx = rbx + 4 0x11b4 28 if (r15 s< rcx) then 20 @ 0x1190 else 34 @ 0x11b8 0x1279 29 eax = (rcx + 1).d 0x127f 30 if (ecx u>= 7) then 35 @ 0x128a else 42 @ 0x1281 0x1254 31 eax = r9d 0x1257 32 eax = [rsp + (rax << 2) + 0x4c0].d 0x1260 33 if (eax == 0) then 45 @ 0x126a else 48 @ 0x1265 0x11b8 34 if (ecx s<= 0) then 10 @ 0x1242 else 49 @ 0x11be 0x128a 35 ecx = eax 0x128c 36 ecx = ecx & 0xfffffff8 0x128f 37 rsi = rcx - 8 0x1293 38 rdx = rsi 0x1296 39 rdx = rdx u>> 3 0x129a 40 rdx = rdx + 1 0x12a1 41 if (rsi == 0) then 51 @ 0x1466 else 55 @ 0x12a7 0x1281 42 ecx = 0 0x1283 43 esi = 0 0x1285 44 goto 61 @ 0x13c0 0x126a 45 rax = sx.q(ecx) 0x126d 46 [rsp + (rax << 2) + 0x10].d = edx 0x126d 47 goto 63 @ 0x1273 0x1265 48 if (eax != 1) then 63 @ 0x1273 else 64 @ 0x1267 0x11be 49 edx = ecx 0x11c3 50 if (ecx != 1) then 66 @ 0x13d4 else 70 @ 0x11c9 0x1466 51 xmm0 = 0 0x146a 52 esi = 0 0x146c 53 xmm1 = 0 0x1473 54 if ((dl & 1) != 0) then 72 @ 0x1337 else 85 @ 0x1479 0x12a7 55 rdi = rdx 0x12aa 56 rdi = rdi & 0xfffffffffffffffe 0x12ae 57 xmm0 = 0 0x12b2 58 esi = 0 0x12b4 59 xmm1 = 0 0x12b8 60 goto 86 @ 0x12c0 0x13c0 61 edx = [rsp + (rcx << 2) + 0x10].d 0x13c6 62 if (esi s< edx) then 114 else 116 @ 0x13c9 0x1273 63 if (ecx s< 0) then 118 @ 0x1447 else 29 @ 0x1279 0x1267 64 edx = edx + 1 0x1267 65 goto 45 @ 0x126a 0x13d4 66 esi = edx 0x13d6 67 esi = esi & 0xfffffffe 0x13d9 68 eax = 0 0x13db 69 goto 120 @ 0x13f6 0x11c9 70 eax = 0 0x11c9 71 goto 123 @ 0x11ce 0x1337 72 xmm2 = [rsp + (rsi << 2) + 0x10].o 0x133d 73 xmm3 = [rsp + (rsi << 2) + 0x20].o 0x1343 74 xmm4 = xmm0 0x1347 75 xmm4 = _mm_cmpgt_epi32(xmm4, xmm2) 0x134b 76 xmm0 = xmm0 & xmm4 0x134f 77 xmm4 = xmm4 & not.o(xmm2) 0x1353 78 xmm0 = xmm0 | xmm4 0x1357 79 xmm2 = xmm1 0x135b 80 xmm2 = _mm_cmpgt_epi32(xmm2, xmm3) 0x135f 81 xmm1 = xmm1 & xmm2 0x1363 82 xmm2 = xmm2 & not.o(xmm3) 0x1367 83 xmm1 = xmm1 | xmm2 0x1367 84 goto 124 @ 0x136b 0x1479 85 goto 124 @ 0x136b 0x12c0 86 xmm2 = [rsp + (rsi << 2) + 0x10].o 0x12c6 87 xmm3 = [rsp + (rsi << 2) + 0x20].o 0x12cc 88 xmm4 = [rsp + (rsi << 2) + 0x30].o 0x12d2 89 xmm5 = [rsp + (rsi << 2) + 0x40].o 0x12d8 90 xmm6 = xmm0 0x12dc 91 xmm6 = _mm_cmpgt_epi32(xmm6, xmm2) 0x12e0 92 xmm0 = xmm0 & xmm6 0x12e4 93 xmm6 = xmm6 & not.o(xmm2) 0x12e8 94 xmm6 = xmm6 | xmm0 0x12ec 95 xmm2 = xmm1 0x12f0 96 xmm2 = _mm_cmpgt_epi32(xmm2, xmm3) 0x12f4 97 xmm1 = xmm1 & xmm2 0x12f8 98 xmm2 = xmm2 & not.o(xmm3) 0x12fc 99 xmm2 = xmm2 | xmm1 0x1300 100 xmm0 = xmm6 0x1304 101 xmm0 = _mm_cmpgt_epi32(xmm0, xmm4) 0x1308 102 xmm6 = xmm6 & xmm0 0x130c 103 xmm0 = xmm0 & not.o(xmm4) 0x1310 104 xmm0 = xmm0 | xmm6 0x1314 105 xmm1 = xmm2 0x1318 106 xmm1 = _mm_cmpgt_epi32(xmm1, xmm5) 0x131c 107 xmm2 = xmm2 & xmm1 0x1320 108 xmm1 = xmm1 & not.o(xmm5) 0x1324 109 xmm1 = xmm1 | xmm2 0x1328 110 rsi = rsi + 0x10 0x132c 111 temp0.q = rdi 0x132c 112 rdi = rdi - 2 0x1330 113 if (temp0.q != 2) then 86 @ 0x12c0 else 143 @ 0x1335 0x13c6 114 esi = edx 0x13c6 115 goto 116 @ 0x13c9 0x13c9 116 rcx = rcx + 1 0x13d0 117 if (rax != rcx) then 61 @ 0x13c0 else 144 @ 0x13d2 0x1447 118 esi = 0 0x1447 119 goto 145 @ 0x1449 0x13f6 120 edi = [rsp + (rax << 2) + 0x1a0].d 0x13fd 121 edi = edi - 0x5a 0x1403 122 if (edi u> 0x32) then 154 @ 0x1419 else 156 @ 0x1405 0x11ce 123 if ((dl & 1) == 0) then 160 @ 0x11fc else 162 @ 0x11d0 0x136b 124 xmm2 = xmm0 0x136f 125 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1373 126 xmm0 = xmm0 & xmm2 0x1377 127 xmm2 = xmm2 & not.o(xmm1) 0x137b 128 xmm2 = xmm2 | xmm0 0x137f 129 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x1384 130 xmm1 = xmm2 0x1388 131 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0) 0x138c 132 xmm2 = xmm2 & xmm1 0x1390 133 xmm1 = xmm1 & not.o(xmm0) 0x1394 134 xmm1 = xmm1 | xmm2 0x1398 135 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x139d 136 xmm2 = xmm1 0x13a1 137 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x13a5 138 xmm1 = xmm1 & xmm2 0x13a9 139 xmm2 = xmm2 & not.o(xmm0) 0x13ad 140 xmm2 = xmm2 | xmm1 0x13b1 141 esi = xmm2.d 0x13b8 142 if (rcx == rax) then 145 @ 0x1449 else 165 @ 0x13be 0x1335 143 if ((dl & 1) == 0) then 124 @ 0x136b else 72 @ 0x1337 0x13d2 144 goto 145 @ 0x1449 0x1449 145 rdi = 0x2007 {"%d"} 0x1450 146 eax = 0 0x1452 147 call(0x1030) 0x1457 148 eax = 0 0x1459 149 rsp = rsp + 0x650 0x1460 150 rbx = pop 0x1461 151 r14 = pop 0x1463 152 r15 = pop 0x1465 153 <return> jump(pop) 0x1419 154 edi = 0 0x1419 155 goto 166 @ 0x141b 0x1405 156 ebx = [rsp + (rax << 2) + 0x330].d 0x140c 157 ebx = ebx - 0x3c 0x140f 158 edi = 1 0x1417 159 if (ebx u< 0x1f) then 166 @ 0x141b else 154 @ 0x1419 0x11fc 160 r9d = (rcx - 1).d 0x1203 161 if (ecx s< 2) then 17 @ 0x1248 else 170 @ 0x1205 0x11d0 162 edx = [rsp + (rax << 2) + 0x1a0].d 0x11d7 163 edx = edx - 0x5a 0x11dd 164 if (edx u> 0x32) then 172 @ 0x11f3 else 174 @ 0x11df 0x13be 165 goto 61 @ 0x13c0 0x141b 166 [rsp + (rax << 2) + 0x4c0].d = edi 0x1422 167 edi = [rsp + (rax << 2) + 0x1a4].d 0x1429 168 edi = edi - 0x5a 0x142f 169 if (edi u> 0x32) then 178 @ 0x13e0 else 180 @ 0x1431 0x1205 170 r8d = r9d 0x120c 171 if (r9d != 1) then 184 @ 0x147e else 190 @ 0x1212 0x11f3 172 edx = 0 0x11f3 173 goto 194 @ 0x11f5 0x11df 174 esi = [rsp + (rax << 2) + 0x330].d 0x11e6 175 esi = esi - 0x3c 0x11e9 176 edx = 1 0x11f1 177 if (esi u< 0x1f) then 194 @ 0x11f5 else 172 @ 0x11f3 0x13e0 178 edi = 0 0x13e0 179 goto 196 @ 0x13e2 0x1431 180 ebx = [rsp + (rax << 2) + 0x334].d 0x1438 181 ebx = ebx - 0x3c 0x143b 182 edi = 1 0x1443 183 if (ebx u>= 0x1f) then 178 @ 0x13e0 else 199 @ 0x1445 0x147e 184 esi = r8d 0x1481 185 esi = esi & 0xfffffffe 0x1484 186 edi = 0 0x1486 187 edx = 0 0x1488 188 ecx = 0 0x148a 189 goto 200 @ 0x149d 0x1212 190 edi = 0 0x1214 191 edx = 0 0x1216 192 ecx = 0 0x1216 193 goto 205 @ 0x121c 0x11f5 194 [rsp + (rax << 2) + 0x4c0].d = edx 0x11f5 195 goto 160 @ 0x11fc 0x13e2 196 [rsp + (rax << 2) + 0x4c4].d = edi 0x13e9 197 rax = rax + 2 0x13f0 198 if (rsi == rax) then 123 @ 0x11ce else 120 @ 0x13f6 0x1445 199 goto 196 @ 0x13e2 0x149d 200 eax = [rsp + (rdi << 2) + 0x4c0].d 0x14a4 201 ebx = 0 0x14a9 202 bl = eax == 1 0x14ac 203 ebx = ebx + edx 0x14b0 204 if (eax != 0) then 206 @ 0x14be else 211 @ 0x14b2 0x121c 205 if ((r8b & 1) == 0) then 31 @ 0x1254 else 216 @ 0x121e 0x14be 206 eax = [rsp + (rdi << 2) + 0x4c4].d 0x14c5 207 edx = 0 0x14ca 208 dl = eax == 1 0x14cd 209 edx = edx + ebx 0x14d1 210 if (eax != 0) then 221 @ 0x1490 else 223 @ 0x14d3 0x14b2 211 rcx = sx.q(ecx) 0x14b5 212 [rsp + (rcx << 2) + 0x10].d = ebx 0x14b9 213 ecx = ecx + 1 0x14bc 214 ebx = 0 0x14bc 215 goto 206 @ 0x14be 0x121e 216 eax = [rsp + (rdi << 2) + 0x4c0].d 0x1225 217 esi = 0 0x122a 218 sil = eax == 1 0x122e 219 edx = edx + esi 0x1232 220 if (eax != 0) then 31 @ 0x1254 else 228 @ 0x1234 0x1490 221 rdi = rdi + 2 0x1497 222 if (rsi == rdi) then 205 @ 0x121c else 200 @ 0x149d 0x14d3 223 rcx = sx.q(ecx) 0x14d6 224 [rsp + (rcx << 2) + 0x10].d = edx 0x14da 225 ecx = ecx + 1 0x14dd 226 edx = 0 0x14df 227 goto 221 @ 0x1490 0x1234 228 rcx = sx.q(ecx) 0x1237 229 [rsp + (rcx << 2) + 0x10].d = edx 0x123b 230 ecx = ecx + 1 0x123e 231 edx = 0 0x1240 232 goto 31 @ 0x1254 int64_t _fini(): 0x14e8 0 rsp = rsp - 8 0x14ec 1 rsp = rsp + 8 0x14f0 2 <return> jump(pop)
POJ_82
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAVSH+"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r14) 0x1163 2 push(rbx) 0x1164 3 rsp = rsp - 0x2bc0 0x116b 4 ebp = 0 0x116d 5 rbx = rsp + 0x4b0 {var_2728} 0x1175 6 rdi = rbx {var_2728} 0x1178 7 eax = 0 0x117a 8 call(0x1050) 0x117f 9 r14 = rsp {var_2bd8} 0x1182 10 edx = 0x4b0 {"P"} 0x1187 11 rdi = r14 {var_2bd8} 0x118a 12 esi = 0 0x118c 13 call(0x1040) 0x1191 14 goto 15 @ 0x11b4 0x11b4 15 eax = zx.d([rbx].b) 0x11b9 16 if (al == 0x20) then 17 @ 0x11a0 else 23 @ 0x11bd 0x11a0 17 eax = 0 0x11a4 18 al = ebp == 0 0x11a7 19 r14 = r14 + (rax << 2) 0x11ab 20 ebp = 1 0x11b0 21 rbx = rbx + 1 0x11b0 22 goto 15 @ 0x11b4 0x11bd 23 if (al == 0) then 24 @ 0x11cb else 30 @ 0x11bf 0x11cb 24 esi = [rsp {var_2bd8}].d 0x11ce 25 rdi = 0x2005 {"%d"} 0x11d5 26 eax = 0 0x11d7 27 call(0x1030) 0x11dc 28 esi = [rsp + 4 {var_2bd4}].d 0x11e2 29 if (esi == 0) then 34 @ 0x1205 else 39 @ 0x11e4 0x11bf 30 [r14].d = [r14].d + 1 0x11c3 31 rbx = rbx + 1 0x11c7 32 ebp = 0 0x11c9 33 goto 15 @ 0x11b4 0x1205 34 rsp = rsp + 0x2bc0 0x120c 35 rbx = pop 0x120d 36 r14 = pop 0x120f 37 rbp = pop 0x1210 38 <return> jump(pop) 0x11e4 39 rbp = rsp + 8 {var_2bd0} 0x11e9 40 rbx = 0x2004 {",%d"} 0x11e9 41 goto 42 @ 0x11f0 0x11f0 42 rdi = rbx 0x11f3 43 eax = 0 0x11f5 44 call(0x1030) 0x11fa 45 esi = [rbp].d 0x11fd 46 rbp = rbp + 4 0x1203 47 if (esi != 0) then 42 @ 0x11f0 else 34 @ 0x1205 int64_t _fini(): 0x1218 0 rsp = rsp - 8 0x121c 1 rsp = rsp + 8 0x1220 2 <return> jump(pop)
POJ_28
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t puts(char const* str): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHAWAVAUATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 push(r15) 0x1166 3 push(r14) 0x1168 4 push(r13) 0x116a 5 push(r12) 0x116c 6 push(rbx) 0x116d 7 rsp = rsp - 0x198 0x1174 8 rdi = rbp - 0x1c0 {var_1c8} 0x117b 9 edx = 0x190 {""} 0x1180 10 esi = 0 0x1182 11 call(0x1030) 0x1187 12 rdi = 0x2004 {"%d\n"} 0x118e 13 rsi = rbp - 0x2c {var_34} 0x1192 14 eax = 0 0x1194 15 call(0x1040) 0x1199 16 r15 = rsp {var_1c8} 0x119c 17 eax = [rbp - 0x2c {var_34}].d 0x119f 18 rcx = rax + (rax << 2) 0x11a3 19 rax = rax + (rcx << 2) 0x11a7 20 rax = rax + 0xf 0x11ab 21 rcx = 0x3ffffffff0 {""} 0x11b5 22 rcx = rcx & rax 0x11b8 23 r12 = rsp {var_1c8} 0x11bb 24 r12 = r12 - rcx 0x11be 25 rsp = r12 0x11c1 26 eax = [rbp - 0x2c {var_34}].d 0x11c6 27 if (eax s<= 0) then 28 @ 0x1200 else 29 @ 0x11c8 0x1200 28 if (eax s<= 0) then 33 @ 0x129f else 34 @ 0x1206 0x11c8 29 r14 = 0x2008 {"%s"} 0x11cf 30 r13 = r12 0x11d2 31 ebx = 0 0x11de 32 goto 38 @ 0x11e0 0x129f 33 if ([rbp - 0x2c {var_34}].d s<= 0) then 46 @ 0x12e4 else 56 @ 0x12a1 0x1206 34 r8d = eax 0x1209 35 r9 = r12 + 1 0x120e 36 edx = 0 0x1210 37 goto 60 @ 0x1235 0x11e0 38 rdi = r14 0x11e3 39 rsi = r13 0x11e6 40 eax = 0 0x11e8 41 call(0x1040) 0x11ed 42 rbx = rbx + 1 0x11f1 43 rax = sx.q([rbp - 0x2c {var_34}].d) 0x11f5 44 r13 = r13 + 0x15 0x11fc 45 if (rbx s< rax) then 38 @ 0x11e0 else 28 @ 0x1200 0x12e4 46 rsp = r15 0x12e7 47 eax = 0 0x12e9 48 rsp = rbp - 0x28 0x12ed 49 rbx = pop 0x12ee 50 r12 = pop 0x12f0 51 r13 = pop 0x12f2 52 r14 = pop 0x12f4 53 r15 = pop 0x12f6 54 rbp = pop 0x12f7 55 <return> jump(pop) 0x12a1 56 ebx = 0 0x12a3 57 r14 = 0x200f {"no"} 0x12aa 58 r12 = 0x200b {"yes"} 0x12b1 59 goto 64 @ 0x12d2 0x1235 60 rax = rdx + (rdx << 2) 0x1239 61 rax = rdx + (rax << 2) 0x123d 62 cl = [r12 + rax].b 0x1243 63 if (cl == 0) then 67 @ 0x1228 else 70 @ 0x1245 0x12d2 64 cond:0 = [rbp + (rbx << 2) - 0x1c0].d s> 0 0x12da 65 rdi = r14 0x12dd 66 if (cond:0) then 82 @ 0x12c0 else 86 @ 0x12df 0x1228 67 rdx = rdx + 1 0x122c 68 r9 = r9 + 0x15 0x1233 69 if (rdx == r8) then 33 @ 0x129f else 60 @ 0x1235 0x1245 70 al = [r12 + rax].b 0x1249 71 edi = (rax - 0x61).d 0x124c 72 flag:c = dil u< 0x1a 0x1250 73 dil = flag:c 0x1254 74 esi = (rax - 0x41).d 0x1257 75 flag:c = sil u< 0x1a 0x125b 76 sil = flag:c 0x1261 77 al = al == 0x5f 0x1264 78 al = al | sil 0x1267 79 al = al | dil 0x126a 80 rdi = r9 0x126d 81 goto 88 @ 0x127d 0x12c0 82 call(0x1050) 0x12c5 83 rbx = rbx + 1 0x12c9 84 rax = sx.q([rbp - 0x2c {var_34}].d) 0x12d0 85 if (rbx s>= rax) then 46 @ 0x12e4 else 64 @ 0x12d2 0x12df 86 rdi = r12 0x12e2 87 goto 82 @ 0x12c0 0x127d 88 if (al == 0) then 89 @ 0x1220 else 91 @ 0x127f 0x1220 89 [rbp + (rdx << 2) - 0x1c0].d = [rbp + (rdx << 2) - 0x1c0].d + 1 0x1220 90 goto 67 @ 0x1228 0x127f 91 ebx = ecx 0x1281 92 bl = bl & 0xdf 0x1284 93 bl = bl - 0x41 0x128a 94 if (bl u< 0x1a) then 95 @ 0x1270 else 98 @ 0x128f 0x1270 95 ecx = zx.d([rdi].b) 0x1273 96 rdi = rdi + 1 0x1279 97 if (cl == 0) then 67 @ 0x1228 else 88 @ 0x127d 0x128f 98 if (cl == 0x5f) then 95 @ 0x1270 else 99 @ 0x1291 0x1291 99 cl = cl - 0x30 0x1297 100 if (cl u<= 9) then 95 @ 0x1270 else 101 @ 0x1299 0x1299 101 goto 89 @ 0x1220 int64_t _fini(): 0x12fc 0 rsp = rsp - 8 0x1300 1 rsp = rsp + 8 0x1304 2 <return> jump(pop)
POJ_85
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVATSH8"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 rsp = rsp - 0x338 0x116e 5 rdi = 0x2004 {"%d%d"} 0x1175 6 rsi = rsp + 0xc {var_34c} 0x117a 7 rdx = rsp + 8 {var_350} 0x117f 8 eax = 0 0x1181 9 call(0x1040) 0x1186 10 r15d = [rsp + 0xc {var_34c}].d 0x118e 11 if (r15d s<= 0) then 12 @ 0x11d4 else 13 @ 0x1190 0x11d4 12 if ([rsp + 8 {var_350}].d s<= 0) then 17 @ 0x1218 else 18 @ 0x11d6 0x1190 13 r12 = rsp + 0x1a0 {var_1b8} 0x1198 14 r14 = 0x200a {"%d"} 0x119f 15 ebx = 0 0x11ab 16 goto 22 @ 0x11b0 0x1218 17 if (r15d s< 2) then 30 @ 0x1307 else 35 @ 0x121e 0x11d6 18 r15 = rsp + 0x10 {var_348} 0x11db 19 r14 = 0x200a {"%d"} 0x11e2 20 ebx = 0 0x11ee 21 goto 39 @ 0x11f0 0x11b0 22 rdi = r14 0x11b3 23 rsi = r12 0x11b6 24 eax = 0 0x11b8 25 call(0x1040) 0x11bd 26 rbx = rbx + 1 0x11c1 27 r15 = sx.q([rsp + 0xc {var_34c}].d) 0x11c6 28 r12 = r12 + 4 0x11cd 29 if (rbx s< r15) then 22 @ 0x11b0 else 12 @ 0x11d4 0x1307 30 esi = [rsp + 0x1a0 {var_1b8}].d 0x130e 31 rdi = 0x200a {"%d"} 0x1315 32 eax = 0 0x1317 33 call(0x1030) 0x131c 34 goto 47 @ 0x136a 0x121e 35 r9d = (r15 - 1).d 0x1222 36 ecx = 1 0x1227 37 r10d = 0 0x122a 38 goto 51 @ 0x1247 0x11f0 39 rdi = r14 0x11f3 40 rsi = r15 0x11f6 41 eax = 0 0x11f8 42 call(0x1040) 0x11fd 43 rbx = rbx + 1 0x1201 44 rax = sx.q([rsp + 8 {var_350}].d) 0x1206 45 r15 = r15 + 4 0x120d 46 if (rbx s< rax) then 39 @ 0x11f0 else 52 @ 0x120f 0x136a 47 edi = 0x20 {"@"} 0x136f 48 call(0x1050) 0x1374 49 r15d = [rsp + 8 {var_350}].d 0x137d 50 if (r15d s< 2) then 54 @ 0x144b else 59 @ 0x1383 0x1247 51 if (ecx s>= r15d) then 63 @ 0x1230 else 67 @ 0x1249 0x120f 52 r15d = [rsp + 0xc {var_34c}].d 0x120f 53 goto 17 @ 0x1218 0x144b 54 esi = [rsp + 0x10 {var_348}].d 0x144f 55 rdi = 0x200a {"%d"} 0x1456 56 eax = 0 0x1458 57 call(0x1030) 0x145d 58 goto 72 @ 0x1497 0x1383 59 r9d = (r15 - 1).d 0x1387 60 ecx = 1 0x138c 61 r10d = 0 0x138f 62 goto 79 @ 0x13b7 0x1230 63 ecx = ecx + 1 0x1233 64 r10d = r10d + 1 0x1237 65 r9d = r9d - 1 0x123e 66 if (ecx == r15d) then 80 @ 0x131e else 51 @ 0x1247 0x1249 67 r8d = r10d 0x124c 68 r8d = not.d(r8d) 0x124f 69 r8d = r8d + r15d 0x1252 70 edx = [rsp + 0x1a0 {var_1b8}].d 0x125d 71 if (r8d != 1) then 88 @ 0x1270 else 92 @ 0x125f 0x1497 72 eax = 0 0x1499 73 rsp = rsp + 0x338 0x14a0 74 rbx = pop 0x14a1 75 r12 = pop 0x14a3 76 r14 = pop 0x14a5 77 r15 = pop 0x14a7 78 <return> jump(pop) 0x13b7 79 if (ecx s>= r15d) then 94 @ 0x13a0 else 98 @ 0x13b9 0x131e 80 esi = [rsp + 0x1a0 {var_1b8}].d 0x1325 81 rdi = 0x200a {"%d"} 0x132c 82 eax = 0 0x132e 83 call(0x1030) 0x1333 84 r15d = r15d 0x1336 85 ebx = 1 0x133b 86 r14 = 0x2009 {" %d"} 0x134c 87 goto 103 @ 0x1350 0x1270 88 eax = r9d 0x1273 89 eax = eax & 0xfffffffe 0x1276 90 edi = 0 0x1278 91 goto 109 @ 0x1296 0x125f 92 ebx = 0 0x1261 93 goto 111 @ 0x12df 0x13a0 94 ecx = ecx + 1 0x13a3 95 r10d = r10d + 1 0x13a7 96 r9d = r9d - 1 0x13ae 97 if (ecx == r15d) then 112 @ 0x145f else 79 @ 0x13b7 0x13b9 98 r8d = r10d 0x13bc 99 r8d = not.d(r8d) 0x13bf 100 r8d = r8d + r15d 0x13c2 101 edx = [rsp + 0x10 {var_348}].d 0x13ca 102 if (r8d != 1) then 119 @ 0x13d0 else 123 @ 0x13cc 0x1350 103 esi = [rsp + (rbx << 2) + 0x1a0].d 0x1357 104 rdi = r14 0x135a 105 eax = 0 0x135c 106 call(0x1030) 0x1361 107 rbx = rbx + 1 0x1368 108 if (r15 != rbx) then 103 @ 0x1350 else 47 @ 0x136a 0x1296 109 esi = [rsp + (rdi << 2) + 0x1a4].d 0x129f 110 if (edx s<= esi) then 125 @ 0x12c0 else 129 @ 0x12a1 0x12df 111 if ((r8b & 1) == 0) then 63 @ 0x1230 else 134 @ 0x12e5 0x145f 112 esi = [rsp + 0x10 {var_348}].d 0x1463 113 rdi = 0x200a {"%d"} 0x146a 114 eax = 0 0x146c 115 call(0x1030) 0x1471 116 ebx = 1 0x1476 117 r14 = 0x2009 {" %d"} 0x147d 118 goto 136 @ 0x1480 0x13d0 119 eax = r9d 0x13d3 120 eax = eax & 0xfffffffe 0x13d6 121 edi = 0 0x13d8 122 goto 142 @ 0x13f0 0x13cc 123 ebx = 0 0x13ce 124 goto 144 @ 0x142c 0x12c0 125 edx = esi 0x12c2 126 rbx = rdi + 2 0x12c6 127 esi = [rsp + (rdi << 2) + 0x1a8].d 0x12cf 128 if (edx s> esi) then 145 @ 0x1280 else 149 @ 0x12d1 0x12a1 129 [rsp + (rdi << 2) + 0x1a0].d = esi 0x12a8 130 [rsp + (rdi << 2) + 0x1a4].d = edx 0x12af 131 rbx = rdi + 2 0x12b3 132 esi = [rsp + (rdi << 2) + 0x1a8].d 0x12bc 133 if (edx s> esi) then 145 @ 0x1280 else 152 @ 0x12be 0x12e5 134 eax = [rsp + (rbx << 2) + 0x1a4].d 0x12ee 135 if (edx s<= eax) then 63 @ 0x1230 else 153 @ 0x12f4 0x1480 136 esi = [rsp + (rbx << 2) + 0x10].d 0x1484 137 rdi = r14 0x1487 138 eax = 0 0x1489 139 call(0x1030) 0x148e 140 rbx = rbx + 1 0x1495 141 if (r15 != rbx) then 136 @ 0x1480 else 72 @ 0x1497 0x13f0 142 esi = [rsp + (rdi << 2) + 0x14].d 0x13f6 143 if (edx s<= esi) then 156 @ 0x1410 else 160 @ 0x13f8 0x142c 144 if ((r8b & 1) == 0) then 94 @ 0x13a0 else 165 @ 0x1432 0x1280 145 [rsp + (rdi << 2) + 0x1a4].d = esi 0x1287 146 [rsp + (rdi << 2) + 0x1a8].d = edx 0x128e 147 rdi = rbx 0x1294 148 if (rax == rbx) then 111 @ 0x12df else 109 @ 0x1296 0x12d1 149 edx = esi 0x12d3 150 rdi = rbx 0x12d9 151 if (rax != rbx) then 109 @ 0x1296 else 111 @ 0x12df 0x12be 152 goto 149 @ 0x12d1 0x12f4 153 [rsp + (rbx << 2) + 0x1a0].d = eax 0x12fb 154 [rsp + (rbx << 2) + 0x1a4].d = edx 0x1302 155 goto 63 @ 0x1230 0x1410 156 edx = esi 0x1412 157 rbx = rdi + 2 0x1416 158 esi = [rsp + (rdi << 2) + 0x18].d 0x141c 159 if (edx s> esi) then 167 @ 0x13e0 else 171 @ 0x141e 0x13f8 160 [rsp + (rdi << 2) + 0x10].d = esi 0x13fc 161 [rsp + (rdi << 2) + 0x14].d = edx 0x1400 162 rbx = rdi + 2 0x1404 163 esi = [rsp + (rdi << 2) + 0x18].d 0x140a 164 if (edx s> esi) then 167 @ 0x13e0 else 174 @ 0x140c 0x1432 165 eax = [rsp + (rbx << 2) + 0x14].d 0x1438 166 if (edx s<= eax) then 94 @ 0x13a0 else 175 @ 0x143e 0x13e0 167 [rsp + (rdi << 2) + 0x14].d = esi 0x13e4 168 [rsp + (rdi << 2) + 0x18].d = edx 0x13e8 169 rdi = rbx 0x13ee 170 if (rax == rbx) then 144 @ 0x142c else 142 @ 0x13f0 0x141e 171 edx = esi 0x1420 172 rdi = rbx 0x1426 173 if (rax != rbx) then 142 @ 0x13f0 else 144 @ 0x142c 0x140c 174 goto 171 @ 0x141e 0x143e 175 [rsp + (rbx << 2) + 0x10].d = eax 0x1442 176 [rsp + (rbx << 2) + 0x14].d = edx 0x1446 177 goto 94 @ 0x13a0 int64_t f(int32_t* arg1, int32_t arg2, int64_t arg3, uint64_t arg4, uint64_t arg5): 0x14b0 0 push(r15) 0x14b2 1 push(r14) 0x14b4 2 push(r12) 0x14b6 3 push(rbx) 0x14b7 4 push(rax) 0x14b8 5 rbx = rdi 0x14be 6 if (esi s< 2) then 7 @ 0x158a else 16 @ 0x14c4 0x158a 7 esi = [rbx].d 0x158c 8 rdi = 0x200a {"%d"} 0x1593 9 eax = 0 0x1595 10 rsp = rsp + 8 0x1599 11 rbx = pop 0x159a 12 r12 = pop 0x159c 13 r14 = pop 0x159e 14 r15 = pop 0x15a0 15 <return> tailcall(0x1030) 0x14c4 16 r14d = esi 0x14c7 17 r9d = (r14 - 1).d 0x14cb 18 r11d = 1 0x14d1 19 r10d = 0 0x14d4 20 goto 21 @ 0x14f8 0x14f8 21 if (r11d s>= r14d) then 22 @ 0x14e0 else 26 @ 0x14fa 0x14e0 22 r11d = r11d + 1 0x14e4 23 r10d = r10d + 1 0x14e8 24 r9d = r9d - 1 0x14ef 25 if (r11d == r14d) then 31 @ 0x15a5 else 21 @ 0x14f8 0x14fa 26 r8d = r10d 0x14fd 27 r8d = not.d(r8d) 0x1500 28 r8d = r8d + r14d 0x1503 29 ecx = [rbx].d 0x1509 30 if (r8d != 1) then 36 @ 0x1510 else 40 @ 0x150b 0x15a5 31 esi = [rbx].d 0x15a7 32 rdi = 0x200a {"%d"} 0x15ae 33 eax = 0 0x15b0 34 call(0x1030) 0x15b9 35 if (r14d s< 2) then 42 @ 0x15e7 else 48 @ 0x15bb 0x1510 36 eax = r9d 0x1513 37 eax = eax & 0xfffffffe 0x1516 38 edi = 0 0x1518 39 goto 52 @ 0x1530 0x150b 40 edx = 0 0x150d 41 goto 54 @ 0x156c 0x15e7 42 rsp = rsp + 8 0x15eb 43 rbx = pop 0x15ec 44 r12 = pop 0x15ee 45 r14 = pop 0x15f0 46 r15 = pop 0x15f2 47 <return> jump(pop) 0x15bb 48 r15d = r14d 0x15be 49 r12d = 1 0x15c4 50 r14 = 0x2009 {" %d"} 0x15cb 51 goto 55 @ 0x15d0 0x1530 52 edx = [rbx + (rdi << 2) + 4].d 0x1536 53 if (ecx s<= edx) then 61 @ 0x1550 else 65 @ 0x1538 0x156c 54 if ((r8b & 1) == 0) then 22 @ 0x14e0 else 70 @ 0x1572 0x15d0 55 esi = [rbx + (r12 << 2)].d 0x15d4 56 rdi = r14 0x15d7 57 eax = 0 0x15d9 58 call(0x1030) 0x15de 59 r12 = r12 + 1 0x15e5 60 if (r15 != r12) then 55 @ 0x15d0 else 42 @ 0x15e7 0x1550 61 ecx = edx 0x1552 62 rdx = rdi + 2 0x1556 63 esi = [rbx + (rdi << 2) + 8].d 0x155c 64 if (ecx s> esi) then 72 @ 0x1520 else 76 @ 0x155e 0x1538 65 [rbx + (rdi << 2)].d = edx 0x153b 66 [rbx + (rdi << 2) + 4].d = ecx 0x153f 67 rdx = rdi + 2 0x1543 68 esi = [rbx + (rdi << 2) + 8].d 0x1549 69 if (ecx s> esi) then 72 @ 0x1520 else 79 @ 0x154b 0x1572 70 eax = [rbx + (rdx << 2) + 4].d 0x1578 71 if (ecx s<= eax) then 22 @ 0x14e0 else 80 @ 0x157e 0x1520 72 [rbx + (rdi << 2) + 4].d = esi 0x1524 73 [rbx + (rdi << 2) + 8].d = ecx 0x1528 74 rdi = rdx 0x152e 75 if (rax == rdx) then 54 @ 0x156c else 52 @ 0x1530 0x155e 76 ecx = esi 0x1560 77 rdi = rdx 0x1566 78 if (rax != rdx) then 52 @ 0x1530 else 54 @ 0x156c 0x154b 79 goto 76 @ 0x155e 0x157e 80 [rbx + (rdx << 2)].d = eax 0x1581 81 [rbx + (rdx << 2) + 4].d = ecx 0x1585 82 goto 22 @ 0x14e0 int64_t _fini(): 0x15f8 0 rsp = rsp - 8 0x15fc 1 rsp = rsp + 8 0x1600 2 <return> jump(pop)
POJ_8
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int64_t malloc(uint64_t bytes): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1200 {"UAWAVAUATSPH= "} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) uint64_t apple(uint64_t arg1, int32_t arg2): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(rbx) 0x1166 4 push(rax) 0x1167 5 r15d = 0 0x116d 6 if (esi != 1) then 7 @ 0x1181 else 11 @ 0x116f 0x1181 7 ebx = esi 0x1183 8 r15d = 0 0x1186 9 r14d = 0x20 {"@"} 0x1186 10 goto 19 @ 0x118c 0x116f 11 r15d = r15d + 1 0x1173 12 eax = r15d 0x1176 13 rsp = rsp + 8 0x117a 14 rbx = pop 0x117b 15 r14 = pop 0x117d 16 r15 = pop 0x117f 17 rbp = pop 0x1180 18 <return> jump(pop) 0x118c 19 cond:0 = ebx s< edi 0x118e 20 ecx = edi 0x1190 21 if (cond:0) then 22 else 24 @ 0x1193 0x1190 22 ecx = ebx 0x1190 23 goto 24 @ 0x1193 0x1193 24 eax = ebx 0x1195 25 eax = eax - ecx 0x1197 26 ecx = (rbx - 2).d 0x119c 27 if (eax u>= ecx) then 28 else 30 @ 0x119f 0x119c 28 eax = ecx 0x119c 29 goto 30 @ 0x119f 0x119f 30 eax = eax + 1 0x11a5 31 if (eax u< 0x21) then 32 @ 0x11d0 else 36 @ 0x11a7 0x11d0 32 ebp = edi 0x11d2 33 temp0.d = ebp 0x11d2 34 ebp = ebp - ebx 0x11d4 35 if (temp0.d s>= ebx) then 39 @ 0x11e0 else 44 @ 0x11d6 0x11a7 36 ecx = eax 0x11a9 37 ecx = ecx & 0x1f 0x11ac 38 if (ecx == 0) then 46 else 48 @ 0x11b0 0x11e0 39 esi = (rbx - 1).d 0x11e3 40 call(0x1160) 0x11e8 41 r15d = r15d + eax 0x11eb 42 edi = ebp 0x11f0 43 if (ebx != 1) then 19 @ 0x118c else 51 @ 0x11f2 0x11d6 44 ebx = ebx - 1 0x11dc 45 if (ebx != 1) then 32 @ 0x11d0 else 52 @ 0x11de 0x11ac 46 ecx = r14d 0x11ac 47 goto 48 @ 0x11b0 0x11b0 48 eax = eax - ecx 0x11b2 49 ebx = ebx - eax 0x11be 50 goto 53 @ 0x11c0 0x11f2 51 goto 11 @ 0x116f 0x11de 52 goto 11 @ 0x116f 0x11c0 53 temp1.d = eax 0x11c0 54 eax = eax - 0x20 0x11c3 55 if (temp1.d != 0x20) then 53 @ 0x11c0 else 56 @ 0x11cf 0x11cf 56 goto 32 @ 0x11d0 int32_t main(int32_t argc, char** argv, char** envp): 0x1200 0 push(rbp) 0x1201 1 push(r15) 0x1203 2 push(r14) 0x1205 3 push(r13) 0x1207 4 push(r12) 0x1209 5 push(rbx) 0x120a 6 push(rax) 0x120b 7 rdi = 0x2007 {"%d"} 0x1212 8 rsi = rsp + 4 {var_38+0x4} 0x1217 9 eax = 0 0x1219 10 call(0x1040) 0x121e 11 rbp = sx.q([rsp + 4 {var_38+0x4}].d) 0x1223 12 rbx = rbp << 2 0x122b 13 rdi = rbx 0x122e 14 call(0x1050) 0x1233 15 r14 = rax 0x1236 16 rdi = rbx 0x1239 17 call(0x1050) 0x1241 18 if (rbp s<= 0) then 19 @ 0x12c7 else 28 @ 0x1247 0x12c7 19 eax = 0 0x12c9 20 rsp = rsp + 8 0x12cd 21 rbx = pop 0x12ce 22 r12 = pop 0x12d0 23 r13 = pop 0x12d2 24 r14 = pop 0x12d4 25 r15 = pop 0x12d6 26 rbp = pop 0x12d7 27 <return> jump(pop) 0x1247 28 r15 = rax 0x124a 29 r12 = 0x2004 {"%d %d"} 0x1251 30 r13 = r14 0x1254 31 rbx = rax 0x1257 32 ebp = 0 0x1259 33 goto 34 @ 0x1260 0x1260 34 rdi = r12 0x1263 35 rsi = r13 0x1266 36 rdx = rbx 0x1269 37 eax = 0 0x126b 38 call(0x1040) 0x1270 39 rbp = rbp + 1 0x1274 40 rax = sx.q([rsp + 4 {var_38+0x4}].d) 0x1279 41 rbx = rbx + 4 0x127d 42 r13 = r13 + 4 0x1284 43 if (rbp s< rax) then 34 @ 0x1260 else 44 @ 0x1288 0x1288 44 if (eax s<= 0) then 19 @ 0x12c7 else 45 @ 0x128a 0x128a 45 rbx = 0x200a {"%d\n"} 0x1291 46 ebp = 0 0x129d 47 goto 48 @ 0x12a0 0x12a0 48 edi = [r14 + (rbp << 2)].d 0x12a4 49 esi = [r15 + (rbp << 2)].d 0x12a8 50 call(0x1160) 0x12ad 51 rdi = rbx 0x12b0 52 esi = eax 0x12b2 53 eax = 0 0x12b4 54 call(0x1030) 0x12b9 55 rbp = rbp + 1 0x12bd 56 rax = sx.q([rsp + 4 {var_38+0x4}].d) 0x12c5 57 if (rbp s< rax) then 48 @ 0x12a0 else 19 @ 0x12c7 int64_t _fini(): 0x12dc 0 rsp = rsp - 8 0x12e0 1 rsp = rsp + 8 0x12e4 2 <return> jump(pop)
POJ_90
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH8"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x138a0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 rdi = 0x2005 {"%d"} 0x1169 5 rsi = rbp - 8 {var_10} 0x116d 6 al = 0 0x116f 7 call(0x1040) 0x1174 8 rsi = rbp - 0x13890 {var_13898} 0x117b 9 rdi = 0x2005 {"%d"} 0x1182 10 al = 0 0x1184 11 call(0x1040) 0x1189 12 esi = [rbp - 0x13890 {var_13898}].d 0x118f 13 rdi = 0x2005 {"%d"} 0x1196 14 al = 0 0x1198 15 call(0x1030) 0x119d 16 [rbp - 0x13894 {var_1389c}].d = 1 0x119d 17 goto 18 @ 0x11a7 0x11a7 18 eax = [rbp - 0x13894 {var_1389c}].d 0x11b0 19 if (eax s>= [rbp - 8 {var_10}].d) then 20 @ 0x125b else 22 @ 0x11b6 0x125b 20 [rbp - 0x13894 {var_1389c_1}].d = 1 0x125b 21 goto 31 @ 0x1265 0x11b6 22 rdi = 0x2005 {"%d"} 0x11bd 23 rsi = rbp - 0xc {var_14} 0x11c1 24 al = 0 0x11c3 25 call(0x1040) 0x11c8 26 ecx = [rbp - 0xc {var_14}].d 0x11cb 27 rax = sx.q([rbp - 0x13894 {var_1389c}].d) 0x11d2 28 [rbp + (rax << 2) - 0x13890].d = ecx 0x11d9 29 [rbp - 0x13898 {var_138a0_1}].d = 0 0x11d9 30 goto 33 @ 0x11e3 0x1265 31 eax = [rbp - 0x13894 {var_1389c_1}].d 0x126e 32 if (eax s>= [rbp - 8 {var_10}].d) then 35 @ 0x12be else 42 @ 0x1274 0x11e3 33 eax = [rbp - 0x13898 {var_138a0_1}].d 0x11ef 34 if (eax s>= [rbp - 0x13894 {var_1389c}].d) then 44 @ 0x1242 else 45 @ 0x11f5 0x12be 35 rdi = 0x2008 {"\n"} 0x12c5 36 al = 0 0x12c7 37 call(0x1030) 0x12cc 38 eax = 0 0x12ce 39 rsp = rsp + 0x138a0 0x12d5 40 rbp = pop 0x12d6 41 <return> jump(pop) 0x1274 42 rax = sx.q([rbp - 0x13894 {var_1389c_1}].d) 0x1283 43 if ([rbp + (rax << 2) - 0x13890].d == 0) then 49 @ 0x12a5 else 50 @ 0x1289 0x1242 44 goto 56 @ 0x1247 0x11f5 45 rax = sx.q([rbp - 0x13894 {var_1389c}].d) 0x11fc 46 eax = [rbp + (rax << 2) - 0x13890].d 0x1203 47 rcx = sx.q([rbp - 0x13898 {var_138a0_1}].d) 0x1211 48 if (eax != [rbp + (rcx << 2) - 0x13890].d) then 60 @ 0x1229 else 61 @ 0x1217 0x12a5 49 goto 64 @ 0x12aa 0x1289 50 rax = sx.q([rbp - 0x13894 {var_1389c_1}].d) 0x1290 51 esi = [rbp + (rax << 2) - 0x13890].d 0x1297 52 rdi = 0x2004 {" %d"} 0x129e 53 al = 0 0x12a0 54 call(0x1030) 0x12a0 55 goto 49 @ 0x12a5 0x1247 56 eax = [rbp - 0x13894 {var_1389c}].d 0x124d 57 eax = eax + 1 0x1250 58 [rbp - 0x13894 {var_1389c}].d = eax 0x1256 59 goto 18 @ 0x11a7 0x1229 60 goto 68 @ 0x122e 0x1217 61 rax = sx.q([rbp - 0x13894 {var_1389c}].d) 0x121e 62 [rbp + (rax << 2) - 0x13890].d = 0 0x121e 63 goto 60 @ 0x1229 0x12aa 64 eax = [rbp - 0x13894 {var_1389c_1}].d 0x12b0 65 eax = eax + 1 0x12b3 66 [rbp - 0x13894 {var_1389c_1}].d = eax 0x12b9 67 goto 31 @ 0x1265 0x122e 68 eax = [rbp - 0x13898 {var_138a0_1}].d 0x1234 69 eax = eax + 1 0x1237 70 [rbp - 0x13898 {var_138a0_1}].d = eax 0x123d 71 goto 33 @ 0x11e3 int64_t _fini(): 0x12dc 0 rsp = rsp - 8 0x12e0 1 rsp = rsp + 8 0x12e4 2 <return> jump(pop)
POJ_13
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"SH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbx) 0x1151 1 rsp = rsp - 0x80 0x1158 2 rdi = 0x2004 {"%s %s"} 0x115f 3 rsi = rsp + 0x40 {var_48} 0x1164 4 rbx = rsp {var_88} 0x1167 5 rdx = rbx {var_88} 0x116a 6 eax = 0 0x116c 7 call(0x1040) 0x1171 8 dl = [rsp {var_88}].b 0x1176 9 if (dl == 0) then 10 @ 0x11da else 13 @ 0x1178 0x11da 10 rsp = rsp + 0x80 0x11e1 11 rbx = pop 0x11e2 12 <return> jump(pop) 0x1178 13 al = [rsp + 0x40 {var_48}].b 0x117e 14 if (al == 0) then 10 @ 0x11da else 15 @ 0x1180 0x1180 15 r8 = rsp + 0x41 {var_47} 0x1180 16 goto 17 @ 0x1187 0x1187 17 if (dl != al) then 18 @ 0x11b0 else 20 @ 0x1189 0x11b0 18 rsi = rbx 0x11b0 19 goto 23 @ 0x11b3 0x1189 20 rdx = r8 {var_47} 0x118c 21 rdi = rbx 0x118f 22 goto 27 @ 0x1190 0x11b3 23 dl = [rsi + 1].b 0x11b6 24 rsi = rsi + 1 0x11ba 25 rbx = rsi 0x11bf 26 if (dl != 0) then 17 @ 0x1187 else 29 @ 0x11c1 0x1190 27 ecx = zx.d([rdx].b) 0x1195 28 if (cl == 0) then 30 @ 0x11c3 else 37 @ 0x1197 0x11c1 29 goto 10 @ 0x11da 0x11c3 30 rax = rsp {var_88} 0x11c6 31 rbx = rbx - rax 0x11c9 32 rdi = 0x200a {"%d\n"} 0x11d0 33 rsi = rbx 0x11d3 34 eax = 0 0x11d5 35 call(0x1030) 0x11d5 36 goto 10 @ 0x11da 0x1197 37 rsi = rdi + 1 0x119b 38 rdx = rdx + 1 0x119f 39 cond:0 = cl == [rdi + 1].b 0x11a2 40 rdi = rsi 0x11a5 41 if (cond:0) then 27 @ 0x1190 else 42 @ 0x11a7 0x11a7 42 goto 23 @ 0x11b3 int64_t _fini(): 0x11e8 0 rsp = rsp - 8 0x11ec 1 rsp = rsp + 8 0x11f0 2 <return> jump(pop)
POJ_45
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t getchar(): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVATSHj"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 rsp = rsp - 0x186a18 0x116e 5 r14 = 0x2005 {"%d"} 0x1175 6 rsi = rsp + 0xc {var_186a2c} 0x117a 7 rdi = r14 0x117d 8 eax = 0 0x117f 9 call(0x1050) 0x1184 10 ebx = 1 0x1189 11 goto 12 @ 0x1190 0x1190 12 rsi = rsp + (rbx << 2) 0x1194 13 rsi = rsi + 0x10 0x1198 14 rdi = r14 0x119b 15 eax = 0 0x119d 16 call(0x1050) 0x11a2 17 eax = [rsp + (rbx << 2) + 0x10].d 0x11a6 18 [rsp + (rbx << 2) + 0xc3510].d = eax 0x11ad 19 rax = rbx + 1 0x11b1 20 rcx = sx.q([rsp + 0xc {var_186a2c}].d) 0x11b6 21 cond:0 = rbx s< rcx 0x11b9 22 rbx = rax 0x11bc 23 if (cond:0) then 12 @ 0x1190 else 24 @ 0x11be 0x11be 24 esi = [rsp + 0xc3514 {var_c3524}].d 0x11c5 25 rdi = 0x2005 {"%d"} 0x11cc 26 eax = 0 0x11ce 27 call(0x1030) 0x11d3 28 eax = [rsp + 0xc {var_186a2c}].d 0x11da 29 if (eax s>= 2) then 30 @ 0x1202 else 35 @ 0x11dc 0x1202 30 ebx = 2 0x1207 31 r15 = -7 0x120e 32 r14 = 0x2004 {" %d"} 0x1215 33 edi = 0 0x1217 34 goto 48 @ 0x1236 0x11dc 35 eax = 0 0x11de 36 call(0x1040) 0x11e3 37 eax = 0 0x11e5 38 call(0x1040) 0x11ea 39 eax = 0 0x11ec 40 call(0x1040) 0x11f1 41 eax = 0 0x11f3 42 rsp = rsp + 0x186a18 0x11fa 43 rbx = pop 0x11fb 44 r12 = pop 0x11fd 45 r14 = pop 0x11ff 46 r15 = pop 0x1201 47 <return> jump(pop) 0x1236 48 r12 = rdi + 1 0x123a 49 esi = [rsp + (rbx << 2) + 0xc3510].d 0x1241 50 edx = 1 0x1246 51 ecx = 0 0x124f 52 if (r12 u< 8) then 53 @ 0x1340 else 58 @ 0x1255 0x1340 53 edi = 0 0x1346 54 dil = esi == [rsp + (rdx << 2) + 0x10].d 0x134a 55 ecx = ecx + edi 0x134c 56 rdx = rdx + 1 0x1353 57 if (rbx != rdx) then 53 @ 0x1340 else 65 @ 0x1357 0x1255 58 rdi = rdi - 7 0x1259 59 rcx = rdi 0x125c 60 rcx = rcx u>> 3 0x1260 61 rcx = rcx + 1 0x1264 62 xmm0 = esi 0x1268 63 xmm1 = _mm_shuffle_epi32(xmm0, 0) 0x1271 64 if (rdi u>= 8) then 66 @ 0x1280 else 74 @ 0x1273 0x1357 65 if (ecx != 0) then 78 @ 0x1220 else 85 @ 0x135d 0x1280 66 rdx = r15 0x1283 67 rdx = rdx u>> 3 0x1287 68 rdx = rdx + 1 0x128b 69 rdx = rdx & 0xfffffffffffffffe 0x128f 70 xmm0 = 0 0x1293 71 edi = 0 0x1295 72 xmm2 = 0 0x1299 73 goto 90 @ 0x12a0 0x1273 74 xmm0 = 0 0x1277 75 edi = 0 0x1279 76 xmm2 = 0 0x127d 77 goto 106 @ 0x12e2 0x1220 78 rcx = rbx + 1 0x1224 79 rdx = sx.q(eax) 0x1227 80 r15 = r15 + 1 0x122b 81 rdi = r12 0x122e 82 cond:1 = rbx s>= rdx 0x1231 83 rbx = rcx 0x1234 84 if (cond:1) then 35 @ 0x11dc else 48 @ 0x1236 0x135d 85 rdi = r14 0x1360 86 eax = 0 0x1362 87 call(0x1030) 0x1367 88 eax = [rsp + 0xc {var_186a2c}].d 0x136b 89 goto 78 @ 0x1220 0x12a0 90 xmm3 = [rsp + (rdi << 2) + 0x14].o 0x12a6 91 xmm4 = [rsp + (rdi << 2) + 0x24].o 0x12ac 92 xmm5 = [rsp + (rdi << 2) + 0x34].o 0x12b2 93 xmm6 = [rsp + (rdi << 2) + 0x44].o 0x12b8 94 xmm3 = _mm_cmpeq_epi32(xmm3, xmm1) 0x12bc 95 xmm0 = _mm_sub_epi32(xmm0, xmm3) 0x12c0 96 xmm4 = _mm_cmpeq_epi32(xmm4, xmm1) 0x12c4 97 xmm2 = _mm_sub_epi32(xmm2, xmm4) 0x12c8 98 xmm5 = _mm_cmpeq_epi32(xmm5, xmm1) 0x12cc 99 xmm0 = _mm_sub_epi32(xmm0, xmm5) 0x12d0 100 xmm6 = _mm_cmpeq_epi32(xmm6, xmm1) 0x12d4 101 xmm2 = _mm_sub_epi32(xmm2, xmm6) 0x12d8 102 rdi = rdi + 0x10 0x12dc 103 temp0.q = rdx 0x12dc 104 rdx = rdx - 2 0x12e0 105 if (temp0.q != 2) then 90 @ 0x12a0 else 106 @ 0x12e2 0x12e2 106 rdx = r12 0x12e5 107 rdx = rdx & 0xfffffffffffffff8 0x12ec 108 if ((cl & 1) == 0) then 109 @ 0x1312 else 116 @ 0x12ee 0x1312 109 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x1316 110 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x131b 111 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x131f 112 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x1324 113 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1328 114 ecx = xmm0.d 0x132f 115 if (r12 == rdx) then 65 @ 0x1357 else 125 @ 0x1331 0x12ee 116 rdi = rdi << 2 0x12f2 117 rdi = rdi | 4 0x12f6 118 xmm3 = [rsp + rdi + 0x10].o 0x12fc 119 xmm4 = [rsp + rdi + 0x20].o 0x1302 120 xmm3 = _mm_cmpeq_epi32(xmm3, xmm1) 0x1306 121 xmm0 = _mm_sub_epi32(xmm0, xmm3) 0x130a 122 xmm4 = _mm_cmpeq_epi32(xmm4, xmm1) 0x130e 123 xmm2 = _mm_sub_epi32(xmm2, xmm4) 0x130e 124 goto 109 @ 0x1312 0x1331 125 rdx = rdx | 1 0x133f 126 goto 53 @ 0x1340 int64_t _fini(): 0x1374 0 rsp = rsp - 8 0x1378 1 rsp = rsp + 8 0x137c 2 <return> jump(pop)
POJ_13
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 char* strcpy(char* arg1, char const* arg2): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t puts(char const* str): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSHh"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0xe68 0x1171 7 rdi = 0x20a3 {"%d"} 0x1178 8 rsi = rsp + 4 {var_e94} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1189 11 if ([rsp + 4 {var_e94}].d s<= 0) then 12 @ 0x1683 else 20 @ 0x118f 0x1683 12 rsp = rsp + 0xe68 0x168a 13 rbx = pop 0x168b 14 r12 = pop 0x168d 15 r13 = pop 0x168f 16 r14 = pop 0x1691 17 r15 = pop 0x1693 18 rbp = pop 0x1694 19 <return> jump(pop) 0x118f 20 r14 = rsp + 0x500 {var_998} 0x1197 21 rbx = rsp + 0xa80 {var_418} 0x119f 22 r15 = 0x20a0 {"%s %d"} 0x11a6 23 ebp = 0 0x11a8 24 goto 25 @ 0x11b0 0x11b0 25 rdi = r15 0x11b3 26 rsi = rbx 0x11b6 27 rdx = r14 0x11b9 28 eax = 0 0x11bb 29 call(0x1040) 0x11c0 30 rbp = rbp + 1 0x11c4 31 r12 = sx.q([rsp + 4 {var_e94}].d) 0x11c9 32 r14 = r14 + 4 0x11cd 33 rbx = rbx + 0xa 0x11d4 34 if (rbp s< r12) then 25 @ 0x11b0 else 35 @ 0x11d9 0x11d9 35 if (r12d s<= 0) then 12 @ 0x1683 else 36 @ 0x11df 0x11df 36 r14d = r12d 0x11e6 37 if (r12d u>= 8) then 38 @ 0x11ef else 47 @ 0x11e8 0x11ef 38 eax = r14d 0x11f2 39 eax = eax & 0xfffffff8 0x11f5 40 rsi = rax - 8 0x11f9 41 rdx = rsi 0x11fc 42 rdx = rdx u>> 3 0x1200 43 rdx = rdx + 1 0x1204 44 ecx = edx 0x1206 45 ecx = ecx & 3 0x120d 46 if (rsi u>= 0x18) then 49 @ 0x121e else 61 @ 0x120f 0x11e8 47 eax = 0 0x11ea 48 goto 64 @ 0x1350 0x121e 49 rdx = rdx & 0xfffffffffffffffc 0x1222 50 xmm0 = [0x2010].o 0x122a 51 esi = 0 0x122c 52 xmm8 = [0x2020].o 0x1235 53 xmm9 = [0x2030].o 0x123e 54 xmm10 = [0x2040].o 0x1247 55 xmm4 = [0x2050].o 0x124f 56 xmm5 = [0x2060].o 0x1257 57 xmm6 = [0x2070].o 0x125f 58 xmm7 = [0x2080].o 0x1267 59 xmm1 = [0x2090].o 0x126f 60 goto 67 @ 0x1270 0x120f 61 xmm0 = [0x2010].o 0x1217 62 esi = 0 0x1219 63 goto 94 @ 0x12ff 0x1350 64 [rsp + (rax << 2) + 0x50].d = eax 0x1354 65 rax = rax + 1 0x135b 66 if (r14 != rax) then 64 @ 0x1350 else 95 @ 0x1360 0x1270 67 xmm2 = xmm0 0x1274 68 xmm2 = _mm_add_epi32(xmm2, xmm8) 0x1279 69 [rsp + (rsi << 2) + 0x50].o = xmm0 0x127f 70 [rsp + (rsi << 2) + 0x60].o = xmm2 0x1285 71 xmm2 = xmm0 0x1289 72 xmm2 = _mm_add_epi32(xmm2, xmm9) 0x128e 73 xmm3 = xmm0 0x1292 74 xmm3 = _mm_add_epi32(xmm3, xmm10) 0x1297 75 [rsp + (rsi << 2) + 0x70].o = xmm2 0x129d 76 [rsp + (rsi << 2) + 0x80].o = xmm3 0x12a6 77 xmm2 = xmm0 0x12aa 78 xmm2 = _mm_add_epi32(xmm2, xmm4) 0x12ae 79 xmm3 = xmm0 0x12b2 80 xmm3 = _mm_add_epi32(xmm3, xmm5) 0x12b6 81 [rsp + (rsi << 2) + 0x90].o = xmm2 0x12bf 82 [rsp + (rsi << 2) + 0xa0].o = xmm3 0x12c8 83 xmm2 = xmm0 0x12cc 84 xmm2 = _mm_add_epi32(xmm2, xmm6) 0x12d0 85 xmm3 = xmm0 0x12d4 86 xmm3 = _mm_add_epi32(xmm3, xmm7) 0x12d8 87 [rsp + (rsi << 2) + 0xb0].o = xmm2 0x12e1 88 [rsp + (rsi << 2) + 0xc0].o = xmm3 0x12ea 89 rsi = rsi + 0x20 0x12ee 90 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x12f2 91 temp0.q = rdx 0x12f2 92 rdx = rdx - 4 0x12f6 93 if (temp0.q != 4) then 67 @ 0x1270 else 94 @ 0x12ff 0x12ff 94 if (rcx == 0) then 96 @ 0x1343 else 97 @ 0x1301 0x1360 95 if (r12d s<= 0) then 104 @ 0x163a else 105 @ 0x1366 0x1343 96 if (rax == r14) then 95 @ 0x1360 else 109 @ 0x134f 0x1301 97 rdx = rsp + (rsi << 2) 0x1305 98 rdx = rdx + 0x60 0x1309 99 rcx = rcx << 5 0x130d 100 esi = 0 0x130f 101 xmm1 = [0x2020].o 0x1317 102 xmm2 = [0x2030].o 0x131f 103 goto 110 @ 0x1320 0x163a 104 if (r12d s<= 0) then 12 @ 0x1683 else 117 @ 0x163c 0x1366 105 ebp = 0 0x1368 106 rbx = rsp + 0xa80 {var_418} 0x1370 107 r15d = 0 0x1373 108 goto 120 @ 0x138d 0x134f 109 goto 64 @ 0x1350 0x1320 110 xmm3 = xmm0 0x1324 111 xmm3 = _mm_add_epi32(xmm3, xmm1) 0x1328 112 [rdx + rsi - 0x10].o = xmm0 0x132e 113 [rdx + rsi].o = xmm3 0x1333 114 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x1337 115 rsi = rsi + 0x20 0x133e 116 if (rcx != rsi) then 110 @ 0x1320 else 96 @ 0x1343 0x163c 117 rbx = rsp + 0xa80 {var_418} 0x1644 118 ebp = 0 0x1646 119 goto 122 @ 0x1668 0x138d 120 eax = [rsp + (rbp << 2) + 0x500].d 0x1397 121 if (eax s< 0x3c) then 123 @ 0x1380 else 126 @ 0x1399 0x1668 122 if ([rsp + (rbp << 2) + 0x500].d s> 0x3b) then 137 @ 0x1650 else 141 @ 0x166a 0x1380 123 rbp = rbp + 1 0x1384 124 rbx = rbx + 0xa 0x138b 125 if (r14 == rbp) then 145 @ 0x13d1 else 120 @ 0x138d 0x1399 126 r15 = sx.q(r15d) 0x139c 127 [rsp + (r15 << 2) + 0x370].d = eax 0x13a4 128 eax = [rsp + (r15 << 2) + 0x50].d 0x13a9 129 [rsp + (r15 << 2) + 0x1e0].d = eax 0x13b1 130 rax = r15 + (r15 << 2) 0x13b5 131 rdi = rsp + (rax << 1) 0x13b9 132 rdi = rdi + 0x690 0x13c0 133 rsi = rbx 0x13c3 134 call(0x1030) 0x13c8 135 r15d = r15d + 1 0x13cc 136 goto 123 @ 0x1380 0x1650 137 rbp = rbp + 1 0x1654 138 rax = sx.q(r12d) 0x1657 139 rbx = rbx + 0xa 0x165e 140 if (rbp s>= rax) then 12 @ 0x1683 else 122 @ 0x1668 0x166a 141 rdi = rbx 0x166d 142 call(0x1050) 0x1672 143 r12d = [rsp + 4 {var_e94}].d 0x1677 144 goto 137 @ 0x1650 0x13d1 145 if (r15d s<= 0) then 104 @ 0x163a else 146 @ 0x13d7 0x13d7 146 [rsp + 0x38 {var_e60_1}].q = r12 0x13dc 147 [rsp + 0x40 {var_e58_1}].q = r15 0x13e1 148 ebx = r15d 0x13e4 149 rax = rsp + 0x69a {var_7fe} 0x13ec 150 [rsp + 8 {var_e90_1}].q = rax {var_7fe} 0x13f1 151 rax = rsp + 0x1e0 {var_cb8} 0x13f9 152 [rsp + 0x10 {var_e88_1}].q = rax {var_cb8} 0x13fe 153 rsi = rsp + 0x370 {var_b28} 0x1406 154 r14d = 0 0x1409 155 r15 = rbx 0x140c 156 [rsp + 0x48 {var_e50_1}].q = rbx 0x1411 157 goto 158 @ 0x1447 0x1447 158 rax = r14 + 1 0x144b 159 [rsp + 0x18 {var_e80_1}].q = rax 0x1453 160 if (rax u>= rbx) then 161 @ 0x1420 else 168 @ 0x1455 0x1420 161 [rsp + 0x10 {var_e88_1}].q = [rsp + 0x10 {var_e88_1}].q + 4 0x1426 162 rsi = rsi + 4 0x142a 163 [rsp + 8 {var_e90_1}].q = [rsp + 8 {var_e90_1}].q + 0xa 0x1430 164 r15 = r15 - 1 0x1434 165 rbx = [rsp + 0x48 {var_e50_1}].q 0x1439 166 r14 = [rsp + 0x18 {var_e80_1}].q 0x1441 167 if (r14 == rbx) then 175 @ 0x14f9 else 158 @ 0x1447 0x1455 168 rax = r14 + (r14 << 2) 0x1459 169 rax = rsp + (rax << 1) 0x145d 170 rax = rax + 0x690 0x1463 171 [rsp + 0x20 {var_e78_1}].q = rax 0x1468 172 ebp = 1 0x146d 173 rbx = [rsp + 8 {var_e90_1}].q 0x1472 174 goto 176 @ 0x148d 0x14f9 175 if ([rsp + 0x40 {var_e58_1}].d s<= 0) then 179 @ 0x1679 else 181 @ 0x14ff 0x148d 176 eax = [rsp + (r14 << 2) + 0x370].d 0x1495 177 ecx = [rsi + (rbp << 2)].d 0x149a 178 if (eax s>= ecx) then 188 @ 0x1480 else 191 @ 0x149c 0x1679 179 r12 = [rsp + 0x38 {var_e60_1}].q 0x1681 180 if (r12d s> 0) then 117 @ 0x163c else 12 @ 0x1683 0x14ff 181 rax = rsp + 0x69a {var_7fe} 0x1507 182 [rsp + 8 {var_e90_2}].q = rax {var_7fe} 0x150c 183 rsi = rsp + 0x1e0 {var_cb8} 0x1514 184 r13 = rsp + 0x370 {var_b28} 0x151c 185 r14d = 0 0x151f 186 rdi = rbx 0x1522 187 goto 211 @ 0x1555 0x1480 188 rbp = rbp + 1 0x1484 189 rbx = rbx + 0xa 0x148b 190 if (r15 == rbp) then 161 @ 0x1420 else 176 @ 0x148d 0x149c 191 [rsp + (r14 << 2) + 0x370].d = ecx 0x14a4 192 [rsi + (rbp << 2)].d = eax 0x14a7 193 eax = [rsp + (r14 << 2) + 0x1e0].d 0x14af 194 rdx = [rsp + 0x10 {var_e88_1}].q 0x14b4 195 ecx = [rdx + (rbp << 2)].d 0x14b7 196 [rsp + (r14 << 2) + 0x1e0].d = ecx 0x14bf 197 [rdx + (rbp << 2)].d = eax 0x14c2 198 rdi = rsp + 0x2e {var_e6a} 0x14c7 199 r12 = [rsp + 0x20 {var_e78_1}].q 0x14cc 200 r13 = rsi 0x14cf 201 rsi = r12 0x14d2 202 call(0x1030) 0x14d7 203 rdi = r12 0x14da 204 rsi = rbx 0x14dd 205 call(0x1030) 0x14e2 206 rdi = rbx 0x14e5 207 rsi = rsp + 0x2e {var_e6a} 0x14ea 208 call(0x1030) 0x14ef 209 rsi = r13 0x14f2 210 goto 188 @ 0x1480 0x1555 211 rax = r14 + 1 0x1559 212 [rsp + 0x18 {var_e80_2}].q = rax 0x1561 213 if (rax u>= rbx) then 214 @ 0x1530 else 221 @ 0x1563 0x1530 214 rsi = rsi + 4 0x1534 215 r13 = r13 + 4 0x1538 216 [rsp + 8 {var_e90_2}].q = [rsp + 8 {var_e90_2}].q + 0xa 0x153e 217 rdi = rdi - 1 0x1542 218 rbx = [rsp + 0x48 {var_e50_1}].q 0x1547 219 r14 = [rsp + 0x18 {var_e80_2}].q 0x154f 220 if (r14 == rbx) then 229 @ 0x1604 else 211 @ 0x1555 0x1563 221 rax = r14 + (r14 << 2) 0x1567 222 rax = rsp + (rax << 1) 0x156b 223 rax = rax + 0x690 0x1571 224 [rsp + 0x10 {var_e88_2}].q = rax 0x1576 225 r15d = 1 0x157c 226 rbx = [rsp + 8 {var_e90_2}].q 0x1581 227 [rsp + 0x20 {var_e78_2}].q = rdi 0x1586 228 goto 232 @ 0x159d 0x1604 229 cond:0 = [rsp + 0x40 {var_e58_1}].d s<= 0 0x1609 230 r12 = [rsp + 0x38 {var_e60_1}].q 0x160e 231 if (cond:0) then 104 @ 0x163a else 234 @ 0x1610 0x159d 232 eax = [rsp + (r14 << 2) + 0x370].d 0x15aa 233 if (eax != [r13 + (r15 << 2)].d) then 236 @ 0x1590 else 239 @ 0x15ac 0x1610 234 rbp = rsp + 0x690 {var_808} 0x1618 235 goto 242 @ 0x1620 0x1590 236 r15 = r15 + 1 0x1594 237 rbx = rbx + 0xa 0x159b 238 if (rdi == r15) then 214 @ 0x1530 else 232 @ 0x159d 0x15ac 239 ecx = [rsp + (r14 << 2) + 0x1e0].d 0x15b4 240 edx = [rsi + (r15 << 2)].d 0x15ba 241 if (ecx s<= edx) then 236 @ 0x1590 else 248 @ 0x15bc 0x1620 242 rdi = rbp 0x1623 243 call(0x1050) 0x1628 244 rbp = rbp + 0xa 0x162c 245 temp1.q = rbx 0x162c 246 rbx = rbx - 1 0x1630 247 if (temp1.q != 1) then 242 @ 0x1620 else 265 @ 0x1632 0x15bc 248 [r13 + (r15 << 2)].d = eax 0x15c1 249 [rsp + (r14 << 2) + 0x1e0].d = edx 0x15c9 250 [rsi + (r15 << 2)].d = ecx 0x15cd 251 rdi = rsp + 0x2e {var_e6a} 0x15d2 252 r12 = rsi 0x15d5 253 rbp = [rsp + 0x10 {var_e88_2}].q 0x15da 254 rsi = rbp 0x15dd 255 call(0x1030) 0x15e2 256 rdi = rbp 0x15e5 257 rsi = rbx 0x15e8 258 call(0x1030) 0x15ed 259 rdi = rbx 0x15f0 260 rsi = rsp + 0x2e {var_e6a} 0x15f5 261 call(0x1030) 0x15fa 262 rdi = [rsp + 0x20 {var_e78_2}].q 0x15ff 263 rsi = r12 0x1602 264 goto 236 @ 0x1590 0x1632 265 r12d = [rsp + 4 {var_e94}].d 0x1632 266 goto 104 @ 0x163a int64_t _fini(): 0x169c 0 rsp = rsp - 8 0x16a0 1 rsp = rsp + 8 0x16a4 2 <return> jump(pop)
POJ_9
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t scanf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t puts(char const* str): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVAUATSH "} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r13) 0x1157 4 push(r12) 0x1159 5 push(rbx) 0x115a 6 rsp = rsp - 0xc98 0x1161 7 rdi = 0x2088 {"%d"} 0x1168 8 rsi = rsp + 0xc {var_cbc} 0x116d 9 eax = 0 0x116f 10 call(0x1030) 0x1179 11 if ([rsp + 0xc {var_cbc}].d s<= 0) then 12 @ 0x16d1 else 20 @ 0x117f 0x16d1 12 rsp = rsp + 0xc98 0x16d8 13 rbx = pop 0x16d9 14 r12 = pop 0x16db 15 r13 = pop 0x16dd 16 r14 = pop 0x16df 17 r15 = pop 0x16e1 18 rbp = pop 0x16e2 19 <return> jump(pop) 0x117f 20 r14 = rsp + 0x330 {var_998} 0x1187 21 r15 = rsp + 0x650 {var_678} 0x118f 22 rbx = rsp + 0x970 {var_358} 0x1197 23 r12 = 0x2084 {"%d%d%d"} 0x119e 24 ebp = 0 0x119e 25 goto 26 @ 0x11a0 0x11a0 26 rdi = r12 0x11a3 27 rsi = rbx 0x11a6 28 rdx = r15 0x11a9 29 rcx = r14 0x11ac 30 eax = 0 0x11ae 31 call(0x1030) 0x11b3 32 rbp = rbp + 1 0x11b7 33 rax = sx.q([rsp + 0xc {var_cbc}].d) 0x11bc 34 r14 = r14 + 4 0x11c0 35 r15 = r15 + 4 0x11c4 36 rbx = rbx + 4 0x11cb 37 if (rbp s< rax) then 26 @ 0x11a0 else 38 @ 0x11cd 0x11cd 38 eax = eax 0x11d1 39 if (eax s<= 0) then 12 @ 0x16d1 else 40 @ 0x11d7 0x11d7 40 ecx = 0 0x11d9 41 goto 42 @ 0x1201 0x1201 42 edx = [rsp + (rcx << 2) + 0x970].d 0x120b 43 if ((dl & 3) != 0) then 44 @ 0x11f0 else 46 @ 0x120d 0x11f0 44 [rsp + (rcx << 2) + 0x10].d = 0 0x11f0 45 goto 51 @ 0x11f8 0x120d 46 edx = edx * -0x3d70a3d7 0x1213 47 edx = edx + 0x51eb850 0x1219 48 esi = edx 0x121b 49 esi = ror.d(esi, 2) 0x1224 50 if (esi u< 0x28f5c29) then 53 @ 0x11db else 55 @ 0x1226 0x11f8 51 rcx = rcx + 1 0x11ff 52 if (rax == rcx) then 57 @ 0x1232 else 42 @ 0x1201 0x11db 53 edx = ror.d(edx, 4) 0x11e4 54 if (edx u< 0xa3d70b) then 55 @ 0x1226 else 58 @ 0x11e6 0x1226 55 [rsp + (rcx << 2) + 0x10].d = 1 0x122e 56 goto 51 @ 0x11f8 0x1232 57 if (eax s<= 0) then 12 @ 0x16d1 else 59 @ 0x1238 0x11e6 58 goto 44 @ 0x11f0 0x1238 59 r14 = 0x3ffffffffffffffc {""} 0x1242 60 r15d = 0 0x1245 61 rbx = 0x2010 {""} 0x124c 62 r12 = 0x208e {"YES"} 0x1253 63 r13 = 0x208b {"NO"} 0x125a 64 rbp = 0x2050 {""} 0x1261 65 goto 66 @ 0x12a0 0x12a0 66 cond:0 = [rsp + (r15 << 2) + 0x10].d == 0 0x12a6 67 eax = [rsp + (r15 << 2) + 0x650].d 0x12ae 68 if (cond:0) then 69 @ 0x12d0 else 72 @ 0x12b0 0x12d0 69 ecx = 0 0x12d2 70 edx = 0 0x12d9 71 if (eax s<= 0) then 75 @ 0x15cc else 77 @ 0x12e2 0x12b0 72 ecx = 0 0x12b2 73 edx = 0 0x12b9 74 if (eax s<= 0) then 78 @ 0x140c else 80 @ 0x12c2 0x15cc 75 eax = [rsp + (r15 << 2) + 0x330].d 0x15d6 76 if (eax s<= 0) then 81 @ 0x1270 else 87 @ 0x15df 0x12e2 77 if (eax u>= 8) then 88 @ 0x131b else 97 @ 0x12e4 0x140c 78 eax = [rsp + (r15 << 2) + 0x330].d 0x1416 79 if (eax s<= 0) then 81 @ 0x1270 else 100 @ 0x141f 0x12c2 80 if (eax u>= 8) then 101 @ 0x12ee else 110 @ 0x12c4 0x1270 81 ecx = ecx - edx 0x1272 82 eax = ecx * -0x49249249 0x1278 83 eax = eax + 0x12492492 0x127d 84 cond:1 = eax u< 0x24924925 0x1282 85 rdi = r13 0x1285 86 if (cond:1) then 113 else 115 @ 0x1289 0x15df 87 if (eax u>= 8) then 119 @ 0x15eb else 128 @ 0x15e1 0x131b 88 r8d = eax 0x131e 89 r8d = r8d & 0xfffffff8 0x1322 90 rdi = r8 - 8 0x1326 91 rdx = rdi 0x1329 92 rdx = rdx u>> 3 0x132d 93 rdx = rdx + 1 0x1331 94 esi = edx 0x1333 95 esi = esi & 3 0x133a 96 if (rdi u>= 0x18) then 131 @ 0x1521 else 136 @ 0x1340 0x12e4 97 r8d = 0 0x12e7 98 edx = 0 0x12e9 99 goto 140 @ 0x15b3 0x141f 100 if (eax u>= 8) then 144 @ 0x142b else 153 @ 0x1421 0x12ee 101 r8d = eax 0x12f1 102 r8d = r8d & 0xfffffff8 0x12f5 103 rdi = r8 - 8 0x12f9 104 rdx = rdi 0x12fc 105 rdx = rdx u>> 3 0x1300 106 rdx = rdx + 1 0x1304 107 esi = edx 0x1306 108 esi = esi & 3 0x130d 109 if (rdi u>= 0x18) then 156 @ 0x134f else 161 @ 0x130f 0x12c4 110 r8d = 0 0x12c7 111 edx = 0 0x12c9 112 goto 165 @ 0x13e3 0x1285 113 rdi = r12 0x1285 114 goto 115 @ 0x1289 0x1289 115 call(0x1040) 0x128e 116 r15 = r15 + 1 0x1292 117 rax = sx.q([rsp + 0xc {var_cbc}].d) 0x129a 118 if (r15 s>= rax) then 12 @ 0x16d1 else 66 @ 0x12a0 0x15eb 119 r8d = eax 0x15ee 120 r8d = r8d & 0xfffffff8 0x15f2 121 rdi = r8 - 8 0x15f6 122 rcx = rdi 0x15f9 123 rcx = rcx u>> 3 0x15fd 124 rcx = rcx + 1 0x1601 125 esi = ecx 0x1603 126 esi = esi & 3 0x160a 127 if (rdi u>= 0x18) then 170 @ 0x1618 else 175 @ 0x160c 0x15e1 128 r8d = 0 0x15e4 129 ecx = 0 0x15e6 130 goto 179 @ 0x16b7 0x1521 131 rdx = rdx & r14 0x1524 132 xmm0 = 0 0x1528 133 edi = 0 0x152a 134 xmm1 = 0 0x152e 135 goto 183 @ 0x1530 0x1340 136 xmm0 = 0 0x1344 137 edi = 0 0x1346 138 xmm1 = 0 0x134a 139 goto 195 @ 0x156c 0x15b3 140 rsi = rbx + (r8 << 2) 0x15b7 141 rax = rax - r8 0x15ba 142 edi = 0 0x15bc 143 goto 196 @ 0x15c0 0x142b 144 r8d = eax 0x142e 145 r8d = r8d & 0xfffffff8 0x1432 146 rdi = r8 - 8 0x1436 147 rcx = rdi 0x1439 148 rcx = rcx u>> 3 0x143d 149 rcx = rcx + 1 0x1441 150 esi = ecx 0x1443 151 esi = esi & 3 0x144a 152 if (rdi u>= 0x18) then 199 @ 0x1458 else 204 @ 0x144c 0x1421 153 r8d = 0 0x1424 154 ecx = 0 0x1426 155 goto 208 @ 0x14f7 0x134f 156 rdx = rdx & r14 0x1352 157 xmm0 = 0 0x1356 158 edi = 0 0x1358 159 xmm1 = 0 0x135c 160 goto 213 @ 0x1360 0x130f 161 xmm0 = 0 0x1313 162 edi = 0 0x1315 163 xmm1 = 0 0x1319 164 goto 225 @ 0x139d 0x13e3 165 rsi = r8 << 2 0x13eb 166 rsi = rsi + rbp 0x13ee 167 rax = rax - r8 0x13f1 168 edi = 0 0x13fd 169 goto 226 @ 0x1400 0x1618 170 rcx = rcx & r14 0x161b 171 xmm0 = 0 0x161f 172 edi = 0 0x1621 173 xmm1 = 0 0x162f 174 goto 229 @ 0x1630 0x160c 175 xmm0 = 0 0x1610 176 edi = 0 0x1612 177 xmm1 = 0 0x1616 178 goto 241 @ 0x166c 0x16b7 179 rsi = rbx + (r8 << 2) 0x16bb 180 rax = rax - r8 0x16be 181 edi = 0 0x16be 182 goto 242 @ 0x16c0 0x1530 183 xmm0 = __paddd_xmmdq_memdq(xmm0, [rbx + (rdi << 2)].o) 0x1535 184 xmm1 = __paddd_xmmdq_memdq(xmm1, [rbx + (rdi << 2) + 0x10].o) 0x153b 185 xmm0 = __paddd_xmmdq_memdq(xmm0, [rbx + (rdi << 2) + 0x20].o) 0x1541 186 xmm1 = __paddd_xmmdq_memdq(xmm1, [rbx + (rdi << 2) + 0x30].o) 0x1547 187 xmm0 = __paddd_xmmdq_memdq(xmm0, [rbx + (rdi << 2) + 0x40].o) 0x154d 188 xmm1 = __paddd_xmmdq_memdq(xmm1, [rbx + (rdi << 2) + 0x50].o) 0x1553 189 xmm0 = __paddd_xmmdq_memdq(xmm0, [rbx + (rdi << 2) + 0x60].o) 0x1559 190 xmm1 = __paddd_xmmdq_memdq(xmm1, [rbx + (rdi << 2) + 0x70].o) 0x155f 191 rdi = rdi + 0x20 0x1563 192 temp0.q = rdx 0x1563 193 rdx = rdx - 4 0x1567 194 if (temp0.q != 4) then 183 @ 0x1530 else 195 @ 0x156c 0x156c 195 if (rsi == 0) then 245 @ 0x1594 else 252 @ 0x156e 0x15c0 196 edx = edx + [rsi + (rdi << 2)].d 0x15c3 197 rdi = rdi + 1 0x15ca 198 if (rax != rdi) then 196 @ 0x15c0 else 75 @ 0x15cc 0x1458 199 rcx = rcx & r14 0x145b 200 xmm0 = 0 0x145f 201 edi = 0 0x1461 202 xmm1 = 0 0x146f 203 goto 257 @ 0x1470 0x144c 204 xmm0 = 0 0x1450 205 edi = 0 0x1452 206 xmm1 = 0 0x1456 207 goto 269 @ 0x14ad 0x14f7 208 rsi = r8 << 2 0x14ff 209 rsi = rsi + rbp 0x1502 210 rax = rax - r8 0x1505 211 edi = 0 0x1507 212 goto 270 @ 0x1510 0x1360 213 xmm0 = __paddd_xmmdq_memdq(xmm0, [rbp + (rdi << 2)].o) 0x1366 214 xmm1 = __paddd_xmmdq_memdq(xmm1, [rbp + (rdi << 2) + 0x10].o) 0x136c 215 xmm0 = __paddd_xmmdq_memdq(xmm0, [rbp + (rdi << 2) + 0x20].o) 0x1372 216 xmm1 = __paddd_xmmdq_memdq(xmm1, [rbp + (rdi << 2) + 0x30].o) 0x1378 217 xmm0 = __paddd_xmmdq_memdq(xmm0, [rbp + (rdi << 2) + 0x40].o) 0x137e 218 xmm1 = __paddd_xmmdq_memdq(xmm1, [rbp + (rdi << 2) + 0x50].o) 0x1384 219 xmm0 = __paddd_xmmdq_memdq(xmm0, [rbp + (rdi << 2) + 0x60].o) 0x138a 220 xmm1 = __paddd_xmmdq_memdq(xmm1, [rbp + (rdi << 2) + 0x70].o) 0x1390 221 rdi = rdi + 0x20 0x1394 222 temp1.q = rdx 0x1394 223 rdx = rdx - 4 0x1398 224 if (temp1.q != 4) then 213 @ 0x1360 else 225 @ 0x139d 0x139d 225 if (rsi == 0) then 273 @ 0x13c4 else 280 @ 0x139f 0x1400 226 edx = edx + [rsi + (rdi << 2)].d 0x1403 227 rdi = rdi + 1 0x140a 228 if (rax != rdi) then 226 @ 0x1400 else 78 @ 0x140c 0x1630 229 xmm0 = __paddd_xmmdq_memdq(xmm0, [rbx + (rdi << 2)].o) 0x1635 230 xmm1 = __paddd_xmmdq_memdq(xmm1, [rbx + (rdi << 2) + 0x10].o) 0x163b 231 xmm0 = __paddd_xmmdq_memdq(xmm0, [rbx + (rdi << 2) + 0x20].o) 0x1641 232 xmm1 = __paddd_xmmdq_memdq(xmm1, [rbx + (rdi << 2) + 0x30].o) 0x1647 233 xmm0 = __paddd_xmmdq_memdq(xmm0, [rbx + (rdi << 2) + 0x40].o) 0x164d 234 xmm1 = __paddd_xmmdq_memdq(xmm1, [rbx + (rdi << 2) + 0x50].o) 0x1653 235 xmm0 = __paddd_xmmdq_memdq(xmm0, [rbx + (rdi << 2) + 0x60].o) 0x1659 236 xmm1 = __paddd_xmmdq_memdq(xmm1, [rbx + (rdi << 2) + 0x70].o) 0x165f 237 rdi = rdi + 0x20 0x1663 238 temp2.q = rcx 0x1663 239 rcx = rcx - 4 0x1667 240 if (temp2.q != 4) then 229 @ 0x1630 else 241 @ 0x166c 0x166c 241 if (rsi == 0) then 285 @ 0x1694 else 292 @ 0x166e 0x16c0 242 ecx = ecx + [rsi + (rdi << 2)].d 0x16c3 243 rdi = rdi + 1 0x16ca 244 if (rax != rdi) then 242 @ 0x16c0 else 297 @ 0x16cc 0x1594 245 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1598 246 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x159d 247 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x15a1 248 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x15a6 249 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x15aa 250 edx = xmm0.d 0x15b1 251 if (r8 == rax) then 75 @ 0x15cc else 140 @ 0x15b3 0x156e 252 rdx = rbx + (rdi << 2) 0x1572 253 rdx = rdx + 0x10 0x1576 254 rsi = rsi << 5 0x157a 255 edi = 0 0x157c 256 goto 298 @ 0x1580 0x1470 257 xmm0 = __paddd_xmmdq_memdq(xmm0, [rbp + (rdi << 2)].o) 0x1476 258 xmm1 = __paddd_xmmdq_memdq(xmm1, [rbp + (rdi << 2) + 0x10].o) 0x147c 259 xmm0 = __paddd_xmmdq_memdq(xmm0, [rbp + (rdi << 2) + 0x20].o) 0x1482 260 xmm1 = __paddd_xmmdq_memdq(xmm1, [rbp + (rdi << 2) + 0x30].o) 0x1488 261 xmm0 = __paddd_xmmdq_memdq(xmm0, [rbp + (rdi << 2) + 0x40].o) 0x148e 262 xmm1 = __paddd_xmmdq_memdq(xmm1, [rbp + (rdi << 2) + 0x50].o) 0x1494 263 xmm0 = __paddd_xmmdq_memdq(xmm0, [rbp + (rdi << 2) + 0x60].o) 0x149a 264 xmm1 = __paddd_xmmdq_memdq(xmm1, [rbp + (rdi << 2) + 0x70].o) 0x14a0 265 rdi = rdi + 0x20 0x14a4 266 temp3.q = rcx 0x14a4 267 rcx = rcx - 4 0x14a8 268 if (temp3.q != 4) then 257 @ 0x1470 else 269 @ 0x14ad 0x14ad 269 if (rsi == 0) then 302 @ 0x14d4 else 309 @ 0x14af 0x1510 270 ecx = ecx + [rsi + (rdi << 2)].d 0x1513 271 rdi = rdi + 1 0x151a 272 if (rax != rdi) then 270 @ 0x1510 else 314 @ 0x151c 0x13c4 273 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x13c8 274 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x13cd 275 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x13d1 276 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x13d6 277 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x13da 278 edx = xmm0.d 0x13e1 279 if (r8 == rax) then 78 @ 0x140c else 165 @ 0x13e3 0x139f 280 rdx = (rdi << 2) + 0x10 0x13a7 281 rdx = rdx + rbp 0x13aa 282 rsi = rsi << 5 0x13ae 283 edi = 0 0x13ae 284 goto 315 @ 0x13b0 0x1694 285 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1698 286 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x169d 287 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x16a1 288 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x16a6 289 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x16aa 290 ecx = xmm0.d 0x16b1 291 if (r8 == rax) then 81 @ 0x1270 else 179 @ 0x16b7 0x166e 292 rcx = rbx + (rdi << 2) 0x1672 293 rcx = rcx + 0x10 0x1676 294 rsi = rsi << 5 0x167a 295 edi = 0 0x167c 296 goto 319 @ 0x1680 0x16cc 297 goto 81 @ 0x1270 0x1580 298 xmm0 = __paddd_xmmdq_memdq(xmm0, [rdx + rdi - 0x10].o) 0x1586 299 xmm1 = __paddd_xmmdq_memdq(xmm1, [rdx + rdi].o) 0x158b 300 rdi = rdi + 0x20 0x1592 301 if (rsi != rdi) then 298 @ 0x1580 else 245 @ 0x1594 0x14d4 302 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x14d8 303 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x14dd 304 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x14e1 305 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x14e6 306 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x14ea 307 ecx = xmm0.d 0x14f1 308 if (r8 == rax) then 81 @ 0x1270 else 208 @ 0x14f7 0x14af 309 rcx = (rdi << 2) + 0x10 0x14b7 310 rcx = rcx + rbp 0x14ba 311 rsi = rsi << 5 0x14be 312 edi = 0 0x14be 313 goto 323 @ 0x14c0 0x151c 314 goto 81 @ 0x1270 0x13b0 315 xmm0 = __paddd_xmmdq_memdq(xmm0, [rdx + rdi - 0x10].o) 0x13b6 316 xmm1 = __paddd_xmmdq_memdq(xmm1, [rdx + rdi].o) 0x13bb 317 rdi = rdi + 0x20 0x13c2 318 if (rsi != rdi) then 315 @ 0x13b0 else 273 @ 0x13c4 0x1680 319 xmm0 = __paddd_xmmdq_memdq(xmm0, [rcx + rdi - 0x10].o) 0x1686 320 xmm1 = __paddd_xmmdq_memdq(xmm1, [rcx + rdi].o) 0x168b 321 rdi = rdi + 0x20 0x1692 322 if (rsi != rdi) then 319 @ 0x1680 else 285 @ 0x1694 0x14c0 323 xmm0 = __paddd_xmmdq_memdq(xmm0, [rcx + rdi - 0x10].o) 0x14c6 324 xmm1 = __paddd_xmmdq_memdq(xmm1, [rcx + rdi].o) 0x14cb 325 rdi = rdi + 0x20 0x14d2 326 if (rsi != rdi) then 323 @ 0x14c0 else 302 @ 0x14d4 int64_t _fini(): 0x16e8 0 rsp = rsp - 8 0x16ec 1 rsp = rsp + 8 0x16f0 2 <return> jump(pop)
POJ_71
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 uint64_t strlen(char const* arg1): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t puts(char const* str): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVATSH\t"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 rsp = rsp - 0x9d8 0x116e 5 rdi = 0x2004 {"%d"} 0x1175 6 rsi = rsp + 0xc {var_9ec} 0x117a 7 eax = 0 0x117c 8 call(0x1040) 0x1181 9 eax = [rsp + 0xc {var_9ec}].d 0x1187 10 if (eax s<= 0) then 11 @ 0x11c1 else 12 @ 0x1189 0x11c1 11 if (eax s<= 0) then 16 @ 0x1288 else 17 @ 0x11c7 0x1189 12 r15 = rsp + 0x1a0 {var_858} 0x1191 13 r14 = 0x2007 {"%s"} 0x1198 14 ebx = 0 0x119a 15 goto 21 @ 0x11a0 0x1288 16 if ([rsp + 0xc {var_9ec}].d s<= 0) then 29 @ 0x12c2 else 36 @ 0x128a 0x11c7 17 r14d = eax 0x11ca 18 r15 = rsp + 0x1a0 {var_858} 0x11d2 19 r12d = 0 0x11d5 20 goto 40 @ 0x11fa 0x11a0 21 rdi = r14 0x11a3 22 rsi = r15 0x11a6 23 eax = 0 0x11a8 24 call(0x1040) 0x11ad 25 rbx = rbx + 1 0x11b1 26 rax = sx.q([rsp + 0xc {var_9ec}].d) 0x11b6 27 r15 = r15 + 0x15 0x11bd 28 if (rbx s< rax) then 21 @ 0x11a0 else 11 @ 0x11c1 0x12c2 29 eax = 0 0x12c4 30 rsp = rsp + 0x9d8 0x12cb 31 rbx = pop 0x12cc 32 r12 = pop 0x12ce 33 r14 = pop 0x12d0 34 r15 = pop 0x12d2 35 <return> jump(pop) 0x128a 36 ebx = 0 0x128c 37 r14 = 0x200e {"no"} 0x1293 38 r15 = 0x200a {"yes"} 0x129a 39 goto 45 @ 0x12b3 0x11fa 40 rax = r12 + (r12 << 2) 0x11fe 41 rax = r12 + (rax << 2) 0x1202 42 cl = [rsp + rax + 0x1a0].b 0x1209 43 edx = (rcx - 0x41).d 0x120f 44 if (dl u>= 0x1a) then 48 @ 0x1273 else 49 @ 0x1211 0x12b3 45 cond:0 = [rsp + (rbx << 2) + 0x10].d == 0 0x12b8 46 rdi = r14 0x12bb 47 if (cond:0) then 53 @ 0x12a0 else 57 @ 0x12bd 0x1273 48 if (cl == 0x5f) then 49 @ 0x1211 else 59 @ 0x1275 0x1211 49 rdi = rsp + rax 0x1215 50 rdi = rdi + 0x1a0 0x121c 51 call(0x1030) 0x1223 52 if (eax s<= 0) then 61 @ 0x11e9 else 64 @ 0x1225 0x12a0 53 call(0x1050) 0x12a5 54 rbx = rbx + 1 0x12a9 55 rax = sx.q([rsp + 0xc {var_9ec}].d) 0x12b1 56 if (rbx s>= rax) then 29 @ 0x12c2 else 45 @ 0x12b3 0x12bd 57 rdi = r15 0x12c0 58 goto 53 @ 0x12a0 0x1275 59 cl = cl - 0x61 0x127b 60 if (cl u> 0x19) then 67 @ 0x11e0 else 69 @ 0x1281 0x11e9 61 r12 = r12 + 1 0x11ed 62 r15 = r15 + 0x15 0x11f4 63 if (r12 == r14) then 16 @ 0x1288 else 40 @ 0x11fa 0x1225 64 eax = eax 0x1227 65 ecx = 0 0x1229 66 goto 70 @ 0x1242 0x11e0 67 [rsp + (r12 << 2) + 0x10].d = 0 0x11e0 68 goto 61 @ 0x11e9 0x1281 69 goto 49 @ 0x1211 0x1242 70 ebx = zx.d([r15 + rcx].b) 0x1247 71 edx = ebx 0x1249 72 dl = dl & 0xdf 0x124c 73 dl = dl - 0x41 0x1252 74 if (dl u< 0x1a) then 75 @ 0x1230 else 78 @ 0x1257 0x1230 75 [rsp + (r12 << 2) + 0x10].d = 1 0x1239 76 rcx = rcx + 1 0x1240 77 if (rax == rcx) then 61 @ 0x11e9 else 70 @ 0x1242 0x1257 78 if (bl == 0x5f) then 75 @ 0x1230 else 79 @ 0x1259 0x1259 79 bl = bl - 0x30 0x125f 80 if (bl u<= 9) then 75 @ 0x1230 else 81 @ 0x1261 0x1261 81 goto 67 @ 0x11e0 int64_t _fini(): 0x12d8 0 rsp = rsp - 8 0x12dc 1 rsp = rsp + 8 0x12e0 2 <return> jump(pop)
POJ_85
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAVSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r14) 0x1163 2 push(rbx) 0x1164 3 rsp = rsp - 0x4d0 0x116b 4 rdi = 0x2004 {"%f"} 0x1172 5 ebp = 0 0x1174 6 rsi = rsp + 0xc {var_4dc} 0x1179 7 eax = 0 0x117b 8 call(0x1050) 0x1180 9 rbx = 0x2007 {"%s"} 0x1187 10 r14 = rsp + 0x270 {var_278} 0x118f 11 rdi = rbx 0x1192 12 rsi = r14 {var_278} 0x1195 13 eax = 0 0x1197 14 call(0x1050) 0x119c 15 rsi = rsp + 0x10 {var_4d8} 0x11a1 16 rdi = rbx 0x11a4 17 eax = 0 0x11a6 18 call(0x1050) 0x11ab 19 rdi = r14 {var_278} 0x11ae 20 call(0x1040) 0x11b3 21 r14 = rax 0x11b6 22 ebx = 0 0x11be 23 if (r14d s<= 0) then 24 @ 0x1257 else 36 @ 0x11c4 0x1257 24 xmm0.q = float.d(ebp) 0x125b 25 xmm1.q = float.d(r14d) 0x1260 26 xmm0.q = xmm0.q f/ xmm1.q 0x1264 27 xmm0.d = fconvert.s(xmm0.q) 0x1268 28 xmm1 = [rsp + 0xc {var_4dc}].d 0x126e 29 flag:p = is_unordered.d(xmm0.d, xmm1.d) 0x126e 30 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x126e 31 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d) 0x126e 32 flag:s = 0 0x126e 33 flag:o = 0 0x126e 34 flag:a = 0 0x1271 35 if (flag:z || flag:c) then 39 @ 0x127c else 46 @ 0x1273 0x11c4 36 rdi = rsp + 0x10 {var_4d8} 0x11c9 37 call(0x1040) 0x11d1 38 if (r14d != eax) then 48 @ 0x1245 else 51 @ 0x11d3 0x127c 39 flag:p = is_unordered.d(xmm1.d, xmm0.d) 0x127c 40 flag:c = xmm1.d f< xmm0.d | is_unordered.d(xmm1.d, xmm0.d) 0x127c 41 flag:z = xmm1.d f== xmm0.d | is_unordered.d(xmm1.d, xmm0.d) 0x127c 42 flag:s = 0 0x127c 43 flag:o = 0 0x127c 44 flag:a = 0 0x127f 45 if (flag:c) then 59 @ 0x1297 else 65 @ 0x1281 0x1273 46 rdi = 0x2010 {"yes"} 0x127a 47 goto 67 @ 0x1290 0x1245 48 bl = 1 0x1247 49 ebp = 0 0x1247 50 goto 70 @ 0x1249 0x11d3 51 r8 = sx.q(r14d) 0x11d6 52 ecx = r8d 0x11d9 53 rcx = neg.q(rcx) 0x11dc 54 ebp = 0 0x11de 55 bl = 1 0x11e0 56 edx = 1 0x11e5 57 r9d = 0x80045 {""} 0x11eb 58 goto 74 @ 0x11f0 0x1297 59 eax = 0 0x1299 60 rsp = rsp + 0x4d0 0x12a0 61 rbx = pop 0x12a1 62 r14 = pop 0x12a3 63 rbp = pop 0x12a4 64 <return> jump(pop) 0x1281 65 bl = bl ^ 1 0x1287 66 if ((bl & 1) == 0) then 59 @ 0x1297 else 77 @ 0x1289 0x1290 67 eax = 0 0x1292 68 call(0x1030) 0x1292 69 goto 59 @ 0x1297 0x1249 70 rdi = 0x200a {"error"} 0x1250 71 eax = 0 0x1252 72 call(0x1030) 0x1252 73 goto 24 @ 0x1257 0x11f0 74 edi = zx.d([rsp + rdx + 0x26f].b) 0x11f8 75 eax = (rdi - 0x41).d 0x11fd 76 if (al u> 0x13) then 70 @ 0x1249 else 79 @ 0x11ff 0x1289 77 rdi = 0x2014 {"no"} 0x1289 78 goto 67 @ 0x1290 0x11ff 79 eax = zx.d(al) 0x1202 80 flag:c = test_bit(r9, rax) 0x1206 81 if (not(flag:c)) then 70 @ 0x1249 else 82 @ 0x1208 0x1208 82 eax = zx.d([rsp + rdx + 0xf].b) 0x120d 83 esi = (rax - 0x41).d 0x1214 84 if (sil u> 0x13) then 70 @ 0x1249 else 85 @ 0x1216 0x1216 85 esi = zx.d(sil) 0x121a 86 flag:c = test_bit(r9, rsi) 0x121e 87 if (not(flag:c)) then 70 @ 0x1249 else 88 @ 0x1220 0x1220 88 esi = 0 0x1225 89 sil = dil == al 0x1229 90 ebp = ebp + esi 0x122e 91 bl = rdx s< r8 0x1231 92 rax = rcx + rdx 0x1235 93 rax = rax + 1 0x1239 94 rdx = rdx + 1 0x1241 95 if (rax != 1) then 74 @ 0x11f0 else 96 @ 0x1243 0x1243 96 goto 24 @ 0x1257 int64_t _fini(): 0x12ac 0 rsp = rsp - 8 0x12b0 1 rsp = rsp + 8 0x12b4 2 <return> jump(pop)
POJ_5
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t getchar(): 0x1040 0 <return> tailcall([0x4020].q) int32_t puts(char const* str): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSHH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x148 0x1171 7 r15d = 0 0x117e 8 goto 9 @ 0x1180 0x1180 9 eax = 0 0x1182 10 call(0x1040) 0x1187 11 [rsp + r15 + 0x10].b = al 0x118e 12 if (al == 0xa) then 13 @ 0x11a3 else 26 @ 0x1190 0x11a3 13 ebx = (r15 + 1).d 0x11a7 14 r12d = ebx 0x11aa 15 r12d = r12d & 0xfffffff8 0x11ae 16 r13 = r12 - 8 0x11b3 17 [rsp + 8 {var_170}].q = r13 0x11b8 18 r13 = r13 u>> 3 0x11bc 19 r13 = r13 + 1 0x11c0 20 rax = r13 0x11c3 21 rax = rax & 0xfffffffffffffffe 0x11c7 22 [rsp {var_178}].q = rax 0x11cb 23 r14d = 0x41000000 {""} 0x11d1 24 ebp = 0x41 {""} 0x11d6 25 goto 28 @ 0x1213 0x1190 26 r15 = r15 + 1 0x119b 27 if (r15 != 0x12c) then 9 @ 0x1180 else 29 @ 0x119d 0x1213 28 if (r15d u>= 7) then 31 @ 0x1220 else 34 @ 0x1215 0x119d 29 r15d = 0x12c {""} 0x119d 30 goto 13 @ 0x11a3 0x1220 31 xmm0 = ebp 0x1224 32 xmm1 = _mm_shuffle_epi32(xmm0, 0) 0x122f 33 if ([rsp + 8 {var_170}].q == 0) then 37 @ 0x1355 else 41 @ 0x1235 0x1215 34 eax = 0 0x1217 35 edx = 0 0x1219 36 goto 46 @ 0x1320 0x1355 37 xmm0 = 0 0x1359 38 eax = 0 0x135b 39 xmm2 = 0 0x1363 40 if ((r13b & 1) != 0) then 52 @ 0x12c8 else 65 @ 0x1369 0x1235 41 xmm0 = 0 0x1239 42 rcx = [rsp {var_178}].q 0x123d 43 eax = 0 0x123f 44 xmm2 = 0 0x124d 45 goto 66 @ 0x1250 0x1320 46 ecx = sx.d([rsp + rax + 0x10].b) 0x1325 47 esi = 0 0x1329 48 sil = ebp == ecx 0x132d 49 edx = edx + esi 0x132f 50 rax = rax + 1 0x1336 51 if (rbx != rax) then 46 @ 0x1320 else 93 @ 0x133a 0x12c8 52 xmm3 = [rsp + rax + 0x10].q 0x12ce 53 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q) 0x12d2 54 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q) 0x12d6 55 xmm4 = [rsp + rax + 0x14].d 0x12dc 56 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q) 0x12e0 57 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q) 0x12e4 58 xmm3 = _mm_srai_epi32(xmm3, 0x18) 0x12e9 59 xmm4 = _mm_srai_epi32(xmm4, 0x18) 0x12ee 60 xmm3 = _mm_cmpeq_epi32(xmm3, xmm1) 0x12f2 61 xmm0 = _mm_sub_epi32(xmm0, xmm3) 0x12f6 62 xmm4 = _mm_cmpeq_epi32(xmm4, xmm1) 0x12fa 63 xmm2 = _mm_sub_epi32(xmm2, xmm4) 0x12fa 64 goto 94 @ 0x12fe 0x1369 65 goto 94 @ 0x12fe 0x1250 66 xmm3 = [rsp + rax + 0x14].d 0x1256 67 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q) 0x125a 68 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q) 0x125e 69 xmm4 = __punpcklbw_xmmdq_memdq(xmm4, [rsp + rax + 0x10].o) 0x1264 70 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q) 0x1268 71 xmm4 = _mm_srai_epi32(xmm4, 0x18) 0x126d 72 xmm3 = _mm_srai_epi32(xmm3, 0x18) 0x1272 73 xmm4 = _mm_cmpeq_epi32(xmm4, xmm1) 0x1276 74 xmm0 = _mm_sub_epi32(xmm0, xmm4) 0x127a 75 xmm3 = _mm_cmpeq_epi32(xmm3, xmm1) 0x127e 76 xmm2 = _mm_sub_epi32(xmm2, xmm3) 0x1282 77 xmm3 = [rsp + rax + 0x18].q 0x1288 78 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q) 0x128c 79 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q) 0x1290 80 xmm4 = [rsp + rax + 0x1c].d 0x1296 81 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q) 0x129a 82 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q) 0x129e 83 xmm3 = _mm_srai_epi32(xmm3, 0x18) 0x12a3 84 xmm4 = _mm_srai_epi32(xmm4, 0x18) 0x12a8 85 xmm3 = _mm_cmpeq_epi32(xmm3, xmm1) 0x12ac 86 xmm0 = _mm_sub_epi32(xmm0, xmm3) 0x12b0 87 xmm4 = _mm_cmpeq_epi32(xmm4, xmm1) 0x12b4 88 xmm2 = _mm_sub_epi32(xmm2, xmm4) 0x12b8 89 rax = rax + 0x10 0x12bc 90 temp0.q = rcx 0x12bc 91 rcx = rcx - 2 0x12c0 92 if (temp0.q != 2) then 66 @ 0x1250 else 102 @ 0x12c6 0x133a 93 if (edx == 0) then 103 @ 0x11e0 else 109 @ 0x1340 0x12fe 94 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x1302 95 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x1307 96 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x130b 97 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x1310 98 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1314 99 edx = xmm0.d 0x1318 100 rax = r12 0x131e 101 if (r12 == rbx) then 93 @ 0x133a else 46 @ 0x1320 0x12c6 102 if ((r13b & 1) == 0) then 94 @ 0x12fe else 52 @ 0x12c8 0x11e0 103 ebp = ebp << 0x18 0x11e3 104 ebp = ebp + 0x1000000 0x11e9 105 cond:0 = r14d == 0x5a000000 0x11f0 106 r14d = ebp 0x11f3 107 eax = 0x61000000 {""} 0x11f8 108 if (cond:0) then 114 else 116 @ 0x11fc 0x1340 109 rdi = 0x2004 {"%c=%d\n"} 0x1347 110 esi = ebp 0x1349 111 eax = 0 0x134b 112 call(0x1030) 0x1350 113 goto 103 @ 0x11e0 0x11f8 114 r14d = eax 0x11f8 115 goto 116 @ 0x11fc 0x11fc 116 ebp = r14d 0x11ff 117 ebp = ebp s>> 0x18 0x1209 118 if (r14d s>= 0x7b000000) then 119 @ 0x136b else 28 @ 0x1213 0x136b 119 r15d = r15d 0x136e 120 ebp = 0 0x1370 121 r14 = 0x200b {"No"} 0x1377 122 goto 123 @ 0x1389 0x1389 123 eax = zx.d([rsp + rbp + 0x10].b) 0x138e 124 al = al & 0xdf 0x1390 125 al = al - 0x41 0x1394 126 if (al u< 0x1a) then 127 @ 0x13a5 else 136 @ 0x1399 0x13a5 127 eax = 0 0x13a7 128 rsp = rsp + 0x148 0x13ae 129 rbx = pop 0x13af 130 r12 = pop 0x13b1 131 r13 = pop 0x13b3 132 r14 = pop 0x13b5 133 r15 = pop 0x13b7 134 rbp = pop 0x13b8 135 <return> jump(pop) 0x1399 136 if (r15 != rbp) then 137 @ 0x1380 else 139 @ 0x139b 0x1380 137 rbp = rbp + 1 0x1387 138 if (rbx == rbp) then 127 @ 0x13a5 else 123 @ 0x1389 0x139b 139 rdi = r14 0x139e 140 call(0x1050) 0x13a3 141 goto 137 @ 0x1380 int64_t _fini(): 0x13c0 0 rsp = rsp - 8 0x13c4 1 rsp = rsp + 8 0x13c8 2 <return> jump(pop)
POJ_100
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH0E"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x30 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 [rbp - 8 {var_10}].d = edi 0x1162 5 [rbp - 0x10 {var_18}].q = rsi 0x1166 6 [rbp - 0x24 {var_2c}].d = -0x80000000 0x116d 7 [rbp - 0x20 {var_28}].d = -0x80000000 0x1174 8 rdi = 0x2007 {"%d"} 0x117b 9 rsi = rbp - 0x14 {var_1c} 0x117f 10 al = 0 0x1181 11 call(0x1040) 0x1186 12 [rbp - 0x18 {var_20}].d = 0 0x1186 13 goto 14 @ 0x118d 0x118d 14 eax = [rbp - 0x18 {var_20}].d 0x1193 15 if (eax s>= [rbp - 0x14 {var_1c}].d) then 16 @ 0x11f2 else 25 @ 0x1199 0x11f2 16 esi = [rbp - 0x20 {var_28}].d 0x11f5 17 edx = [rbp - 0x24 {var_2c}].d 0x11f8 18 rdi = 0x2004 {"%d\n%d"} 0x11ff 19 al = 0 0x1201 20 call(0x1030) 0x1206 21 eax = 0 0x1208 22 rsp = rsp + 0x30 0x120c 23 rbp = pop 0x120d 24 <return> jump(pop) 0x1199 25 rdi = 0x2007 {"%d"} 0x11a0 26 rsi = rbp - 0x1c {var_24} 0x11a4 27 al = 0 0x11a6 28 call(0x1040) 0x11ab 29 eax = [rbp - 0x1c {var_24}].d 0x11b1 30 if (eax s<= [rbp - 0x20 {var_28}].d) then 31 @ 0x11c8 else 33 @ 0x11b7 0x11c8 31 eax = [rbp - 0x1c {var_24}].d 0x11ce 32 if (eax s<= [rbp - 0x24 {var_2c}].d) then 38 @ 0x11da else 39 @ 0x11d4 0x11b7 33 eax = [rbp - 0x20 {var_28}].d 0x11ba 34 [rbp - 0x24 {var_2c}].d = eax 0x11bd 35 eax = [rbp - 0x1c {var_24}].d 0x11c0 36 [rbp - 0x20 {var_28}].d = eax 0x11c3 37 goto 42 @ 0x11df 0x11da 38 goto 42 @ 0x11df 0x11d4 39 eax = [rbp - 0x1c {var_24}].d 0x11d7 40 [rbp - 0x24 {var_2c}].d = eax 0x11d7 41 goto 38 @ 0x11da 0x11df 42 goto 43 @ 0x11e4 0x11e4 43 eax = [rbp - 0x18 {var_20}].d 0x11e7 44 eax = eax + 1 0x11ea 45 [rbp - 0x18 {var_20}].d = eax 0x11ed 46 goto 14 @ 0x118d int64_t _fini(): 0x1214 0 rsp = rsp - 8 0x1218 1 rsp = rsp + 8 0x121c 2 <return> jump(pop)
POJ_84
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x11d0 {"UAWAVATSHH=-"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) uint64_t sushu(double arg1, uint64_t arg2[0x2] @ zmm1): 0x1160 0 push(rbp) 0x1161 1 push(rbx) 0x1162 2 push(rax) 0x1163 3 ebx = 1 0x116b 4 if (edi == 2) then 5 @ 0x11bf else 10 @ 0x116d 0x11bf 5 eax = ebx 0x11c1 6 rsp = rsp + 8 0x11c5 7 rbx = pop 0x11c6 8 rbp = pop 0x11c7 9 <return> jump(pop) 0x116d 10 ebp = edi 0x116f 11 xmm0.q = float.d(edi) 0x1173 12 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x1177 13 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1177 14 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1177 15 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1177 16 flag:s = 0 0x1177 17 flag:o = 0 0x1177 18 flag:a = 0 0x117b 19 if (flag:c) then 20 @ 0x1183 else 22 @ 0x117d 0x1183 20 call(0x1050) 0x1183 21 goto 24 @ 0x1188 0x117d 22 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1181 23 goto 24 @ 0x1188 0x1188 24 ecx = int.d(ftrunc(xmm0.q)) 0x118f 25 if (ecx s< 2) then 5 @ 0x11bf else 26 @ 0x1191 0x1191 26 ecx = neg.d(ecx) 0x1193 27 esi = 2 0x1198 28 goto 29 @ 0x11a0 0x11a0 29 eax = ebp 0x11a2 30 temp2.d:temp3.d = sx.q(eax) 0x11a2 31 edx = temp2.d 0x11a2 32 eax = temp3.d 0x11a3 33 temp4.d = edx 0x11a3 34 temp5.d = eax 0x11a3 35 temp0.d = divs.dp.d(temp4.d:temp5.d, esi) 0x11a3 36 temp6.d = edx 0x11a3 37 temp7.d = eax 0x11a3 38 temp1.d = mods.dp.d(temp6.d:temp7.d, esi) 0x11a3 39 eax = temp0.d 0x11a3 40 edx = temp1.d 0x11a7 41 if (edx == 0) then 42 @ 0x11bd else 44 @ 0x11a9 0x11bd 42 ebx = 0 0x11bd 43 goto 5 @ 0x11bf 0x11a9 44 eax = (rcx + rsi).d 0x11ac 45 eax = eax + 1 0x11af 46 edx = esi 0x11b1 47 edx = edx + 1 0x11b4 48 esi = edx 0x11b9 49 if (eax != 1) then 29 @ 0x11a0 else 50 @ 0x11bb 0x11bb 50 goto 5 @ 0x11bf int32_t main(int32_t argc, char** argv, char** envp): 0x11d0 0 push(rbp) 0x11d1 1 push(r15) 0x11d3 2 push(r14) 0x11d5 3 push(r12) 0x11d7 4 push(rbx) 0x11d8 5 rsp = rsp - 0x10 0x11dc 6 rdi = 0x2010 {"%d"} 0x11e3 7 rsi = rsp + 0xc {var_2c} 0x11e8 8 eax = 0 0x11ea 9 call(0x1040) 0x11f4 10 if ([rsp + 0xc {var_2c}].d s>= 6) then 11 @ 0x1205 else 14 @ 0x11f6 0x1205 11 r15d = 6 0x120b 12 r14 = 0x2013 {"%d=%d+%d\n"} 0x1212 13 goto 22 @ 0x1243 0x11f6 14 eax = 0 0x11f8 15 rsp = rsp + 0x10 0x11fc 16 rbx = pop 0x11fd 17 r12 = pop 0x11ff 18 r14 = pop 0x1201 19 r15 = pop 0x1203 20 rbp = pop 0x1204 21 <return> jump(pop) 0x1243 22 if ((r15b & 1) != 0) then 23 @ 0x1231 else 27 @ 0x1245 0x1231 23 eax = (r15 + 1).d 0x1235 24 cond:0 = r15d s>= [rsp + 0xc {var_2c}].d 0x123a 25 r15d = eax 0x123d 26 if (cond:0) then 14 @ 0x11f6 else 22 @ 0x1243 0x1245 27 r12d = r15d 0x1248 28 r12d = r12d u>> 1 0x124b 29 ebx = 2 0x1250 30 goto 31 @ 0x126d 0x126d 31 if (ebx == 2) then 32 @ 0x12d0 else 35 @ 0x126f 0x12d0 32 ebp = r15d 0x12d3 33 ebp = ebp - ebx 0x12d8 34 if (ebp == 2) then 44 @ 0x1220 else 51 @ 0x12de 0x126f 35 xmm0 = 0 0x1272 36 xmm0.q = float.d(ebx) 0x1276 37 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1276 38 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1276 39 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1276 40 flag:s = 0 0x1276 41 flag:o = 0 0x1276 42 flag:a = 0 0x127e 43 if (flag:c) then 60 @ 0x1290 else 62 @ 0x1280 0x1220 44 rdi = r14 0x1223 45 esi = r15d 0x1226 46 edx = ebx 0x1228 47 ecx = ebp 0x122a 48 eax = 0 0x122c 49 call(0x1030) 0x122c 50 goto 23 @ 0x1231 0x12de 51 xmm0 = 0 0x12e1 52 xmm0.q = float.d(ebp) 0x12e5 53 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12e5 54 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12e5 55 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12e5 56 flag:s = 0 0x12e5 57 flag:o = 0 0x12e5 58 flag:a = 0 0x12ed 59 if (flag:c) then 64 @ 0x1300 else 66 @ 0x12ef 0x1290 60 call(0x1050) 0x1290 61 goto 68 @ 0x1295 0x1280 62 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1284 63 goto 68 @ 0x1295 0x1300 64 call(0x1050) 0x1300 65 goto 70 @ 0x1305 0x12ef 66 xmm0 = _mm_sqrt_sd(xmm0.q) 0x12f3 67 goto 70 @ 0x1305 0x1295 68 ecx = int.d(ftrunc(xmm0.q)) 0x129c 69 if (ecx s< 2) then 32 @ 0x12d0 else 72 @ 0x129e 0x1305 70 ecx = int.d(ftrunc(xmm0.q)) 0x130c 71 if (ecx s< 2) then 44 @ 0x1220 else 75 @ 0x1312 0x129e 72 ecx = neg.d(ecx) 0x12a0 73 esi = 2 0x12af 74 goto 78 @ 0x12b0 0x1312 75 ecx = neg.d(ecx) 0x1314 76 esi = 2 0x1319 77 goto 90 @ 0x1320 0x12b0 78 eax = ebx 0x12b2 79 edx = 0 0x12b4 80 temp2.d = esi 0x12b4 81 temp3.d = edx 0x12b4 82 temp4.d = eax 0x12b4 83 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x12b4 84 temp5.d = edx 0x12b4 85 temp6.d = eax 0x12b4 86 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x12b4 87 eax = temp0.d 0x12b4 88 edx = temp1.d 0x12b8 89 if (edx == 0) then 103 @ 0x1260 else 107 @ 0x12ba 0x1320 90 eax = ebp 0x1322 91 temp7.d:temp8.d = sx.q(eax) 0x1322 92 edx = temp7.d 0x1322 93 eax = temp8.d 0x1323 94 temp9.d = edx 0x1323 95 temp10.d = eax 0x1323 96 temp0.d = divs.dp.d(temp9.d:temp10.d, esi) 0x1323 97 temp11.d = edx 0x1323 98 temp12.d = eax 0x1323 99 temp1.d = mods.dp.d(temp11.d:temp12.d, esi) 0x1323 100 eax = temp0.d 0x1323 101 edx = temp1.d 0x1327 102 if (edx == 0) then 103 @ 0x1260 else 113 @ 0x132d 0x1260 103 eax = (rbx + 1).d 0x1263 104 cond:1 = ebx == r12d 0x1266 105 ebx = eax 0x1268 106 if (cond:1) then 23 @ 0x1231 else 31 @ 0x126d 0x12ba 107 eax = (rcx + rsi).d 0x12bd 108 eax = eax + 1 0x12c0 109 edx = esi 0x12c2 110 edx = edx + 1 0x12c5 111 esi = edx 0x12ca 112 if (eax != 1) then 78 @ 0x12b0 else 119 @ 0x12cc 0x132d 113 eax = (rcx + rsi).d 0x1330 114 eax = eax + 1 0x1333 115 edx = esi 0x1335 116 edx = edx + 1 0x1338 117 esi = edx 0x133d 118 if (eax != 1) then 90 @ 0x1320 else 120 @ 0x133f 0x12cc 119 goto 32 @ 0x12d0 0x133f 120 goto 44 @ 0x1220 int64_t _fini(): 0x1348 0 rsp = rsp - 8 0x134c 1 rsp = rsp + 8 0x1350 2 <return> jump(pop)
POJ_68
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHHPE"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x50 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 rdi = 0x2004 {"%d"} 0x1166 5 rsi = rbp - 0x1c {var_24} 0x116a 6 al = 0 0x116c 7 call(0x1040) 0x1178 8 if ([rbp - 0x1c {var_24}].d s< 0x2710) then 9 @ 0x127d else 10 @ 0x117e 0x127d 9 if ([rbp - 0x1c {var_24}].d s< 0x3e8) then 162 @ 0x134b else 163 @ 0x1283 0x117e 10 eax = [rbp - 0x1c {var_24}].d 0x1181 11 [rbp - 0x30 {var_38_1}].d = eax 0x1184 12 eax = [rbp - 0x1c {var_24}].d 0x1187 13 ecx = 0x2710 {""} 0x118c 14 temp2.d:temp3.d = sx.q(eax) 0x118c 15 edx = temp2.d 0x118c 16 eax = temp3.d 0x118d 17 temp4.d = edx 0x118d 18 temp5.d = eax 0x118d 19 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x118d 20 temp6.d = edx 0x118d 21 temp7.d = eax 0x118d 22 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x118d 23 eax = temp0.d 0x118d 24 edx = temp1.d 0x118f 25 eax = [rbp - 0x30 {var_38_1}].d 0x1192 26 eax = eax - edx 0x1194 27 ecx = 0x2710 {""} 0x1199 28 temp8.d:temp9.d = sx.q(eax) 0x1199 29 edx = temp8.d 0x1199 30 eax = temp9.d 0x119a 31 temp10.d = edx 0x119a 32 temp11.d = eax 0x119a 33 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x119a 34 temp12.d = edx 0x119a 35 temp13.d = eax 0x119a 36 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x119a 37 eax = temp0.d 0x119a 38 edx = temp1.d 0x119c 39 [rbp - 8 {var_10_1}].d = eax 0x119f 40 eax = [rbp - 0x1c {var_24}].d 0x11a2 41 ecx = [rbp - 8 {var_10_1}].d * 0x2710 0x11a9 42 eax = eax - ecx 0x11ab 43 [rbp - 0x1c {var_24}].d = eax 0x11ae 44 eax = [rbp - 0x1c {var_24}].d 0x11b1 45 [rbp - 0x2c {var_34_1}].d = eax 0x11b4 46 eax = [rbp - 0x1c {var_24}].d 0x11b7 47 ecx = 0x3e8 {""} 0x11bc 48 temp14.d:temp15.d = sx.q(eax) 0x11bc 49 edx = temp14.d 0x11bc 50 eax = temp15.d 0x11bd 51 temp16.d = edx 0x11bd 52 temp17.d = eax 0x11bd 53 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx) 0x11bd 54 temp18.d = edx 0x11bd 55 temp19.d = eax 0x11bd 56 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx) 0x11bd 57 eax = temp0.d 0x11bd 58 edx = temp1.d 0x11bf 59 eax = [rbp - 0x2c {var_34_1}].d 0x11c2 60 eax = eax - edx 0x11c4 61 ecx = 0x3e8 {""} 0x11c9 62 temp20.d:temp21.d = sx.q(eax) 0x11c9 63 edx = temp20.d 0x11c9 64 eax = temp21.d 0x11ca 65 temp22.d = edx 0x11ca 66 temp23.d = eax 0x11ca 67 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx) 0x11ca 68 temp24.d = edx 0x11ca 69 temp25.d = eax 0x11ca 70 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx) 0x11ca 71 eax = temp0.d 0x11ca 72 edx = temp1.d 0x11cc 73 [rbp - 0xc {var_14_1}].d = eax 0x11cf 74 eax = [rbp - 0x1c {var_24}].d 0x11d2 75 ecx = [rbp - 0xc {var_14_1}].d * 0x3e8 0x11d9 76 eax = eax - ecx 0x11db 77 [rbp - 0x1c {var_24}].d = eax 0x11de 78 eax = [rbp - 0x1c {var_24}].d 0x11e1 79 [rbp - 0x28 {var_30_1}].d = eax 0x11e4 80 eax = [rbp - 0x1c {var_24}].d 0x11e7 81 ecx = 0x64 {""} 0x11ec 82 temp26.d:temp27.d = sx.q(eax) 0x11ec 83 edx = temp26.d 0x11ec 84 eax = temp27.d 0x11ed 85 temp28.d = edx 0x11ed 86 temp29.d = eax 0x11ed 87 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx) 0x11ed 88 temp30.d = edx 0x11ed 89 temp31.d = eax 0x11ed 90 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx) 0x11ed 91 eax = temp0.d 0x11ed 92 edx = temp1.d 0x11ef 93 eax = [rbp - 0x28 {var_30_1}].d 0x11f2 94 eax = eax - edx 0x11f4 95 ecx = 0x64 {""} 0x11f9 96 temp32.d:temp33.d = sx.q(eax) 0x11f9 97 edx = temp32.d 0x11f9 98 eax = temp33.d 0x11fa 99 temp34.d = edx 0x11fa 100 temp35.d = eax 0x11fa 101 temp0.d = divs.dp.d(temp34.d:temp35.d, ecx) 0x11fa 102 temp36.d = edx 0x11fa 103 temp37.d = eax 0x11fa 104 temp1.d = mods.dp.d(temp36.d:temp37.d, ecx) 0x11fa 105 eax = temp0.d 0x11fa 106 edx = temp1.d 0x11fc 107 [rbp - 0x10 {var_18_1}].d = eax 0x11ff 108 eax = [rbp - 0x1c {var_24}].d 0x1202 109 ecx = [rbp - 0x10 {var_18_1}].d * 0x64 0x1206 110 eax = eax - ecx 0x1208 111 [rbp - 0x1c {var_24}].d = eax 0x120b 112 eax = [rbp - 0x1c {var_24}].d 0x120e 113 [rbp - 0x24 {var_2c_1}].d = eax 0x1211 114 eax = [rbp - 0x1c {var_24}].d 0x1214 115 ecx = 0xa {""} 0x1219 116 temp38.d:temp39.d = sx.q(eax) 0x1219 117 edx = temp38.d 0x1219 118 eax = temp39.d 0x121a 119 temp40.d = edx 0x121a 120 temp41.d = eax 0x121a 121 temp0.d = divs.dp.d(temp40.d:temp41.d, ecx) 0x121a 122 temp42.d = edx 0x121a 123 temp43.d = eax 0x121a 124 temp1.d = mods.dp.d(temp42.d:temp43.d, ecx) 0x121a 125 eax = temp0.d 0x121a 126 edx = temp1.d 0x121c 127 eax = [rbp - 0x24 {var_2c_1}].d 0x121f 128 eax = eax - edx 0x1221 129 ecx = 0xa {""} 0x1226 130 temp44.d:temp45.d = sx.q(eax) 0x1226 131 edx = temp44.d 0x1226 132 eax = temp45.d 0x1227 133 temp46.d = edx 0x1227 134 temp47.d = eax 0x1227 135 temp0.d = divs.dp.d(temp46.d:temp47.d, ecx) 0x1227 136 temp48.d = edx 0x1227 137 temp49.d = eax 0x1227 138 temp1.d = mods.dp.d(temp48.d:temp49.d, ecx) 0x1227 139 eax = temp0.d 0x1227 140 edx = temp1.d 0x1229 141 [rbp - 0x14 {var_1c_1}].d = eax 0x122c 142 eax = [rbp - 0x1c {var_24}].d 0x122f 143 ecx = [rbp - 0x14 {var_1c_1}].d * 0xa 0x1233 144 eax = eax - ecx 0x1235 145 [rbp - 0x1c {var_24}].d = eax 0x1238 146 eax = [rbp - 0x1c {var_24}].d 0x123b 147 [rbp - 0x18 {var_20}].d = eax 0x123e 148 eax = [rbp - 0x18 {var_20}].d * 0x2710 0x1245 149 ecx = [rbp - 0x14 {var_1c_1}].d * 0x3e8 0x124c 150 eax = eax + ecx 0x124e 151 ecx = [rbp - 0x10 {var_18_1}].d * 0x64 0x1252 152 eax = eax + ecx 0x1254 153 ecx = [rbp - 0xc {var_14_1}].d * 0xa 0x1258 154 eax = eax + ecx 0x125a 155 eax = eax + [rbp - 8 {var_10_1}].d 0x125d 156 [rbp - 0x20 {var_28}].d = eax 0x1260 157 esi = [rbp - 0x20 {var_28}].d 0x1263 158 rdi = 0x2004 {"%d"} 0x126a 159 al = 0 0x126c 160 call(0x1030) 0x1271 161 goto 281 @ 0x146a 0x134b 162 if ([rbp - 0x1c {var_24}].d s< 0x64) then 285 @ 0x13e0 else 286 @ 0x1351 0x1283 163 eax = [rbp - 0x1c {var_24}].d 0x1286 164 [rbp - 0x3c {var_44_1}].d = eax 0x1289 165 eax = [rbp - 0x1c {var_24}].d 0x128c 166 ecx = 0x3e8 {""} 0x1291 167 temp50.d:temp51.d = sx.q(eax) 0x1291 168 edx = temp50.d 0x1291 169 eax = temp51.d 0x1292 170 temp52.d = edx 0x1292 171 temp53.d = eax 0x1292 172 temp0.d = divs.dp.d(temp52.d:temp53.d, ecx) 0x1292 173 temp54.d = edx 0x1292 174 temp55.d = eax 0x1292 175 temp1.d = mods.dp.d(temp54.d:temp55.d, ecx) 0x1292 176 eax = temp0.d 0x1292 177 edx = temp1.d 0x1294 178 eax = [rbp - 0x3c {var_44_1}].d 0x1297 179 eax = eax - edx 0x1299 180 ecx = 0x3e8 {""} 0x129e 181 temp56.d:temp57.d = sx.q(eax) 0x129e 182 edx = temp56.d 0x129e 183 eax = temp57.d 0x129f 184 temp58.d = edx 0x129f 185 temp59.d = eax 0x129f 186 temp0.d = divs.dp.d(temp58.d:temp59.d, ecx) 0x129f 187 temp60.d = edx 0x129f 188 temp61.d = eax 0x129f 189 temp1.d = mods.dp.d(temp60.d:temp61.d, ecx) 0x129f 190 eax = temp0.d 0x129f 191 edx = temp1.d 0x12a1 192 [rbp - 0xc {var_14_2}].d = eax 0x12a4 193 eax = [rbp - 0x1c {var_24}].d 0x12a7 194 ecx = [rbp - 0xc {var_14_2}].d * 0x3e8 0x12ae 195 eax = eax - ecx 0x12b0 196 [rbp - 0x1c {var_24}].d = eax 0x12b3 197 eax = [rbp - 0x1c {var_24}].d 0x12b6 198 [rbp - 0x38 {var_40_1}].d = eax 0x12b9 199 eax = [rbp - 0x1c {var_24}].d 0x12bc 200 ecx = 0x64 {""} 0x12c1 201 temp62.d:temp63.d = sx.q(eax) 0x12c1 202 edx = temp62.d 0x12c1 203 eax = temp63.d 0x12c2 204 temp64.d = edx 0x12c2 205 temp65.d = eax 0x12c2 206 temp0.d = divs.dp.d(temp64.d:temp65.d, ecx) 0x12c2 207 temp66.d = edx 0x12c2 208 temp67.d = eax 0x12c2 209 temp1.d = mods.dp.d(temp66.d:temp67.d, ecx) 0x12c2 210 eax = temp0.d 0x12c2 211 edx = temp1.d 0x12c4 212 eax = [rbp - 0x38 {var_40_1}].d 0x12c7 213 eax = eax - edx 0x12c9 214 ecx = 0x64 {""} 0x12ce 215 temp68.d:temp69.d = sx.q(eax) 0x12ce 216 edx = temp68.d 0x12ce 217 eax = temp69.d 0x12cf 218 temp70.d = edx 0x12cf 219 temp71.d = eax 0x12cf 220 temp0.d = divs.dp.d(temp70.d:temp71.d, ecx) 0x12cf 221 temp72.d = edx 0x12cf 222 temp73.d = eax 0x12cf 223 temp1.d = mods.dp.d(temp72.d:temp73.d, ecx) 0x12cf 224 eax = temp0.d 0x12cf 225 edx = temp1.d 0x12d1 226 [rbp - 0x10 {var_18_2}].d = eax 0x12d4 227 eax = [rbp - 0x1c {var_24}].d 0x12d7 228 ecx = [rbp - 0x10 {var_18_2}].d * 0x64 0x12db 229 eax = eax - ecx 0x12dd 230 [rbp - 0x1c {var_24}].d = eax 0x12e0 231 eax = [rbp - 0x1c {var_24}].d 0x12e3 232 [rbp - 0x34 {var_3c_1}].d = eax 0x12e6 233 eax = [rbp - 0x1c {var_24}].d 0x12e9 234 ecx = 0xa {""} 0x12ee 235 temp74.d:temp75.d = sx.q(eax) 0x12ee 236 edx = temp74.d 0x12ee 237 eax = temp75.d 0x12ef 238 temp76.d = edx 0x12ef 239 temp77.d = eax 0x12ef 240 temp0.d = divs.dp.d(temp76.d:temp77.d, ecx) 0x12ef 241 temp78.d = edx 0x12ef 242 temp79.d = eax 0x12ef 243 temp1.d = mods.dp.d(temp78.d:temp79.d, ecx) 0x12ef 244 eax = temp0.d 0x12ef 245 edx = temp1.d 0x12f1 246 eax = [rbp - 0x34 {var_3c_1}].d 0x12f4 247 eax = eax - edx 0x12f6 248 ecx = 0xa {""} 0x12fb 249 temp80.d:temp81.d = sx.q(eax) 0x12fb 250 edx = temp80.d 0x12fb 251 eax = temp81.d 0x12fc 252 temp82.d = edx 0x12fc 253 temp83.d = eax 0x12fc 254 temp0.d = divs.dp.d(temp82.d:temp83.d, ecx) 0x12fc 255 temp84.d = edx 0x12fc 256 temp85.d = eax 0x12fc 257 temp1.d = mods.dp.d(temp84.d:temp85.d, ecx) 0x12fc 258 eax = temp0.d 0x12fc 259 edx = temp1.d 0x12fe 260 [rbp - 0x14 {var_1c_2}].d = eax 0x1301 261 eax = [rbp - 0x1c {var_24}].d 0x1304 262 ecx = [rbp - 0x14 {var_1c_2}].d * 0xa 0x1308 263 eax = eax - ecx 0x130a 264 [rbp - 0x1c {var_24}].d = eax 0x130d 265 eax = [rbp - 0x1c {var_24}].d 0x1310 266 [rbp - 0x18 {var_20_1}].d = eax 0x1313 267 eax = [rbp - 0x18 {var_20_1}].d * 0x3e8 0x131a 268 ecx = [rbp - 0x14 {var_1c_2}].d * 0x64 0x131e 269 eax = eax + ecx 0x1320 270 ecx = [rbp - 0x10 {var_18_2}].d * 0xa 0x1324 271 eax = eax + ecx 0x1326 272 ecx = [rbp - 0xc {var_14_2}].d 0x1329 273 ecx = ecx << 0 0x132c 274 eax = eax + ecx 0x132e 275 [rbp - 0x20 {var_28_1}].d = eax 0x1331 276 esi = [rbp - 0x20 {var_28_1}].d 0x1334 277 rdi = 0x2004 {"%d"} 0x133b 278 al = 0 0x133d 279 call(0x1030) 0x1342 280 goto 368 @ 0x1465 0x146a 281 eax = [rbp - 4 {var_c}].d 0x146d 282 rsp = rsp + 0x50 0x1471 283 rbp = pop 0x1472 284 <return> jump(pop) 0x13e0 285 if ([rbp - 0x1c {var_24}].d s< 0xa) then 369 @ 0x143e else 378 @ 0x13e6 0x1351 286 eax = [rbp - 0x1c {var_24}].d 0x1354 287 [rbp - 0x44 {var_4c_1}].d = eax 0x1357 288 eax = [rbp - 0x1c {var_24}].d 0x135a 289 ecx = 0x64 {""} 0x135f 290 temp86.d:temp87.d = sx.q(eax) 0x135f 291 edx = temp86.d 0x135f 292 eax = temp87.d 0x1360 293 temp88.d = edx 0x1360 294 temp89.d = eax 0x1360 295 temp0.d = divs.dp.d(temp88.d:temp89.d, ecx) 0x1360 296 temp90.d = edx 0x1360 297 temp91.d = eax 0x1360 298 temp1.d = mods.dp.d(temp90.d:temp91.d, ecx) 0x1360 299 eax = temp0.d 0x1360 300 edx = temp1.d 0x1362 301 eax = [rbp - 0x44 {var_4c_1}].d 0x1365 302 eax = eax - edx 0x1367 303 ecx = 0x64 {""} 0x136c 304 temp92.d:temp93.d = sx.q(eax) 0x136c 305 edx = temp92.d 0x136c 306 eax = temp93.d 0x136d 307 temp94.d = edx 0x136d 308 temp95.d = eax 0x136d 309 temp0.d = divs.dp.d(temp94.d:temp95.d, ecx) 0x136d 310 temp96.d = edx 0x136d 311 temp97.d = eax 0x136d 312 temp1.d = mods.dp.d(temp96.d:temp97.d, ecx) 0x136d 313 eax = temp0.d 0x136d 314 edx = temp1.d 0x136f 315 [rbp - 0x10 {var_18_3}].d = eax 0x1372 316 eax = [rbp - 0x1c {var_24}].d 0x1375 317 ecx = [rbp - 0x10 {var_18_3}].d * 0x64 0x1379 318 eax = eax - ecx 0x137b 319 [rbp - 0x1c {var_24}].d = eax 0x137e 320 eax = [rbp - 0x1c {var_24}].d 0x1381 321 [rbp - 0x40 {var_48_1}].d = eax 0x1384 322 eax = [rbp - 0x1c {var_24}].d 0x1387 323 ecx = 0xa {""} 0x138c 324 temp98.d:temp99.d = sx.q(eax) 0x138c 325 edx = temp98.d 0x138c 326 eax = temp99.d 0x138d 327 temp100.d = edx 0x138d 328 temp101.d = eax 0x138d 329 temp0.d = divs.dp.d(temp100.d:temp101.d, ecx) 0x138d 330 temp102.d = edx 0x138d 331 temp103.d = eax 0x138d 332 temp1.d = mods.dp.d(temp102.d:temp103.d, ecx) 0x138d 333 eax = temp0.d 0x138d 334 edx = temp1.d 0x138f 335 eax = [rbp - 0x40 {var_48_1}].d 0x1392 336 eax = eax - edx 0x1394 337 ecx = 0xa {""} 0x1399 338 temp104.d:temp105.d = sx.q(eax) 0x1399 339 edx = temp104.d 0x1399 340 eax = temp105.d 0x139a 341 temp106.d = edx 0x139a 342 temp107.d = eax 0x139a 343 temp0.d = divs.dp.d(temp106.d:temp107.d, ecx) 0x139a 344 temp108.d = edx 0x139a 345 temp109.d = eax 0x139a 346 temp1.d = mods.dp.d(temp108.d:temp109.d, ecx) 0x139a 347 eax = temp0.d 0x139a 348 edx = temp1.d 0x139c 349 [rbp - 0x14 {var_1c_3}].d = eax 0x139f 350 eax = [rbp - 0x1c {var_24}].d 0x13a2 351 ecx = [rbp - 0x14 {var_1c_3}].d * 0xa 0x13a6 352 eax = eax - ecx 0x13a8 353 [rbp - 0x1c {var_24}].d = eax 0x13ab 354 eax = [rbp - 0x1c {var_24}].d 0x13ae 355 [rbp - 0x18 {var_20_2}].d = eax 0x13b1 356 eax = [rbp - 0x18 {var_20_2}].d * 0x64 0x13b5 357 ecx = [rbp - 0x14 {var_1c_3}].d * 0xa 0x13b9 358 eax = eax + ecx 0x13bb 359 ecx = [rbp - 0x10 {var_18_3}].d 0x13be 360 ecx = ecx << 0 0x13c1 361 eax = eax + ecx 0x13c3 362 [rbp - 0x20 {var_28_2}].d = eax 0x13c6 363 esi = [rbp - 0x20 {var_28_2}].d 0x13c9 364 rdi = 0x2004 {"%d"} 0x13d0 365 al = 0 0x13d2 366 call(0x1030) 0x13d7 367 goto 424 @ 0x1460 0x1465 368 goto 281 @ 0x146a 0x143e 369 eax = [rbp - 0x1c {var_24}].d 0x1441 370 [rbp - 0x18 {var_20_4}].d = eax 0x1444 371 eax = [rbp - 0x18 {var_20_4}].d 0x1447 372 [rbp - 0x20 {var_28_4}].d = eax 0x144a 373 esi = [rbp - 0x20 {var_28_4}].d 0x144d 374 rdi = 0x2004 {"%d"} 0x1454 375 al = 0 0x1456 376 call(0x1030) 0x1456 377 goto 425 @ 0x145b 0x13e6 378 eax = [rbp - 0x1c {var_24}].d 0x13e9 379 [rbp - 0x48 {var_50_1}].d = eax 0x13ec 380 eax = [rbp - 0x1c {var_24}].d 0x13ef 381 ecx = 0xa {""} 0x13f4 382 temp110.d:temp111.d = sx.q(eax) 0x13f4 383 edx = temp110.d 0x13f4 384 eax = temp111.d 0x13f5 385 temp112.d = edx 0x13f5 386 temp113.d = eax 0x13f5 387 temp0.d = divs.dp.d(temp112.d:temp113.d, ecx) 0x13f5 388 temp114.d = edx 0x13f5 389 temp115.d = eax 0x13f5 390 temp1.d = mods.dp.d(temp114.d:temp115.d, ecx) 0x13f5 391 eax = temp0.d 0x13f5 392 edx = temp1.d 0x13f7 393 eax = [rbp - 0x48 {var_50_1}].d 0x13fa 394 eax = eax - edx 0x13fc 395 ecx = 0xa {""} 0x1401 396 temp116.d:temp117.d = sx.q(eax) 0x1401 397 edx = temp116.d 0x1401 398 eax = temp117.d 0x1402 399 temp118.d = edx 0x1402 400 temp119.d = eax 0x1402 401 temp0.d = divs.dp.d(temp118.d:temp119.d, ecx) 0x1402 402 temp120.d = edx 0x1402 403 temp121.d = eax 0x1402 404 temp1.d = mods.dp.d(temp120.d:temp121.d, ecx) 0x1402 405 eax = temp0.d 0x1402 406 edx = temp1.d 0x1404 407 [rbp - 0x14 {var_1c_4}].d = eax 0x1407 408 eax = [rbp - 0x1c {var_24}].d 0x140a 409 ecx = [rbp - 0x14 {var_1c_4}].d * 0xa 0x140e 410 eax = eax - ecx 0x1410 411 [rbp - 0x1c {var_24}].d = eax 0x1413 412 eax = [rbp - 0x1c {var_24}].d 0x1416 413 [rbp - 0x18 {var_20_3}].d = eax 0x1419 414 eax = [rbp - 0x18 {var_20_3}].d * 0xa 0x141d 415 ecx = [rbp - 0x14 {var_1c_4}].d 0x1420 416 ecx = ecx << 0 0x1423 417 eax = eax + ecx 0x1425 418 [rbp - 0x20 {var_28_3}].d = eax 0x1428 419 esi = [rbp - 0x20 {var_28_3}].d 0x142b 420 rdi = 0x2004 {"%d"} 0x1432 421 al = 0 0x1434 422 call(0x1030) 0x1439 423 goto 425 @ 0x145b 0x1460 424 goto 368 @ 0x1465 0x145b 425 goto 424 @ 0x1460 int64_t _fini(): 0x1478 0 rsp = rsp - 8 0x147c 1 rsp = rsp + 8 0x1480 2 <return> jump(pop)
POJ_56
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVSHx\t"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(rbx) 0x1156 4 rsp = rsp - 0x978 0x115d 5 rdi = 0x2020 {"%d"} 0x1164 6 rsi = rsp + 0xc {var_98c} 0x1169 7 eax = 0 0x116b 8 call(0x1040) 0x1170 9 r15d = 0xffffffff {""} 0x117b 10 if ([rsp + 0xc {var_98c}].d s<= 0) then 11 @ 0x1387 else 23 @ 0x1181 0x1387 11 rax = sx.q(r15d) 0x138a 12 esi = [rsp + (rax << 2) + 0x10].d 0x138e 13 rdi = 0x2020 {"%d"} 0x1395 14 eax = 0 0x1397 15 call(0x1030) 0x139c 16 eax = 0 0x139e 17 rsp = rsp + 0x978 0x13a5 18 rbx = pop 0x13a6 19 r14 = pop 0x13a8 20 r15 = pop 0x13aa 21 rbp = pop 0x13ab 22 <return> jump(pop) 0x1181 23 rbx = rsp + 0x4c0 {var_4d8} 0x1189 24 r14 = 0x2020 {"%d"} 0x1190 25 ebp = 0 0x119c 26 goto 27 @ 0x11a0 0x11a0 27 rdi = r14 0x11a3 28 rsi = rbx 0x11a6 29 eax = 0 0x11a8 30 call(0x1040) 0x11ad 31 rbp = rbp + 1 0x11b1 32 rax = sx.q([rsp + 0xc {var_98c}].d) 0x11b6 33 rbx = rbx + 4 0x11bd 34 if (rbp s< rax) then 27 @ 0x11a0 else 35 @ 0x11bf 0x11bf 35 r8d = eax 0x11c2 36 eax = [rsp + 0x4c0 {var_4d8}].d 0x11c9 37 [rsp + 0x10 {var_988}].d = eax 0x11d0 38 if (r8d s<= 0) then 11 @ 0x1387 else 39 @ 0x11d6 0x11d6 39 ecx = 0 0x11d8 40 xmm0 = _mm_cmpeq_epi32(xmm0, xmm0) 0x11dc 41 xmm1 = [0x2010].o 0x11e4 42 edx = 0 0x11e6 43 goto 44 @ 0x11fd 0x11fd 44 eax = 0 0x1204 45 if (edx s<= 0) then 46 @ 0x1327 else 47 @ 0x120a 0x1327 46 if (eax != edx) then 50 @ 0x11f0 else 52 @ 0x132d 0x120a 47 esi = [rsp + (rcx << 2) + 0x4c0].d 0x1211 48 ebx = edx 0x1216 49 if (edx u>= 8) then 57 @ 0x1230 else 66 @ 0x1218 0x11f0 50 rcx = rcx + 1 0x11f7 51 if (rcx == r8) then 69 @ 0x1359 else 44 @ 0x11fd 0x132d 52 eax = [rsp + (rcx << 2) + 0x4c0].d 0x1334 53 rsi = sx.q(edx) 0x1337 54 [rsp + (rsi << 2) + 0x10].d = eax 0x133b 55 edx = edx + 1 0x133e 56 goto 50 @ 0x11f0 0x1230 57 edi = ebx 0x1232 58 edi = edi & 0xfffffff8 0x1235 59 xmm2 = esi 0x1239 60 xmm2 = _mm_shuffle_epi32(xmm2, 0) 0x123e 61 rax = rdi - 8 0x1242 62 r9 = rax 0x1245 63 r9 = r9 u>> 3 0x1249 64 r9 = r9 + 1 0x1250 65 if (rax == 0) then 71 @ 0x1343 else 75 @ 0x1256 0x1218 66 edi = 0 0x121a 67 eax = 0 0x121c 68 goto 81 @ 0x1310 0x1359 69 r15d = (rdx - 1).d 0x1360 70 if (edx s< 2) then 11 @ 0x1387 else 86 @ 0x1362 0x1343 71 xmm3 = 0 0x1347 72 eax = 0 0x1349 73 xmm4 = 0 0x1351 74 if ((r9b & 1) != 0) then 90 @ 0x12c0 else 99 @ 0x1357 0x1256 75 rbp = r9 0x1259 76 rbp = rbp & 0xfffffffffffffffe 0x125d 77 xmm3 = 0 0x1261 78 eax = 0 0x1263 79 xmm4 = 0 0x1267 80 goto 100 @ 0x1270 0x1310 81 ebp = 0 0x1316 82 bpl = [rsp + (rdi << 2) + 0x10].d != esi 0x131a 83 eax = eax + ebp 0x131c 84 rdi = rdi + 1 0x1323 85 if (rbx != rdi) then 81 @ 0x1310 else 46 @ 0x1327 0x1362 86 ebp = r15d 0x1365 87 r14 = 0x2023 {"%d,"} 0x136c 88 ebx = 0 0x136e 89 goto 118 @ 0x1370 0x12c0 90 xmm5 = xmm2 0x12c4 91 xmm5 = __pcmpeqd_xmmdq_memdq(xmm5, [rsp + (rax << 2) + 0x10].o) 0x12ca 92 xmm3 = _mm_add_epi32(xmm3, xmm5) 0x12ce 93 xmm5 = [rsp + (rax << 2) + 0x20].o 0x12d4 94 xmm5 = _mm_cmpeq_epi32(xmm5, xmm2) 0x12d8 95 xmm4 = _mm_add_epi32(xmm4, xmm5) 0x12dc 96 xmm3 = _mm_sub_epi32(xmm3, xmm0) 0x12e0 97 xmm4 = _mm_sub_epi32(xmm4, xmm0) 0x12e0 98 goto 124 @ 0x12e4 0x1357 99 goto 124 @ 0x12e4 0x1270 100 xmm5 = [rsp + (rax << 2) + 0x10].o 0x1276 101 xmm5 = _mm_cmpeq_epi32(xmm5, xmm2) 0x127a 102 xmm5 = _mm_add_epi32(xmm5, xmm3) 0x127e 103 xmm6 = [rsp + (rax << 2) + 0x20].o 0x1284 104 xmm6 = _mm_cmpeq_epi32(xmm6, xmm2) 0x1288 105 xmm6 = _mm_add_epi32(xmm6, xmm4) 0x128c 106 xmm3 = [rsp + (rax << 2) + 0x30].o 0x1292 107 xmm3 = _mm_cmpeq_epi32(xmm3, xmm2) 0x1296 108 xmm4 = [rsp + (rax << 2) + 0x40].o 0x129c 109 xmm4 = _mm_cmpeq_epi32(xmm4, xmm2) 0x12a0 110 xmm3 = _mm_add_epi32(xmm3, xmm1) 0x12a4 111 xmm3 = _mm_add_epi32(xmm3, xmm5) 0x12a8 112 xmm4 = _mm_add_epi32(xmm4, xmm1) 0x12ac 113 xmm4 = _mm_add_epi32(xmm4, xmm6) 0x12b0 114 rax = rax + 0x10 0x12b4 115 temp0.q = rbp 0x12b4 116 rbp = rbp - 2 0x12b8 117 if (temp0.q != 2) then 100 @ 0x1270 else 131 @ 0x12be 0x1370 118 esi = [rsp + (rbx << 2) + 0x10].d 0x1374 119 rdi = r14 0x1377 120 eax = 0 0x1379 121 call(0x1030) 0x137e 122 rbx = rbx + 1 0x1385 123 if (rbp != rbx) then 118 @ 0x1370 else 11 @ 0x1387 0x12e4 124 xmm3 = _mm_add_epi32(xmm3, xmm4) 0x12e8 125 xmm2 = _mm_shuffle_epi32(xmm3, 0xee) 0x12ed 126 xmm2 = _mm_add_epi32(xmm2, xmm3) 0x12f1 127 xmm3 = _mm_shuffle_epi32(xmm2, 0x55) 0x12f6 128 xmm3 = _mm_add_epi32(xmm3, xmm2) 0x12fa 129 eax = xmm3.d 0x1301 130 if (rdi == rbx) then 46 @ 0x1327 else 132 @ 0x130d 0x12be 131 if ((r9b & 1) == 0) then 124 @ 0x12e4 else 90 @ 0x12c0 0x130d 132 goto 81 @ 0x1310 int64_t _fini(): 0x13b0 0 rsp = rsp - 8 0x13b4 1 rsp = rsp + 8 0x13b8 2 <return> jump(pop)
POJ_53
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 uint64_t strlen(char const* arg1): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AVSHxW)D$`)D$P)D$@)D$0)D$ )D$D$p"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r14) 0x1162 1 push(rbx) 0x1163 2 rsp = rsp - 0x78 0x1167 3 xmm0 = 0 0x116a 4 [rsp + 0x60 {var_28}].o = xmm0 0x116f 5 [rsp + 0x50 {var_38}].o = xmm0 0x1174 6 [rsp + 0x40 {var_48}].o = xmm0 0x1179 7 [rsp + 0x30 {var_58}].o = xmm0 0x117e 8 [rsp + 0x20 {var_68}].o = xmm0 0x1183 9 [rsp + 0x10 {var_78}].o = xmm0 0x1188 10 [rsp + 0x70 {var_18}].d = 0 0x1190 11 rbx = 0x2004 {"%d"} 0x1197 12 rsi = rsp + 0xc {var_7c} 0x119c 13 rdi = rbx 0x119f 14 eax = 0 0x11a1 15 call(0x1040) 0x11a6 16 rdi = 0x2007 {"%s"} 0x11ad 17 rsi = rsp + 0x10 {var_78} 0x11b2 18 eax = 0 0x11b4 19 call(0x1040) 0x11b9 20 rsi = rsp + 8 {var_80} 0x11be 21 rdi = rbx 0x11c1 22 eax = 0 0x11c3 23 call(0x1040) 0x11c8 24 al = [rsp + 0x10 {var_78}].b 0x11ce 25 if (al == 0) then 26 @ 0x1202 else 35 @ 0x11d0 0x1202 26 edi = [rsp + 0xc {var_7c}].d 0x1206 27 esi = [rsp + 8 {var_80}].d 0x120a 28 rdx = rsp + 0x10 {var_78} 0x120f 29 call(0x1220) 0x1214 30 eax = 0 0x1216 31 rsp = rsp + 0x78 0x121a 32 rbx = pop 0x121b 33 r14 = pop 0x121d 34 <return> jump(pop) 0x11d0 35 ebx = 1 0x11d5 36 r14 = rsp + 0x10 {var_78} 0x11dc 37 if (al s< 0x61) then 38 @ 0x11e6 else 41 @ 0x11de 0x11e6 38 rdi = r14 {var_78} 0x11e9 39 call(0x1030) 0x11f1 40 if (rax u<= rbx) then 26 @ 0x1202 else 42 @ 0x11f3 0x11de 41 goto 45 @ 0x11e0 0x11f3 42 eax = zx.d([rsp + rbx + 0x10].b) 0x11f8 43 rbx = rbx + 1 0x11fe 44 if (al s>= 0x61) then 45 @ 0x11e0 else 48 @ 0x1200 0x11e0 45 al = al - 0x20 0x11e2 46 [rsp + rbx + 0xf].b = al 0x11e2 47 goto 38 @ 0x11e6 0x1200 48 goto 38 @ 0x11e6 uint64_t numchange(int32_t arg1, int32_t arg2, char* arg3): 0x1220 0 push(rbp) 0x1221 1 push(r15) 0x1223 2 push(r14) 0x1225 3 push(r12) 0x1227 4 push(rbx) 0x1228 5 rsp = rsp - 0x70 0x122c 6 r12 = rdx 0x122f 7 r15d = esi 0x1232 8 r14d = edi 0x1235 9 xmm0 = 0 0x1238 10 [rsp + 0x50 {var_48}].o = xmm0 0x123d 11 [rsp + 0x40 {var_58}].o = xmm0 0x1242 12 [rsp + 0x30 {var_68}].o = xmm0 0x1247 13 [rsp + 0x20 {var_78}].o = xmm0 0x124c 14 [rsp + 0x10 {var_88}].o = xmm0 0x1251 15 [rsp {var_98}].o = xmm0 0x1255 16 [rsp + 0x60 {var_38}].d = 0 0x125d 17 rdi = rdx 0x1260 18 call(0x1030) 0x1267 19 if (eax s<= 0) then 20 @ 0x12e2 else 23 @ 0x1269 0x12e2 20 ebx = 0 0x12e4 21 rsi = sx.q(r15d) 0x12eb 22 if (r15d s<= 0xa) then 28 @ 0x12c5 else 32 @ 0x12ed 0x1269 23 rdx = sx.q(r14d) 0x126c 24 r8d = eax 0x126f 25 esi = 0 0x1271 26 ebx = 0 0x127d 27 goto 36 @ 0x1280 0x12c5 28 rax = rbx 0x12c8 29 rax = rax | rsi 0x12cb 30 rax = rax u>> 0x20 0x12cf 31 if (rax == 0) then 43 @ 0x1370 else 55 @ 0x12d5 0x12ed 32 ecx = r15d 0x12f0 33 rdi = -1 0x12f7 34 ebp = 0x30 {""} 0x12fc 35 goto 62 @ 0x1314 0x1280 36 rdi = sx.q([r12 + rsi].b) 0x1285 37 ebp = (rdi - 0x30).d 0x1288 38 rcx = rbx 0x128b 39 rcx = rcx * rdx 0x128f 40 cond:0 = bpl u>= 0xa 0x1293 41 rax = rcx + rdi - 0x30 0x1298 42 if (cond:0) then 65 else 67 @ 0x129c 0x1370 43 eax = ebx 0x1372 44 edx = 0 0x1374 45 temp2.d = r15d 0x1374 46 temp3.d = edx 0x1374 47 temp4.d = eax 0x1374 48 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x1374 49 temp5.d = edx 0x1374 50 temp6.d = eax 0x1374 51 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x1374 52 eax = temp0.d 0x1374 53 edx = temp1.d 0x1374 54 goto 73 @ 0x1377 0x12d5 55 rax = rbx 0x12d8 56 rdx:rax = sx.o(rax) 0x12da 57 temp0.q = divs.dp.q(rdx:rax, rsi) 0x12da 58 temp1.q = mods.dp.q(rdx:rax, rsi) 0x12da 59 rax = temp0.q 0x12da 60 rdx = temp1.q 0x12dd 61 goto 73 @ 0x1377 0x1314 62 rax = rbx 0x1317 63 rax = rax u>> 0x20 0x131b 64 if (rax == 0) then 77 @ 0x1330 else 89 @ 0x131d 0x1298 65 rax = rbx 0x1298 66 goto 67 @ 0x129c 0x129c 67 ebp = (rdi - 0x41).d 0x129f 68 rcx = rax 0x12a2 69 rcx = rcx * rdx 0x12a6 70 cond:1 = bpl u>= 0x1a 0x12aa 71 rbx = rdi + rcx - 0x37 0x12af 72 if (cond:1) then 96 else 98 @ 0x12b3 0x1377 73 dl = dl + 0x30 0x137a 74 [rsp {var_98}].b = dl 0x137d 75 edi = 0 0x1382 76 if (rax != 0) then 100 @ 0x13c5 else 104 @ 0x1384 0x1330 77 eax = ebx 0x1332 78 edx = 0 0x1334 79 temp2.d = ecx 0x1334 80 temp7.d = edx 0x1334 81 temp8.d = eax 0x1334 82 temp0.d = divu.dp.d(temp7.d:temp8.d, temp2.d) 0x1334 83 temp9.d = edx 0x1334 84 temp10.d = eax 0x1334 85 temp1.d = modu.dp.d(temp9.d:temp10.d, temp2.d) 0x1334 86 eax = temp0.d 0x1334 87 edx = temp1.d 0x1334 88 goto 106 @ 0x1336 0x131d 89 rax = rbx 0x1320 90 rdx:rax = sx.o(rax) 0x1322 91 temp0.q = divs.dp.q(rdx:rax, rcx) 0x1322 92 temp1.q = mods.dp.q(rdx:rax, rcx) 0x1322 93 rax = temp0.q 0x1322 94 rdx = temp1.q 0x1325 95 goto 106 @ 0x1336 0x12af 96 rbx = rax 0x12af 97 goto 98 @ 0x12b3 0x12b3 98 rsi = rsi + 1 0x12ba 99 if (r8 != rsi) then 36 @ 0x1280 else 109 @ 0x12bc 0x13c5 100 rcx = rax 0x13c8 101 rcx = rcx | rsi 0x13cb 102 rcx = rcx u>> 0x20 0x13cf 103 if (rcx != 0) then 111 @ 0x13b0 else 117 @ 0x13d1 0x1384 104 ebx = edi 0x1386 105 goto 128 @ 0x1390 0x1336 106 cond:2 = rdx s< 0xa 0x133a 107 eax = 0x37 {""} 0x133f 108 if (cond:2) then 134 else 136 @ 0x1342 0x12bc 109 rsi = sx.q(r15d) 0x12c3 110 if (r15d s> 0xa) then 32 @ 0x12ed else 28 @ 0x12c5 0x13b0 111 rdx:rax = sx.o(rax) 0x13b2 112 temp0.q = divs.dp.q(rdx:rax, rsi) 0x13b2 113 temp1.q = mods.dp.q(rdx:rax, rsi) 0x13b2 114 rax = temp0.q 0x13b2 115 rdx = temp1.q 0x13b2 116 goto 142 @ 0x13b5 0x13d1 117 edx = 0 0x13d3 118 temp2.d = r15d 0x13d3 119 temp11.d = edx 0x13d3 120 temp12.d = eax 0x13d3 121 temp0.d = divu.dp.d(temp11.d:temp12.d, temp2.d) 0x13d3 122 temp13.d = edx 0x13d3 123 temp14.d = eax 0x13d3 124 temp1.d = modu.dp.d(temp13.d:temp14.d, temp2.d) 0x13d3 125 eax = temp0.d 0x13d3 126 edx = temp1.d 0x13d6 127 goto 142 @ 0x13b5 0x1390 128 edi = sx.d([rsp + rbx].b) 0x1394 129 call(0x1050) 0x1399 130 temp15.q = rbx 0x1399 131 rbx = rbx - 1 0x1399 132 flag:c = temp15.q u>= 1 0x139d 133 if (flag:c) then 128 @ 0x1390 else 146 @ 0x139f 0x133f 134 eax = ebp 0x133f 135 goto 136 @ 0x1342 0x1342 136 al = al + dl 0x1344 137 [rsp + rdi + 1].b = al 0x1348 138 rax = rbx 0x134b 139 rax = rax | rsi 0x134e 140 rax = rax u>> 0x20 0x1352 141 if (rax != 0) then 153 @ 0x1300 else 162 @ 0x1354 0x13b5 142 dl = dl + 0x30 0x13b8 143 [rsp + rdi + 1].b = dl 0x13bc 144 rdi = rdi + 1 0x13c3 145 if (rax == 0) then 176 @ 0x136c else 100 @ 0x13c5 0x139f 146 rsp = rsp + 0x70 0x13a3 147 rbx = pop 0x13a4 148 r12 = pop 0x13a6 149 r14 = pop 0x13a8 150 r15 = pop 0x13aa 151 rbp = pop 0x13ab 152 <return> jump(pop) 0x1300 153 rax = rbx 0x1303 154 rdx:rax = sx.o(rax) 0x1305 155 temp0.q = divs.dp.q(rdx:rax, rsi) 0x1305 156 temp1.q = mods.dp.q(rdx:rax, rsi) 0x1305 157 rax = temp0.q 0x1305 158 rdx = temp1.q 0x1308 159 rbx = rax 0x130b 160 rdi = rdi + 1 0x1312 161 if (rbx == 0) then 176 @ 0x136c else 62 @ 0x1314 0x1354 162 eax = ebx 0x1356 163 edx = 0 0x1358 164 temp2.d = r15d 0x1358 165 temp16.d = edx 0x1358 166 temp17.d = eax 0x1358 167 temp0.d = divu.dp.d(temp16.d:temp17.d, temp2.d) 0x1358 168 temp18.d = edx 0x1358 169 temp19.d = eax 0x1358 170 temp1.d = modu.dp.d(temp18.d:temp19.d, temp2.d) 0x1358 171 eax = temp0.d 0x1358 172 edx = temp1.d 0x135b 173 ebx = eax 0x135d 174 rdi = rdi + 1 0x1364 175 if (rbx != 0) then 62 @ 0x1314 else 176 @ 0x136c 0x136c 176 if ((edi & 0x80000000) == 0) then 104 @ 0x1384 else 177 @ 0x136e 0x136e 177 goto 146 @ 0x139f int64_t _fini(): 0x13dc 0 rsp = rsp - 8 0x13e0 1 rsp = rsp + 8 0x13e4 2 <return> jump(pop)
POJ_55
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1220 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) uint64_t s(int32_t arg1): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 [rbp - 8 {var_10}].d = edi 0x1157 3 [rbp - 0xc {var_14}].d = 2 0x1157 4 goto 5 @ 0x115e 0x115e 5 eax = [rbp - 0xc {var_14}].d 0x1164 6 if (eax s>= [rbp - 8 {var_10}].d) then 7 @ 0x1199 else 9 @ 0x116a 0x1199 7 [rbp - 4 {var_c}].d = 1 0x1199 8 goto 22 @ 0x11a0 0x116a 9 eax = [rbp - 8 {var_10}].d 0x116d 10 temp2.d:temp3.d = sx.q(eax) 0x116d 11 edx = temp2.d 0x116d 12 eax = temp3.d 0x116e 13 temp4.d = edx 0x116e 14 temp5.d = eax 0x116e 15 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0xc {var_14}].d) 0x116e 16 temp6.d = edx 0x116e 17 temp7.d = eax 0x116e 18 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0xc {var_14}].d) 0x116e 19 eax = temp0.d 0x116e 20 edx = temp1.d 0x1174 21 if (edx != 0) then 25 @ 0x1186 else 26 @ 0x117a 0x11a0 22 eax = [rbp - 4 {var_c}].d 0x11a3 23 rbp = pop 0x11a4 24 <return> jump(pop) 0x1186 25 goto 28 @ 0x118b 0x117a 26 [rbp - 4 {var_c}].d = 0 0x1181 27 goto 22 @ 0x11a0 0x118b 28 eax = [rbp - 0xc {var_14}].d 0x118e 29 eax = eax + 1 0x1191 30 [rbp - 0xc {var_14}].d = eax 0x1194 31 goto 5 @ 0x115e uint64_t h(int32_t arg1): 0x11b0 0 push(rbp) 0x11b1 1 rbp = rsp {__saved_rbp} 0x11b4 2 [rbp - 8 {var_10}].d = edi 0x11b7 3 [rbp - 0xc {var_14}].d = 0 0x11be 4 eax = [rbp - 8 {var_10}].d 0x11c1 5 [rbp - 0x10 {var_18}].d = eax 0x11c1 6 goto 7 @ 0x11c8 0x11c8 7 if ([rbp - 8 {var_10}].d == 0) then 8 @ 0x11fb else 10 @ 0x11ce 0x11fb 8 eax = [rbp - 0xc {var_14}].d 0x1201 9 if (eax != [rbp - 0x10 {var_18}].d) then 43 @ 0x1213 else 45 @ 0x1207 0x11ce 10 eax = [rbp - 0xc {var_14}].d * 0xa 0x11d2 11 [rbp - 0x14 {var_1c_1}].d = eax 0x11d5 12 eax = [rbp - 8 {var_10}].d 0x11d8 13 ecx = 0xa {""} 0x11dd 14 temp2.d:temp3.d = sx.q(eax) 0x11dd 15 edx = temp2.d 0x11dd 16 eax = temp3.d 0x11de 17 temp4.d = edx 0x11de 18 temp5.d = eax 0x11de 19 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x11de 20 temp6.d = edx 0x11de 21 temp7.d = eax 0x11de 22 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x11de 23 eax = temp0.d 0x11de 24 edx = temp1.d 0x11e0 25 eax = [rbp - 0x14 {var_1c_1}].d 0x11e3 26 eax = eax + edx 0x11e5 27 [rbp - 0xc {var_14}].d = eax 0x11e8 28 eax = [rbp - 8 {var_10}].d 0x11eb 29 ecx = 0xa {""} 0x11f0 30 temp8.d:temp9.d = sx.q(eax) 0x11f0 31 edx = temp8.d 0x11f0 32 eax = temp9.d 0x11f1 33 temp10.d = edx 0x11f1 34 temp11.d = eax 0x11f1 35 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x11f1 36 temp12.d = edx 0x11f1 37 temp13.d = eax 0x11f1 38 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x11f1 39 eax = temp0.d 0x11f1 40 edx = temp1.d 0x11f3 41 [rbp - 8 {var_10}].d = eax 0x11f6 42 goto 7 @ 0x11c8 0x1213 43 [rbp - 4 {var_c}].d = 0 0x1213 44 goto 47 @ 0x121a 0x1207 45 [rbp - 4 {var_c}].d = 1 0x120e 46 goto 47 @ 0x121a 0x121a 47 eax = [rbp - 4 {var_c}].d 0x121d 48 rbp = pop 0x121e 49 <return> jump(pop) int32_t main(int32_t argc, char** argv, char** envp): 0x1220 0 push(rbp) 0x1221 1 rbp = rsp {__saved_rbp} 0x1224 2 rsp = rsp - 0x1b0 0x122b 3 [rbp - 0x1a4 {var_1ac}].d = 0 0x1235 4 rdi = 0x2004 {"%d%d"} 0x123c 5 rsi = rbp - 4 {var_c} 0x1240 6 rdx = rbp - 8 {var_10} 0x1244 7 al = 0 0x1246 8 call(0x1040) 0x124b 9 eax = [rbp - 4 {var_c}].d 0x124e 10 [rbp - 0xc {var_14}].d = eax 0x124e 11 goto 12 @ 0x1251 0x1251 12 eax = [rbp - 0xc {var_14}].d 0x1257 13 if (eax s> [rbp - 8 {var_10}].d) then 14 @ 0x12b9 else 15 @ 0x125d 0x12b9 14 if ([rbp - 0x1a4 {var_1ac}].d != 0) then 18 @ 0x12d2 else 20 @ 0x12bf 0x125d 15 edi = [rbp - 0xc {var_14}].d 0x1260 16 call(0x1150) 0x1268 17 if (eax != 1) then 24 @ 0x129f else 25 @ 0x126e 0x12d2 18 [rbp - 0xc {var_14_1}].d = 0 0x12d2 19 goto 28 @ 0x12d9 0x12bf 20 rdi = 0x2009 {"no"} 0x12c6 21 al = 0 0x12c8 22 call(0x1030) 0x12cd 23 goto 32 @ 0x1334 0x129f 24 goto 35 @ 0x12a4 0x126e 25 edi = [rbp - 0xc {var_14}].d 0x1271 26 call(0x11b0) 0x1279 27 if (eax != 1) then 24 @ 0x129f else 39 @ 0x127f 0x12d9 28 eax = [rbp - 0xc {var_14_1}].d 0x12dc 29 ecx = [rbp - 0x1a4 {var_1ac}].d 0x12e2 30 ecx = ecx - 1 0x12e7 31 if (eax s>= ecx) then 46 @ 0x1314 else 54 @ 0x12ed 0x1334 32 rsp = rsp + 0x1b0 0x133b 33 rbp = pop 0x133c 34 <return> jump(pop) 0x12a4 35 eax = [rbp - 0xc {var_14}].d 0x12a7 36 eax = eax + 1 0x12aa 37 [rbp - 0xc {var_14}].d = eax 0x12ad 38 goto 12 @ 0x1251 0x127f 39 ecx = [rbp - 0xc {var_14}].d 0x1282 40 rax = sx.q([rbp - 0x1a4 {var_1ac}].d) 0x1289 41 [rbp + (rax << 2) - 0x1a0].d = ecx 0x1290 42 eax = [rbp - 0x1a4 {var_1ac}].d 0x1296 43 eax = eax + 1 0x1299 44 [rbp - 0x1a4 {var_1ac}].d = eax 0x1299 45 goto 24 @ 0x129f 0x1314 46 eax = [rbp - 0x1a4 {var_1ac}].d 0x131a 47 eax = eax - 1 0x131d 48 rax = sx.q(eax) 0x131f 49 esi = [rbp + (rax << 2) - 0x1a0].d 0x1326 50 rdi = 0x2006 {"%d"} 0x132d 51 al = 0 0x132f 52 call(0x1030) 0x132f 53 goto 32 @ 0x1334 0x12ed 54 rax = sx.q([rbp - 0xc {var_14_1}].d) 0x12f1 55 esi = [rbp + (rax << 2) - 0x1a0].d 0x12f8 56 rdi = 0x200c {"%d,"} 0x12ff 57 al = 0 0x1301 58 call(0x1030) 0x1306 59 eax = [rbp - 0xc {var_14_1}].d 0x1309 60 eax = eax + 1 0x130c 61 [rbp - 0xc {var_14_1}].d = eax 0x130f 62 goto 28 @ 0x12d9 int64_t _fini(): 0x1344 0 rsp = rsp - 8 0x1348 1 rsp = rsp + 8 0x134c 2 <return> jump(pop)
POJ_74
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"SHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbx) 0x1151 1 rsp = rsp - 0x10 0x1155 2 rbx = 0x2004 {"%d"} 0x115c 3 rsi = rsp + 0xc {var_c} 0x1161 4 rdi = rbx 0x1164 5 eax = 0 0x1166 6 call(0x1040) 0x116b 7 esi = [rsp + 0xc {var_c}].d 0x116f 8 rdi = rbx 0x1172 9 eax = 0 0x1174 10 call(0x1030) 0x1179 11 eax = 0 0x117b 12 rsp = rsp + 0x10 0x117f 13 rbx = pop 0x1180 14 <return> jump(pop) int64_t _fini(): 0x1188 0 rsp = rsp - 8 0x118c 1 rsp = rsp + 8 0x1190 2 <return> jump(pop)
POJ_56
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 char* gets(char* buf): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t putchar(int32_t c): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"SH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbx) 0x1151 1 rsp = rsp - 0xa0 0x1158 2 ebx = 0 0x115a 3 rdi = rsp {var_a8} 0x115d 4 eax = 0 0x115f 5 call(0x1030) 0x1164 6 goto 7 @ 0x1184 0x1184 7 eax = zx.d([rsp + rbx].b) 0x1188 8 ecx = (rax - 0x30).d 0x118e 9 if (cl u< 0xa) then 10 @ 0x1170 else 13 @ 0x1192 0x1170 10 edi = zx.d(al) 0x1173 11 [rsp + (rbx << 2) + 0x20].d = 1 0x1173 12 goto 14 @ 0x117b 0x1192 13 if (al == 0) then 16 @ 0x11aa else 20 @ 0x1194 0x117b 14 call(0x1040) 0x117b 15 goto 23 @ 0x1180 0x11aa 16 eax = 0 0x11ac 17 rsp = rsp + 0xa0 0x11b3 18 rbx = pop 0x11b4 19 <return> jump(pop) 0x1194 20 [rsp + (rbx << 2) + 0x20].d = 0 0x119c 21 edi = 0xa {""} 0x11a6 22 if ([rsp + (rbx << 2) + 0x1c].d == 1) then 14 @ 0x117b else 25 @ 0x11a8 0x1180 23 rbx = rbx + 1 0x1180 24 goto 7 @ 0x1184 0x11a8 25 goto 23 @ 0x1180 int64_t _fini(): 0x11bc 0 rsp = rsp - 8 0x11c0 1 rsp = rsp + 8 0x11c4 2 <return> jump(pop)
POJ_88
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) int32_t putchar(int32_t c): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAWAVAUATSH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(r13) 0x1177 4 push(r12) 0x1179 5 push(rbx) 0x117a 6 rsp = rsp - 0x608 0x1181 7 rdi = 0x2004 {"%s%s%s"} 0x1188 8 r14d = 0 0x118b 9 rbx = rsp + 0x10 {var_628} 0x1190 10 rdx = rsp + 0x210 {var_428} 0x1198 11 rcx = rsp + 0x410 {var_228} 0x11a0 12 rsi = rbx {var_628} 0x11a3 13 eax = 0 0x11a5 14 call(0x1050) 0x11aa 15 rdi = rbx {var_628} 0x11ad 16 call(0x1040) 0x11b2 17 [rsp + 8 {var_630}].q = rax 0x11b7 18 r15d = sx.d([rsp + 0x10 {var_628}].b) 0x11c0 19 if (r15d == 0) then 20 @ 0x12bb else 25 @ 0x11c6 0x12bb 20 rdi = 0x2008 {"%s"} 0x12c2 21 rsi = rsp + 0x10 {var_628} 0x12c7 22 eax = 0 0x12c9 23 call(0x1030) 0x12c9 24 goto 29 @ 0x12ce 0x11c6 25 r12b = [rsp + 0x210 {var_428}].b 0x11ce 26 ebp = 0 0x11d0 27 eax = r15d 0x11d3 28 goto 38 @ 0x11f7 0x12ce 29 eax = 0 0x12d0 30 rsp = rsp + 0x608 0x12d7 31 rbx = pop 0x12d8 32 r12 = pop 0x12da 33 r13 = pop 0x12dc 34 r14 = pop 0x12de 35 r15 = pop 0x12e0 36 rbp = pop 0x12e1 37 <return> jump(pop) 0x11f7 38 if (al != r12b) then 39 @ 0x11dc else 44 @ 0x11f9 0x11dc 39 al = [rsp + rbp + 0x11].b 0x11e0 40 rbp = rbp + 1 0x11e4 41 r14d = r14d + 1 0x11e8 42 rbx = rbx + 1 0x11ee 43 if (al == 0) then 20 @ 0x12bb else 38 @ 0x11f7 0x11f9 44 rdi = rsp + 0x210 {var_428} 0x1201 45 call(0x1040) 0x1206 46 r13 = rax 0x120c 47 if (r13d s<= 0) then 48 @ 0x11d5 else 50 @ 0x120e 0x11d5 48 eax = 0 0x11d5 49 goto 53 @ 0x11da 0x120e 50 ecx = r13d 0x1211 51 eax = 0 0x121d 52 goto 54 @ 0x1220 0x11da 53 if (eax == r13d) then 56 @ 0x1236 else 39 @ 0x11dc 0x1220 54 edx = zx.d([rbx + rax].b) 0x122b 55 if (dl != [rsp + rax + 0x210].b) then 53 @ 0x11da else 58 @ 0x122d 0x1236 56 r12d = ebp 0x123b 57 if (ebp == 0) then 60 @ 0x1273 else 67 @ 0x123d 0x122d 58 rax = rax + 1 0x1234 59 if (rcx != rax) then 54 @ 0x1220 else 56 @ 0x1236 0x1273 60 rdi = 0x2008 {"%s"} 0x127a 61 rsi = rsp + 0x410 {var_228} 0x1282 62 eax = 0 0x1284 63 call(0x1030) 0x1289 64 ebp = ebp + r13d 0x128c 65 rax = [rsp + 8 {var_630}].q 0x1293 66 if (ebp s>= eax) then 70 @ 0x12b9 else 71 @ 0x1295 0x123d 67 edi = r15d 0x1240 68 call(0x1060) 0x1249 69 if (r12d == 1) then 60 @ 0x1273 else 74 @ 0x124b 0x12b9 70 if ([rsp + r12 + 0x10].b != 0) then 29 @ 0x12ce else 20 @ 0x12bb 0x1295 71 rbx = sx.q(ebp) 0x1298 72 rbp = sx.q(eax) 0x129b 73 goto 77 @ 0x12a0 0x124b 74 r14d = r14d 0x124e 75 ebx = 1 0x125d 76 goto 81 @ 0x1260 0x12a0 77 edi = sx.d([rsp + rbx + 0x10].b) 0x12a5 78 call(0x1060) 0x12aa 79 rbx = rbx + 1 0x12b1 80 if (rbx s< rbp) then 77 @ 0x12a0 else 70 @ 0x12b9 0x1260 81 edi = sx.d([rsp + rbx + 0x10].b) 0x1265 82 call(0x1060) 0x126a 83 rbx = rbx + 1 0x1271 84 if (r14 != rbx) then 81 @ 0x1260 else 60 @ 0x1273 int64_t _fini(): 0x12e8 0 rsp = rsp - 8 0x12ec 1 rsp = rsp + 8 0x12f0 2 <return> jump(pop)
POJ_7
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1260 {"UHH E"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4040].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4040].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) uint64_t work(int32_t arg1, int32_t arg2, char arg3): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 al = dl 0x1156 3 [rbp - 4 {var_c}].d = edi 0x1159 4 [rbp - 8 {var_10}].d = esi 0x115c 5 [rbp - 9 {var_11}].b = al 0x115f 6 eax = sx.d([rbp - 9 {var_11}].b) 0x1166 7 if (eax != 0x62) then 8 @ 0x118d else 16 @ 0x116c 0x118d 8 rcx = sx.q([rbp - 4 {var_c}].d) 0x1191 9 rax = 0x41a0 {""} 0x1198 10 rcx = rcx * 0x24 0x119c 11 rax = rax + rcx 0x119f 12 rcx = sx.q([rbp - 8 {var_10}].d) 0x11a3 13 eax = [rax + (rcx << 2)].d 0x11a6 14 [rbp - 0x1c {var_24}].d = eax 0x11a6 15 goto 24 @ 0x11a9 0x116c 16 rcx = sx.q([rbp - 4 {var_c}].d) 0x1170 17 rax = 0x4050 {""} 0x1177 18 rcx = rcx * 0x24 0x117b 19 rax = rax + rcx 0x117e 20 rcx = sx.q([rbp - 8 {var_10}].d) 0x1182 21 eax = [rax + (rcx << 2)].d 0x1185 22 [rbp - 0x1c {var_24}].d = eax 0x1188 23 goto 24 @ 0x11a9 0x11a9 24 eax = [rbp - 0x1c {var_24}].d 0x11ac 25 [rbp - 0x18 {var_20}].d = eax 0x11af 26 eax = [rbp - 4 {var_c}].d 0x11b2 27 eax = eax - 1 0x11b5 28 [rbp - 0x10 {var_18}].d = eax 0x11b5 29 goto 30 @ 0x11b8 0x11b8 30 eax = [rbp - 0x10 {var_18}].d 0x11bb 31 ecx = [rbp - 4 {var_c}].d 0x11be 32 ecx = ecx + 1 0x11c3 33 if (eax s> ecx) then 34 @ 0x1259 else 36 @ 0x11c9 0x1259 34 rbp = pop 0x125a 35 <return> jump(pop) 0x11c9 36 eax = [rbp - 8 {var_10}].d 0x11cc 37 eax = eax - 1 0x11cf 38 [rbp - 0x14 {var_1c_1}].d = eax 0x11cf 39 goto 40 @ 0x11d2 0x11d2 40 eax = [rbp - 0x14 {var_1c_1}].d 0x11d5 41 ecx = [rbp - 8 {var_10}].d 0x11d8 42 ecx = ecx + 1 0x11dd 43 if (eax s> ecx) then 44 @ 0x1246 else 45 @ 0x11e3 0x1246 44 goto 47 @ 0x124b 0x11e3 45 eax = sx.d([rbp - 9 {var_11}].b) 0x11ea 46 if (eax != 0x61) then 51 @ 0x1214 else 60 @ 0x11f0 0x124b 47 eax = [rbp - 0x10 {var_18}].d 0x124e 48 eax = eax + 1 0x1251 49 [rbp - 0x10 {var_18}].d = eax 0x1254 50 goto 30 @ 0x11b8 0x1214 51 edx = [rbp - 0x18 {var_20}].d 0x1217 52 rcx = sx.q([rbp - 0x10 {var_18}].d) 0x121b 53 rax = 0x41a0 {""} 0x1222 54 rcx = rcx * 0x24 0x1226 55 rax = rax + rcx 0x1229 56 rcx = sx.q([rbp - 0x14 {var_1c_1}].d) 0x122d 57 edx = edx + [rax + (rcx << 2)].d 0x1230 58 [rax + (rcx << 2)].d = edx 0x1230 59 goto 69 @ 0x1233 0x11f0 60 edx = [rbp - 0x18 {var_20}].d 0x11f3 61 rcx = sx.q([rbp - 0x10 {var_18}].d) 0x11f7 62 rax = 0x4050 {""} 0x11fe 63 rcx = rcx * 0x24 0x1202 64 rax = rax + rcx 0x1205 65 rcx = sx.q([rbp - 0x14 {var_1c_1}].d) 0x1209 66 edx = edx + [rax + (rcx << 2)].d 0x120c 67 [rax + (rcx << 2)].d = edx 0x120f 68 goto 69 @ 0x1233 0x1233 69 goto 70 @ 0x1238 0x1238 70 eax = [rbp - 0x14 {var_1c_1}].d 0x123b 71 eax = eax + 1 0x123e 72 [rbp - 0x14 {var_1c_1}].d = eax 0x1241 73 goto 40 @ 0x11d2 int32_t main(int32_t argc, char** argv, char** envp): 0x1260 0 push(rbp) 0x1261 1 rbp = rsp {__saved_rbp} 0x1264 2 rsp = rsp - 0x20 0x1268 3 [rbp - 4 {var_c}].d = 0 0x126f 4 rdi = 0x2004 {"%d %d"} 0x1276 5 rsi = rbp - 8 {var_10} 0x127a 6 rdx = rbp - 0xc {var_14} 0x127e 7 al = 0 0x1280 8 call(0x1040) 0x1285 9 eax = [rbp - 8 {var_10}].d 0x1288 10 [0x40f0].d = eax 0x128e 11 [rbp - 0x10 {var_18}].d = 1 0x128e 12 goto 13 @ 0x1295 0x1295 13 eax = [rbp - 0x10 {var_18}].d 0x129b 14 if (eax s> [rbp - 0xc {var_14}].d) then 15 @ 0x14ac else 29 @ 0x12a1 0x14ac 15 eax = [rbp - 0xc {var_14}].d 0x14af 16 ecx = 2 0x14b4 17 temp2.d:temp3.d = sx.q(eax) 0x14b4 18 edx = temp2.d 0x14b4 19 eax = temp3.d 0x14b5 20 temp4.d = edx 0x14b5 21 temp5.d = eax 0x14b5 22 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x14b5 23 temp6.d = edx 0x14b5 24 temp7.d = eax 0x14b5 25 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x14b5 26 eax = temp0.d 0x14b5 27 edx = temp1.d 0x14ba 28 if (edx != 1) then 43 @ 0x1551 else 45 @ 0x14c0 0x12a1 29 eax = [rbp - 0x10 {var_18}].d 0x12a4 30 ecx = 2 0x12a9 31 temp8.d:temp9.d = sx.q(eax) 0x12a9 32 edx = temp8.d 0x12a9 33 eax = temp9.d 0x12aa 34 temp10.d = edx 0x12aa 35 temp11.d = eax 0x12aa 36 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x12aa 37 temp12.d = edx 0x12aa 38 temp13.d = eax 0x12aa 39 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x12aa 40 eax = temp0.d 0x12aa 41 edx = temp1.d 0x12af 42 if (edx != 1) then 47 @ 0x13a7 else 49 @ 0x12b5 0x1551 43 [rbp - 0x14 {var_1c_6}].d = 0 0x1551 44 goto 51 @ 0x155c 0x14c0 45 [rbp - 0x14 {var_1c_5}].d = 0 0x14c0 46 goto 52 @ 0x14cb 0x13a7 47 [rbp - 0x14 {var_1c_3}].d = 0 0x13a7 48 goto 53 @ 0x13b2 0x12b5 49 [rbp - 0x14 {var_1c_1}].d = 0 0x12b5 50 goto 54 @ 0x12c0 0x155c 51 if ([rbp - 0x14 {var_1c_6}].d s>= 9) then 55 @ 0x15dd else 56 @ 0x1562 0x14cb 52 if ([rbp - 0x14 {var_1c_5}].d s>= 9) then 58 @ 0x154c else 59 @ 0x14d1 0x13b2 53 if ([rbp - 0x14 {var_1c_3}].d s>= 9) then 61 @ 0x141c else 63 @ 0x13b8 0x12c0 54 if ([rbp - 0x14 {var_1c_1}].d s>= 9) then 65 @ 0x132a else 67 @ 0x12c6 0x15dd 55 goto 69 @ 0x15e2 0x1562 56 [rbp - 0x18 {var_20_6}].d = 0 0x1562 57 goto 73 @ 0x156d 0x154c 58 goto 69 @ 0x15e2 0x14d1 59 [rbp - 0x18 {var_20_5}].d = 0 0x14d1 60 goto 74 @ 0x14dc 0x141c 61 [rbp - 0x14 {var_1c_4}].d = 0 0x141c 62 goto 75 @ 0x1427 0x13b8 63 [rbp - 0x18 {var_20_3}].d = 0 0x13b8 64 goto 76 @ 0x13c3 0x132a 65 [rbp - 0x14 {var_1c_2}].d = 0 0x132a 66 goto 77 @ 0x1335 0x12c6 67 [rbp - 0x18 {var_20_1}].d = 0 0x12c6 68 goto 78 @ 0x12d1 0x15e2 69 eax = 0 0x15e4 70 rsp = rsp + 0x20 0x15e8 71 rbp = pop 0x15e9 72 <return> jump(pop) 0x156d 73 if ([rbp - 0x18 {var_20_6}].d s>= 8) then 79 @ 0x15a8 else 92 @ 0x1573 0x14dc 74 if ([rbp - 0x18 {var_20_5}].d s>= 8) then 105 @ 0x1517 else 118 @ 0x14e2 0x1427 75 if ([rbp - 0x14 {var_1c_4}].d s>= 9) then 131 @ 0x1494 else 132 @ 0x142d 0x13c3 76 if ([rbp - 0x18 {var_20_3}].d s>= 9) then 134 @ 0x1409 else 135 @ 0x13c9 0x1335 77 if ([rbp - 0x14 {var_1c_2}].d s>= 9) then 151 @ 0x13a2 else 152 @ 0x133b 0x12d1 78 if ([rbp - 0x18 {var_20_1}].d s>= 9) then 154 @ 0x1317 else 155 @ 0x12d7 0x15a8 79 rcx = sx.q([rbp - 0x14 {var_1c_6}].d) 0x15ac 80 rax = 0x4050 {""} 0x15b3 81 rcx = rcx * 0x24 0x15b7 82 rax = rax + rcx 0x15ba 83 rcx = sx.q([rbp - 0x18 {var_20_6}].d) 0x15be 84 esi = [rax + (rcx << 2)].d 0x15c1 85 rdi = 0x200e {"%d\n"} 0x15c8 86 al = 0 0x15ca 87 call(0x1030) 0x15cf 88 eax = [rbp - 0x14 {var_1c_6}].d 0x15d2 89 eax = eax + 1 0x15d5 90 [rbp - 0x14 {var_1c_6}].d = eax 0x15d8 91 goto 51 @ 0x155c 0x1573 92 rcx = sx.q([rbp - 0x14 {var_1c_6}].d) 0x1577 93 rax = 0x4050 {""} 0x157e 94 rcx = rcx * 0x24 0x1582 95 rax = rax + rcx 0x1585 96 rcx = sx.q([rbp - 0x18 {var_20_6}].d) 0x1589 97 esi = [rax + (rcx << 2)].d 0x158c 98 rdi = 0x200a {"%d "} 0x1593 99 al = 0 0x1595 100 call(0x1030) 0x159a 101 eax = [rbp - 0x18 {var_20_6}].d 0x159d 102 eax = eax + 1 0x15a0 103 [rbp - 0x18 {var_20_6}].d = eax 0x15a3 104 goto 73 @ 0x156d 0x1517 105 rcx = sx.q([rbp - 0x14 {var_1c_5}].d) 0x151b 106 rax = 0x41a0 {""} 0x1522 107 rcx = rcx * 0x24 0x1526 108 rax = rax + rcx 0x1529 109 rcx = sx.q([rbp - 0x18 {var_20_5}].d) 0x152d 110 esi = [rax + (rcx << 2)].d 0x1530 111 rdi = 0x200e {"%d\n"} 0x1537 112 al = 0 0x1539 113 call(0x1030) 0x153e 114 eax = [rbp - 0x14 {var_1c_5}].d 0x1541 115 eax = eax + 1 0x1544 116 [rbp - 0x14 {var_1c_5}].d = eax 0x1547 117 goto 52 @ 0x14cb 0x14e2 118 rcx = sx.q([rbp - 0x14 {var_1c_5}].d) 0x14e6 119 rax = 0x41a0 {""} 0x14ed 120 rcx = rcx * 0x24 0x14f1 121 rax = rax + rcx 0x14f4 122 rcx = sx.q([rbp - 0x18 {var_20_5}].d) 0x14f8 123 esi = [rax + (rcx << 2)].d 0x14fb 124 rdi = 0x200a {"%d "} 0x1502 125 al = 0 0x1504 126 call(0x1030) 0x1509 127 eax = [rbp - 0x18 {var_20_5}].d 0x150c 128 eax = eax + 1 0x150f 129 [rbp - 0x18 {var_20_5}].d = eax 0x1512 130 goto 74 @ 0x14dc 0x1494 131 goto 171 @ 0x1499 0x142d 132 [rbp - 0x18 {var_20_4}].d = 0 0x142d 133 goto 172 @ 0x1438 0x1409 134 goto 173 @ 0x140e 0x13c9 135 rcx = sx.q([rbp - 0x14 {var_1c_3}].d) 0x13cd 136 rax = 0x41a0 {""} 0x13d4 137 rcx = rcx * 0x24 0x13d8 138 rax = rax + rcx 0x13db 139 rcx = sx.q([rbp - 0x18 {var_20_3}].d) 0x13df 140 edx = [rax + (rcx << 2)].d 0x13e2 141 rcx = sx.q([rbp - 0x14 {var_1c_3}].d) 0x13e6 142 rax = 0x4050 {""} 0x13ed 143 rcx = rcx * 0x24 0x13f1 144 rax = rax + rcx 0x13f4 145 rcx = sx.q([rbp - 0x18 {var_20_3}].d) 0x13f8 146 [rax + (rcx << 2)].d = edx 0x13fb 147 eax = [rbp - 0x18 {var_20_3}].d 0x13fe 148 eax = eax + 1 0x1401 149 [rbp - 0x18 {var_20_3}].d = eax 0x1404 150 goto 76 @ 0x13c3 0x13a2 151 goto 171 @ 0x1499 0x133b 152 [rbp - 0x18 {var_20_2}].d = 0 0x133b 153 goto 177 @ 0x1346 0x1317 154 goto 178 @ 0x131c 0x12d7 155 rcx = sx.q([rbp - 0x14 {var_1c_1}].d) 0x12db 156 rax = 0x4050 {""} 0x12e2 157 rcx = rcx * 0x24 0x12e6 158 rax = rax + rcx 0x12e9 159 rcx = sx.q([rbp - 0x18 {var_20_1}].d) 0x12ed 160 edx = [rax + (rcx << 2)].d 0x12f0 161 rcx = sx.q([rbp - 0x14 {var_1c_1}].d) 0x12f4 162 rax = 0x41a0 {""} 0x12fb 163 rcx = rcx * 0x24 0x12ff 164 rax = rax + rcx 0x1302 165 rcx = sx.q([rbp - 0x18 {var_20_1}].d) 0x1306 166 [rax + (rcx << 2)].d = edx 0x1309 167 eax = [rbp - 0x18 {var_20_1}].d 0x130c 168 eax = eax + 1 0x130f 169 [rbp - 0x18 {var_20_1}].d = eax 0x1312 170 goto 78 @ 0x12d1 0x1499 171 goto 182 @ 0x149e 0x1438 172 if ([rbp - 0x18 {var_20_4}].d s>= 9) then 186 @ 0x1481 else 187 @ 0x143e 0x140e 173 eax = [rbp - 0x14 {var_1c_3}].d 0x1411 174 eax = eax + 1 0x1414 175 [rbp - 0x14 {var_1c_3}].d = eax 0x1417 176 goto 53 @ 0x13b2 0x1346 177 if ([rbp - 0x18 {var_20_2}].d s>= 9) then 193 @ 0x138f else 194 @ 0x134c 0x131c 178 eax = [rbp - 0x14 {var_1c_1}].d 0x131f 179 eax = eax + 1 0x1322 180 [rbp - 0x14 {var_1c_1}].d = eax 0x1325 181 goto 54 @ 0x12c0 0x149e 182 eax = [rbp - 0x10 {var_18}].d 0x14a1 183 eax = eax + 1 0x14a4 184 [rbp - 0x10 {var_18}].d = eax 0x14a7 185 goto 13 @ 0x1295 0x1481 186 goto 200 @ 0x1486 0x143e 187 rcx = sx.q([rbp - 0x14 {var_1c_4}].d) 0x1442 188 rax = 0x41a0 {""} 0x1449 189 rcx = rcx * 0x24 0x144d 190 rax = rax + rcx 0x1450 191 rcx = sx.q([rbp - 0x18 {var_20_4}].d) 0x1458 192 if ([rax + (rcx << 2)].d s<= 0) then 204 @ 0x146e else 205 @ 0x145e 0x138f 193 goto 210 @ 0x1394 0x134c 194 rcx = sx.q([rbp - 0x14 {var_1c_2}].d) 0x1350 195 rax = 0x4050 {""} 0x1357 196 rcx = rcx * 0x24 0x135b 197 rax = rax + rcx 0x135e 198 rcx = sx.q([rbp - 0x18 {var_20_2}].d) 0x1366 199 if ([rax + (rcx << 2)].d s<= 0) then 214 @ 0x137c else 215 @ 0x136c 0x1486 200 eax = [rbp - 0x14 {var_1c_4}].d 0x1489 201 eax = eax + 1 0x148c 202 [rbp - 0x14 {var_1c_4}].d = eax 0x148f 203 goto 75 @ 0x1427 0x146e 204 goto 220 @ 0x1473 0x145e 205 edi = [rbp - 0x14 {var_1c_4}].d 0x1461 206 esi = [rbp - 0x18 {var_20_4}].d 0x1464 207 edx = 0x61 {""} 0x1469 208 call(0x1150) 0x1469 209 goto 204 @ 0x146e 0x1394 210 eax = [rbp - 0x14 {var_1c_2}].d 0x1397 211 eax = eax + 1 0x139a 212 [rbp - 0x14 {var_1c_2}].d = eax 0x139d 213 goto 77 @ 0x1335 0x137c 214 goto 224 @ 0x1381 0x136c 215 edi = [rbp - 0x14 {var_1c_2}].d 0x136f 216 esi = [rbp - 0x18 {var_20_2}].d 0x1372 217 edx = 0x62 {""} 0x1377 218 call(0x1150) 0x1377 219 goto 214 @ 0x137c 0x1473 220 eax = [rbp - 0x18 {var_20_4}].d 0x1476 221 eax = eax + 1 0x1479 222 [rbp - 0x18 {var_20_4}].d = eax 0x147c 223 goto 172 @ 0x1438 0x1381 224 eax = [rbp - 0x18 {var_20_2}].d 0x1384 225 eax = eax + 1 0x1387 226 [rbp - 0x18 {var_20_2}].d = eax 0x138a 227 goto 177 @ 0x1346 int64_t _fini(): 0x15f0 0 rsp = rsp - 8 0x15f4 1 rsp = rsp + 8 0x15f8 2 <return> jump(pop)
POJ_48
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAVSH\t"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r14) 0x1153 2 push(rbx) 0x1154 3 rsp = rsp - 0x990 0x115b 4 rdi = 0x2020 {"%d"} 0x1162 5 rsi = rsp + 8 {var_9a0} 0x1167 6 eax = 0 0x1169 7 call(0x1040) 0x116e 8 ecx = [rsp + 8 {var_9a0}].d 0x1172 9 xmm3 = 0 0x1175 10 xmm2 = 0 0x117a 11 if (ecx s<= 0) then 12 @ 0x11c7 else 17 @ 0x117c 0x11c7 12 xmm0 = 0 0x11ca 13 xmm0.d = float.s(ecx) 0x11ce 14 xmm2.d = xmm2.d f/ xmm0.d 0x11d2 15 eax = ecx 0x11d6 16 if (ecx s<= 0) then 22 @ 0x121b else 23 @ 0x11d8 0x117c 17 xmm2 = 0 0x117f 18 rbx = rsp + 0x30 {var_978} 0x1184 19 r14 = 0x2020 {"%d"} 0x118b 20 ebp = 0 0x118d 21 goto 27 @ 0x1190 0x121b 22 if (ecx s<= 0) then 40 @ 0x124f else 42 @ 0x121d 0x11d8 23 xmm1 = 0 0x11db 24 edx = 0 0x11dd 25 xmm0 = [0x2010].o 0x11ee 26 goto 45 @ 0x11f0 0x1190 27 [rsp + 0x10 {var_998_1}].o = xmm2 0x1195 28 rdi = r14 0x1198 29 rsi = rbx 0x119b 30 eax = 0 0x119d 31 call(0x1040) 0x11a2 32 xmm2 = [rsp + 0x10 {var_998_1}].o 0x11a7 33 xmm0 = 0 0x11aa 34 xmm0.d = float.s([rbx].d) 0x11ae 35 xmm2.d = xmm2.d f+ xmm0.d 0x11b2 36 rbp = rbp + 1 0x11b6 37 rcx = sx.q([rsp + 8 {var_9a0}].d) 0x11bb 38 rbx = rbx + 4 0x11c2 39 if (rbp s< rcx) then 27 @ 0x1190 else 54 @ 0x11c4 0x124f 40 ebp = 0 0x124f 41 goto 56 @ 0x1251 0x121d 42 ecx = 0 0x121f 43 ebp = 0 0x122b 44 goto 60 @ 0x1230 0x11f0 45 xmm3 = 0 0x11f3 46 xmm3.d = float.s([rsp + (rdx << 2) + 0x30].d) 0x11f9 47 xmm3.d = xmm3.d f- xmm2.d 0x11fd 48 xmm3 = _mm_and_ps(xmm3, xmm0) 0x1200 49 [rsp + (rdx << 2) + 0x4e0].d = xmm3.d 0x1209 50 xmm3 = _mm_max_ss(xmm3.d, xmm1.d) 0x120d 51 rdx = rdx + 1 0x1211 52 xmm1 = xmm3 0x1217 53 if (rax != rdx) then 45 @ 0x11f0 else 22 @ 0x121b 0x11c4 54 xmm3 = 0 0x11c4 55 goto 12 @ 0x11c7 0x1251 56 cond:0 = ebp == 2 0x1254 57 [rsp + 0x10 {var_998_2}].o = xmm2 0x1259 58 [rsp + 0x20 {var_988}].o = xmm3 0x125e 59 if (cond:0) then 66 @ 0x12c6 else 67 @ 0x1263 0x1230 60 xmm0 = [rsp + (rcx << 2) + 0x4e0].d 0x1239 61 xmm0 = _mm_cmpeq_ss(xmm0.d, xmm3.d, 0) 0x123e 62 edx = xmm0.d 0x1242 63 ebp = ebp - edx 0x1244 64 rcx = rcx + 1 0x124b 65 if (rax != rcx) then 60 @ 0x1230 else 68 @ 0x124d 0x12c6 66 if ([rsp + 8 {var_9a0}].d s<= 0) then 69 @ 0x135b else 75 @ 0x12cc 0x1263 67 if (ebp != 1) then 69 @ 0x135b else 79 @ 0x126e 0x124d 68 goto 56 @ 0x1251 0x135b 69 eax = 0 0x135d 70 rsp = rsp + 0x990 0x1364 71 rbx = pop 0x1365 72 r14 = pop 0x1367 73 rbp = pop 0x1368 74 <return> jump(pop) 0x12cc 75 rbx = 0x2023 {"%d,"} 0x12d3 76 r14 = 0x2020 {"%d"} 0x12da 77 ebp = 0 0x12dc 78 goto 80 @ 0x12ee 0x126e 79 if ([rsp + 8 {var_9a0}].d s<= 0) then 88 @ 0x12bb else 89 @ 0x1270 0x12ee 80 xmm1 = [rsp + (rbp << 2) + 0x4e0].d 0x12f7 81 flag:p = is_unordered.d(xmm1.d, xmm3.d) 0x12f7 82 flag:c = xmm1.d f< xmm3.d | is_unordered.d(xmm1.d, xmm3.d) 0x12f7 83 flag:z = xmm1.d f== xmm3.d | is_unordered.d(xmm1.d, xmm3.d) 0x12f7 84 flag:s = 0 0x12f7 85 flag:o = 0 0x12f7 86 flag:a = 0 0x12fa 87 if (not(flag:z)) then 92 @ 0x12e0 else 95 @ 0x12fc 0x12bb 88 if (ebp != 2) then 69 @ 0x135b else 66 @ 0x12c6 0x1270 89 r14 = 0x2020 {"%d"} 0x1277 90 ebx = 0 0x1279 91 goto 96 @ 0x128e 0x12e0 92 rbp = rbp + 1 0x12e4 93 rax = sx.q([rsp + 8 {var_9a0}].d) 0x12ec 94 if (rbp s>= rax) then 69 @ 0x135b else 80 @ 0x12ee 0x12fc 95 if (flag:p) then 92 @ 0x12e0 else 104 @ 0x12fe 0x128e 96 xmm0 = [rsp + (rbx << 2) + 0x4e0].d 0x1297 97 flag:p = is_unordered.d(xmm0.d, xmm3.d) 0x1297 98 flag:c = xmm0.d f< xmm3.d | is_unordered.d(xmm0.d, xmm3.d) 0x1297 99 flag:z = xmm0.d f== xmm3.d | is_unordered.d(xmm0.d, xmm3.d) 0x1297 100 flag:s = 0 0x1297 101 flag:o = 0 0x1297 102 flag:a = 0 0x129a 103 if (not(flag:z)) then 114 @ 0x1280 else 117 @ 0x129c 0x12fe 104 esi = [rsp + (rbp << 2) + 0x30].d 0x1302 105 xmm0 = 0 0x1305 106 xmm0.d = float.s(esi) 0x1309 107 flag:p = is_unordered.d(xmm2.d, xmm0.d) 0x1309 108 flag:c = xmm2.d f< xmm0.d | is_unordered.d(xmm2.d, xmm0.d) 0x1309 109 flag:z = xmm2.d f== xmm0.d | is_unordered.d(xmm2.d, xmm0.d) 0x1309 110 flag:s = 0 0x1309 111 flag:o = 0 0x1309 112 flag:a = 0 0x130c 113 if (flag:z || flag:c) then 118 @ 0x132e else 125 @ 0x130e 0x1280 114 rbx = rbx + 1 0x1284 115 rax = sx.q([rsp + 8 {var_9a0}].d) 0x128c 116 if (rbx s>= rax) then 88 @ 0x12bb else 96 @ 0x128e 0x129c 117 if (flag:p) then 114 @ 0x1280 else 133 @ 0x129e 0x132e 118 flag:p = is_unordered.d(xmm1.d, xmm3.d) 0x132e 119 flag:c = xmm1.d f< xmm3.d | is_unordered.d(xmm1.d, xmm3.d) 0x132e 120 flag:z = xmm1.d f== xmm3.d | is_unordered.d(xmm1.d, xmm3.d) 0x132e 121 flag:s = 0 0x132e 122 flag:o = 0 0x132e 123 flag:a = 0 0x1331 124 if (not(flag:z)) then 92 @ 0x12e0 else 140 @ 0x1333 0x130e 125 rdi = rbx 0x1311 126 eax = 0 0x1313 127 [rsp + 0xc {var_99c_1}].d = xmm1.d 0x1319 128 call(0x1030) 0x131e 129 xmm1 = [rsp + 0xc {var_99c_1}].d 0x1324 130 xmm3 = [rsp + 0x20 {var_988}].o 0x1329 131 xmm2 = [rsp + 0x10 {var_998_2}].o 0x1329 132 goto 118 @ 0x132e 0x129e 133 esi = [rsp + (rbx << 2) + 0x30].d 0x12a2 134 rdi = r14 0x12a5 135 eax = 0 0x12a7 136 call(0x1030) 0x12ac 137 xmm3 = [rsp + 0x20 {var_988}].o 0x12b1 138 xmm2 = [rsp + 0x10 {var_998_2}].o 0x12b6 139 goto 114 @ 0x1280 0x1333 140 if (flag:p) then 92 @ 0x12e0 else 141 @ 0x1335 0x1335 141 esi = [rsp + (rbp << 2) + 0x30].d 0x1339 142 xmm0 = 0 0x133c 143 xmm0.d = float.s(esi) 0x1340 144 flag:p = is_unordered.d(xmm0.d, xmm2.d) 0x1340 145 flag:c = xmm0.d f< xmm2.d | is_unordered.d(xmm0.d, xmm2.d) 0x1340 146 flag:z = xmm0.d f== xmm2.d | is_unordered.d(xmm0.d, xmm2.d) 0x1340 147 flag:s = 0 0x1340 148 flag:o = 0 0x1340 149 flag:a = 0 0x1343 150 if (flag:z || flag:c) then 92 @ 0x12e0 else 151 @ 0x1345 0x1345 151 rdi = r14 0x1348 152 eax = 0 0x134a 153 call(0x1030) 0x134f 154 xmm3 = [rsp + 0x20 {var_988}].o 0x1354 155 xmm2 = [rsp + 0x10 {var_998_2}].o 0x1359 156 goto 92 @ 0x12e0 int64_t _fini(): 0x1370 0 rsp = rsp - 8 0x1374 1 rsp = rsp + 8 0x1378 2 <return> jump(pop)
POJ_21
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0x1a0 0x115c 4 rdi = 0x2004 {"%d%d"} 0x1163 5 rsi = rsp + 8 {var_1b0} 0x1168 6 rdx = rsp + 0xc {var_1ac} 0x116d 7 eax = 0 0x116f 8 call(0x1040) 0x1174 9 eax = [rsp + 8 {var_1b0}].d 0x117a 10 if (eax s<= 0) then 11 @ 0x11af else 13 @ 0x117c 0x11af 11 r9d = [rsp + 0xc {var_1ac}].d 0x11b7 12 if (r9d s<= 0) then 17 @ 0x1205 else 18 @ 0x11b9 0x117c 13 r15 = rsp + 0x10 {var_1a8} 0x1181 14 r14 = 0x200a {"%d"} 0x1188 15 ebx = 0 0x118a 16 goto 25 @ 0x1190 0x1205 17 if ([rsp + 8 {var_1b0}].d s<= 0) then 33 @ 0x1243 else 39 @ 0x1207 0x11b9 18 edx = (rax - 1).d 0x11bc 19 rdx = sx.q(edx) 0x11bf 20 esi = (rax - 2).d 0x11c2 21 r8 = sx.q(esi) 0x11c5 22 r8 = r8 + 1 0x11c9 23 edi = 0 0x11cb 24 goto 43 @ 0x11dc 0x1190 25 rdi = r14 0x1193 26 rsi = r15 0x1196 27 eax = 0 0x1198 28 call(0x1040) 0x119d 29 rbx = rbx + 1 0x11a1 30 rax = sx.q([rsp + 8 {var_1b0}].d) 0x11a6 31 r15 = r15 + 4 0x11ad 32 if (rbx s< rax) then 25 @ 0x1190 else 11 @ 0x11af 0x1243 33 eax = 0 0x1245 34 rsp = rsp + 0x1a0 0x124c 35 rbx = pop 0x124d 36 r14 = pop 0x124f 37 r15 = pop 0x1251 38 <return> jump(pop) 0x1207 39 r14 = 0x200a {"%d"} 0x120e 40 r15 = 0x2009 {" %d"} 0x1215 41 ebx = 0 0x1217 42 goto 45 @ 0x1220 0x11dc 43 ebx = [rsp + (rdx << 2) + 0x10].d 0x11e3 44 if (eax s< 2) then 49 @ 0x11d0 else 52 @ 0x11e5 0x1220 45 cond:0 = rbx == 0 0x1223 46 esi = [rsp + (rbx << 2) + 0x10].d 0x1227 47 rdi = r15 0x122a 48 if (cond:0) then 54 else 56 @ 0x122e 0x11d0 49 [rsp + 0x10 {var_1a8}].d = ebx 0x11d4 50 edi = edi + 1 0x11da 51 if (edi == r9d) then 17 @ 0x1205 else 43 @ 0x11dc 0x11e5 52 rsi = r8 0x11e8 53 goto 61 @ 0x11f0 0x122a 54 rdi = r14 0x122a 55 goto 56 @ 0x122e 0x122e 56 eax = 0 0x1230 57 call(0x1030) 0x1235 58 rbx = rbx + 1 0x1239 59 rax = sx.q([rsp + 8 {var_1b0}].d) 0x1241 60 if (rbx s< rax) then 45 @ 0x1220 else 33 @ 0x1243 0x11f0 61 ecx = [rsp + (rsi << 2) + 0xc].d 0x11f4 62 [rsp + (rsi << 2) + 0x10].d = ecx 0x11f8 63 temp0.q = rsi 0x11f8 64 rsi = rsi - 1 0x11fc 65 if (temp0.q s> 1) then 61 @ 0x11f0 else 66 @ 0x11fe 0x11fe 66 goto 49 @ 0x11d0 int64_t _fini(): 0x1258 0 rsp = rsp - 8 0x125c 1 rsp = rsp + 8 0x1260 2 <return> jump(pop)
POJ_52
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t getchar(): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1370 {"UHH H= "} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) uint64_t f(int32_t arg1): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 [rbp - 8 {var_10}].d = edi 0x1167 3 rax = [0x2010].q 0x116e 4 [rbp - 0x40 {var_48}].q = rax 0x1172 5 rax = [0x2018].q 0x1179 6 [rbp - 0x38 {var_40}].q = rax 0x117d 7 eax = [0x2020].d 0x1183 8 [rbp - 0x30 {var_38}].d = eax 0x1186 9 [rbp - 0x4c {var_54}].d = 0 0x1191 10 if ([rbp - 8 {var_10}].d != 0) then 11 @ 0x11a7 else 12 @ 0x1197 0x11a7 11 if ([rbp - 8 {var_10}].d != 0) then 14 @ 0x11bd else 15 @ 0x11ad 0x1197 12 [rbp - 4 {var_c}].d = 0 0x119e 13 goto 17 @ 0x1360 0x11bd 14 if ([rbp - 8 {var_10}].d s<= 0) then 20 @ 0x128f else 25 @ 0x11c3 0x11ad 15 [rbp - 4 {var_c}].d = 0 0x11b4 16 goto 17 @ 0x1360 0x1360 17 eax = [rbp - 4 {var_c}].d 0x1363 18 rbp = pop 0x1364 19 <return> jump(pop) 0x128f 20 eax = 0 0x1291 21 eax = eax - [rbp - 8 {var_10}].d 0x1294 22 [rbp - 0x54 {var_5c_1}].d = eax 0x1297 23 [rbp - 0x44 {var_4c_3}].d = 0 0x1297 24 goto 29 @ 0x12a2 0x11c3 25 eax = [rbp - 8 {var_10}].d 0x11c6 26 [rbp - 0x50 {var_58_1}].d = eax 0x11c9 27 [rbp - 0x44 {var_4c_1}].d = 0 0x11c9 28 goto 30 @ 0x11d4 0x12a2 29 if ([rbp - 0x44 {var_4c_3}].d s>= 5) then 31 @ 0x12db else 33 @ 0x12a8 0x11d4 30 if ([rbp - 0x44 {var_4c_1}].d s>= 5) then 67 @ 0x120d else 69 @ 0x11da 0x12db 31 [rbp - 0x44 {var_4c_4}].d = 0 0x12db 32 goto 103 @ 0x12e6 0x12a8 33 eax = [rbp - 0x54 {var_5c_1}].d 0x12ab 34 rcx = sx.q([rbp - 0x44 {var_4c_3}].d) 0x12af 35 temp2.d:temp3.d = sx.q(eax) 0x12af 36 edx = temp2.d 0x12af 37 eax = temp3.d 0x12b0 38 temp4.d = edx 0x12b0 39 temp5.d = eax 0x12b0 40 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp + (rcx << 2) - 0x40].d) 0x12b0 41 temp6.d = edx 0x12b0 42 temp7.d = eax 0x12b0 43 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp + (rcx << 2) - 0x40].d) 0x12b0 44 eax = temp0.d 0x12b0 45 edx = temp1.d 0x12b4 46 ecx = eax 0x12b6 47 rax = sx.q([rbp - 0x44 {var_4c_3}].d) 0x12ba 48 [rbp + (rax << 2) - 0x20].d = ecx 0x12be 49 eax = [rbp - 0x54 {var_5c_1}].d 0x12c1 50 rcx = sx.q([rbp - 0x44 {var_4c_3}].d) 0x12c5 51 temp8.d:temp9.d = sx.q(eax) 0x12c5 52 edx = temp8.d 0x12c5 53 eax = temp9.d 0x12c6 54 temp10.d = edx 0x12c6 55 temp11.d = eax 0x12c6 56 temp0.d = divs.dp.d(temp10.d:temp11.d, [rbp + (rcx << 2) - 0x40].d) 0x12c6 57 temp12.d = edx 0x12c6 58 temp13.d = eax 0x12c6 59 temp1.d = mods.dp.d(temp12.d:temp13.d, [rbp + (rcx << 2) - 0x40].d) 0x12c6 60 eax = temp0.d 0x12c6 61 edx = temp1.d 0x12ca 62 [rbp - 0x54 {var_5c_1}].d = edx 0x12cd 63 eax = [rbp - 0x44 {var_4c_3}].d 0x12d0 64 eax = eax + 1 0x12d3 65 [rbp - 0x44 {var_4c_3}].d = eax 0x12d6 66 goto 29 @ 0x12a2 0x120d 67 [rbp - 0x44 {var_4c_2}].d = 0 0x120d 68 goto 104 @ 0x1218 0x11da 69 eax = [rbp - 0x50 {var_58_1}].d 0x11dd 70 rcx = sx.q([rbp - 0x44 {var_4c_1}].d) 0x11e1 71 temp14.d:temp15.d = sx.q(eax) 0x11e1 72 edx = temp14.d 0x11e1 73 eax = temp15.d 0x11e2 74 temp16.d = edx 0x11e2 75 temp17.d = eax 0x11e2 76 temp0.d = divs.dp.d(temp16.d:temp17.d, [rbp + (rcx << 2) - 0x40].d) 0x11e2 77 temp18.d = edx 0x11e2 78 temp19.d = eax 0x11e2 79 temp1.d = mods.dp.d(temp18.d:temp19.d, [rbp + (rcx << 2) - 0x40].d) 0x11e2 80 eax = temp0.d 0x11e2 81 edx = temp1.d 0x11e6 82 ecx = eax 0x11e8 83 rax = sx.q([rbp - 0x44 {var_4c_1}].d) 0x11ec 84 [rbp + (rax << 2) - 0x20].d = ecx 0x11f0 85 eax = [rbp - 8 {var_10}].d 0x11f3 86 rcx = sx.q([rbp - 0x44 {var_4c_1}].d) 0x11f7 87 temp20.d:temp21.d = sx.q(eax) 0x11f7 88 edx = temp20.d 0x11f7 89 eax = temp21.d 0x11f8 90 temp22.d = edx 0x11f8 91 temp23.d = eax 0x11f8 92 temp0.d = divs.dp.d(temp22.d:temp23.d, [rbp + (rcx << 2) - 0x40].d) 0x11f8 93 temp24.d = edx 0x11f8 94 temp25.d = eax 0x11f8 95 temp1.d = mods.dp.d(temp24.d:temp25.d, [rbp + (rcx << 2) - 0x40].d) 0x11f8 96 eax = temp0.d 0x11f8 97 edx = temp1.d 0x11fc 98 [rbp - 0x50 {var_58_1}].d = edx 0x11ff 99 eax = [rbp - 0x44 {var_4c_1}].d 0x1202 100 eax = eax + 1 0x1205 101 [rbp - 0x44 {var_4c_1}].d = eax 0x1208 102 goto 30 @ 0x11d4 0x12e6 103 if ([rbp - 0x44 {var_4c_4}].d s>= 5) then 105 @ 0x1313 else 108 @ 0x12ec 0x1218 104 if ([rbp - 0x44 {var_4c_2}].d s>= 5) then 110 @ 0x1245 else 113 @ 0x121e 0x1313 105 eax = [rbp - 0x44 {var_4c_4}].d 0x1316 106 [rbp - 0x48 {var_50_2}].d = eax 0x1316 107 goto 115 @ 0x131d 0x12ec 108 rax = sx.q([rbp - 0x44 {var_4c_4}].d) 0x12f5 109 if ([rbp + (rax << 2) - 0x20].d == 0) then 116 @ 0x1300 else 117 @ 0x12fb 0x1245 110 eax = [rbp - 0x44 {var_4c_2}].d 0x1248 111 [rbp - 0x48 {var_50_1}].d = eax 0x1248 112 goto 118 @ 0x124f 0x121e 113 rax = sx.q([rbp - 0x44 {var_4c_2}].d) 0x1227 114 if ([rbp + (rax << 2) - 0x20].d == 0) then 119 @ 0x1232 else 120 @ 0x122d 0x131d 115 if ([rbp - 0x48 {var_50_2}].d s>= 5) then 121 @ 0x1352 else 127 @ 0x1323 0x1300 116 goto 141 @ 0x1305 0x12fb 117 goto 105 @ 0x1313 0x124f 118 if ([rbp - 0x48 {var_50_1}].d s>= 5) then 145 @ 0x1284 else 148 @ 0x1255 0x1232 119 goto 162 @ 0x1237 0x122d 120 goto 110 @ 0x1245 0x1352 121 eax = 0 0x1354 122 eax = eax - [rbp - 0x4c {var_54}].d 0x1357 123 [rbp - 0x4c {var_54_1}].d = eax 0x135a 124 eax = [rbp - 0x4c {var_54_1}].d 0x135d 125 [rbp - 4 {var_c}].d = eax 0x135d 126 goto 17 @ 0x1360 0x1323 127 eax = [rbp - 0x4c {var_54}].d 0x1326 128 rcx = sx.q([rbp - 0x48 {var_50_2}].d) 0x132a 129 ecx = [rbp + (rcx << 2) - 0x20].d 0x132e 130 edx = [rbp - 0x44 {var_4c_4}].d 0x1331 131 edx = edx + 4 0x1334 132 edx = edx - [rbp - 0x48 {var_50_2}].d 0x1337 133 rdx = sx.q(edx) 0x133a 134 ecx = ecx * [rbp + (rdx << 2) - 0x40].d 0x133f 135 eax = eax + ecx 0x1341 136 [rbp - 0x4c {var_54}].d = eax 0x1344 137 eax = [rbp - 0x48 {var_50_2}].d 0x1347 138 eax = eax + 1 0x134a 139 [rbp - 0x48 {var_50_2}].d = eax 0x134d 140 goto 115 @ 0x131d 0x1305 141 eax = [rbp - 0x44 {var_4c_4}].d 0x1308 142 eax = eax + 1 0x130b 143 [rbp - 0x44 {var_4c_4}].d = eax 0x130e 144 goto 103 @ 0x12e6 0x1284 145 eax = [rbp - 0x4c {var_54}].d 0x1287 146 [rbp - 4 {var_c}].d = eax 0x128a 147 goto 17 @ 0x1360 0x1255 148 eax = [rbp - 0x4c {var_54}].d 0x1258 149 rcx = sx.q([rbp - 0x48 {var_50_1}].d) 0x125c 150 ecx = [rbp + (rcx << 2) - 0x20].d 0x1260 151 edx = [rbp - 0x44 {var_4c_2}].d 0x1263 152 edx = edx + 4 0x1266 153 edx = edx - [rbp - 0x48 {var_50_1}].d 0x1269 154 rdx = sx.q(edx) 0x126c 155 ecx = ecx * [rbp + (rdx << 2) - 0x40].d 0x1271 156 eax = eax + ecx 0x1273 157 [rbp - 0x4c {var_54}].d = eax 0x1276 158 eax = [rbp - 0x48 {var_50_1}].d 0x1279 159 eax = eax + 1 0x127c 160 [rbp - 0x48 {var_50_1}].d = eax 0x127f 161 goto 118 @ 0x124f 0x1237 162 eax = [rbp - 0x44 {var_4c_2}].d 0x123a 163 eax = eax + 1 0x123d 164 [rbp - 0x44 {var_4c_2}].d = eax 0x1240 165 goto 104 @ 0x1218 int32_t main(int32_t argc, char** argv, char** envp): 0x1370 0 push(rbp) 0x1371 1 rbp = rsp {__saved_rbp} 0x1374 2 rsp = rsp - 0x20 0x1378 3 rdi = 0x2024 {"%d\n%d\n%d\n%d\n%d\n%d"} 0x137f 4 rsi = rbp - 4 {var_c} 0x1383 5 rdx = rbp - 8 {var_10} 0x1387 6 rcx = rbp - 0xc {var_14} 0x138b 7 r8 = rbp - 0x10 {var_18} 0x138f 8 r9 = rbp - 0x14 {var_1c} 0x1393 9 rax = rbp - 0x18 {var_20} 0x1397 10 [rsp {var_28}].q = rax {var_20} 0x139b 11 al = 0 0x139d 12 call(0x1050) 0x13a2 13 edi = [rbp - 4 {var_c}].d 0x13a5 14 call(0x1160) 0x13aa 15 [rbp - 4 {var_c}].d = eax 0x13ad 16 edi = [rbp - 8 {var_10}].d 0x13b0 17 call(0x1160) 0x13b5 18 [rbp - 8 {var_10}].d = eax 0x13b8 19 edi = [rbp - 0xc {var_14}].d 0x13bb 20 call(0x1160) 0x13c0 21 [rbp - 0xc {var_14}].d = eax 0x13c3 22 edi = [rbp - 0x10 {var_18}].d 0x13c6 23 call(0x1160) 0x13cb 24 [rbp - 0x10 {var_18}].d = eax 0x13ce 25 edi = [rbp - 0x14 {var_1c}].d 0x13d1 26 call(0x1160) 0x13d6 27 [rbp - 0x14 {var_1c}].d = eax 0x13d9 28 edi = [rbp - 0x18 {var_20}].d 0x13dc 29 call(0x1160) 0x13e1 30 [rbp - 0x18 {var_20}].d = eax 0x13e4 31 esi = [rbp - 4 {var_c}].d 0x13e7 32 edx = [rbp - 8 {var_10}].d 0x13ea 33 ecx = [rbp - 0xc {var_14}].d 0x13ed 34 r8d = [rbp - 0x10 {var_18}].d 0x13f1 35 r9d = [rbp - 0x14 {var_1c}].d 0x13f5 36 eax = [rbp - 0x18 {var_20}].d 0x13f8 37 rdi = 0x2024 {"%d\n%d\n%d\n%d\n%d\n%d"} 0x13ff 38 [rsp {var_28}].d = eax 0x1402 39 al = 0 0x1404 40 call(0x1030) 0x1409 41 al = 0 0x140b 42 call(0x1040) 0x1410 43 al = 0 0x1412 44 call(0x1040) 0x1417 45 eax = 0 0x1419 46 rsp = rsp + 0x20 0x141d 47 rbp = pop 0x141e 48 <return> jump(pop) int64_t _fini(): 0x1424 0 rsp = rsp - 8 0x1428 1 rsp = rsp + 8 0x142c 2 <return> jump(pop)
POJ_44
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) int32_t putchar(int32_t c): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAWAVAUATSH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(r13) 0x1177 4 push(r12) 0x1179 5 push(rbx) 0x117a 6 rsp = rsp - 0x1d818 0x1181 7 rdi = 0x200a {"%d"} 0x1188 8 rsi = rsp + 0xc {var_1d83c} 0x118d 9 eax = 0 0x118f 10 call(0x1040) 0x1199 11 if ([rsp + 0xc {var_1d83c}].d s<= 0) then 12 @ 0x11ed else 14 @ 0x119b 0x11ed 12 eax = [rsp + 0xc {var_1d83c}].d 0x11f3 13 if (eax s<= 0) then 18 @ 0x1350 else 25 @ 0x11f9 0x119b 14 rbp = rsp + 0x13bd0 {var_9c78} 0x11a3 15 r15 = 0x200a {"%d"} 0x11aa 16 r14d = 0 0x11ad 17 goto 32 @ 0x11b0 0x1350 18 r10d = (rax - 1).d 0x1354 19 r10d = r10d * eax 0x1358 20 r11d = r10d 0x135b 21 r11d = r11d u>> 0x1f 0x135f 22 r11d = r11d + r10d 0x1362 23 r11d = r11d s>> 1 0x1369 24 if (r10d s>= 2) then 34 @ 0x1432 else 39 @ 0x1373 0x11f9 25 rbp = rsp + 0x13d60 {var_9ae8} 0x1201 26 r13d = 0 0x1204 27 edx = 1 0x1209 28 rbx = rsp + 0x13bd0 {var_9c78} 0x1211 29 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x1215 30 r12d = 0 0x1218 31 goto 40 @ 0x1250 0x11b0 32 ebx = 0 0x11bc 33 goto 43 @ 0x11c0 0x1432 34 r15d = 1 0x1438 35 r8 = rsp + 0x9f90 {var_138b8} 0x1440 36 r9 = rsp + 0x350 {var_1d4f8} 0x1448 37 r14d = r11d 0x144b 38 goto 49 @ 0x1460 0x1373 39 if (r10d s< 2) then 51 @ 0x141e else 60 @ 0x1379 0x1250 40 r14 = r13 + 1 0x1254 41 rax = sx.q([rsp + 0xc {var_1d83c}].d) 0x125c 42 if (rdx s>= rax) then 67 @ 0x122a else 75 @ 0x125e 0x11c0 43 rsi = rbx + rbp 0x11c4 44 rdi = r15 0x11c7 45 eax = 0 0x11c9 46 call(0x1040) 0x11ce 47 rbx = rbx + 4 0x11d6 48 if (rbx != 0xc) then 43 @ 0x11c0 else 86 @ 0x11d8 0x1460 49 r14d = r14d - 1 0x1467 50 if (r11d s<= r15d) then 90 @ 0x1450 else 94 @ 0x1469 0x141e 51 eax = 0 0x1420 52 rsp = rsp + 0x1d818 0x1427 53 rbx = pop 0x1428 54 r12 = pop 0x142a 55 r13 = pop 0x142c 56 r14 = pop 0x142e 57 r15 = pop 0x1430 58 rbp = pop 0x1431 59 <return> jump(pop) 0x1379 60 r13d = r11d 0x137c 61 ebp = 1 0x1381 62 rbx = 0x2004 {"%d,%d,%d"} 0x1388 63 r15 = 0x2011 {")="} 0x138f 64 r12 = 0x2014 {"%.2lf\n"} 0x1396 65 r14d = 0 0x1399 66 goto 99 @ 0x13a0 0x122a 67 rcx = rdx + 1 0x122e 68 rax = sx.q([rsp + 0xc {var_1d83c}].d) 0x1233 69 rbx = rbx + 0x190 0x123a 70 rbp = rbp + 0x190 0x1241 71 r13 = r14 0x1244 72 cond:0 = rdx s>= rax 0x1247 73 rdx = rcx 0x124a 74 if (cond:0) then 18 @ 0x1350 else 40 @ 0x1250 0x125e 75 [rsp + 0x10 {var_1d838_1}].q = rdx 0x1263 76 rax = r13 * 0x190 0x126a 77 rdi = rsp + rax 0x126e 78 rdi = rdi + 0x13bd0 0x1275 79 r8 = sx.q(r12d) 0x1278 80 [rsp + 0x18 {var_1d830_1}].q = rbp 0x127d 81 r12 = r8 0x1280 82 r15d = 0 0x1283 83 [rsp + 0x28 {var_1d820_1}].q = rdi 0x1288 84 [rsp + 0x20 {var_1d828_1}].q = r8 0x128d 85 goto 126 @ 0x12cb 0x11d8 86 r14 = r14 + 1 0x11dc 87 rax = sx.q([rsp + 0xc {var_1d83c}].d) 0x11e1 88 rbp = rbp + 0x190 0x11eb 89 if (r14 s< rax) then 32 @ 0x11b0 else 12 @ 0x11ed 0x1450 90 eax = (r15 + 1).d 0x1454 91 cond:1 = r15d == r11d 0x1457 92 r15d = eax 0x145a 93 if (cond:1) then 39 @ 0x1373 else 49 @ 0x1460 0x1469 94 r12d = r14d 0x146c 95 rsi = r9 {var_1d4f8} 0x146f 96 rdx = r8 {var_138b8} 0x1472 97 ebp = 0 0x1474 98 goto 142 @ 0x1496 0x13a0 99 edi = 0x28 {"x7"} 0x13a5 100 call(0x1060) 0x13aa 101 esi = [rsp + (rbp << 3) + 0x9f88].d 0x13b1 102 edx = [rsp + (rbp << 3) + 0x9f8c].d 0x13b8 103 ecx = [rsp + (rbp << 3) + 0x9f90].d 0x13bf 104 rdi = rbx 0x13c2 105 eax = 0 0x13c4 106 call(0x1030) 0x13c9 107 rdi = 0x200d {")-("} 0x13d0 108 eax = 0 0x13d2 109 call(0x1030) 0x13d7 110 esi = [rsp + (rbp << 3) + 0x348].d 0x13de 111 edx = [rsp + (rbp << 3) + 0x34c].d 0x13e5 112 ecx = [rsp + (rbp << 3) + 0x350].d 0x13ec 113 rdi = rbx 0x13ef 114 eax = 0 0x13f1 115 call(0x1030) 0x13f6 116 rdi = r15 0x13f9 117 eax = 0 0x13fb 118 call(0x1030) 0x1400 119 xmm0 = zx.o([rsp + (r14 << 3) + 0x30].q) 0x1407 120 rdi = r12 0x140a 121 al = 1 0x140c 122 call(0x1030) 0x1411 123 r14 = r14 + 1 0x1415 124 rbp = rbp + 0x32 0x141c 125 if (r13 != r14) then 99 @ 0x13a0 else 51 @ 0x141e 0x12cb 126 rax = r15 + r8 0x12cf 127 rax = rax * 0x190 0x12d6 128 rcx = r14 + r15 0x12da 129 rcx = rcx * 0x190 0x12e1 130 r13 = r13 + 1 0x12e5 131 edx = [rdi + 8].d 0x12e8 132 [rsp + rax + 0x9f98].d = edx 0x12ef 133 rdx = [rdi].q 0x12f2 134 [rsp + rax + 0x9f90].q = rdx 0x12fa 135 edx = [rsp + rcx + 0x13bd8].d 0x1301 136 [rsp + rax + 0x358].d = edx 0x1308 137 rcx = [rsp + rcx + 0x13bd0].q 0x1310 138 [rsp + rax + 0x350].q = rcx 0x1318 139 eax = 0 0x131a 140 ecx = 0 0x131c 141 goto 151 @ 0x1320 0x1496 142 r13 = rbp + 1 0x149a 143 xmm0 = zx.o([rsp + (rbp << 3) + 0x38].q) 0x14a0 144 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp + (rbp << 3) + 0x30].q)) 0x14a0 145 flag:c = xmm0.q f< fconvert.t([rsp + (rbp << 3) + 0x30].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + (rbp << 3) + 0x30].q)) 0x14a0 146 flag:z = xmm0.q f== fconvert.t([rsp + (rbp << 3) + 0x30].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + (rbp << 3) + 0x30].q)) 0x14a0 147 flag:s = 0 0x14a0 148 flag:o = 0 0x14a0 149 flag:a = 0 0x14a6 150 if (flag:z || flag:c) then 157 @ 0x1480 else 161 @ 0x14a8 0x1320 151 edx = [rbx + (rax << 2)].d 0x1323 152 edx = edx - [rbp + (rax << 2)].d 0x1327 153 edx = edx * edx 0x132a 154 ecx = ecx + edx 0x132c 155 rax = rax + 1 0x1334 156 if (rax != 3) then 151 @ 0x1320 else 165 @ 0x1336 0x1480 157 rdx = rdx + 0x190 0x1487 158 rsi = rsi + 0x190 0x148e 159 rbp = r13 0x1494 160 if (r13 == r12) then 90 @ 0x1450 else 142 @ 0x1496 0x14a8 161 xmm2 = zx.o([rsp + (rbp << 3) + 0x30].q) 0x14ae 162 xmm0 = zx.o([rsp + (r13 << 3) + 0x30].q) 0x14b5 163 eax = 0 0x14b7 164 goto 174 @ 0x14c0 0x1336 165 xmm0 = 0 0x1339 166 xmm0.q = float.d(ecx) 0x133d 167 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x133d 168 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x133d 169 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x133d 170 flag:s = 0 0x133d 171 flag:o = 0 0x133d 172 flag:a = 0 0x1341 173 if (flag:c) then 187 @ 0x1290 else 192 @ 0x1347 0x14c0 174 xmm1 = xmm0 0x14c4 175 xmm0 = xmm2 0x14c8 176 edi = [rsi + (rax << 2)].d 0x14cb 177 ebx = [rdx + (rax << 2)].d 0x14ce 178 ecx = [rdx + (rax << 2) + 0x190].d 0x14d5 179 [rdx + (rax << 2)].d = ecx 0x14d8 180 ecx = [rsi + (rax << 2) + 0x190].d 0x14df 181 [rsi + (rax << 2)].d = ecx 0x14e2 182 [rdx + (rax << 2) + 0x190].d = ebx 0x14e9 183 [rsi + (rax << 2) + 0x190].d = edi 0x14f0 184 rax = rax + 1 0x14f4 185 xmm2 = xmm1 0x14fc 186 if (rax != 3) then 174 @ 0x14c0 else 194 @ 0x14fe 0x1290 187 call(0x1050) 0x1295 188 r8 = [rsp + 0x20 {var_1d828_1}].q 0x129a 189 rdi = [rsp + 0x28 {var_1d820_1}].q 0x129f 190 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x129f 191 goto 197 @ 0x12a3 0x1347 192 xmm0 = _mm_sqrt_sd(xmm0.q) 0x134b 193 goto 197 @ 0x12a3 0x14fe 194 [rsp + (rbp << 3) + 0x30].q = xmm1.q 0x1504 195 [rsp + (r13 << 3) + 0x30].q = xmm0.q 0x150b 196 goto 157 @ 0x1480 0x12a3 197 [rsp + (r12 << 3) + 0x30].q = xmm0.q 0x12aa 198 r12 = r12 + 1 0x12ae 199 rax = sx.q([rsp + 0xc {var_1d83c}].d) 0x12b3 200 rax = rax - 1 0x12b7 201 r15 = r15 + 1 0x12bb 202 rbp = rbp + 0x190 0x12c5 203 if (r13 s>= rax) then 204 @ 0x1220 else 126 @ 0x12cb 0x1220 204 rbp = [rsp + 0x18 {var_1d830_1}].q 0x1225 205 rdx = [rsp + 0x10 {var_1d838_1}].q 0x1225 206 goto 67 @ 0x122a int64_t _fini(): 0x1514 0 rsp = rsp - 8 0x1518 1 rsp = rsp + 8 0x151c 2 <return> jump(pop)
POJ_64
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVATSHX"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 rsp = rsp - 0x658 0x116e 5 rdi = 0x2004 {"%d"} 0x1175 6 rsi = rsp + 0xc {var_66c} 0x117a 7 eax = 0 0x117c 8 call(0x1040) 0x1186 9 if ([rsp + 0xc {var_66c}].d s<= 0) then 10 @ 0x12b5 else 14 @ 0x118c 0x12b5 10 rdi = 0x200d {"Tie"} 0x12bc 11 eax = 0 0x12be 12 call(0x1030) 0x12be 13 goto 19 @ 0x12c3 0x118c 14 r14 = rsp + 0x10 {var_668} 0x1191 15 r12 = rsp + 0x330 {var_348} 0x1199 16 r15 = 0x2007 {"%d%d\n"} 0x11a0 17 ebx = 0 0x11ac 18 goto 26 @ 0x11b0 0x12c3 19 eax = 0 0x12c5 20 rsp = rsp + 0x658 0x12cc 21 rbx = pop 0x12cd 22 r12 = pop 0x12cf 23 r14 = pop 0x12d1 24 r15 = pop 0x12d3 25 <return> jump(pop) 0x11b0 26 rdi = r15 0x11b3 27 rsi = r12 0x11b6 28 rdx = r14 0x11b9 29 eax = 0 0x11bb 30 call(0x1040) 0x11c0 31 rbx = rbx + 1 0x11c4 32 rax = sx.q([rsp + 0xc {var_66c}].d) 0x11c9 33 r14 = r14 + 4 0x11cd 34 r12 = r12 + 4 0x11d4 35 if (rbx s< rax) then 26 @ 0x11b0 else 36 @ 0x11d6 0x11d6 36 eax = eax 0x11da 37 if (eax s<= 0) then 10 @ 0x12b5 else 38 @ 0x11e0 0x11e0 38 ecx = 0 0x11e2 39 r8d = 0 0x11e5 40 r9d = 0 0x11e8 41 goto 42 @ 0x1201 0x1201 42 edi = [rsp + (rcx << 2) + 0x330].d 0x120a 43 if (edi == 0) then 44 @ 0x1230 else 46 @ 0x120f 0x1230 44 ebx = [rsp + (rcx << 2) + 0x10].d 0x1237 45 if (ebx == 1) then 47 @ 0x11f0 else 49 @ 0x1239 0x120f 46 if (edi == 1) then 50 @ 0x1240 else 52 @ 0x1214 0x11f0 47 r9d = r9d + 1 0x11f0 48 goto 53 @ 0x11f4 0x1239 49 goto 55 @ 0x1264 0x1240 50 ebx = [rsp + (rcx << 2) + 0x10].d 0x1247 51 if (ebx == 2) then 47 @ 0x11f0 else 58 @ 0x1249 0x1214 52 if (edi != 2) then 61 @ 0x1260 else 63 @ 0x1216 0x11f4 53 rcx = rcx + 1 0x11fb 54 if (rax == rcx) then 65 @ 0x1296 else 42 @ 0x1201 0x1264 55 edx = 0 0x1266 56 esi = 0 0x126b 57 if (ebx == 2) then 67 @ 0x1229 else 68 @ 0x1270 0x1249 58 sil = 1 0x124c 59 edx = 0 0x1251 60 if (ebx != 2) then 68 @ 0x1270 else 69 @ 0x1253 0x1260 61 ebx = [rsp + (rcx << 2) + 0x10].d 0x1260 62 goto 55 @ 0x1264 0x1216 63 ebx = [rsp + (rcx << 2) + 0x10].d 0x121c 64 if (ebx == 0) then 47 @ 0x11f0 else 70 @ 0x121e 0x1296 65 cond:0 = r9d s>= r8d 0x1299 66 if (r9d s<= r8d) then 73 @ 0x12a7 else 74 @ 0x129b 0x1229 67 if (edi != 0) then 53 @ 0x11f4 else 77 @ 0x122b 0x1270 68 if (ebx == 1) then 78 @ 0x1287 else 79 @ 0x1274 0x1253 69 goto 67 @ 0x1229 0x121e 70 dl = 1 0x1220 71 esi = 0 0x1225 72 if (ebx != 2) then 68 @ 0x1270 else 67 @ 0x1229 0x12a7 73 if (cond:0) then 10 @ 0x12b5 else 80 @ 0x12a9 0x129b 74 edi = 0x41 {""} 0x12a0 75 call(0x1050) 0x12a5 76 goto 19 @ 0x12c3 0x122b 77 goto 83 @ 0x128d 0x1287 78 if (dl == 0) then 53 @ 0x11f4 else 83 @ 0x128d 0x1274 79 if (ebx != 0) then 53 @ 0x11f4 else 85 @ 0x127d 0x12a9 80 edi = 0x42 {""} 0x12ae 81 call(0x1050) 0x12b3 82 goto 19 @ 0x12c3 0x128d 83 r8d = r8d + 1 0x1291 84 goto 53 @ 0x11f4 0x127d 85 if (sil == 0) then 53 @ 0x11f4 else 86 @ 0x1283 0x1283 86 goto 83 @ 0x128d int64_t _fini(): 0x12d8 0 rsp = rsp - 8 0x12dc 1 rsp = rsp + 8 0x12e0 2 <return> jump(pop)
POJ_65
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t getchar(): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AVSPH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r14) 0x1162 1 push(rbx) 0x1163 2 push(rax) 0x1164 3 rdi = 0x2004 {"%d"} 0x116b 4 rsi = rsp + 4 {var_18+0x4} 0x1170 5 eax = 0 0x1172 6 call(0x1050) 0x1177 7 esi = [rsp + 4 {var_18+0x4}].d 0x117e 8 if (esi != 1) then 9 @ 0x1205 else 12 @ 0x1184 0x1205 9 r14 = 0x2007 {"%d*3+1=%d\n"} 0x120c 10 rbx = 0x2012 {"%d/2=%d\n"} 0x1213 11 goto 50 @ 0x123d 0x1184 12 rdi = 0x201b {"End"} 0x118b 13 eax = 0 0x118d 14 call(0x1030) 0x1192 15 eax = 0 0x1194 16 call(0x1040) 0x1199 17 eax = 0 0x119b 18 call(0x1040) 0x11a0 19 eax = 0 0x11a2 20 call(0x1040) 0x11a7 21 eax = 0 0x11a9 22 call(0x1040) 0x11ae 23 eax = 0 0x11b0 24 call(0x1040) 0x11b5 25 eax = 0 0x11b7 26 call(0x1040) 0x11bc 27 eax = 0 0x11be 28 call(0x1040) 0x11c3 29 eax = 0 0x11c5 30 call(0x1040) 0x11ca 31 eax = 0 0x11cc 32 call(0x1040) 0x11d1 33 eax = 0 0x11d3 34 call(0x1040) 0x11d8 35 eax = 0 0x11da 36 call(0x1040) 0x11df 37 eax = 0 0x11e1 38 call(0x1040) 0x11e6 39 eax = 0 0x11e8 40 call(0x1040) 0x11ed 41 eax = 0 0x11ef 42 call(0x1040) 0x11f4 43 eax = 0 0x11f6 44 call(0x1040) 0x11fb 45 eax = 0 0x11fd 46 rsp = rsp + 8 0x1201 47 rbx = pop 0x1202 48 r14 = pop 0x1204 49 <return> jump(pop) 0x123d 50 edx = esi 0x123f 51 edx = edx u>> 0x1f 0x1242 52 edx = edx + esi 0x1244 53 eax = edx 0x1246 54 eax = eax & 0xfffffffe 0x1249 55 ecx = esi 0x124b 56 ecx = ecx - eax 0x1250 57 if (ecx != 1) then 58 @ 0x1220 else 62 @ 0x1252 0x1220 58 edx = edx s>> 1 0x1222 59 [rsp + 4 {var_18+0x4}].d = edx 0x1226 60 rdi = rbx 0x1226 61 goto 67 @ 0x1229 0x1252 62 edx = (rsi + (rsi << 1)).d 0x1255 63 edx = edx + 1 0x1258 64 [rsp + 4 {var_18+0x4}].d = edx 0x125c 65 rdi = r14 0x125f 66 goto 67 @ 0x1229 0x1229 67 eax = 0 0x122b 68 call(0x1030) 0x1230 69 esi = [rsp + 4 {var_18+0x4}].d 0x1237 70 if (esi == 1) then 12 @ 0x1184 else 50 @ 0x123d int64_t _fini(): 0x1268 0 rsp = rsp - 8 0x126c 1 rsp = rsp + 8 0x1270 2 <return> jump(pop)
POJ_34
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"HH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 rsp = rsp - 0x18 0x1154 1 rdi = 0x2034 {"%d%d%d"} 0x115b 2 rsi = rsp + 0x14 {var_4} 0x1160 3 rdx = rsp + 0x10 {var_8} 0x1165 4 rcx = rsp + 0xc {var_c} 0x116a 5 eax = 0 0x116c 6 call(0x1040) 0x1171 7 eax = [rsp + 0x10 {var_8}].d 0x1175 8 eax = eax - 1 0x1178 9 rcx = 0x2004 {"\n%d%d%d"} 0x117f 10 rax = sx.q([rcx + (rax << 2)].d) 0x1183 11 rax = rax + rcx 0x1186 12 jump(rax) int64_t _fini(): 0x1240 0 rsp = rsp - 8 0x1244 1 rsp = rsp + 8 0x1248 2 <return> jump(pop)
POJ_11
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) char* gets(char* buf): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AVSHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r14) 0x1152 1 push(rbx) 0x1153 2 rsp = rsp - 0x348 0x115a 3 ebx = 0 0x115c 4 rdi = rsp + 0x210 {var_148} 0x1164 5 eax = 0 0x1166 6 call(0x1040) 0x116b 7 xmm0 = 0 0x116f 8 [rsp + 0x104 {var_254}].o = xmm0 0x1178 9 [rsp + 0x114 {var_244}].o = xmm0 0x1181 10 [rsp + 0x124 {var_234}].o = xmm0 0x118a 11 [rsp + 0x134 {var_224}].o = xmm0 0x1193 12 [rsp + 0x144 {var_214}].o = xmm0 0x119c 13 [rsp + 0x154 {var_204}].o = xmm0 0x11a5 14 [rsp + 0x164 {var_1f4}].o = xmm0 0x11ae 15 [rsp + 0x174 {var_1e4}].o = xmm0 0x11b7 16 [rsp + 0x184 {var_1d4}].o = xmm0 0x11c0 17 [rsp + 0x194 {var_1c4}].o = xmm0 0x11c9 18 [rsp + 0x1a4 {var_1b4}].o = xmm0 0x11d2 19 [rsp + 0x1b4 {var_1a4}].o = xmm0 0x11db 20 [rsp + 0x1c4 {var_194}].o = xmm0 0x11e4 21 [rsp + 0x1d4 {var_184}].o = xmm0 0x11ed 22 [rsp + 0x1e4 {var_174}].q = 0 0x11f9 23 al = [rsp + 0x210 {var_148}].b 0x1202 24 if (al == 0) then 25 @ 0x12c9 else 52 @ 0x1208 0x12c9 25 xmm0 = [rsp + 0x1d8 {var_184[1].o}].o 0x12d2 26 xmm1 = [rsp + 0x198 {var_1c4[1].o}].o 0x12db 27 xmm2 = [rsp + 0x1a8 {var_1b4[1].o}].o 0x12e4 28 xmm3 = [rsp + 0x1b8 {var_1a4[1].o}].o 0x12ed 29 xmm3 = _mm_add_epi32(xmm3, xmm0) 0x12f1 30 xmm0 = [rsp + 0x1c8 {var_194[1].o}].o 0x12fa 31 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x12fe 32 xmm0 = _mm_add_epi32(xmm0, xmm3) 0x1302 33 xmm2 = _mm_shuffle_epi32(xmm0, 0xee) 0x1307 34 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x130b 35 xmm0 = _mm_shuffle_epi32(xmm2, 0x55) 0x1310 36 xmm0 = _mm_add_epi32(xmm0, xmm2) 0x1314 37 eax = xmm0.d 0x1318 38 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x131d 39 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x1321 40 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x1326 41 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x132a 42 ecx = xmm1.d 0x132e 43 ecx = ecx + eax 0x1330 44 ecx = ecx + [rsp + 0x194 {var_1c4[0]}].d 0x1337 45 ecx = ecx + [rsp + 0x190 {var_1d4[3]}].d 0x133e 46 ecx = ecx + [rsp + 0x18c {var_1d4[2]}].d 0x1345 47 ecx = ecx + ebx 0x1347 48 temp0.d = ecx 0x1347 49 temp1.d = [rsp + 0x1e8 {var_174+0x4}].d 0x1347 50 ecx = ecx + [rsp + 0x1e8 {var_174+0x4}].d 0x134e 51 if (temp0.d != neg.d(temp1.d)) then 54 @ 0x1369 else 57 @ 0x1350 0x1208 52 rcx = rsp + 0x211 {var_147} 0x1210 53 goto 61 @ 0x122b 0x1369 54 ebx = 0x41 {""} 0x136e 55 r14 = 0x2007 {"%c=%d\n"} 0x1375 56 goto 65 @ 0x138a 0x1350 57 rdi = 0x2004 {"No"} 0x1357 58 eax = 0 0x1359 59 call(0x1030) 0x1359 60 goto 67 @ 0x135e 0x122b 61 edx = eax 0x122d 62 dl = dl & 0xdf 0x1230 63 dl = dl - 0x41 0x1236 64 if (dl u> 0x19) then 71 @ 0x1220 else 74 @ 0x1238 0x138a 65 edx = [rsp + (rbx << 2)].d 0x138f 66 if (edx == 0) then 77 @ 0x1380 else 79 @ 0x1391 0x135e 67 rsp = rsp + 0x348 0x1365 68 rbx = pop 0x1366 69 r14 = pop 0x1368 70 <return> jump(pop) 0x1220 71 eax = zx.d([rcx].b) 0x1223 72 rcx = rcx + 1 0x1229 73 if (al == 0) then 84 @ 0x1241 else 61 @ 0x122b 0x1238 74 eax = zx.d(al) 0x123b 75 [rsp + (rax << 2)].d = [rsp + (rax << 2)].d + 1 0x123f 76 goto 71 @ 0x1220 0x1380 77 rbx = rbx + 1 0x1388 78 if (rbx == 0x7b) then 67 @ 0x135e else 65 @ 0x138a 0x1391 79 rdi = r14 0x1394 80 esi = ebx 0x1396 81 eax = 0 0x1398 82 call(0x1030) 0x139d 83 goto 77 @ 0x1380 0x1241 84 xmm0 = [rsp + 0x15c {var_204[2].o}].o 0x124a 85 xmm1 = [rsp + 0x17c {var_1e4[2].o}].o 0x1253 86 xmm2 = [rsp + 0x14c {var_214[2].o}].o 0x125c 87 xmm3 = [rsp + 0x16c {var_1f4[2].o}].o 0x1265 88 xmm4 = [rsp + 0x10c {var_254[2].o}].o 0x126e 89 xmm4 = _mm_add_epi32(xmm4, xmm2) 0x1272 90 xmm2 = [rsp + 0x11c {var_244[2].o}].o 0x127b 91 xmm2 = _mm_add_epi32(xmm2, xmm0) 0x127f 92 xmm0 = [rsp + 0x12c {var_234[2].o}].o 0x1288 93 xmm0 = _mm_add_epi32(xmm0, xmm3) 0x128c 94 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1290 95 xmm3 = [rsp + 0x13c {var_224[2].o}].o 0x1299 96 xmm3 = _mm_add_epi32(xmm3, xmm1) 0x129d 97 xmm3 = _mm_add_epi32(xmm3, xmm2) 0x12a1 98 xmm3 = _mm_add_epi32(xmm3, xmm0) 0x12a5 99 xmm0 = _mm_shuffle_epi32(xmm3, 0xee) 0x12aa 100 xmm0 = _mm_add_epi32(xmm0, xmm3) 0x12ae 101 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x12b3 102 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x12b7 103 ebx = xmm1.d 0x12bb 104 ebx = ebx + [rsp + 0x108 {var_254[1]}].d 0x12c2 105 ebx = ebx + [rsp + 0x104 {var_254[0]}].d 0x12c2 106 goto 25 @ 0x12c9 int64_t _fini(): 0x13a4 0 rsp = rsp - 8 0x13a8 1 rsp = rsp + 8 0x13ac 2 <return> jump(pop)
POJ_100
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memcpy(void* arg1, void const* arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) void free(void* mem): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) int64_t malloc(uint64_t bytes): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1380 {"UAWAVAUATSPHs "} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int64_t num(int32_t arg1): 0x1180 0 push(rbp) 0x1181 1 push(r15) 0x1183 2 push(r14) 0x1185 3 push(r12) 0x1187 4 push(rbx) 0x1188 5 ebp = edi 0x118a 6 rbx = sx.q(edi) 0x118d 7 rdi = rbx << 2 0x1195 8 call(0x1070) 0x119a 9 r14 = rax 0x119f 10 if (ebx s<= 0) then 11 @ 0x11c7 else 18 @ 0x11a1 0x11c7 11 rax = r14 0x11ca 12 rbx = pop 0x11cb 13 r12 = pop 0x11cd 14 r14 = pop 0x11cf 15 r15 = pop 0x11d1 16 rbp = pop 0x11d2 17 <return> jump(pop) 0x11a1 18 r12d = ebp 0x11a4 19 r15 = 0x2005 {"%d"} 0x11ab 20 rbx = r14 0x11ae 21 goto 22 @ 0x11b0 0x11b0 22 rdi = r15 0x11b3 23 rsi = rbx 0x11b6 24 eax = 0 0x11b8 25 call(0x1060) 0x11bd 26 rbx = rbx + 4 0x11c1 27 temp0.q = r12 0x11c1 28 r12 = r12 - 1 0x11c5 29 if (temp0.q != 1) then 22 @ 0x11b0 else 11 @ 0x11c7 void rank(int64_t arg1, int32_t arg2): 0x11e3 0 if (esi s< 2) then 1 @ 0x129d else 2 @ 0x11e9 0x129d 1 <return> jump(pop) 0x11e9 2 r10d = (rsi - 1).d 0x11ed 3 r8 = r10 0x11f0 4 r8 = neg.q(r8) 0x11f3 5 r9d = 0 0x11f6 6 goto 7 @ 0x1216 0x1216 7 rax = r9 0x1219 8 rax = not.q(rax) 0x121f 9 if (rax != r8) then 10 @ 0x1240 else 14 @ 0x1221 0x1240 10 r11 = r10 0x1243 11 r11 = r11 & 0xfffffffffffffffe 0x1247 12 ecx = 0 0x1249 13 goto 16 @ 0x1259 0x1221 14 ecx = 0 0x1221 15 goto 19 @ 0x1227 0x1259 16 edx = [rdi + (rcx << 2)].d 0x125c 17 eax = [rdi + (rcx << 2) + 4].d 0x1262 18 if (edx s> eax) then 20 @ 0x1280 else 25 @ 0x1264 0x1227 19 if ((r10b & 1) == 0) then 28 @ 0x1200 else 34 @ 0x1229 0x1280 20 [rdi + (rcx << 2)].d = eax 0x1283 21 [rdi + (rcx << 2) + 4].d = edx 0x1287 22 edx = [rdi + (rcx << 2) + 4].d 0x128b 23 eax = [rdi + (rcx << 2) + 8].d 0x1291 24 if (edx s<= eax) then 37 @ 0x1250 else 39 @ 0x1293 0x1264 25 edx = [rdi + (rcx << 2) + 4].d 0x1268 26 eax = [rdi + (rcx << 2) + 8].d 0x126e 27 if (edx s<= eax) then 37 @ 0x1250 else 42 @ 0x1270 0x1200 28 eax = (rsi - 1).d 0x1203 29 r10 = r10 - 1 0x1207 30 r9 = r9 + 1 0x120b 31 cond:0 = esi s< 3 0x120e 32 esi = eax 0x1210 33 if (cond:0) then 1 @ 0x129d else 7 @ 0x1216 0x1229 34 eax = [rdi + (rcx << 2)].d 0x122c 35 edx = [rdi + (rcx << 2) + 4].d 0x1232 36 if (eax s<= edx) then 28 @ 0x1200 else 43 @ 0x1234 0x1250 37 rcx = rcx + 2 0x1257 38 if (r11 == rcx) then 19 @ 0x1227 else 16 @ 0x1259 0x1293 39 [rdi + (rcx << 2) + 4].d = eax 0x1297 40 [rdi + (rcx << 2) + 8].d = edx 0x129b 41 goto 37 @ 0x1250 0x1270 42 goto 39 @ 0x1293 0x1234 43 [rdi + (rcx << 2)].d = edx 0x1237 44 [rdi + (rcx << 2) + 4].d = eax 0x123b 45 goto 28 @ 0x1200 int64_t add(int64_t arg1, int64_t arg2, int32_t arg3, int32_t arg4): 0x12a0 0 push(r15) 0x12a2 1 push(r14) 0x12a4 2 push(r13) 0x12a6 3 push(r12) 0x12a8 4 push(rbx) 0x12a9 5 r12d = ecx 0x12ac 6 ebx = edx 0x12ae 7 r14 = rsi 0x12b1 8 r13 = rdi 0x12b4 9 eax = (r12 + rbx).d 0x12b8 10 rdi = sx.q(eax) 0x12bb 11 rdi = rdi << 2 0x12bf 12 call(0x1070) 0x12c4 13 r15 = rax 0x12c9 14 if (ebx s<= 0) then 15 @ 0x12df else 16 @ 0x12cb 0x12df 15 if (r12d s<= 0) then 22 @ 0x12f7 else 29 @ 0x12e1 0x12cb 16 edx = ebx 0x12cd 17 rdx = rdx << 2 0x12d1 18 rdi = r15 0x12d4 19 rsi = r13 0x12d7 20 call(0x1040) 0x12d7 21 goto 15 @ 0x12df 0x12f7 22 rax = r15 0x12fa 23 rbx = pop 0x12fb 24 r12 = pop 0x12fd 25 r13 = pop 0x12ff 26 r14 = pop 0x1301 27 r15 = pop 0x1303 28 <return> jump(pop) 0x12e1 29 rax = sx.q(ebx) 0x12e4 30 rdi = r15 + (rax << 2) 0x12e8 31 edx = r12d 0x12eb 32 rdx = rdx << 2 0x12ef 33 rsi = r14 0x12f2 34 call(0x1040) 0x12f2 35 goto 22 @ 0x12f7 void print(int32_t* arg1, int32_t arg2): 0x1310 0 push(rbp) 0x1311 1 push(r15) 0x1313 2 push(r14) 0x1315 3 push(rbx) 0x1316 4 push(rax) 0x1319 5 if (esi s<= 0) then 6 @ 0x1367 else 12 @ 0x131b 0x1367 6 rsp = rsp + 8 0x136b 7 rbx = pop 0x136c 8 r14 = pop 0x136e 9 r15 = pop 0x1370 10 rbp = pop 0x1371 11 <return> jump(pop) 0x131b 12 ebp = esi 0x131d 13 r15 = rdi 0x1320 14 esi = [rdi].d 0x1322 15 rdi = 0x2005 {"%d"} 0x1329 16 eax = 0 0x132b 17 call(0x1030) 0x1333 18 if (ebp == 1) then 6 @ 0x1367 else 19 @ 0x1335 0x1335 19 ebp = ebp 0x1337 20 ebx = 1 0x133c 21 r14 = 0x2004 {" %d"} 0x134d 22 goto 23 @ 0x1350 0x1350 23 esi = [r15 + (rbx << 2)].d 0x1354 24 rdi = r14 0x1357 25 eax = 0 0x1359 26 call(0x1030) 0x135e 27 rbx = rbx + 1 0x1365 28 if (rbp != rbx) then 23 @ 0x1350 else 6 @ 0x1367 int32_t main(int32_t argc, char** argv, char** envp): 0x1380 0 push(rbp) 0x1381 1 push(r15) 0x1383 2 push(r14) 0x1385 3 push(r13) 0x1387 4 push(r12) 0x1389 5 push(rbx) 0x138a 6 push(rax) 0x138b 7 rbx = 0x2005 {"%d"} 0x1392 8 rsi = rsp + 4 {var_38+0x4} 0x1397 9 rdi = rbx 0x139a 10 eax = 0 0x139c 11 call(0x1060) 0x13a1 12 rsi = rsp {var_38} 0x13a4 13 rdi = rbx 0x13a7 14 eax = 0 0x13a9 15 call(0x1060) 0x13ae 16 rbx = sx.q([rsp + 4 {var_38+0x4}].d) 0x13b3 17 rdi = rbx << 2 0x13bb 18 call(0x1070) 0x13c0 19 r14 = rax 0x13c6 20 if (rbx s<= 0) then 21 @ 0x13f7 else 26 @ 0x13c8 0x13f7 21 rbp = sx.q([rsp {var_38}].d) 0x13fb 22 rdi = rbp << 2 0x1403 23 call(0x1070) 0x1408 24 rbx = rax 0x140e 25 if (rbp s<= 0) then 30 @ 0x1437 else 32 @ 0x1410 0x13c8 26 ebp = ebx 0x13ca 27 r15 = 0x2005 {"%d"} 0x13d1 28 rbx = r14 0x13de 29 goto 36 @ 0x13e0 0x1437 30 r13 = sx.q([rsp + 4 {var_38+0x4}].d) 0x1440 31 if (r13 s< 2) then 44 @ 0x1513 else 46 @ 0x1446 0x1410 32 ebp = ebp 0x1412 33 r15 = 0x2005 {"%d"} 0x1419 34 r12 = rbx 0x141c 35 goto 52 @ 0x1420 0x13e0 36 rdi = r15 0x13e3 37 rsi = rbx 0x13e6 38 eax = 0 0x13e8 39 call(0x1060) 0x13ed 40 rbx = rbx + 4 0x13f1 41 temp0.q = rbp 0x13f1 42 rbp = rbp - 1 0x13f5 43 if (temp0.q != 1) then 36 @ 0x13e0 else 21 @ 0x13f7 0x1513 44 r15d = [rsp {var_38}].d 0x151b 45 if (r15d s< 2) then 60 @ 0x15dd else 66 @ 0x1521 0x1446 46 ecx = (r13 - 1).d 0x144a 47 r8 = rcx 0x144d 48 r8 = neg.q(r8) 0x1450 49 edx = 0 0x1452 50 r9d = r13d 0x1455 51 goto 72 @ 0x1479 0x1420 52 rdi = r15 0x1423 53 rsi = r12 0x1426 54 eax = 0 0x1428 55 call(0x1060) 0x142d 56 r12 = r12 + 4 0x1431 57 temp1.q = rbp 0x1431 58 rbp = rbp - 1 0x1435 59 if (temp1.q != 1) then 52 @ 0x1420 else 30 @ 0x1437 0x15dd 60 ebp = (r15 + r13).d 0x15e1 61 rdi = sx.q(ebp) 0x15e4 62 rdi = rdi << 2 0x15e8 63 call(0x1070) 0x15ed 64 r12 = rax 0x15f3 65 if (r13d s<= 0) then 75 @ 0x160a else 76 @ 0x15f5 0x1521 66 ecx = (r15 - 1).d 0x1525 67 r8 = rcx 0x1528 68 r8 = neg.q(r8) 0x152b 69 edx = 0 0x152d 70 r9d = r15d 0x1530 71 goto 82 @ 0x1559 0x1479 72 rax = rdx 0x147c 73 rax = not.q(rax) 0x1482 74 if (rax != r8) then 85 @ 0x14b0 else 89 @ 0x1484 0x160a 75 if (r15d s<= 0) then 91 @ 0x1621 else 92 @ 0x160c 0x15f5 76 edx = r13d 0x15f8 77 rdx = rdx << 2 0x15fc 78 rdi = r12 0x15ff 79 rsi = r14 0x1602 80 call(0x1040) 0x1602 81 goto 75 @ 0x160a 0x1559 82 rax = rdx 0x155c 83 rax = not.q(rax) 0x1562 84 if (rax != r8) then 98 @ 0x1580 else 102 @ 0x1564 0x14b0 85 rax = rcx 0x14b3 86 rax = rax & 0xfffffffffffffffe 0x14b7 87 edi = 0 0x14b9 88 goto 104 @ 0x14c9 0x1484 89 edi = 0 0x1484 90 goto 107 @ 0x1489 0x1621 91 if (ebp s<= 0) then 108 @ 0x1667 else 123 @ 0x1623 0x160c 92 rdi = r12 + (r13 << 2) 0x1610 93 r15 = r15 << 2 0x1614 94 rsi = rbx 0x1617 95 rdx = r15 0x161a 96 call(0x1040) 0x161a 97 goto 91 @ 0x1621 0x1580 98 rax = rcx 0x1583 99 rax = rax & 0xfffffffffffffffe 0x1587 100 edi = 0 0x1589 101 goto 128 @ 0x1599 0x1564 102 edi = 0 0x1564 103 goto 131 @ 0x1569 0x14c9 104 ebp = [r14 + (rdi << 2)].d 0x14cd 105 esi = [r14 + (rdi << 2) + 4].d 0x14d4 106 if (ebp s> esi) then 132 @ 0x14f0 else 137 @ 0x14d6 0x1489 107 if ((cl & 1) == 0) then 140 @ 0x1460 else 146 @ 0x148b 0x1667 108 rdi = r14 0x166a 109 call(0x1050) 0x166f 110 rdi = rbx 0x1672 111 call(0x1050) 0x1677 112 rdi = r12 0x167a 113 call(0x1050) 0x167f 114 eax = 0 0x1681 115 rsp = rsp + 8 0x1685 116 rbx = pop 0x1686 117 r12 = pop 0x1688 118 r13 = pop 0x168a 119 r14 = pop 0x168c 120 r15 = pop 0x168e 121 rbp = pop 0x168f 122 <return> jump(pop) 0x1623 123 esi = [r12].d 0x1627 124 rdi = 0x2005 {"%d"} 0x162e 125 eax = 0 0x1630 126 call(0x1030) 0x1638 127 if (ebp == 1) then 108 @ 0x1667 else 149 @ 0x163a 0x1599 128 ebp = [rbx + (rdi << 2)].d 0x159c 129 esi = [rbx + (rdi << 2) + 4].d 0x15a2 130 if (ebp s> esi) then 153 @ 0x15c0 else 158 @ 0x15a4 0x1569 131 if ((cl & 1) == 0) then 161 @ 0x1540 else 167 @ 0x156b 0x14f0 132 [r14 + (rdi << 2)].d = esi 0x14f4 133 [r14 + (rdi << 2) + 4].d = ebp 0x14f9 134 ebp = [r14 + (rdi << 2) + 4].d 0x14fe 135 esi = [r14 + (rdi << 2) + 8].d 0x1505 136 if (ebp s<= esi) then 170 @ 0x14c0 else 172 @ 0x1507 0x14d6 137 ebp = [r14 + (rdi << 2) + 4].d 0x14db 138 esi = [r14 + (rdi << 2) + 8].d 0x14e2 139 if (ebp s<= esi) then 170 @ 0x14c0 else 175 @ 0x14e4 0x1460 140 eax = (r9 - 1).d 0x1464 141 rcx = rcx - 1 0x1468 142 rdx = rdx + 1 0x146c 143 cond:0 = r9d s< 3 0x1470 144 r9d = eax 0x1473 145 if (cond:0) then 44 @ 0x1513 else 72 @ 0x1479 0x148b 146 eax = [r14 + (rdi << 2)].d 0x148f 147 ebp = [r14 + (rdi << 2) + 4].d 0x1496 148 if (eax s<= ebp) then 140 @ 0x1460 else 176 @ 0x1498 0x163a 149 r13d = ebp 0x163d 150 ebp = 1 0x1642 151 r15 = 0x2004 {" %d"} 0x1649 152 goto 179 @ 0x1650 0x15c0 153 [rbx + (rdi << 2)].d = esi 0x15c3 154 [rbx + (rdi << 2) + 4].d = ebp 0x15c7 155 ebp = [rbx + (rdi << 2) + 4].d 0x15cb 156 esi = [rbx + (rdi << 2) + 8].d 0x15d1 157 if (ebp s<= esi) then 185 @ 0x1590 else 187 @ 0x15d3 0x15a4 158 ebp = [rbx + (rdi << 2) + 4].d 0x15a8 159 esi = [rbx + (rdi << 2) + 8].d 0x15ae 160 if (ebp s<= esi) then 185 @ 0x1590 else 190 @ 0x15b0 0x1540 161 eax = (r9 - 1).d 0x1544 162 rcx = rcx - 1 0x1548 163 rdx = rdx + 1 0x154c 164 cond:1 = r9d s< 3 0x1550 165 r9d = eax 0x1553 166 if (cond:1) then 60 @ 0x15dd else 82 @ 0x1559 0x156b 167 eax = [rbx + (rdi << 2)].d 0x156e 168 ebp = [rbx + (rdi << 2) + 4].d 0x1574 169 if (eax s<= ebp) then 161 @ 0x1540 else 191 @ 0x1576 0x14c0 170 rdi = rdi + 2 0x14c7 171 if (rax == rdi) then 107 @ 0x1489 else 104 @ 0x14c9 0x1507 172 [r14 + (rdi << 2) + 4].d = esi 0x150c 173 [r14 + (rdi << 2) + 8].d = ebp 0x1511 174 goto 170 @ 0x14c0 0x14e4 175 goto 172 @ 0x1507 0x1498 176 [r14 + (rdi << 2)].d = ebp 0x149c 177 [r14 + (rdi << 2) + 4].d = eax 0x14a1 178 goto 140 @ 0x1460 0x1650 179 esi = [r12 + (rbp << 2)].d 0x1654 180 rdi = r15 0x1657 181 eax = 0 0x1659 182 call(0x1030) 0x165e 183 rbp = rbp + 1 0x1665 184 if (r13 != rbp) then 179 @ 0x1650 else 108 @ 0x1667 0x1590 185 rdi = rdi + 2 0x1597 186 if (rax == rdi) then 131 @ 0x1569 else 128 @ 0x1599 0x15d3 187 [rbx + (rdi << 2) + 4].d = esi 0x15d7 188 [rbx + (rdi << 2) + 8].d = ebp 0x15db 189 goto 185 @ 0x1590 0x15b0 190 goto 187 @ 0x15d3 0x1576 191 [rbx + (rdi << 2)].d = ebp 0x1579 192 [rbx + (rdi << 2) + 4].d = eax 0x157d 193 goto 161 @ 0x1540 int64_t _fini(): 0x1694 0 rsp = rsp - 8 0x1698 1 rsp = rsp + 8 0x169c 2 <return> jump(pop)
POJ_8
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) int32_t putchar(int32_t c): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1180 {"UAWAVAUATSH"} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(rbp) 0x1181 1 push(r15) 0x1183 2 push(r14) 0x1185 3 push(r13) 0x1187 4 push(r12) 0x1189 5 push(rbx) 0x118a 6 rsp = rsp - 0x118 0x1191 7 rdi = 0x2004 {"%d"} 0x1198 8 rsi = rsp + 0xc {var_13c} 0x119d 9 eax = 0 0x119f 10 call(0x1050) 0x11a9 11 if ([rsp + 0xc {var_13c}].d s<= 0) then 12 @ 0x12bd else 21 @ 0x11af 0x12bd 12 eax = 0 0x12bf 13 rsp = rsp + 0x118 0x12c6 14 rbx = pop 0x12c7 15 r12 = pop 0x12c9 16 r13 = pop 0x12cb 17 r14 = pop 0x12cd 18 r15 = pop 0x12cf 19 rbp = pop 0x12d0 20 <return> jump(pop) 0x11af 21 r15 = 0x2007 {"%s"} 0x11b6 22 r12 = rsp + 0x10 {var_138} 0x11bb 23 r14d = 0 0x11be 24 goto 25 @ 0x11e5 0x11e5 25 rdi = r15 0x11e8 26 rsi = r12 {var_138} 0x11eb 27 eax = 0 0x11ed 28 call(0x1050) 0x11f2 29 rdi = r12 {var_138} 0x11f5 30 call(0x1040) 0x11fa 31 ecx = (rax - 1).d 0x11fd 32 rcx = sx.q(ecx) 0x1200 33 cl = [rsp + rcx + 0x10].b 0x1207 34 if (cl == 0x79) then 35 @ 0x1270 else 37 @ 0x120c 0x1270 35 r13d = (rax - 3).d 0x1277 36 if (eax s< 4) then 38 @ 0x11c0 else 44 @ 0x127d 0x120c 37 if (cl == 0x72) then 35 @ 0x1270 else 47 @ 0x1211 0x11c0 38 rax = sx.q(r13d) 0x11c3 39 esi = sx.d([rsp + rax + 0x10].b) 0x11c8 40 rdi = 0x200a {"%c\n"} 0x11cf 41 eax = 0 0x11d1 42 call(0x1030) 0x11d1 43 goto 48 @ 0x11d6 0x127d 44 ebx = r13d 0x1280 45 ebp = 0 0x128c 46 goto 50 @ 0x1290 0x1211 47 if (cl != 0x67) then 54 @ 0x12b0 else 57 @ 0x1217 0x11d6 48 r14d = r14d + 1 0x11df 49 if (r14d s>= [rsp + 0xc {var_13c}].d) then 12 @ 0x12bd else 25 @ 0x11e5 0x1290 50 edi = sx.d([rsp + rbp + 0x10].b) 0x1295 51 call(0x1070) 0x129a 52 rbp = rbp + 1 0x12a1 53 if (rbx != rbp) then 50 @ 0x1290 else 60 @ 0x12a3 0x12b0 54 rdi = r12 {var_138} 0x12b3 55 call(0x1060) 0x12b8 56 goto 48 @ 0x11d6 0x1217 57 rbp = r15 0x121a 58 r13d = (rax - 4).d 0x1221 59 if (eax s< 5) then 61 @ 0x1244 else 68 @ 0x1223 0x12a3 60 goto 38 @ 0x11c0 0x1244 61 rax = sx.q(r13d) 0x1247 62 esi = sx.d([rsp + rax + 0x10].b) 0x124c 63 rdi = 0x200a {"%c\n"} 0x1253 64 eax = 0 0x1255 65 call(0x1030) 0x125a 66 r15 = rbp 0x125d 67 goto 48 @ 0x11d6 0x1223 68 ebx = r13d 0x1226 69 r15d = 0 0x1229 70 goto 71 @ 0x1230 0x1230 71 edi = sx.d([rsp + r15 + 0x10].b) 0x1236 72 call(0x1070) 0x123b 73 r15 = r15 + 1 0x1242 74 if (rbx != r15) then 71 @ 0x1230 else 61 @ 0x1244 int64_t _fini(): 0x12d8 0 rsp = rsp - 8 0x12dc 1 rsp = rsp + 8 0x12e0 2 <return> jump(pop)
POJ_57
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"PH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rax) 0x1151 1 rdi = 0x2004 {"%d %d"} 0x1158 2 rsi = rsp + 4 {var_8+0x4} 0x115d 3 rdx = rsp {var_8} 0x1160 4 eax = 0 0x1162 5 call(0x1040) 0x1167 6 eax = [rsp + 4 {var_8+0x4}].d 0x116d 7 if (eax s<= 0) then 8 @ 0x11c7 else 11 @ 0x116f 0x11c7 8 eax = 0 0x11c9 9 rcx = pop 0x11ca 10 <return> jump(pop) 0x116f 11 ecx = [rsp {var_8}].d 0x1172 12 goto 13 @ 0x1199 0x1199 13 if (ecx s<= 0) then 14 @ 0x1180 else 23 @ 0x119b 0x1180 14 edx = eax 0x1182 15 edx = edx u>> 0x1f 0x1185 16 edx = edx + eax 0x1187 17 edx = edx s>> 1 0x1189 18 [rsp + 4 {var_8+0x4}].d = edx 0x118d 19 [rsp {var_8}].d = ecx 0x1190 20 cond:0 = eax s<= 1 0x1193 21 eax = edx 0x1195 22 if (cond:0) then 8 @ 0x11c7 else 13 @ 0x1199 0x119b 23 esi = ecx 0x119d 24 goto 25 @ 0x11a2 0x11a2 25 if (esi == eax) then 26 @ 0x11b9 else 30 @ 0x11a4 0x11b9 26 rdi = 0x2007 {"%d"} 0x11c0 27 eax = 0 0x11c2 28 call(0x1030) 0x11c2 29 goto 8 @ 0x11c7 0x11a4 30 edx = esi 0x11a6 31 edx = edx u>> 0x1f 0x11a9 32 edx = edx + esi 0x11ab 33 edx = edx s>> 1 0x11ad 34 [rsp {var_8}].d = edx 0x11b0 35 cond:1 = esi s> 1 0x11b3 36 esi = edx 0x11b5 37 if (cond:1) then 25 @ 0x11a2 else 38 @ 0x11b7 0x11b7 38 goto 14 @ 0x1180 int64_t _fini(): 0x11d0 0 rsp = rsp - 8 0x11d4 1 rsp = rsp + 8 0x11d8 2 <return> jump(pop)
POJ_104
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x80 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 [rbp - 8 {var_10}].d = 0 0x1179 5 rdi = rbp - 0x80 {var_88} 0x117d 6 al = 0 0x117f 7 call(0x1050) 0x1184 8 rdi = rbp - 0x80 {var_88} 0x1188 9 call(0x1040) 0x118d 10 [rbp - 0xc {var_14}].d = eax 0x118d 11 goto 12 @ 0x1190 0x1190 12 rax = sx.q([rbp - 8 {var_10}].d) 0x1194 13 eax = sx.d([rbp + rax - 0x80].b) 0x119c 14 if (eax != 0x20) then 15 @ 0x11c6 else 24 @ 0x11a2 0x11c6 15 rax = sx.q([rbp - 8 {var_10}].d) 0x11ca 16 esi = sx.d([rbp + rax - 0x80].b) 0x11cf 17 rdi = 0x2004 {"%c"} 0x11d6 18 al = 0 0x11d8 19 call(0x1030) 0x11dd 20 eax = [rbp - 8 {var_10}].d 0x11e0 21 eax = eax + 1 0x11e3 22 [rbp - 8 {var_10}].d = eax 0x11e3 23 goto 29 @ 0x11e6 0x11a2 24 eax = [rbp - 8 {var_10}].d 0x11a5 25 eax = eax - 1 0x11a8 26 rax = sx.q(eax) 0x11aa 27 eax = sx.d([rbp + rax - 0x80].b) 0x11b2 28 if (eax != 0x20) then 15 @ 0x11c6 else 31 @ 0x11b8 0x11e6 29 eax = [rbp - 8 {var_10}].d 0x11ec 30 if (eax s< [rbp - 0xc {var_14}].d) then 12 @ 0x1190 else 35 @ 0x11f2 0x11b8 31 eax = [rbp - 8 {var_10}].d 0x11bb 32 eax = eax + 1 0x11be 33 [rbp - 8 {var_10}].d = eax 0x11c1 34 goto 29 @ 0x11e6 0x11f2 35 eax = 0 0x11f4 36 rsp = rsp + 0x80 0x11fb 37 rbp = pop 0x11fc 38 <return> jump(pop) int64_t _fini(): 0x1204 0 rsp = rsp - 8 0x1208 1 rsp = rsp + 8 0x120c 2 <return> jump(pop)
POJ_26
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 uint64_t strlen(char const* arg1): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) int32_t putchar(int32_t c): 0x1070 0 <return> tailcall([0x4038].q) void __cxa_finalize(void* d): 0x1080 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1094 0 ebp = 0 0x1096 1 r9 = rdx 0x1099 2 rsi = pop 0x109a 3 rdx = rsp {arg_8} 0x109d 4 rsp = rsp & 0xfffffffffffffff0 0x10a1 5 push(rax) 0x10a2 6 push(rsp) 0x10a3 7 r8d = 0 0x10a6 8 ecx = 0 0x10a8 9 rdi = 0x1180 {"UAWAVAUATSH"} 0x10af 10 call([0x3ff8].q) 0x10af 11 noreturn void deregister_tm_clones(): 0x10c0 0 rdi = 0x4050 {""} 0x10c7 1 rax = 0x4050 {""} 0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3 0x10e8 3 <return> jump(pop) 0x10d3 4 rax = [0x3fd8].q 0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df 0x10df 6 <return> tailcall(rax) void register_tm_clones(): 0x10f0 0 rdi = 0x4050 {""} 0x10f7 1 rsi = 0x4050 {""} 0x10fe 2 rsi = rsi - rdi 0x1101 3 rax = rsi 0x1104 4 rsi = rsi u>> 0x3f 0x1108 5 rax = rax s>> 3 0x110c 6 rsi = rsi + rax 0x110f 7 rsi = rsi s>> 1 0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114 0x1128 9 <return> jump(pop) 0x1114 10 rax = [0x3ff0].q 0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120 0x1120 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d 0x1168 1 <return> jump(pop) 0x113d 2 push(rbp) 0x113e 3 cond:0 = [0x3fe0].q == 0 0x1146 4 rbp = rsp {__saved_rbp} 0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b 0x1157 6 call(0x10c0) 0x115c 7 [0x4050].b = 1 0x1163 8 rbp = pop 0x1164 9 <return> jump(pop) 0x114b 10 rdi = [0x4048].q 0x1152 11 call(0x1080) 0x1152 12 goto 6 @ 0x1157 int64_t frame_dummy(): 0x1174 0 <return> tailcall(0x10f0) int32_t main(int32_t argc, char** argv, char** envp): 0x1180 0 push(rbp) 0x1181 1 push(r15) 0x1183 2 push(r14) 0x1185 3 push(r13) 0x1187 4 push(r12) 0x1189 5 push(rbx) 0x118a 6 rsp = rsp - 0x118 0x1191 7 rdi = 0x2004 {"%d"} 0x1198 8 rsi = rsp + 8 {var_140} 0x119d 9 eax = 0 0x119f 10 call(0x1040) 0x11a9 11 if ([rsp + 8 {var_140}].d s< 0) then 12 @ 0x12ff else 25 @ 0x11af 0x12ff 12 rdi = 0x2004 {"%d"} 0x1306 13 rsi = rsp + 0xc {var_13c} 0x130b 14 eax = 0 0x130d 15 call(0x1040) 0x1312 16 eax = 0 0x1314 17 rsp = rsp + 0x118 0x131b 18 rbx = pop 0x131c 19 r12 = pop 0x131e 20 r13 = pop 0x1320 21 r14 = pop 0x1322 22 r15 = pop 0x1324 23 rbp = pop 0x1325 24 <return> jump(pop) 0x11af 25 rbx = rsp + 0x10 {var_138} 0x11b4 26 r15 = 0x200b {"A"} 0x11bb 27 r12 = 0x2009 {"C"} 0x11c2 28 r13 = 0x2007 {"G"} 0x11c9 29 ebp = 0 0x11cb 30 goto 31 @ 0x11df 0x11df 31 rdi = rbx {var_138} 0x11e2 32 eax = 0 0x11e4 33 call(0x1050) 0x11e9 34 rdi = rbx {var_138} 0x11ec 35 call(0x1030) 0x11f4 36 if (rax == 0) then 37 @ 0x11d0 else 41 @ 0x11f6 0x11d0 37 eax = (rbp + 1).d 0x11d3 38 cond:0 = ebp s>= [rsp + 8 {var_140}].d 0x11d7 39 ebp = eax 0x11d9 40 if (cond:0) then 12 @ 0x12ff else 31 @ 0x11df 0x11f6 41 r14d = 0 0x11f9 42 goto 43 @ 0x1211 0x1211 43 rax = rax - 1 0x1218 44 if (r14 != rax) then 45 @ 0x1238 else 49 @ 0x121a 0x1238 45 rdi = rbx {var_138} 0x123b 46 call(0x1030) 0x1240 47 rax = rax - 1 0x1247 48 if (r14 == rax) then 51 @ 0x1200 else 55 @ 0x1249 0x121a 49 eax = zx.d([rsp + r14 + 0x10].b) 0x1222 50 if (al == 0x41) then 57 @ 0x1270 else 61 @ 0x1226 0x1200 51 r14 = r14 + 1 0x1204 52 rdi = rbx {var_138} 0x1207 53 call(0x1030) 0x120f 54 if (rax u<= r14) then 37 @ 0x11d0 else 43 @ 0x1211 0x1249 55 eax = zx.d([rsp + r14 + 0x10].b) 0x1251 56 if (al == 0x41) then 62 @ 0x12b0 else 66 @ 0x1255 0x1270 57 rdi = 0x200d {"T"} 0x1277 58 call(0x1060) 0x127c 59 eax = zx.d([rsp + r14 + 0x10].b) 0x1284 60 if (al != 0x54) then 67 @ 0x122a else 68 @ 0x1286 0x1226 61 if (al == 0x54) then 68 @ 0x1286 else 67 @ 0x122a 0x12b0 62 edi = 0x54 {""} 0x12b5 63 call(0x1070) 0x12ba 64 eax = zx.d([rsp + r14 + 0x10].b) 0x12c2 65 if (al != 0x54) then 72 @ 0x1259 else 73 @ 0x12c4 0x1255 66 if (al == 0x54) then 73 @ 0x12c4 else 72 @ 0x1259 0x122a 67 if (al == 0x47) then 77 @ 0x1298 else 81 @ 0x122e 0x1286 68 rdi = r15 0x1289 69 call(0x1060) 0x128e 70 eax = zx.d([rsp + r14 + 0x10].b) 0x1296 71 if (al != 0x47) then 81 @ 0x122e else 77 @ 0x1298 0x1259 72 if (al == 0x47) then 82 @ 0x12d8 else 86 @ 0x125d 0x12c4 73 edi = 0x41 {""} 0x12c9 74 call(0x1070) 0x12ce 75 eax = zx.d([rsp + r14 + 0x10].b) 0x12d6 76 if (al != 0x47) then 86 @ 0x125d else 82 @ 0x12d8 0x1298 77 rdi = r12 0x129b 78 call(0x1060) 0x12a0 79 eax = zx.d([rsp + r14 + 0x10].b) 0x12a8 80 if (al == 0x43) then 87 @ 0x1230 else 90 @ 0x12aa 0x122e 81 if (al != 0x43) then 45 @ 0x1238 else 87 @ 0x1230 0x12d8 82 edi = 0x43 {""} 0x12dd 83 call(0x1070) 0x12e2 84 eax = zx.d([rsp + r14 + 0x10].b) 0x12ea 85 if (al != 0x43) then 51 @ 0x1200 else 91 @ 0x12f0 0x125d 86 if (al != 0x43) then 51 @ 0x1200 else 94 @ 0x125f 0x1230 87 rdi = r13 0x1233 88 call(0x1060) 0x1233 89 goto 45 @ 0x1238 0x12aa 90 goto 45 @ 0x1238 0x12f0 91 edi = 0x47 {""} 0x12f5 92 call(0x1070) 0x12fa 93 goto 51 @ 0x1200 0x125f 94 goto 91 @ 0x12f0 int64_t _fini(): 0x132c 0 rsp = rsp - 8 0x1330 1 rsp = rsp + 8 0x1334 2 <return> jump(pop)
POJ_33
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t scanf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t puts(char const* str): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"H("} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 rsp = rsp - 0x228 0x1157 1 xmm0 = 0 0x115b 2 [rsp + 0x10 {var_218}].o = xmm0 0x1161 3 [rsp + 0x69 {var_1bf}].o = xmm0 0x1167 4 [rsp + 0x60 {var_1c8}].o = xmm0 0x116d 5 [rsp + 0x50 {var_1d8}].o = xmm0 0x1173 6 [rsp + 0x40 {var_1e8}].o = xmm0 0x1179 7 [rsp + 0x30 {var_1f8}].o = xmm0 0x117f 8 [rsp + 0x20 {var_208}].o = xmm0 0x1185 9 [rsp + 0x10 {var_218}].b = 0x31 {""} 0x118a 10 rdi = 0x2030 {"%d"} 0x1191 11 rsi = rsp + 0xc {var_21c} 0x1196 12 eax = 0 0x1198 13 call(0x1030) 0x119d 14 r10d = [rsp + 0xc {var_21c}].d 0x11a2 15 temp0.d = r10d 0x11a2 16 r10d = r10d - 1 0x11a6 17 if (temp0.d u>= 1) then 18 @ 0x11b2 else 22 @ 0x11a8 0x11b2 18 cl = 0x31 {""} 0x11b4 19 xmm0 = [0x2010].o 0x11bc 20 xmm1 = [0x2020].o 0x11ce 21 goto 24 @ 0x11d0 0x11a8 22 [rsp + 0xc {var_21c}].d = r10d 0x11ad 23 goto 27 @ 0x1423 0x11d0 24 r9d = 0 0x11d6 25 esi = 0 0x11dd 26 if (cl == 0) then 32 @ 0x13ba else 37 @ 0x11e3 0x1423 27 rdi = rsp + 0x10 {var_218} 0x1428 28 eax = 0 0x142a 29 call(0x1040) 0x142f 30 rsp = rsp + 0x228 0x1436 31 <return> jump(pop) 0x13ba 32 eax = esi 0x13bc 33 [rsp + rax + 0x10].b = 0 0x13c1 34 temp1.d = r10d 0x13c1 35 r10d = r10d - 1 0x13c5 36 if (temp1.d u< 1) then 39 @ 0x13de else 41 @ 0x13c7 0x11e3 37 rdx = -1 0x11ea 38 goto 43 @ 0x11f0 0x13de 39 [rsp + 0xc {var_21c}].d = -1 0x13ea 40 if (r9d s< 2) then 27 @ 0x1423 else 50 @ 0x13ec 0x13c7 41 cl = [rsp + 0x10 {var_218}].b 0x13cb 42 goto 24 @ 0x11d0 0x11f0 43 eax = sx.d(cl) 0x11f3 44 eax = eax + eax 0x11f5 45 eax = eax - 0x60 0x11f8 46 [rsp + (rdx << 2) + 0x84].d = eax 0x11ff 47 ecx = zx.d([rsp + rdx + 0x12].b) 0x1204 48 rdx = rdx + 1 0x120a 49 if (cl != 0) then 43 @ 0x11f0 else 54 @ 0x120c 0x13ec 50 eax = r9d 0x13ef 51 rax = rax - 2 0x13f3 52 ecx = 0 0x13ff 53 goto 57 @ 0x1400 0x120c 54 r9d = 0 0x1212 55 esi = 0 0x121a 56 if (edx == -1) then 32 @ 0x13ba else 66 @ 0x1220 0x1400 57 esi = zx.d([rsp + rcx + 0x10].b) 0x1405 58 edx = zx.d([rsp + rax + 0x11].b) 0x140a 59 [rsp + rcx + 0x10].b = dl 0x140e 60 [rsp + rax + 0x11].b = sil 0x1413 61 rcx = rcx + 1 0x1417 62 rdx = rax - 1 0x141b 63 cond:0 = rcx s< rax 0x141e 64 rax = rdx 0x1421 65 if (cond:0) then 57 @ 0x1400 else 27 @ 0x1423 0x1220 66 r9 = rdx + 1 0x1224 67 ecx = edx 0x1226 68 esi = r9d 0x1229 69 edi = 0 0x122b 70 goto 71 @ 0x123c 0x123c 71 if (rdi != rcx) then 72 @ 0x124a else 74 @ 0x123e 0x124a 72 eax = [rsp + (rdi << 2) + 0x80].d 0x1254 73 if (eax s<= 9) then 76 @ 0x1230 else 78 @ 0x1256 0x123e 74 eax = [rsp + (rcx << 2) + 0x80].d 0x1248 75 if (eax s>= 0xa) then 82 @ 0x126a else 72 @ 0x124a 0x1230 76 rdi = rdi + 1 0x1237 77 if (rdi == rsi) then 88 @ 0x1288 else 71 @ 0x123c 0x1256 78 eax = eax - 0xa 0x1259 79 [rsp + (rdi << 2) + 0x80].d = eax 0x1260 80 [rsp + (rdi << 2) + 0x84].d = [rsp + (rdi << 2) + 0x84].d + 1 0x1268 81 goto 76 @ 0x1230 0x126a 82 eax = eax - 0xa 0x126d 83 [rsp + (rcx << 2) + 0x80].d = eax 0x1274 84 [rsp + (rsi << 2) + 0x80].d = 1 0x127f 85 edx = edx + 2 0x1282 86 r9d = edx 0x1282 87 goto 88 @ 0x1288 0x1288 88 if (r9d s<= 0) then 89 @ 0x129a else 91 @ 0x128a 0x129a 89 esi = 0 0x129c 90 goto 32 @ 0x13ba 0x128a 91 edx = r9d 0x1291 92 if (r9d u>= 8) then 93 @ 0x12a1 else 100 @ 0x1293 0x12a1 93 esi = edx 0x12a3 94 esi = esi & 0xfffffff8 0x12a6 95 rax = rsi - 8 0x12aa 96 r8 = rax 0x12ad 97 r8 = r8 u>> 3 0x12b1 98 r8 = r8 + 1 0x12b8 99 if (rax == 0) then 102 @ 0x13d0 else 104 @ 0x12be 0x1293 100 esi = 0 0x1295 101 goto 108 @ 0x13a0 0x13d0 102 edi = 0 0x13d6 103 if ((r8b & 1) != 0) then 113 @ 0x1356 else 126 @ 0x13dc 0x12be 104 rcx = r8 0x12c1 105 rcx = rcx & 0xfffffffffffffffe 0x12c5 106 edi = 0 0x12c7 107 goto 127 @ 0x12d0 0x13a0 108 eax = zx.d([rsp + (rsi << 2) + 0x80].b) 0x13a8 109 al = al + 0x30 0x13aa 110 [rsp + rsi + 0x10].b = al 0x13ae 111 rsi = rsi + 1 0x13b5 112 if (rdx != rsi) then 108 @ 0x13a0 else 155 @ 0x13b7 0x1356 113 xmm2 = [rsp + (rdi << 2) + 0x80].o 0x135f 114 xmm2 = xmm2 & xmm0 0x1363 115 xmm2 = _mm_packus_epi16(xmm2, xmm2) 0x1367 116 xmm2 = _mm_packus_epi16(xmm2, xmm2) 0x136b 117 xmm3 = [rsp + (rdi << 2) + 0x90].o 0x1374 118 xmm3 = xmm3 & xmm0 0x1378 119 xmm3 = _mm_packus_epi16(xmm3, xmm3) 0x137c 120 xmm3 = _mm_packus_epi16(xmm3, xmm3) 0x1380 121 xmm2 = _mm_add_epi8(xmm2, xmm1) 0x1384 122 xmm3 = _mm_add_epi8(xmm3, xmm1) 0x1388 123 [rsp + rdi + 0x10].d = xmm2.d 0x138e 124 [rsp + rdi + 0x14].d = xmm3.d 0x138e 125 goto 157 @ 0x1397 0x13dc 126 goto 157 @ 0x1397 0x12d0 127 xmm2 = [rsp + (rdi << 2) + 0x80].o 0x12d9 128 xmm2 = xmm2 & xmm0 0x12dd 129 xmm2 = _mm_packus_epi16(xmm2, xmm2) 0x12e1 130 xmm2 = _mm_packus_epi16(xmm2, xmm2) 0x12e5 131 xmm3 = [rsp + (rdi << 2) + 0x90].o 0x12ee 132 xmm3 = xmm3 & xmm0 0x12f2 133 xmm3 = _mm_packus_epi16(xmm3, xmm3) 0x12f6 134 xmm3 = _mm_packus_epi16(xmm3, xmm3) 0x12fa 135 xmm2 = _mm_add_epi8(xmm2, xmm1) 0x12fe 136 xmm3 = _mm_add_epi8(xmm3, xmm1) 0x1302 137 xmm2 = _mm_unpacklo_epi32(xmm2, xmm3.q) 0x1306 138 xmm3 = [rsp + (rdi << 2) + 0xa0].o 0x130f 139 xmm3 = xmm3 & xmm0 0x1313 140 xmm3 = _mm_packus_epi16(xmm3, xmm3) 0x1317 141 xmm3 = _mm_packus_epi16(xmm3, xmm3) 0x131b 142 xmm4 = [rsp + (rdi << 2) + 0xb0].o 0x1324 143 xmm4 = xmm4 & xmm0 0x1328 144 xmm4 = _mm_packus_epi16(xmm4, xmm4) 0x132c 145 xmm4 = _mm_packus_epi16(xmm4, xmm4) 0x1330 146 xmm3 = _mm_add_epi8(xmm3, xmm1) 0x1334 147 xmm4 = _mm_add_epi8(xmm4, xmm1) 0x1338 148 xmm3 = _mm_unpacklo_epi32(xmm3, xmm4.q) 0x133c 149 xmm2 = _mm_unpacklo_epi64(xmm2, xmm3.q) 0x1340 150 [rsp + rdi + 0x10].o = xmm2 0x1346 151 rdi = rdi + 0x10 0x134a 152 temp2.q = rcx 0x134a 153 rcx = rcx - 2 0x134e 154 if (temp2.q != 2) then 127 @ 0x12d0 else 158 @ 0x1354 0x13b7 155 esi = r9d 0x13b7 156 goto 32 @ 0x13ba 0x1397 157 if (rsi == rdx) then 155 @ 0x13b7 else 159 @ 0x1399 0x1354 158 if ((r8b & 1) == 0) then 157 @ 0x1397 else 113 @ 0x1356 0x1399 159 goto 108 @ 0x13a0 int64_t _fini(): 0x143c 0 rsp = rsp - 8 0x1440 1 rsp = rsp + 8 0x1444 2 <return> jump(pop)
POJ_25
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AVSPH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r14) 0x1152 1 push(rbx) 0x1153 2 push(rax) 0x1154 3 rdi = 0x2004 {"%d"} 0x115b 4 rsi = rsp + 4 {var_18+0x4} 0x1160 5 eax = 0 0x1162 6 call(0x1040) 0x1167 7 r8d = [rsp + 4 {var_18+0x4}].d 0x1170 8 if (r8d s>= 6) then 9 @ 0x117c else 12 @ 0x1172 0x117c 9 ebx = 3 0x1181 10 r14 = 0x2007 {"%d %d\n"} 0x1188 11 goto 17 @ 0x11b8 0x1172 12 eax = 0 0x1174 13 rsp = rsp + 8 0x1178 14 rbx = pop 0x1179 15 r14 = pop 0x117b 16 <return> jump(pop) 0x11b8 17 if (ebx u< 4) then 18 @ 0x11e6 else 21 @ 0x11ba 0x11e6 18 ecx = r8d 0x11e9 19 ecx = ecx - ebx 0x11ee 20 if (ecx s< 4) then 24 @ 0x1190 else 31 @ 0x11f0 0x11ba 21 edi = 3 0x11bf 22 ecx = 1 0x11ce 23 goto 34 @ 0x11d0 0x1190 24 rdi = r14 0x1193 25 esi = ebx 0x1195 26 edx = ecx 0x1197 27 eax = 0 0x1199 28 call(0x1030) 0x119e 29 r8d = [rsp + 4 {var_18+0x4}].d 0x119e 30 goto 46 @ 0x11a3 0x11f0 31 esi = 3 0x11f5 32 edi = 1 0x11fa 33 goto 52 @ 0x1200 0x11d0 34 eax = ebx 0x11d2 35 edx = 0 0x11d4 36 temp2.d = edi 0x11d4 37 temp3.d = edx 0x11d4 38 temp4.d = eax 0x11d4 39 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x11d4 40 temp5.d = edx 0x11d4 41 temp6.d = eax 0x11d4 42 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x11d4 43 eax = temp0.d 0x11d4 44 edx = temp1.d 0x11d8 45 if (edx == 0) then 65 else 67 @ 0x11db 0x11a3 46 eax = (rbx + rbx).d 0x11a6 47 eax = eax + 4 0x11a9 48 ecx = ebx 0x11ab 49 ecx = ecx + 2 0x11ae 50 ebx = ecx 0x11b3 51 if (eax s> r8d) then 12 @ 0x1172 else 17 @ 0x11b8 0x1200 52 eax = ecx 0x1202 53 temp7.d:temp8.d = sx.q(eax) 0x1202 54 edx = temp7.d 0x1202 55 eax = temp8.d 0x1203 56 temp9.d = edx 0x1203 57 temp10.d = eax 0x1203 58 temp0.d = divs.dp.d(temp9.d:temp10.d, esi) 0x1203 59 temp11.d = edx 0x1203 60 temp12.d = eax 0x1203 61 temp1.d = mods.dp.d(temp11.d:temp12.d, esi) 0x1203 62 eax = temp0.d 0x1203 63 edx = temp1.d 0x1207 64 if (edx == 0) then 69 else 71 @ 0x120a 0x11d8 65 ecx = edx 0x11d8 66 goto 67 @ 0x11db 0x11db 67 edi = edi + 2 0x11e0 68 if (edi u< ebx) then 34 @ 0x11d0 else 73 @ 0x11e4 0x1207 69 edi = edx 0x1207 70 goto 71 @ 0x120a 0x120a 71 esi = esi + 2 0x120f 72 if (esi s< ecx) then 52 @ 0x1200 else 74 @ 0x1213 0x11e4 73 if (ecx == 0) then 46 @ 0x11a3 else 18 @ 0x11e6 0x1213 74 if (edi != 0) then 24 @ 0x1190 else 75 @ 0x1219 0x1219 75 goto 46 @ 0x11a3 int64_t _fini(): 0x1220 0 rsp = rsp - 8 0x1224 1 rsp = rsp + 8 0x1228 2 <return> jump(pop)
POJ_43
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(rbx) 0x1156 4 rsp = rsp - 0x3e8 0x115d 5 rdi = 0x2004 {"%s"} 0x1164 6 r15d = 0 0x1167 7 rsi = rsp {var_408} 0x116a 8 eax = 0 0x116c 9 call(0x1040) 0x1171 10 eax = sx.d([rsp {var_408}].b) 0x1175 11 ecx = 0 0x117a 12 cl = eax s< 0x61 0x117d 13 ecx = ecx << 5 0x1180 14 esi = (rcx + rax).d 0x1183 15 esi = esi - 0x60 0x1188 16 if (eax == 0) then 17 @ 0x11e0 else 29 @ 0x118a 0x11e0 17 esi = esi + 0x40 0x11e3 18 rdi = 0x2007 {"(%c,%d)"} 0x11ea 19 edx = r15d 0x11ed 20 eax = 0 0x11ef 21 call(0x1030) 0x11f4 22 eax = 0 0x11f6 23 rsp = rsp + 0x3e8 0x11fd 24 rbx = pop 0x11fe 25 r14 = pop 0x1200 26 r15 = pop 0x1202 27 rbp = pop 0x1203 28 <return> jump(pop) 0x118a 29 rbx = rsp + 1 {var_407} 0x118f 30 r14 = 0x2007 {"(%c,%d)"} 0x1196 31 r15d = 0 0x1199 32 goto 33 @ 0x11c3 0x11c3 33 eax = sx.d(al) 0x11c6 34 ecx = 0 0x11ca 35 cl = al s< 0x61 0x11cd 36 ecx = ecx << 5 0x11d0 37 ebp = (rcx + rax).d 0x11d3 38 ebp = ebp - 0x60 0x11d8 39 if (ebp != esi) then 40 @ 0x11a0 else 48 @ 0x11da 0x11a0 40 esi = esi + 0x40 0x11a3 41 rdi = r14 0x11a6 42 edx = r15d 0x11a9 43 eax = 0 0x11ab 44 call(0x1030) 0x11b0 45 r15d = 1 0x11b6 46 esi = ebp 0x11b6 47 goto 50 @ 0x11b8 0x11da 48 r15d = r15d + 1 0x11de 49 goto 50 @ 0x11b8 0x11b8 50 eax = zx.d([rbx].b) 0x11bb 51 rbx = rbx + 1 0x11c1 52 if (al == 0) then 17 @ 0x11e0 else 33 @ 0x11c3 int64_t _fini(): 0x1208 0 rsp = rsp - 8 0x120c 1 rsp = rsp + 8 0x1210 2 <return> jump(pop)
POJ_103
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) uint64_t strlen(char const* arg1): 0x1050 0 <return> tailcall([0x4028].q) int32_t scanf(char const* format, ...): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UHH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 rbp = rsp {__saved_rbp} 0x1174 2 rsp = rsp - 0x5b0 0x117b 3 rdi = 0x2004 {"%d"} 0x1182 4 rsi = rbp - 4 {var_c} 0x1186 5 al = 0 0x1188 6 call(0x1060) 0x118d 7 [rbp - 0xe4 {var_ec}].d = 0 0x118d 8 goto 9 @ 0x1197 0x1197 9 eax = [rbp - 0xe4 {var_ec}].d 0x11a0 10 if (eax s>= [rbp - 4 {var_c}].d) then 11 @ 0x144b else 14 @ 0x11a6 0x144b 11 rsp = rsp + 0x5b0 0x1452 12 rbp = pop 0x1453 13 <return> jump(pop) 0x11a6 14 rsi = rbp - 0x70 {var_78} 0x11aa 15 rdx = rbp - 0xe0 {var_e8} 0x11b1 16 rdi = 0x2007 {"%s %s"} 0x11b8 17 al = 0 0x11ba 18 call(0x1060) 0x11bf 19 rdi = rbp - 0x70 {var_78} 0x11c3 20 call(0x1050) 0x11c8 21 [rbp - 0xe8 {var_f0_1}].d = eax 0x11ce 22 rdi = rbp - 0xe0 {var_e8} 0x11d5 23 call(0x1050) 0x11da 24 [rbp - 0xec {var_f4_1}].d = eax 0x11e0 25 rdi = rbp - 0x280 {var_288} 0x11e7 26 esi = 0 0x11e9 27 edx = 0x190 {""} 0x11ee 28 call(0x1040) 0x11f3 29 rdi = rbp - 0x410 {var_418} 0x11fa 30 esi = 0 0x11fc 31 edx = 0x190 {""} 0x1201 32 call(0x1040) 0x1206 33 rdi = rbp - 0x5a0 {var_5a8} 0x120d 34 esi = 0 0x120f 35 edx = 0x190 {""} 0x1214 36 call(0x1040) 0x1219 37 [rbp - 0x5a4 {var_5ac_1}].d = 0 0x1219 38 goto 39 @ 0x1223 0x1223 39 eax = [rbp - 0x5a4 {var_5ac_1}].d 0x122f 40 if (eax s>= [rbp - 0xe8 {var_f0_1}].d) then 41 @ 0x1270 else 43 @ 0x1235 0x1270 41 [rbp - 0x5a4 {var_5ac_2}].d = 0 0x1270 42 goto 55 @ 0x127a 0x1235 43 eax = [rbp - 0xe8 {var_f0_1}].d 0x123b 44 eax = eax - 1 0x123e 45 eax = eax - [rbp - 0x5a4 {var_5ac_1}].d 0x1244 46 rax = sx.q(eax) 0x1246 47 ecx = sx.d([rbp + rax - 0x70].b) 0x124b 48 ecx = ecx - 0x30 0x124e 49 rax = sx.q([rbp - 0x5a4 {var_5ac_1}].d) 0x1255 50 [rbp + (rax << 2) - 0x280].d = ecx 0x125c 51 eax = [rbp - 0x5a4 {var_5ac_1}].d 0x1262 52 eax = eax + 1 0x1265 53 [rbp - 0x5a4 {var_5ac_1}].d = eax 0x126b 54 goto 39 @ 0x1223 0x127a 55 eax = [rbp - 0x5a4 {var_5ac_2}].d 0x1286 56 if (eax s>= [rbp - 0xec {var_f4_1}].d) then 57 @ 0x12ca else 59 @ 0x128c 0x12ca 57 [rbp - 0x5a4 {var_5ac_3}].d = 0 0x12ca 58 goto 71 @ 0x12d4 0x128c 59 eax = [rbp - 0xec {var_f4_1}].d 0x1292 60 eax = eax - 1 0x1295 61 eax = eax - [rbp - 0x5a4 {var_5ac_2}].d 0x129b 62 rax = sx.q(eax) 0x129d 63 ecx = sx.d([rbp + rax - 0xe0].b) 0x12a5 64 ecx = ecx - 0x30 0x12a8 65 rax = sx.q([rbp - 0x5a4 {var_5ac_2}].d) 0x12af 66 [rbp + (rax << 2) - 0x410].d = ecx 0x12b6 67 eax = [rbp - 0x5a4 {var_5ac_2}].d 0x12bc 68 eax = eax + 1 0x12bf 69 [rbp - 0x5a4 {var_5ac_2}].d = eax 0x12c5 70 goto 55 @ 0x127a 0x12d4 71 eax = [rbp - 0x5a4 {var_5ac_3}].d 0x12e0 72 if (eax s>= [rbp - 0xe8 {var_f0_1}].d) then 73 @ 0x13a4 else 77 @ 0x12e6 0x13a4 73 eax = [rbp - 0xe8 {var_f0_1}].d 0x13aa 74 eax = eax - 1 0x13ad 75 rax = sx.q(eax) 0x13b7 76 if ([rbp + (rax << 2) - 0x5a0].d == 0) then 81 @ 0x13dd else 85 @ 0x13bd 0x12e6 77 rax = sx.q([rbp - 0x5a4 {var_5ac_3}].d) 0x12ed 78 eax = [rbp + (rax << 2) - 0x280].d 0x12f4 79 rcx = sx.q([rbp - 0x5a4 {var_5ac_3}].d) 0x1302 80 if (eax s< [rbp + (rcx << 2) - 0x410].d) then 93 @ 0x1337 else 110 @ 0x1308 0x13dd 81 eax = [rbp - 0xe8 {var_f0_1}].d 0x13e3 82 eax = eax - 2 0x13e6 83 [rbp - 0x5a4 {var_5ac_4}].d = eax 0x13e6 84 goto 117 @ 0x13f3 0x13bd 85 eax = [rbp - 0xe8 {var_f0_1}].d 0x13c3 86 eax = eax - 1 0x13c6 87 rax = sx.q(eax) 0x13c8 88 esi = [rbp + (rax << 2) - 0x5a0].d 0x13cf 89 rdi = 0x2004 {"%d"} 0x13d6 90 al = 0 0x13d8 91 call(0x1030) 0x13d8 92 goto 81 @ 0x13dd 0x1337 93 rax = sx.q([rbp - 0x5a4 {var_5ac_3}].d) 0x133e 94 ecx = [rbp + (rax << 2) - 0x280].d 0x1345 95 rax = sx.q([rbp - 0x5a4 {var_5ac_3}].d) 0x134c 96 ecx = ecx - [rbp + (rax << 2) - 0x410].d 0x1353 97 ecx = ecx + 0xa 0x1356 98 rax = sx.q([rbp - 0x5a4 {var_5ac_3}].d) 0x135d 99 [rbp + (rax << 2) - 0x5a0].d = ecx 0x1364 100 eax = [rbp - 0x5a4 {var_5ac_3}].d 0x136a 101 eax = eax + 1 0x136d 102 rax = sx.q(eax) 0x136f 103 ecx = [rbp + (rax << 2) - 0x280].d 0x1376 104 ecx = ecx - 1 0x1379 105 eax = [rbp - 0x5a4 {var_5ac_3}].d 0x137f 106 eax = eax + 1 0x1382 107 rax = sx.q(eax) 0x1384 108 [rbp + (rax << 2) - 0x280].d = ecx 0x1384 109 goto 118 @ 0x138b 0x1308 110 rax = sx.q([rbp - 0x5a4 {var_5ac_3}].d) 0x130f 111 ecx = [rbp + (rax << 2) - 0x280].d 0x1316 112 rax = sx.q([rbp - 0x5a4 {var_5ac_3}].d) 0x131d 113 ecx = ecx - [rbp + (rax << 2) - 0x410].d 0x1324 114 rax = sx.q([rbp - 0x5a4 {var_5ac_3}].d) 0x132b 115 [rbp + (rax << 2) - 0x5a0].d = ecx 0x1332 116 goto 118 @ 0x138b 0x13f3 117 if ([rbp - 0x5a4 {var_5ac_4}].d s< 0) then 119 @ 0x1429 else 126 @ 0x13f9 0x138b 118 goto 135 @ 0x1390 0x1429 119 rdi = 0x200d {"\n"} 0x1430 120 al = 0 0x1432 121 call(0x1030) 0x1437 122 eax = [rbp - 0xe4 {var_ec}].d 0x143d 123 eax = eax + 1 0x1440 124 [rbp - 0xe4 {var_ec}].d = eax 0x1446 125 goto 9 @ 0x1197 0x13f9 126 rax = sx.q([rbp - 0x5a4 {var_5ac_4}].d) 0x1400 127 esi = [rbp + (rax << 2) - 0x5a0].d 0x1407 128 rdi = 0x2004 {"%d"} 0x140e 129 al = 0 0x1410 130 call(0x1030) 0x1415 131 eax = [rbp - 0x5a4 {var_5ac_4}].d 0x141b 132 eax = eax - 1 0x141e 133 [rbp - 0x5a4 {var_5ac_4}].d = eax 0x1424 134 goto 117 @ 0x13f3 0x1390 135 eax = [rbp - 0x5a4 {var_5ac_3}].d 0x1396 136 eax = eax + 1 0x1399 137 [rbp - 0x5a4 {var_5ac_3}].d = eax 0x139f 138 goto 71 @ 0x12d4 int64_t _fini(): 0x1458 0 rsp = rsp - 8 0x145c 1 rsp = rsp + 8 0x1460 2 <return> jump(pop)
POJ_32
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UHH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 rbp = rsp {__saved_rbp} 0x1164 2 rsp = rsp - 0x280 0x116b 3 [rbp - 4 {var_c}].d = 0 0x1172 4 [rbp - 0xc {var_14}].d = 0 0x1179 5 rdi = rbp - 0x270 {var_278} 0x1180 6 al = 0 0x1182 7 call(0x1050) 0x1187 8 [rbp - 8 {var_10}].d = 0 0x1187 9 goto 10 @ 0x118e 0x118e 10 rax = sx.q([rbp - 8 {var_10}].d) 0x1192 11 [rbp - 0x278 {var_280_1}].q = rax 0x1199 12 rdi = rbp - 0x270 {var_278} 0x11a0 13 call(0x1040) 0x11a5 14 rcx = rax 0x11a8 15 rax = [rbp - 0x278 {var_280_1}].q 0x11b2 16 if (rax u>= rcx) then 17 @ 0x11ee else 19 @ 0x11b8 0x11ee 17 [rbp - 8 {var_10_1}].d = 0 0x11ee 18 goto 22 @ 0x11f5 0x11b8 19 rax = sx.q([rbp - 8 {var_10}].d) 0x11bc 20 eax = sx.d([rbp + rax - 0x270].b) 0x11c7 21 if (eax != 0x20) then 29 @ 0x11d2 else 36 @ 0x11cd 0x11f5 22 rax = sx.q([rbp - 8 {var_10_1}].d) 0x11f9 23 [rbp - 0x280 {var_288_1}].q = rax 0x1200 24 rdi = rbp - 0x270 {var_278} 0x1207 25 call(0x1040) 0x120c 26 rcx = rax 0x120f 27 rax = [rbp - 0x280 {var_288_1}].q 0x1219 28 if (rax u>= rcx) then 37 @ 0x12c4 else 41 @ 0x121f 0x11d2 29 ecx = [rbp - 8 {var_10}].d 0x11d5 30 rax = sx.q([rbp - 0xc {var_14}].d) 0x11d9 31 [rbp + (rax << 2) - 0x1a0].d = ecx 0x11e0 32 eax = [rbp - 8 {var_10}].d 0x11e3 33 eax = eax + 1 0x11e6 34 [rbp - 8 {var_10}].d = eax 0x11e9 35 goto 10 @ 0x118e 0x11cd 36 goto 29 @ 0x11d2 0x12c4 37 eax = 0 0x12c6 38 rsp = rsp + 0x280 0x12cd 39 rbp = pop 0x12ce 40 <return> jump(pop) 0x121f 41 rax = sx.q([rbp - 8 {var_10_1}].d) 0x1223 42 eax = sx.d([rbp + rax - 0x270].b) 0x122e 43 if (eax == 0x20) then 44 @ 0x1253 else 47 @ 0x1234 0x1253 44 rax = sx.q([rbp - 8 {var_10_1}].d) 0x1257 45 eax = sx.d([rbp + rax - 0x270].b) 0x1262 46 if (eax != 0x20) then 53 @ 0x12ac else 54 @ 0x1268 0x1234 47 rax = sx.q([rbp - 8 {var_10_1}].d) 0x1238 48 esi = sx.d([rbp + rax - 0x270].b) 0x1240 49 rdi = 0x2004 {"%c"} 0x1247 50 al = 0 0x1249 51 call(0x1030) 0x124e 52 goto 58 @ 0x12b1 0x12ac 53 goto 58 @ 0x12b1 0x1268 54 rdi = 0x2007 {" "} 0x126f 55 al = 0 0x1271 56 call(0x1030) 0x1271 57 goto 59 @ 0x1276 0x12b1 58 goto 64 @ 0x12b6 0x1276 59 eax = [rbp - 8 {var_10_1}].d 0x1279 60 eax = eax + 1 0x127c 61 rax = sx.q(eax) 0x127e 62 eax = sx.d([rbp + rax - 0x270].b) 0x1289 63 if (eax != 0x20) then 68 @ 0x129d else 69 @ 0x128f 0x12b6 64 eax = [rbp - 8 {var_10_1}].d 0x12b9 65 eax = eax + 1 0x12bc 66 [rbp - 8 {var_10_1}].d = eax 0x12bf 67 goto 22 @ 0x11f5 0x129d 68 goto 73 @ 0x12a7 0x128f 69 eax = [rbp - 8 {var_10_1}].d 0x1292 70 eax = eax + 1 0x1295 71 [rbp - 8 {var_10_1}].d = eax 0x1298 72 goto 74 @ 0x12a2 0x12a7 73 goto 53 @ 0x12ac 0x12a2 74 goto 59 @ 0x1276 int64_t _fini(): 0x12d4 0 rsp = rsp - 8 0x12d8 1 rsp = rsp + 8 0x12dc 2 <return> jump(pop)
POJ_26
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x7f0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x1162 4 [rbp - 0x1c {var_24}].d = 0 0x1169 5 rdi = 0x2004 {"%d"} 0x1170 6 rsi = rbp - 0x18 {var_20} 0x1174 7 al = 0 0x1176 8 call(0x1040) 0x117b 9 [rbp - 0x10 {var_18}].d = 0 0x117b 10 goto 11 @ 0x1182 0x1182 11 eax = [rbp - 0x10 {var_18}].d 0x1188 12 if (eax s>= [rbp - 0x18 {var_20}].d) then 13 @ 0x11bc else 15 @ 0x118e 0x11bc 13 [rbp - 0x14 {var_1c}].d = 1 0x11bc 14 goto 26 @ 0x11c3 0x118e 15 rax = sx.q([rbp - 0x10 {var_18}].d) 0x1192 16 rsi = rbp - 0x7f0 {var_7f8} 0x1199 17 rax = rax << 2 0x119d 18 rsi = rsi + rax 0x11a0 19 rdi = 0x2004 {"%d"} 0x11a7 20 al = 0 0x11a9 21 call(0x1040) 0x11ae 22 eax = [rbp - 0x10 {var_18}].d 0x11b1 23 eax = eax + 1 0x11b4 24 [rbp - 0x10 {var_18}].d = eax 0x11b7 25 goto 11 @ 0x1182 0x11c3 26 eax = [rbp - 0x14 {var_1c}].d 0x11c6 27 ecx = [rbp - 0x18 {var_20}].d 0x11c9 28 ecx = ecx + 1 0x11ce 29 if (eax s>= ecx) then 30 @ 0x1289 else 32 @ 0x11d4 0x1289 30 [rbp - 0x10 {var_18_2}].d = 0 0x1289 31 goto 35 @ 0x1290 0x11d4 32 [rbp - 8 {var_10_1}].d = 0 0x11db 33 [rbp - 0x10 {var_18_1}].d = 0 0x11db 34 goto 37 @ 0x11e2 0x1290 35 eax = [rbp - 0x10 {var_18_2}].d 0x1296 36 if (eax s>= [rbp - 0x18 {var_20}].d) then 42 @ 0x12d1 else 44 @ 0x129c 0x11e2 37 eax = [rbp - 0x10 {var_18_1}].d 0x11e5 38 ecx = [rbp - 0x18 {var_20}].d 0x11e8 39 ecx = ecx - [rbp - 0x14 {var_1c}].d 0x11eb 40 ecx = ecx + 1 0x11f0 41 if (eax s>= ecx) then 59 @ 0x122b else 63 @ 0x11f6 0x12d1 42 [rbp - 0x10 {var_18_3}].d = 0 0x12d1 43 goto 67 @ 0x12d8 0x129c 44 rax = sx.q([rbp - 0x10 {var_18_2}].d) 0x12a0 45 eax = [rbp + (rax << 2) - 0x7f0].d 0x12a7 46 ecx = 2 0x12ac 47 temp2.d:temp3.d = sx.q(eax) 0x12ac 48 edx = temp2.d 0x12ac 49 eax = temp3.d 0x12ad 50 temp4.d = edx 0x12ad 51 temp5.d = eax 0x12ad 52 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x12ad 53 temp6.d = edx 0x12ad 54 temp7.d = eax 0x12ad 55 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x12ad 56 eax = temp0.d 0x12ad 57 edx = temp1.d 0x12b2 58 if (edx == 0) then 69 @ 0x12be else 70 @ 0x12b8 0x122b 59 eax = [rbp - 8 {var_10_1}].d 0x122e 60 ecx = [rbp - 0x18 {var_20}].d 0x1231 61 ecx = ecx - [rbp - 0x14 {var_1c}].d 0x1236 62 if (eax == ecx) then 73 @ 0x1276 else 74 @ 0x123c 0x11f6 63 rax = sx.q([rbp - 0x10 {var_18_1}].d) 0x11fa 64 eax = [rbp + (rax << 2) - 0x7f0].d 0x1201 65 rcx = sx.q([rbp - 8 {var_10_1}].d) 0x120c 66 if (eax s<= [rbp + (rcx << 2) - 0x7f0].d) then 89 @ 0x1218 else 90 @ 0x1212 0x12d8 67 eax = [rbp - 0x10 {var_18_3}].d 0x12de 68 if (eax s>= [rbp - 0x18 {var_20}].d) then 93 @ 0x135b else 97 @ 0x12e4 0x12be 69 goto 112 @ 0x12c3 0x12b8 70 eax = [rbp - 0x10 {var_18_2}].d 0x12bb 71 [rbp - 0x1c {var_24}].d = eax 0x12bb 72 goto 69 @ 0x12be 0x1276 73 goto 116 @ 0x127b 0x123c 74 rax = sx.q([rbp - 8 {var_10_1}].d) 0x1240 75 eax = [rbp + (rax << 2) - 0x7f0].d 0x1247 76 [rbp - 0xc {var_14_1}].d = eax 0x124a 77 eax = [rbp - 0x18 {var_20}].d 0x124d 78 eax = eax - [rbp - 0x14 {var_1c}].d 0x1250 79 rax = sx.q(eax) 0x1252 80 ecx = [rbp + (rax << 2) - 0x7f0].d 0x1259 81 rax = sx.q([rbp - 8 {var_10_1}].d) 0x125d 82 [rbp + (rax << 2) - 0x7f0].d = ecx 0x1264 83 ecx = [rbp - 0xc {var_14_1}].d 0x1267 84 eax = [rbp - 0x18 {var_20}].d 0x126a 85 eax = eax - [rbp - 0x14 {var_1c}].d 0x126d 86 rax = sx.q(eax) 0x126f 87 [rbp + (rax << 2) - 0x7f0].d = ecx 0x126f 88 goto 73 @ 0x1276 0x1218 89 goto 120 @ 0x121d 0x1212 90 eax = [rbp - 0x10 {var_18_1}].d 0x1215 91 [rbp - 8 {var_10_1}].d = eax 0x1215 92 goto 89 @ 0x1218 0x135b 93 eax = 0 0x135d 94 rsp = rsp + 0x7f0 0x1364 95 rbp = pop 0x1365 96 <return> jump(pop) 0x12e4 97 rax = sx.q([rbp - 0x10 {var_18_3}].d) 0x12e8 98 eax = [rbp + (rax << 2) - 0x7f0].d 0x12ef 99 ecx = 2 0x12f4 100 temp8.d:temp9.d = sx.q(eax) 0x12f4 101 edx = temp8.d 0x12f4 102 eax = temp9.d 0x12f5 103 temp10.d = edx 0x12f5 104 temp11.d = eax 0x12f5 105 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x12f5 106 temp12.d = edx 0x12f5 107 temp13.d = eax 0x12f5 108 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x12f5 109 eax = temp0.d 0x12f5 110 edx = temp1.d 0x12fa 111 if (edx == 0) then 124 @ 0x1348 else 125 @ 0x1300 0x12c3 112 eax = [rbp - 0x10 {var_18_2}].d 0x12c6 113 eax = eax + 1 0x12c9 114 [rbp - 0x10 {var_18_2}].d = eax 0x12cc 115 goto 35 @ 0x1290 0x127b 116 eax = [rbp - 0x14 {var_1c}].d 0x127e 117 eax = eax + 1 0x1281 118 [rbp - 0x14 {var_1c}].d = eax 0x1284 119 goto 26 @ 0x11c3 0x121d 120 eax = [rbp - 0x10 {var_18_1}].d 0x1220 121 eax = eax + 1 0x1223 122 [rbp - 0x10 {var_18_1}].d = eax 0x1226 123 goto 37 @ 0x11e2 0x1348 124 goto 127 @ 0x134d 0x1300 125 eax = [rbp - 0x10 {var_18_3}].d 0x1306 126 if (eax == [rbp - 0x1c {var_24}].d) then 131 @ 0x132a else 137 @ 0x130c 0x134d 127 eax = [rbp - 0x10 {var_18_3}].d 0x1350 128 eax = eax + 1 0x1353 129 [rbp - 0x10 {var_18_3}].d = eax 0x1356 130 goto 67 @ 0x12d8 0x132a 131 rax = sx.q([rbp - 0x10 {var_18_3}].d) 0x132e 132 esi = [rbp + (rax << 2) - 0x7f0].d 0x1335 133 rdi = 0x2004 {"%d"} 0x133c 134 al = 0 0x133e 135 call(0x1030) 0x133e 136 goto 143 @ 0x1343 0x130c 137 rax = sx.q([rbp - 0x10 {var_18_3}].d) 0x1310 138 esi = [rbp + (rax << 2) - 0x7f0].d 0x1317 139 rdi = 0x2007 {"%d,"} 0x131e 140 al = 0 0x1320 141 call(0x1030) 0x1325 142 goto 143 @ 0x1343 0x1343 143 goto 124 @ 0x1348 int64_t _fini(): 0x136c 0 rsp = rsp - 8 0x1370 1 rsp = rsp + 8 0x1374 2 <return> jump(pop)
POJ_94
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVATSHH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r12) 0x1157 4 push(rbx) 0x1158 5 rsp = rsp - 0x10 0x115c 6 rdi = 0x2004 {"%d"} 0x1163 7 rsi = rsp + 0xc {var_2c} 0x1168 8 eax = 0 0x116a 9 call(0x1040) 0x116f 10 r8d = [rsp + 0xc {var_2c}].d 0x1178 11 if (r8d s>= 6) then 12 @ 0x1187 else 16 @ 0x117a 0x1187 12 r12d = 6 0x118d 13 r15d = 3 0x1193 14 r14 = 0x2007 {"%d=%d+%d\n"} 0x119a 15 goto 23 @ 0x11c3 0x117a 16 rsp = rsp + 0x10 0x117e 17 rbx = pop 0x117f 18 r12 = pop 0x1181 19 r14 = pop 0x1183 20 r15 = pop 0x1185 21 rbp = pop 0x1186 22 <return> jump(pop) 0x11c3 23 cond:0 = r15d u>= 4 0x11c7 24 edi = 3 0x11cc 25 if (cond:0) then 26 else 28 @ 0x11d0 0x11cc 26 edi = r15d 0x11cc 27 goto 28 @ 0x11d0 0x11d0 28 ecx = 3 0x11d5 29 goto 30 @ 0x11f1 0x11f1 30 if (ecx u< 9) then 31 @ 0x1219 else 32 @ 0x11f3 0x1219 31 if ((cl & 1) == 0) then 34 @ 0x11e5 else 38 @ 0x121b 0x11f3 32 esi = 3 0x11f8 33 goto 41 @ 0x1200 0x11e5 34 eax = (rcx + 1).d 0x11e8 35 cond:1 = ecx == edi 0x11ea 36 ecx = eax 0x11ec 37 if (cond:1) then 53 @ 0x11b6 else 30 @ 0x11f1 0x121b 38 ebx = r12d 0x121e 39 ebx = ebx - ecx 0x1223 40 if (ebx s< 9) then 56 @ 0x11e3 else 57 @ 0x1225 0x1200 41 eax = ecx 0x1202 42 edx = 0 0x1204 43 temp2.d = esi 0x1204 44 temp3.d = edx 0x1204 45 temp4.d = eax 0x1204 46 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x1204 47 temp5.d = edx 0x1204 48 temp6.d = eax 0x1204 49 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x1204 50 eax = temp0.d 0x1204 51 edx = temp1.d 0x1208 52 if (edx == 0) then 34 @ 0x11e5 else 59 @ 0x120a 0x11b6 53 r12d = r12d + 2 0x11ba 54 r15d = r15d + 1 0x11c1 55 if (r12d s> r8d) then 16 @ 0x117a else 23 @ 0x11c3 0x11e3 56 if ((bl & 1) != 0) then 63 @ 0x11a0 else 34 @ 0x11e5 0x1225 57 esi = 5 0x122a 58 goto 71 @ 0x1230 0x120a 59 esi = esi + 2 0x120d 60 eax = esi 0x120f 61 eax = eax * esi 0x1214 62 if (eax u<= ecx) then 41 @ 0x1200 else 31 @ 0x1219 0x11a0 63 rdi = r14 0x11a3 64 esi = r12d 0x11a6 65 edx = ecx 0x11a8 66 ecx = ebx 0x11aa 67 eax = 0 0x11ac 68 call(0x1030) 0x11b1 69 r8d = [rsp + 0xc {var_2c}].d 0x11b1 70 goto 53 @ 0x11b6 0x1230 71 ebp = (rsi - 2).d 0x1233 72 eax = ebx 0x1235 73 temp7.d:temp8.d = sx.q(eax) 0x1235 74 edx = temp7.d 0x1235 75 eax = temp8.d 0x1236 76 temp9.d = edx 0x1236 77 temp10.d = eax 0x1236 78 temp0.d = divs.dp.d(temp9.d:temp10.d, ebp) 0x1236 79 temp11.d = edx 0x1236 80 temp12.d = eax 0x1236 81 temp1.d = mods.dp.d(temp11.d:temp12.d, ebp) 0x1236 82 eax = temp0.d 0x1236 83 edx = temp1.d 0x123a 84 if (edx == 0) then 34 @ 0x11e5 else 85 @ 0x123c 0x123c 85 eax = esi 0x123e 86 eax = eax * esi 0x1241 87 esi = esi + 2 0x1246 88 if (eax s<= ebx) then 71 @ 0x1230 else 89 @ 0x1248 0x1248 89 goto 56 @ 0x11e3 uint64_t prime(int32_t arg1): 0x1250 0 ecx = edi 0x1252 1 ecx = ecx & 1 0x1258 2 if (edi s< 9) then 3 @ 0x1275 else 5 @ 0x125a 0x1275 3 eax = ecx 0x1277 4 <return> jump(pop) 0x125a 5 esi = 3 0x125f 6 goto 7 @ 0x1260 0x1260 7 eax = edi 0x1262 8 temp2.d:temp3.d = sx.q(eax) 0x1262 9 edx = temp2.d 0x1262 10 eax = temp3.d 0x1263 11 temp4.d = edx 0x1263 12 temp5.d = eax 0x1263 13 temp0.d = divs.dp.d(temp4.d:temp5.d, esi) 0x1263 14 temp6.d = edx 0x1263 15 temp7.d = eax 0x1263 16 temp1.d = mods.dp.d(temp6.d:temp7.d, esi) 0x1263 17 eax = temp0.d 0x1263 18 edx = temp1.d 0x1267 19 if (edx == 0) then 20 @ 0x1278 else 23 @ 0x1269 0x1278 20 ecx = 0 0x127a 21 eax = ecx 0x127c 22 <return> jump(pop) 0x1269 23 esi = esi + 2 0x126c 24 eax = esi 0x126e 25 eax = eax * esi 0x1273 26 if (eax s<= edi) then 7 @ 0x1260 else 3 @ 0x1275 int64_t _fini(): 0x1284 0 rsp = rsp - 8 0x1288 1 rsp = rsp + 8 0x128c 2 <return> jump(pop)
POJ_68
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSHX"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x1f58 0x1171 7 rdi = 0x2010 {"%d"} 0x1178 8 rsi = rsp + 8 {var_1f80} 0x117d 9 eax = 0 0x117f 10 call(0x1040) 0x1189 11 if ([rsp + 8 {var_1f80}].d s<= 0) then 12 @ 0x128d else 21 @ 0x118f 0x128d 12 eax = 0 0x128f 13 rsp = rsp + 0x1f58 0x1296 14 rbx = pop 0x1297 15 r12 = pop 0x1299 16 r13 = pop 0x129b 17 r14 = pop 0x129d 18 r15 = pop 0x129f 19 rbp = pop 0x12a0 20 <return> jump(pop) 0x118f 21 r14 = 0x2010 {"%d"} 0x1196 22 r13 = rsp + 0xc {var_1f7c} 0x119b 23 r15 = 0x2019 {"3.500"} 0x11a2 24 r12 = 0x2013 {"2.000"} 0x11a9 25 ebp = 0 0x11ab 26 goto 27 @ 0x11d1 0x11d1 27 rdi = r14 0x11d4 28 rsi = r13 {var_1f7c} 0x11d7 29 eax = 0 0x11d9 30 call(0x1040) 0x11de 31 eax = [rsp + 0xc {var_1f7c}].d 0x11e5 32 if (eax == 2) then 33 @ 0x11b0 else 35 @ 0x11ea 0x11b0 33 rdi = r15 0x11b0 34 goto 36 @ 0x11b3 0x11ea 35 if (eax != 1) then 41 @ 0x1203 else 42 @ 0x11ec 0x11b3 36 eax = 0 0x11b5 37 call(0x1030) 0x11ba 38 edi = 0xa {""} 0x11bf 39 call(0x1050) 0x11bf 40 goto 44 @ 0x11c4 0x1203 41 if (eax s< 3) then 44 @ 0x11c4 else 46 @ 0x1205 0x11ec 42 rdi = r12 0x11ef 43 goto 36 @ 0x11b3 0x11c4 44 ebp = ebp + 1 0x11cb 45 if (ebp s>= [rsp + 8 {var_1f80}].d) then 12 @ 0x128d else 27 @ 0x11d1 0x1205 46 eax = eax - 2 0x1208 47 rax = rax - 1 0x120c 48 ecx = 5 0x1211 49 edi = 2 0x1216 50 edx = 3 0x121b 51 esi = 0 0x121d 52 xmm0 = zx.o([0x2008].q) 0x1225 53 ebx = 3 0x122a 54 goto 55 @ 0x1230 0x1230 55 xmm1 = xmm0 0x1234 56 [rsp + (rsi << 2) + 0xfbc].d = ebx 0x123b 57 xmm0 = 0 0x123e 58 xmm0.q = float.d(ecx) 0x1242 59 [rsp + (rsi << 2) + 0x1c].d = ecx 0x1246 60 xmm2 = 0 0x1249 61 xmm2.q = float.d(ebx) 0x124d 62 xmm0.q = xmm0.q f/ xmm2.q 0x1251 63 xmm0.q = xmm0.q f+ xmm1.q 0x1255 64 [rsp + 0xfb8 {var_fd0_1}].d = ebx 0x125c 65 [rsp + 0x18 {var_1f70_1}].d = ecx 0x1263 66 if (rax == rsi) then 67 @ 0x127a else 71 @ 0x1265 0x127a 67 rdi = 0x201f {"%.3lf\n"} 0x1281 68 al = 1 0x1283 69 call(0x1030) 0x1288 70 goto 44 @ 0x11c4 0x1265 71 ebx = ebx + edi 0x1267 72 edi = [rsp + (rsi << 2) + 0xfbc].d 0x126e 73 ecx = ecx + edx 0x1270 74 edx = [rsp + (rsi << 2) + 0x1c].d 0x1274 75 rsi = rsi + 1 0x1278 76 goto 55 @ 0x1230 int64_t _fini(): 0x12a8 0 rsp = rsp - 8 0x12ac 1 rsp = rsp + 8 0x12b0 2 <return> jump(pop)
POJ_29
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 char* strncpy(char* arg1, char const* arg2, uint64_t arg3): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAWAVAUATSHXH="} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(r13) 0x1177 4 push(r12) 0x1179 5 push(rbx) 0x117a 6 rsp = rsp - 0x58 0x117e 7 rdi = 0x2004 {"%d\n"} 0x1185 8 rsi = rsp + 0xc {var_7c} 0x118a 9 eax = 0 0x118c 10 call(0x1050) 0x1196 11 if ([rsp + 0xc {var_7c}].d s<= 0) then 12 @ 0x1232 else 21 @ 0x119c 0x1232 12 eax = 0 0x1234 13 rsp = rsp + 0x58 0x1238 14 rbx = pop 0x1239 15 r12 = pop 0x123b 16 r13 = pop 0x123d 17 r14 = pop 0x123f 18 r15 = pop 0x1241 19 rbp = pop 0x1242 20 <return> jump(pop) 0x119c 21 r14 = 0x2008 {"%s"} 0x11a3 22 rbx = rsp + 0x30 {var_58} 0x11a8 23 r12 = -0x100000000 0x11b2 24 r13 = -0x300000000 0x11bc 25 r15 = rsp + 0x10 {var_78} 0x11c1 26 ebp = 0 0x11cd 27 goto 28 @ 0x11d0 0x11d0 28 xmm0 = 0 0x11d3 29 [rsp + 0x1e {var_6a_1}].o = xmm0 0x11d8 30 [rsp + 0x10 {var_78}].o = xmm0 0x11dd 31 rdi = r14 0x11e0 32 rsi = rbx {var_58} 0x11e3 33 eax = 0 0x11e5 34 call(0x1050) 0x11ea 35 rdi = rbx {var_58} 0x11ed 36 call(0x1040) 0x11f2 37 rax = rax << 0x20 0x11f6 38 rcx = rax + r12 0x11fa 39 rcx = rcx s>> 0x20 0x11fe 40 edx = 0 0x1205 41 dl = [rsp + rcx + 0x30].b != 0x67 0x1208 42 rdx = rdx << 0x20 0x120c 43 rdx = rdx + rax 0x120f 44 rdx = rdx + r13 0x1212 45 rdx = rdx s>> 0x20 0x1216 46 rdi = r15 {var_78} 0x1219 47 rsi = rbx {var_58} 0x121c 48 call(0x1030) 0x1221 49 rdi = r15 {var_78} 0x1224 50 call(0x1060) 0x1229 51 ebp = ebp + 1 0x1230 52 if (ebp s< [rsp + 0xc {var_7c}].d) then 28 @ 0x11d0 else 12 @ 0x1232 int64_t _fini(): 0x1248 0 rsp = rsp - 8 0x124c 1 rsp = rsp + 8 0x1250 2 <return> jump(pop)
POJ_57
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"SH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbx) 0x1151 1 rsp = rsp - 0xb0 0x1158 2 rdi = 0x2004 {"%d %d"} 0x115f 3 ebx = 0 0x1161 4 rsi = rsp + 0xc {var_ac} 0x1166 5 rdx = rsp + 8 {var_b0} 0x116b 6 eax = 0 0x116d 7 call(0x1040) 0x1172 8 esi = [rsp + 0xc {var_ac}].d 0x1176 9 ecx = [rsp + 8 {var_b0}].d 0x117c 10 if (esi != ecx) then 11 @ 0x1193 else 12 @ 0x117e 0x1193 11 if (esi == 0) then 16 @ 0x11bf else 17 @ 0x1195 0x117e 12 rdi = 0x2007 {"%d"} 0x1185 13 eax = 0 0x1187 14 call(0x1030) 0x118c 15 goto 19 @ 0x122f 0x11bf 16 if (ecx == 0) then 19 @ 0x122f else 23 @ 0x11c1 0x1195 17 ebx = 0 0x1197 18 goto 25 @ 0x11a0 0x122f 19 eax = 0 0x1231 20 rsp = rsp + 0xb0 0x1238 21 rbx = pop 0x1239 22 <return> jump(pop) 0x11c1 23 eax = 0 0x11cd 24 goto 33 @ 0x11d0 0x11a0 25 eax = esi 0x11a2 26 [rsp + (rbx << 2) + 0x60].d = esi 0x11a6 27 esi = esi u>> 0x1f 0x11a9 28 esi = esi + eax 0x11ab 29 esi = esi s>> 1 0x11ad 30 rbx = rbx + 1 0x11b1 31 eax = eax + 1 0x11b7 32 if (eax u> 2) then 25 @ 0x11a0 else 41 @ 0x11b9 0x11d0 33 edx = ecx 0x11d2 34 [rsp + (rax << 2) + 0x10].d = ecx 0x11d6 35 ecx = ecx u>> 0x1f 0x11d9 36 ecx = ecx + edx 0x11db 37 ecx = ecx s>> 1 0x11dd 38 rax = rax + 1 0x11e1 39 edx = edx + 1 0x11e7 40 if (edx u>= 3) then 33 @ 0x11d0 else 43 @ 0x11e9 0x11b9 41 [rsp + 0xc {var_ac}].d = esi 0x11b9 42 goto 16 @ 0x11bf 0x11e9 43 [rsp + 8 {var_b0}].d = ecx 0x11ef 44 if (ebx == 0) then 19 @ 0x122f else 45 @ 0x11f3 0x11f3 45 if (eax == 0) then 19 @ 0x122f else 46 @ 0x11f5 0x11f5 46 r8d = 0 0x11f8 47 edx = 0 0x11fa 48 goto 49 @ 0x1200 0x1200 49 esi = edx 0x1202 50 esi = [rsp + (rsi << 2) + 0x60].d 0x1206 51 edi = r8d 0x1209 52 temp0.d = [rsp + (rdi << 2) + 0x10].d 0x1209 53 cond:0 = esi s<= temp0.d 0x1209 54 cond:1 = esi s> temp0.d 0x120d 55 if (esi == temp0.d) then 12 @ 0x117e else 56 @ 0x1213 0x1213 56 sil = cond:0 0x1217 57 cl = cond:1 0x121a 58 ecx = zx.d(cl) 0x121d 59 edx = edx + ecx 0x1221 60 if (edx u>= ebx) then 19 @ 0x122f else 61 @ 0x1223 0x1223 61 ecx = zx.d(sil) 0x1227 62 r8d = r8d + ecx 0x122d 63 if (r8d u< eax) then 49 @ 0x1200 else 19 @ 0x122f int64_t _fini(): 0x1240 0 rsp = rsp - 8 0x1244 1 rsp = rsp + 8 0x1248 2 <return> jump(pop)
POJ_104
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH E"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x20 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 rdi = 0x2007 {"%d\n"} 0x1166 5 rsi = rbp - 8 {var_10} 0x116a 6 al = 0 0x116c 7 call(0x1040) 0x1171 8 [rbp - 0xc {var_14}].d = 1 0x1178 9 rdi = 0x2004 {"%d\n%d\n"} 0x117f 10 rsi = rbp - 0x10 {var_18} 0x1183 11 rdx = rbp - 0x14 {var_1c} 0x1187 12 al = 0 0x1189 13 call(0x1040) 0x118e 14 eax = [rbp - 0x10 {var_18}].d 0x1194 15 if (eax s<= [rbp - 0x14 {var_1c}].d) then 16 @ 0x11ab else 21 @ 0x119a 0x11ab 16 eax = [rbp - 0x14 {var_1c}].d 0x11ae 17 [rbp - 0x1c {var_24}].d = eax 0x11b1 18 eax = [rbp - 0x10 {var_18}].d 0x11b4 19 [rbp - 0x20 {var_28}].d = eax 0x11b4 20 goto 26 @ 0x11b7 0x119a 21 eax = [rbp - 0x10 {var_18}].d 0x119d 22 [rbp - 0x1c {var_24}].d = eax 0x11a0 23 eax = [rbp - 0x14 {var_1c}].d 0x11a3 24 [rbp - 0x20 {var_28}].d = eax 0x11a6 25 goto 26 @ 0x11b7 0x11b7 26 goto 27 @ 0x11bc 0x11bc 27 eax = [rbp - 0xc {var_14}].d 0x11bf 28 ecx = [rbp - 8 {var_10}].d 0x11c2 29 ecx = ecx - 2 0x11c7 30 if (eax s> ecx) then 31 @ 0x1255 else 40 @ 0x11cd 0x1255 31 esi = [rbp - 0x1c {var_24}].d 0x1258 32 edx = [rbp - 0x20 {var_28}].d 0x125b 33 rdi = 0x200b {"%d\n%d"} 0x1262 34 al = 0 0x1264 35 call(0x1030) 0x1269 36 eax = 0 0x126b 37 rsp = rsp + 0x20 0x126f 38 rbp = pop 0x1270 39 <return> jump(pop) 0x11cd 40 rdi = 0x200e {"%d"} 0x11d4 41 rsi = rbp - 0x18 {var_20} 0x11d8 42 al = 0 0x11da 43 call(0x1040) 0x11df 44 eax = [rbp - 0x18 {var_20}].d 0x11e5 45 if (eax s<= [rbp - 0x1c {var_24}].d) then 46 @ 0x11fc else 48 @ 0x11eb 0x11fc 46 eax = [rbp - 0x18 {var_20}].d 0x1202 47 if (eax s>= [rbp - 0x1c {var_24}].d) then 53 @ 0x1225 else 55 @ 0x1208 0x11eb 48 eax = [rbp - 0x1c {var_24}].d 0x11ee 49 [rbp - 0x20 {var_28}].d = eax 0x11f1 50 eax = [rbp - 0x18 {var_20}].d 0x11f4 51 [rbp - 0x1c {var_24}].d = eax 0x11f7 52 goto 57 @ 0x1247 0x1225 53 eax = [rbp - 0x18 {var_20}].d 0x122b 54 if (eax s>= [rbp - 0x20 {var_28}].d) then 61 @ 0x123d else 62 @ 0x1231 0x1208 55 eax = [rbp - 0x18 {var_20}].d 0x120e 56 if (eax s<= [rbp - 0x20 {var_28}].d) then 53 @ 0x1225 else 67 @ 0x1214 0x1247 57 eax = [rbp - 0xc {var_14}].d 0x124a 58 eax = eax + 1 0x124d 59 [rbp - 0xc {var_14}].d = eax 0x1250 60 goto 27 @ 0x11bc 0x123d 61 goto 72 @ 0x1242 0x1231 62 eax = [rbp - 0x1c {var_24}].d 0x1234 63 [rbp - 0x1c {var_24}].d = eax 0x1237 64 eax = [rbp - 0x20 {var_28}].d 0x123a 65 [rbp - 0x20 {var_28}].d = eax 0x123a 66 goto 61 @ 0x123d 0x1214 67 eax = [rbp - 0x1c {var_24}].d 0x1217 68 [rbp - 0x1c {var_24}].d = eax 0x121a 69 eax = [rbp - 0x18 {var_20}].d 0x121d 70 [rbp - 0x20 {var_28}].d = eax 0x1220 71 goto 72 @ 0x1242 0x1242 72 goto 57 @ 0x1247 int64_t _fini(): 0x1278 0 rsp = rsp - 8 0x127c 1 rsp = rsp + 8 0x1280 2 <return> jump(pop)
POJ_84
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVSH="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(rbx) 0x1156 4 rsp = rsp - 0x3d18b8 0x115d 5 rdi = 0x2004 {"%d %d"} 0x1164 6 r15d = 0 0x1167 7 rsi = rsp + 8 {var_3d18d0} 0x116c 8 rdx = rsp + 0xc {var_3d18cc} 0x1171 9 eax = 0 0x1173 10 call(0x1040) 0x1178 11 r10d = [rsp + 8 {var_3d18d0}].d 0x1180 12 if (r10d s<= 0) then 13 @ 0x1340 else 15 @ 0x1186 0x1340 13 r10d = r10d * r10d 0x1347 14 if (r15d != r10d) then 19 @ 0x1357 else 26 @ 0x1349 0x1186 15 rbx = rsp + 0x10 {var_3d18c8} 0x118b 16 r14 = 0x2007 {"%d"} 0x1192 17 ebp = 0 0x119e 18 goto 30 @ 0x11a0 0x1357 19 eax = 0 0x1359 20 rsp = rsp + 0x3d18b8 0x1360 21 rbx = pop 0x1361 22 r14 = pop 0x1363 23 r15 = pop 0x1365 24 rbp = pop 0x1366 25 <return> jump(pop) 0x1349 26 rdi = 0x200e {"no"} 0x1350 27 eax = 0 0x1352 28 call(0x1030) 0x1352 29 goto 19 @ 0x1357 0x11a0 30 rdi = r14 0x11a3 31 rsi = rbx 0x11a6 32 eax = 0 0x11a8 33 call(0x1040) 0x11ad 34 rbp = rbp + 1 0x11b1 35 r10d = [rsp + 8 {var_3d18d0}].d 0x11b6 36 r9 = sx.q(r10d) 0x11b9 37 rbx = rbx + 4 0x11c0 38 if (rbp s< r9) then 30 @ 0x11a0 else 39 @ 0x11c5 0x11c5 39 if (r10d s<= 0) then 40 @ 0x133d else 42 @ 0x11cb 0x133d 40 r15d = 0 0x133d 41 goto 13 @ 0x1340 0x11cb 42 edx = r10d 0x11ce 43 edx = edx & 0xfffffffe 0x11d1 44 rbp = rsp + 0xfb0 {var_3d0928} 0x11d9 45 edi = 0 0x11db 46 goto 47 @ 0x11f5 0x11f5 47 if (r10d != 1) then 48 @ 0x1210 else 51 @ 0x11f7 0x1210 48 rsi = rbp 0x1213 49 ebx = 0 0x1215 50 goto 53 @ 0x1230 0x11f7 51 ecx = 0 0x11fd 52 if ((r10b & 1) != 0) then 55 @ 0x1291 else 56 @ 0x1203 0x1230 53 rcx = rbx 0x1236 54 if (rdi != rbx) then 57 @ 0x1250 else 62 @ 0x1238 0x1291 55 if (rcx == rdi) then 64 @ 0x11e0 else 67 @ 0x1297 0x1203 56 goto 64 @ 0x11e0 0x1250 57 ebx = [rsp + (rdi << 2) + 0x10].d 0x1254 58 ebx = ebx + [rsp + (rcx << 2) + 0x10].d 0x1258 59 [rsi].d = ebx 0x125a 60 rbx = rcx + 1 0x1261 61 if (rbx == rdi) then 74 @ 0x1220 else 77 @ 0x1263 0x1238 62 rbx = rcx + 1 0x123f 63 if (rbx == rdi) then 74 @ 0x1220 else 81 @ 0x1241 0x11e0 64 rdi = rdi + 1 0x11e4 65 rbp = rbp + 4 0x11eb 66 if (rdi == r10) then 82 @ 0x12bb else 47 @ 0x11f5 0x1297 67 eax = [rsp + (rdi << 2) + 0x10].d 0x129b 68 eax = eax + [rsp + (rcx << 2) + 0x10].d 0x129f 69 rcx = rcx * 0xfa0 0x12a6 70 rcx = rcx + rsp 0x12a9 71 rcx = rcx + 0xfb0 0x12b0 72 [rcx + (rdi << 2)].d = eax 0x12b3 73 goto 64 @ 0x11e0 0x1220 74 rsi = rsi + 0x1f40 0x1227 75 rbx = rbx + 1 0x122e 76 if (rbx == rdx) then 83 @ 0x1280 else 53 @ 0x1230 0x1263 77 eax = [rsp + (rdi << 2) + 0x10].d 0x1267 78 eax = eax + [rsp + (rcx << 2) + 0x14].d 0x126b 79 [rsi + 0xfa0].d = eax 0x1271 80 goto 74 @ 0x1220 0x1241 81 goto 77 @ 0x1263 0x12bb 82 if (r10d s<= 0) then 85 @ 0x1367 else 88 @ 0x12c1 0x1280 83 rcx = rcx + 2 0x1288 84 if ((r10b & 1) == 0) then 64 @ 0x11e0 else 55 @ 0x1291 0x1367 85 r15d = 0 0x136a 86 r10d = r10d * r10d 0x1371 87 if (r15d == r10d) then 26 @ 0x1349 else 96 @ 0x1373 0x12c1 88 edx = [rsp + 0xc {var_3d18cc}].d 0x12c5 89 r8d = r10d 0x12c8 90 r8d = neg.d(r8d) 0x12cb 91 r14d = 0 0x12ce 92 rbp = rsp + 0xfb0 {var_3d0928} 0x12d6 93 esi = 0 0x12d8 94 r15d = 0 0x12db 95 goto 97 @ 0x12f0 0x1373 96 goto 19 @ 0x1357 0x12f0 97 r15d = r15d + r10d 0x12f3 98 rdi = rbp 0x12f6 99 ebx = 0 0x12f8 100 goto 101 @ 0x1313 0x1313 101 if (rsi == rbx) then 102 @ 0x1300 else 105 @ 0x1317 0x1300 102 rbx = rbx + 1 0x1304 103 rdi = rdi + 0xfa0 0x130e 104 if (r10 == rbx) then 106 @ 0x12e0 else 101 @ 0x1313 0x1317 105 if ([rdi].d != edx) then 102 @ 0x1300 else 110 @ 0x1319 0x12e0 106 rsi = rsi + 1 0x12e4 107 rbp = rbp + 4 0x12e8 108 r14 = r14 + r8 0x12ee 109 if (rsi s>= r9) then 13 @ 0x1340 else 97 @ 0x12f0 0x1319 110 rdi = 0x200a {"yes"} 0x1320 111 eax = 0 0x1322 112 call(0x1030) 0x1327 113 r10d = [rsp + 8 {var_3d18d0}].d 0x132c 114 ebx = ebx - r14d 0x132f 115 r15d = ebx 0x1332 116 r10d = r10d * r10d 0x1339 117 if (r15d == r10d) then 26 @ 0x1349 else 118 @ 0x133b 0x133b 118 goto 19 @ 0x1357 int64_t _fini(): 0x137c 0 rsp = rsp - 8 0x1380 1 rsp = rsp + 8 0x1384 2 <return> jump(pop)
POJ_3
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSPH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 push(rax) 0x116b 7 rdi = 0x2004 {"%d"} 0x1172 8 rsi = rsp + 4 {var_38+0x4} 0x1177 9 eax = 0 0x1179 10 call(0x1040) 0x117e 11 r8d = [rsp + 4 {var_38+0x4}].d 0x1187 12 if (r8d s>= 6) then 13 @ 0x119a else 19 @ 0x1189 0x119a 13 ebx = 3 0x119f 14 r13d = 4 0x11a5 15 r12d = 0xfffffffe {""} 0x11ab 16 r15 = 0x2007 {"%d\n"} 0x11b2 17 r14d = 0 0x11b5 18 goto 28 @ 0x11e0 0x1189 19 eax = 0 0x118b 20 rsp = rsp + 8 0x118f 21 rbx = pop 0x1190 22 r12 = pop 0x1192 23 r13 = pop 0x1194 24 r14 = pop 0x1196 25 r15 = pop 0x1198 26 rbp = pop 0x1199 27 <return> jump(pop) 0x11e0 28 edi = 2 0x11ef 29 goto 30 @ 0x11f0 0x11f0 30 eax = ebx 0x11f2 31 edx = 0 0x11f4 32 temp2.d = edi 0x11f4 33 temp3.d = edx 0x11f4 34 temp4.d = eax 0x11f4 35 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x11f4 36 temp5.d = edx 0x11f4 37 temp6.d = eax 0x11f4 38 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x11f4 39 eax = temp0.d 0x11f4 40 edx = temp1.d 0x11f8 41 if (edx == 0) then 42 @ 0x1210 else 45 @ 0x11fa 0x1210 42 ecx = r8d 0x1213 43 ecx = ecx - ebx 0x1218 44 if (ecx s< 2) then 51 @ 0x11c0 else 62 @ 0x121a 0x11fa 45 eax = (r14 + rdi).d 0x11fe 46 eax = eax + 1 0x1201 47 ecx = edi 0x1203 48 ecx = ecx + 1 0x1206 49 edi = ecx 0x120b 50 if (eax != 4) then 30 @ 0x11f0 else 67 @ 0x120d 0x11c0 51 eax = (rbx + 1).d 0x11c3 52 ecx = r8d 0x11c6 53 ecx = ecx u>> 0x1f 0x11c9 54 ecx = ecx + r8d 0x11cc 55 ecx = ecx s>> 1 0x11ce 56 r13d = r13d + 1 0x11d2 57 r12d = r12d - 1 0x11d6 58 r14d = r14d - 1 0x11da 59 cond:0 = ebx s>= ecx 0x11dc 60 ebx = eax 0x11de 61 if (cond:0) then 19 @ 0x1189 else 28 @ 0x11e0 0x121a 62 r9d = (r8 + r12).d 0x121e 63 ebp = r13d 0x1221 64 ebp = ebp - r8d 0x1224 65 esi = 2 0x1229 66 goto 69 @ 0x1230 0x120d 67 edi = r13d 0x120d 68 goto 42 @ 0x1210 0x1230 69 eax = ecx 0x1232 70 temp7.d:temp8.d = sx.q(eax) 0x1232 71 edx = temp7.d 0x1232 72 eax = temp8.d 0x1233 73 temp9.d = edx 0x1233 74 temp10.d = eax 0x1233 75 temp0.d = divs.dp.d(temp9.d:temp10.d, esi) 0x1233 76 temp11.d = edx 0x1233 77 temp12.d = eax 0x1233 78 temp1.d = mods.dp.d(temp11.d:temp12.d, esi) 0x1233 79 eax = temp0.d 0x1233 80 edx = temp1.d 0x1237 81 if (edx == 0) then 82 @ 0x1250 else 83 @ 0x1239 0x1250 82 if (ebx != edi) then 51 @ 0x11c0 else 89 @ 0x1258 0x1239 83 eax = (rsi + rbp).d 0x123c 84 eax = eax + 1 0x123f 85 edx = esi 0x1241 86 edx = edx + 1 0x1244 87 esi = edx 0x1249 88 if (eax != 2) then 69 @ 0x1230 else 90 @ 0x124b 0x1258 89 if (ecx != esi) then 51 @ 0x11c0 else 92 @ 0x125e 0x124b 90 esi = r9d 0x124b 91 goto 82 @ 0x1250 0x125e 92 rdi = 0x2004 {"%d"} 0x1265 93 esi = ebx 0x1267 94 eax = 0 0x1269 95 call(0x1030) 0x126e 96 edi = 0x20 {"@"} 0x1273 97 call(0x1050) 0x1278 98 esi = [rsp + 4 {var_38+0x4}].d 0x127c 99 esi = esi - ebx 0x127e 100 rdi = r15 0x1281 101 eax = 0 0x1283 102 call(0x1030) 0x1288 103 r8d = [rsp + 4 {var_38+0x4}].d 0x128d 104 goto 51 @ 0x11c0 int64_t _fini(): 0x1298 0 rsp = rsp - 8 0x129c 1 rsp = rsp + 8 0x12a0 2 <return> jump(pop)
POJ_43
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 uint64_t strlen(char const* arg1): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) char* gets(char* buf): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVATSHx"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 rsp = rsp - 0xf78f8 0x116e 5 ebx = 0 0x1170 6 r14 = rsp + 0xfa0 {var_f6978} 0x1178 7 rdi = r14 {var_f6978} 0x117b 8 eax = 0 0x117d 9 call(0x1040) 0x1182 10 rdi = r14 {var_f6978} 0x1185 11 call(0x1030) 0x118a 12 r9d = 1 0x1190 13 r8d = 1 0x1199 14 if (rax == 0) then 15 @ 0x131e else 16 @ 0x11a3 0x131e 15 if (r8d u>= 2) then 17 else 19 @ 0x1322 0x11a3 16 if (rax u>= 8) then 23 @ 0x11b2 else 30 @ 0x11a5 0x131e 17 r9d = r8d 0x131e 18 goto 19 @ 0x1322 0x1322 19 r10 = rsp + 0x36b0 {var_f4268} 0x132a 20 edi = 0 0x132c 21 esi = 0 0x132e 22 goto 33 @ 0x134a 0x11b2 23 rdx = rax 0x11b5 24 rdx = rdx & 0xfffffffffffffff8 0x11b9 25 rcx = rdx - 8 0x11bd 26 r8 = rcx 0x11c0 27 r8 = r8 u>> 3 0x11c4 28 r8 = r8 + 1 0x11cb 29 if (rcx == 0) then 35 @ 0x12eb else 39 @ 0x11d1 0x11a5 30 r8d = 1 0x11ab 31 edx = 0 0x11ad 32 goto 47 @ 0x1301 0x134a 33 rcx = sx.q(esi) 0x1350 34 if (rax u<= rcx) then 52 @ 0x133a else 55 @ 0x1352 0x12eb 35 xmm0 = 0 0x12ef 36 xmm1 = [0x2010].o 0x12f7 37 edi = 0 0x12fd 38 if ((r8b & 1) != 0) then 58 @ 0x1284 else 73 @ 0x12ff 0x11d1 39 rsi = r8 0x11d4 40 rsi = rsi & 0xfffffffffffffffe 0x11d8 41 xmm0 = 0 0x11dc 42 xmm1 = [0x2010].o 0x11e4 43 edi = 0 0x11e6 44 xmm2 = [0x2020].o 0x11ee 45 xmm3 = [0x2030].o 0x11f6 46 goto 74 @ 0x1200 0x1301 47 ecx = 0 0x130b 48 cl = [rsp + rdx + 0xfa0].b == 0x20 0x130e 49 r8d = r8d + ecx 0x1311 50 rdx = rdx + 1 0x1311 51 goto 102 @ 0x1318 0x133a 52 rdi = rdi + 1 0x133e 53 r10 = r10 + 0x3e8 0x1348 54 if (rdi == r9) then 103 @ 0x1388 else 33 @ 0x134a 0x1352 55 rsi = sx.q(ebx) 0x1355 56 rsi = rsi + r10 0x1358 57 goto 104 @ 0x1360 0x1284 58 xmm2 = [rsp + rdi + 0xfa0].q 0x128d 59 xmm3 = [rsp + rdi + 0xfa4].d 0x1296 60 xmm4 = [0x2020].o 0x129e 61 xmm2 = _mm_cmpeq_epi8(xmm2, xmm4) 0x12a2 62 xmm2 = _mm_unpacklo_epi8(xmm2, xmm2.q) 0x12a6 63 xmm2 = _mm_unpacklo_epi16(xmm2, xmm2.q) 0x12aa 64 xmm5 = [0x2030].o 0x12b2 65 xmm2 = xmm2 & xmm5 0x12b6 66 xmm1 = _mm_add_epi32(xmm1, xmm2) 0x12ba 67 xmm3 = _mm_cmpeq_epi8(xmm3, xmm4) 0x12be 68 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q) 0x12c2 69 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q) 0x12c6 70 xmm3 = xmm3 & xmm5 0x12ca 71 xmm0 = _mm_add_epi32(xmm0, xmm3) 0x12ca 72 goto 106 @ 0x12ce 0x12ff 73 goto 106 @ 0x12ce 0x1200 74 xmm4 = [rsp + rdi + 0xfa4].d 0x1209 75 xmm5 = [rsp + rdi + 0xfa0].o 0x1212 76 xmm5 = _mm_cmpeq_epi8(xmm5, xmm2) 0x1216 77 xmm5 = _mm_unpacklo_epi8(xmm5, xmm5.q) 0x121a 78 xmm5 = _mm_unpacklo_epi16(xmm5, xmm5.q) 0x121e 79 xmm5 = xmm5 & xmm3 0x1222 80 xmm5 = _mm_add_epi32(xmm5, xmm1) 0x1226 81 xmm4 = _mm_cmpeq_epi8(xmm4, xmm2) 0x122a 82 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q) 0x122e 83 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q) 0x1232 84 xmm4 = xmm4 & xmm3 0x1236 85 xmm4 = _mm_add_epi32(xmm4, xmm0) 0x123a 86 xmm1 = [rsp + rdi + 0xfa8].q 0x1243 87 xmm0 = [rsp + rdi + 0xfac].d 0x124c 88 xmm1 = _mm_cmpeq_epi8(xmm1, xmm2) 0x1250 89 xmm1 = _mm_unpacklo_epi8(xmm1, xmm1.q) 0x1254 90 xmm1 = _mm_unpacklo_epi16(xmm1, xmm1.q) 0x1258 91 xmm1 = xmm1 & xmm3 0x125c 92 xmm1 = _mm_add_epi32(xmm1, xmm5) 0x1260 93 xmm0 = _mm_cmpeq_epi8(xmm0, xmm2) 0x1264 94 xmm0 = _mm_unpacklo_epi8(xmm0, xmm0.q) 0x1268 95 xmm0 = _mm_unpacklo_epi16(xmm0, xmm0.q) 0x126c 96 xmm0 = xmm0 & xmm3 0x1270 97 xmm0 = _mm_add_epi32(xmm0, xmm4) 0x1274 98 rdi = rdi + 0x10 0x1278 99 temp0.q = rsi 0x1278 100 rsi = rsi - 2 0x127c 101 if (temp0.q != 2) then 74 @ 0x1200 else 113 @ 0x1282 0x1318 102 if (rax != rdx) then 47 @ 0x1301 else 15 @ 0x131e 0x1388 103 if (r8d s< 2) then 114 @ 0x13f5 else 116 @ 0x138a 0x1360 104 edx = zx.d([rsp + rcx + 0xfa0].b) 0x136b 105 if (dl == 0x20) then 122 @ 0x1330 else 126 @ 0x136d 0x12ce 106 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x12d2 107 xmm0 = _mm_shuffle_epi32(xmm1, 0xee) 0x12d7 108 xmm0 = _mm_add_epi32(xmm0, xmm1) 0x12db 109 xmm1 = _mm_shuffle_epi32(xmm0, 0x55) 0x12e0 110 xmm1 = _mm_add_epi32(xmm1, xmm0) 0x12e4 111 r8d = xmm1.d 0x12e9 112 goto 102 @ 0x1318 0x1282 113 if ((r8b & 1) == 0) then 106 @ 0x12ce else 58 @ 0x1284 0x13f5 114 r14d = [rsp {var_f7918}].d 0x13fc 115 if (r14d s<= 0) then 132 @ 0x1416 else 138 @ 0x13fe 0x138a 116 r14d = r8d 0x138d 117 rax = r14 * 0x3e8 0x1394 118 rcx = rsp + 0x36b0 {var_f4268} 0x139c 119 r15 = rax + rcx 0x13a0 120 r15 = r15 - 0x3e8 0x13a7 121 goto 140 @ 0x13ce 0x1330 122 [rsp + (rdi << 2)].d = ebx 0x1333 123 ecx = ecx + 1 0x1336 124 ebx = 0 0x1336 125 goto 142 @ 0x1338 0x136d 126 [rsi].b = dl 0x136f 127 ebx = ebx + 1 0x1372 128 [rsp + (rdi << 2)].d = ebx 0x1375 129 rcx = rcx + 1 0x1379 130 rsi = rsi + 1 0x1380 131 if (rax u> rcx) then 104 @ 0x1360 else 144 @ 0x1382 0x1416 132 rsp = rsp + 0xf78f8 0x141d 133 rbx = pop 0x141e 134 r12 = pop 0x1420 135 r14 = pop 0x1422 136 r15 = pop 0x1424 137 <return> jump(pop) 0x13fe 138 ebx = 0 0x13fe 139 goto 145 @ 0x1400 0x13ce 140 r12d = [rsp + (r14 << 2) - 4].d 0x13d6 141 if (r12d s<= 0) then 149 @ 0x13b0 else 156 @ 0x13d8 0x1338 142 esi = ecx 0x1338 143 goto 52 @ 0x133a 0x1382 144 goto 142 @ 0x1338 0x1400 145 edi = sx.d([rsp + rbx + 0x36b0].b) 0x1408 146 call(0x1050) 0x140d 147 rbx = rbx + 1 0x1414 148 if (r14 != rbx) then 145 @ 0x1400 else 132 @ 0x1416 0x13b0 149 rbx = r14 - 1 0x13b4 150 edi = 0x20 {"@"} 0x13b9 151 call(0x1050) 0x13be 152 r15 = r15 - 0x3e8 0x13c5 153 cond:0 = r14 s<= 2 0x13c9 154 r14 = rbx 0x13cc 155 if (cond:0) then 114 @ 0x13f5 else 140 @ 0x13ce 0x13d8 156 ebx = 0 0x13da 157 goto 158 @ 0x13e0 0x13e0 158 edi = sx.d([r15 + rbx].b) 0x13e5 159 call(0x1050) 0x13ea 160 rbx = rbx + 1 0x13f1 161 if (r12 != rbx) then 158 @ 0x13e0 else 162 @ 0x13f3 0x13f3 162 goto 149 @ 0x13b0 int64_t _fini(): 0x142c 0 rsp = rsp - 8 0x1430 1 rsp = rsp + 8 0x1434 2 <return> jump(pop)
POJ_23
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AWAVATSHhH="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r15) 0x1162 1 push(r14) 0x1164 2 push(r12) 0x1166 3 push(rbx) 0x1167 4 rsp = rsp - 0x68 0x116b 5 rdi = 0x2004 {"%d"} 0x1172 6 rsi = rsp + 0xc {var_7c} 0x1177 7 eax = 0 0x1179 8 call(0x1040) 0x1183 9 if ([rsp + 0xc {var_7c}].d s<= 0) then 10 @ 0x125d else 12 @ 0x1189 0x125d 10 xmm0 = zx.o([0x4048].q) 0x125d 11 goto 17 @ 0x1265 0x1189 12 r14 = rsp + 0x10 {var_78} 0x118e 13 r12 = rsp + 0x40 {var_48} 0x1193 14 r15 = 0x2007 {"%f%f"} 0x119a 15 ebx = 0 0x119c 16 goto 25 @ 0x11a0 0x1265 17 xmm1 = 0 0x1268 18 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x1268 19 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1268 20 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x1268 21 flag:s = 0 0x1268 22 flag:o = 0 0x1268 23 flag:a = 0 0x126c 24 if (flag:c) then 35 @ 0x1274 else 37 @ 0x126e 0x11a0 25 rdi = r15 0x11a3 26 rsi = r12 0x11a6 27 rdx = r14 0x11a9 28 eax = 0 0x11ab 29 call(0x1040) 0x11b0 30 rbx = rbx + 1 0x11b4 31 rax = sx.q([rsp + 0xc {var_7c}].d) 0x11b9 32 r14 = r14 + 4 0x11bd 33 r12 = r12 + 4 0x11c4 34 if (rbx s< rax) then 25 @ 0x11a0 else 39 @ 0x11c6 0x1274 35 call(0x1050) 0x1274 36 goto 42 @ 0x1279 0x126e 37 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1272 38 goto 42 @ 0x1279 0x11c6 39 r8d = eax 0x11c9 40 xmm0 = zx.o([0x4048].q) 0x11d4 41 if (r8d s<= 0) then 17 @ 0x1265 else 51 @ 0x11da 0x1279 42 rdi = 0x200c {"%.4lf"} 0x1280 43 al = 1 0x1282 44 call(0x1030) 0x1287 45 rsp = rsp + 0x68 0x128b 46 rbx = pop 0x128c 47 r12 = pop 0x128e 48 r14 = pop 0x1290 49 r15 = pop 0x1292 50 <return> jump(pop) 0x11da 51 rcx = rsp + 0x10 {var_78} 0x11df 52 rdx = rsp + 0x40 {var_48} 0x11e4 53 eax = 0 0x11e6 54 rsi = r8 0x11e9 55 goto 56 @ 0x1201 0x1201 56 rdi = rax 0x1204 57 rax = rax + 1 0x120b 58 if (rax u>= r8) then 59 @ 0x11f0 else 63 @ 0x120d 0x11f0 59 rcx = rcx + 4 0x11f4 60 rdx = rdx + 4 0x11f8 61 rsi = rsi - 1 0x11ff 62 if (rax == r8) then 17 @ 0x1265 else 56 @ 0x1201 0x120d 63 xmm1 = [rsp + (rdi << 2) + 0x40].d 0x1213 64 xmm2 = [rsp + (rdi << 2) + 0x10].d 0x1219 65 ebx = 1 0x121e 66 goto 67 @ 0x1229 0x1229 67 xmm3 = xmm1 0x122c 68 xmm3.d = xmm3.d f- fconvert.t([rdx + (rbx << 2)].d) 0x1231 69 xmm4 = xmm2 0x1234 70 xmm4.d = xmm4.d f- fconvert.t([rcx + (rbx << 2)].d) 0x1239 71 xmm4.d = xmm4.d f* xmm4.d 0x123d 72 xmm3.d = xmm3.d f* xmm3.d 0x1241 73 xmm3.d = xmm3.d f+ xmm4.d 0x1245 74 xmm3.q = fconvert.d(xmm3.d) 0x1249 75 flag:p = is_unordered.q(xmm3.q, xmm0.q) 0x1249 76 flag:c = xmm3.q f< xmm0.q | is_unordered.q(xmm3.q, xmm0.q) 0x1249 77 flag:z = xmm3.q f== xmm0.q | is_unordered.q(xmm3.q, xmm0.q) 0x1249 78 flag:s = 0 0x1249 79 flag:o = 0 0x1249 80 flag:a = 0 0x124d 81 if (flag:z || flag:c) then 82 @ 0x1220 else 84 @ 0x124f 0x1220 82 rbx = rbx + 1 0x1227 83 if (rsi == rbx) then 59 @ 0x11f0 else 67 @ 0x1229 0x124f 84 [0x4048].q = xmm3.q 0x1257 85 xmm0 = xmm3 0x125b 86 goto 82 @ 0x1220 int64_t distance(double arg1 @ zmm0, float arg2 @ zmm1, int32_t arg3 @ zmm2, float arg4 @ zmm3): 0x12a0 0 xmm0.d = xmm0.d f- xmm2.d 0x12a4 1 xmm1.d = xmm1.d f- xmm3.d 0x12a8 2 xmm1.d = xmm1.d f* xmm1.d 0x12ac 3 xmm0.d = xmm0.d f* xmm0.d 0x12b0 4 xmm0.d = xmm0.d f+ xmm1.d 0x12b4 5 xmm0.q = fconvert.d(xmm0.d) 0x12b8 6 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x4048].q)) 0x12b8 7 flag:c = xmm0.q f< fconvert.t([0x4048].q) | is_unordered.q(xmm0.q, fconvert.t([0x4048].q)) 0x12b8 8 flag:z = xmm0.q f== fconvert.t([0x4048].q) | is_unordered.q(xmm0.q, fconvert.t([0x4048].q)) 0x12b8 9 flag:s = 0 0x12b8 10 flag:o = 0 0x12b8 11 flag:a = 0 0x12c0 12 if (flag:z || flag:c) then 13 @ 0x12ca else 14 @ 0x12c2 0x12ca 13 <return> jump(pop) 0x12c2 14 [0x4048].q = xmm0.q 0x12c2 15 goto 13 @ 0x12ca int64_t _fini(): 0x12d0 0 rsp = rsp - 8 0x12d4 1 rsp = rsp + 8 0x12d8 2 <return> jump(pop)
POJ_70
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0x1a0 0x115c 4 rdi = 0x2004 {"%d"} 0x1163 5 rsi = rsp + 0xc {var_1ac} 0x1168 6 eax = 0 0x116a 7 call(0x1040) 0x116f 8 rax = sx.q([rsp + 0xc {var_1ac}].d) 0x1178 9 if (rax s< 2) then 10 @ 0x11b5 else 12 @ 0x117a 0x11b5 10 rax = rax - 1 0x11b5 11 goto 16 @ 0x11b9 0x117a 12 r15 = rsp + 0x10 {var_1a8} 0x117f 13 r14 = 0x2007 {"%d "} 0x1186 14 ebx = 0 0x1188 15 goto 23 @ 0x1190 0x11b9 16 rsi = rsp + (rax << 2) 0x11bd 17 rsi = rsi + 0x10 0x11c1 18 rdi = 0x2004 {"%d"} 0x11c8 19 eax = 0 0x11ca 20 call(0x1040) 0x11cf 21 rax = sx.q([rsp + 0xc {var_1ac}].d) 0x11d8 22 if (rax s< 2) then 32 @ 0x1242 else 34 @ 0x11da 0x1190 23 rdi = r14 0x1193 24 rsi = r15 0x1196 25 eax = 0 0x1198 26 call(0x1040) 0x119d 27 rbx = rbx + 1 0x11a1 28 rax = sx.q([rsp + 0xc {var_1ac}].d) 0x11a6 29 rax = rax - 1 0x11aa 30 r15 = r15 + 4 0x11b1 31 if (rbx s< rax) then 23 @ 0x1190 else 38 @ 0x11b3 0x1242 32 rax = rax - 1 0x1242 33 goto 39 @ 0x1246 0x11da 34 ecx = eax 0x11dc 35 rdx = rcx - 2 0x11e0 36 esi = 0 0x11ec 37 goto 49 @ 0x11f0 0x11b3 38 goto 16 @ 0x11b9 0x1246 39 esi = [rsp + (rax << 2) + 0x10].d 0x124a 40 rdi = 0x2004 {"%d"} 0x1251 41 eax = 0 0x1253 42 call(0x1030) 0x1258 43 eax = 0 0x125a 44 rsp = rsp + 0x1a0 0x1261 45 rbx = pop 0x1262 46 r14 = pop 0x1264 47 r15 = pop 0x1266 48 <return> jump(pop) 0x11f0 49 edi = [rsp + (rdx << 2) + 0x14].d 0x11f4 50 ebx = [rsp + (rsi << 2) + 0x10].d 0x11f8 51 [rsp + (rdx << 2) + 0x14].d = ebx 0x11fc 52 [rsp + (rsi << 2) + 0x10].d = edi 0x1200 53 rsi = rsi + 1 0x1204 54 rdi = rdx - 1 0x1208 55 cond:0 = rsi s< rdx 0x120b 56 rdx = rdi 0x120e 57 if (cond:0) then 49 @ 0x11f0 else 58 @ 0x1213 0x1213 58 if (ecx s< 2) then 32 @ 0x1242 else 59 @ 0x1215 0x1215 59 r14 = 0x2007 {"%d "} 0x121c 60 ebx = 0 0x121e 61 goto 62 @ 0x1220 0x1220 62 esi = [rsp + (rbx << 2) + 0x10].d 0x1224 63 rdi = r14 0x1227 64 eax = 0 0x1229 65 call(0x1030) 0x122e 66 rbx = rbx + 1 0x1232 67 rax = sx.q([rsp + 0xc {var_1ac}].d) 0x1237 68 rax = rax - 1 0x123e 69 if (rbx s< rax) then 62 @ 0x1220 else 70 @ 0x1240 0x1240 70 goto 39 @ 0x1246 int64_t _fini(): 0x126c 0 rsp = rsp - 8 0x1270 1 rsp = rsp + 8 0x1274 2 <return> jump(pop)
POJ_47
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t getchar(): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAVSHH="} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r14) 0x1173 2 push(rbx) 0x1174 3 rsp = rsp - 0x10 0x1178 4 rdi = 0x2004 {"%d"} 0x117f 5 rsi = rsp + 0xc {var_1c} 0x1184 6 eax = 0 0x1186 7 call(0x1050) 0x118b 8 esi = [rsp + 0xc {var_1c}].d 0x1192 9 if (esi != 1) then 10 @ 0x11b9 else 13 @ 0x1194 0x11b9 10 r14 = 0x2007 {"%d*3+1=%d\n"} 0x11c0 11 rbx = 0x2012 {"%d/2=%d\n"} 0x11c7 12 goto 25 @ 0x11e9 0x1194 13 rdi = 0x201b {"End"} 0x119b 14 call(0x1060) 0x11a0 15 eax = 0 0x11a2 16 call(0x1040) 0x11a7 17 eax = 0 0x11a9 18 call(0x1040) 0x11ae 19 eax = 0 0x11b0 20 rsp = rsp + 0x10 0x11b4 21 rbx = pop 0x11b5 22 r14 = pop 0x11b7 23 rbp = pop 0x11b8 24 <return> jump(pop) 0x11e9 25 ebp = esi 0x11eb 26 ebp = ebp u>> 0x1f 0x11ee 27 ebp = ebp + esi 0x11f0 28 eax = ebp 0x11f2 29 eax = eax & 0xfffffffe 0x11f5 30 ecx = esi 0x11f7 31 ecx = ecx - eax 0x11fc 32 if (ecx != 1) then 33 @ 0x11d0 else 36 @ 0x11fe 0x11d0 33 ebp = ebp s>> 1 0x11d2 34 rdi = rbx 0x11d2 35 goto 40 @ 0x11d5 0x11fe 36 ebp = (rsi + (rsi << 1)).d 0x1201 37 ebp = ebp + 1 0x1204 38 rdi = r14 0x1207 39 goto 40 @ 0x11d5 0x11d5 40 edx = ebp 0x11d7 41 eax = 0 0x11d9 42 call(0x1030) 0x11de 43 esi = ebp 0x11e0 44 [rsp + 0xc {var_1c}].d = ebp 0x11e7 45 if (ebp == 1) then 13 @ 0x1194 else 25 @ 0x11e9 int64_t _fini(): 0x1210 0 rsp = rsp - 8 0x1214 1 rsp = rsp + 8 0x1218 2 <return> jump(pop)
POJ_34
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0x1a0 0x115c 4 r14 = 0x2004 {"%d"} 0x1163 5 rsi = rsp + 0xc {var_1ac} 0x1168 6 rdi = r14 0x116b 7 eax = 0 0x116d 8 call(0x1040) 0x1172 9 r15 = rsp + 0x10 {var_1a8} 0x1177 10 ebx = 0 0x1179 11 goto 12 @ 0x1180 0x1180 12 rdi = r14 0x1183 13 rsi = r15 0x1186 14 eax = 0 0x1188 15 call(0x1040) 0x118d 16 rbx = rbx + 1 0x1191 17 rax = sx.q([rsp + 0xc {var_1ac}].d) 0x1196 18 r15 = r15 + 4 0x119d 19 if (rbx s< rax) then 12 @ 0x1180 else 20 @ 0x119f 0x119f 20 eax = eax 0x11a1 21 ebx = [rsp + 0x10 {var_1a8}].d 0x11a8 22 if (eax s< 2) then 23 @ 0x1322 else 30 @ 0x11ae 0x1322 23 rdi = 0x2004 {"%d"} 0x1329 24 esi = ebx 0x132b 25 eax = 0 0x132d 26 call(0x1030) 0x1332 27 esi = [rsp + 0x10 {var_1a8}].d 0x1336 28 ecx = [rsp + 0xc {var_1ac}].d 0x133d 29 if (ecx s< 2) then 33 @ 0x13e8 else 42 @ 0x1343 0x11ae 30 rdx = rax - 1 0x11b2 31 ecx = 1 0x11bb 32 if (rdx u< 8) then 47 @ 0x1310 else 49 @ 0x11c1 0x13e8 33 rdi = 0x2007 {"\n%d\n"} 0x13ef 34 eax = 0 0x13f1 35 call(0x1030) 0x13f6 36 eax = 0 0x13f8 37 rsp = rsp + 0x1a0 0x13ff 38 rbx = pop 0x1400 39 r14 = pop 0x1402 40 r15 = pop 0x1404 41 <return> jump(pop) 0x1343 42 r9 = rcx - 1 0x1347 43 rcx = rcx - 2 0x134b 44 r8d = r9d 0x134e 45 r8d = r8d & 3 0x1356 46 if (rcx u>= 3) then 58 @ 0x1367 else 61 @ 0x1358 0x1310 47 edx = [rsp + (rcx << 2) + 0x10].d 0x1316 48 if (edx s> ebx) then 63 else 65 @ 0x1319 0x11c1 49 rcx = rdx 0x11c4 50 rcx = rcx & 0xfffffffffffffff8 0x11c8 51 xmm0 = ebx 0x11cc 52 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x11d1 53 rsi = rcx - 8 0x11d5 54 rbx = rsi 0x11d8 55 rbx = rbx u>> 3 0x11dc 56 rbx = rbx + 1 0x11e3 57 if (rsi == 0) then 67 @ 0x1405 else 70 @ 0x11e9 0x1367 58 r9 = r9 & 0xfffffffffffffffc 0x136b 59 ecx = 0 0x136d 60 goto 75 @ 0x1370 0x1358 61 ecx = 1 0x1360 62 if (r8 != 0) then 79 @ 0x13c2 else 83 @ 0x1362 0x1316 63 ebx = edx 0x1316 64 goto 65 @ 0x1319 0x1319 65 rcx = rcx + 1 0x1320 66 if (rax != rcx) then 47 @ 0x1310 else 23 @ 0x1322 0x1405 67 edi = 1 0x140a 68 xmm1 = xmm0 0x1411 69 if ((bl & 1) != 0) then 84 @ 0x1277 else 99 @ 0x1417 0x11e9 70 rsi = rbx 0x11ec 71 rsi = rsi & 0xfffffffffffffffe 0x11f0 72 edi = 1 0x11f5 73 xmm1 = xmm0 0x11f9 74 goto 100 @ 0x1200 0x1370 75 edi = [rsp + (rcx << 2) + 0x14].d 0x1374 76 cond:0 = edi s< ebx 0x1376 77 eax = esi 0x1378 78 if (cond:0) then 128 else 130 @ 0x137d 0x13c2 79 rcx = rsp + (rcx << 2) 0x13c6 80 rcx = rcx + 0x10 0x13ca 81 edx = 0 0x13cc 82 goto 131 @ 0x13d0 0x1362 83 goto 33 @ 0x13e8 0x1277 84 xmm2 = [rsp + (rdi << 2) + 0x10].o 0x127d 85 xmm3 = [rsp + (rdi << 2) + 0x20].o 0x1283 86 xmm4 = xmm2 0x1287 87 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0) 0x128b 88 xmm2 = xmm2 & xmm4 0x128f 89 xmm4 = xmm4 & not.o(xmm0) 0x1293 90 xmm4 = xmm4 | xmm2 0x1297 91 xmm2 = xmm3 0x129b 92 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x129f 93 xmm3 = xmm3 & xmm2 0x12a3 94 xmm2 = xmm2 & not.o(xmm1) 0x12a7 95 xmm2 = xmm2 | xmm3 0x12ab 96 xmm0 = xmm4 0x12af 97 xmm1 = xmm2 0x12af 98 goto 135 @ 0x12b3 0x1417 99 goto 135 @ 0x12b3 0x1200 100 xmm2 = [rsp + (rdi << 2) + 0x10].o 0x1206 101 xmm3 = [rsp + (rdi << 2) + 0x20].o 0x120c 102 xmm4 = [rsp + (rdi << 2) + 0x30].o 0x1212 103 xmm5 = [rsp + (rdi << 2) + 0x40].o 0x1218 104 xmm6 = xmm2 0x121c 105 xmm6 = _mm_cmpgt_epi32(xmm6, xmm0) 0x1220 106 xmm2 = xmm2 & xmm6 0x1224 107 xmm6 = xmm6 & not.o(xmm0) 0x1228 108 xmm6 = xmm6 | xmm2 0x122c 109 xmm2 = xmm3 0x1230 110 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x1234 111 xmm3 = xmm3 & xmm2 0x1238 112 xmm2 = xmm2 & not.o(xmm1) 0x123c 113 xmm2 = xmm2 | xmm3 0x1240 114 xmm0 = xmm4 0x1244 115 xmm0 = _mm_cmpgt_epi32(xmm0, xmm6) 0x1248 116 xmm4 = xmm4 & xmm0 0x124c 117 xmm0 = xmm0 & not.o(xmm6) 0x1250 118 xmm0 = xmm0 | xmm4 0x1254 119 xmm1 = xmm5 0x1258 120 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2) 0x125c 121 xmm5 = xmm5 & xmm1 0x1260 122 xmm1 = xmm1 & not.o(xmm2) 0x1264 123 xmm1 = xmm1 | xmm5 0x1268 124 rdi = rdi + 0x10 0x126c 125 temp0.q = rsi 0x126c 126 rsi = rsi - 2 0x1270 127 if (temp0.q != 2) then 100 @ 0x1200 else 154 @ 0x1275 0x1378 128 eax = edi 0x1378 129 goto 130 @ 0x137d 0x137d 130 if (edi s< esi) then 155 else 157 @ 0x1380 0x13d0 131 eax = [rcx + (rdx << 2)].d 0x13d3 132 cond:4 = eax s< ebx 0x13d5 133 edi = esi 0x13d7 134 if (cond:4) then 161 else 163 @ 0x13dc 0x12b3 135 xmm2 = xmm0 0x12b7 136 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x12bb 137 xmm0 = xmm0 & xmm2 0x12bf 138 xmm2 = xmm2 & not.o(xmm1) 0x12c3 139 xmm2 = xmm2 | xmm0 0x12c7 140 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x12cc 141 xmm1 = xmm2 0x12d0 142 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0) 0x12d4 143 xmm2 = xmm2 & xmm1 0x12d8 144 xmm1 = xmm1 & not.o(xmm0) 0x12dc 145 xmm1 = xmm1 | xmm2 0x12e0 146 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x12e5 147 xmm2 = xmm1 0x12e9 148 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x12ed 149 xmm1 = xmm1 & xmm2 0x12f1 150 xmm2 = xmm2 & not.o(xmm0) 0x12f5 151 xmm2 = xmm2 | xmm1 0x12f9 152 ebx = xmm2.d 0x1300 153 if (rdx == rcx) then 23 @ 0x1322 else 164 @ 0x1302 0x1275 154 if ((bl & 1) == 0) then 135 @ 0x12b3 else 84 @ 0x1277 0x137d 155 eax = esi 0x137d 156 goto 157 @ 0x1380 0x1380 157 esi = [rsp + (rcx << 2) + 0x18].d 0x1384 158 cond:1 = esi s< ebx 0x1386 159 edi = eax 0x1388 160 if (cond:1) then 166 else 168 @ 0x138d 0x13d7 161 edi = eax 0x13d7 162 goto 163 @ 0x13dc 0x13dc 163 if (eax s>= esi) then 169 else 171 @ 0x13df 0x1302 164 rcx = rcx | 1 0x1306 165 goto 47 @ 0x1310 0x1388 166 edi = esi 0x1388 167 goto 168 @ 0x138d 0x138d 168 if (esi s< eax) then 173 else 175 @ 0x1390 0x13dc 169 esi = edi 0x13dc 170 goto 171 @ 0x13df 0x13df 171 rdx = rdx + 1 0x13e6 172 if (r8 != rdx) then 131 @ 0x13d0 else 33 @ 0x13e8 0x138d 173 edi = eax 0x138d 174 goto 175 @ 0x1390 0x1390 175 eax = [rsp + (rcx << 2) + 0x1c].d 0x1394 176 cond:2 = eax s< ebx 0x1396 177 edx = edi 0x1398 178 if (cond:2) then 179 else 181 @ 0x139d 0x1398 179 edx = eax 0x1398 180 goto 181 @ 0x139d 0x139d 181 if (eax s< edi) then 182 else 184 @ 0x13a0 0x139d 182 edx = edi 0x139d 183 goto 184 @ 0x13a0 0x13a0 184 eax = [rsp + (rcx << 2) + 0x20].d 0x13a4 185 cond:3 = eax s< ebx 0x13a6 186 esi = edx 0x13a8 187 if (cond:3) then 188 else 190 @ 0x13ad 0x13a8 188 esi = eax 0x13a8 189 goto 190 @ 0x13ad 0x13ad 190 if (eax s< edx) then 191 else 193 @ 0x13b0 0x13ad 191 esi = edx 0x13ad 192 goto 193 @ 0x13b0 0x13b0 193 rcx = rcx + 4 0x13b7 194 if (r9 != rcx) then 75 @ 0x1370 else 195 @ 0x13b9 0x13b9 195 rcx = rcx + 1 0x13c0 196 if (r8 == 0) then 33 @ 0x13e8 else 79 @ 0x13c2 int64_t _fini(): 0x1420 0 rsp = rsp - 8 0x1424 1 rsp = rsp + 8 0x1428 2 <return> jump(pop)
POJ_84
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int64_t malloc(uint64_t bytes): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSHX"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x1f58 0x1171 7 rdi = 0x2004 {"%d%d"} 0x1178 8 rsi = rsp + 8 {var_1f80} 0x117d 9 rdx = rsp + 0xc {var_1f7c} 0x1182 10 eax = 0 0x1184 11 call(0x1040) 0x118e 12 if ([rsp + 8 {var_1f80}].d s<= 0) then 13 @ 0x11f1 else 18 @ 0x1190 0x11f1 13 eax = [rsp + 0xc {var_1f7c}].d 0x11f5 14 ecx = [rsp + 8 {var_1f80}].d 0x11f9 15 ecx = ecx + eax 0x11fb 16 ecx = ecx - 1 0x1200 17 if (ecx s<= 0) then 21 @ 0x129f else 30 @ 0x1206 0x1190 18 r14 = 0x2006 {"%d"} 0x1197 19 r15d = 0 0x119a 20 goto 34 @ 0x11ae 0x129f 21 eax = 0 0x12a1 22 rsp = rsp + 0x1f58 0x12a8 23 rbx = pop 0x12a9 24 r12 = pop 0x12ab 25 r13 = pop 0x12ad 26 r14 = pop 0x12af 27 r15 = pop 0x12b1 28 rbp = pop 0x12b2 29 <return> jump(pop) 0x1206 30 r13 = 0x2009 {"%d\n"} 0x120d 31 r14d = 0 0x1210 32 r12d = 0 0x1213 33 goto 38 @ 0x1239 0x11ae 34 edi = 0x3e8 {""} 0x11b3 35 call(0x1050) 0x11b8 36 [rsp + (r15 << 3) + 0x10].q = rax 0x11c2 37 if ([rsp + 0xc {var_1f7c}].d s<= 0) then 46 @ 0x11a0 else 49 @ 0x11c4 0x1239 38 rbx = r12 0x123c 39 rcx = sx.q(eax) 0x123f 40 r12 = r12 + 1 0x1243 41 eax = r12d 0x1246 42 eax = eax - ecx 0x1248 43 cond:0 = rbx s< rcx 0x124b 44 ecx = 0 0x1250 45 if (cond:0) then 52 else 54 @ 0x1257 0x11a0 46 r15 = r15 + 1 0x11a4 47 rax = sx.q([rsp + 8 {var_1f80}].d) 0x11ac 48 if (r15 s>= rax) then 13 @ 0x11f1 else 34 @ 0x11ae 0x11c4 49 rbx = [rsp + (r15 << 3) + 0x10].q 0x11c9 50 ebp = 0 0x11cb 51 goto 55 @ 0x11d0 0x1250 52 eax = ecx 0x1250 53 goto 54 @ 0x1257 0x1257 54 if (eax s>= [rsp + 8 {var_1f80}].d) then 63 @ 0x1220 else 70 @ 0x1259 0x11d0 55 rdi = r14 0x11d3 56 rsi = rbx 0x11d6 57 eax = 0 0x11d8 58 call(0x1040) 0x11dd 59 rbp = rbp + 1 0x11e1 60 rax = sx.q([rsp + 0xc {var_1f7c}].d) 0x11e6 61 rbx = rbx + 4 0x11ed 62 if (rbp s< rax) then 55 @ 0x11d0 else 72 @ 0x11ef 0x1220 63 eax = [rsp + 0xc {var_1f7c}].d 0x1224 64 ecx = [rsp + 8 {var_1f80}].d 0x1228 65 ecx = ecx + eax 0x122a 66 ecx = ecx - 1 0x122d 67 rcx = sx.q(ecx) 0x1230 68 r14 = r14 + 4 0x1237 69 if (r12 s>= rcx) then 21 @ 0x129f else 38 @ 0x1239 0x1259 70 rbp = sx.q(eax) 0x125f 71 if (rbx s< rbp) then 63 @ 0x1220 else 73 @ 0x1261 0x11ef 72 goto 46 @ 0x11a0 0x1261 73 rax = rbp << 2 0x1269 74 r15 = r14 0x126c 75 r15 = r15 - rax 0x126f 76 goto 77 @ 0x1270 0x1270 77 rax = [rsp + (rbp << 3) + 0x10].q 0x1275 78 esi = [rax + r15].d 0x1279 79 rdi = r13 0x127c 80 eax = 0 0x127e 81 call(0x1030) 0x1283 82 rax = rbp + 1 0x1287 83 rcx = sx.q([rsp + 8 {var_1f80}].d) 0x128f 84 if (rax s>= rcx) then 63 @ 0x1220 else 85 @ 0x1291 0x1291 85 r15 = r15 - 4 0x1295 86 cond:1 = rbp s< rbx 0x1298 87 rbp = rax 0x129b 88 if (cond:1) then 77 @ 0x1270 else 89 @ 0x129d 0x129d 89 goto 63 @ 0x1220 int64_t _fini(): 0x12b8 0 rsp = rsp - 8 0x12bc 1 rsp = rsp + 8 0x12c0 2 <return> jump(pop)
POJ_4
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVSH0"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0x330 0x115c 4 rdi = 0x2004 {"%d\n"} 0x1163 5 ebx = 0 0x1165 6 rsi = rsp + 0xc {var_33c} 0x116a 7 eax = 0 0x116c 8 call(0x1040) 0x1176 9 if ([rsp + 0xc {var_33c}].d s<= 0) then 10 @ 0x120e else 13 @ 0x117c 0x120e 10 rdi = 0x200a {"%d"} 0x1215 11 esi = ebx 0x1215 12 goto 17 @ 0x1217 0x117c 13 rbx = rsp + 0x10 {var_338} 0x1181 14 r14 = 0x2008 {"%d%d"} 0x1188 15 r15d = 0 0x118b 16 goto 25 @ 0x1190 0x1217 17 eax = 0 0x1219 18 call(0x1030) 0x121e 19 eax = 0 0x1220 20 rsp = rsp + 0x330 0x1227 21 rbx = pop 0x1228 22 r14 = pop 0x122a 23 r15 = pop 0x122c 24 <return> jump(pop) 0x1190 25 rdx = rbx + 4 0x1194 26 rdi = r14 0x1197 27 rsi = rbx 0x119a 28 eax = 0 0x119c 29 call(0x1040) 0x11a1 30 r15 = r15 + 1 0x11a5 31 rax = sx.q([rsp + 0xc {var_33c}].d) 0x11aa 32 rbx = rbx + 8 0x11b1 33 if (r15 s< rax) then 25 @ 0x1190 else 34 @ 0x11b3 0x11b3 34 eax = eax 0x11b7 35 if (eax s<= 0) then 36 @ 0x120c else 38 @ 0x11b9 0x120c 36 ebx = 0 0x120c 37 goto 10 @ 0x120e 0x11b9 38 ecx = 0 0x11bb 39 ebx = 0 0x11bd 40 esi = 0 0x11bf 41 edx = 0 0x11c1 42 goto 43 @ 0x11e0 0x11e0 43 edi = [rsp + (rcx << 3) + 0x10].d 0x11e4 44 edi = edi - 0x5a 0x11ea 45 if (edi u> 0x32) then 46 @ 0x11d2 else 47 @ 0x11ec 0x11d2 46 if (esi s<= edx) then 50 else 52 @ 0x11d5 0x11ec 47 edi = [rsp + (rcx << 3) + 0x14].d 0x11f0 48 edi = edi - 0x3c 0x11f6 49 if (edi u> 0x1e) then 46 @ 0x11d2 else 54 @ 0x11f8 0x11d2 50 esi = edx 0x11d2 51 goto 52 @ 0x11d5 0x11d5 52 edx = 0 0x11d5 53 goto 57 @ 0x11d7 0x11f8 54 edx = edx + 1 0x11fb 55 ebx = edx 0x11fd 56 goto 57 @ 0x11d7 0x11d7 57 rcx = rcx + 1 0x11de 58 if (rax == rcx) then 59 @ 0x1201 else 43 @ 0x11e0 0x1201 59 if (ebx s>= esi) then 10 @ 0x120e else 60 @ 0x1203 0x1203 60 rdi = 0x2004 {"%d\n"} 0x120a 61 goto 17 @ 0x1217 int64_t _fini(): 0x1234 0 rsp = rsp - 8 0x1238 1 rsp = rsp + 8 0x123c 2 <return> jump(pop)
POJ_82
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVSH8"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(rbx) 0x1166 4 rsp = rsp - 0x13898 0x116d 5 rdi = 0x2006 {"%d"} 0x1174 6 ebp = 0 0x1176 7 rsi = rsp + 8 {var_138b0} 0x117b 8 eax = 0 0x117d 9 call(0x1050) 0x1182 10 ebx = [rsp + 8 {var_138b0}].d 0x1188 11 if (ebx s<= 0) then 12 @ 0x11b5 else 23 @ 0x118a 0x11b5 12 [rsp + 4 {var_138b4}].d = ebp 0x11b9 13 rdi = 0x2004 {"%d%d"} 0x11c0 14 rsi = rsp + 4 {var_138b4} 0x11c5 15 rdx = rsp + 0xc {var_138ac} 0x11ca 16 eax = 0 0x11cc 17 call(0x1050) 0x11d1 18 ecx = [rsp + 4 {var_138b4}].d 0x11d5 19 eax = [rsp + 0xc {var_138ac}].d 0x11d9 20 edx = ecx 0x11db 21 edx = edx | eax 0x11dd 22 if (edx == 0) then 34 @ 0x1220 else 37 @ 0x11df 0x118a 23 r14 = rbx << 2 0x1192 24 rdi = rsp + 0x9c50 {var_9c68} 0x119a 25 esi = 0 0x119c 26 rdx = r14 0x119f 27 call(0x1040) 0x11a4 28 rdi = rsp + 0x10 {var_138a8} 0x11a9 29 esi = 0 0x11ab 30 rdx = r14 0x11ae 31 call(0x1040) 0x11b3 32 ebp = ebx 0x11b3 33 goto 12 @ 0x11b5 0x1220 34 [rsp + 4 {var_138b4}].d = 0 0x1228 35 eax = [rsp + 8 {var_138b0}].d 0x122e 36 if (eax s<= 0) then 41 @ 0x127e else 45 @ 0x1230 0x11df 37 r14 = 0x2004 {"%d%d"} 0x11e6 38 r15 = rsp + 4 {var_138b4} 0x11eb 39 rbx = rsp + 0xc {var_138ac} 0x11eb 40 goto 49 @ 0x11f0 0x127e 41 rdi = 0x2009 {"NOT FOUND"} 0x1285 42 eax = 0 0x1287 43 call(0x1030) 0x1287 44 goto 63 @ 0x128c 0x1230 45 rbx = 0x2006 {"%d"} 0x1237 46 ecx = 0 0x1239 47 esi = 0 0x123b 48 goto 69 @ 0x124b 0x11f0 49 rcx = sx.q(ecx) 0x11f3 50 [rsp + (rcx << 2) + 0x9c50].d = [rsp + (rcx << 2) + 0x9c50].d + 1 0x11fb 51 rax = sx.q(eax) 0x11fd 52 [rsp + (rax << 2) + 0x10].d = [rsp + (rax << 2) + 0x10].d + 1 0x1202 53 rdi = r14 0x1205 54 rsi = r15 {var_138b4} 0x1208 55 rdx = rbx {var_138ac} 0x120b 56 eax = 0 0x120d 57 call(0x1050) 0x1212 58 ecx = [rsp + 4 {var_138b4}].d 0x1216 59 eax = [rsp + 0xc {var_138ac}].d 0x121a 60 edx = ecx 0x121c 61 edx = edx | eax 0x121e 62 if (edx != 0) then 49 @ 0x11f0 else 34 @ 0x1220 0x128c 63 rsp = rsp + 0x13898 0x1293 64 rbx = pop 0x1294 65 r14 = pop 0x1296 66 r15 = pop 0x1298 67 rbp = pop 0x1299 68 <return> jump(pop) 0x124b 69 rdx = sx.q(esi) 0x1256 70 if ([rsp + (rdx << 2) + 0x9c50].d != 0) then 71 @ 0x1240 else 74 @ 0x1258 0x1240 71 esi = esi + 1 0x1243 72 [rsp + 4 {var_138b4}].d = esi 0x1249 73 if (esi s>= eax) then 76 @ 0x127c else 69 @ 0x124b 0x1258 74 edi = (rax - 1).d 0x125f 75 if ([rsp + (rdx << 2) + 0x10].d != edi) then 71 @ 0x1240 else 77 @ 0x1261 0x127c 76 if (ecx != 0) then 63 @ 0x128c else 41 @ 0x127e 0x1261 77 rdi = rbx 0x1264 78 eax = 0 0x1266 79 call(0x1030) 0x126b 80 esi = [rsp + 4 {var_138b4}].d 0x126f 81 ecx = 1 0x1274 82 eax = [rsp + 8 {var_138b0}].d 0x1278 83 goto 71 @ 0x1240 int64_t _fini(): 0x12a0 0 rsp = rsp - 8 0x12a4 1 rsp = rsp + 8 0x12a8 2 <return> jump(pop)
POJ_89
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t puts(char const* str): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVAUATSH(H="} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r13) 0x1167 4 push(r12) 0x1169 5 push(rbx) 0x116a 6 rsp = rsp - 0x28 0x116e 7 rdi = 0x2012 {"%d"} 0x1175 8 rsi = rsp + 0xc {var_4c} 0x117a 9 eax = 0 0x117c 10 call(0x1040) 0x1181 11 rdi = 0x2010 {"%d%d"} 0x1188 12 rsi = rsp + 0x24 {var_34} 0x118d 13 rdx = rsp + 0x20 {var_38} 0x1192 14 eax = 0 0x1194 15 call(0x1040) 0x119e 16 if ([rsp + 0xc {var_4c}].d s< 2) then 17 @ 0x12ca else 26 @ 0x11a4 0x12ca 17 eax = 0 0x12cc 18 rsp = rsp + 0x28 0x12d0 19 rbx = pop 0x12d1 20 r12 = pop 0x12d3 21 r13 = pop 0x12d5 22 r14 = pop 0x12d7 23 r15 = pop 0x12d9 24 rbp = pop 0x12da 25 <return> jump(pop) 0x11a4 26 xmm1.q = float.d([rsp + 0x20 {var_38}].d) 0x11aa 27 xmm0.q = float.d([rsp + 0x24 {var_34}].d) 0x11b0 28 xmm1.q = xmm1.q f/ xmm0.q 0x11b4 29 [rsp + 0x10 {var_48_1}].q = xmm1.q 0x11ba 30 r13d = 1 0x11c0 31 r14 = 0x2010 {"%d%d"} 0x11c7 32 r15 = rsp + 0x1c {var_3c} 0x11cc 33 rbx = rsp + 0x18 {var_40} 0x11d1 34 r12 = 0x2020 {"better"} 0x11d8 35 rbp = 0x2015 {"same"} 0x11df 36 goto 37 @ 0x1207 0x1207 37 rdi = r14 0x120a 38 rsi = r15 {var_3c} 0x120d 39 rdx = rbx {var_40} 0x1210 40 eax = 0 0x1212 41 call(0x1040) 0x1217 42 xmm0 = 0 0x121a 43 xmm0.q = float.d([rsp + 0x18 {var_40}].d) 0x1220 44 xmm1 = 0 0x1223 45 xmm1.q = float.d([rsp + 0x1c {var_3c}].d) 0x1229 46 xmm0.q = xmm0.q f/ xmm1.q 0x122d 47 eax = [rsp + 0xc {var_4c}].d 0x1231 48 eax = eax - 1 0x1234 49 xmm1 = xmm0 0x1238 50 xmm1.q = xmm1.q f- fconvert.t([rsp + 0x10 {var_48_1}].q) 0x123e 51 xmm2 = zx.o([0x2008].q) 0x1249 52 if (r13d != eax) then 53 @ 0x1260 else 60 @ 0x124b 0x1260 53 flag:p = is_unordered.q(xmm1.q, xmm2.q) 0x1260 54 flag:c = xmm1.q f< xmm2.q | is_unordered.q(xmm1.q, xmm2.q) 0x1260 55 flag:z = xmm1.q f== xmm2.q | is_unordered.q(xmm1.q, xmm2.q) 0x1260 56 flag:s = 0 0x1260 57 flag:o = 0 0x1260 58 flag:a = 0 0x1264 59 if (not(flag:z) && not(flag:c)) then 67 @ 0x11f0 else 69 @ 0x1266 0x124b 60 flag:p = is_unordered.q(xmm1.q, xmm2.q) 0x124b 61 flag:c = xmm1.q f< xmm2.q | is_unordered.q(xmm1.q, xmm2.q) 0x124b 62 flag:z = xmm1.q f== xmm2.q | is_unordered.q(xmm1.q, xmm2.q) 0x124b 63 flag:s = 0 0x124b 64 flag:o = 0 0x124b 65 flag:a = 0 0x124f 66 if (flag:z || flag:c) then 78 @ 0x1290 else 87 @ 0x1251 0x11f0 67 rdi = r12 0x11f0 68 goto 89 @ 0x11f3 0x1266 69 xmm1 = zx.o([rsp + 0x10 {var_48_1}].q) 0x126c 70 xmm1.q = xmm1.q f- xmm0.q 0x1270 71 flag:p = is_unordered.q(xmm1.q, xmm2.q) 0x1270 72 flag:c = xmm1.q f< xmm2.q | is_unordered.q(xmm1.q, xmm2.q) 0x1270 73 flag:z = xmm1.q f== xmm2.q | is_unordered.q(xmm1.q, xmm2.q) 0x1270 74 flag:s = 0 0x1270 75 flag:o = 0 0x1270 76 flag:a = 0 0x1274 77 if (flag:z || flag:c) then 92 @ 0x12a9 else 94 @ 0x1276 0x1290 78 xmm1 = zx.o([rsp + 0x10 {var_48_1}].q) 0x1296 79 xmm1.q = xmm1.q f- xmm0.q 0x129a 80 flag:p = is_unordered.q(xmm1.q, xmm2.q) 0x129a 81 flag:c = xmm1.q f< xmm2.q | is_unordered.q(xmm1.q, xmm2.q) 0x129a 82 flag:z = xmm1.q f== xmm2.q | is_unordered.q(xmm1.q, xmm2.q) 0x129a 83 flag:s = 0 0x129a 84 flag:o = 0 0x129a 85 flag:a = 0 0x129e 86 if (flag:z || flag:c) then 96 @ 0x12b1 else 98 @ 0x12a0 0x1251 87 rdi = r12 0x1254 88 goto 100 @ 0x12b4 0x11f3 89 call(0x1050) 0x11f8 90 r13d = r13d + 1 0x1201 91 if (r13d s>= [rsp + 0xc {var_4c}].d) then 17 @ 0x12ca else 37 @ 0x1207 0x12a9 92 rdi = rbp 0x12ac 93 goto 89 @ 0x11f3 0x1276 94 rdi = 0x201a {"worse"} 0x127d 95 goto 89 @ 0x11f3 0x12b1 96 rdi = rbp 0x12b1 97 goto 100 @ 0x12b4 0x12a0 98 rdi = 0x201a {"worse"} 0x12a7 99 goto 100 @ 0x12b4 0x12b4 100 eax = 0 0x12b6 101 call(0x1030) 0x12bb 102 r13d = r13d + 1 0x12c4 103 if (r13d s< [rsp + 0xc {var_4c}].d) then 37 @ 0x1207 else 17 @ 0x12ca int64_t _fini(): 0x12e0 0 rsp = rsp - 8 0x12e4 1 rsp = rsp + 8 0x12e8 2 <return> jump(pop)
POJ_67
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVSHX"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(rbx) 0x1156 4 rsp = rsp - 0x9c58 0x115d 5 rdi = 0x2004 {"%d"} 0x1164 6 r15d = 0 0x1167 7 rsi = rsp + 0xc {var_9c6c} 0x116c 8 eax = 0 0x116e 9 call(0x1040) 0x1173 10 r8d = [rsp + 0xc {var_9c6c}].d 0x1178 11 r9d = 0 0x1182 12 if (r8d s>= 3) then 13 @ 0x11eb else 16 @ 0x1187 0x11eb 13 ecx = 3 0x11f0 14 r9d = 0 0x11f3 15 goto 17 @ 0x120e 0x1187 16 if (r9d s<= 0) then 24 @ 0x11cb else 25 @ 0x1189 0x120e 17 ebp = ecx 0x1210 18 ebp = ebp u>> 1 0x1212 19 ebx = ebp 0x1214 20 ebx = neg.d(ebx) 0x1216 21 esi = 2 0x121b 22 edi = 0 0x121d 23 goto 30 @ 0x1220 0x11cb 24 if (r15d != 0) then 49 @ 0x11db else 56 @ 0x11cd 0x1189 25 ebx = r9d 0x118c 26 r14 = 0x2007 {"%d %d\n"} 0x1193 27 ebp = 0 0x1195 28 r15d = 0 0x1198 29 goto 60 @ 0x11a5 0x1220 30 eax = ecx 0x1222 31 edx = 0 0x1224 32 temp2.d = esi 0x1224 33 temp3.d = edx 0x1224 34 temp4.d = eax 0x1224 35 temp0.d = divu.dp.d(temp3.d:temp4.d, temp2.d) 0x1224 36 temp5.d = edx 0x1224 37 temp6.d = eax 0x1224 38 temp1.d = modu.dp.d(temp5.d:temp6.d, temp2.d) 0x1224 39 eax = temp0.d 0x1224 40 edx = temp1.d 0x1226 41 flag:c = edx u< 1 0x1229 42 edi = sbb.d(edi, -1, flag:c) 0x122c 43 eax = (rbx + rsi).d 0x122f 44 eax = eax + 1 0x1232 45 edx = esi 0x1234 46 edx = edx + 1 0x1237 47 esi = edx 0x123c 48 if (eax != 2) then 30 @ 0x1220 else 65 @ 0x1240 0x11db 49 eax = 0 0x11dd 50 rsp = rsp + 0x9c58 0x11e4 51 rbx = pop 0x11e5 52 r14 = pop 0x11e7 53 r15 = pop 0x11e9 54 rbp = pop 0x11ea 55 <return> jump(pop) 0x11cd 56 rdi = 0x200e {"empty"} 0x11d4 57 eax = 0 0x11d6 58 call(0x1030) 0x11d6 59 goto 49 @ 0x11db 0x11a5 60 esi = [rsp + (rbp << 2) + 0x10].d 0x11a9 61 edx = [rsp + (rbp << 2) + 0x14].d 0x11ad 62 rbp = rbp + 1 0x11b1 63 eax = (rsi + 2).d 0x11b6 64 if (edx != eax) then 66 @ 0x11a3 else 67 @ 0x11b8 0x1240 65 if (edi != ebp) then 72 @ 0x1200 else 76 @ 0x1242 0x11a3 66 if (rbx == rbp) then 24 @ 0x11cb else 60 @ 0x11a5 0x11b8 67 rdi = r14 0x11bb 68 eax = 0 0x11bd 69 call(0x1030) 0x11c2 70 r15d = r15d + 1 0x11c6 71 goto 66 @ 0x11a3 0x1200 72 eax = (rcx + 1).d 0x1203 73 cond:0 = ecx == r8d 0x1206 74 ecx = eax 0x1208 75 if (cond:0) then 16 @ 0x1187 else 17 @ 0x120e 0x1242 76 r9 = sx.q(r9d) 0x1245 77 [rsp + (r9 << 2) + 0x10].d = ecx 0x124a 78 r9d = r9d + 1 0x124e 79 goto 72 @ 0x1200 int64_t _fini(): 0x1254 0 rsp = rsp - 8 0x1258 1 rsp = rsp + 8 0x125c 2 <return> jump(pop)
POJ_60
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(r12) 0x1156 3 push(rbx) 0x1157 4 rsp = rsp - 0x4c8 0x115e 5 rdi = 0x2004 {"%d %d"} 0x1165 6 rsi = rsp + 8 {var_4e0} 0x116a 7 rdx = rsp + 0xc {var_4dc} 0x116f 8 eax = 0 0x1171 9 call(0x1040) 0x1176 10 eax = [rsp + 8 {var_4e0}].d 0x117c 11 if (eax == 0) then 12 @ 0x1246 else 19 @ 0x1182 0x1246 12 eax = 0 0x1248 13 rsp = rsp + 0x4c8 0x124f 14 rbx = pop 0x1250 15 r12 = pop 0x1252 16 r14 = pop 0x1254 17 r15 = pop 0x1256 18 <return> jump(pop) 0x1182 19 r14 = 0x200a {"%d\n"} 0x1189 20 r15 = 0x2004 {"%d %d"} 0x1190 21 r12 = rsp + 8 {var_4e0} 0x1195 22 rbx = rsp + 0xc {var_4dc} 0x119a 23 goto 24 @ 0x11cc 0x11cc 24 if (eax s<= 0) then 25 @ 0x11f0 else 27 @ 0x11ce 0x11f0 25 rcx = sx.q([rsp + 8 {var_4e0}].d) 0x11f9 26 if (rcx == 1) then 30 @ 0x11a4 else 41 @ 0x11fb 0x11ce 27 eax = eax 0x11d0 28 ecx = 0 0x11dc 29 goto 44 @ 0x11e0 0x11a4 30 esi = [rsp + 0x10 {var_4d8}].d 0x11a8 31 rdi = r14 0x11ab 32 eax = 0 0x11ad 33 call(0x1030) 0x11b2 34 rdi = r15 0x11b5 35 rsi = r12 {var_4e0} 0x11b8 36 rdx = rbx {var_4dc} 0x11bb 37 eax = 0 0x11bd 38 call(0x1040) 0x11c2 39 eax = [rsp + 8 {var_4e0}].d 0x11c8 40 if (eax == 0) then 12 @ 0x1246 else 24 @ 0x11cc 0x11fb 41 edx = 0 0x11fd 42 esi = [rsp + 0xc {var_4dc}].d 0x1201 43 goto 48 @ 0x1219 0x11e0 44 rdx = rcx + 1 0x11e4 45 [rsp + (rcx << 2) + 0x10].d = edx 0x11e8 46 rcx = rdx 0x11ee 47 if (rax != rdx) then 44 @ 0x11e0 else 25 @ 0x11f0 0x1219 48 eax = (rdx + rsi).d 0x121c 49 eax = eax - 1 0x121f 50 temp2.d:temp3.d = sx.q(eax) 0x121f 51 edx = temp2.d 0x121f 52 eax = temp3.d 0x1220 53 temp4.d = edx 0x1220 54 temp5.d = eax 0x1220 55 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x1220 56 temp6.d = edx 0x1220 57 temp7.d = eax 0x1220 58 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x1220 59 eax = temp0.d 0x1220 60 edx = temp1.d 0x1225 61 if (rcx s< 0) then 62 @ 0x1210 else 64 @ 0x1227 0x1210 62 rcx = rcx - 1 0x1217 63 if (ecx == 1) then 66 @ 0x11a0 else 48 @ 0x1219 0x1227 64 rax = sx.q(edx) 0x122a 65 goto 68 @ 0x1230 0x11a0 66 [rsp + 8 {var_4e0}].d = ecx 0x11a0 67 goto 30 @ 0x11a4 0x1230 68 edi = [rsp + (rax << 2) + 0x14].d 0x1234 69 [rsp + (rax << 2) + 0x10].d = edi 0x1238 70 rdi = rax + 1 0x123c 71 rax = rdi 0x1242 72 if (rdi s< rcx) then 68 @ 0x1230 else 73 @ 0x1244 0x1244 73 goto 62 @ 0x1210 int64_t _fini(): 0x125c 0 rsp = rsp - 8 0x1260 1 rsp = rsp + 8 0x1264 2 <return> jump(pop)
POJ_79
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) double pow(double x, double y): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) double sqrt(double x): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UHH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 rbp = rsp {__saved_rbp} 0x1174 2 rsp = rsp - 0xe0 0x117b 3 [rbp - 4 {var_c}].d = 0 0x1182 4 xmm0 = 0 0x1185 5 [rbp - 0xc0 {var_c8}].q = xmm0.q 0x118d 6 [rbp - 0xc8 {var_d0}].d = 0 0x1197 7 [rbp - 0xcc {var_d4}].d = 0 0x11a1 8 rdi = 0x2010 {"%d"} 0x11a8 9 rsi = rbp - 0xc4 {var_cc} 0x11af 10 al = 0 0x11b1 11 call(0x1050) 0x11b6 12 [rbp - 0xc8 {var_d0_1}].d = 0 0x11b6 13 goto 14 @ 0x11c0 0x11c0 14 eax = [rbp - 0xc8 {var_d0_1}].d 0x11cc 15 if (eax s>= [rbp - 0xc4 {var_cc}].d) then 16 @ 0x121b else 18 @ 0x11d2 0x121b 16 [rbp - 0xc8 {var_d0_2}].d = 0 0x121b 17 goto 33 @ 0x1225 0x11d2 18 rax = sx.q([rbp - 0xc8 {var_d0_1}].d) 0x11d9 19 rsi = rbp - 0x60 {var_68} 0x11dd 20 rax = rax << 3 0x11e1 21 rsi = rsi + rax 0x11e4 22 rax = sx.q([rbp - 0xc8 {var_d0_1}].d) 0x11eb 23 rdx = rbp - 0xb0 {var_b8} 0x11f2 24 rax = rax << 3 0x11f6 25 rdx = rdx + rax 0x11f9 26 rdi = 0x2013 {"%lf%lf"} 0x1200 27 al = 0 0x1202 28 call(0x1050) 0x1207 29 eax = [rbp - 0xc8 {var_d0_1}].d 0x120d 30 eax = eax + 1 0x1210 31 [rbp - 0xc8 {var_d0_1}].d = eax 0x1216 32 goto 14 @ 0x11c0 0x1225 33 eax = [rbp - 0xc8 {var_d0_2}].d 0x122b 34 ecx = [rbp - 0xc4 {var_cc}].d 0x1231 35 ecx = ecx - 1 0x1236 36 if (eax s>= ecx) then 37 @ 0x132d else 45 @ 0x123c 0x132d 37 xmm0 = zx.o([rbp - 0xc0 {var_c8}].q) 0x1335 38 rdi = 0x201a {"%.4lf"} 0x133c 39 al = 1 0x133e 40 call(0x1030) 0x1343 41 eax = 0 0x1345 42 rsp = rsp + 0xe0 0x134c 43 rbp = pop 0x134d 44 <return> jump(pop) 0x123c 45 eax = [rbp - 0xc8 {var_d0_2}].d 0x1242 46 eax = eax + 1 0x1245 47 [rbp - 0xcc {var_d4_1}].d = eax 0x1245 48 goto 49 @ 0x124b 0x124b 49 eax = [rbp - 0xcc {var_d4_1}].d 0x1257 50 if (eax s>= [rbp - 0xc4 {var_cc}].d) then 51 @ 0x1314 else 52 @ 0x125d 0x1314 51 goto 78 @ 0x1319 0x125d 52 rax = sx.q([rbp - 0xcc {var_d4_1}].d) 0x1264 53 xmm0 = zx.o([rbp + (rax << 3) - 0x60].q) 0x126a 54 rax = sx.q([rbp - 0xc8 {var_d0_2}].d) 0x1271 55 xmm0.q = xmm0.q f- fconvert.t([rbp + (rax << 3) - 0x60].q) 0x1277 56 xmm1 = zx.o([0x2008].q) 0x127f 57 call(0x1040) 0x1284 58 [rbp - 0xd8 {var_e0_1}].q = xmm0.q 0x128c 59 rax = sx.q([rbp - 0xc8 {var_d0_2}].d) 0x1293 60 xmm0 = zx.o([rbp + (rax << 3) - 0xb0].q) 0x129c 61 rax = sx.q([rbp - 0xcc {var_d4_1}].d) 0x12a3 62 xmm0.q = xmm0.q f- fconvert.t([rbp + (rax << 3) - 0xb0].q) 0x12ac 63 xmm1 = zx.o([0x2008].q) 0x12b4 64 call(0x1040) 0x12b9 65 xmm1 = xmm0 0x12bc 66 xmm0 = zx.o([rbp - 0xd8 {var_e0_1}].q) 0x12c4 67 xmm0.q = xmm0.q f+ xmm1.q 0x12c8 68 call(0x1060) 0x12cd 69 [rbp - 0xb8 {var_c0_1}].q = xmm0.q 0x12d5 70 xmm0 = zx.o([rbp - 0xb8 {var_c0_1}].q) 0x12dd 71 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp - 0xc0 {var_c8}].q)) 0x12dd 72 flag:c = xmm0.q f< fconvert.t([rbp - 0xc0 {var_c8}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0xc0 {var_c8}].q)) 0x12dd 73 flag:z = xmm0.q f== fconvert.t([rbp - 0xc0 {var_c8}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0xc0 {var_c8}].q)) 0x12dd 74 flag:s = 0 0x12dd 75 flag:o = 0 0x12dd 76 flag:a = 0 0x12e5 77 if (flag:z || flag:c) then 82 @ 0x12fb else 83 @ 0x12eb 0x1319 78 eax = [rbp - 0xc8 {var_d0_2}].d 0x131f 79 eax = eax + 1 0x1322 80 [rbp - 0xc8 {var_d0_2}].d = eax 0x1328 81 goto 33 @ 0x1225 0x12fb 82 goto 86 @ 0x1300 0x12eb 83 xmm0 = zx.o([rbp - 0xb8 {var_c0_1}].q) 0x12f3 84 [rbp - 0xc0 {var_c8}].q = xmm0.q 0x12f3 85 goto 82 @ 0x12fb 0x1300 86 eax = [rbp - 0xcc {var_d4_1}].d 0x1306 87 eax = eax + 1 0x1309 88 [rbp - 0xcc {var_d4_1}].d = eax 0x130f 89 goto 49 @ 0x124b int64_t _fini(): 0x1354 0 rsp = rsp - 8 0x1358 1 rsp = rsp + 8 0x135c 2 <return> jump(pop)
POJ_70
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAWAVAUATSH"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(r13) 0x1177 4 push(r12) 0x1179 5 push(rbx) 0x117a 6 rsp = rsp - 0x186c8 0x1181 7 rdi = 0x2004 {"%d"} 0x1188 8 rsi = rsp + 0xc {var_186ec} 0x118d 9 eax = 0 0x118f 10 call(0x1050) 0x1199 11 if ([rsp + 0xc {var_186ec}].d s<= 0) then 12 @ 0x1263 else 21 @ 0x119f 0x1263 12 eax = 0 0x1265 13 rsp = rsp + 0x186c8 0x126c 14 rbx = pop 0x126d 15 r12 = pop 0x126f 16 r13 = pop 0x1271 17 r14 = pop 0x1273 18 r15 = pop 0x1275 19 rbp = pop 0x1276 20 <return> jump(pop) 0x119f 21 r14 = 0x2007 {"%s"} 0x11a6 22 r13 = rsp + 0x10 {var_186e8} 0x11ab 23 r12 = 0x200e {"no"} 0x11b2 24 r15d = 0 0x11b5 25 goto 26 @ 0x11d7 0x11d7 26 rdi = r14 0x11da 27 rsi = r13 {var_186e8} 0x11dd 28 eax = 0 0x11df 29 call(0x1050) 0x11e4 30 rdi = r13 {var_186e8} 0x11e7 31 call(0x1040) 0x11ec 32 temp0.d = eax 0x11ec 33 cond:0 = temp0.d s<= 0 0x11ee 34 bl = temp0.d s> 0 0x11f1 35 if (cond:0) then 36 @ 0x11c0 else 39 @ 0x11f3 0x11c0 36 rdi = r12 0x11c3 37 call(0x1060) 0x11c3 38 goto 43 @ 0x11c8 0x11f3 39 r8 = sx.q(eax) 0x11f6 40 ecx = r8d 0x11f9 41 edx = 0 0x11fb 42 goto 45 @ 0x1200 0x11c8 43 r15d = r15d + 1 0x11d1 44 if (r15d s>= [rsp + 0xc {var_186ec}].d) then 12 @ 0x1263 else 26 @ 0x11d7 0x1200 45 al = [rsp + rdx + 0x10].b 0x1204 46 edi = 0 0x1206 47 ebp = 0 0x1208 48 goto 49 @ 0x1210 0x1210 49 esi = 0 0x1216 50 sil = al == [rsp + rdi + 0x10].b 0x121a 51 ebp = ebp + esi 0x121c 52 rdi = rdi + 1 0x1223 53 if (rcx != rdi) then 49 @ 0x1210 else 54 @ 0x1228 0x1228 54 if (ebp == 1) then 55 @ 0x1240 else 61 @ 0x122a 0x1240 55 eax = edx 0x1242 56 esi = sx.d([rsp + rax + 0x10].b) 0x1247 57 rdi = 0x200a {"%c\n"} 0x124e 58 eax = 0 0x1250 59 call(0x1030) 0x1258 60 if ((bl & 1) == 0) then 36 @ 0x11c0 else 64 @ 0x125e 0x122a 61 rdx = rdx + 1 0x1231 62 bl = rdx s< r8 0x1237 63 if (rdx != rcx) then 45 @ 0x1200 else 65 @ 0x1239 0x125e 64 goto 43 @ 0x11c8 0x1239 65 goto 36 @ 0x11c0 int64_t _fini(): 0x127c 0 rsp = rsp - 8 0x1280 1 rsp = rsp + 8 0x1284 2 <return> jump(pop)
POJ_37
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVSH("} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(rbx) 0x1156 4 rsp = rsp - 0xe28 0x115d 5 rdi = 0x2029 {"%d"} 0x1164 6 rsi = rsp + 4 {var_e44} 0x1169 7 eax = 0 0x116b 8 call(0x1040) 0x1175 9 if ([rsp + 4 {var_e44}].d s<= 0) then 10 @ 0x137e else 16 @ 0x117b 0x137e 10 rax = [rsp + 0x10 {var_e38}].q 0x1383 11 esi = [rax].d 0x1385 12 rdi = 0x2029 {"%d"} 0x138c 13 eax = 0 0x138e 14 call(0x1030) 0x138e 15 goto 21 @ 0x1393 0x117b 16 xmm5 = _mm_xor_pd(xmm5, xmm5) 0x117f 17 rbx = rsp + 0x970 {var_4d8} 0x1187 18 r14 = 0x2029 {"%d"} 0x118e 19 r15d = 0 0x119b 20 goto 27 @ 0x11a0 0x1393 21 rsp = rsp + 0xe28 0x139a 22 rbx = pop 0x139b 23 r14 = pop 0x139d 24 r15 = pop 0x139f 25 rbp = pop 0x13a0 26 <return> jump(pop) 0x11a0 27 [rsp + 8 {var_e40_1}].q = xmm5.q 0x11a6 28 rdi = r14 0x11a9 29 rsi = rbx 0x11ac 30 eax = 0 0x11ae 31 call(0x1040) 0x11b3 32 xmm5 = zx.o([rsp + 8 {var_e40_1}].q) 0x11b9 33 xmm0 = 0 0x11bc 34 xmm0.q = float.d([rbx].d) 0x11c0 35 xmm5.q = xmm5.q f+ xmm0.q 0x11c4 36 r15 = r15 + 1 0x11c8 37 rax = sx.q([rsp + 4 {var_e44}].d) 0x11cd 38 rbx = rbx + 4 0x11d4 39 if (r15 s< rax) then 27 @ 0x11a0 else 40 @ 0x11d6 0x11d6 40 eax = eax 0x11da 41 if (eax s<= 0) then 10 @ 0x137e else 42 @ 0x11e0 0x11e0 42 xmm0 = 0 0x11e3 43 xmm0.q = float.d(eax) 0x11e7 44 xmm5.q = xmm5.q f/ xmm0.q 0x11ee 45 if (eax != 1) then 46 @ 0x11f8 else 52 @ 0x11f0 0x11f8 46 edx = eax 0x11fa 47 edx = edx & 0xfffffffe 0x11fd 48 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1201 49 ecx = 0 0x1203 50 xmm1 = [0x2010].o 0x120b 51 goto 55 @ 0x1210 0x11f0 52 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11f4 53 ecx = 0 0x11f6 54 goto 69 @ 0x1253 0x1210 55 xmm2 = 0 0x1213 56 xmm2.q = float.d([rsp + (rcx << 2) + 0x970].d) 0x121c 57 xmm3 = xmm5 0x1220 58 xmm3.q = xmm3.q f- xmm2.q 0x1224 59 xmm3 = _mm_and_pd(xmm3, xmm1) 0x1228 60 xmm3 = _mm_max_sd(xmm3.q, xmm0.q) 0x122c 61 xmm2 = 0 0x122f 62 xmm2.q = float.d([rsp + (rcx << 2) + 0x974].d) 0x1238 63 xmm0 = xmm5 0x123c 64 xmm0.q = xmm0.q f- xmm2.q 0x1240 65 xmm0 = _mm_and_pd(xmm0, xmm1) 0x1244 66 xmm0 = _mm_max_sd(xmm0.q, xmm3.q) 0x1248 67 rcx = rcx + 2 0x124f 68 if (rdx != rcx) then 55 @ 0x1210 else 69 @ 0x1253 0x1253 69 if ((al & 1) == 0) then 70 @ 0x127b else 71 @ 0x1255 0x127b 70 if (eax s<= 0) then 10 @ 0x137e else 79 @ 0x1281 0x1255 71 xmm1 = 0 0x1258 72 xmm1.q = float.d([rsp + (rcx << 2) + 0x970].d) 0x1261 73 xmm2 = xmm5 0x1265 74 xmm2.q = xmm2.q f- xmm1.q 0x1269 75 xmm2 = __andpd_xmmxuq_memxuq(xmm2, [0x2010].o) 0x1271 76 xmm2 = _mm_max_sd(xmm2.q, xmm0.q) 0x1275 77 xmm0 = xmm2 0x1275 78 goto 70 @ 0x127b 0x1281 79 r14d = 0 0x1284 80 rcx = rsp + 0x970 {var_4d8} 0x128c 81 xmm1 = [0x2010].o 0x1294 82 xmm2 = zx.o([0x2020].q) 0x129c 83 goto 84 @ 0x12aa 0x12aa 84 xmm3 = 0 0x12ad 85 xmm3.q = float.d([rcx].d) 0x12b1 86 xmm4 = xmm5 0x12b5 87 xmm4.q = xmm4.q f- xmm3.q 0x12b9 88 xmm4 = _mm_and_pd(xmm4, xmm1) 0x12bd 89 xmm4.q = xmm4.q f- xmm0.q 0x12c1 90 xmm4 = _mm_and_pd(xmm4, xmm1) 0x12c5 91 flag:p = is_unordered.q(xmm2.q, xmm4.q) 0x12c5 92 flag:c = xmm2.q f< xmm4.q | is_unordered.q(xmm2.q, xmm4.q) 0x12c5 93 flag:z = xmm2.q f== xmm4.q | is_unordered.q(xmm2.q, xmm4.q) 0x12c5 94 flag:s = 0 0x12c5 95 flag:o = 0 0x12c5 96 flag:a = 0 0x12c9 97 if (flag:z || flag:c) then 98 @ 0x12a0 else 102 @ 0x12cb 0x12a0 98 rcx = rcx + 4 0x12a4 99 temp0.q = rax 0x12a4 100 rax = rax - 1 0x12a8 101 if (temp0.q == 1) then 106 @ 0x12dd else 84 @ 0x12aa 0x12cb 102 r14 = sx.q(r14d) 0x12ce 103 [rsp + (r14 << 3) + 0x10].q = rcx 0x12d3 104 r14d = r14d + 1 0x12d7 105 goto 98 @ 0x12a0 0x12dd 106 if (r14d s< 2) then 10 @ 0x137e else 107 @ 0x12e3 0x12e3 107 r8d = (r14 - 1).d 0x12e7 108 r11d = 0 0x12ea 109 r10d = r8d 0x12ed 110 goto 111 @ 0x1301 0x1301 111 r9d = r8d 0x1304 112 temp1.d = r9d 0x1304 113 r9d = r9d - r11d 0x1307 114 if (temp1.d s<= r11d) then 115 @ 0x12f0 else 118 @ 0x1309 0x12f0 115 r11d = r11d + 1 0x12f4 116 r10d = r10d - 1 0x12fb 117 if (r11d == r8d) then 121 @ 0x13a1 else 111 @ 0x1301 0x1309 118 rcx = [rsp + 0x10 {var_e38}].q 0x130e 119 eax = [rcx].d 0x1314 120 if (r9d != 1) then 127 @ 0x1320 else 132 @ 0x1316 0x13a1 121 rax = [rsp + 0x10 {var_e38}].q 0x13a6 122 esi = [rax].d 0x13a8 123 rdi = 0x2029 {"%d"} 0x13af 124 eax = 0 0x13b1 125 call(0x1030) 0x13ba 126 if (r14d s< 2) then 21 @ 0x1393 else 134 @ 0x13bc 0x1320 127 r15d = r10d 0x1323 128 r15d = r15d & 0xfffffffe 0x1327 129 rdi = rcx 0x132a 130 esi = 0 0x132c 131 goto 138 @ 0x1330 0x1316 132 ebx = 0 0x1318 133 goto 142 @ 0x1367 0x13bc 134 r15d = r14d 0x13bf 135 ebx = 1 0x13c4 136 r14 = 0x2028 {",%d"} 0x13cb 137 goto 143 @ 0x13d0 0x1330 138 rdx = [rsp + (rsi << 3) + 0x18].q 0x1335 139 rcx = [rsp + (rsi << 3) + 0x20].q 0x133a 140 ebp = [rdx].d 0x133e 141 if (eax s> ebp) then 150 else 152 @ 0x1342 0x1367 142 if ((r9b & 1) == 0) then 115 @ 0x12f0 else 156 @ 0x1369 0x13d0 143 rax = [rsp + (rbx << 3) + 0x10].q 0x13d5 144 esi = [rax].d 0x13d7 145 rdi = r14 0x13da 146 eax = 0 0x13dc 147 call(0x1030) 0x13e1 148 rbx = rbx + 1 0x13e8 149 if (r15 != rbx) then 143 @ 0x13d0 else 158 @ 0x13ea 0x133e 150 rdi = rdx 0x133e 151 goto 152 @ 0x1342 0x1342 152 [rsp + (rsi << 3) + 0x10].q = rdi 0x1347 153 rbx = rsi + 2 0x134b 154 eax = [rcx].d 0x134f 155 if (ebp s> eax) then 159 else 161 @ 0x1353 0x1369 156 rdx = [rsp + (rbx << 3) + 0x18].q 0x1370 157 if (eax s> [rdx].d) then 165 else 167 @ 0x1374 0x13ea 158 goto 21 @ 0x1393 0x134f 159 rdx = rcx 0x134f 160 goto 161 @ 0x1353 0x1353 161 [rsp + (rsi << 3) + 0x18].q = rdx 0x1358 162 rdi = rcx 0x135b 163 rsi = rbx 0x1361 164 if (r15 != rbx) then 138 @ 0x1330 else 142 @ 0x1367 0x1370 165 rcx = rdx 0x1370 166 goto 167 @ 0x1374 0x1374 167 [rsp + (rbx << 3) + 0x10].q = rcx 0x1379 168 goto 115 @ 0x12f0 int64_t _fini(): 0x13f0 0 rsp = rsp - 8 0x13f4 1 rsp = rsp + 8 0x13f8 2 <return> jump(pop)
POJ_21
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) void free(void* mem): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) int64_t malloc(uint64_t bytes): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UHH0E"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 rbp = rsp {__saved_rbp} 0x1174 2 rsp = rsp - 0x30 0x1178 3 [rbp - 4 {var_c}].d = 0 0x117f 4 rdi = 0x2004 {"%d"} 0x1186 5 rsi = rbp - 8 {var_10} 0x118a 6 al = 0 0x118c 7 call(0x1050) 0x1191 8 rdi = sx.q([rbp - 8 {var_10}].d) 0x1195 9 rdi = rdi << 2 0x1199 10 call(0x1060) 0x119e 11 [rbp - 0x18 {var_20}].q = rax 0x11a2 12 [rbp - 0x1c {var_24}].d = 0 0x11a2 13 goto 14 @ 0x11a9 0x11a9 14 eax = [rbp - 0x1c {var_24}].d 0x11af 15 if (eax s>= [rbp - 8 {var_10}].d) then 16 @ 0x11d2 else 17 @ 0x11b5 0x11d2 16 goto 24 @ 0x11d7 0x11b5 17 rax = [rbp - 0x18 {var_20}].q 0x11b9 18 rcx = sx.q([rbp - 0x1c {var_24}].d) 0x11bd 19 [rax + (rcx << 2)].d = 0 0x11c4 20 eax = [rbp - 0x1c {var_24}].d 0x11c7 21 eax = eax + 1 0x11ca 22 [rbp - 0x1c {var_24}].d = eax 0x11cd 23 goto 14 @ 0x11a9 0x11d7 24 rdi = 0x2004 {"%d"} 0x11de 25 rsi = rbp - 0x20 {var_28} 0x11e2 26 al = 0 0x11e4 27 call(0x1050) 0x11e9 28 rdi = 0x2004 {"%d"} 0x11f0 29 rsi = rbp - 0x24 {var_2c} 0x11f4 30 al = 0 0x11f6 31 call(0x1050) 0x11ff 32 if ([rbp - 0x20 {var_28}].d != 0) then 33 @ 0x1214 else 41 @ 0x1209 0x1214 33 rax = [rbp - 0x18 {var_20}].q 0x1218 34 rcx = sx.q([rbp - 0x24 {var_2c}].d) 0x121c 35 edx = [rax + (rcx << 2)].d 0x121f 36 edx = edx + 1 0x1222 37 rax = [rbp - 0x18 {var_20}].q 0x1226 38 rcx = sx.q([rbp - 0x24 {var_2c}].d) 0x122a 39 [rax + (rcx << 2)].d = edx 0x122d 40 goto 24 @ 0x11d7 0x1209 41 if ([rbp - 0x24 {var_2c}].d != 0) then 33 @ 0x1214 else 42 @ 0x120f 0x120f 42 goto 43 @ 0x1232 0x1232 43 [rbp - 0xc {var_14}].d = 0 0x1232 44 goto 45 @ 0x1239 0x1239 45 eax = [rbp - 0xc {var_14}].d 0x123f 46 if (eax s>= [rbp - 8 {var_10}].d) then 47 @ 0x1287 else 49 @ 0x1245 0x1287 47 eax = [rbp - 0xc {var_14}].d 0x128d 48 if (eax != [rbp - 8 {var_10}].d) then 55 @ 0x12a1 else 61 @ 0x1293 0x1245 49 rax = [rbp - 0x18 {var_20}].q 0x1249 50 rcx = sx.q([rbp - 0xc {var_14}].d) 0x124d 51 eax = [rax + (rcx << 2)].d 0x1250 52 ecx = [rbp - 8 {var_10}].d 0x1253 53 ecx = ecx - 1 0x1258 54 if (eax != ecx) then 65 @ 0x1274 else 66 @ 0x125e 0x12a1 55 rdi = [rbp - 0x18 {var_20}].q 0x12a5 56 call(0x1040) 0x12aa 57 eax = 0 0x12ac 58 rsp = rsp + 0x30 0x12b0 59 rbp = pop 0x12b1 60 <return> jump(pop) 0x1293 61 rdi = 0x200b {"NOT FOUND\n"} 0x129a 62 al = 0 0x129c 63 call(0x1030) 0x129c 64 goto 55 @ 0x12a1 0x1274 65 goto 71 @ 0x1279 0x125e 66 esi = [rbp - 0xc {var_14}].d 0x1261 67 rdi = 0x2007 {"%d\n"} 0x1268 68 al = 0 0x126a 69 call(0x1030) 0x126f 70 goto 47 @ 0x1287 0x1279 71 eax = [rbp - 0xc {var_14}].d 0x127c 72 eax = eax + 1 0x127f 73 [rbp - 0xc {var_14}].d = eax 0x1282 74 goto 45 @ 0x1239 int64_t _fini(): 0x12b8 0 rsp = rsp - 8 0x12bc 1 rsp = rsp + 8 0x12c0 2 <return> jump(pop)
POJ_89
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) double sqrt(double x): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x11c0 {"UAWAVSPH=B"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) uint64_t sushu(double arg1, uint64_t arg2[0x2] @ zmm1): 0x1160 0 push(rbx) 0x1161 1 ebx = edi 0x1163 2 xmm0.q = float.d(edi) 0x1167 3 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x116b 4 flag:p = is_unordered.q(xmm0.q, xmm1.q) 0x116b 5 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x116b 6 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q) 0x116b 7 flag:s = 0 0x116b 8 flag:o = 0 0x116b 9 flag:a = 0 0x116f 10 if (flag:c) then 11 @ 0x1177 else 13 @ 0x1171 0x1177 11 call(0x1050) 0x1177 12 goto 15 @ 0x117c 0x1171 13 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1175 14 goto 15 @ 0x117c 0x117c 15 ecx = int.d(ftrunc(xmm0.q)) 0x1180 16 cond:0 = ecx s< 2 0x1183 17 al = ecx s< 2 0x1186 18 if (cond:0) then 19 @ 0x11b7 else 22 @ 0x1188 0x11b7 19 eax = zx.d(al) 0x11ba 20 rbx = pop 0x11bb 21 <return> jump(pop) 0x1188 22 edx = ebx 0x118a 23 edx = edx & 1 0x118d 24 if (edx == 0) then 19 @ 0x11b7 else 25 @ 0x118f 0x118f 25 edi = 2 0x119e 26 goto 27 @ 0x11a0 0x11a0 27 esi = edi 0x11a4 28 if (ecx == edi) then 29 @ 0x11b4 else 31 @ 0x11a6 0x11b4 29 al = esi s>= ecx 0x11b4 30 goto 19 @ 0x11b7 0x11a6 31 edi = (rsi + 1).d 0x11a9 32 eax = ebx 0x11ab 33 temp2.d:temp3.d = sx.q(eax) 0x11ab 34 edx = temp2.d 0x11ab 35 eax = temp3.d 0x11ac 36 temp4.d = edx 0x11ac 37 temp5.d = eax 0x11ac 38 temp0.d = divs.dp.d(temp4.d:temp5.d, edi) 0x11ac 39 temp6.d = edx 0x11ac 40 temp7.d = eax 0x11ac 41 temp1.d = mods.dp.d(temp6.d:temp7.d, edi) 0x11ac 42 eax = temp0.d 0x11ac 43 edx = temp1.d 0x11b0 44 if (edx != 0) then 27 @ 0x11a0 else 29 @ 0x11b4 int32_t main(int32_t argc, char** argv, char** envp): 0x11c0 0 push(rbp) 0x11c1 1 push(r15) 0x11c3 2 push(r14) 0x11c5 3 push(rbx) 0x11c6 4 push(rax) 0x11c7 5 rdi = 0x2010 {"%d"} 0x11ce 6 rsi = rsp + 4 {var_28+0x4} 0x11d3 7 eax = 0 0x11d5 8 call(0x1040) 0x11df 9 if ([rsp + 4 {var_28+0x4}].d s>= 6) then 10 @ 0x11ec else 13 @ 0x11e1 0x11ec 10 r15d = 6 0x11f2 11 r14 = 0x2013 {"%d=%d+%d\n"} 0x11f9 12 goto 19 @ 0x121c 0x11e1 13 rsp = rsp + 8 0x11e5 14 rbx = pop 0x11e6 15 r14 = pop 0x11e8 16 r15 = pop 0x11ea 17 rbp = pop 0x11eb 18 <return> jump(pop) 0x121c 19 ebp = 3 0x1221 20 goto 21 @ 0x1241 0x1241 21 xmm0 = 0 0x1244 22 xmm0.q = float.d(ebp) 0x1248 23 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1248 24 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1248 25 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x1248 26 flag:s = 0 0x1248 27 flag:o = 0 0x1248 28 flag:a = 0 0x1250 29 if (flag:c) then 30 @ 0x1260 else 32 @ 0x1252 0x1260 30 call(0x1050) 0x1260 31 goto 34 @ 0x1265 0x1252 32 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1256 33 goto 34 @ 0x1265 0x1265 34 ecx = int.d(ftrunc(xmm0.q)) 0x1269 35 cond:0 = ecx s< 2 0x126c 36 al = ecx s< 2 0x126f 37 if (cond:0) then 38 @ 0x1299 else 39 @ 0x1271 0x1299 38 if (al == 0) then 41 @ 0x1239 else 43 @ 0x129b 0x1271 39 edi = 2 0x1276 40 goto 54 @ 0x1280 0x1239 41 ebp = ebp + 2 0x123f 42 if (r15d u< ebp) then 56 @ 0x1211 else 21 @ 0x1241 0x129b 43 ebx = r15d 0x129e 44 ebx = ebx - ebp 0x12a0 45 xmm0 = 0 0x12a3 46 xmm0.q = float.d(ebx) 0x12a7 47 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12a7 48 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12a7 49 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x12a7 50 flag:s = 0 0x12a7 51 flag:o = 0 0x12a7 52 flag:a = 0 0x12af 53 if (flag:c) then 58 @ 0x12c0 else 60 @ 0x12b1 0x1280 54 esi = edi 0x1284 55 if (ecx == edi) then 62 @ 0x1294 else 64 @ 0x1286 0x1211 56 r15d = r15d + 2 0x121a 57 if (r15d s> [rsp + 4 {var_28+0x4}].d) then 13 @ 0x11e1 else 19 @ 0x121c 0x12c0 58 call(0x1050) 0x12c0 59 goto 78 @ 0x12c5 0x12b1 60 xmm0 = _mm_sqrt_sd(xmm0.q) 0x12b5 61 goto 78 @ 0x12c5 0x1294 62 al = esi s>= ecx 0x1294 63 goto 38 @ 0x1299 0x1286 64 edi = (rsi + 1).d 0x1289 65 eax = ebp 0x128b 66 temp2.d:temp3.d = sx.q(eax) 0x128b 67 edx = temp2.d 0x128b 68 eax = temp3.d 0x128c 69 temp4.d = edx 0x128c 70 temp5.d = eax 0x128c 71 temp0.d = divs.dp.d(temp4.d:temp5.d, edi) 0x128c 72 temp6.d = edx 0x128c 73 temp7.d = eax 0x128c 74 temp1.d = mods.dp.d(temp6.d:temp7.d, edi) 0x128c 75 eax = temp0.d 0x128c 76 edx = temp1.d 0x1290 77 if (edx != 0) then 54 @ 0x1280 else 62 @ 0x1294 0x12c5 78 ecx = int.d(ftrunc(xmm0.q)) 0x12c9 79 cond:1 = ecx s< 2 0x12cc 80 al = ecx s< 2 0x12cf 81 if (cond:1) then 82 @ 0x1237 else 83 @ 0x12d5 0x1237 82 if (al != 0) then 85 @ 0x1200 else 41 @ 0x1239 0x12d5 83 edi = 2 0x12da 84 goto 92 @ 0x12e0 0x1200 85 rdi = r14 0x1203 86 esi = r15d 0x1206 87 edx = ebp 0x1208 88 ecx = ebx 0x120a 89 eax = 0 0x120c 90 call(0x1030) 0x120c 91 goto 56 @ 0x1211 0x12e0 92 esi = edi 0x12e4 93 if (ecx == edi) then 94 @ 0x1232 else 96 @ 0x12ea 0x1232 94 al = esi s>= ecx 0x1232 95 goto 82 @ 0x1237 0x12ea 96 edi = (rsi + 1).d 0x12ed 97 eax = ebx 0x12ef 98 temp8.d:temp9.d = sx.q(eax) 0x12ef 99 edx = temp8.d 0x12ef 100 eax = temp9.d 0x12f0 101 temp10.d = edx 0x12f0 102 temp11.d = eax 0x12f0 103 temp0.d = divs.dp.d(temp10.d:temp11.d, edi) 0x12f0 104 temp12.d = edx 0x12f0 105 temp13.d = eax 0x12f0 106 temp1.d = mods.dp.d(temp12.d:temp13.d, edi) 0x12f0 107 eax = temp0.d 0x12f0 108 edx = temp1.d 0x12f4 109 if (edx != 0) then 92 @ 0x12e0 else 110 @ 0x12f6 0x12f6 110 goto 94 @ 0x1232 int64_t _fini(): 0x1300 0 rsp = rsp - 8 0x1304 1 rsp = rsp + 8 0x1308 2 <return> jump(pop)
POJ_68
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) double sqrt(double x): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAWAVAUATSH8"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r15) 0x1173 2 push(r14) 0x1175 3 push(r13) 0x1177 4 push(r12) 0x1179 5 push(rbx) 0x117a 6 rsp = rsp - 0x338 0x1181 7 rdi = rsp + 0x10 {var_358} 0x1186 8 edx = 0x320 {"d-linux-x86-64.so.2"} 0x118b 9 esi = 0 0x118d 10 call(0x1040) 0x1192 11 rdi = 0x2010 {"%d"} 0x1199 12 rsi = rsp + 4 {var_364} 0x119e 13 eax = 0 0x11a0 14 call(0x1050) 0x11aa 15 if ([rsp + 4 {var_364}].d s<= 0) then 16 @ 0x1335 else 25 @ 0x11b0 0x1335 16 eax = 0 0x1337 17 rsp = rsp + 0x338 0x133e 18 rbx = pop 0x133f 19 r12 = pop 0x1341 20 r13 = pop 0x1343 21 r14 = pop 0x1345 22 r15 = pop 0x1347 23 rbp = pop 0x1348 24 <return> jump(pop) 0x11b0 25 r12 = rsp {var_368} 0x11b3 26 rbx = 0x2013 {"%lf"} 0x11ba 27 r13 = 0x2017 {"%.5lf\n"} 0x11c1 28 r14d = 0 0x11c4 29 goto 30 @ 0x11ee 0x11ee 30 rdi = 0x2010 {"%d"} 0x11f5 31 rsi = r12 {var_368} 0x11f8 32 eax = 0 0x11fa 33 call(0x1050) 0x11ff 34 eax = [rsp {var_368}].d 0x1204 35 if (eax s<= 0) then 36 @ 0x1280 else 39 @ 0x1206 0x1280 36 xmm1 = 0 0x1283 37 xmm1.q = float.d(eax) 0x1283 38 goto 43 @ 0x1287 0x1206 39 xmm4 = 0 0x1209 40 rbp = rsp + 0x10 {var_358} 0x120e 41 r15d = 0 0x121b 42 goto 45 @ 0x1220 0x1287 43 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x128b 44 goto 56 @ 0x131a 0x1220 45 [rsp + 8 {var_360_1}].q = xmm4.q 0x1226 46 rdi = rbx 0x1229 47 rsi = rbp 0x122c 48 eax = 0 0x122e 49 call(0x1050) 0x1233 50 xmm4 = zx.o([rsp + 8 {var_360_1}].q) 0x1239 51 xmm4.q = xmm4.q f+ fconvert.t([rbp].q) 0x123e 52 r15 = r15 + 1 0x1242 53 rax = sx.q([rsp {var_368}].d) 0x1246 54 rbp = rbp + 8 0x124d 55 if (r15 s< rax) then 45 @ 0x1220 else 64 @ 0x124f 0x131a 56 xmm0.q = xmm0.q f/ xmm1.q 0x131e 57 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x131e 58 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x131e 59 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q)) 0x131e 60 flag:s = 0 0x131e 61 flag:o = 0 0x131e 62 flag:a = 0 0x1326 63 if (flag:c) then 68 @ 0x11d0 else 70 @ 0x132c 0x124f 64 ecx = eax 0x1251 65 xmm1 = 0 0x1254 66 xmm1.q = float.d(ecx) 0x125a 67 if (ecx s<= 0) then 43 @ 0x1287 else 72 @ 0x125c 0x11d0 68 call(0x1060) 0x11d0 69 goto 77 @ 0x11d5 0x132c 70 xmm0 = _mm_sqrt_sd(xmm0.q) 0x1330 71 goto 77 @ 0x11d5 0x125c 72 xmm4.q = xmm4.q f/ xmm1.q 0x1260 73 rdx = rcx - 1 0x1264 74 eax = ecx 0x1266 75 eax = eax & 3 0x126d 76 if (rdx u>= 3) then 82 @ 0x1290 else 86 @ 0x126f 0x11d5 77 rdi = r13 0x11d8 78 al = 1 0x11da 79 call(0x1030) 0x11df 80 r14d = r14d + 1 0x11e8 81 if (r14d s>= [rsp + 4 {var_364}].d) then 16 @ 0x1335 else 30 @ 0x11ee 0x1290 82 ecx = ecx & 0xfffffffc 0x1293 83 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1297 84 edx = 0 0x1299 85 goto 89 @ 0x12a0 0x126f 86 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1273 87 edx = 0 0x1275 88 goto 107 @ 0x12f4 0x12a0 89 xmm2 = zx.o([rsp + (rdx << 3) + 0x10].q) 0x12a6 90 xmm3 = zx.o([rsp + (rdx << 3) + 0x18].q) 0x12ac 91 xmm2.q = xmm2.q f- xmm4.q 0x12b0 92 xmm2.q = xmm2.q f* xmm2.q 0x12b4 93 xmm2.q = xmm2.q f+ xmm0.q 0x12b8 94 xmm3.q = xmm3.q f- xmm4.q 0x12bc 95 xmm3.q = xmm3.q f* xmm3.q 0x12c0 96 xmm3.q = xmm3.q f+ xmm2.q 0x12c4 97 xmm2 = zx.o([rsp + (rdx << 3) + 0x20].q) 0x12ca 98 xmm2.q = xmm2.q f- xmm4.q 0x12ce 99 xmm2.q = xmm2.q f* xmm2.q 0x12d2 100 xmm2.q = xmm2.q f+ xmm3.q 0x12d6 101 xmm0 = zx.o([rsp + (rdx << 3) + 0x28].q) 0x12dc 102 xmm0.q = xmm0.q f- xmm4.q 0x12e0 103 xmm0.q = xmm0.q f* xmm0.q 0x12e4 104 xmm0.q = xmm0.q f+ xmm2.q 0x12e8 105 rdx = rdx + 4 0x12ef 106 if (rcx != rdx) then 89 @ 0x12a0 else 107 @ 0x12f4 0x12f4 107 if (rax == 0) then 56 @ 0x131a else 108 @ 0x12f6 0x12f6 108 rcx = rsp + (rdx << 3) 0x12fa 109 rcx = rcx + 0x10 0x12fe 110 edx = 0 0x12fe 111 goto 112 @ 0x1300 0x1300 112 xmm2 = zx.o([rcx + (rdx << 3)].q) 0x1305 113 xmm2.q = xmm2.q f- xmm4.q 0x1309 114 xmm2.q = xmm2.q f* xmm2.q 0x130d 115 xmm0.q = xmm0.q f+ xmm2.q 0x1311 116 rdx = rdx + 1 0x1318 117 if (rax != rdx) then 112 @ 0x1300 else 56 @ 0x131a int64_t _fini(): 0x1350 0 rsp = rsp - 8 0x1354 1 rsp = rsp + 8 0x1358 2 <return> jump(pop)
POJ_38
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 char* gets(char* buf): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t calloc(uint64_t n, uint64_t elem_size): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"AVSP'"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(r14) 0x1162 1 push(rbx) 0x1163 2 push(rax) 0x1164 3 edi = 0x2710 {""} 0x1169 4 esi = 1 0x116e 5 call(0x1040) 0x1173 6 r14 = rax 0x1176 7 rdi = rax 0x1179 8 eax = 0 0x117b 9 call(0x1030) 0x1180 10 al = [r14].b 0x1185 11 if (al == 0) then 12 @ 0x11b5 else 16 @ 0x1187 0x11b5 12 rsp = rsp + 8 0x11b9 13 rbx = pop 0x11ba 14 r14 = pop 0x11bc 15 <return> jump(pop) 0x1187 16 rbx = r14 0x118a 17 rbx = rbx + 1 0x118e 18 goto 19 @ 0x11a8 0x11a8 19 ecx = zx.d([rbx].b) 0x11ad 20 if (cl != 0) then 21 @ 0x1190 else 28 @ 0x11af 0x1190 21 eax = sx.d(al) 0x1193 22 edi = sx.d(cl) 0x1196 23 edi = edi + eax 0x1198 24 call(0x1050) 0x119d 25 eax = zx.d([rbx].b) 0x11a0 26 rbx = rbx + 1 0x11a6 27 if (al == 0) then 12 @ 0x11b5 else 19 @ 0x11a8 0x11af 28 ecx = zx.d([r14].b) 0x11b3 29 goto 21 @ 0x1190 int64_t _fini(): 0x11c4 0 rsp = rsp - 8 0x11c8 1 rsp = rsp + 8 0x11cc 2 <return> jump(pop)
POJ_91
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UAWAVATSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 push(r15) 0x1153 2 push(r14) 0x1155 3 push(r12) 0x1157 4 push(rbx) 0x1158 5 rsp = rsp - 0x61a90 0x115f 6 rdi = 0x2013 {"%d"} 0x1166 7 ebp = 0 0x1168 8 rsi = rsp + 0xc {var_61aac} 0x116d 9 eax = 0 0x116f 10 call(0x1040) 0x1174 11 r9d = [rsp + 0xc {var_61aac}].d 0x117c 12 if (r9d s<= 0) then 13 @ 0x13a0 else 24 @ 0x1182 0x13a0 13 xmm0 = 0 0x13a3 14 xmm0.q = float.d(esi) 0x13a7 15 xmm1 = 0 0x13aa 16 xmm1.q = float.d(edx) 0x13ae 17 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x13ae 18 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x13ae 19 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x13ae 20 flag:s = 0 0x13ae 21 flag:o = 0 0x13ae 22 flag:a = 0 0x13b2 23 if (flag:c) then 29 @ 0x14af else 33 @ 0x13bb 0x1182 24 r14 = rsp + 0x10 {var_61aa8} 0x1187 25 r12 = rsp + 0x30d50 {var_30d68} 0x118f 26 r15 = 0x2010 {"%d %d"} 0x1196 27 ebx = 0 0x1198 28 goto 34 @ 0x11a0 0x14af 29 rdi = 0x2010 {"%d %d"} 0x14b6 30 eax = 0 0x14b8 31 call(0x1030) 0x14b8 32 goto 44 @ 0x14bd 0x13bb 33 if (bpl == 0) then 52 @ 0x148b else 56 @ 0x13c1 0x11a0 34 rdi = r15 0x11a3 35 rsi = r12 0x11a6 36 rdx = r14 0x11a9 37 eax = 0 0x11ab 38 call(0x1040) 0x11b0 39 rbx = rbx + 1 0x11b4 40 r9 = sx.q([rsp + 0xc {var_61aac}].d) 0x11b9 41 r14 = r14 + 4 0x11bd 42 r12 = r12 + 4 0x11c4 43 if (rbx s< r9) then 34 @ 0x11a0 else 62 @ 0x11c6 0x14bd 44 eax = 0 0x14bf 45 rsp = rsp + 0x61a90 0x14c6 46 rbx = pop 0x14c7 47 r12 = pop 0x14c9 48 r14 = pop 0x14cb 49 r15 = pop 0x14cd 50 rbp = pop 0x14ce 51 <return> jump(pop) 0x148b 52 rdi = 0x2016 {"no"} 0x1492 53 eax = 0 0x1494 54 call(0x1030) 0x1499 55 goto 44 @ 0x14bd 0x13c1 56 r8d = r9d 0x13c4 57 edi = r8d 0x13c7 58 edi = edi & 0xfffffffe 0x13ca 59 ebx = 1 0x13cf 60 xmm2 = zx.o([0x2008].q) 0x13d7 61 goto 68 @ 0x13f1 0x11c6 62 esi = [rsp + 0x30d50 {var_30d68}].d 0x11cd 63 edx = [rsp + 0x10 {var_61aa8}].d 0x11d1 64 temp0.d = r9d 0x11d1 65 cond:0 = temp0.d s<= 0 0x11d4 66 bpl = temp0.d s> 0 0x11d8 67 if (cond:0) then 71 @ 0x149b else 81 @ 0x11e2 0x13f1 68 eax = 0 0x13f3 69 ecx = 0 0x13f9 70 if (r9d != 1) then 82 @ 0x1439 else 91 @ 0x13ff 0x149b 71 ebp = 0 0x149d 72 xmm0.q = float.d(esi) 0x14a1 73 xmm1.q = float.d(edx) 0x14a5 74 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x14a5 75 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x14a5 76 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x14a5 77 flag:s = 0 0x14a5 78 flag:o = 0 0x14a5 79 flag:a = 0 0x14a9 80 if (not(flag:c)) then 33 @ 0x13bb else 29 @ 0x14af 0x11e2 81 if (r9d == 1) then 13 @ 0x13a0 else 92 @ 0x11e8 0x1439 82 xmm3 = 0 0x143c 83 xmm3.q = float.d([rsp + (rax << 2) + 0x10].d) 0x1442 84 flag:p = is_unordered.q(xmm3.q, xmm0.q) 0x1442 85 flag:c = xmm3.q f< xmm0.q | is_unordered.q(xmm3.q, xmm0.q) 0x1442 86 flag:z = xmm3.q f== xmm0.q | is_unordered.q(xmm3.q, xmm0.q) 0x1442 87 flag:s = 0 0x1442 88 flag:o = 0 0x1442 89 flag:a = 0 0x1446 90 if (flag:c) then 96 @ 0x145f else 105 @ 0x1448 0x13ff 91 if ((r8b & 1) == 0) then 114 @ 0x13e0 else 123 @ 0x1401 0x11e8 92 ecx = r9d 0x11eb 93 r8 = rcx - 1 0x11ef 94 edi = 1 0x11f8 95 if (r8 u< 4) then 132 @ 0x1380 else 135 @ 0x11fe 0x145f 96 xmm3 = 0 0x1462 97 xmm3.q = float.d([rsp + (rax << 2) + 0x14].d) 0x1468 98 flag:p = is_unordered.q(xmm3.q, xmm0.q) 0x1468 99 flag:c = xmm3.q f< xmm0.q | is_unordered.q(xmm3.q, xmm0.q) 0x1468 100 flag:z = xmm3.q f== xmm0.q | is_unordered.q(xmm3.q, xmm0.q) 0x1468 101 flag:s = 0 0x1468 102 flag:o = 0 0x1468 103 flag:a = 0 0x146c 104 if (flag:c) then 146 @ 0x1430 else 148 @ 0x146e 0x1448 105 xmm3 = 0 0x144b 106 xmm3.q = float.d([rsp + (rax << 2) + 0x30d50].d) 0x1454 107 flag:p = is_unordered.q(xmm0.q, xmm3.q) 0x1454 108 flag:c = xmm0.q f< xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x1454 109 flag:z = xmm0.q f== xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x1454 110 flag:s = 0 0x1454 111 flag:o = 0 0x1454 112 flag:a = 0 0x1458 113 if (flag:c) then 96 @ 0x145f else 157 @ 0x145a 0x13e0 114 ebx = ebx * ecx 0x13e3 115 xmm0.q = xmm0.q f+ xmm2.q 0x13e7 116 flag:p = is_unordered.q(xmm1.q, xmm0.q) 0x13e7 117 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x13e7 118 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q) 0x13e7 119 flag:s = 0 0x13e7 120 flag:o = 0 0x13e7 121 flag:a = 0 0x13eb 122 if (flag:c) then 159 @ 0x1489 else 68 @ 0x13f1 0x1401 123 xmm3 = 0 0x1404 124 xmm3.q = float.d([rsp + (rax << 2) + 0x10].d) 0x140a 125 flag:p = is_unordered.q(xmm3.q, xmm0.q) 0x140a 126 flag:c = xmm3.q f< xmm0.q | is_unordered.q(xmm3.q, xmm0.q) 0x140a 127 flag:z = xmm3.q f== xmm0.q | is_unordered.q(xmm3.q, xmm0.q) 0x140a 128 flag:s = 0 0x140a 129 flag:o = 0 0x140a 130 flag:a = 0 0x140e 131 if (flag:c) then 114 @ 0x13e0 else 160 @ 0x1410 0x1380 132 eax = [rsp + (rdi << 2) + 0x30d50].d 0x1387 133 ebx = [rsp + (rdi << 2) + 0x10].d 0x138d 134 if (eax s< esi) then 169 else 171 @ 0x1392 0x11fe 135 rdi = r8 0x1201 136 rdi = rdi & 0xfffffffffffffffc 0x1205 137 xmm0 = edx 0x1209 138 xmm0 = _mm_shuffle_epi32(xmm0, 0) 0x120e 139 xmm1 = esi 0x1212 140 xmm1 = _mm_shuffle_epi32(xmm1, 0) 0x1217 141 rax = rdi - 4 0x121b 142 rdx = rax 0x121e 143 rdx = rdx u>> 2 0x1222 144 rdx = rdx + 1 0x1229 145 if (rax == 0) then 172 @ 0x14cf else 174 @ 0x122f 0x1430 146 rax = rax + 2 0x1437 147 if (rdi == rax) then 91 @ 0x13ff else 82 @ 0x1439 0x146e 148 xmm3 = 0 0x1471 149 xmm3.q = float.d([rsp + (rax << 2) + 0x30d54].d) 0x147a 150 flag:p = is_unordered.q(xmm0.q, xmm3.q) 0x147a 151 flag:c = xmm0.q f< xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x147a 152 flag:z = xmm0.q f== xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x147a 153 flag:s = 0 0x147a 154 flag:o = 0 0x147a 155 flag:a = 0 0x147e 156 if (flag:c) then 146 @ 0x1430 else 178 @ 0x1480 0x145a 157 ecx = 1 0x145a 158 goto 96 @ 0x145f 0x1489 159 if (ebx != 0) then 29 @ 0x14af else 52 @ 0x148b 0x1410 160 xmm3 = 0 0x1413 161 xmm3.q = float.d([rsp + (rax << 2) + 0x30d50].d) 0x141c 162 flag:p = is_unordered.q(xmm0.q, xmm3.q) 0x141c 163 flag:c = xmm0.q f< xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x141c 164 flag:z = xmm0.q f== xmm3.q | is_unordered.q(xmm0.q, xmm3.q) 0x141c 165 flag:s = 0 0x141c 166 flag:o = 0 0x141c 167 flag:a = 0 0x1420 168 if (flag:c) then 114 @ 0x13e0 else 180 @ 0x1422 0x138d 169 esi = eax 0x138d 170 goto 171 @ 0x1392 0x1392 171 if (ebx s> edx) then 182 else 184 @ 0x1395 0x14cf 172 esi = 1 0x14d7 173 if ((dl & 1) != 0) then 186 @ 0x12bd else 201 @ 0x14dd 0x122f 174 rax = rdx 0x1232 175 rax = rax & 0xfffffffffffffffe 0x1236 176 esi = 1 0x123b 177 goto 202 @ 0x1240 0x1480 178 ecx = 1 0x1485 179 goto 146 @ 0x1430 0x1422 180 ecx = 1 0x1427 181 goto 114 @ 0x13e0 0x1392 182 edx = ebx 0x1392 183 goto 184 @ 0x1395 0x1395 184 rdi = rdi + 1 0x139c 185 if (rcx != rdi) then 132 @ 0x1380 else 230 @ 0x139e 0x12bd 186 xmm2 = [rsp + (rsi << 2) + 0x30d50].o 0x12c6 187 xmm3 = [rsp + (rsi << 2) + 0x10].o 0x12cc 188 xmm4 = xmm1 0x12d0 189 xmm4 = _mm_cmpgt_epi32(xmm4, xmm2) 0x12d4 190 xmm2 = xmm2 & xmm4 0x12d8 191 xmm4 = xmm4 & not.o(xmm1) 0x12dc 192 xmm4 = xmm4 | xmm2 0x12e0 193 xmm2 = xmm3 0x12e4 194 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x12e8 195 xmm3 = xmm3 & xmm2 0x12ec 196 xmm2 = xmm2 & not.o(xmm0) 0x12f0 197 xmm2 = xmm2 | xmm3 0x12f4 198 xmm1 = xmm4 0x12f8 199 xmm0 = xmm2 0x12f8 200 goto 231 @ 0x12fc 0x14dd 201 goto 231 @ 0x12fc 0x1240 202 xmm2 = [rsp + (rsi << 2) + 0x30d50].o 0x1249 203 xmm3 = [rsp + (rsi << 2) + 0x30d60].o 0x1252 204 xmm4 = xmm1 0x1256 205 xmm4 = _mm_cmpgt_epi32(xmm4, xmm2) 0x125a 206 xmm2 = xmm2 & xmm4 0x125e 207 xmm4 = xmm4 & not.o(xmm1) 0x1262 208 xmm4 = xmm4 | xmm2 0x1266 209 xmm1 = [rsp + (rsi << 2) + 0x10].o 0x126c 210 xmm2 = [rsp + (rsi << 2) + 0x20].o 0x1272 211 xmm5 = xmm1 0x1276 212 xmm5 = _mm_cmpgt_epi32(xmm5, xmm0) 0x127a 213 xmm1 = xmm1 & xmm5 0x127e 214 xmm5 = xmm5 & not.o(xmm0) 0x1282 215 xmm5 = xmm5 | xmm1 0x1286 216 xmm1 = xmm4 0x128a 217 xmm1 = _mm_cmpgt_epi32(xmm1, xmm3) 0x128e 218 xmm3 = xmm3 & xmm1 0x1292 219 xmm1 = xmm1 & not.o(xmm4) 0x1296 220 xmm1 = xmm1 | xmm3 0x129a 221 xmm0 = xmm2 0x129e 222 xmm0 = _mm_cmpgt_epi32(xmm0, xmm5) 0x12a2 223 xmm2 = xmm2 & xmm0 0x12a6 224 xmm0 = xmm0 & not.o(xmm5) 0x12aa 225 xmm0 = xmm0 | xmm2 0x12ae 226 rsi = rsi + 8 0x12b2 227 temp1.q = rax 0x12b2 228 rax = rax - 2 0x12b6 229 if (temp1.q != 2) then 202 @ 0x1240 else 258 @ 0x12bb 0x139e 230 goto 13 @ 0x13a0 0x12fc 231 xmm2 = _mm_shuffle_epi32(xmm1, 0xee) 0x1301 232 xmm3 = xmm2 0x1305 233 xmm3 = _mm_cmpgt_epi32(xmm3, xmm1) 0x1309 234 xmm1 = xmm1 & xmm3 0x130d 235 xmm3 = xmm3 & not.o(xmm2) 0x1311 236 xmm3 = xmm3 | xmm1 0x1315 237 xmm1 = _mm_shuffle_epi32(xmm3, 0x55) 0x131a 238 xmm2 = xmm1 0x131e 239 xmm2 = _mm_cmpgt_epi32(xmm2, xmm3) 0x1322 240 xmm3 = xmm3 & xmm2 0x1326 241 xmm2 = xmm2 & not.o(xmm1) 0x132a 242 xmm2 = xmm2 | xmm3 0x132e 243 esi = xmm2.d 0x1332 244 xmm1 = _mm_shuffle_epi32(xmm0, 0xee) 0x1337 245 xmm2 = xmm0 0x133b 246 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x133f 247 xmm0 = xmm0 & xmm2 0x1343 248 xmm2 = xmm2 & not.o(xmm1) 0x1347 249 xmm2 = xmm2 | xmm0 0x134b 250 xmm0 = _mm_shuffle_epi32(xmm2, 0x55) 0x1350 251 xmm1 = xmm2 0x1354 252 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0) 0x1358 253 xmm2 = xmm2 & xmm1 0x135c 254 xmm1 = xmm1 & not.o(xmm0) 0x1360 255 xmm1 = xmm1 | xmm2 0x1364 256 edx = xmm1.d 0x136b 257 if (r8 == rdi) then 13 @ 0x13a0 else 259 @ 0x136d 0x12bb 258 if ((dl & 1) == 0) then 231 @ 0x12fc else 186 @ 0x12bd 0x136d 259 rdi = rdi | 1 0x137b 260 goto 132 @ 0x1380 int64_t _fini(): 0x14e8 0 rsp = rsp - 8 0x14ec 1 rsp = rsp + 8 0x14f0 2 <return> jump(pop)
POJ_76
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x11e0 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) uint64_t count(int64_t arg1, int64_t arg2, int32_t arg3): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 [rbp - 8 {var_10}].q = rdi 0x1158 3 [rbp - 0x10 {var_18}].q = rsi 0x115c 4 [rbp - 0x14 {var_1c}].d = edx 0x115f 5 [rbp - 0x18 {var_20}].d = 1 0x1166 6 [rbp - 0x1c {var_24}].d = 0 0x1166 7 goto 8 @ 0x116d 0x116d 8 eax = [rbp - 0x1c {var_24}].d 0x1173 9 if (eax s>= [rbp - 0x14 {var_1c}].d) then 10 @ 0x11ca else 16 @ 0x1179 0x11ca 10 eax = [rbp - 0x18 {var_20}].d 0x11cd 11 eax = eax + 1 0x11d0 12 [rbp - 0x18 {var_20_1}].d = eax 0x11d3 13 eax = [rbp - 0x18 {var_20_1}].d 0x11d6 14 rbp = pop 0x11d7 15 <return> jump(pop) 0x1179 16 rax = [rbp - 8 {var_10}].q 0x117d 17 rcx = sx.q([rbp - 0x1c {var_24}].d) 0x1181 18 eax = [rax + (rcx << 2)].d 0x1184 19 rcx = [rbp - 8 {var_10}].q 0x1188 20 rdx = sx.q([rbp - 0x14 {var_1c}].d) 0x118f 21 if (eax s<= [rcx + (rdx << 2)].d) then 22 @ 0x11b7 else 23 @ 0x1195 0x11b7 22 goto 27 @ 0x11bc 0x1195 23 rax = [rbp - 0x10 {var_18}].q 0x1199 24 rcx = sx.q([rbp - 0x1c {var_24}].d) 0x119d 25 eax = [rax + (rcx << 2)].d 0x11a3 26 if (eax s<= [rbp - 0x18 {var_20}].d) then 22 @ 0x11b7 else 31 @ 0x11a9 0x11bc 27 eax = [rbp - 0x1c {var_24}].d 0x11bf 28 eax = eax + 1 0x11c2 29 [rbp - 0x1c {var_24}].d = eax 0x11c5 30 goto 8 @ 0x116d 0x11a9 31 rax = [rbp - 0x10 {var_18}].q 0x11ad 32 rcx = sx.q([rbp - 0x1c {var_24}].d) 0x11b1 33 eax = [rax + (rcx << 2)].d 0x11b4 34 [rbp - 0x18 {var_20}].d = eax 0x11b4 35 goto 22 @ 0x11b7 int32_t main(int32_t argc, char** argv, char** envp): 0x11e0 0 push(rbp) 0x11e1 1 rbp = rsp {__saved_rbp} 0x11e4 2 rsp = rsp - 0xf0 0x11eb 3 [rbp - 4 {var_c}].d = 0 0x11f2 4 rdi = 0x2004 {"%d"} 0x11f9 5 rsi = rbp - 8 {var_10} 0x11fd 6 al = 0 0x11ff 7 call(0x1040) 0x1204 8 [rbp - 0xe4 {var_ec}].d = 0 0x1204 9 goto 10 @ 0x120e 0x120e 10 eax = [rbp - 0xe4 {var_ec}].d 0x1217 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x1251 else 15 @ 0x121d 0x1251 12 [rbp - 0xe0 {var_e8}].d = 1 0x125b 13 [rbp - 0xe4 {var_ec_1}].d = 1 0x125b 14 goto 26 @ 0x1265 0x121d 15 rax = sx.q([rbp - 0xe4 {var_ec}].d) 0x1224 16 rsi = rbp - 0x70 {var_78} 0x1228 17 rax = rax << 2 0x122c 18 rsi = rsi + rax 0x122f 19 rdi = 0x2004 {"%d"} 0x1236 20 al = 0 0x1238 21 call(0x1040) 0x123d 22 eax = [rbp - 0xe4 {var_ec}].d 0x1243 23 eax = eax + 1 0x1246 24 [rbp - 0xe4 {var_ec}].d = eax 0x124c 25 goto 10 @ 0x120e 0x1265 26 eax = [rbp - 0xe4 {var_ec_1}].d 0x126e 27 if (eax s>= [rbp - 8 {var_10}].d) then 28 @ 0x12ae else 30 @ 0x1274 0x12ae 28 [rbp - 0xe4 {var_ec_2}].d = 0 0x12ae 29 goto 41 @ 0x12b8 0x1274 30 rdi = rbp - 0x70 {var_78} 0x1278 31 rsi = rbp - 0xe0 {var_e8} 0x127f 32 edx = [rbp - 0xe4 {var_ec_1}].d 0x1285 33 call(0x1150) 0x128a 34 ecx = eax 0x128c 35 rax = sx.q([rbp - 0xe4 {var_ec_1}].d) 0x1293 36 [rbp + (rax << 2) - 0xe0].d = ecx 0x129a 37 eax = [rbp - 0xe4 {var_ec_1}].d 0x12a0 38 eax = eax + 1 0x12a3 39 [rbp - 0xe4 {var_ec_1}].d = eax 0x12a9 40 goto 26 @ 0x1265 0x12b8 41 eax = [rbp - 0xe4 {var_ec_2}].d 0x12be 42 ecx = [rbp - 8 {var_10}].d 0x12c1 43 ecx = ecx - 1 0x12c6 44 if (eax s>= ecx) then 45 @ 0x1382 else 56 @ 0x12cc 0x1382 45 eax = [rbp - 8 {var_10}].d 0x1385 46 eax = eax - 1 0x1388 47 rax = sx.q(eax) 0x138a 48 esi = [rbp + (rax << 2) - 0xe0].d 0x1391 49 rdi = 0x2007 {"%d\n"} 0x1398 50 al = 0 0x139a 51 call(0x1030) 0x139f 52 eax = [rbp - 4 {var_c}].d 0x13a2 53 rsp = rsp + 0xf0 0x13a9 54 rbp = pop 0x13aa 55 <return> jump(pop) 0x12cc 56 eax = [rbp - 0xe4 {var_ec_2}].d 0x12d2 57 eax = eax + 1 0x12d5 58 [rbp - 0xe8 {var_f0_1}].d = eax 0x12d5 59 goto 60 @ 0x12db 0x12db 60 eax = [rbp - 0xe8 {var_f0_1}].d 0x12e4 61 if (eax s>= [rbp - 8 {var_10}].d) then 62 @ 0x1369 else 63 @ 0x12ea 0x1369 62 goto 67 @ 0x136e 0x12ea 63 rax = sx.q([rbp - 0xe4 {var_ec_2}].d) 0x12f1 64 eax = [rbp + (rax << 2) - 0xe0].d 0x12f8 65 rcx = sx.q([rbp - 0xe8 {var_f0_1}].d) 0x1306 66 if (eax s<= [rbp + (rcx << 2) - 0xe0].d) then 71 @ 0x1350 else 72 @ 0x130c 0x136e 67 eax = [rbp - 0xe4 {var_ec_2}].d 0x1374 68 eax = eax + 1 0x1377 69 [rbp - 0xe4 {var_ec_2}].d = eax 0x137d 70 goto 41 @ 0x12b8 0x1350 71 goto 83 @ 0x1355 0x130c 72 rax = sx.q([rbp - 0xe4 {var_ec_2}].d) 0x1313 73 eax = [rbp + (rax << 2) - 0xe0].d 0x131a 74 [rbp - 0xec {var_f4_1}].d = eax 0x1320 75 rax = sx.q([rbp - 0xe8 {var_f0_1}].d) 0x1327 76 ecx = [rbp + (rax << 2) - 0xe0].d 0x132e 77 rax = sx.q([rbp - 0xe4 {var_ec_2}].d) 0x1335 78 [rbp + (rax << 2) - 0xe0].d = ecx 0x133c 79 ecx = [rbp - 0xec {var_f4_1}].d 0x1342 80 rax = sx.q([rbp - 0xe8 {var_f0_1}].d) 0x1349 81 [rbp + (rax << 2) - 0xe0].d = ecx 0x1349 82 goto 71 @ 0x1350 0x1355 83 eax = [rbp - 0xe8 {var_f0_1}].d 0x135b 84 eax = eax + 1 0x135e 85 [rbp - 0xe8 {var_f0_1}].d = eax 0x1364 86 goto 60 @ 0x12db int64_t _fini(): 0x13b0 0 rsp = rsp - 8 0x13b4 1 rsp = rsp + 8 0x13b8 2 <return> jump(pop)
POJ_10
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHAWAVAUATSH(H="} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 push(r15) 0x1156 3 push(r14) 0x1158 4 push(r13) 0x115a 5 push(r12) 0x115c 6 push(rbx) 0x115d 7 rsp = rsp - 0x28 0x1161 8 rdi = 0x2018 {"%d"} 0x1168 9 rsi = rbp - 0x2c {var_34} 0x116c 10 eax = 0 0x116e 11 call(0x1040) 0x1173 12 r14 = rsp {var_58} 0x1176 13 eax = [rbp - 0x2c {var_34}].d 0x1179 14 r12 = rsp {var_58} 0x117c 15 rax = (rax << 2) + 0xf 0x1184 16 rax = rax & 0xfffffffffffffff0 0x1188 17 r12 = r12 - rax 0x118b 18 rsp = r12 0x118e 19 eax = [rbp - 0x2c {var_34}].d 0x1193 20 if (eax s<= 0) then 21 @ 0x128c else 26 @ 0x1199 0x128c 21 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x1290 22 xmm2 = _mm_xor_pd(xmm2, xmm2) 0x1294 23 xmm3 = _mm_xor_pd(xmm3, xmm3) 0x1298 24 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x1298 25 goto 37 @ 0x129c 0x1199 26 r12 = r12 + 4 0x119d 27 xmm0 = _mm_xor_pd(xmm0, xmm0) 0x11a1 28 r15 = 0x2018 {"%d"} 0x11a8 29 r13d = 0 0x11ab 30 ebx = 0 0x11ad 31 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x11b1 32 [rbp - 0x38 {var_40_1}].q = xmm1.q 0x11b6 33 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x11ba 34 [rbp - 0x40 {var_48_1}].q = xmm1.q 0x11bf 35 xmm1 = _mm_xor_pd(xmm1, xmm1) 0x11c3 36 goto 60 @ 0x11f7 0x129c 37 xmm4 = zx.o([0x2010].q) 0x12a4 38 xmm5.q = float.d(eax) 0x12a8 39 xmm0.q = xmm0.q f* xmm4.q 0x12ac 40 xmm0.q = xmm0.q f/ xmm5.q 0x12b0 41 xmm1.q = xmm1.q f* xmm4.q 0x12b4 42 xmm1.q = xmm1.q f/ xmm5.q 0x12b8 43 xmm2.q = xmm2.q f* xmm4.q 0x12bc 44 xmm2.q = xmm2.q f/ xmm5.q 0x12c0 45 xmm3.q = xmm3.q f* xmm4.q 0x12c4 46 xmm3.q = xmm3.q f/ xmm5.q 0x12c8 47 rdi = 0x201b {"1-18: %.2lf%%\n19-35: %.2lf%%\n36-60: %.2lf%%\n60??: %.2lf%%"} 0x12cf 48 al = 4 0x12d1 49 call(0x1030) 0x12d6 50 rsp = r14 0x12d9 51 eax = 0 0x12db 52 rsp = rbp - 0x28 0x12df 53 rbx = pop 0x12e0 54 r12 = pop 0x12e2 55 r13 = pop 0x12e4 56 r14 = pop 0x12e6 57 r15 = pop 0x12e8 58 rbp = pop 0x12e9 59 <return> jump(pop) 0x11f7 60 [rbp - 0x48 {var_50_1}].q = xmm1.q 0x11fc 61 [rbp - 0x50 {var_58}].q = xmm0.q 0x1201 62 rsi = r12 + r13 0x1205 63 rdi = r15 0x1208 64 eax = 0 0x120a 65 call(0x1040) 0x120f 66 eax = [r12 + (rbx << 2)].d 0x1213 67 ecx = (rax - 1).d 0x1219 68 if (ecx u<= 0x11) then 69 @ 0x11d0 else 73 @ 0x121b 0x11d0 69 xmm0 = zx.o([rbp - 0x50 {var_58}].q) 0x11d5 70 xmm0.q = xmm0.q f+ fconvert.t([0x2008].q) 0x11dd 71 xmm1 = zx.o([rbp - 0x48 {var_50_1}].q) 0x11dd 72 goto 78 @ 0x11e2 0x121b 73 ecx = (rax - 0x13).d 0x121e 74 cond:0 = ecx u> 0x10 0x1221 75 xmm0 = zx.o([rbp - 0x50 {var_58}].q) 0x1226 76 xmm1 = zx.o([rbp - 0x48 {var_50_1}].q) 0x122b 77 if (cond:0) then 82 @ 0x1240 else 86 @ 0x122d 0x11e2 78 rax = sx.q([rbp - 0x2c {var_34}].d) 0x11e6 79 rbx = rbx + 1 0x11ea 80 r13 = r13 + 4 0x11f1 81 if (rbx s>= rax) then 88 @ 0x1280 else 60 @ 0x11f7 0x1240 82 ecx = (rax - 0x24).d 0x1243 83 cond:1 = ecx u> 0x18 0x1246 84 xmm2 = zx.o([rbp - 0x40 {var_48_1}].q) 0x124b 85 if (cond:1) then 91 @ 0x125c else 95 @ 0x124d 0x122d 86 xmm1.q = xmm1.q f+ fconvert.t([0x2008].q) 0x1235 87 goto 78 @ 0x11e2 0x1280 88 xmm2 = zx.o([rbp - 0x40 {var_48_1}].q) 0x1285 89 xmm3 = zx.o([rbp - 0x38 {var_40_1}].q) 0x128a 90 goto 37 @ 0x129c 0x125c 91 xmm3 = zx.o([rbp - 0x38 {var_40_1}].q) 0x1261 92 xmm2 = xmm3 0x1265 93 xmm2.q = xmm2.q f+ fconvert.t([0x2008].q) 0x1270 94 if (eax s>= 0x3d) then 98 @ 0x1276 else 100 @ 0x1272 0x124d 95 xmm2.q = xmm2.q f+ fconvert.t([0x2008].q) 0x1255 96 [rbp - 0x40 {var_48_1}].q = xmm2.q 0x125a 97 goto 78 @ 0x11e2 0x1276 98 [rbp - 0x38 {var_40_1}].q = xmm2.q 0x127b 99 goto 78 @ 0x11e2 0x1272 100 xmm2 = xmm3 0x1272 101 goto 98 @ 0x1276 int64_t _fini(): 0x12f0 0 rsp = rsp - 8 0x12f4 1 rsp = rsp + 8 0x12f8 2 <return> jump(pop)
POJ_99
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) int32_t putchar(int32_t c): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x11d0 {"AWAVSH8"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) void bubble(int64_t arg1, int32_t arg2): 0x1163 0 if (esi s< 2) then 1 @ 0x11c3 else 2 @ 0x1165 0x11c3 1 <return> jump(pop) 0x1165 2 r9d = (rsi - 1).d 0x1169 3 r8d = 1 0x116f 4 goto 5 @ 0x118d 0x118d 5 r9d = r9d 0x1193 6 if (r8d s>= esi) then 7 @ 0x1180 else 10 @ 0x1195 0x1180 7 r8d = r8d + 1 0x1184 8 r9d = r9d - 1 0x118b 9 if (r8d == esi) then 1 @ 0x11c3 else 5 @ 0x118d 0x1195 10 edx = 0 0x1197 11 goto 12 @ 0x11a8 0x11a8 12 r10d = [rdi + (rdx << 2)].d 0x11ac 13 eax = [rdi + (rdx << 2) + 4].d 0x11b0 14 rcx = rdx + 1 0x11b7 15 if (r10d s<= eax) then 16 @ 0x11a0 else 18 @ 0x11b9 0x11a0 16 rdx = rcx 0x11a6 17 if (r9 == rcx) then 7 @ 0x1180 else 12 @ 0x11a8 0x11b9 18 [rdi + (rdx << 2)].d = eax 0x11bc 19 [rdi + (rdx << 2) + 4].d = r10d 0x11c1 20 goto 16 @ 0x11a0 int32_t main(int32_t argc, char** argv, char** envp): 0x11d0 0 push(r15) 0x11d2 1 push(r14) 0x11d4 2 push(rbx) 0x11d5 3 rsp = rsp - 0x13890 0x11dc 4 rdi = 0x2004 {"%d%d"} 0x11e3 5 rsi = rsp + 0xc {var_1389c} 0x11e8 6 rdx = rsp + 8 {var_138a0} 0x11ed 7 eax = 0 0x11ef 8 call(0x1040) 0x11f9 9 if ([rsp + 0xc {var_1389c}].d s<= 0) then 10 @ 0x122f else 12 @ 0x11fb 0x122f 10 r9d = [rsp + 8 {var_138a0}].d 0x1237 11 if (r9d s<= 0) then 16 @ 0x126f else 18 @ 0x1239 0x11fb 12 r15 = rsp + 0x9c50 {var_9c58} 0x1203 13 r14 = 0x2006 {"%d"} 0x120a 14 ebx = 0 0x120c 15 goto 22 @ 0x1210 0x126f 16 r8d = [rsp + 0xc {var_1389c}].d 0x1278 17 if (r8d s< 2) then 30 @ 0x12e2 else 31 @ 0x127a 0x1239 18 r15 = rsp + 0x10 {var_13898} 0x123e 19 r14 = 0x2006 {"%d"} 0x1245 20 ebx = 0 0x1247 21 goto 34 @ 0x1250 0x1210 22 rdi = r14 0x1213 23 rsi = r15 0x1216 24 eax = 0 0x1218 25 call(0x1040) 0x121d 26 rbx = rbx + 1 0x1221 27 rax = sx.q([rsp + 0xc {var_1389c}].d) 0x1226 28 r15 = r15 + 4 0x122d 29 if (rbx s< rax) then 22 @ 0x1210 else 10 @ 0x122f 0x12e2 30 if (r9d s< 2) then 42 @ 0x1337 else 43 @ 0x12e4 0x127a 31 edx = (r8 - 1).d 0x127e 32 esi = 1 0x1283 33 goto 46 @ 0x129b 0x1250 34 rdi = r14 0x1253 35 rsi = r15 0x1256 36 eax = 0 0x1258 37 call(0x1040) 0x125d 38 rbx = rbx + 1 0x1261 39 r9 = sx.q([rsp + 8 {var_138a0}].d) 0x1266 40 r15 = r15 + 4 0x126d 41 if (rbx s< r9) then 34 @ 0x1250 else 16 @ 0x126f 0x1337 42 if ([rsp + 0xc {var_1389c}].d s<= 0) then 48 @ 0x1374 else 49 @ 0x1339 0x12e4 43 ecx = (r9 - 1).d 0x12e8 44 edx = 1 0x12ed 45 goto 52 @ 0x12fb 0x129b 46 edx = edx 0x12a0 47 if (esi s>= r8d) then 54 @ 0x1290 else 57 @ 0x12a2 0x1374 48 if ([rsp + 8 {var_138a0}].d s<= 0) then 59 @ 0x13c6 else 65 @ 0x1376 0x1339 49 r14 = 0x2009 {"%d "} 0x1340 50 ebx = 0 0x134c 51 goto 68 @ 0x1350 0x12fb 52 ecx = ecx 0x1300 53 if (edx s>= r9d) then 75 @ 0x12f0 else 78 @ 0x1302 0x1290 54 esi = esi + 1 0x1293 55 edx = edx - 1 0x1299 56 if (esi == r8d) then 30 @ 0x12e2 else 46 @ 0x129b 0x12a2 57 edi = 0 0x12a4 58 goto 80 @ 0x12b8 0x13c6 59 eax = 0 0x13c8 60 rsp = rsp + 0x13890 0x13cf 61 rbx = pop 0x13d0 62 r14 = pop 0x13d2 63 r15 = pop 0x13d4 64 <return> jump(pop) 0x1376 65 r14 = 0x2006 {"%d"} 0x137d 66 ebx = 0 0x137f 67 goto 84 @ 0x139e 0x1350 68 esi = [rsp + (rbx << 2) + 0x9c50].d 0x1357 69 rdi = r14 0x135a 70 eax = 0 0x135c 71 call(0x1030) 0x1361 72 rbx = rbx + 1 0x1365 73 rax = sx.q([rsp + 0xc {var_1389c}].d) 0x136d 74 if (rbx s< rax) then 68 @ 0x1350 else 48 @ 0x1374 0x12f0 75 edx = edx + 1 0x12f3 76 ecx = ecx - 1 0x12f9 77 if (edx == r9d) then 42 @ 0x1337 else 52 @ 0x12fb 0x1302 78 esi = 0 0x1304 79 goto 91 @ 0x1318 0x12b8 80 ecx = [rsp + (rdi << 2) + 0x9c50].d 0x12bf 81 eax = [rsp + (rdi << 2) + 0x9c54].d 0x12c6 82 rbx = rdi + 1 0x12cc 83 if (ecx s<= eax) then 95 @ 0x12b0 else 97 @ 0x12ce 0x139e 84 esi = [rsp + (rbx << 2) + 0x10].d 0x13a2 85 rdi = r14 0x13a5 86 eax = 0 0x13a7 87 call(0x1030) 0x13ac 88 rax = sx.q([rsp + 8 {var_138a0}].d) 0x13b1 89 rax = rax - 1 0x13b8 90 if (rbx s>= rax) then 100 @ 0x1390 else 103 @ 0x13ba 0x1318 91 ebx = [rsp + (rsi << 2) + 0x10].d 0x131c 92 eax = [rsp + (rsi << 2) + 0x14].d 0x1320 93 rdi = rsi + 1 0x1326 94 if (ebx s<= eax) then 106 @ 0x1310 else 108 @ 0x1328 0x12b0 95 rdi = rbx 0x12b6 96 if (rdx == rbx) then 54 @ 0x1290 else 80 @ 0x12b8 0x12ce 97 [rsp + (rdi << 2) + 0x9c50].d = eax 0x12d5 98 [rsp + (rdi << 2) + 0x9c54].d = ecx 0x12dc 99 goto 95 @ 0x12b0 0x1390 100 rbx = rbx + 1 0x1394 101 rax = sx.q([rsp + 8 {var_138a0}].d) 0x139c 102 if (rbx s>= rax) then 59 @ 0x13c6 else 84 @ 0x139e 0x13ba 103 edi = 0x20 {"@"} 0x13bf 104 call(0x1050) 0x13c4 105 goto 100 @ 0x1390 0x1310 106 rsi = rdi 0x1316 107 if (rcx == rdi) then 75 @ 0x12f0 else 91 @ 0x1318 0x1328 108 [rsp + (rsi << 2) + 0x10].d = eax 0x132c 109 [rsp + (rsi << 2) + 0x14].d = ebx 0x1330 110 goto 106 @ 0x1310 int64_t _fini(): 0x13dc 0 rsp = rsp - 8 0x13e0 1 rsp = rsp + 8 0x13e4 2 <return> jump(pop)
POJ_8
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t scanf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t puts(char const* str): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVATSHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(r12) 0x1156 3 push(rbx) 0x1157 4 rsp = rsp - 0x348 0x115e 5 rdi = 0x2012 {"%d"} 0x1165 6 rsi = rsp + 0xc {var_35c} 0x116a 7 eax = 0 0x116c 8 call(0x1030) 0x1176 9 if ([rsp + 0xc {var_35c}].d s<= 0) then 10 @ 0x12d8 else 17 @ 0x117c 0x12d8 10 eax = 0 0x12da 11 rsp = rsp + 0x348 0x12e1 12 rbx = pop 0x12e2 13 r12 = pop 0x12e4 14 r14 = pop 0x12e6 15 r15 = pop 0x12e8 16 <return> jump(pop) 0x117c 17 r14 = rsp + 0x20 {var_348} 0x1181 18 r12 = rsp + 0x1b0 {var_1b8} 0x1189 19 r15 = 0x2010 {"%d%d"} 0x1190 20 ebx = 0 0x119c 21 goto 22 @ 0x11a0 0x11a0 22 rdi = r15 0x11a3 23 rsi = r12 0x11a6 24 rdx = r14 0x11a9 25 eax = 0 0x11ab 26 call(0x1030) 0x11b0 27 rbx = rbx + 1 0x11b4 28 rax = sx.q([rsp + 0xc {var_35c}].d) 0x11b9 29 r14 = r14 + 4 0x11bd 30 r12 = r12 + 4 0x11c4 31 if (rbx s< rax) then 22 @ 0x11a0 else 32 @ 0x11c9 0x11c9 32 if (eax s< 2) then 10 @ 0x12d8 else 33 @ 0x11cf 0x11cf 33 xmm1.d = float.s([rsp + 0x20 {var_348}].d) 0x11d5 34 xmm0.d = float.s([rsp + 0x1b0 {var_1b8}].d) 0x11de 35 xmm1.d = xmm1.d f/ xmm0.d 0x11e2 36 ebx = 1 0x11e7 37 xmm2 = zx.o([0x2008].q) 0x11ef 38 r14 = 0x2020 {"better"} 0x11f6 39 r15 = 0x201a {"worse"} 0x11fd 40 r12 = 0x2015 {"same"} 0x1204 41 [rsp + 8 {var_360_1}].d = xmm1.d 0x120a 42 goto 43 @ 0x1222 0x1222 43 xmm3 = 0 0x1225 44 xmm3.d = float.s([rsp + (rbx << 2) + 0x20].d) 0x122b 45 xmm0 = 0 0x122e 46 xmm0.d = float.s([rsp + (rbx << 2) + 0x1b0].d) 0x1237 47 xmm3.d = xmm3.d f/ xmm0.d 0x123b 48 xmm0 = xmm3 0x123e 49 xmm0.d = xmm0.d f- xmm1.d 0x1242 50 xmm0.q = fconvert.d(xmm0.d) 0x1246 51 [rsp + 0x18 {var_350_1}].q = xmm0.q 0x124c 52 flag:p = is_unordered.q(xmm0.q, xmm2.q) 0x124c 53 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x124c 54 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x124c 55 flag:s = 0 0x124c 56 flag:o = 0 0x124c 57 flag:a = 0 0x1250 58 if (flag:z || flag:c) then 59 @ 0x1274 else 69 @ 0x1252 0x1274 59 xmm0 = xmm1 0x1277 60 xmm0.d = xmm0.d f- xmm3.d 0x127b 61 xmm0.q = fconvert.d(xmm0.d) 0x127f 62 flag:p = is_unordered.q(xmm0.q, xmm2.q) 0x127f 63 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x127f 64 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q) 0x127f 65 flag:s = 0 0x127f 66 flag:o = 0 0x127f 67 flag:a = 0 0x1283 68 if (flag:z || flag:c) then 76 @ 0x12a7 else 83 @ 0x1285 0x1252 69 rdi = r14 0x1255 70 [rsp + 0x10 {var_358}].d = xmm3.d 0x125b 71 call(0x1040) 0x1260 72 xmm3 = [rsp + 0x10 {var_358}].d 0x1266 73 xmm2 = zx.o([0x2008].q) 0x126e 74 xmm1 = [rsp + 8 {var_360_1}].d 0x126e 75 goto 59 @ 0x1274 0x12a7 76 flag:p = is_unordered.q(xmm2.q, xmm0.q) 0x12a7 77 flag:c = xmm2.q f< xmm0.q | is_unordered.q(xmm2.q, xmm0.q) 0x12a7 78 flag:z = xmm2.q f== xmm0.q | is_unordered.q(xmm2.q, xmm0.q) 0x12a7 79 flag:s = 0 0x12a7 80 flag:o = 0 0x12a7 81 flag:a = 0 0x12ab 82 if (flag:c) then 90 @ 0x1210 else 93 @ 0x12b1 0x1285 83 rdi = r15 0x1288 84 [rsp + 0x10 {var_358}].q = xmm0.q 0x128e 85 call(0x1040) 0x1293 86 xmm0 = zx.o([rsp + 0x10 {var_358}].q) 0x1299 87 xmm2 = zx.o([0x2008].q) 0x12a1 88 xmm1 = [rsp + 8 {var_360_1}].d 0x12a1 89 goto 76 @ 0x12a7 0x1210 90 rbx = rbx + 1 0x1214 91 rax = sx.q([rsp + 0xc {var_35c}].d) 0x121c 92 if (rbx s>= rax) then 10 @ 0x12d8 else 43 @ 0x1222 0x12b1 93 flag:p = is_unordered.q(xmm2.q, fconvert.t([rsp + 0x18 {var_350_1}].q)) 0x12b1 94 flag:c = xmm2.q f< fconvert.t([rsp + 0x18 {var_350_1}].q) | is_unordered.q(xmm2.q, fconvert.t([rsp + 0x18 {var_350_1}].q)) 0x12b1 95 flag:z = xmm2.q f== fconvert.t([rsp + 0x18 {var_350_1}].q) | is_unordered.q(xmm2.q, fconvert.t([rsp + 0x18 {var_350_1}].q)) 0x12b1 96 flag:s = 0 0x12b1 97 flag:o = 0 0x12b1 98 flag:a = 0 0x12b7 99 if (flag:c) then 90 @ 0x1210 else 100 @ 0x12bd 0x12bd 100 rdi = r12 0x12c0 101 call(0x1040) 0x12c5 102 xmm2 = zx.o([0x2008].q) 0x12cd 103 xmm1 = [rsp + 8 {var_360_1}].d 0x12d3 104 goto 90 @ 0x1210 int64_t _fini(): 0x12f0 0 rsp = rsp - 8 0x12f4 1 rsp = rsp + 8 0x12f8 2 <return> jump(pop)
POJ_67
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH E"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x20 0x1158 3 [rbp - 4 {var_c}].d = 0 0x115f 4 rdi = 0x2004 {"%d"} 0x1166 5 rsi = rbp - 8 {var_10} 0x116a 6 al = 0 0x116c 7 call(0x1040) 0x1175 8 if ([rbp - 8 {var_10}].d != 1) then 9 @ 0x1195 else 13 @ 0x117b 0x1195 9 eax = [rbp - 8 {var_10}].d 0x1198 10 [rbp - 0xc {var_14_1}].d = eax 0x119b 11 [rbp - 0x14 {var_1c_1}].d = 1 0x119b 12 goto 18 @ 0x11a6 0x117b 13 rdi = 0x2007 {"End"} 0x1182 14 al = 0 0x1184 15 call(0x1030) 0x1189 16 [rbp - 4 {var_c_1}].d = 0 0x1190 17 goto 19 @ 0x1233 0x11a6 18 if ([rbp - 0xc {var_14_1}].d == 1) then 23 @ 0x1219 else 24 @ 0x11ac 0x1233 19 eax = [rbp - 4 {var_c_1}].d 0x1236 20 rsp = rsp + 0x20 0x123a 21 rbp = pop 0x123b 22 <return> jump(pop) 0x1219 23 goto 40 @ 0x121e 0x11ac 24 eax = [rbp - 0xc {var_14_1}].d 0x11af 25 [rbp - 0x10 {var_18_1}].d = eax 0x11b2 26 eax = [rbp - 0xc {var_14_1}].d 0x11b5 27 ecx = 2 0x11ba 28 temp2.d:temp3.d = sx.q(eax) 0x11ba 29 edx = temp2.d 0x11ba 30 eax = temp3.d 0x11bb 31 temp4.d = edx 0x11bb 32 temp5.d = eax 0x11bb 33 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx) 0x11bb 34 temp6.d = edx 0x11bb 35 temp7.d = eax 0x11bb 36 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx) 0x11bb 37 eax = temp0.d 0x11bb 38 edx = temp1.d 0x11c0 39 if (edx == 0) then 45 @ 0x11e9 else 65 @ 0x11c6 0x121e 40 rdi = 0x2007 {"End"} 0x1225 41 al = 0 0x1227 42 call(0x1030) 0x122c 43 [rbp - 4 {var_c_2}].d = 0 0x122c 44 goto 19 @ 0x1233 0x11e9 45 eax = [rbp - 0xc {var_14_1}].d 0x11ec 46 ecx = 2 0x11f1 47 temp8.d:temp9.d = sx.q(eax) 0x11f1 48 edx = temp8.d 0x11f1 49 eax = temp9.d 0x11f2 50 temp10.d = edx 0x11f2 51 temp11.d = eax 0x11f2 52 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx) 0x11f2 53 temp12.d = edx 0x11f2 54 temp13.d = eax 0x11f2 55 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx) 0x11f2 56 eax = temp0.d 0x11f2 57 edx = temp1.d 0x11f4 58 [rbp - 0xc {var_14_1}].d = eax 0x11f7 59 esi = [rbp - 0x10 {var_18_1}].d 0x11fa 60 edx = [rbp - 0xc {var_14_1}].d 0x11fd 61 rdi = 0x2016 {"%d/2=%d\n"} 0x1204 62 al = 0 0x1206 63 call(0x1030) 0x1206 64 goto 74 @ 0x120b 0x11c6 65 eax = [rbp - 0xc {var_14_1}].d * 3 0x11ca 66 eax = eax + 1 0x11cd 67 [rbp - 0xc {var_14_1}].d = eax 0x11d0 68 esi = [rbp - 0x10 {var_18_1}].d 0x11d3 69 edx = [rbp - 0xc {var_14_1}].d 0x11d6 70 rdi = 0x200b {"%d*3+1=%d\n"} 0x11dd 71 al = 0 0x11df 72 call(0x1030) 0x11e4 73 goto 74 @ 0x120b 0x120b 74 eax = [rbp - 0x14 {var_1c_1}].d 0x120e 75 eax = eax + 1 0x1211 76 [rbp - 0x14 {var_1c_1}].d = eax 0x1214 77 goto 18 @ 0x11a6 int64_t _fini(): 0x1240 0 rsp = rsp - 8 0x1244 1 rsp = rsp + 8 0x1248 2 <return> jump(pop)
POJ_34
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t scanf(char const* format, ...): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"AWAVSH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(r15) 0x1152 1 push(r14) 0x1154 2 push(rbx) 0x1155 3 rsp = rsp - 0x4d0 0x115c 4 eax = 1 0x1161 5 goto 6 @ 0x1191 0x1191 6 if (eax == 2) then 7 @ 0x11b0 else 9 @ 0x1196 0x11b0 7 [rsp + 0x18 {var_4d0}].d = 0x40000000 {""} 0x11b8 8 goto 10 @ 0x1182 0x1196 9 if (eax != 1) then 12 @ 0x1170 else 16 @ 0x1198 0x1182 10 rax = rax + 1 0x118c 11 if (rax == 0xc9) then 18 @ 0x11ba else 6 @ 0x1191 0x1170 12 xmm0 = [rsp + (rax << 2) + 0xc].d 0x1176 13 xmm0.d = xmm0.d f+ fconvert.t([rsp + (rax << 2) + 8].d) 0x117c 14 [rsp + (rax << 2) + 0x10].d = xmm0.d 0x117c 15 goto 10 @ 0x1182 0x1198 16 [rsp + 0x14 {var_4d4}].d = 0x3f800000 {""} 0x11a0 17 goto 10 @ 0x1182 0x11ba 18 rdi = 0x2004 {"%d"} 0x11c1 19 rsi = rsp + 8 {var_4e0} 0x11c6 20 eax = 0 0x11c8 21 call(0x1040) 0x11d2 22 if ([rsp + 8 {var_4e0}].d s<= 0) then 23 @ 0x1250 else 24 @ 0x11d4 0x1250 23 if ([rsp + 8 {var_4e0}].d s<= 0) then 28 @ 0x1285 else 34 @ 0x1252 0x11d4 24 r14 = 0x2004 {"%d"} 0x11db 25 r15 = rsp + 0xc {var_4dc} 0x11e0 26 ebx = 0 0x11e2 27 goto 37 @ 0x1207 0x1285 28 eax = 0 0x1287 29 rsp = rsp + 0x4d0 0x128e 30 rbx = pop 0x128f 31 r14 = pop 0x1291 32 r15 = pop 0x1293 33 <return> jump(pop) 0x1252 34 ebx = 0 0x1254 35 r14 = 0x2007 {"%.3f\n"} 0x125b 36 goto 44 @ 0x1260 0x1207 37 rdi = r14 0x120a 38 rsi = r15 {var_4dc} 0x120d 39 eax = 0 0x120f 40 call(0x1040) 0x1214 41 eax = [rsp + 0xc {var_4dc}].d 0x1218 42 xmm0 = 0 0x121d 43 if (eax s<= 0) then 52 @ 0x11f0 else 56 @ 0x121f 0x1260 44 xmm0 = [rsp + (rbx << 2) + 0x340].d 0x1269 45 xmm0.q = fconvert.d(xmm0.d) 0x126d 46 rdi = r14 0x1270 47 al = 1 0x1272 48 call(0x1030) 0x1277 49 rbx = rbx + 1 0x127b 50 rax = sx.q([rsp + 8 {var_4e0}].d) 0x1283 51 if (rbx s< rax) then 44 @ 0x1260 else 28 @ 0x1285 0x11f0 52 [rsp + (rbx << 2) + 0x340].d = xmm0.d 0x11f9 53 rbx = rbx + 1 0x11fd 54 rax = sx.q([rsp + 8 {var_4e0}].d) 0x1205 55 if (rbx s>= rax) then 23 @ 0x1250 else 37 @ 0x1207 0x121f 56 ecx = 0 0x122b 57 goto 58 @ 0x1230 0x1230 58 xmm1 = [rsp + (rcx << 2) + 0x18].d 0x1236 59 xmm1.d = xmm1.d f/ fconvert.t([rsp + (rcx << 2) + 0x14].d) 0x123c 60 rcx = rcx + 1 0x1240 61 xmm0.d = xmm0.d f+ xmm1.d 0x1247 62 if (rax != rcx) then 58 @ 0x1230 else 63 @ 0x1249 0x1249 63 goto 52 @ 0x11f0 int64_t _fini(): 0x1298 0 rsp = rsp - 8 0x129c 1 rsp = rsp + 8 0x12a0 2 <return> jump(pop)
POJ_29
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memcpy(void* arg1, void const* arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1050 0 <return> tailcall([0x4028].q) uint64_t strlen(char const* arg1): 0x1060 0 <return> tailcall([0x4030].q) char* strcpy(char* arg1, char const* arg2): 0x1070 0 <return> tailcall([0x4038].q) int32_t scanf(char const* format, ...): 0x1080 0 <return> tailcall([0x4040].q) char* gets(char* buf): 0x1090 0 <return> tailcall([0x4048].q) int32_t strcmp(char const* arg1, char const* arg2): 0x10a0 0 <return> tailcall([0x4050].q) int32_t putchar(int32_t c): 0x10b0 0 <return> tailcall([0x4058].q) void __cxa_finalize(void* d): 0x10c0 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x10d4 0 ebp = 0 0x10d6 1 r9 = rdx 0x10d9 2 rsi = pop 0x10da 3 rdx = rsp {arg_8} 0x10dd 4 rsp = rsp & 0xfffffffffffffff0 0x10e1 5 push(rax) 0x10e2 6 push(rsp) 0x10e3 7 r8d = 0 0x10e6 8 ecx = 0 0x10e8 9 rdi = 0x11c0 {"UAWAVAUATSH"} 0x10ef 10 call([0x3ff8].q) 0x10ef 11 noreturn void deregister_tm_clones(): 0x1100 0 rdi = 0x4070 {""} 0x1107 1 rax = 0x4070 {""} 0x1111 2 if (rax == rdi) then 3 @ 0x1128 else 4 @ 0x1113 0x1128 3 <return> jump(pop) 0x1113 4 rax = [0x3fd8].q 0x111d 5 if (rax == 0) then 3 @ 0x1128 else 6 @ 0x111f 0x111f 6 <return> tailcall(rax) void register_tm_clones(): 0x1130 0 rdi = 0x4070 {""} 0x1137 1 rsi = 0x4070 {""} 0x113e 2 rsi = rsi - rdi 0x1141 3 rax = rsi 0x1144 4 rsi = rsi u>> 0x3f 0x1148 5 rax = rax s>> 3 0x114c 6 rsi = rsi + rax 0x114f 7 rsi = rsi s>> 1 0x1152 8 if (rsi == 0) then 9 @ 0x1168 else 10 @ 0x1154 0x1168 9 <return> jump(pop) 0x1154 10 rax = [0x3ff0].q 0x115e 11 if (rax == 0) then 9 @ 0x1168 else 12 @ 0x1160 0x1160 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x117b 0 if ([0x4070].b != 0) then 1 @ 0x11a8 else 2 @ 0x117d 0x11a8 1 <return> jump(pop) 0x117d 2 push(rbp) 0x117e 3 cond:0 = [0x3fe0].q == 0 0x1186 4 rbp = rsp {__saved_rbp} 0x1189 5 if (cond:0) then 6 @ 0x1197 else 10 @ 0x118b 0x1197 6 call(0x1100) 0x119c 7 [0x4070].b = 1 0x11a3 8 rbp = pop 0x11a4 9 <return> jump(pop) 0x118b 10 rdi = [0x4068].q 0x1192 11 call(0x10c0) 0x1192 12 goto 6 @ 0x1197 int64_t frame_dummy(): 0x11b4 0 <return> tailcall(0x1130) int32_t main(int32_t argc, char** argv, char** envp): 0x11c0 0 push(rbp) 0x11c1 1 push(r15) 0x11c3 2 push(r14) 0x11c5 3 push(r13) 0x11c7 4 push(r12) 0x11c9 5 push(rbx) 0x11ca 6 rsp = rsp - 0x17b8 0x11d1 7 rdi = rsp + 0x2a0 {var_1548} 0x11d9 8 r14d = 0 0x11dc 9 edx = 0x960 {""} 0x11e1 10 esi = 0 0x11e3 11 call(0x1050) 0x11e8 12 rdi = 0x2004 {"%d\n"} 0x11ef 13 rsi = rsp + 0xc {var_17dc} 0x11f4 14 eax = 0 0x11f6 15 call(0x1080) 0x11fb 16 rbx = rsp + 0x40 {var_17a8} 0x1200 17 rdi = rbx {var_17a8} 0x1203 18 eax = 0 0x1205 19 call(0x1090) 0x120a 20 rdi = rbx {var_17a8} 0x120d 21 call(0x1060) 0x1212 22 rbx = sx.q([rsp + 0xc {var_17dc}].d) 0x1217 23 temp0.d = eax 0x1217 24 eax = eax - ebx 0x1219 25 if (temp0.d - ebx s< 0) then 26 @ 0x144a else 30 @ 0x121f 0x144a 26 rdi = 0x2008 {"NO"} 0x1451 27 eax = 0 0x1453 28 call(0x1030) 0x1453 29 goto 34 @ 0x1458 0x121f 30 r15 = rsp + 0x13 {var_17d5} 0x1224 31 r12d = 0 0x1227 32 [rsp + 0x20 {var_17c8_1}].q = rax 0x122c 33 goto 43 @ 0x126d 0x1458 34 eax = 0 0x145a 35 rsp = rsp + 0x17b8 0x1461 36 rbx = pop 0x1462 37 r12 = pop 0x1464 38 r13 = pop 0x1466 39 r14 = pop 0x1468 40 r15 = pop 0x146a 41 rbp = pop 0x146b 42 <return> jump(pop) 0x126d 43 rcx = sx.q(r14d) 0x1270 44 edx = (rbx + rcx).d 0x1273 45 [rsp + 0x30 {var_17b8_1}].q = rdx 0x1278 46 edx = (rcx + 1).d 0x127b 47 [rsp + 0x28 {var_17c0_1}].q = rdx 0x1280 48 edx = ecx 0x1284 49 if (ecx s> eax) then 50 else 52 @ 0x1287 0x1284 50 eax = ecx 0x1284 51 goto 52 @ 0x1287 0x1287 52 edx = not.d(edx) 0x1289 53 [rsp + 8 {var_17e0_1}].d = edx 0x128d 54 eax = eax - ecx 0x128f 55 eax = eax + 1 0x1292 56 [rsp + 4 {var_17e4_1}].d = eax 0x1296 57 [rsp + 0x38 {var_17b0_1}].q = rcx 0x129b 58 r13d = 0 0x129b 59 goto 60 @ 0x129e 0x129e 60 [rsp + 0x18 {var_17d0_1}].q = rcx 0x12a5 61 if (ebx s<= 0) then 62 @ 0x12e3 else 65 @ 0x12a7 0x12e3 62 rbp = rbx 0x12e6 63 [rsp + rbx + 0x13].b = 0 0x12ee 64 if (r12 == 0) then 70 @ 0x1230 else 83 @ 0x12f4 0x12a7 65 rax = [rsp + 0x30 {var_17b8_1}].q 0x12ac 66 eax = eax + r13d 0x12af 67 rcx = [rsp + 0x28 {var_17c0_1}].q 0x12b4 68 ecx = ecx + r13d 0x12b9 69 if (eax s> ecx) then 86 else 88 @ 0x12bc 0x1230 70 rax = r12 + (r12 << 2) 0x1234 71 rdi = rsp + rax 0x1238 72 rdi = rdi + 0xc00 0x123f 73 rsi = r15 {var_17d5} 0x1242 74 call(0x1070) 0x1247 75 [rsp + (r12 << 2) + 0x2a0].d = [rsp + (r12 << 2) + 0x2a0].d + 1 0x1250 76 r12 = r12 + 1 0x1254 77 rcx = [rsp + 0x18 {var_17d0_1}].q 0x1259 78 r14d = (rcx + 1).d 0x125d 79 rax = [rsp + 0x20 {var_17c8_1}].q 0x1262 80 cond:0 = eax s<= ecx 0x1264 81 rbx = rbp 0x1267 82 if (cond:0) then 100 @ 0x1359 else 43 @ 0x126d 0x12f4 83 rbx = rsp + 0xc00 {var_be8} 0x12fc 84 r14d = 0 0x12ff 85 goto 101 @ 0x1300 0x12b9 86 ecx = eax 0x12b9 87 goto 88 @ 0x12bc 0x12bc 88 eax = [rsp + 8 {var_17e0_1}].d 0x12c0 89 edx = eax 0x12c2 90 edx = edx - r13d 0x12c5 91 edx = edx + ecx 0x12c7 92 rdx = rdx + 1 0x12cb 93 rax = [rsp + 0x38 {var_17b0_1}].q 0x12d0 94 rax = rax + r13 0x12d3 95 rsi = rsp + rax 0x12d7 96 rsi = rsi + 0x40 0x12db 97 rdi = r15 {var_17d5} 0x12de 98 call(0x1040) 0x12de 99 goto 62 @ 0x12e3 0x1359 100 if (r12d s<= 0) then 26 @ 0x144a else 105 @ 0x135f 0x1300 101 rdi = rbx 0x1303 102 rsi = r15 {var_17d5} 0x1306 103 call(0x10a0) 0x130d 104 if (eax == 0) then 107 @ 0x1330 else 115 @ 0x130f 0x135f 105 eax = r12d 0x1366 106 if (rax u>= 8) then 118 @ 0x1371 else 126 @ 0x1368 0x1330 107 eax = r14d 0x1333 108 [rsp + (rax << 2) + 0x2a0].d = [rsp + (rax << 2) + 0x2a0].d + 1 0x133b 109 rcx = [rsp + 0x18 {var_17d0_1}].q 0x1340 110 rcx = rcx + 1 0x1344 111 r13 = r13 + 1 0x1348 112 cond:1 = [rsp + 4 {var_17e4_1}].d != r13d 0x134d 113 rbx = rbp 0x1350 114 if (cond:1) then 60 @ 0x129e else 100 @ 0x1359 0x130f 115 r14 = r14 + 1 0x1313 116 rbx = rbx + 5 0x131a 117 if (r12 != r14) then 101 @ 0x1300 else 129 @ 0x131c 0x1371 118 edx = r12d 0x1374 119 edx = edx & 7 0x1377 120 rcx = rax 0x137a 121 rcx = rcx - rdx 0x137d 122 xmm0 = 0 0x1381 123 esi = 0 0x1383 124 xmm1 = 0 0x1387 125 goto 130 @ 0x1390 0x1368 126 ecx = 0 0x136a 127 ebx = 0 0x136c 128 goto 146 @ 0x1430 0x131c 129 goto 70 @ 0x1230 0x1390 130 xmm2 = [rsp + (rsi << 2) + 0x2a0].o 0x1399 131 xmm3 = [rsp + (rsi << 2) + 0x2b0].o 0x13a2 132 xmm4 = xmm2 0x13a6 133 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0) 0x13aa 134 xmm2 = xmm2 & xmm4 0x13ae 135 xmm4 = xmm4 & not.o(xmm0) 0x13b2 136 xmm0 = xmm4 0x13b6 137 xmm0 = xmm0 | xmm2 0x13ba 138 xmm2 = xmm3 0x13be 139 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x13c2 140 xmm3 = xmm3 & xmm2 0x13c6 141 xmm2 = xmm2 & not.o(xmm1) 0x13ca 142 xmm1 = xmm2 0x13ce 143 xmm1 = xmm1 | xmm3 0x13d2 144 rsi = rsi + 8 0x13d9 145 if (rcx != rsi) then 130 @ 0x1390 else 148 @ 0x13db 0x1430 146 edx = [rsp + (rcx << 2) + 0x2a0].d 0x1439 147 if (edx s> ebx) then 167 else 169 @ 0x143c 0x13db 148 xmm2 = xmm0 0x13df 149 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1) 0x13e3 150 xmm0 = xmm0 & xmm2 0x13e7 151 xmm2 = xmm2 & not.o(xmm1) 0x13eb 152 xmm2 = xmm2 | xmm0 0x13ef 153 xmm0 = _mm_shuffle_epi32(xmm2, 0xee) 0x13f4 154 xmm1 = xmm2 0x13f8 155 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0) 0x13fc 156 xmm2 = xmm2 & xmm1 0x1400 157 xmm1 = xmm1 & not.o(xmm0) 0x1404 158 xmm1 = xmm1 | xmm2 0x1408 159 xmm0 = _mm_shuffle_epi32(xmm1, 0x55) 0x140d 160 xmm2 = xmm1 0x1411 161 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0) 0x1415 162 xmm1 = xmm1 & xmm2 0x1419 163 xmm2 = xmm2 & not.o(xmm0) 0x141d 164 xmm2 = xmm2 | xmm1 0x1421 165 ebx = xmm2.d 0x1428 166 if (rdx == 0) then 171 @ 0x1448 else 172 @ 0x142a 0x1439 167 ebx = edx 0x1439 168 goto 169 @ 0x143c 0x143c 169 rcx = rcx + 1 0x1443 170 if (rax != rcx) then 146 @ 0x1430 else 171 @ 0x1448 0x1448 171 if (ebx s> 1) then 173 @ 0x146c else 26 @ 0x144a 0x142a 172 goto 146 @ 0x1430 0x146c 173 rdi = 0x2004 {"%d\n"} 0x1473 174 esi = ebx 0x1475 175 eax = 0 0x1477 176 call(0x1030) 0x147f 177 if (r12d s<= 0) then 34 @ 0x1458 else 178 @ 0x1481 0x1481 178 r12d = r12d 0x1484 179 r13d = 1 0x148a 180 r14 = rsp + 0xc00 {var_be8} 0x1492 181 ebp = 0 0x1494 182 r15 = 0x200b {"%s"} 0x149b 183 goto 184 @ 0x14c4 0x14c4 184 if ([rsp + (rbp << 2) + 0x2a0].d != ebx) then 185 @ 0x14b0 else 188 @ 0x14c9 0x14b0 185 rbp = rbp + 1 0x14b4 186 r14 = r14 + 5 0x14bb 187 if (r12 == rbp) then 34 @ 0x1458 else 184 @ 0x14c4 0x14c9 188 if (r13d != 0) then 189 @ 0x14a0 else 195 @ 0x14cb 0x14a0 189 r13d = 0 0x14a3 190 rdi = r15 0x14a6 191 rsi = r14 0x14a9 192 eax = 0 0x14ab 193 call(0x1030) 0x14ab 194 goto 185 @ 0x14b0 0x14cb 195 edi = 0xa {""} 0x14d0 196 call(0x10b0) 0x14d5 197 goto 189 @ 0x14a0 int64_t _fini(): 0x14dc 0 rsp = rsp - 8 0x14e0 1 rsp = rsp + 8 0x14e4 2 <return> jump(pop)
POJ_51
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1040 0 <return> tailcall([0x4020].q) int32_t scanf(char const* format, ...): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x1160 {"UAWAVATSH8"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) int32_t main(int32_t argc, char** argv, char** envp): 0x1160 0 push(rbp) 0x1161 1 push(r15) 0x1163 2 push(r14) 0x1165 3 push(r12) 0x1167 4 push(rbx) 0x1168 5 rsp = rsp - 0x13890 0x116f 6 r14 = rsp + 0x10 {var_138a8} 0x1174 7 r12d = 0 0x1177 8 edx = 0x13880 {""} 0x117c 9 rdi = r14 {var_138a8} 0x117f 10 esi = 0 0x1181 11 call(0x1040) 0x1186 12 r15 = 0x2005 {"%d"} 0x118d 13 rsi = rsp + 0xc {var_138ac} 0x1192 14 rdi = r15 0x1195 15 eax = 0 0x1197 16 call(0x1050) 0x119c 17 rdi = r15 0x119f 18 rsi = r14 {var_138a8} 0x11a2 19 eax = 0 0x11a4 20 call(0x1050) 0x11a9 21 esi = [rsp + 0x10 {var_138a8}].d 0x11ad 22 rdi = r15 0x11b0 23 eax = 0 0x11b2 24 call(0x1030) 0x11bc 25 if ([rsp + 0xc {var_138ac}].d s< 2) then 26 @ 0x124b else 28 @ 0x11c2 0x124b 26 esi = [rsp + 0x14 {var_138a4}].d 0x1251 27 if (esi == 0) then 32 @ 0x1275 else 40 @ 0x1253 0x11c2 28 ebp = 1 0x11c7 29 r14 = 0x2005 {"%d"} 0x11ce 30 r15 = rsp + 8 {var_138b0} 0x11d3 31 goto 43 @ 0x11e9 0x1275 32 eax = 0 0x1277 33 rsp = rsp + 0x13890 0x127e 34 rbx = pop 0x127f 35 r12 = pop 0x1281 36 r14 = pop 0x1283 37 r15 = pop 0x1285 38 rbp = pop 0x1286 39 <return> jump(pop) 0x1253 40 rbp = rsp + 0x18 {var_138a0} 0x1258 41 rbx = 0x2004 {" %d"} 0x125f 42 goto 49 @ 0x1260 0x11e9 43 ebx = 0 0x11eb 44 rdi = r14 0x11ee 45 rsi = r15 {var_138b0} 0x11f1 46 eax = 0 0x11f3 47 call(0x1050) 0x11fb 48 if (r12d s< 0) then 55 @ 0x1232 else 57 @ 0x11fd 0x1260 49 rdi = rbx 0x1263 50 eax = 0 0x1265 51 call(0x1030) 0x126a 52 esi = [rbp].d 0x126d 53 rbp = rbp + 4 0x1273 54 if (esi != 0) then 49 @ 0x1260 else 32 @ 0x1275 0x1232 55 eax = (r12 + 1).d 0x1239 56 if (ebx != eax) then 61 @ 0x11e0 else 63 @ 0x123b 0x11fd 57 eax = [rsp + 8 {var_138b0}].d 0x1201 58 ebx = (r12 + 1).d 0x1206 59 ecx = 0 0x1208 60 goto 68 @ 0x1214 0x11e0 61 ebp = ebp + 1 0x11e7 62 if (ebp s>= [rsp + 0xc {var_138ac}].d) then 26 @ 0x124b else 43 @ 0x11e9 0x123b 63 ecx = [rsp + 8 {var_138b0}].d 0x123f 64 rdx = sx.q(eax) 0x1242 65 [rsp + (rdx << 2) + 0x10].d = ecx 0x1246 66 r12d = eax 0x1249 67 goto 61 @ 0x11e0 0x1214 68 if (eax == [rsp + (rcx << 2) + 0x10].d) then 69 @ 0x1230 else 71 @ 0x1216 0x1230 69 ebx = ecx 0x1230 70 goto 55 @ 0x1232 0x1216 71 rcx = rcx + 1 0x121d 72 if (rbx != rcx) then 68 @ 0x1214 else 73 @ 0x121f 0x121f 73 goto 55 @ 0x1232 int64_t _fini(): 0x128c 0 rsp = rsp - 8 0x1290 1 rsp = rsp + 8 0x1294 2 <return> jump(pop)
POJ_13
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 char* gets(char* buf): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) int32_t puts(char const* str): 0x1040 0 <return> tailcall([0x4020].q) void __cxa_finalize(void* d): 0x1050 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1064 0 ebp = 0 0x1066 1 r9 = rdx 0x1069 2 rsi = pop 0x106a 3 rdx = rsp {arg_8} 0x106d 4 rsp = rsp & 0xfffffffffffffff0 0x1071 5 push(rax) 0x1072 6 push(rsp) 0x1073 7 r8d = 0 0x1076 8 ecx = 0 0x1078 9 rdi = 0x1150 {"UHH"} 0x107f 10 call([0x3ff8].q) 0x107f 11 noreturn void deregister_tm_clones(): 0x1090 0 rdi = 0x4038 {""} 0x1097 1 rax = 0x4038 {""} 0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3 0x10b8 3 <return> jump(pop) 0x10a3 4 rax = [0x3fd8].q 0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af 0x10af 6 <return> tailcall(rax) void register_tm_clones(): 0x10c0 0 rdi = 0x4038 {""} 0x10c7 1 rsi = 0x4038 {""} 0x10ce 2 rsi = rsi - rdi 0x10d1 3 rax = rsi 0x10d4 4 rsi = rsi u>> 0x3f 0x10d8 5 rax = rax s>> 3 0x10dc 6 rsi = rsi + rax 0x10df 7 rsi = rsi s>> 1 0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4 0x10f8 9 <return> jump(pop) 0x10e4 10 rax = [0x3ff0].q 0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0 0x10f0 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d 0x1138 1 <return> jump(pop) 0x110d 2 push(rbp) 0x110e 3 cond:0 = [0x3fe0].q == 0 0x1116 4 rbp = rsp {__saved_rbp} 0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b 0x1127 6 call(0x1090) 0x112c 7 [0x4038].b = 1 0x1133 8 rbp = pop 0x1134 9 <return> jump(pop) 0x111b 10 rdi = [0x4030].q 0x1122 11 call(0x1050) 0x1122 12 goto 6 @ 0x1127 int64_t frame_dummy(): 0x1144 0 <return> tailcall(0x10c0) int32_t main(int32_t argc, char** argv, char** envp): 0x1150 0 push(rbp) 0x1151 1 rbp = rsp {__saved_rbp} 0x1154 2 rsp = rsp - 0x3b0 0x115b 3 [rbp - 4 {var_c}].d = 0 0x115b 4 goto 5 @ 0x1162 0x1162 5 rdi = rbp - 0x3a0 {var_3a8} 0x1169 6 al = 0 0x116b 7 call(0x1030) 0x1173 8 if (eax == 0) then 9 @ 0x12f4 else 13 @ 0x1179 0x12f4 9 eax = 0 0x12f6 10 rsp = rsp + 0x3b0 0x12fd 11 rbp = pop 0x12fe 12 <return> jump(pop) 0x1179 13 [rbp - 0x3a8 {var_3b0_1}].d = 0 0x1183 14 rdi = rbp - 0x3a0 {var_3a8} 0x118a 15 al = 0 0x118c 16 call(0x1040) 0x1191 17 [rbp - 0x3a4 {var_3ac_1}].d = 0 0x1191 18 goto 19 @ 0x119b 0x119b 19 rax = sx.q([rbp - 0x3a4 {var_3ac_1}].d) 0x11aa 20 if ([rbp + rax - 0x3a0].b == 0) then 21 @ 0x129a else 23 @ 0x11b0 0x129a 21 [rbp - 0x3a4 {var_3ac_2}].d = 0 0x129a 22 goto 26 @ 0x12a4 0x11b0 23 rax = sx.q([rbp - 0x3a4 {var_3ac_1}].d) 0x11b7 24 eax = sx.d([rbp + rax - 0x3a0].b) 0x11c2 25 if (eax != 0x28) then 28 @ 0x11ff else 31 @ 0x11c8 0x12a4 26 eax = [rbp - 0x3a4 {var_3ac_2}].d 0x12b0 27 if (eax s>= [rbp - 0x3a8 {var_3b0_1}].d) then 40 @ 0x12e1 else 44 @ 0x12b6 0x11ff 28 rax = sx.q([rbp - 0x3a4 {var_3ac_1}].d) 0x1206 29 eax = sx.d([rbp + rax - 0x3a0].b) 0x1211 30 if (eax != 0x29) then 51 @ 0x126d else 54 @ 0x121e 0x11c8 31 rax = sx.q([rbp - 0x3a8 {var_3b0_1}].d) 0x11cf 32 [rbp + (rax << 3) - 0x330].b = 0x28 {"7"} 0x11d7 33 ecx = [rbp - 0x3a4 {var_3ac_1}].d 0x11dd 34 rax = sx.q([rbp - 0x3a8 {var_3b0_1}].d) 0x11e4 35 [rbp + (rax << 3) - 0x32c].d = ecx 0x11eb 36 eax = [rbp - 0x3a8 {var_3b0_1}].d 0x11f1 37 eax = eax + 1 0x11f4 38 [rbp - 0x3a8 {var_3b0_1}].d = eax 0x11fa 39 goto 55 @ 0x1281 0x12e1 40 rdi = rbp - 0x3a0 {var_3a8} 0x12e8 41 al = 0 0x12ea 42 call(0x1040) 0x12ef 43 goto 5 @ 0x1162 0x12b6 44 rax = sx.q([rbp - 0x3a4 {var_3ac_2}].d) 0x12bd 45 rax = sx.q([rbp + (rax << 3) - 0x32c].d) 0x12c5 46 [rbp + rax - 0x3a0].b = 0x24 {""} 0x12cd 47 eax = [rbp - 0x3a4 {var_3ac_2}].d 0x12d3 48 eax = eax + 1 0x12d6 49 [rbp - 0x3a4 {var_3ac_2}].d = eax 0x12dc 50 goto 26 @ 0x12a4 0x126d 51 rax = sx.q([rbp - 0x3a4 {var_3ac_1}].d) 0x1274 52 [rbp + rax - 0x3a0].b = 0x20 {"@"} 0x1274 53 goto 56 @ 0x127c 0x121e 54 if ([rbp - 0x3a8 {var_3b0_1}].d != 0) then 57 @ 0x1238 else 66 @ 0x1224 0x1281 55 goto 69 @ 0x1286 0x127c 56 goto 55 @ 0x1281 0x1238 57 rax = sx.q([rbp - 0x3a4 {var_3ac_1}].d) 0x123f 58 [rbp + rax - 0x3a0].b = 0x20 {"@"} 0x1247 59 eax = [rbp - 0x3a8 {var_3b0_1}].d 0x124d 60 eax = eax - 1 0x1250 61 [rbp - 0x3a8 {var_3b0_1}].d = eax 0x1256 62 rax = sx.q(eax) 0x1258 63 rax = sx.q([rbp + (rax << 3) - 0x32c].d) 0x1260 64 [rbp + rax - 0x3a0].b = 0x20 {"@"} 0x1260 65 goto 73 @ 0x1268 0x1224 66 rax = sx.q([rbp - 0x3a4 {var_3ac_1}].d) 0x122b 67 [rbp + rax - 0x3a0].b = 0x3f {""} 0x1233 68 goto 73 @ 0x1268 0x1286 69 eax = [rbp - 0x3a4 {var_3ac_1}].d 0x128c 70 eax = eax + 1 0x128f 71 [rbp - 0x3a4 {var_3ac_1}].d = eax 0x1295 72 goto 19 @ 0x119b 0x1268 73 goto 56 @ 0x127c int64_t _fini(): 0x1304 0 rsp = rsp - 8 0x1308 1 rsp = rsp + 8 0x130c 2 <return> jump(pop)
POJ_17
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int64_t memset(void* arg1, int32_t arg2, uint64_t arg3): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) int32_t puts(char const* str): 0x1060 0 <return> tailcall([0x4030].q) void __cxa_finalize(void* d): 0x1070 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1084 0 ebp = 0 0x1086 1 r9 = rdx 0x1089 2 rsi = pop 0x108a 3 rdx = rsp {arg_8} 0x108d 4 rsp = rsp & 0xfffffffffffffff0 0x1091 5 push(rax) 0x1092 6 push(rsp) 0x1093 7 r8d = 0 0x1096 8 ecx = 0 0x1098 9 rdi = 0x1170 {"UAVSH'"} 0x109f 10 call([0x3ff8].q) 0x109f 11 noreturn void deregister_tm_clones(): 0x10b0 0 rdi = 0x4048 {""} 0x10b7 1 rax = 0x4048 {""} 0x10c1 2 if (rax == rdi) then 3 @ 0x10d8 else 4 @ 0x10c3 0x10d8 3 <return> jump(pop) 0x10c3 4 rax = [0x3fd8].q 0x10cd 5 if (rax == 0) then 3 @ 0x10d8 else 6 @ 0x10cf 0x10cf 6 <return> tailcall(rax) void register_tm_clones(): 0x10e0 0 rdi = 0x4048 {""} 0x10e7 1 rsi = 0x4048 {""} 0x10ee 2 rsi = rsi - rdi 0x10f1 3 rax = rsi 0x10f4 4 rsi = rsi u>> 0x3f 0x10f8 5 rax = rax s>> 3 0x10fc 6 rsi = rsi + rax 0x10ff 7 rsi = rsi s>> 1 0x1102 8 if (rsi == 0) then 9 @ 0x1118 else 10 @ 0x1104 0x1118 9 <return> jump(pop) 0x1104 10 rax = [0x3ff0].q 0x110e 11 if (rax == 0) then 9 @ 0x1118 else 12 @ 0x1110 0x1110 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x112b 0 if ([0x4048].b != 0) then 1 @ 0x1158 else 2 @ 0x112d 0x1158 1 <return> jump(pop) 0x112d 2 push(rbp) 0x112e 3 cond:0 = [0x3fe0].q == 0 0x1136 4 rbp = rsp {__saved_rbp} 0x1139 5 if (cond:0) then 6 @ 0x1147 else 10 @ 0x113b 0x1147 6 call(0x10b0) 0x114c 7 [0x4048].b = 1 0x1153 8 rbp = pop 0x1154 9 <return> jump(pop) 0x113b 10 rdi = [0x4040].q 0x1142 11 call(0x1070) 0x1142 12 goto 6 @ 0x1147 int64_t frame_dummy(): 0x1164 0 <return> tailcall(0x10e0) int32_t main(int32_t argc, char** argv, char** envp): 0x1170 0 push(rbp) 0x1171 1 push(r14) 0x1173 2 push(rbx) 0x1174 3 rsp = rsp - 0x27f0 0x117b 4 r14 = rsp + 0x1460 {var_13a8} 0x1183 5 ebx = 0 0x1185 6 edx = 0x1388 {""} 0x118a 7 rdi = r14 {var_13a8} 0x118d 8 esi = 0 0x118f 9 call(0x1030) 0x1194 10 xmm0 = 0 0x1197 11 [rsp + 0xb0 {var_2758}].o = xmm0 0x119f 12 [rsp + 0xa0 {var_2768}].o = xmm0 0x11a7 13 [rsp + 0x90 {var_2778}].o = xmm0 0x11af 14 [rsp + 0x80 {var_2788}].o = xmm0 0x11b7 15 [rsp + 0x70 {var_2798}].o = xmm0 0x11bc 16 [rsp + 0x60 {var_27a8}].o = xmm0 0x11c1 17 [rsp + 0x50 {var_27b8}].o = xmm0 0x11c6 18 [rsp + 0x40 {var_27c8}].o = xmm0 0x11cb 19 [rsp + 0x30 {var_27d8}].o = xmm0 0x11d0 20 [rsp + 0x20 {var_27e8}].o = xmm0 0x11d5 21 [rsp + 0x10 {var_27f8}].o = xmm0 0x11da 22 [rsp {var_2808}].o = xmm0 0x11de 23 [rsp + 0xc0 {var_2748}].q = 0 0x11ea 24 rdi = r14 {var_13a8} 0x11ed 25 eax = 0 0x11ef 26 call(0x1050) 0x11f4 27 rdi = r14 {var_13a8} 0x11f7 28 call(0x1040) 0x11ff 29 if (rax == 0) then 30 @ 0x1277 else 34 @ 0x1201 0x1277 30 ebp = [rsp {var_2808}].d 0x127a 31 r14d = ebx 0x127d 32 eax = ebp 0x1282 33 if (ebx u< 2) then 39 @ 0x12a4 else 40 @ 0x1284 0x1201 34 ebx = 0 0x1203 35 rcx = rsp + 0xd0 {var_2738} 0x120b 36 r8d = 0 0x120e 37 esi = 0 0x1210 38 goto 43 @ 0x1251 0x12a4 39 if (ebx u< 2) then 47 @ 0x12c3 else 48 @ 0x12a6 0x1284 40 ecx = 1 0x1289 41 eax = ebp 0x128b 42 goto 50 @ 0x1290 0x1251 43 r8d = r8d 0x1254 44 rbp = r14 + r8 0x1258 45 edi = 0 0x125a 46 goto 52 @ 0x1260 0x12c3 47 if (ebx == 0) then 54 @ 0x1316 else 59 @ 0x12c5 0x12a6 48 ecx = 1 0x12ab 49 goto 62 @ 0x12b0 0x1290 50 edx = [rsp + (rcx << 2)].d 0x1295 51 if (edx s> eax) then 64 else 66 @ 0x1298 0x1260 52 edx = zx.d([rbp + rdi].b) 0x1268 53 if ((dl & 0xdf) == 0) then 68 @ 0x1220 else 81 @ 0x126a 0x1316 54 rsp = rsp + 0x27f0 0x131d 55 rbx = pop 0x131e 56 r14 = pop 0x1320 57 rbp = pop 0x1321 58 <return> jump(pop) 0x12c5 59 rdi = rsp + 0xd0 {var_2738} 0x12cd 60 ecx = 0 0x12cf 61 goto 85 @ 0x12d3 0x12b0 62 edx = [rsp + (rcx << 2)].d 0x12b5 63 if (edx s< ebp) then 86 else 88 @ 0x12b8 0x1295 64 eax = edx 0x1295 65 goto 66 @ 0x1298 0x1298 66 rcx = rcx + 1 0x129f 67 if (r14 != rcx) then 50 @ 0x1290 else 39 @ 0x12a4 0x1220 68 edx = edi 0x1222 69 rbp = rbx * 0x64 0x1226 70 rbp = rbp + rsp 0x1229 71 rbp = rbp + 0xd0 0x1230 72 [rdx + rbp].b = 0 0x1234 73 rbx = rbx + 1 0x1238 74 esi = esi + 1 0x123b 75 rsi = rsi + rdi 0x123e 76 rdx = sx.q(esi) 0x1241 77 rcx = rcx + 0x64 0x1245 78 r8 = r8 + rdi 0x1248 79 r14 = r14 + 1 0x124f 80 if (rax u<= rdx) then 30 @ 0x1277 else 43 @ 0x1251 0x126a 81 [rsp + (rbx << 2)].d = [rsp + (rbx << 2)].d + 1 0x126e 82 [rcx + rdi].b = dl 0x1271 83 rdi = rdi + 1 0x1275 84 goto 52 @ 0x1260 0x12d3 85 if (eax == [rsp + (rcx << 2)].d) then 90 @ 0x12e4 else 92 @ 0x12d5 0x12b5 86 ebp = edx 0x12b5 87 goto 88 @ 0x12b8 0x12b8 88 rcx = rcx + 1 0x12bf 89 if (r14 != rcx) then 62 @ 0x12b0 else 47 @ 0x12c3 0x12e4 90 call(0x1060) 0x12e4 91 goto 95 @ 0x12e9 0x12d5 92 rcx = rcx + 1 0x12d9 93 rdi = rdi + 0x64 0x12e0 94 if (r14 != rcx) then 85 @ 0x12d3 else 97 @ 0x12e2 0x12e9 95 eax = 0 0x12eb 96 goto 98 @ 0x12f3 0x12e2 97 goto 95 @ 0x12e9 0x12f3 98 if (ebp == [rsp + (rax << 2)].d) then 99 @ 0x1300 else 105 @ 0x12f5 0x1300 99 eax = eax 0x1302 100 rax = rax * 0x64 0x1306 101 rdi = rsp + rax 0x130a 102 rdi = rdi + 0xd0 0x1311 103 call(0x1060) 0x1311 104 goto 54 @ 0x1316 0x12f5 105 rax = rax + 1 0x12fc 106 if (r14 != rax) then 98 @ 0x12f3 else 107 @ 0x12fe 0x12fe 107 goto 54 @ 0x1316 int64_t _fini(): 0x1328 0 rsp = rsp - 8 0x132c 1 rsp = rsp + 8 0x1330 2 <return> jump(pop)
POJ_24
void _init(): 0x1004 0 rsp = rsp - 8 0x1008 1 rax = [0x3fe8].q 0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014 0x1016 3 rsp = rsp + 8 0x101a 4 <return> jump(pop) 0x1014 5 call(rax) 0x1014 6 goto 3 @ 0x1016 int32_t printf(char const* format, ...): 0x1030 0 <return> tailcall([0x4018].q) int64_t sub_1036(): 0x1036 0 push(zx.q(0)) 0x103b 1 goto 2 @ 0x1020 0x1020 2 push([0x4008].q) 0x1026 3 jump([0x4010].q) uint64_t strlen(char const* arg1): 0x1040 0 <return> tailcall([0x4020].q) char* gets(char* buf): 0x1050 0 <return> tailcall([0x4028].q) void __cxa_finalize(void* d): 0x1060 0 <return> tailcall([0x3fe0].q) int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn: 0x1074 0 ebp = 0 0x1076 1 r9 = rdx 0x1079 2 rsi = pop 0x107a 3 rdx = rsp {arg_8} 0x107d 4 rsp = rsp & 0xfffffffffffffff0 0x1081 5 push(rax) 0x1082 6 push(rsp) 0x1083 7 r8d = 0 0x1086 8 ecx = 0 0x1088 9 rdi = 0x11f0 {"AWAVAUATSH"} 0x108f 10 call([0x3ff8].q) 0x108f 11 noreturn void deregister_tm_clones(): 0x10a0 0 rdi = 0x4040 {""} 0x10a7 1 rax = 0x4040 {""} 0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3 0x10c8 3 <return> jump(pop) 0x10b3 4 rax = [0x3fd8].q 0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf 0x10bf 6 <return> tailcall(rax) void register_tm_clones(): 0x10d0 0 rdi = 0x4040 {""} 0x10d7 1 rsi = 0x4040 {""} 0x10de 2 rsi = rsi - rdi 0x10e1 3 rax = rsi 0x10e4 4 rsi = rsi u>> 0x3f 0x10e8 5 rax = rax s>> 3 0x10ec 6 rsi = rsi + rax 0x10ef 7 rsi = rsi s>> 1 0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4 0x1108 9 <return> jump(pop) 0x10f4 10 rax = [0x3ff0].q 0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100 0x1100 12 <return> tailcall(rax) void __do_global_dtors_aux(): 0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d 0x1148 1 <return> jump(pop) 0x111d 2 push(rbp) 0x111e 3 cond:0 = [0x3fe0].q == 0 0x1126 4 rbp = rsp {__saved_rbp} 0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b 0x1137 6 call(0x10a0) 0x113c 7 [0x4040].b = 1 0x1143 8 rbp = pop 0x1144 9 <return> jump(pop) 0x112b 10 rdi = [0x4038].q 0x1132 11 call(0x1060) 0x1132 12 goto 6 @ 0x1137 int64_t frame_dummy(): 0x1154 0 <return> tailcall(0x10d0) uint64_t checkbegin(void* arg1, int32_t arg2): 0x1160 0 eax = esi 0x1162 1 ecx = [0x4044].d 0x116a 2 if (ecx s<= esi) then 3 @ 0x1192 else 4 @ 0x116c 0x1192 3 <return> jump(pop) 0x116c 4 rdx = sx.q(eax) 0x116f 5 rdi = rdi + rdx 0x117c 6 goto 7 @ 0x1183 0x1183 7 if ([rdi].b != 0x20) then 3 @ 0x1192 else 8 @ 0x1185 0x1185 8 eax = eax + 1 0x1188 9 rdi = rdi + 1 0x118e 10 if (ecx != eax) then 7 @ 0x1183 else 11 @ 0x1190 0x1190 11 eax = ecx 0x1190 12 goto 3 @ 0x1192 uint64_t checkend(int64_t arg1, int32_t arg2): 0x11a0 0 eax = [0x4044].d 0x11a6 1 rdx = sx.q(esi) 0x11ab 2 if (eax s<= edx) then 3 else 5 @ 0x11ae 0x11ab 3 eax = edx 0x11ab 4 goto 5 @ 0x11ae 0x11ae 5 rcx = sx.q(eax) 0x11b1 6 eax = eax + 1 0x11b4 7 rcx = rcx - rdx 0x11b7 8 r8 = rdx + rdi 0x11bb 9 r8 = r8 + 1 0x11bf 10 edi = 0 0x11cb 11 goto 12 @ 0x11d3 0x11d3 12 if (rcx == rdi) then 13 @ 0x11e7 else 14 @ 0x11d5 0x11e7 13 <return> jump(pop) 0x11d5 14 rdx = rdi + 1 0x11d9 15 cond:0 = ([r8 + rdi].b & 0xdf) != 0 0x11de 16 rdi = rdx 0x11e1 17 if (cond:0) then 12 @ 0x11d3 else 18 @ 0x11e3 0x11e3 18 esi = esi + edx 0x11e5 19 eax = esi 0x11e5 20 goto 13 @ 0x11e7 int32_t main(int32_t argc, char** argv, char** envp): 0x11f0 0 push(r15) 0x11f2 1 push(r14) 0x11f4 2 push(r13) 0x11f6 3 push(r12) 0x11f8 4 push(rbx) 0x11f9 5 rsp = rsp - 0x3f0 0x1200 6 ebx = 0 0x1202 7 r14 = rsp {var_418} 0x1205 8 rdi = r14 {var_418} 0x1208 9 eax = 0 0x120a 10 call(0x1050) 0x120f 11 rdi = r14 {var_418} 0x1212 12 call(0x1040) 0x1217 13 [0x4044].d = eax 0x121f 14 if (eax s<= 0) then 15 @ 0x1241 else 19 @ 0x1221 0x1241 15 rdx = sx.q(ebx) 0x1244 16 cond:0 = eax s> edx 0x1246 17 esi = edx 0x1248 18 if (cond:0) then 22 else 24 @ 0x124b 0x1221 19 ecx = eax 0x1223 20 ebx = 0 0x122f 21 goto 31 @ 0x1234 0x1248 22 esi = eax 0x1248 23 goto 24 @ 0x124b 0x124b 24 rcx = sx.q(esi) 0x124e 25 esi = esi + 1 0x1251 26 rcx = rcx - rdx 0x1254 27 r8 = rdx + r14 0x1258 28 r8 = r8 + 1 0x125c 29 edi = 0 0x125e 30 goto 32 @ 0x1263 0x1234 31 if ([rsp + rbx].b != 0x20) then 15 @ 0x1241 else 33 @ 0x1236 0x1263 32 if (rcx == rdi) then 35 @ 0x1277 else 38 @ 0x1265 0x1236 33 rbx = rbx + 1 0x123d 34 if (rcx != rbx) then 31 @ 0x1234 else 42 @ 0x123f 0x1277 35 r15d = 0 0x127a 36 ecx = 0 0x1281 37 if (eax s<= 0) then 44 @ 0x12a1 else 50 @ 0x1283 0x1265 38 rdx = rdi + 1 0x1269 39 cond:1 = ([r8 + rdi].b & 0xdf) != 0 0x126e 40 rdi = rdx 0x1271 41 if (cond:1) then 32 @ 0x1263 else 53 @ 0x1273 0x123f 42 ebx = eax 0x123f 43 goto 15 @ 0x1241 0x12a1 44 esi = esi - ecx 0x12a3 45 rdi = 0x2005 {"%d"} 0x12aa 46 eax = 0 0x12ac 47 call(0x1030) 0x12b1 48 r13d = [0x4044].d 0x12bb 49 if (r13d s<= 0) then 56 @ 0x12d3 else 58 @ 0x12bd 0x1283 50 edx = eax 0x1285 51 ecx = 0 0x1287 52 goto 60 @ 0x1294 0x1273 53 ebx = ebx + edx 0x1275 54 esi = ebx 0x1275 55 goto 35 @ 0x1277 0x12d3 56 rcx = sx.q(r15d) 0x12d9 57 if (r13d s<= ecx) then 61 else 63 @ 0x12dd 0x12bd 58 r15d = 0 0x12bd 59 goto 70 @ 0x12c5 0x1294 60 if ([rsp + rcx].b != 0x20) then 44 @ 0x12a1 else 71 @ 0x1296 0x12d9 61 r13d = ecx 0x12d9 62 goto 63 @ 0x12dd 0x12dd 63 rax = sx.q(r13d) 0x12e0 64 r13d = r13d + 1 0x12e4 65 rax = rax - rcx 0x12e7 66 rcx = rcx + r14 0x12ea 67 rcx = rcx + 1 0x12ee 68 edx = 0 0x12ee 69 goto 73 @ 0x12f3 0x12c5 70 if ([rsp + r15].b != 0x20) then 56 @ 0x12d3 else 74 @ 0x12c7 0x1296 71 rcx = rcx + 1 0x129d 72 if (rdx != rcx) then 60 @ 0x1294 else 76 @ 0x129f 0x12f3 73 if (rax == rdx) then 78 @ 0x1308 else 80 @ 0x12f5 0x12c7 74 r15 = r15 + 1 0x12ce 75 if (r13 != r15) then 70 @ 0x12c5 else 84 @ 0x12d0 0x129f 76 ecx = eax 0x129f 77 goto 44 @ 0x12a1 0x1308 78 r8d = [0x4044].d 0x1312 79 if (r13d s>= r8d) then 86 @ 0x1441 else 94 @ 0x1318 0x12f5 80 rsi = rdx + 1 0x12f9 81 cond:2 = ([rcx + rdx].b & 0xdf) != 0 0x12fd 82 rdx = rsi 0x1300 83 if (cond:2) then 73 @ 0x12f3 else 97 @ 0x1302 0x12d0 84 r15d = r13d 0x12d0 85 goto 56 @ 0x12d3 0x1441 86 eax = 0 0x1443 87 rsp = rsp + 0x3f0 0x144a 88 rbx = pop 0x144b 89 r12 = pop 0x144d 90 r13 = pop 0x144f 91 r14 = pop 0x1451 92 r15 = pop 0x1453 93 <return> jump(pop) 0x1318 94 r15 = rsp + 1 {var_417} 0x131d 95 r14 = 0x2004 {",%d"} 0x1324 96 goto 100 @ 0x1343 0x1302 97 r15d = r15d + esi 0x1305 98 r13d = r15d 0x1305 99 goto 78 @ 0x1308 0x1343 100 r13d = r13d + 1 0x1347 101 r12 = sx.q(r13d) 0x134a 102 ecx = r13d 0x1350 103 if (r8d s<= r13d) then 104 @ 0x1374 else 108 @ 0x1352 0x1374 104 rdx = sx.q(ecx) 0x1377 105 cond:3 = r8d s> edx 0x137a 106 esi = edx 0x137c 107 if (cond:3) then 111 else 113 @ 0x1380 0x1352 108 rdx = rsp + r12 0x1356 109 ecx = r13d 0x1359 110 goto 119 @ 0x1363 0x137c 111 esi = r8d 0x137c 112 goto 113 @ 0x1380 0x1380 113 rdi = sx.q(esi) 0x1383 114 esi = esi + 1 0x1386 115 rdi = rdi - rdx 0x1389 116 rdx = rdx + r15 0x138c 117 eax = 0 0x138e 118 goto 120 @ 0x1393 0x1363 119 if ([rdx].b != 0x20) then 104 @ 0x1374 else 121 @ 0x1365 0x1393 120 if (rdi == rax) then 124 @ 0x13a6 else 126 @ 0x1395 0x1365 121 ecx = ecx + 1 0x1368 122 rdx = rdx + 1 0x136f 123 if (r8d != ecx) then 119 @ 0x1363 else 130 @ 0x1371 0x13a6 124 ecx = r13d 0x13ac 125 if (r8d s<= r13d) then 132 @ 0x13d4 else 138 @ 0x13ae 0x1395 126 rbx = rax + 1 0x1399 127 cond:4 = ([rdx + rax].b & 0xdf) != 0 0x139d 128 rax = rbx 0x13a0 129 if (cond:4) then 120 @ 0x1393 else 141 @ 0x13a2 0x1371 130 ecx = r8d 0x1371 131 goto 104 @ 0x1374 0x13d4 132 esi = esi - ecx 0x13d6 133 rdi = r14 0x13d9 134 eax = 0 0x13db 135 call(0x1030) 0x13e0 136 ecx = [0x4044].d 0x13e9 137 if (ecx s<= r13d) then 144 @ 0x1405 else 146 @ 0x13eb 0x13ae 138 rdx = rsp + r12 0x13b2 139 ecx = r13d 0x13bf 140 goto 148 @ 0x13c3 0x13a2 141 ecx = ecx + ebx 0x13a4 142 esi = ecx 0x13a4 143 goto 124 @ 0x13a6 0x1405 144 rax = sx.q(r13d) 0x140a 145 if (ecx s<= eax) then 149 else 151 @ 0x140d 0x13eb 146 rax = rsp + r12 0x13ef 147 goto 157 @ 0x13f3 0x13c3 148 if ([rdx].b != 0x20) then 132 @ 0x13d4 else 158 @ 0x13c5 0x140a 149 ecx = eax 0x140a 150 goto 151 @ 0x140d 0x140d 151 rdx = sx.q(ecx) 0x1410 152 ecx = ecx + 1 0x1413 153 rdx = rdx - rax 0x1416 154 rax = rax + r15 0x1419 155 esi = 0 0x141b 156 goto 161 @ 0x1423 0x13f3 157 if ([rax].b != 0x20) then 144 @ 0x1405 else 162 @ 0x13f5 0x13c5 158 ecx = ecx + 1 0x13c8 159 rdx = rdx + 1 0x13cf 160 if (r8d != ecx) then 148 @ 0x13c3 else 165 @ 0x13d1 0x1423 161 if (rdx == rsi) then 167 @ 0x1330 else 170 @ 0x1429 0x13f5 162 r13d = r13d + 1 0x13f9 163 rax = rax + 1 0x1400 164 if (ecx != r13d) then 157 @ 0x13f3 else 174 @ 0x1402 0x13d1 165 ecx = r8d 0x13d1 166 goto 132 @ 0x13d4 0x1330 167 r8d = [0x4044].d 0x1337 168 r13d = ecx 0x133d 169 if (ecx s>= r8d) then 86 @ 0x1441 else 100 @ 0x1343 0x1429 170 rdi = rsi + 1 0x142d 171 cond:5 = ([rax + rsi].b & 0xdf) != 0 0x1431 172 rsi = rdi 0x1434 173 if (cond:5) then 161 @ 0x1423 else 176 @ 0x1436 0x1402 174 r13d = ecx 0x1402 175 goto 144 @ 0x1405 0x1436 176 r13d = r13d + edi 0x1439 177 ecx = r13d 0x143c 178 goto 167 @ 0x1330 int64_t _fini(): 0x1458 0 rsp = rsp - 8 0x145c 1 rsp = rsp + 8 0x1460 2 <return> jump(pop)
POJ_28