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)
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 Ha"}
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 - 0x20
0x1158 4 rbx = 0x20c0 {"%d%d%d"}
0x115f 5 rsi = rsp + 0x1c {var_1c}
0x1164 6 rdx = rsp + 0xc {var_2c}
0x1169 7 rcx = rsp + 8 {var_30}
0x116e 8 rdi = rbx
0x1171 9 eax = 0
0x1173 10 call(0x1040)
0x1178 11 rsi = rsp + 0x18 {var_20}
0x117d 12 rdx = rsp + 0x14 {var_24}
0x1182 13 rcx = rsp + 0x10 {var_28}
0x1187 14 rdi = rbx
0x118a 15 eax = 0
0x118c 16 call(0x1040)
0x1191 17 r14d = [rsp + 0x1c {var_1c}].d
0x1196 18 ebx = [rsp + 0x18 {var_20}].d
0x119d 19 if (r14d != ebx) then 20 @ 0x11c8 else 25 @ 0x119f
0x11c8 20 eax = r14d * -0x3d70a3d7
0x11cf 21 eax = eax + 0x51eb850
0x11d4 22 ecx = eax
0x11d6 23 ecx = ror.d(ecx, 4)
0x11df 24 if (ecx u< 0xa3d70b) then 36 @ 0x11f3 else 44 @ 0x11e1
0x119f 25 esi = [rsp + 0x14 {var_24}].d
0x11a3 26 edx = [rsp + 0x10 {var_28}].d
0x11a7 27 edi = r14d
0x11aa 28 call(0x1490)
0x11af 29 ebx = eax
0x11b1 30 esi = [rsp + 0xc {var_2c}].d
0x11b5 31 edx = [rsp + 8 {var_30}].d
0x11b9 32 edi = r14d
0x11bc 33 call(0x1490)
0x11c1 34 ebx = ebx - eax
0x11c3 35 goto 46 @ 0x13de
0x11f3 36 esi = [rsp + 0xc {var_2c}].d
0x11f7 37 edx = [rsp + 8 {var_30}].d
0x11fb 38 edi = r14d
0x11fe 39 call(0x1490)
0x1203 40 ebp = 0x16e {""}
0x1208 41 ebp = ebp - eax
0x120a 42 eax = (r14 + 1).d
0x1210 43 if (eax s< ebx) then 56 @ 0x123a else 59 @ 0x1212
0x11e1 44 eax = ror.d(eax, 2)
0x11e9 45 if (eax u< 0x28f5c29) then 60 @ 0x1217 else 68 @ 0x11eb
0x13de 46 rdi = 0x20c4 {"%d"}
0x13e5 47 esi = ebx
0x13e7 48 eax = 0
0x13e9 49 call(0x1030)
0x13ee 50 eax = 0
0x13f0 51 rsp = rsp + 0x20
0x13f4 52 rbx = pop
0x13f5 53 r14 = pop
0x13f7 54 rbp = pop
0x13f8 55 <return> jump(pop)
0x123a 56 r14d = not.d(r14d)
0x123d 57 r14d = r14d + ebx
0x1244 58 if (r14d u< 8) then 71 @ 0x13f9 else 73 @ 0x124a
0x1212 59 goto 91 @ 0x13cb
0x1217 60 esi = [rsp + 0xc {var_2c}].d
0x121b 61 edx = [rsp + 8 {var_30}].d
0x121f 62 edi = r14d
0x1222 63 call(0x1490)
0x1227 64 ebp = 0x16d {""}
0x122c 65 ebp = ebp - eax
0x122e 66 eax = (r14 + 1).d
0x1234 67 if (eax s>= ebx) then 91 @ 0x13cb else 56 @ 0x123a
0x11eb 68 eax = r14d
0x11ee 69 eax = eax & 3
0x11f1 70 if (eax != 0) then 60 @ 0x1217 else 36 @ 0x11f3
0x13f9 71 ecx = ebp
0x13fb 72 goto 98 @ 0x1411
0x124a 73 ecx = r14d
0x124d 74 ecx = ecx & 0xfffffff8
0x1250 75 xmm0 = eax
0x1254 76 eax = eax + ecx
0x1256 77 xmm0 = _mm_shuffle_epi32(xmm0, 0)
0x125b 78 xmm0 = __paddd_xmmdq_memdq(xmm0, [0x2010].o)
0x1263 79 xmm1 = ebp
0x1267 80 xmm12 = [0x2020].o
0x1270 81 xmm5 = [0x2040].o
0x1278 82 xmm14 = [0x2050].o
0x1281 83 xmm15 = [0x2070].o
0x128a 84 xmm10 = _mm_cmpeq_epi32(xmm10, xmm10)
0x128f 85 xmm11 = [0x2080].o
0x1298 86 xmm3 = [0x2090].o
0x12a0 87 xmm13 = [0x20a0].o
0x12a9 88 edx = ecx
0x12ab 89 xmm7 = 0
0x12af 90 goto 103 @ 0x12b0
0x13cb 91 esi = [rsp + 0x14 {var_24}].d
0x13cf 92 edx = [rsp + 0x10 {var_28}].d
0x13d3 93 edi = ebx
0x13d5 94 call(0x1490)
0x13da 95 ebx = eax
0x13dc 96 ebx = ebx + ebp
0x13dc 97 goto 46 @ 0x13de
0x1411 98 edx = eax * -0x3d70a3d7
0x1417 99 edx = edx + 0x51eb850
0x141d 100 esi = edx
0x141f 101 esi = ror.d(esi, 4)
0x1428 102 if (esi u< 0xa3d70b) then 156 @ 0x1400 else 159 @ 0x142a
0x12b0 103 xmm2 = xmm0
0x12b4 104 xmm2 = _mm_mul_epu32(xmm2, xmm12)
0x12b9 105 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8)
0x12be 106 xmm6 = _mm_shuffle_epi32(xmm0, 0xf5)
0x12c3 107 xmm6 = _mm_mul_epu32(xmm6, xmm12)
0x12c8 108 xmm6 = _mm_shuffle_epi32(xmm6, 0xe8)
0x12cd 109 xmm2 = _mm_unpacklo_epi32(xmm2, xmm6.q)
0x12d1 110 xmm6 = xmm2
0x12d5 111 xmm6 = __paddd_xmmdq_memdq(xmm6, [0x2030].o)
0x12dd 112 xmm4 = xmm6
0x12e1 113 xmm4 = _mm_srli_epi32(xmm4, 4)
0x12e6 114 xmm8 = xmm6
0x12eb 115 xmm8 = _mm_slli_epi32(xmm8, 0x1c)
0x12f1 116 xmm8 = xmm8 | xmm4
0x12f6 117 xmm8 = xmm8 ^ xmm5
0x12fb 118 xmm8 = _mm_cmpgt_epi32(xmm8, xmm14)
0x1300 119 xmm2 = __paddd_xmmdq_memdq(xmm2, [0x2060].o)
0x1308 120 xmm4 = xmm2
0x130c 121 xmm4 = _mm_srli_epi32(xmm4, 4)
0x1311 122 xmm9 = xmm2
0x1316 123 xmm9 = _mm_slli_epi32(xmm9, 0x1c)
0x131c 124 xmm9 = xmm9 | xmm4
0x1321 125 xmm4 = xmm6
0x1325 126 xmm4 = _mm_srli_epi32(xmm4, 2)
0x132a 127 xmm6 = _mm_slli_epi32(xmm6, 0x1e)
0x132f 128 xmm6 = xmm6 | xmm4
0x1333 129 xmm6 = xmm6 ^ xmm5
0x1337 130 xmm6 = _mm_cmpgt_epi32(xmm6, xmm15)
0x133c 131 xmm6 = xmm6 ^ xmm10
0x1341 132 xmm4 = xmm2
0x1345 133 xmm4 = _mm_srli_epi32(xmm4, 2)
0x134a 134 xmm2 = _mm_slli_epi32(xmm2, 0x1e)
0x134f 135 xmm2 = xmm2 | xmm4
0x1353 136 xmm4 = xmm0
0x1357 137 xmm4 = xmm4 & xmm11
0x135c 138 xmm4 = __pcmpgtd_xmmdq_memdq(xmm4, [0x20b0].o)
0x1364 139 xmm6 = xmm6 | xmm4
0x1368 140 xmm6 = xmm6 & xmm8
0x136d 141 xmm2 = xmm2 ^ xmm5
0x1371 142 xmm2 = _mm_cmpgt_epi32(xmm2, xmm15)
0x1376 143 xmm2 = xmm2 ^ xmm10
0x137b 144 xmm4 = xmm4 | xmm2
0x137f 145 xmm9 = xmm9 ^ xmm5
0x1384 146 xmm9 = _mm_cmpgt_epi32(xmm9, xmm14)
0x1389 147 xmm4 = xmm4 & xmm9
0x138e 148 xmm1 = _mm_add_epi32(xmm1, xmm3)
0x1392 149 xmm1 = _mm_add_epi32(xmm1, xmm6)
0x1396 150 xmm7 = _mm_add_epi32(xmm7, xmm3)
0x139a 151 xmm7 = _mm_add_epi32(xmm7, xmm4)
0x139e 152 xmm0 = _mm_add_epi32(xmm0, xmm13)
0x13a3 153 temp0.d = edx
0x13a3 154 edx = edx - 8
0x13a6 155 if (temp0.d != 8) then 103 @ 0x12b0 else 162 @ 0x13ac
0x1400 156 ecx = ecx + 0x16e
0x1406 157 ebp = ecx
0x1406 158 goto 169 @ 0x1408
0x142a 159 edx = ror.d(edx, 2)
0x142d 160 ebp = (rcx + 0x16d).d
0x1439 161 if (edx u< 0x28f5c29) then 169 @ 0x1408 else 172 @ 0x143b
0x13ac 162 xmm7 = _mm_add_epi32(xmm7, xmm1)
0x13b0 163 xmm0 = _mm_shuffle_epi32(xmm7, 0xee)
0x13b5 164 xmm0 = _mm_add_epi32(xmm0, xmm7)
0x13b9 165 xmm1 = _mm_shuffle_epi32(xmm0, 0x55)
0x13be 166 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x13c2 167 ebp = xmm1.d
0x13c9 168 if (r14d != ecx) then 71 @ 0x13f9 else 91 @ 0x13cb
0x1408 169 eax = eax + 1
0x140b 170 ecx = ebp
0x140f 171 if (ebx == eax) then 91 @ 0x13cb else 98 @ 0x1411
0x143b 172 edx = eax
0x143d 173 edx = edx & 3
0x1440 174 if (edx == 0) then 156 @ 0x1400 else 175 @ 0x1442
0x1442 175 goto 169 @ 0x1408
uint64_t isrunnian(int32_t arg1):
0x1450 0 eax = edi * -0x3d70a3d7
0x1456 1 eax = eax + 0x51eb850
0x145b 2 ecx = eax
0x145d 3 ecx = ror.d(ecx, 4)
0x1466 4 if (ecx u< 0xa3d70b) then 5 @ 0x1480 else 7 @ 0x1468
0x1480 5 eax = 1
0x1485 6 <return> jump(pop)
0x1468 7 eax = ror.d(eax, 2)
0x1470 8 al = eax u>= 0x28f5c29
0x1477 9 cl = (dil & 3) == 0
0x147a 10 cl = cl & al
0x147c 11 eax = zx.d(cl)
0x147f 12 <return> jump(pop)
uint64_t dijitian(int32_t arg1, int32_t arg2, int32_t arg3):
0x1490 0 eax = 0
0x1495 1 if (esi s< 2) then 2 @ 0x15ef else 4 @ 0x149b
0x15ef 2 eax = eax + edx
0x15f1 3 <return> jump(pop)
0x149b 4 eax = edi * -0x3d70a3d7
0x14a1 5 eax = eax + 0x51eb850
0x14a6 6 ecx = eax
0x14a8 7 ecx = ror.d(ecx, 4)
0x14b1 8 if (ecx u<= 0xa3d70a) then 9 @ 0x1534 else 12 @ 0x14b7
0x1534 9 edi = 0
0x1536 10 ecx = 1
0x153b 11 goto 14 @ 0x1540
0x14b7 12 eax = ror.d(eax, 2)
0x14bf 13 if (eax u< 0x28f5c29) then 20 @ 0x1591 else 23 @ 0x14c5
0x1540 14 eax = ecx
0x1542 15 eax = eax & 0x7ffffffd
0x1547 16 r8d = ecx
0x154a 17 r8d = r8d & 0x7ffffff9
0x1551 18 r9d = (rdi + 0x1f).d
0x1558 19 if (ecx == 0xc) then 25 else 27 @ 0x1560
0x1591 20 edi = 0
0x1593 21 ecx = 1
0x1598 22 goto 28 @ 0x15a0
0x14c5 23 edi = edi & 3
0x14c8 24 if (edi != 0) then 20 @ 0x1591 else 34 @ 0x14ce
0x1558 25 edi = r9d
0x1558 26 goto 27 @ 0x1560
0x1560 27 if (r8d == 1) then 37 else 39 @ 0x1567
0x15a0 28 eax = ecx
0x15a2 29 eax = eax & 0x7ffffffd
0x15a7 30 r8d = ecx
0x15aa 31 r8d = r8d & 0x7ffffff9
0x15b1 32 r9d = (rdi + 0x1f).d
0x15b8 33 if (ecx == 0xc) then 40 else 42 @ 0x15c0
0x14ce 34 edi = 0
0x14d0 35 ecx = 1
0x14df 36 goto 43 @ 0x14e0
0x1560 37 edi = r9d
0x1560 38 goto 39 @ 0x1567
0x1567 39 if (eax == 8) then 49 else 51 @ 0x156b
0x15b8 40 edi = r9d
0x15b8 41 goto 42 @ 0x15c0
0x15c0 42 if (r8d == 1) then 53 else 55 @ 0x15c7
0x14e0 43 eax = ecx
0x14e2 44 eax = eax & 0x7ffffffd
0x14e7 45 r8d = ecx
0x14ea 46 r8d = r8d & 0x7ffffff9
0x14f1 47 r9d = (rdi + 0x1f).d
0x14f8 48 if (ecx == 0xc) then 56 else 58 @ 0x1500
0x1567 49 edi = r9d
0x1567 50 goto 51 @ 0x156b
0x156b 51 r8d = (rdi + 0x1e).d
0x1572 52 if (eax == 4) then 59 else 61 @ 0x1579
0x15c0 53 edi = r9d
0x15c0 54 goto 55 @ 0x15c7
0x15c7 55 if (eax == 8) then 62 else 64 @ 0x15cb
0x14f8 56 edi = r9d
0x14f8 57 goto 58 @ 0x1500
0x1500 58 if (r8d == 1) then 66 else 68 @ 0x1507
0x1572 59 edi = r8d
0x1572 60 goto 61 @ 0x1579
0x1579 61 if (eax == 9) then 69 else 71 @ 0x157d
0x15c7 62 edi = r9d
0x15c7 63 goto 64 @ 0x15cb
0x15cb 64 r8d = (rdi + 0x1e).d
0x15d2 65 if (eax == 4) then 73 else 75 @ 0x15d9
0x1500 66 edi = r9d
0x1500 67 goto 68 @ 0x1507
0x1507 68 if (eax == 8) then 76 else 78 @ 0x150b
0x1579 69 edi = r8d
0x1579 70 goto 71 @ 0x157d
0x157d 71 eax = (rdi + 0x1d).d
0x1583 72 if (ecx != 2) then 80 else 82 @ 0x1586
0x15d2 73 edi = r8d
0x15d2 74 goto 75 @ 0x15d9
0x15d9 75 if (eax == 9) then 85 else 87 @ 0x15dd
0x1507 76 edi = r9d
0x1507 77 goto 78 @ 0x150b
0x150b 78 r8d = (rdi + 0x1e).d
0x1512 79 if (eax == 4) then 89 else 91 @ 0x1519
0x1583 80 eax = edi
0x1583 81 goto 82 @ 0x1586
0x1586 82 ecx = ecx + 1
0x1589 83 edi = eax
0x158d 84 if (esi != ecx) then 14 @ 0x1540 else 92 @ 0x158f
0x15d9 85 edi = r8d
0x15d9 86 goto 87 @ 0x15dd
0x15dd 87 eax = (rdi + 0x1c).d
0x15e3 88 if (ecx != 2) then 93 else 95 @ 0x15e6
0x1512 89 edi = r8d
0x1512 90 goto 91 @ 0x1519
0x1519 91 if (eax == 9) then 98 else 100 @ 0x151d
0x158f 92 goto 2 @ 0x15ef
0x15e3 93 eax = edi
0x15e3 94 goto 95 @ 0x15e6
0x15e6 95 ecx = ecx + 1
0x15e9 96 edi = eax
0x15ed 97 if (esi != ecx) then 28 @ 0x15a0 else 2 @ 0x15ef
0x1519 98 edi = r8d
0x1519 99 goto 100 @ 0x151d
0x151d 100 eax = (rdi + 0x1d).d
0x1523 101 if (ecx != 2) then 102 else 104 @ 0x1526
0x1523 102 eax = edi
0x1523 103 goto 104 @ 0x1526
0x1526 104 ecx = ecx + 1
0x1529 105 edi = eax
0x152d 106 if (esi != ecx) then 43 @ 0x14e0 else 107 @ 0x152f
0x152f 107 goto 2 @ 0x15ef
int64_t _fini():
0x15f8 0 rsp = rsp - 8
0x15fc 1 rsp = rsp + 8
0x1600 2 <return> jump(pop)
| POJ_80 |
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 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('"}
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 - 0x2728
0x1171 7 ebp = 0
0x1173 8 rbx = rsp + 0x13a0 {var_13b8}
0x117b 9 rdi = rbx {var_13b8}
0x117e 10 eax = 0
0x1180 11 call(0x1040)
0x1185 12 r15d = 0
0x1188 13 goto 14 @ 0x11af
0x11af 14 eax = zx.d([rbx].b)
0x11b4 15 if (al == 0x20) then 16 @ 0x1190 else 26 @ 0x11b8
0x1190 16 r15 = sx.q(r15d)
0x1193 17 rax = sx.q(ebp)
0x1196 18 rcx = r15 * 0x64
0x119a 19 rcx = rcx + rsp
0x119d 20 rcx = rcx + 0x10
0x11a1 21 [rax + rcx].b = 0
0x11a5 22 r15d = r15d + 1
0x11a9 23 rbx = rbx + 1
0x11ad 24 ebp = 0
0x11ad 25 goto 14 @ 0x11af
0x11b8 26 if (al == 0) then 27 @ 0x11d7 else 39 @ 0x11ba
0x11d7 27 rax = sx.q(r15d)
0x11da 28 rcx = sx.q(ebp)
0x11dd 29 rax = rax * 0x64
0x11e1 30 rax = rax + rsp
0x11e4 31 rax = rax + 0x10
0x11e8 32 [rcx + rax].b = 0
0x11ec 33 r14 = rsp + 0x10 {var_2748}
0x11f1 34 rdi = r14 {var_2748}
0x11f4 35 call(0x1030)
0x11f9 36 rbx = rax
0x11fc 37 eax = 0
0x1201 38 if (r15d s< 0) then 48 @ 0x124a else 50 @ 0x1203
0x11ba 39 rcx = sx.q(r15d)
0x11bd 40 rdx = sx.q(ebp)
0x11c0 41 rcx = rcx * 0x64
0x11c4 42 rcx = rcx + rsp
0x11c7 43 rcx = rcx + 0x10
0x11cb 44 [rdx + rcx].b = al
0x11ce 45 ebp = ebp + 1
0x11d1 46 rbx = rbx + 1
0x11d5 47 goto 14 @ 0x11af
0x124a 48 ebx = 0
0x124a 49 goto 55 @ 0x124c
0x1203 50 r15d = r15d + 1
0x1207 51 ebp = 0
0x1209 52 r13d = 0
0x120c 53 r12d = ebx
0x120f 54 goto 72 @ 0x1210
0x124c 55 rax = rax * 0x64
0x1250 56 rdi = rsp + rax
0x1254 57 rdi = rdi + 0x10
0x1258 58 call(0x1050)
0x125d 59 rax = rbx * 0x64
0x1261 60 rdi = rsp + rax
0x1265 61 rdi = rdi + 0x10
0x1269 62 call(0x1050)
0x126e 63 eax = 0
0x1270 64 rsp = rsp + 0x2728
0x1277 65 rbx = pop
0x1278 66 r12 = pop
0x127a 67 r13 = pop
0x127c 68 r14 = pop
0x127e 69 r15 = pop
0x1280 70 rbp = pop
0x1281 71 <return> jump(pop)
0x1210 72 [rsp + 8 {var_2750_1}].q = rax
0x1215 73 rdi = r14
0x1218 74 call(0x1030)
0x121d 75 cond:0 = r12d s< eax
0x1220 76 if (r12d s< eax) then 77 else 79 @ 0x1224
0x1220 77 r12d = eax
0x1220 78 goto 79 @ 0x1224
0x1224 79 if (cond:0) then 80 else 82 @ 0x1228
0x1224 80 r13d = ebp
0x1224 81 goto 82 @ 0x1228
0x1228 82 cond:1 = ebx s> eax
0x122a 83 if (ebx s> eax) then 84 else 86 @ 0x122d
0x122a 84 ebx = eax
0x122a 85 goto 86 @ 0x122d
0x122d 86 rax = [rsp + 8 {var_2750_1}].q
0x1232 87 if (cond:1) then 88 else 90 @ 0x1235
0x1232 88 eax = ebp
0x1232 89 goto 90 @ 0x1235
0x1235 90 rbp = rbp + 1
0x1239 91 r14 = r14 + 0x64
0x1240 92 if (r15 != rbp) then 72 @ 0x1210 else 93 @ 0x1242
0x1242 93 rbx = sx.q(eax)
0x1245 94 rax = sx.q(r13d)
0x1248 95 goto 55 @ 0x124c
int64_t _fini():
0x1288 0 rsp = rsp - 8
0x128c 1 rsp = rsp + 8
0x1290 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)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
double sqrt(double x):
0x1050 0 <return> tailcall([0x4028].q)
double cos(double arg1):
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 {"UHHPH="}
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 - 0x50
0x1178 3 rdi = 0x202c {"%f%f%f%f%f"}
0x117f 4 rsi = rbp - 4 {var_c}
0x1183 5 rdx = rbp - 8 {var_10}
0x1187 6 rcx = rbp - 0xc {var_14}
0x118b 7 r8 = rbp - 0x10 {var_18}
0x118f 8 r9 = rbp - 0x18 {var_20}
0x1193 9 al = 0
0x1195 10 call(0x1040)
0x119a 11 xmm0 = [rbp - 4 {var_c}].d
0x119f 12 xmm0.d = xmm0.d f+ fconvert.t([rbp - 8 {var_10}].d)
0x11a4 13 xmm0.d = xmm0.d f+ fconvert.t([rbp - 0xc {var_14}].d)
0x11a9 14 xmm0.d = xmm0.d f+ fconvert.t([rbp - 0x10 {var_18}].d)
0x11ae 15 xmm1 = [0x2028].d
0x11b6 16 xmm0.d = xmm0.d f/ xmm1.d
0x11ba 17 [rbp - 0x14 {var_1c}].d = xmm0.d
0x11bf 18 xmm0 = [rbp - 0x14 {var_1c}].d
0x11c4 19 xmm0.d = xmm0.d f- fconvert.t([rbp - 4 {var_c}].d)
0x11c9 20 xmm1 = [rbp - 0x14 {var_1c}].d
0x11ce 21 xmm1.d = xmm1.d f- fconvert.t([rbp - 8 {var_10}].d)
0x11d3 22 xmm0.d = xmm0.d f* xmm1.d
0x11d7 23 xmm1 = [rbp - 0x14 {var_1c}].d
0x11dc 24 xmm1.d = xmm1.d f- fconvert.t([rbp - 0xc {var_14}].d)
0x11e1 25 xmm0.d = xmm0.d f* xmm1.d
0x11e5 26 xmm1 = [rbp - 0x14 {var_1c}].d
0x11ea 27 xmm1.d = xmm1.d f- fconvert.t([rbp - 0x10 {var_18}].d)
0x11ef 28 xmm0.d = xmm0.d f* xmm1.d
0x11f3 29 xmm0.q = fconvert.d(xmm0.d)
0x11f7 30 [rbp - 0x20 {var_28}].q = xmm0.q
0x11fc 31 xmm0 = [rbp - 0x18 {var_20}].d
0x1201 32 xmm0.q = fconvert.d(xmm0.d)
0x1205 33 xmm1 = zx.o([0x2020].q)
0x120d 34 xmm0.q = xmm0.q f* xmm1.q
0x1211 35 xmm1 = zx.o([0x2018].q)
0x1219 36 xmm0.q = xmm0.q f/ xmm1.q
0x121d 37 [rbp - 0x50 {var_58}].q = xmm0.q
0x1222 38 xmm0 = zx.o([rbp - 0x50 {var_58}].q)
0x1227 39 call(0x1060)
0x122c 40 [rbp - 0x28 {var_30}].q = xmm0.q
0x1231 41 xmm0 = zx.o([0x2010].q)
0x1239 42 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x28 {var_30}].q)
0x123e 43 xmm1 = zx.o([0x2008].q)
0x1246 44 xmm0.q = xmm0.q f/ xmm1.q
0x124a 45 [rbp - 0x30 {var_38}].q = xmm0.q
0x124f 46 xmm0 = [rbp - 4 {var_c}].d
0x1254 47 xmm0.d = xmm0.d f* fconvert.t([rbp - 8 {var_10}].d)
0x1259 48 xmm0.d = xmm0.d f* fconvert.t([rbp - 0xc {var_14}].d)
0x125e 49 xmm0.d = xmm0.d f* fconvert.t([rbp - 0x10 {var_18}].d)
0x1263 50 xmm0.q = fconvert.d(xmm0.d)
0x1267 51 xmm0.q = xmm0.q f* fconvert.t([rbp - 0x30 {var_38}].q)
0x126c 52 [rbp - 0x38 {var_40}].q = xmm0.q
0x1271 53 xmm0 = zx.o([rbp - 0x20 {var_28}].q)
0x1276 54 xmm0.q = xmm0.q f- fconvert.t([rbp - 0x38 {var_40}].q)
0x127b 55 [rbp - 0x40 {var_48}].q = xmm0.q
0x1280 56 xmm0 = 0
0x1283 57 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp - 0x40 {var_48}].q))
0x1283 58 flag:c = xmm0.q f< fconvert.t([rbp - 0x40 {var_48}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x40 {var_48}].q))
0x1283 59 flag:z = xmm0.q f== fconvert.t([rbp - 0x40 {var_48}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x40 {var_48}].q))
0x1283 60 flag:s = 0
0x1283 61 flag:o = 0
0x1283 62 flag:a = 0
0x1288 63 if (flag:z || flag:c) then 64 @ 0x12a1 else 72 @ 0x128e
0x12a1 64 xmm0 = zx.o([rbp - 0x40 {var_48}].q)
0x12a6 65 call(0x1050)
0x12ab 66 [rbp - 0x48 {var_50_1}].q = xmm0.q
0x12b0 67 xmm0 = zx.o([rbp - 0x48 {var_50_1}].q)
0x12b5 68 rdi = 0x2046 {"%.4f\n"}
0x12bc 69 al = 1
0x12be 70 call(0x1030)
0x12be 71 goto 76 @ 0x12c3
0x128e 72 rdi = 0x2037 {"Invalid input\n"}
0x1295 73 al = 0
0x1297 74 call(0x1030)
0x129c 75 goto 76 @ 0x12c3
0x12c3 76 rsp = rsp + 0x50
0x12c7 77 rbp = pop
0x12c8 78 <return> jump(pop)
int64_t _fini():
0x12d0 0 rsp = rsp - 8
0x12d4 1 rsp = rsp + 8
0x12d8 2 <return> jump(pop)
| POJ_40 |
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 rdi = 0x2004 {"%d"}
0x116d 7 rsi = rbp - 0x14 {var_1c}
0x1171 8 al = 0
0x1173 9 call(0x1040)
0x1178 10 eax = [rbp - 0x14 {var_1c}].d
0x117b 11 ecx = 0xa {""}
0x1180 12 temp2.d:temp3.d = sx.q(eax)
0x1180 13 edx = temp2.d
0x1180 14 eax = temp3.d
0x1181 15 temp4.d = edx
0x1181 16 temp5.d = eax
0x1181 17 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x1181 18 temp6.d = edx
0x1181 19 temp7.d = eax
0x1181 20 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x1181 21 eax = temp0.d
0x1181 22 edx = temp1.d
0x1183 23 [rbp - 0x18 {var_20}].d = edx
0x1186 24 eax = [rbp - 0x14 {var_1c}].d
0x1189 25 eax = eax - [rbp - 0x18 {var_20}].d
0x118c 26 ecx = 0x64 {""}
0x1191 27 temp8.d:temp9.d = sx.q(eax)
0x1191 28 edx = temp8.d
0x1191 29 eax = temp9.d
0x1192 30 temp10.d = edx
0x1192 31 temp11.d = eax
0x1192 32 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx)
0x1192 33 temp12.d = edx
0x1192 34 temp13.d = eax
0x1192 35 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx)
0x1192 36 eax = temp0.d
0x1192 37 edx = temp1.d
0x1194 38 eax = edx
0x1196 39 ecx = 0xa {""}
0x119b 40 temp14.d:temp15.d = sx.q(eax)
0x119b 41 edx = temp14.d
0x119b 42 eax = temp15.d
0x119c 43 temp16.d = edx
0x119c 44 temp17.d = eax
0x119c 45 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx)
0x119c 46 temp18.d = edx
0x119c 47 temp19.d = eax
0x119c 48 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx)
0x119c 49 eax = temp0.d
0x119c 50 edx = temp1.d
0x119e 51 [rbp - 0x1c {var_24}].d = eax
0x11a1 52 eax = [rbp - 0x14 {var_1c}].d
0x11a4 53 eax = eax - [rbp - 0x18 {var_20}].d
0x11a7 54 ecx = [rbp - 0x1c {var_24}].d * 0xa
0x11ab 55 eax = eax - ecx
0x11ad 56 ecx = 0x3e8 {""}
0x11b2 57 temp20.d:temp21.d = sx.q(eax)
0x11b2 58 edx = temp20.d
0x11b2 59 eax = temp21.d
0x11b3 60 temp22.d = edx
0x11b3 61 temp23.d = eax
0x11b3 62 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx)
0x11b3 63 temp24.d = edx
0x11b3 64 temp25.d = eax
0x11b3 65 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx)
0x11b3 66 eax = temp0.d
0x11b3 67 edx = temp1.d
0x11b5 68 eax = edx
0x11b7 69 ecx = 0x64 {""}
0x11bc 70 temp26.d:temp27.d = sx.q(eax)
0x11bc 71 edx = temp26.d
0x11bc 72 eax = temp27.d
0x11bd 73 temp28.d = edx
0x11bd 74 temp29.d = eax
0x11bd 75 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx)
0x11bd 76 temp30.d = edx
0x11bd 77 temp31.d = eax
0x11bd 78 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx)
0x11bd 79 eax = temp0.d
0x11bd 80 edx = temp1.d
0x11bf 81 [rbp - 0x20 {var_28}].d = eax
0x11c2 82 eax = [rbp - 0x14 {var_1c}].d
0x11c5 83 eax = eax - [rbp - 0x18 {var_20}].d
0x11c8 84 ecx = [rbp - 0x1c {var_24}].d * 0xa
0x11cc 85 eax = eax - ecx
0x11ce 86 ecx = [rbp - 0x20 {var_28}].d * 0x64
0x11d2 87 eax = eax - ecx
0x11d4 88 ecx = 0x2710 {""}
0x11d9 89 temp32.d:temp33.d = sx.q(eax)
0x11d9 90 edx = temp32.d
0x11d9 91 eax = temp33.d
0x11da 92 temp34.d = edx
0x11da 93 temp35.d = eax
0x11da 94 temp0.d = divs.dp.d(temp34.d:temp35.d, ecx)
0x11da 95 temp36.d = edx
0x11da 96 temp37.d = eax
0x11da 97 temp1.d = mods.dp.d(temp36.d:temp37.d, ecx)
0x11da 98 eax = temp0.d
0x11da 99 edx = temp1.d
0x11dc 100 eax = edx
0x11de 101 ecx = 0x3e8 {""}
0x11e3 102 temp38.d:temp39.d = sx.q(eax)
0x11e3 103 edx = temp38.d
0x11e3 104 eax = temp39.d
0x11e4 105 temp40.d = edx
0x11e4 106 temp41.d = eax
0x11e4 107 temp0.d = divs.dp.d(temp40.d:temp41.d, ecx)
0x11e4 108 temp42.d = edx
0x11e4 109 temp43.d = eax
0x11e4 110 temp1.d = mods.dp.d(temp42.d:temp43.d, ecx)
0x11e4 111 eax = temp0.d
0x11e4 112 edx = temp1.d
0x11e6 113 [rbp - 0x24 {var_2c}].d = eax
0x11e9 114 eax = [rbp - 0x14 {var_1c}].d
0x11ec 115 ecx = 0x2710 {""}
0x11f1 116 temp44.d:temp45.d = sx.q(eax)
0x11f1 117 edx = temp44.d
0x11f1 118 eax = temp45.d
0x11f2 119 temp46.d = edx
0x11f2 120 temp47.d = eax
0x11f2 121 temp0.d = divs.dp.d(temp46.d:temp47.d, ecx)
0x11f2 122 temp48.d = edx
0x11f2 123 temp49.d = eax
0x11f2 124 temp1.d = mods.dp.d(temp48.d:temp49.d, ecx)
0x11f2 125 eax = temp0.d
0x11f2 126 edx = temp1.d
0x11f4 127 [rbp - 0x28 {var_30}].d = eax
0x11fb 128 if ([rbp - 0x28 {var_30}].d == 0) then 129 @ 0x1234 else 130 @ 0x1201
0x1234 129 if ([rbp - 0x28 {var_30}].d != 0) then 143 @ 0x126e else 144 @ 0x123e
0x1201 130 esi = [rbp - 0x28 {var_30}].d
0x1204 131 eax = [rbp - 0x24 {var_2c}].d * 0xa
0x1208 132 esi = esi + eax
0x120a 133 eax = [rbp - 0x20 {var_28}].d * 0x64
0x120e 134 esi = esi + eax
0x1210 135 eax = [rbp - 0x1c {var_24}].d * 0x3e8
0x1217 136 esi = esi + eax
0x1219 137 eax = [rbp - 0x18 {var_20}].d * 0x2710
0x1220 138 esi = esi + eax
0x1222 139 rdi = 0x2004 {"%d"}
0x1229 140 al = 0
0x122b 141 call(0x1030)
0x122b 142 goto 129 @ 0x1234
0x126e 143 if ([rbp - 0x28 {var_30}].d != 0) then 145 @ 0x12a9 else 146 @ 0x1278
0x123e 144 if ([rbp - 0x24 {var_2c}].d == 0) then 143 @ 0x126e else 147 @ 0x1244
0x12a9 145 if ([rbp - 0x28 {var_30}].d != 0) then 158 @ 0x12e8 else 159 @ 0x12b3
0x1278 146 if ([rbp - 0x24 {var_2c}].d != 0) then 145 @ 0x12a9 else 160 @ 0x1282
0x1244 147 esi = [rbp - 0x24 {var_2c}].d
0x1247 148 eax = [rbp - 0x20 {var_28}].d * 0xa
0x124b 149 esi = esi + eax
0x124d 150 eax = [rbp - 0x1c {var_24}].d * 0x64
0x1251 151 esi = esi + eax
0x1253 152 eax = [rbp - 0x18 {var_20}].d * 0x3e8
0x125a 153 esi = esi + eax
0x125c 154 rdi = 0x2004 {"%d"}
0x1263 155 al = 0
0x1265 156 call(0x1030)
0x1265 157 goto 143 @ 0x126e
0x12e8 158 if ([rbp - 0x28 {var_30}].d != 0) then 161 @ 0x131d else 165 @ 0x12f2
0x12b3 159 if ([rbp - 0x24 {var_2c}].d != 0) then 158 @ 0x12e8 else 166 @ 0x12bd
0x1282 160 if ([rbp - 0x20 {var_28}].d == 0) then 145 @ 0x12a9 else 167 @ 0x1288
0x131d 161 eax = 0
0x131f 162 rsp = rsp + 0x30
0x1323 163 rbp = pop
0x1324 164 <return> jump(pop)
0x12f2 165 if ([rbp - 0x24 {var_2c}].d != 9) then 161 @ 0x131d else 176 @ 0x12fc
0x12bd 166 if ([rbp - 0x20 {var_28}].d != 0) then 158 @ 0x12e8 else 177 @ 0x12c7
0x1288 167 esi = [rbp - 0x20 {var_28}].d
0x128b 168 eax = [rbp - 0x1c {var_24}].d * 0xa
0x128f 169 esi = esi + eax
0x1291 170 eax = [rbp - 0x18 {var_20}].d * 0x64
0x1295 171 esi = esi + eax
0x1297 172 rdi = 0x2004 {"%d"}
0x129e 173 al = 0
0x12a0 174 call(0x1030)
0x12a0 175 goto 145 @ 0x12a9
0x12fc 176 if ([rbp - 0x20 {var_28}].d != 0) then 161 @ 0x131d else 178 @ 0x1306
0x12c7 177 if ([rbp - 0x1c {var_24}].d == 0) then 158 @ 0x12e8 else 179 @ 0x12cd
0x1306 178 if ([rbp - 0x1c {var_24}].d != 0) then 161 @ 0x131d else 186 @ 0x130c
0x12cd 179 esi = [rbp - 0x1c {var_24}].d
0x12d0 180 eax = [rbp - 0x18 {var_20}].d * 0xa
0x12d4 181 esi = esi + eax
0x12d6 182 rdi = 0x2004 {"%d"}
0x12dd 183 al = 0
0x12df 184 call(0x1030)
0x12df 185 goto 158 @ 0x12e8
0x130c 186 esi = [rbp - 0x18 {var_20}].d
0x130f 187 rdi = 0x2004 {"%d"}
0x1316 188 al = 0
0x1318 189 call(0x1030)
0x1318 190 goto 161 @ 0x131d
int64_t _fini():
0x132c 0 rsp = rsp - 8
0x1330 1 rsp = rsp + 8
0x1334 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 {"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 - 0x1b0
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 rdi = 0x2004 {"%d"}
0x1169 5 rsi = rbp - 0x1ac {var_1b4}
0x1170 6 al = 0
0x1172 7 call(0x1040)
0x1177 8 [rbp - 8 {var_10}].d = 0
0x1177 9 goto 10 @ 0x117e
0x117e 10 eax = [rbp - 8 {var_10}].d
0x1187 11 if (eax s>= [rbp - 0x1ac {var_1b4}].d) then 12 @ 0x11bb else 18 @ 0x118d
0x11bb 12 eax = [rbp - 0x1a0 {var_1a8}].d
0x11c1 13 [rbp - 0x1a4 {var_1ac}].d = eax
0x11c7 14 eax = [rbp - 0x19c {var_1a4}].d
0x11cd 15 [rbp - 0x1a8 {var_1b0}].d = eax
0x11d3 16 [rbp - 8 {var_10_1}].d = 1
0x11d3 17 goto 29 @ 0x11da
0x118d 18 rax = sx.q([rbp - 8 {var_10}].d)
0x1191 19 rsi = rbp - 0x1a0 {var_1a8}
0x1198 20 rax = rax << 2
0x119c 21 rsi = rsi + rax
0x119f 22 rdi = 0x2004 {"%d"}
0x11a6 23 al = 0
0x11a8 24 call(0x1040)
0x11ad 25 eax = [rbp - 8 {var_10}].d
0x11b0 26 eax = eax + 1
0x11b3 27 [rbp - 8 {var_10}].d = eax
0x11b6 28 goto 10 @ 0x117e
0x11da 29 eax = [rbp - 8 {var_10_1}].d
0x11e3 30 if (eax s>= [rbp - 0x1ac {var_1b4}].d) then 31 @ 0x1262 else 40 @ 0x11e9
0x1262 31 esi = [rbp - 0x1a4 {var_1ac}].d
0x1268 32 edx = [rbp - 0x1a8 {var_1b0}].d
0x126e 33 rdi = 0x2007 {"%d\n%d\n"}
0x1275 34 al = 0
0x1277 35 call(0x1030)
0x127c 36 eax = 0
0x127e 37 rsp = rsp + 0x1b0
0x1285 38 rbp = pop
0x1286 39 <return> jump(pop)
0x11e9 40 rax = sx.q([rbp - 8 {var_10_1}].d)
0x11ed 41 eax = [rbp + (rax << 2) - 0x1a0].d
0x11fa 42 if (eax s<= [rbp - 0x1a4 {var_1ac}].d) then 43 @ 0x1222 else 46 @ 0x1200
0x1222 43 rax = sx.q([rbp - 8 {var_10_1}].d)
0x1226 44 eax = [rbp + (rax << 2) - 0x1a0].d
0x1233 45 if (eax s<= [rbp - 0x1a8 {var_1b0}].d) then 52 @ 0x124a else 53 @ 0x1239
0x1200 46 eax = [rbp - 0x1a4 {var_1ac}].d
0x1206 47 [rbp - 0x1a8 {var_1b0}].d = eax
0x120c 48 rax = sx.q([rbp - 8 {var_10_1}].d)
0x1210 49 eax = [rbp + (rax << 2) - 0x1a0].d
0x1217 50 [rbp - 0x1a4 {var_1ac}].d = eax
0x121d 51 goto 57 @ 0x124f
0x124a 52 goto 57 @ 0x124f
0x1239 53 rax = sx.q([rbp - 8 {var_10_1}].d)
0x123d 54 eax = [rbp + (rax << 2) - 0x1a0].d
0x1244 55 [rbp - 0x1a8 {var_1b0}].d = eax
0x1244 56 goto 52 @ 0x124a
0x124f 57 goto 58 @ 0x1254
0x1254 58 eax = [rbp - 8 {var_10_1}].d
0x1257 59 eax = eax + 1
0x125a 60 [rbp - 8 {var_10_1}].d = eax
0x125d 61 goto 29 @ 0x11da
int64_t _fini():
0x128c 0 rsp = rsp - 8
0x1290 1 rsp = rsp + 8
0x1294 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 - 0x61a98
0x115d 5 rdi = 0x2004 {"%d"}
0x1164 6 r15d = 0
0x1167 7 rsi = rsp + 8 {var_61ab0}
0x116c 8 eax = 0
0x116e 9 call(0x1040)
0x1178 10 if ([rsp + 8 {var_61ab0}].d s<= 0) then 11 @ 0x11af else 17 @ 0x117a
0x11af 11 rdi = 0x2004 {"%d"}
0x11b6 12 rsi = rsp + 0xc {var_61aac}
0x11bb 13 eax = 0
0x11bd 14 call(0x1040)
0x11c2 15 rax = sx.q([rsp + 8 {var_61ab0}].d)
0x11ca 16 if (rax s<= 0) then 21 @ 0x1306 else 24 @ 0x11d0
0x117a 17 rbx = rsp + 0x10 {var_61aa8}
0x117f 18 r14 = 0x2004 {"%d"}
0x1186 19 ebp = 0
0x1188 20 goto 29 @ 0x1190
0x1306 21 r15d = not.d(r15d)
0x1309 22 eax = eax + r15d
0x130e 23 if (eax s<= 0) then 37 @ 0x1342 else 39 @ 0x1310
0x11d0 24 r9d = [rsp + 0xc {var_61aac}].d
0x11d5 25 r8 = rsp + 0x84 {var_61a34}
0x11dd 26 esi = 0
0x11df 27 r15d = 0
0x11e2 28 goto 42 @ 0x1202
0x1190 29 rdi = r14
0x1193 30 rsi = rbx
0x1196 31 eax = 0
0x1198 32 call(0x1040)
0x119d 33 rbp = rbp + 1
0x11a1 34 rax = sx.q([rsp + 8 {var_61ab0}].d)
0x11a6 35 rbx = rbx + 4
0x11ad 36 if (rbp s< rax) then 29 @ 0x1190 else 11 @ 0x11af
0x1342 37 ebp = 0
0x1342 38 goto 44 @ 0x1344
0x1310 39 rbx = 0x2007 {"%d "}
0x1317 40 ebp = 0
0x1319 41 goto 55 @ 0x1320
0x1202 42 rdi = sx.q(esi)
0x120a 43 if ([rsp + (rdi << 2) + 0x10].d != r9d) then 64 @ 0x11f7 else 66 @ 0x120e
0x1344 44 esi = [rsp + (rbp << 2) + 0x10].d
0x1348 45 rdi = 0x2004 {"%d"}
0x134f 46 eax = 0
0x1351 47 call(0x1030)
0x1356 48 eax = 0
0x1358 49 rsp = rsp + 0x61a98
0x135f 50 rbx = pop
0x1360 51 r14 = pop
0x1362 52 r15 = pop
0x1364 53 rbp = pop
0x1365 54 <return> jump(pop)
0x1320 55 esi = [rsp + (rbp << 2) + 0x10].d
0x1324 56 rdi = rbx
0x1327 57 eax = 0
0x1329 58 call(0x1030)
0x132e 59 rbp = rbp + 1
0x1332 60 eax = [rsp + 8 {var_61ab0}].d
0x1336 61 eax = eax + r15d
0x1339 62 rax = sx.q(eax)
0x133e 63 if (rbp s< rax) then 55 @ 0x1320 else 67 @ 0x1340
0x11f7 64 esi = esi + 1
0x11fc 65 if (esi s>= eax) then 21 @ 0x1306 else 42 @ 0x1202
0x120e 66 if (esi s>= eax) then 68 @ 0x11f0 else 71 @ 0x1210
0x1340 67 goto 44 @ 0x1344
0x11f0 68 r15d = r15d + 1
0x11f4 69 esi = esi - 1
0x11f4 70 goto 64 @ 0x11f7
0x1210 71 r11 = rax
0x1213 72 r11 = r11 - rdi
0x121a 73 if (r11 u< 8) then 74 @ 0x12f0 else 78 @ 0x1220
0x12f0 74 ecx = [rsp + (rdi << 2) + 0x14].d
0x12f4 75 [rsp + (rdi << 2) + 0x10].d = ecx
0x12f8 76 rdi = rdi + 1
0x12ff 77 if (rax != rdi) then 74 @ 0x12f0 else 87 @ 0x1301
0x1220 78 r10 = r11
0x1223 79 r10 = r10 & 0xfffffffffffffff8
0x1227 80 rbx = r10 - 8
0x122b 81 rcx = rbx
0x122e 82 rcx = rcx u>> 3
0x1232 83 rcx = rcx + 1
0x1236 84 edx = ecx
0x1238 85 edx = edx & 3
0x123f 86 if (rbx u>= 0x18) then 88 @ 0x1245 else 92 @ 0x1241
0x1301 87 goto 68 @ 0x11f0
0x1245 88 rcx = rcx & 0xfffffffffffffffc
0x1249 89 rbx = r8 + (rdi << 2)
0x124d 90 ebp = 0
0x124f 91 goto 94 @ 0x1250
0x1241 92 ebp = 0
0x1243 93 goto 114 @ 0x12ac
0x1250 94 xmm0 = [rbx + (rbp << 2) - 0x70].o
0x1255 95 xmm1 = [rbx + (rbp << 2) - 0x60].o
0x125a 96 xmm2 = [rbx + (rbp << 2) - 0x50].o
0x125f 97 xmm3 = [rbx + (rbp << 2) - 0x40].o
0x1264 98 [rbx + (rbp << 2) - 0x74].o = xmm0
0x1269 99 [rbx + (rbp << 2) - 0x64].o = xmm1
0x126e 100 [rbx + (rbp << 2) - 0x54].o = xmm2
0x1273 101 [rbx + (rbp << 2) - 0x44].o = xmm3
0x1278 102 xmm0 = [rbx + (rbp << 2) - 0x30].o
0x127d 103 xmm1 = [rbx + (rbp << 2) - 0x20].o
0x1282 104 [rbx + (rbp << 2) - 0x34].o = xmm0
0x1287 105 [rbx + (rbp << 2) - 0x24].o = xmm1
0x128c 106 xmm0 = [rbx + (rbp << 2) - 0x10].o
0x1291 107 xmm1 = [rbx + (rbp << 2)].o
0x1295 108 [rbx + (rbp << 2) - 0x14].o = xmm0
0x129a 109 [rbx + (rbp << 2) - 4].o = xmm1
0x129f 110 rbp = rbp + 0x20
0x12a3 111 temp0.q = rcx
0x12a3 112 rcx = rcx - 4
0x12a7 113 if (temp0.q != 4) then 94 @ 0x1250 else 114 @ 0x12ac
0x12ac 114 if (rdx == 0) then 115 @ 0x12df else 116 @ 0x12ae
0x12df 115 if (r11 == r10) then 68 @ 0x11f0 else 122 @ 0x12e5
0x12ae 116 rbp = rbp + rdi
0x12b1 117 rcx = r8 + (rbp << 2)
0x12b5 118 rcx = rcx - 0x60
0x12b9 119 rdx = rdx << 5
0x12bd 120 ebx = 0
0x12bf 121 goto 124 @ 0x12c0
0x12e5 122 rdi = rdi + r10
0x12e8 123 goto 74 @ 0x12f0
0x12c0 124 xmm0 = [rcx + rbx - 0x10].o
0x12c5 125 xmm1 = [rcx + rbx].o
0x12c9 126 [rcx + rbx - 0x14].o = xmm0
0x12ce 127 [rcx + rbx - 4].o = xmm1
0x12d3 128 rbx = rbx + 0x20
0x12da 129 if (rdx != rbx) then 124 @ 0x12c0 else 115 @ 0x12df
int64_t _fini():
0x136c 0 rsp = rsp - 8
0x1370 1 rsp = rsp + 8
0x1374 2 <return> jump(pop)
| POJ_42 |
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 {"UAWAVAUATSHxE1H\$H1HHD$"}
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 - 0x78
0x116e 7 r14d = 0
0x1171 8 rbx = rsp + 0x10 {var_98}
0x1176 9 rdi = rbx {var_98}
0x1179 10 eax = 0
0x117b 11 call(0x1040)
0x1180 12 rdi = rbx {var_98}
0x1183 13 call(0x1030)
0x1188 14 [rsp + 8 {var_a0}].q = rax
0x118f 15 if (eax s<= 0) then 16 @ 0x1248 else 24 @ 0x1195
0x1248 16 rsp = rsp + 0x78
0x124c 17 rbx = pop
0x124d 18 r12 = pop
0x124f 19 r13 = pop
0x1251 20 r14 = pop
0x1253 21 r15 = pop
0x1255 22 rbp = pop
0x1256 23 <return> jump(pop)
0x1195 24 rax = sx.q([rsp + 8 {var_a0}].d)
0x119a 25 r12 = rsp + rax
0x119e 26 r12 = r12 + 0x10
0x11a2 27 r15d = 0
0x11a5 28 goto 29 @ 0x11cb
0x11cb 29 rbx = r12
0x11ce 30 r12 = r12 - 1
0x11d6 31 if ([rbx - 1].b != 0x20) then 32 @ 0x1210 else 35 @ 0x11db
0x1210 32 r13d = (r14 + 1).d
0x1214 33 rax = rsp + 0x10 {var_98}
0x121c 34 if (r12 != rax) then 36 @ 0x11bd else 39 @ 0x1221
0x11db 35 if (r14d s<= 0) then 40 @ 0x11b0 else 44 @ 0x11dd
0x11bd 36 r15d = r15d + 1
0x11c1 37 r14d = r13d
0x11c9 38 if (r15d == [rsp + 8 {var_a0}].d) then 16 @ 0x1248 else 29 @ 0x11cb
0x1221 39 if (r14d s< 0) then 36 @ 0x11bd else 47 @ 0x1223
0x11b0 40 edi = 0x20 {"@"}
0x11b5 41 call(0x1050)
0x11ba 42 r13d = 0
0x11ba 43 goto 36 @ 0x11bd
0x11dd 44 r14d = r14d
0x11e0 45 ebp = 0
0x11ec 46 goto 50 @ 0x11f0
0x1223 47 ebx = r13d
0x1226 48 ebp = 0
0x1228 49 goto 54 @ 0x1230
0x11f0 50 edi = sx.d([rbx + rbp].b)
0x11f4 51 call(0x1050)
0x11f9 52 rbp = rbp + 1
0x1200 53 if (r14 != rbp) then 50 @ 0x11f0 else 58 @ 0x1202
0x1230 54 edi = sx.d([rsp + rbp + 0x10].b)
0x1235 55 call(0x1050)
0x123a 56 rbp = rbp + 1
0x1241 57 if (rbx != rbp) then 54 @ 0x1230 else 59 @ 0x1243
0x1202 58 goto 40 @ 0x11b0
0x1243 59 goto 36 @ 0x11bd
int64_t _fini():
0x125c 0 rsp = rsp - 8
0x1260 1 rsp = rsp + 8
0x1264 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)
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 - 0x360
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 [rbp - 8 {var_10}].d = edi
0x1175 5 [rbp - 0x10 {var_18}].q = rsi
0x1179 6 [rbp - 0x358 {var_360}].d = 0
0x1183 7 rdi = rbp - 0x120 {var_128}
0x118a 8 al = 0
0x118c 9 call(0x1050)
0x1191 10 rdi = rbp - 0x230 {var_238}
0x1198 11 al = 0
0x119a 12 call(0x1050)
0x119f 13 rdi = rbp - 0x340 {var_348}
0x11a6 14 al = 0
0x11a8 15 call(0x1050)
0x11ad 16 rdi = rbp - 0x120 {var_128}
0x11b4 17 call(0x1040)
0x11b9 18 [rbp - 0x348 {var_350}].d = eax
0x11bf 19 rdi = rbp - 0x230 {var_238}
0x11c6 20 call(0x1040)
0x11cb 21 [rbp - 0x34c {var_354}].d = eax
0x11d1 22 [rbp - 0x344 {var_34c}].d = 0
0x11d1 23 goto 24 @ 0x11db
0x11db 24 eax = [rbp - 0x344 {var_34c}].d
0x11e1 25 ecx = [rbp - 0x348 {var_350}].d
0x11e7 26 ecx = ecx - [rbp - 0x34c {var_354}].d
0x11ed 27 ecx = ecx + 1
0x11f2 28 if (eax s>= ecx) then 29 @ 0x1338 else 37 @ 0x11f8
0x1338 29 rsi = rbp - 0x120 {var_128}
0x133f 30 rdi = 0x2004 {"%s"}
0x1346 31 al = 0
0x1348 32 call(0x1030)
0x134d 33 eax = 0
0x134f 34 rsp = rsp + 0x360
0x1356 35 rbp = pop
0x1357 36 <return> jump(pop)
0x11f8 37 [rbp - 0x354 {var_35c_1}].d = 0
0x1202 38 [rbp - 0x350 {var_358_1}].d = 0
0x1202 39 goto 40 @ 0x120c
0x120c 40 eax = [rbp - 0x350 {var_358_1}].d
0x1218 41 if (eax s>= [rbp - 0x34c {var_354}].d) then 42 @ 0x1273 else 44 @ 0x121e
0x1273 42 eax = [rbp - 0x354 {var_35c_1}].d
0x127f 43 if (eax != [rbp - 0x34c {var_354}].d) then 51 @ 0x131f else 52 @ 0x1285
0x121e 44 eax = [rbp - 0x344 {var_34c}].d
0x1224 45 eax = eax + [rbp - 0x350 {var_358_1}].d
0x122a 46 rax = sx.q(eax)
0x122c 47 eax = sx.d([rbp + rax - 0x120].b)
0x1234 48 rcx = sx.q([rbp - 0x350 {var_358_1}].d)
0x123b 49 ecx = sx.d([rbp + rcx - 0x230].b)
0x1245 50 if (eax != ecx) then 54 @ 0x125a else 55 @ 0x124b
0x131f 51 goto 59 @ 0x1324
0x1285 52 [rbp - 0x350 {var_358_2}].d = 0
0x1285 53 goto 63 @ 0x128f
0x125a 54 goto 65 @ 0x125f
0x124b 55 eax = [rbp - 0x354 {var_35c_1}].d
0x1251 56 eax = eax + 1
0x1254 57 [rbp - 0x354 {var_35c_1}].d = eax
0x1254 58 goto 54 @ 0x125a
0x1324 59 eax = [rbp - 0x344 {var_34c}].d
0x132a 60 eax = eax + 1
0x132d 61 [rbp - 0x344 {var_34c}].d = eax
0x1333 62 goto 24 @ 0x11db
0x128f 63 eax = [rbp - 0x350 {var_358_2}].d
0x129b 64 if (eax s>= [rbp - 0x34c {var_354}].d) then 69 @ 0x1303 else 71 @ 0x12a1
0x125f 65 eax = [rbp - 0x350 {var_358_1}].d
0x1265 66 eax = eax + 1
0x1268 67 [rbp - 0x350 {var_358_1}].d = eax
0x126e 68 goto 40 @ 0x120c
0x1303 69 eax = [rbp - 0x358 {var_360}].d
0x130f 70 if (eax != [rbp - 0x34c {var_354}].d) then 82 @ 0x131a else 83 @ 0x1315
0x12a1 71 rax = sx.q([rbp - 0x350 {var_358_2}].d)
0x12a8 72 cl = [rbp + rax - 0x340].b
0x12af 73 eax = [rbp - 0x344 {var_34c}].d
0x12b5 74 eax = eax + [rbp - 0x350 {var_358_2}].d
0x12bb 75 rax = sx.q(eax)
0x12bd 76 [rbp + rax - 0x120].b = cl
0x12c4 77 eax = [rbp - 0x358 {var_360}].d
0x12ca 78 eax = eax + 1
0x12cd 79 [rbp - 0x358 {var_360}].d = eax
0x12d3 80 eax = [rbp - 0x358 {var_360}].d
0x12df 81 if (eax != [rbp - 0x34c {var_354}].d) then 84 @ 0x12ea else 85 @ 0x12e5
0x131a 82 goto 51 @ 0x131f
0x1315 83 goto 29 @ 0x1338
0x12ea 84 goto 86 @ 0x12ef
0x12e5 85 goto 69 @ 0x1303
0x12ef 86 eax = [rbp - 0x350 {var_358_2}].d
0x12f5 87 eax = eax + 1
0x12f8 88 [rbp - 0x350 {var_358_2}].d = eax
0x12fe 89 goto 63 @ 0x128f
int64_t _fini():
0x135c 0 rsp = rsp - 8
0x1360 1 rsp = rsp + 8
0x1364 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)
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)
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 {"AWAVAUATSH"}
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(r15)
0x1172 1 push(r14)
0x1174 2 push(r13)
0x1176 3 push(r12)
0x1178 4 push(rbx)
0x1179 5 rsp = rsp - 0xb00
0x1180 6 rdi = 0x201b {"%d"}
0x1187 7 ebx = 0
0x1189 8 rsi = rsp + 0xc {var_b1c}
0x118e 9 eax = 0
0x1190 10 call(0x1050)
0x1195 11 rdi = 0x2004 {"\n"}
0x119c 12 eax = 0
0x119e 13 call(0x1050)
0x11a8 14 if ([rsp + 0xc {var_b1c}].d s<= 0) then 15 @ 0x132f else 17 @ 0x11ae
0x132f 15 eax = 0
0x1331 16 goto 22 @ 0x14dd
0x11ae 17 rbx = rsp + 0x1ac {var_97c}
0x11b6 18 r14 = 0x2006 {"%s%d%d %c %c%d"}
0x11bd 19 r15 = 0x2004 {"\n"}
0x11c4 20 r13d = 0
0x11c7 21 goto 37 @ 0x11e0
0x14dd 22 rcx = rax + (rax << 1)
0x14e1 23 rsi = [rsp + (rcx << 3) + 0x1a0].q
0x14e9 24 edx = [rsp + (rax << 2) + 0x10].d
0x14ed 25 rdi = 0x2015 {"%s\n%d\n%d"}
0x14f4 26 ecx = ebx
0x14f6 27 eax = 0
0x14f8 28 call(0x1030)
0x14fd 29 eax = 0
0x14ff 30 rsp = rsp + 0xb00
0x1506 31 rbx = pop
0x1507 32 r12 = pop
0x1509 33 r13 = pop
0x150b 34 r14 = pop
0x150d 35 r15 = pop
0x150f 36 <return> jump(pop)
0x11e0 37 edi = 0x14 {""}
0x11e5 38 call(0x1060)
0x11ea 39 [rbx - 0xc].q = rax
0x11ee 40 rdx = rbx - 4
0x11f2 41 r8 = rbx + 4
0x11f6 42 r9 = rbx + 5
0x11fa 43 rcx = rbx + 8
0x11fe 44 [rsp {var_b28}].q = rcx
0x1202 45 rdi = r14
0x1205 46 rsi = rax
0x1208 47 rcx = rbx
0x120b 48 eax = 0
0x120d 49 call(0x1050)
0x1212 50 r12 = sx.q([rsp + 0xc {var_b1c}].d)
0x1217 51 rax = r12
0x121a 52 rax = rax - 1
0x1221 53 if (r13 s>= rax) then 54 @ 0x11d0 else 58 @ 0x1223
0x11d0 54 r13 = r13 + 1
0x11d4 55 rax = sx.q(r12d)
0x11d7 56 rbx = rbx + 0x18
0x11de 57 if (r13 s>= rax) then 63 @ 0x1237 else 37 @ 0x11e0
0x1223 58 rdi = r15
0x1226 59 eax = 0
0x1228 60 call(0x1050)
0x122d 61 r12d = [rsp + 0xc {var_b1c}].d
0x1232 62 goto 54 @ 0x11d0
0x1237 63 if (r12d s<= 0) then 64 @ 0x1336 else 67 @ 0x123d
0x1336 64 eax = 0
0x1338 65 ebx = 0
0x133a 66 goto 22 @ 0x14dd
0x123d 67 r14d = r12d
0x1240 68 rdx = r14 << 2
0x1248 69 rdi = rsp + 0x10 {var_b18}
0x124d 70 ebx = 0
0x124f 71 esi = 0
0x1251 72 call(0x1040)
0x1256 73 rax = rsp + 0x1b4 {var_974}
0x125e 74 goto 75 @ 0x126d
0x126d 75 ecx = [rax - 0xc].d
0x1273 76 if (ecx s< 0x51) then 77 @ 0x12a4 else 78 @ 0x1278
0x12a4 77 if ([rax - 8].d s< 0x51) then 79 @ 0x1260 else 82 @ 0x12aa
0x1278 78 if ([rax].d s<= 0) then 83 @ 0x1285 else 84 @ 0x127a
0x1260 79 rbx = rbx + 1
0x1264 80 rax = rax + 0x18
0x126b 81 if (r14 == rbx) then 86 @ 0x12d7 else 75 @ 0x126d
0x12aa 82 if ([rax - 4].b != 0x59) then 79 @ 0x1260 else 87 @ 0x12ac
0x1285 83 if (ecx u< 0x56) then 77 @ 0x12a4 else 89 @ 0x128b
0x127a 84 [rsp + (rbx << 2) + 0x10].d = [rsp + (rbx << 2) + 0x10].d + 0x1f40
0x127a 85 goto 83 @ 0x1285
0x12d7 86 if (r12d s< 2) then 90 @ 0x133f else 93 @ 0x12d9
0x12ac 87 [rsp + (rbx << 2) + 0x10].d = [rsp + (rbx << 2) + 0x10].d + 0x352
0x12b4 88 goto 79 @ 0x1260
0x128b 89 if ([rax - 8].d s>= 0x51) then 98 @ 0x12b6 else 100 @ 0x1290
0x133f 90 eax = 0
0x1341 91 ebx = 0
0x1349 92 if (r12d s<= 0) then 22 @ 0x14dd else 101 @ 0x1353
0x12d9 93 r8 = r14 - 1
0x12dd 94 rcx = r14 - 2
0x12e1 95 r9d = r8d
0x12e4 96 r9d = r9d & 3
0x12ec 97 if (rcx u>= 3) then 102 @ 0x1391 else 107 @ 0x12f2
0x12b6 98 [rsp + (rbx << 2) + 0x10].d = [rsp + (rbx << 2) + 0x10].d + 0xfa0
0x12c1 99 if (ecx u< 0x5b) then 110 @ 0x1296 else 111 @ 0x12c3
0x1290 100 if (ecx u>= 0x5b) then 111 @ 0x12c3 else 110 @ 0x1296
0x1353 101 if (r12d u>= 8) then 113 @ 0x135e else 122 @ 0x1355
0x1391 102 r8 = r8 & 0xfffffffffffffffc
0x1395 103 ebx = 0
0x1397 104 ecx = 1
0x139c 105 edi = 0
0x139e 106 goto 125 @ 0x13b3
0x12f2 107 esi = 0
0x12f4 108 ecx = 1
0x12f4 109 goto 129 @ 0x12f9
0x1296 110 if ([rax - 3].b != 0x59) then 77 @ 0x12a4 else 131 @ 0x1298
0x12c3 111 [rsp + (rbx << 2) + 0x10].d = [rsp + (rbx << 2) + 0x10].d + 0x7d0
0x12cf 112 if ([rax - 3].b == 0x59) then 131 @ 0x1298 else 133 @ 0x12d1
0x135e 113 ecx = r14d
0x1361 114 ecx = ecx & 0xfffffff8
0x1364 115 rsi = rcx - 8
0x1368 116 rdi = rsi
0x136b 117 rdi = rdi u>> 3
0x136f 118 rdi = rdi + 1
0x1373 119 edx = edi
0x1375 120 edx = edx & 3
0x137c 121 if (rsi u>= 0x18) then 134 @ 0x1427 else 139 @ 0x1382
0x1355 122 ecx = 0
0x1357 123 ebx = 0
0x1359 124 goto 143 @ 0x14d0
0x13b3 125 rdx = sx.q(ebx)
0x13b6 126 eax = [rsp + (rcx << 2) + 0x10].d
0x13ba 127 esi = ecx
0x13c0 128 if (eax s<= [rsp + (rdx << 2) + 0x10].d) then 146 @ 0x13f0 else 150 @ 0x13c2
0x12f9 129 edx = esi
0x12fe 130 if (r9 != 0) then 153 @ 0x131c else 157 @ 0x1300
0x1298 131 [rsp + (rbx << 2) + 0x10].d = [rsp + (rbx << 2) + 0x10].d + 0x3e8
0x1298 132 goto 77 @ 0x12a4
0x12d1 133 goto 77 @ 0x12a4
0x1427 134 rdi = rdi & 0xfffffffffffffffc
0x142b 135 xmm0 = 0
0x142f 136 esi = 0
0x1431 137 xmm1 = 0
0x143f 138 goto 159 @ 0x1440
0x1382 139 xmm0 = 0
0x1386 140 esi = 0
0x1388 141 xmm1 = 0
0x138c 142 goto 171 @ 0x1480
0x14d0 143 ebx = ebx + [rsp + (rcx << 2) + 0x10].d
0x14d4 144 rcx = rcx + 1
0x14db 145 if (r14 != rcx) then 143 @ 0x14d0 else 22 @ 0x14dd
0x13f0 146 esi = ebx
0x13f2 147 eax = [rsp + (rcx << 2) + 0x14].d
0x13f6 148 rdx = sx.q(esi)
0x13fd 149 if (eax s<= [rsp + (rdx << 2) + 0x10].d) then 172 @ 0x13cf else 175 @ 0x13ff
0x13c2 150 eax = [rsp + (rcx << 2) + 0x14].d
0x13c6 151 rdx = sx.q(esi)
0x13cd 152 if (eax s> [rsp + (rdx << 2) + 0x10].d) then 175 @ 0x13ff else 172 @ 0x13cf
0x131c 153 edi = [rsp + (rcx << 2) + 0x10].d
0x1320 154 rbx = sx.q(esi)
0x1323 155 edx = ecx
0x1329 156 if (edi s> [rsp + (rbx << 2) + 0x10].d) then 179 @ 0x1310 else 184 @ 0x132b
0x1300 157 rax = sx.q(edx)
0x1306 158 if (r12d s> 0) then 101 @ 0x1353 else 186 @ 0x1308
0x1440 159 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rsi << 2) + 0x10].o)
0x1446 160 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0x20].o)
0x144c 161 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rsi << 2) + 0x30].o)
0x1452 162 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0x40].o)
0x1458 163 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rsi << 2) + 0x50].o)
0x145e 164 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0x60].o)
0x1464 165 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rsi << 2) + 0x70].o)
0x146a 166 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0x80].o)
0x1473 167 rsi = rsi + 0x20
0x1477 168 temp0.q = rdi
0x1477 169 rdi = rdi - 4
0x147b 170 if (temp0.q != 4) then 159 @ 0x1440 else 171 @ 0x1480
0x1480 171 if (rdx == 0) then 188 @ 0x14a4 else 195 @ 0x1482
0x13cf 172 eax = [rsp + (rcx << 2) + 0x18].d
0x13d3 173 rdx = sx.q(esi)
0x13da 174 if (eax s> [rsp + (rdx << 2) + 0x10].d) then 200 @ 0x140f else 204 @ 0x13dc
0x13ff 175 esi = (rcx + 1).d
0x1402 176 eax = [rsp + (rcx << 2) + 0x18].d
0x1406 177 rdx = sx.q(esi)
0x140d 178 if (eax s<= [rsp + (rdx << 2) + 0x10].d) then 204 @ 0x13dc else 200 @ 0x140f
0x1310 179 rcx = rcx + 1
0x1314 180 esi = edx
0x1316 181 temp1.q = r9
0x1316 182 r9 = r9 - 1
0x131a 183 if (temp1.q == 1) then 157 @ 0x1300 else 153 @ 0x131c
0x132b 184 edx = esi
0x132d 185 goto 179 @ 0x1310
0x1308 186 ebx = 0
0x130a 187 goto 22 @ 0x14dd
0x14a4 188 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x14a8 189 xmm1 = _mm_shuffle_epi32(xmm0, 0xee)
0x14ad 190 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x14b1 191 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x14b6 192 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x14ba 193 ebx = xmm0.d
0x14c1 194 if (rcx == r14) then 22 @ 0x14dd else 207 @ 0x14cd
0x1482 195 rsi = rsp + (rsi << 2)
0x1486 196 rsi = rsi + 0x20
0x148a 197 rdx = rdx << 5
0x148e 198 edi = 0
0x148e 199 goto 208 @ 0x1490
0x140f 200 esi = (rcx + 2).d
0x1412 201 eax = [rsp + (rcx << 2) + 0x1c].d
0x1416 202 rdx = sx.q(esi)
0x141d 203 if (eax s<= [rsp + (rdx << 2) + 0x10].d) then 212 @ 0x13a0 else 216 @ 0x141f
0x13dc 204 eax = [rsp + (rcx << 2) + 0x1c].d
0x13e0 205 rdx = sx.q(esi)
0x13e7 206 if (eax s<= [rsp + (rdx << 2) + 0x10].d) then 212 @ 0x13a0 else 218 @ 0x13e9
0x14cd 207 goto 143 @ 0x14d0
0x1490 208 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsi + rdi - 0x10].o)
0x1496 209 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsi + rdi].o)
0x149b 210 rdi = rdi + 0x20
0x14a2 211 if (rdx != rdi) then 208 @ 0x1490 else 188 @ 0x14a4
0x13a0 212 rcx = rcx + 4
0x13a4 213 rdi = rdi + 4
0x13a8 214 ebx = esi
0x13ad 215 if (rdi == r8) then 129 @ 0x12f9 else 125 @ 0x13b3
0x141f 216 esi = (rcx + 3).d
0x1422 217 goto 212 @ 0x13a0
0x13e9 218 goto 216 @ 0x141f
int64_t _fini():
0x1514 0 rsp = rsp - 8
0x1518 1 rsp = rsp + 8
0x151c 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)
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 - 0xa0
0x115c 4 rdi = 0x2004 {"%d\n"}
0x1163 5 rsi = rsp + 0xc {var_ac}
0x1168 6 eax = 0
0x116a 7 call(0x1040)
0x1174 8 if ([rsp + 0xc {var_ac}].d s<= 0) then 9 @ 0x11af else 11 @ 0x1176
0x11af 9 ecx = [rsp + 0xc {var_ac}].d
0x11b5 10 if (ecx s<= 0) then 15 @ 0x11ef else 17 @ 0x11b7
0x1176 11 r15 = rsp + 0x40 {var_78}
0x117b 12 r14 = 0x2004 {"%d\n"}
0x1182 13 ebx = 0
0x118e 14 goto 21 @ 0x1190
0x11ef 15 eax = ecx
0x11f3 16 if (ecx s<= 0) then 29 @ 0x12ce else 32 @ 0x11f9
0x11b7 17 r15 = rsp + 0x70 {var_48}
0x11bc 18 r14 = 0x2004 {"%d\n"}
0x11c3 19 ebx = 0
0x11cf 20 goto 34 @ 0x11d0
0x1190 21 rdi = r14
0x1193 22 rsi = r15
0x1196 23 eax = 0
0x1198 24 call(0x1040)
0x119d 25 rbx = rbx + 1
0x11a1 26 rax = sx.q([rsp + 0xc {var_ac}].d)
0x11a6 27 r15 = r15 + 4
0x11ad 28 if (rbx s< rax) then 21 @ 0x1190 else 9 @ 0x11af
0x12ce 29 xmm0 = 0
0x12d1 30 xmm1 = 0
0x12d6 31 if (ecx s<= 0) then 42 @ 0x12fe else 43 @ 0x12d8
0x11f9 32 edx = 0
0x11fb 33 goto 46 @ 0x1215
0x11d0 34 rdi = r14
0x11d3 35 rsi = r15
0x11d6 36 eax = 0
0x11d8 37 call(0x1040)
0x11dd 38 rbx = rbx + 1
0x11e1 39 rcx = sx.q([rsp + 0xc {var_ac}].d)
0x11e6 40 r15 = r15 + 4
0x11ed 41 if (rbx s< rcx) then 34 @ 0x11d0 else 15 @ 0x11ef
0x12fe 42 if (ecx s<= 0) then 49 @ 0x1326 else 61 @ 0x1300
0x12d8 43 xmm1 = 0
0x12db 44 edx = 0
0x12dd 45 goto 64 @ 0x12e0
0x1215 46 esi = [rsp + (rdx << 2) + 0x70].d
0x1219 47 edi = (rsi - 0x5a).d
0x121f 48 if (edi u<= 0xa) then 70 @ 0x1200 else 72 @ 0x1221
0x1326 49 xmm1.d = xmm1.d f/ xmm0.d
0x132a 50 xmm0 = 0
0x132d 51 xmm0.q = fconvert.d(xmm1.d)
0x1331 52 rdi = 0x2008 {"%.2f"}
0x1338 53 al = 1
0x133a 54 call(0x1030)
0x133f 55 eax = 0
0x1341 56 rsp = rsp + 0xa0
0x1348 57 rbx = pop
0x1349 58 r14 = pop
0x134b 59 r15 = pop
0x134d 60 <return> jump(pop)
0x1300 61 xmm0 = 0
0x1303 62 ecx = 0
0x130f 63 goto 74 @ 0x1310
0x12e0 64 xmm2 = 0
0x12e3 65 xmm2.d = float.s([rsp + (rdx << 2) + 0x40].d)
0x12e9 66 xmm2.d = xmm2.d f* fconvert.t([rsp + (rdx << 2) + 0x10].d)
0x12ef 67 xmm1.d = xmm1.d f+ xmm2.d
0x12f3 68 rdx = rdx + 1
0x12fa 69 if (rax != rdx) then 64 @ 0x12e0 else 42 @ 0x12fe
0x1200 70 [rsp + (rdx << 2) + 0x10].d = 0x40800000 {""}
0x1200 71 goto 79 @ 0x1208
0x1221 72 edi = (rsi - 0x55).d
0x1227 73 if (edi u> 4) then 81 @ 0x1240 else 83 @ 0x1229
0x1310 74 xmm2 = 0
0x1313 75 xmm2.d = float.s([rsp + (rcx << 2) + 0x40].d)
0x1319 76 xmm0.d = xmm0.d f+ xmm2.d
0x131d 77 rcx = rcx + 1
0x1324 78 if (rax != rcx) then 74 @ 0x1310 else 49 @ 0x1326
0x1208 79 rdx = rdx + 1
0x120f 80 if (rax == rdx) then 29 @ 0x12ce else 46 @ 0x1215
0x1240 81 edi = (rsi - 0x52).d
0x1246 82 if (edi u> 2) then 85 @ 0x1252 else 87 @ 0x1248
0x1229 83 [rsp + (rdx << 2) + 0x10].d = 0x406ccccd {""}
0x1231 84 goto 79 @ 0x1208
0x1252 85 edi = (rsi - 0x4e).d
0x1258 86 if (edi u> 3) then 89 @ 0x1264 else 91 @ 0x125a
0x1248 87 [rsp + (rdx << 2) + 0x10].d = 0x40533333 {""}
0x1250 88 goto 79 @ 0x1208
0x1264 89 edi = (rsi - 0x4b).d
0x126a 90 if (edi u> 2) then 93 @ 0x1276 else 95 @ 0x126c
0x125a 91 [rsp + (rdx << 2) + 0x10].d = 0x40400000 {""}
0x1262 92 goto 79 @ 0x1208
0x1276 93 edi = (rsi - 0x48).d
0x127c 94 if (edi u> 2) then 97 @ 0x1288 else 99 @ 0x127e
0x126c 95 [rsp + (rdx << 2) + 0x10].d = 0x402ccccd {""}
0x1274 96 goto 79 @ 0x1208
0x1288 97 esi = esi & 0xfffffffc
0x128e 98 if (esi != 0x44) then 101 @ 0x12a0 else 102 @ 0x1290
0x127e 99 [rsp + (rdx << 2) + 0x10].d = 0x40133333 {""}
0x1286 100 goto 79 @ 0x1208
0x12a0 101 if (esi != 0x40) then 104 @ 0x12b2 else 105 @ 0x12a2
0x1290 102 [rsp + (rdx << 2) + 0x10].d = 0x40000000 {""}
0x1298 103 goto 79 @ 0x1208
0x12b2 104 if (esi != 0x3c) then 107 @ 0x12c1 else 109 @ 0x12b4
0x12a2 105 [rsp + (rdx << 2) + 0x10].d = 0x3fc00000 {""}
0x12aa 106 goto 79 @ 0x1208
0x12c1 107 [rsp + (rdx << 2) + 0x10].d = 0
0x12c9 108 goto 79 @ 0x1208
0x12b4 109 [rsp + (rdx << 2) + 0x10].d = 0x3f800000 {""}
0x12bc 110 goto 79 @ 0x1208
int64_t _fini():
0x1354 0 rsp = rsp - 8
0x1358 1 rsp = rsp + 8
0x135c 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 {"AWAVSH8"}
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 - 0x13890
0x115c 4 rdi = 0x2005 {"%d"}
0x1163 5 rsi = rsp + 0xc {var_1389c}
0x1168 6 eax = 0
0x116a 7 call(0x1040)
0x1174 8 if ([rsp + 0xc {var_1389c}].d s<= 0) then 9 @ 0x11af else 14 @ 0x1176
0x11af 9 esi = [rsp + 0x10 {var_13898}].d
0x11b3 10 rdi = 0x2005 {"%d"}
0x11ba 11 eax = 0
0x11bc 12 call(0x1030)
0x11c6 13 if ([rsp + 0xc {var_1389c}].d s< 2) then 18 @ 0x1237 else 24 @ 0x11c8
0x1176 14 r15 = rsp + 0x10 {var_13898}
0x117b 15 r14 = 0x2005 {"%d"}
0x1182 16 ebx = 0
0x118e 17 goto 27 @ 0x1190
0x1237 18 eax = 0
0x1239 19 rsp = rsp + 0x13890
0x1240 20 rbx = pop
0x1241 21 r14 = pop
0x1243 22 r15 = pop
0x1245 23 <return> jump(pop)
0x11c8 24 ebx = 1
0x11cd 25 r14 = 0x2004 {" %d"}
0x11d4 26 goto 35 @ 0x11ee
0x1190 27 rdi = r14
0x1193 28 rsi = r15
0x1196 29 eax = 0
0x1198 30 call(0x1040)
0x119d 31 rbx = rbx + 1
0x11a1 32 rax = sx.q([rsp + 0xc {var_1389c}].d)
0x11a6 33 r15 = r15 + 4
0x11ad 34 if (rbx s< rax) then 27 @ 0x1190 else 9 @ 0x11af
0x11ee 35 eax = [rsp + (rbx << 2) + 0x10].d
0x11f2 36 ecx = 0
0x11f4 37 goto 38 @ 0x120d
0x120d 38 rsi = sx.q(ecx)
0x1210 39 edx = ebx
0x1216 40 if (eax == [rsp + (rsi << 2) + 0x10].d) then 41 @ 0x1200 else 45 @ 0x1218
0x1200 41 ecx = edx
0x1202 42 ecx = ecx + 1
0x1205 43 rdx = sx.q(ecx)
0x120b 44 if (rbx s<= rdx) then 47 @ 0x1220 else 38 @ 0x120d
0x1218 45 edx = ecx
0x121a 46 goto 41 @ 0x1200
0x1220 47 eax = ecx
0x1225 48 if (rbx != rax) then 49 @ 0x11e0 else 52 @ 0x1227
0x11e0 49 rbx = rbx + 1
0x11e4 50 rax = sx.q([rsp + 0xc {var_1389c}].d)
0x11ec 51 if (rbx s>= rax) then 18 @ 0x1237 else 35 @ 0x11ee
0x1227 52 esi = [rsp + (rbx << 2) + 0x10].d
0x122b 53 rdi = r14
0x122e 54 eax = 0
0x1230 55 call(0x1030)
0x1235 56 goto 49 @ 0x11e0
int64_t _fini():
0x124c 0 rsp = rsp - 8
0x1250 1 rsp = rsp + 8
0x1254 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 {"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 rdi = 0x2004 {"%d"}
0x115c 3 ebx = 0
0x115e 4 rsi = rsp + 0xc {var_c}
0x1163 5 eax = 0
0x1165 6 call(0x1040)
0x116a 7 eax = [rsp + 0xc {var_c}].d
0x1171 8 if (eax s< 0x64) then 9 @ 0x11a8 else 11 @ 0x1173
0x11a8 9 esi = 0
0x11ad 10 if (eax s< 0x32) then 14 @ 0x11db else 16 @ 0x11af
0x1173 11 cond:0 = eax s< 0xc7
0x1178 12 ecx = 0xc7 {""}
0x117d 13 if (cond:0) then 19 else 21 @ 0x1180
0x11db 14 r8d = 0
0x11e1 15 if (eax s< 0x14) then 32 @ 0x1222 else 34 @ 0x11e3
0x11af 16 cond:1 = eax s< 0x63
0x11b2 17 ecx = 0x63 {""}
0x11b7 18 if (cond:1) then 37 else 39 @ 0x11ba
0x117d 19 ecx = eax
0x117d 20 goto 21 @ 0x1180
0x1180 21 ecx = neg.d(ecx)
0x1182 22 ecx = ecx + eax
0x1184 23 ecx = ecx + 0x63
0x1187 24 rsi = rcx * 0x51eb851f
0x118e 25 rsi = rsi u>> 0x25
0x1192 26 ecx = esi * -0x64
0x1195 27 eax = eax + ecx
0x1197 28 eax = eax - 0x64
0x119a 29 esi = esi + 1
0x119d 30 [rsp + 0xc {var_c}].d = eax
0x11a4 31 if (eax s>= 0x32) then 16 @ 0x11af else 50 @ 0x11a6
0x1222 32 ecx = 0
0x1227 33 if (eax s< 0xa) then 51 @ 0x125f else 53 @ 0x1229
0x11e3 34 cond:2 = eax s< 0x27
0x11e6 35 ecx = 0x27 {""}
0x11eb 36 if (cond:2) then 56 else 58 @ 0x11ee
0x11b7 37 ecx = eax
0x11b7 38 goto 39 @ 0x11ba
0x11ba 39 ecx = neg.d(ecx)
0x11bc 40 ecx = ecx + eax
0x11be 41 ecx = ecx + 0x31
0x11c1 42 rbx = rcx * 0x51eb851f
0x11c8 43 rbx = rbx u>> 0x24
0x11cc 44 ecx = ebx * -0x32
0x11cf 45 eax = eax + ecx
0x11d1 46 eax = eax - 0x32
0x11d4 47 ebx = ebx + 1
0x11d7 48 [rsp + 0xc {var_c}].d = eax
0x11d7 49 goto 14 @ 0x11db
0x11a6 50 goto 14 @ 0x11db
0x125f 51 r9d = 0
0x1265 52 if (eax s< 5) then 72 @ 0x129a else 80 @ 0x1267
0x1229 53 cond:3 = eax s< 0x13
0x122c 54 edx = 0x13 {""}
0x1231 55 if (cond:3) then 83 else 85 @ 0x1234
0x11eb 56 ecx = eax
0x11eb 57 goto 58 @ 0x11ee
0x11ee 58 ecx = neg.d(ecx)
0x11f0 59 edx = (rax + rcx).d
0x11f3 60 edx = edx + 0x13
0x11f6 61 ecx = 0xcccccccd {""}
0x11fb 62 rcx = rcx * rdx
0x11ff 63 rcx = rcx u>> 0x24
0x1203 64 edx = (rcx << 2).d
0x120a 65 edx = (rdx + (rdx << 2)).d
0x120d 66 edx = neg.d(edx)
0x120f 67 eax = eax + edx
0x1211 68 eax = eax - 0x14
0x1214 69 ecx = ecx + 1
0x1217 70 [rsp + 0xc {var_c}].d = eax
0x121e 71 if (eax s>= 0xa) then 53 @ 0x1229 else 99 @ 0x1220
0x129a 72 [rsp {var_18}].d = eax
0x129d 73 rdi = 0x2007 {"%d\n%d\n%d\n%d\n%d\n%d\n"}
0x12a4 74 edx = ebx
0x12a6 75 eax = 0
0x12a8 76 call(0x1030)
0x12ad 77 rsp = rsp + 0x10
0x12b1 78 rbx = pop
0x12b2 79 <return> jump(pop)
0x1267 80 cond:4 = eax s< 9
0x126a 81 edx = 9
0x126f 82 if (cond:4) then 100 else 102 @ 0x1272
0x1231 83 edx = eax
0x1231 84 goto 85 @ 0x1234
0x1234 85 edx = neg.d(edx)
0x1236 86 edx = edx + eax
0x1238 87 edx = edx + 9
0x123b 88 r8d = 0xcccccccd {""}
0x1241 89 r8 = r8 * rdx
0x1245 90 r8 = r8 u>> 0x23
0x1249 91 edx = (r8 + r8).d
0x124d 92 edx = (rdx + (rdx << 2)).d
0x1250 93 edx = neg.d(edx)
0x1252 94 eax = eax + edx
0x1254 95 eax = eax - 0xa
0x1257 96 r8d = r8d + 1
0x125b 97 [rsp + 0xc {var_c}].d = eax
0x125b 98 goto 51 @ 0x125f
0x1220 99 goto 51 @ 0x125f
0x126f 100 edx = eax
0x126f 101 goto 102 @ 0x1272
0x1272 102 edx = neg.d(edx)
0x1274 103 edx = edx + eax
0x1276 104 edx = edx + 4
0x1279 105 r9d = 0xcccccccd {""}
0x127f 106 r9 = r9 * rdx
0x1283 107 r9 = r9 u>> 0x22
0x1287 108 edx = (r9 + (r9 << 2)).d
0x128b 109 edx = neg.d(edx)
0x128d 110 eax = eax + edx
0x128f 111 eax = eax - 5
0x1292 112 r9d = r9d + 1
0x1296 113 [rsp + 0xc {var_c}].d = eax
0x1296 114 goto 72 @ 0x129a
int64_t _fini():
0x12b8 0 rsp = rsp - 8
0x12bc 1 rsp = rsp + 8
0x12c0 2 <return> jump(pop)
| POJ_97 |
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)
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 {"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 = 0x2010 {"%d"}
0x1188 8 rsi = rsp + 4 {var_364}
0x118d 9 eax = 0
0x118f 10 call(0x1040)
0x1199 11 if ([rsp + 4 {var_364}].d s<= 0) then 12 @ 0x12b9 else 20 @ 0x119f
0x12b9 12 rsp = rsp + 0x338
0x12c0 13 rbx = pop
0x12c1 14 r12 = pop
0x12c3 15 r13 = pop
0x12c5 16 r14 = pop
0x12c7 17 r15 = pop
0x12c9 18 rbp = pop
0x12ca 19 <return> jump(pop)
0x119f 20 r13 = 0x2013 {"%lf"}
0x11a6 21 r12 = 0x2017 {"%.5f\n"}
0x11ad 22 r15d = 0
0x11b0 23 goto 24 @ 0x11de
0x11de 24 rdi = 0x2010 {"%d"}
0x11e5 25 rsi = rsp {var_368}
0x11e8 26 eax = 0
0x11ea 27 call(0x1040)
0x11ef 28 ebx = [rsp {var_368}].d
0x11f4 29 if (ebx s<= 0) then 30 @ 0x1218 else 34 @ 0x11f6
0x1218 30 eax = [rsp {var_368}].d
0x121b 31 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x121f 32 xmm3 = _mm_xor_pd(xmm3, xmm3)
0x1225 33 if (eax s<= 0) then 36 @ 0x1263 else 39 @ 0x1227
0x11f6 34 ebp = 0
0x11f8 35 goto 42 @ 0x1200
0x1263 36 xmm2 = 0
0x1266 37 xmm2.q = float.d(eax)
0x126c 38 if (eax s<= 0) then 47 @ 0x129e else 55 @ 0x126e
0x1227 39 xmm3 = _mm_xor_pd(xmm3, xmm3)
0x122b 40 r14d = 0
0x122e 41 goto 60 @ 0x1230
0x1200 42 edi = 0x320 {"d-linux-x86-64.so.2"}
0x1205 43 call(0x1060)
0x120a 44 [rsp + (rbp << 3) + 0x10].q = rax
0x120f 45 rbp = rbp + 1
0x1216 46 if (rbx != rbp) then 42 @ 0x1200 else 30 @ 0x1218
0x129e 47 xmm0.q = xmm0.q f/ xmm2.q
0x12a2 48 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x12a2 49 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x12a2 50 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x12a2 51 flag:s = 0
0x12a2 52 flag:o = 0
0x12a2 53 flag:a = 0
0x12aa 54 if (flag:c) then 71 @ 0x11c0 else 73 @ 0x12b0
0x126e 55 xmm3.q = xmm3.q f/ xmm2.q
0x1272 56 eax = eax
0x1274 57 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1278 58 ecx = 0
0x127a 59 goto 75 @ 0x1280
0x1230 60 [rsp + 8 {var_360_1}].q = xmm3.q
0x1236 61 rbx = [rsp + (r14 << 3) + 0x10].q
0x123b 62 rdi = r13
0x123e 63 rsi = rbx
0x1241 64 eax = 0
0x1243 65 call(0x1040)
0x1248 66 xmm3 = zx.o([rsp + 8 {var_360_1}].q)
0x124e 67 xmm3.q = xmm3.q f+ fconvert.t([rbx].q)
0x1252 68 r14 = r14 + 1
0x1256 69 rax = sx.q([rsp {var_368}].d)
0x125d 70 if (r14 s< rax) then 60 @ 0x1230 else 82 @ 0x125f
0x11c0 71 call(0x1050)
0x11c0 72 goto 84 @ 0x11c5
0x12b0 73 xmm0 = _mm_sqrt_sd(xmm0.q)
0x12b4 74 goto 84 @ 0x11c5
0x1280 75 rdx = [rsp + (rcx << 3) + 0x10].q
0x1285 76 xmm1 = zx.o([rdx].q)
0x1289 77 xmm1.q = xmm1.q f- xmm3.q
0x128d 78 xmm1.q = xmm1.q f* xmm1.q
0x1291 79 xmm0.q = xmm0.q f+ xmm1.q
0x1295 80 rcx = rcx + 1
0x129c 81 if (rax != rcx) then 75 @ 0x1280 else 47 @ 0x129e
0x125f 82 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x125f 83 goto 36 @ 0x1263
0x11c5 84 rdi = r12
0x11c8 85 al = 1
0x11ca 86 call(0x1030)
0x11cf 87 r15d = r15d + 1
0x11d8 88 if (r15d s>= [rsp + 4 {var_364}].d) then 12 @ 0x12b9 else 24 @ 0x11de
int64_t _fini():
0x12d0 0 rsp = rsp - 8
0x12d4 1 rsp = rsp + 8
0x12d8 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
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 {"AWAVSH@"}
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(rbx)
0x1165 3 rsp = rsp - 0x640
0x116c 4 rbx = rsp {var_658}
0x116f 5 r14 = 0x2005 {"%s"}
0x1176 6 r15d = 0
0x1179 7 goto 8 @ 0x1180
0x1180 8 rbx = rbx + 0x14
0x1184 9 rdi = r14
0x1187 10 rsi = rbx
0x118a 11 eax = 0
0x118c 12 call(0x1050)
0x1191 13 eax = 0
0x1193 14 call(0x1040)
0x1198 15 r15 = r15 + 1
0x119e 16 if (al == 0x20) then 8 @ 0x1180 else 17 @ 0x11a0
0x11a0 17 rdi = 0x2005 {"%s"}
0x11a7 18 rsi = rbx
0x11aa 19 eax = 0
0x11ac 20 call(0x1030)
0x11b8 21 if ((r15d & 0xfffffffe) == 0) then 22 @ 0x11fb else 27 @ 0x11ba
0x11fb 22 rsp = rsp + 0x640
0x1202 23 rbx = pop
0x1203 24 r14 = pop
0x1205 25 r15 = pop
0x1207 26 <return> jump(pop)
0x11ba 27 rax = sx.q(r15d)
0x11bd 28 r15 = rax + 1
0x11c1 29 rax = rax + (rax << 2)
0x11c5 30 rbx = rsp + (rax << 2)
0x11c9 31 rbx = rbx - 0x14
0x11cd 32 r14 = 0x2004 {" %s"}
0x11de 33 goto 34 @ 0x11e0
0x11e0 34 rdi = r14
0x11e3 35 rsi = rbx
0x11e6 36 eax = 0
0x11e8 37 call(0x1030)
0x11ed 38 r15 = r15 - 1
0x11f1 39 rbx = rbx - 0x14
0x11f9 40 if (r15 s> 2) then 34 @ 0x11e0 else 22 @ 0x11fb
int64_t _fini():
0x120c 0 rsp = rsp - 8
0x1210 1 rsp = rsp + 8
0x1214 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 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)
int64_t malloc(uint64_t bytes):
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 {"AWAVS"}
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(rbx)
0x1165 3 edi = 0x1e {""}
0x116a 4 call(0x1040)
0x116f 5 r15 = rax
0x1172 6 r14 = 0x2004 {"%c"}
0x1179 7 ebx = 0
0x117b 8 goto 9 @ 0x1180
0x1180 9 rsi = r15 + rbx
0x1184 10 [r15 + rbx].b = 0
0x1189 11 rdi = r14
0x118c 12 eax = 0
0x118e 13 call(0x1030)
0x1193 14 rbx = rbx + 1
0x119b 15 if (rbx != 0x1e) then 9 @ 0x1180 else 16 @ 0x119d
0x119d 16 al = [r15].b
0x11a2 17 if (al == 0) then 18 @ 0x11ef else 22 @ 0x11a4
0x11ef 18 rbx = pop
0x11f0 19 r14 = pop
0x11f2 20 r15 = pop
0x11f4 21 <return> jump(pop)
0x11a4 22 r15 = r15 + 1
0x11a8 23 goto 24 @ 0x11c6
0x11c6 24 ecx = (rax - 0x30).d
0x11cc 25 if (cl u> 9) then 26 @ 0x11d6 else 28 @ 0x11ce
0x11d6 26 eax = zx.d([r15 - 1].b)
0x11dd 27 if (al s> 0x39) then 31 @ 0x11b0 else 34 @ 0x11e1
0x11ce 28 edi = sx.d(al)
0x11d1 29 call(0x1050)
0x11d1 30 goto 26 @ 0x11d6
0x11b0 31 edi = 0xa {""}
0x11b5 32 call(0x1050)
0x11b5 33 goto 35 @ 0x11ba
0x11e1 34 if (al s> 0x2f) then 35 @ 0x11ba else 38 @ 0x11e3
0x11ba 35 eax = zx.d([r15].b)
0x11be 36 r15 = r15 + 1
0x11c4 37 if (al == 0) then 18 @ 0x11ef else 24 @ 0x11c6
0x11e3 38 eax = zx.d([r15].b)
0x11e7 39 al = al - 0x30
0x11eb 40 if (al u<= 9) then 31 @ 0x11b0 else 41 @ 0x11ed
0x11ed 41 goto 35 @ 0x11ba
int64_t _fini():
0x11fc 0 rsp = rsp - 8
0x1200 1 rsp = rsp + 8
0x1204 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)
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 - 0x61a98
0x1161 7 rdi = 0x2018 {"%d"}
0x1168 8 r15d = 0
0x116b 9 rsi = rsp + 0xc {var_61abc}
0x1170 10 eax = 0
0x1172 11 call(0x1040)
0x117c 12 if ([rsp + 0xc {var_61abc}].d s<= 0) then 13 @ 0x125f else 16 @ 0x1182
0x125f 13 r14d = 0xc350 {""}
0x1265 14 eax = 0
0x1265 15 goto 23 @ 0x1267
0x1182 16 r14d = 0xc350 {""}
0x1188 17 rbp = rsp + 0x10 {var_61ab8}
0x118d 18 rbx = rsp + 0x30d50 {var_30d78}
0x1195 19 r12 = 0x2010 {"%d%d"}
0x119c 20 r13d = 0
0x119f 21 r15d = 0
0x11ac 22 goto 26 @ 0x11b0
0x1267 23 ecx = r15d
0x126a 24 ecx = ecx - r14d
0x126f 25 if (eax != ecx) then 33 @ 0x1287 else 37 @ 0x1271
0x11b0 26 rdi = r12
0x11b3 27 rsi = rbx
0x11b6 28 rdx = rbp
0x11b9 29 eax = 0
0x11bb 30 call(0x1040)
0x11c0 31 eax = [rbx].d
0x11c5 32 if (eax s< r14d) then 43 else 45 @ 0x11c9
0x1287 33 rdi = 0x201b {"no"}
0x128e 34 eax = 0
0x1290 35 call(0x1030)
0x1290 36 goto 47 @ 0x1295
0x1271 37 rdi = 0x2015 {"%d %d"}
0x1278 38 esi = r14d
0x127b 39 edx = r15d
0x127e 40 eax = 0
0x1280 41 call(0x1030)
0x1285 42 goto 47 @ 0x1295
0x11c5 43 r14d = eax
0x11c5 44 goto 45 @ 0x11c9
0x11c9 45 eax = [rbp].d
0x11cf 46 if (eax s> r15d) then 56 else 58 @ 0x11d3
0x1295 47 eax = 0
0x1297 48 rsp = rsp + 0x61a98
0x129e 49 rbx = pop
0x129f 50 r12 = pop
0x12a1 51 r13 = pop
0x12a3 52 r14 = pop
0x12a5 53 r15 = pop
0x12a7 54 rbp = pop
0x12a8 55 <return> jump(pop)
0x11cf 56 r15d = eax
0x11cf 57 goto 58 @ 0x11d3
0x11d3 58 r13 = r13 + 1
0x11d7 59 rcx = sx.q([rsp + 0xc {var_61abc}].d)
0x11dc 60 rbp = rbp + 4
0x11e0 61 rbx = rbx + 4
0x11e7 62 if (r13 s< rcx) then 26 @ 0x11b0 else 63 @ 0x11e9
0x11e9 63 eax = 0
0x11ee 64 if (r15d s<= r14d) then 23 @ 0x1267 else 65 @ 0x11f0
0x11f0 65 ecx = ecx
0x11f2 66 eax = 0
0x11f4 67 xmm0 = zx.o([0x2008].q)
0x11fc 68 edx = r14d
0x11ff 69 goto 70 @ 0x1218
0x1218 70 xmm1 = 0
0x121b 71 xmm1.q = float.d(edx)
0x121f 72 xmm1.q = xmm1.q f+ xmm0.q
0x1225 73 if (ecx s<= 0) then 74 @ 0x1210 else 76 @ 0x1227
0x1210 74 edx = edx + 1
0x1216 75 if (edx == r15d) then 23 @ 0x1267 else 70 @ 0x1218
0x1227 76 esi = 0
0x1229 77 goto 78 @ 0x1239
0x1239 78 xmm2 = 0
0x123c 79 xmm2.q = float.d([rsp + (rsi << 2) + 0x30d50].d)
0x1245 80 flag:p = is_unordered.q(xmm1.q, xmm2.q)
0x1245 81 flag:c = xmm1.q f< xmm2.q | is_unordered.q(xmm1.q, xmm2.q)
0x1245 82 flag:z = xmm1.q f== xmm2.q | is_unordered.q(xmm1.q, xmm2.q)
0x1245 83 flag:s = 0
0x1245 84 flag:o = 0
0x1245 85 flag:a = 0
0x1249 86 if (flag:z || flag:c) then 87 @ 0x1230 else 89 @ 0x124b
0x1230 87 rsi = rsi + 1
0x1237 88 if (rcx == rsi) then 74 @ 0x1210 else 78 @ 0x1239
0x124b 89 xmm2 = 0
0x124e 90 xmm2.q = float.d([rsp + (rsi << 2) + 0x10].d)
0x1254 91 flag:p = is_unordered.q(xmm2.q, xmm1.q)
0x1254 92 flag:c = xmm2.q f< xmm1.q | is_unordered.q(xmm2.q, xmm1.q)
0x1254 93 flag:z = xmm2.q f== xmm1.q | is_unordered.q(xmm2.q, xmm1.q)
0x1254 94 flag:s = 0
0x1254 95 flag:o = 0
0x1254 96 flag:a = 0
0x1258 97 if (flag:z || flag:c) then 87 @ 0x1230 else 98 @ 0x125a
0x125a 98 eax = eax + 1
0x125d 99 goto 74 @ 0x1210
int64_t _fini():
0x12b0 0 rsp = rsp - 8
0x12b4 1 rsp = rsp + 8
0x12b8 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)
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 {"UAWAVSH"}
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(rbx)
0x1176 4 rsp = rsp - 0x208
0x117d 5 rdi = 0x2004 {"%s"}
0x1184 6 rbx = rsp {var_228}
0x1187 7 rsi = rbx {var_228}
0x118a 8 eax = 0
0x118c 9 call(0x1050)
0x1191 10 rdi = rbx {var_228}
0x1194 11 call(0x1040)
0x1199 12 r8d = sx.d([rsp {var_228}].b)
0x119e 13 bl = [rsp + 1 {var_227}].b
0x11a2 14 edx = zx.d(bl)
0x11a5 15 [rsp + 0x70 {var_1b8}].d = 0
0x11b1 16 if (r8d != 0x31) then 17 @ 0x11c5 else 34 @ 0x11b6
0x11c5 17 esi = sx.d(dl)
0x11c8 18 edi = (r8 + r8).d
0x11cc 19 edi = (rdi + (rdi << 2)).d
0x11cf 20 esi = esi + edi
0x11d1 21 esi = esi - 0x210
0x11d7 22 rsi = sx.q(esi)
0x11da 23 rsi = rsi * 0x4ec4ec4f
0x11e1 24 rbp = rsi
0x11e4 25 rbp = rbp u>> 0x3f
0x11e8 26 rsi = rsi s>> 0x22
0x11ec 27 esi = esi + ebp
0x11ee 28 [rsp + 0x74 {var_1b4}].d = esi
0x11f2 29 edi = edi + edx
0x11f4 30 edx = esi * -0xd
0x11f7 31 edx = edx + edi
0x11f9 32 edx = edx + 0x20
0x11f9 33 goto 35 @ 0x11fc
0x11b6 34 if (bl s> 0x32) then 17 @ 0x11c5 else 38 @ 0x11b8
0x11fc 35 [rsp + 1 {var_227_1}].b = dl
0x1200 36 r14d = (rax - 1).d
0x1207 37 if (eax s< 3) then 41 @ 0x126b else 42 @ 0x1209
0x11b8 38 [rsp + 0x74 {var_1b4}].d = 0
0x11c0 39 edx = edx + 0xa
0x11c3 40 goto 35 @ 0x11fc
0x126b 41 if (eax s< 3) then 47 @ 0x12ac else 48 @ 0x1272
0x1209 42 esi = r14d
0x120c 43 bl = [rsp + 1 {var_227_1}].b
0x1210 44 rsi = rsi - 1
0x1214 45 edi = 0
0x1216 46 goto 49 @ 0x1220
0x12ac 47 if (eax == 2) then 68 @ 0x12e9 else 73 @ 0x12b1
0x1272 48 if ([rsp + 0x74 {var_1b4}].d == 0) then 74 @ 0x12b8 else 75 @ 0x1277
0x1220 49 ebp = sx.d(bl)
0x1223 50 ebp = (rbp + (rbp << 2)).d
0x1227 51 ebx = sx.d([rsp + rdi + 2].b)
0x122c 52 ecx = (rbx + (rbp << 1)).d
0x122f 53 ebp = (rbx + (rbp << 1)).d
0x1232 54 ebp = ebp - 0x210
0x1238 55 rbp = sx.q(ebp)
0x123b 56 rbp = rbp * 0x4ec4ec4f
0x1242 57 rbx = rbp
0x1245 58 rbx = rbx u>> 0x3f
0x1249 59 rbp = rbp s>> 0x22
0x124d 60 ebp = ebp + ebx
0x124f 61 [rsp + (rdi << 2) + 0x78].d = ebp
0x1253 62 ebx = ebp * -0xd
0x1256 63 ebx = ebx + ecx
0x1258 64 bl = bl + 0x20
0x125b 65 [rsp + rdi + 2].b = bl
0x125f 66 rdi = rdi + 1
0x1266 67 if (rsi != rdi) then 49 @ 0x1220 else 41 @ 0x126b
0x12e9 68 eax = (r8 + (r8 << 2)).d
0x12ed 69 ecx = sx.d(dl)
0x12f0 70 eax = (rcx + (rax << 1)).d
0x12f3 71 eax = eax - 0x1e0
0x12fb 72 if (eax s> 0x3c) then 76 @ 0x1309 else 81 @ 0x12fd
0x12b1 73 if (eax == 1) then 81 @ 0x12fd else 84 @ 0x12b3
0x12b8 74 if (eax s< 3) then 85 @ 0x131b else 88 @ 0x12ba
0x1277 75 if (eax s< 2) then 85 @ 0x131b else 92 @ 0x127d
0x1309 76 esi = [rsp + 0x74 {var_1b4}].d
0x130d 77 rdi = 0x2007 {"%d"}
0x1314 78 eax = 0
0x1316 79 call(0x1030)
0x1316 80 goto 85 @ 0x131b
0x12fd 81 edi = 0x30 {""}
0x1302 82 call(0x1060)
0x1307 83 goto 85 @ 0x131b
0x12b3 84 goto 85 @ 0x131b
0x131b 85 rax = sx.q(r14d)
0x131e 86 esi = sx.d([rsp + rax].b)
0x1325 87 if (esi s< 0x3a) then 96 @ 0x1333 else 98 @ 0x1327
0x12ba 88 ebp = eax
0x12bc 89 ebx = 2
0x12c1 90 r15 = 0x2007 {"%d"}
0x12c8 91 goto 101 @ 0x12d0
0x127d 92 ebp = eax
0x127f 93 ebx = 1
0x1284 94 r15 = 0x2007 {"%d"}
0x128b 95 goto 107 @ 0x1290
0x1333 96 rdi = 0x200f {"\n%c"}
0x1333 97 goto 113 @ 0x133a
0x1327 98 esi = esi - 0xa
0x132a 99 rdi = 0x200a {"\n1%c"}
0x1331 100 goto 113 @ 0x133a
0x12d0 101 esi = [rsp + (rbx << 2) + 0x70].d
0x12d4 102 rdi = r15
0x12d7 103 eax = 0
0x12d9 104 call(0x1030)
0x12de 105 rbx = rbx + 1
0x12e5 106 if (rbp != rbx) then 101 @ 0x12d0 else 122 @ 0x12e7
0x1290 107 esi = [rsp + (rbx << 2) + 0x70].d
0x1294 108 rdi = r15
0x1297 109 eax = 0
0x1299 110 call(0x1030)
0x129e 111 rbx = rbx + 1
0x12a5 112 if (rbp != rbx) then 107 @ 0x1290 else 123 @ 0x12a7
0x133a 113 eax = 0
0x133c 114 call(0x1030)
0x1341 115 eax = 0
0x1343 116 rsp = rsp + 0x208
0x134a 117 rbx = pop
0x134b 118 r14 = pop
0x134d 119 r15 = pop
0x134f 120 rbp = pop
0x1350 121 <return> jump(pop)
0x12e7 122 goto 85 @ 0x131b
0x12a7 123 goto 85 @ 0x131b
int64_t _fini():
0x1358 0 rsp = rsp - 8
0x135c 1 rsp = rsp + 8
0x1360 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 {"UHHp"}
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 - 0x9c70
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 rdi = 0x2007 {"%d"}
0x1169 5 rsi = rbp - 8 {var_10}
0x116d 6 al = 0
0x116f 7 call(0x1040)
0x1174 8 [rbp - 0xc {var_14}].d = 0
0x1174 9 goto 10 @ 0x117b
0x117b 10 eax = [rbp - 0xc {var_14}].d
0x1181 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x13de else 16 @ 0x1187
0x13de 12 eax = 0
0x13e0 13 rsp = rsp + 0x9c70
0x13e7 14 rbp = pop
0x13e8 15 <return> jump(pop)
0x1187 16 rdi = 0x2004 {"%d %d"}
0x118e 17 rsi = rbp - 0x9c54 {var_9c5c}
0x1195 18 rdx = rbp - 0x9c58 {var_9c60}
0x119c 19 al = 0
0x119e 20 call(0x1040)
0x11a3 21 [rbp - 0x9c5c {var_9c64_1}].d = 0
0x11a3 22 goto 23 @ 0x11ad
0x11ad 23 eax = [rbp - 0x9c5c {var_9c64_1}].d
0x11b9 24 if (eax s>= [rbp - 0x9c54 {var_9c5c}].d) then 25 @ 0x123c else 28 @ 0x11bf
0x123c 25 [rbp - 0x9c64 {var_9c6c_1}].d = 0
0x1246 26 [rbp - 0x9c68 {var_9c70_1}].d = 0
0x1246 27 goto 30 @ 0x1250
0x11bf 28 [rbp - 0x9c60 {var_9c68_1}].d = 0
0x11bf 29 goto 32 @ 0x11c9
0x1250 30 eax = [rbp - 0x9c68 {var_9c70_1}].d
0x125c 31 if (eax s>= [rbp - 0x9c54 {var_9c5c}].d) then 34 @ 0x12c3 else 36 @ 0x1262
0x11c9 32 eax = [rbp - 0x9c60 {var_9c68_1}].d
0x11d5 33 if (eax s>= [rbp - 0x9c58 {var_9c60}].d) then 55 @ 0x1223 else 56 @ 0x11db
0x12c3 34 [rbp - 0x9c6c {var_9c74_1}].d = 0
0x12c3 35 goto 70 @ 0x12cd
0x1262 36 eax = [rbp - 0x9c64 {var_9c6c_1}].d
0x1268 37 rdx = sx.q([rbp - 0x9c68 {var_9c70_1}].d)
0x126f 38 rcx = rbp - 0x9c50 {var_9c58}
0x1276 39 rdx = rdx * 0x190
0x127d 40 rcx = rcx + rdx
0x1280 41 eax = eax + [rcx].d
0x1282 42 rdx = sx.q([rbp - 0x9c68 {var_9c70_1}].d)
0x1289 43 rcx = rbp - 0x9c50 {var_9c58}
0x1290 44 rdx = rdx * 0x190
0x1297 45 rcx = rcx + rdx
0x129a 46 edx = [rbp - 0x9c58 {var_9c60}].d
0x12a0 47 edx = edx - 1
0x12a3 48 rdx = sx.q(edx)
0x12a6 49 eax = eax + [rcx + (rdx << 2)].d
0x12a9 50 [rbp - 0x9c64 {var_9c6c_1}].d = eax
0x12af 51 eax = [rbp - 0x9c68 {var_9c70_1}].d
0x12b5 52 eax = eax + 1
0x12b8 53 [rbp - 0x9c68 {var_9c70_1}].d = eax
0x12be 54 goto 30 @ 0x1250
0x1223 55 goto 72 @ 0x1228
0x11db 56 rax = sx.q([rbp - 0x9c5c {var_9c64_1}].d)
0x11e2 57 rsi = rbp - 0x9c50 {var_9c58}
0x11e9 58 rax = rax * 0x190
0x11f0 59 rsi = rsi + rax
0x11f3 60 rax = sx.q([rbp - 0x9c60 {var_9c68_1}].d)
0x11fa 61 rax = rax << 2
0x11fe 62 rsi = rsi + rax
0x1201 63 rdi = 0x2007 {"%d"}
0x1208 64 al = 0
0x120a 65 call(0x1040)
0x120f 66 eax = [rbp - 0x9c60 {var_9c68_1}].d
0x1215 67 eax = eax + 1
0x1218 68 [rbp - 0x9c60 {var_9c68_1}].d = eax
0x121e 69 goto 32 @ 0x11c9
0x12cd 70 eax = [rbp - 0x9c6c {var_9c74_1}].d
0x12d9 71 if (eax s>= [rbp - 0x9c58 {var_9c60}].d) then 76 @ 0x1334 else 101 @ 0x12df
0x1228 72 eax = [rbp - 0x9c5c {var_9c64_1}].d
0x122e 73 eax = eax + 1
0x1231 74 [rbp - 0x9c5c {var_9c64_1}].d = eax
0x1237 75 goto 23 @ 0x11ad
0x1334 76 eax = [rbp - 0x9c64 {var_9c6c_1}].d
0x133a 77 eax = eax - [rbp - 0x9c50 {var_9c58}].d
0x1340 78 ecx = [rbp - 0x9c58 {var_9c60}].d
0x1346 79 ecx = ecx - 1
0x1349 80 rcx = sx.q(ecx)
0x134c 81 eax = eax - [rbp + (rcx << 2) - 0x9c50].d
0x1353 82 ecx = [rbp - 0x9c54 {var_9c5c}].d
0x1359 83 ecx = ecx - 1
0x135c 84 rdx = sx.q(ecx)
0x135f 85 rcx = rbp - 0x9c50 {var_9c58}
0x1366 86 rdx = rdx * 0x190
0x136d 87 rcx = rcx + rdx
0x1370 88 eax = eax - [rcx].d
0x1372 89 ecx = [rbp - 0x9c54 {var_9c5c}].d
0x1378 90 ecx = ecx - 1
0x137b 91 rdx = sx.q(ecx)
0x137e 92 rcx = rbp - 0x9c50 {var_9c58}
0x1385 93 rdx = rdx * 0x190
0x138c 94 rcx = rcx + rdx
0x138f 95 edx = [rbp - 0x9c58 {var_9c60}].d
0x1395 96 edx = edx - 1
0x1398 97 rdx = sx.q(edx)
0x139b 98 eax = eax - [rcx + (rdx << 2)].d
0x139e 99 [rbp - 0x9c64 {var_9c6c_2}].d = eax
0x13a8 100 if ([rbp - 0xc {var_14}].d == 0) then 117 @ 0x13bc else 125 @ 0x13ae
0x12df 101 eax = [rbp - 0x9c64 {var_9c6c_1}].d
0x12e5 102 rcx = sx.q([rbp - 0x9c6c {var_9c74_1}].d)
0x12ec 103 eax = eax + [rbp + (rcx << 2) - 0x9c50].d
0x12f3 104 ecx = [rbp - 0x9c54 {var_9c5c}].d
0x12f9 105 ecx = ecx - 1
0x12fc 106 rdx = sx.q(ecx)
0x12ff 107 rcx = rbp - 0x9c50 {var_9c58}
0x1306 108 rdx = rdx * 0x190
0x130d 109 rcx = rcx + rdx
0x1310 110 rdx = sx.q([rbp - 0x9c6c {var_9c74_1}].d)
0x1317 111 eax = eax + [rcx + (rdx << 2)].d
0x131a 112 [rbp - 0x9c64 {var_9c6c_1}].d = eax
0x1320 113 eax = [rbp - 0x9c6c {var_9c74_1}].d
0x1326 114 eax = eax + 1
0x1329 115 [rbp - 0x9c6c {var_9c74_1}].d = eax
0x132f 116 goto 70 @ 0x12cd
0x13bc 117 esi = [rbp - 0x9c64 {var_9c6c_2}].d
0x13c2 118 rdi = 0x2007 {"%d"}
0x13c9 119 al = 0
0x13cb 120 call(0x1030)
0x13d0 121 eax = [rbp - 0xc {var_14}].d
0x13d3 122 eax = eax + 1
0x13d6 123 [rbp - 0xc {var_14}].d = eax
0x13d9 124 goto 10 @ 0x117b
0x13ae 125 rdi = 0x200a {"\n"}
0x13b5 126 al = 0
0x13b7 127 call(0x1030)
0x13b7 128 goto 117 @ 0x13bc
int64_t _fini():
0x13f0 0 rsp = rsp - 8
0x13f4 1 rsp = rsp + 8
0x13f8 2 <return> jump(pop)
| POJ_6 |
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)
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 - 0x7f8
0x1181 7 rdi = 0x2004 {"%d"}
0x1188 8 rsi = rsp + 0xc {var_81c}
0x118d 9 eax = 0
0x118f 10 call(0x1050)
0x1199 11 if ([rsp + 0xc {var_81c}].d s<= 0) then 12 @ 0x137f else 21 @ 0x119f
0x137f 12 eax = 0
0x1381 13 rsp = rsp + 0x7f8
0x1388 14 rbx = pop
0x1389 15 r12 = pop
0x138b 16 r13 = pop
0x138d 17 r14 = pop
0x138f 18 r15 = pop
0x1391 19 rbp = pop
0x1392 20 <return> jump(pop)
0x119f 21 r13d = 0x3f {""}
0x11a5 22 r12d = 0
0x11a8 23 goto 24 @ 0x11d3
0x11d3 24 rdi = 0x2007 {"%s"}
0x11da 25 rbx = rsp + 0x10 {var_818}
0x11df 26 rsi = rbx {var_818}
0x11e2 27 eax = 0
0x11e4 28 call(0x1050)
0x11e9 29 edx = 0x3e9 {""}
0x11ee 30 rdi = rsp + 0x400 {var_428}
0x11f6 31 esi = 0
0x11f8 32 call(0x1030)
0x11fd 33 rdi = rbx {var_818}
0x1200 34 call(0x1040)
0x1205 35 r15 = rax
0x120b 36 if (r15d s<= 0) then 37 @ 0x11b0 else 40 @ 0x120d
0x11b0 37 edi = 0xa {""}
0x11b5 38 call(0x1060)
0x11b5 39 goto 45 @ 0x11ba
0x120d 40 r14d = r15d
0x1210 41 r8 = sx.q(r15d)
0x1213 42 ebp = 1
0x1218 43 edx = 0
0x121a 44 goto 49 @ 0x1241
0x11ba 45 edi = 0xa {""}
0x11bf 46 call(0x1060)
0x11c4 47 r12d = r12d + 1
0x11cd 48 if (r12d s>= [rsp + 0xc {var_81c}].d) then 12 @ 0x137f else 24 @ 0x11d3
0x1241 49 r9b = [rsp + rdx + 0x10].b
0x124a 50 if (r9b == 0x29) then 51 @ 0x1290 else 55 @ 0x1250
0x1290 51 esi = 1
0x1295 52 edi = 0
0x1297 53 rcx = rdx
0x129a 54 goto 56 @ 0x12a3
0x1250 55 if (r9b != 0x28) then 57 @ 0x1230 else 60 @ 0x1252
0x12a3 56 if (rcx s<= 0) then 64 @ 0x12d2 else 65 @ 0x12a5
0x1230 57 rdx = rdx + 1
0x1234 58 rbp = rbp + 1
0x123b 59 if (rdx == r14) then 74 @ 0x12f3 else 49 @ 0x1241
0x1252 60 esi = 0
0x1254 61 edi = 1
0x1259 62 rcx = rbp
0x125c 63 goto 75 @ 0x1263
0x12d2 64 if (edi == esi) then 57 @ 0x1230 else 76 @ 0x12d8
0x12a5 65 eax = zx.d([rsp + rcx + 0xf].b)
0x12aa 66 ebx = 0
0x12ae 67 bl = al == 0x28
0x12b1 68 edi = edi + ebx
0x12b3 69 ebx = 0
0x12b7 70 bl = al == 0x29
0x12ba 71 esi = esi + ebx
0x12bc 72 rcx = rcx - 1
0x12c2 73 if (edi != esi) then 56 @ 0x12a3 else 79 @ 0x12c4
0x12f3 74 if (r15d s<= 0) then 37 @ 0x11b0 else 80 @ 0x12f9
0x1263 75 if (rcx s>= r8) then 82 @ 0x1288 else 83 @ 0x1265
0x12d8 76 [rsp + rdx + 0x400].b = 0x3f {""}
0x12e0 77 [rsp + rdx + 0x10].b = 1
0x12e5 78 goto 57 @ 0x1230
0x12c4 79 goto 57 @ 0x1230
0x12f9 80 ebx = 0
0x12fb 81 goto 92 @ 0x1313
0x1288 82 if (edi != esi) then 94 @ 0x121c else 97 @ 0x128e
0x1265 83 eax = zx.d([rsp + rcx + 0x10].b)
0x126a 84 ebx = 0
0x126e 85 bl = al == 0x28
0x1271 86 edi = edi + ebx
0x1273 87 ebx = 0
0x1277 88 bl = al == 0x29
0x127a 89 esi = esi + ebx
0x127c 90 rcx = rcx + 1
0x1282 91 if (edi != esi) then 75 @ 0x1263 else 98 @ 0x1284
0x1313 92 edi = sx.d([rsp + rbx + 0x10].b)
0x131a 93 if (edi == 0) then 99 @ 0x1300 else 101 @ 0x1320
0x121c 94 [rsp + rdx + 0x10].b = 0
0x1221 95 [rsp + rdx + 0x400].b = 0x24 {""}
0x1229 96 goto 57 @ 0x1230
0x128e 97 if (r9b != 0x29) then 57 @ 0x1230 else 51 @ 0x1290
0x1284 98 goto 97 @ 0x128e
0x1300 99 edi = 0x28 {"x7"}
0x1300 100 goto 102 @ 0x1305
0x1320 101 if (dil != 1) then 102 @ 0x1305 else 105 @ 0x1322
0x1305 102 call(0x1060)
0x130a 103 rbx = rbx + 1
0x1311 104 if (r14 == rbx) then 107 @ 0x1330 else 92 @ 0x1313
0x1322 105 edi = 0x29 {"7"}
0x1327 106 goto 102 @ 0x1305
0x1330 107 edi = 0xa {""}
0x1335 108 call(0x1060)
0x133d 109 if (r15d s<= 0) then 45 @ 0x11ba else 110 @ 0x1343
0x1343 110 ebx = 0
0x134f 111 goto 112 @ 0x1350
0x1350 112 eax = zx.d([rsp + rbx + 0x400].b)
0x1358 113 ecx = 0
0x135c 114 cl = al == 0x24
0x135f 115 edi = ((rcx << 2) + 0x20).d
0x1368 116 if (al == 0x3f) then 117 else 119 @ 0x136c
0x1368 117 edi = r13d
0x1368 118 goto 119 @ 0x136c
0x136c 119 call(0x1060)
0x1371 120 rbx = rbx + 1
0x1378 121 if (r14 != rbx) then 112 @ 0x1350 else 122 @ 0x137a
0x137a 122 goto 45 @ 0x11ba
int64_t _fini():
0x1398 0 rsp = rsp - 8
0x139c 1 rsp = rsp + 8
0x13a0 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 getchar():
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"}
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 - 0x588
0x116e 5 rdi = 0x2007 {"%d"}
0x1175 6 rsi = rsp + 0xc {var_59c}
0x117a 7 eax = 0
0x117c 8 call(0x1040)
0x1186 9 if ([rsp + 0xc {var_59c}].d s<= 0) then 10 @ 0x11c6 else 13 @ 0x1188
0x11c6 10 r15d = 0x64 {""}
0x11cc 11 r14 = rsp + 0x1a0 {var_408}
0x11d4 12 goto 18 @ 0x11f2
0x1188 13 r14 = rsp + 0x10 {var_598}
0x118d 14 r12 = rsp + 0x1a0 {var_408}
0x1195 15 r15 = 0x2004 {"%s %d"}
0x119c 16 ebx = 0
0x119e 17 goto 19 @ 0x11a0
0x11f2 18 if ([rsp + 0xc {var_59c}].d s<= 0) then 29 @ 0x11e0 else 33 @ 0x11f4
0x11a0 19 rdi = r15
0x11a3 20 rsi = r12
0x11a6 21 rdx = r14
0x11a9 22 eax = 0
0x11ab 23 call(0x1040)
0x11b0 24 rbx = rbx + 1
0x11b4 25 rax = sx.q([rsp + 0xc {var_59c}].d)
0x11b9 26 r14 = r14 + 4
0x11bd 27 r12 = r12 + 0xa
0x11c4 28 if (rbx s< rax) then 19 @ 0x11a0 else 10 @ 0x11c6
0x11e0 29 eax = (r15 - 1).d
0x11e4 30 cond:0 = r15d u<= 0x3c
0x11e8 31 r15d = eax
0x11eb 32 if (cond:0) then 36 @ 0x1228 else 18 @ 0x11f2
0x11f4 33 r12 = r14 {var_408}
0x11f7 34 ebx = 0
0x11f9 35 goto 37 @ 0x1217
0x1228 36 if ([rsp + 0xc {var_59c}].d s<= 0) then 38 @ 0x1263 else 49 @ 0x122a
0x1217 37 if ([rsp + (rbx << 2) + 0x10].d != r15d) then 52 @ 0x1200 else 56 @ 0x1219
0x1263 38 eax = 0
0x1265 39 call(0x1030)
0x126a 40 eax = 0
0x126c 41 call(0x1030)
0x1271 42 eax = 0
0x1273 43 rsp = rsp + 0x588
0x127a 44 rbx = pop
0x127b 45 r12 = pop
0x127d 46 r14 = pop
0x127f 47 r15 = pop
0x1281 48 <return> jump(pop)
0x122a 49 r14 = rsp + 0x1a0 {var_408}
0x1232 50 ebx = 0
0x1234 51 goto 59 @ 0x1257
0x1200 52 rbx = rbx + 1
0x1204 53 rax = sx.q([rsp + 0xc {var_59c}].d)
0x1209 54 r12 = r12 + 0xa
0x1210 55 if (rbx s>= rax) then 29 @ 0x11e0 else 37 @ 0x1217
0x1219 56 rdi = r12
0x121c 57 call(0x1050)
0x1221 58 goto 52 @ 0x1200
0x1257 59 if ([rsp + (rbx << 2) + 0x10].d s> 0x3b) then 60 @ 0x1240 else 64 @ 0x1259
0x1240 60 rbx = rbx + 1
0x1244 61 rax = sx.q([rsp + 0xc {var_59c}].d)
0x1249 62 r14 = r14 + 0xa
0x1250 63 if (rbx s>= rax) then 38 @ 0x1263 else 59 @ 0x1257
0x1259 64 rdi = r14
0x125c 65 call(0x1050)
0x1261 66 goto 60 @ 0x1240
int64_t _fini():
0x1288 0 rsp = rsp - 8
0x128c 1 rsp = rsp + 8
0x1290 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(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 push(r15)
0x1153 2 push(r14)
0x1155 3 push(r13)
0x1157 4 push(r12)
0x1159 5 push(rbx)
0x115a 6 rsp = rsp - 0x28
0x115e 7 rdi = 0x2010 {"%d"}
0x1165 8 rsi = rsp + 8 {var_50}
0x116a 9 eax = 0
0x116c 10 call(0x1040)
0x1171 11 eax = [rsp + 8 {var_50}].d
0x1177 12 if (eax s<= 0) then 13 @ 0x11ed else 18 @ 0x1179
0x11ed 13 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x11f1 14 xmm4 = _mm_xor_pd(xmm4, xmm4)
0x11f5 15 xmm3 = _mm_xor_pd(xmm3, xmm3)
0x11f9 16 xmm2 = _mm_xor_pd(xmm2, xmm2)
0x11f9 17 goto 25 @ 0x11fd
0x1179 18 r15 = rsp + 0xc {var_4c}
0x117e 19 r12d = 0
0x1181 20 r13d = 0
0x1184 21 ebp = 0
0x1186 22 ebx = 0
0x1188 23 r14d = 0
0x118b 24 goto 61 @ 0x1190
0x11fd 25 xmm1.q = float.d(eax)
0x1201 26 xmm0.q = xmm0.q f/ xmm1.q
0x1205 27 xmm4.q = xmm4.q f/ xmm1.q
0x1209 28 [rsp + 0x10 {var_48}].q = xmm4.q
0x120f 29 xmm3.q = xmm3.q f/ xmm1.q
0x1213 30 [rsp + 0x18 {var_40}].q = xmm3.q
0x1219 31 xmm2.q = xmm2.q f/ xmm1.q
0x121d 32 [rsp + 0x20 {var_38}].q = xmm2.q
0x1223 33 xmm0.q = xmm0.q f* fconvert.t([0x2008].q)
0x122b 34 rdi = 0x2013 {"1-18: %.2lf%%\n"}
0x1232 35 al = 1
0x1234 36 call(0x1030)
0x1239 37 xmm0 = zx.o([rsp + 0x10 {var_48}].q)
0x123f 38 xmm0.q = xmm0.q f* fconvert.t([0x2008].q)
0x1247 39 rdi = 0x2022 {"19-35: %.2lf%%\n"}
0x124e 40 al = 1
0x1250 41 call(0x1030)
0x1255 42 xmm0 = zx.o([rsp + 0x18 {var_40}].q)
0x125b 43 xmm0.q = xmm0.q f* fconvert.t([0x2008].q)
0x1263 44 rdi = 0x2032 {"36-60: %.2lf%%\n"}
0x126a 45 al = 1
0x126c 46 call(0x1030)
0x1271 47 xmm0 = zx.o([rsp + 0x20 {var_38}].q)
0x1277 48 xmm0.q = xmm0.q f* fconvert.t([0x2008].q)
0x127f 49 rdi = 0x2042 {"60??: %.2lf%%\n"}
0x1286 50 al = 1
0x1288 51 call(0x1030)
0x128d 52 eax = 0
0x128f 53 rsp = rsp + 0x28
0x1293 54 rbx = pop
0x1294 55 r12 = pop
0x1296 56 r13 = pop
0x1298 57 r14 = pop
0x129a 58 r15 = pop
0x129c 59 rbp = pop
0x129d 60 <return> jump(pop)
0x1190 61 rdi = 0x2010 {"%d"}
0x1197 62 rsi = r15 {var_4c}
0x119a 63 eax = 0
0x119c 64 call(0x1040)
0x11a1 65 eax = [rsp + 0xc {var_4c}].d
0x11a5 66 ecx = (rax - 1).d
0x11a8 67 flag:c = ecx u< 0x12
0x11ab 68 ebx = adc.d(ebx, 0, flag:c)
0x11ae 69 ecx = (rax - 0x13).d
0x11b1 70 flag:c = ecx u< 0x11
0x11b4 71 ebp = adc.d(ebp, 0, flag:c)
0x11b7 72 ecx = (rax - 0x24).d
0x11ba 73 flag:c = ecx u< 0x19
0x11bd 74 r13d = adc.d(r13d, 0, flag:c)
0x11c1 75 ecx = 0
0x11c6 76 cl = eax s>= 0x3d
0x11c9 77 r12d = r12d + ecx
0x11cc 78 r14d = r14d + 1
0x11d0 79 eax = [rsp + 8 {var_50}].d
0x11d7 80 if (r14d s< eax) then 61 @ 0x1190 else 81 @ 0x11d9
0x11d9 81 xmm0.q = float.d(ebx)
0x11dd 82 xmm4.q = float.d(ebp)
0x11e1 83 xmm3.q = float.d(r13d)
0x11e6 84 xmm2.q = float.d(r12d)
0x11eb 85 goto 25 @ 0x11fd
int64_t _fini():
0x12a4 0 rsp = rsp - 8
0x12a8 1 rsp = rsp + 8
0x12ac 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 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 {"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 - 0xfc0
0x116b 3 [rbp - 0xfac {var_fb4}].d = 0
0x1175 4 [rbp - 0xfb4 {var_fbc}].d = 0
0x117f 5 [rbp - 0xfa4 {var_fac}].d = 0
0x117f 6 goto 7 @ 0x1189
0x1189 7 rax = sx.q([rbp - 0xfa4 {var_fac}].d)
0x1190 8 rsi = rbp - 0xfa0 {var_fa8}
0x1197 9 rax = rax << 2
0x119b 10 rsi = rsi + rax
0x119e 11 rdi = 0x2004 {"%d"}
0x11a5 12 al = 0
0x11a7 13 call(0x1050)
0x11ac 14 eax = [rbp - 0xfac {var_fb4}].d
0x11b2 15 eax = eax + 1
0x11b5 16 [rbp - 0xfac {var_fb4}].d = eax
0x11bb 17 al = 0
0x11bd 18 call(0x1040)
0x11c5 19 if (eax != 0xa) then 20 @ 0x11d0 else 21 @ 0x11cb
0x11d0 20 goto 22 @ 0x11d5
0x11cb 21 goto 26 @ 0x11e9
0x11d5 22 eax = [rbp - 0xfa4 {var_fac}].d
0x11db 23 eax = eax + 1
0x11de 24 [rbp - 0xfa4 {var_fac}].d = eax
0x11e4 25 goto 7 @ 0x1189
0x11e9 26 [rbp - 0xfa4 {var_fac_1}].d = 0
0x11e9 27 goto 28 @ 0x11f3
0x11f3 28 eax = [rbp - 0xfa4 {var_fac_1}].d
0x11ff 29 if (eax s>= [rbp - 0xfac {var_fb4}].d) then 30 @ 0x12be else 32 @ 0x1205
0x12be 30 [rbp - 0xfa4 {var_fac_2}].d = 0
0x12be 31 goto 36 @ 0x12c8
0x1205 32 eax = [rbp - 0xfa4 {var_fac_1}].d
0x120b 33 eax = eax + 1
0x120e 34 [rbp - 0xfa8 {var_fb0_1}].d = eax
0x120e 35 goto 38 @ 0x1214
0x12c8 36 eax = [rbp - 0xfa4 {var_fac_2}].d
0x12d4 37 if (eax s>= [rbp - 0xfac {var_fb4}].d) then 40 @ 0x133f else 41 @ 0x12da
0x1214 38 eax = [rbp - 0xfa8 {var_fb0_1}].d
0x1220 39 if (eax s>= [rbp - 0xfac {var_fb4}].d) then 44 @ 0x12a5 else 45 @ 0x1226
0x133f 40 if ([rbp - 0xfb4 {var_fbc}].d != 0) then 49 @ 0x1353 else 52 @ 0x1345
0x12da 41 eax = [rbp - 0xfa0 {var_fa8}].d
0x12e0 42 rcx = sx.q([rbp - 0xfa4 {var_fac_2}].d)
0x12ee 43 if (eax s<= [rbp + (rcx << 2) - 0xfa0].d) then 56 @ 0x131f else 57 @ 0x12f4
0x12a5 44 goto 64 @ 0x12aa
0x1226 45 rax = sx.q([rbp - 0xfa4 {var_fac_1}].d)
0x122d 46 eax = [rbp + (rax << 2) - 0xfa0].d
0x1234 47 rcx = sx.q([rbp - 0xfa8 {var_fb0_1}].d)
0x1242 48 if (eax s>= [rbp + (rcx << 2) - 0xfa0].d) then 68 @ 0x128c else 69 @ 0x1248
0x1353 49 rsp = rsp + 0xfc0
0x135a 50 rbp = pop
0x135b 51 <return> jump(pop)
0x1345 52 rdi = 0x200b {"No\n"}
0x134c 53 al = 0
0x134e 54 call(0x1030)
0x134e 55 goto 49 @ 0x1353
0x131f 56 goto 80 @ 0x1324
0x12f4 57 rax = sx.q([rbp - 0xfa4 {var_fac_2}].d)
0x12fb 58 esi = [rbp + (rax << 2) - 0xfa0].d
0x1302 59 rdi = 0x2007 {"%d\n"}
0x1309 60 al = 0
0x130b 61 call(0x1030)
0x1310 62 [rbp - 0xfb4 {var_fbc}].d = 1
0x131a 63 goto 40 @ 0x133f
0x12aa 64 eax = [rbp - 0xfa4 {var_fac_1}].d
0x12b0 65 eax = eax + 1
0x12b3 66 [rbp - 0xfa4 {var_fac_1}].d = eax
0x12b9 67 goto 28 @ 0x11f3
0x128c 68 goto 84 @ 0x1291
0x1248 69 rax = sx.q([rbp - 0xfa4 {var_fac_1}].d)
0x124f 70 eax = [rbp + (rax << 2) - 0xfa0].d
0x1256 71 [rbp - 0xfb0 {var_fb8_1}].d = eax
0x125c 72 rax = sx.q([rbp - 0xfa8 {var_fb0_1}].d)
0x1263 73 ecx = [rbp + (rax << 2) - 0xfa0].d
0x126a 74 rax = sx.q([rbp - 0xfa4 {var_fac_1}].d)
0x1271 75 [rbp + (rax << 2) - 0xfa0].d = ecx
0x1278 76 ecx = [rbp - 0xfb0 {var_fb8_1}].d
0x127e 77 rax = sx.q([rbp - 0xfa8 {var_fb0_1}].d)
0x1285 78 [rbp + (rax << 2) - 0xfa0].d = ecx
0x1285 79 goto 68 @ 0x128c
0x1324 80 eax = [rbp - 0xfa4 {var_fac_2}].d
0x132a 81 eax = eax + 1
0x132d 82 [rbp - 0xfa4 {var_fac_2}].d = eax
0x1333 83 goto 36 @ 0x12c8
0x1291 84 eax = [rbp - 0xfa8 {var_fb0_1}].d
0x1297 85 eax = eax + 1
0x129a 86 [rbp - 0xfa8 {var_fb0_1}].d = eax
0x12a0 87 goto 38 @ 0x1214
int64_t _fini():
0x1360 0 rsp = rsp - 8
0x1364 1 rsp = rsp + 8
0x1368 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)
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 {"AVSH"}
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 - 0xc8
0x116a 3 r14 = 0x2004 {"%s"}
0x1171 4 ebx = 0
0x117d 5 goto 6 @ 0x1180
0x1180 6 rsi = rsp + rbx
0x1184 7 rdi = r14
0x1187 8 eax = 0
0x1189 9 call(0x1050)
0x118e 10 rbx = rbx + 0x64
0x1196 11 if (rbx == 0x64) then 6 @ 0x1180 else 12 @ 0x1198
0x1198 12 rdi = rsp {var_d8}
0x119b 13 call(0x1040)
0x11a0 14 r14 = rax
0x11a3 15 rbx = rsp + 0x64 {var_74}
0x11a8 16 rdi = rbx {var_74}
0x11ab 17 call(0x1040)
0x11b2 18 if (eax s<= 0) then 19 @ 0x1207 else 24 @ 0x11b4
0x1207 19 eax = 0
0x1209 20 rsp = rsp + 0xc8
0x1210 21 rbx = pop
0x1211 22 r14 = pop
0x1213 23 <return> jump(pop)
0x11b4 24 edi = eax
0x11b6 25 ecx = r14d
0x11b9 26 esi = 0
0x11bb 27 goto 28 @ 0x11c0
0x11c0 28 edx = 0
0x11c8 29 if (r14d s<= 0) then 30 @ 0x11e8 else 31 @ 0x11ca
0x11e8 30 if (edx == r14d) then 33 @ 0x11f9 else 37 @ 0x11ea
0x11ca 31 edx = 0
0x11cc 32 goto 40 @ 0x11d0
0x11f9 33 rdi = 0x2007 {"%d"}
0x1200 34 eax = 0
0x1202 35 call(0x1030)
0x1202 36 goto 19 @ 0x1207
0x11ea 37 rsi = rsi + 1
0x11ee 38 rbx = rbx + 1
0x11f5 39 if (rsi != rdi) then 28 @ 0x11c0 else 42 @ 0x11f7
0x11d0 40 eax = zx.d([rbx + rdx].b)
0x11d7 41 if (al != [rsp + rdx].b) then 30 @ 0x11e8 else 43 @ 0x11d9
0x11f7 42 goto 19 @ 0x1207
0x11d9 43 rdx = rdx + 1
0x11e0 44 if (rcx != rdx) then 40 @ 0x11d0 else 45 @ 0x11e2
0x11e2 45 edx = r14d
0x11e2 46 goto 30 @ 0x11e8
int64_t _fini():
0x1218 0 rsp = rsp - 8
0x121c 1 rsp = rsp + 8
0x1220 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)
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 - 0x1a8
0x1161 7 rdi = 0x2010 {"%d"}
0x1168 8 r13d = 0
0x116b 9 rsi = rsp + 8 {var_1d0}
0x1170 10 eax = 0
0x1172 11 call(0x1040)
0x1177 12 eax = [rsp + 8 {var_1d0}].d
0x117b 13 ebx = 0
0x1180 14 r15d = 0
0x1186 15 ebp = 0
0x118d 16 if (eax s<= 0) then 17 @ 0x1206 else 60 @ 0x118f
0x1206 17 xmm0.q = float.d(r13d)
0x120b 18 xmm1.q = float.d(eax)
0x120f 19 xmm0.q = xmm0.q f/ xmm1.q
0x1213 20 xmm0.q = xmm0.q f* fconvert.t([0x2008].q)
0x121b 21 rdi = 0x2013 {"1-18: %.2f%%\n"}
0x1222 22 al = 1
0x1224 23 call(0x1030)
0x1229 24 xmm0 = 0
0x122c 25 xmm0.q = float.d(ebx)
0x1230 26 xmm1 = 0
0x1233 27 xmm1.q = float.d([rsp + 8 {var_1d0}].d)
0x1239 28 xmm0.q = xmm0.q f/ xmm1.q
0x123d 29 xmm0.q = xmm0.q f* fconvert.t([0x2008].q)
0x1245 30 rdi = 0x2021 {"19-35: %.2f%%\n"}
0x124c 31 al = 1
0x124e 32 call(0x1030)
0x1253 33 xmm0 = 0
0x1256 34 xmm0.q = float.d(r15d)
0x125b 35 xmm1 = 0
0x125e 36 xmm1.q = float.d([rsp + 8 {var_1d0}].d)
0x1264 37 xmm0.q = xmm0.q f/ xmm1.q
0x1268 38 xmm0.q = xmm0.q f* fconvert.t([0x2008].q)
0x1270 39 rdi = 0x2030 {"36-60: %.2f%%\n"}
0x1277 40 al = 1
0x1279 41 call(0x1030)
0x127e 42 xmm0 = 0
0x1281 43 xmm0.q = float.d(ebp)
0x1285 44 xmm1 = 0
0x1288 45 xmm1.q = float.d([rsp + 8 {var_1d0}].d)
0x128e 46 xmm0.q = xmm0.q f/ xmm1.q
0x1292 47 xmm0.q = xmm0.q f* fconvert.t([0x2008].q)
0x129a 48 rdi = 0x203f {"60??: %.2f%%\n"}
0x12a1 49 al = 1
0x12a3 50 call(0x1030)
0x12a8 51 eax = 0
0x12aa 52 rsp = rsp + 0x1a8
0x12b1 53 rbx = pop
0x12b2 54 r12 = pop
0x12b4 55 r13 = pop
0x12b6 56 r14 = pop
0x12b8 57 r15 = pop
0x12ba 58 rbp = pop
0x12bb 59 <return> jump(pop)
0x118f 60 rbx = rsp + 0x10 {var_1c8}
0x1194 61 r14 = 0x2010 {"%d"}
0x119b 62 r12d = 0
0x119e 63 ebp = 0
0x11a0 64 r15d = 0
0x11a3 65 [rsp + 0xc {var_1cc_1}].d = 0
0x11ab 66 r13d = 0
0x11ae 67 goto 68 @ 0x11c5
0x11c5 68 rdi = r14
0x11c8 69 rsi = rbx
0x11cb 70 eax = 0
0x11cd 71 call(0x1040)
0x11d2 72 eax = [rbx].d
0x11d7 73 if (eax s>= 0x3d) then 74 @ 0x11b0 else 76 @ 0x11dc
0x11b0 74 ebp = ebp + 1
0x11b0 75 goto 77 @ 0x11b3
0x11dc 76 if (eax s< 0x24) then 81 @ 0x11f3 else 82 @ 0x11de
0x11b3 77 r12 = r12 + 1
0x11b7 78 rax = sx.q([rsp + 8 {var_1d0}].d)
0x11bc 79 rbx = rbx + 4
0x11c3 80 if (r12 s>= rax) then 84 @ 0x1202 else 68 @ 0x11c5
0x11f3 81 if (eax s< 0x13) then 86 @ 0x11fc else 88 @ 0x11f5
0x11de 82 r15d = r15d + 1
0x11e2 83 goto 77 @ 0x11b3
0x1202 84 ebx = [rsp + 0xc {var_1cc_1}].d
0x1202 85 goto 17 @ 0x1206
0x11fc 86 r13d = r13d + 1
0x1200 87 goto 77 @ 0x11b3
0x11f5 88 [rsp + 0xc {var_1cc_1}].d = [rsp + 0xc {var_1cc_1}].d + 1
0x11fa 89 goto 77 @ 0x11b3
int64_t _fini():
0x12c0 0 rsp = rsp - 8
0x12c4 1 rsp = rsp + 8
0x12c8 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)
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)
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 {"AWAVATSH\t"}
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(r15)
0x1182 1 push(r14)
0x1184 2 push(r12)
0x1186 3 push(rbx)
0x1187 4 rsp = rsp - 0x9d8
0x118e 5 r15 = 0x2004 {"%s"}
0x1195 6 ebx = 0
0x1197 7 r14 = rsp + 0x100 {var_8f8}
0x119f 8 rdi = r15
0x11a2 9 rsi = r14 {var_8f8}
0x11a5 10 eax = 0
0x11a7 11 call(0x1050)
0x11ac 12 r12 = rsp {var_9f8}
0x11af 13 rdi = r15
0x11b2 14 rsi = r12 {var_9f8}
0x11b5 15 eax = 0
0x11b7 16 call(0x1050)
0x11bc 17 rdi = r14 {var_8f8}
0x11bf 18 rsi = r12 {var_9f8}
0x11c2 19 call(0x1060)
0x11c9 20 if (eax == 0) then 21 @ 0x140a else 24 @ 0x11cf
0x140a 21 edi = 0x30 {""}
0x140f 22 call(0x1070)
0x1414 23 goto 32 @ 0x1507
0x11cf 24 rdi = rsp + 0x100 {var_8f8}
0x11d7 25 call(0x1040)
0x11dc 26 r14 = rax
0x11df 27 rdi = rsp {var_9f8}
0x11e2 28 call(0x1040)
0x11e7 29 r15 = rax
0x11ea 30 eax = 0
0x11ec 31 goto 39 @ 0x11f0
0x1507 32 eax = 0
0x1509 33 rsp = rsp + 0x9d8
0x1510 34 rbx = pop
0x1511 35 r12 = pop
0x1513 36 r14 = pop
0x1515 37 r15 = pop
0x1517 38 <return> jump(pop)
0x11f0 39 ecx = zx.d([rsp + rax + 0x100].b)
0x11f8 40 cl = cl - 0x30
0x11fb 41 cond:0 = cl u>= 0xa
0x11fe 42 ecx = zx.d(cl)
0x1201 43 if (cond:0) then 44 else 46 @ 0x1204
0x1201 44 ecx = ebx
0x1201 45 goto 46 @ 0x1204
0x1204 46 edx = zx.d([rsp + rax].b)
0x1208 47 dl = dl - 0x30
0x120b 48 cond:1 = dl u>= 0xa
0x120e 49 edx = zx.d(dl)
0x1211 50 if (cond:1) then 51 else 53 @ 0x1214
0x1211 51 edx = ebx
0x1211 52 goto 53 @ 0x1214
0x1214 53 [rsp + rax + 0x100].b = cl
0x121b 54 [rsp + rax].b = dl
0x121e 55 rax = rax + 1
0x1228 56 if (rax != 0xfa) then 39 @ 0x11f0 else 57 @ 0x122a
0x122a 57 r8 = -0x100000000
0x1234 58 rdi = 0x100000000 {""}
0x1241 59 if (r14d s<= 0) then 60 @ 0x12a5 else 61 @ 0x1243
0x12a5 60 if (r15d s<= 0) then 67 @ 0x12f6 else 69 @ 0x12a7
0x1243 61 r9d = r14d
0x1246 62 r10 = r9
0x1249 63 r10 = r10 << 0x20
0x124d 64 r10 = r10 + r8
0x1250 65 r11d = 0
0x125d 66 goto 75 @ 0x1260
0x12f6 67 eax = 0
0x12f8 68 goto 80 @ 0x1300
0x12a7 69 r9d = r15d
0x12aa 70 r10 = r9
0x12ad 71 r10 = r10 << 0x20
0x12b1 72 r10 = r10 + r8
0x12b4 73 r11d = 0
0x12b7 74 goto 86 @ 0x12c0
0x1260 75 ebx = 0xf9 {""}
0x1265 76 rbx = rbx - r11
0x1268 77 eax = 0
0x126a 78 rdx = r10
0x126d 79 goto 91 @ 0x1270
0x1300 80 ecx = sx.d([rsp + rax + 0x100].b)
0x1308 81 edx = sx.d([rsp + rax].b)
0x130c 82 edx = edx + ecx
0x130e 83 [rsp + (rax << 2) + 0x5f0].d = edx
0x1315 84 rax = rax + 1
0x131f 85 if (rax != 0xfa) then 80 @ 0x1300 else 100 @ 0x1321
0x12c0 86 ebx = 0xf9 {""}
0x12c5 87 rbx = rbx - r11
0x12c8 88 eax = 0
0x12ca 89 rdx = r10
0x12cd 90 goto 104 @ 0x12d0
0x1270 91 rsi = rdx
0x1273 92 rsi = rsi s>> 0x20
0x1277 93 ecx = zx.d([rsp + rsi + 0x100].b)
0x127f 94 [rsp + rbx + 0x100].b = cl
0x1286 95 [rsp + rsi + 0x100].b = 0
0x128e 96 rdx = rdx + rdi
0x1291 97 temp0.d = eax
0x1291 98 eax = eax - 1
0x1294 99 if (temp0.d == 1) then 91 @ 0x1270 else 113 @ 0x1296
0x1321 100 eax = [rsp + 0x9d4 {var_24}].d
0x1328 101 [rsp + 0x5e4 {var_414_1}].d = eax
0x132f 102 eax = 0xf8 {""}
0x133e 103 goto 116 @ 0x1340
0x12d0 104 rsi = rdx
0x12d3 105 rsi = rsi s>> 0x20
0x12d7 106 ecx = zx.d([rsp + rsi].b)
0x12db 107 [rsp + rbx].b = cl
0x12de 108 [rsp + rsi].b = 0
0x12e2 109 rdx = rdx + rdi
0x12e5 110 temp1.d = eax
0x12e5 111 eax = eax - 1
0x12e8 112 if (temp1.d == 1) then 104 @ 0x12d0 else 124 @ 0x12ea
0x1296 113 r11 = r11 + 1
0x129a 114 r10 = r10 + r8
0x12a0 115 if (r11 != r9) then 75 @ 0x1260 else 60 @ 0x12a5
0x1340 116 ecx = 0
0x134a 117 cl = [rsp + (rax << 2) + 0x204].d s>= 0xa
0x134d 118 ecx = ecx + [rsp + (rax << 2) + 0x5f0].d
0x1354 119 [rsp + (rax << 2) + 0x200].d = ecx
0x135b 120 temp2.q = rax
0x135b 121 rax = rax - 1
0x135b 122 flag:c = temp2.q u>= 1
0x135f 123 if (flag:c) then 116 @ 0x1340 else 127 @ 0x1361
0x12ea 124 r11 = r11 + 1
0x12ee 125 r10 = r10 + r8
0x12f4 126 if (r11 != r9) then 86 @ 0x12c0 else 67 @ 0x12f6
0x1361 127 eax = [rsp + 0x200 {var_7f8}].d
0x1368 128 ecx = 0
0x136a 129 goto 130 @ 0x1370
0x1370 130 edx = [rsp + (rcx << 2) + 0x200].d
0x1377 131 esi = (rdx - 0xa).d
0x137d 132 if (edx s< 0xa) then 133 else 135 @ 0x1380
0x137d 133 esi = edx
0x137d 134 goto 135 @ 0x1380
0x1380 135 [rsp + (rcx << 2) + 0x200].d = esi
0x1387 136 rcx = rcx + 1
0x1392 137 if (rcx != 0xfa) then 130 @ 0x1370 else 138 @ 0x1397
0x1397 138 if (eax s< 0xa) then 139 @ 0x141c else 140 @ 0x139d
0x141c 139 if (r14d s> r15d) then 143 else 145 @ 0x1420
0x139d 140 edi = 0x31 {""}
0x13a2 141 call(0x1070)
0x13aa 142 if (r14d s> r15d) then 148 else 150 @ 0x13ae
0x141c 143 r15d = r14d
0x141c 144 goto 145 @ 0x1420
0x1420 145 eax = 0xf9 {""}
0x1425 146 eax = eax - r15d
0x142b 147 if (r15d s< 0) then 153 @ 0x146b else 154 @ 0x142d
0x13aa 148 r15d = r14d
0x13aa 149 goto 150 @ 0x13ae
0x13ae 150 eax = 0xf9 {""}
0x13b3 151 eax = eax - r15d
0x13b9 152 if (r15d s< 0) then 158 @ 0x1403 else 159 @ 0x13bb
0x146b 153 if (eax s<= 0xf9) then 163 @ 0x14c2 else 171 @ 0x146d
0x142d 154 rcx = sx.q(eax)
0x1430 155 r15d = r15d - 0xf9
0x1437 156 eax = r15d
0x143a 157 goto 172 @ 0x1448
0x1403 158 if (eax s<= 0xf9) then 173 @ 0x147f else 181 @ 0x1405
0x13bb 159 rcx = sx.q(eax)
0x13be 160 r15d = r15d - 0xf9
0x13c5 161 eax = r15d
0x13c8 162 goto 182 @ 0x13d8
0x14c2 163 rcx = sx.q(eax)
0x14c5 164 r15 = rsp + (rcx << 2)
0x14c9 165 r15 = r15 + 0x200
0x14d0 166 r12d = 0xfa {""}
0x14d6 167 r12d = r12d - eax
0x14d9 168 r14 = 0x2007 {"%d"}
0x14e0 169 ebx = 0
0x14ec 170 goto 183 @ 0x14f0
0x146d 171 goto 32 @ 0x1507
0x1448 172 if ([rsp + (rcx << 2) + 0x200].d s> 0) then 189 @ 0x14b9 else 191 @ 0x1451
0x147f 173 rcx = sx.q(eax)
0x1482 174 r15 = rsp + (rcx << 2)
0x1486 175 r15 = r15 + 0x200
0x148d 176 r12d = 0xfa {""}
0x1493 177 r12d = r12d - eax
0x1496 178 r14 = 0x2007 {"%d"}
0x149d 179 ebx = 0
0x149f 180 goto 192 @ 0x14a0
0x1405 181 goto 32 @ 0x1507
0x13d8 182 if ([rsp + (rcx << 2) + 0x200].d s> 0) then 198 @ 0x1472 else 200 @ 0x13e5
0x14f0 183 esi = [r15 + (rbx << 2)].d
0x14f4 184 rdi = r14
0x14f7 185 eax = 0
0x14f9 186 call(0x1030)
0x14fe 187 rbx = rbx + 1
0x1505 188 if (r12d != ebx) then 183 @ 0x14f0 else 32 @ 0x1507
0x14b9 189 eax = neg.d(eax)
0x14c0 190 if (eax s> 0xf9) then 32 @ 0x1507 else 163 @ 0x14c2
0x1451 191 if (rcx == 0xf9) then 189 @ 0x14b9 else 201 @ 0x1453
0x14a0 192 esi = [r15 + (rbx << 2)].d
0x14a4 193 rdi = r14
0x14a7 194 eax = 0
0x14a9 195 call(0x1030)
0x14ae 196 rbx = rbx + 1
0x14b5 197 if (r12d != ebx) then 192 @ 0x14a0 else 204 @ 0x14b7
0x1472 198 eax = neg.d(eax)
0x1479 199 if (eax s> 0xf9) then 32 @ 0x1507 else 173 @ 0x147f
0x13e5 200 if (rcx == 0xf9) then 198 @ 0x1472 else 205 @ 0x13eb
0x1453 201 rcx = rcx + 1
0x1457 202 eax = eax - 1
0x145f 203 if (eax != -0xfa) then 172 @ 0x1448 else 208 @ 0x1461
0x14b7 204 goto 32 @ 0x1507
0x13eb 205 rcx = rcx + 1
0x13ef 206 eax = eax - 1
0x13f7 207 if (eax != -0xfa) then 182 @ 0x13d8 else 210 @ 0x13f9
0x1461 208 eax = 0xfa {""}
0x1461 209 goto 153 @ 0x146b
0x13f9 210 eax = 0xfa {""}
0x13f9 211 goto 158 @ 0x1403
int64_t _fini():
0x151c 0 rsp = rsp - 8
0x1520 1 rsp = rsp + 8
0x1524 2 <return> jump(pop)
| POJ_69 |
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 {"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 - 0x7d8
0x116d 5 ebp = 0
0x116f 6 rbx = rsp {var_7f8}
0x1172 7 rdi = rbx {var_7f8}
0x1175 8 eax = 0
0x1177 9 call(0x1040)
0x117c 10 rdi = rbx {var_7f8}
0x117f 11 call(0x1030)
0x1186 12 if (eax s<= 0) then 13 @ 0x1234 else 17 @ 0x118c
0x1234 13 edi = 0xa {""}
0x1239 14 call(0x1050)
0x123e 15 r15d = 0x64 {""}
0x123e 16 goto 23 @ 0x1244
0x118c 17 ecx = (rax - 1).d
0x118f 18 edx = eax
0x1191 19 r15d = 0x64 {""}
0x1197 20 edi = 0
0x1199 21 esi = 0
0x119b 22 goto 27 @ 0x11cb
0x1244 23 rbp = sx.q(r14d)
0x1247 24 r14d = r14d - r15d
0x124a 25 rbx = sx.q(r14d)
0x124d 26 goto 29 @ 0x1250
0x11cb 27 eax = zx.d([rsp + rdi].b)
0x11d1 28 if (al == 0x20) then 33 @ 0x11dd else 34 @ 0x11d5
0x1250 29 edi = sx.d([rsp + rbx + 1].b)
0x1255 30 rbx = rbx + 1
0x1259 31 call(0x1050)
0x1261 32 if (rbx s< rbp) then 29 @ 0x1250 else 35 @ 0x1263
0x11dd 33 if (rcx == rdi) then 42 @ 0x11f2 else 43 @ 0x11e1
0x11d5 34 if (al == 0x2c) then 33 @ 0x11dd else 44 @ 0x11d7
0x1263 35 eax = 0
0x1265 36 rsp = rsp + 0x7d8
0x126c 37 rbx = pop
0x126d 38 r14 = pop
0x126f 39 r15 = pop
0x1271 40 rbp = pop
0x1272 41 <return> jump(pop)
0x11f2 42 if (ebp == 0) then 46 @ 0x11c0 else 48 @ 0x11f4
0x11e1 43 if (al == 0x20) then 42 @ 0x11f2 else 49 @ 0x11e5
0x11d7 44 ebp = ebp + 1
0x11d7 45 goto 33 @ 0x11dd
0x11c0 46 ebp = 0
0x11c0 47 goto 50 @ 0x11c2
0x11f4 48 goto 52 @ 0x11a0
0x11e5 49 if (al != 0x2c) then 50 @ 0x11c2 else 58 @ 0x11e9
0x11c2 50 rdi = rdi + 1
0x11c9 51 if (rdx == rdi) then 59 @ 0x11f8 else 27 @ 0x11cb
0x11a0 52 eax = 0
0x11a5 53 al = rcx != rdi
0x11a8 54 ebx = edi
0x11aa 55 ebx = ebx - eax
0x11ac 56 cond:0 = ebp s> esi
0x11ae 57 if (ebp s> esi) then 60 else 62 @ 0x11b1
0x11e9 58 if (ebp != 0) then 52 @ 0x11a0 else 63 @ 0x11eb
0x11f8 59 if (esi s<= 0) then 64 @ 0x1223 else 67 @ 0x11fa
0x11ae 60 esi = ebp
0x11ae 61 goto 62 @ 0x11b1
0x11b1 62 if (cond:0) then 71 else 73 @ 0x11b5
0x11eb 63 goto 50 @ 0x11c2
0x1223 64 edi = 0xa {""}
0x1228 65 call(0x1050)
0x1230 66 if (r15d s> 0) then 23 @ 0x1244 else 75 @ 0x1232
0x11fa 67 rbp = sx.q(r8d)
0x11fd 68 r8d = r8d - esi
0x1200 69 rbx = sx.q(r8d)
0x120d 70 goto 76 @ 0x1210
0x11b1 71 r8d = ebx
0x11b1 72 goto 73 @ 0x11b5
0x11b5 73 cond:1 = ebp s< r15d
0x11b8 74 if (ebp s< r15d) then 80 else 82 @ 0x11bc
0x1232 75 goto 35 @ 0x1263
0x1210 76 edi = sx.d([rsp + rbx + 1].b)
0x1215 77 rbx = rbx + 1
0x1219 78 call(0x1050)
0x1221 79 if (rbx s< rbp) then 76 @ 0x1210 else 64 @ 0x1223
0x11b8 80 r15d = ebp
0x11b8 81 goto 82 @ 0x11bc
0x11bc 82 if (cond:1) then 83 else 85
0x11bc 83 r14d = ebx
0x11bc 84 goto 85
0x11bc 85 goto 46 @ 0x11c0
int64_t _fini():
0x1278 0 rsp = rsp - 8
0x127c 1 rsp = rsp + 8
0x1280 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)
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 {"AWAVATSPH="}
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 push(rax)
0x1168 5 rdi = 0x2004 {"%d"}
0x116f 6 rsi = rsp {var_28}
0x1172 7 eax = 0
0x1174 8 call(0x1040)
0x117d 9 if ([rsp {var_28}].d s<= 0) then 10 @ 0x11e7 else 16 @ 0x117f
0x11e7 10 rsp = rsp + 8
0x11eb 11 rbx = pop
0x11ec 12 r12 = pop
0x11ee 13 r14 = pop
0x11f0 14 r15 = pop
0x11f2 15 <return> jump(pop)
0x117f 16 r14 = 0x2004 {"%d"}
0x1186 17 rbx = rsp + 4 {var_28+0x4}
0x118b 18 r15 = 0x200b {"1"}
0x1192 19 r12 = 0x2007 {"%d\n"}
0x1199 20 goto 21 @ 0x11c4
0x11c4 21 rdi = r14
0x11c7 22 rsi = rbx {var_28+0x4}
0x11ca 23 eax = 0
0x11cc 24 call(0x1040)
0x11d1 25 edi = [rsp + 4 {var_28+0x4}].d
0x11d5 26 eax = (rdi - 1).d
0x11db 27 if (eax u> 1) then 28 @ 0x11a0 else 35 @ 0x11dd
0x11a0 28 esi = 2
0x11a5 29 call(0x1200)
0x11aa 30 rdi = r12
0x11ad 31 esi = eax
0x11af 32 eax = 0
0x11b1 33 call(0x1030)
0x11b1 34 goto 38 @ 0x11b6
0x11dd 35 rdi = r15
0x11e0 36 call(0x1050)
0x11e5 37 goto 38 @ 0x11b6
0x11b6 38 eax = [rsp {var_28}].d
0x11b9 39 ecx = (rax - 1).d
0x11bc 40 [rsp {var_28}].d = ecx
0x11c2 41 if (eax s<= 1) then 10 @ 0x11e7 else 21 @ 0x11c4
uint64_t f(int32_t arg1, int32_t arg2):
0x1200 0 push(rbp)
0x1201 1 push(r14)
0x1203 2 push(rbx)
0x1204 3 ebp = esi
0x1206 4 ebx = edi
0x1208 5 r14d = 1
0x1210 6 if (esi s>= edi) then 7 @ 0x1240 else 9 @ 0x1212
0x1240 7 eax = 0
0x1244 8 if (ebp == ebx) then 11 else 13 @ 0x1248
0x1212 9 r14d = 1
0x1218 10 goto 17 @ 0x1227
0x1244 11 eax = r14d
0x1244 12 goto 13 @ 0x1248
0x1248 13 rbx = pop
0x1249 14 r14 = pop
0x124b 15 rbp = pop
0x124c 16 <return> jump(pop)
0x1227 17 eax = ebx
0x1229 18 temp2.d:temp3.d = sx.q(eax)
0x1229 19 edx = temp2.d
0x1229 20 eax = temp3.d
0x122a 21 temp4.d = edx
0x122a 22 temp5.d = eax
0x122a 23 temp0.d = divs.dp.d(temp4.d:temp5.d, ebp)
0x122a 24 temp6.d = edx
0x122a 25 temp7.d = eax
0x122a 26 temp1.d = mods.dp.d(temp6.d:temp7.d, ebp)
0x122a 27 eax = temp0.d
0x122a 28 edx = temp1.d
0x122e 29 if (edx != 0) then 30 @ 0x1220 else 32 @ 0x1230
0x1220 30 ebp = ebp + 1
0x1225 31 if (ebx == ebp) then 37 @ 0x123e else 17 @ 0x1227
0x1230 32 edi = eax
0x1232 33 esi = ebp
0x1234 34 call(0x1200)
0x1239 35 r14d = r14d + eax
0x123c 36 goto 30 @ 0x1220
0x123e 37 ebp = ebx
0x123e 38 goto 7 @ 0x1240
int64_t _fini():
0x1254 0 rsp = rsp - 8
0x1258 1 rsp = rsp + 8
0x125c 2 <return> jump(pop)
| POJ_1 |
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 {"PH="}
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(rax)
0x1161 1 rdi = 0x2004 {"%d"}
0x1168 2 rsi = rsp + 4 {var_8+0x4}
0x116d 3 eax = 0
0x116f 4 call(0x1040)
0x1174 5 rax = sx.q([rsp + 4 {var_8+0x4}].d)
0x1179 6 rcx = rax * 0x55555556
0x1180 7 rdx = rcx
0x1183 8 rdx = rdx u>> 0x3f
0x1187 9 rcx = rcx u>> 0x20
0x118b 10 ecx = ecx + edx
0x118d 11 r8d = (rcx + (rcx << 1)).d
0x1191 12 rsi = rax * 0x66666667
0x1198 13 edi = eax
0x119a 14 rcx = rax * -0x6db6db6d
0x11a1 15 rcx = rcx u>> 0x20
0x11a5 16 ecx = ecx + eax
0x11a7 17 edx = ecx
0x11a9 18 edx = edx u>> 0x1f
0x11ac 19 ecx = ecx s>> 2
0x11af 20 ecx = ecx + edx
0x11b1 21 edx = (rcx << 3).d
0x11b8 22 ecx = ecx - edx
0x11ba 23 ecx = ecx + eax
0x11bc 24 eax = eax - r8d
0x11bf 25 rdx = rsi
0x11c2 26 rdx = rdx u>> 0x3f
0x11c6 27 rsi = rsi u>> 0x20
0x11ca 28 esi = esi s>> 1
0x11cc 29 esi = esi + edx
0x11ce 30 edx = (rsi + (rsi << 2)).d
0x11d1 31 edi = edi - edx
0x11d3 32 edx = eax
0x11d5 33 edx = edx | edi
0x11d7 34 edx = edx | ecx
0x11d9 35 if (edx != 0) then 36 @ 0x11ed else 37 @ 0x11db
0x11ed 36 if (eax == 0) then 39 @ 0x1200 else 40 @ 0x11f1
0x11db 37 rdi = 0x2007 {"3 5 7"}
0x11db 38 goto 41 @ 0x11e2
0x1200 39 if (edi == 0) then 44 @ 0x1226 else 46 @ 0x1204
0x11f1 40 if (edi == 0) then 47 @ 0x120f else 48 @ 0x11f5
0x11e2 41 eax = 0
0x11e4 42 call(0x1030)
0x11e9 43 goto 49 @ 0x1222
0x1226 44 rdi = 0x200d {"3 5"}
0x122d 45 goto 41 @ 0x11e2
0x1204 46 if (ecx == 0) then 52 @ 0x122f else 54 @ 0x1206
0x120f 47 if (ecx == 0) then 56 @ 0x1238 else 58 @ 0x1211
0x11f5 48 if (ecx == 0) then 60 @ 0x1218 else 62 @ 0x11f7
0x1222 49 eax = 0
0x1224 50 rcx = pop
0x1225 51 <return> jump(pop)
0x122f 52 rdi = 0x2011 {"3 7"}
0x1236 53 goto 41 @ 0x11e2
0x1206 54 edi = 0x33 {""}
0x120b 55 goto 64 @ 0x121d
0x1238 56 rdi = 0x2009 {"5 7"}
0x123f 57 goto 41 @ 0x11e2
0x1211 58 edi = 0x35 {""}
0x1216 59 goto 64 @ 0x121d
0x1218 60 edi = 0x37 {""}
0x1218 61 goto 64 @ 0x121d
0x11f7 62 edi = 0x6e {""}
0x11fc 63 goto 64 @ 0x121d
0x121d 64 call(0x1050)
0x121d 65 goto 49 @ 0x1222
int64_t _fini():
0x1248 0 rsp = rsp - 8
0x124c 1 rsp = rsp + 8
0x1250 2 <return> jump(pop)
| POJ_93 |
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 memcpy(void* arg1, void 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 {"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 - 0xf8
0x1181 7 rdi = 0x2004 {"%d"}
0x1188 8 rsi = rsp + 0x10 {var_118}
0x118d 9 eax = 0
0x118f 10 call(0x1050)
0x1199 11 if ([rsp + 0x10 {var_118}].d s<= 0) then 12 @ 0x139d else 21 @ 0x119f
0x139d 12 eax = 0
0x139f 13 rsp = rsp + 0xf8
0x13a6 14 rbx = pop
0x13a7 15 r12 = pop
0x13a9 16 r13 = pop
0x13ab 17 r14 = pop
0x13ad 18 r15 = pop
0x13af 19 rbp = pop
0x13b0 20 <return> jump(pop)
0x119f 21 r12 = rsp + 0x90 {var_98}
0x11a7 22 r13d = 0
0x11aa 23 goto 24 @ 0x11ef
0x11ef 24 rdi = 0x2007 {"%s"}
0x11f6 25 rsi = r12 {var_98}
0x11f9 26 eax = 0
0x11fb 27 call(0x1050)
0x1200 28 rdi = r12 {var_98}
0x1203 29 call(0x1040)
0x1208 30 rbx = rax
0x120b 31 rbp = sx.q(ebx)
0x120e 32 al = [rsp + rbp + 0x8e].b
0x1217 33 if (al == 0x6c) then 34 @ 0x1221 else 40 @ 0x121b
0x1221 34 rsi = rbp - 2
0x1225 35 rcx = sx.q(ebx)
0x1228 36 rdx = rsp + 0x8f {var_99}
0x1230 37 rcx = rcx + rdx
0x1233 38 r14d = 0
0x1236 39 goto 41 @ 0x1240
0x121b 40 if (al != 0x65) then 45 @ 0x12a0 else 34 @ 0x1221
0x1240 41 [rsp + r14 + 0xc].b = al
0x1245 42 eax = zx.d([rcx + r14].b)
0x124a 43 r14 = r14 + 1
0x1250 44 if (al != 0) then 41 @ 0x1240 else 47 @ 0x1252
0x12a0 45 r14d = 0
0x12ab 46 if ([rsp + rbp + 0x8d].b != 0x69) then 54 @ 0x11e0 else 56 @ 0x12b1
0x1252 47 eax = r14d
0x1255 48 [rsp + rax + 0xc].b = 0
0x125a 49 eax = zx.d([rsp + 0xc {var_11c}].w)
0x125f 50 eax = eax ^ 0x7265
0x1264 51 ecx = zx.d([rsp + 0xe {var_11a}].b)
0x1269 52 cx = cx | ax
0x126c 53 if (cx != 0) then 57 @ 0x12d4 else 62 @ 0x126e
0x11e0 54 r13d = r13d + 1
0x11e9 55 if (r13d s>= [rsp + 0x10 {var_118}].d) then 12 @ 0x139d else 24 @ 0x11ef
0x12b1 56 goto 66 @ 0x1348
0x12d4 57 eax = zx.d([rsp + 0xc {var_11c}].w)
0x12d9 58 eax = eax ^ 0x796c
0x12de 59 ecx = zx.d([rsp + 0xe {var_11a}].b)
0x12e3 60 cx = cx | ax
0x12e6 61 if (cx == 0) then 72 @ 0x1303 else 73 @ 0x12f0
0x126e 62 r15 = r12 {var_98}
0x1271 63 cond:0 = ebx s< 3
0x1274 64 [rsp + 0x18 {var_110_1}].q = rsi
0x1279 65 if (cond:0) then 74 @ 0x12b6 else 77 @ 0x127b
0x1348 66 rbp = rbp - 3
0x134c 67 eax = r14d
0x134f 68 rcx = rsp + 0x91 {var_97}
0x1357 69 rcx = rcx + rbp
0x135a 70 dl = 0x69 {""}
0x135c 71 goto 86 @ 0x1360
0x1303 72 if (ebx s< 3) then 91 @ 0x1324 else 94 @ 0x1305
0x12f0 73 if ([rsp + rbp + 0x8d].b != 0x69) then 54 @ 0x11e0 else 103 @ 0x12f6
0x12b6 74 eax = 0
0x12b8 75 r12 = rsp + 0x20 {var_108}
0x12b8 76 goto 104 @ 0x12bd
0x127b 77 edx = esi
0x127d 78 r12 = rsp + 0x20 {var_108}
0x1282 79 rdi = r12 {var_108}
0x1285 80 rsi = r15 {var_98}
0x1288 81 call(0x1030)
0x128d 82 eax = 0xfffffffd {""}
0x1292 83 eax = eax + ebx
0x1294 84 rax = rax + 1
0x1298 85 goto 104 @ 0x12bd
0x1360 86 [rsp + rax + 0x14].b = dl
0x1364 87 rax = rax + 1
0x1368 88 edx = zx.d([rcx].b)
0x136b 89 rcx = rcx + 1
0x1371 90 if (dl != 0) then 86 @ 0x1360 else 111 @ 0x1373
0x1324 91 eax = 0
0x1326 92 r15 = rsp + 0x20 {var_108}
0x1326 93 goto 114 @ 0x132b
0x1305 94 edx = esi
0x1307 95 r15 = rsp + 0x20 {var_108}
0x130c 96 rdi = r15 {var_108}
0x130f 97 rsi = r12 {var_98}
0x1312 98 call(0x1030)
0x1317 99 eax = 0xfffffffd {""}
0x131c 100 eax = eax + ebx
0x131e 101 rax = rax + 1
0x1322 102 goto 114 @ 0x132b
0x12f6 103 goto 66 @ 0x1348
0x12bd 104 eax = eax
0x12bf 105 [rsp + rax + 0x20].b = 0
0x12c4 106 rdi = r12 {var_108}
0x12c7 107 call(0x1060)
0x12cc 108 r12 = r15 {var_98}
0x12cf 109 rsi = [rsp + 0x18 {var_110_1}].q
0x12cf 110 goto 57 @ 0x12d4
0x1373 111 eax = eax
0x1375 112 [rsp + rax + 0x14].b = 0
0x1382 113 if ([rsp + 0x14 {var_114}].d != 0x676e69) then 54 @ 0x11e0 else 119 @ 0x138b
0x132b 114 eax = eax
0x132d 115 [rsp + rax + 0x20].b = 0
0x1332 116 rdi = r15 {var_108}
0x1335 117 call(0x1060)
0x1342 118 if ([rsp + rbp + 0x8d].b != 0x69) then 54 @ 0x11e0 else 66 @ 0x1348
0x138b 119 if (ebx s>= 4) then 120 @ 0x11ac else 130 @ 0x1391
0x11ac 120 edx = ebp
0x11ae 121 rbp = rsp + 0x20 {var_108}
0x11b3 122 rdi = rbp {var_108}
0x11b6 123 rsi = r12 {var_98}
0x11b9 124 call(0x1030)
0x11be 125 eax = 0xfffffffd {""}
0x11c3 126 eax = eax + ebx
0x11c5 127 eax = eax - 1
0x11c8 128 rax = rax + 1
0x11c8 129 goto 133 @ 0x11cc
0x1391 130 eax = 0
0x1393 131 rbp = rsp + 0x20 {var_108}
0x1398 132 goto 133 @ 0x11cc
0x11cc 133 eax = eax
0x11ce 134 [rsp + rax + 0x20].b = 0
0x11d3 135 rdi = rbp {var_108}
0x11d6 136 call(0x1060)
0x11db 137 goto 54 @ 0x11e0
int64_t _fini():
0x13b8 0 rsp = rsp - 8
0x13bc 1 rsp = rsp + 8
0x13c0 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)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
char* gets(char* buf):
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 {"UAWAVSH"}
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(rbx)
0x1176 4 rsp = rsp - 0x1b8
0x117d 5 xmm0 = 0
0x1180 6 [rsp + 0x60 {var_178}].o = xmm0
0x1185 7 [rsp + 0x50 {var_188}].o = xmm0
0x118a 8 [rsp + 0x40 {var_198}].o = xmm0
0x118f 9 [rsp + 0x30 {var_1a8}].o = xmm0
0x1194 10 [rsp + 0x20 {var_1b8}].o = xmm0
0x1199 11 [rsp + 0x10 {var_1c8}].o = xmm0
0x119e 12 [rsp {var_1d8}].o = xmm0
0x11a2 13 [rsp + 0x70 {var_168}].q = 0
0x11ab 14 ebp = 0
0x11ad 15 rbx = rsp + 0x80 {var_158}
0x11b5 16 rdi = rbx {var_158}
0x11b8 17 eax = 0
0x11ba 18 call(0x1050)
0x11bf 19 rdi = rbx {var_158}
0x11c2 20 call(0x1040)
0x11c9 21 if (eax s<= 0) then 22 @ 0x125c else 26 @ 0x11cf
0x125c 22 rdi = 0x202b {"No"}
0x1263 23 eax = 0
0x1265 24 call(0x1030)
0x1265 25 goto 31 @ 0x126a
0x11cf 26 esi = eax
0x11d1 27 rbx = 0x2010 {"abcdefghijklmnopqrstuvwxyz"}
0x11d8 28 ecx = 0
0x11da 29 edx = 0
0x11dc 30 goto 38 @ 0x11eb
0x126a 31 eax = 0
0x126c 32 rsp = rsp + 0x1b8
0x1273 33 rbx = pop
0x1274 34 r14 = pop
0x1276 35 r15 = pop
0x1278 36 rbp = pop
0x1279 37 <return> jump(pop)
0x11eb 38 al = [rsp + rcx + 0x80].b
0x11f2 39 edi = 0
0x11f4 40 goto 41 @ 0x1210
0x1210 41 if (al != [rdi + rbx].b) then 42 @ 0x1200 else 45 @ 0x1212
0x1200 42 edx = edx + [rsp + (rdi << 2)].d
0x1203 43 rdi = rdi + 1
0x120b 44 if (rdi == 0x1a) then 47 @ 0x11e0 else 41 @ 0x1210
0x1212 45 [rsp + (rdi << 2)].d = [rsp + (rdi << 2)].d + 1
0x1216 46 goto 42 @ 0x1200
0x11e0 47 ebp = ebp + edx
0x11e2 48 rcx = rcx + 1
0x11e9 49 if (rcx == rsi) then 50 @ 0x121a else 38 @ 0x11eb
0x121a 50 if (ebp == 0) then 22 @ 0x125c else 51 @ 0x121c
0x121c 51 r14 = 0x202e {"=%d\n"}
0x1223 52 ebp = 0
0x1225 53 goto 54 @ 0x123a
0x123a 54 r15d = [rsp + (rbp << 2)].d
0x1241 55 if (r15d == 0) then 56 @ 0x1230 else 58 @ 0x1243
0x1230 56 rbp = rbp + 1
0x1238 57 if (rbp == 0x1a) then 31 @ 0x126a else 54 @ 0x123a
0x1243 58 edi = sx.d([rbp + rbx].b)
0x1248 59 call(0x1060)
0x124d 60 rdi = r14
0x1250 61 esi = r15d
0x1253 62 eax = 0
0x1255 63 call(0x1030)
0x125a 64 goto 56 @ 0x1230
int64_t _fini():
0x1280 0 rsp = rsp - 8
0x1284 1 rsp = rsp + 8
0x1288 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 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 {"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 - 0x18
0x116e 7 rdi = 0x2006 {"%d"}
0x1175 8 rsi = rsp + 0x14 {var_34}
0x117a 9 eax = 0
0x117c 10 call(0x1050)
0x1181 11 temp0.d = [rsp + 0x14 {var_34}].d
0x1181 12 [rsp + 0x14 {var_34}].d = [rsp + 0x14 {var_34}].d - 1
0x1186 13 if (temp0.d u>= 1) then 14 @ 0x1199 else 16 @ 0x1188
0x1199 14 rbx = 0x2006 {"%d"}
0x11a0 15 goto 25 @ 0x11c8
0x1188 16 eax = 0
0x118a 17 rsp = rsp + 0x18
0x118e 18 rbx = pop
0x118f 19 r12 = pop
0x1191 20 r13 = pop
0x1193 21 r14 = pop
0x1195 22 r15 = pop
0x1197 23 rbp = pop
0x1198 24 <return> jump(pop)
0x11c8 25 edx = 0x9c40 {""}
0x11cd 26 rdi = 0x4050 {""}
0x11d4 27 esi = 0
0x11d6 28 call(0x1040)
0x11db 29 rdi = 0x2004 {"%d%d"}
0x11e2 30 rsi = rsp + 0x10 {var_38}
0x11e7 31 rdx = rsp + 0xc {var_3c}
0x11ec 32 eax = 0
0x11ee 33 call(0x1050)
0x11f3 34 cond:0 = [rsp + 0x10 {var_38}].d s<= 0
0x11f8 35 r14d = 0
0x11fe 36 if (cond:0) then 37 @ 0x11b0 else 44 @ 0x1200
0x11b0 37 rdi = 0x2009 {"%d\n"}
0x11b7 38 esi = r14d
0x11ba 39 eax = 0
0x11bc 40 call(0x1030)
0x11c1 41 temp1.d = [rsp + 0x14 {var_34}].d
0x11c1 42 [rsp + 0x14 {var_34}].d = [rsp + 0x14 {var_34}].d - 1
0x11c6 43 if (temp1.d u< 1) then 16 @ 0x1188 else 25 @ 0x11c8
0x1200 44 r12d = 0
0x1203 45 r13 = 0x4050 {""}
0x120a 46 r14d = 0
0x120d 47 goto 48 @ 0x122a
0x122a 48 if ([rsp + 0xc {var_3c}].d s<= 0) then 49 @ 0x1210 else 53 @ 0x122c
0x1210 49 r12 = r12 + 1
0x1214 50 rax = sx.q([rsp + 0x10 {var_38}].d)
0x1219 51 r13 = r13 + 0x190
0x1223 52 if (r12 s>= rax) then 37 @ 0x11b0 else 48 @ 0x122a
0x122c 53 r15 = r13
0x122f 54 ebp = 0
0x1231 55 goto 56 @ 0x1255
0x1255 56 rdi = rbx
0x1258 57 rsi = r15
0x125b 58 eax = 0
0x125d 59 call(0x1050)
0x1265 60 if (r12 == 0) then 61 @ 0x1240 else 63 @ 0x1267
0x1240 61 r14d = r14d + [r15].d
0x1240 62 goto 66 @ 0x1243
0x1267 63 eax = [rsp + 0x10 {var_38}].d
0x126b 64 eax = eax - 1
0x1271 65 if (r12 == rax) then 61 @ 0x1240 else 70 @ 0x1276
0x1243 66 rbp = rbp + 1
0x1247 67 rax = sx.q([rsp + 0xc {var_3c}].d)
0x124c 68 r15 = r15 + 4
0x1253 69 if (rbp s>= rax) then 49 @ 0x1210 else 56 @ 0x1255
0x1276 70 if (rbp == 0) then 61 @ 0x1240 else 71 @ 0x1278
0x1278 71 eax = [rsp + 0xc {var_3c}].d
0x127c 72 eax = eax - 1
0x1282 73 if (rbp == rax) then 61 @ 0x1240 else 74 @ 0x1284
0x1284 74 goto 66 @ 0x1243
int64_t _fini():
0x128c 0 rsp = rsp - 8
0x1290 1 rsp = rsp + 8
0x1294 2 <return> jump(pop)
| POJ_6 |
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 {"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 - 0x200
0x116f 6 rbx = rsp {var_228}
0x1172 7 rdi = rbx {var_228}
0x1175 8 eax = 0
0x1177 9 call(0x1050)
0x117c 10 bpl = [rsp {var_228}].b
0x1180 11 rdi = rbx {var_228}
0x1183 12 call(0x1040)
0x1188 13 r15 = rax
0x118e 14 if (r15d s<= 0) then 15 @ 0x13aa else 22 @ 0x1194
0x13aa 15 rsp = rsp + 0x200
0x13b1 16 rbx = pop
0x13b2 17 r12 = pop
0x13b4 18 r14 = pop
0x13b6 19 r15 = pop
0x13b8 20 rbp = pop
0x13b9 21 <return> jump(pop)
0x1194 22 eax = r15d
0x1197 23 [rsp + 0x70 {var_1b8}].d = 0
0x11a3 24 if (rax == 1) then 25 @ 0x1329 else 26 @ 0x11a9
0x1329 25 if (r15d s<= 0) then 15 @ 0x13aa else 29 @ 0x132b
0x11a9 26 rdx = rax - 1
0x11ad 27 ecx = 1
0x11b6 28 if (rdx u< 8) then 34 @ 0x1310 else 39 @ 0x11bc
0x132b 29 ebp = (r15 - 1).d
0x132f 30 ebx = ebp
0x1331 31 r14 = 0x2020 {"%d %d\n"}
0x1338 32 r12d = r15d
0x133b 33 goto 50 @ 0x1349
0x1310 34 edx = 0
0x1316 35 dl = [rsp + rcx].b != bpl
0x1319 36 [rsp + (rcx << 2) + 0x70].d = edx
0x131d 37 rcx = rcx + 1
0x1324 38 if (rax != rcx) then 34 @ 0x1310 else 25 @ 0x1329
0x11bc 39 rcx = rdx
0x11bf 40 rcx = rcx & 0xfffffffffffffff8
0x11c3 41 esi = zx.d(bpl)
0x11c7 42 xmm0 = esi
0x11cb 43 xmm0 = _mm_unpacklo_epi8(xmm0, xmm0.q)
0x11cf 44 xmm0 = _mm_shufflelo_epi16(xmm0, 0)
0x11d4 45 rsi = rcx - 8
0x11d8 46 rbx = rsi
0x11db 47 rbx = rbx u>> 3
0x11df 48 rbx = rbx + 1
0x11e6 49 if (rsi == 0) then 51 @ 0x13ba else 53 @ 0x11ec
0x1349 50 if (r15d == 1) then 59 @ 0x1343 else 60 @ 0x134b
0x13ba 51 esi = 1
0x13c2 52 if ((bl & 1) != 0) then 62 @ 0x12ab else 79 @ 0x13c8
0x11ec 53 rdi = rbx
0x11ef 54 rdi = rdi & 0xfffffffffffffffe
0x11f3 55 esi = 1
0x11f8 56 xmm1 = _mm_cmpeq_epi32(xmm1, xmm1)
0x11fc 57 xmm2 = [0x2010].o
0x120e 58 goto 80 @ 0x1210
0x1343 59 if (r12d s<= 0) then 15 @ 0x13aa else 50 @ 0x1349
0x134b 60 esi = 0
0x134d 61 goto 112 @ 0x1359
0x12ab 62 xmm1 = [rsp + rsi].d
0x12b0 63 xmm2 = [rsp + rsi + 4].d
0x12b6 64 xmm1 = _mm_cmpeq_epi8(xmm1, xmm0)
0x12ba 65 xmm3 = _mm_cmpeq_epi32(xmm3, xmm3)
0x12be 66 xmm1 = xmm1 ^ xmm3
0x12c2 67 xmm1 = _mm_unpacklo_epi8(xmm1, xmm1.q)
0x12c6 68 xmm1 = _mm_unpacklo_epi16(xmm1, xmm1.q)
0x12ca 69 xmm4 = [0x2010].o
0x12d2 70 xmm1 = xmm1 & xmm4
0x12d6 71 xmm2 = _mm_cmpeq_epi8(xmm2, xmm0)
0x12da 72 xmm2 = xmm2 ^ xmm3
0x12de 73 xmm2 = _mm_unpacklo_epi8(xmm2, xmm2.q)
0x12e2 74 xmm2 = _mm_unpacklo_epi16(xmm2, xmm2.q)
0x12e6 75 xmm2 = xmm2 & xmm4
0x12ea 76 [rsp + (rsi << 2) + 0x70].o = xmm1
0x12f0 77 [rsp + (rsi << 2) + 0x80].o = xmm2
0x12f0 78 goto 115 @ 0x12fc
0x13c8 79 goto 115 @ 0x12fc
0x1210 80 xmm3 = [rsp + rsi].d
0x1215 81 xmm4 = [rsp + rsi + 4].d
0x121b 82 xmm3 = _mm_cmpeq_epi8(xmm3, xmm0)
0x121f 83 xmm3 = xmm3 ^ xmm1
0x1223 84 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q)
0x1227 85 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q)
0x122b 86 xmm3 = xmm3 & xmm2
0x122f 87 xmm4 = _mm_cmpeq_epi8(xmm4, xmm0)
0x1233 88 xmm4 = xmm4 ^ xmm1
0x1237 89 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q)
0x123b 90 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q)
0x123f 91 xmm4 = xmm4 & xmm2
0x1243 92 [rsp + (rsi << 2) + 0x70].o = xmm3
0x1249 93 [rsp + (rsi << 2) + 0x80].o = xmm4
0x1252 94 xmm3 = [rsp + rsi + 8].d
0x1258 95 xmm4 = [rsp + rsi + 0xc].d
0x125e 96 xmm3 = _mm_cmpeq_epi8(xmm3, xmm0)
0x1262 97 xmm3 = xmm3 ^ xmm1
0x1266 98 xmm3 = _mm_unpacklo_epi8(xmm3, xmm3.q)
0x126a 99 xmm3 = _mm_unpacklo_epi16(xmm3, xmm3.q)
0x126e 100 xmm3 = xmm3 & xmm2
0x1272 101 xmm4 = _mm_cmpeq_epi8(xmm4, xmm0)
0x1276 102 xmm4 = xmm4 ^ xmm1
0x127a 103 xmm4 = _mm_unpacklo_epi8(xmm4, xmm4.q)
0x127e 104 xmm4 = _mm_unpacklo_epi16(xmm4, xmm4.q)
0x1282 105 xmm4 = xmm4 & xmm2
0x1286 106 [rsp + (rsi << 2) + 0x90].o = xmm3
0x128f 107 [rsp + (rsi << 2) + 0xa0].o = xmm4
0x1298 108 rsi = rsi + 0x10
0x129c 109 temp0.q = rdi
0x129c 110 rdi = rdi - 2
0x12a0 111 if (temp0.q != 2) then 80 @ 0x1210 else 116 @ 0x12a9
0x1359 112 cond:0 = esi s> ebp
0x135b 113 eax = ebp
0x135d 114 if (cond:0) then 117 else 119 @ 0x1365
0x12fc 115 if (rdx == rcx) then 25 @ 0x1329 else 120 @ 0x12fe
0x12a9 116 if ((bl & 1) == 0) then 115 @ 0x12fc else 62 @ 0x12ab
0x135d 117 eax = esi
0x135d 118 goto 119 @ 0x1365
0x1365 119 if ([rsp + (rsi << 2) + 0x70].d != 0) then 122 @ 0x1350 else 124 @ 0x1367
0x12fe 120 rcx = rcx | 1
0x130c 121 goto 34 @ 0x1310
0x1350 122 rsi = rsi + 1
0x1357 123 if (rsi == rbx) then 59 @ 0x1343 else 112 @ 0x1359
0x1367 124 rdx = rsi
0x136a 125 goto 126 @ 0x1373
0x1373 126 if (rax == rdx) then 122 @ 0x1350 else 127 @ 0x1375
0x1375 127 ecx = [rsp + (rdx << 2) + 0x74].d
0x137b 128 if (ecx == 0) then 122 @ 0x1350 else 129 @ 0x137d
0x137d 129 rdx = rdx + 1
0x1384 130 if (ecx != 1) then 126 @ 0x1373 else 131 @ 0x1386
0x1386 131 eax = esi
0x1388 132 ecx = edx
0x138a 133 [rsp + (rax << 2) + 0x70].d = -1
0x1392 134 [rsp + (rcx << 2) + 0x70].d = -1
0x139a 135 r12d = r12d - 2
0x139e 136 rdi = r14
0x13a1 137 eax = 0
0x13a3 138 call(0x1030)
0x13a8 139 goto 59 @ 0x1343
int64_t _fini():
0x13d4 0 rsp = rsp - 8
0x13d8 1 rsp = rsp + 8
0x13dc 2 <return> jump(pop)
| POJ_77 |
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 - 0x240
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 [rbp - 8 {var_10}].d = edi
0x1175 5 [rbp - 0x10 {var_18}].q = rsi
0x1179 6 rdi = rbp - 0x80 {var_88}
0x117d 7 al = 0
0x117f 8 call(0x1050)
0x1184 9 rdi = rbp - 0x80 {var_88}
0x1188 10 call(0x1040)
0x118d 11 [rbp - 0x88 {var_90}].d = eax
0x1193 12 [rbp - 0x234 {var_23c}].d = 0
0x119d 13 [rbp - 0x84 {var_8c}].d = 0
0x119d 14 goto 15 @ 0x11a7
0x11a7 15 eax = [rbp - 0x84 {var_8c}].d
0x11b3 16 if (eax s>= [rbp - 0x88 {var_90}].d) then 17 @ 0x1232 else 18 @ 0x11b9
0x1232 17 if ([rbp - 0x234 {var_23c}].d == 0) then 21 @ 0x138e else 26 @ 0x1238
0x11b9 18 rax = sx.q([rbp - 0x84 {var_8c}].d)
0x11c0 19 eax = sx.d([rbp + rax - 0x80].b)
0x11c8 20 if (eax s> 0x7a) then 31 @ 0x11e3 else 40 @ 0x11ce
0x138e 21 rsi = rbp - 0x80 {var_88}
0x1392 22 rdi = 0x2009 {"%s"}
0x1399 23 al = 0
0x139b 24 call(0x1030)
0x139b 25 goto 43 @ 0x13a0
0x1238 26 rax = sx.q([rbp - 0x234 {var_23c}].d)
0x123f 27 eax = [rbp + (rax << 2) - 0x230].d
0x1246 28 eax = eax + 1
0x1249 29 [rbp - 0x84 {var_8c_1}].d = eax
0x1249 30 goto 47 @ 0x124f
0x11e3 31 rax = sx.q([rbp - 0x84 {var_8c}].d)
0x11ea 32 [rbp + rax - 0x80].b = 0x64 {""}
0x11ef 33 eax = [rbp - 0x234 {var_23c}].d
0x11f5 34 eax = eax + 1
0x11f8 35 [rbp - 0x234 {var_23c}].d = eax
0x11fe 36 ecx = [rbp - 0x84 {var_8c}].d
0x1204 37 rax = sx.q([rbp - 0x234 {var_23c}].d)
0x120b 38 [rbp + (rax << 2) - 0x230].d = ecx
0x120b 39 goto 49 @ 0x1212
0x11ce 40 rax = sx.q([rbp - 0x84 {var_8c}].d)
0x11d5 41 eax = sx.d([rbp + rax - 0x80].b)
0x11dd 42 if (eax s>= 0x41) then 49 @ 0x1212 else 31 @ 0x11e3
0x13a0 43 eax = 0
0x13a2 44 rsp = rsp + 0x240
0x13a9 45 rbp = pop
0x13aa 46 <return> jump(pop)
0x124f 47 eax = [rbp - 0x84 {var_8c_1}].d
0x125b 48 if (eax s>= [rbp - 0x88 {var_90}].d) then 50 @ 0x128f else 57 @ 0x1261
0x1212 49 goto 66 @ 0x1217
0x128f 50 rdi = 0x2007 {" "}
0x1296 51 al = 0
0x1298 52 call(0x1030)
0x129d 53 eax = [rbp - 0x234 {var_23c}].d
0x12a3 54 eax = eax - 1
0x12a6 55 [rbp - 0x84 {var_8c_2}].d = eax
0x12a6 56 goto 70 @ 0x12b3
0x1261 57 rax = sx.q([rbp - 0x84 {var_8c_1}].d)
0x1268 58 esi = sx.d([rbp + rax - 0x80].b)
0x126d 59 rdi = 0x2004 {"%c"}
0x1274 60 al = 0
0x1276 61 call(0x1030)
0x127b 62 eax = [rbp - 0x84 {var_8c_1}].d
0x1281 63 eax = eax + 1
0x1284 64 [rbp - 0x84 {var_8c_1}].d = eax
0x128a 65 goto 47 @ 0x124f
0x1217 66 eax = [rbp - 0x84 {var_8c}].d
0x121d 67 eax = eax + 1
0x1220 68 [rbp - 0x84 {var_8c}].d = eax
0x1226 69 goto 15 @ 0x11a7
0x12b3 70 if ([rbp - 0x84 {var_8c_2}].d s< 1) then 71 @ 0x133f else 73 @ 0x12b9
0x133f 71 [rbp - 0x84 {var_8c_3}].d = 0
0x133f 72 goto 78 @ 0x1349
0x12b9 73 rax = sx.q([rbp - 0x84 {var_8c_2}].d)
0x12c0 74 eax = [rbp + (rax << 2) - 0x230].d
0x12c7 75 eax = eax + 1
0x12ca 76 [rbp - 0x8c {var_94_1}].d = eax
0x12ca 77 goto 80 @ 0x12d0
0x1349 78 eax = [rbp - 0x84 {var_8c_3}].d
0x1355 79 if (eax s>= [rbp - 0x22c {var_234}].d) then 85 @ 0x1389 else 86 @ 0x135b
0x12d0 80 eax = [rbp - 0x8c {var_94_1}].d
0x12d6 81 ecx = [rbp - 0x84 {var_8c_2}].d
0x12dc 82 ecx = ecx + 1
0x12df 83 rcx = sx.q(ecx)
0x12e9 84 if (eax s>= [rbp + (rcx << 2) - 0x230].d) then 95 @ 0x131d else 102 @ 0x12ef
0x1389 85 goto 43 @ 0x13a0
0x135b 86 rax = sx.q([rbp - 0x84 {var_8c_3}].d)
0x1362 87 esi = sx.d([rbp + rax - 0x80].b)
0x1367 88 rdi = 0x2004 {"%c"}
0x136e 89 al = 0
0x1370 90 call(0x1030)
0x1375 91 eax = [rbp - 0x84 {var_8c_3}].d
0x137b 92 eax = eax + 1
0x137e 93 [rbp - 0x84 {var_8c_3}].d = eax
0x1384 94 goto 78 @ 0x1349
0x131d 95 rdi = 0x2007 {" "}
0x1324 96 al = 0
0x1326 97 call(0x1030)
0x132b 98 eax = [rbp - 0x84 {var_8c_2}].d
0x1331 99 eax = eax - 1
0x1334 100 [rbp - 0x84 {var_8c_2}].d = eax
0x133a 101 goto 70 @ 0x12b3
0x12ef 102 rax = sx.q([rbp - 0x8c {var_94_1}].d)
0x12f6 103 esi = sx.d([rbp + rax - 0x80].b)
0x12fb 104 rdi = 0x2004 {"%c"}
0x1302 105 al = 0
0x1304 106 call(0x1030)
0x1309 107 eax = [rbp - 0x8c {var_94_1}].d
0x130f 108 eax = eax + 1
0x1312 109 [rbp - 0x8c {var_94_1}].d = eax
0x1318 110 goto 80 @ 0x12d0
int64_t _fini():
0x13b0 0 rsp = rsp - 8
0x13b4 1 rsp = rsp + 8
0x13b8 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)
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 - 0x1b0
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 rdi = 0x2004 {"%d %d"}
0x1169 5 rsi = rbp - 0x1ac {var_1b4}
0x1170 6 rdx = rbp - 0x1a8 {var_1b0}
0x1177 7 al = 0
0x1179 8 call(0x1040)
0x117e 9 rax = rbp - 0x1a0 {var_1a8}
0x1185 10 rcx = sx.q([rbp - 0x1a8 {var_1b0}].d)
0x118c 11 rcx = rcx << 2
0x1190 12 rax = rax + rcx
0x1193 13 [rbp - 0x10 {var_18}].q = rax
0x1197 14 [rbp - 0x1a4 {var_1ac}].d = 0
0x1197 15 goto 16 @ 0x11a1
0x11a1 16 eax = [rbp - 0x1a4 {var_1ac}].d
0x11a7 17 ecx = [rbp - 0x1ac {var_1b4}].d
0x11ad 18 ecx = ecx - [rbp - 0x1a8 {var_1b0}].d
0x11b5 19 if (eax s>= ecx) then 20 @ 0x11ec else 24 @ 0x11bb
0x11ec 20 rax = rbp - 0x1a0 {var_1a8}
0x11f3 21 [rbp - 0x10 {var_18_1}].q = rax {var_1a8}
0x11f7 22 [rbp - 0x1a4 {var_1ac_1}].d = 0
0x11f7 23 goto 35 @ 0x1201
0x11bb 24 rsi = [rbp - 0x10 {var_18}].q
0x11bf 25 rax = rsi
0x11c2 26 rax = rax + 4
0x11c6 27 [rbp - 0x10 {var_18}].q = rax
0x11ca 28 rdi = 0x200a {"%d\t"}
0x11d1 29 al = 0
0x11d3 30 call(0x1040)
0x11d8 31 eax = [rbp - 0x1a4 {var_1ac}].d
0x11de 32 eax = eax + 1
0x11e1 33 [rbp - 0x1a4 {var_1ac}].d = eax
0x11e7 34 goto 16 @ 0x11a1
0x1201 35 eax = [rbp - 0x1a4 {var_1ac_1}].d
0x120d 36 if (eax s>= [rbp - 0x1a8 {var_1b0}].d) then 37 @ 0x1244 else 44 @ 0x1213
0x1244 37 rax = rbp - 0x1a0 {var_1a8}
0x124b 38 [rbp - 0x10 {var_18_2}].q = rax {var_1a8}
0x124f 39 rdi = 0x200e {"\n"}
0x1256 40 al = 0
0x1258 41 call(0x1030)
0x125d 42 [rbp - 0x1a4 {var_1ac_2}].d = 0
0x125d 43 goto 55 @ 0x1267
0x1213 44 rsi = [rbp - 0x10 {var_18_1}].q
0x1217 45 rax = rsi
0x121a 46 rax = rax + 4
0x121e 47 [rbp - 0x10 {var_18_1}].q = rax
0x1222 48 rdi = 0x200a {"%d\t"}
0x1229 49 al = 0
0x122b 50 call(0x1040)
0x1230 51 eax = [rbp - 0x1a4 {var_1ac_1}].d
0x1236 52 eax = eax + 1
0x1239 53 [rbp - 0x1a4 {var_1ac_1}].d = eax
0x123f 54 goto 35 @ 0x1201
0x1267 55 eax = [rbp - 0x1a4 {var_1ac_2}].d
0x1273 56 if (eax s>= [rbp - 0x1ac {var_1b4}].d) then 57 @ 0x12f8 else 61 @ 0x1279
0x12f8 57 eax = [rbp - 4 {var_c}].d
0x12fb 58 rsp = rsp + 0x1b0
0x1302 59 rbp = pop
0x1303 60 <return> jump(pop)
0x1279 61 eax = [rbp - 0x1a4 {var_1ac_2}].d
0x127f 62 ecx = [rbp - 0x1ac {var_1b4}].d
0x1285 63 ecx = ecx - 1
0x128a 64 if (eax == ecx) then 65 @ 0x12ac else 69 @ 0x1290
0x12ac 65 eax = [rbp - 0x1a4 {var_1ac_2}].d
0x12b2 66 ecx = [rbp - 0x1ac {var_1b4}].d
0x12b8 67 ecx = ecx - 1
0x12bd 68 if (eax != ecx) then 75 @ 0x12df else 76 @ 0x12c3
0x1290 69 rax = sx.q([rbp - 0x1a4 {var_1ac_2}].d)
0x1297 70 esi = [rbp + (rax << 2) - 0x1a0].d
0x129e 71 rdi = 0x2010 {"%d "}
0x12a5 72 al = 0
0x12a7 73 call(0x1030)
0x12a7 74 goto 65 @ 0x12ac
0x12df 75 goto 82 @ 0x12e4
0x12c3 76 rax = sx.q([rbp - 0x1a4 {var_1ac_2}].d)
0x12ca 77 esi = [rbp + (rax << 2) - 0x1a0].d
0x12d1 78 rdi = 0x2007 {"%d"}
0x12d8 79 al = 0
0x12da 80 call(0x1030)
0x12da 81 goto 75 @ 0x12df
0x12e4 82 eax = [rbp - 0x1a4 {var_1ac_2}].d
0x12ea 83 eax = eax + 1
0x12ed 84 [rbp - 0x1a4 {var_1ac_2}].d = eax
0x12f3 85 goto 55 @ 0x1267
int64_t _fini():
0x1308 0 rsp = rsp - 8
0x130c 1 rsp = rsp + 8
0x1310 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
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 {"AVSH"}
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 - 0xd8
0x116a 3 xmm0 = 0
0x116d 4 [rsp + 0x50 {var_98}].o = xmm0
0x1172 5 [rsp + 0x40 {var_a8}].o = xmm0
0x1177 6 [rsp + 0x30 {var_b8}].o = xmm0
0x117c 7 [rsp + 0x20 {var_c8}].o = xmm0
0x1181 8 [rsp + 0x10 {var_d8}].o = xmm0
0x1186 9 [rsp {var_e8}].o = xmm0
0x118a 10 [rsp + 0x5d {var_98+0xd}].q = 0
0x1193 11 ebx = 0
0x1195 12 r14 = rsp + 0x70 {var_78}
0x119a 13 rdi = r14 {var_78}
0x119d 14 eax = 0
0x119f 15 call(0x1040)
0x11a4 16 rdi = r14 {var_78}
0x11a7 17 call(0x1030)
0x11ae 18 if (eax s<= 0) then 19 @ 0x1222 else 24 @ 0x11b0
0x1222 19 eax = 0
0x1224 20 rsp = rsp + 0xd8
0x122b 21 rbx = pop
0x122c 22 r14 = pop
0x122e 23 <return> jump(pop)
0x11b0 24 eax = eax
0x11b2 25 ecx = 0
0x11b4 26 goto 27 @ 0x11d8
0x11d8 27 edx = zx.d([rsp + rcx + 0x70].b)
0x11e0 28 if (dl != 0x20) then 29 @ 0x11c0 else 35 @ 0x11e2
0x11c0 29 rbx = sx.q(ebx)
0x11c3 30 [rsp + rbx].b = dl
0x11c6 31 ebx = ebx + 1
0x11c9 32 rcx = rcx + 1
0x11cd 33 rdx = rcx
0x11cd 34 goto 37 @ 0x11d0
0x11e2 35 rdx = rcx + 1
0x11eb 36 if ([rsp + rcx + 0x71].b == 0x20) then 37 @ 0x11d0 else 39 @ 0x11ed
0x11d0 37 rcx = rdx
0x11d6 38 if (rdx == rax) then 43 @ 0x11fb else 27 @ 0x11d8
0x11ed 39 rcx = sx.q(ebx)
0x11f0 40 [rsp + rcx].b = 0x20 {"@"}
0x11f4 41 ebx = ebx + 1
0x11f7 42 goto 37 @ 0x11d0
0x11fb 43 if (ebx s<= 0) then 19 @ 0x1222 else 44 @ 0x11fd
0x11fd 44 r14d = ebx
0x1200 45 ebx = 0
0x120c 46 goto 47 @ 0x1210
0x1210 47 edi = sx.d([rsp + rbx].b)
0x1214 48 call(0x1050)
0x1219 49 rbx = rbx + 1
0x1220 50 if (r14 != rbx) then 47 @ 0x1210 else 19 @ 0x1222
int64_t _fini():
0x1234 0 rsp = rsp - 8
0x1238 1 rsp = rsp + 8
0x123c 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 {"AWAVATSH5"}
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 - 0xc3518
0x115e 5 rdi = 0x2004 {"%ld"}
0x1165 6 rsi = rsp {var_c3538}
0x1168 7 eax = 0
0x116a 8 call(0x1040)
0x1174 9 if ([rsp {var_c3538}].q s<= 0) then 10 @ 0x11ab else 17 @ 0x1176
0x11ab 10 rdi = 0x2004 {"%ld"}
0x11b2 11 r12d = 0
0x11b5 12 rsi = rsp + 8 {var_c3530}
0x11ba 13 eax = 0
0x11bc 14 call(0x1040)
0x11c1 15 rax = [rsp {var_c3538}].q
0x11c8 16 if (rax s<= 0) then 21 @ 0x1202 else 22 @ 0x11ca
0x1176 17 r15 = rsp + 0x10 {var_c3528}
0x117b 18 r14 = 0x2008 {"%ld "}
0x1182 19 ebx = 0
0x118e 20 goto 26 @ 0x1190
0x1202 21 if (r12 s< 2) then 33 @ 0x1238 else 43 @ 0x1204
0x11ca 22 rcx = [rsp + 8 {var_c3530}].q
0x11cf 23 edx = 0
0x11d1 24 r12d = 0
0x11d4 25 goto 47 @ 0x11e9
0x1190 26 rdi = r14
0x1193 27 rsi = r15
0x1196 28 eax = 0
0x1198 29 call(0x1040)
0x119d 30 rbx = rbx + 1
0x11a1 31 r15 = r15 + 8
0x11a9 32 if (rbx s< [rsp {var_c3538}].q) then 26 @ 0x1190 else 10 @ 0x11ab
0x1238 33 rsi = [rsp + (r12 << 3) + 8].q
0x123d 34 rdi = 0x2004 {"%ld"}
0x1244 35 eax = 0
0x1246 36 call(0x1030)
0x124b 37 rsp = rsp + 0xc3518
0x1252 38 rbx = pop
0x1253 39 r12 = pop
0x1255 40 r14 = pop
0x1257 41 r15 = pop
0x1259 42 <return> jump(pop)
0x1204 43 r15 = r12 - 1
0x1209 44 r14 = 0x2008 {"%ld "}
0x1210 45 ebx = 0
0x121c 46 goto 49 @ 0x1220
0x11e9 47 rsi = [rsp + (rdx << 3) + 0x10].q
0x11f1 48 if (rsi == rcx) then 55 @ 0x11e0 else 57 @ 0x11f3
0x1220 49 rsi = [rsp + (rbx << 3) + 0x10].q
0x1225 50 rdi = r14
0x1228 51 eax = 0
0x122a 52 call(0x1030)
0x122f 53 rbx = rbx + 1
0x1236 54 if (r15 != rbx) then 49 @ 0x1220 else 33 @ 0x1238
0x11e0 55 rdx = rdx + 1
0x11e7 56 if (rax == rdx) then 21 @ 0x1202 else 47 @ 0x11e9
0x11f3 57 [rsp + (r12 << 3) + 0x10].q = rsi
0x11f8 58 r12 = r12 + 1
0x11fc 59 goto 55 @ 0x11e0
int64_t _fini():
0x1260 0 rsp = rsp - 8
0x1264 1 rsp = rsp + 8
0x1268 2 <return> jump(pop)
| POJ_42 |
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 {"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 ([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(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 = 0x2006 {"%d"}
0x1163 7 rsi = rsp + 0xc {var_2c}
0x1168 8 eax = 0
0x116a 9 call(0x1030)
0x116f 10 eax = [rsp + 0xc {var_2c}].d
0x1175 11 if (eax s<= 0) then 12 @ 0x11b5 else 13 @ 0x1177
0x11b5 12 if (eax s<= 0) then 17 @ 0x12a6 else 19 @ 0x11bb
0x1177 13 rbx = 0x4050 {""}
0x117e 14 r14 = 0x2004 {"%s%d"}
0x1185 15 ebp = 0
0x1187 16 goto 22 @ 0x1190
0x12a6 17 eax = [rsp + 0xc {var_2c}].d
0x12ac 18 if (eax s<= 0) then 31 @ 0x12e4 else 39 @ 0x12ae
0x11bb 19 r15 = 0x4050 {""}
0x11c2 20 r14 = 0x406c {""}
0x11c9 21 goto 42 @ 0x11d0
0x1190 22 rdx = rbx + 0xc
0x1194 23 rdi = r14
0x1197 24 rsi = rbx
0x119a 25 eax = 0
0x119c 26 call(0x1030)
0x11a1 27 rbp = rbp + 1
0x11a5 28 rax = sx.q([rsp + 0xc {var_2c}].d)
0x11aa 29 rbx = rbx + 0x10
0x11b1 30 if (rbp s< rax) then 22 @ 0x1190 else 12 @ 0x11b5
0x12e4 31 eax = 0
0x12e6 32 rsp = rsp + 0x10
0x12ea 33 rbx = pop
0x12eb 34 r12 = pop
0x12ed 35 r14 = pop
0x12ef 36 r15 = pop
0x12f1 37 rbp = pop
0x12f2 38 <return> jump(pop)
0x12ae 39 rbx = 0x4050 {""}
0x12b5 40 ebp = 0
0x12b7 41 goto 44 @ 0x12d4
0x11d0 42 r8d = eax
0x11d6 43 if (eax != 1) then 45 @ 0x1240 else 51 @ 0x11d8
0x12d4 44 if ([rbx + 0xc].d u> 0x3b) then 54 @ 0x12c0 else 58 @ 0x12d6
0x1240 45 r9d = r8d
0x1243 46 r9d = r9d & 0xfffffffe
0x1247 47 esi = 0xffffffff {""}
0x124c 48 rdi = r14
0x124f 49 edx = 0
0x1251 50 goto 62 @ 0x1276
0x11d8 51 esi = 0xffffffff {""}
0x11dd 52 edx = 0
0x11dd 53 goto 67 @ 0x11e3
0x12c0 54 rbp = rbp + 1
0x12c4 55 rcx = sx.q(eax)
0x12c7 56 rbx = rbx + 0x10
0x12ce 57 if (rbp s>= rcx) then 31 @ 0x12e4 else 44 @ 0x12d4
0x12d6 58 rdi = rbx
0x12d9 59 call(0x1040)
0x12de 60 eax = [rsp + 0xc {var_2c}].d
0x12e2 61 goto 54 @ 0x12c0
0x1276 62 eax = [rdi - 0x10].d
0x127b 63 cl = eax s> esi
0x1281 64 bl = eax s>= 0x3c
0x1284 65 ebp = edx
0x1288 66 if ((cl & bl) != 0) then 68 @ 0x128f else 72 @ 0x128a
0x11e3 67 if ((r8b & 1) == 0) then 75 @ 0x1208 else 76 @ 0x11e5
0x128f 68 esi = [rdi].d
0x1293 69 cl = esi s> eax
0x1299 70 bl = esi s>= 0x3c
0x129e 71 if ((cl & bl) == 0) then 84 @ 0x1260 else 87 @ 0x12a0
0x128a 72 ebp = r12d
0x128d 73 eax = esi
0x128d 74 goto 68 @ 0x128f
0x1208 75 if (esi s< 0x3c) then 17 @ 0x12a6 else 89 @ 0x120e
0x11e5 76 rax = rdx
0x11e8 77 rax = rax << 4
0x11ec 78 eax = [rax + r15 + 0xc].d
0x11f3 79 cl = eax s> esi
0x11f9 80 bl = eax s>= 0x3c
0x11fc 81 temp0.b = cl & bl
0x11fc 82 cond:0 = temp0.b != 0
0x11fe 83 if (temp0.b != 0) then 96 else 98 @ 0x1202
0x1260 84 r12d = ebp
0x1263 85 esi = eax
0x1263 86 goto 99 @ 0x1265
0x12a0 87 r12d = (rdx + 1).d
0x12a4 88 goto 99 @ 0x1265
0x120e 89 rbx = sx.q(r12d)
0x1211 90 rbx = rbx << 4
0x1215 91 rdi = r15 + rbx
0x1219 92 call(0x1040)
0x121e 93 [rbx + r15 + 0xc].d = -1
0x1227 94 eax = [rsp + 0xc {var_2c}].d
0x122d 95 if (eax s> 0) then 42 @ 0x11d0 else 102 @ 0x122f
0x11fe 96 r12d = edx
0x11fe 97 goto 98 @ 0x1202
0x1202 98 if (cond:0) then 103 else 105
0x1265 99 rdx = rdx + 2
0x1269 100 rdi = rdi + 0x20
0x1270 101 if (rdx == r9) then 67 @ 0x11e3 else 62 @ 0x1276
0x122f 102 goto 17 @ 0x12a6
0x1202 103 esi = eax
0x1202 104 goto 105
0x1202 105 goto 75 @ 0x1208
int64_t _fini():
0x12f8 0 rsp = rsp - 8
0x12fc 1 rsp = rsp + 8
0x1300 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 {"AWAVSH N"}
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(rbx)
0x1165 3 rsp = rsp - 0x4e2010
0x116c 4 rdi = 0x2054 {"%d"}
0x1173 5 rsi = rsp + 0xc {var_4e201c}
0x1178 6 eax = 0
0x117a 7 call(0x1040)
0x1184 8 if ([rsp + 0xc {var_4e201c}].d s<= 0) then 9 @ 0x127c else 15 @ 0x118a
0x127c 9 eax = 0
0x127e 10 rsp = rsp + 0x4e2010
0x1285 11 rbx = pop
0x1286 12 r14 = pop
0x1288 13 r15 = pop
0x128a 14 <return> jump(pop)
0x118a 15 r15 = rsp + 0x271010 {var_271018}
0x1192 16 r14 = 0x2057 {"%s"}
0x1199 17 ebx = 0
0x119b 18 goto 19 @ 0x11a0
0x11a0 19 rdi = r14
0x11a3 20 rsi = r15
0x11a6 21 eax = 0
0x11a8 22 call(0x1040)
0x11ad 23 rbx = rbx + 1
0x11b1 24 rax = sx.q([rsp + 0xc {var_4e201c}].d)
0x11b6 25 r15 = r15 + 0x100
0x11c0 26 if (rbx s< rax) then 19 @ 0x11a0 else 27 @ 0x11c2
0x11c2 27 r8d = eax
0x11c8 28 if (r8d s<= 0) then 9 @ 0x127c else 29 @ 0x11ce
0x11ce 29 rcx = rsp + 0x10 {var_4e2018}
0x11d3 30 rdx = rsp + 0x271010 {var_271018}
0x11db 31 r9d = 0
0x11de 32 rdi = 0x2004 {"%d"}
0x11ef 33 goto 34 @ 0x11f0
0x11f0 34 ebx = 0
0x11f2 35 goto 36 @ 0x11fd
0x11fd 36 eax = zx.d([rdx + rbx].b)
0x1201 37 esi = (rax - 0x41).d
0x1208 38 if (sil u> 0x13) then 39 @ 0x1223 else 40 @ 0x120a
0x1223 39 if (al != 0) then 45 @ 0x11f9 else 47 @ 0x1225
0x120a 40 al = 0x54 {""}
0x120c 41 esi = zx.d(sil)
0x1210 42 rsi = sx.q([rdi + (rsi << 2)].d)
0x1214 43 rsi = rsi + rdi
0x1217 44 jump(rsi => 51 @ 0x11f4, 53 @ 0x11f6, 45 @ 0x11f9, 55 @ 0x1219, 57 @ 0x121d)
0x11f9 45 rbx = rbx + 1
0x11f9 46 goto 36 @ 0x11fd
0x1225 47 r9 = r9 + 1
0x1229 48 rcx = rcx + 0x100
0x1230 49 rdx = rdx + 0x100
0x123a 50 if (r9 != r8) then 34 @ 0x11f0 else 59 @ 0x123f
0x11f4 51 al = 0x43 {""}
0x11f4 52 goto 53 @ 0x11f6
0x11f6 53 [rcx + rbx].b = al
0x11f6 54 goto 45 @ 0x11f9
0x1219 55 al = 0x47 {""}
0x121b 56 goto 53 @ 0x11f6
0x121d 57 al = 0x41 {""}
0x121f 58 goto 53 @ 0x11f6
0x123f 59 if (r8d s<= 0) then 9 @ 0x127c else 60 @ 0x1241
0x1241 60 r15 = rsp + 0x10 {var_4e2018}
0x1246 61 r14 = 0x2057 {"%s"}
0x124d 62 ebx = 0
0x124f 63 goto 64 @ 0x1250
0x1250 64 rdi = r14
0x1253 65 rsi = r15
0x1256 66 eax = 0
0x1258 67 call(0x1030)
0x125d 68 edi = 0xa {""}
0x1262 69 call(0x1050)
0x1267 70 rbx = rbx + 1
0x126b 71 rax = sx.q([rsp + 0xc {var_4e201c}].d)
0x1270 72 r15 = r15 + 0x100
0x127a 73 if (rbx s< rax) then 64 @ 0x1250 else 9 @ 0x127c
int64_t _fini():
0x1290 0 rsp = rsp - 8
0x1294 1 rsp = rsp + 8
0x1298 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 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 = 0x11f0 {"AWAVAUATSH0"}
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 fpg(uint64_t arg1, int32_t arg2):
0x1150 0 push(rbp)
0x1151 1 push(r15)
0x1153 2 push(r14)
0x1155 3 push(rbx)
0x1156 4 push(rax)
0x1157 5 r15d = 0
0x115d 6 if (esi != 1) then 7 @ 0x1171 else 11 @ 0x115f
0x1171 7 ebx = esi
0x1173 8 r15d = 0
0x1176 9 r14d = 0x20 {"@"}
0x1176 10 goto 19 @ 0x117c
0x115f 11 r15d = r15d + 1
0x1163 12 eax = r15d
0x1166 13 rsp = rsp + 8
0x116a 14 rbx = pop
0x116b 15 r14 = pop
0x116d 16 r15 = pop
0x116f 17 rbp = pop
0x1170 18 <return> jump(pop)
0x117c 19 cond:0 = ebx s< edi
0x117e 20 ecx = edi
0x1180 21 if (cond:0) then 22 else 24 @ 0x1183
0x1180 22 ecx = ebx
0x1180 23 goto 24 @ 0x1183
0x1183 24 eax = ebx
0x1185 25 eax = eax - ecx
0x1187 26 ecx = (rbx - 2).d
0x118c 27 if (eax u>= ecx) then 28 else 30 @ 0x118f
0x118c 28 eax = ecx
0x118c 29 goto 30 @ 0x118f
0x118f 30 eax = eax + 1
0x1195 31 if (eax u< 0x21) then 32 @ 0x11c0 else 36 @ 0x1197
0x11c0 32 ebp = edi
0x11c2 33 temp0.d = ebp
0x11c2 34 ebp = ebp - ebx
0x11c4 35 if (temp0.d s>= ebx) then 39 @ 0x11d0 else 44 @ 0x11c6
0x1197 36 ecx = eax
0x1199 37 ecx = ecx & 0x1f
0x119c 38 if (ecx == 0) then 46 else 48 @ 0x11a0
0x11d0 39 esi = (rbx - 1).d
0x11d3 40 call(0x1150)
0x11d8 41 r15d = r15d + eax
0x11db 42 edi = ebp
0x11e0 43 if (ebx != 1) then 19 @ 0x117c else 51 @ 0x11e2
0x11c6 44 ebx = ebx - 1
0x11cc 45 if (ebx != 1) then 32 @ 0x11c0 else 52 @ 0x11ce
0x119c 46 ecx = r14d
0x119c 47 goto 48 @ 0x11a0
0x11a0 48 eax = eax - ecx
0x11a2 49 ebx = ebx - eax
0x11ae 50 goto 53 @ 0x11b0
0x11e2 51 goto 11 @ 0x115f
0x11ce 52 goto 11 @ 0x115f
0x11b0 53 temp1.d = eax
0x11b0 54 eax = eax - 0x20
0x11b3 55 if (temp1.d != 0x20) then 53 @ 0x11b0 else 56 @ 0x11bf
0x11bf 56 goto 32 @ 0x11c0
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 - 0x330
0x1200 6 rdi = 0x2007 {"%d"}
0x1207 7 rsi = rsp + 0xc {var_34c}
0x120c 8 eax = 0
0x120e 9 call(0x1040)
0x1218 10 if ([rsp + 0xc {var_34c}].d s<= 0) then 11 @ 0x127c else 19 @ 0x121a
0x127c 11 eax = 0
0x127e 12 rsp = rsp + 0x330
0x1285 13 rbx = pop
0x1286 14 r12 = pop
0x1288 15 r13 = pop
0x128a 16 r14 = pop
0x128c 17 r15 = pop
0x128e 18 <return> jump(pop)
0x121a 19 r14 = rsp + 0x10 {var_348}
0x121f 20 rbx = rsp + 0x1a0 {var_1b8}
0x1227 21 r15 = 0x2004 {"%d %d"}
0x122e 22 r12 = 0x200a {"%d\n"}
0x1235 23 r13d = 0
0x1238 24 goto 25 @ 0x1240
0x1240 25 rdi = r15
0x1243 26 rsi = rbx
0x1246 27 rdx = r14
0x1249 28 eax = 0
0x124b 29 call(0x1040)
0x1250 30 edi = [rbx].d
0x1252 31 esi = [r14].d
0x1255 32 call(0x1150)
0x125a 33 rdi = r12
0x125d 34 esi = eax
0x125f 35 eax = 0
0x1261 36 call(0x1030)
0x1266 37 r13 = r13 + 1
0x126a 38 rax = sx.q([rsp + 0xc {var_34c}].d)
0x126f 39 r14 = r14 + 4
0x1273 40 rbx = rbx + 4
0x127a 41 if (r13 s< rax) then 25 @ 0x1240 else 11 @ 0x127c
int64_t _fini():
0x1294 0 rsp = rsp - 8
0x1298 1 rsp = rsp + 8
0x129c 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)
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 {"AWAVSH"}
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(rbx)
0x1165 3 rsp = rsp - 0x80
0x116c 4 rdi = 0x2004 {"%s%s"}
0x1173 5 rbx = rsp + 0x40 {var_58}
0x1178 6 r14 = rsp {var_98}
0x117b 7 rsi = rbx {var_58}
0x117e 8 rdx = r14 {var_98}
0x1181 9 eax = 0
0x1183 10 call(0x1050)
0x1188 11 rdi = rbx {var_58}
0x118b 12 call(0x1040)
0x1190 13 r15 = rax
0x1193 14 rdi = r14 {var_98}
0x1196 15 call(0x1040)
0x119d 16 if (eax s<= 0) then 17 @ 0x120c else 22 @ 0x119f
0x120c 17 rsp = rsp + 0x80
0x1213 18 rbx = pop
0x1214 19 r14 = pop
0x1216 20 r15 = pop
0x1218 21 <return> jump(pop)
0x119f 22 r9b = [rsp + 0x40 {var_58}].b
0x11a4 23 r10d = (r15 - 1).d
0x11a8 24 r8d = eax
0x11ab 25 rdi = rsp + 1 {var_97}
0x11b0 26 ebx = 0
0x11b2 27 rsi = r10
0x11b5 28 goto 29 @ 0x11d5
0x11d5 29 if (r9b != [rsp + rbx].b) then 30 @ 0x11c0 else 34 @ 0x11db
0x11c0 30 rbx = rbx + 1
0x11c4 31 rsi = rsi + 1
0x11c8 32 rdi = rdi + 1
0x11cf 33 if (rbx == r8) then 17 @ 0x120c else 29 @ 0x11d5
0x11db 34 if (r9b != [rsp + rbx].b) then 30 @ 0x11c0 else 35 @ 0x11dd
0x11dd 35 eax = 0
0x11df 36 goto 37 @ 0x11e3
0x11e3 37 if (r10 == rax) then 38 @ 0x11f8 else 44 @ 0x11e5
0x11f8 38 esi = esi - r15d
0x11fb 39 esi = esi + 1
0x11fe 40 rdi = 0x2009 {"%d\n"}
0x1205 41 eax = 0
0x1207 42 call(0x1030)
0x1207 43 goto 17 @ 0x120c
0x11e5 44 ecx = zx.d([rsp + rax + 0x41].b)
0x11ea 45 rdx = rax + 1
0x11ee 46 cond:0 = cl == [rdi + rax].b
0x11f1 47 rax = rdx
0x11f4 48 if (cond:0) then 37 @ 0x11e3 else 49 @ 0x11f6
0x11f6 49 goto 30 @ 0x11c0
int64_t _fini():
0x1220 0 rsp = rsp - 8
0x1224 1 rsp = rsp + 8
0x1228 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)
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 - 0x4f0
0x115f 6 rdi = 0x2006 {"%d"}
0x1166 7 r12d = 0
0x1169 8 rsi = rsp + 0xc {var_50c}
0x116e 9 eax = 0
0x1170 10 call(0x1040)
0x1175 11 edx = [rsp + 0xc {var_50c}].d
0x117b 12 if (edx s<= 0) then 13 @ 0x11c6 else 16 @ 0x117d
0x11c6 13 ecx = (rdx - 1).d
0x11c9 14 eax = 0
0x11d1 15 if (edx s< 2) then 21 @ 0x121a else 25 @ 0x11d3
0x117d 16 r14 = rsp + 0x1b0 {var_368}
0x1185 17 rbx = rsp + 0x350 {var_1c8}
0x118d 18 r15 = 0x2004 {"%d%d"}
0x1194 19 ebp = 0
0x1196 20 goto 30 @ 0x11a0
0x121a 21 rcx = sx.q(ecx)
0x121d 22 edx = [rsp + (rcx << 2) + 0x350].d
0x1224 23 edx = edx - 0x5a
0x122a 24 if (edx u> 0x32) then 40 @ 0x123d else 43 @ 0x122c
0x11d3 25 edx = ecx
0x11d5 26 esi = 0
0x11d7 27 eax = 0
0x11d9 28 r12d = 0
0x11dc 29 goto 48 @ 0x11f6
0x11a0 30 rdi = r15
0x11a3 31 rsi = rbx
0x11a6 32 rdx = r14
0x11a9 33 eax = 0
0x11ab 34 call(0x1040)
0x11b0 35 rbp = rbp + 1
0x11b4 36 rdx = sx.q([rsp + 0xc {var_50c}].d)
0x11b9 37 r14 = r14 + 4
0x11bd 38 rbx = rbx + 4
0x11c4 39 if (rbp s< rdx) then 30 @ 0x11a0 else 13 @ 0x11c6
0x123d 40 rcx = sx.q(eax)
0x1240 41 [rsp + (rcx << 2) + 0x10].d = r12d
0x1247 42 if (eax s<= 0) then 51 @ 0x12a2 else 63 @ 0x1249
0x122c 43 ecx = [rsp + (rcx << 2) + 0x1b0].d
0x1233 44 ecx = ecx - 0x3c
0x1236 45 flag:c = ecx u< 0x1f
0x1239 46 r12d = adc.d(r12d, 0, flag:c)
0x1239 47 goto 40 @ 0x123d
0x11f6 48 edi = [rsp + (rsi << 2) + 0x350].d
0x11fd 49 edi = edi - 0x5a
0x1203 50 if (edi u> 0x32) then 67 @ 0x11e0 else 72 @ 0x1205
0x12a2 51 esi = [rsp + 0x10 {var_508}].d
0x12a6 52 rdi = 0x2006 {"%d"}
0x12ad 53 eax = 0
0x12af 54 call(0x1030)
0x12b4 55 eax = 0
0x12b6 56 rsp = rsp + 0x4f0
0x12bd 57 rbx = pop
0x12be 58 r12 = pop
0x12c0 59 r14 = pop
0x12c2 60 r15 = pop
0x12c4 61 rbp = pop
0x12c5 62 <return> jump(pop)
0x1249 63 r8d = (rax + 1).d
0x124d 64 esi = 1
0x1252 65 edx = eax
0x1254 66 goto 75 @ 0x126c
0x11e0 67 rax = sx.q(eax)
0x11e2 68 [rsp + (rax << 2) + 0x10].d = r12d
0x11e7 69 eax = eax + 1
0x11ea 70 r12d = 0
0x11ea 71 goto 79 @ 0x11ed
0x1205 72 edi = [rsp + (rsi << 2) + 0x1b0].d
0x120c 73 edi = edi - 0x3c
0x1212 74 if (edi u> 0x1e) then 67 @ 0x11e0 else 81 @ 0x1214
0x126c 75 edx = edx
0x126e 76 ecx = r8d
0x1271 77 ecx = ecx - esi
0x1275 78 if (ecx s<= 0) then 83 @ 0x1260 else 88 @ 0x1277
0x11ed 79 rsi = rsi + 1
0x11f4 80 if (rdx == rsi) then 21 @ 0x121a else 48 @ 0x11f6
0x1214 81 r12d = r12d + 1
0x1218 82 goto 79 @ 0x11ed
0x1260 83 ecx = (rsi + 1).d
0x1263 84 edx = edx - 1
0x1266 85 cond:0 = esi == eax
0x1268 86 esi = ecx
0x126a 87 if (cond:0) then 51 @ 0x12a2 else 75 @ 0x126c
0x1277 88 edi = 0
0x1279 89 goto 90 @ 0x1288
0x1288 90 ebx = [rsp + (rdi << 2) + 0x10].d
0x128c 91 ecx = [rsp + (rdi << 2) + 0x14].d
0x1290 92 rbp = rdi + 1
0x1296 93 if (ebx s>= ecx) then 94 @ 0x1280 else 96 @ 0x1298
0x1280 94 rdi = rbp
0x1286 95 if (rdx == rbp) then 83 @ 0x1260 else 90 @ 0x1288
0x1298 96 [rsp + (rdi << 2) + 0x14].d = ebx
0x129c 97 [rsp + (rdi << 2) + 0x10].d = ecx
0x12a0 98 goto 94 @ 0x1280
int64_t _fini():
0x12cc 0 rsp = rsp - 8
0x12d0 1 rsp = rsp + 8
0x12d4 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)
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 {"UAWAVSPH="}
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(rbx)
0x1176 4 push(rax)
0x1177 5 rdi = 0x2004 {"%d %d"}
0x117e 6 rsi = rsp + 4 {var_28+0x4}
0x1183 7 rdx = rsp {var_28}
0x1186 8 eax = 0
0x1188 9 call(0x1050)
0x118d 10 ebx = [rsp + 4 {var_28+0x4}].d
0x1194 11 if (ebx s> [rsp {var_28}].d) then 12 @ 0x1247 else 15 @ 0x119a
0x1247 12 rdi = 0x200e {"no"}
0x124e 13 call(0x1060)
0x124e 14 goto 19 @ 0x1253
0x119a 15 r14 = 0x2007 {"%d"}
0x11a1 16 r15 = 0x200a {",%d"}
0x11a8 17 r8d = 0
0x11ab 18 goto 30 @ 0x11c1
0x1253 19 eax = 0
0x1255 20 call(0x1040)
0x125a 21 eax = 0
0x125c 22 call(0x1040)
0x1261 23 eax = 0
0x1263 24 rsp = rsp + 8
0x1267 25 rbx = pop
0x1268 26 r14 = pop
0x126a 27 r15 = pop
0x126c 28 rbp = pop
0x126d 29 <return> jump(pop)
0x11c1 30 if (ebx s< 4) then 31 @ 0x11e8 else 33 @ 0x11c3
0x11e8 31 edx = 0
0x11ec 32 if (ebx == 0) then 35 @ 0x1221 else 36 @ 0x11ee
0x11c3 33 esi = 3
0x11c8 34 goto 38 @ 0x11d0
0x1221 35 if (edx != ebx) then 52 @ 0x11b0 else 56 @ 0x1223
0x11ee 36 eax = ebx
0x11ee 37 goto 60 @ 0x11f0
0x11d0 38 edi = (rsi - 1).d
0x11d3 39 eax = ebx
0x11d5 40 temp2.d:temp3.d = sx.q(eax)
0x11d5 41 edx = temp2.d
0x11d5 42 eax = temp3.d
0x11d6 43 temp4.d = edx
0x11d6 44 temp5.d = eax
0x11d6 45 temp0.d = divs.dp.d(temp4.d:temp5.d, edi)
0x11d6 46 temp6.d = edx
0x11d6 47 temp7.d = eax
0x11d6 48 temp1.d = mods.dp.d(temp6.d:temp7.d, edi)
0x11d6 49 eax = temp0.d
0x11d6 50 edx = temp1.d
0x11da 51 if (edx == 0) then 52 @ 0x11b0 else 74 @ 0x11dc
0x11b0 52 eax = (rbx + 1).d
0x11b3 53 cond:0 = ebx s>= [rsp {var_28}].d
0x11b6 54 ebx = eax
0x11b8 55 if (cond:0) then 78 @ 0x1245 else 30 @ 0x11c1
0x1223 56 ebp = (r8 + 1).d
0x1227 57 cond:1 = r8d == 0
0x122a 58 rdi = r15
0x122d 59 if (cond:1) then 79 else 81 @ 0x1231
0x11f0 60 edx = (rdx + (rdx << 2)).d
0x11f3 61 rcx = sx.q(eax)
0x11f6 62 rax = rcx * 0x66666667
0x11fd 63 rdi = rax
0x1200 64 rdi = rdi u>> 0x3f
0x1204 65 rax = rax s>> 0x22
0x1208 66 eax = eax + edi
0x120a 67 edi = (rax + rax).d
0x120d 68 edi = (rdi + (rdi << 2)).d
0x1210 69 esi = ecx
0x1212 70 esi = esi - edi
0x1214 71 edx = (rsi + (rdx << 1)).d
0x1217 72 ecx = ecx + 9
0x121d 73 if (ecx u> 0x12) then 60 @ 0x11f0 else 35 @ 0x1221
0x11dc 74 eax = esi
0x11de 75 eax = eax * esi
0x11e1 76 esi = esi + 1
0x11e6 77 if (eax s<= ebx) then 38 @ 0x11d0 else 31 @ 0x11e8
0x1245 78 if (r8d != 0) then 19 @ 0x1253 else 12 @ 0x1247
0x122d 79 rdi = r14
0x122d 80 goto 81 @ 0x1231
0x1231 81 esi = ebx
0x1233 82 eax = 0
0x1235 83 call(0x1030)
0x123a 84 r8d = ebp
0x123d 85 goto 52 @ 0x11b0
int64_t sushu(int32_t arg1):
0x1270 0 ecx = 0
0x1275 1 if (edi s< 4) then 2 @ 0x1295 else 4 @ 0x1277
0x1295 2 eax = ecx
0x1297 3 <return> jump(pop)
0x1277 4 esi = 2
0x127c 5 goto 6 @ 0x1280
0x1280 6 eax = edi
0x1282 7 temp2.d:temp3.d = sx.q(eax)
0x1282 8 edx = temp2.d
0x1282 9 eax = temp3.d
0x1283 10 temp4.d = edx
0x1283 11 temp5.d = eax
0x1283 12 temp0.d = divs.dp.d(temp4.d:temp5.d, esi)
0x1283 13 temp6.d = edx
0x1283 14 temp7.d = eax
0x1283 15 temp1.d = mods.dp.d(temp6.d:temp7.d, esi)
0x1283 16 eax = temp0.d
0x1283 17 edx = temp1.d
0x1287 18 if (edx == 0) then 19 @ 0x1298 else 22 @ 0x1289
0x1298 19 ecx = 1
0x129d 20 eax = ecx
0x129f 21 <return> jump(pop)
0x1289 22 esi = esi + 1
0x128c 23 eax = esi
0x128e 24 eax = eax * esi
0x1293 25 if (eax s<= edi) then 6 @ 0x1280 else 2 @ 0x1295
int64_t huiwen(int32_t arg1):
0x12a0 0 edx = 0
0x12a4 1 if (edi == 0) then 2 @ 0x12e1 else 5 @ 0x12a6
0x12e1 2 eax = 0
0x12e5 3 al = edx != edi
0x12e8 4 <return> jump(pop)
0x12a6 5 eax = edi
0x12a8 6 goto 7 @ 0x12b0
0x12b0 7 r8d = (rdx + (rdx << 2)).d
0x12b4 8 rcx = sx.q(eax)
0x12b7 9 rax = rcx * 0x66666667
0x12be 10 rsi = rax
0x12c1 11 rsi = rsi u>> 0x3f
0x12c5 12 rax = rax s>> 0x22
0x12c9 13 eax = eax + esi
0x12cb 14 esi = (rax + rax).d
0x12ce 15 esi = (rsi + (rsi << 2)).d
0x12d1 16 edx = ecx
0x12d3 17 edx = edx - esi
0x12d5 18 edx = (rdx + (r8 << 1)).d
0x12d9 19 ecx = ecx + 9
0x12df 20 if (ecx u> 0x12) then 7 @ 0x12b0 else 2 @ 0x12e1
int64_t _fini():
0x12f0 0 rsp = rsp - 8
0x12f4 1 rsp = rsp + 8
0x12f8 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
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)
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 {"UAWAVATSHp"}
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(r12)
0x1177 4 push(rbx)
0x1178 5 rsp = rsp - 0x270
0x117f 6 rdi = rsp + 0x10 {var_288}
0x1184 7 edx = 0x12c {""}
0x1189 8 esi = 0
0x118b 9 call(0x1030)
0x1190 10 rdi = 0x2054 {"%d"}
0x1197 11 rsi = rsp + 0xc {var_28c}
0x119c 12 eax = 0
0x119e 13 call(0x1050)
0x11a8 14 if ([rsp + 0xc {var_28c}].d s<= 0) then 15 @ 0x12a1 else 23 @ 0x11ae
0x12a1 15 eax = 0
0x12a3 16 rsp = rsp + 0x270
0x12aa 17 rbx = pop
0x12ab 18 r12 = pop
0x12ad 19 r14 = pop
0x12af 20 r15 = pop
0x12b1 21 rbp = pop
0x12b2 22 <return> jump(pop)
0x11ae 23 r14 = 0x2057 {"%s"}
0x11b5 24 r15 = rsp + 0x140 {var_158}
0x11bd 25 rbx = 0x2004 {"L,LLL<LLLLLLLLLLLL\%d"}
0x11c4 26 r12d = 0
0x11c7 27 goto 28 @ 0x11e9
0x11e9 28 rdi = r14
0x11ec 29 rsi = r15 {var_158}
0x11ef 30 eax = 0
0x11f1 31 call(0x1050)
0x11f6 32 eax = zx.d([rsp + 0x140 {var_158}].b)
0x1200 33 if (al == 0) then 34 @ 0x11d0 else 38 @ 0x1202
0x11d0 34 edi = 0xa {""}
0x11d5 35 call(0x1060)
0x11da 36 r12d = r12d + 1
0x11e3 37 if (r12d s>= [rsp + 0xc {var_28c}].d) then 15 @ 0x12a1 else 28 @ 0x11e9
0x1202 38 ebp = 1
0x1207 39 al = al - 0x41
0x120b 40 if (al u> 0x13) then 41 @ 0x1250 else 43 @ 0x120d
0x1250 41 eax = zx.d([rsp + rbp + 0xf].b)
0x1255 42 goto 44 @ 0x1270
0x120d 43 goto 49 @ 0x1210
0x1270 44 edi = sx.d(al)
0x1273 45 call(0x1060)
0x1278 46 rdi = r15 {var_158}
0x127b 47 call(0x1040)
0x1283 48 if (rax u<= rbp) then 34 @ 0x11d0 else 53 @ 0x1289
0x1210 49 eax = zx.d(al)
0x1213 50 rax = sx.q([rbx + (rax << 2)].d)
0x1217 51 rax = rax + rbx
0x121a 52 jump(rax)
0x1289 53 eax = zx.d([rsp + rbp + 0x140].b)
0x1291 54 rbp = rbp + 1
0x1295 55 al = al - 0x41
0x1299 56 if (al u<= 0x13) then 49 @ 0x1210 else 57 @ 0x129f
0x129f 57 goto 41 @ 0x1250
int64_t _fini():
0x12b8 0 rsp = rsp - 8
0x12bc 1 rsp = rsp + 8
0x12c0 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 {"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 - 0x1b8
0x115e 5 rdi = 0x2013 {"%d"}
0x1165 6 rsi = rsp + 4 {var_1d4}
0x116a 7 eax = 0
0x116c 8 call(0x1030)
0x1171 9 rdi = 0x2010 {"%d %d"}
0x1178 10 rsi = rsp + 0xc {var_1cc}
0x117d 11 rdx = rsp + 8 {var_1d0}
0x1182 12 eax = 0
0x1184 13 call(0x1030)
0x1189 14 xmm0.q = float.d([rsp + 8 {var_1d0}].d)
0x118f 15 [rsp + 0x10 {var_1c8}].q = xmm0.q
0x1195 16 xmm0 = 0
0x1198 17 xmm0.q = float.d([rsp + 0xc {var_1cc}].d)
0x119e 18 [rsp + 0x18 {var_1c0}].q = xmm0.q
0x11a9 19 if ([rsp + 4 {var_1d4}].d s< 2) then 20 @ 0x11fe else 23 @ 0x11ab
0x11fe 20 cond:0 = [rsp + 4 {var_1d4}].d s< 2
0x1203 21 xmm3 = zx.o([rsp + 0x10 {var_1c8}].q)
0x1209 22 if (cond:0) then 28 @ 0x1291 else 35 @ 0x120f
0x11ab 23 r14 = 0x2010 {"%d %d"}
0x11b2 24 r15 = rsp + 0xc {var_1cc}
0x11b7 25 r12 = rsp + 8 {var_1d0}
0x11bc 26 ebx = 0
0x11be 27 goto 43 @ 0x11c0
0x1291 28 eax = 0
0x1293 29 rsp = rsp + 0x1b8
0x129a 30 rbx = pop
0x129b 31 r12 = pop
0x129d 32 r14 = pop
0x129f 33 r15 = pop
0x12a1 34 <return> jump(pop)
0x120f 35 xmm3.q = xmm3.q f/ fconvert.t([rsp + 0x18 {var_1c0}].q)
0x1215 36 ebx = 0
0x1217 37 xmm2 = zx.o([0x2008].q)
0x121f 38 r14 = 0x201b {"worse"}
0x1226 39 r15 = 0x2016 {"same"}
0x122d 40 r12 = 0x2021 {"better"}
0x1234 41 [rsp + 0x10 {var_1c8_1}].q = xmm3.q
0x123a 42 goto 58 @ 0x1271
0x11c0 43 rdi = r14
0x11c3 44 rsi = r15 {var_1cc}
0x11c6 45 rdx = r12 {var_1d0}
0x11c9 46 eax = 0
0x11cb 47 call(0x1030)
0x11d0 48 xmm0 = 0
0x11d3 49 xmm0.q = float.d([rsp + 8 {var_1d0}].d)
0x11d9 50 xmm1 = 0
0x11dc 51 xmm1.q = float.d([rsp + 0xc {var_1cc}].d)
0x11e2 52 xmm0.q = xmm0.q f/ xmm1.q
0x11e6 53 [rsp + (rbx << 3) + 0x20].q = xmm0.q
0x11ec 54 rbx = rbx + 1
0x11f0 55 rax = sx.q([rsp + 4 {var_1d4}].d)
0x11f5 56 rax = rax - 1
0x11fc 57 if (rbx s< rax) then 43 @ 0x11c0 else 20 @ 0x11fe
0x1271 58 xmm0 = zx.o([rsp + (rbx << 3) + 0x20].q)
0x1277 59 xmm1 = xmm3
0x127b 60 xmm1.q = xmm1.q f- xmm0.q
0x127f 61 flag:p = is_unordered.q(xmm1.q, xmm2.q)
0x127f 62 flag:c = xmm1.q f< xmm2.q | is_unordered.q(xmm1.q, xmm2.q)
0x127f 63 flag:z = xmm1.q f== xmm2.q | is_unordered.q(xmm1.q, xmm2.q)
0x127f 64 flag:s = 0
0x127f 65 flag:o = 0
0x127f 66 flag:a = 0
0x1283 67 rdi = r14
0x1286 68 xmm1 = xmm3
0x128a 69 if (not(flag:z) && not(flag:c)) then 70 @ 0x1240 else 78 @ 0x128c
0x1240 70 xmm0.q = xmm0.q f- xmm1.q
0x1244 71 flag:p = is_unordered.q(xmm0.q, xmm2.q)
0x1244 72 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q)
0x1244 73 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q)
0x1244 74 flag:s = 0
0x1244 75 flag:o = 0
0x1244 76 flag:a = 0
0x1248 77 if (not(flag:z) && not(flag:c)) then 80 else 82 @ 0x124c
0x128c 78 rdi = r15
0x128f 79 goto 70 @ 0x1240
0x1248 80 rdi = r12
0x1248 81 goto 82 @ 0x124c
0x124c 82 call(0x1040)
0x1251 83 xmm3 = zx.o([rsp + 0x10 {var_1c8_1}].q)
0x1257 84 xmm2 = zx.o([0x2008].q)
0x125f 85 rbx = rbx + 1
0x1263 86 rax = sx.q([rsp + 4 {var_1d4}].d)
0x1268 87 rax = rax - 1
0x126f 88 if (rbx s>= rax) then 28 @ 0x1291 else 58 @ 0x1271
int64_t _fini():
0x12a8 0 rsp = rsp - 8
0x12ac 1 rsp = rsp + 8
0x12b0 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"}
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 - 0x110
0x115b 3 xmm0 = 0
0x115e 4 [rbp - 0xf8 {var_100}].q = xmm0.q
0x1166 5 xmm0 = 0
0x1169 6 [rbp - 0x100 {var_108}].q = xmm0.q
0x1171 7 rdi = 0x20d0 {"%d"}
0x1178 8 rsi = rbp - 0x110 {var_118}
0x117f 9 al = 0
0x1181 10 call(0x1040)
0x1186 11 [rbp - 0x10c {var_114}].d = 0
0x1186 12 goto 13 @ 0x1190
0x1190 13 eax = [rbp - 0x10c {var_114}].d
0x119c 14 if (eax s>= [rbp - 0x110 {var_118}].d) then 15 @ 0x11f3 else 17 @ 0x11a2
0x11f3 15 [rbp - 0x10c {var_114_1}].d = 0
0x11f3 16 goto 32 @ 0x11fd
0x11a2 17 rax = sx.q([rbp - 0x10c {var_114}].d)
0x11a9 18 rsi = rbp - 0x50 {var_58}
0x11ad 19 rax = rax << 3
0x11b1 20 rsi = rsi + rax
0x11b4 21 rdi = 0x20d3 {"%lf"}
0x11bb 22 al = 0
0x11bd 23 call(0x1040)
0x11c2 24 xmm0 = zx.o([rbp - 0xf8 {var_100}].q)
0x11ca 25 rax = sx.q([rbp - 0x10c {var_114}].d)
0x11d1 26 xmm0.q = xmm0.q f+ fconvert.t([rbp + (rax << 3) - 0x50].q)
0x11d7 27 [rbp - 0xf8 {var_100}].q = xmm0.q
0x11df 28 eax = [rbp - 0x10c {var_114}].d
0x11e5 29 eax = eax + 1
0x11e8 30 [rbp - 0x10c {var_114}].d = eax
0x11ee 31 goto 13 @ 0x1190
0x11fd 32 eax = [rbp - 0x10c {var_114_1}].d
0x1209 33 if (eax s>= [rbp - 0x110 {var_118}].d) then 34 @ 0x1639 else 44 @ 0x120f
0x1639 34 xmm0 = zx.o([rbp - 0x100 {var_108}].q)
0x1641 35 xmm0.q = xmm0.q f/ fconvert.t([rbp - 0xf8 {var_100}].q)
0x1649 36 [rbp - 0x108 {var_110}].q = xmm0.q
0x1651 37 xmm0 = zx.o([rbp - 0x108 {var_110}].q)
0x1659 38 rdi = 0x20d7 {"%.2lf"}
0x1660 39 al = 1
0x1662 40 call(0x1030)
0x1667 41 rsp = rsp + 0x110
0x166e 42 rbp = pop
0x166f 43 <return> jump(pop)
0x120f 44 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1216 45 rsi = rbp - 0xa0 {var_a8}
0x121d 46 rax = rax << 3
0x1221 47 rsi = rsi + rax
0x1224 48 rdi = 0x20d3 {"%lf"}
0x122b 49 al = 0
0x122d 50 call(0x1040)
0x1232 51 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1239 52 xmm0 = zx.o([0x2008].q)
0x1241 53 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x1241 54 flag:c = xmm0.q f< fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x1241 55 flag:z = xmm0.q f== fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x1241 56 flag:s = 0
0x1241 57 flag:o = 0
0x1241 58 flag:a = 0
0x124a 59 if (flag:z || flag:c) then 60 @ 0x1268 else 70 @ 0x1250
0x1268 60 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x126f 61 xmm0 = zx.o([rbp + (rax << 3) - 0xa0].q)
0x1278 62 xmm1 = zx.o([0x2008].q)
0x1280 63 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1280 64 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1280 65 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1280 66 flag:s = 0
0x1280 67 flag:o = 0
0x1280 68 flag:a = 0
0x1284 69 if (flag:c) then 74 @ 0x12d2 else 84 @ 0x128a
0x1250 70 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1257 71 xmm0 = 0
0x125a 72 [rbp + (rax << 3) - 0xf0].q = xmm0.q
0x1263 73 goto 93 @ 0x1605
0x12d2 74 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x12d9 75 xmm0 = zx.o([rbp + (rax << 3) - 0xa0].q)
0x12e2 76 xmm1 = zx.o([0x2018].q)
0x12ea 77 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x12ea 78 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x12ea 79 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x12ea 80 flag:s = 0
0x12ea 81 flag:o = 0
0x12ea 82 flag:a = 0
0x12ee 83 if (flag:c) then 101 @ 0x133c else 111 @ 0x12f4
0x128a 84 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1291 85 xmm0 = zx.o([0x2010].q)
0x1299 86 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x1299 87 flag:c = xmm0.q f< fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x1299 88 flag:z = xmm0.q f== fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x1299 89 flag:s = 0
0x1299 90 flag:o = 0
0x1299 91 flag:a = 0
0x12a2 92 if (flag:c) then 74 @ 0x12d2 else 120 @ 0x12a8
0x1605 93 xmm0 = zx.o([rbp - 0x100 {var_108}].q)
0x160d 94 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1614 95 xmm0.q = xmm0.q f+ fconvert.t([rbp + (rax << 3) - 0xf0].q)
0x161d 96 [rbp - 0x100 {var_108}].q = xmm0.q
0x1625 97 eax = [rbp - 0x10c {var_114_1}].d
0x162b 98 eax = eax + 1
0x162e 99 [rbp - 0x10c {var_114_1}].d = eax
0x1634 100 goto 32 @ 0x11fd
0x133c 101 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1343 102 xmm0 = zx.o([rbp + (rax << 3) - 0xa0].q)
0x134c 103 xmm1 = zx.o([0x2028].q)
0x1354 104 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1354 105 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1354 106 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1354 107 flag:s = 0
0x1354 108 flag:o = 0
0x1354 109 flag:a = 0
0x1358 110 if (flag:c) then 126 @ 0x13a6 else 136 @ 0x135e
0x12f4 111 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x12fb 112 xmm0 = zx.o([0x2020].q)
0x1303 113 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x1303 114 flag:c = xmm0.q f< fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x1303 115 flag:z = xmm0.q f== fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x1303 116 flag:s = 0
0x1303 117 flag:o = 0
0x1303 118 flag:a = 0
0x130c 119 if (flag:c) then 101 @ 0x133c else 145 @ 0x1312
0x12a8 120 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x12af 121 xmm0 = zx.o([0x20c8].q)
0x12b7 122 xmm0.q = xmm0.q f* fconvert.t([rbp + (rax << 3) - 0x50].q)
0x12bd 123 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x12c4 124 [rbp + (rax << 3) - 0xf0].q = xmm0.q
0x12cd 125 goto 151 @ 0x1600
0x13a6 126 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x13ad 127 xmm0 = zx.o([rbp + (rax << 3) - 0xa0].q)
0x13b6 128 xmm1 = zx.o([0x2038].q)
0x13be 129 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x13be 130 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x13be 131 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x13be 132 flag:s = 0
0x13be 133 flag:o = 0
0x13be 134 flag:a = 0
0x13c2 135 if (flag:c) then 152 @ 0x1410 else 162 @ 0x13c8
0x135e 136 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1365 137 xmm0 = zx.o([0x2030].q)
0x136d 138 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x136d 139 flag:c = xmm0.q f< fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x136d 140 flag:z = xmm0.q f== fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x136d 141 flag:s = 0
0x136d 142 flag:o = 0
0x136d 143 flag:a = 0
0x1376 144 if (flag:c) then 126 @ 0x13a6 else 171 @ 0x137c
0x1312 145 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1319 146 xmm0 = zx.o([0x20c0].q)
0x1321 147 xmm0.q = xmm0.q f* fconvert.t([rbp + (rax << 3) - 0x50].q)
0x1327 148 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x132e 149 [rbp + (rax << 3) - 0xf0].q = xmm0.q
0x1337 150 goto 177 @ 0x15fb
0x1600 151 goto 93 @ 0x1605
0x1410 152 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1417 153 xmm0 = zx.o([rbp + (rax << 3) - 0xa0].q)
0x1420 154 xmm1 = zx.o([0x2048].q)
0x1428 155 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1428 156 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1428 157 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1428 158 flag:s = 0
0x1428 159 flag:o = 0
0x1428 160 flag:a = 0
0x142c 161 if (flag:c) then 178 @ 0x147a else 188 @ 0x1432
0x13c8 162 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x13cf 163 xmm0 = zx.o([0x2040].q)
0x13d7 164 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x13d7 165 flag:c = xmm0.q f< fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x13d7 166 flag:z = xmm0.q f== fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x13d7 167 flag:s = 0
0x13d7 168 flag:o = 0
0x13d7 169 flag:a = 0
0x13e0 170 if (flag:c) then 152 @ 0x1410 else 197 @ 0x13e6
0x137c 171 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1383 172 xmm0 = zx.o([0x20b8].q)
0x138b 173 xmm0.q = xmm0.q f* fconvert.t([rbp + (rax << 3) - 0x50].q)
0x1391 174 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1398 175 [rbp + (rax << 3) - 0xf0].q = xmm0.q
0x13a1 176 goto 203 @ 0x15f6
0x15fb 177 goto 151 @ 0x1600
0x147a 178 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1481 179 xmm0 = zx.o([rbp + (rax << 3) - 0xa0].q)
0x148a 180 xmm1 = zx.o([0x2058].q)
0x1492 181 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1492 182 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1492 183 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1492 184 flag:s = 0
0x1492 185 flag:o = 0
0x1492 186 flag:a = 0
0x1496 187 if (flag:c) then 204 @ 0x14e4 else 214 @ 0x149c
0x1432 188 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1439 189 xmm0 = zx.o([0x2050].q)
0x1441 190 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x1441 191 flag:c = xmm0.q f< fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x1441 192 flag:z = xmm0.q f== fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x1441 193 flag:s = 0
0x1441 194 flag:o = 0
0x1441 195 flag:a = 0
0x144a 196 if (flag:c) then 178 @ 0x147a else 223 @ 0x1450
0x13e6 197 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x13ed 198 xmm0 = zx.o([0x20b0].q)
0x13f5 199 xmm0.q = xmm0.q f* fconvert.t([rbp + (rax << 3) - 0x50].q)
0x13fb 200 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1402 201 [rbp + (rax << 3) - 0xf0].q = xmm0.q
0x140b 202 goto 229 @ 0x15f1
0x15f6 203 goto 177 @ 0x15fb
0x14e4 204 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x14eb 205 xmm0 = zx.o([rbp + (rax << 3) - 0xa0].q)
0x14f4 206 xmm1 = zx.o([0x2068].q)
0x14fc 207 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x14fc 208 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x14fc 209 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x14fc 210 flag:s = 0
0x14fc 211 flag:o = 0
0x14fc 212 flag:a = 0
0x1500 213 if (flag:c) then 230 @ 0x154e else 240 @ 0x1506
0x149c 214 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x14a3 215 xmm0 = zx.o([0x2060].q)
0x14ab 216 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x14ab 217 flag:c = xmm0.q f< fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x14ab 218 flag:z = xmm0.q f== fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x14ab 219 flag:s = 0
0x14ab 220 flag:o = 0
0x14ab 221 flag:a = 0
0x14b4 222 if (flag:c) then 204 @ 0x14e4 else 249 @ 0x14ba
0x1450 223 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1457 224 xmm0 = zx.o([0x20a8].q)
0x145f 225 xmm0.q = xmm0.q f* fconvert.t([rbp + (rax << 3) - 0x50].q)
0x1465 226 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x146c 227 [rbp + (rax << 3) - 0xf0].q = xmm0.q
0x1475 228 goto 255 @ 0x15ec
0x15f1 229 goto 203 @ 0x15f6
0x154e 230 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1555 231 xmm0 = zx.o([rbp + (rax << 3) - 0xa0].q)
0x155e 232 xmm1 = zx.o([0x2078].q)
0x1566 233 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1566 234 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1566 235 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1566 236 flag:s = 0
0x1566 237 flag:o = 0
0x1566 238 flag:a = 0
0x156a 239 if (flag:c) then 256 @ 0x15b8 else 262 @ 0x1570
0x1506 240 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x150d 241 xmm0 = zx.o([0x2070].q)
0x1515 242 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x1515 243 flag:c = xmm0.q f< fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x1515 244 flag:z = xmm0.q f== fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x1515 245 flag:s = 0
0x1515 246 flag:o = 0
0x1515 247 flag:a = 0
0x151e 248 if (flag:c) then 230 @ 0x154e else 271 @ 0x1524
0x14ba 249 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x14c1 250 xmm0 = zx.o([0x20a0].q)
0x14c9 251 xmm0.q = xmm0.q f* fconvert.t([rbp + (rax << 3) - 0x50].q)
0x14cf 252 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x14d6 253 [rbp + (rax << 3) - 0xf0].q = xmm0.q
0x14df 254 goto 277 @ 0x15e7
0x15ec 255 goto 229 @ 0x15f1
0x15b8 256 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x15bf 257 xmm0 = zx.o([0x2088].q)
0x15c7 258 xmm0.q = xmm0.q f* fconvert.t([rbp + (rax << 3) - 0x50].q)
0x15cd 259 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x15d4 260 [rbp + (rax << 3) - 0xf0].q = xmm0.q
0x15d4 261 goto 278 @ 0x15dd
0x1570 262 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1577 263 xmm0 = zx.o([0x2080].q)
0x157f 264 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x157f 265 flag:c = xmm0.q f< fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x157f 266 flag:z = xmm0.q f== fconvert.t([rbp + (rax << 3) - 0xa0].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0xa0].q))
0x157f 267 flag:s = 0
0x157f 268 flag:o = 0
0x157f 269 flag:a = 0
0x1588 270 if (flag:c) then 256 @ 0x15b8 else 279 @ 0x158e
0x1524 271 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x152b 272 xmm0 = zx.o([0x2098].q)
0x1533 273 xmm0.q = xmm0.q f* fconvert.t([rbp + (rax << 3) - 0x50].q)
0x1539 274 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1540 275 [rbp + (rax << 3) - 0xf0].q = xmm0.q
0x1549 276 goto 285 @ 0x15e2
0x15e7 277 goto 255 @ 0x15ec
0x15dd 278 goto 285 @ 0x15e2
0x158e 279 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x1595 280 xmm0 = zx.o([0x2090].q)
0x159d 281 xmm0.q = xmm0.q f* fconvert.t([rbp + (rax << 3) - 0x50].q)
0x15a3 282 rax = sx.q([rbp - 0x10c {var_114_1}].d)
0x15aa 283 [rbp + (rax << 3) - 0xf0].q = xmm0.q
0x15b3 284 goto 278 @ 0x15dd
0x15e2 285 goto 277 @ 0x15e7
int64_t _fini():
0x1674 0 rsp = rsp - 8
0x1678 1 rsp = rsp + 8
0x167c 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 - 0x2140
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 rdi = 0x2004 {"%d"}
0x1169 5 rsi = rbp - 0x2138 {var_2140}
0x1170 6 al = 0
0x1172 7 call(0x1040)
0x1177 8 [rbp - 0x2134 {var_213c}].d = 0
0x1177 9 goto 10 @ 0x1181
0x1181 10 eax = [rbp - 0x2134 {var_213c}].d
0x118d 11 if (eax s>= [rbp - 0x2138 {var_2140}].d) then 12 @ 0x1470 else 16 @ 0x1193
0x1470 12 [rbp - 0x213c {var_2144}].d = 0
0x147a 13 [rbp - 0x2140 {var_2148}].d = 0
0x1484 14 [rbp - 0x2134 {var_213c_1}].d = 0
0x1484 15 goto 73 @ 0x148e
0x1193 16 rax = sx.q([rbp - 0x2134 {var_213c}].d)
0x119a 17 rsi = rbp - 0x2130 {var_2138}
0x11a1 18 rax = rax * 0x54
0x11a5 19 rsi = rsi + rax
0x11a8 20 rdi = 0x2007 {"%s"}
0x11af 21 al = 0
0x11b1 22 call(0x1040)
0x11b6 23 rax = sx.q([rbp - 0x2134 {var_213c}].d)
0x11bd 24 rsi = rbp - 0x2130 {var_2138}
0x11c4 25 rax = rax * 0x54
0x11c8 26 rsi = rsi + rax
0x11cb 27 rsi = rsi + 0x18
0x11cf 28 rdi = 0x2004 {"%d"}
0x11d6 29 al = 0
0x11d8 30 call(0x1040)
0x11dd 31 rax = sx.q([rbp - 0x2134 {var_213c}].d)
0x11e4 32 rsi = rbp - 0x2130 {var_2138}
0x11eb 33 rax = rax * 0x54
0x11ef 34 rsi = rsi + rax
0x11f2 35 rsi = rsi + 0x1c
0x11f6 36 rdi = 0x2004 {"%d"}
0x11fd 37 al = 0
0x11ff 38 call(0x1040)
0x1204 39 rax = sx.q([rbp - 0x2134 {var_213c}].d)
0x120b 40 rsi = rbp - 0x2130 {var_2138}
0x1212 41 rax = rax * 0x54
0x1216 42 rsi = rsi + rax
0x1219 43 rsi = rsi + 0x20
0x121d 44 rdi = 0x2007 {"%s"}
0x1224 45 al = 0
0x1226 46 call(0x1040)
0x122b 47 rax = sx.q([rbp - 0x2134 {var_213c}].d)
0x1232 48 rsi = rbp - 0x2130 {var_2138}
0x1239 49 rax = rax * 0x54
0x123d 50 rsi = rsi + rax
0x1240 51 rsi = rsi + 0x35
0x1244 52 rdi = 0x2007 {"%s"}
0x124b 53 al = 0
0x124d 54 call(0x1040)
0x1252 55 rax = sx.q([rbp - 0x2134 {var_213c}].d)
0x1259 56 rsi = rbp - 0x2130 {var_2138}
0x1260 57 rax = rax * 0x54
0x1264 58 rsi = rsi + rax
0x1267 59 rsi = rsi + 0x4c
0x126b 60 rdi = 0x2004 {"%d"}
0x1272 61 al = 0
0x1274 62 call(0x1040)
0x1279 63 rcx = sx.q([rbp - 0x2134 {var_213c}].d)
0x1280 64 rax = rbp - 0x2130 {var_2138}
0x1287 65 rcx = rcx * 0x54
0x128b 66 rax = rax + rcx
0x128e 67 [rax + 0x50].d = 0
0x1295 68 rcx = sx.q([rbp - 0x2134 {var_213c}].d)
0x129c 69 rax = rbp - 0x2130 {var_2138}
0x12a3 70 rcx = rcx * 0x54
0x12a7 71 rax = rax + rcx
0x12ae 72 if ([rax + 0x18].d s<= 0x50) then 75 @ 0x12f4 else 80 @ 0x12b4
0x148e 73 eax = [rbp - 0x2134 {var_213c_1}].d
0x149a 74 if (eax s>= [rbp - 0x2138 {var_2140}].d) then 85 @ 0x151a else 108 @ 0x14a0
0x12f4 75 rcx = sx.q([rbp - 0x2134 {var_213c}].d)
0x12fb 76 rax = rbp - 0x2130 {var_2138}
0x1302 77 rcx = rcx * 0x54
0x1306 78 rax = rax + rcx
0x130d 79 if ([rax + 0x18].d s<= 0x55) then 118 @ 0x1353 else 123 @ 0x1313
0x12b4 80 rcx = sx.q([rbp - 0x2134 {var_213c}].d)
0x12bb 81 rax = rbp - 0x2130 {var_2138}
0x12c2 82 rcx = rcx * 0x54
0x12c6 83 rax = rax + rcx
0x12cd 84 if ([rax + 0x4c].d s<= 0) then 75 @ 0x12f4 else 128 @ 0x12d3
0x151a 85 rax = sx.q([rbp - 0x213c {var_2144}].d)
0x1521 86 rsi = rbp - 0x2130 {var_2138}
0x1528 87 rax = rax * 0x54
0x152c 88 rsi = rsi + rax
0x152f 89 rdi = 0x200a {"%s\n"}
0x1536 90 al = 0
0x1538 91 call(0x1030)
0x153d 92 rcx = sx.q([rbp - 0x213c {var_2144}].d)
0x1544 93 rax = rbp - 0x2130 {var_2138}
0x154b 94 rcx = rcx * 0x54
0x154f 95 rax = rax + rcx
0x1552 96 esi = [rax + 0x50].d
0x1555 97 rdi = 0x200e {"%d\n"}
0x155c 98 al = 0
0x155e 99 call(0x1030)
0x1563 100 esi = [rbp - 0x2140 {var_2148}].d
0x1569 101 rdi = 0x200e {"%d\n"}
0x1570 102 al = 0
0x1572 103 call(0x1030)
0x1577 104 eax = 0
0x1579 105 rsp = rsp + 0x2140
0x1580 106 rbp = pop
0x1581 107 <return> jump(pop)
0x14a0 108 rcx = sx.q([rbp - 0x2134 {var_213c_1}].d)
0x14a7 109 rax = rbp - 0x2130 {var_2138}
0x14ae 110 rcx = rcx * 0x54
0x14b2 111 rax = rax + rcx
0x14b5 112 eax = [rax + 0x50].d
0x14b8 113 rdx = sx.q([rbp - 0x213c {var_2144}].d)
0x14bf 114 rcx = rbp - 0x2130 {var_2138}
0x14c6 115 rdx = rdx * 0x54
0x14ca 116 rcx = rcx + rdx
0x14d0 117 if (eax s<= [rcx + 0x50].d) then 136 @ 0x14e2 else 147 @ 0x14d6
0x1353 118 rcx = sx.q([rbp - 0x2134 {var_213c}].d)
0x135a 119 rax = rbp - 0x2130 {var_2138}
0x1361 120 rcx = rcx * 0x54
0x1365 121 rax = rax + rcx
0x136c 122 if ([rax + 0x18].d s<= 0x5a) then 150 @ 0x1393 else 155 @ 0x1372
0x1313 123 rcx = sx.q([rbp - 0x2134 {var_213c}].d)
0x131a 124 rax = rbp - 0x2130 {var_2138}
0x1321 125 rcx = rcx * 0x54
0x1325 126 rax = rax + rcx
0x132c 127 if ([rax + 0x1c].d s<= 0x50) then 118 @ 0x1353 else 163 @ 0x1332
0x12d3 128 rcx = sx.q([rbp - 0x2134 {var_213c}].d)
0x12da 129 rax = rbp - 0x2130 {var_2138}
0x12e1 130 rcx = rcx * 0x54
0x12e5 131 rax = rax + rcx
0x12e8 132 ecx = [rax + 0x50].d
0x12eb 133 ecx = ecx + 0x1f40
0x12f1 134 [rax + 0x50].d = ecx
0x12f1 135 goto 75 @ 0x12f4
0x14e2 136 eax = [rbp - 0x2140 {var_2148}].d
0x14e8 137 rdx = sx.q([rbp - 0x2134 {var_213c_1}].d)
0x14ef 138 rcx = rbp - 0x2130 {var_2138}
0x14f6 139 rdx = rdx * 0x54
0x14fa 140 rcx = rcx + rdx
0x14fd 141 eax = eax + [rcx + 0x50].d
0x1500 142 [rbp - 0x2140 {var_2148}].d = eax
0x1506 143 eax = [rbp - 0x2134 {var_213c_1}].d
0x150c 144 eax = eax + 1
0x150f 145 [rbp - 0x2134 {var_213c_1}].d = eax
0x1515 146 goto 73 @ 0x148e
0x14d6 147 eax = [rbp - 0x2134 {var_213c_1}].d
0x14dc 148 [rbp - 0x213c {var_2144}].d = eax
0x14dc 149 goto 136 @ 0x14e2
0x1393 150 rcx = sx.q([rbp - 0x2134 {var_213c}].d)
0x139a 151 rax = rbp - 0x2130 {var_2138}
0x13a1 152 rcx = rcx * 0x54
0x13a5 153 rax = rax + rcx
0x13ac 154 if ([rax + 0x18].d s<= 0x55) then 171 @ 0x13f5 else 176 @ 0x13b2
0x1372 155 rcx = sx.q([rbp - 0x2134 {var_213c}].d)
0x1379 156 rax = rbp - 0x2130 {var_2138}
0x1380 157 rcx = rcx * 0x54
0x1384 158 rax = rax + rcx
0x1387 159 ecx = [rax + 0x50].d
0x138a 160 ecx = ecx + 0x7d0
0x1390 161 [rax + 0x50].d = ecx
0x1390 162 goto 150 @ 0x1393
0x1332 163 rcx = sx.q([rbp - 0x2134 {var_213c}].d)
0x1339 164 rax = rbp - 0x2130 {var_2138}
0x1340 165 rcx = rcx * 0x54
0x1344 166 rax = rax + rcx
0x1347 167 ecx = [rax + 0x50].d
0x134a 168 ecx = ecx + 0xfa0
0x1350 169 [rax + 0x50].d = ecx
0x1350 170 goto 118 @ 0x1353
0x13f5 171 rcx = sx.q([rbp - 0x2134 {var_213c}].d)
0x13fc 172 rax = rbp - 0x2130 {var_2138}
0x1403 173 rcx = rcx * 0x54
0x1407 174 rax = rax + rcx
0x140e 175 if ([rax + 0x1c].d s<= 0x50) then 182 @ 0x1457 else 183 @ 0x1414
0x13b2 176 rcx = sx.q([rbp - 0x2134 {var_213c}].d)
0x13b9 177 rax = rbp - 0x2130 {var_2138}
0x13c0 178 rcx = rcx * 0x54
0x13c4 179 rax = rax + rcx
0x13c7 180 eax = sx.d([rax + 0x35].b)
0x13ce 181 if (eax != 0x59) then 171 @ 0x13f5 else 189 @ 0x13d4
0x1457 182 goto 197 @ 0x145c
0x1414 183 rcx = sx.q([rbp - 0x2134 {var_213c}].d)
0x141b 184 rax = rbp - 0x2130 {var_2138}
0x1422 185 rcx = rcx * 0x54
0x1426 186 rax = rax + rcx
0x1429 187 eax = sx.d([rax + 0x20].b)
0x1430 188 if (eax != 0x59) then 182 @ 0x1457 else 201 @ 0x1436
0x13d4 189 rcx = sx.q([rbp - 0x2134 {var_213c}].d)
0x13db 190 rax = rbp - 0x2130 {var_2138}
0x13e2 191 rcx = rcx * 0x54
0x13e6 192 rax = rax + rcx
0x13e9 193 ecx = [rax + 0x50].d
0x13ec 194 ecx = ecx + 0x3e8
0x13f2 195 [rax + 0x50].d = ecx
0x13f2 196 goto 171 @ 0x13f5
0x145c 197 eax = [rbp - 0x2134 {var_213c}].d
0x1462 198 eax = eax + 1
0x1465 199 [rbp - 0x2134 {var_213c}].d = eax
0x146b 200 goto 10 @ 0x1181
0x1436 201 rcx = sx.q([rbp - 0x2134 {var_213c}].d)
0x143d 202 rax = rbp - 0x2130 {var_2138}
0x1444 203 rcx = rcx * 0x54
0x1448 204 rax = rax + rcx
0x144b 205 ecx = [rax + 0x50].d
0x144e 206 ecx = ecx + 0x352
0x1454 207 [rax + 0x50].d = ecx
0x1454 208 goto 182 @ 0x1457
int64_t _fini():
0x1588 0 rsp = rsp - 8
0x158c 1 rsp = rsp + 8
0x1590 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)
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 - 0x140
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 [rbp - 0xc {var_14}].d = 0
0x1169 5 [rbp - 0x10 {var_18}].d = 0
0x1170 6 rsi = rbp - 0x140 {var_148}
0x1177 7 rdi = 0x2004 {"%s"}
0x117e 8 al = 0
0x1180 9 call(0x1040)
0x1185 10 [rbp - 0x11 {var_19}].b = 0x41 {""}
0x1185 11 goto 12 @ 0x1189
0x1189 12 eax = sx.d([rbp - 0x11 {var_19}].b)
0x1190 13 if (eax s> 0x5a) then 14 @ 0x1249 else 16 @ 0x1196
0x1249 14 [rbp - 0x11 {var_19_1}].b = 0x61 {""}
0x1249 15 goto 19 @ 0x124d
0x1196 16 [rbp - 0x10 {var_18_1}].d = 0
0x119d 17 [rbp - 8 {var_10_1}].d = 0
0x119d 18 goto 21 @ 0x11ab
0x124d 19 eax = sx.d([rbp - 0x11 {var_19_1}].b)
0x1254 20 if (eax s> 0x7a) then 22 @ 0x1311 else 23 @ 0x125a
0x11ab 21 if ([rbp - 8 {var_10_1}].d s>= 0x12c) then 26 @ 0x1206 else 27 @ 0x11b1
0x1311 22 if ([rbp - 0xc {var_14}].d != 0) then 32 @ 0x1325 else 36 @ 0x1317
0x125a 23 [rbp - 0x10 {var_18_2}].d = 0
0x1261 24 [rbp - 8 {var_10_2}].d = 0
0x1261 25 goto 40 @ 0x126f
0x1206 26 if ([rbp - 0x10 {var_18_1}].d != 0) then 41 @ 0x1215 else 42 @ 0x120c
0x11b1 27 rax = sx.q([rbp - 8 {var_10_1}].d)
0x11b5 28 eax = sx.d([rbp + rax - 0x140].b)
0x11bd 29 ecx = sx.d([rbp - 0x11 {var_19}].b)
0x11c1 30 eax = eax - ecx
0x11c6 31 if (eax != 0) then 43 @ 0x11d5 else 46 @ 0x11cc
0x1325 32 eax = 0
0x1327 33 rsp = rsp + 0x140
0x132e 34 rbp = pop
0x132f 35 <return> jump(pop)
0x1317 36 rdi = 0x200e {"No"}
0x131e 37 al = 0
0x1320 38 call(0x1030)
0x1320 39 goto 32 @ 0x1325
0x126f 40 if ([rbp - 8 {var_10_2}].d s>= 0x12c) then 50 @ 0x12ca else 51 @ 0x1275
0x1215 41 if ([rbp - 0x10 {var_18_1}].d s<= 0) then 56 @ 0x1237 else 57 @ 0x121b
0x120c 42 goto 64 @ 0x123c
0x11d5 43 rax = sx.q([rbp - 8 {var_10_1}].d)
0x11d9 44 eax = sx.d([rbp + rax - 0x140].b)
0x11e4 45 if (eax != 0) then 68 @ 0x11ef else 69 @ 0x11ea
0x11cc 46 eax = [rbp - 0x10 {var_18_1}].d
0x11cf 47 eax = eax + 1
0x11d2 48 [rbp - 0x10 {var_18_1}].d = eax
0x11d2 49 goto 43 @ 0x11d5
0x12ca 50 if ([rbp - 0x10 {var_18_2}].d != 0) then 70 @ 0x12d9 else 71 @ 0x12d0
0x1275 51 rax = sx.q([rbp - 8 {var_10_2}].d)
0x1279 52 eax = sx.d([rbp + rax - 0x140].b)
0x1281 53 ecx = sx.d([rbp - 0x11 {var_19_1}].b)
0x1285 54 eax = eax - ecx
0x128a 55 if (eax != 0) then 72 @ 0x1299 else 75 @ 0x1290
0x1237 56 goto 64 @ 0x123c
0x121b 57 esi = sx.d([rbp - 0x11 {var_19}].b)
0x121f 58 edx = [rbp - 0x10 {var_18_1}].d
0x1222 59 rdi = 0x2007 {"%c=%d\n"}
0x1229 60 al = 0
0x122b 61 call(0x1030)
0x1230 62 [rbp - 0xc {var_14}].d = 1
0x1230 63 goto 56 @ 0x1237
0x123c 64 al = [rbp - 0x11 {var_19}].b
0x123f 65 al = al + 1
0x1241 66 [rbp - 0x11 {var_19}].b = al
0x1244 67 goto 12 @ 0x1189
0x11ef 68 goto 79 @ 0x11f4
0x11ea 69 goto 26 @ 0x1206
0x12d9 70 if ([rbp - 0x10 {var_18_2}].d s<= 0) then 83 @ 0x12fb else 84 @ 0x12df
0x12d0 71 goto 91 @ 0x1300
0x1299 72 rax = sx.q([rbp - 8 {var_10_2}].d)
0x129d 73 eax = sx.d([rbp + rax - 0x140].b)
0x12a8 74 if (eax != 0) then 95 @ 0x12b3 else 96 @ 0x12ae
0x1290 75 eax = [rbp - 0x10 {var_18_2}].d
0x1293 76 eax = eax + 1
0x1296 77 [rbp - 0x10 {var_18_2}].d = eax
0x1296 78 goto 72 @ 0x1299
0x11f4 79 eax = [rbp - 8 {var_10_1}].d
0x11f7 80 eax = eax + 1
0x11fa 81 [rbp - 8 {var_10_1}].d = eax
0x11fd 82 goto 21 @ 0x11ab
0x12fb 83 goto 91 @ 0x1300
0x12df 84 esi = sx.d([rbp - 0x11 {var_19_1}].b)
0x12e3 85 edx = [rbp - 0x10 {var_18_2}].d
0x12e6 86 rdi = 0x2007 {"%c=%d\n"}
0x12ed 87 al = 0
0x12ef 88 call(0x1030)
0x12f4 89 [rbp - 0xc {var_14}].d = 1
0x12f4 90 goto 83 @ 0x12fb
0x1300 91 al = [rbp - 0x11 {var_19_1}].b
0x1303 92 al = al + 1
0x1305 93 [rbp - 0x11 {var_19_1}].b = al
0x1308 94 goto 19 @ 0x124d
0x12b3 95 goto 97 @ 0x12b8
0x12ae 96 goto 50 @ 0x12ca
0x12b8 97 eax = [rbp - 8 {var_10_2}].d
0x12bb 98 eax = eax + 1
0x12be 99 [rbp - 8 {var_10_2}].d = eax
0x12c1 100 goto 40 @ 0x126f
int64_t _fini():
0x1334 0 rsp = rsp - 8
0x1338 1 rsp = rsp + 8
0x133c 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 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 {"AVSPH="}
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(r14)
0x1172 1 push(rbx)
0x1173 2 push(rax)
0x1174 3 rdi = 0x2004 {"%d"}
0x117b 4 rsi = rsp + 4 {var_18+0x4}
0x1180 5 eax = 0
0x1182 6 call(0x1050)
0x1187 7 esi = [rsp + 4 {var_18+0x4}].d
0x118e 8 if (esi != 1) then 9 @ 0x11a0 else 12 @ 0x1190
0x11a0 9 r14 = 0x2007 {"%d/%d=%d\n"}
0x11a7 10 rbx = 0x2011 {"%d*%d+%d=%d\n"}
0x11ae 11 goto 16 @ 0x11e3
0x1190 12 rdi = 0x201e {"End"}
0x1197 13 eax = 0
0x1199 14 call(0x1030)
0x119e 15 goto 17 @ 0x121f
0x11e3 16 if ((sil & 1) != 0) then 28 @ 0x11b0 else 40 @ 0x11e5
0x121f 17 eax = 0
0x1221 18 call(0x1040)
0x1226 19 eax = 0
0x1228 20 call(0x1040)
0x122d 21 eax = 0
0x122f 22 call(0x1040)
0x1234 23 eax = 0
0x1236 24 rsp = rsp + 8
0x123a 25 rbx = pop
0x123b 26 r14 = pop
0x123d 27 <return> jump(pop)
0x11b0 28 r8d = (rsi + (rsi << 1)).d
0x11b4 29 r8d = r8d + 1
0x11b8 30 rdi = rbx
0x11bb 31 edx = 3
0x11c0 32 ecx = 1
0x11c5 33 eax = 0
0x11c7 34 call(0x1030)
0x11cc 35 eax = [rsp + 4 {var_18+0x4}].d
0x11d0 36 esi = (rax + (rax << 1)).d
0x11d3 37 esi = esi + 1
0x11d6 38 [rsp + 4 {var_18+0x4}].d = esi
0x11dd 39 if (esi == 1) then 55 @ 0x1213 else 16 @ 0x11e3
0x11e5 40 ecx = esi
0x11e7 41 ecx = ecx u>> 0x1f
0x11ea 42 ecx = ecx + esi
0x11ec 43 ecx = ecx s>> 1
0x11ee 44 rdi = r14
0x11f1 45 edx = 2
0x11f6 46 eax = 0
0x11f8 47 call(0x1030)
0x11fd 48 eax = [rsp + 4 {var_18+0x4}].d
0x1201 49 esi = eax
0x1203 50 esi = esi u>> 0x1f
0x1206 51 esi = esi + eax
0x1208 52 esi = esi s>> 1
0x120a 53 [rsp + 4 {var_18+0x4}].d = esi
0x1211 54 if (esi != 1) then 16 @ 0x11e3 else 55 @ 0x1213
0x1213 55 rdi = 0x201e {"End"}
0x121a 56 call(0x1060)
0x121a 57 goto 17 @ 0x121f
int64_t _fini():
0x1244 0 rsp = rsp - 8
0x1248 1 rsp = rsp + 8
0x124c 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
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 {"AVSH"}
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 - 0x108
0x116a 3 rbx = rsp {var_118}
0x116d 4 rdi = rbx {var_118}
0x1170 5 eax = 0
0x1172 6 call(0x1040)
0x1177 7 rdi = rbx {var_118}
0x117a 8 call(0x1030)
0x1181 9 if (eax s<= 0) then 10 @ 0x11b0 else 15 @ 0x1183
0x11b0 10 eax = 0
0x11b2 11 rsp = rsp + 0x108
0x11b9 12 rbx = pop
0x11ba 13 r14 = pop
0x11bc 14 <return> jump(pop)
0x1183 15 r14d = eax
0x1186 16 ebx = 0
0x1188 17 goto 18 @ 0x119e
0x119e 18 edi = sx.d([rsp + rbx].b)
0x11a5 19 if (edi != 0x20) then 20 @ 0x1190 else 22 @ 0x11ac
0x1190 20 call(0x1050)
0x1190 21 goto 23 @ 0x1195
0x11ac 22 if ([rsp + rbx - 1].b != 0x20) then 20 @ 0x1190 else 25 @ 0x11ae
0x1195 23 rbx = rbx + 1
0x119c 24 if (r14 == rbx) then 10 @ 0x11b0 else 18 @ 0x119e
0x11ae 25 goto 23 @ 0x1195
int64_t _fini():
0x11c4 0 rsp = rsp - 8
0x11c8 1 rsp = rsp + 8
0x11cc 2 <return> jump(pop)
| POJ_62 |
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 {"UHHP'"}
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 - 0x2750
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 [rbp - 0x2738 {var_2740}].d = 0
0x117c 5 [rbp - 0x273c {var_2744}].d = 0
0x1186 6 rdi = rbp - 0x1390 {var_1398}
0x118d 7 al = 0
0x118f 8 call(0x1050)
0x1194 9 [rbp - 0x2724 {var_272c}].d = 0
0x119e 10 [rbp - 0x272c {var_2734}].d = 0
0x11a8 11 [rbp - 0x2728 {var_2730}].d = 0
0x11a8 12 goto 13 @ 0x11b2
0x11b2 13 rax = sx.q([rbp - 0x2724 {var_272c}].d)
0x11b9 14 eax = sx.d([rbp + rax - 0x1390].b)
0x11c4 15 if (eax == 0) then 16 @ 0x1270 else 30 @ 0x11ca
0x1270 16 rcx = sx.q([rbp - 0x272c {var_2734}].d)
0x1277 17 rax = rbp - 0x2720 {var_2728}
0x127e 18 rcx = rcx * 0x64
0x1282 19 rax = rax + rcx
0x1285 20 rcx = sx.q([rbp - 0x2728 {var_2730}].d)
0x128c 21 [rax + rcx].b = 0
0x1290 22 rdi = rbp - 0x2720 {var_2728}
0x1297 23 call(0x1040)
0x129c 24 [rbp - 0x2730 {var_2738}].d = eax
0x12a2 25 rdi = rbp - 0x2720 {var_2728}
0x12a9 26 call(0x1040)
0x12ae 27 [rbp - 0x2734 {var_273c}].d = eax
0x12b4 28 [rbp - 0x2724 {var_272c_1}].d = 0
0x12b4 29 goto 33 @ 0x12be
0x11ca 30 rax = sx.q([rbp - 0x2724 {var_272c}].d)
0x11d1 31 eax = sx.d([rbp + rax - 0x1390].b)
0x11dc 32 if (eax != 0x20) then 35 @ 0x1220 else 47 @ 0x11e2
0x12be 33 eax = [rbp - 0x2724 {var_272c_1}].d
0x12ca 34 if (eax s> [rbp - 0x272c {var_2734}].d) then 58 @ 0x13af else 76 @ 0x12d0
0x1220 35 rax = sx.q([rbp - 0x2724 {var_272c}].d)
0x1227 36 dl = [rbp + rax - 0x1390].b
0x122e 37 rcx = sx.q([rbp - 0x272c {var_2734}].d)
0x1235 38 rax = rbp - 0x2720 {var_2728}
0x123c 39 rcx = rcx * 0x64
0x1240 40 rax = rax + rcx
0x1243 41 rcx = sx.q([rbp - 0x2728 {var_2730}].d)
0x124a 42 [rax + rcx].b = dl
0x124d 43 eax = [rbp - 0x2728 {var_2730}].d
0x1253 44 eax = eax + 1
0x1256 45 [rbp - 0x2728 {var_2730}].d = eax
0x1256 46 goto 86 @ 0x125c
0x11e2 47 rcx = sx.q([rbp - 0x272c {var_2734}].d)
0x11e9 48 rax = rbp - 0x2720 {var_2728}
0x11f0 49 rcx = rcx * 0x64
0x11f4 50 rax = rax + rcx
0x11f7 51 rcx = sx.q([rbp - 0x2728 {var_2730}].d)
0x11fe 52 [rax + rcx].b = 0
0x1202 53 eax = [rbp - 0x272c {var_2734}].d
0x1208 54 eax = eax + 1
0x120b 55 [rbp - 0x272c {var_2734}].d = eax
0x1211 56 [rbp - 0x2728 {var_2730}].d = 0
0x121b 57 goto 86 @ 0x125c
0x13af 58 rax = sx.q([rbp - 0x2738 {var_2740}].d)
0x13b6 59 rsi = rbp - 0x2720 {var_2728}
0x13bd 60 rax = rax * 0x64
0x13c1 61 rsi = rsi + rax
0x13c4 62 rdi = 0x2004 {"%s\n"}
0x13cb 63 al = 0
0x13cd 64 call(0x1030)
0x13d2 65 rax = sx.q([rbp - 0x273c {var_2744}].d)
0x13d9 66 rsi = rbp - 0x2720 {var_2728}
0x13e0 67 rax = rax * 0x64
0x13e4 68 rsi = rsi + rax
0x13e7 69 rdi = 0x2004 {"%s\n"}
0x13ee 70 al = 0
0x13f0 71 call(0x1030)
0x13f5 72 eax = 0
0x13f7 73 rsp = rsp + 0x2750
0x13fe 74 rbp = pop
0x13ff 75 <return> jump(pop)
0x12d0 76 eax = [rbp - 0x2730 {var_2738}].d
0x12d6 77 [rbp - 0x2740 {var_2748_1}].d = eax
0x12dc 78 rax = sx.q([rbp - 0x2724 {var_272c_1}].d)
0x12e3 79 rdi = rbp - 0x2720 {var_2728}
0x12ea 80 rax = rax * 0x64
0x12ee 81 rdi = rdi + rax
0x12f1 82 call(0x1040)
0x12f6 83 rcx = rax
0x12f9 84 eax = [rbp - 0x2740 {var_2748_1}].d
0x1301 85 if (eax s>= ecx) then 90 @ 0x1333 else 100 @ 0x1307
0x125c 86 eax = [rbp - 0x2724 {var_272c}].d
0x1262 87 eax = eax + 1
0x1265 88 [rbp - 0x2724 {var_272c}].d = eax
0x126b 89 goto 13 @ 0x11b2
0x1333 90 eax = [rbp - 0x2734 {var_273c}].d
0x1339 91 [rbp - 0x2744 {var_274c_1}].d = eax
0x133f 92 rax = sx.q([rbp - 0x2724 {var_272c_1}].d)
0x1346 93 rdi = rbp - 0x2720 {var_2728}
0x134d 94 rax = rax * 0x64
0x1351 95 rdi = rdi + rax
0x1354 96 call(0x1040)
0x1359 97 rcx = rax
0x135c 98 eax = [rbp - 0x2744 {var_274c_1}].d
0x1364 99 if (eax s<= ecx) then 109 @ 0x1396 else 110 @ 0x136a
0x1307 100 rax = sx.q([rbp - 0x2724 {var_272c_1}].d)
0x130e 101 rdi = rbp - 0x2720 {var_2728}
0x1315 102 rax = rax * 0x64
0x1319 103 rdi = rdi + rax
0x131c 104 call(0x1040)
0x1321 105 [rbp - 0x2730 {var_2738}].d = eax
0x1327 106 eax = [rbp - 0x2724 {var_272c_1}].d
0x132d 107 [rbp - 0x2738 {var_2740}].d = eax
0x132d 108 goto 90 @ 0x1333
0x1396 109 goto 119 @ 0x139b
0x136a 110 rax = sx.q([rbp - 0x2724 {var_272c_1}].d)
0x1371 111 rdi = rbp - 0x2720 {var_2728}
0x1378 112 rax = rax * 0x64
0x137c 113 rdi = rdi + rax
0x137f 114 call(0x1040)
0x1384 115 [rbp - 0x2734 {var_273c}].d = eax
0x138a 116 eax = [rbp - 0x2724 {var_272c_1}].d
0x1390 117 [rbp - 0x273c {var_2744}].d = eax
0x1390 118 goto 109 @ 0x1396
0x139b 119 eax = [rbp - 0x2724 {var_272c_1}].d
0x13a1 120 eax = eax + 1
0x13a4 121 [rbp - 0x2724 {var_272c_1}].d = eax
0x13aa 122 goto 33 @ 0x12be
int64_t _fini():
0x1404 0 rsp = rsp - 8
0x1408 1 rsp = rsp + 8
0x140c 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)
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 {"UHHp"}
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 - 0x9c70
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 rdi = 0x2004 {"%d%d"}
0x1169 5 rsi = rbp - 0x9c5c {var_9c64}
0x1170 6 rdx = rbp - 0x9c60 {var_9c68}
0x1177 7 al = 0
0x1179 8 call(0x1040)
0x117e 9 [rbp - 0x9c54 {var_9c5c}].d = 0
0x117e 10 goto 11 @ 0x1188
0x1188 11 eax = [rbp - 0x9c54 {var_9c5c}].d
0x1194 12 if (eax s>= [rbp - 0x9c5c {var_9c64}].d) then 13 @ 0x1217 else 15 @ 0x119a
0x1217 13 [rbp - 0x9c54 {var_9c5c_1}].d = 0
0x1217 14 goto 17 @ 0x1221
0x119a 15 [rbp - 0x9c58 {var_9c60_1}].d = 0
0x119a 16 goto 22 @ 0x11a4
0x1221 17 eax = [rbp - 0x9c54 {var_9c5c_1}].d
0x1227 18 ecx = [rbp - 0x9c5c {var_9c64}].d
0x122d 19 ecx = ecx + [rbp - 0x9c60 {var_9c68}].d
0x1233 20 ecx = ecx - 2
0x1238 21 if (eax s> ecx) then 24 @ 0x12ef else 28 @ 0x123e
0x11a4 22 eax = [rbp - 0x9c58 {var_9c60_1}].d
0x11b0 23 if (eax s>= [rbp - 0x9c60 {var_9c68}].d) then 35 @ 0x11fe else 36 @ 0x11b6
0x12ef 24 eax = 0
0x12f1 25 rsp = rsp + 0x9c70
0x12f8 26 rbp = pop
0x12f9 27 <return> jump(pop)
0x123e 28 esi = [rbp - 0x9c54 {var_9c5c_1}].d
0x1244 29 esi = esi - [rbp - 0x9c60 {var_9c68}].d
0x124a 30 esi = esi + 1
0x124d 31 edi = 0
0x124f 32 call(0x1300)
0x1254 33 [rbp - 0x9c58 {var_9c60_2}].d = eax
0x1254 34 goto 50 @ 0x125a
0x11fe 35 goto 59 @ 0x1203
0x11b6 36 rax = sx.q([rbp - 0x9c54 {var_9c5c}].d)
0x11bd 37 rsi = rbp - 0x9c50 {var_9c58}
0x11c4 38 rax = rax * 0x190
0x11cb 39 rsi = rsi + rax
0x11ce 40 rax = sx.q([rbp - 0x9c58 {var_9c60_1}].d)
0x11d5 41 rax = rax << 2
0x11d9 42 rsi = rsi + rax
0x11dc 43 rdi = 0x2006 {"%d"}
0x11e3 44 al = 0
0x11e5 45 call(0x1040)
0x11ea 46 eax = [rbp - 0x9c58 {var_9c60_1}].d
0x11f0 47 eax = eax + 1
0x11f3 48 [rbp - 0x9c58 {var_9c60_1}].d = eax
0x11f9 49 goto 22 @ 0x11a4
0x125a 50 eax = [rbp - 0x9c58 {var_9c60_2}].d
0x1260 51 [rbp - 0x9c6c {var_9c74_1}].d = eax
0x1266 52 edi = [rbp - 0x9c5c {var_9c64}].d
0x126c 53 edi = edi - 1
0x126f 54 esi = [rbp - 0x9c54 {var_9c5c_1}].d
0x1275 55 call(0x1330)
0x127a 56 ecx = eax
0x127c 57 eax = [rbp - 0x9c6c {var_9c74_1}].d
0x1284 58 if (eax s> ecx) then 63 @ 0x12d6 else 64 @ 0x128a
0x1203 59 eax = [rbp - 0x9c54 {var_9c5c}].d
0x1209 60 eax = eax + 1
0x120c 61 [rbp - 0x9c54 {var_9c5c}].d = eax
0x1212 62 goto 11 @ 0x1188
0x12d6 63 goto 79 @ 0x12db
0x128a 64 rcx = sx.q([rbp - 0x9c58 {var_9c60_2}].d)
0x1291 65 rax = rbp - 0x9c50 {var_9c58}
0x1298 66 rcx = rcx * 0x190
0x129f 67 rax = rax + rcx
0x12a2 68 ecx = [rbp - 0x9c54 {var_9c5c_1}].d
0x12a8 69 ecx = ecx - [rbp - 0x9c58 {var_9c60_2}].d
0x12ae 70 rcx = sx.q(ecx)
0x12b1 71 esi = [rax + (rcx << 2)].d
0x12b4 72 rdi = 0x2009 {"%d\n"}
0x12bb 73 al = 0
0x12bd 74 call(0x1030)
0x12c2 75 eax = [rbp - 0x9c58 {var_9c60_2}].d
0x12c8 76 eax = eax + 1
0x12cb 77 [rbp - 0x9c58 {var_9c60_2}].d = eax
0x12d1 78 goto 50 @ 0x125a
0x12db 79 eax = [rbp - 0x9c54 {var_9c5c_1}].d
0x12e1 80 eax = eax + 1
0x12e4 81 [rbp - 0x9c54 {var_9c5c_1}].d = eax
0x12ea 82 goto 17 @ 0x1221
uint64_t max(int32_t arg1, int32_t arg2):
0x1300 0 push(rbp)
0x1301 1 rbp = rsp {__saved_rbp}
0x1304 2 [rbp - 4 {var_c}].d = edi
0x1307 3 [rbp - 8 {var_10}].d = esi
0x130a 4 eax = [rbp - 4 {var_c}].d
0x1310 5 if (eax s<= [rbp - 8 {var_10}].d) then 6 @ 0x1321 else 9 @ 0x1316
0x1321 6 eax = [rbp - 8 {var_10}].d
0x1324 7 [rbp - 0xc {var_14}].d = eax
0x1324 8 goto 12 @ 0x1327
0x1316 9 eax = [rbp - 4 {var_c}].d
0x1319 10 [rbp - 0xc {var_14}].d = eax
0x131c 11 goto 12 @ 0x1327
0x1327 12 eax = [rbp - 0xc {var_14}].d
0x132a 13 rbp = pop
0x132b 14 <return> jump(pop)
uint64_t min(int32_t arg1, int32_t arg2):
0x1330 0 push(rbp)
0x1331 1 rbp = rsp {__saved_rbp}
0x1334 2 [rbp - 4 {var_c}].d = edi
0x1337 3 [rbp - 8 {var_10}].d = esi
0x133a 4 eax = [rbp - 4 {var_c}].d
0x1340 5 if (eax s>= [rbp - 8 {var_10}].d) then 6 @ 0x1351 else 9 @ 0x1346
0x1351 6 eax = [rbp - 8 {var_10}].d
0x1354 7 [rbp - 0xc {var_14}].d = eax
0x1354 8 goto 12 @ 0x1357
0x1346 9 eax = [rbp - 4 {var_c}].d
0x1349 10 [rbp - 0xc {var_14}].d = eax
0x134c 11 goto 12 @ 0x1357
0x1357 12 eax = [rbp - 0xc {var_14}].d
0x135a 13 rbp = pop
0x135b 14 <return> jump(pop)
int64_t _fini():
0x1360 0 rsp = rsp - 8
0x1364 1 rsp = rsp + 8
0x1368 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)
void free(void* mem):
0x1040 0 <return> tailcall([0x4020].q)
uint64_t strlen(char const* arg1):
0x1050 0 <return> tailcall([0x4028].q)
char* gets(char* buf):
0x1060 0 <return> tailcall([0x4030].q)
int32_t strcmp(char const* arg1, char const* arg2):
0x1070 0 <return> tailcall([0x4038].q)
int64_t malloc(uint64_t bytes):
0x1080 0 <return> tailcall([0x4040].q)
void __cxa_finalize(void* d):
0x1090 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x10a4 0 ebp = 0
0x10a6 1 r9 = rdx
0x10a9 2 rsi = pop
0x10aa 3 rdx = rsp {arg_8}
0x10ad 4 rsp = rsp & 0xfffffffffffffff0
0x10b1 5 push(rax)
0x10b2 6 push(rsp)
0x10b3 7 r8d = 0
0x10b6 8 ecx = 0
0x10b8 9 rdi = 0x1190 {"UHH0E"}
0x10bf 10 call([0x3ff8].q)
0x10bf 11 noreturn
void deregister_tm_clones():
0x10d0 0 rdi = 0x4058 {""}
0x10d7 1 rax = 0x4058 {""}
0x10e1 2 if (rax == rdi) then 3 @ 0x10f8 else 4 @ 0x10e3
0x10f8 3 <return> jump(pop)
0x10e3 4 rax = [0x3fd8].q
0x10ed 5 if (rax == 0) then 3 @ 0x10f8 else 6 @ 0x10ef
0x10ef 6 <return> tailcall(rax)
void register_tm_clones():
0x1100 0 rdi = 0x4058 {""}
0x1107 1 rsi = 0x4058 {""}
0x110e 2 rsi = rsi - rdi
0x1111 3 rax = rsi
0x1114 4 rsi = rsi u>> 0x3f
0x1118 5 rax = rax s>> 3
0x111c 6 rsi = rsi + rax
0x111f 7 rsi = rsi s>> 1
0x1122 8 if (rsi == 0) then 9 @ 0x1138 else 10 @ 0x1124
0x1138 9 <return> jump(pop)
0x1124 10 rax = [0x3ff0].q
0x112e 11 if (rax == 0) then 9 @ 0x1138 else 12 @ 0x1130
0x1130 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x114b 0 if ([0x4058].b != 0) then 1 @ 0x1178 else 2 @ 0x114d
0x1178 1 <return> jump(pop)
0x114d 2 push(rbp)
0x114e 3 cond:0 = [0x3fe0].q == 0
0x1156 4 rbp = rsp {__saved_rbp}
0x1159 5 if (cond:0) then 6 @ 0x1167 else 10 @ 0x115b
0x1167 6 call(0x10d0)
0x116c 7 [0x4058].b = 1
0x1173 8 rbp = pop
0x1174 9 <return> jump(pop)
0x115b 10 rdi = [0x4050].q
0x1162 11 call(0x1090)
0x1162 12 goto 6 @ 0x1167
int64_t frame_dummy():
0x1184 0 <return> tailcall(0x1100)
int32_t main(int32_t argc, char** argv, char** envp):
0x1190 0 push(rbp)
0x1191 1 rbp = rsp {__saved_rbp}
0x1194 2 rsp = rsp - 0x30
0x1198 3 [rbp - 4 {var_c}].d = 0
0x119f 4 edi = 0x140 {""}
0x11a4 5 call(0x1080)
0x11a9 6 [rbp - 0x10 {var_18}].q = rax
0x11ad 7 edi = 0x140 {""}
0x11b2 8 call(0x1080)
0x11b7 9 [rbp - 0x18 {var_20}].q = rax
0x11bb 10 rdi = [rbp - 0x10 {var_18}].q
0x11bf 11 al = 0
0x11c1 12 call(0x1060)
0x11c6 13 rdi = [rbp - 0x18 {var_20}].q
0x11ca 14 al = 0
0x11cc 15 call(0x1060)
0x11d1 16 rdi = [rbp - 0x10 {var_18}].q
0x11d5 17 call(0x1050)
0x11da 18 [rbp - 0x1c {var_24}].d = eax
0x11dd 19 rdi = [rbp - 0x18 {var_20}].q
0x11e1 20 call(0x1050)
0x11e6 21 [rbp - 0x20 {var_28}].d = eax
0x11e9 22 eax = [rbp - 0x1c {var_24}].d
0x11ef 23 if (eax s<= [rbp - 0x20 {var_28}].d) then 24 @ 0x1200 else 27 @ 0x11f5
0x1200 24 eax = [rbp - 0x20 {var_28}].d
0x1203 25 [rbp - 0x2c {var_34}].d = eax
0x1203 26 goto 30 @ 0x1206
0x11f5 27 eax = [rbp - 0x1c {var_24}].d
0x11f8 28 [rbp - 0x2c {var_34}].d = eax
0x11fb 29 goto 30 @ 0x1206
0x1206 30 eax = [rbp - 0x2c {var_34}].d
0x1209 31 [rbp - 0x28 {var_30}].d = eax
0x120c 32 [rbp - 0x24 {var_2c}].d = 0
0x120c 33 goto 34 @ 0x1213
0x1213 34 eax = [rbp - 0x24 {var_2c}].d
0x1219 35 if (eax s>= [rbp - 0x28 {var_30}].d) then 36 @ 0x12c4 else 40 @ 0x121f
0x12c4 36 rdi = [rbp - 0x10 {var_18}].q
0x12c8 37 rsi = [rbp - 0x18 {var_20}].q
0x12cc 38 call(0x1070)
0x12d4 39 if (eax s<= 0) then 44 @ 0x12ed else 48 @ 0x12da
0x121f 40 rax = [rbp - 0x10 {var_18}].q
0x1223 41 rcx = sx.q([rbp - 0x24 {var_2c}].d)
0x1227 42 eax = sx.d([rax + rcx].b)
0x122e 43 if (eax s< 0x41) then 52 @ 0x1268 else 56 @ 0x1234
0x12ed 44 rdi = [rbp - 0x10 {var_18}].q
0x12f1 45 rsi = [rbp - 0x18 {var_20}].q
0x12f5 46 call(0x1070)
0x12fd 47 if (eax != 0) then 60 @ 0x1316 else 64 @ 0x1303
0x12da 48 rdi = 0x2004 {">\n"}
0x12e1 49 al = 0
0x12e3 50 call(0x1030)
0x12e8 51 goto 68 @ 0x1329
0x1268 52 rax = [rbp - 0x18 {var_20}].q
0x126c 53 rcx = sx.q([rbp - 0x24 {var_2c}].d)
0x1270 54 eax = sx.d([rax + rcx].b)
0x1277 55 if (eax s< 0x41) then 76 @ 0x12b1 else 77 @ 0x127d
0x1234 56 rax = [rbp - 0x10 {var_18}].q
0x1238 57 rcx = sx.q([rbp - 0x24 {var_2c}].d)
0x123c 58 eax = sx.d([rax + rcx].b)
0x1243 59 if (eax s> 0x5a) then 52 @ 0x1268 else 81 @ 0x1249
0x1316 60 rdi = 0x200a {"<\n"}
0x131d 61 al = 0
0x131f 62 call(0x1030)
0x131f 63 goto 91 @ 0x1324
0x1303 64 rdi = 0x2007 {"=\n"}
0x130a 65 al = 0
0x130c 66 call(0x1030)
0x1311 67 goto 91 @ 0x1324
0x1329 68 rdi = [rbp - 0x10 {var_18}].q
0x132d 69 call(0x1040)
0x1332 70 rdi = [rbp - 0x18 {var_20}].q
0x1336 71 call(0x1040)
0x133b 72 eax = 0
0x133d 73 rsp = rsp + 0x30
0x1341 74 rbp = pop
0x1342 75 <return> jump(pop)
0x12b1 76 goto 92 @ 0x12b6
0x127d 77 rax = [rbp - 0x18 {var_20}].q
0x1281 78 rcx = sx.q([rbp - 0x24 {var_2c}].d)
0x1285 79 eax = sx.d([rax + rcx].b)
0x128c 80 if (eax s> 0x5a) then 76 @ 0x12b1 else 96 @ 0x1292
0x1249 81 rax = [rbp - 0x10 {var_18}].q
0x124d 82 rcx = sx.q([rbp - 0x24 {var_2c}].d)
0x1251 83 eax = sx.d([rax + rcx].b)
0x1255 84 eax = eax - 0x41
0x1258 85 eax = eax + 0x61
0x125b 86 dl = al
0x125d 87 rax = [rbp - 0x10 {var_18}].q
0x1261 88 rcx = sx.q([rbp - 0x24 {var_2c}].d)
0x1265 89 [rax + rcx].b = dl
0x1265 90 goto 52 @ 0x1268
0x1324 91 goto 68 @ 0x1329
0x12b6 92 eax = [rbp - 0x24 {var_2c}].d
0x12b9 93 eax = eax + 1
0x12bc 94 [rbp - 0x24 {var_2c}].d = eax
0x12bf 95 goto 34 @ 0x1213
0x1292 96 rax = [rbp - 0x18 {var_20}].q
0x1296 97 rcx = sx.q([rbp - 0x24 {var_2c}].d)
0x129a 98 eax = sx.d([rax + rcx].b)
0x129e 99 eax = eax - 0x41
0x12a1 100 eax = eax + 0x61
0x12a4 101 dl = al
0x12a6 102 rax = [rbp - 0x18 {var_20}].q
0x12aa 103 rcx = sx.q([rbp - 0x24 {var_2c}].d)
0x12ae 104 [rax + rcx].b = dl
0x12ae 105 goto 76 @ 0x12b1
int64_t _fini():
0x1348 0 rsp = rsp - 8
0x134c 1 rsp = rsp + 8
0x1350 2 <return> jump(pop)
| POJ_95 |
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 rdi = 0x2004 {"%d"}
0x1166 5 rsi = rbp - 8 {var_10}
0x116a 6 al = 0
0x116c 7 call(0x1040)
0x1171 8 eax = [rbp - 8 {var_10}].d
0x1174 9 ecx = 0xa {""}
0x1179 10 temp2.d:temp3.d = sx.q(eax)
0x1179 11 edx = temp2.d
0x1179 12 eax = temp3.d
0x117a 13 temp4.d = edx
0x117a 14 temp5.d = eax
0x117a 15 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x117a 16 temp6.d = edx
0x117a 17 temp7.d = eax
0x117a 18 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x117a 19 eax = temp0.d
0x117a 20 edx = temp1.d
0x117c 21 [rbp - 0x20 {var_28}].d = edx
0x117f 22 eax = [rbp - 8 {var_10}].d
0x1182 23 ecx = 0x64 {""}
0x1187 24 temp8.d:temp9.d = sx.q(eax)
0x1187 25 edx = temp8.d
0x1187 26 eax = temp9.d
0x1188 27 temp10.d = edx
0x1188 28 temp11.d = eax
0x1188 29 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx)
0x1188 30 temp12.d = edx
0x1188 31 temp13.d = eax
0x1188 32 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx)
0x1188 33 eax = temp0.d
0x1188 34 edx = temp1.d
0x118a 35 eax = edx
0x118c 36 ecx = 0xa {""}
0x1191 37 temp14.d:temp15.d = sx.q(eax)
0x1191 38 edx = temp14.d
0x1191 39 eax = temp15.d
0x1192 40 temp16.d = edx
0x1192 41 temp17.d = eax
0x1192 42 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx)
0x1192 43 temp18.d = edx
0x1192 44 temp19.d = eax
0x1192 45 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx)
0x1192 46 eax = temp0.d
0x1192 47 edx = temp1.d
0x1194 48 [rbp - 0x1c {var_24}].d = eax
0x1197 49 eax = [rbp - 8 {var_10}].d
0x119a 50 ecx = 0x3e8 {""}
0x119f 51 temp20.d:temp21.d = sx.q(eax)
0x119f 52 edx = temp20.d
0x119f 53 eax = temp21.d
0x11a0 54 temp22.d = edx
0x11a0 55 temp23.d = eax
0x11a0 56 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx)
0x11a0 57 temp24.d = edx
0x11a0 58 temp25.d = eax
0x11a0 59 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx)
0x11a0 60 eax = temp0.d
0x11a0 61 edx = temp1.d
0x11a2 62 eax = edx
0x11a4 63 ecx = 0x64 {""}
0x11a9 64 temp26.d:temp27.d = sx.q(eax)
0x11a9 65 edx = temp26.d
0x11a9 66 eax = temp27.d
0x11aa 67 temp28.d = edx
0x11aa 68 temp29.d = eax
0x11aa 69 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx)
0x11aa 70 temp30.d = edx
0x11aa 71 temp31.d = eax
0x11aa 72 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx)
0x11aa 73 eax = temp0.d
0x11aa 74 edx = temp1.d
0x11ac 75 [rbp - 0x18 {var_20}].d = eax
0x11af 76 eax = [rbp - 8 {var_10}].d
0x11b2 77 ecx = 0x2710 {""}
0x11b7 78 temp32.d:temp33.d = sx.q(eax)
0x11b7 79 edx = temp32.d
0x11b7 80 eax = temp33.d
0x11b8 81 temp34.d = edx
0x11b8 82 temp35.d = eax
0x11b8 83 temp0.d = divs.dp.d(temp34.d:temp35.d, ecx)
0x11b8 84 temp36.d = edx
0x11b8 85 temp37.d = eax
0x11b8 86 temp1.d = mods.dp.d(temp36.d:temp37.d, ecx)
0x11b8 87 eax = temp0.d
0x11b8 88 edx = temp1.d
0x11ba 89 eax = edx
0x11bc 90 ecx = 0x3e8 {""}
0x11c1 91 temp38.d:temp39.d = sx.q(eax)
0x11c1 92 edx = temp38.d
0x11c1 93 eax = temp39.d
0x11c2 94 temp40.d = edx
0x11c2 95 temp41.d = eax
0x11c2 96 temp0.d = divs.dp.d(temp40.d:temp41.d, ecx)
0x11c2 97 temp42.d = edx
0x11c2 98 temp43.d = eax
0x11c2 99 temp1.d = mods.dp.d(temp42.d:temp43.d, ecx)
0x11c2 100 eax = temp0.d
0x11c2 101 edx = temp1.d
0x11c4 102 [rbp - 0x14 {var_1c}].d = eax
0x11c7 103 eax = [rbp - 8 {var_10}].d
0x11ca 104 ecx = 0x186a0 {""}
0x11cf 105 temp44.d:temp45.d = sx.q(eax)
0x11cf 106 edx = temp44.d
0x11cf 107 eax = temp45.d
0x11d0 108 temp46.d = edx
0x11d0 109 temp47.d = eax
0x11d0 110 temp0.d = divs.dp.d(temp46.d:temp47.d, ecx)
0x11d0 111 temp48.d = edx
0x11d0 112 temp49.d = eax
0x11d0 113 temp1.d = mods.dp.d(temp48.d:temp49.d, ecx)
0x11d0 114 eax = temp0.d
0x11d0 115 edx = temp1.d
0x11d2 116 eax = edx
0x11d4 117 ecx = 0x2710 {""}
0x11d9 118 temp50.d:temp51.d = sx.q(eax)
0x11d9 119 edx = temp50.d
0x11d9 120 eax = temp51.d
0x11da 121 temp52.d = edx
0x11da 122 temp53.d = eax
0x11da 123 temp0.d = divs.dp.d(temp52.d:temp53.d, ecx)
0x11da 124 temp54.d = edx
0x11da 125 temp55.d = eax
0x11da 126 temp1.d = mods.dp.d(temp54.d:temp55.d, ecx)
0x11da 127 eax = temp0.d
0x11da 128 edx = temp1.d
0x11dc 129 [rbp - 0x10 {var_18}].d = eax
0x11df 130 [rbp - 0x24 {var_2c}].d = 0
0x11df 131 goto 132 @ 0x11ea
0x11ea 132 if ([rbp - 0x24 {var_2c}].d s>= 5) then 133 @ 0x1228 else 137 @ 0x11f0
0x1228 133 eax = 0
0x122a 134 rsp = rsp + 0x30
0x122e 135 rbp = pop
0x122f 136 <return> jump(pop)
0x11f0 137 rax = sx.q([rbp - 0x24 {var_2c}].d)
0x11f9 138 if ([rbp + (rax << 2) - 0x20].d == 0) then 139 @ 0x1215 else 140 @ 0x11ff
0x1215 139 goto 146 @ 0x121a
0x11ff 140 rax = sx.q([rbp - 0x24 {var_2c}].d)
0x1203 141 esi = [rbp + (rax << 2) - 0x20].d
0x1207 142 rdi = 0x2004 {"%d"}
0x120e 143 al = 0
0x1210 144 call(0x1030)
0x1210 145 goto 139 @ 0x1215
0x121a 146 eax = [rbp - 0x24 {var_2c}].d
0x121d 147 eax = eax + 1
0x1220 148 [rbp - 0x24 {var_2c}].d = eax
0x1223 149 goto 132 @ 0x11ea
int64_t _fini():
0x1234 0 rsp = rsp - 8
0x1238 1 rsp = rsp + 8
0x123c 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)
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 {"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 @ 0x1297 else 20 @ 0x118f
0x1297 12 rsp = rsp + 0x1f58
0x129e 13 rbx = pop
0x129f 14 r12 = pop
0x12a1 15 r13 = pop
0x12a3 16 r14 = pop
0x12a5 17 r15 = pop
0x12a7 18 rbp = pop
0x12a8 19 <return> jump(pop)
0x118f 20 r14 = 0x2010 {"%d"}
0x1196 21 r15 = rsp + 0xc {var_1f7c}
0x119b 22 rbp = rsp + 0x10 {var_1f78}
0x11a0 23 r13 = 0x2013 {"%lf"}
0x11a7 24 r12 = 0x2017 {"%.5f\n"}
0x11ae 25 goto 26 @ 0x11d3
0x11d3 26 rdi = r14
0x11d6 27 rsi = r15 {var_1f7c}
0x11d9 28 eax = 0
0x11db 29 call(0x1040)
0x11e0 30 rax = sx.q([rsp + 0xc {var_1f7c}].d)
0x11e8 31 if (rax s<= 0) then 32 @ 0x1230 else 37 @ 0x11ea
0x1230 32 rcx = rsp + (rax << 3)
0x1234 33 rcx = rcx + 0x10
0x1238 34 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x123c 35 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x1243 36 if (rbp u>= rcx) then 39 @ 0x1269 else 52 @ 0x1245
0x11ea 37 rbx = rbp {var_1f78}
0x11ed 38 goto 56 @ 0x11f0
0x1269 39 xmm2 = 0
0x126c 40 xmm2.q = float.d(eax)
0x1270 41 xmm0.q = xmm0.q f/ xmm2.q
0x1274 42 xmm1.q = xmm1.q f/ xmm2.q
0x1278 43 xmm1.q = xmm1.q f* xmm1.q
0x127c 44 xmm0.q = xmm0.q f- xmm1.q
0x1280 45 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x1280 46 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x1280 47 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x1280 48 flag:s = 0
0x1280 49 flag:o = 0
0x1280 50 flag:a = 0
0x1288 51 if (flag:c) then 65 @ 0x11b0 else 67 @ 0x128e
0x1245 52 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x1249 53 rdx = rbp {var_1f78}
0x124c 54 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x124c 55 goto 69 @ 0x1250
0x11f0 56 rdi = r13
0x11f3 57 rsi = rbx
0x11f6 58 eax = 0
0x11f8 59 call(0x1040)
0x11fd 60 rbx = rbx + 8
0x1201 61 rax = sx.q([rsp + 0xc {var_1f7c}].d)
0x1206 62 rcx = rsp + (rax << 3)
0x120a 63 rcx = rcx + 0x10
0x1211 64 if (rbx u< rcx) then 56 @ 0x11f0 else 75 @ 0x1213
0x11b0 65 call(0x1050)
0x11b0 66 goto 78 @ 0x11b5
0x128e 67 xmm0 = _mm_sqrt_sd(xmm0.q)
0x1292 68 goto 78 @ 0x11b5
0x1250 69 xmm2 = zx.o([rdx].q)
0x1254 70 xmm1.q = xmm1.q f+ xmm2.q
0x1258 71 xmm2.q = xmm2.q f* xmm2.q
0x125c 72 xmm0.q = xmm0.q f+ xmm2.q
0x1260 73 rdx = rdx + 8
0x1267 74 if (rdx u< rcx) then 69 @ 0x1250 else 39 @ 0x1269
0x1213 75 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1217 76 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x121e 77 if (rbp u< rcx) then 52 @ 0x1245 else 85 @ 0x1220
0x11b5 78 rdi = r12
0x11b8 79 al = 1
0x11ba 80 call(0x1030)
0x11bf 81 eax = [rsp + 8 {var_1f80}].d
0x11c3 82 ecx = (rax - 1).d
0x11c6 83 [rsp + 8 {var_1f80}].d = ecx
0x11cd 84 if (eax s<= 1) then 12 @ 0x1297 else 26 @ 0x11d3
0x1220 85 goto 39 @ 0x1269
int64_t _fini():
0x12b0 0 rsp = rsp - 8
0x12b4 1 rsp = rsp + 8
0x12b8 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
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 {"UAWAVAUATSH"}
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 - 0x3f8
0x1171 7 rdi = 0x2008 {"%d"}
0x1178 8 rsi = rsp + 0x14 {var_414}
0x117d 9 eax = 0
0x117f 10 call(0x1040)
0x1189 11 if ([rsp + 0x14 {var_414}].d s<= 0) then 12 @ 0x13f0 else 21 @ 0x118f
0x13f0 12 eax = 0
0x13f2 13 rsp = rsp + 0x3f8
0x13f9 14 rbx = pop
0x13fa 15 r12 = pop
0x13fc 16 r13 = pop
0x13fe 17 r14 = pop
0x1400 18 r15 = pop
0x1402 19 rbp = pop
0x1403 20 <return> jump(pop)
0x118f 21 r14 = rsp + 0x40 {var_3e8}
0x1194 22 r15 = rsp + 0x70 {var_3b8}
0x1199 23 rbx = rsp + 0xa0 {var_388}
0x11a1 24 r12 = 0x2004 {"%d%d%d"}
0x11a8 25 ebp = 0
0x11aa 26 goto 27 @ 0x11b0
0x11b0 27 rdi = r12
0x11b3 28 rsi = rbx
0x11b6 29 rdx = r15
0x11b9 30 rcx = r14
0x11bc 31 eax = 0
0x11be 32 call(0x1040)
0x11c3 33 rbp = rbp + 1
0x11c7 34 rax = sx.q([rsp + 0x14 {var_414}].d)
0x11cc 35 r14 = r14 + 4
0x11d0 36 r15 = r15 + 4
0x11d4 37 rbx = rbx + 4
0x11db 38 if (rbp s< rax) then 27 @ 0x11b0 else 39 @ 0x11e0
0x11e0 39 if (eax s< 2) then 12 @ 0x13f0 else 40 @ 0x11e6
0x11e6 40 r12 = rsp + 0x44 {var_3e4}
0x11eb 41 r13 = rsp + 0x74 {var_3b4}
0x11f0 42 rdi = rsp + 0xa4 {var_384}
0x11f8 43 ebx = 0
0x11fa 44 edx = 1
0x11ff 45 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x1203 46 r8d = 0
0x1206 47 goto 48 @ 0x123c
0x123c 48 rbp = rbx
0x123f 49 rbx = rbx + 1
0x1243 50 rcx = sx.q(eax)
0x1249 51 if (rbx s>= rcx) then 52 @ 0x121d else 59 @ 0x124b
0x121d 52 ecx = (rax - 1).d
0x1220 53 rcx = sx.q(ecx)
0x1223 54 rdx = rdx + 1
0x1227 55 r12 = r12 + 4
0x122b 56 r13 = r13 + 4
0x122f 57 rdi = rdi + 4
0x1236 58 if (rbx s>= rcx) then 68 @ 0x12f9 else 48 @ 0x123c
0x124b 59 [rsp + 0x18 {var_410_1}].q = rbx
0x1250 60 [rsp + 0x20 {var_408_1}].q = r8
0x1255 61 r14 = sx.q(r8d)
0x1258 62 r14 = r14 << 4
0x125c 63 rax = rsp + 0xdc {var_34c}
0x1264 64 r14 = r14 + rax
0x1267 65 r15d = 0
0x126a 66 [rsp + 0x28 {var_400_1}].q = rdi
0x126f 67 goto 70 @ 0x12bd
0x12f9 68 eax = (r8 - 1).d
0x1301 69 if (r8d s< 2) then 90 @ 0x138a else 91 @ 0x1307
0x12bd 70 eax = [rdi + (r15 << 2)].d
0x12c1 71 eax = eax - [rsp + (rbp << 2) + 0xa0].d
0x12c8 72 ecx = [r13 + (r15 << 2)].d
0x12cd 73 ecx = ecx - [rsp + (rbp << 2) + 0x70].d
0x12d1 74 eax = eax * eax
0x12d4 75 ecx = ecx * ecx
0x12d7 76 ecx = ecx + eax
0x12d9 77 eax = [r12 + (r15 << 2)].d
0x12dd 78 eax = eax - [rsp + (rbp << 2) + 0x40].d
0x12e1 79 eax = eax * eax
0x12e4 80 eax = eax + ecx
0x12e6 81 xmm0 = 0
0x12e9 82 xmm0.q = float.d(eax)
0x12ed 83 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x12ed 84 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x12ed 85 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x12ed 86 flag:s = 0
0x12ed 87 flag:o = 0
0x12ed 88 flag:a = 0
0x12f1 89 if (flag:c) then 95 @ 0x1280 else 101 @ 0x12f3
0x138a 90 if (r8d s<= 0) then 12 @ 0x13f0 else 103 @ 0x138c
0x1307 91 ecx = 0
0x1309 92 rbp = rsp + 0xd0 {var_358}
0x1311 93 esi = eax
0x1313 94 goto 107 @ 0x132a
0x1280 95 rbx = rdx
0x1283 96 call(0x1050)
0x1288 97 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x128c 98 rdx = rbx
0x128f 99 rdi = [rsp + 0x28 {var_400_1}].q
0x128f 100 goto 109 @ 0x1294
0x12f3 101 xmm0 = _mm_sqrt_sd(xmm0.q)
0x12f7 102 goto 109 @ 0x1294
0x138c 103 ebp = eax
0x138e 104 rbp = rbp << 4
0x1392 105 rbx = 0x200b {"(%d,%d,%d)-(%d,%d,%d)=%.2lf\n"}
0x1399 106 goto 118 @ 0x13a0
0x132a 107 esi = esi
0x132e 108 if (eax s<= ecx) then 133 @ 0x1320 else 136 @ 0x1330
0x1294 109 [r14 - 0xc].q = xmm0.q
0x129a 110 [r14 - 4].d = ebp
0x129e 111 eax = (rdx + r15).d
0x12a2 112 [r14].d = eax
0x12a5 113 eax = [rsp + 0x14 {var_414}].d
0x12a9 114 r15 = r15 + 1
0x12ad 115 ecx = (r15 + rdx).d
0x12b1 116 r14 = r14 + 0x10
0x12b7 117 if (eax s<= ecx) then 139 @ 0x1210 else 70 @ 0x12bd
0x13a0 118 rax = sx.q([rsp + rbp + 0xd8].d)
0x13a8 119 esi = [rsp + (rax << 2) + 0xa0].d
0x13af 120 edx = [rsp + (rax << 2) + 0x70].d
0x13b3 121 ecx = [rsp + (rax << 2) + 0x40].d
0x13b7 122 rax = sx.q([rsp + rbp + 0xdc].d)
0x13bf 123 r8d = [rsp + (rax << 2) + 0xa0].d
0x13c7 124 r9d = [rsp + (rax << 2) + 0x70].d
0x13cc 125 eax = [rsp + (rax << 2) + 0x40].d
0x13d0 126 xmm0 = zx.o([rsp + rbp + 0xd0].q)
0x13d9 127 [rsp {var_428_1}].d = eax
0x13dc 128 rdi = rbx
0x13df 129 al = 1
0x13e1 130 call(0x1030)
0x13e6 131 rbp = rbp - 0x10
0x13ee 132 if (rbp != -0x10) then 118 @ 0x13a0 else 12 @ 0x13f0
0x1320 133 ecx = ecx + 1
0x1323 134 esi = esi - 1
0x1328 135 if (ecx == eax) then 90 @ 0x138a else 107 @ 0x132a
0x1330 136 rdi = rsi
0x1333 137 rdx = rbp {var_358}
0x1336 138 goto 143 @ 0x1364
0x1210 139 r8 = [rsp + 0x20 {var_408_1}].q
0x1215 140 r8d = r8d + r15d
0x1218 141 rbx = [rsp + 0x18 {var_410_1}].q
0x1218 142 goto 52 @ 0x121d
0x1364 143 xmm0 = zx.o([rdx].q)
0x1368 144 flag:p = is_unordered.q(xmm0.q, fconvert.t([rdx + 0x10].q))
0x1368 145 flag:c = xmm0.q f< fconvert.t([rdx + 0x10].q) | is_unordered.q(xmm0.q, fconvert.t([rdx + 0x10].q))
0x1368 146 flag:z = xmm0.q f== fconvert.t([rdx + 0x10].q) | is_unordered.q(xmm0.q, fconvert.t([rdx + 0x10].q))
0x1368 147 flag:s = 0
0x1368 148 flag:o = 0
0x1368 149 flag:a = 0
0x136d 150 if (not(flag:z) && not(flag:c)) then 151 @ 0x1340 else 158 @ 0x136f
0x1340 151 xmm0 = [rdx + 0x10].o
0x1344 152 [rsp + 0x30 {var_3f8_1}].o = xmm0
0x1349 153 xmm0 = [rdx].o
0x134c 154 [rdx + 0x10].o = xmm0
0x1350 155 xmm0 = [rsp + 0x30 {var_3f8_1}].o
0x1356 156 [rdx].o = xmm0
0x1356 157 goto 159 @ 0x135a
0x136f 158 if (not(flag:z)) then 159 @ 0x135a else 163 @ 0x1371
0x135a 159 rdx = rdx + 0x10
0x135e 160 temp0.q = rdi
0x135e 161 rdi = rdi - 1
0x1362 162 if (temp0.q == 1) then 133 @ 0x1320 else 143 @ 0x1364
0x1371 163 if (flag:p) then 159 @ 0x135a else 164 @ 0x1373
0x1373 164 ebx = [rdx + 0x18].d
0x1376 165 temp1.d = [rdx + 8].d
0x1376 166 cond:0 = temp1.d != ebx
0x1379 167 if (temp1.d s< ebx) then 151 @ 0x1340 else 168 @ 0x137b
0x137b 168 if (cond:0) then 159 @ 0x135a else 169 @ 0x137d
0x137d 169 ebx = [rdx + 0xc].d
0x1383 170 if (ebx s< [rdx + 0x1c].d) then 151 @ 0x1340 else 171 @ 0x1385
0x1385 171 goto 159 @ 0x135a
int64_t _fini():
0x1408 0 rsp = rsp - 8
0x140c 1 rsp = rsp + 8
0x1410 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)
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 - 0x61a98
0x1161 7 rdi = 0x200c {"%d"}
0x1168 8 r15d = 0
0x116b 9 rsi = rsp + 0xc {var_61abc}
0x1170 10 eax = 0
0x1172 11 call(0x1040)
0x1177 12 r13d = [rsp + 0xc {var_61abc}].d
0x117f 13 if (r13d s<= 0) then 14 @ 0x1278 else 17 @ 0x1185
0x1278 14 r13d = r13d - 1
0x127c 15 r9d = r13d
0x127c 16 goto 21 @ 0x1282
0x1185 17 rbx = rsp + 0x10 {var_61ab8}
0x118a 18 r14 = 0x2004 {"%d%d"}
0x1191 19 r12d = 0
0x119e 20 goto 22 @ 0x11a0
0x1282 21 if (r15d != r9d) then 31 @ 0x129f else 35 @ 0x1284
0x11a0 22 rdx = rbx + 4
0x11a4 23 rdi = r14
0x11a7 24 rsi = rbx
0x11aa 25 eax = 0
0x11ac 26 call(0x1040)
0x11b1 27 r12 = r12 + 1
0x11b5 28 r13 = sx.q([rsp + 0xc {var_61abc}].d)
0x11ba 29 rbx = rbx + 8
0x11c1 30 if (r12 s< r13) then 22 @ 0x11a0 else 42 @ 0x11c7
0x129f 31 rdi = 0x200f {"no"}
0x12a6 32 eax = 0
0x12a8 33 call(0x1030)
0x12a8 34 goto 43 @ 0x12ad
0x1284 35 esi = [rsp + 0x10 {var_61ab8}].d
0x1288 36 rax = sx.q(r9d)
0x128b 37 edx = [rsp + (rax << 3) + 0x14].d
0x128f 38 rdi = 0x2009 {"%d %d"}
0x1296 39 eax = 0
0x1298 40 call(0x1030)
0x129d 41 goto 43 @ 0x12ad
0x11c7 42 if (r13d s< 2) then 14 @ 0x1278 else 52 @ 0x11cd
0x12ad 43 eax = 0
0x12af 44 rsp = rsp + 0x61a98
0x12b6 45 rbx = pop
0x12b7 46 r12 = pop
0x12b9 47 r13 = pop
0x12bb 48 r14 = pop
0x12bd 49 r15 = pop
0x12bf 50 rbp = pop
0x12c0 51 <return> jump(pop)
0x11cd 52 r8d = r13d
0x11d0 53 r9d = (r13 - 1).d
0x11d4 54 r10d = r9d
0x11d7 55 rsi = r10
0x11da 56 r11d = r13d
0x11dd 57 goto 58 @ 0x11e9
0x11e9 58 ecx = r11d
0x11ec 59 r11d = (rcx - 1).d
0x11f0 60 edx = [rsp + 0x10 {var_61ab8}].d
0x11f4 61 ebx = 0
0x11f6 62 goto 63 @ 0x1224
0x1224 63 rdi = rbx + 1
0x1228 64 ebp = [rsp + (rbx << 3) + 0x18].d
0x122e 65 if (edx s>= ebp) then 66 @ 0x1200 else 74 @ 0x1230
0x1200 66 rax = rbx + rbx
0x1204 67 [rsp + (rbx << 3) + 0x10].d = ebp
0x1208 68 [rsp + (rax << 2) + 0x18].d = edx
0x120c 69 eax = [rsp + (rbx << 3) + 0x14].d
0x1210 70 ebp = [rsp + (rbx << 3) + 0x1c].d
0x1214 71 [rsp + (rbx << 3) + 0x14].d = ebp
0x1218 72 [rsp + (rbx << 3) + 0x1c].d = eax
0x1218 73 goto 76 @ 0x121c
0x1230 74 edx = ebp
0x1232 75 goto 76 @ 0x121c
0x121c 76 rbx = rdi
0x1222 77 if (rsi == rdi) then 78 @ 0x11e0 else 63 @ 0x1224
0x11e0 78 rsi = rsi - 1
0x11e7 79 if (ecx s< 3) then 80 @ 0x1238 else 58 @ 0x11e9
0x1238 80 if (r13d s< 2) then 14 @ 0x1278 else 81 @ 0x123a
0x123a 81 r8 = r8 - 1
0x1242 82 if (r13d != 2) then 83 @ 0x12c1 else 89 @ 0x1244
0x12c1 83 rsi = r8
0x12c4 84 rsi = rsi & 0xfffffffffffffffe
0x12c8 85 r15d = 0
0x12cb 86 edi = 1
0x12d0 87 ebx = 0
0x12d2 88 goto 92 @ 0x12f5
0x1244 89 r15d = 0
0x1247 90 edi = 1
0x1247 91 goto 95 @ 0x1250
0x12f5 92 ecx = [rsp + (rdi << 3) + 0x10].d
0x12f9 93 edx = 0
0x12fb 94 goto 96 @ 0x1304
0x1250 95 if ((r8b & 1) == 0) then 97 @ 0x1345 else 101 @ 0x1256
0x1304 96 if ([rsp + (rdx << 3) + 0x14].d s>= ecx) then 104 @ 0x1320 else 106 @ 0x1306
0x1345 97 r10 = neg.q(r10)
0x1348 98 r8d = 0
0x134b 99 r11 = r9
0x134e 100 goto 108 @ 0x1369
0x1256 101 ecx = [rsp + (rdi << 3) + 0x10].d
0x125a 102 edx = 0
0x125c 103 goto 112 @ 0x1264
0x1320 104 r15d = r15d + 1
0x1320 105 goto 113 @ 0x1324
0x1306 106 rdx = rdx + 1
0x130d 107 if (rdi != rdx) then 96 @ 0x1304 else 116 @ 0x130f
0x1369 108 rax = r8
0x136c 109 rax = not.q(rax)
0x136f 110 ebx = [rsp + 0x14 {var_61ab4}].d
0x1376 111 if (rax != r10) then 117 @ 0x13a0 else 121 @ 0x1378
0x1264 112 if ([rsp + (rdx << 3) + 0x14].d s>= ecx) then 123 @ 0x1341 else 125 @ 0x126a
0x1324 113 ecx = [rsp + (rdi << 3) + 0x18].d
0x1328 114 rdx = -2
0x132f 115 goto 127 @ 0x1334
0x130f 116 goto 113 @ 0x1324
0x13a0 117 rdi = r11
0x13a3 118 rdi = rdi & 0xfffffffffffffffe
0x13a7 119 edx = 0
0x13a9 120 goto 128 @ 0x13c0
0x1378 121 esi = 0
0x1378 122 goto 131 @ 0x137e
0x1341 123 r15d = r15d + 1
0x1341 124 goto 97 @ 0x1345
0x126a 125 rdx = rdx + 1
0x1271 126 if (rdi != rdx) then 112 @ 0x1264 else 132 @ 0x1273
0x1334 127 if ([rsp + (rdx << 3) + 0x24].d s>= ecx) then 133 @ 0x12e0 else 135 @ 0x1336
0x13c0 128 rcx = rdx + rdx
0x13c4 129 esi = [rsp + (rdx << 3) + 0x1c].d
0x13ca 130 if (ebx s>= esi) then 137 @ 0x13d0 else 140 @ 0x13cc
0x137e 131 if ((r11b & 1) == 0) then 142 @ 0x1350 else 148 @ 0x1380
0x1273 132 goto 97 @ 0x1345
0x12e0 133 r15d = r15d + 1
0x12e0 134 goto 150 @ 0x12e4
0x1336 135 rdx = rdx + 1
0x133d 136 if (rbx != rdx) then 127 @ 0x1334 else 153 @ 0x133f
0x13d0 137 [rsp + (rdx << 3) + 0x14].d = esi
0x13d4 138 [rsp + (rcx << 2) + 0x1c].d = ebx
0x13d4 139 goto 154 @ 0x13d8
0x13cc 140 ebx = esi
0x13ce 141 goto 154 @ 0x13d8
0x1350 142 eax = (r13 - 1).d
0x1354 143 r11 = r11 - 1
0x1358 144 r8 = r8 + 1
0x135c 145 cond:0 = r13d s< 3
0x1360 146 r13d = eax
0x1363 147 if (cond:0) then 21 @ 0x1282 else 108 @ 0x1369
0x1380 148 ecx = [rsp + (rsi << 3) + 0x1c].d
0x1386 149 if (ebx s< ecx) then 142 @ 0x1350 else 157 @ 0x1388
0x12e4 150 rdi = rdi + 2
0x12e8 151 rbx = rbx + 2
0x12ef 152 if (rbx == rsi) then 95 @ 0x1250 else 92 @ 0x12f5
0x133f 153 goto 150 @ 0x12e4
0x13d8 154 rsi = rdx + 2
0x13dc 155 ebp = [rsp + (rdx << 3) + 0x24].d
0x13e2 156 if (ebx s>= ebp) then 160 @ 0x13b0 else 163 @ 0x13e4
0x1388 157 [rsp + (rsi << 3) + 0x14].d = ecx
0x138c 158 [rsp + (rsi << 3) + 0x1c].d = ebx
0x1390 159 goto 142 @ 0x1350
0x13b0 160 [rsp + (rdx << 3) + 0x1c].d = ebp
0x13b4 161 [rsp + (rcx << 2) + 0x24].d = ebx
0x13b4 162 goto 165 @ 0x13b8
0x13e4 163 ebx = ebp
0x13e6 164 goto 165 @ 0x13b8
0x13b8 165 rdx = rsi
0x13be 166 if (rdi == rsi) then 131 @ 0x137e else 128 @ 0x13c0
int64_t _fini():
0x13ec 0 rsp = rsp - 8
0x13f0 1 rsp = rsp + 8
0x13f4 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 {"UAWAVAUATSHhA"}
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 - 0x68
0x115e 7 r13d = 1
0x1164 8 r14 = 0x2004 {"%d"}
0x116b 9 r15 = rsp + 0xc {var_8c}
0x1170 10 r12 = 0x2007 {"%d\n"}
0x1177 11 goto 12 @ 0x11a2
0x11a2 12 rdi = r14
0x11a5 13 rsi = r15 {var_8c}
0x11a8 14 eax = 0
0x11aa 15 call(0x1040)
0x11af 16 r8d = [rsp + 0xc {var_8c}].d
0x11b4 17 ecx = r8d
0x11b7 18 ecx = neg.d(ecx)
0x11b9 19 if (ecx s< 0) then 20 else 22 @ 0x11bd
0x11b9 20 ecx = r8d
0x11b9 21 goto 22 @ 0x11bd
0x11bd 22 esi = 0
0x11c4 23 if (ecx == 0) then 24 @ 0x118a else 29 @ 0x11c6
0x118a 24 rdi = r12
0x118d 25 eax = 0
0x118f 26 call(0x1030)
0x1194 27 r13d = r13d + 1
0x119c 28 if (r13d == 7) then 32 @ 0x12b7 else 12 @ 0x11a2
0x11c6 29 edx = ecx * -0x33333333
0x11cc 30 edx = ror.d(edx, 1)
0x11d4 31 if (edx u> 0x19999999) then 41 @ 0x120d else 55 @ 0x11d6
0x12b7 32 eax = 0
0x12b9 33 rsp = rsp + 0x68
0x12bd 34 rbx = pop
0x12be 35 r12 = pop
0x12c0 36 r13 = pop
0x12c2 37 r14 = pop
0x12c4 38 r15 = pop
0x12c6 39 rbp = pop
0x12c7 40 <return> jump(pop)
0x120d 41 rsi = sx.q(ecx)
0x1210 42 rdx = rsi * 0x66666667
0x1217 43 rdi = rdx
0x121a 44 rdi = rdi u>> 0x3f
0x121e 45 rdx = rdx s>> 0x22
0x1222 46 edx = edx + edi
0x1224 47 edx = edx + edx
0x1226 48 edx = (rdx + (rdx << 2)).d
0x1229 49 edi = esi
0x122b 50 edi = edi - edx
0x122d 51 [rsp + 0x10 {var_88}].d = edi
0x1231 52 esi = esi + 9
0x1234 53 edx = 0
0x1239 54 if (esi u< 0x13) then 56 @ 0x1289 else 58 @ 0x123b
0x11d6 55 goto 60 @ 0x11e0
0x1289 56 ecx = [rsp + 0x10 {var_88}].d
0x128f 57 if (edx == 0) then 70 @ 0x1180 else 73 @ 0x1295
0x123b 58 edx = 0
0x123d 59 goto 76 @ 0x1240
0x11e0 60 rcx = sx.q(ecx)
0x11e3 61 rcx = rcx * 0x66666667
0x11ea 62 rdx = rcx
0x11ed 63 rdx = rdx u>> 0x3f
0x11f1 64 rcx = rcx s>> 0x22
0x11f5 65 ecx = ecx + edx
0x11f7 66 edx = ecx * -0x33333333
0x11fd 67 edx = edx + 0x19999998
0x1203 68 edx = ror.d(edx, 1)
0x120b 69 if (edx u< 0x19999999) then 60 @ 0x11e0 else 41 @ 0x120d
0x1180 70 esi = ecx
0x1182 71 esi = neg.d(esi)
0x1187 72 if (r8d s>= 0) then 96 else 98
0x1295 73 edx = edx + 1
0x1298 74 esi = 1
0x129d 75 goto 99 @ 0x12a0
0x1240 76 rcx = sx.q(ecx)
0x1243 77 rsi = rcx * 0x66666667
0x124a 78 rdi = rsi
0x124d 79 rdi = rdi u>> 0x3f
0x1251 80 rsi = rsi s>> 0x22
0x1255 81 ecx = (rsi + rdi).d
0x1258 82 rbx = sx.q(ecx)
0x125b 83 rax = rbx * 0x66666667
0x1262 84 rbp = rax
0x1265 85 rbp = rbp u>> 0x3f
0x1269 86 rax = rax s>> 0x22
0x126d 87 eax = eax + ebp
0x126f 88 eax = eax + eax
0x1271 89 eax = (rax + (rax << 2)).d
0x1274 90 ebx = ebx - eax
0x1276 91 [rsp + (rdx << 2) + 0x14].d = ebx
0x127a 92 rdx = rdx + 1
0x127e 93 eax = (rsi + rdi).d
0x1281 94 eax = eax + 9
0x1287 95 if (eax u> 0x12) then 76 @ 0x1240 else 56 @ 0x1289
0x1187 96 esi = ecx
0x1187 97 goto 98
0x1187 98 goto 24 @ 0x118a
0x12a0 99 ecx = (rcx + (rcx << 2)).d
0x12a3 100 ecx = ecx + ecx
0x12a5 101 ecx = ecx + [rsp + (rsi << 2) + 0x10].d
0x12a9 102 rsi = rsi + 1
0x12b0 103 if (rdx != rsi) then 99 @ 0x12a0 else 104 @ 0x12b2
0x12b2 104 goto 70 @ 0x1180
uint64_t reverse(int32_t arg1):
0x12d0 0 eax = edi
0x12d2 1 eax = neg.d(eax)
0x12d4 2 if (eax s< 0) then 3 else 5 @ 0x12d9
0x12d4 3 eax = edi
0x12d4 4 goto 5 @ 0x12d9
0x12d9 5 if (eax == 0) then 6 @ 0x13cc else 8 @ 0x12df
0x13cc 6 eax = 0
0x13ce 7 <return> jump(pop)
0x12df 8 ecx = eax * -0x33333333
0x12e5 9 ecx = ror.d(ecx, 1)
0x12ed 10 if (ecx u> 0x19999999) then 11 @ 0x131c else 25 @ 0x12ef
0x131c 11 rdx = sx.q(eax)
0x131f 12 rcx = rdx * 0x66666667
0x1326 13 rsi = rcx
0x1329 14 rsi = rsi u>> 0x3f
0x132d 15 rcx = rcx s>> 0x22
0x1331 16 ecx = ecx + esi
0x1333 17 ecx = ecx + ecx
0x1335 18 ecx = (rcx + (rcx << 2)).d
0x1338 19 esi = edx
0x133a 20 esi = esi - ecx
0x133c 21 [rsp - 0x58 {var_58}].d = esi
0x1340 22 edx = edx + 9
0x1343 23 ecx = 0
0x1348 24 if (edx u< 0x13) then 26 @ 0x139c else 28 @ 0x134a
0x12ef 25 goto 30 @ 0x12f0
0x139c 26 edx = [rsp - 0x58 {var_58}].d
0x13a2 27 if (ecx == 0) then 40 @ 0x13c2 else 43 @ 0x13a4
0x134a 28 ecx = 0
0x134c 29 goto 46 @ 0x1350
0x12f0 30 rax = sx.q(eax)
0x12f2 31 rax = rax * 0x66666667
0x12f9 32 rcx = rax
0x12fc 33 rcx = rcx u>> 0x3f
0x1300 34 rax = rax s>> 0x22
0x1304 35 eax = eax + ecx
0x1306 36 ecx = eax * -0x33333333
0x130c 37 ecx = ecx + 0x19999998
0x1312 38 ecx = ror.d(ecx, 1)
0x131a 39 if (ecx u< 0x19999999) then 30 @ 0x12f0 else 11 @ 0x131c
0x13c2 40 eax = edx
0x13c4 41 eax = neg.d(eax)
0x13c8 42 if (edi s>= 0) then 66 else 68 @ 0x13cb
0x13a4 43 ecx = ecx + 1
0x13a7 44 eax = 1
0x13ac 45 goto 69 @ 0x13b0
0x1350 46 rax = sx.q(eax)
0x1352 47 r9 = rax * 0x66666667
0x1359 48 r8 = r9
0x135c 49 r8 = r8 u>> 0x3f
0x1360 50 r9 = r9 s>> 0x22
0x1364 51 eax = (r9 + r8).d
0x1368 52 r10 = sx.q(eax)
0x136b 53 rdx = r10 * 0x66666667
0x1372 54 rsi = rdx
0x1375 55 rsi = rsi u>> 0x3f
0x1379 56 rdx = rdx s>> 0x22
0x137d 57 edx = edx + esi
0x137f 58 edx = edx + edx
0x1381 59 edx = (rdx + (rdx << 2)).d
0x1384 60 r10d = r10d - edx
0x1387 61 [rsp + (rcx << 2) - 0x54].d = r10d
0x138c 62 rcx = rcx + 1
0x1390 63 edx = (r9 + r8).d
0x1394 64 edx = edx + 9
0x139a 65 if (edx u> 0x12) then 46 @ 0x1350 else 26 @ 0x139c
0x13c8 66 eax = edx
0x13c8 67 goto 68 @ 0x13cb
0x13cb 68 <return> jump(pop)
0x13b0 69 edx = (rdx + (rdx << 2)).d
0x13b3 70 edx = edx + edx
0x13b5 71 edx = edx + [rsp + (rax << 2) - 0x58].d
0x13b9 72 rax = rax + 1
0x13c0 73 if (rcx != rax) then 69 @ 0x13b0 else 40 @ 0x13c2
int64_t _fini():
0x13d4 0 rsp = rsp - 8
0x13d8 1 rsp = rsp + 8
0x13dc 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)
int64_t memcpy(void* arg1, void const* 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 {"AVSH"}
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(r14)
0x1172 1 push(rbx)
0x1173 2 rsp = rsp - 0xbc8
0x117a 3 rdi = 0x2004 {"%s %s %s"}
0x1181 4 rbx = rsp {var_bd8}
0x1184 5 r14 = rsp + 0x3f0 {var_7e8}
0x118c 6 rcx = rsp + 0x7e0 {var_3f8}
0x1194 7 rsi = rbx {var_bd8}
0x1197 8 rdx = r14 {var_7e8}
0x119a 9 eax = 0
0x119c 10 call(0x1060)
0x11a1 11 rdi = r14 {var_7e8}
0x11a4 12 call(0x1050)
0x11a9 13 dl = [rsp {var_bd8}].b
0x11ae 14 if (dl == 0) then 15 @ 0x120f else 24 @ 0x11b0
0x120f 15 rdi = 0x200a {"%s"}
0x1216 16 rsi = rsp {var_bd8}
0x1219 17 eax = 0
0x121b 18 call(0x1030)
0x1220 19 eax = 0
0x1222 20 rsp = rsp + 0xbc8
0x1229 21 rbx = pop
0x122a 22 r14 = pop
0x122c 23 <return> jump(pop)
0x11b0 24 r8b = [rsp + 0x3f0 {var_7e8}].b
0x11b8 25 esi = eax
0x11ba 26 edi = 0
0x11bc 27 goto 28 @ 0x11d7
0x11d7 28 if (dl != r8b) then 29 @ 0x11c4 else 33 @ 0x11d9
0x11c4 29 dl = [rsp + rdi + 1].b
0x11c8 30 rdi = rdi + 1
0x11cc 31 rbx = rbx + 1
0x11d2 32 if (dl == 0) then 15 @ 0x120f else 28 @ 0x11d7
0x11d9 33 edx = 0
0x11dd 34 if (eax s<= 0) then 35 @ 0x11c2 else 36 @ 0x11df
0x11c2 35 if (edx == eax) then 37 @ 0x11f8 else 29 @ 0x11c4
0x11df 36 goto 38 @ 0x11e0
0x11f8 37 if (eax s<= 0) then 15 @ 0x120f else 40 @ 0x11fa
0x11e0 38 ecx = zx.d([rsp + rdx + 0x3f0].b)
0x11eb 39 if (cl != [rbx + rdx].b) then 35 @ 0x11c2 else 46 @ 0x11ed
0x11fa 40 ecx = edi
0x11fc 41 rdi = rsp + rcx
0x1200 42 edx = eax
0x1202 43 rsi = rsp + 0x7e0 {var_3f8}
0x120a 44 call(0x1040)
0x120a 45 goto 15 @ 0x120f
0x11ed 46 rdx = rdx + 1
0x11f4 47 if (rsi != rdx) then 38 @ 0x11e0 else 37 @ 0x11f8
int64_t _fini():
0x1234 0 rsp = rsp - 8
0x1238 1 rsp = rsp + 8
0x123c 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)
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 = 0x2012 {"%d"}
0x1186 5 rsi = rbp - 0x20 {var_28}
0x118a 6 al = 0
0x118c 7 call(0x1050)
0x1191 8 rdi = sx.q([rbp - 0x20 {var_28}].d)
0x1195 9 rdi = rdi << 3
0x1199 10 call(0x1060)
0x119e 11 [rbp - 0x10 {var_18}].q = rax
0x11a2 12 rdi = 0x2010 {"%d%d"}
0x11a9 13 rsi = rbp - 0x14 {var_1c}
0x11ad 14 rdx = rbp - 0x18 {var_20}
0x11b1 15 al = 0
0x11b3 16 call(0x1050)
0x11b8 17 xmm0.q = float.d([rbp - 0x18 {var_20}].d)
0x11bd 18 xmm1.q = float.d([rbp - 0x14 {var_1c}].d)
0x11c2 19 xmm0.q = xmm0.q f/ xmm1.q
0x11c6 20 [rbp - 0x28 {var_30}].q = xmm0.q
0x11cb 21 [rbp - 0x1c {var_24}].d = 0
0x11cb 22 goto 23 @ 0x11d2
0x11d2 23 eax = [rbp - 0x1c {var_24}].d
0x11d5 24 ecx = [rbp - 0x20 {var_28}].d
0x11d8 25 ecx = ecx - 1
0x11dd 26 if (eax s>= ecx) then 27 @ 0x1222 else 29 @ 0x11e3
0x1222 27 [rbp - 0x1c {var_24_1}].d = 0
0x1222 28 goto 44 @ 0x1229
0x11e3 29 rdi = 0x2010 {"%d%d"}
0x11ea 30 rsi = rbp - 0x14 {var_1c}
0x11ee 31 rdx = rbp - 0x18 {var_20}
0x11f2 32 al = 0
0x11f4 33 call(0x1050)
0x11f9 34 xmm0.q = float.d([rbp - 0x18 {var_20}].d)
0x11fe 35 xmm1.q = float.d([rbp - 0x14 {var_1c}].d)
0x1203 36 xmm0.q = xmm0.q f/ xmm1.q
0x1207 37 rax = [rbp - 0x10 {var_18}].q
0x120b 38 rcx = sx.q([rbp - 0x1c {var_24}].d)
0x120f 39 [rax + (rcx << 3)].q = xmm0.q
0x1214 40 eax = [rbp - 0x1c {var_24}].d
0x1217 41 eax = eax + 1
0x121a 42 [rbp - 0x1c {var_24}].d = eax
0x121d 43 goto 23 @ 0x11d2
0x1229 44 eax = [rbp - 0x1c {var_24_1}].d
0x122c 45 ecx = [rbp - 0x20 {var_28}].d
0x122f 46 ecx = ecx - 1
0x1234 47 if (eax s>= ecx) then 48 @ 0x12ce else 54 @ 0x123a
0x12ce 48 rdi = [rbp - 0x10 {var_18}].q
0x12d2 49 call(0x1040)
0x12d7 50 eax = 0
0x12d9 51 rsp = rsp + 0x30
0x12dd 52 rbp = pop
0x12de 53 <return> jump(pop)
0x123a 54 xmm0 = zx.o([rbp - 0x28 {var_30}].q)
0x123f 55 rax = [rbp - 0x10 {var_18}].q
0x1243 56 rcx = sx.q([rbp - 0x1c {var_24_1}].d)
0x1247 57 xmm0.q = xmm0.q f- fconvert.t([rax + (rcx << 3)].q)
0x124c 58 xmm1 = zx.o([0x2008].q)
0x1254 59 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1254 60 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1254 61 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1254 62 flag:s = 0
0x1254 63 flag:o = 0
0x1254 64 flag:a = 0
0x1258 65 if (flag:z || flag:c) then 66 @ 0x1271 else 78 @ 0x125e
0x1271 66 rax = [rbp - 0x10 {var_18}].q
0x1275 67 rcx = sx.q([rbp - 0x1c {var_24_1}].d)
0x1279 68 xmm0 = zx.o([rax + (rcx << 3)].q)
0x127e 69 xmm0.q = xmm0.q f- fconvert.t([rbp - 0x28 {var_30}].q)
0x1283 70 xmm1 = zx.o([0x2008].q)
0x128b 71 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x128b 72 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x128b 73 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x128b 74 flag:s = 0
0x128b 75 flag:o = 0
0x128b 76 flag:a = 0
0x128f 77 if (flag:z || flag:c) then 82 @ 0x12a8 else 86 @ 0x1295
0x125e 78 rdi = 0x2015 {"worse\n"}
0x1265 79 al = 0
0x1267 80 call(0x1030)
0x126c 81 goto 90 @ 0x12bb
0x12a8 82 rdi = 0x2024 {"same\n"}
0x12af 83 al = 0
0x12b1 84 call(0x1030)
0x12b1 85 goto 91 @ 0x12b6
0x1295 86 rdi = 0x201c {"better\n"}
0x129c 87 al = 0
0x129e 88 call(0x1030)
0x12a3 89 goto 91 @ 0x12b6
0x12bb 90 goto 92 @ 0x12c0
0x12b6 91 goto 90 @ 0x12bb
0x12c0 92 eax = [rbp - 0x1c {var_24_1}].d
0x12c3 93 eax = eax + 1
0x12c6 94 [rbp - 0x1c {var_24_1}].d = eax
0x12c9 95 goto 44 @ 0x1229
int64_t _fini():
0x12e4 0 rsp = rsp - 8
0x12e8 1 rsp = rsp + 8
0x12ec 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)
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 {"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 - 0xa0
0x116b 3 rdi = 0x2004 {"%d"}
0x1172 4 rsi = rbp - 4 {var_c}
0x1176 5 al = 0
0x1178 6 call(0x1050)
0x117d 7 [rbp - 8 {var_10}].d = 0
0x117d 8 goto 9 @ 0x1184
0x1184 9 eax = [rbp - 8 {var_10}].d
0x118a 10 if (eax s>= [rbp - 4 {var_c}].d) then 11 @ 0x1476 else 14 @ 0x1190
0x1476 11 rsp = rsp + 0xa0
0x147d 12 rbp = pop
0x147e 13 <return> jump(pop)
0x1190 14 rsi = rbp - 0x70 {var_78}
0x1194 15 rdi = 0x2007 {"%s"}
0x119b 16 al = 0
0x119d 17 call(0x1050)
0x11a2 18 rsi = rbp - 0x70 {var_78}
0x11a6 19 rdi = 0x200a {"%s\n"}
0x11ad 20 al = 0
0x11af 21 call(0x1030)
0x11b4 22 [rbp - 0x74 {var_7c_1}].d = 0
0x11b4 23 goto 24 @ 0x11bb
0x11bb 24 rax = sx.q([rbp - 0x74 {var_7c_1}].d)
0x11bf 25 [rbp - 0x88 {var_90_1}].q = rax
0x11c6 26 rdi = rbp - 0x70 {var_78}
0x11ca 27 call(0x1040)
0x11cf 28 rcx = rax
0x11d2 29 rax = [rbp - 0x88 {var_90_1}].q
0x11dc 30 if (rax u>= rcx) then 31 @ 0x145a else 38 @ 0x11e2
0x145a 31 rdi = 0x200c {"\n"}
0x1461 32 al = 0
0x1463 33 call(0x1030)
0x1468 34 eax = [rbp - 8 {var_10}].d
0x146b 35 eax = eax + 1
0x146e 36 [rbp - 8 {var_10}].d = eax
0x1471 37 goto 9 @ 0x1184
0x11e2 38 rax = sx.q([rbp - 0x74 {var_7c_1}].d)
0x11e6 39 eax = sx.d([rbp + rax - 0x70].b)
0x11ee 40 if (eax != 0x28) then 41 @ 0x132a else 44 @ 0x11f4
0x132a 41 rax = sx.q([rbp - 0x74 {var_7c_1}].d)
0x132e 42 eax = sx.d([rbp + rax - 0x70].b)
0x1336 43 if (eax != 0x29) then 52 @ 0x1434 else 56 @ 0x1340
0x11f4 44 rax = sx.q([rbp - 0x74 {var_7c_1}].d)
0x11f8 45 [rbp - 0x90 {var_98_1}].q = rax
0x11ff 46 rdi = rbp - 0x70 {var_78}
0x1203 47 call(0x1040)
0x1208 48 rcx = rax
0x120b 49 rax = [rbp - 0x90 {var_98_1}].q
0x1212 50 rcx = rcx - 1
0x1219 51 if (rax != rcx) then 57 @ 0x1232 else 62 @ 0x121f
0x1434 52 rdi = 0x2010 {" "}
0x143b 53 al = 0
0x143d 54 call(0x1030)
0x143d 55 goto 66 @ 0x1442
0x1340 56 if ([rbp - 0x74 {var_7c_1}].d != 0) then 67 @ 0x1359 else 72 @ 0x1346
0x1232 57 [rbp - 0x7c {var_84_1}].d = 1
0x1239 58 eax = [rbp - 0x74 {var_7c_1}].d
0x123c 59 eax = eax + 1
0x123f 60 [rbp - 0x78 {var_80_1}].d = eax
0x123f 61 goto 76 @ 0x1242
0x121f 62 rdi = 0x200e {"$"}
0x1226 63 al = 0
0x1228 64 call(0x1030)
0x122d 65 goto 83 @ 0x1325
0x1442 66 goto 84 @ 0x1447
0x1359 67 [rbp - 0x7c {var_84_2}].d = 1
0x1360 68 eax = [rbp - 0x74 {var_7c_1}].d
0x1363 69 eax = eax - 1
0x1366 70 [rbp - 0x78 {var_80_2}].d = eax
0x1366 71 goto 85 @ 0x136d
0x1346 72 rdi = 0x2012 {"?"}
0x134d 73 al = 0
0x134f 74 call(0x1030)
0x1354 75 goto 86 @ 0x142f
0x1242 76 rax = sx.q([rbp - 0x78 {var_80_1}].d)
0x1246 77 [rbp - 0x98 {var_a0_1}].q = rax
0x124d 78 rdi = rbp - 0x70 {var_78}
0x1251 79 call(0x1040)
0x1256 80 rcx = rax
0x1259 81 rax = [rbp - 0x98 {var_a0_1}].q
0x1263 82 if (rax u>= rcx) then 87 @ 0x12f9 else 88 @ 0x1269
0x1325 83 goto 84 @ 0x1447
0x1447 84 goto 91 @ 0x144c
0x136d 85 if ([rbp - 0x78 {var_80_2}].d s< 0) then 95 @ 0x1403 else 96 @ 0x1373
0x142f 86 goto 66 @ 0x1442
0x12f9 87 if ([rbp - 0x7c {var_84_1}].d != 0) then 99 @ 0x1312 else 103 @ 0x12ff
0x1269 88 rax = sx.q([rbp - 0x78 {var_80_1}].d)
0x126d 89 eax = sx.d([rbp + rax - 0x70].b)
0x1275 90 if (eax != 0x29) then 107 @ 0x1293 else 110 @ 0x127f
0x144c 91 eax = [rbp - 0x74 {var_7c_1}].d
0x144f 92 eax = eax + 1
0x1452 93 [rbp - 0x74 {var_7c_1}].d = eax
0x1455 94 goto 24 @ 0x11bb
0x1403 95 if ([rbp - 0x7c {var_84_2}].d != 0) then 111 @ 0x141c else 115 @ 0x1409
0x1373 96 rax = sx.q([rbp - 0x78 {var_80_2}].d)
0x1377 97 eax = sx.d([rbp + rax - 0x70].b)
0x137f 98 if (eax != 0x28) then 119 @ 0x139d else 122 @ 0x1389
0x1312 99 rdi = 0x200e {"$"}
0x1319 100 al = 0
0x131b 101 call(0x1030)
0x131b 102 goto 123 @ 0x1320
0x12ff 103 rdi = 0x2010 {" "}
0x1306 104 al = 0
0x1308 105 call(0x1030)
0x130d 106 goto 123 @ 0x1320
0x1293 107 rax = sx.q([rbp - 0x78 {var_80_1}].d)
0x1297 108 eax = sx.d([rbp + rax - 0x70].b)
0x129f 109 if (eax != 0x29) then 124 @ 0x12bd else 127 @ 0x12a9
0x127f 110 if ([rbp - 0x7c {var_84_1}].d != 1) then 107 @ 0x1293 else 128 @ 0x1285
0x141c 111 rdi = 0x2012 {"?"}
0x1423 112 al = 0
0x1425 113 call(0x1030)
0x1425 114 goto 132 @ 0x142a
0x1409 115 rdi = 0x2010 {" "}
0x1410 116 al = 0
0x1412 117 call(0x1030)
0x1417 118 goto 132 @ 0x142a
0x139d 119 rax = sx.q([rbp - 0x78 {var_80_2}].d)
0x13a1 120 eax = sx.d([rbp + rax - 0x70].b)
0x13a9 121 if (eax != 0x28) then 133 @ 0x13c7 else 136 @ 0x13b3
0x1389 122 if ([rbp - 0x7c {var_84_2}].d != 1) then 119 @ 0x139d else 137 @ 0x138f
0x1320 123 goto 83 @ 0x1325
0x12bd 124 rax = sx.q([rbp - 0x78 {var_80_1}].d)
0x12c1 125 eax = sx.d([rbp + rax - 0x70].b)
0x12c9 126 if (eax != 0x28) then 141 @ 0x12d8 else 142 @ 0x12cf
0x12a9 127 if ([rbp - 0x7c {var_84_1}].d == 1) then 124 @ 0x12bd else 146 @ 0x12af
0x1285 128 eax = [rbp - 0x7c {var_84_1}].d
0x1288 129 eax = eax - 1
0x128b 130 [rbp - 0x7c {var_84_1}].d = eax
0x128e 131 goto 87 @ 0x12f9
0x142a 132 goto 86 @ 0x142f
0x13c7 133 rax = sx.q([rbp - 0x78 {var_80_2}].d)
0x13cb 134 eax = sx.d([rbp + rax - 0x70].b)
0x13d3 135 if (eax != 0x29) then 150 @ 0x13e2 else 151 @ 0x13d9
0x13b3 136 if ([rbp - 0x7c {var_84_2}].d == 1) then 133 @ 0x13c7 else 155 @ 0x13b9
0x138f 137 eax = [rbp - 0x7c {var_84_2}].d
0x1392 138 eax = eax - 1
0x1395 139 [rbp - 0x7c {var_84_2}].d = eax
0x1398 140 goto 95 @ 0x1403
0x12d8 141 goto 159 @ 0x12dd
0x12cf 142 eax = [rbp - 0x7c {var_84_1}].d
0x12d2 143 eax = eax + 1
0x12d5 144 [rbp - 0x7c {var_84_1}].d = eax
0x12d5 145 goto 141 @ 0x12d8
0x12af 146 eax = [rbp - 0x7c {var_84_1}].d
0x12b2 147 eax = eax - 1
0x12b5 148 [rbp - 0x7c {var_84_1}].d = eax
0x12b8 149 goto 159 @ 0x12dd
0x13e2 150 goto 160 @ 0x13e7
0x13d9 151 eax = [rbp - 0x7c {var_84_2}].d
0x13dc 152 eax = eax + 1
0x13df 153 [rbp - 0x7c {var_84_2}].d = eax
0x13df 154 goto 150 @ 0x13e2
0x13b9 155 eax = [rbp - 0x7c {var_84_2}].d
0x13bc 156 eax = eax - 1
0x13bf 157 [rbp - 0x7c {var_84_2}].d = eax
0x13c2 158 goto 160 @ 0x13e7
0x12dd 159 goto 161 @ 0x12e2
0x13e7 160 goto 162 @ 0x13ec
0x12e2 161 goto 163 @ 0x12e7
0x13ec 162 goto 167 @ 0x13f1
0x12e7 163 eax = [rbp - 0x78 {var_80_1}].d
0x12ea 164 eax = eax + 1
0x12ed 165 [rbp - 0x78 {var_80_1}].d = eax
0x12f0 166 goto 76 @ 0x1242
0x13f1 167 eax = [rbp - 0x78 {var_80_2}].d
0x13f4 168 eax = eax - 1
0x13f7 169 [rbp - 0x78 {var_80_2}].d = eax
0x13fa 170 goto 85 @ 0x136d
int64_t _fini():
0x1484 0 rsp = rsp - 8
0x1488 1 rsp = rsp + 8
0x148c 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)
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 {"UAWAVAUATSHXB"}
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 - 0xf4258
0x1161 7 rdi = 0x2004 {"%d"}
0x1168 8 rsi = rsp + 0xc {var_f427c}
0x116d 9 eax = 0
0x116f 10 call(0x1040)
0x1174 11 eax = [rsp + 0xc {var_f427c}].d
0x117a 12 if (eax s<= 0) then 13 @ 0x1307 else 22 @ 0x1180
0x1307 13 eax = 0
0x1309 14 rsp = rsp + 0xf4258
0x1310 15 rbx = pop
0x1311 16 r12 = pop
0x1313 17 r13 = pop
0x1315 18 r14 = pop
0x1317 19 r15 = pop
0x1319 20 rbp = pop
0x131a 21 <return> jump(pop)
0x1180 22 r15 = rsp + 0x10 {var_f4278}
0x1185 23 r14 = 0x2004 {"%d"}
0x118c 24 r12d = 0
0x118f 25 goto 26 @ 0x11b5
0x11b5 26 if (eax s<= 0) then 27 @ 0x11a0 else 31 @ 0x11b7
0x11a0 27 rcx = sx.q(eax)
0x11a3 28 r12 = r12 + 1
0x11a7 29 r15 = r15 + 0x7d0
0x11b1 30 if (r12 s>= rcx) then 34 @ 0x11e3 else 26 @ 0x11b5
0x11b7 31 rbx = r15
0x11ba 32 ebp = 0
0x11bc 33 goto 35 @ 0x11c0
0x11e3 34 if (eax s<= 0) then 13 @ 0x1307 else 43 @ 0x11e9
0x11c0 35 rdi = r14
0x11c3 36 rsi = rbx
0x11c6 37 eax = 0
0x11c8 38 call(0x1040)
0x11cd 39 rbp = rbp + 1
0x11d1 40 rax = sx.q([rsp + 0xc {var_f427c}].d)
0x11d6 41 rbx = rbx + 4
0x11dd 42 if (rbp s< rax) then 35 @ 0x11c0 else 49 @ 0x11df
0x11e9 43 r12 = rsp + 0x7e0 {var_f3aa8}
0x11f1 44 r15 = rsp + 0x14 {var_f4274}
0x11f6 45 r13d = 0
0x11f9 46 ebx = 0
0x11fb 47 ebp = 0
0x11fd 48 goto 50 @ 0x12f1
0x11df 49 goto 27 @ 0x11a0
0x12f1 50 if (eax s<= 0) then 51 @ 0x1210 else 53 @ 0x12f7
0x1210 51 r14d = 0
0x1216 52 if (r14d s>= eax) then 58 @ 0x12dc else 62 @ 0x121c
0x12f7 53 esi = eax
0x12f9 54 rcx = r15 {var_f4274}
0x12fc 55 rdx = r12
0x12ff 56 r14d = 0
0x1302 57 goto 63 @ 0x1230
0x12dc 58 r13 = r13 + 1
0x12e0 59 rcx = sx.q(eax)
0x12e3 60 r12 = r12 + 0x7d0
0x12ed 61 if (r13 s>= rcx) then 13 @ 0x1307 else 50 @ 0x12f1
0x121c 62 goto 13 @ 0x1307
0x1230 63 rdi = r13 * 0x7d0
0x1237 64 rdi = rdi + rsp
0x123a 65 rdi = rdi + 0x10
0x1243 66 if ([rdi + (r14 << 2)].d == 0) then 67 @ 0x1260 else 71 @ 0x1245
0x1260 67 eax = r14d
0x1263 68 cond:0 = [rdi + (rax << 2)].d != 0
0x1267 69 rsi = r13
0x126a 70 if (cond:0) then 75 @ 0x1283 else 81 @ 0x126c
0x1245 71 r14 = r14 + 1
0x1249 72 rdx = rdx + 4
0x124d 73 rcx = rcx + 4
0x1254 74 if (r14 != rsi) then 63 @ 0x1230 else 82 @ 0x1256
0x1283 75 esi = esi - 1
0x1286 76 rdx = sx.q(esi)
0x1289 77 rdx = rdx * 0x7d0
0x1290 78 rsi = rsp + rdx
0x1294 79 rsi = rsi + 0x10
0x129c 80 if ([rsi + (rax << 2)].d != 0) then 83 @ 0x12bc else 91 @ 0x129e
0x126c 81 goto 93 @ 0x1270
0x1256 82 goto 58 @ 0x12dc
0x12bc 83 eax = (rbp - 2).d
0x12bf 84 esi = (rbx - 2).d
0x12c2 85 esi = esi * eax
0x12c5 86 rdi = 0x2007 {"%d\n"}
0x12cc 87 eax = 0
0x12ce 88 call(0x1030)
0x12d3 89 eax = [rsp + 0xc {var_f427c}].d
0x12da 90 if (r14d s< eax) then 13 @ 0x1307 else 58 @ 0x12dc
0x129e 91 rcx = rcx + rdx
0x12ab 92 goto 98 @ 0x12b0
0x1270 93 rsi = rsi + 1
0x1274 94 ebp = ebp + 1
0x1277 95 cond:1 = [rdx].d == 0
0x127a 96 rdx = rdx + 0x7d0
0x1281 97 if (cond:1) then 93 @ 0x1270 else 75 @ 0x1283
0x12b0 98 ebx = ebx + 1
0x12b3 99 cond:2 = [rcx].d == 0
0x12b6 100 rcx = rcx + 4
0x12ba 101 if (cond:2) then 98 @ 0x12b0 else 83 @ 0x12bc
int64_t _fini():
0x1320 0 rsp = rsp - 8
0x1324 1 rsp = rsp + 8
0x1328 2 <return> jump(pop)
| POJ_15 |
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 - 0x400
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 rdi = 0x2004 {"%d"}
0x1169 5 rsi = rbp - 8 {var_10}
0x116d 6 al = 0
0x116f 7 call(0x1040)
0x1174 8 [rbp - 0xc {var_14}].d = 0
0x1174 9 goto 10 @ 0x117b
0x117b 10 eax = [rbp - 0xc {var_14}].d
0x1181 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x11cb else 14 @ 0x1187
0x11cb 12 [rbp - 0x10 {var_18}].d = 1
0x11cb 13 goto 30 @ 0x11d2
0x1187 14 rax = sx.q([rbp - 0xc {var_14}].d)
0x118b 15 rsi = rbp - 0x3f0 {var_3f8}
0x1192 16 rax = rax * 0x18
0x1196 17 rsi = rsi + rax
0x1199 18 rax = sx.q([rbp - 0xc {var_14}].d)
0x119d 19 rdx = rbp - 0x3f0 {var_3f8}
0x11a4 20 rax = rax * 0x18
0x11a8 21 rdx = rdx + rax
0x11ab 22 rdx = rdx + 0x10
0x11af 23 rdi = 0x2007 {"%s %lf"}
0x11b6 24 al = 0
0x11b8 25 call(0x1040)
0x11bd 26 eax = [rbp - 0xc {var_14}].d
0x11c0 27 eax = eax + 1
0x11c3 28 [rbp - 0xc {var_14}].d = eax
0x11c6 29 goto 10 @ 0x117b
0x11d2 30 eax = [rbp - 0x10 {var_18}].d
0x11d8 31 if (eax s> [rbp - 8 {var_10}].d) then 32 @ 0x132b else 35 @ 0x11de
0x132b 32 [rbp - 0x3f8 {var_400}].d = 0
0x1335 33 [rbp - 0xc {var_14_2}].d = 0
0x1335 34 goto 37 @ 0x133c
0x11de 35 [rbp - 0xc {var_14_1}].d = 0
0x11de 36 goto 39 @ 0x11e5
0x133c 37 eax = [rbp - 0xc {var_14_2}].d
0x1342 38 if (eax s>= [rbp - 8 {var_10}].d) then 43 @ 0x13ad else 47 @ 0x1348
0x11e5 39 eax = [rbp - 0xc {var_14_1}].d
0x11e8 40 ecx = [rbp - 8 {var_10}].d
0x11eb 41 ecx = ecx - [rbp - 0x10 {var_18}].d
0x11f0 42 if (eax s>= ecx) then 53 @ 0x1318 else 54 @ 0x11f6
0x13ad 43 eax = [rbp - 8 {var_10}].d
0x13b0 44 eax = eax - 1
0x13b3 45 [rbp - 0xc {var_14_3}].d = eax
0x13b3 46 goto 72 @ 0x13ba
0x1348 47 rcx = sx.q([rbp - 0xc {var_14_2}].d)
0x134c 48 rax = rbp - 0x3f0 {var_3f8}
0x1353 49 rcx = rcx * 0x18
0x1357 50 rax = rax + rcx
0x135a 51 eax = sx.d([rax].b)
0x1360 52 if (eax != 0x6d) then 73 @ 0x139a else 74 @ 0x1366
0x1318 53 goto 86 @ 0x131d
0x11f6 54 rcx = sx.q([rbp - 0xc {var_14_1}].d)
0x11fa 55 rax = rbp - 0x3f0 {var_3f8}
0x1201 56 rcx = rcx * 0x18
0x1205 57 rax = rax + rcx
0x1208 58 xmm0 = zx.o([rax + 0x10].q)
0x120d 59 eax = [rbp - 0xc {var_14_1}].d
0x1210 60 eax = eax + 1
0x1213 61 rcx = sx.q(eax)
0x1216 62 rax = rbp - 0x3f0 {var_3f8}
0x121d 63 rcx = rcx * 0x18
0x1221 64 rax = rax + rcx
0x1224 65 flag:p = is_unordered.q(xmm0.q, fconvert.t([rax + 0x10].q))
0x1224 66 flag:c = xmm0.q f< fconvert.t([rax + 0x10].q) | is_unordered.q(xmm0.q, fconvert.t([rax + 0x10].q))
0x1224 67 flag:z = xmm0.q f== fconvert.t([rax + 0x10].q) | is_unordered.q(xmm0.q, fconvert.t([rax + 0x10].q))
0x1224 68 flag:s = 0
0x1224 69 flag:o = 0
0x1224 70 flag:a = 0
0x1229 71 if (flag:z || flag:c) then 90 @ 0x1305 else 91 @ 0x122f
0x13ba 72 if ([rbp - 0xc {var_14_3}].d s< 0) then 144 @ 0x1495 else 148 @ 0x13c0
0x139a 73 goto 152 @ 0x139f
0x1366 74 rcx = sx.q([rbp - 0xc {var_14_2}].d)
0x136a 75 rax = rbp - 0x3f0 {var_3f8}
0x1371 76 rcx = rcx * 0x18
0x1375 77 rax = rax + rcx
0x1378 78 xmm0 = zx.o([rax + 0x10].q)
0x137d 79 rdi = 0x200e {"%.2lf "}
0x1384 80 al = 1
0x1386 81 call(0x1030)
0x138b 82 eax = [rbp - 0x3f8 {var_400}].d
0x1391 83 eax = eax + 1
0x1394 84 [rbp - 0x3f8 {var_400}].d = eax
0x1394 85 goto 73 @ 0x139a
0x131d 86 eax = [rbp - 0x10 {var_18}].d
0x1320 87 eax = eax + 1
0x1323 88 [rbp - 0x10 {var_18}].d = eax
0x1326 89 goto 30 @ 0x11d2
0x1305 90 goto 156 @ 0x130a
0x122f 91 rcx = sx.q([rbp - 0xc {var_14_1}].d)
0x1233 92 rax = rbp - 0x3f0 {var_3f8}
0x123a 93 rcx = rcx * 0x18
0x123e 94 rax = rax + rcx
0x1241 95 al = [rax].b
0x1243 96 [rbp - 0x3f1 {var_3f9_1}].b = al
0x1249 97 eax = [rbp - 0xc {var_14_1}].d
0x124c 98 eax = eax + 1
0x124f 99 rcx = sx.q(eax)
0x1252 100 rax = rbp - 0x3f0 {var_3f8}
0x1259 101 rcx = rcx * 0x18
0x125d 102 rax = rax + rcx
0x1260 103 cl = [rax].b
0x1262 104 rdx = sx.q([rbp - 0xc {var_14_1}].d)
0x1266 105 rax = rbp - 0x3f0 {var_3f8}
0x126d 106 rdx = rdx * 0x18
0x1271 107 rax = rax + rdx
0x1274 108 [rax].b = cl
0x1276 109 cl = [rbp - 0x3f1 {var_3f9_1}].b
0x127c 110 eax = [rbp - 0xc {var_14_1}].d
0x127f 111 eax = eax + 1
0x1282 112 rdx = sx.q(eax)
0x1285 113 rax = rbp - 0x3f0 {var_3f8}
0x128c 114 rdx = rdx * 0x18
0x1290 115 rax = rax + rdx
0x1293 116 [rax].b = cl
0x1295 117 rcx = sx.q([rbp - 0xc {var_14_1}].d)
0x1299 118 rax = rbp - 0x3f0 {var_3f8}
0x12a0 119 rcx = rcx * 0x18
0x12a4 120 rax = rax + rcx
0x12a7 121 xmm0 = zx.o([rax + 0x10].q)
0x12ac 122 [rbp - 0x18 {var_20_1}].q = xmm0.q
0x12b1 123 eax = [rbp - 0xc {var_14_1}].d
0x12b4 124 eax = eax + 1
0x12b7 125 rcx = sx.q(eax)
0x12ba 126 rax = rbp - 0x3f0 {var_3f8}
0x12c1 127 rcx = rcx * 0x18
0x12c5 128 rax = rax + rcx
0x12c8 129 xmm0 = zx.o([rax + 0x10].q)
0x12cd 130 rcx = sx.q([rbp - 0xc {var_14_1}].d)
0x12d1 131 rax = rbp - 0x3f0 {var_3f8}
0x12d8 132 rcx = rcx * 0x18
0x12dc 133 rax = rax + rcx
0x12df 134 [rax + 0x10].q = xmm0.q
0x12e4 135 xmm0 = zx.o([rbp - 0x18 {var_20_1}].q)
0x12e9 136 eax = [rbp - 0xc {var_14_1}].d
0x12ec 137 eax = eax + 1
0x12ef 138 rcx = sx.q(eax)
0x12f2 139 rax = rbp - 0x3f0 {var_3f8}
0x12f9 140 rcx = rcx * 0x18
0x12fd 141 rax = rax + rcx
0x1300 142 [rax + 0x10].q = xmm0.q
0x1300 143 goto 90 @ 0x1305
0x1495 144 eax = 0
0x1497 145 rsp = rsp + 0x400
0x149e 146 rbp = pop
0x149f 147 <return> jump(pop)
0x13c0 148 eax = [rbp - 0x3f8 {var_400}].d
0x13c6 149 ecx = [rbp - 8 {var_10}].d
0x13c9 150 ecx = ecx - 1
0x13ce 151 if (eax != ecx) then 160 @ 0x142b else 166 @ 0x13d4
0x139f 152 eax = [rbp - 0xc {var_14_2}].d
0x13a2 153 eax = eax + 1
0x13a5 154 [rbp - 0xc {var_14_2}].d = eax
0x13a8 155 goto 37 @ 0x133c
0x130a 156 eax = [rbp - 0xc {var_14_1}].d
0x130d 157 eax = eax + 1
0x1310 158 [rbp - 0xc {var_14_1}].d = eax
0x1313 159 goto 39 @ 0x11e5
0x142b 160 rcx = sx.q([rbp - 0xc {var_14_3}].d)
0x142f 161 rax = rbp - 0x3f0 {var_3f8}
0x1436 162 rcx = rcx * 0x18
0x143a 163 rax = rax + rcx
0x143d 164 eax = sx.d([rax].b)
0x1443 165 if (eax != 0x66) then 172 @ 0x147d else 173 @ 0x1449
0x13d4 166 rcx = sx.q([rbp - 0xc {var_14_3}].d)
0x13d8 167 rax = rbp - 0x3f0 {var_3f8}
0x13df 168 rcx = rcx * 0x18
0x13e3 169 rax = rax + rcx
0x13e6 170 eax = sx.d([rax].b)
0x13ec 171 if (eax != 0x66) then 185 @ 0x1426 else 186 @ 0x13f2
0x147d 172 goto 198 @ 0x1482
0x1449 173 rcx = sx.q([rbp - 0xc {var_14_3}].d)
0x144d 174 rax = rbp - 0x3f0 {var_3f8}
0x1454 175 rcx = rcx * 0x18
0x1458 176 rax = rax + rcx
0x145b 177 xmm0 = zx.o([rax + 0x10].q)
0x1460 178 rdi = 0x200e {"%.2lf "}
0x1467 179 al = 1
0x1469 180 call(0x1030)
0x146e 181 eax = [rbp - 0x3f8 {var_400}].d
0x1474 182 eax = eax + 1
0x1477 183 [rbp - 0x3f8 {var_400}].d = eax
0x1477 184 goto 172 @ 0x147d
0x1426 185 goto 198 @ 0x1482
0x13f2 186 rcx = sx.q([rbp - 0xc {var_14_3}].d)
0x13f6 187 rax = rbp - 0x3f0 {var_3f8}
0x13fd 188 rcx = rcx * 0x18
0x1401 189 rax = rax + rcx
0x1404 190 xmm0 = zx.o([rax + 0x10].q)
0x1409 191 rdi = 0x2015 {"%.2lf"}
0x1410 192 al = 1
0x1412 193 call(0x1030)
0x1417 194 eax = [rbp - 0x3f8 {var_400}].d
0x141d 195 eax = eax + 1
0x1420 196 [rbp - 0x3f8 {var_400}].d = eax
0x1420 197 goto 185 @ 0x1426
0x1482 198 goto 199 @ 0x1487
0x1487 199 eax = [rbp - 0xc {var_14_3}].d
0x148a 200 eax = eax - 1
0x148d 201 [rbp - 0xc {var_14_3}].d = eax
0x1490 202 goto 72 @ 0x13ba
int64_t _fini():
0x14a4 0 rsp = rsp - 8
0x14a8 1 rsp = rsp + 8
0x14ac 2 <return> jump(pop)
| POJ_102 |
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 {"UAWAVAUATSHS"}
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 - 0x75318
0x1171 7 r12 = rsp + 0x4e210 {var_27138}
0x1179 8 edx = 0x27100 {""}
0x117e 9 rdi = r12 {var_27138}
0x1181 10 esi = 0
0x1183 11 call(0x1040)
0x1188 12 rdi = rsp + 0x27110 {var_4e238}
0x1190 13 edx = 0x27100 {""}
0x1195 14 esi = 0
0x1197 15 call(0x1040)
0x119c 16 rdi = rsp + 0x10 {var_75338}
0x11a1 17 edx = 0x27100 {""}
0x11a6 18 esi = 0
0x11a8 19 call(0x1040)
0x11ad 20 rdi = 0x2004 {"%d %d"}
0x11b4 21 rsi = rsp + 4 {var_75344}
0x11b9 22 rdx = rsp + 8 {var_75340}
0x11be 23 eax = 0
0x11c0 24 call(0x1050)
0x11c5 25 ecx = [rsp + 4 {var_75344}].d
0x11cb 26 if (ecx s<= 0) then 27 @ 0x1235 else 34 @ 0x11cd
0x1235 27 rdi = 0x2004 {"%d %d"}
0x123c 28 rsi = rsp + 0xc {var_7533c}
0x1241 29 rdx = rsp {var_75348}
0x1244 30 eax = 0
0x1246 31 call(0x1050)
0x124b 32 ecx = [rsp + 0xc {var_7533c}].d
0x1251 33 if (ecx s<= 0) then 36 @ 0x12b4 else 38 @ 0x1253
0x11cd 34 eax = [rsp + 8 {var_75340}].d
0x11d3 35 if (eax s<= 0) then 27 @ 0x1235 else 40 @ 0x11d5
0x12b4 36 ecx = [rsp + 4 {var_75344}].d
0x12ba 37 if (ecx s<= 0) then 44 @ 0x14ce else 53 @ 0x12c0
0x1253 38 eax = [rsp {var_75348}].d
0x1258 39 if (eax s<= 0) then 36 @ 0x12b4 else 55 @ 0x125a
0x11d5 40 r14 = rsp + 0x4e210 {var_27138}
0x11dd 41 r15 = 0x2007 {"%d"}
0x11e4 42 r13d = 0
0x11e7 43 goto 59 @ 0x1205
0x14ce 44 eax = 0
0x14d0 45 rsp = rsp + 0x75318
0x14d7 46 rbx = pop
0x14d8 47 r12 = pop
0x14da 48 r13 = pop
0x14dc 49 r14 = pop
0x14de 50 r15 = pop
0x14e0 51 rbp = pop
0x14e1 52 <return> jump(pop)
0x12c0 53 eax = [rsp {var_75348}].d
0x12c5 54 if (eax s<= 0) then 44 @ 0x14ce else 60 @ 0x12cb
0x125a 55 r14 = rsp + 0x27110 {var_4e238}
0x1262 56 r15 = 0x2007 {"%d"}
0x1269 57 r13d = 0
0x126c 58 goto 63 @ 0x1285
0x1205 59 if (eax s<= 0) then 64 @ 0x11f0 else 68 @ 0x1207
0x12cb 60 rbx = rsp + 0x4e220 {var_27128}
0x12d3 61 r13d = 0
0x12d6 62 goto 71 @ 0x1304
0x1285 63 if (eax s<= 0) then 72 @ 0x1270 else 76 @ 0x1287
0x11f0 64 r13 = r13 + 1
0x11f4 65 rdx = sx.q(ecx)
0x11f7 66 r14 = r14 + 0x320
0x1201 67 if (r13 s>= rdx) then 27 @ 0x1235 else 59 @ 0x1205
0x1207 68 rbx = r14
0x120a 69 ebp = 0
0x120c 70 goto 79 @ 0x1210
0x1304 71 if (eax s<= 0) then 87 @ 0x12e4 else 92 @ 0x1306
0x1270 72 r13 = r13 + 1
0x1274 73 rdx = sx.q(ecx)
0x1277 74 r14 = r14 + 0x320
0x1281 75 if (r13 s>= rdx) then 36 @ 0x12b4 else 63 @ 0x1285
0x1287 76 rbx = r14
0x128a 77 ebp = 0
0x128c 78 goto 95 @ 0x1290
0x1210 79 rdi = r15
0x1213 80 rsi = rbx
0x1216 81 eax = 0
0x1218 82 call(0x1050)
0x121d 83 rbp = rbp + 1
0x1221 84 rax = sx.q([rsp + 8 {var_75340}].d)
0x1226 85 rbx = rbx + 4
0x122d 86 if (rbp s< rax) then 79 @ 0x1210 else 103 @ 0x122f
0x12e4 87 r13 = r13 + 1
0x12e8 88 rdx = sx.q(ecx)
0x12eb 89 rbx = rbx + 0x320
0x12f2 90 r12 = r12 + 0x320
0x12fc 91 if (r13 s>= rdx) then 44 @ 0x14ce else 71 @ 0x1304
0x1306 92 r14 = rsp + 0x27110 {var_4e238}
0x130e 93 r15d = 0
0x1311 94 goto 105 @ 0x136c
0x1290 95 rdi = r15
0x1293 96 rsi = rbx
0x1296 97 eax = 0
0x1298 98 call(0x1050)
0x129d 99 rbp = rbp + 1
0x12a1 100 rax = sx.q([rsp {var_75348}].d)
0x12a5 101 rbx = rbx + 4
0x12ac 102 if (rbp s< rax) then 95 @ 0x1290 else 107 @ 0x12ae
0x122f 103 ecx = [rsp + 4 {var_75344}].d
0x1233 104 goto 64 @ 0x11f0
0x136c 105 ecx = [rsp + 8 {var_75340}].d
0x1372 106 if (ecx s< 0) then 109 @ 0x1326 else 118 @ 0x1374
0x12ae 107 ecx = [rsp + 0xc {var_7533c}].d
0x12b2 108 goto 72 @ 0x1270
0x1326 109 eax = eax - 1
0x1329 110 rax = sx.q(eax)
0x132b 111 rcx = r13 * 0x320
0x1332 112 cond:0 = r15 s< rax
0x1335 113 rax = rsp + rcx + 0x10
0x133a 114 esi = [rax + (r15 << 2)].d
0x133e 115 rdi = 0x200e {"%d\n"}
0x1345 116 rax = 0x200a {"%d "}
0x134c 117 if (cond:0) then 125 else 127 @ 0x1350
0x1374 118 esi = ecx
0x1376 119 rdx = r13 * 0x320
0x137d 120 r8 = rsp + rdx
0x1381 121 r8 = r8 + 0x10
0x1385 122 edx = [r8 + (r15 << 2)].d
0x1389 123 rcx = rcx + 1
0x1390 124 if (esi u>= 7) then 133 @ 0x13a0 else 142 @ 0x1392
0x134c 125 rdi = rax
0x134c 126 goto 127 @ 0x1350
0x1350 127 eax = 0
0x1352 128 call(0x1030)
0x1357 129 r15 = r15 + 1
0x135b 130 rax = sx.q([rsp {var_75348}].d)
0x135f 131 r14 = r14 + 4
0x1366 132 if (r15 s>= rax) then 144 @ 0x12e0 else 105 @ 0x136c
0x13a0 133 esi = ecx
0x13a2 134 esi = esi & 0xfffffff8
0x13a5 135 xmm0 = edx
0x13a9 136 rdi = rcx << 2
0x13b1 137 rdi = rdi & 0xffffffffffffffe0
0x13b5 138 xmm1 = 0
0x13b9 139 ebp = 0
0x13bb 140 rdx = r14
0x13be 141 goto 146 @ 0x13c0
0x1392 142 esi = 0
0x1394 143 goto 181 @ 0x149e
0x12e0 144 ecx = [rsp + 4 {var_75344}].d
0x12e0 145 goto 87 @ 0x12e4
0x13c0 146 xmm3 = [rbx + rbp - 0x10].o
0x13c6 147 xmm2 = [rbx + rbp].o
0x13cb 148 xmm4 = [rdx + 0x960].d
0x13d3 149 xmm5 = [rdx + 0x640].d
0x13db 150 xmm5 = _mm_unpacklo_epi32(xmm5, xmm4.q)
0x13df 151 xmm4 = [rdx + 0x320].d
0x13e7 152 xmm6 = [rdx].d
0x13eb 153 xmm6 = _mm_unpacklo_epi32(xmm6, xmm4.q)
0x13ef 154 xmm6 = _mm_unpacklo_epi64(xmm6, xmm5.q)
0x13f3 155 xmm4 = [rdx + 0x15e0].d
0x13fb 156 xmm5 = [rdx + 0x12c0].d
0x1403 157 xmm5 = _mm_unpacklo_epi32(xmm5, xmm4.q)
0x1407 158 xmm4 = [rdx + 0xfa0].d
0x140f 159 xmm7 = [rdx + 0xc80].d
0x1417 160 xmm7 = _mm_unpacklo_epi32(xmm7, xmm4.q)
0x141b 161 xmm7 = _mm_unpacklo_epi64(xmm7, xmm5.q)
0x141f 162 xmm4 = _mm_shuffle_epi32(xmm6, 0xf5)
0x1424 163 xmm6 = _mm_mul_epu32(xmm6, xmm3)
0x1428 164 xmm5 = _mm_shuffle_epi32(xmm6, 0xe8)
0x142d 165 xmm3 = _mm_shuffle_epi32(xmm3, 0xf5)
0x1432 166 xmm3 = _mm_mul_epu32(xmm3, xmm4)
0x1436 167 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8)
0x143b 168 xmm5 = _mm_unpacklo_epi32(xmm5, xmm3.q)
0x143f 169 xmm0 = _mm_add_epi32(xmm0, xmm5)
0x1443 170 xmm3 = _mm_shuffle_epi32(xmm7, 0xf5)
0x1448 171 xmm7 = _mm_mul_epu32(xmm7, xmm2)
0x144c 172 xmm4 = _mm_shuffle_epi32(xmm7, 0xe8)
0x1451 173 xmm2 = _mm_shuffle_epi32(xmm2, 0xf5)
0x1456 174 xmm2 = _mm_mul_epu32(xmm2, xmm3)
0x145a 175 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8)
0x145f 176 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q)
0x1463 177 xmm1 = _mm_add_epi32(xmm1, xmm4)
0x1467 178 rdx = rdx + 0x1900
0x146e 179 rbp = rbp + 0x20
0x1475 180 if (rdi != rbp) then 146 @ 0x13c0 else 184 @ 0x147b
0x149e 181 rdi = rsi * 0x320
0x14a5 182 rdi = rdi + r14
0x14a8 183 goto 191 @ 0x14b0
0x147b 184 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x147f 185 xmm0 = _mm_shuffle_epi32(xmm1, 0xee)
0x1484 186 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x1488 187 xmm1 = _mm_shuffle_epi32(xmm0, 0x55)
0x148d 188 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x1491 189 edx = xmm1.d
0x1498 190 if (rsi == rcx) then 197 @ 0x1320 else 181 @ 0x149e
0x14b0 191 ebp = [rdi].d
0x14b2 192 ebp = ebp * [r12 + (rsi << 2)].d
0x14b7 193 edx = edx + ebp
0x14b9 194 rsi = rsi + 1
0x14bd 195 rdi = rdi + 0x320
0x14c7 196 if (rcx != rsi) then 191 @ 0x14b0 else 200 @ 0x14c9
0x1320 197 rcx = r8 + (r15 << 2)
0x1324 198 [rcx].d = edx
0x1324 199 goto 109 @ 0x1326
0x14c9 200 goto 197 @ 0x1320
int64_t _fini():
0x14e8 0 rsp = rsp - 8
0x14ec 1 rsp = rsp + 8
0x14f0 2 <return> jump(pop)
| POJ_63 |
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 {"AWAVATSHh"}
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 - 0x268
0x116e 5 rdi = 0x2004 {"%d"}
0x1175 6 rsi = rsp + 0xc {var_27c}
0x117a 7 eax = 0
0x117c 8 call(0x1040)
0x1186 9 if ([rsp + 0xc {var_27c}].d s<= 0) then 10 @ 0x1296 else 16 @ 0x118c
0x1296 10 rsp = rsp + 0x268
0x129d 11 rbx = pop
0x129e 12 r12 = pop
0x12a0 13 r14 = pop
0x12a2 14 r15 = pop
0x12a4 15 <return> jump(pop)
0x118c 16 r15 = rsp + 0x10 {var_278}
0x1191 17 r14 = 0x2007 {"%s"}
0x1198 18 ebx = 0
0x119a 19 goto 20 @ 0x11a0
0x11a0 20 rdi = r14
0x11a3 21 rsi = r15
0x11a6 22 eax = 0
0x11a8 23 call(0x1040)
0x11ad 24 rbx = rbx + 1
0x11b1 25 rax = sx.q([rsp + 0xc {var_27c}].d)
0x11b6 26 r15 = r15 + 0x1e
0x11bd 27 if (rbx s< rax) then 20 @ 0x11a0 else 28 @ 0x11c1
0x11c1 28 if (eax s<= 0) then 10 @ 0x1296 else 29 @ 0x11c7
0x11c7 29 rbx = rsp + 0x10 {var_278}
0x11cc 30 r14d = 0
0x11cf 31 r15 = 0x200a {"yes"}
0x11d6 32 r12 = 0x200e {"no"}
0x11dd 33 goto 34 @ 0x11fe
0x11fe 34 rax = r14
0x1201 35 rax = rax << 5
0x1205 36 rax = rax - r14
0x1208 37 rax = rax - r14
0x120b 38 cl = [rsp + rax + 0x10].b
0x120f 39 edx = (rcx - 0x61).d
0x1215 40 if (dl u>= 0x1a) then 41 @ 0x1283 else 42 @ 0x1217
0x1283 41 if (cl == 0x5f) then 42 @ 0x1217 else 47 @ 0x1285
0x1217 42 rdi = rsp + rax
0x121b 43 rdi = rdi + 0x10
0x121f 44 call(0x1030)
0x1224 45 rdi = r15
0x122a 46 if (eax s< 2) then 50 @ 0x11e3 else 55 @ 0x122c
0x1285 47 cl = cl - 0x41
0x1288 48 rdi = r12
0x128e 49 if (cl u> 0x19) then 50 @ 0x11e3 else 58 @ 0x1294
0x11e3 50 call(0x1050)
0x11e8 51 r14 = r14 + 1
0x11ec 52 rax = sx.q([rsp + 0xc {var_27c}].d)
0x11f1 53 rbx = rbx + 0x1e
0x11f8 54 if (r14 s>= rax) then 10 @ 0x1296 else 34 @ 0x11fe
0x122c 55 eax = eax
0x122e 56 ecx = 1
0x1233 57 goto 59 @ 0x1249
0x1294 58 goto 42 @ 0x1217
0x1249 59 edx = zx.d([rbx + rcx].b)
0x124d 60 esi = (rdx - 0x3a).d
0x1254 61 if (sil u> -0xb) then 62 @ 0x1240 else 64 @ 0x1256
0x1240 62 rcx = rcx + 1
0x1247 63 if (rax == rcx) then 66 @ 0x11e0 else 59 @ 0x1249
0x1256 64 esi = (rdx - 0x7b).d
0x125d 65 if (sil u> -0x1b) then 62 @ 0x1240 else 68 @ 0x1262
0x11e0 66 rdi = r15
0x11e0 67 goto 50 @ 0x11e3
0x1262 68 if (dl == 0x5f) then 62 @ 0x1240 else 69 @ 0x1264
0x1264 69 dl = dl - 0x41
0x126a 70 if (dl u<= 0x19) then 62 @ 0x1240 else 71 @ 0x126c
0x126c 71 rdi = r12
0x126f 72 goto 50 @ 0x11e3
int64_t _fini():
0x12ac 0 rsp = rsp - 8
0x12b0 1 rsp = rsp + 8
0x12b4 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 {"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 - 0xe0
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 rdi = 0x2004 {"%d"}
0x1179 5 rsi = rbp - 8 {var_10}
0x117d 6 al = 0
0x117f 7 call(0x1050)
0x1184 8 [rbp - 0xc {var_14}].d = 1
0x1184 9 goto 10 @ 0x118b
0x118b 10 eax = [rbp - 0xc {var_14}].d
0x1191 11 if (eax s> [rbp - 8 {var_10}].d) then 12 @ 0x11d2 else 16 @ 0x1197
0x11d2 12 eax = [rbp - 4 {var_c}].d
0x11d5 13 rsp = rsp + 0xe0
0x11dc 14 rbp = pop
0x11dd 15 <return> jump(pop)
0x1197 16 rsi = rbp - 0x70 {var_78}
0x119b 17 rdi = 0x2007 {"%s"}
0x11a2 18 al = 0
0x11a4 19 call(0x1050)
0x11a9 20 rdi = rbp - 0x70 {var_78}
0x11ad 21 call(0x11e0)
0x11b2 22 rsi = rbp - 0x70 {var_78}
0x11b6 23 rdi = 0x200a {"%s\n"}
0x11bd 24 al = 0
0x11bf 25 call(0x1030)
0x11c4 26 eax = [rbp - 0xc {var_14}].d
0x11c7 27 eax = eax + 1
0x11ca 28 [rbp - 0xc {var_14}].d = eax
0x11cd 29 goto 10 @ 0x118b
char* str(char* arg1):
0x11e0 0 push(rbp)
0x11e1 1 rbp = rsp {__saved_rbp}
0x11e4 2 rsp = rsp - 0x10
0x11e8 3 [rbp - 8 {var_10}].q = rdi
0x11ec 4 rdi = [rbp - 8 {var_10}].q
0x11f0 5 call(0x1040)
0x11f5 6 [rbp - 0xc {var_14}].d = eax
0x11f8 7 rax = [rbp - 8 {var_10}].q
0x11fc 8 ecx = [rbp - 0xc {var_14}].d
0x11ff 9 ecx = ecx - 2
0x1202 10 rcx = sx.q(ecx)
0x1205 11 eax = sx.d([rax + rcx].b)
0x120c 12 if (eax != 0x65) then 13 @ 0x1242 else 19 @ 0x1212
0x1242 13 rax = [rbp - 8 {var_10}].q
0x1246 14 ecx = [rbp - 0xc {var_14}].d
0x1249 15 ecx = ecx - 2
0x124c 16 rcx = sx.q(ecx)
0x124f 17 eax = sx.d([rax + rcx].b)
0x1256 18 if (eax != 0x6c) then 25 @ 0x128c else 31 @ 0x125c
0x1212 19 rax = [rbp - 8 {var_10}].q
0x1216 20 ecx = [rbp - 0xc {var_14}].d
0x1219 21 ecx = ecx - 1
0x121c 22 rcx = sx.q(ecx)
0x121f 23 eax = sx.d([rax + rcx].b)
0x1226 24 if (eax != 0x72) then 13 @ 0x1242 else 37 @ 0x122c
0x128c 25 rax = [rbp - 8 {var_10}].q
0x1290 26 ecx = [rbp - 0xc {var_14}].d
0x1293 27 ecx = ecx - 2
0x1296 28 rcx = sx.q(ecx)
0x1299 29 eax = sx.d([rax + rcx].b)
0x12a0 30 if (eax != 0x6e) then 43 @ 0x12eb else 44 @ 0x12a6
0x125c 31 rax = [rbp - 8 {var_10}].q
0x1260 32 ecx = [rbp - 0xc {var_14}].d
0x1263 33 ecx = ecx - 1
0x1266 34 rcx = sx.q(ecx)
0x1269 35 eax = sx.d([rax + rcx].b)
0x1270 36 if (eax != 0x79) then 25 @ 0x128c else 50 @ 0x1276
0x122c 37 rax = [rbp - 8 {var_10}].q
0x1230 38 ecx = [rbp - 0xc {var_14}].d
0x1233 39 ecx = ecx - 2
0x1236 40 rcx = sx.q(ecx)
0x1239 41 [rax + rcx].b = 0
0x123d 42 goto 56 @ 0x12f5
0x12eb 43 goto 59 @ 0x12f0
0x12a6 44 rax = [rbp - 8 {var_10}].q
0x12aa 45 ecx = [rbp - 0xc {var_14}].d
0x12ad 46 ecx = ecx - 1
0x12b0 47 rcx = sx.q(ecx)
0x12b3 48 eax = sx.d([rax + rcx].b)
0x12ba 49 if (eax != 0x67) then 43 @ 0x12eb else 60 @ 0x12c0
0x1276 50 rax = [rbp - 8 {var_10}].q
0x127a 51 ecx = [rbp - 0xc {var_14}].d
0x127d 52 ecx = ecx - 2
0x1280 53 rcx = sx.q(ecx)
0x1283 54 [rax + rcx].b = 0
0x1287 55 goto 59 @ 0x12f0
0x12f5 56 rsp = rsp + 0x10
0x12f9 57 rbp = pop
0x12fa 58 <return> jump(pop)
0x12f0 59 goto 56 @ 0x12f5
0x12c0 60 rax = [rbp - 8 {var_10}].q
0x12c4 61 ecx = [rbp - 0xc {var_14}].d
0x12c7 62 ecx = ecx - 3
0x12ca 63 rcx = sx.q(ecx)
0x12cd 64 eax = sx.d([rax + rcx].b)
0x12d4 65 if (eax != 0x69) then 43 @ 0x12eb else 66 @ 0x12da
0x12da 66 rax = [rbp - 8 {var_10}].q
0x12de 67 ecx = [rbp - 0xc {var_14}].d
0x12e1 68 ecx = ecx - 3
0x12e4 69 rcx = sx.q(ecx)
0x12e7 70 [rax + rcx].b = 0
0x12e7 71 goto 43 @ 0x12eb
int64_t _fini():
0x1300 0 rsp = rsp - 8
0x1304 1 rsp = rsp + 8
0x1308 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 {"AWAVSH0H="}
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 - 0x30
0x1159 4 rdi = 0x2018 {"%d"}
0x1160 5 rsi = rsp + 0xc {var_3c}
0x1165 6 eax = 0
0x1167 7 call(0x1040)
0x116c 8 eax = [rsp + 0xc {var_3c}].d
0x1170 9 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1176 10 if (eax s<= 0) then 11 @ 0x1263 else 18 @ 0x117c
0x1263 11 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x1267 12 [rsp + 0x10 {var_38}].q = xmm1.q
0x126d 13 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x1271 14 [rsp + 0x18 {var_30}].q = xmm1.q
0x1277 15 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x127b 16 [rsp + 0x20 {var_28}].q = xmm1.q
0x1281 17 goto 22 @ 0x12a5
0x117c 18 r15 = 0x4050 {""}
0x1183 19 r14 = 0x2018 {"%d"}
0x118a 20 ebx = 0
0x118c 21 goto 50 @ 0x1190
0x12a5 22 xmm1 = 0
0x12a8 23 xmm1.q = float.d(eax)
0x12ac 24 [rsp + 0x28 {var_20}].q = xmm1.q
0x12b2 25 xmm0.q = xmm0.q f/ xmm1.q
0x12b6 26 rdi = 0x201b {"1-18: %.2lf%%\n"}
0x12bd 27 al = 1
0x12bf 28 call(0x1030)
0x12c4 29 xmm0 = zx.o([rsp + 0x10 {var_38}].q)
0x12ca 30 xmm0.q = xmm0.q f/ fconvert.t([rsp + 0x28 {var_20}].q)
0x12d0 31 rdi = 0x202a {"19-35: %.2lf%%\n"}
0x12d7 32 al = 1
0x12d9 33 call(0x1030)
0x12de 34 xmm0 = zx.o([rsp + 0x18 {var_30}].q)
0x12e4 35 xmm0.q = xmm0.q f/ fconvert.t([rsp + 0x28 {var_20}].q)
0x12ea 36 rdi = 0x203a {"36-60: %.2lf%%\n"}
0x12f1 37 al = 1
0x12f3 38 call(0x1030)
0x12f8 39 xmm0 = zx.o([rsp + 0x20 {var_28}].q)
0x12fe 40 xmm0.q = xmm0.q f/ fconvert.t([rsp + 0x28 {var_20}].q)
0x1304 41 rdi = 0x204a {"60??: %.2lf%%\n"}
0x130b 42 al = 1
0x130d 43 call(0x1030)
0x1312 44 eax = 0
0x1314 45 rsp = rsp + 0x30
0x1318 46 rbx = pop
0x1319 47 r14 = pop
0x131b 48 r15 = pop
0x131d 49 <return> jump(pop)
0x1190 50 rdi = r14
0x1193 51 rsi = r15
0x1196 52 eax = 0
0x1198 53 call(0x1040)
0x119d 54 rbx = rbx + 1
0x11a1 55 rax = sx.q([rsp + 0xc {var_3c}].d)
0x11a6 56 r15 = r15 + 4
0x11ad 57 if (rbx s< rax) then 50 @ 0x1190 else 58 @ 0x11b1
0x11b1 58 if (eax s<= 0) then 59 @ 0x1283 else 67 @ 0x11b7
0x1283 59 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1287 60 [rsp + 0x10 {var_38}].q = xmm0.q
0x128d 61 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1291 62 [rsp + 0x18 {var_30}].q = xmm0.q
0x1297 63 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x129b 64 [rsp + 0x20 {var_28}].q = xmm0.q
0x12a1 65 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x12a1 66 goto 22 @ 0x12a5
0x11b7 67 ecx = eax
0x11b9 68 rcx = rcx << 2
0x11bd 69 xmm2 = _mm_xor_pd(xmm2, xmm2)
0x11c1 70 edx = 0
0x11c3 71 rsi = 0x4050 {""}
0x11ca 72 xmm1 = zx.o([0x2008].q)
0x11d2 73 xmm3 = _mm_xor_pd(xmm3, xmm3)
0x11d6 74 xmm4 = _mm_xor_pd(xmm4, xmm4)
0x11da 75 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x11de 76 goto 77 @ 0x11e9
0x11e9 77 edi = [rdx + rsi].d
0x11ef 78 if (edi s< 0x13) then 79 @ 0x1210 else 82 @ 0x11f1
0x1210 79 xmm0.q = xmm0.q f+ xmm1.q
0x1214 80 ebx = (rdi - 0x13).d
0x121a 81 if (ebx u>= 0x11) then 84 @ 0x11f9 else 86 @ 0x121c
0x11f1 82 ebx = (rdi - 0x13).d
0x11f7 83 if (ebx u< 0x11) then 86 @ 0x121c else 84 @ 0x11f9
0x11f9 84 ebx = (rdi - 0x24).d
0x11ff 85 if (ebx u< 0x19) then 89 @ 0x1228 else 91 @ 0x1204
0x121c 86 xmm4.q = xmm4.q f+ xmm1.q
0x1220 87 ebx = (rdi - 0x24).d
0x1226 88 if (ebx u>= 0x19) then 91 @ 0x1204 else 89 @ 0x1228
0x1228 89 xmm3.q = xmm3.q f+ xmm1.q
0x122f 90 if (edi s< 0x3d) then 92 @ 0x11e0 else 94 @ 0x1231
0x1204 91 if (edi s< 0x3d) then 92 @ 0x11e0 else 96 @ 0x1206
0x11e0 92 rdx = rdx + 4
0x11e7 93 if (rcx == rdx) then 97 @ 0x1237 else 77 @ 0x11e9
0x1231 94 xmm2.q = xmm2.q f+ xmm1.q
0x1235 95 goto 92 @ 0x11e0
0x1206 96 goto 94 @ 0x1231
0x1237 97 xmm1 = zx.o([0x2010].q)
0x123f 98 xmm0.q = xmm0.q f* xmm1.q
0x1243 99 xmm4.q = xmm4.q f* xmm1.q
0x1247 100 [rsp + 0x10 {var_38}].q = xmm4.q
0x124d 101 xmm3.q = xmm3.q f* xmm1.q
0x1251 102 [rsp + 0x18 {var_30}].q = xmm3.q
0x1257 103 xmm2.q = xmm2.q f* xmm1.q
0x125b 104 [rsp + 0x20 {var_28}].q = xmm2.q
0x1261 105 goto 22 @ 0x12a5
int64_t _fini():
0x1324 0 rsp = rsp - 8
0x1328 1 rsp = rsp + 8
0x132c 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)
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 {"UAWAVAUATSH"}
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 - 0x4e218
0x1171 7 rdi = rsp + 0x10 {var_4e238}
0x1176 8 edx = 0x27100 {""}
0x117b 9 esi = 0
0x117d 10 call(0x1040)
0x1182 11 rdi = 0x2014 {"%d%d"}
0x1189 12 rsi = rsp + 0xc {var_4e23c}
0x118e 13 rdx = rsp + 8 {var_4e240}
0x1193 14 eax = 0
0x1195 15 call(0x1050)
0x119a 16 ecx = [rsp + 0xc {var_4e23c}].d
0x119e 17 eax = [rsp + 8 {var_4e240}].d
0x11a4 18 if (ecx s<= 0) then 19 @ 0x123e else 21 @ 0x11ac
0x123e 19 eax = eax * ecx
0x1243 20 if (eax s<= 0) then 22 @ 0x1390 else 31 @ 0x1249
0x11ac 21 if (eax s<= 0) then 19 @ 0x123e else 36 @ 0x11b2
0x1390 22 eax = 0
0x1392 23 rsp = rsp + 0x4e218
0x1399 24 rbx = pop
0x139a 25 r12 = pop
0x139c 26 r13 = pop
0x139e 27 r14 = pop
0x13a0 28 r15 = pop
0x13a2 29 rbp = pop
0x13a3 30 <return> jump(pop)
0x1249 31 ebx = 1
0x124e 32 ebp = 0
0x1250 33 r13d = 1
0x1256 34 r12d = 1
0x125c 35 goto 41 @ 0x1284
0x11b2 36 r15 = rsp + 0x27434 {var_26e14}
0x11ba 37 r13 = rsp + 0x334 {var_4df14}
0x11c2 38 r12d = 1
0x11c8 39 r14 = 0x2016 {"%d"}
0x11cf 40 goto 55 @ 0x1200
0x1284 41 rax = sx.q(r13d)
0x1287 42 r14 = sx.q(r12d)
0x128a 43 rax = rax * 0x320
0x1291 44 r15 = rsp + rax
0x1295 45 r15 = r15 + 0x10
0x1299 46 [r15 + (r14 << 2)].d = 0
0x12a1 47 rax = rax + rsp
0x12a4 48 rax = rax + 0x27110
0x12aa 49 esi = [rax + (r14 << 2)].d
0x12ae 50 rdi = 0x2019 {"%d\n"}
0x12b5 51 eax = 0
0x12b7 52 call(0x1030)
0x12bc 53 eax = (rbx - 1).d
0x12c2 54 if (eax u> 3) then 56 @ 0x1270 else 60 @ 0x12c4
0x1200 55 if (eax s<= 0) then 64 @ 0x11e0 else 71 @ 0x1202
0x1270 56 ebp = ebp + 1
0x1273 57 eax = [rsp + 8 {var_4e240}].d
0x1277 58 eax = eax * [rsp + 0xc {var_4e23c}].d
0x127e 59 if (ebp s>= eax) then 22 @ 0x1390 else 41 @ 0x1284
0x12c4 60 rcx = 0x2004 {",L%d%d"}
0x12cb 61 rax = sx.q([rcx + (rax << 2)].d)
0x12cf 62 rax = rax + rcx
0x12d2 63 jump(rax => 74 @ 0x12d4, 76 @ 0x1300, 83 @ 0x1336, 84 @ 0x1350)
0x11e0 64 rdx = r12 + 1
0x11e5 65 rsi = sx.q(ecx)
0x11e8 66 r15 = r15 + 0x320
0x11ef 67 r13 = r13 + 0x320
0x11f6 68 cond:0 = r12 s>= rsi
0x11f9 69 r12 = rdx
0x11fc 70 if (cond:0) then 19 @ 0x123e else 55 @ 0x1200
0x1202 71 rbx = r15
0x1205 72 ebp = 0
0x1207 73 goto 91 @ 0x1210
0x12d4 74 ebx = [r15 + (r14 << 2) + 4].d
0x12dc 75 if (ebx == 1) then 100 @ 0x1387 else 102 @ 0x12e4
0x1300 76 eax = (r13 + 1).d
0x1304 77 rcx = sx.q(eax)
0x1307 78 rcx = rcx * 0x320
0x130e 79 rcx = rcx + rsp
0x1311 80 rcx = rcx + 0x10
0x1315 81 ebx = 2
0x131f 82 if ([rcx + (r14 << 2)].d != 1) then 103 @ 0x1260 else 106 @ 0x1325
0x1336 83 if ([r15 + (r14 << 2) - 4].d == 1) then 103 @ 0x1260 else 107 @ 0x133c
0x1350 84 eax = (r13 - 1).d
0x1354 85 rcx = sx.q(eax)
0x1357 86 rcx = rcx * 0x320
0x135e 87 rcx = rcx + rsp
0x1361 88 rcx = rcx + 0x10
0x1365 89 ebx = 4
0x136f 90 if ([rcx + (r14 << 2)].d != 1) then 110 @ 0x1379 else 112 @ 0x1371
0x1210 91 rdi = r14
0x1213 92 rsi = rbx
0x1216 93 eax = 0
0x1218 94 call(0x1050)
0x121d 95 [r13 + (rbp << 2)].d = 1
0x1226 96 rax = sx.q([rsp + 8 {var_4e240}].d)
0x122b 97 rbp = rbp + 1
0x122f 98 rbx = rbx + 4
0x1236 99 if (rbp s< rax) then 91 @ 0x1210 else 114 @ 0x1238
0x1387 100 r12d = r12d + 1
0x138b 101 goto 56 @ 0x1270
0x12e4 102 if (ebx != 0) then 116 @ 0x137d else 118 @ 0x12ea
0x1260 103 r12d = r12d - 1
0x1264 104 ebx = 3
0x1269 105 goto 56 @ 0x1270
0x1325 106 goto 112 @ 0x1371
0x133c 107 r13d = r13d - 1
0x1340 108 ebx = 4
0x1345 109 goto 56 @ 0x1270
0x1379 110 r12d = r12d + 1
0x1379 111 goto 116 @ 0x137d
0x1371 112 r13d = eax
0x1374 113 goto 56 @ 0x1270
0x1238 114 ecx = [rsp + 0xc {var_4e23c}].d
0x123c 115 goto 64 @ 0x11e0
0x137d 116 ebx = 1
0x1382 117 goto 56 @ 0x1270
0x12ea 118 r13d = r13d + 1
0x12ee 119 ebx = 2
0x12f3 120 goto 56 @ 0x1270
int64_t _fini():
0x13a8 0 rsp = rsp - 8
0x13ac 1 rsp = rsp + 8
0x13b0 2 <return> jump(pop)
| POJ_46 |
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 {"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)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 rbp = rsp {__saved_rbp}
0x1164 2 rsp = rsp - 0x40
0x1168 3 [rbp - 4 {var_c}].d = 0
0x116f 4 rdi = 0x2007 {"%d"}
0x1176 5 rsi = rbp - 0x10 {var_18}
0x117a 6 al = 0
0x117c 7 call(0x1040)
0x1181 8 rdi = sx.q([rbp - 0x10 {var_18}].d)
0x1185 9 rdi = rdi << 2
0x1189 10 call(0x1050)
0x118e 11 [rbp - 0x30 {var_38}].q = rax
0x1192 12 rdi = sx.q([rbp - 0x10 {var_18}].d)
0x1196 13 rdi = rdi << 2
0x119a 14 call(0x1050)
0x119f 15 [rbp - 0x38 {var_40}].q = rax
0x11a3 16 [rbp - 0x14 {var_1c}].d = 0
0x11a3 17 goto 18 @ 0x11aa
0x11aa 18 eax = [rbp - 0x14 {var_1c}].d
0x11b0 19 if (eax s>= [rbp - 0x10 {var_18}].d) then 20 @ 0x11e2 else 22 @ 0x11b6
0x11e2 20 [rbp - 8 {var_10}].d = 0
0x11e2 21 goto 32 @ 0x11e9
0x11b6 22 rax = [rbp - 0x30 {var_38}].q
0x11ba 23 rcx = sx.q([rbp - 0x14 {var_1c}].d)
0x11be 24 [rax + (rcx << 2)].d = 0
0x11c5 25 rax = [rbp - 0x38 {var_40}].q
0x11c9 26 rcx = sx.q([rbp - 0x14 {var_1c}].d)
0x11cd 27 [rax + (rcx << 2)].d = 0
0x11d4 28 eax = [rbp - 0x14 {var_1c}].d
0x11d7 29 eax = eax + 1
0x11da 30 [rbp - 0x14 {var_1c}].d = eax
0x11dd 31 goto 18 @ 0x11aa
0x11e9 32 rdi = 0x2004 {"%d %d"}
0x11f0 33 rsi = rbp - 0x20 {var_28}
0x11f4 34 rdx = rbp - 0x24 {var_2c}
0x11f8 35 al = 0
0x11fa 36 call(0x1040)
0x11ff 37 rax = [rbp - 0x30 {var_38}].q
0x1203 38 rcx = sx.q([rbp - 0x20 {var_28}].d)
0x1207 39 edx = [rax + (rcx << 2)].d
0x120a 40 edx = edx + 1
0x120d 41 [rax + (rcx << 2)].d = edx
0x1210 42 rax = [rbp - 0x38 {var_40}].q
0x1214 43 rcx = sx.q([rbp - 0x24 {var_2c}].d)
0x1218 44 edx = [rax + (rcx << 2)].d
0x121b 45 edx = edx + 1
0x121e 46 [rax + (rcx << 2)].d = edx
0x1225 47 if ([rbp - 0x20 {var_28}].d != 0) then 48 @ 0x123a else 49 @ 0x122f
0x123a 48 goto 50 @ 0x123f
0x122f 49 if ([rbp - 0x24 {var_2c}].d != 0) then 48 @ 0x123a else 54 @ 0x1235
0x123f 50 eax = [rbp - 8 {var_10}].d
0x1242 51 eax = eax + 1
0x1245 52 [rbp - 8 {var_10}].d = eax
0x1248 53 goto 32 @ 0x11e9
0x1235 54 goto 55 @ 0x124d
0x124d 55 [rbp - 0x1c {var_24}].d = 0
0x1254 56 [rbp - 0xc {var_14}].d = 0
0x1254 57 goto 58 @ 0x125b
0x125b 58 eax = [rbp - 0xc {var_14}].d
0x125e 59 ecx = [rbp - 0x10 {var_18}].d
0x1261 60 ecx = ecx - 1
0x1266 61 if (eax s> ecx) then 62 @ 0x12c8 else 63 @ 0x126c
0x12c8 62 if ([rbp - 0x1c {var_24}].d != 0) then 66 @ 0x12dc else 70 @ 0x12ce
0x126c 63 rax = [rbp - 0x30 {var_38}].q
0x1270 64 rcx = sx.q([rbp - 0xc {var_14}].d)
0x1278 65 if ([rax + (rcx << 2)].d != 0) then 74 @ 0x12b1 else 75 @ 0x127e
0x12dc 66 eax = [rbp - 4 {var_c}].d
0x12df 67 rsp = rsp + 0x40
0x12e3 68 rbp = pop
0x12e4 69 <return> jump(pop)
0x12ce 70 rdi = 0x200a {"NOT FOUND"}
0x12d5 71 al = 0
0x12d7 72 call(0x1030)
0x12d7 73 goto 66 @ 0x12dc
0x12b1 74 goto 81 @ 0x12b6
0x127e 75 rax = [rbp - 0x38 {var_40}].q
0x1282 76 rcx = sx.q([rbp - 0xc {var_14}].d)
0x1286 77 eax = [rax + (rcx << 2)].d
0x1289 78 ecx = [rbp - 0x10 {var_18}].d
0x128c 79 ecx = ecx - 1
0x1291 80 if (eax != ecx) then 74 @ 0x12b1 else 85 @ 0x1297
0x12b6 81 eax = [rbp - 0xc {var_14}].d
0x12b9 82 eax = eax + 1
0x12bc 83 [rbp - 0xc {var_14}].d = eax
0x12bf 84 goto 58 @ 0x125b
0x1297 85 esi = [rbp - 0xc {var_14}].d
0x129a 86 rdi = 0x2007 {"%d"}
0x12a1 87 al = 0
0x12a3 88 call(0x1030)
0x12a8 89 eax = [rbp - 0x1c {var_24}].d
0x12ab 90 eax = eax + 1
0x12ae 91 [rbp - 0x1c {var_24}].d = eax
0x12ae 92 goto 74 @ 0x12b1
int64_t _fini():
0x12ec 0 rsp = rsp - 8
0x12f0 1 rsp = rsp + 8
0x12f4 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)
int64_t memcpy(void* arg1, void const* arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
int32_t getchar():
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`E"}
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 - 0x60
0x1178 3 [rbp - 4 {var_c}].d = 0
0x117f 4 rdi = 0x200a {"%d"}
0x1186 5 rsi = rbp - 8 {var_10}
0x118a 6 al = 0
0x118c 7 call(0x1060)
0x1191 8 rdi = rbp - 0x40 {var_48}
0x1195 9 rsi = 0x2020 {""}
0x119c 10 edx = 0x34 {"@"}
0x11a1 11 call(0x1040)
0x11a6 12 [rbp - 0x44 {var_4c}].d = 0
0x11a6 13 goto 14 @ 0x11ad
0x11ad 14 eax = [rbp - 0x44 {var_4c}].d
0x11b3 15 if (eax s>= [rbp - 8 {var_10}].d) then 16 @ 0x12b3 else 24 @ 0x11b9
0x12b3 16 al = 0
0x12b5 17 call(0x1050)
0x12ba 18 al = 0
0x12bc 19 call(0x1050)
0x12c1 20 eax = [rbp - 4 {var_c}].d
0x12c4 21 rsp = rsp + 0x60
0x12c8 22 rbp = pop
0x12c9 23 <return> jump(pop)
0x11b9 24 rdi = 0x2004 {"%d %d %d"}
0x11c0 25 rsi = rbp - 0x48 {var_50}
0x11c4 26 rdx = rbp - 0x4c {var_54}
0x11c8 27 rcx = rbp - 0x50 {var_58}
0x11cc 28 al = 0
0x11ce 29 call(0x1060)
0x11d3 30 eax = [rbp - 0x4c {var_54}].d
0x11d9 31 if (eax s<= [rbp - 0x50 {var_58}].d) then 32 @ 0x11f1 else 46 @ 0x11df
0x11f1 32 eax = [rbp - 0x48 {var_50}].d
0x11f4 33 ecx = 4
0x11f9 34 temp2.d:temp3.d = sx.q(eax)
0x11f9 35 edx = temp2.d
0x11f9 36 eax = temp3.d
0x11fa 37 temp4.d = edx
0x11fa 38 temp5.d = eax
0x11fa 39 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x11fa 40 temp6.d = edx
0x11fa 41 temp7.d = eax
0x11fa 42 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x11fa 43 eax = temp0.d
0x11fa 44 edx = temp1.d
0x11ff 45 if (edx != 0) then 53 @ 0x1219 else 67 @ 0x1205
0x11df 46 eax = [rbp - 0x4c {var_54}].d
0x11e2 47 [rbp - 0x54 {var_5c_1}].d = eax
0x11e5 48 eax = [rbp - 0x50 {var_58}].d
0x11e8 49 [rbp - 0x4c {var_54}].d = eax
0x11eb 50 eax = [rbp - 0x54 {var_5c_1}].d
0x11ee 51 [rbp - 0x50 {var_58}].d = eax
0x11ee 52 goto 32 @ 0x11f1
0x1219 53 eax = [rbp - 0x48 {var_50}].d
0x121c 54 ecx = 0x190 {""}
0x1221 55 temp8.d:temp9.d = sx.q(eax)
0x1221 56 edx = temp8.d
0x1221 57 eax = temp9.d
0x1222 58 temp10.d = edx
0x1222 59 temp11.d = eax
0x1222 60 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx)
0x1222 61 temp12.d = edx
0x1222 62 temp13.d = eax
0x1222 63 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx)
0x1222 64 eax = temp0.d
0x1222 65 edx = temp1.d
0x1227 66 if (edx != 0) then 81 @ 0x1234 else 85 @ 0x122d
0x1205 67 eax = [rbp - 0x48 {var_50}].d
0x1208 68 ecx = 0x64 {""}
0x120d 69 temp14.d:temp15.d = sx.q(eax)
0x120d 70 edx = temp14.d
0x120d 71 eax = temp15.d
0x120e 72 temp16.d = edx
0x120e 73 temp17.d = eax
0x120e 74 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx)
0x120e 75 temp18.d = edx
0x120e 76 temp19.d = eax
0x120e 77 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx)
0x120e 78 eax = temp0.d
0x120e 79 edx = temp1.d
0x1213 80 if (edx != 0) then 85 @ 0x122d else 53 @ 0x1219
0x1234 81 [rbp - 0x5c {var_64_1}].d = 0
0x123b 82 eax = [rbp - 0x4c {var_54}].d
0x123e 83 [rbp - 0x58 {var_60_1}].d = eax
0x123e 84 goto 87 @ 0x1241
0x122d 85 [rbp - 0x38 {var_40_1}].d = 0x1d {""}
0x122d 86 goto 81 @ 0x1234
0x1241 87 eax = [rbp - 0x58 {var_60_1}].d
0x1247 88 if (eax s>= [rbp - 0x50 {var_58}].d) then 89 @ 0x1269 else 103 @ 0x124d
0x1269 89 eax = [rbp - 0x5c {var_64_1}].d
0x126c 90 ecx = 7
0x1271 91 temp20.d:temp21.d = sx.q(eax)
0x1271 92 edx = temp20.d
0x1271 93 eax = temp21.d
0x1272 94 temp22.d = edx
0x1272 95 temp23.d = eax
0x1272 96 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx)
0x1272 97 temp24.d = edx
0x1272 98 temp25.d = eax
0x1272 99 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx)
0x1272 100 eax = temp0.d
0x1272 101 edx = temp1.d
0x1277 102 if (edx != 0) then 111 @ 0x1290 else 115 @ 0x127d
0x124d 103 eax = [rbp - 0x5c {var_64_1}].d
0x1250 104 rcx = sx.q([rbp - 0x58 {var_60_1}].d)
0x1254 105 eax = eax + [rbp + (rcx << 2) - 0x40].d
0x1258 106 [rbp - 0x5c {var_64_1}].d = eax
0x125b 107 eax = [rbp - 0x58 {var_60_1}].d
0x125e 108 eax = eax + 1
0x1261 109 [rbp - 0x58 {var_60_1}].d = eax
0x1264 110 goto 87 @ 0x1241
0x1290 111 rdi = 0x2012 {"NO\n"}
0x1297 112 al = 0
0x1299 113 call(0x1030)
0x1299 114 goto 119 @ 0x129e
0x127d 115 rdi = 0x200d {"YES\n"}
0x1284 116 al = 0
0x1286 117 call(0x1030)
0x128b 118 goto 119 @ 0x129e
0x129e 119 [rbp - 0x38 {var_40_2}].d = 0x1c {""}
0x12a5 120 eax = [rbp - 0x44 {var_4c}].d
0x12a8 121 eax = eax + 1
0x12ab 122 [rbp - 0x44 {var_4c}].d = eax
0x12ae 123 goto 14 @ 0x11ad
int64_t _fini():
0x12d0 0 rsp = rsp - 8
0x12d4 1 rsp = rsp + 8
0x12d8 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
int32_t isalpha(int32_t c):
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)
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 {"UAWAVAUATSHXB"}
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 - 0xf4258
0x1181 7 rdi = 0x2004 {"%d\n"}
0x1188 8 rsi = rsp + 0xc {var_f427c}
0x118d 9 eax = 0
0x118f 10 call(0x1040)
0x1199 11 if ([rsp + 0xc {var_f427c}].d s<= 0) then 12 @ 0x1270 else 21 @ 0x119f
0x1270 12 eax = 0
0x1272 13 rsp = rsp + 0xf4258
0x1279 14 rbx = pop
0x127a 15 r12 = pop
0x127c 16 r13 = pop
0x127e 17 r14 = pop
0x1280 18 r15 = pop
0x1282 19 rbp = pop
0x1283 20 <return> jump(pop)
0x119f 21 rbx = rsp + 0x10 {var_f4278}
0x11a4 22 ebp = 0
0x11a6 23 goto 24 @ 0x11b0
0x11b0 24 rdi = rbx
0x11b3 25 eax = 0
0x11b5 26 call(0x1050)
0x11ba 27 rbp = rbp + 1
0x11be 28 rax = sx.q([rsp + 0xc {var_f427c}].d)
0x11c3 29 rbx = rbx + 0x3e8
0x11cd 30 if (rbp s< rax) then 24 @ 0x11b0 else 31 @ 0x11d1
0x11d1 31 if (eax s<= 0) then 12 @ 0x1270 else 32 @ 0x11d7
0x11d7 32 r14d = 0
0x11da 33 r15 = 0x2008 {"1"}
0x11e1 34 r12 = 0x200a {"0"}
0x11e8 35 goto 36 @ 0x120d
0x120d 36 rbx = r14 * 0x3e8
0x1214 37 edi = sx.d([rsp + rbx + 0x10].b)
0x121c 38 if (edi == 0x5f) then 39 @ 0x122a else 43 @ 0x121e
0x122a 39 rbp = rsp + rbx
0x122e 40 rbp = rbp + 0x11
0x1232 41 r13d = 0
0x1235 42 goto 46 @ 0x1244
0x121e 43 call(0x1030)
0x1223 44 rdi = r12
0x1228 45 if (eax == 0) then 48 @ 0x11fa else 39 @ 0x122a
0x1244 46 ebx = sx.d([rbp].b)
0x124b 47 if (ebx == 0x5f) then 52 @ 0x1240 else 54 @ 0x124f
0x11fa 48 call(0x1060)
0x11ff 49 r14 = r14 + 1
0x1203 50 rax = sx.q([rsp + 0xc {var_f427c}].d)
0x120b 51 if (r14 s>= rax) then 12 @ 0x1270 else 36 @ 0x120d
0x1240 52 rbp = rbp + 1
0x1240 53 goto 46 @ 0x1244
0x124f 54 if (bl == 0) then 55 @ 0x11f0 else 58 @ 0x1251
0x11f0 55 cond:0 = r13d == 0
0x11f3 56 rdi = r12
0x11f6 57 if (cond:0) then 68 else 70
0x1251 58 edi = ebx
0x1253 59 call(0x1030)
0x125a 60 al = eax == 0
0x125d 61 ebx = ebx - 0x3a
0x1260 62 flag:c = ebx u< -0xa
0x1263 63 cl = flag:c
0x1266 64 cl = cl & al
0x1268 65 eax = zx.d(cl)
0x126b 66 r13d = r13d + eax
0x126e 67 goto 52 @ 0x1240
0x11f6 68 rdi = r15
0x11f6 69 goto 70
0x11f6 70 goto 48 @ 0x11fa
int64_t _fini():
0x1288 0 rsp = rsp - 8
0x128c 1 rsp = rsp + 8
0x1290 2 <return> jump(pop)
| POJ_58 |
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 {"UAWAVSHhH="}
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 - 0x68
0x116a 5 rdi = 0x2004 {"%d"}
0x1171 6 rsi = rsp + 8 {var_80}
0x1176 7 eax = 0
0x1178 8 call(0x1050)
0x117d 9 rax = 0x100000001 {""}
0x1187 10 [rsp + 0x10 {var_78}].q = rax
0x118c 11 eax = 2
0x1191 12 ecx = 1
0x1196 13 goto 14 @ 0x11a0
0x11a0 14 ecx = ecx + [rsp + (rax << 2) + 8].d
0x11a4 15 [rsp + (rax << 2) + 0x10].d = ecx
0x11a8 16 rax = rax + 1
0x11b0 17 if (rax != 0x14) then 14 @ 0x11a0 else 18 @ 0x11b7
0x11b7 18 if ([rsp + 8 {var_80}].d s<= 0) then 19 @ 0x11f9 else 30 @ 0x11b9
0x11f9 19 eax = 0
0x11fb 20 call(0x1040)
0x1200 21 eax = 0
0x1202 22 call(0x1040)
0x1207 23 eax = 0
0x1209 24 rsp = rsp + 0x68
0x120d 25 rbx = pop
0x120e 26 r14 = pop
0x1210 27 r15 = pop
0x1212 28 rbp = pop
0x1213 29 <return> jump(pop)
0x11b9 30 r14 = 0x2004 {"%d"}
0x11c0 31 r15 = rsp + 0xc {var_7c}
0x11c5 32 rbx = 0x2007 {"%d\n"}
0x11cc 33 ebp = 0
0x11ce 34 goto 35 @ 0x11d0
0x11d0 35 rdi = r14
0x11d3 36 rsi = r15 {var_7c}
0x11d6 37 eax = 0
0x11d8 38 call(0x1050)
0x11dd 39 rax = sx.q([rsp + 0xc {var_7c}].d)
0x11e2 40 esi = [rsp + (rax << 2) + 0xc].d
0x11e6 41 rdi = rbx
0x11e9 42 eax = 0
0x11eb 43 call(0x1030)
0x11f0 44 ebp = ebp + 1
0x11f7 45 if (ebp s< [rsp + 8 {var_80}].d) then 35 @ 0x11d0 else 19 @ 0x11f9
int64_t _fini():
0x1218 0 rsp = rsp - 8
0x121c 1 rsp = rsp + 8
0x1220 2 <return> jump(pop)
| POJ_61 |
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 {"UAWAVAUATSH8H="}
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 - 0x38
0x116e 7 rdi = 0x2004 {"%d"}
0x1175 8 rsi = rsp + 0xc {var_5c}
0x117a 9 eax = 0
0x117c 10 call(0x1040)
0x1186 11 if ([rsp + 0xc {var_5c}].d s<= 0) then 12 @ 0x12f8 else 21 @ 0x118c
0x12f8 12 eax = 0
0x12fa 13 rsp = rsp + 0x38
0x12fe 14 rbx = pop
0x12ff 15 r12 = pop
0x1301 16 r13 = pop
0x1303 17 r14 = pop
0x1305 18 r15 = pop
0x1307 19 rbp = pop
0x1308 20 <return> jump(pop)
0x118c 21 r12 = -0x100000000
0x1196 22 r14d = 0
0x1199 23 goto 24 @ 0x11bf
0x11bf 24 rdi = 0x2007 {"%s"}
0x11c6 25 rbx = rsp + 0x10 {var_58}
0x11cb 26 rsi = rbx {var_58}
0x11ce 27 eax = 0
0x11d0 28 call(0x1040)
0x11d5 29 rdi = rbx {var_58}
0x11d8 30 call(0x1030)
0x11dd 31 r13 = rax
0x11e0 32 r15 = sx.q(r13d)
0x11e3 33 rbp = r15 - 2
0x11ed 34 if ([rsp + r15 + 0xe].b != 0x65) then 35 @ 0x123c else 36 @ 0x11ef
0x123c 35 if ([rsp + rbp + 0x10].b != 0x6c) then 41 @ 0x12a0 else 42 @ 0x123e
0x11ef 36 rax = r13
0x11f2 37 rax = rax << 0x20
0x11f6 38 rax = rax + r12
0x11f9 39 rax = rax s>> 0x20
0x1202 40 if ([rsp + rax + 0x10].b != 0x72) then 35 @ 0x123c else 47 @ 0x1208
0x12a0 41 if ([rsp + r15 + 0xd].b != 0x69) then 48 @ 0x11b0 else 50 @ 0x12ab
0x123e 42 rax = r13
0x1241 43 rax = rax << 0x20
0x1245 44 rax = rax + r12
0x1248 45 rax = rax s>> 0x20
0x1251 46 if ([rsp + rax + 0x10].b != 0x79) then 41 @ 0x12a0 else 51 @ 0x1253
0x1208 47 if (r13d s< 3) then 53 @ 0x1223 else 57 @ 0x120a
0x11b0 48 r14d = r14d + 1
0x11b9 49 if (r14d s>= [rsp + 0xc {var_5c}].d) then 12 @ 0x12f8 else 24 @ 0x11bf
0x12ab 50 if ([rsp + rbp + 0x10].b != 0x6e) then 48 @ 0x11b0 else 60 @ 0x12b1
0x1253 51 r12 = rbp
0x125a 52 if (r13d s< 3) then 65 @ 0x1283 else 70 @ 0x125c
0x1223 53 edi = 0xa {""}
0x1228 54 call(0x1050)
0x122d 55 r12 = -0x100000000
0x122d 56 goto 35 @ 0x123c
0x120a 57 r12d = ebp
0x120d 58 ebx = 0
0x120f 59 goto 73 @ 0x1210
0x12b1 60 rax = r13
0x12b4 61 rax = rax << 0x20
0x12b8 62 rax = rax + r12
0x12bb 63 rax = rax s>> 0x20
0x12c4 64 if ([rsp + rax + 0x10].b != 0x67) then 48 @ 0x11b0 else 77 @ 0x12ce
0x1283 65 edi = 0xa {""}
0x1288 66 call(0x1050)
0x128d 67 rbp = r12
0x1290 68 r12 = -0x100000000
0x1290 69 goto 41 @ 0x12a0
0x125c 70 ebx = r12d
0x125f 71 ebp = 0
0x126b 72 goto 78 @ 0x1270
0x1210 73 edi = sx.d([rsp + rbx + 0x10].b)
0x1215 74 call(0x1050)
0x121a 75 rbx = rbx + 1
0x1221 76 if (r12 != rbx) then 73 @ 0x1210 else 53 @ 0x1223
0x12ce 77 if (r13d s< 4) then 82 @ 0x119b else 85 @ 0x12d4
0x1270 78 edi = sx.d([rsp + rbp + 0x10].b)
0x1275 79 call(0x1050)
0x127a 80 rbp = rbp + 1
0x1281 81 if (rbx != rbp) then 78 @ 0x1270 else 65 @ 0x1283
0x119b 82 edi = 0xa {""}
0x11a0 83 call(0x1050)
0x11af 84 goto 48 @ 0x11b0
0x12d4 85 r15 = r15 - 3
0x12d8 86 ebx = r15d
0x12db 87 ebp = 0
0x12dd 88 goto 89 @ 0x12e0
0x12e0 89 edi = sx.d([rsp + rbp + 0x10].b)
0x12e5 90 call(0x1050)
0x12ea 91 rbp = rbp + 1
0x12f1 92 if (rbx != rbp) then 89 @ 0x12e0 else 93 @ 0x12f3
0x12f3 93 goto 82 @ 0x119b
int64_t _fini():
0x1310 0 rsp = rsp - 8
0x1314 1 rsp = rsp + 8
0x1318 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 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 {"AWAVAUATSH"}
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(r13)
0x1156 3 push(r12)
0x1158 4 push(rbx)
0x1159 5 rsp = rsp - 0x1d4d0
0x1160 6 rdi = 0x2018 {"%d"}
0x1167 7 rsi = rsp {var_1d4f8}
0x116a 8 eax = 0
0x116c 9 call(0x1030)
0x1175 10 if ([rsp {var_1d4f8}].d s<= 0) then 11 @ 0x11dc else 12 @ 0x1177
0x11dc 11 if ([rsp {var_1d4f8}].d s< 2) then 18 @ 0x128c else 25 @ 0x11e2
0x1177 12 r12 = rsp + 0x10 {var_1d4e8}
0x117c 13 r14 = rsp + 0x9c50 {var_138a8}
0x1184 14 rbx = rsp + 0x13890 {var_9c68}
0x118c 15 r15 = 0x201b {"%f%f"}
0x1193 16 r13d = 0
0x1196 17 goto 32 @ 0x11a0
0x128c 18 rsp = rsp + 0x1d4d0
0x1293 19 rbx = pop
0x1294 20 r12 = pop
0x1296 21 r13 = pop
0x1298 22 r14 = pop
0x129a 23 r15 = pop
0x129c 24 <return> jump(pop)
0x11e2 25 ebx = 1
0x11e7 26 xmm0 = [rsp + 0x10 {var_1d4e8}].d
0x11ed 27 [rsp + 4 {var_1d4f4_1}].d = xmm0.d
0x11f3 28 r14 = 0x2026 {"better"}
0x11fa 29 r15 = 0x2020 {"worse"}
0x1201 30 r12 = 0x202d {"same"}
0x1208 31 goto 46 @ 0x121d
0x11a0 32 rdi = r15
0x11a3 33 rsi = rbx
0x11a6 34 rdx = r14
0x11a9 35 eax = 0
0x11ab 36 call(0x1030)
0x11b0 37 xmm0 = [r14].d
0x11b5 38 xmm0.d = xmm0.d f/ fconvert.t([rbx].d)
0x11b9 39 [r12].d = xmm0.d
0x11bf 40 r13 = r13 + 1
0x11c3 41 rax = sx.q([rsp {var_1d4f8}].d)
0x11c7 42 r12 = r12 + 4
0x11cb 43 r14 = r14 + 4
0x11cf 44 rbx = rbx + 4
0x11d6 45 if (r13 s< rax) then 32 @ 0x11a0 else 11 @ 0x11dc
0x121d 46 xmm0 = [rsp + (rbx << 2) + 0x10].d
0x1223 47 xmm0.d = xmm0.d f- fconvert.t([rsp + 4 {var_1d4f4_1}].d)
0x1229 48 xmm1 = 0
0x122c 49 xmm1.q = fconvert.d(xmm0.d)
0x1230 50 flag:p = is_unordered.q(xmm1.q, fconvert.t([0x2008].q))
0x1230 51 flag:c = xmm1.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm1.q, fconvert.t([0x2008].q))
0x1230 52 flag:z = xmm1.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm1.q, fconvert.t([0x2008].q))
0x1230 53 flag:s = 0
0x1230 54 flag:o = 0
0x1230 55 flag:a = 0
0x1238 56 [rsp + 8 {var_1d4f0_1}].q = xmm1.q
0x123e 57 if (flag:c) then 58 @ 0x125c else 65 @ 0x1240
0x125c 58 flag:p = is_unordered.q(xmm1.q, fconvert.t([0x2010].q))
0x125c 59 flag:c = xmm1.q f< fconvert.t([0x2010].q) | is_unordered.q(xmm1.q, fconvert.t([0x2010].q))
0x125c 60 flag:z = xmm1.q f== fconvert.t([0x2010].q) | is_unordered.q(xmm1.q, fconvert.t([0x2010].q))
0x125c 61 flag:s = 0
0x125c 62 flag:o = 0
0x125c 63 flag:a = 0
0x1264 64 if (flag:z || flag:c) then 73 @ 0x1274 else 81 @ 0x1266
0x1240 65 xmm0 = zx.o([0x2010].q)
0x1248 66 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1248 67 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1248 68 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1248 69 flag:s = 0
0x1248 70 flag:o = 0
0x1248 71 flag:a = 0
0x124c 72 if (flag:c) then 58 @ 0x125c else 85 @ 0x124e
0x1274 73 xmm0 = zx.o([0x2008].q)
0x127c 74 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x127c 75 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x127c 76 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x127c 77 flag:s = 0
0x127c 78 flag:o = 0
0x127c 79 flag:a = 0
0x1280 80 if (flag:z || flag:c) then 89 @ 0x1210 else 92 @ 0x1282
0x1266 81 rdi = r14
0x1269 82 call(0x1040)
0x126e 83 xmm1 = zx.o([rsp + 8 {var_1d4f0_1}].q)
0x126e 84 goto 73 @ 0x1274
0x124e 85 rdi = r12
0x1251 86 call(0x1040)
0x1256 87 xmm1 = zx.o([rsp + 8 {var_1d4f0_1}].q)
0x1256 88 goto 58 @ 0x125c
0x1210 89 rbx = rbx + 1
0x1214 90 rax = sx.q([rsp {var_1d4f8}].d)
0x121b 91 if (rbx s>= rax) then 18 @ 0x128c else 46 @ 0x121d
0x1282 92 rdi = r15
0x1285 93 call(0x1040)
0x128a 94 goto 89 @ 0x1210
int64_t _fini():
0x12a4 0 rsp = rsp - 8
0x12a8 1 rsp = rsp + 8
0x12ac 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)
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 {"UAWAVAUATSPH="}
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 push(rax)
0x117b 7 rdi = 0x2004 {"%d"}
0x1182 8 r12d = 0
0x1185 9 rsi = rsp {var_38}
0x1188 10 eax = 0
0x118a 11 call(0x1050)
0x118f 12 rbx = sx.q([rsp {var_38}].d)
0x1193 13 rdi = rbx << 2
0x119b 14 call(0x1060)
0x11a0 15 r15 = rax
0x11a6 16 if (rbx s<= 0) then 17 @ 0x11de else 24 @ 0x11a8
0x11de 17 r14 = 0x2004 {"%d"}
0x11e5 18 rsi = rsp + 4 {var_38+0x4}
0x11ea 19 rdi = r14
0x11ed 20 eax = 0
0x11ef 21 call(0x1050)
0x11f4 22 eax = [rsp {var_38}].d
0x11f9 23 if (eax s<= 0) then 28 @ 0x122a else 29 @ 0x11fb
0x11a8 24 r14 = 0x2004 {"%d"}
0x11af 25 rbx = r15
0x11b2 26 ebp = 0
0x11be 27 goto 33 @ 0x11c0
0x122a 28 if ([rsp {var_38}].d s<= 0) then 41 @ 0x126e else 52 @ 0x122c
0x11fb 29 ecx = 0
0x11fd 30 edx = [rsp + 4 {var_38+0x4}].d
0x1201 31 r12d = 0
0x120e 32 goto 56 @ 0x1210
0x11c0 33 rdi = r14
0x11c3 34 rsi = rbx
0x11c6 35 eax = 0
0x11c8 36 call(0x1050)
0x11cd 37 rbp = rbp + 1
0x11d1 38 rax = sx.q([rsp {var_38}].d)
0x11d5 39 rbx = rbx + 4
0x11dc 40 if (rbp s< rax) then 33 @ 0x11c0 else 17 @ 0x11de
0x126e 41 rdi = r15
0x1271 42 call(0x1040)
0x1276 43 eax = 0
0x1278 44 rsp = rsp + 8
0x127c 45 rbx = pop
0x127d 46 r12 = pop
0x127f 47 r13 = pop
0x1281 48 r14 = pop
0x1283 49 r15 = pop
0x1285 50 rbp = pop
0x1286 51 <return> jump(pop)
0x122c 52 rbp = 0x2007 {"%d "}
0x1233 53 ebx = 0
0x1235 54 r13d = 0
0x1238 55 goto 61 @ 0x124d
0x1210 56 esi = 0
0x1216 57 sil = [r15 + (rcx << 2)].d != edx
0x121a 58 r12d = r12d + esi
0x121d 59 rcx = rcx + 1
0x1224 60 if (rax != rcx) then 56 @ 0x1210 else 28 @ 0x122a
0x124d 61 esi = [r15 + (rbx << 2)].d
0x1255 62 if (esi == [rsp + 4 {var_38+0x4}].d) then 63 @ 0x1240 else 66 @ 0x1257
0x1240 63 rbx = rbx + 1
0x1244 64 rax = sx.q([rsp {var_38}].d)
0x124b 65 if (rbx s>= rax) then 41 @ 0x126e else 61 @ 0x124d
0x1257 66 r13d = r13d + 1
0x125b 67 cond:0 = r13d == r12d
0x125e 68 rdi = rbp
0x1261 69 if (cond:0) then 70 else 72 @ 0x1265
0x1261 70 rdi = r14
0x1261 71 goto 72 @ 0x1265
0x1265 72 eax = 0
0x1267 73 call(0x1030)
0x126c 74 goto 63 @ 0x1240
int64_t _fini():
0x128c 0 rsp = rsp - 8
0x1290 1 rsp = rsp + 8
0x1294 2 <return> jump(pop)
| POJ_42 |
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
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 = 0x11a0 {"SHH=X"}
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)
int64_t judge(uint32_t arg1):
0x1150 0 ecx = edi * -0x49249249
0x1156 1 ecx = ecx + 0x12492492
0x115c 2 eax = 0
0x1164 3 if (ecx u< 0x24924925) then 4 @ 0x119c else 5 @ 0x1168
0x119c 4 <return> jump(pop)
0x1168 5 if (edi s<= 0) then 6 @ 0x1197 else 8 @ 0x116a
0x1197 6 eax = 1
0x1197 7 goto 4 @ 0x119c
0x116a 8 ecx = 0xcccccccd {""}
0x116f 9 goto 10 @ 0x1170
0x1170 10 edx = edi * -0x33333333
0x1176 11 edx = edx + 0x7ffffffd
0x117c 12 edx = ror.d(edx, 1)
0x1184 13 if (edx u< 0x19999999) then 4 @ 0x119c else 14 @ 0x1186
0x1186 14 edx = edi
0x1188 15 rdx = rdx * rcx
0x118c 16 rdx = rdx u>> 0x23
0x1190 17 cond:0 = edi u> 9
0x1193 18 edi = edx
0x1195 19 if (cond:0) then 10 @ 0x1170 else 6 @ 0x1197
int32_t main(int32_t argc, char** argv, char** envp):
0x11a0 0 push(rbx)
0x11a1 1 rsp = rsp - 0x10
0x11a5 2 rdi = 0x2004 {"%d"}
0x11ac 3 ebx = 0
0x11ae 4 rsi = rsp + 0xc {var_c}
0x11b3 5 eax = 0
0x11b5 6 call(0x1040)
0x11ba 7 eax = [rsp + 0xc {var_c}].d
0x11c0 8 if (eax s<= 0) then 9 @ 0x1220 else 16 @ 0x11c2
0x1220 9 rdi = 0x2007 {"%d\n"}
0x1227 10 esi = ebx
0x1229 11 eax = 0
0x122b 12 call(0x1030)
0x1230 13 rsp = rsp + 0x10
0x1234 14 rbx = pop
0x1235 15 <return> jump(pop)
0x11c2 16 edx = 1
0x11c7 17 ebx = 0
0x11c9 18 ecx = 0xcccccccd {""}
0x11ce 19 goto 20 @ 0x11d9
0x11d9 20 esi = edx * -0x49249249
0x11e5 21 if (esi u< 0x24924925) then 22 @ 0x11d0 else 26 @ 0x11e7
0x11d0 22 esi = (rdx + 1).d
0x11d3 23 cond:0 = edx == eax
0x11d5 24 edx = esi
0x11d7 25 if (cond:0) then 9 @ 0x1220 else 20 @ 0x11d9
0x11e7 26 esi = edx
0x11e9 27 goto 28 @ 0x11f0
0x11f0 28 edi = esi * -0x33333333
0x11f6 29 edi = edi + 0x7ffffffd
0x11fc 30 edi = ror.d(edi, 1)
0x1204 31 if (edi u< 0x19999999) then 22 @ 0x11d0 else 32 @ 0x1206
0x1206 32 edi = esi
0x1208 33 rdi = rdi * rcx
0x120c 34 rdi = rdi u>> 0x23
0x1210 35 cond:1 = esi u> 9
0x1213 36 esi = edi
0x1215 37 if (cond:1) then 28 @ 0x11f0 else 38 @ 0x1217
0x1217 38 esi = edx
0x1219 39 esi = esi * edx
0x121c 40 ebx = ebx + esi
0x121e 41 goto 22 @ 0x11d0
int64_t _fini():
0x123c 0 rsp = rsp - 8
0x1240 1 rsp = rsp + 8
0x1244 2 <return> jump(pop)
| POJ_30 |
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* strcpy(char* arg1, char const* arg2):
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 {"UAWAVAUATSHXH="}
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 - 0x58
0x116e 7 rdi = 0x2013 {"%d"}
0x1175 8 r14d = 0
0x1178 9 rsi = rsp + 0x10 {var_78}
0x117d 10 eax = 0
0x117f 11 call(0x1050)
0x1184 12 cond:0 = [rsp + 0x10 {var_78}].d s<= 0
0x1189 13 ebp = 0
0x118e 14 if (cond:0) then 15 @ 0x1272 else 30 @ 0x1194
0x1272 15 rdi = 0x2016 {"%s\n%d\n%d\n"}
0x1279 16 rsi = rsp + 0x20 {var_68}
0x127e 17 edx = r14d
0x1281 18 ecx = ebp
0x1283 19 eax = 0
0x1285 20 call(0x1030)
0x128a 21 eax = 0
0x128c 22 rsp = rsp + 0x58
0x1290 23 rbx = pop
0x1291 24 r12 = pop
0x1293 25 r13 = pop
0x1295 26 r14 = pop
0x1297 27 r15 = pop
0x1299 28 rbp = pop
0x129a 29 <return> jump(pop)
0x1194 30 r15 = rsp + 0x40 {var_48}
0x1199 31 r12 = rsp + 0xe {var_7a}
0x119e 32 ebp = 0
0x11a0 33 r14d = 0
0x11a3 34 r13d = 0
0x11a6 35 goto 36 @ 0x11c1
0x11c1 36 rax = rsp + 0x1c {var_6c}
0x11c6 37 [rsp {var_88_1}].q = rax {var_6c}
0x11ca 38 rdi = 0x2004 {"%s %d %d %c %c %d"}
0x11d1 39 rsi = r15 {var_48}
0x11d4 40 rdx = rsp + 0x18 {var_70}
0x11d9 41 rcx = rsp + 0x14 {var_74}
0x11de 42 r8 = rsp + 0xf {var_79}
0x11e3 43 r9 = r12 {var_7a}
0x11e6 44 eax = 0
0x11e8 45 call(0x1050)
0x11ed 46 cond:1 = [rsp + 0x1c {var_6c}].d s> 0
0x11f2 47 eax = 0x1f40 {""}
0x11f7 48 if (cond:1) then 49 @ 0x11fb else 53 @ 0x11f9
0x11fb 49 ecx = [rsp + 0x18 {var_70}].d
0x11ff 50 cond:2 = ecx s< 0x51
0x1202 51 edx = 0
0x1207 52 if (cond:2) then 55 else 57 @ 0x120a
0x11f9 53 eax = 0
0x11f9 54 goto 49 @ 0x11fb
0x1207 55 eax = edx
0x1207 56 goto 57 @ 0x120a
0x120a 57 edx = [rsp + 0x14 {var_74}].d
0x120e 58 esi = (rax + 0xfa0).d
0x1217 59 if (edx s< 0x51) then 60 else 62 @ 0x121d
0x1217 60 esi = eax
0x1217 61 goto 62 @ 0x121d
0x121d 62 if (ecx s< 0x56) then 63 else 65 @ 0x1220
0x121d 63 esi = eax
0x121d 64 goto 65 @ 0x1220
0x1220 65 eax = (rsi + 0x7d0).d
0x1229 66 if (ecx s< 0x5b) then 67 else 69 @ 0x122c
0x1229 67 eax = esi
0x1229 68 goto 69 @ 0x122c
0x122c 69 esi = (rax + 0x3e8).d
0x1237 70 if ([rsp + 0xe {var_7a}].b != 0x59) then 71 else 73 @ 0x123d
0x1237 71 esi = eax
0x1237 72 goto 73 @ 0x123d
0x123d 73 if (ecx s< 0x56) then 74 else 76 @ 0x1240
0x123d 74 esi = eax
0x123d 75 goto 76 @ 0x1240
0x1240 76 ebx = (rsi + 0x352).d
0x124b 77 if ([rsp + 0xf {var_79}].b != 0x59) then 78 else 80 @ 0x1251
0x124b 78 ebx = esi
0x124b 79 goto 80 @ 0x1251
0x1251 80 if (edx s< 0x51) then 81 else 83 @ 0x1257
0x1251 81 ebx = esi
0x1251 82 goto 83 @ 0x1257
0x1257 83 if (ebx s<= r14d) then 84 @ 0x11b0 else 87 @ 0x125d
0x11b0 84 ebp = ebp + ebx
0x11b2 85 r13d = r13d + 1
0x11bb 86 if (r13d s>= [rsp + 0x10 {var_78}].d) then 15 @ 0x1272 else 36 @ 0x11c1
0x125d 87 rdi = rsp + 0x20 {var_68}
0x1262 88 rsi = r15 {var_48}
0x1265 89 call(0x1040)
0x126a 90 r14d = ebx
0x126d 91 goto 84 @ 0x11b0
int64_t _fini():
0x12a0 0 rsp = rsp - 8
0x12a4 1 rsp = rsp + 8
0x12a8 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)
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)
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 {"AWAVSH="}
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 ([0x4050].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 [0x4050].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(r15)
0x1172 1 push(r14)
0x1174 2 push(rbx)
0x1175 3 rdi = 0x2004 {"%d %d\n"}
0x117c 4 rsi = 0x4060 {""}
0x1183 5 rdx = 0x4064 {""}
0x118a 6 eax = 0
0x118c 7 call(0x1050)
0x1198 8 if ([0x4060].d s<= 0) then 9 @ 0x11d8 else 10 @ 0x119a
0x11d8 9 if ([0x4064].d s<= 0) then 14 @ 0x1211 else 16 @ 0x11da
0x119a 10 r15 = 0x4070 {""}
0x11a1 11 r14 = 0x200b {"%d"}
0x11a8 12 ebx = 0
0x11aa 13 goto 20 @ 0x11b0
0x1211 14 r14 = sx.q([0x4060].d)
0x121c 15 if (r14 s< 2) then 28 @ 0x1280 else 30 @ 0x121e
0x11da 16 r15 = 0x4200 {""}
0x11e1 17 r14 = 0x200b {"%d"}
0x11e8 18 ebx = 0
0x11ea 19 goto 35 @ 0x11f0
0x11b0 20 rdi = r14
0x11b3 21 rsi = r15
0x11b6 22 eax = 0
0x11b8 23 call(0x1050)
0x11bd 24 rbx = rbx + 1
0x11c1 25 rax = sx.q([0x4060].d)
0x11c8 26 r15 = r15 + 4
0x11cf 27 if (rbx s< rax) then 20 @ 0x11b0 else 9 @ 0x11d8
0x1280 28 r15d = [0x4064].d
0x128b 29 if (r15d s< 2) then 43 @ 0x12e3 else 44 @ 0x128d
0x121e 30 r8d = (r14 - 1).d
0x1222 31 r9d = 0
0x1225 32 rdx = 0x4070 {""}
0x122c 33 esi = r8d
0x122f 34 goto 49 @ 0x124c
0x11f0 35 rdi = r14
0x11f3 36 rsi = r15
0x11f6 37 eax = 0
0x11f8 38 call(0x1050)
0x11fd 39 rbx = rbx + 1
0x1201 40 rax = sx.q([0x4064].d)
0x1208 41 r15 = r15 + 4
0x120f 42 if (rbx s< rax) then 35 @ 0x11f0 else 14 @ 0x1211
0x12e3 43 if (r15d s<= 0) then 54 @ 0x1318 else 57 @ 0x12e5
0x128d 44 r8d = (r15 - 1).d
0x1291 45 r9d = 0
0x1294 46 rdx = 0x4200 {""}
0x129b 47 esi = r8d
0x129e 48 goto 61 @ 0x12ac
0x124c 49 esi = esi
0x124e 50 eax = r9d
0x1251 51 eax = not.d(eax)
0x1253 52 eax = eax + r14d
0x1258 53 if (eax s<= 0) then 66 @ 0x1240 else 69 @ 0x125a
0x1318 54 temp0.d = r15d
0x1318 55 r15d = r15d + r14d
0x131b 56 if (temp0.d s<= neg.d(r14d)) then 71 @ 0x136c else 75 @ 0x131d
0x12e5 57 eax = (r15 + r14).d
0x12e9 58 rcx = 0x4070 {""}
0x12f0 59 edx = (r14 + 1).d
0x12f6 60 if (eax s> edx) then 79 else 81 @ 0x12f9
0x12ac 61 esi = esi
0x12ae 62 eax = r9d
0x12b1 63 eax = not.d(eax)
0x12b3 64 eax = eax + r15d
0x12b8 65 if (eax s<= 0) then 89 @ 0x12a0 else 92 @ 0x12ba
0x1240 66 r9d = r9d + 1
0x1244 67 esi = esi - 1
0x124a 68 if (r9d == r8d) then 28 @ 0x1280 else 49 @ 0x124c
0x125a 69 edi = 0
0x125c 70 goto 94 @ 0x1268
0x136c 71 rbx = pop
0x136d 72 r14 = pop
0x136f 73 r15 = pop
0x1371 74 <return> jump(pop)
0x131d 75 r15 = 0x4070 {""}
0x1324 76 r14 = 0x200b {"%d"}
0x132b 77 ebx = 0
0x132d 78 goto 98 @ 0x135e
0x12f6 79 edx = eax
0x12f6 80 goto 81 @ 0x12f9
0x12f9 81 rdi = rcx + (r14 << 2)
0x12fd 82 eax = r14d
0x1300 83 eax = not.d(eax)
0x1302 84 eax = eax + edx
0x1304 85 rdx = (rax << 2) + 4
0x130c 86 rsi = 0x4200 {""}
0x1313 87 call(0x1040)
0x1313 88 goto 54 @ 0x1318
0x12a0 89 r9d = r9d + 1
0x12a4 90 esi = esi - 1
0x12aa 91 if (r9d == r8d) then 43 @ 0x12e3 else 61 @ 0x12ac
0x12ba 92 edi = 0
0x12bc 93 goto 99 @ 0x12c8
0x1268 94 eax = [rdx + (rdi << 2)].d
0x126b 95 ecx = [rdx + (rdi << 2) + 4].d
0x126f 96 rbx = rdi + 1
0x1275 97 if (eax s<= ecx) then 103 @ 0x1260 else 105 @ 0x1277
0x135e 98 if (rbx == 0) then 108 @ 0x1330 else 118 @ 0x1360
0x12c8 99 eax = [rdx + (rdi << 2)].d
0x12cb 100 ecx = [rdx + (rdi << 2) + 4].d
0x12cf 101 rbx = rdi + 1
0x12d5 102 if (eax s<= ecx) then 121 @ 0x12c0 else 123 @ 0x12d7
0x1260 103 rdi = rbx
0x1266 104 if (rsi == rbx) then 66 @ 0x1240 else 94 @ 0x1268
0x1277 105 [rdx + (rdi << 2)].d = ecx
0x127a 106 [rdx + (rdi << 2) + 4].d = eax
0x127e 107 goto 103 @ 0x1260
0x1330 108 esi = [r15].d
0x1333 109 rdi = r14
0x1336 110 eax = 0
0x1338 111 call(0x1030)
0x133d 112 rbx = rbx + 1
0x1341 113 rax = sx.q([0x4060].d)
0x1348 114 rcx = sx.q([0x4064].d)
0x134f 115 rcx = rcx + rax
0x1352 116 r15 = r15 + 4
0x1359 117 if (rbx s>= rcx) then 71 @ 0x136c else 98 @ 0x135e
0x1360 118 edi = 0x20 {"@"}
0x1365 119 call(0x1060)
0x136a 120 goto 108 @ 0x1330
0x12c0 121 rdi = rbx
0x12c6 122 if (rsi == rbx) then 89 @ 0x12a0 else 99 @ 0x12c8
0x12d7 123 [rdx + (rdi << 2)].d = ecx
0x12da 124 [rdx + (rdi << 2) + 4].d = eax
0x12de 125 goto 121 @ 0x12c0
int64_t scan():
0x1380 0 push(r15)
0x1382 1 push(r14)
0x1384 2 push(rbx)
0x1385 3 rdi = 0x2004 {"%d %d\n"}
0x138c 4 rsi = 0x4060 {""}
0x1393 5 rdx = 0x4064 {""}
0x139a 6 eax = 0
0x139c 7 call(0x1050)
0x13a8 8 if ([0x4060].d s<= 0) then 9 @ 0x13e8 else 10 @ 0x13aa
0x13e8 9 if ([0x4064].d s<= 0) then 14 @ 0x1421 else 18 @ 0x13ea
0x13aa 10 r15 = 0x4070 {""}
0x13b1 11 r14 = 0x200b {"%d"}
0x13b8 12 ebx = 0
0x13ba 13 goto 22 @ 0x13c0
0x1421 14 rbx = pop
0x1422 15 r14 = pop
0x1424 16 r15 = pop
0x1426 17 <return> jump(pop)
0x13ea 18 r15 = 0x4200 {""}
0x13f1 19 r14 = 0x200b {"%d"}
0x13f8 20 ebx = 0
0x13fa 21 goto 30 @ 0x1400
0x13c0 22 rdi = r14
0x13c3 23 rsi = r15
0x13c6 24 eax = 0
0x13c8 25 call(0x1050)
0x13cd 26 rbx = rbx + 1
0x13d1 27 rax = sx.q([0x4060].d)
0x13d8 28 r15 = r15 + 4
0x13df 29 if (rbx s< rax) then 22 @ 0x13c0 else 9 @ 0x13e8
0x1400 30 rdi = r14
0x1403 31 rsi = r15
0x1406 32 eax = 0
0x1408 33 call(0x1050)
0x140d 34 rbx = rbx + 1
0x1411 35 rax = sx.q([0x4064].d)
0x1418 36 r15 = r15 + 4
0x141f 37 if (rbx s< rax) then 30 @ 0x1400 else 14 @ 0x1421
void rank():
0x1430 0 r9d = [0x4060].d
0x143b 1 if (r9d s< 2) then 2 @ 0x1490 else 4 @ 0x143d
0x1490 2 r9d = [0x4064].d
0x149b 3 if (r9d s< 2) then 9 @ 0x14f0 else 10 @ 0x149d
0x143d 4 r8d = (r9 - 1).d
0x1441 5 r10d = 0
0x1444 6 rsi = 0x4070 {""}
0x144b 7 r11d = r8d
0x144e 8 goto 15 @ 0x145d
0x14f0 9 <return> jump(pop)
0x149d 10 r8d = (r9 - 1).d
0x14a1 11 r10d = 0
0x14a4 12 rsi = 0x4200 {""}
0x14ab 13 r11d = r8d
0x14ae 14 goto 20 @ 0x14bd
0x145d 15 r11d = r11d
0x1460 16 eax = r10d
0x1463 17 eax = not.d(eax)
0x1465 18 eax = eax + r9d
0x146a 19 if (eax s<= 0) then 25 @ 0x1450 else 28 @ 0x146c
0x14bd 20 r11d = r11d
0x14c0 21 eax = r10d
0x14c3 22 eax = not.d(eax)
0x14c5 23 eax = eax + r9d
0x14ca 24 if (eax s<= 0) then 30 @ 0x14b0 else 33 @ 0x14cc
0x1450 25 r10d = r10d + 1
0x1454 26 r11d = r11d - 1
0x145b 27 if (r10d == r8d) then 2 @ 0x1490 else 15 @ 0x145d
0x146c 28 ecx = 0
0x146e 29 goto 35 @ 0x1478
0x14b0 30 r10d = r10d + 1
0x14b4 31 r11d = r11d - 1
0x14bb 32 if (r10d == r8d) then 9 @ 0x14f0 else 20 @ 0x14bd
0x14cc 33 ecx = 0
0x14ce 34 goto 39 @ 0x14d8
0x1478 35 edx = [rsi + (rcx << 2)].d
0x147b 36 edi = [rsi + (rcx << 2) + 4].d
0x147f 37 rax = rcx + 1
0x1485 38 if (edx s<= edi) then 43 @ 0x1470 else 45 @ 0x1487
0x14d8 39 edx = [rsi + (rcx << 2)].d
0x14db 40 edi = [rsi + (rcx << 2) + 4].d
0x14df 41 rax = rcx + 1
0x14e5 42 if (edx s<= edi) then 48 @ 0x14d0 else 50 @ 0x14e7
0x1470 43 rcx = rax
0x1476 44 if (r11 == rax) then 25 @ 0x1450 else 35 @ 0x1478
0x1487 45 [rsi + (rcx << 2)].d = edi
0x148a 46 [rsi + (rcx << 2) + 4].d = edx
0x148e 47 goto 43 @ 0x1470
0x14d0 48 rcx = rax
0x14d6 49 if (r11 == rax) then 30 @ 0x14b0 else 39 @ 0x14d8
0x14e7 50 [rsi + (rcx << 2)].d = edi
0x14ea 51 [rsi + (rcx << 2) + 4].d = edx
0x14ee 52 goto 48 @ 0x14d0
uint64_t combine():
0x1500 0 push(rax)
0x1501 1 eax = [0x4064].d
0x1509 2 if (eax s<= 0) then 3 @ 0x153f else 5 @ 0x150b
0x153f 3 rax = pop
0x1540 4 <return> jump(pop)
0x150b 5 rcx = sx.q([0x4060].d)
0x1512 6 eax = eax + ecx
0x1514 7 rdx = 0x4070 {""}
0x151b 8 esi = (rcx + 1).d
0x1520 9 if (eax s<= esi) then 10 else 12 @ 0x1523
0x1520 10 eax = esi
0x1520 11 goto 12 @ 0x1523
0x1523 12 rdi = rdx + (rcx << 2)
0x1527 13 ecx = not.d(ecx)
0x1529 14 ecx = ecx + eax
0x152b 15 rdx = (rcx << 2) + 4
0x1533 16 rsi = 0x4200 {""}
0x153a 17 call(0x1040)
0x153a 18 goto 3 @ 0x153f
uint64_t print():
0x1550 0 push(r15)
0x1552 1 push(r14)
0x1554 2 push(rbx)
0x1555 3 eax = [0x4064].d
0x155b 4 temp0.d = eax
0x155b 5 temp1.d = [0x4060].d
0x155b 6 eax = eax + [0x4060].d
0x1561 7 if (temp0.d s<= neg.d(temp1.d)) then 8 @ 0x15bc else 12 @ 0x1563
0x15bc 8 rbx = pop
0x15bd 9 r14 = pop
0x15bf 10 r15 = pop
0x15c1 11 <return> jump(pop)
0x1563 12 r15 = 0x4070 {""}
0x156a 13 r14 = 0x200b {"%d"}
0x1571 14 ebx = 0
0x1573 15 goto 16 @ 0x15ae
0x15ae 16 if (rbx == 0) then 17 @ 0x1580 else 27 @ 0x15b0
0x1580 17 esi = [r15].d
0x1583 18 rdi = r14
0x1586 19 eax = 0
0x1588 20 call(0x1030)
0x158d 21 rbx = rbx + 1
0x1591 22 rax = sx.q([0x4060].d)
0x1598 23 rcx = sx.q([0x4064].d)
0x159f 24 rcx = rcx + rax
0x15a2 25 r15 = r15 + 4
0x15a9 26 if (rbx s>= rcx) then 8 @ 0x15bc else 16 @ 0x15ae
0x15b0 27 edi = 0x20 {"@"}
0x15b5 28 call(0x1060)
0x15ba 29 goto 17 @ 0x1580
int64_t _fini():
0x15c8 0 rsp = rsp - 8
0x15cc 1 rsp = rsp + 8
0x15d0 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 getchar():
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
char* gets(char* buf):
0x1060 0 <return> tailcall([0x4030].q)
int64_t calloc(uint64_t n, uint64_t elem_size):
0x1070 0 <return> tailcall([0x4038].q)
int64_t malloc(uint64_t bytes):
0x1080 0 <return> tailcall([0x4040].q)
void __cxa_finalize(void* d):
0x1090 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x10a4 0 ebp = 0
0x10a6 1 r9 = rdx
0x10a9 2 rsi = pop
0x10aa 3 rdx = rsp {arg_8}
0x10ad 4 rsp = rsp & 0xfffffffffffffff0
0x10b1 5 push(rax)
0x10b2 6 push(rsp)
0x10b3 7 r8d = 0
0x10b6 8 ecx = 0
0x10b8 9 rdi = 0x1190 {"UHH0H=e"}
0x10bf 10 call([0x3ff8].q)
0x10bf 11 noreturn
void deregister_tm_clones():
0x10d0 0 rdi = 0x4058 {""}
0x10d7 1 rax = 0x4058 {""}
0x10e1 2 if (rax == rdi) then 3 @ 0x10f8 else 4 @ 0x10e3
0x10f8 3 <return> jump(pop)
0x10e3 4 rax = [0x3fd8].q
0x10ed 5 if (rax == 0) then 3 @ 0x10f8 else 6 @ 0x10ef
0x10ef 6 <return> tailcall(rax)
void register_tm_clones():
0x1100 0 rdi = 0x4058 {""}
0x1107 1 rsi = 0x4058 {""}
0x110e 2 rsi = rsi - rdi
0x1111 3 rax = rsi
0x1114 4 rsi = rsi u>> 0x3f
0x1118 5 rax = rax s>> 3
0x111c 6 rsi = rsi + rax
0x111f 7 rsi = rsi s>> 1
0x1122 8 if (rsi == 0) then 9 @ 0x1138 else 10 @ 0x1124
0x1138 9 <return> jump(pop)
0x1124 10 rax = [0x3ff0].q
0x112e 11 if (rax == 0) then 9 @ 0x1138 else 12 @ 0x1130
0x1130 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x114b 0 if ([0x4058].b != 0) then 1 @ 0x1178 else 2 @ 0x114d
0x1178 1 <return> jump(pop)
0x114d 2 push(rbp)
0x114e 3 cond:0 = [0x3fe0].q == 0
0x1156 4 rbp = rsp {__saved_rbp}
0x1159 5 if (cond:0) then 6 @ 0x1167 else 10 @ 0x115b
0x1167 6 call(0x10d0)
0x116c 7 [0x4058].b = 1
0x1173 8 rbp = pop
0x1174 9 <return> jump(pop)
0x115b 10 rdi = [0x4050].q
0x1162 11 call(0x1090)
0x1162 12 goto 6 @ 0x1167
int64_t frame_dummy():
0x1184 0 <return> tailcall(0x1100)
int32_t main(int32_t argc, char** argv, char** envp):
0x1190 0 push(rbp)
0x1191 1 rbp = rsp {__saved_rbp}
0x1194 2 rsp = rsp - 0x30
0x1198 3 rdi = 0x2004 {"%d"}
0x119f 4 rsi = rbp - 0x14 {var_1c}
0x11a3 5 al = 0
0x11a5 6 call(0x1050)
0x11aa 7 al = 0
0x11ac 8 call(0x1040)
0x11b1 9 edi = 0x68 {""}
0x11b6 10 call(0x1080)
0x11bb 11 [rbp - 0x20 {var_28}].q = rax
0x11bf 12 edi = 0x1a {""}
0x11c4 13 call(0x1080)
0x11c9 14 [rbp - 0x28 {var_30}].q = rax
0x11cd 15 rdi = sx.q([rbp - 0x14 {var_1c}].d)
0x11d1 16 esi = 0x186a0 {""}
0x11d6 17 call(0x1070)
0x11db 18 [rbp - 0x30 {var_38}].q = rax
0x11df 19 [rbp - 4 {var_c}].d = 0
0x11df 20 goto 21 @ 0x11e6
0x11e6 21 eax = [rbp - 4 {var_c}].d
0x11ec 22 if (eax s>= [rbp - 0x14 {var_1c}].d) then 23 @ 0x1219 else 25 @ 0x11f2
0x1219 23 [rbp - 4 {var_c_1}].d = 0
0x1219 24 goto 35 @ 0x1220
0x11f2 25 rdi = [rbp - 0x30 {var_38}].q
0x11f6 26 rax = sx.q([rbp - 4 {var_c}].d)
0x11fa 27 rax = rax * 0x186a0
0x1201 28 rdi = rdi + rax
0x1204 29 al = 0
0x1206 30 call(0x1060)
0x120b 31 eax = [rbp - 4 {var_c}].d
0x120e 32 eax = eax + 1
0x1211 33 [rbp - 4 {var_c}].d = eax
0x1214 34 goto 21 @ 0x11e6
0x1220 35 eax = [rbp - 4 {var_c_1}].d
0x1226 36 if (eax s>= [rbp - 0x14 {var_1c}].d) then 37 @ 0x1435 else 40 @ 0x122c
0x1435 37 rsp = rsp + 0x30
0x1439 38 rbp = pop
0x143a 39 <return> jump(pop)
0x122c 40 [rbp - 8 {var_10_1}].d = 0
0x122c 41 goto 42 @ 0x1237
0x1237 42 if ([rbp - 8 {var_10_1}].d s>= 0x1a) then 43 @ 0x125a else 47 @ 0x123d
0x125a 43 [rbp - 0xc {var_14_1}].d = 0
0x1261 44 [rbp - 0x18 {var_20_1}].d = 0
0x1268 45 [rbp - 8 {var_10_2}].d = 0
0x1268 46 goto 54 @ 0x126f
0x123d 47 rax = [rbp - 0x20 {var_28}].q
0x1241 48 rcx = sx.q([rbp - 8 {var_10_1}].d)
0x1245 49 [rax + (rcx << 2)].d = 0
0x124c 50 eax = [rbp - 8 {var_10_1}].d
0x124f 51 eax = eax + 1
0x1252 52 [rbp - 8 {var_10_1}].d = eax
0x1255 53 goto 42 @ 0x1237
0x126f 54 rax = [rbp - 0x30 {var_38}].q
0x1273 55 rcx = sx.q([rbp - 4 {var_c_1}].d)
0x1277 56 rcx = rcx * 0x186a0
0x127e 57 rax = rax + rcx
0x1281 58 rcx = sx.q([rbp - 8 {var_10_2}].d)
0x1285 59 eax = sx.d([rax + rcx].b)
0x128c 60 if (eax == 0) then 61 @ 0x12d2 else 63 @ 0x1292
0x12d2 61 [rbp - 8 {var_10_3}].d = 0
0x12d2 62 goto 78 @ 0x12dd
0x1292 63 rax = [rbp - 0x20 {var_28}].q
0x1296 64 rcx = [rbp - 0x30 {var_38}].q
0x129a 65 rdx = sx.q([rbp - 4 {var_c_1}].d)
0x129e 66 rdx = rdx * 0x186a0
0x12a5 67 rcx = rcx + rdx
0x12a8 68 rdx = sx.q([rbp - 8 {var_10_2}].d)
0x12ac 69 ecx = sx.d([rcx + rdx].b)
0x12b0 70 rcx = sx.q(ecx)
0x12b3 71 edx = [rax + (rcx << 2) - 0x184].d
0x12ba 72 edx = edx + 1
0x12bd 73 [rax + (rcx << 2) - 0x184].d = edx
0x12c4 74 eax = [rbp - 8 {var_10_2}].d
0x12c7 75 eax = eax + 1
0x12ca 76 [rbp - 8 {var_10_2}].d = eax
0x12cd 77 goto 54 @ 0x126f
0x12dd 78 if ([rbp - 8 {var_10_3}].d s>= 0x1a) then 79 @ 0x132f else 80 @ 0x12e3
0x132f 79 if ([rbp - 0x18 {var_20_1}].d != 0) then 83 @ 0x134c else 84 @ 0x1335
0x12e3 80 rax = [rbp - 0x20 {var_28}].q
0x12e7 81 rcx = sx.q([rbp - 8 {var_10_3}].d)
0x12ef 82 if ([rax + (rcx << 2)].d != 1) then 88 @ 0x1318 else 89 @ 0x12f5
0x134c 83 if ([rbp - 0x18 {var_20_1}].d != 1) then 100 @ 0x141d else 101 @ 0x1352
0x1335 84 rdi = 0x2007 {"no\n"}
0x133c 85 al = 0
0x133e 86 call(0x1030)
0x1343 87 goto 103 @ 0x1422
0x1318 88 goto 104 @ 0x131d
0x12f5 89 eax = [rbp - 8 {var_10_3}].d
0x12f8 90 eax = eax + 0x61
0x12fb 91 dl = al
0x12fd 92 rax = [rbp - 0x28 {var_30}].q
0x1301 93 rcx = sx.q([rbp - 0xc {var_14_1}].d)
0x1305 94 [rax + rcx].b = dl
0x1308 95 eax = [rbp - 0xc {var_14_1}].d
0x130b 96 eax = eax + 1
0x130e 97 [rbp - 0xc {var_14_1}].d = eax
0x1311 98 [rbp - 0x18 {var_20_1}].d = 1
0x1311 99 goto 88 @ 0x1318
0x141d 100 goto 103 @ 0x1422
0x1352 101 [rbp - 8 {var_10_4}].d = 0
0x1352 102 goto 108 @ 0x1359
0x1422 103 goto 115 @ 0x1427
0x131d 104 eax = [rbp - 8 {var_10_3}].d
0x1320 105 eax = eax + 1
0x1323 106 [rbp - 8 {var_10_3}].d = eax
0x1326 107 goto 78 @ 0x12dd
0x1359 108 rax = [rbp - 0x30 {var_38}].q
0x135d 109 rcx = sx.q([rbp - 4 {var_c_1}].d)
0x1361 110 rcx = rcx * 0x186a0
0x1368 111 rax = rax + rcx
0x136b 112 rcx = sx.q([rbp - 8 {var_10_4}].d)
0x136f 113 eax = sx.d([rax + rcx].b)
0x1376 114 if (eax == 0) then 119 @ 0x1418 else 120 @ 0x137c
0x1427 115 eax = [rbp - 4 {var_c_1}].d
0x142a 116 eax = eax + 1
0x142d 117 [rbp - 4 {var_c_1}].d = eax
0x1430 118 goto 35 @ 0x1220
0x1418 119 goto 100 @ 0x141d
0x137c 120 [rbp - 0x10 {var_18_1}].d = 0
0x137c 121 goto 122 @ 0x1383
0x1383 122 eax = [rbp - 0x10 {var_18_1}].d
0x1389 123 if (eax s>= [rbp - 0xc {var_14_1}].d) then 124 @ 0x13fa else 125 @ 0x138f
0x13fa 124 if ([rbp - 0x18 {var_20_1}].d != 0) then 135 @ 0x1405 else 136 @ 0x1400
0x138f 125 rax = [rbp - 0x30 {var_38}].q
0x1393 126 rcx = sx.q([rbp - 4 {var_c_1}].d)
0x1397 127 rcx = rcx * 0x186a0
0x139e 128 rax = rax + rcx
0x13a1 129 rcx = sx.q([rbp - 8 {var_10_4}].d)
0x13a5 130 eax = sx.d([rax + rcx].b)
0x13a9 131 rcx = [rbp - 0x28 {var_30}].q
0x13ad 132 rdx = sx.q([rbp - 0x10 {var_18_1}].d)
0x13b1 133 ecx = sx.d([rcx + rdx].b)
0x13b7 134 if (eax != ecx) then 137 @ 0x13e3 else 138 @ 0x13bd
0x1405 135 goto 146 @ 0x140a
0x1400 136 goto 119 @ 0x1418
0x13e3 137 goto 150 @ 0x13e8
0x13bd 138 rax = [rbp - 0x28 {var_30}].q
0x13c1 139 rcx = sx.q([rbp - 0x10 {var_18_1}].d)
0x13c5 140 esi = sx.d([rax + rcx].b)
0x13c9 141 rdi = 0x200b {"%c\n"}
0x13d0 142 al = 0
0x13d2 143 call(0x1030)
0x13d7 144 [rbp - 0x18 {var_20_1}].d = 0
0x13de 145 goto 124 @ 0x13fa
0x140a 146 eax = [rbp - 8 {var_10_4}].d
0x140d 147 eax = eax + 1
0x1410 148 [rbp - 8 {var_10_4}].d = eax
0x1413 149 goto 108 @ 0x1359
0x13e8 150 eax = [rbp - 0x10 {var_18_1}].d
0x13eb 151 eax = eax + 1
0x13ee 152 [rbp - 0x10 {var_18_1}].d = eax
0x13f1 153 goto 122 @ 0x1383
int64_t _fini():
0x1440 0 rsp = rsp - 8
0x1444 1 rsp = rsp + 8
0x1448 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)
float sqrtf(float 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 {"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 - 0xa8
0x116d 5 rdi = 0x2004 {"%d"}
0x1174 6 rsi = rsp + 0xc {var_bc}
0x1179 7 eax = 0
0x117b 8 call(0x1040)
0x1185 9 if ([rsp + 0xc {var_bc}].d s<= 0) then 10 @ 0x12fa else 11 @ 0x118b
0x12fa 10 goto 19 @ 0x131c
0x118b 11 rdi = 0x2007 {"%f %f"}
0x1192 12 rsi = rsp + 8 {var_c0}
0x1197 13 rdx = rsp + 4 {var_c4}
0x119c 14 eax = 0
0x119e 15 call(0x1040)
0x11a3 16 xmm10 = [rsp + 8 {var_c0}].d
0x11aa 17 xmm12 = [rsp + 4 {var_c4}].d
0x11b6 18 if ([rsp + 0xc {var_bc}].d s< 2) then 42 @ 0x12fc else 51 @ 0x11bc
0x131c 19 [rsp + 0x40 {var_88_2}].o = xmm1
0x1321 20 [rsp + 0x60 {var_68_2}].o = xmm2
0x1326 21 xmm0 = xmm6
0x1329 22 xmm0.d = xmm0.d f- xmm11.d
0x132e 23 xmm1 = xmm8
0x1332 24 xmm1.d = xmm1.d f- xmm7.d
0x1336 25 xmm1.d = xmm1.d f* xmm1.d
0x133a 26 xmm0.d = xmm0.d f* xmm0.d
0x133e 27 xmm0.d = xmm0.d f+ xmm1.d
0x1342 28 xmm2 = 0
0x1345 29 flag:p = is_unordered.d(xmm0.d, xmm2.d)
0x1345 30 flag:c = xmm0.d f< xmm2.d | is_unordered.d(xmm0.d, xmm2.d)
0x1345 31 flag:z = xmm0.d f== xmm2.d | is_unordered.d(xmm0.d, xmm2.d)
0x1345 32 flag:s = 0
0x1345 33 flag:o = 0
0x1345 34 flag:a = 0
0x1348 35 [rsp + 0x50 {var_78_1}].o = xmm4
0x134d 36 [rsp + 0x30 {var_98_1}].o = xmm5
0x1352 37 [rsp + 0x10 {var_b8_2}].o = xmm8
0x1358 38 [rsp + 0x80 {var_48_2}].o = xmm6
0x1360 39 [rsp + 0x20 {var_a8_2}].o = xmm7
0x1365 40 [rsp + 0x90 {var_38_1}].o = xmm11
0x136e 41 if (flag:c) then 62 @ 0x1379 else 70 @ 0x1370
0x12fc 42 xmm4 = xmm10
0x1300 43 xmm5 = xmm12
0x1304 44 xmm1 = xmm10
0x1308 45 xmm2 = xmm12
0x130c 46 xmm8 = xmm12
0x1310 47 xmm6 = xmm10
0x1314 48 xmm7 = xmm12
0x1318 49 xmm11 = xmm10
0x1318 50 goto 19 @ 0x131c
0x11bc 51 ebp = 1
0x11c1 52 r14 = 0x2007 {"%f %f"}
0x11c8 53 r15 = rsp + 8 {var_c0}
0x11cd 54 rbx = rsp + 4 {var_c4}
0x11d2 55 xmm13 = xmm10
0x11d6 56 xmm8 = xmm12
0x11da 57 xmm9 = xmm12
0x11de 58 xmm14 = xmm10
0x11e2 59 xmm3 = xmm12
0x11e6 60 xmm0 = xmm10
0x11ea 61 goto 73 @ 0x11f0
0x1379 62 call(0x1050)
0x137e 63 xmm2 = 0
0x1381 64 xmm11 = [rsp + 0x90 {var_38_1}].o
0x138a 65 xmm7 = [rsp + 0x20 {var_a8_2}].o
0x138f 66 xmm5 = [rsp + 0x30 {var_98_1}].o
0x1394 67 xmm4 = [rsp + 0x50 {var_78_1}].o
0x1399 68 xmm3 = xmm0
0x1399 69 goto 131 @ 0x139c
0x1370 70 xmm3 = 0
0x1373 71 xmm3 = _mm_sqrt_ss(xmm0.d)
0x1377 72 goto 131 @ 0x139c
0x11f0 73 [rsp + 0x90 {var_38}].d = xmm10.d
0x11fa 74 [rsp + 0x20 {var_a8_1}].o = xmm12
0x1200 75 [rsp + 0x80 {var_48_1}].o = xmm13
0x1209 76 [rsp + 0x10 {var_b8_1}].o = xmm8
0x120f 77 [rsp + 0x30 {var_98}].d = xmm3.d
0x1215 78 [rsp + 0x40 {var_88_1}].o = xmm0
0x121a 79 [rsp + 0x50 {var_78}].d = xmm9.d
0x1221 80 [rsp + 0x60 {var_68_1}].o = xmm14
0x1227 81 rdi = r14
0x122a 82 rsi = r15 {var_c0}
0x122d 83 rdx = rbx {var_c4}
0x1230 84 eax = 0
0x1232 85 call(0x1040)
0x1237 86 xmm0 = [rsp + 8 {var_c0}].d
0x123d 87 xmm2 = [rsp + 4 {var_c4}].d
0x1243 88 xmm7 = xmm0
0x1246 89 xmm3 = [rsp + 0x90 {var_38}].d
0x124f 90 xmm7 = _mm_cmpeq_ss(xmm7.d, xmm3.d, 1)
0x1254 91 xmm1 = xmm7
0x1257 92 xmm1 = _mm_and_ps(xmm1, xmm2)
0x125a 93 xmm7 = __andnps_xmmxud_memxud(xmm7, [rsp + 0x20 {var_a8_1}].o)
0x125f 94 xmm7 = _mm_or_ps(xmm7, xmm1)
0x1262 95 xmm11 = xmm0
0x1266 96 xmm11 = _mm_min_ss(xmm11.d, xmm3.d)
0x126b 97 xmm6 = xmm0
0x126e 98 xmm3 = [rsp + 0x80 {var_48_1}].o
0x1276 99 xmm6 = _mm_max_ss(xmm6.d, xmm3.d)
0x127a 100 xmm3 = _mm_cmpeq_ss(xmm3.d, xmm0.d, 1)
0x127f 101 xmm1 = xmm3
0x1282 102 xmm1 = _mm_and_ps(xmm1, xmm2)
0x1285 103 xmm3 = __andnps_xmmxud_memxud(xmm3, [rsp + 0x10 {var_b8_1}].o)
0x128a 104 xmm3 = _mm_or_ps(xmm3, xmm1)
0x128d 105 xmm8 = xmm3
0x1291 106 xmm4 = xmm2
0x1294 107 xmm3 = [rsp + 0x30 {var_98}].d
0x129a 108 xmm4 = _mm_cmpeq_ss(xmm4.d, xmm3.d, 1)
0x129f 109 xmm1 = xmm4
0x12a2 110 xmm1 = _mm_and_ps(xmm1, xmm0)
0x12a5 111 xmm4 = __andnps_xmmxud_memxud(xmm4, [rsp + 0x40 {var_88_1}].o)
0x12aa 112 xmm4 = _mm_or_ps(xmm4, xmm1)
0x12ad 113 xmm5 = xmm2
0x12b0 114 xmm5 = _mm_min_ss(xmm5.d, xmm3.d)
0x12b4 115 xmm3 = [rsp + 0x50 {var_78}].d
0x12ba 116 xmm1 = xmm3
0x12bd 117 xmm1 = _mm_cmpeq_ss(xmm1.d, xmm2.d, 1)
0x12c2 118 xmm0 = _mm_and_ps(xmm0, xmm1)
0x12c5 119 xmm1 = __andnps_xmmxud_memxud(xmm1, [rsp + 0x60 {var_68_1}].o)
0x12ca 120 xmm1 = _mm_or_ps(xmm1, xmm0)
0x12cd 121 xmm2 = _mm_max_ss(xmm2.d, xmm3.d)
0x12d1 122 ebp = ebp + 1
0x12d4 123 xmm10 = xmm11
0x12d8 124 xmm12 = xmm7
0x12dc 125 xmm13 = xmm6
0x12e0 126 xmm9 = xmm2
0x12e4 127 xmm14 = xmm1
0x12e8 128 xmm3 = xmm5
0x12eb 129 xmm0 = xmm4
0x12f2 130 if (ebp s< [rsp + 0xc {var_bc}].d) then 73 @ 0x11f0 else 145 @ 0x12f8
0x139c 131 xmm0 = xmm4
0x139f 132 xmm0.d = xmm0.d f- xmm11.d
0x13a4 133 xmm1 = xmm5
0x13a7 134 xmm1.d = xmm1.d f- xmm7.d
0x13ab 135 xmm1.d = xmm1.d f* xmm1.d
0x13af 136 xmm0.d = xmm0.d f* xmm0.d
0x13b3 137 xmm0.d = xmm0.d f+ xmm1.d
0x13b7 138 flag:p = is_unordered.d(xmm0.d, xmm2.d)
0x13b7 139 flag:c = xmm0.d f< xmm2.d | is_unordered.d(xmm0.d, xmm2.d)
0x13b7 140 flag:z = xmm0.d f== xmm2.d | is_unordered.d(xmm0.d, xmm2.d)
0x13b7 141 flag:s = 0
0x13b7 142 flag:o = 0
0x13b7 143 flag:a = 0
0x13ba 144 if (flag:c) then 146 @ 0x13c5 else 153 @ 0x13bc
0x12f8 145 goto 19 @ 0x131c
0x13c5 146 [rsp + 0x7c {var_4c_1}].d = xmm3.d
0x13cb 147 call(0x1050)
0x13d0 148 xmm3 = [rsp + 0x7c {var_4c_1}].d
0x13d6 149 xmm11 = [rsp + 0x90 {var_38_1}].o
0x13df 150 xmm7 = [rsp + 0x20 {var_a8_2}].o
0x13e4 151 xmm2 = xmm0
0x13e4 152 goto 156 @ 0x13e7
0x13bc 153 xmm2 = 0
0x13bf 154 xmm2 = _mm_sqrt_ss(xmm0.d)
0x13c3 155 goto 156 @ 0x13e7
0x13e7 156 xmm1 = [rsp + 0x60 {var_68_2}].o
0x13ec 157 xmm0 = [rsp + 0x40 {var_88_2}].o
0x13f1 158 xmm2 = _mm_max_ss(xmm2.d, xmm3.d)
0x13f5 159 xmm0.d = xmm0.d f- xmm11.d
0x13fa 160 xmm1.d = xmm1.d f- xmm7.d
0x13fe 161 xmm1.d = xmm1.d f* xmm1.d
0x1402 162 xmm0.d = xmm0.d f* xmm0.d
0x1406 163 xmm0.d = xmm0.d f+ xmm1.d
0x140a 164 xmm4 = 0
0x140d 165 flag:p = is_unordered.d(xmm0.d, xmm4.d)
0x140d 166 flag:c = xmm0.d f< xmm4.d | is_unordered.d(xmm0.d, xmm4.d)
0x140d 167 flag:z = xmm0.d f== xmm4.d | is_unordered.d(xmm0.d, xmm4.d)
0x140d 168 flag:s = 0
0x140d 169 flag:o = 0
0x140d 170 flag:a = 0
0x1410 171 if (flag:c) then 172 @ 0x141b else 178 @ 0x1412
0x141b 172 [rsp + 0x20 {var_a8_2[0]}].d = xmm2.d
0x1421 173 call(0x1050)
0x1426 174 xmm4 = 0
0x1429 175 xmm2 = [rsp + 0x20 {var_a8_2[0]}].d
0x142f 176 xmm7 = xmm0
0x142f 177 goto 181 @ 0x1432
0x1412 178 xmm7 = 0
0x1415 179 xmm7 = _mm_sqrt_ss(xmm0.d)
0x1419 180 goto 181 @ 0x1432
0x1432 181 xmm3 = [rsp + 0x10 {var_b8_2}].o
0x1437 182 xmm0 = [rsp + 0x50 {var_78_1}].o
0x143c 183 xmm1 = [rsp + 0x30 {var_98_1}].o
0x1441 184 xmm5 = [rsp + 0x80 {var_48_2}].o
0x1449 185 xmm7 = _mm_max_ss(xmm7.d, xmm2.d)
0x144d 186 xmm0.d = xmm0.d f- xmm5.d
0x1451 187 xmm1.d = xmm1.d f- xmm3.d
0x1455 188 xmm1.d = xmm1.d f* xmm1.d
0x1459 189 xmm0.d = xmm0.d f* xmm0.d
0x145d 190 xmm0.d = xmm0.d f+ xmm1.d
0x1461 191 flag:p = is_unordered.d(xmm0.d, xmm4.d)
0x1461 192 flag:c = xmm0.d f< xmm4.d | is_unordered.d(xmm0.d, xmm4.d)
0x1461 193 flag:z = xmm0.d f== xmm4.d | is_unordered.d(xmm0.d, xmm4.d)
0x1461 194 flag:s = 0
0x1461 195 flag:o = 0
0x1461 196 flag:a = 0
0x1464 197 if (flag:c) then 198 @ 0x146f else 205 @ 0x1466
0x146f 198 [rsp + 0x20 {var_a8_2[0]}].d = xmm7.d
0x1475 199 call(0x1050)
0x147a 200 xmm7 = [rsp + 0x20 {var_a8_2[0]}].d
0x1480 201 xmm5 = [rsp + 0x80 {var_48_2}].o
0x1488 202 xmm3 = [rsp + 0x10 {var_b8_2}].o
0x148d 203 xmm6 = xmm0
0x148d 204 goto 208 @ 0x1490
0x1466 205 xmm6 = 0
0x1469 206 xmm6 = _mm_sqrt_ss(xmm0.d)
0x146d 207 goto 208 @ 0x1490
0x1490 208 xmm2 = [rsp + 0x60 {var_68_2}].o
0x1495 209 xmm4 = [rsp + 0x40 {var_88_2}].o
0x149a 210 xmm6 = _mm_max_ss(xmm6.d, xmm7.d)
0x149e 211 xmm0 = xmm4
0x14a1 212 xmm0.d = xmm0.d f- xmm5.d
0x14a5 213 xmm1 = xmm2
0x14a8 214 xmm1.d = xmm1.d f- xmm3.d
0x14ac 215 xmm1.d = xmm1.d f* xmm1.d
0x14b0 216 xmm0.d = xmm0.d f* xmm0.d
0x14b4 217 xmm0.d = xmm0.d f+ xmm1.d
0x14b8 218 xmm5 = 0
0x14bb 219 flag:p = is_unordered.d(xmm0.d, xmm5.d)
0x14bb 220 flag:c = xmm0.d f< xmm5.d | is_unordered.d(xmm0.d, xmm5.d)
0x14bb 221 flag:z = xmm0.d f== xmm5.d | is_unordered.d(xmm0.d, xmm5.d)
0x14bb 222 flag:s = 0
0x14bb 223 flag:o = 0
0x14bb 224 flag:a = 0
0x14be 225 if (flag:c) then 226 @ 0x14c9 else 234 @ 0x14c0
0x14c9 226 [rsp + 0x10 {var_b8_2[0]}].d = xmm6.d
0x14cf 227 call(0x1050)
0x14d4 228 xmm5 = 0
0x14d7 229 xmm6 = [rsp + 0x10 {var_b8_2[0]}].d
0x14dd 230 xmm4 = [rsp + 0x40 {var_88_2}].o
0x14e2 231 xmm2 = [rsp + 0x60 {var_68_2}].o
0x14e7 232 xmm3 = xmm0
0x14e7 233 goto 237 @ 0x14ea
0x14c0 234 xmm3 = 0
0x14c3 235 xmm3 = _mm_sqrt_ss(xmm0.d)
0x14c7 236 goto 237 @ 0x14ea
0x14ea 237 xmm0 = [rsp + 0x50 {var_78_1}].o
0x14ef 238 xmm1 = [rsp + 0x30 {var_98_1}].o
0x14f4 239 xmm3 = _mm_max_ss(xmm3.d, xmm6.d)
0x14f8 240 xmm4.d = xmm4.d f- xmm0.d
0x14fc 241 xmm2.d = xmm2.d f- xmm1.d
0x1500 242 xmm2.d = xmm2.d f* xmm2.d
0x1504 243 xmm4.d = xmm4.d f* xmm4.d
0x1508 244 xmm4.d = xmm4.d f+ xmm2.d
0x150c 245 flag:p = is_unordered.d(xmm4.d, xmm5.d)
0x150c 246 flag:c = xmm4.d f< xmm5.d | is_unordered.d(xmm4.d, xmm5.d)
0x150c 247 flag:z = xmm4.d f== xmm5.d | is_unordered.d(xmm4.d, xmm5.d)
0x150c 248 flag:s = 0
0x150c 249 flag:o = 0
0x150c 250 flag:a = 0
0x150f 251 if (flag:c) then 252 @ 0x151a else 257 @ 0x1511
0x151a 252 xmm0 = xmm4
0x151d 253 [rsp + 0x10 {var_b8_2[0]}].d = xmm3.d
0x1523 254 call(0x1050)
0x1528 255 xmm3 = [rsp + 0x10 {var_b8_2[0]}].d
0x1528 256 goto 260 @ 0x152e
0x1511 257 xmm0 = 0
0x1514 258 xmm0 = _mm_sqrt_ss(xmm4.d)
0x1518 259 goto 260 @ 0x152e
0x152e 260 xmm0 = _mm_max_ss(xmm0.d, xmm3.d)
0x1532 261 xmm0.q = fconvert.d(xmm0.d)
0x1536 262 rdi = 0x200d {"%.4f\n"}
0x153d 263 al = 1
0x153f 264 call(0x1030)
0x1544 265 eax = 0
0x1546 266 rsp = rsp + 0xa8
0x154d 267 rbx = pop
0x154e 268 r14 = pop
0x1550 269 r15 = pop
0x1552 270 rbp = pop
0x1553 271 <return> jump(pop)
int64_t _fini():
0x1558 0 rsp = rsp - 8
0x155c 1 rsp = rsp + 8
0x1560 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 {"AWAVATSHhH="}
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 - 0x68
0x115b 5 rdi = 0x2028 {"%d"}
0x1162 6 rsi = rsp {var_88}
0x1165 7 eax = 0
0x1167 8 call(0x1040)
0x116c 9 xmm0 = 0
0x1174 10 if ([rsp {var_88}].d s<= 0) then 11 @ 0x11c6 else 13 @ 0x1176
0x11c6 11 xmm1 = 0
0x11c9 12 goto 17 @ 0x14c5
0x1176 13 r15 = rsp + 0x10 {var_78}
0x117b 14 r14 = 0x2028 {"%d"}
0x1182 15 ebx = 0
0x118e 16 goto 29 @ 0x1190
0x14c5 17 xmm0.d = xmm0.d f/ xmm1.d
0x14c9 18 xmm0.q = fconvert.d(xmm0.d)
0x14cd 19 rdi = 0x202b {"%.2f"}
0x14d4 20 al = 1
0x14d6 21 call(0x1030)
0x14db 22 eax = 0
0x14dd 23 rsp = rsp + 0x68
0x14e1 24 rbx = pop
0x14e2 25 r12 = pop
0x14e4 26 r14 = pop
0x14e6 27 r15 = pop
0x14e8 28 <return> jump(pop)
0x1190 29 rdi = r14
0x1193 30 rsi = r15
0x1196 31 eax = 0
0x1198 32 call(0x1040)
0x119d 33 rbx = rbx + 1
0x11a1 34 rax = sx.q([rsp {var_88}].d)
0x11a5 35 r15 = r15 + 4
0x11ac 36 if (rbx s< rax) then 29 @ 0x1190 else 37 @ 0x11ae
0x11ae 37 eax = eax
0x11b2 38 if (eax s<= 0) then 39 @ 0x11ce else 42 @ 0x11b7
0x11ce 39 xmm1 = 0
0x11d1 40 xmm0 = 0
0x11d5 41 goto 17 @ 0x14c5
0x11b7 42 if (eax u>= 8) then 43 @ 0x11da else 52 @ 0x11b9
0x11da 43 ecx = eax
0x11dc 44 ecx = ecx & 0xfffffff8
0x11df 45 rsi = rcx - 8
0x11e3 46 rdi = rsi
0x11e6 47 rdi = rdi u>> 3
0x11ea 48 rdi = rdi + 1
0x11ee 49 edx = edi
0x11f0 50 edx = edx & 3
0x11f7 51 if (rsi u>= 0x18) then 56 @ 0x1205 else 61 @ 0x11f9
0x11b9 52 ecx = 0
0x11bb 53 edx = 0
0x11bd 54 xmm0 = 0
0x11c1 55 goto 65 @ 0x12b0
0x1205 56 rdi = rdi & 0xfffffffffffffffc
0x1209 57 xmm0 = 0
0x120d 58 esi = 0
0x120f 59 xmm1 = 0
0x121d 60 goto 68 @ 0x1220
0x11f9 61 xmm0 = 0
0x11fd 62 esi = 0
0x11ff 63 xmm1 = 0
0x1203 64 goto 80 @ 0x1260
0x12b0 65 edx = edx + [rsp + (rcx << 2) + 0x10].d
0x12b4 66 rcx = rcx + 1
0x12bb 67 if (rax != rcx) then 65 @ 0x12b0 else 81 @ 0x12bd
0x1220 68 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rsi << 2) + 0x10].o)
0x1226 69 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0x20].o)
0x122c 70 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rsi << 2) + 0x30].o)
0x1232 71 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0x40].o)
0x1238 72 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rsi << 2) + 0x50].o)
0x123e 73 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0x60].o)
0x1244 74 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rsi << 2) + 0x70].o)
0x124a 75 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0x80].o)
0x1253 76 rsi = rsi + 0x20
0x1257 77 temp0.q = rdi
0x1257 78 rdi = rdi - 4
0x125b 79 if (temp0.q != 4) then 68 @ 0x1220 else 80 @ 0x1260
0x1260 80 if (rdx == 0) then 84 @ 0x1284 else 93 @ 0x1262
0x12bd 81 xmm1 = 0
0x12c0 82 xmm1.d = float.s(edx)
0x12c6 83 if (eax s<= 0) then 17 @ 0x14c5 else 98 @ 0x12cc
0x1284 84 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x1288 85 xmm1 = _mm_shuffle_epi32(xmm0, 0xee)
0x128d 86 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x1291 87 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x1296 88 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x129a 89 edx = xmm0.d
0x129e 90 cond:0 = rcx == rax
0x12a1 91 xmm0 = 0
0x12a5 92 if (cond:0) then 81 @ 0x12bd else 105 @ 0x12a7
0x1262 93 rsi = rsp + (rsi << 2)
0x1266 94 rsi = rsi + 0x20
0x126a 95 rdx = rdx << 5
0x126e 96 edi = 0
0x126e 97 goto 106 @ 0x1270
0x12cc 98 [rsp + 4 {var_84_1}].d = xmm1.d
0x12d2 99 xmm0 = 0
0x12d6 100 r15 = rsp + 0x10 {var_78}
0x12db 101 rbx = rsp + 0x40 {var_48}
0x12e0 102 r14 = 0x2028 {"%d"}
0x12e7 103 r12d = 0
0x12ea 104 goto 110 @ 0x1328
0x12a7 105 goto 65 @ 0x12b0
0x1270 106 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsi + rdi - 0x10].o)
0x1276 107 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsi + rdi].o)
0x127b 108 rdi = rdi + 0x20
0x1282 109 if (rdx != rdi) then 106 @ 0x1270 else 84 @ 0x1284
0x1328 110 [rsp + 0xc {var_7c_1}].d = xmm0.d
0x132e 111 rdi = r14
0x1331 112 rsi = rbx
0x1334 113 eax = 0
0x1336 114 call(0x1040)
0x133b 115 eax = [rbx].d
0x133d 116 ecx = (rax - 0x5a).d
0x1340 117 xmm0 = [0x2004].d
0x134b 118 if (ecx u>= 0xb) then 119 @ 0x1400 else 123 @ 0x1351
0x1400 119 xmm0 = [rsp + 8 {var_80}].d
0x1406 120 ecx = (rax - 0x55).d
0x1409 121 xmm1 = [0x2008].d
0x1414 122 if (ecx u< 5) then 126 @ 0x1365 else 129 @ 0x141a
0x1351 123 ecx = (rax - 0x55).d
0x1354 124 xmm1 = [0x2008].d
0x135f 125 if (ecx u>= 5) then 129 @ 0x141a else 126 @ 0x1365
0x1365 126 ecx = (rax - 0x52).d
0x1368 127 xmm0 = [0x200c].d
0x1373 128 if (ecx u>= 3) then 133 @ 0x1431 else 137 @ 0x1379
0x141a 129 xmm1 = xmm0
0x141d 130 ecx = (rax - 0x52).d
0x1420 131 xmm0 = [0x200c].d
0x142b 132 if (ecx u< 3) then 137 @ 0x1379 else 133 @ 0x1431
0x1431 133 xmm0 = xmm1
0x1434 134 ecx = (rax - 0x4e).d
0x1437 135 xmm1 = [0x2010].d
0x1442 136 if (ecx u< 4) then 140 @ 0x138d else 143 @ 0x1448
0x1379 137 ecx = (rax - 0x4e).d
0x137c 138 xmm1 = [0x2010].d
0x1387 139 if (ecx u>= 4) then 143 @ 0x1448 else 140 @ 0x138d
0x138d 140 ecx = (rax - 0x4b).d
0x1390 141 xmm0 = [0x2014].d
0x139b 142 if (ecx u>= 3) then 147 @ 0x145f else 151 @ 0x13a1
0x1448 143 xmm1 = xmm0
0x144b 144 ecx = (rax - 0x4b).d
0x144e 145 xmm0 = [0x2014].d
0x1459 146 if (ecx u< 3) then 151 @ 0x13a1 else 147 @ 0x145f
0x145f 147 xmm0 = xmm1
0x1462 148 ecx = (rax - 0x48).d
0x1465 149 xmm1 = [0x2018].d
0x1470 150 if (ecx u>= 3) then 154 @ 0x13b1 else 156 @ 0x1476
0x13a1 151 ecx = (rax - 0x48).d
0x13a4 152 xmm1 = [0x2018].d
0x13af 153 if (ecx u< 3) then 157 @ 0x13b4 else 154 @ 0x13b1
0x13b1 154 xmm1 = xmm0
0x13b1 155 goto 157 @ 0x13b4
0x1476 156 goto 157 @ 0x13b4
0x13b4 157 ecx = eax
0x13b6 158 ecx = ecx & 0xfffffffc
0x13b9 159 xmm0 = [0x201c].d
0x13c4 160 if (ecx != 0x44) then 161 @ 0x1480 else 164 @ 0x13ca
0x1480 161 xmm0 = xmm1
0x1483 162 xmm1 = [0x2020].d
0x148e 163 if (ecx == 0x40) then 166 @ 0x13db else 168 @ 0x1494
0x13ca 164 xmm1 = [0x2020].d
0x13d5 165 if (ecx != 0x40) then 168 @ 0x1494 else 166 @ 0x13db
0x13db 166 xmm0 = [0x2024].d
0x13e6 167 if (ecx != 0x3c) then 171 @ 0x14a8 else 174 @ 0x13ec
0x1494 168 xmm1 = xmm0
0x1497 169 xmm0 = [0x2024].d
0x14a2 170 if (ecx == 0x3c) then 174 @ 0x13ec else 171 @ 0x14a8
0x14a8 171 xmm0 = xmm1
0x14ab 172 xmm1 = 0
0x14b1 173 if (eax s< 0x3c) then 176 @ 0x12f0 else 188 @ 0x14b7
0x13ec 174 xmm1 = 0
0x13f2 175 if (eax s< 0x3c) then 176 @ 0x12f0 else 190 @ 0x13f8
0x12f0 176 xmm0 = 0
0x12f3 177 xmm0.d = float.s([r15].d)
0x12f8 178 [rsp + 8 {var_80}].d = xmm1.d
0x12fe 179 xmm0.d = xmm0.d f* xmm1.d
0x1302 180 xmm1 = [rsp + 0xc {var_7c_1}].d
0x1308 181 xmm1.d = xmm1.d f+ xmm0.d
0x130c 182 xmm0 = xmm1
0x130f 183 r12 = r12 + 1
0x1313 184 rax = sx.q([rsp {var_88}].d)
0x1317 185 r15 = r15 + 4
0x131b 186 rbx = rbx + 4
0x1322 187 if (r12 s>= rax) then 191 @ 0x14bf else 110 @ 0x1328
0x14b7 188 xmm1 = xmm0
0x14ba 189 goto 176 @ 0x12f0
0x13f8 190 goto 188 @ 0x14b7
0x14bf 191 xmm1 = [rsp + 4 {var_84_1}].d
0x14bf 192 goto 17 @ 0x14c5
int64_t _fini():
0x14f0 0 rsp = rsp - 8
0x14f4 1 rsp = rsp + 8
0x14f8 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 {"AWAVS."}
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 [0x4050].d = 0
0x115f 4 r15 = 0x4060 {""}
0x1166 5 r14 = 0x2004 {"%d"}
0x116d 6 eax = 0
0x116f 7 goto 8 @ 0x1170
0x1170 8 rax = sx.q(eax)
0x1172 9 rsi = r15 + (rax << 2)
0x1176 10 rdi = r14
0x1179 11 eax = 0
0x117b 12 call(0x1040)
0x1180 13 ecx = [0x4050].d
0x1186 14 eax = (rcx + 1).d
0x1189 15 [0x4050].d = eax
0x1192 16 if (ecx s< 5) then 8 @ 0x1170 else 17 @ 0x1194
0x1194 17 [0x4050].d = 0
0x119e 18 r14 = 0x2007 {"%d\n"}
0x11a5 19 eax = 0
0x11a7 20 goto 21 @ 0x11b0
0x11b0 21 rbx = sx.q(eax)
0x11b3 22 edi = [r15 + (rbx << 2)].d
0x11b7 23 call(0x11f0)
0x11bc 24 [r15 + (rbx << 2)].d = eax
0x11c0 25 rdi = r14
0x11c3 26 esi = eax
0x11c5 27 eax = 0
0x11c7 28 call(0x1030)
0x11cc 29 ecx = [0x4050].d
0x11d2 30 eax = (rcx + 1).d
0x11d5 31 [0x4050].d = eax
0x11de 32 if (ecx s< 5) then 21 @ 0x11b0 else 33 @ 0x11e0
0x11e0 33 eax = 0
0x11e2 34 rbx = pop
0x11e3 35 r14 = pop
0x11e5 36 r15 = pop
0x11e7 37 <return> jump(pop)
uint64_t reverse(int32_t arg1):
0x11f0 0 push(rbp)
0x11f1 1 push(r15)
0x11f3 2 push(r14)
0x11f5 3 push(rbx)
0x11f6 4 ecx = edi
0x11f8 5 ecx = neg.d(ecx)
0x11fa 6 if (ecx s< 0) then 7 else 9 @ 0x11fd
0x11fa 7 ecx = edi
0x11fa 8 goto 9 @ 0x11fd
0x11fd 9 eax = 0xd1b71759 {""}
0x1202 10 rax = rax * rcx
0x1206 11 rax = rax u>> 0x2d
0x120a 12 rdx = rcx * 0x10624dd3
0x1211 13 rdx = rdx u>> 0x26
0x1215 14 esi = (rax + rax).d
0x1218 15 esi = (rsi + (rsi << 2)).d
0x121b 16 edx = edx - esi
0x121d 17 rsi = rcx * 0x51eb851f
0x1224 18 rsi = rsi u>> 0x25
0x1228 19 r8d = eax * -0x64
0x122c 20 r8d = r8d + esi
0x122f 21 esi = (rdx + rdx).d
0x1232 22 r9d = (rsi + (rsi << 2)).d
0x1236 23 r8d = r8d - r9d
0x1239 24 esi = 0xcccccccd {""}
0x123e 25 rsi = rsi * rcx
0x1242 26 rsi = rsi u>> 0x23
0x1246 27 ebx = eax * -0x3e8
0x124c 28 ebx = ebx + esi
0x124e 29 r10d = edx * -0x64
0x1252 30 r10d = r10d + ebx
0x1255 31 esi = (r8 + r8).d
0x1259 32 r11d = (rsi + (rsi << 2)).d
0x125d 33 r10d = r10d - r11d
0x1260 34 esi = eax * -0x2710
0x1266 35 ebp = edx * -0x3e8
0x126c 36 r15d = r8d * 0x64
0x1270 37 ebx = (r10 + r10).d
0x1274 38 r14d = (rbx + (rbx << 2)).d
0x1278 39 esi = esi + ecx
0x127a 40 esi = esi + ebp
0x127c 41 esi = esi - r15d
0x127f 42 esi = esi - r14d
0x1288 43 if (ecx u> 0x270f) then 44 @ 0x12a2 else 52 @ 0x128c
0x12a2 44 ecx = esi * 0x2710
0x12a8 45 edx = r10d * 0x3e8
0x12af 46 r9d = r9d + eax
0x12b2 47 r9d = r9d + r15d
0x12b5 48 r9d = r9d + edx
0x12b8 49 r9d = r9d + ecx
0x12bb 50 esi = r9d
0x12bb 51 goto 53 @ 0x12be
0x128c 52 if (edx == 0) then 56 @ 0x12d1 else 57 @ 0x128e
0x12be 53 eax = esi
0x12c0 54 eax = neg.d(eax)
0x12c4 55 if (edi s>= 0) then 63 else 65 @ 0x12c7
0x12d1 56 if (r8d == 0) then 70 @ 0x12e1 else 71 @ 0x12d3
0x128e 57 r11d = r11d + edx
0x1291 58 eax = r10d * 0x64
0x1295 59 eax = eax + r11d
0x1298 60 esi = esi * 0x3e8
0x129e 61 esi = esi + eax
0x12a0 62 goto 53 @ 0x12be
0x12c4 63 eax = esi
0x12c4 64 goto 65 @ 0x12c7
0x12c7 65 rbx = pop
0x12c8 66 r14 = pop
0x12ca 67 r15 = pop
0x12cc 68 rbp = pop
0x12cd 69 <return> jump(pop)
0x12e1 70 if (r10d == 0) then 53 @ 0x12be else 75 @ 0x12e3
0x12d3 71 r14d = r14d + r8d
0x12d6 72 esi = esi * 0x64
0x12d9 73 esi = esi + r14d
0x12dc 74 goto 53 @ 0x12be
0x12e3 75 eax = (rsi + (rsi << 2)).d
0x12e6 76 esi = (r10 + (rax << 1)).d
0x12ea 77 goto 53 @ 0x12be
int64_t _fini():
0x12f0 0 rsp = rsp - 8
0x12f4 1 rsp = rsp + 8
0x12f8 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)
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)
0x1171 8 [rbp - 0x10 {var_18}].d = 3
0x1171 9 goto 10 @ 0x1178
0x1178 10 eax = [rbp - 0x10 {var_18}].d
0x117b 11 [rbp - 0x20 {var_28_1}].d = eax
0x117e 12 eax = [rbp - 8 {var_10}].d
0x1181 13 ecx = 2
0x1186 14 temp2.d:temp3.d = sx.q(eax)
0x1186 15 edx = temp2.d
0x1186 16 eax = temp3.d
0x1187 17 temp4.d = edx
0x1187 18 temp5.d = eax
0x1187 19 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x1187 20 temp6.d = edx
0x1187 21 temp7.d = eax
0x1187 22 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x1187 23 eax = temp0.d
0x1187 24 edx = temp1.d
0x1189 25 ecx = eax
0x118b 26 eax = [rbp - 0x20 {var_28_1}].d
0x1190 27 if (eax s> ecx) then 28 @ 0x1271 else 32 @ 0x1196
0x1271 28 eax = [rbp - 4 {var_c}].d
0x1274 29 rsp = rsp + 0x20
0x1278 30 rbp = pop
0x1279 31 <return> jump(pop)
0x1196 32 [rbp - 0x1c {var_24_1}].d = 0
0x119d 33 [rbp - 0xc {var_14_1}].d = 2
0x119d 34 goto 35 @ 0x11a4
0x11a4 35 eax = [rbp - 0xc {var_14_1}].d
0x11aa 36 if (eax s>= [rbp - 0x10 {var_18}].d) then 37 @ 0x11e0 else 38 @ 0x11b0
0x11e0 37 if ([rbp - 0x1c {var_24_1}].d != 0) then 51 @ 0x125e else 52 @ 0x11e6
0x11b0 38 eax = [rbp - 0x10 {var_18}].d
0x11b3 39 temp8.d:temp9.d = sx.q(eax)
0x11b3 40 edx = temp8.d
0x11b3 41 eax = temp9.d
0x11b4 42 temp10.d = edx
0x11b4 43 temp11.d = eax
0x11b4 44 temp0.d = divs.dp.d(temp10.d:temp11.d, [rbp - 0xc {var_14_1}].d)
0x11b4 45 temp12.d = edx
0x11b4 46 temp13.d = eax
0x11b4 47 temp1.d = mods.dp.d(temp12.d:temp13.d, [rbp - 0xc {var_14_1}].d)
0x11b4 48 eax = temp0.d
0x11b4 49 edx = temp1.d
0x11ba 50 if (edx != 0) then 60 @ 0x11c9 else 61 @ 0x11c0
0x125e 51 goto 65 @ 0x1263
0x11e6 52 eax = [rbp - 0x10 {var_18}].d
0x11e9 53 [rbp - 0x14 {var_1c_1}].d = eax
0x11ec 54 eax = [rbp - 8 {var_10}].d
0x11ef 55 eax = eax - [rbp - 0x14 {var_1c_1}].d
0x11f2 56 [rbp - 0x18 {var_20_1}].d = eax
0x11f5 57 [rbp - 0x1c {var_24_2}].d = 0
0x11fc 58 [rbp - 0xc {var_14_2}].d = 2
0x11fc 59 goto 69 @ 0x1203
0x11c9 60 goto 71 @ 0x11ce
0x11c0 61 eax = [rbp - 0x1c {var_24_1}].d
0x11c3 62 eax = eax + 1
0x11c6 63 [rbp - 0x1c {var_24_1}].d = eax
0x11c6 64 goto 60 @ 0x11c9
0x1263 65 eax = [rbp - 0x10 {var_18}].d
0x1266 66 eax = eax + 1
0x1269 67 [rbp - 0x10 {var_18}].d = eax
0x126c 68 goto 10 @ 0x1178
0x1203 69 eax = [rbp - 0xc {var_14_2}].d
0x1209 70 if (eax s>= [rbp - 0x18 {var_20_1}].d) then 75 @ 0x123f else 76 @ 0x120f
0x11ce 71 eax = [rbp - 0xc {var_14_1}].d
0x11d1 72 eax = eax + 1
0x11d4 73 [rbp - 0xc {var_14_1}].d = eax
0x11d7 74 goto 35 @ 0x11a4
0x123f 75 if ([rbp - 0x1c {var_24_2}].d != 0) then 89 @ 0x1259 else 90 @ 0x1245
0x120f 76 eax = [rbp - 0x18 {var_20_1}].d
0x1212 77 temp14.d:temp15.d = sx.q(eax)
0x1212 78 edx = temp14.d
0x1212 79 eax = temp15.d
0x1213 80 temp16.d = edx
0x1213 81 temp17.d = eax
0x1213 82 temp0.d = divs.dp.d(temp16.d:temp17.d, [rbp - 0xc {var_14_2}].d)
0x1213 83 temp18.d = edx
0x1213 84 temp19.d = eax
0x1213 85 temp1.d = mods.dp.d(temp18.d:temp19.d, [rbp - 0xc {var_14_2}].d)
0x1213 86 eax = temp0.d
0x1213 87 edx = temp1.d
0x1219 88 if (edx != 0) then 96 @ 0x1228 else 97 @ 0x121f
0x1259 89 goto 51 @ 0x125e
0x1245 90 esi = [rbp - 0x14 {var_1c_1}].d
0x1248 91 edx = [rbp - 0x18 {var_20_1}].d
0x124b 92 rdi = 0x2007 {"%d %d\n"}
0x1252 93 al = 0
0x1254 94 call(0x1030)
0x1254 95 goto 89 @ 0x1259
0x1228 96 goto 101 @ 0x122d
0x121f 97 eax = [rbp - 0x1c {var_24_2}].d
0x1222 98 eax = eax + 1
0x1225 99 [rbp - 0x1c {var_24_2}].d = eax
0x1225 100 goto 96 @ 0x1228
0x122d 101 eax = [rbp - 0xc {var_14_2}].d
0x1230 102 eax = eax + 1
0x1233 103 [rbp - 0xc {var_14_2}].d = eax
0x1236 104 goto 69 @ 0x1203
int64_t _fini():
0x1280 0 rsp = rsp - 8
0x1284 1 rsp = rsp + 8
0x1288 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 {"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 rbx = rsp + 0x10 {var_fd8}
0x1166 8 r15 = 0x2007 {"%c"}
0x116d 9 r12 = rsp + 0xf {var_fd9}
0x1172 10 r14 = 0x100000000 {""}
0x117c 11 ebp = 0
0x117e 12 r13d = 0
0x118b 13 goto 14 @ 0x1190
0x1190 14 rbp = rbp + r14
0x1193 15 rdi = 0x2004 {"%d"}
0x119a 16 rsi = rbx
0x119d 17 eax = 0
0x119f 18 call(0x1040)
0x11a4 19 rdi = r15
0x11a7 20 rsi = r12 {var_fd9}
0x11aa 21 eax = 0
0x11ac 22 call(0x1040)
0x11b1 23 r13 = r13 - 1
0x11b5 24 rbx = rbx + 4
0x11be 25 if ([rsp + 0xf {var_fd9}].b != 0xa) then 14 @ 0x1190 else 26 @ 0x11c0
0x11c0 26 r8 = r13
0x11c3 27 r8 = neg.q(r8)
0x11ca 28 if (r8d u< 2) then 29 @ 0x121f else 33 @ 0x11cc
0x121f 29 rdx = r13
0x1222 30 rdx = not.q(rdx)
0x1225 31 ecx = 1
0x122e 32 if (r8d u< 2) then 37 @ 0x1258 else 38 @ 0x1230
0x11cc 33 rbp = rbp s>> 0x20
0x11d0 34 ecx = r8d
0x11d3 35 edx = 1
0x11d8 36 goto 42 @ 0x11e0
0x1258 37 if (ecx s< edx) then 44 @ 0x1267 else 50 @ 0x125a
0x1230 38 esi = r13d
0x1233 39 esi = neg.d(esi)
0x1235 40 ecx = 1
0x123a 41 goto 54 @ 0x1240
0x11e0 42 rsi = rbp
0x11ed 43 goto 56 @ 0x11f0
0x1267 44 eax = ecx
0x1269 45 esi = [rsp + (rax << 2) + 0x10].d
0x126d 46 rdi = 0x2004 {"%d"}
0x1274 47 eax = 0
0x1276 48 call(0x1030)
0x127b 49 goto 62 @ 0x128b
0x125a 50 eax = ecx
0x125c 51 eax = neg.d(eax)
0x125e 52 rax = rax - 1
0x1265 53 if (eax != r13d) then 71 @ 0x127d else 44 @ 0x1267
0x1240 54 eax = [rsp + (rcx << 2) + 0xc].d
0x1248 55 if (eax != [rsp + (rcx << 2) + 0x10].d) then 37 @ 0x1258 else 75 @ 0x124a
0x11f0 56 edi = [rsp + (rsi << 2) + 8].d
0x11f4 57 ebx = [rsp + (rsi << 2) + 0xc].d
0x11f8 58 cond:0 = ebx s< edi
0x11f8 59 cond:1 = ebx s> edi
0x11fa 60 eax = ebx
0x11fc 61 if (cond:0) then 77 else 79 @ 0x11ff
0x128b 62 eax = 0
0x128d 63 rsp = rsp + 0xfb8
0x1294 64 rbx = pop
0x1295 65 r12 = pop
0x1297 66 r13 = pop
0x1299 67 r14 = pop
0x129b 68 r15 = pop
0x129d 69 rbp = pop
0x129e 70 <return> jump(pop)
0x127d 71 rdi = 0x200a {"No"}
0x1284 72 eax = 0
0x1286 73 call(0x1030)
0x1286 74 goto 62 @ 0x128b
0x124a 75 rcx = rcx + 1
0x1251 76 if (rsi != rcx) then 54 @ 0x1240 else 80 @ 0x1253
0x11fc 77 eax = edi
0x11fc 78 goto 79 @ 0x11ff
0x11ff 79 if (cond:1) then 82 else 84 @ 0x1202
0x1253 80 ecx = r8d
0x1253 81 goto 37 @ 0x1258
0x11ff 82 ebx = edi
0x11ff 83 goto 84 @ 0x1202
0x1202 84 [rsp + (rsi << 2) + 0xc].d = ebx
0x1206 85 [rsp + (rsi << 2) + 8].d = eax
0x120a 86 rax = rsi - 1
0x120e 87 rsi = rax
0x1214 88 if (rax s> rdx) then 56 @ 0x11f0 else 89 @ 0x1216
0x1216 89 rdx = rdx + 1
0x121d 90 if (rdx != rcx) then 42 @ 0x11e0 else 29 @ 0x121f
uint64_t max(int32_t arg1, int32_t arg2):
0x12a0 0 eax = edi
0x12a4 1 if (edi s< esi) then 2 else 4 @ 0x12a7
0x12a4 2 eax = esi
0x12a4 3 goto 4 @ 0x12a7
0x12a7 4 <return> jump(pop)
uint64_t min(int32_t arg1, int32_t arg2):
0x12b0 0 eax = edi
0x12b4 1 if (edi s> esi) then 2 else 4 @ 0x12b7
0x12b4 2 eax = esi
0x12b4 3 goto 4 @ 0x12b7
0x12b7 4 <return> jump(pop)
int64_t _fini():
0x12bc 0 rsp = rsp - 8
0x12c0 1 rsp = rsp + 8
0x12c4 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)
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 {"UAVSHPL5"}
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 - 0x50
0x1158 4 r14 = 0x2004 {"%d"}
0x115f 5 ebp = 0
0x1161 6 rbx = rsp + 0x10 {var_58}
0x1166 7 rdi = r14
0x1169 8 rsi = rbx {var_58}
0x116c 9 eax = 0
0x116e 10 call(0x1040)
0x1173 11 rsi = rsp + 0xc {var_5c}
0x1178 12 rdi = r14
0x117b 13 eax = 0
0x117d 14 call(0x1040)
0x1182 15 eax = [rsp + 0xc {var_5c}].d
0x1188 16 if (eax == 0) then 17 @ 0x144e else 27 @ 0x118e
0x144e 17 rdi = 0x2004 {"%d"}
0x1455 18 esi = ebp
0x1457 19 eax = 0
0x1459 20 call(0x1030)
0x145e 21 eax = 0
0x1460 22 rsp = rsp + 0x50
0x1464 23 rbx = pop
0x1465 24 r14 = pop
0x1467 25 rbp = pop
0x1468 26 <return> jump(pop)
0x118e 27 [rsp + 0x14 {var_54_1}].d = eax
0x1192 28 rdi = 0x2004 {"%d"}
0x1199 29 rsi = rsp + 0xc {var_5c}
0x119e 30 eax = 0
0x11a0 31 call(0x1040)
0x11a5 32 eax = [rsp + 0xc {var_5c}].d
0x11ab 33 if (eax == 0) then 17 @ 0x144e else 34 @ 0x11b1
0x11b1 34 [rsp + 0x18 {var_50_1}].d = eax
0x11b5 35 rdi = 0x2004 {"%d"}
0x11bc 36 rsi = rsp + 0xc {var_5c}
0x11c1 37 eax = 0
0x11c3 38 call(0x1040)
0x11c8 39 eax = [rsp + 0xc {var_5c}].d
0x11ce 40 if (eax == 0) then 41 @ 0x135e else 43 @ 0x11d4
0x135e 41 eax = 2
0x1363 42 goto 50 @ 0x13b0
0x11d4 43 [rsp + 0x1c {var_4c_1}].d = eax
0x11d8 44 rdi = 0x2004 {"%d"}
0x11df 45 rsi = rsp + 0xc {var_5c}
0x11e4 46 eax = 0
0x11e6 47 call(0x1040)
0x11eb 48 eax = [rsp + 0xc {var_5c}].d
0x11f1 49 if (eax == 0) then 52 @ 0x1365 else 54 @ 0x11f7
0x13b0 50 r8d = (rax - 1).d
0x13b0 51 goto 61 @ 0x13b4
0x1365 52 eax = 3
0x136a 53 goto 50 @ 0x13b0
0x11f7 54 [rsp + 0x20 {var_48_1}].d = eax
0x11fb 55 rdi = 0x2004 {"%d"}
0x1202 56 rsi = rsp + 0xc {var_5c}
0x1207 57 eax = 0
0x1209 58 call(0x1040)
0x120e 59 eax = [rsp + 0xc {var_5c}].d
0x1214 60 if (eax == 0) then 65 @ 0x136c else 67 @ 0x121a
0x13b4 61 esi = eax
0x13b6 62 r9d = 0
0x13b9 63 rax = rsi
0x13bc 64 goto 74 @ 0x13cd
0x136c 65 eax = 4
0x1371 66 goto 50 @ 0x13b0
0x121a 67 [rsp + 0x24 {var_44_1}].d = eax
0x121e 68 rdi = 0x2004 {"%d"}
0x1225 69 rsi = rsp + 0xc {var_5c}
0x122a 70 eax = 0
0x122c 71 call(0x1040)
0x1231 72 eax = [rsp + 0xc {var_5c}].d
0x1237 73 if (eax == 0) then 78 @ 0x1373 else 80 @ 0x123d
0x13cd 74 rdx = r9
0x13d0 75 r9 = r9 + 1
0x13d4 76 edi = 1
0x13d9 77 goto 87 @ 0x13e9
0x1373 78 eax = 5
0x1378 79 goto 50 @ 0x13b0
0x123d 80 [rsp + 0x28 {var_40_1}].d = eax
0x1241 81 rdi = 0x2004 {"%d"}
0x1248 82 rsi = rsp + 0xc {var_5c}
0x124d 83 eax = 0
0x124f 84 call(0x1040)
0x1254 85 eax = [rsp + 0xc {var_5c}].d
0x125a 86 if (eax == 0) then 90 @ 0x137a else 92 @ 0x1260
0x13e9 87 ebp = [rsp + (rdx << 2) + 0x10].d
0x13ed 88 ecx = [rbx + (rdi << 2)].d
0x13f2 89 if (ebp s<= ecx) then 99 @ 0x13e0 else 101 @ 0x13f4
0x137a 90 eax = 6
0x137f 91 goto 50 @ 0x13b0
0x1260 92 [rsp + 0x2c {var_3c_1}].d = eax
0x1264 93 rdi = 0x2004 {"%d"}
0x126b 94 rsi = rsp + 0xc {var_5c}
0x1270 95 eax = 0
0x1272 96 call(0x1040)
0x1277 97 eax = [rsp + 0xc {var_5c}].d
0x127d 98 if (eax == 0) then 104 @ 0x1381 else 106 @ 0x1283
0x13e0 99 rdi = rdi + 1
0x13e7 100 if (rax == rdi) then 113 @ 0x13c0 else 87 @ 0x13e9
0x13f4 101 [rsp + (rdx << 2) + 0x10].d = ecx
0x13f8 102 [rbx + (rdi << 2)].d = ebp
0x13fb 103 goto 99 @ 0x13e0
0x1381 104 eax = 7
0x1386 105 goto 50 @ 0x13b0
0x1283 106 [rsp + 0x30 {var_38_1}].d = eax
0x1287 107 rdi = 0x2004 {"%d"}
0x128e 108 rsi = rsp + 0xc {var_5c}
0x1293 109 eax = 0
0x1295 110 call(0x1040)
0x129a 111 eax = [rsp + 0xc {var_5c}].d
0x12a0 112 if (eax == 0) then 116 @ 0x1388 else 118 @ 0x12a6
0x13c0 113 rbx = rbx + 4
0x13c4 114 rax = rax - 1
0x13cb 115 if (r9 == r8) then 125 @ 0x13fd else 74 @ 0x13cd
0x1388 116 eax = 8
0x138d 117 goto 50 @ 0x13b0
0x12a6 118 [rsp + 0x34 {var_34_1}].d = eax
0x12aa 119 rdi = 0x2004 {"%d"}
0x12b1 120 rsi = rsp + 0xc {var_5c}
0x12b6 121 eax = 0
0x12b8 122 call(0x1040)
0x12bd 123 eax = [rsp + 0xc {var_5c}].d
0x12c3 124 if (eax == 0) then 129 @ 0x138f else 131 @ 0x12c9
0x13fd 125 r9d = 0
0x1400 126 rbx = rsp + 0x10 {var_58}
0x1405 127 ebp = 0
0x1407 128 goto 138 @ 0x141d
0x138f 129 eax = 9
0x1394 130 goto 50 @ 0x13b0
0x12c9 131 [rsp + 0x38 {var_30_1}].d = eax
0x12cd 132 rdi = 0x2004 {"%d"}
0x12d4 133 rsi = rsp + 0xc {var_5c}
0x12d9 134 eax = 0
0x12db 135 call(0x1040)
0x12e0 136 eax = [rsp + 0xc {var_5c}].d
0x12e6 137 if (eax == 0) then 142 @ 0x1396 else 144 @ 0x12ec
0x141d 138 ecx = [rsp + (r9 << 2) + 0x10].d
0x1422 139 r9 = r9 + 1
0x1426 140 edi = 1
0x142b 141 goto 151 @ 0x143f
0x1396 142 eax = 0xa {""}
0x139b 143 goto 50 @ 0x13b0
0x12ec 144 [rsp + 0x3c {var_2c_1}].d = eax
0x12f0 145 rdi = 0x2004 {"%d"}
0x12f7 146 rsi = rsp + 0xc {var_5c}
0x12fc 147 eax = 0
0x12fe 148 call(0x1040)
0x1303 149 eax = [rsp + 0xc {var_5c}].d
0x1309 150 if (eax == 0) then 165 @ 0x139d else 167 @ 0x130f
0x143f 151 eax = [rbx + (rdi << 2)].d
0x1442 152 temp2.d:temp3.d = sx.q(eax)
0x1442 153 edx = temp2.d
0x1442 154 eax = temp3.d
0x1443 155 temp4.d = edx
0x1443 156 temp5.d = eax
0x1443 157 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x1443 158 temp6.d = edx
0x1443 159 temp7.d = eax
0x1443 160 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x1443 161 eax = temp0.d
0x1443 162 edx = temp1.d
0x1445 163 cond:0 = eax s<= 2
0x1448 164 if (eax == 2) then 174 @ 0x1430 else 177 @ 0x144a
0x139d 165 eax = 0xb {""}
0x13a2 166 goto 50 @ 0x13b0
0x130f 167 [rsp + 0x40 {var_28_1}].d = eax
0x1313 168 rdi = 0x2004 {"%d"}
0x131a 169 rsi = rsp + 0xc {var_5c}
0x131f 170 eax = 0
0x1321 171 call(0x1040)
0x1326 172 eax = [rsp + 0xc {var_5c}].d
0x132c 173 if (eax == 0) then 178 @ 0x13a4 else 180 @ 0x132e
0x1430 174 flag:c = edx u< 1
0x1433 175 ebp = adc.d(ebp, 0, flag:c)
0x1433 176 goto 187 @ 0x1436
0x144a 177 if (cond:0) then 187 @ 0x1436 else 189 @ 0x144c
0x13a4 178 eax = 0xc {""}
0x13a9 179 goto 50 @ 0x13b0
0x132e 180 [rsp + 0x44 {var_24_1}].d = eax
0x1332 181 rdi = 0x2004 {"%d"}
0x1339 182 rsi = rsp + 0xc {var_5c}
0x133e 183 eax = 0
0x1340 184 call(0x1040)
0x1345 185 eax = [rsp + 0xc {var_5c}].d
0x134b 186 if (eax == 0) then 190 @ 0x13ab else 192 @ 0x134d
0x1436 187 rdi = rdi + 1
0x143d 188 if (rsi == rdi) then 196 @ 0x1410 else 151 @ 0x143f
0x144c 189 goto 196 @ 0x1410
0x13ab 190 eax = 0xd {""}
0x13ab 191 goto 50 @ 0x13b0
0x134d 192 [rsp + 0x48 {var_20_1}].d = eax
0x1351 193 eax = 0xe {""}
0x1356 194 r8d = 0xd {""}
0x135c 195 goto 61 @ 0x13b4
0x1410 196 rbx = rbx + 4
0x1414 197 rsi = rsi - 1
0x141b 198 if (r9 == r8) then 17 @ 0x144e else 138 @ 0x141d
int64_t _fini():
0x1470 0 rsp = rsp - 8
0x1474 1 rsp = rsp + 8
0x1478 2 <return> jump(pop)
| POJ_12 |
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 {"AWAVAUATSH"}
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(r13)
0x1156 3 push(r12)
0x1158 4 push(rbx)
0x1159 5 rsp = rsp - 0x390
0x1160 6 ebx = 0
0x1162 7 rdi = rsp {var_3b8}
0x1165 8 eax = 0
0x1167 9 call(0x1030)
0x116c 10 [rsp + 0x70 {var_348}].d = 0
0x1174 11 eax = 0
0x1176 12 goto 13 @ 0x1190
0x1190 13 ecx = zx.d([rsp + rbx].b)
0x1197 14 if (cl == 0x20) then 15 @ 0x11b0 else 17 @ 0x119b
0x11b0 15 ecx = zx.d([rsp + rbx + 1].b)
0x11b7 16 if (cl != 0) then 18 @ 0x118c else 20 @ 0x11b9
0x119b 17 if (cl == 0) then 21 @ 0x11bb else 23 @ 0x119d
0x118c 18 rbx = rbx + 1
0x118c 19 goto 13 @ 0x1190
0x11b9 20 goto 25 @ 0x1180
0x11bb 21 dl = [rsp + 1 {var_3b7}].b
0x11c1 22 if (dl == 0) then 29 @ 0x1275 else 32 @ 0x11c7
0x119d 23 ecx = zx.d([rsp + rbx + 1].b)
0x11a5 24 if (cl == 0x20) then 25 @ 0x1180 else 35 @ 0x11a9
0x1180 25 rax = sx.q(eax)
0x1182 26 [rsp + (rax << 2) + 0x200].d = ebx
0x1189 27 eax = eax + 1
0x1189 28 goto 18 @ 0x118c
0x1275 29 rax = sx.q([rsp + 0x70 {var_348}].d)
0x127a 30 r15d = [rsp + 0x200 {var_1b8}].d
0x1285 31 if (eax s> r15d) then 36 @ 0x12b3 else 43 @ 0x1287
0x11c7 32 eax = 1
0x11cc 33 ecx = 2
0x11d1 34 goto 48 @ 0x11f3
0x11a9 35 if (cl != 0) then 18 @ 0x118c else 49 @ 0x11ab
0x12b3 36 rsp = rsp + 0x390
0x12ba 37 rbx = pop
0x12bb 38 r12 = pop
0x12bd 39 r13 = pop
0x12bf 40 r14 = pop
0x12c1 41 r15 = pop
0x12c3 42 <return> jump(pop)
0x1287 43 r14 = rsp + rax
0x128b 44 r15d = r15d - eax
0x128e 45 r15d = r15d + 1
0x1292 46 ebx = 0
0x129e 47 goto 50 @ 0x12a0
0x11f3 48 if ([rsp + rcx - 2].b != 0x20) then 54 @ 0x11e0 else 58 @ 0x11f8
0x11ab 49 goto 25 @ 0x1180
0x12a0 50 edi = sx.d([r14 + rbx].b)
0x12a5 51 call(0x1040)
0x12aa 52 rbx = rbx + 1
0x12b1 53 if (r15d != ebx) then 50 @ 0x12a0 else 36 @ 0x12b3
0x11e0 54 edx = ecx
0x11e2 55 edx = zx.d([rsp + rdx].b)
0x11e6 56 rcx = rcx + 1
0x11ec 57 if (dl == 0) then 59 @ 0x120b else 48 @ 0x11f3
0x11f8 58 if (dl == 0x20) then 54 @ 0x11e0 else 60 @ 0x11fa
0x120b 59 if (eax s< 2) then 29 @ 0x1275 else 65 @ 0x120d
0x11fa 60 rax = sx.q(eax)
0x11fc 61 edx = (rcx - 1).d
0x11ff 62 [rsp + (rax << 2) + 0x70].d = edx
0x1203 63 eax = eax + 1
0x1206 64 goto 54 @ 0x11e0
0x120d 65 r15d = eax
0x1210 66 goto 67 @ 0x1233
0x1233 67 r14 = r15 - 1
0x1237 68 ecx = r14d
0x123a 69 rax = sx.q([rsp + (rcx << 2) + 0x70].d)
0x123f 70 r13d = [rsp + (rcx << 2) + 0x200].d
0x124a 71 if (eax s> r13d) then 72 @ 0x1220 else 77 @ 0x124c
0x1220 72 edi = 0x20 {"@"}
0x1225 73 call(0x1040)
0x122a 74 cond:0 = r15 s<= 2
0x122e 75 r15 = r14
0x1231 76 if (cond:0) then 29 @ 0x1275 else 67 @ 0x1233
0x124c 77 r12 = rsp + rax
0x1250 78 r13d = r13d - eax
0x1253 79 r13d = r13d + 1
0x1257 80 ebx = 0
0x1259 81 goto 82 @ 0x1260
0x1260 82 edi = sx.d([r12 + rbx].b)
0x1265 83 call(0x1040)
0x126a 84 rbx = rbx + 1
0x1271 85 if (r13d != ebx) then 82 @ 0x1260 else 86 @ 0x1273
0x1273 86 goto 72 @ 0x1220
int64_t _fini():
0x12c8 0 rsp = rsp - 8
0x12cc 1 rsp = rsp + 8
0x12d0 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)
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)
char* gets(char* buf):
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 - 0xbf8
0x1181 7 rbx = rsp + 0x40 {var_be8}
0x1186 8 edx = 0xbb8 {""}
0x118b 9 rdi = rbx {var_be8}
0x118e 10 esi = 0
0x1190 11 call(0x1040)
0x1195 12 xmm0 = 0
0x1198 13 [rsp + 0x20 {var_c08}].o = xmm0
0x119d 14 [rsp + 0x10 {var_c18}].o = xmm0
0x11a2 15 [rsp {var_c28}].o = xmm0
0x11a6 16 [rsp + 0x30 {var_bf8}].w = 0
0x11ad 17 rdi = rbx {var_be8}
0x11b0 18 eax = 0
0x11b2 19 call(0x1060)
0x11b7 20 r14 = rsp + 0x41 {var_be7}
0x11bc 21 r15 = rsp {var_c28}
0x11bf 22 r12 = 0x2005 {"%d"}
0x11c6 23 r13 = 0x2004 {",%d"}
0x11cd 24 ebp = 0
0x11cf 25 ebx = 0
0x11d1 26 goto 27 @ 0x1209
0x1209 27 rax = sx.q(ebp)
0x120c 28 cl = [rsp + rax + 0x40].b
0x1213 29 if (cl == 0x20) then 30 @ 0x1206 else 32 @ 0x1217
0x1206 30 ebp = ebp + 1
0x1206 31 goto 27 @ 0x1209
0x1217 32 if (cl == 0) then 33 @ 0x1242 else 41 @ 0x1219
0x1242 33 rsp = rsp + 0xbf8
0x1249 34 rbx = pop
0x124a 35 r12 = pop
0x124c 36 r13 = pop
0x124e 37 r14 = pop
0x1250 38 r15 = pop
0x1252 39 rbp = pop
0x1253 40 <return> jump(pop)
0x1219 41 rax = rax + r14
0x121c 42 edx = 0
0x1221 43 if ((cl & 0xdf) == 0) then 44 @ 0x11e0 else 52 @ 0x122d
0x11e0 44 ebp = ebp + edx
0x11e2 45 eax = edx
0x11e4 46 [rsp + rax].b = 0
0x11e8 47 rdi = r15 {var_c28}
0x11eb 48 call(0x1050)
0x11f0 49 cond:0 = ebx == 0
0x11f2 50 rdi = r13
0x11f5 51 if (cond:0) then 53 else 55 @ 0x11f9
0x122d 52 goto 60 @ 0x1230
0x11f5 53 rdi = r12
0x11f5 54 goto 55 @ 0x11f9
0x11f9 55 rsi = rax
0x11fc 56 eax = 0
0x11fe 57 call(0x1030)
0x1203 58 ebx = ebx + 1
0x1203 59 goto 30 @ 0x1206
0x1230 60 [rsp + rdx].b = cl
0x1233 61 ecx = zx.d([rax + rdx].b)
0x1237 62 rdx = rdx + 1
0x123e 63 if ((cl & 0xdf) != 0) then 60 @ 0x1230 else 64 @ 0x1240
0x1240 64 goto 44 @ 0x11e0
int64_t _fini():
0x1258 0 rsp = rsp - 8
0x125c 1 rsp = rsp + 8
0x1260 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
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 {"UAWAVSH"}
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(rbx)
0x1176 4 rsp = rsp - 0xabf8
0x117d 5 rdi = 0x2004 {"%d"}
0x1184 6 rsi = rsp + 0xc {var_ac0c}
0x1189 7 eax = 0
0x118b 8 call(0x1050)
0x1195 9 if ([rsp + 0xc {var_ac0c}].d s<= 0) then 10 @ 0x11da else 12 @ 0x1197
0x11da 10 eax = [rsp + 0xc {var_ac0c}].d
0x11e1 11 if (eax s< 2) then 16 @ 0x124b else 18 @ 0x11e3
0x1197 12 rbx = rsp + 0x10 {var_ac08}
0x119c 13 r14 = 0x2007 {"%s"}
0x11a3 14 ebp = 0
0x11af 15 goto 23 @ 0x11b0
0x124b 16 eax = eax - 1
0x124b 17 goto 34 @ 0x124e
0x11e3 18 rbx = rsp + 0x10 {var_ac08}
0x11e8 19 r14 = 0x2007 {"%s"}
0x11ef 20 r15d = 0
0x11f2 21 ebp = 0
0x11f4 22 goto 48 @ 0x121f
0x11b0 23 rdi = r14
0x11b3 24 rsi = rbx
0x11b6 25 eax = 0
0x11b8 26 call(0x1050)
0x11bd 27 rdi = rbx
0x11c0 28 call(0x1040)
0x11c5 29 [rbx + 0x28].d = eax
0x11c8 30 rbp = rbp + 1
0x11cc 31 rax = sx.q([rsp + 0xc {var_ac0c}].d)
0x11d1 32 rbx = rbx + 0x2c
0x11d8 33 if (rbp s< rax) then 23 @ 0x11b0 else 10 @ 0x11da
0x124e 34 rax = sx.q(eax)
0x1250 35 rax = rax * 0x2c
0x1254 36 rsi = rsp + rax
0x1258 37 rsi = rsi + 0x10
0x125c 38 rdi = 0x2007 {"%s"}
0x1263 39 eax = 0
0x1265 40 call(0x1030)
0x126a 41 eax = 0
0x126c 42 rsp = rsp + 0xabf8
0x1273 43 rbx = pop
0x1274 44 r14 = pop
0x1276 45 r15 = pop
0x1278 46 rbp = pop
0x1279 47 <return> jump(pop)
0x121f 48 ebp = ebp + [rbx + 0x28].d
0x1222 49 rdi = r14
0x1225 50 rsi = rbx
0x1228 51 eax = 0
0x122a 52 call(0x1030)
0x122f 53 r15 = r15 + 1
0x1233 54 eax = [rbx + 0x54].d
0x1236 55 eax = eax + ebp
0x123b 56 if (eax s< 0x50) then 57 @ 0x1200 else 61 @ 0x123d
0x1200 57 edi = 0x20 {"@"}
0x1205 58 call(0x1060)
0x120a 59 ebp = ebp + 1
0x120a 60 goto 65 @ 0x120d
0x123d 61 edi = 0xa {""}
0x1242 62 call(0x1060)
0x1247 63 ebp = 0
0x1249 64 goto 65 @ 0x120d
0x120d 65 rax = sx.q([rsp + 0xc {var_ac0c}].d)
0x1212 66 rax = rax - 1
0x1216 67 rbx = rbx + 0x2c
0x121d 68 if (r15 s>= rax) then 34 @ 0x124e else 48 @ 0x121f
int64_t _fini():
0x1280 0 rsp = rsp - 8
0x1284 1 rsp = rsp + 8
0x1288 2 <return> jump(pop)
| POJ_98 |
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 {"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 - 0x14 {var_1c}].d = 0
0x1179 5 rdi = rbp - 0x60 {var_68}
0x117d 6 rsi = 0x2030 {""}
0x1184 7 edx = 0x34 {"@"}
0x1189 8 call(0x1040)
0x118e 9 rdi = 0x2064 {"%d%d%d"}
0x1195 10 rsi = rbp - 8 {var_10}
0x1199 11 rdx = rbp - 0xc {var_14}
0x119d 12 rcx = rbp - 0x10 {var_18}
0x11a1 13 al = 0
0x11a3 14 call(0x1050)
0x11a8 15 eax = [rbp - 8 {var_10}].d
0x11ab 16 ecx = 0x64 {""}
0x11b0 17 temp2.d:temp3.d = sx.q(eax)
0x11b0 18 edx = temp2.d
0x11b0 19 eax = temp3.d
0x11b1 20 temp4.d = edx
0x11b1 21 temp5.d = eax
0x11b1 22 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x11b1 23 temp6.d = edx
0x11b1 24 temp7.d = eax
0x11b1 25 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x11b1 26 eax = temp0.d
0x11b1 27 edx = temp1.d
0x11b6 28 if (edx != 0) then 29 @ 0x11d0 else 43 @ 0x11bc
0x11d0 29 eax = [rbp - 8 {var_10}].d
0x11d3 30 ecx = 0x64 {""}
0x11d8 31 temp8.d:temp9.d = sx.q(eax)
0x11d8 32 edx = temp8.d
0x11d8 33 eax = temp9.d
0x11d9 34 temp10.d = edx
0x11d9 35 temp11.d = eax
0x11d9 36 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx)
0x11d9 37 temp12.d = edx
0x11d9 38 temp13.d = eax
0x11d9 39 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx)
0x11d9 40 eax = temp0.d
0x11d9 41 edx = temp1.d
0x11de 42 if (edx == 0) then 57 @ 0x1204 else 59 @ 0x11e4
0x11bc 43 eax = [rbp - 8 {var_10}].d
0x11bf 44 ecx = 0x190 {""}
0x11c4 45 temp14.d:temp15.d = sx.q(eax)
0x11c4 46 edx = temp14.d
0x11c4 47 eax = temp15.d
0x11c5 48 temp16.d = edx
0x11c5 49 temp17.d = eax
0x11c5 50 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx)
0x11c5 51 temp18.d = edx
0x11c5 52 temp19.d = eax
0x11c5 53 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx)
0x11c5 54 eax = temp0.d
0x11c5 55 edx = temp1.d
0x11ca 56 if (edx == 0) then 73 @ 0x11f8 else 29 @ 0x11d0
0x1204 57 [rbp - 0x58 {var_60_1}].d = 0x1c {""}
0x1204 58 goto 75 @ 0x120b
0x11e4 59 eax = [rbp - 8 {var_10}].d
0x11e7 60 ecx = 4
0x11ec 61 temp20.d:temp21.d = sx.q(eax)
0x11ec 62 edx = temp20.d
0x11ec 63 eax = temp21.d
0x11ed 64 temp22.d = edx
0x11ed 65 temp23.d = eax
0x11ed 66 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx)
0x11ed 67 temp24.d = edx
0x11ed 68 temp25.d = eax
0x11ed 69 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx)
0x11ed 70 eax = temp0.d
0x11ed 71 edx = temp1.d
0x11f2 72 if (edx != 0) then 57 @ 0x1204 else 73 @ 0x11f8
0x11f8 73 [rbp - 0x58 {var_60}].d = 0x1d {""}
0x11ff 74 goto 75 @ 0x120b
0x120b 75 eax = [rbp - 8 {var_10}].d
0x120e 76 eax = eax - 1
0x1211 77 ecx = 0x190 {""}
0x1216 78 temp26.d:temp27.d = sx.q(eax)
0x1216 79 edx = temp26.d
0x1216 80 eax = temp27.d
0x1217 81 temp28.d = edx
0x1217 82 temp29.d = eax
0x1217 83 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx)
0x1217 84 temp30.d = edx
0x1217 85 temp31.d = eax
0x1217 86 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx)
0x1217 87 eax = temp0.d
0x1217 88 edx = temp1.d
0x1219 89 edx = edx + 1
0x121c 90 [rbp - 8 {var_10}].d = edx
0x121f 91 eax = [rbp - 8 {var_10}].d
0x1222 92 eax = eax - 1
0x1225 93 ecx = 4
0x122a 94 temp32.d:temp33.d = sx.q(eax)
0x122a 95 edx = temp32.d
0x122a 96 eax = temp33.d
0x122b 97 temp34.d = edx
0x122b 98 temp35.d = eax
0x122b 99 temp0.d = divs.dp.d(temp34.d:temp35.d, ecx)
0x122b 100 temp36.d = edx
0x122b 101 temp37.d = eax
0x122b 102 temp1.d = mods.dp.d(temp36.d:temp37.d, ecx)
0x122b 103 eax = temp0.d
0x122b 104 edx = temp1.d
0x122d 105 [rbp - 0x74 {var_7c}].d = eax
0x1230 106 eax = [rbp - 8 {var_10}].d
0x1233 107 eax = eax - 1
0x1236 108 ecx = 0x64 {""}
0x123b 109 temp38.d:temp39.d = sx.q(eax)
0x123b 110 edx = temp38.d
0x123b 111 eax = temp39.d
0x123c 112 temp40.d = edx
0x123c 113 temp41.d = eax
0x123c 114 temp0.d = divs.dp.d(temp40.d:temp41.d, ecx)
0x123c 115 temp42.d = edx
0x123c 116 temp43.d = eax
0x123c 117 temp1.d = mods.dp.d(temp42.d:temp43.d, ecx)
0x123c 118 eax = temp0.d
0x123c 119 edx = temp1.d
0x123e 120 ecx = eax
0x1240 121 eax = [rbp - 0x74 {var_7c}].d
0x1243 122 eax = eax - ecx
0x1245 123 [rbp - 0x70 {var_78}].d = eax
0x1248 124 eax = [rbp - 8 {var_10}].d
0x124b 125 eax = eax - 1
0x124e 126 ecx = 0x190 {""}
0x1253 127 temp44.d:temp45.d = sx.q(eax)
0x1253 128 edx = temp44.d
0x1253 129 eax = temp45.d
0x1254 130 temp46.d = edx
0x1254 131 temp47.d = eax
0x1254 132 temp0.d = divs.dp.d(temp46.d:temp47.d, ecx)
0x1254 133 temp48.d = edx
0x1254 134 temp49.d = eax
0x1254 135 temp1.d = mods.dp.d(temp48.d:temp49.d, ecx)
0x1254 136 eax = temp0.d
0x1254 137 edx = temp1.d
0x1256 138 ecx = eax
0x1258 139 eax = [rbp - 0x70 {var_78}].d
0x125b 140 eax = eax + ecx
0x125d 141 eax = eax << 1
0x1260 142 [rbp - 0x64 {var_6c}].d = eax
0x1263 143 ecx = [rbp - 8 {var_10}].d
0x1266 144 ecx = ecx - 1
0x1269 145 eax = [rbp - 8 {var_10}].d
0x126c 146 eax = eax - 1
0x126f 147 esi = 4
0x1274 148 temp50.d:temp51.d = sx.q(eax)
0x1274 149 edx = temp50.d
0x1274 150 eax = temp51.d
0x1275 151 temp52.d = edx
0x1275 152 temp53.d = eax
0x1275 153 temp0.d = divs.dp.d(temp52.d:temp53.d, esi)
0x1275 154 temp54.d = edx
0x1275 155 temp55.d = eax
0x1275 156 temp1.d = mods.dp.d(temp54.d:temp55.d, esi)
0x1275 157 eax = temp0.d
0x1275 158 edx = temp1.d
0x1277 159 [rbp - 0x6c {var_74}].d = eax
0x127a 160 eax = [rbp - 8 {var_10}].d
0x127d 161 eax = eax - 1
0x1280 162 esi = 0x64 {""}
0x1285 163 temp56.d:temp57.d = sx.q(eax)
0x1285 164 edx = temp56.d
0x1285 165 eax = temp57.d
0x1286 166 temp58.d = edx
0x1286 167 temp59.d = eax
0x1286 168 temp0.d = divs.dp.d(temp58.d:temp59.d, esi)
0x1286 169 temp60.d = edx
0x1286 170 temp61.d = eax
0x1286 171 temp1.d = mods.dp.d(temp60.d:temp61.d, esi)
0x1286 172 eax = temp0.d
0x1286 173 edx = temp1.d
0x1288 174 edx = eax
0x128a 175 eax = [rbp - 0x6c {var_74}].d
0x128d 176 eax = eax - edx
0x128f 177 [rbp - 0x68 {var_70}].d = eax
0x1292 178 eax = [rbp - 8 {var_10}].d
0x1295 179 eax = eax - 1
0x1298 180 esi = 0x190 {""}
0x129d 181 temp62.d:temp63.d = sx.q(eax)
0x129d 182 edx = temp62.d
0x129d 183 eax = temp63.d
0x129e 184 temp64.d = edx
0x129e 185 temp65.d = eax
0x129e 186 temp0.d = divs.dp.d(temp64.d:temp65.d, esi)
0x129e 187 temp66.d = edx
0x129e 188 temp67.d = eax
0x129e 189 temp1.d = mods.dp.d(temp66.d:temp67.d, esi)
0x129e 190 eax = temp0.d
0x129e 191 edx = temp1.d
0x12a0 192 edx = [rbp - 0x68 {var_70}].d
0x12a3 193 esi = eax
0x12a5 194 eax = [rbp - 0x64 {var_6c}].d
0x12a8 195 edx = edx + esi
0x12aa 196 ecx = ecx - edx
0x12ac 197 eax = eax + ecx
0x12ae 198 [rbp - 0x14 {var_1c_1}].d = eax
0x12b1 199 [rbp - 0x1c {var_24}].d = 1
0x12b1 200 goto 201 @ 0x12b8
0x12b8 201 eax = [rbp - 0x1c {var_24}].d
0x12be 202 if (eax s>= [rbp - 0xc {var_14}].d) then 203 @ 0x12e0 else 232 @ 0x12c4
0x12e0 203 ecx = [rbp - 0x10 {var_18}].d
0x12e3 204 eax = [rbp - 0x14 {var_1c_1}].d
0x12e6 205 eax = eax + ecx
0x12e8 206 [rbp - 0x14 {var_1c_2}].d = eax
0x12eb 207 edx = [rbp - 0x14 {var_1c_2}].d
0x12ee 208 ecx = edx
0x12f0 209 ecx = ecx - 1
0x12f3 210 eax = edx
0x12f5 211 rcx = sx.q(ecx)
0x12f8 212 rcx = rcx * -0x6db6db6d
0x12ff 213 rcx = rcx u>> 0x20
0x1303 214 edx = ecx
0x1305 215 ecx = edx
0x1307 216 edx = (rcx + rax - 1).d
0x130b 217 ecx = edx
0x130d 218 ecx = ecx u>> 0x1f
0x1310 219 edx = edx s>> 2
0x1313 220 edx = edx + ecx
0x1315 221 ecx = edx
0x1317 222 ecx = ecx << 3
0x131a 223 edx = edx - ecx
0x131c 224 ecx = edx
0x131e 225 eax = (rax + rcx - 1).d
0x1322 226 [rbp - 0x18 {var_20}].d = eax
0x1325 227 eax = [rbp - 0x18 {var_20}].d
0x1328 228 [rbp - 0x80 {var_88}].q = rax
0x132c 229 temp68.q = rax
0x132c 230 rax = rax - 6
0x1330 231 if (temp68.q u> 6) then 240 @ 0x13ca else 244 @ 0x1336
0x12c4 232 rax = sx.q([rbp - 0x1c {var_24}].d)
0x12c8 233 eax = [rbp + (rax << 2) - 0x60].d
0x12cc 234 eax = eax + [rbp - 0x14 {var_1c_1}].d
0x12cf 235 [rbp - 0x14 {var_1c_1}].d = eax
0x12d2 236 eax = [rbp - 0x1c {var_24}].d
0x12d5 237 eax = eax + 1
0x12d8 238 [rbp - 0x1c {var_24}].d = eax
0x12db 239 goto 201 @ 0x12b8
0x13ca 240 eax = 0
0x13cc 241 rsp = rsp + 0x80
0x13d3 242 rbp = pop
0x13d4 243 <return> jump(pop)
0x1336 244 rax = [rbp - 0x80 {var_88}].q
0x133a 245 rcx = 0x2010 {":M`s"}
0x1341 246 rax = sx.q([rcx + (rax << 2)].d)
0x1345 247 rax = rax + rcx
0x1348 248 jump(rax => 249 @ 0x134a, 253 @ 0x135d, 257 @ 0x1370, 261 @ 0x1383, 265 @ 0x1396, 269 @ 0x13a9, 273 @ 0x13bc)
0x134a 249 rdi = 0x206b {"Mon."}
0x1351 250 al = 0
0x1353 251 call(0x1030)
0x1358 252 goto 240 @ 0x13ca
0x135d 253 rdi = 0x2070 {"Tue."}
0x1364 254 al = 0
0x1366 255 call(0x1030)
0x136b 256 goto 240 @ 0x13ca
0x1370 257 rdi = 0x2075 {"Wed."}
0x1377 258 al = 0
0x1379 259 call(0x1030)
0x137e 260 goto 240 @ 0x13ca
0x1383 261 rdi = 0x207a {"Thu."}
0x138a 262 al = 0
0x138c 263 call(0x1030)
0x1391 264 goto 240 @ 0x13ca
0x1396 265 rdi = 0x207f {"Fri."}
0x139d 266 al = 0
0x139f 267 call(0x1030)
0x13a4 268 goto 240 @ 0x13ca
0x13a9 269 rdi = 0x2084 {"Sat."}
0x13b0 270 al = 0
0x13b2 271 call(0x1030)
0x13b7 272 goto 240 @ 0x13ca
0x13bc 273 rdi = 0x2089 {"Sun."}
0x13c3 274 al = 0
0x13c5 275 call(0x1030)
0x13c5 276 goto 240 @ 0x13ca
int64_t _fini():
0x13dc 0 rsp = rsp - 8
0x13e0 1 rsp = rsp + 8
0x13e4 2 <return> jump(pop)
| POJ_66 |
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)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
char* gets(char* buf):
0x1060 0 <return> tailcall([0x4030].q)
int32_t puts(char const* str):
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 {"AVSH("}
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(r14)
0x1182 1 push(rbx)
0x1183 2 rsp = rsp - 0x728
0x118a 3 r14 = rsp + 0xe0 {var_658}
0x1192 4 edx = 0x640 {"DL2-2.0.so.0"}
0x1197 5 rdi = r14 {var_658}
0x119a 6 esi = 0
0x119c 7 call(0x1030)
0x11a1 8 [rsp + 0xe0 {var_658}].w = 0x3030 {""}
0x11ab 9 [rsp + 0xe2 {var_656}].b = 0x30 {""}
0x11b3 10 rdi = 0x2004 {"%d"}
0x11ba 11 rsi = rsp + 0xc {var_72c}
0x11bf 12 eax = 0
0x11c1 13 call(0x1050)
0x11cb 14 if ([rsp + 0xc {var_72c}].d s< 0) then 15 @ 0x12aa else 20 @ 0x11d1
0x12aa 15 eax = 0
0x12ac 16 rsp = rsp + 0x728
0x12b3 17 rbx = pop
0x12b4 18 r14 = pop
0x12b6 19 <return> jump(pop)
0x11d1 20 rbx = -1
0x11d8 21 goto 22 @ 0x11e0
0x11e0 22 rdi = r14
0x11e3 23 eax = 0
0x11e5 24 call(0x1060)
0x11ea 25 rdi = r14
0x11ed 26 call(0x1040)
0x11f2 27 [rsp + (rbx << 2) + 0x14].d = eax
0x11f6 28 rax = sx.q([rsp + 0xc {var_72c}].d)
0x11fb 29 rbx = rbx + 1
0x11ff 30 r14 = r14 + 0x20
0x1206 31 if (rbx s< rax) then 22 @ 0x11e0 else 32 @ 0x1208
0x1208 32 eax = eax
0x120c 33 if (eax s< 0) then 15 @ 0x12aa else 34 @ 0x1212
0x1212 34 rcx = rax + 1
0x1216 35 rdx = rsp + 0xe0 {var_658}
0x121e 36 esi = 0
0x1220 37 goto 38 @ 0x124c
0x124c 38 rdi = sx.q([rsp + (rsi << 2) + 0x10].d)
0x1251 39 ebx = zx.d([rdi + rdx - 1].b)
0x1259 40 if (bl == 0x67) then 41 @ 0x1270 else 43 @ 0x125e
0x1270 41 ebx = 0xfffffffd {""}
0x1275 42 goto 44 @ 0x1235
0x125e 43 if (bl == 0x79) then 48 @ 0x1230 else 50 @ 0x1263
0x1235 44 rbx = sx.q(ebx)
0x1238 45 rdi = rdi + rbx
0x123b 46 [rdx + rdi].b = 0
0x123b 47 goto 51 @ 0x123f
0x1230 48 ebx = 0xfffffffe {""}
0x1230 49 goto 44 @ 0x1235
0x1263 50 if (bl == 0x72) then 48 @ 0x1230 else 54 @ 0x1265
0x123f 51 rsi = rsi + 1
0x1243 52 rdx = rdx + 0x20
0x124a 53 if (rcx == rsi) then 55 @ 0x1279 else 38 @ 0x124c
0x1265 54 goto 51 @ 0x123f
0x1279 55 if (eax s< 0) then 15 @ 0x12aa else 56 @ 0x127b
0x127b 56 r14 = -1
0x1282 57 rbx = rsp + 0xe0 {var_658}
0x128a 58 goto 59 @ 0x1290
0x1290 59 rdi = rbx
0x1293 60 call(0x1070)
0x1298 61 rax = sx.q([rsp + 0xc {var_72c}].d)
0x129d 62 r14 = r14 + 1
0x12a1 63 rbx = rbx + 0x20
0x12a8 64 if (r14 s< rax) then 59 @ 0x1290 else 15 @ 0x12aa
int64_t _fini():
0x12bc 0 rsp = rsp - 8
0x12c0 1 rsp = rsp + 8
0x12c4 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 getchar():
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)
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 {"AWAVAUATSH."}
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(r15)
0x1182 1 push(r14)
0x1184 2 push(r13)
0x1186 3 push(r12)
0x1188 4 push(rbx)
0x1189 5 [0x4060].q = -1
0x1194 6 rbx = 0x4070 {""}
0x119b 7 r14 = 0x2018 {"%s"}
0x11ac 8 goto 9 @ 0x11b0
0x11b0 9 rax = [0x4060].q
0x11b7 10 rax = rax + 1
0x11bb 11 [0x4060].q = rax
0x11c2 12 rsi = rax * 0x65
0x11c6 13 rsi = rsi + rbx
0x11c9 14 rdi = r14
0x11cc 15 eax = 0
0x11ce 16 call(0x1050)
0x11d3 17 eax = 0
0x11d5 18 call(0x1040)
0x11dd 19 if (eax != 0xa) then 9 @ 0x11b0 else 20 @ 0x11df
0x11df 20 r14 = 0x2018 {"%s"}
0x11e6 21 rsi = 0x6850 {""}
0x11ed 22 rdi = r14
0x11f0 23 eax = 0
0x11f2 24 call(0x1050)
0x11f7 25 rsi = 0x68c0 {""}
0x11fe 26 rdi = r14
0x1201 27 eax = 0
0x1203 28 call(0x1050)
0x1210 29 if ([0x4060].q s< 0) then 30 @ 0x127f else 37 @ 0x1212
0x127f 30 eax = 0
0x1281 31 rbx = pop
0x1282 32 r12 = pop
0x1284 33 r13 = pop
0x1286 34 r14 = pop
0x1288 35 r15 = pop
0x128a 36 <return> jump(pop)
0x1212 37 r13 = -1
0x1219 38 r14 = 0x6850 {""}
0x1220 39 r15 = 0x2018 {"%s"}
0x1227 40 r12 = 0x68c0 {""}
0x122e 41 goto 42 @ 0x1242
0x1242 42 r13 = r13 + 1
0x1246 43 rdi = r14
0x1249 44 rsi = rbx
0x124c 45 call(0x1060)
0x1251 46 rdi = r15
0x1256 47 if (eax == 0) then 48 @ 0x1260 else 50 @ 0x1258
0x1260 48 rsi = r12
0x1260 49 goto 52 @ 0x1263
0x1258 50 rsi = rbx
0x125b 51 goto 52 @ 0x1263
0x1263 52 eax = 0
0x1265 53 call(0x1030)
0x126a 54 edi = 0xa {""}
0x1276 55 if (r13 == [0x4060].q) then 56 @ 0x1230 else 59 @ 0x1278
0x1230 56 call(0x1070)
0x1235 57 rbx = rbx + 0x65
0x1240 58 if (r13 s>= [0x4060].q) then 30 @ 0x127f else 42 @ 0x1242
0x1278 59 edi = 0x20 {"@"}
0x127d 60 goto 56 @ 0x1230
int64_t _fini():
0x1290 0 rsp = rsp - 8
0x1294 1 rsp = rsp + 8
0x1298 2 <return> jump(pop)
| POJ_19 |
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 getchar():
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)
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 - 0x13ee8
0x1181 7 rdi = 0x2004 {"%d\n"}
0x1188 8 rsi = rsp + 0xc {var_13f0c}
0x118d 9 eax = 0
0x118f 10 call(0x1050)
0x1194 11 rdi = rsp + 0x10 {var_13f08}
0x1199 12 edx = 0x9f64 {""}
0x119e 13 esi = 0
0x11a0 14 call(0x1040)
0x11a5 15 rdi = rsp + 0x9f80 {var_9f98}
0x11ad 16 edx = 0x9f64 {""}
0x11b2 17 esi = 0
0x11b4 18 call(0x1040)
0x11be 19 if ([rsp + 0xc {var_13f0c}].d s<= 0) then 20 @ 0x1411 else 28 @ 0x11c4
0x1411 20 rsp = rsp + 0x13ee8
0x1418 21 rbx = pop
0x1419 22 r12 = pop
0x141b 23 r13 = pop
0x141d 24 r14 = pop
0x141f 25 r15 = pop
0x1421 26 rbp = pop
0x1422 27 <return> jump(pop)
0x11c4 28 r14 = rsp + 0x1a8 {var_13d70}
0x11cc 29 r12 = rsp + 0xa118 {var_9e00}
0x11d4 30 r15d = 1
0x11da 31 goto 32 @ 0x1206
0x1206 32 eax = 0
0x1208 33 call(0x1030)
0x120d 34 eax = eax << 0x18
0x1210 35 rbx = r14
0x1218 36 if (eax == 0xa000000) then 37 @ 0x123a else 42 @ 0x121a
0x123a 37 eax = 0
0x123c 38 call(0x1030)
0x1241 39 eax = eax << 0x18
0x1244 40 rbx = r12
0x124c 41 if (eax == 0xa000000) then 43 @ 0x11e0 else 52 @ 0x124e
0x121a 42 goto 53 @ 0x1220
0x11e0 43 eax = 0
0x11e2 44 call(0x1030)
0x11e7 45 rcx = r15 + 1
0x11eb 46 rax = sx.q([rsp + 0xc {var_13f0c}].d)
0x11f0 47 r14 = r14 + 0x194
0x11f7 48 r12 = r12 + 0x194
0x11fe 49 cond:0 = r15 s>= rax
0x1201 50 r15 = rcx
0x1204 51 if (cond:0) then 60 @ 0x126f else 32 @ 0x1206
0x124e 52 goto 62 @ 0x1250
0x1220 53 eax = eax s>> 0x18
0x1223 54 [rbx].d = eax
0x1225 55 eax = 0
0x1227 56 call(0x1030)
0x122c 57 eax = eax << 0x18
0x122f 58 rbx = rbx + 4
0x1238 59 if (eax != 0xa000000) then 53 @ 0x1220 else 37 @ 0x123a
0x126f 60 r8d = eax
0x1275 61 if (r8d s<= 0) then 20 @ 0x1411 else 69 @ 0x127b
0x1250 62 eax = eax s>> 0x18
0x1253 63 [rbx].d = eax
0x1255 64 eax = 0
0x1257 65 call(0x1030)
0x125c 66 eax = eax << 0x18
0x125f 67 rbx = rbx + 4
0x1268 68 if (eax != 0xa000000) then 62 @ 0x1250 else 78 @ 0x126a
0x127b 69 rcx = 0x100000000 {""}
0x1285 70 r9 = r8 + 1
0x1289 71 rsi = rsp + 0x1a8 {var_13d70}
0x1291 72 r15 = rsp + 0xa118 {var_9e00}
0x1299 73 r10 = rsp + 0x1a0 {var_13d78}
0x12a1 74 r14 = rsp + 0xa110 {var_9e08}
0x12a9 75 r12d = 1
0x12af 76 r11d = 0
0x12b2 77 goto 79 @ 0x12e9
0x126a 78 goto 43 @ 0x11e0
0x12e9 79 edi = 0xffffffff {""}
0x12ee 80 edx = 0
0x12f0 81 eax = 0
0x12fc 82 goto 83 @ 0x1300
0x1300 83 ebx = edi
0x1302 84 rax = rax + rcx
0x1305 85 cond:1 = [rsi + (rdx << 2)].d != 0
0x1309 86 rdx = rdx + 1
0x130d 87 edi = (rbx + 1).d
0x1310 88 if (cond:1) then 83 @ 0x1300 else 89 @ 0x1312
0x1312 89 edi = 0
0x1314 90 rbp = r15
0x1317 91 eax = 0
0x1319 92 goto 93 @ 0x1320
0x1320 93 rax = rax + rcx
0x1323 94 edi = edi + 1
0x1326 95 cond:2 = [rbp].d != 0
0x132a 96 rbp = rbp + 4
0x132e 97 if (cond:2) then 93 @ 0x1320 else 98 @ 0x1333
0x1333 98 if (edx u< 2) then 99 @ 0x12c0 else 105 @ 0x1337
0x12c0 99 r12 = r12 + 1
0x12c4 100 rsi = rsi + 0x194
0x12cb 101 r15 = r15 + 0x194
0x12d2 102 r10 = r10 + 0x194
0x12d9 103 r14 = r14 + 0x194
0x12e3 104 if (r12 == r9) then 106 @ 0x1388 else 79 @ 0x12e9
0x1337 105 if (ebx s<= 0) then 107 else 109 @ 0x133b
0x1388 106 if (r8d s<= 0) then 20 @ 0x1411 else 116 @ 0x138e
0x1337 107 ebx = r11d
0x1337 108 goto 109 @ 0x133b
0x133b 109 rbx = not.q(rbx)
0x133e 110 rax = sx.q(edx)
0x1341 111 rdx = r10 + (rax << 2)
0x1345 112 rax = sx.q(edi)
0x1348 113 r13 = r14 + (rax << 2)
0x134c 114 eax = 0
0x134e 115 goto 119 @ 0x1363
0x138e 116 r15 = rsp + 0x1a8 {var_13d70}
0x1396 117 r14d = 1
0x139c 118 goto 122 @ 0x13c2
0x1363 119 edi = [r13 + (rax << 2)].d
0x1368 120 ebp = (rdi - 0x30).d
0x136e 121 if (ebp u> 9) then 99 @ 0x12c0 else 125 @ 0x1374
0x13c2 122 ecx = 1
0x13c7 123 edx = 0
0x13c9 124 goto 129 @ 0x13d0
0x1374 125 ebp = [rdx + (rax << 2)].d
0x1377 126 temp0.d = ebp
0x1377 127 ebp = ebp - edi
0x1379 128 if (temp0.d - edi s>= 0) then 134 @ 0x1350 else 138 @ 0x137b
0x13d0 129 eax = ecx
0x13d2 130 cond:3 = [r15 + (rdx << 2)].d == 0x30
0x13d7 131 rdx = rdx + 1
0x13db 132 ecx = (rax + 1).d
0x13de 133 if (cond:3) then 129 @ 0x13d0 else 141 @ 0x13e0
0x1350 134 ebp = ebp + 0x30
0x1353 135 [rdx + (rax << 2)].d = ebp
0x1356 136 rax = rax - 1
0x135d 137 if (rbx == rax) then 99 @ 0x12c0 else 119 @ 0x1363
0x137b 138 ebp = ebp + 0xa
0x137e 139 [rdx + (rax << 2) - 4].d = [rdx + (rax << 2) - 4].d - 1
0x1383 140 goto 134 @ 0x1350
0x13e0 141 ecx = edx
0x13e2 142 rdx = r14 * 0x194
0x13e9 143 rdx = rdx + rsp
0x13ec 144 rdx = rdx + 0x10
0x13f0 145 edi = [rdx + (rcx << 2)].d
0x13f5 146 if (edi == 0) then 147 @ 0x13a0 else 155 @ 0x13f7
0x13a0 147 edi = 0xa {""}
0x13a5 148 call(0x1060)
0x13aa 149 rax = r14 + 1
0x13ae 150 rcx = sx.q([rsp + 0xc {var_13f0c}].d)
0x13b3 151 r15 = r15 + 0x194
0x13ba 152 cond:4 = r14 s>= rcx
0x13bd 153 r14 = rax
0x13c0 154 if (cond:4) then 20 @ 0x1411 else 122 @ 0x13c2
0x13f7 155 eax = eax
0x13f9 156 rbx = r15 + (rax << 2)
0x13fd 157 goto 158 @ 0x1400
0x1400 158 call(0x1060)
0x1405 159 edi = [rbx].d
0x1407 160 rbx = rbx + 4
0x140d 161 if (edi != 0) then 158 @ 0x1400 else 162 @ 0x140f
0x140f 162 goto 147 @ 0x13a0
int64_t _fini():
0x1428 0 rsp = rsp - 8
0x142c 1 rsp = rsp + 8
0x1430 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)
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 - 0x1a8
0x1161 7 rdi = 0x2004 {"%d"}
0x1168 8 rsi = rsp + 0xc {var_1cc}
0x116d 9 eax = 0
0x116f 10 call(0x1040)
0x1179 11 if ([rsp + 0xc {var_1cc}].d s<= 0) then 12 @ 0x1259 else 21 @ 0x117f
0x1259 12 eax = 0
0x125b 13 rsp = rsp + 0x1a8
0x1262 14 rbx = pop
0x1263 15 r12 = pop
0x1265 16 r13 = pop
0x1267 17 r14 = pop
0x1269 18 r15 = pop
0x126b 19 rbp = pop
0x126c 20 <return> jump(pop)
0x117f 21 r12 = 0x2004 {"%d"}
0x1186 22 r15 = 0x2007 {"%d\n"}
0x118d 23 ebp = 0
0x118f 24 goto 25 @ 0x11bf
0x11bf 25 rdi = r12
0x11c2 26 rsi = rsp + 8 {var_1d0}
0x11c7 27 eax = 0
0x11c9 28 call(0x1040)
0x11ce 29 temp0.d = [rsp + 8 {var_1d0}].d
0x11ce 30 cond:0 = temp0.d == 0
0x11ce 31 cond:1 = temp0.d s<= 0
0x11d3 32 eax = 0x3c {""}
0x11d8 33 if (cond:0) then 34 else 36 @ 0x11dc
0x11d8 34 r13d = eax
0x11d8 35 goto 36 @ 0x11dc
0x11dc 36 if (cond:1) then 37 @ 0x11a0 else 39 @ 0x11de
0x11a0 37 ebx = r13d
0x11a0 38 goto 41 @ 0x11a3
0x11de 39 r14d = 0
0x11e1 40 goto 48 @ 0x1201
0x11a3 41 rdi = r15
0x11a6 42 esi = ebx
0x11a8 43 eax = 0
0x11aa 44 call(0x1030)
0x11af 45 ebp = ebp + 1
0x11b2 46 r13d = ebx
0x11b9 47 if (ebp s>= [rsp + 0xc {var_1cc}].d) then 12 @ 0x1259 else 25 @ 0x11bf
0x1201 48 rsi = rsp + (r14 << 2)
0x1205 49 rsi = rsi + 0x10
0x1209 50 rdi = r12
0x120c 51 eax = 0
0x120e 52 call(0x1040)
0x1213 53 eax = [rsp + 8 {var_1d0}].d
0x1217 54 edx = (rax + (rax << 1)).d
0x121a 55 rcx = rax
0x121d 56 goto 57 @ 0x1222
0x1222 57 if (ecx s<= 0) then 58 @ 0x11f0 else 60 @ 0x1224
0x11f0 58 ebx = r13d
0x11f0 59 goto 63 @ 0x11f3
0x1224 60 ebx = [rsp + (rcx << 2) + 0xc].d
0x1228 61 esi = (rdx + rbx).d
0x122e 62 if (esi s<= 0x3c) then 67 @ 0x1250 else 70 @ 0x1230
0x11f3 63 r14 = r14 + 1
0x11f7 64 rax = sx.q(eax)
0x11f9 65 r13d = ebx
0x11ff 66 if (r14 s>= rax) then 41 @ 0x11a3 else 48 @ 0x1201
0x1250 67 ebx = 0x3c {""}
0x1255 68 ebx = ebx - edx
0x1257 69 goto 63 @ 0x11f3
0x1230 70 esi = (rbx + rdx).d
0x1233 71 esi = esi - 3
0x1236 72 edx = edx - 3
0x1239 73 esi = esi + 3
0x123c 74 rcx = rcx - 1
0x1243 75 if (esi u> 0x3e) then 57 @ 0x1222 else 76 @ 0x1245
0x1245 76 goto 63 @ 0x11f3
int64_t _fini():
0x1274 0 rsp = rsp - 8
0x1278 1 rsp = rsp + 8
0x127c 2 <return> jump(pop)
| POJ_86 |
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 {"UHH\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(rbp)
0x1161 1 rbp = rsp {__saved_rbp}
0x1164 2 rsp = rsp - 0x980
0x116b 3 rdi = rbp - 0x970 {var_978}
0x1172 4 esi = 0
0x1174 5 edx = 0x4b0 {"Q"}
0x1179 6 call(0x1040)
0x117e 7 [rbp - 0x970 {var_978}].d = -1
0x1188 8 rdi = 0x2004 {"%d"}
0x118f 9 rsi = rbp - 0x4b8 {var_4c0}
0x1196 10 al = 0
0x1198 11 call(0x1050)
0x119d 12 [rbp - 0x4c0 {var_4c8}].d = 0
0x119d 13 goto 14 @ 0x11a7
0x11a7 14 eax = [rbp - 0x4c0 {var_4c8}].d
0x11b3 15 if (eax s>= [rbp - 0x4b8 {var_4c0}].d) then 16 @ 0x11f0 else 18 @ 0x11b9
0x11f0 16 [rbp - 0x4c0 {var_4c8_1}].d = 0
0x11f0 17 goto 29 @ 0x11fa
0x11b9 18 rax = sx.q([rbp - 0x4c0 {var_4c8}].d)
0x11c0 19 rsi = rbp - 0x4b0 {var_4b8}
0x11c7 20 rax = rax << 2
0x11cb 21 rsi = rsi + rax
0x11ce 22 rdi = 0x2004 {"%d"}
0x11d5 23 al = 0
0x11d7 24 call(0x1050)
0x11dc 25 eax = [rbp - 0x4c0 {var_4c8}].d
0x11e2 26 eax = eax + 1
0x11e5 27 [rbp - 0x4c0 {var_4c8}].d = eax
0x11eb 28 goto 14 @ 0x11a7
0x11fa 29 eax = [rbp - 0x4c0 {var_4c8_1}].d
0x1206 30 if (eax s>= [rbp - 0x4b8 {var_4c0}].d) then 31 @ 0x1293 else 35 @ 0x120c
0x1293 31 eax = [rbp - 0x4b8 {var_4c0}].d
0x1299 32 eax = eax - 1
0x129c 33 [rbp - 0x4c0 {var_4c8_2}].d = eax
0x129c 34 goto 39 @ 0x12a9
0x120c 35 eax = [rbp - 0x4c0 {var_4c8_1}].d
0x1212 36 eax = eax + 1
0x1215 37 [rbp - 0x4b4 {var_4bc_1}].d = eax
0x1215 38 goto 40 @ 0x121b
0x12a9 39 if ([rbp - 0x4c0 {var_4c8_2}].d s< 0) then 42 @ 0x12ee else 44 @ 0x12af
0x121b 40 eax = [rbp - 0x4b4 {var_4bc_1}].d
0x1227 41 if (eax s>= [rbp - 0x4b8 {var_4c0}].d) then 46 @ 0x127a else 47 @ 0x122d
0x12ee 42 [rbp - 0x4c0 {var_4c8_3}].d = 0
0x12ee 43 goto 51 @ 0x12f8
0x12af 44 rax = sx.q([rbp - 0x4c0 {var_4c8_2}].d)
0x12be 45 if ([rbp + (rax << 2) - 0x4b0].d == 0) then 56 @ 0x12d5 else 57 @ 0x12c4
0x127a 46 goto 60 @ 0x127f
0x122d 47 rax = sx.q([rbp - 0x4b4 {var_4bc_1}].d)
0x1234 48 eax = [rbp + (rax << 2) - 0x4b0].d
0x123b 49 rcx = sx.q([rbp - 0x4c0 {var_4c8_1}].d)
0x1249 50 if (eax != [rbp + (rcx << 2) - 0x4b0].d) then 64 @ 0x1261 else 65 @ 0x124f
0x12f8 51 ecx = [rbp - 0x4c0 {var_4c8_3}].d
0x12fe 52 eax = 0
0x1300 53 cond:0 = ecx s>= [rbp - 0x4b8 {var_4c0}].d
0x1306 54 [rbp - 0x971 {var_979_1}].b = al
0x130c 55 if (cond:0) then 68 @ 0x1327 else 70 @ 0x1312
0x12d5 56 goto 74 @ 0x12da
0x12c4 57 eax = [rbp - 0x4c0 {var_4c8_2}].d
0x12ca 58 [rbp - 0x4bc {var_4c4}].d = eax
0x12d0 59 goto 42 @ 0x12ee
0x127f 60 eax = [rbp - 0x4c0 {var_4c8_1}].d
0x1285 61 eax = eax + 1
0x1288 62 [rbp - 0x4c0 {var_4c8_1}].d = eax
0x128e 63 goto 29 @ 0x11fa
0x1261 64 goto 78 @ 0x1266
0x124f 65 rax = sx.q([rbp - 0x4b4 {var_4bc_1}].d)
0x1256 66 [rbp + (rax << 2) - 0x4b0].d = 0
0x1256 67 goto 64 @ 0x1261
0x1327 68 al = [rbp - 0x971 {var_979_1}].b
0x132f 69 if ((al & 1) != 0) then 82 @ 0x133a else 84 @ 0x1335
0x1312 70 eax = [rbp - 0x4c0 {var_4c8_3}].d
0x131e 71 al = eax != [rbp - 0x4bc {var_4c4}].d
0x1321 72 [rbp - 0x971 {var_979_1}].b = al
0x1321 73 goto 68 @ 0x1327
0x12da 74 eax = [rbp - 0x4c0 {var_4c8_2}].d
0x12e0 75 eax = eax - 1
0x12e3 76 [rbp - 0x4c0 {var_4c8_2}].d = eax
0x12e9 77 goto 39 @ 0x12a9
0x1266 78 eax = [rbp - 0x4b4 {var_4bc_1}].d
0x126c 79 eax = eax + 1
0x126f 80 [rbp - 0x4b4 {var_4bc_1}].d = eax
0x1275 81 goto 40 @ 0x121b
0x133a 82 rax = sx.q([rbp - 0x4c0 {var_4c8_3}].d)
0x1349 83 if ([rbp + (rax << 2) - 0x4b0].d == 0) then 85 @ 0x136b else 86 @ 0x134f
0x1335 84 goto 92 @ 0x1384
0x136b 85 goto 100 @ 0x1370
0x134f 86 rax = sx.q([rbp - 0x4c0 {var_4c8_3}].d)
0x1356 87 esi = [rbp + (rax << 2) - 0x4b0].d
0x135d 88 rdi = 0x2007 {"%d,"}
0x1364 89 al = 0
0x1366 90 call(0x1030)
0x1366 91 goto 85 @ 0x136b
0x1384 92 rax = sx.q([rbp - 0x4bc {var_4c4}].d)
0x138b 93 esi = [rbp + (rax << 2) - 0x4b0].d
0x1392 94 rdi = 0x2004 {"%d"}
0x1399 95 al = 0
0x139b 96 call(0x1030)
0x13a0 97 rsp = rsp + 0x980
0x13a7 98 rbp = pop
0x13a8 99 <return> jump(pop)
0x1370 100 eax = [rbp - 0x4c0 {var_4c8_3}].d
0x1376 101 eax = eax + 1
0x1379 102 [rbp - 0x4c0 {var_4c8_3}].d = eax
0x137f 103 goto 51 @ 0x12f8
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
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 {"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 - 0x5f0
0x116b 3 rdi = rbp - 0x4b0 {var_4b8}
0x1172 4 esi = 0
0x1174 5 edx = 0x4b0 {"Q"}
0x1179 6 call(0x1040)
0x117e 7 [rbp - 0x4b4 {var_4bc}].d = 0
0x1188 8 [rbp - 0x4b8 {var_4c0}].d = -2
0x1192 9 [rbp - 0x4bc {var_4c4}].d = 0
0x119c 10 [rbp - 0x4c0 {var_4c8}].d = -1
0x11a6 11 [rbp - 0x4c4 {var_4cc}].d = 0
0x11b0 12 rdi = rbp - 0x5f0 {var_5f8}
0x11b7 13 esi = 0
0x11b9 14 edx = 0x12c {""}
0x11be 15 call(0x1040)
0x11c3 16 [rbp - 0x5f0 {var_5f8}].b = 0x20 {"@"}
0x11c3 17 goto 18 @ 0x11ca
0x11ca 18 rax = sx.q([rbp - 0x4b4 {var_4bc}].d)
0x11d1 19 rsi = rbp - 0x4b0 {var_4b8}
0x11d8 20 rax = rax << 2
0x11dc 21 rsi = rsi + rax
0x11df 22 rax = sx.q([rbp - 0x4b4 {var_4bc}].d)
0x11e6 23 rdx = rbp - 0x5f0 {var_5f8}
0x11ed 24 rdx = rdx + rax
0x11f0 25 rdi = 0x2004 {"%d%c"}
0x11f7 26 al = 0
0x11f9 27 call(0x1050)
0x11fe 28 eax = [rbp - 0x4b4 {var_4bc}].d
0x1204 29 eax = eax + 1
0x1207 30 [rbp - 0x4b4 {var_4bc}].d = eax
0x120d 31 eax = [rbp - 0x4b4 {var_4bc}].d
0x1213 32 eax = eax - 1
0x1216 33 rax = sx.q(eax)
0x1218 34 eax = sx.d([rbp + rax - 0x5f0].b)
0x1223 35 if (eax != 0xa) then 18 @ 0x11ca else 36 @ 0x1229
0x1229 36 eax = [rbp - 0x4b4 {var_4bc}].d
0x122f 37 [rbp - 0x4bc {var_4c4_1}].d = eax
0x123c 38 if ([rbp - 0x4bc {var_4c4_1}].d != 1) then 39 @ 0x1255 else 41 @ 0x1242
0x1255 39 [rbp - 0x4b4 {var_4bc_1}].d = 0
0x1255 40 goto 45 @ 0x125f
0x1242 41 rdi = 0x2009 {"No\n"}
0x1249 42 al = 0
0x124b 43 call(0x1030)
0x1250 44 goto 49 @ 0x13c4
0x125f 45 eax = [rbp - 0x4b4 {var_4bc_1}].d
0x1265 46 ecx = [rbp - 0x4bc {var_4c4_1}].d
0x126b 47 ecx = ecx - 1
0x1270 48 if (eax s> ecx) then 52 @ 0x12bd else 54 @ 0x1276
0x13c4 49 rsp = rsp + 0x5f0
0x13cb 50 rbp = pop
0x13cc 51 <return> jump(pop)
0x12bd 52 [rbp - 0x4c4 {var_4cc_1}].d = 0
0x12bd 53 goto 57 @ 0x12c7
0x1276 54 rax = sx.q([rbp - 0x4b4 {var_4bc_1}].d)
0x127d 55 eax = [rbp + (rax << 2) - 0x4b0].d
0x128a 56 if (eax s<= [rbp - 0x4b8 {var_4c0}].d) then 61 @ 0x12a4 else 62 @ 0x1290
0x12c7 57 eax = [rbp - 0x4c4 {var_4cc_1}].d
0x12cd 58 ecx = [rbp - 0x4bc {var_4c4_1}].d
0x12d3 59 ecx = ecx - 1
0x12d8 60 if (eax s> ecx) then 66 @ 0x1323 else 68 @ 0x12de
0x12a4 61 goto 71 @ 0x12a9
0x1290 62 rax = sx.q([rbp - 0x4b4 {var_4bc_1}].d)
0x1297 63 eax = [rbp + (rax << 2) - 0x4b0].d
0x129e 64 [rbp - 0x4b8 {var_4c0}].d = eax
0x129e 65 goto 61 @ 0x12a4
0x1323 66 [rbp - 0x4b4 {var_4bc_2}].d = 0
0x1323 67 goto 75 @ 0x132d
0x12de 68 rax = sx.q([rbp - 0x4c4 {var_4cc_1}].d)
0x12e5 69 eax = [rbp + (rax << 2) - 0x4b0].d
0x12f2 70 if (eax != [rbp - 0x4b8 {var_4c0}].d) then 79 @ 0x130a else 80 @ 0x12f8
0x12a9 71 eax = [rbp - 0x4b4 {var_4bc_1}].d
0x12af 72 eax = eax + 1
0x12b2 73 [rbp - 0x4b4 {var_4bc_1}].d = eax
0x12b8 74 goto 45 @ 0x125f
0x132d 75 eax = [rbp - 0x4b4 {var_4bc_2}].d
0x1333 76 ecx = [rbp - 0x4bc {var_4c4_1}].d
0x1339 77 ecx = ecx - 1
0x133e 78 if (eax s> ecx) then 83 @ 0x1392 else 84 @ 0x1344
0x130a 79 goto 87 @ 0x130f
0x12f8 80 rax = sx.q([rbp - 0x4c4 {var_4cc_1}].d)
0x12ff 81 [rbp + (rax << 2) - 0x4b0].d = 0
0x12ff 82 goto 79 @ 0x130a
0x1392 83 if ([rbp - 0x4c0 {var_4c8}].d != 0) then 91 @ 0x13ab else 96 @ 0x1398
0x1344 84 rax = sx.q([rbp - 0x4b4 {var_4bc_2}].d)
0x134b 85 eax = [rbp + (rax << 2) - 0x4b0].d
0x1358 86 if (eax s<= [rbp - 0x4c0 {var_4c8}].d) then 100 @ 0x1372 else 101 @ 0x135e
0x130f 87 eax = [rbp - 0x4c4 {var_4cc_1}].d
0x1315 88 eax = eax + 1
0x1318 89 [rbp - 0x4c4 {var_4cc_1}].d = eax
0x131e 90 goto 57 @ 0x12c7
0x13ab 91 esi = [rbp - 0x4c0 {var_4c8}].d
0x13b1 92 rdi = 0x200d {"%d\n"}
0x13b8 93 al = 0
0x13ba 94 call(0x1030)
0x13ba 95 goto 105 @ 0x13bf
0x1398 96 rdi = 0x2009 {"No\n"}
0x139f 97 al = 0
0x13a1 98 call(0x1030)
0x13a6 99 goto 105 @ 0x13bf
0x1372 100 goto 106 @ 0x1377
0x135e 101 rax = sx.q([rbp - 0x4b4 {var_4bc_2}].d)
0x1365 102 eax = [rbp + (rax << 2) - 0x4b0].d
0x136c 103 [rbp - 0x4c0 {var_4c8}].d = eax
0x136c 104 goto 100 @ 0x1372
0x13bf 105 goto 49 @ 0x13c4
0x1377 106 eax = [rbp - 0x4b4 {var_4bc_2}].d
0x137d 107 eax = eax + 1
0x1380 108 [rbp - 0x4b4 {var_4bc_2}].d = eax
0x1386 109 goto 75 @ 0x132d
int64_t _fini():
0x13d4 0 rsp = rsp - 8
0x13d8 1 rsp = rsp + 8
0x13dc 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)
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 - 0xfd0
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 rdi = 0x2004 {"%d"}
0x1169 5 rsi = rbp - 8 {var_10}
0x116d 6 al = 0
0x116f 7 call(0x1040)
0x1174 8 [rbp - 0xfb4 {var_fbc}].d = 0
0x1174 9 goto 10 @ 0x117e
0x117e 10 eax = [rbp - 0xfb4 {var_fbc}].d
0x1187 11 if (eax s>= [rbp - 8 {var_10}].d) then 12 @ 0x11c4 else 14 @ 0x118d
0x11c4 12 [rbp - 0xfb8 {var_fc0}].d = 0
0x11c4 13 goto 25 @ 0x11ce
0x118d 14 rax = sx.q([rbp - 0xfb4 {var_fbc}].d)
0x1194 15 rsi = rbp - 0x7e0 {var_7e8}
0x119b 16 rax = rax << 2
0x119f 17 rsi = rsi + rax
0x11a2 18 rdi = 0x2004 {"%d"}
0x11a9 19 al = 0
0x11ab 20 call(0x1040)
0x11b0 21 eax = [rbp - 0xfb4 {var_fbc}].d
0x11b6 22 eax = eax + 1
0x11b9 23 [rbp - 0xfb4 {var_fbc}].d = eax
0x11bf 24 goto 10 @ 0x117e
0x11ce 25 eax = [rbp - 0xfb8 {var_fc0}].d
0x11d7 26 if (eax s>= [rbp - 8 {var_10}].d) then 27 @ 0x12a3 else 30 @ 0x11dd
0x12a3 27 [rbp - 0xfc4 {var_fcc}].d = 0
0x12ad 28 [rbp - 0xfc8 {var_fd0}].d = 0
0x12ad 29 goto 32 @ 0x12b7
0x11dd 30 [rbp - 0xfbc {var_fc4_1}].d = 0
0x11dd 31 goto 34 @ 0x11e7
0x12b7 32 eax = [rbp - 0xfc8 {var_fd0}].d
0x12c0 33 if (eax s>= [rbp - 8 {var_10}].d) then 38 @ 0x1329 else 40 @ 0x12c6
0x11e7 34 eax = [rbp - 0xfbc {var_fc4_1}].d
0x11ed 35 ecx = [rbp - 8 {var_10}].d
0x11f0 36 ecx = ecx - [rbp - 0xfb8 {var_fc0}].d
0x11f8 37 if (eax s>= ecx) then 55 @ 0x128a else 56 @ 0x11fe
0x1329 38 [rbp - 0xfcc {var_fd4}].d = 0
0x1329 39 goto 62 @ 0x1333
0x12c6 40 rax = sx.q([rbp - 0xfc8 {var_fd0}].d)
0x12cd 41 eax = [rbp + (rax << 2) - 0x7e0].d
0x12d4 42 ecx = 2
0x12d9 43 temp2.d:temp3.d = sx.q(eax)
0x12d9 44 edx = temp2.d
0x12d9 45 eax = temp3.d
0x12da 46 temp4.d = edx
0x12da 47 temp5.d = eax
0x12da 48 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x12da 49 temp6.d = edx
0x12da 50 temp7.d = eax
0x12da 51 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x12da 52 eax = temp0.d
0x12da 53 edx = temp1.d
0x12df 54 if (edx == 0) then 64 @ 0x1310 else 65 @ 0x12e5
0x128a 55 goto 73 @ 0x128f
0x11fe 56 rax = sx.q([rbp - 0xfbc {var_fc4_1}].d)
0x1205 57 eax = [rbp + (rax << 2) - 0x7e0].d
0x120c 58 ecx = [rbp - 0xfbc {var_fc4_1}].d
0x1212 59 ecx = ecx + 1
0x1215 60 rcx = sx.q(ecx)
0x121f 61 if (eax s<= [rbp + (rcx << 2) - 0x7e0].d) then 77 @ 0x1271 else 78 @ 0x1225
0x1333 62 eax = [rbp - 0xfcc {var_fd4}].d
0x133f 63 if (eax s>= [rbp - 0xfc4 {var_fcc}].d) then 93 @ 0x13b2 else 97 @ 0x1345
0x1310 64 goto 101 @ 0x1315
0x12e5 65 rax = sx.q([rbp - 0xfc8 {var_fd0}].d)
0x12ec 66 ecx = [rbp + (rax << 2) - 0x7e0].d
0x12f3 67 rax = sx.q([rbp - 0xfc4 {var_fcc}].d)
0x12fa 68 [rbp + (rax << 2) - 0xfb0].d = ecx
0x1301 69 eax = [rbp - 0xfc4 {var_fcc}].d
0x1307 70 eax = eax + 1
0x130a 71 [rbp - 0xfc4 {var_fcc}].d = eax
0x130a 72 goto 64 @ 0x1310
0x128f 73 eax = [rbp - 0xfb8 {var_fc0}].d
0x1295 74 eax = eax + 1
0x1298 75 [rbp - 0xfb8 {var_fc0}].d = eax
0x129e 76 goto 25 @ 0x11ce
0x1271 77 goto 105 @ 0x1276
0x1225 78 eax = [rbp - 0xfbc {var_fc4_1}].d
0x122b 79 eax = eax + 1
0x122e 80 rax = sx.q(eax)
0x1230 81 eax = [rbp + (rax << 2) - 0x7e0].d
0x1237 82 [rbp - 0xfc0 {var_fc8_1}].d = eax
0x123d 83 rax = sx.q([rbp - 0xfbc {var_fc4_1}].d)
0x1244 84 ecx = [rbp + (rax << 2) - 0x7e0].d
0x124b 85 eax = [rbp - 0xfbc {var_fc4_1}].d
0x1251 86 eax = eax + 1
0x1254 87 rax = sx.q(eax)
0x1256 88 [rbp + (rax << 2) - 0x7e0].d = ecx
0x125d 89 ecx = [rbp - 0xfc0 {var_fc8_1}].d
0x1263 90 rax = sx.q([rbp - 0xfbc {var_fc4_1}].d)
0x126a 91 [rbp + (rax << 2) - 0x7e0].d = ecx
0x126a 92 goto 77 @ 0x1271
0x13b2 93 eax = 0
0x13b4 94 rsp = rsp + 0xfd0
0x13bb 95 rbp = pop
0x13bc 96 <return> jump(pop)
0x1345 97 eax = [rbp - 0xfcc {var_fd4}].d
0x134b 98 ecx = [rbp - 0xfc4 {var_fcc}].d
0x1351 99 ecx = ecx - 1
0x1356 100 if (eax == ecx) then 109 @ 0x137d else 115 @ 0x135c
0x1315 101 eax = [rbp - 0xfc8 {var_fd0}].d
0x131b 102 eax = eax + 1
0x131e 103 [rbp - 0xfc8 {var_fd0}].d = eax
0x1324 104 goto 32 @ 0x12b7
0x1276 105 eax = [rbp - 0xfbc {var_fc4_1}].d
0x127c 106 eax = eax + 1
0x127f 107 [rbp - 0xfbc {var_fc4_1}].d = eax
0x1285 108 goto 34 @ 0x11e7
0x137d 109 rax = sx.q([rbp - 0xfcc {var_fd4}].d)
0x1384 110 esi = [rbp + (rax << 2) - 0xfb0].d
0x138b 111 rdi = 0x2004 {"%d"}
0x1392 112 al = 0
0x1394 113 call(0x1030)
0x1394 114 goto 121 @ 0x1399
0x135c 115 rax = sx.q([rbp - 0xfcc {var_fd4}].d)
0x1363 116 esi = [rbp + (rax << 2) - 0xfb0].d
0x136a 117 rdi = 0x2007 {"%d,"}
0x1371 118 al = 0
0x1373 119 call(0x1030)
0x1378 120 goto 121 @ 0x1399
0x1399 121 goto 122 @ 0x139e
0x139e 122 eax = [rbp - 0xfcc {var_fd4}].d
0x13a4 123 eax = eax + 1
0x13a7 124 [rbp - 0xfcc {var_fd4}].d = eax
0x13ad 125 goto 62 @ 0x1333
int64_t _fini():
0x13c4 0 rsp = rsp - 8
0x13c8 1 rsp = rsp + 8
0x13cc 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 = 0x11d0 {"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)
uint64_t f(int32_t arg1):
0x1150 0 rsp = rsp - 0xf28
0x1159 1 if (edi s<= 0) then 2 @ 0x11ba else 6 @ 0x115b
0x11ba 2 rax = sx.q(edi)
0x11bd 3 eax = [rsp + (rax << 2) - 0x84].d
0x11c4 4 rsp = rsp + 0xf28
0x11cb 5 <return> jump(pop)
0x115b 6 r8d = edi
0x115e 7 ecx = 0xfffffffe {""}
0x1163 8 edx = 0
0x1165 9 goto 10 @ 0x1191
0x1191 10 if (edx == 1) then 11 @ 0x11b0 else 13 @ 0x1195
0x11b0 11 [rsp - 0x7c {var_fa4_1}].d = 1
0x11b8 12 goto 14 @ 0x1181
0x1195 13 if (edx != 0) then 17 @ 0x1170 else 23 @ 0x1197
0x1181 14 rdx = rdx + 1
0x1185 15 rcx = rcx + 1
0x118c 16 if (r8 == rdx) then 2 @ 0x11ba else 10 @ 0x1191
0x1170 17 esi = (rcx + 1).d
0x1173 18 eax = ecx
0x1175 19 eax = [rsp + (rax << 2) - 0x80].d
0x1179 20 eax = eax + [rsp + (rsi << 2) - 0x80].d
0x117d 21 [rsp + (rdx << 2) - 0x80].d = eax
0x117d 22 goto 14 @ 0x1181
0x1197 23 [rsp - 0x80 {var_fa8}].d = 1
0x119f 24 goto 14 @ 0x1181
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 - 0x2ef0
0x11dc 4 rdi = 0x2004 {"%d"}
0x11e3 5 rsi = rsp + 0xc {var_2efc}
0x11e8 6 eax = 0
0x11ea 7 call(0x1040)
0x11f4 8 if ([rsp + 0xc {var_2efc}].d s<= 0) then 9 @ 0x12cf else 15 @ 0x11fa
0x12cf 9 eax = 0
0x12d1 10 rsp = rsp + 0x2ef0
0x12d8 11 rbx = pop
0x12d9 12 r14 = pop
0x12db 13 r15 = pop
0x12dd 14 <return> jump(pop)
0x11fa 15 r15d = 0xfffffffe {""}
0x1200 16 r14 = 0x2004 {"%d"}
0x1207 17 ebx = 0
0x1209 18 goto 19 @ 0x122b
0x122b 19 rsi = rsp + (rbx << 2)
0x122f 20 rsi = rsi + 0x1f50
0x1236 21 rdi = r14
0x1239 22 eax = 0
0x123b 23 call(0x1040)
0x1240 24 eax = [rsp + (rbx << 2) + 0x1f50].d
0x1249 25 if (eax s<= 0) then 26 @ 0x1210 else 32 @ 0x124b
0x1210 26 rax = sx.q(eax)
0x1212 27 eax = [rsp + (rax << 2) + 0xc].d
0x1216 28 [rsp + (rbx << 2) + 0xfb0].d = eax
0x121d 29 rbx = rbx + 1
0x1221 30 rax = sx.q([rsp + 0xc {var_2efc}].d)
0x1229 31 if (rbx s>= rax) then 34 @ 0x129c else 19 @ 0x122b
0x124b 32 ecx = 0
0x124d 33 goto 35 @ 0x1273
0x129c 34 if (eax s<= 0) then 9 @ 0x12cf else 36 @ 0x129e
0x1273 35 if (ecx == 1) then 39 @ 0x1290 else 41 @ 0x1277
0x129e 36 r14 = 0x2007 {"%d\n"}
0x12a5 37 ebx = 0
0x12a7 38 goto 42 @ 0x12b0
0x1290 39 [rsp + 0x14 {var_2ef4_1}].d = 1
0x1298 40 goto 49 @ 0x1267
0x1277 41 if (ecx != 0) then 51 @ 0x1250 else 58 @ 0x1279
0x12b0 42 esi = [rsp + (rbx << 2) + 0xfb0].d
0x12b7 43 rdi = r14
0x12ba 44 eax = 0
0x12bc 45 call(0x1030)
0x12c1 46 rbx = rbx + 1
0x12c5 47 rax = sx.q([rsp + 0xc {var_2efc}].d)
0x12cd 48 if (rbx s< rax) then 42 @ 0x12b0 else 9 @ 0x12cf
0x1267 49 rcx = rcx + 1
0x126e 50 if (rax == rcx) then 26 @ 0x1210 else 35 @ 0x1273
0x1250 51 edx = (rcx + r15).d
0x1254 52 edx = edx + 1
0x1257 53 esi = (rcx + r15).d
0x125b 54 esi = [rsp + (rsi << 2) + 0x10].d
0x125f 55 esi = esi + [rsp + (rdx << 2) + 0x10].d
0x1263 56 [rsp + (rcx << 2) + 0x10].d = esi
0x1263 57 goto 49 @ 0x1267
0x1279 58 [rsp + 0x10 {var_2ef8}].d = 1
0x1281 59 goto 49 @ 0x1267
int64_t _fini():
0x12e4 0 rsp = rsp - 8
0x12e8 1 rsp = rsp + 8
0x12ec 2 <return> jump(pop)
| POJ_61 |
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 {"UAWAVAUATSHh"}
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 - 0x9c68
0x1161 7 rbx = 0x2004 {"%d"}
0x1168 8 rsi = rsp {var_9c98}
0x116b 9 rdi = rbx
0x116e 10 eax = 0
0x1170 11 call(0x1040)
0x1175 12 rsi = rsp + 4 {var_9c94}
0x117a 13 rdi = rbx
0x117d 14 eax = 0
0x117f 15 call(0x1040)
0x1184 16 eax = [rsp {var_9c98}].d
0x1189 17 if (eax s<= 0) then 18 @ 0x13d1 else 27 @ 0x118f
0x13d1 18 eax = 0
0x13d3 19 rsp = rsp + 0x9c68
0x13da 20 rbx = pop
0x13db 21 r12 = pop
0x13dd 22 r13 = pop
0x13df 23 r14 = pop
0x13e1 24 r15 = pop
0x13e3 25 rbp = pop
0x13e4 26 <return> jump(pop)
0x118f 27 ecx = [rsp + 4 {var_9c94}].d
0x1195 28 if (ecx s<= 0) then 18 @ 0x13d1 else 29 @ 0x119b
0x119b 29 r15 = rsp + 0x20 {var_9c78}
0x11a0 30 r14 = 0x2004 {"%d"}
0x11a7 31 r12d = 0
0x11aa 32 goto 33 @ 0x11c5
0x11c5 33 if (ecx s<= 0) then 34 @ 0x11b0 else 38 @ 0x11c7
0x11b0 34 r12 = r12 + 1
0x11b4 35 rdx = sx.q(eax)
0x11b7 36 r15 = r15 + 0x190
0x11c1 37 if (r12 s>= rdx) then 41 @ 0x11f6 else 33 @ 0x11c5
0x11c7 38 rbx = r15
0x11ca 39 ebp = 0
0x11cc 40 goto 42 @ 0x11d0
0x11f6 41 if (eax s<= 0) then 18 @ 0x13d1 else 50 @ 0x11fe
0x11d0 42 rdi = r14
0x11d3 43 rsi = rbx
0x11d6 44 eax = 0
0x11d8 45 call(0x1040)
0x11dd 46 rbp = rbp + 1
0x11e1 47 rcx = sx.q([rsp + 4 {var_9c94}].d)
0x11e6 48 rbx = rbx + 4
0x11ed 49 if (rbp s< rcx) then 42 @ 0x11d0 else 51 @ 0x11ef
0x11fe 50 if (ecx s<= 0) then 18 @ 0x13d1 else 53 @ 0x1204
0x11ef 51 eax = [rsp {var_9c98}].d
0x11f2 52 goto 34 @ 0x11b0
0x1204 53 rdx = rsp + 0x1b0 {var_9ae8}
0x120c 54 [rsp + 0x18 {var_9c80_1}].q = rdx {var_9ae8}
0x1211 55 edx = 1
0x1216 56 [rsp + 0x10 {var_9c88_1}].q = rdx
0x121b 57 r12 = 0x2007 {"%d\n"}
0x1222 58 r14d = 0
0x1225 59 r13d = 0
0x1225 60 goto 61 @ 0x1228
0x1228 61 rcx = sx.q(ecx)
0x122b 62 rcx = rcx - r14
0x122e 63 ebp = r14d
0x1234 64 if (r14 s>= rcx) then 65 @ 0x127e else 71 @ 0x1236
0x127e 65 rcx = r14 + 1
0x1282 66 eax = eax - r14d
0x1285 67 rax = sx.q(eax)
0x1287 68 r13 = rcx
0x128a 69 [rsp + 8 {var_9c90_1}].q = rcx
0x1292 70 if (rcx s>= rax) then 77 @ 0x12e0 else 80 @ 0x1294
0x1236 71 rax = sx.q(r13d)
0x1239 72 rax = rax * 0x190
0x1240 73 rbx = rsp + rax
0x1244 74 rbx = rbx + 0x20
0x1248 75 rbp = r14
0x124b 76 goto 86 @ 0x1250
0x12e0 77 ebp = ebp - 2
0x12e3 78 r15 = sx.q(ebp)
0x12e9 79 if (r14 s> r15) then 88 @ 0x133c else 91 @ 0x12eb
0x1294 80 rax = sx.q(ebp)
0x1297 81 rcx = [rsp + 0x18 {var_9c80_1}].q
0x129c 82 rbx = rcx + (rax << 2)
0x12a0 83 rbx = rbx - 4
0x12a4 84 r13 = [rsp + 0x10 {var_9c88_1}].q
0x12a9 85 goto 98 @ 0x12b0
0x1250 86 esi = [rbx + (rbp << 2)].d
0x1255 87 if (esi == 0) then 18 @ 0x13d1 else 100 @ 0x125b
0x133c 88 r13d = r13d - 2
0x1340 89 rbx = sx.q(r13d)
0x1346 90 if (r14 s>= rbx) then 108 @ 0x139b else 110 @ 0x1348
0x12eb 91 eax = (r13 - 1).d
0x12ef 92 rax = sx.q(eax)
0x12f1 93 r15 = r15 + 1
0x12f5 94 rax = rax * 0x190
0x12fc 95 rbx = rsp + rax
0x1300 96 rbx = rbx + 0x20
0x130e 97 goto 117 @ 0x1310
0x12b0 98 esi = [rbx].d
0x12b4 99 if (esi == 0) then 18 @ 0x13d1 else 119 @ 0x12ba
0x125b 100 rdi = r12
0x125e 101 eax = 0
0x1260 102 call(0x1030)
0x1265 103 [rbx + (rbp << 2)].d = 0
0x126c 104 rbp = rbp + 1
0x1270 105 eax = [rsp + 4 {var_9c94}].d
0x1274 106 eax = eax - r14d
0x1279 107 if (eax s> ebp) then 86 @ 0x1250 else 128 @ 0x127b
0x139b 108 rax = sx.q([rsp {var_9c98}].d)
0x13a4 109 if ([rsp + 8 {var_9c90_1}].q s>= rax) then 18 @ 0x13d1 else 130 @ 0x13a6
0x1348 110 rax = sx.q(ebp)
0x134b 111 rcx = rbx * 0x190
0x1352 112 rcx = rcx + rsp
0x1355 113 rcx = rcx + 0x20
0x1359 114 rbp = rcx + (rax << 2)
0x135d 115 rbp = rbp + 4
0x136b 116 goto 138 @ 0x1370
0x1310 117 esi = [rbx + (r15 << 2) - 4].d
0x1317 118 if (esi == 0) then 18 @ 0x13d1 else 140 @ 0x131d
0x12ba 119 rdi = r12
0x12bd 120 eax = 0
0x12bf 121 call(0x1030)
0x12c4 122 [rbx].d = 0
0x12ca 123 r13 = r13 + 1
0x12ce 124 eax = [rsp {var_9c98}].d
0x12d1 125 eax = eax - r14d
0x12d4 126 rbx = rbx + 0x190
0x12de 127 if (eax s> r13d) then 98 @ 0x12b0 else 77 @ 0x12e0
0x127b 128 eax = [rsp {var_9c98}].d
0x127b 129 goto 65 @ 0x127e
0x13a6 130 r13d = r13d + 1
0x13aa 131 [rsp + 0x10 {var_9c88_1}].q = [rsp + 0x10 {var_9c88_1}].q + 1
0x13b0 132 [rsp + 0x18 {var_9c80_1}].q = [rsp + 0x18 {var_9c80_1}].q + 0x190
0x13b9 133 ecx = [rsp + 4 {var_9c94}].d
0x13bd 134 rdx = sx.q(ecx)
0x13c0 135 rsi = [rsp + 8 {var_9c90_1}].q
0x13c5 136 r14 = rsi
0x13cb 137 if (rsi s< rdx) then 61 @ 0x1228 else 18 @ 0x13d1
0x1370 138 esi = [rbp].d
0x1375 139 if (esi == 0) then 18 @ 0x13d1 else 147 @ 0x1377
0x131d 140 rdi = r12
0x1320 141 eax = 0
0x1322 142 call(0x1030)
0x1327 143 [rbx + (r15 << 2) - 4].d = 0
0x1330 144 r15 = r15 - 1
0x1334 145 ebp = ebp - 1
0x133a 146 if (r15 s> r14) then 117 @ 0x1310 else 88 @ 0x133c
0x1377 147 rdi = r12
0x137a 148 eax = 0
0x137c 149 call(0x1030)
0x1381 150 [rbp].d = 0
0x1388 151 rbx = rbx - 1
0x138c 152 rbp = rbp - 0x190
0x1396 153 if (rbx s> r14) then 138 @ 0x1370 else 154 @ 0x1398
0x1398 154 r13d = ebx
0x1398 155 goto 108 @ 0x139b
int64_t _fini():
0x13ec 0 rsp = rsp - 8
0x13f0 1 rsp = rsp + 8
0x13f4 2 <return> jump(pop)
| POJ_46 |
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 {"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 - 0x158
0x1171 7 xmm0 = 0
0x1174 8 [rsp + 0x60 {var_128}].o = xmm0
0x1179 9 [rsp + 0x50 {var_138}].o = xmm0
0x117e 10 [rsp + 0x40 {var_148}].o = xmm0
0x1183 11 [rsp + 0x30 {var_158}].o = xmm0
0x1188 12 [rsp + 0x20 {var_168}].o = xmm0
0x118d 13 [rsp + 0x10 {var_178}].o = xmm0
0x1192 14 [rsp + 0x6d {var_128+0xd}].q = 0
0x119b 15 [rsp + 0x140 {var_48}].o = xmm0
0x11a3 16 [rsp + 0x130 {var_58}].o = xmm0
0x11ab 17 [rsp + 0x120 {var_68}].o = xmm0
0x11b3 18 [rsp + 0x110 {var_78}].o = xmm0
0x11bb 19 [rsp + 0x100 {var_88}].o = xmm0
0x11c3 20 [rsp + 0xf0 {var_98}].o = xmm0
0x11cb 21 [rsp + 0x14d {var_48+0xd}].q = 0
0x11d7 22 [rsp + 0xd0 {var_b8}].o = xmm0
0x11df 23 [rsp + 0xc0 {var_c8}].o = xmm0
0x11e7 24 [rsp + 0xb0 {var_d8}].o = xmm0
0x11ef 25 [rsp + 0xa0 {var_e8}].o = xmm0
0x11f7 26 [rsp + 0x90 {var_f8}].o = xmm0
0x11ff 27 [rsp + 0x80 {var_108}].o = xmm0
0x1207 28 [rsp + 0xdd {var_b8+0xd}].q = 0
0x1213 29 r12d = 0
0x1216 30 rbp = rsp + 0x10 {var_178}
0x121b 31 rdi = rbp {var_178}
0x121e 32 eax = 0
0x1220 33 call(0x1040)
0x1225 34 r13 = rsp + 0xf0 {var_98}
0x122d 35 rdi = r13 {var_98}
0x1230 36 eax = 0
0x1232 37 call(0x1040)
0x1237 38 rbx = rsp + 0x80 {var_108}
0x123f 39 rdi = rbx {var_108}
0x1242 40 eax = 0
0x1244 41 call(0x1040)
0x1249 42 rdi = rbp {var_178}
0x124c 43 call(0x1030)
0x1251 44 r15 = rax
0x1254 45 rdi = r13 {var_98}
0x1257 46 call(0x1030)
0x125c 47 r13 = rax
0x125f 48 rdi = rbx {var_108}
0x1262 49 call(0x1030)
0x1267 50 [rsp + 8 {var_180}].q = rax
0x126f 51 if (r15d s<= 0) then 52 @ 0x1352 else 61 @ 0x1275
0x1352 52 eax = 0
0x1354 53 rsp = rsp + 0x158
0x135b 54 rbx = pop
0x135c 55 r12 = pop
0x135e 56 r13 = pop
0x1360 57 r14 = pop
0x1362 58 r15 = pop
0x1364 59 rbp = pop
0x1365 60 <return> jump(pop)
0x1275 61 ebp = [rsp + 8 {var_180}].d
0x1279 62 goto 63 @ 0x12a0
0x12a0 63 r14d = (r12 + r13).d
0x12a4 64 rax = sx.q(r12d)
0x12aa 65 if (r13d s<= 0) then 66 @ 0x12f0 else 68 @ 0x12ac
0x12f0 66 ecx = 0
0x12f5 67 if (ecx != r13d) then 73 @ 0x1283 else 74 @ 0x12f7
0x12ac 68 rdx = sx.q(r14d)
0x12af 69 rsi = rsp + rax
0x12b3 70 rsi = rsi + 0x10
0x12b7 71 ecx = 0
0x12b9 72 goto 76 @ 0x12c0
0x1283 73 if (r12d s<= 0) then 78 @ 0x1310 else 80 @ 0x1289
0x12f7 74 rcx = rsp + 0x10 {var_178}
0x1301 75 if ([rax + rcx - 1].b != 0x20) then 73 @ 0x1283 else 83 @ 0x1307
0x12c0 76 ebx = zx.d([rsi + rcx].b)
0x12cb 77 if (bl != [rsp + rcx + 0xf0].b) then 84 @ 0x12e1 else 85 @ 0x12cd
0x1310 78 rcx = sx.q(r14d)
0x1318 79 if ([rsp + rcx + 0x10].b != 0x20) then 80 @ 0x1289 else 89 @ 0x1323
0x1289 80 edi = sx.d([rsp + rax + 0x10].b)
0x128e 81 call(0x1050)
0x128e 82 goto 90 @ 0x1293
0x1307 83 goto 89 @ 0x1323
0x12e1 84 if (ecx != r13d) then 73 @ 0x1283 else 92 @ 0x12e3
0x12cd 85 rdi = rax + rcx
0x12d1 86 rdi = rdi + 1
0x12d5 87 rcx = rcx + 1
0x12dc 88 if (rdi s< rdx) then 76 @ 0x12c0 else 84 @ 0x12e1
0x1323 89 if ([rsp + 8 {var_180}].d s<= 0) then 93 @ 0x1346 else 96 @ 0x1325
0x1293 90 r12d = r12d + 1
0x129a 91 if (r12d s>= r15d) then 52 @ 0x1352 else 63 @ 0x12a0
0x12e3 92 goto 74 @ 0x12f7
0x1346 93 r14d = r14d - 1
0x134a 94 r12d = r14d
0x134d 95 goto 90 @ 0x1293
0x1325 96 ebx = 0
0x1327 97 goto 98 @ 0x1330
0x1330 98 edi = sx.d([rsp + rbx + 0x80].b)
0x1338 99 call(0x1050)
0x133d 100 rbx = rbx + 1
0x1344 101 if (rbp != rbx) then 98 @ 0x1330 else 93 @ 0x1346
int64_t _fini():
0x136c 0 rsp = rsp - 8
0x1370 1 rsp = rsp + 8
0x1374 2 <return> jump(pop)
| POJ_19 |
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 {"UAVSHH="}
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 - 0x10
0x1158 4 rdi = 0x2004 {"%d"}
0x115f 5 r14d = 0
0x1162 6 rsi = rsp + 0xc {var_1c}
0x1167 7 eax = 0
0x1169 8 call(0x1040)
0x116e 9 r9d = [rsp + 0xc {var_1c}].d
0x1176 10 if (r9d s<= 0) then 11 @ 0x1229 else 21 @ 0x117c
0x1229 11 rdi = 0x2004 {"%d"}
0x1230 12 esi = r14d
0x1233 13 eax = 0
0x1235 14 call(0x1030)
0x123a 15 eax = 0
0x123c 16 rsp = rsp + 0x10
0x1240 17 rbx = pop
0x1241 18 r14 = pop
0x1243 19 rbp = pop
0x1244 20 <return> jump(pop)
0x117c 21 ecx = 1
0x1181 22 edi = 0
0x1183 23 edx = 4
0x1188 24 r8d = 0xcccccccd {""}
0x118e 25 r14d = 0
0x1191 26 goto 27 @ 0x11ab
0x11ab 27 esi = edi
0x11ad 28 edi = (rsi + 1).d
0x11b0 29 ebx = ecx
0x11b2 30 rbx = rbx * 0x24924925
0x11b9 31 rbx = rbx u>> 0x20
0x11bd 32 eax = ecx
0x11bf 33 eax = eax - ebx
0x11c1 34 eax = eax u>> 1
0x11c3 35 eax = eax + ebx
0x11c5 36 eax = eax u>> 2
0x11c8 37 ebp = eax
0x11ca 38 ebp = not.d(ebp)
0x11cc 39 eax = (rbp + (rax << 3)).d
0x11d2 40 if (eax == esi) then 41 @ 0x11a0 else 44 @ 0x11d4
0x11a0 41 ecx = ecx + 1
0x11a3 42 edx = edx + 1
0x11a9 43 if (r9d == edi) then 11 @ 0x1229 else 27 @ 0x11ab
0x11d4 44 eax = edx
0x11d6 45 rax = rax * r8
0x11da 46 rax = rax u>> 0x23
0x11de 47 eax = (rax + (rax << 2)).d
0x11e1 48 eax = eax + eax
0x11e3 49 eax = eax - 4
0x11e8 50 if (eax == esi) then 41 @ 0x11a0 else 51 @ 0x11ed
0x11ed 51 if (esi == 0x45) then 41 @ 0x11a0 else 52 @ 0x11f2
0x11f2 52 if (esi == 0x46) then 41 @ 0x11a0 else 53 @ 0x11f7
0x11f7 53 if (esi == 0x47) then 41 @ 0x11a0 else 54 @ 0x11fc
0x11fc 54 if (esi == 0x48) then 41 @ 0x11a0 else 55 @ 0x1201
0x1201 55 if (esi == 0x49) then 41 @ 0x11a0 else 56 @ 0x1206
0x1206 56 if (esi == 0x4a) then 41 @ 0x11a0 else 57 @ 0x120b
0x120b 57 if (esi == 0x4b) then 41 @ 0x11a0 else 58 @ 0x1210
0x1210 58 if (esi == 0x4c) then 41 @ 0x11a0 else 59 @ 0x1215
0x1215 59 if (esi == 0x4d) then 41 @ 0x11a0 else 60 @ 0x121a
0x121a 60 if (esi == 0x4e) then 41 @ 0x11a0 else 61 @ 0x121c
0x121c 61 eax = edi
0x121e 62 eax = eax * edi
0x1221 63 r14d = r14d + eax
0x1224 64 goto 41 @ 0x11a0
int64_t _fini():
0x124c 0 rsp = rsp - 8
0x1250 1 rsp = rsp + 8
0x1254 2 <return> jump(pop)
| POJ_30 |
Subsets and Splits