text
stringlengths 4
256k
| label
stringclasses 104
values |
---|---|
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int32_t puts(char const* str):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x11d0 {"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)
uint64_t scholarship(int32_t arg1, int32_t arg2, char arg3, char arg4, int32_t arg5):
0x1160 0 eax = 0
0x1162 1 cond:0 = [rsp + 0x28 {arg5}].d s<= 0
0x1167 2 ecx = 0x1f40 {""}
0x116c 3 if (cond:0) then 4 else 6 @ 0x116f
0x116c 4 ecx = eax
0x116c 5 goto 6 @ 0x116f
0x116f 6 edx = [rsp + 0x1c {arg1}].d
0x1173 7 esi = [rsp + 0x20 {arg2}].d
0x117a 8 if (edx s< 0x51) then 9 else 11 @ 0x117d
0x117a 9 ecx = eax
0x117a 10 goto 11 @ 0x117d
0x117d 11 eax = (rcx + 0xfa0).d
0x1186 12 if (esi s< 0x51) then 13 else 15 @ 0x118c
0x1186 13 eax = ecx
0x1186 14 goto 15 @ 0x118c
0x118c 15 if (edx s< 0x56) then 16 else 18 @ 0x118f
0x118c 16 eax = ecx
0x118c 17 goto 18 @ 0x118f
0x118f 18 ecx = (rax + 0x7d0).d
0x1198 19 if (edx s< 0x5b) then 20 else 22 @ 0x119b
0x1198 20 ecx = eax
0x1198 21 goto 22 @ 0x119b
0x119b 22 edi = (rcx + 0x3e8).d
0x11a6 23 if ([rsp + 0x25 {arg4}].b != 0x59) then 24 else 26 @ 0x11ac
0x11a6 24 edi = ecx
0x11a6 25 goto 26 @ 0x11ac
0x11ac 26 if (edx s< 0x56) then 27 else 29 @ 0x11af
0x11ac 27 edi = ecx
0x11ac 28 goto 29 @ 0x11af
0x11af 29 eax = (rdi + 0x352).d
0x11b8 30 if (esi s< 0x51) then 31 else 33 @ 0x11c0
0x11b8 31 eax = edi
0x11b8 32 goto 33 @ 0x11c0
0x11c0 33 if ([rsp + 0x24 {arg3}].b != 0x59) then 34 else 36 @ 0x11c3
0x11c0 34 eax = edi
0x11c0 35 goto 36 @ 0x11c3
0x11c3 36 <return> jump(pop)
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 - 0xfb0
0x11dc 4 rdi = 0x2013 {"%d"}
0x11e3 5 r15d = 0
0x11e6 6 rsi = rsp + 0xc {var_fbc}
0x11eb 7 eax = 0
0x11ed 8 call(0x1040)
0x11f7 9 if ([rsp + 0xc {var_fbc}].d s<= 0) then 10 @ 0x132f else 12 @ 0x11fd
0x132f 10 r14d = 0
0x132f 11 goto 16 @ 0x1332
0x11fd 12 rbx = rsp + 0x1a0 {var_e28}
0x1205 13 r14 = 0x2004 {"%s %d %d %c %c %d"}
0x120c 14 r15d = 0
0x120f 15 goto 34 @ 0x1210
0x1332 16 rax = r14 + (r14 << 3)
0x1336 17 rdi = rsp + (rax << 2)
0x133a 18 rdi = rdi + 0x1a0
0x1341 19 call(0x1050)
0x1346 20 esi = [rsp + (r14 << 2) + 0x10].d
0x134b 21 r14 = 0x2016 {"%d\n"}
0x1352 22 rdi = r14
0x1355 23 eax = 0
0x1357 24 call(0x1030)
0x135c 25 rdi = r14
0x135f 26 esi = r15d
0x1362 27 eax = 0
0x1364 28 call(0x1030)
0x1369 29 rsp = rsp + 0xfb0
0x1370 30 rbx = pop
0x1371 31 r14 = pop
0x1373 32 r15 = pop
0x1375 33 <return> jump(pop)
0x1210 34 rdx = rbx + 0x14
0x1214 35 rcx = rbx + 0x18
0x1218 36 r8 = rbx + 0x1c
0x121c 37 r9 = rbx + 0x1d
0x1220 38 rax = rbx + 0x20
0x1224 39 [rsp {var_fc8}].q = rax
0x1228 40 rdi = r14
0x122b 41 rsi = rbx
0x122e 42 eax = 0
0x1230 43 call(0x1040)
0x1235 44 r15 = r15 + 1
0x1239 45 rax = sx.q([rsp + 0xc {var_fbc}].d)
0x123e 46 rbx = rbx + 0x24
0x1245 47 if (r15 s< rax) then 34 @ 0x1210 else 48 @ 0x1247
0x1247 48 r10d = eax
0x124d 49 if (r10d s<= 0) then 50 @ 0x132c else 52 @ 0x1253
0x132c 50 r15d = 0
0x132c 51 goto 10 @ 0x132f
0x1253 52 rax = rsp + 0x1c0 {var_e08}
0x125b 53 r8d = 0
0x125e 54 esi = 0
0x1260 55 r15d = 0
0x1263 56 goto 57 @ 0x12d5
0x12d5 57 cond:0 = [rax].d s> 0
0x12d8 58 edi = 0x1f40 {""}
0x12dd 59 if (cond:0) then 60 @ 0x1270 else 63 @ 0x12df
0x1270 60 edx = [rax - 0xc].d
0x1273 61 ecx = [rax - 8].d
0x1279 62 if (edx s< 0x51) then 65 else 67 @ 0x127d
0x12df 63 edi = 0
0x12e1 64 goto 60 @ 0x1270
0x1279 65 edi = r8d
0x1279 66 goto 67 @ 0x127d
0x127d 67 ebx = (rdi + 0xfa0).d
0x1286 68 if (ecx s< 0x51) then 69 else 71 @ 0x128c
0x1286 69 ebx = edi
0x1286 70 goto 71 @ 0x128c
0x128c 71 if (edx s< 0x56) then 72 else 74 @ 0x128f
0x128c 72 ebx = edi
0x128c 73 goto 74 @ 0x128f
0x128f 74 edi = (rbx + 0x7d0).d
0x1298 75 if (edx s< 0x5b) then 76 else 78 @ 0x129b
0x1298 76 edi = ebx
0x1298 77 goto 78 @ 0x129b
0x129b 78 cond:1 = [rax - 3].b != 0x59
0x129f 79 ebx = (rdi + 0x3e8).d
0x12a5 80 if (cond:1) then 81 else 83 @ 0x12ab
0x12a5 81 ebx = edi
0x12a5 82 goto 83 @ 0x12ab
0x12ab 83 if (edx s< 0x56) then 84 else 86 @ 0x12ae
0x12ab 84 ebx = edi
0x12ab 85 goto 86 @ 0x12ae
0x12ae 86 edx = (rbx + 0x352).d
0x12b7 87 if (ecx s< 0x51) then 88 else 90 @ 0x12be
0x12b7 88 edx = ebx
0x12b7 89 goto 90 @ 0x12be
0x12be 90 if ([rax - 4].b != 0x59) then 91 else 93 @ 0x12c1
0x12be 91 edx = ebx
0x12be 92 goto 93 @ 0x12c1
0x12c1 93 [rsp + (rsi << 2) + 0x10].d = edx
0x12c5 94 r15d = r15d + edx
0x12c8 95 rsi = rsi + 1
0x12cc 96 rax = rax + 0x24
0x12d3 97 if (r10 == rsi) then 98 @ 0x12e3 else 57 @ 0x12d5
0x12e3 98 r14d = 0
0x12ea 99 if (r10d s< 2) then 16 @ 0x1332 else 100 @ 0x12ec
0x12ec 100 edx = [rsp + 0x10 {var_fb8}].d
0x12f0 101 r8 = r10 - 1
0x12f4 102 r10 = r10 - 2
0x12f8 103 r9d = r8d
0x12fb 104 r9d = r9d & 3
0x1303 105 if (r10 u>= 3) then 106 @ 0x1376 else 111 @ 0x1305
0x1376 106 r8 = r8 & 0xfffffffffffffffc
0x137a 107 r14d = 0
0x137d 108 ecx = 1
0x1382 109 edi = 0
0x1384 110 goto 113 @ 0x13a3
0x1305 111 ecx = 1
0x1305 112 goto 116 @ 0x130d
0x13a3 113 eax = [rsp + (rcx << 2) + 0x10].d
0x13a7 114 cond:2 = eax s> edx
0x13a9 115 if (eax s> edx) then 117 else 119 @ 0x13ac
0x130d 116 if (r9 == 0) then 121 @ 0x1327 else 123 @ 0x130f
0x13a9 117 edx = eax
0x13a9 118 goto 119 @ 0x13ac
0x13ac 119 eax = [rsp + (rcx << 2) + 0x14].d
0x13b0 120 if (cond:2) then 124 else 126 @ 0x13b6
0x1327 121 r14 = sx.q(r14d)
0x132a 122 goto 16 @ 0x1332
0x130f 123 goto 127 @ 0x1310
0x13b0 124 r14d = ecx
0x13b0 125 goto 126 @ 0x13b6
0x13b6 126 if (eax s> edx) then 130 @ 0x13c0 else 132 @ 0x13b8
0x1310 127 eax = [rsp + (rcx << 2) + 0x10].d
0x1314 128 cond:3 = eax s> edx
0x1316 129 if (eax s> edx) then 134 else 136 @ 0x1319
0x13c0 130 r14d = (rcx + 1).d
0x13c0 131 goto 137 @ 0x13c4
0x13b8 132 eax = edx
0x13ba 133 goto 137 @ 0x13c4
0x1316 134 edx = eax
0x1316 135 goto 136 @ 0x1319
0x1319 136 if (cond:3) then 139 else 141 @ 0x131d
0x13c4 137 esi = [rsp + (rcx << 2) + 0x18].d
0x13ca 138 if (esi s> eax) then 145 @ 0x13d0 else 147 @ 0x13cc
0x1319 139 r14d = ecx
0x1319 140 goto 141 @ 0x131d
0x131d 141 rcx = rcx + 1
0x1321 142 temp0.q = r9
0x1321 143 r9 = r9 - 1
0x1325 144 if (temp0.q != 1) then 127 @ 0x1310 else 121 @ 0x1327
0x13d0 145 r14d = (rcx + 2).d
0x13d0 146 goto 149 @ 0x13d4
0x13cc 147 esi = eax
0x13ce 148 goto 149 @ 0x13d4
0x13d4 149 edx = [rsp + (rcx << 2) + 0x1c].d
0x13da 150 if (edx s<= esi) then 151 @ 0x1390 else 153 @ 0x13dc
0x1390 151 edx = esi
0x1390 152 goto 155 @ 0x1392
0x13dc 153 r14d = (rcx + 3).d
0x13e0 154 goto 155 @ 0x1392
0x1392 155 rcx = rcx + 4
0x1396 156 rdi = rdi + 4
0x139d 157 if (rdi == r8) then 116 @ 0x130d else 113 @ 0x13a3
int64_t _fini():
0x13e8 0 rsp = rsp - 8
0x13ec 1 rsp = rsp + 8
0x13f0 2 <return> jump(pop)
| POJ_39 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
double sqrt(double x):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 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 - 0x60
0x1168 3 [rbp - 4 {var_c}].d = 0
0x116f 4 [rbp - 8 {var_10}].d = edi
0x1172 5 [rbp - 0x10 {var_18}].q = rsi
0x1176 6 rdi = 0x2018 {"%d"}
0x117d 7 rsi = rbp - 0x14 {var_1c}
0x1181 8 al = 0
0x1183 9 call(0x1040)
0x1188 10 [rbp - 0x18 {var_20}].d = 0
0x1188 11 goto 12 @ 0x118f
0x118f 12 eax = [rbp - 0x18 {var_20}].d
0x1195 13 if (eax s>= [rbp - 0x14 {var_1c}].d) then 14 @ 0x140b else 18 @ 0x119b
0x140b 14 eax = 0
0x140d 15 rsp = rsp + 0x60
0x1411 16 rbp = pop
0x1412 17 <return> jump(pop)
0x119b 18 rdi = 0x201b {"%lf%lf%lf"}
0x11a2 19 rsi = rbp - 0x20 {var_28}
0x11a6 20 rdx = rbp - 0x28 {var_30}
0x11aa 21 rcx = rbp - 0x30 {var_38}
0x11ae 22 al = 0
0x11b0 23 call(0x1040)
0x11b5 24 xmm0 = zx.o([rbp - 0x28 {var_30}].q)
0x11ba 25 xmm2 = zx.o([rbp - 0x28 {var_30}].q)
0x11bf 26 xmm1 = zx.o([0x2008].q)
0x11c7 27 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x20 {var_28}].q)
0x11cc 28 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x30 {var_38}].q)
0x11d1 29 rax = xmm1.q
0x11d6 30 rcx = -0x8000000000000000
0x11e0 31 rax = rax ^ rcx
0x11e3 32 xmm1 = rax
0x11e8 33 xmm0.q = xmm0.q f* xmm2.q
0x11ec 34 xmm0.q = xmm0.q f+ xmm1.q
0x11f0 35 xmm1 = 0
0x11f3 36 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x11f3 37 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x11f3 38 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x11f3 39 flag:s = 0
0x11f3 40 flag:o = 0
0x11f3 41 flag:a = 0
0x11f7 42 if (flag:c) then 43 @ 0x134e else 76 @ 0x11fd
0x134e 43 xmm0 = zx.o([rbp - 0x28 {var_30}].q)
0x1353 44 rax = xmm0.q
0x1358 45 rcx = -0x8000000000000000
0x1362 46 rax = rax ^ rcx
0x1365 47 xmm0 = rax
0x136a 48 xmm2 = zx.o([rbp - 0x28 {var_30}].q)
0x136f 49 xmm1 = zx.o([0x2008].q)
0x1377 50 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x20 {var_28}].q)
0x137c 51 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x30 {var_38}].q)
0x1381 52 xmm0.q = xmm0.q f* xmm2.q
0x1385 53 xmm0.q = xmm0.q f+ xmm1.q
0x1389 54 call(0x1050)
0x138e 55 xmm1 = zx.o([0x2010].q)
0x1396 56 xmm0.q = xmm0.q f/ xmm1.q
0x139a 57 xmm0.q = xmm0.q f/ fconvert.t([rbp - 0x20 {var_28}].q)
0x139f 58 [rbp - 0x48 {var_50_1}].q = xmm0.q
0x13a4 59 xmm0 = zx.o([rbp - 0x28 {var_30}].q)
0x13a9 60 rax = xmm0.q
0x13ae 61 rcx = -0x8000000000000000
0x13b8 62 rax = rax ^ rcx
0x13bb 63 xmm0 = rax
0x13c0 64 xmm1 = zx.o([0x2010].q)
0x13c8 65 xmm0.q = xmm0.q f/ xmm1.q
0x13cc 66 xmm0.q = xmm0.q f/ fconvert.t([rbp - 0x20 {var_28}].q)
0x13d1 67 [rbp - 0x50 {var_58_1}].q = xmm0.q
0x13d6 68 xmm0 = zx.o([rbp - 0x50 {var_58_1}].q)
0x13db 69 xmm1 = zx.o([rbp - 0x48 {var_50_1}].q)
0x13e0 70 xmm2 = zx.o([rbp - 0x50 {var_58_1}].q)
0x13e5 71 xmm3 = zx.o([rbp - 0x48 {var_50_1}].q)
0x13ea 72 rdi = 0x2045 {"x1=%.5lf+%.5lfi;x2=%.5lf-%.5lfi\n"}
0x13f1 73 al = 4
0x13f3 74 call(0x1030)
0x13f3 75 goto 134 @ 0x13f8
0x11fd 76 xmm0 = zx.o([rbp - 0x28 {var_30}].q)
0x1202 77 rax = xmm0.q
0x1207 78 rcx = -0x8000000000000000
0x1211 79 rax = rax ^ rcx
0x1214 80 xmm0 = rax
0x1219 81 [rbp - 0x60 {var_68_1}].q = xmm0.q
0x121e 82 xmm0 = zx.o([rbp - 0x28 {var_30}].q)
0x1223 83 xmm2 = zx.o([rbp - 0x28 {var_30}].q)
0x1228 84 xmm1 = zx.o([0x2008].q)
0x1230 85 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x20 {var_28}].q)
0x1235 86 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x30 {var_38}].q)
0x123a 87 rax = xmm1.q
0x123f 88 rcx = -0x8000000000000000
0x1249 89 rax = rax ^ rcx
0x124c 90 xmm1 = rax
0x1251 91 xmm0.q = xmm0.q f* xmm2.q
0x1255 92 xmm0.q = xmm0.q f+ xmm1.q
0x1259 93 call(0x1050)
0x125e 94 xmm1 = xmm0
0x1261 95 xmm0 = zx.o([rbp - 0x60 {var_68_1}].q)
0x1266 96 xmm0.q = xmm0.q f+ xmm1.q
0x126a 97 xmm1 = zx.o([0x2010].q)
0x1272 98 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x20 {var_28}].q)
0x1277 99 xmm0.q = xmm0.q f/ xmm1.q
0x127b 100 [rbp - 0x38 {var_40_1}].q = xmm0.q
0x1280 101 xmm0 = zx.o([rbp - 0x28 {var_30}].q)
0x1285 102 rax = xmm0.q
0x128a 103 rcx = -0x8000000000000000
0x1294 104 rax = rax ^ rcx
0x1297 105 xmm0 = rax
0x129c 106 [rbp - 0x58 {var_60_1}].q = xmm0.q
0x12a1 107 xmm0 = zx.o([rbp - 0x28 {var_30}].q)
0x12a6 108 xmm2 = zx.o([rbp - 0x28 {var_30}].q)
0x12ab 109 xmm1 = zx.o([0x2008].q)
0x12b3 110 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x20 {var_28}].q)
0x12b8 111 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x30 {var_38}].q)
0x12bd 112 rax = xmm1.q
0x12c2 113 rcx = -0x8000000000000000
0x12cc 114 rax = rax ^ rcx
0x12cf 115 xmm1 = rax
0x12d4 116 xmm0.q = xmm0.q f* xmm2.q
0x12d8 117 xmm0.q = xmm0.q f+ xmm1.q
0x12dc 118 call(0x1050)
0x12e1 119 xmm1 = xmm0
0x12e4 120 xmm0 = zx.o([rbp - 0x58 {var_60_1}].q)
0x12e9 121 xmm0.q = xmm0.q f- xmm1.q
0x12ed 122 xmm1 = zx.o([0x2010].q)
0x12f5 123 xmm1.q = xmm1.q f* fconvert.t([rbp - 0x20 {var_28}].q)
0x12fa 124 xmm0.q = xmm0.q f/ xmm1.q
0x12fe 125 [rbp - 0x40 {var_48_1}].q = xmm0.q
0x1303 126 xmm0 = zx.o([rbp - 0x38 {var_40_1}].q)
0x1308 127 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp - 0x40 {var_48_1}].q))
0x1308 128 flag:c = xmm0.q f< fconvert.t([rbp - 0x40 {var_48_1}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x40 {var_48_1}].q))
0x1308 129 flag:z = xmm0.q f== fconvert.t([rbp - 0x40 {var_48_1}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x40 {var_48_1}].q))
0x1308 130 flag:s = 0
0x1308 131 flag:o = 0
0x1308 132 flag:a = 0
0x130d 133 if (not(flag:z)) then 135 @ 0x1331 else 141 @ 0x1313
0x13f8 134 goto 142 @ 0x13fd
0x1331 135 xmm0 = zx.o([rbp - 0x38 {var_40_1}].q)
0x1336 136 xmm1 = zx.o([rbp - 0x40 {var_48_1}].q)
0x133b 137 rdi = 0x2032 {"x1=%.5lf;x2=%.5lf\n"}
0x1342 138 al = 2
0x1344 139 call(0x1030)
0x1344 140 goto 146 @ 0x1349
0x1313 141 if (flag:p) then 135 @ 0x1331 else 147 @ 0x1319
0x13fd 142 eax = [rbp - 0x18 {var_20}].d
0x1400 143 eax = eax + 1
0x1403 144 [rbp - 0x18 {var_20}].d = eax
0x1406 145 goto 12 @ 0x118f
0x1349 146 goto 134 @ 0x13f8
0x1319 147 xmm0 = zx.o([rbp - 0x38 {var_40_1}].q)
0x131e 148 rdi = 0x2025 {"x1=x2=%.5lf\n"}
0x1325 149 al = 1
0x1327 150 call(0x1030)
0x132c 151 goto 146 @ 0x1349
int64_t _fini():
0x1418 0 rsp = rsp - 8
0x141c 1 rsp = rsp + 8
0x1420 2 <return> jump(pop)
| POJ_27 |
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"}
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 - 0x1a0
0x116c 4 r14 = 0x2004 {"%d"}
0x1173 5 rsi = rsp + 0xc {var_1ac}
0x1178 6 rdi = r14
0x117b 7 eax = 0
0x117d 8 call(0x1040)
0x1182 9 r15 = rsp + 0x10 {var_1a8}
0x1187 10 ebx = 0
0x1189 11 goto 12 @ 0x1190
0x1190 12 rdi = r14
0x1193 13 rsi = r15
0x1196 14 eax = 0
0x1198 15 call(0x1040)
0x119d 16 rbx = rbx + 1
0x11a1 17 rax = sx.q([rsp + 0xc {var_1ac}].d)
0x11a6 18 r15 = r15 + 4
0x11ad 19 if (rbx s< rax) then 12 @ 0x1190 else 20 @ 0x11af
0x11af 20 ecx = [rsp + 0x10 {var_1a8}].d
0x11b3 21 ebx = [rsp + 0x14 {var_1a4}].d
0x11b7 22 cond:0 = ecx s< ebx
0x11b7 23 cond:1 = ecx s< ebx
0x11b9 24 esi = ecx
0x11bb 25 if (cond:0) then 26 else 28 @ 0x11be
0x11bb 26 esi = ebx
0x11bb 27 goto 28 @ 0x11be
0x11be 28 r8d = eax
0x11c1 29 if (cond:1) then 30 else 32 @ 0x11c8
0x11c1 30 ebx = ecx
0x11c1 31 goto 32 @ 0x11c8
0x11c8 32 if (r8d s< 3) then 33 @ 0x1269 else 49 @ 0x11d2
0x1269 33 r14 = 0x2004 {"%d"}
0x1270 34 rdi = r14
0x1273 35 eax = 0
0x1275 36 call(0x1030)
0x127a 37 edi = 0xa {""}
0x127f 38 call(0x1050)
0x1284 39 rdi = r14
0x1287 40 esi = ebx
0x1289 41 eax = 0
0x128b 42 call(0x1030)
0x1290 43 eax = 0
0x1292 44 rsp = rsp + 0x1a0
0x1299 45 rbx = pop
0x129a 46 r14 = pop
0x129c 47 r15 = pop
0x129e 48 <return> jump(pop)
0x11d2 49 if (r8d != 3) then 50 @ 0x11db else 55 @ 0x11d4
0x11db 50 r9 = r8 - 2
0x11df 51 r9 = r9 & 0xfffffffffffffffe
0x11e3 52 r9 = neg.q(r9)
0x11e6 53 ecx = 2
0x11eb 54 goto 57 @ 0x11f0
0x11d4 55 ecx = 2
0x11d9 56 goto 64 @ 0x1247
0x11f0 57 edi = [rsp + (rcx << 2) + 0x10].d
0x11f6 58 r10b = edi s> ebx
0x11fa 59 cond:2 = edi s> esi
0x11fa 60 cond:3 = edi s> esi
0x11fa 61 cond:4 = edi s< esi
0x11fc 62 edx = esi
0x11fe 63 if (cond:2) then 65 else 67 @ 0x1201
0x1247 64 if ((r8b & 1) == 0) then 33 @ 0x1269 else 68 @ 0x1249
0x11fe 65 edx = edi
0x11fe 66 goto 67 @ 0x1201
0x1201 67 if (cond:3) then 75 else 77 @ 0x1204
0x1249 68 eax = [rsp + (rcx << 2) + 0x10].d
0x124f 69 dil = eax s> ebx
0x1253 70 cond:10 = eax s> esi
0x1253 71 cond:11 = eax s< esi
0x1253 72 cond:12 = eax s> esi
0x1255 73 edx = esi
0x1257 74 if (cond:10) then 81 else 83 @ 0x125a
0x1201 75 ebx = esi
0x1201 76 goto 77 @ 0x1204
0x1204 77 al = cond:4
0x1207 78 temp0.b = al & r10b
0x1207 79 cond:5 = temp0.b != 0
0x120a 80 if (temp0.b != 0) then 85 else 87 @ 0x120d
0x1257 81 edx = eax
0x1257 82 goto 83 @ 0x125a
0x125a 83 cl = cond:11
0x125d 84 if (cond:12) then 89 else 91 @ 0x1260
0x120a 85 edx = esi
0x120a 86 goto 87 @ 0x120d
0x120d 87 eax = [rsp + (rcx << 2) + 0x14].d
0x1211 88 if (cond:5) then 94 else 96 @ 0x1216
0x125d 89 ebx = esi
0x125d 90 goto 91 @ 0x1260
0x1260 91 temp1.b = cl & dil
0x1260 92 cond:13 = temp1.b != 0
0x1263 93 if (temp1.b == 0) then 102 else 104 @ 0x1266
0x1211 94 ebx = edi
0x1211 95 goto 96 @ 0x1216
0x1216 96 dil = eax s> ebx
0x121a 97 cond:6 = eax s> edx
0x121a 98 cond:7 = eax s< edx
0x121a 99 cond:8 = eax s> edx
0x121c 100 esi = edx
0x121e 101 if (cond:6) then 105 else 107 @ 0x1221
0x1263 102 esi = edx
0x1263 103 goto 104 @ 0x1266
0x1266 104 if (cond:13) then 109 else 111
0x121e 105 esi = eax
0x121e 106 goto 107 @ 0x1221
0x1221 107 r10b = cond:7
0x1225 108 if (cond:8) then 112 else 114 @ 0x1228
0x1266 109 ebx = eax
0x1266 110 goto 111
0x1266 111 goto 33 @ 0x1269
0x1225 112 ebx = edx
0x1225 113 goto 114 @ 0x1228
0x1228 114 temp2.b = r10b & dil
0x1228 115 cond:9 = temp2.b != 0
0x122b 116 if (temp2.b != 0) then 117 else 119 @ 0x122e
0x122b 117 esi = edx
0x122b 118 goto 119 @ 0x122e
0x122e 119 if (cond:9) then 120 else 122 @ 0x1231
0x122e 120 ebx = eax
0x122e 121 goto 122 @ 0x1231
0x1231 122 rax = r9 + rcx
0x1235 123 rax = rax + 2
0x1239 124 rcx = rcx + 2
0x1241 125 if (rax != 2) then 57 @ 0x11f0 else 64 @ 0x1247
int64_t _fini():
0x12a4 0 rsp = rsp - 8
0x12a8 1 rsp = rsp + 8
0x12ac 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 {"UAVSH"}
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 - 0x1a0
0x115b 4 rdi = 0x2004 {"%d %d"}
0x1162 5 rsi = rsp + 0xc {var_1ac}
0x1167 6 rdx = rsp + 8 {var_1b0}
0x116c 7 eax = 0
0x116e 8 call(0x1040)
0x1173 9 eax = [rsp + 0xc {var_1ac}].d
0x1179 10 if (eax s<= 0) then 11 @ 0x11ac else 13 @ 0x117b
0x11ac 11 rcx = sx.q([rsp + 8 {var_1b0}].d)
0x11b4 12 if (rcx s<= 0) then 17 @ 0x11e8 else 22 @ 0x11b6
0x117b 13 rsi = rsp + 0x10 {var_1a8}
0x1180 14 r14 = 0x2007 {"%d"}
0x1187 15 ebp = 0
0x1189 16 goto 29 @ 0x1190
0x11e8 17 eax = [rsp + 8 {var_1b0}].d
0x11ec 18 eax = not.d(eax)
0x11ee 19 eax = eax + [rsp + 0xc {var_1ac}].d
0x11f2 20 rbx = rsp + 0x10 {var_1a8}
0x11f9 21 if (eax s<= 0) then 37 @ 0x1231 else 47 @ 0x11fb
0x11b6 22 rax = sx.q(eax)
0x11b8 23 rax = rax - rcx
0x11bb 24 rbp = rsp + (rax << 2)
0x11bf 25 rbp = rbp + 0x10
0x11c3 26 r14 = 0x200a {"%d "}
0x11ca 27 ebx = 0
0x11cc 28 goto 50 @ 0x11d0
0x1190 29 rbx = rsi + 4
0x1194 30 rdi = r14
0x1197 31 eax = 0
0x1199 32 call(0x1040)
0x119e 33 ebp = ebp + 1
0x11a1 34 eax = [rsp + 0xc {var_1ac}].d
0x11a5 35 rsi = rbx
0x11aa 36 if (ebp s< eax) then 29 @ 0x1190 else 11 @ 0x11ac
0x1231 37 esi = [rbx].d
0x1233 38 rdi = 0x2007 {"%d"}
0x123a 39 eax = 0
0x123c 40 call(0x1030)
0x1241 41 eax = 0
0x1243 42 rsp = rsp + 0x1a0
0x124a 43 rbx = pop
0x124b 44 r14 = pop
0x124d 45 rbp = pop
0x124e 46 <return> jump(pop)
0x11fb 47 r14 = 0x200a {"%d "}
0x1202 48 ebp = 0
0x120e 49 goto 56 @ 0x1210
0x11d0 50 esi = [rbp + (rbx << 2)].d
0x11d4 51 rdi = r14
0x11d7 52 eax = 0
0x11d9 53 call(0x1030)
0x11de 54 rbx = rbx + 1
0x11e6 55 if (ebx s< [rsp + 8 {var_1b0}].d) then 50 @ 0x11d0 else 17 @ 0x11e8
0x1210 56 esi = [rbx].d
0x1212 57 rdi = r14
0x1215 58 eax = 0
0x1217 59 call(0x1030)
0x121c 60 ebp = ebp + 1
0x121f 61 rbx = rbx + 4
0x1223 62 eax = [rsp + 8 {var_1b0}].d
0x1227 63 eax = not.d(eax)
0x1229 64 eax = eax + [rsp + 0xc {var_1ac}].d
0x122f 65 if (ebp s< eax) then 56 @ 0x1210 else 37 @ 0x1231
int64_t _fini():
0x1254 0 rsp = rsp - 8
0x1258 1 rsp = rsp + 8
0x125c 2 <return> jump(pop)
| POJ_52 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t 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 {"UAWAVSPH="}
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 push(rax)
0x1167 5 rdi = 0x2004 {"%d %d"}
0x116e 6 ebx = 0
0x1170 7 rsi = rsp {var_28}
0x1173 8 rdx = rsp + 4 {var_28+0x4}
0x1178 9 eax = 0
0x117a 10 call(0x1040)
0x117f 11 eax = [rsp {var_28}].d
0x1184 12 if ((al & 1) != 0) then 13 @ 0x118c else 15 @ 0x1186
0x118c 13 ecx = [rsp {var_28}].d
0x1193 14 if (ecx s<= [rsp + 4 {var_28+0x4}].d) then 18 @ 0x11b0 else 22 @ 0x1197
0x1186 15 eax = eax + 1
0x1189 16 [rsp {var_28}].d = eax
0x1189 17 goto 13 @ 0x118c
0x11b0 18 r14 = 0x2007 {"%d"}
0x11b7 19 r15 = 0x200a {",%d"}
0x11be 20 ebx = 0
0x11c0 21 goto 23 @ 0x11df
0x1197 22 if (ebx != 0) then 25 @ 0x11a5 else 31 @ 0x1199
0x11df 23 esi = 2
0x11ee 24 goto 34 @ 0x11f0
0x11a5 25 rsp = rsp + 8
0x11a9 26 rbx = pop
0x11aa 27 r14 = pop
0x11ac 28 r15 = pop
0x11ae 29 rbp = pop
0x11af 30 <return> jump(pop)
0x1199 31 rdi = 0x200e {"no"}
0x11a0 32 call(0x1050)
0x11a0 33 goto 25 @ 0x11a5
0x11f0 34 eax = ecx
0x11f2 35 temp2.d:temp3.d = sx.q(eax)
0x11f2 36 edx = temp2.d
0x11f2 37 eax = temp3.d
0x11f3 38 temp4.d = edx
0x11f3 39 temp5.d = eax
0x11f3 40 temp0.d = divs.dp.d(temp4.d:temp5.d, esi)
0x11f3 41 temp6.d = edx
0x11f3 42 temp7.d = eax
0x11f3 43 temp1.d = mods.dp.d(temp6.d:temp7.d, esi)
0x11f3 44 eax = temp0.d
0x11f3 45 edx = temp1.d
0x11f5 46 esi = esi + 1
0x11fa 47 if (edx != 0) then 34 @ 0x11f0 else 48 @ 0x11fc
0x11fc 48 esi = esi - ecx
0x1201 49 if (esi != 1) then 50 @ 0x11d0 else 54 @ 0x1203
0x11d0 50 ecx = [rsp {var_28}].d
0x11d3 51 ecx = ecx + 2
0x11d6 52 [rsp {var_28}].d = ecx
0x11dd 53 if (ecx s> [rsp + 4 {var_28+0x4}].d) then 22 @ 0x1197 else 23 @ 0x11df
0x1203 54 edx = 0
0x1205 55 eax = ecx
0x120a 56 if (ecx s< 0xa) then 57 @ 0x1234 else 60 @ 0x120c
0x1234 57 edx = (rdx + (rdx << 2)).d
0x1237 58 esi = (rax + (rdx << 1)).d
0x123c 59 if (esi != ecx) then 50 @ 0x11d0 else 63 @ 0x123e
0x120c 60 edx = 0
0x120e 61 eax = ecx
0x120e 62 goto 67 @ 0x1210
0x123e 63 ebp = (rbx + 1).d
0x1241 64 cond:0 = ebx == 0
0x1243 65 rdi = r15
0x1246 66 if (cond:0) then 77 else 79 @ 0x124a
0x1210 67 rsi = sx.q(eax)
0x1213 68 rax = rsi * 0x66666667
0x121a 69 rdi = rax
0x121d 70 rdi = rdi u>> 0x3f
0x1221 71 rax = rax s>> 0x22
0x1225 72 eax = eax + edi
0x1227 73 edx = edx - eax
0x1229 74 edx = (rdx + (rdx << 2)).d
0x122c 75 edx = (rsi + (rdx << 1)).d
0x1232 76 if (esi s> 0x63) then 67 @ 0x1210 else 57 @ 0x1234
0x1246 77 rdi = r14
0x1246 78 goto 79 @ 0x124a
0x124a 79 eax = 0
0x124c 80 call(0x1030)
0x1251 81 ebx = ebp
0x1253 82 goto 50 @ 0x11d0
int64_t _fini():
0x125c 0 rsp = rsp - 8
0x1260 1 rsp = rsp + 8
0x1264 2 <return> jump(pop)
| POJ_74 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
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 rdi = rsp + 0x10 {var_75338}
0x1176 8 edx = 0x27100 {""}
0x117b 9 esi = 0
0x117d 10 call(0x1040)
0x1182 11 rdi = 0x2004 {"%d%d"}
0x1189 12 rsi = rsp + 4 {var_75344}
0x118e 13 rdx = rsp + 8 {var_75340}
0x1193 14 eax = 0
0x1195 15 call(0x1050)
0x119a 16 ecx = [rsp + 4 {var_75344}].d
0x11a0 17 if (ecx s<= 0) then 18 @ 0x1205 else 25 @ 0x11a2
0x1205 18 rdi = 0x2004 {"%d%d"}
0x120c 19 rsi = rsp + 0xc {var_7533c}
0x1211 20 rdx = rsp {var_75348}
0x1214 21 eax = 0
0x1216 22 call(0x1050)
0x121b 23 ecx = [rsp + 0xc {var_7533c}].d
0x1221 24 if (ecx s<= 0) then 30 @ 0x1284 else 32 @ 0x1223
0x11a2 25 r15 = rsp + 0x27110 {var_4e238}
0x11aa 26 eax = [rsp + 8 {var_75340}].d
0x11ae 27 r14 = 0x2006 {"%d"}
0x11b5 28 r12d = 0
0x11b8 29 goto 37 @ 0x11d5
0x1284 30 ecx = [rsp + 4 {var_75344}].d
0x128a 31 if (ecx s<= 0) then 38 @ 0x149e else 47 @ 0x1290
0x1223 32 r15 = rsp + 0x4e210 {var_27138}
0x122b 33 eax = [rsp {var_75348}].d
0x122e 34 r14 = 0x2006 {"%d"}
0x1235 35 r12d = 0
0x1238 36 goto 52 @ 0x1255
0x11d5 37 if (eax s<= 0) then 53 @ 0x11c0 else 57 @ 0x11d7
0x149e 38 eax = 0
0x14a0 39 rsp = rsp + 0x75318
0x14a7 40 rbx = pop
0x14a8 41 r12 = pop
0x14aa 42 r13 = pop
0x14ac 43 r14 = pop
0x14ae 44 r15 = pop
0x14b0 45 rbp = pop
0x14b1 46 <return> jump(pop)
0x1290 47 eax = [rsp {var_75348}].d
0x1293 48 rbx = rsp + 0x27120 {var_4e228}
0x129b 49 r14 = rsp + 0x27110 {var_4e238}
0x12a3 50 r13d = 0
0x12a6 51 goto 60 @ 0x12d4
0x1255 52 if (eax s<= 0) then 61 @ 0x1240 else 65 @ 0x1257
0x11c0 53 r12 = r12 + 1
0x11c4 54 rdx = sx.q(ecx)
0x11c7 55 r15 = r15 + 0x320
0x11d1 56 if (r12 s>= rdx) then 18 @ 0x1205 else 37 @ 0x11d5
0x11d7 57 rbx = r15
0x11da 58 ebp = 0
0x11dc 59 goto 68 @ 0x11e0
0x12d4 60 if (eax s<= 0) then 76 @ 0x12b4 else 81 @ 0x12d6
0x1240 61 r12 = r12 + 1
0x1244 62 rdx = sx.q(ecx)
0x1247 63 r15 = r15 + 0x320
0x1251 64 if (r12 s>= rdx) then 30 @ 0x1284 else 52 @ 0x1255
0x1257 65 rbx = r15
0x125a 66 ebp = 0
0x125c 67 goto 84 @ 0x1260
0x11e0 68 rdi = r14
0x11e3 69 rsi = rbx
0x11e6 70 eax = 0
0x11e8 71 call(0x1050)
0x11ed 72 rbp = rbp + 1
0x11f1 73 rax = sx.q([rsp + 8 {var_75340}].d)
0x11f6 74 rbx = rbx + 4
0x11fd 75 if (rbp s< rax) then 68 @ 0x11e0 else 92 @ 0x11ff
0x12b4 76 r13 = r13 + 1
0x12b8 77 rdx = sx.q(ecx)
0x12bb 78 rbx = rbx + 0x320
0x12c2 79 r14 = r14 + 0x320
0x12cc 80 if (r13 s>= rdx) then 38 @ 0x149e else 60 @ 0x12d4
0x12d6 81 r15 = rsp + 0x4e210 {var_27138}
0x12de 82 r12d = 0
0x12e1 83 goto 94 @ 0x133a
0x1260 84 rdi = r14
0x1263 85 rsi = rbx
0x1266 86 eax = 0
0x1268 87 call(0x1050)
0x126d 88 rbp = rbp + 1
0x1271 89 rax = sx.q([rsp {var_75348}].d)
0x1275 90 rbx = rbx + 4
0x127c 91 if (rbp s< rax) then 84 @ 0x1260 else 96 @ 0x127e
0x11ff 92 ecx = [rsp + 4 {var_75344}].d
0x1203 93 goto 53 @ 0x11c0
0x133a 94 ecx = [rsp + 8 {var_75340}].d
0x1340 95 if (ecx s<= 0) then 98 @ 0x12f6 else 106 @ 0x1342
0x127e 96 ecx = [rsp + 0xc {var_7533c}].d
0x1282 97 goto 61 @ 0x1240
0x12f6 98 eax = eax - 1
0x12f9 99 rcx = r13 * 0x320
0x1300 100 cond:0 = r12 == rax
0x1303 101 rax = rsp + rcx + 0x10
0x1308 102 esi = [rax + (r12 << 2)].d
0x130c 103 rdi = 0x200d {"%d "}
0x1313 104 rax = 0x2009 {"%d\n"}
0x131a 105 if (cond:0) then 111 else 113 @ 0x131e
0x1342 106 rdx = r13 * 0x320
0x1349 107 r8 = rsp + rdx
0x134d 108 r8 = r8 + 0x10
0x1351 109 edx = [r8 + (r12 << 2)].d
0x1358 110 if (ecx u>= 8) then 119 @ 0x1370 else 128 @ 0x135a
0x131a 111 rdi = rax
0x131a 112 goto 113 @ 0x131e
0x131e 113 eax = 0
0x1320 114 call(0x1030)
0x1325 115 r12 = r12 + 1
0x1329 116 rax = sx.q([rsp {var_75348}].d)
0x132d 117 r15 = r15 + 4
0x1334 118 if (r12 s>= rax) then 130 @ 0x12b0 else 94 @ 0x133a
0x1370 119 esi = ecx
0x1372 120 esi = esi & 0xfffffff8
0x1375 121 xmm0 = edx
0x1379 122 rdi = rcx << 2
0x1381 123 rdi = rdi & 0xffffffffffffffe0
0x1385 124 xmm1 = 0
0x1389 125 ebp = 0
0x138b 126 rdx = r15
0x138e 127 goto 132 @ 0x1390
0x135a 128 esi = 0
0x135c 129 goto 167 @ 0x146e
0x12b0 130 ecx = [rsp + 4 {var_75344}].d
0x12b0 131 goto 76 @ 0x12b4
0x1390 132 xmm3 = [rbx + rbp - 0x10].o
0x1396 133 xmm2 = [rbx + rbp].o
0x139b 134 xmm4 = [rdx + 0x960].d
0x13a3 135 xmm5 = [rdx + 0x640].d
0x13ab 136 xmm5 = _mm_unpacklo_epi32(xmm5, xmm4.q)
0x13af 137 xmm4 = [rdx + 0x320].d
0x13b7 138 xmm6 = [rdx].d
0x13bb 139 xmm6 = _mm_unpacklo_epi32(xmm6, xmm4.q)
0x13bf 140 xmm6 = _mm_unpacklo_epi64(xmm6, xmm5.q)
0x13c3 141 xmm4 = [rdx + 0x15e0].d
0x13cb 142 xmm5 = [rdx + 0x12c0].d
0x13d3 143 xmm5 = _mm_unpacklo_epi32(xmm5, xmm4.q)
0x13d7 144 xmm4 = [rdx + 0xfa0].d
0x13df 145 xmm7 = [rdx + 0xc80].d
0x13e7 146 xmm7 = _mm_unpacklo_epi32(xmm7, xmm4.q)
0x13eb 147 xmm7 = _mm_unpacklo_epi64(xmm7, xmm5.q)
0x13ef 148 xmm4 = _mm_shuffle_epi32(xmm6, 0xf5)
0x13f4 149 xmm6 = _mm_mul_epu32(xmm6, xmm3)
0x13f8 150 xmm5 = _mm_shuffle_epi32(xmm6, 0xe8)
0x13fd 151 xmm3 = _mm_shuffle_epi32(xmm3, 0xf5)
0x1402 152 xmm3 = _mm_mul_epu32(xmm3, xmm4)
0x1406 153 xmm3 = _mm_shuffle_epi32(xmm3, 0xe8)
0x140b 154 xmm5 = _mm_unpacklo_epi32(xmm5, xmm3.q)
0x140f 155 xmm0 = _mm_add_epi32(xmm0, xmm5)
0x1413 156 xmm3 = _mm_shuffle_epi32(xmm7, 0xf5)
0x1418 157 xmm7 = _mm_mul_epu32(xmm7, xmm2)
0x141c 158 xmm4 = _mm_shuffle_epi32(xmm7, 0xe8)
0x1421 159 xmm2 = _mm_shuffle_epi32(xmm2, 0xf5)
0x1426 160 xmm2 = _mm_mul_epu32(xmm2, xmm3)
0x142a 161 xmm2 = _mm_shuffle_epi32(xmm2, 0xe8)
0x142f 162 xmm4 = _mm_unpacklo_epi32(xmm4, xmm2.q)
0x1433 163 xmm1 = _mm_add_epi32(xmm1, xmm4)
0x1437 164 rdx = rdx + 0x1900
0x143e 165 rbp = rbp + 0x20
0x1445 166 if (rdi != rbp) then 132 @ 0x1390 else 170 @ 0x144b
0x146e 167 rdi = rsi * 0x320
0x1475 168 rdi = rdi + r15
0x1478 169 goto 177 @ 0x1480
0x144b 170 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x144f 171 xmm0 = _mm_shuffle_epi32(xmm1, 0xee)
0x1454 172 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x1458 173 xmm1 = _mm_shuffle_epi32(xmm0, 0x55)
0x145d 174 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x1461 175 edx = xmm1.d
0x1468 176 if (rsi == rcx) then 183 @ 0x12f0 else 167 @ 0x146e
0x1480 177 ebp = [rdi].d
0x1482 178 ebp = ebp * [r14 + (rsi << 2)].d
0x1487 179 edx = edx + ebp
0x1489 180 rsi = rsi + 1
0x148d 181 rdi = rdi + 0x320
0x1497 182 if (rcx != rsi) then 177 @ 0x1480 else 186 @ 0x1499
0x12f0 183 rcx = r8 + (r12 << 2)
0x12f4 184 [rcx].d = edx
0x12f4 185 goto 98 @ 0x12f6
0x1499 186 goto 183 @ 0x12f0
int64_t _fini():
0x14b8 0 rsp = rsp - 8
0x14bc 1 rsp = rsp + 8
0x14c0 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
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 {"AWAVAUATSH0"}
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(r13)
0x1166 3 push(r12)
0x1168 4 push(rbx)
0x1169 5 rsp = rsp - 0x330
0x1170 6 rdi = 0x2004 {"%d"}
0x1177 7 rsi = rsp + 4 {var_354}
0x117c 8 eax = 0
0x117e 9 call(0x1040)
0x1183 10 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x118c 11 if ([rsp + 4 {var_354}].d s<= 0) then 12 @ 0x12a4 else 22 @ 0x1192
0x12a4 12 rdi = 0x200f {"%.4lf\n"}
0x12ab 13 al = 1
0x12ad 14 call(0x1030)
0x12b2 15 rsp = rsp + 0x330
0x12b9 16 rbx = pop
0x12ba 17 r12 = pop
0x12bc 18 r13 = pop
0x12be 19 r14 = pop
0x12c0 20 r15 = pop
0x12c2 21 <return> jump(pop)
0x1192 22 rbx = rsp + 0x10 {var_348}
0x1197 23 r14 = 0x2007 {"%lf %lf"}
0x119e 24 r15d = 0
0x11ab 25 goto 26 @ 0x11b0
0x11b0 26 rdx = rbx + 8
0x11b4 27 rdi = r14
0x11b7 28 rsi = rbx
0x11ba 29 eax = 0
0x11bc 30 call(0x1040)
0x11c1 31 r15 = r15 + 1
0x11c5 32 rax = sx.q([rsp + 4 {var_354}].d)
0x11ca 33 rbx = rbx + 0x10
0x11d1 34 if (r15 s< rax) then 26 @ 0x11b0 else 35 @ 0x11d3
0x11d3 35 cond:0 = eax s<= 0
0x11d5 36 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x11d9 37 if (cond:0) then 12 @ 0x12a4 else 38 @ 0x11df
0x11df 38 r14 = rsp + 0x28 {var_330}
0x11e4 39 xmm2 = _mm_xor_pd(xmm2, xmm2)
0x11e8 40 r15d = 0
0x11eb 41 xmm3 = _mm_xor_pd(xmm3, xmm3)
0x11ef 42 goto 43 @ 0x121c
0x121c 43 ecx = eax
0x121e 44 ecx = ecx - r15d
0x1224 45 if (ecx s< 2) then 46 @ 0x1200 else 48 @ 0x1226
0x1200 46 xmm0 = xmm3
0x1200 47 goto 55 @ 0x1204
0x1226 48 rax = r15
0x1229 49 rax = rax << 4
0x122d 50 r12 = rsp + rax
0x1231 51 r12 = r12 + 0x10
0x1235 52 r13d = 1
0x123b 53 rbx = r14
0x123e 54 goto 60 @ 0x1276
0x1204 55 r15 = r15 + 1
0x1208 56 rcx = sx.q(eax)
0x120b 57 r14 = r14 + 0x10
0x120f 58 xmm3 = xmm0
0x1216 59 if (r15 s>= rcx) then 12 @ 0x12a4 else 43 @ 0x121c
0x1276 60 xmm0 = zx.o([r12].q)
0x127c 61 xmm0.q = xmm0.q f- fconvert.t([rbx - 8].q)
0x1281 62 xmm1 = zx.o([r12 + 8].q)
0x1288 63 xmm1.q = xmm1.q f- fconvert.t([rbx].q)
0x128c 64 xmm1.q = xmm1.q f* xmm1.q
0x1290 65 xmm0.q = xmm0.q f* xmm0.q
0x1294 66 xmm0.q = xmm0.q f+ xmm1.q
0x1298 67 flag:p = is_unordered.q(xmm0.q, xmm2.q)
0x1298 68 flag:c = xmm0.q f< xmm2.q | is_unordered.q(xmm0.q, xmm2.q)
0x1298 69 flag:z = xmm0.q f== xmm2.q | is_unordered.q(xmm0.q, xmm2.q)
0x1298 70 flag:s = 0
0x1298 71 flag:o = 0
0x1298 72 flag:a = 0
0x129c 73 if (flag:c) then 74 @ 0x1240 else 79 @ 0x129e
0x1240 74 [rsp + 8 {var_350_1}].q = xmm3.q
0x1246 75 call(0x1050)
0x124b 76 xmm3 = zx.o([rsp + 8 {var_350_1}].q)
0x1251 77 xmm2 = _mm_xor_pd(xmm2, xmm2)
0x1251 78 goto 81 @ 0x1255
0x129e 79 xmm0 = _mm_sqrt_sd(xmm0.q)
0x12a2 80 goto 81 @ 0x1255
0x1255 81 xmm0 = _mm_max_sd(xmm0.q, xmm3.q)
0x1259 82 r13 = r13 + 1
0x125d 83 eax = [rsp + 4 {var_354}].d
0x1261 84 ecx = eax
0x1263 85 ecx = ecx - r15d
0x1266 86 rcx = sx.q(ecx)
0x1269 87 rbx = rbx + 0x10
0x126d 88 xmm3 = xmm0
0x1274 89 if (r13 s>= rcx) then 55 @ 0x1204 else 60 @ 0x1276
int64_t _fini():
0x12c8 0 rsp = rsp - 8
0x12cc 1 rsp = rsp + 8
0x12d0 2 <return> jump(pop)
| POJ_70 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
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 - 0x420
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 [rbp - 0x420 {var_428}].d = 0
0x117c 5 rdi = 0x2010 {"%lf"}
0x1183 6 rsi = rbp - 0x408 {var_410}
0x118a 7 al = 0
0x118c 8 call(0x1050)
0x1191 9 rsi = rbp - 0x200 {var_208}
0x1198 10 rdx = rbp - 0x400 {var_408}
0x119f 11 rdi = 0x2014 {"%s%s"}
0x11a6 12 al = 0
0x11a8 13 call(0x1050)
0x11ad 14 rdi = rbp - 0x200 {var_208}
0x11b4 15 call(0x1040)
0x11b9 16 [rbp - 0x414 {var_41c}].d = eax
0x11bf 17 rdi = rbp - 0x400 {var_408}
0x11c6 18 call(0x1040)
0x11cb 19 [rbp - 0x418 {var_420}].d = eax
0x11d1 20 [rbp - 0x41c {var_424}].d = 0
0x11d1 21 goto 22 @ 0x11db
0x11db 22 rax = sx.q([rbp - 0x41c {var_424}].d)
0x11ea 23 if ([rbp + rax - 0x400].b == 0) then 24 @ 0x1329 else 34 @ 0x11f0
0x1329 24 xmm1.q = float.d([rbp - 0x420 {var_428}].d)
0x1331 25 xmm0 = zx.o([0x2008].q)
0x1339 26 xmm0.q = xmm0.q f* xmm1.q
0x133d 27 xmm1.q = float.d([rbp - 0x414 {var_41c}].d)
0x1345 28 xmm0.q = xmm0.q f/ xmm1.q
0x1349 29 [rbp - 0x410 {var_418}].q = xmm0.q
0x1351 30 eax = [rbp - 0x420 {var_428}].d
0x1357 31 ecx = [rbp - 0x414 {var_41c}].d
0x135d 32 ecx = ecx + 1
0x1362 33 if (eax != ecx) then 37 @ 0x137b else 45 @ 0x1368
0x11f0 34 rax = sx.q([rbp - 0x41c {var_424}].d)
0x11f7 35 eax = sx.d([rbp + rax - 0x200].b)
0x1202 36 if (eax == 0x41) then 49 @ 0x1250 else 52 @ 0x1208
0x137b 37 xmm0 = zx.o([rbp - 0x410 {var_418}].q)
0x1383 38 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp - 0x408 {var_410}].q))
0x1383 39 flag:c = xmm0.q f< fconvert.t([rbp - 0x408 {var_410}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x408 {var_410}].q))
0x1383 40 flag:z = xmm0.q f== fconvert.t([rbp - 0x408 {var_410}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x408 {var_410}].q))
0x1383 41 flag:s = 0
0x1383 42 flag:o = 0
0x1383 43 flag:a = 0
0x138b 44 if (flag:z || flag:c) then 55 @ 0x13a4 else 64 @ 0x1391
0x1368 45 rdi = 0x2019 {"error"}
0x136f 46 al = 0
0x1371 47 call(0x1030)
0x1376 48 goto 68 @ 0x13d6
0x1250 49 rax = sx.q([rbp - 0x41c {var_424}].d)
0x1257 50 eax = sx.d([rbp + rax - 0x400].b)
0x1262 51 if (eax == 0x41) then 72 @ 0x12b0 else 74 @ 0x1268
0x1208 52 rax = sx.q([rbp - 0x41c {var_424}].d)
0x120f 53 eax = sx.d([rbp + rax - 0x200].b)
0x121a 54 if (eax == 0x54) then 49 @ 0x1250 else 77 @ 0x1220
0x13a4 55 xmm1 = zx.o([rbp - 0x410 {var_418}].q)
0x13ac 56 xmm0 = zx.o([rbp - 0x408 {var_410}].q)
0x13b4 57 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x13b4 58 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x13b4 59 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x13b4 60 flag:s = 0
0x13b4 61 flag:o = 0
0x13b4 62 flag:a = 0
0x13b8 63 if (flag:c) then 80 @ 0x13cc else 81 @ 0x13be
0x1391 64 rdi = 0x201f {"yes"}
0x1398 65 al = 0
0x139a 66 call(0x1030)
0x139f 67 goto 85 @ 0x13d1
0x13d6 68 eax = 0
0x13d8 69 rsp = rsp + 0x420
0x13df 70 rbp = pop
0x13e0 71 <return> jump(pop)
0x12b0 72 eax = [rbp - 0x414 {var_41c}].d
0x12bc 73 if (eax == [rbp - 0x418 {var_420}].d) then 86 @ 0x12d6 else 91 @ 0x12c2
0x1268 74 rax = sx.q([rbp - 0x41c {var_424}].d)
0x126f 75 eax = sx.d([rbp + rax - 0x400].b)
0x127a 76 if (eax == 0x54) then 72 @ 0x12b0 else 95 @ 0x1280
0x1220 77 rax = sx.q([rbp - 0x41c {var_424}].d)
0x1227 78 eax = sx.d([rbp + rax - 0x200].b)
0x1232 79 if (eax == 0x47) then 49 @ 0x1250 else 98 @ 0x1238
0x13cc 80 goto 85 @ 0x13d1
0x13be 81 rdi = 0x2023 {"no"}
0x13c5 82 al = 0
0x13c7 83 call(0x1030)
0x13c7 84 goto 80 @ 0x13cc
0x13d1 85 goto 68 @ 0x13d6
0x12d6 86 rax = sx.q([rbp - 0x41c {var_424}].d)
0x12dd 87 eax = sx.d([rbp + rax - 0x200].b)
0x12e5 88 rcx = sx.q([rbp - 0x41c {var_424}].d)
0x12ec 89 ecx = sx.d([rbp + rcx - 0x400].b)
0x12f6 90 if (eax != ecx) then 101 @ 0x130b else 102 @ 0x12fc
0x12c2 91 eax = [rbp - 0x414 {var_41c}].d
0x12c8 92 eax = eax + 1
0x12cb 93 [rbp - 0x420 {var_428}].d = eax
0x12d1 94 goto 24 @ 0x1329
0x1280 95 rax = sx.q([rbp - 0x41c {var_424}].d)
0x1287 96 eax = sx.d([rbp + rax - 0x400].b)
0x1292 97 if (eax == 0x47) then 72 @ 0x12b0 else 106 @ 0x1298
0x1238 98 rax = sx.q([rbp - 0x41c {var_424}].d)
0x123f 99 eax = sx.d([rbp + rax - 0x200].b)
0x124a 100 if (eax != 0x43) then 91 @ 0x12c2 else 49 @ 0x1250
0x130b 101 goto 109 @ 0x1310
0x12fc 102 eax = [rbp - 0x420 {var_428}].d
0x1302 103 eax = eax + 1
0x1305 104 [rbp - 0x420 {var_428}].d = eax
0x1305 105 goto 101 @ 0x130b
0x1298 106 rax = sx.q([rbp - 0x41c {var_424}].d)
0x129f 107 eax = sx.d([rbp + rax - 0x400].b)
0x12aa 108 if (eax != 0x43) then 91 @ 0x12c2 else 72 @ 0x12b0
0x1310 109 goto 110 @ 0x1315
0x1315 110 eax = [rbp - 0x41c {var_424}].d
0x131b 111 eax = eax + 1
0x131e 112 [rbp - 0x41c {var_424}].d = eax
0x1324 113 goto 22 @ 0x11db
int64_t _fini():
0x13e8 0 rsp = rsp - 8
0x13ec 1 rsp = rsp + 8
0x13f0 2 <return> jump(pop)
| POJ_5 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t 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 {"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 - 0x3ec0
0x116b 3 rdi = 0x2004 {"%d"}
0x1172 4 rsi = rbp - 4 {var_c}
0x1176 5 al = 0
0x1178 6 call(0x1040)
0x1178 7 goto 8 @ 0x1181
0x1181 8 if ([rbp - 4 {var_c}].d == 0) then 9 @ 0x127d else 12 @ 0x1187
0x127d 9 rsp = rsp + 0x3ec0
0x1284 10 rbp = pop
0x1285 11 <return> jump(pop)
0x1187 12 rdi = 0x2004 {"%d"}
0x118e 13 rsi = rbp - 8 {var_10}
0x1192 14 al = 0
0x1194 15 call(0x1040)
0x1199 16 [rbp - 0xc {var_14_1}].d = 0
0x1199 17 goto 18 @ 0x11a0
0x11a0 18 eax = [rbp - 0xc {var_14_1}].d
0x11a6 19 if (eax s>= [rbp - 8 {var_10}].d) then 20 @ 0x11da else 26 @ 0x11ac
0x11da 20 rdi = rbp - 0x1f60 {var_1f68}
0x11e1 21 esi = [rbp - 8 {var_10}].d
0x11e4 22 call(0x1290)
0x11e9 23 [rbp - 0x1f68 {var_1f70_1}].q = xmm0.q
0x11f1 24 [rbp - 0xc {var_14_2}].d = 0
0x11f1 25 goto 37 @ 0x11f8
0x11ac 26 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x11b0 27 rsi = rbp - 0x1f60 {var_1f68}
0x11b7 28 rax = rax << 3
0x11bb 29 rsi = rsi + rax
0x11be 30 rdi = 0x2007 {"%lf"}
0x11c5 31 al = 0
0x11c7 32 call(0x1040)
0x11cc 33 eax = [rbp - 0xc {var_14_1}].d
0x11cf 34 eax = eax + 1
0x11d2 35 [rbp - 0xc {var_14_1}].d = eax
0x11d5 36 goto 18 @ 0x11a0
0x11f8 37 eax = [rbp - 0xc {var_14_2}].d
0x11fe 38 if (eax s>= [rbp - 8 {var_10}].d) then 39 @ 0x124d else 50 @ 0x1204
0x124d 39 rdi = rbp - 0x3eb0 {var_3eb8}
0x1254 40 esi = [rbp - 8 {var_10}].d
0x1257 41 call(0x1290)
0x125c 42 call(0x1050)
0x1261 43 rdi = 0x200b {"%.5lf\n"}
0x1268 44 al = 1
0x126a 45 call(0x1030)
0x126f 46 eax = [rbp - 4 {var_c}].d
0x1272 47 eax = eax - 1
0x1275 48 [rbp - 4 {var_c}].d = eax
0x1278 49 goto 8 @ 0x1181
0x1204 50 rax = sx.q([rbp - 0xc {var_14_2}].d)
0x1208 51 xmm0 = zx.o([rbp + (rax << 3) - 0x1f60].q)
0x1211 52 xmm0.q = xmm0.q f- fconvert.t([rbp - 0x1f68 {var_1f70_1}].q)
0x1219 53 rax = sx.q([rbp - 0xc {var_14_2}].d)
0x121d 54 xmm1 = zx.o([rbp + (rax << 3) - 0x1f60].q)
0x1226 55 xmm1.q = xmm1.q f- fconvert.t([rbp - 0x1f68 {var_1f70_1}].q)
0x122e 56 xmm0.q = xmm0.q f* xmm1.q
0x1232 57 rax = sx.q([rbp - 0xc {var_14_2}].d)
0x1236 58 [rbp + (rax << 3) - 0x3eb0].q = xmm0.q
0x123f 59 eax = [rbp - 0xc {var_14_2}].d
0x1242 60 eax = eax + 1
0x1245 61 [rbp - 0xc {var_14_2}].d = eax
0x1248 62 goto 37 @ 0x11f8
uint64_t aver(int64_t arg1, int32_t arg2):
0x1290 0 push(rbp)
0x1291 1 rbp = rsp {__saved_rbp}
0x1294 2 [rbp - 8 {var_10}].q = rdi
0x1298 3 [rbp - 0xc {var_14}].d = esi
0x129b 4 xmm0 = 0
0x129e 5 [rbp - 0x18 {var_20}].q = xmm0.q
0x12a3 6 [rbp - 0x1c {var_24}].d = 0
0x12a3 7 goto 8 @ 0x12aa
0x12aa 8 eax = [rbp - 0x1c {var_24}].d
0x12b0 9 if (eax s>= [rbp - 0xc {var_14}].d) then 10 @ 0x12db else 15 @ 0x12b6
0x12db 10 xmm0 = zx.o([rbp - 0x18 {var_20}].q)
0x12e0 11 xmm1.q = float.d([rbp - 0xc {var_14}].d)
0x12e5 12 xmm0.q = xmm0.q f/ xmm1.q
0x12e9 13 rbp = pop
0x12ea 14 <return> jump(pop)
0x12b6 15 rax = [rbp - 8 {var_10}].q
0x12ba 16 rcx = sx.q([rbp - 0x1c {var_24}].d)
0x12be 17 xmm0 = zx.o([rax + (rcx << 3)].q)
0x12c3 18 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x18 {var_20}].q)
0x12c8 19 [rbp - 0x18 {var_20}].q = xmm0.q
0x12cd 20 eax = [rbp - 0x1c {var_24}].d
0x12d0 21 eax = eax + 1
0x12d3 22 [rbp - 0x1c {var_24}].d = eax
0x12d6 23 goto 8 @ 0x12aa
int64_t _fini():
0x12f0 0 rsp = rsp - 8
0x12f4 1 rsp = rsp + 8
0x12f8 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)
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 {"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 - 0x4c8
0x116e 5 rdi = rsp + 0x10 {var_4d8}
0x1173 6 ebx = 0
0x1175 7 edx = 0x190 {""}
0x117a 8 esi = 0
0x117c 9 call(0x1040)
0x1181 10 rdi = 0x2007 {"%d"}
0x1188 11 rsi = rsp + 0xc {var_4dc}
0x118d 12 eax = 0
0x118f 13 call(0x1050)
0x1199 14 if ([rsp + 0xc {var_4dc}].d s<= 0) then 15 @ 0x1412 else 26 @ 0x119f
0x1412 15 rdi = 0x2007 {"%d"}
0x1419 16 esi = ebx
0x141b 17 eax = 0
0x141d 18 call(0x1030)
0x1422 19 eax = 0
0x1424 20 rsp = rsp + 0x4c8
0x142b 21 rbx = pop
0x142c 22 r12 = pop
0x142e 23 r14 = pop
0x1430 24 r15 = pop
0x1432 25 <return> jump(pop)
0x119f 26 r14 = rsp + 0x1a0 {var_348}
0x11a7 27 r12 = rsp + 0x330 {var_1b8}
0x11af 28 r15 = 0x2004 {"%d %d"}
0x11b6 29 ebx = 0
0x11b8 30 goto 31 @ 0x11c0
0x11c0 31 rdi = r15
0x11c3 32 rsi = r12
0x11c6 33 rdx = r14
0x11c9 34 eax = 0
0x11cb 35 call(0x1050)
0x11d0 36 rbx = rbx + 1
0x11d4 37 rax = sx.q([rsp + 0xc {var_4dc}].d)
0x11d9 38 r14 = r14 + 4
0x11dd 39 r12 = r12 + 4
0x11e4 40 if (rbx s< rax) then 31 @ 0x11c0 else 41 @ 0x11e6
0x11e6 41 eax = eax
0x11ea 42 if (eax s<= 0) then 43 @ 0x1234 else 45 @ 0x11ef
0x1234 43 ebx = 0
0x1236 44 goto 15 @ 0x1412
0x11ef 45 if (eax != 1) then 46 @ 0x123b else 51 @ 0x11f1
0x123b 46 esi = eax
0x123d 47 esi = esi & 0xfffffffe
0x1240 48 ecx = 0
0x1242 49 edx = 0
0x1244 50 goto 54 @ 0x1259
0x11f1 51 ecx = 0
0x11f3 52 edx = 0
0x11f3 53 goto 58 @ 0x11f7
0x1259 54 ebx = [rsp + (rcx << 2) + 0x330].d
0x1260 55 ebx = ebx - 0x5a
0x1263 56 edi = 0
0x126b 57 if (ebx u> 0x32) then 59 @ 0x128a else 63 @ 0x126d
0x11f7 58 if ((al & 1) == 0) then 67 @ 0x1220 else 68 @ 0x11f9
0x128a 59 ebx = [rsp + (rcx << 2) + 0x334].d
0x1291 60 ebx = ebx - 0x5a
0x1294 61 edx = 0
0x1299 62 if (ebx u> 0x32) then 71 @ 0x1250 else 73 @ 0x129b
0x126d 63 ebx = [rsp + (rcx << 2) + 0x1a0].d
0x1274 64 ebx = ebx - 0x3c
0x1277 65 edi = 0
0x127f 66 if (ebx u> 0x1e) then 59 @ 0x128a else 76 @ 0x1281
0x1220 67 if (eax s<= 0) then 43 @ 0x1234 else 80 @ 0x1225
0x11f9 68 esi = [rsp + (rcx << 2) + 0x330].d
0x1200 69 esi = esi - 0x5a
0x1206 70 if (esi u> 0x32) then 67 @ 0x1220 else 81 @ 0x1208
0x1250 71 rcx = rcx + 2
0x1257 72 if (rsi == rcx) then 58 @ 0x11f7 else 54 @ 0x1259
0x129b 73 ebx = [rsp + (rcx << 2) + 0x1a4].d
0x12a2 74 ebx = ebx - 0x3c
0x12a8 75 if (ebx u> 0x1e) then 71 @ 0x1250 else 84 @ 0x12aa
0x1281 76 edx = edx + 1
0x1284 77 [rsp + (rcx << 2) + 0x10].d = edx
0x1288 78 edi = edx
0x1288 79 goto 59 @ 0x128a
0x1225 80 if (eax u>= 8) then 88 @ 0x12b5 else 95 @ 0x122b
0x1208 81 esi = [rsp + (rcx << 2) + 0x1a0].d
0x120f 82 esi = esi - 0x3c
0x1215 83 if (esi u> 0x1e) then 67 @ 0x1220 else 98 @ 0x1217
0x12aa 84 edi = edi + 1
0x12ad 85 [rsp + (rcx << 2) + 0x14].d = edi
0x12b1 86 edx = edi
0x12b3 87 goto 71 @ 0x1250
0x12b5 88 ecx = eax
0x12b7 89 ecx = ecx & 0xfffffff8
0x12ba 90 rsi = rcx - 8
0x12be 91 rdx = rsi
0x12c1 92 rdx = rdx u>> 3
0x12c5 93 rdx = rdx + 1
0x12cc 94 if (rsi == 0) then 101 @ 0x1433 else 105 @ 0x12d2
0x122b 95 ecx = 0
0x122d 96 ebx = 0
0x122f 97 goto 111 @ 0x1400
0x1217 98 edx = edx + 1
0x121a 99 [rsp + (rcx << 2) + 0x10].d = edx
0x121a 100 goto 67 @ 0x1220
0x1433 101 xmm0 = 0
0x1437 102 esi = 0
0x1439 103 xmm1 = 0
0x1440 104 if ((dl & 1) != 0) then 113 @ 0x1367 else 128 @ 0x1446
0x12d2 105 rdi = rdx
0x12d5 106 rdi = rdi & 0xfffffffffffffffe
0x12d9 107 xmm0 = 0
0x12dd 108 esi = 0
0x12df 109 xmm1 = 0
0x12ed 110 goto 129 @ 0x12f0
0x1400 111 edx = [rsp + (rcx << 2) + 0x10].d
0x1406 112 if (edx s> ebx) then 157 else 159 @ 0x1409
0x1367 113 xmm2 = [rsp + (rsi << 2) + 0x10].o
0x136d 114 xmm3 = [rsp + (rsi << 2) + 0x20].o
0x1373 115 xmm4 = xmm2
0x1377 116 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0)
0x137b 117 xmm2 = xmm2 & xmm4
0x137f 118 xmm4 = xmm4 & not.o(xmm0)
0x1383 119 xmm4 = xmm4 | xmm2
0x1387 120 xmm2 = xmm3
0x138b 121 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x138f 122 xmm3 = xmm3 & xmm2
0x1393 123 xmm2 = xmm2 & not.o(xmm1)
0x1397 124 xmm2 = xmm2 | xmm3
0x139b 125 xmm0 = xmm4
0x139f 126 xmm1 = xmm2
0x139f 127 goto 161 @ 0x13a3
0x1446 128 goto 161 @ 0x13a3
0x12f0 129 xmm2 = [rsp + (rsi << 2) + 0x10].o
0x12f6 130 xmm3 = [rsp + (rsi << 2) + 0x20].o
0x12fc 131 xmm4 = [rsp + (rsi << 2) + 0x30].o
0x1302 132 xmm5 = [rsp + (rsi << 2) + 0x40].o
0x1308 133 xmm6 = xmm2
0x130c 134 xmm6 = _mm_cmpgt_epi32(xmm6, xmm0)
0x1310 135 xmm2 = xmm2 & xmm6
0x1314 136 xmm6 = xmm6 & not.o(xmm0)
0x1318 137 xmm6 = xmm6 | xmm2
0x131c 138 xmm2 = xmm3
0x1320 139 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x1324 140 xmm3 = xmm3 & xmm2
0x1328 141 xmm2 = xmm2 & not.o(xmm1)
0x132c 142 xmm2 = xmm2 | xmm3
0x1330 143 xmm0 = xmm4
0x1334 144 xmm0 = _mm_cmpgt_epi32(xmm0, xmm6)
0x1338 145 xmm4 = xmm4 & xmm0
0x133c 146 xmm0 = xmm0 & not.o(xmm6)
0x1340 147 xmm0 = xmm0 | xmm4
0x1344 148 xmm1 = xmm5
0x1348 149 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2)
0x134c 150 xmm5 = xmm5 & xmm1
0x1350 151 xmm1 = xmm1 & not.o(xmm2)
0x1354 152 xmm1 = xmm1 | xmm5
0x1358 153 rsi = rsi + 0x10
0x135c 154 temp0.q = rdi
0x135c 155 rdi = rdi - 2
0x1360 156 if (temp0.q != 2) then 129 @ 0x12f0 else 180 @ 0x1365
0x1406 157 ebx = edx
0x1406 158 goto 159 @ 0x1409
0x1409 159 rcx = rcx + 1
0x1410 160 if (rax != rcx) then 111 @ 0x1400 else 15 @ 0x1412
0x13a3 161 xmm2 = xmm0
0x13a7 162 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x13ab 163 xmm0 = xmm0 & xmm2
0x13af 164 xmm2 = xmm2 & not.o(xmm1)
0x13b3 165 xmm2 = xmm2 | xmm0
0x13b7 166 xmm0 = _mm_shuffle_epi32(xmm2, 0xee)
0x13bc 167 xmm1 = xmm2
0x13c0 168 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0)
0x13c4 169 xmm2 = xmm2 & xmm1
0x13c8 170 xmm1 = xmm1 & not.o(xmm0)
0x13cc 171 xmm1 = xmm1 | xmm2
0x13d0 172 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x13d5 173 xmm2 = xmm1
0x13d9 174 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0)
0x13dd 175 xmm1 = xmm1 & xmm2
0x13e1 176 xmm2 = xmm2 & not.o(xmm0)
0x13e5 177 xmm2 = xmm2 | xmm1
0x13e9 178 ebx = xmm2.d
0x13f0 179 if (rcx == rax) then 15 @ 0x1412 else 181 @ 0x13fc
0x1365 180 if ((dl & 1) == 0) then 161 @ 0x13a3 else 113 @ 0x1367
0x13fc 181 goto 111 @ 0x1400
int64_t _fini():
0x1450 0 rsp = rsp - 8
0x1454 1 rsp = rsp + 8
0x1458 2 <return> jump(pop)
| POJ_82 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
int32_t scanf(char const* format, ...):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"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 - 0x7a0
0x116f 6 rdi = 0x2004 {"%d%d"}
0x1176 7 rsi = rsp + 0xc {var_7bc}
0x117b 8 rdx = rsp + 8 {var_7c0}
0x1180 9 eax = 0
0x1182 10 call(0x1050)
0x1187 11 eax = [rsp + 0xc {var_7bc}].d
0x118e 12 if (eax s< -1) then 13 @ 0x11e8 else 14 @ 0x1190
0x11e8 13 if ([rsp + 0xc {var_7bc}].d s<= 0) then 18 @ 0x1256 else 19 @ 0x11ea
0x1190 14 r15d = [rsp + 8 {var_7c0}].d
0x1195 15 cond:0 = r15d s>= 0
0x1198 16 ecx = 0xffffffff {""}
0x119d 17 if (cond:0) then 23 else 25 @ 0x11a1
0x1256 18 if ([rsp + 0xc {var_7bc}].d s<= 0) then 31 @ 0x12ee else 39 @ 0x125c
0x11ea 19 r14 = rsp + 0x6c {var_75c}
0x11ef 20 r15d = 1
0x11f5 21 r12 = 0x2006 {"%d"}
0x11fc 22 goto 43 @ 0x121a
0x119d 23 ecx = r15d
0x119d 24 goto 25 @ 0x11a1
0x11a1 25 ecx = ecx + 1
0x11a4 26 r14 = (rcx << 2) + 4
0x11ac 27 eax = eax + 2
0x11af 28 rbx = rax * 0x58
0x11b3 29 ebp = 0
0x11b5 30 goto 44 @ 0x11cd
0x12ee 31 eax = 0
0x12f0 32 rsp = rsp + 0x7a0
0x12f7 33 rbx = pop
0x12f8 34 r12 = pop
0x12fa 35 r14 = pop
0x12fc 36 r15 = pop
0x12fe 37 rbp = pop
0x12ff 38 <return> jump(pop)
0x125c 39 rbp = rsp + 0xc4 {var_704}
0x1264 40 r12d = 1
0x126a 41 r14 = 0x2009 {"%d %d\n"}
0x1271 42 goto 45 @ 0x129b
0x121a 43 if ([rsp + 8 {var_7c0}].d s<= 0) then 46 @ 0x1200 else 52 @ 0x121c
0x11cd 44 if (r15d s< -1) then 55 @ 0x11c0 else 57 @ 0x11cf
0x129b 45 if ([rsp + 8 {var_7c0}].d s<= 0) then 63 @ 0x1280 else 69 @ 0x129d
0x1200 46 rax = r15 + 1
0x1204 47 rcx = sx.q([rsp + 0xc {var_7bc}].d)
0x1209 48 r14 = r14 + 0x58
0x120d 49 cond:1 = r15 s>= rcx
0x1210 50 r15 = rax
0x1213 51 if (cond:1) then 18 @ 0x1256 else 43 @ 0x121a
0x121c 52 rbp = r14
0x121f 53 ebx = 0
0x122b 54 goto 72 @ 0x1230
0x11c0 55 rbp = rbp + 0x58
0x11c7 56 if (rbx == rbp) then 13 @ 0x11e8 else 44 @ 0x11cd
0x11cf 57 rdi = rsp + rbp
0x11d3 58 rdi = rdi + 0x10
0x11d7 59 esi = 0
0x11d9 60 rdx = r14
0x11dc 61 call(0x1040)
0x11e1 62 goto 55 @ 0x11c0
0x1280 63 rax = r12 + 1
0x1285 64 rcx = sx.q([rsp + 0xc {var_7bc}].d)
0x128a 65 rbp = rbp + 0x58
0x128e 66 cond:2 = r12 s>= rcx
0x1291 67 r12 = rax
0x1294 68 if (cond:2) then 31 @ 0x12ee else 45 @ 0x129b
0x129d 69 r15d = (r12 - 1).d
0x12a2 70 ebx = 0
0x12a4 71 goto 80 @ 0x12be
0x1230 72 rdi = r12
0x1233 73 rsi = rbp
0x1236 74 eax = 0
0x1238 75 call(0x1050)
0x123d 76 rax = sx.q([rsp + 8 {var_7c0}].d)
0x1242 77 rbx = rbx + 1
0x1246 78 rbp = rbp + 4
0x124d 79 if (rbx s< rax) then 72 @ 0x1230 else 82 @ 0x124f
0x12be 80 eax = [rbp + (rbx << 2) - 0x58].d
0x12c6 81 if (eax s< [rbp + (rbx << 2)].d) then 83 @ 0x12b0 else 86 @ 0x12cc
0x124f 82 goto 46 @ 0x1200
0x12b0 83 rax = sx.q([rsp + 8 {var_7c0}].d)
0x12b5 84 rbx = rbx + 1
0x12bc 85 if (rbx s>= rax) then 63 @ 0x1280 else 80 @ 0x12be
0x12cc 86 if (eax s< [rbp + (rbx << 2) - 0x54].d) then 83 @ 0x12b0 else 87 @ 0x12d5
0x12d5 87 if (eax s< [rbp + (rbx << 2) - 0xb0].d) then 83 @ 0x12b0 else 88 @ 0x12db
0x12db 88 if (eax s< [rbp + (rbx << 2) - 0x5c].d) then 83 @ 0x12b0 else 89 @ 0x12dd
0x12dd 89 rdi = r14
0x12e0 90 esi = r15d
0x12e3 91 edx = ebx
0x12e5 92 eax = 0
0x12e7 93 call(0x1030)
0x12ec 94 goto 83 @ 0x12b0
int64_t _fini():
0x1304 0 rsp = rsp - 8
0x1308 1 rsp = rsp + 8
0x130c 2 <return> jump(pop)
| POJ_72 |
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 esi = [rsp + 0xc {var_c}].d
0x1171 8 if (esi s>= 0xa) then 9 @ 0x117c else 11 @ 0x1173
0x117c 9 eax = 0xcccccccd {""}
0x118b 10 goto 13 @ 0x1190
0x1173 11 rdi = 0x2004 {"%d"}
0x117a 12 goto 24 @ 0x11d8
0x1190 13 ecx = esi
0x1192 14 edx = (rbx + (rbx << 2)).d
0x1195 15 esi = esi
0x1197 16 rsi = rsi * rax
0x119b 17 rsi = rsi u>> 0x23
0x119f 18 edi = (rsi + rsi).d
0x11a2 19 edi = (rdi + (rdi << 2)).d
0x11a5 20 ebx = ecx
0x11a7 21 ebx = ebx - edi
0x11a9 22 ebx = (rbx + (rdx << 1)).d
0x11af 23 if (ecx u> 9) then 13 @ 0x1190 else 30 @ 0x11b1
0x11d8 24 eax = 0
0x11da 25 call(0x1030)
0x11df 26 eax = 0
0x11e1 27 rsp = rsp + 0x10
0x11e5 28 rbx = pop
0x11e6 29 <return> jump(pop)
0x11b1 30 [rsp + 0xc {var_c}].d = esi
0x11b5 31 esi = neg.d(esi)
0x11b7 32 eax = esi * -0x33333333
0x11bd 33 eax = ror.d(eax, 1)
0x11c4 34 if (eax u< 0x1999999a) then 35 @ 0x11cf else 37 @ 0x11c6
0x11cf 35 rdi = 0x2007 {"%03d"}
0x11cf 36 goto 39 @ 0x11d6
0x11c6 37 rdi = 0x2004 {"%d"}
0x11cd 38 goto 39 @ 0x11d6
0x11d6 39 esi = ebx
0x11d6 40 goto 24 @ 0x11d8
int64_t _fini():
0x11ec 0 rsp = rsp - 8
0x11f0 1 rsp = rsp + 8
0x11f4 2 <return> jump(pop)
| POJ_16 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"AWAVATSH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(r15)
0x1152 1 push(r14)
0x1154 2 push(r12)
0x1156 3 push(rbx)
0x1157 4 rsp = rsp - 0x61a98
0x115e 5 rdi = 0x2005 {"%d"}
0x1165 6 r15d = 0
0x1168 7 rsi = rsp + 8 {var_61ab0}
0x116d 8 eax = 0
0x116f 9 call(0x1040)
0x1179 10 if ([rsp + 8 {var_61ab0}].d s<= 0) then 11 @ 0x11af else 17 @ 0x117b
0x11af 11 rdi = 0x2005 {"%d"}
0x11b6 12 rsi = rsp + 0xc {var_61aac}
0x11bb 13 eax = 0
0x11bd 14 call(0x1040)
0x11c2 15 eax = [rsp + 8 {var_61ab0}].d
0x11c8 16 if (eax s<= 0) then 21 @ 0x1339 else 23 @ 0x11ce
0x117b 17 r12 = rsp + 0x10 {var_61aa8}
0x1180 18 r14 = 0x2005 {"%d"}
0x1187 19 ebx = 0
0x1189 20 goto 25 @ 0x1190
0x1339 21 r15d = r15d + 1
0x1340 22 if (r15d s>= eax) then 33 @ 0x13b4 else 40 @ 0x1342
0x11ce 23 ecx = [rsp + 0xc {var_61aac}].d
0x11d5 24 if (eax u>= 8) then 43 @ 0x11de else 51 @ 0x11d7
0x1190 25 rdi = r14
0x1193 26 rsi = r12
0x1196 27 eax = 0
0x1198 28 call(0x1040)
0x119d 29 rbx = rbx + 1
0x11a1 30 rax = sx.q([rsp + 8 {var_61ab0}].d)
0x11a6 31 r12 = r12 + 4
0x11ad 32 if (rbx s< rax) then 25 @ 0x1190 else 11 @ 0x11af
0x13b4 33 eax = 0
0x13b6 34 rsp = rsp + 0x61a98
0x13bd 35 rbx = pop
0x13be 36 r12 = pop
0x13c0 37 r14 = pop
0x13c2 38 r15 = pop
0x13c4 39 <return> jump(pop)
0x1342 40 ebx = r15d
0x1345 41 r14 = 0x2004 {" %d"}
0x134c 42 goto 53 @ 0x1358
0x11de 43 edx = eax
0x11e0 44 edx = edx & 0xfffffff8
0x11e3 45 xmm0 = ecx
0x11e7 46 xmm0 = _mm_shuffle_epi32(xmm0, 0)
0x11ec 47 rsi = rax << 2
0x11f4 48 rsi = rsi & 0xffffffffffffffe0
0x11f8 49 edi = 0
0x11fa 50 goto 55 @ 0x120d
0x11d7 51 edx = 0
0x11d9 52 goto 59 @ 0x138d
0x1358 53 esi = [rsp + (rbx << 2) + 0x10].d
0x1362 54 if (esi == 0xffdc) then 60 @ 0x1350 else 62 @ 0x1364
0x120d 55 xmm1 = [rsp + rdi + 0x10].o
0x1213 56 xmm1 = _mm_cmpeq_epi32(xmm1, xmm0)
0x1217 57 ebx = xmm1.d
0x121e 58 if ((bl & 1) != 0) then 67 @ 0x1280 else 70 @ 0x1220
0x138d 59 if ([rsp + (rdx << 2) + 0x10].d != ecx) then 72 @ 0x1380 else 74 @ 0x138f
0x1350 60 rbx = rbx + 1
0x1356 61 if (eax s<= ebx) then 33 @ 0x13b4 else 53 @ 0x1358
0x1364 62 rdi = r14
0x1367 63 eax = 0
0x1369 64 call(0x1030)
0x136e 65 eax = [rsp + 8 {var_61ab0}].d
0x1372 66 goto 60 @ 0x1350
0x1280 67 [rsp + rdi + 0x10].d = 0xffdc {""}
0x1288 68 ebx = _mm_extract_epi16(xmm1, 2)
0x1290 69 if ((bl & 1) == 0) then 76 @ 0x122a else 78 @ 0x1292
0x1220 70 ebx = _mm_extract_epi16(xmm1, 2)
0x1228 71 if ((bl & 1) != 0) then 78 @ 0x1292 else 76 @ 0x122a
0x1380 72 rdx = rdx + 1
0x1387 73 if (rax == rdx) then 81 @ 0x130c else 59 @ 0x138d
0x138f 74 [rsp + (rdx << 2) + 0x10].d = 0xffdc {""}
0x1397 75 goto 72 @ 0x1380
0x122a 76 ebx = _mm_extract_epi16(xmm1, 4)
0x1232 77 if ((bl & 1) != 0) then 83 @ 0x12a4 else 86 @ 0x1234
0x1292 78 [rsp + rdi + 0x14].d = 0xffdc {""}
0x129a 79 ebx = _mm_extract_epi16(xmm1, 4)
0x12a2 80 if ((bl & 1) == 0) then 86 @ 0x1234 else 83 @ 0x12a4
0x130c 81 r15d = 0
0x1311 82 if (eax s<= 0) then 21 @ 0x1339 else 88 @ 0x131d
0x12a4 83 [rsp + rdi + 0x18].d = 0xffdc {""}
0x12ac 84 ebx = _mm_extract_epi16(xmm1, 6)
0x12b4 85 if ((bl & 1) != 0) then 89 @ 0x123e else 91 @ 0x12b6
0x1234 86 ebx = _mm_extract_epi16(xmm1, 6)
0x123c 87 if ((bl & 1) == 0) then 92 @ 0x1246 else 89 @ 0x123e
0x131d 88 goto 96 @ 0x1320
0x123e 89 [rsp + rdi + 0x1c].d = 0xffdc {""}
0x123e 90 goto 92 @ 0x1246
0x12b6 91 goto 92 @ 0x1246
0x1246 92 xmm1 = [rsp + rdi + 0x20].o
0x124c 93 xmm1 = _mm_cmpeq_epi32(xmm1, xmm0)
0x1250 94 ebx = xmm1.d
0x1257 95 if ((bl & 1) != 0) then 98 @ 0x12c0 else 101 @ 0x1259
0x1320 96 esi = [rsp + (r15 << 2) + 0x10].d
0x132b 97 if (esi != 0xffdc) then 103 @ 0x1399 else 109 @ 0x132d
0x12c0 98 [rsp + rdi + 0x20].d = 0xffdc {""}
0x12c8 99 ebx = _mm_extract_epi16(xmm1, 2)
0x12d0 100 if ((bl & 1) == 0) then 111 @ 0x1263 else 113 @ 0x12d2
0x1259 101 ebx = _mm_extract_epi16(xmm1, 2)
0x1261 102 if ((bl & 1) != 0) then 113 @ 0x12d2 else 111 @ 0x1263
0x1399 103 rdi = 0x2005 {"%d"}
0x13a0 104 eax = 0
0x13a2 105 call(0x1030)
0x13a7 106 eax = [rsp + 8 {var_61ab0}].d
0x13ab 107 r15d = r15d + 1
0x13b2 108 if (r15d s< eax) then 40 @ 0x1342 else 33 @ 0x13b4
0x132d 109 r15 = r15 + 1
0x1334 110 if (rax != r15) then 96 @ 0x1320 else 116 @ 0x1336
0x1263 111 ebx = _mm_extract_epi16(xmm1, 4)
0x126b 112 if ((bl & 1) != 0) then 118 @ 0x12e4 else 121 @ 0x126d
0x12d2 113 [rsp + rdi + 0x24].d = 0xffdc {""}
0x12da 114 ebx = _mm_extract_epi16(xmm1, 4)
0x12e2 115 if ((bl & 1) == 0) then 121 @ 0x126d else 118 @ 0x12e4
0x1336 116 r15d = eax
0x1336 117 goto 21 @ 0x1339
0x12e4 118 [rsp + rdi + 0x28].d = 0xffdc {""}
0x12ec 119 ebx = _mm_extract_epi16(xmm1, 6)
0x12f4 120 if ((bl & 1) == 0) then 123 @ 0x1200 else 125 @ 0x12fa
0x126d 121 ebx = _mm_extract_epi16(xmm1, 6)
0x1275 122 if ((bl & 1) == 0) then 123 @ 0x1200 else 127 @ 0x1277
0x1200 123 rdi = rdi + 0x20
0x1207 124 if (rsi == rdi) then 128 @ 0x130a else 55 @ 0x120d
0x12fa 125 [rsp + rdi + 0x2c].d = 0xffdc {""}
0x1302 126 goto 123 @ 0x1200
0x1277 127 goto 125 @ 0x12fa
0x130a 128 if (rdx != rax) then 59 @ 0x138d else 81 @ 0x130c
int64_t _fini():
0x13cc 0 rsp = rsp - 8
0x13d0 1 rsp = rsp + 8
0x13d4 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 {"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 - 0x18
0x115e 7 ebp = 5
0x1163 8 r15 = rsp + 0x14 {var_34}
0x1168 9 r12 = rsp + 0x10 {var_38}
0x116d 10 r13 = rsp + 0xc {var_3c}
0x1172 11 rbx = 0x200a {"%d\n"}
0x1179 12 goto 13 @ 0x119e
0x119e 13 rdi = 0x2004 {"%d %d %d\n"}
0x11a5 14 rsi = r15 {var_34}
0x11a8 15 rdx = r12 {var_38}
0x11ab 16 rcx = r13 {var_3c}
0x11ae 17 eax = 0
0x11b0 18 call(0x1040)
0x11b5 19 eax = [rsp + 0x14 {var_34}].d
0x11bb 20 if ((al & 3) != 0) then 21 @ 0x11f5 else 24 @ 0x11bd
0x11f5 21 eax = [rsp + 0x10 {var_38}].d
0x11f9 22 eax = eax - 1
0x11ff 23 if (eax u> 0xb) then 28 @ 0x1184 else 36 @ 0x1201
0x11bd 24 ecx = eax * -0x3d70a3d7
0x11c3 25 ecx = ecx + 0x51eb850
0x11c9 26 ecx = ror.d(ecx, 2)
0x11d2 27 if (ecx u> 0x28f5c28) then 39 @ 0x120f else 42 @ 0x11d4
0x1184 28 esi = [rsp + 0xc {var_3c}].d
0x1188 29 esi = esi + r14d
0x118b 30 rdi = rbx
0x118e 31 eax = 0
0x1190 32 call(0x1030)
0x1195 33 temp0.d = ebp
0x1195 34 ebp = ebp - 1
0x1198 35 if (temp0.d == 1) then 52 @ 0x122d else 13 @ 0x119e
0x1201 36 rax = sx.q(eax)
0x1203 37 rcx = 0x2040 {""}
0x120a 38 goto 61 @ 0x1180
0x120f 39 eax = [rsp + 0x10 {var_38}].d
0x1213 40 eax = eax - 1
0x1219 41 if (eax u> 0xb) then 28 @ 0x1184 else 63 @ 0x121f
0x11d4 42 rcx = sx.q(eax)
0x11d7 43 rcx = rcx * 0x51eb851f
0x11de 44 rdx = rcx
0x11e1 45 rdx = rdx u>> 0x3f
0x11e5 46 rcx = rcx s>> 0x27
0x11e9 47 ecx = ecx + edx
0x11eb 48 ecx = ecx * 0x190
0x11f1 49 temp1.d = eax
0x11f1 50 eax = eax - ecx
0x11f3 51 if (temp1.d == ecx) then 39 @ 0x120f else 21 @ 0x11f5
0x122d 52 eax = 0
0x122f 53 rsp = rsp + 0x18
0x1233 54 rbx = pop
0x1234 55 r12 = pop
0x1236 56 r13 = pop
0x1238 57 r14 = pop
0x123a 58 r15 = pop
0x123c 59 rbp = pop
0x123d 60 <return> jump(pop)
0x1180 61 r14d = [rcx + (rax << 2)].d
0x1180 62 goto 28 @ 0x1184
0x121f 63 rax = sx.q(eax)
0x1221 64 rcx = 0x2010 {""}
0x1228 65 goto 61 @ 0x1180
int64_t _fini():
0x1244 0 rsp = rsp - 8
0x1248 1 rsp = rsp + 8
0x124c 2 <return> jump(pop)
| POJ_11 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
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 {"UHH0"}
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 - 0xe30
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 rdi = 0x2004 {"%d %d"}
0x1179 5 rsi = rbp - 8 {var_10}
0x117d 6 rdx = rbp - 0xc {var_14}
0x1181 7 al = 0
0x1183 8 call(0x1050)
0x1188 9 [rbp - 0x10 {var_18}].d = 0
0x1188 10 goto 11 @ 0x118f
0x118f 11 eax = [rbp - 0x10 {var_18}].d
0x1192 12 ecx = [rbp - 8 {var_10}].d
0x1195 13 ecx = ecx + 1
0x119a 14 if (eax s> ecx) then 15 @ 0x11f6 else 17 @ 0x11a0
0x11f6 15 [rbp - 0x10 {var_18_1}].d = 1
0x11f6 16 goto 19 @ 0x11fd
0x11a0 17 [rbp - 0x14 {var_1c_1}].d = 0
0x11a0 18 goto 21 @ 0x11a7
0x11fd 19 eax = [rbp - 0x10 {var_18_1}].d
0x1203 20 if (eax s> [rbp - 8 {var_10}].d) then 25 @ 0x1268 else 27 @ 0x1209
0x11a7 21 eax = [rbp - 0x14 {var_1c_1}].d
0x11aa 22 ecx = [rbp - 0xc {var_14}].d
0x11ad 23 ecx = ecx + 1
0x11b2 24 if (eax s> ecx) then 29 @ 0x11e3 else 30 @ 0x11b8
0x1268 25 [rbp - 0x10 {var_18_2}].d = 1
0x1268 26 goto 40 @ 0x126f
0x1209 27 [rbp - 0x14 {var_1c_2}].d = 1
0x1209 28 goto 42 @ 0x1210
0x11e3 29 goto 44 @ 0x11e8
0x11b8 30 rcx = sx.q([rbp - 0x10 {var_18}].d)
0x11bc 31 rax = rbp - 0xe30 {var_e38}
0x11c3 32 rcx = rcx * 0x78
0x11c7 33 rax = rax + rcx
0x11ca 34 rcx = sx.q([rbp - 0x14 {var_1c_1}].d)
0x11ce 35 [rax + (rcx << 2)].d = 0
0x11d5 36 eax = [rbp - 0x14 {var_1c_1}].d
0x11d8 37 eax = eax + 1
0x11db 38 [rbp - 0x14 {var_1c_1}].d = eax
0x11de 39 goto 21 @ 0x11a7
0x126f 40 eax = [rbp - 0x10 {var_18_2}].d
0x1275 41 if (eax s> [rbp - 8 {var_10}].d) then 48 @ 0x13c2 else 54 @ 0x127b
0x1210 42 eax = [rbp - 0x14 {var_1c_2}].d
0x1216 43 if (eax s> [rbp - 0xc {var_14}].d) then 56 @ 0x1255 else 57 @ 0x121c
0x11e8 44 eax = [rbp - 0x10 {var_18}].d
0x11eb 45 eax = eax + 1
0x11ee 46 [rbp - 0x10 {var_18}].d = eax
0x11f1 47 goto 11 @ 0x118f
0x13c2 48 al = 0
0x13c4 49 call(0x1040)
0x13c9 50 eax = [rbp - 4 {var_c}].d
0x13cc 51 rsp = rsp + 0xe30
0x13d3 52 rbp = pop
0x13d4 53 <return> jump(pop)
0x127b 54 [rbp - 0x14 {var_1c_3}].d = 1
0x127b 55 goto 71 @ 0x1282
0x1255 56 goto 73 @ 0x125a
0x121c 57 rax = sx.q([rbp - 0x10 {var_18_1}].d)
0x1220 58 rsi = rbp - 0xe30 {var_e38}
0x1227 59 rax = rax * 0x78
0x122b 60 rsi = rsi + rax
0x122e 61 rax = sx.q([rbp - 0x14 {var_1c_2}].d)
0x1232 62 rax = rax << 2
0x1236 63 rsi = rsi + rax
0x1239 64 rdi = 0x2007 {"%d"}
0x1240 65 al = 0
0x1242 66 call(0x1050)
0x1247 67 eax = [rbp - 0x14 {var_1c_2}].d
0x124a 68 eax = eax + 1
0x124d 69 [rbp - 0x14 {var_1c_2}].d = eax
0x1250 70 goto 42 @ 0x1210
0x1282 71 eax = [rbp - 0x14 {var_1c_3}].d
0x1288 72 if (eax s> [rbp - 0xc {var_14}].d) then 77 @ 0x13af else 78 @ 0x128e
0x125a 73 eax = [rbp - 0x10 {var_18_1}].d
0x125d 74 eax = eax + 1
0x1260 75 [rbp - 0x10 {var_18_1}].d = eax
0x1263 76 goto 19 @ 0x11fd
0x13af 77 goto 92 @ 0x13b4
0x128e 78 rcx = sx.q([rbp - 0x10 {var_18_2}].d)
0x1292 79 rax = rbp - 0xe30 {var_e38}
0x1299 80 rcx = rcx * 0x78
0x129d 81 rax = rax + rcx
0x12a0 82 rcx = sx.q([rbp - 0x14 {var_1c_3}].d)
0x12a4 83 eax = [rax + (rcx << 2)].d
0x12a7 84 ecx = [rbp - 0x10 {var_18_2}].d
0x12aa 85 ecx = ecx - 1
0x12ad 86 rdx = sx.q(ecx)
0x12b0 87 rcx = rbp - 0xe30 {var_e38}
0x12b7 88 rdx = rdx * 0x78
0x12bb 89 rcx = rcx + rdx
0x12be 90 rdx = sx.q([rbp - 0x14 {var_1c_3}].d)
0x12c5 91 if (eax s< [rcx + (rdx << 2)].d) then 96 @ 0x139c else 97 @ 0x12cb
0x13b4 92 eax = [rbp - 0x10 {var_18_2}].d
0x13b7 93 eax = eax + 1
0x13ba 94 [rbp - 0x10 {var_18_2}].d = eax
0x13bd 95 goto 40 @ 0x126f
0x139c 96 goto 111 @ 0x13a1
0x12cb 97 rcx = sx.q([rbp - 0x10 {var_18_2}].d)
0x12cf 98 rax = rbp - 0xe30 {var_e38}
0x12d6 99 rcx = rcx * 0x78
0x12da 100 rax = rax + rcx
0x12dd 101 rcx = sx.q([rbp - 0x14 {var_1c_3}].d)
0x12e1 102 eax = [rax + (rcx << 2)].d
0x12e4 103 rdx = sx.q([rbp - 0x10 {var_18_2}].d)
0x12e8 104 rcx = rbp - 0xe30 {var_e38}
0x12ef 105 rdx = rdx * 0x78
0x12f3 106 rcx = rcx + rdx
0x12f6 107 edx = [rbp - 0x14 {var_1c_3}].d
0x12f9 108 edx = edx - 1
0x12fc 109 rdx = sx.q(edx)
0x1302 110 if (eax s< [rcx + (rdx << 2)].d) then 96 @ 0x139c else 115 @ 0x1308
0x13a1 111 eax = [rbp - 0x14 {var_1c_3}].d
0x13a4 112 eax = eax + 1
0x13a7 113 [rbp - 0x14 {var_1c_3}].d = eax
0x13aa 114 goto 71 @ 0x1282
0x1308 115 rcx = sx.q([rbp - 0x10 {var_18_2}].d)
0x130c 116 rax = rbp - 0xe30 {var_e38}
0x1313 117 rcx = rcx * 0x78
0x1317 118 rax = rax + rcx
0x131a 119 rcx = sx.q([rbp - 0x14 {var_1c_3}].d)
0x131e 120 eax = [rax + (rcx << 2)].d
0x1321 121 ecx = [rbp - 0x10 {var_18_2}].d
0x1324 122 ecx = ecx + 1
0x1327 123 rdx = sx.q(ecx)
0x132a 124 rcx = rbp - 0xe30 {var_e38}
0x1331 125 rdx = rdx * 0x78
0x1335 126 rcx = rcx + rdx
0x1338 127 rdx = sx.q([rbp - 0x14 {var_1c_3}].d)
0x133f 128 if (eax s< [rcx + (rdx << 2)].d) then 96 @ 0x139c else 129 @ 0x1345
0x1345 129 rcx = sx.q([rbp - 0x10 {var_18_2}].d)
0x1349 130 rax = rbp - 0xe30 {var_e38}
0x1350 131 rcx = rcx * 0x78
0x1354 132 rax = rax + rcx
0x1357 133 rcx = sx.q([rbp - 0x14 {var_1c_3}].d)
0x135b 134 eax = [rax + (rcx << 2)].d
0x135e 135 rdx = sx.q([rbp - 0x10 {var_18_2}].d)
0x1362 136 rcx = rbp - 0xe30 {var_e38}
0x1369 137 rdx = rdx * 0x78
0x136d 138 rcx = rcx + rdx
0x1370 139 edx = [rbp - 0x14 {var_1c_3}].d
0x1373 140 edx = edx + 1
0x1376 141 rdx = sx.q(edx)
0x137c 142 if (eax s< [rcx + (rdx << 2)].d) then 96 @ 0x139c else 143 @ 0x1382
0x1382 143 esi = [rbp - 0x10 {var_18_2}].d
0x1385 144 esi = esi - 1
0x1388 145 edx = [rbp - 0x14 {var_1c_3}].d
0x138b 146 edx = edx - 1
0x138e 147 rdi = 0x200a {"%d %d\n"}
0x1395 148 al = 0
0x1397 149 call(0x1030)
0x1397 150 goto 96 @ 0x139c
int64_t _fini():
0x13dc 0 rsp = rsp - 8
0x13e0 1 rsp = rsp + 8
0x13e4 2 <return> jump(pop)
| POJ_72 |
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 - 0x2d0
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 rdi = 0x2004 {"%d\n"}
0x1169 5 rsi = rbp - 8 {var_10}
0x116d 6 al = 0
0x116f 7 call(0x1040)
0x1174 8 [rbp - 0x18 {var_20}].d = 0
0x117b 9 [rbp - 0x1c {var_24}].d = 0
0x1182 10 [rbp - 0xc {var_14}].d = 0
0x1182 11 goto 12 @ 0x1189
0x1189 12 eax = [rbp - 0xc {var_14}].d
0x118c 13 ecx = [rbp - 8 {var_10}].d
0x118f 14 ecx = ecx - 1
0x1194 15 if (eax s>= ecx) then 16 @ 0x1229 else 22 @ 0x119a
0x1229 16 rsi = rbp - 0x2c7 {var_2cf}
0x1230 17 rdi = 0x2008 {"%s"}
0x1237 18 al = 0
0x1239 19 call(0x1040)
0x123e 20 eax = sx.d([rbp - 0x2c7 {var_2cf}].b)
0x1248 21 if (eax != 0x66) then 28 @ 0x127c else 39 @ 0x124e
0x119a 22 rsi = rbp - 0x2c7 {var_2cf}
0x11a1 23 rdi = 0x2008 {"%s"}
0x11a8 24 al = 0
0x11aa 25 call(0x1040)
0x11af 26 eax = sx.d([rbp - 0x2c7 {var_2cf}].b)
0x11b9 27 if (eax != 0x66) then 50 @ 0x11ed else 61 @ 0x11bf
0x127c 28 rax = sx.q([rbp - 0x1c {var_24}].d)
0x1280 29 rsi = rbp - 0x170 {var_178}
0x1287 30 rax = rax << 3
0x128b 31 rsi = rsi + rax
0x128e 32 rdi = 0x2010 {"%lf"}
0x1295 33 al = 0
0x1297 34 call(0x1040)
0x129c 35 eax = [rbp - 0x1c {var_24}].d
0x129f 36 eax = eax + 1
0x12a2 37 [rbp - 0x1c {var_24}].d = eax
0x12a2 38 goto 72 @ 0x12a5
0x124e 39 rax = sx.q([rbp - 0x18 {var_20}].d)
0x1252 40 rsi = rbp - 0x2c0 {var_2c8}
0x1259 41 rax = rax << 3
0x125d 42 rsi = rsi + rax
0x1260 43 rdi = 0x2010 {"%lf"}
0x1267 44 al = 0
0x1269 45 call(0x1040)
0x126e 46 eax = [rbp - 0x18 {var_20}].d
0x1271 47 eax = eax + 1
0x1274 48 [rbp - 0x18 {var_20}].d = eax
0x1277 49 goto 72 @ 0x12a5
0x11ed 50 rax = sx.q([rbp - 0x1c {var_24}].d)
0x11f1 51 rsi = rbp - 0x170 {var_178}
0x11f8 52 rax = rax << 3
0x11fc 53 rsi = rsi + rax
0x11ff 54 rdi = 0x200b {"%lf\n"}
0x1206 55 al = 0
0x1208 56 call(0x1040)
0x120d 57 eax = [rbp - 0x1c {var_24}].d
0x1210 58 eax = eax + 1
0x1213 59 [rbp - 0x1c {var_24}].d = eax
0x1213 60 goto 74 @ 0x1216
0x11bf 61 rax = sx.q([rbp - 0x18 {var_20}].d)
0x11c3 62 rsi = rbp - 0x2c0 {var_2c8}
0x11ca 63 rax = rax << 3
0x11ce 64 rsi = rsi + rax
0x11d1 65 rdi = 0x200b {"%lf\n"}
0x11d8 66 al = 0
0x11da 67 call(0x1040)
0x11df 68 eax = [rbp - 0x18 {var_20}].d
0x11e2 69 eax = eax + 1
0x11e5 70 [rbp - 0x18 {var_20}].d = eax
0x11e8 71 goto 74 @ 0x1216
0x12a5 72 [rbp - 0x14 {var_1c}].d = 1
0x12a5 73 goto 75 @ 0x12b0
0x1216 74 goto 76 @ 0x121b
0x12b0 75 if ([rbp - 0x14 {var_1c}].d s<= 0) then 80 @ 0x139f else 82 @ 0x12b6
0x121b 76 eax = [rbp - 0xc {var_14}].d
0x121e 77 eax = eax + 1
0x1221 78 [rbp - 0xc {var_14}].d = eax
0x1224 79 goto 12 @ 0x1189
0x139f 80 [rbp - 0x14 {var_1c_1}].d = 1
0x139f 81 goto 85 @ 0x13aa
0x12b6 82 [rbp - 0x14 {var_1c}].d = 0
0x12bd 83 [rbp - 0xc {var_14_1}].d = 0
0x12bd 84 goto 86 @ 0x12c4
0x13aa 85 if ([rbp - 0x14 {var_1c_1}].d s<= 0) then 90 @ 0x149d else 92 @ 0x13b0
0x12c4 86 eax = [rbp - 0xc {var_14_1}].d
0x12c7 87 ecx = [rbp - 0x1c {var_24}].d
0x12ca 88 ecx = ecx - 1
0x12cf 89 if (eax s>= ecx) then 95 @ 0x139a else 96 @ 0x12d5
0x149d 90 [rbp - 0xc {var_14_3}].d = 0
0x149d 91 goto 108 @ 0x14a4
0x13b0 92 [rbp - 0x14 {var_1c_1}].d = 0
0x13b7 93 [rbp - 0xc {var_14_2}].d = 0
0x13b7 94 goto 110 @ 0x13be
0x139a 95 goto 75 @ 0x12b0
0x12d5 96 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x12d9 97 xmm0 = zx.o([rbp + (rax << 3) - 0x170].q)
0x12e2 98 eax = [rbp - 0xc {var_14_1}].d
0x12e5 99 eax = eax + 1
0x12e8 100 rax = sx.q(eax)
0x12ea 101 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0x170].q))
0x12ea 102 flag:c = xmm0.q f< fconvert.t([rbp + (rax << 3) - 0x170].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0x170].q))
0x12ea 103 flag:z = xmm0.q f== fconvert.t([rbp + (rax << 3) - 0x170].q) | is_unordered.q(xmm0.q, fconvert.t([rbp + (rax << 3) - 0x170].q))
0x12ea 104 flag:s = 0
0x12ea 105 flag:o = 0
0x12ea 106 flag:a = 0
0x12f3 107 if (flag:z || flag:c) then 114 @ 0x1387 else 115 @ 0x12f9
0x14a4 108 eax = [rbp - 0xc {var_14_3}].d
0x14aa 109 if (eax s>= [rbp - 0x1c {var_24}].d) then 145 @ 0x14d9 else 147 @ 0x14b0
0x13be 110 eax = [rbp - 0xc {var_14_2}].d
0x13c1 111 ecx = [rbp - 0x18 {var_20}].d
0x13c4 112 ecx = ecx - 1
0x13c9 113 if (eax s>= ecx) then 156 @ 0x1498 else 157 @ 0x13cf
0x1387 114 goto 170 @ 0x138c
0x12f9 115 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x12fd 116 xmm0 = zx.o([rbp + (rax << 3) - 0x170].q)
0x1306 117 eax = [rbp - 0xc {var_14_1}].d
0x1309 118 eax = eax + 1
0x130c 119 rax = sx.q(eax)
0x130e 120 xmm0.q = xmm0.q f+ fconvert.t([rbp + (rax << 3) - 0x170].q)
0x1317 121 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x131b 122 [rbp + (rax << 3) - 0x170].q = xmm0.q
0x1324 123 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x1328 124 xmm0 = zx.o([rbp + (rax << 3) - 0x170].q)
0x1331 125 eax = [rbp - 0xc {var_14_1}].d
0x1334 126 eax = eax + 1
0x1337 127 rax = sx.q(eax)
0x1339 128 xmm0.q = xmm0.q f- fconvert.t([rbp + (rax << 3) - 0x170].q)
0x1342 129 eax = [rbp - 0xc {var_14_1}].d
0x1345 130 eax = eax + 1
0x1348 131 rax = sx.q(eax)
0x134a 132 [rbp + (rax << 3) - 0x170].q = xmm0.q
0x1353 133 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x1357 134 xmm0 = zx.o([rbp + (rax << 3) - 0x170].q)
0x1360 135 eax = [rbp - 0xc {var_14_1}].d
0x1363 136 eax = eax + 1
0x1366 137 rax = sx.q(eax)
0x1368 138 xmm0.q = xmm0.q f- fconvert.t([rbp + (rax << 3) - 0x170].q)
0x1371 139 rax = sx.q([rbp - 0xc {var_14_1}].d)
0x1375 140 [rbp + (rax << 3) - 0x170].q = xmm0.q
0x137e 141 eax = [rbp - 0x14 {var_1c}].d
0x1381 142 eax = eax + 1
0x1384 143 [rbp - 0x14 {var_1c}].d = eax
0x1384 144 goto 114 @ 0x1387
0x14d9 145 [rbp - 0xc {var_14_4}].d = 0
0x14d9 146 goto 174 @ 0x14e0
0x14b0 147 rax = sx.q([rbp - 0xc {var_14_3}].d)
0x14b4 148 xmm0 = zx.o([rbp + (rax << 3) - 0x170].q)
0x14bd 149 rdi = 0x2014 {"%.2lf "}
0x14c4 150 al = 1
0x14c6 151 call(0x1030)
0x14cb 152 eax = [rbp - 0xc {var_14_3}].d
0x14ce 153 eax = eax + 1
0x14d1 154 [rbp - 0xc {var_14_3}].d = eax
0x14d4 155 goto 108 @ 0x14a4
0x1498 156 goto 85 @ 0x13aa
0x13cf 157 rax = sx.q([rbp - 0xc {var_14_2}].d)
0x13d3 158 xmm1 = zx.o([rbp + (rax << 3) - 0x2c0].q)
0x13dc 159 eax = [rbp - 0xc {var_14_2}].d
0x13df 160 eax = eax + 1
0x13e2 161 rax = sx.q(eax)
0x13e4 162 xmm0 = zx.o([rbp + (rax << 3) - 0x2c0].q)
0x13ed 163 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x13ed 164 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x13ed 165 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x13ed 166 flag:s = 0
0x13ed 167 flag:o = 0
0x13ed 168 flag:a = 0
0x13f1 169 if (flag:z || flag:c) then 178 @ 0x1485 else 179 @ 0x13f7
0x138c 170 eax = [rbp - 0xc {var_14_1}].d
0x138f 171 eax = eax + 1
0x1392 172 [rbp - 0xc {var_14_1}].d = eax
0x1395 173 goto 86 @ 0x12c4
0x14e0 174 eax = [rbp - 0xc {var_14_4}].d
0x14e3 175 ecx = [rbp - 0x18 {var_20}].d
0x14e6 176 ecx = ecx - 1
0x14eb 177 if (eax s>= ecx) then 209 @ 0x151a else 220 @ 0x14f1
0x1485 178 goto 229 @ 0x148a
0x13f7 179 rax = sx.q([rbp - 0xc {var_14_2}].d)
0x13fb 180 xmm0 = zx.o([rbp + (rax << 3) - 0x2c0].q)
0x1404 181 eax = [rbp - 0xc {var_14_2}].d
0x1407 182 eax = eax + 1
0x140a 183 rax = sx.q(eax)
0x140c 184 xmm0.q = xmm0.q f+ fconvert.t([rbp + (rax << 3) - 0x2c0].q)
0x1415 185 rax = sx.q([rbp - 0xc {var_14_2}].d)
0x1419 186 [rbp + (rax << 3) - 0x2c0].q = xmm0.q
0x1422 187 rax = sx.q([rbp - 0xc {var_14_2}].d)
0x1426 188 xmm0 = zx.o([rbp + (rax << 3) - 0x2c0].q)
0x142f 189 eax = [rbp - 0xc {var_14_2}].d
0x1432 190 eax = eax + 1
0x1435 191 rax = sx.q(eax)
0x1437 192 xmm0.q = xmm0.q f- fconvert.t([rbp + (rax << 3) - 0x2c0].q)
0x1440 193 eax = [rbp - 0xc {var_14_2}].d
0x1443 194 eax = eax + 1
0x1446 195 rax = sx.q(eax)
0x1448 196 [rbp + (rax << 3) - 0x2c0].q = xmm0.q
0x1451 197 rax = sx.q([rbp - 0xc {var_14_2}].d)
0x1455 198 xmm0 = zx.o([rbp + (rax << 3) - 0x2c0].q)
0x145e 199 eax = [rbp - 0xc {var_14_2}].d
0x1461 200 eax = eax + 1
0x1464 201 rax = sx.q(eax)
0x1466 202 xmm0.q = xmm0.q f- fconvert.t([rbp + (rax << 3) - 0x2c0].q)
0x146f 203 rax = sx.q([rbp - 0xc {var_14_2}].d)
0x1473 204 [rbp + (rax << 3) - 0x2c0].q = xmm0.q
0x147c 205 eax = [rbp - 0x14 {var_1c_1}].d
0x147f 206 eax = eax + 1
0x1482 207 [rbp - 0x14 {var_1c_1}].d = eax
0x1482 208 goto 178 @ 0x1485
0x151a 209 eax = [rbp - 0x18 {var_20}].d
0x151d 210 eax = eax - 1
0x1520 211 rax = sx.q(eax)
0x1522 212 xmm0 = zx.o([rbp + (rax << 3) - 0x2c0].q)
0x152b 213 rdi = 0x201b {"%.2lf\n"}
0x1532 214 al = 1
0x1534 215 call(0x1030)
0x1539 216 eax = 0
0x153b 217 rsp = rsp + 0x2d0
0x1542 218 rbp = pop
0x1543 219 <return> jump(pop)
0x14f1 220 rax = sx.q([rbp - 0xc {var_14_4}].d)
0x14f5 221 xmm0 = zx.o([rbp + (rax << 3) - 0x2c0].q)
0x14fe 222 rdi = 0x2014 {"%.2lf "}
0x1505 223 al = 1
0x1507 224 call(0x1030)
0x150c 225 eax = [rbp - 0xc {var_14_4}].d
0x150f 226 eax = eax + 1
0x1512 227 [rbp - 0xc {var_14_4}].d = eax
0x1515 228 goto 174 @ 0x14e0
0x148a 229 eax = [rbp - 0xc {var_14_2}].d
0x148d 230 eax = eax + 1
0x1490 231 [rbp - 0xc {var_14_2}].d = eax
0x1493 232 goto 110 @ 0x13be
int64_t _fini():
0x1548 0 rsp = rsp - 8
0x154c 1 rsp = rsp + 8
0x1550 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)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UHH E"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rbp)
0x1151 1 rbp = rsp {__saved_rbp}
0x1154 2 rsp = rsp - 0x20
0x1158 3 [rbp - 4 {var_c}].d = 0
0x115f 4 rdi = 0x2007 {"%d\n"}
0x1166 5 rsi = rbp - 0x14 {var_1c}
0x116a 6 al = 0
0x116c 7 call(0x1040)
0x116c 8 goto 9 @ 0x1175
0x1175 9 if ([rbp - 0x14 {var_1c}].d s<= 0) then 10 @ 0x11d2 else 14 @ 0x117b
0x11d2 10 eax = [rbp - 4 {var_c}].d
0x11d5 11 rsp = rsp + 0x20
0x11d9 12 rbp = pop
0x11da 13 <return> jump(pop)
0x117b 14 rdi = 0x2004 {"%d %d\n"}
0x1182 15 rsi = rbp - 0xc {var_14}
0x1186 16 rdx = rbp - 8 {var_10}
0x118a 17 al = 0
0x118c 18 call(0x1040)
0x1191 19 eax = [rbp - 8 {var_10}].d
0x1197 20 if (eax s<= [rbp - 0xc {var_14}].d) then 21 @ 0x11a3 else 34 @ 0x119d
0x11a3 21 edi = [rbp - 0xc {var_14}].d
0x11a6 22 esi = [rbp - 8 {var_10}].d
0x11a9 23 edx = 0
0x11ab 24 call(0x11e0)
0x11b0 25 [rbp - 0x10 {var_18_1}].d = eax
0x11b3 26 esi = [rbp - 0x10 {var_18_1}].d
0x11b6 27 rdi = 0x2007 {"%d\n"}
0x11bd 28 al = 0
0x11bf 29 call(0x1030)
0x11c4 30 eax = [rbp - 0x14 {var_1c}].d
0x11c7 31 eax = eax - 1
0x11ca 32 [rbp - 0x14 {var_1c}].d = eax
0x11cd 33 goto 9 @ 0x1175
0x119d 34 eax = [rbp - 0xc {var_14}].d
0x11a0 35 [rbp - 8 {var_10}].d = eax
0x11a0 36 goto 21 @ 0x11a3
uint64_t fun(int32_t arg1, int32_t arg2, int32_t arg3):
0x11e0 0 push(rbp)
0x11e1 1 rbp = rsp {__saved_rbp}
0x11e4 2 rsp = rsp - 0x20
0x11e8 3 [rbp - 8 {var_10}].d = edi
0x11eb 4 [rbp - 0xc {var_14}].d = esi
0x11ee 5 [rbp - 0x10 {var_18}].d = edx
0x11f1 6 [rbp - 0x18 {var_20}].d = 0
0x11fc 7 if ([rbp - 0xc {var_14}].d != 1) then 8 @ 0x1218 else 11 @ 0x1202
0x1218 8 eax = [rbp - 0x10 {var_18}].d
0x121b 9 [rbp - 0x14 {var_1c_1}].d = eax
0x121b 10 goto 17 @ 0x121e
0x1202 11 eax = [rbp - 8 {var_10}].d
0x1208 12 al = eax s>= [rbp - 0x10 {var_18}].d
0x120b 13 al = al & 1
0x120d 14 eax = zx.d(al)
0x1210 15 [rbp - 4 {var_c}].d = eax
0x1213 16 goto 19 @ 0x1258
0x121e 17 eax = [rbp - 0x14 {var_1c_1}].d
0x1224 18 if (eax s>= [rbp - 8 {var_10}].d) then 23 @ 0x1252 else 26 @ 0x122a
0x1258 19 eax = [rbp - 4 {var_c}].d
0x125b 20 rsp = rsp + 0x20
0x125f 21 rbp = pop
0x1260 22 <return> jump(pop)
0x1252 23 eax = [rbp - 0x18 {var_20}].d
0x1255 24 [rbp - 4 {var_c}].d = eax
0x1255 25 goto 19 @ 0x1258
0x122a 26 edi = [rbp - 8 {var_10}].d
0x122d 27 edi = edi - [rbp - 0x14 {var_1c_1}].d
0x1230 28 esi = [rbp - 0xc {var_14}].d
0x1233 29 esi = esi - 1
0x1236 30 edx = [rbp - 0x14 {var_1c_1}].d
0x1239 31 call(0x11e0)
0x123e 32 eax = eax + [rbp - 0x18 {var_20}].d
0x1241 33 [rbp - 0x18 {var_20}].d = eax
0x1244 34 eax = [rbp - 0x14 {var_1c_1}].d
0x1247 35 eax = eax + 1
0x124a 36 [rbp - 0x14 {var_1c_1}].d = eax
0x124d 37 goto 17 @ 0x121e
int64_t _fini():
0x1268 0 rsp = rsp - 8
0x126c 1 rsp = rsp + 8
0x1270 2 <return> jump(pop)
| POJ_90 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"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 rsi = rsp + 0xc {var_1c}
0x1164 6 eax = 0
0x1166 7 call(0x1040)
0x116b 8 esi = [rsp + 0xc {var_1c}].d
0x1172 9 if (esi != 1) then 10 @ 0x118d else 13 @ 0x1174
0x118d 10 r14 = 0x2012 {"%d/2=%d\n"}
0x1194 11 rbx = 0x2007 {"%d*3+1=%d\n"}
0x119b 12 goto 22 @ 0x11a9
0x1174 13 rdi = 0x201b {"End"}
0x117b 14 eax = 0
0x117d 15 call(0x1030)
0x1182 16 eax = 0
0x1184 17 rsp = rsp + 0x10
0x1188 18 rbx = pop
0x1189 19 r14 = pop
0x118b 20 rbp = pop
0x118c 21 <return> jump(pop)
0x11a9 22 if ((sil & 1) != 0) then 23 @ 0x11c0 else 31 @ 0x11af
0x11c0 23 ebp = (rsi + (rsi << 1)).d
0x11c3 24 ebp = ebp + 1
0x11c6 25 rdi = rbx
0x11c9 26 edx = ebp
0x11cb 27 eax = 0
0x11cd 28 call(0x1030)
0x11d2 29 esi = ebp
0x11d8 30 if ((sil & 1) != 0) then 32 @ 0x11a3 else 33 @ 0x11da
0x11af 31 if ((sil & 1) != 0) then 32 @ 0x11a3 else 43 @ 0x11b1
0x11a3 32 if (esi == 1) then 13 @ 0x1174 else 22 @ 0x11a9
0x11da 33 ebp = esi
0x11dc 34 ebp = ebp u>> 0x1f
0x11df 35 ebp = ebp + esi
0x11e1 36 ebp = ebp s>> 1
0x11e3 37 rdi = r14
0x11e6 38 edx = ebp
0x11e8 39 eax = 0
0x11ea 40 call(0x1030)
0x11ef 41 esi = ebp
0x11f1 42 goto 32 @ 0x11a3
0x11b1 43 goto 33 @ 0x11da
int64_t _fini():
0x11f8 0 rsp = rsp - 8
0x11fc 1 rsp = rsp + 8
0x1200 2 <return> jump(pop)
| POJ_34 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t 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 {"H8"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 rsp = rsp - 0x38
0x1154 1 eax = [0x205f].d
0x115a 2 [rsp + 0x2f {var_9}].d = eax
0x115e 3 xmm0 = [0x2050].o
0x1165 4 [rsp + 0x20 {var_18}].o = xmm0
0x116a 5 xmm0 = [0x2040].o
0x1171 6 [rsp + 0x10 {var_28}].o = xmm0
0x1176 7 rdi = 0x2063 {"%d%d%d"}
0x117d 8 rsi = rsp + 0xc {var_2c}
0x1182 9 rdx = rsp + 8 {var_30}
0x1187 10 rcx = rsp + 4 {var_34}
0x118c 11 eax = 0
0x118e 12 call(0x1030)
0x1193 13 r9 = sx.q([rsp + 0xc {var_2c}].d)
0x1198 14 eax = (r9 + 3).d
0x119f 15 if (r9d s>= 0) then 16 else 18 @ 0x11a3
0x119f 16 eax = r9d
0x119f 17 goto 18 @ 0x11a3
0x11a3 18 eax = eax s>> 2
0x11a6 19 rcx = r9 * -0x51eb851f
0x11ad 20 rdx = rcx
0x11b0 21 rdx = rdx u>> 0x3f
0x11b4 22 rcx = rcx s>> 0x25
0x11b8 23 ecx = ecx + edx
0x11ba 24 rdx = r9 * 0x51eb851f
0x11c1 25 rsi = rdx
0x11c4 26 rsi = rsi u>> 0x3f
0x11c8 27 rdx = rdx s>> 0x27
0x11cc 28 edx = edx + esi
0x11ce 29 eax = eax + r9d
0x11d1 30 eax = eax + ecx
0x11d3 31 ecx = (rax + rdx).d
0x11d6 32 ecx = ecx - 1
0x11d9 33 r8d = [rsp + 8 {var_30}].d
0x11e2 34 if (r8d s< 2) then 35 @ 0x120c else 40 @ 0x11e4
0x120c 35 ecx = ecx + [rsp + 4 {var_34}].d
0x1210 36 eax = r9d * -0x3d70a3d7
0x1217 37 eax = eax + 0x51eb850
0x121c 38 eax = ror.d(eax, 2)
0x1224 39 if (eax u> 0x28f5c28) then 45 @ 0x1240 else 64 @ 0x1226
0x11e4 40 edi = (r8 - 1).d
0x11e8 41 rdi = rdi << 2
0x11ec 42 esi = 0
0x11ee 43 rax = 0x2010 {""}
0x11ff 44 goto 73 @ 0x1200
0x1240 45 rax = sx.q(ecx)
0x1243 46 rcx = rax * -0x6db6db6d
0x124a 47 rcx = rcx u>> 0x20
0x124e 48 ecx = ecx + eax
0x1250 49 edx = ecx
0x1252 50 edx = edx u>> 0x1f
0x1255 51 ecx = ecx s>> 2
0x1258 52 ecx = ecx + edx
0x125a 53 edx = (rcx << 3).d
0x1261 54 ecx = ecx - edx
0x1263 55 ecx = ecx + eax
0x1265 56 rax = sx.q(ecx)
0x1268 57 rax = rax + (rax << 2)
0x126c 58 rdi = rsp + rax
0x1270 59 rdi = rdi + 0x10
0x1274 60 call(0x1040)
0x1279 61 eax = 0
0x127b 62 rsp = rsp + 0x38
0x127f 63 <return> jump(pop)
0x1226 64 eax = edx * 0x190
0x122c 65 temp0.d = r9d
0x122c 66 r9d = r9d - eax
0x122f 67 al = temp0.d == eax
0x1236 68 dl = r8d s< 3
0x1239 69 dl = dl & al
0x123b 70 eax = zx.d(dl)
0x123e 71 ecx = ecx - eax
0x123e 72 goto 45 @ 0x1240
0x1200 73 ecx = ecx + [rsi + rax].d
0x1203 74 rsi = rsi + 4
0x120a 75 if (rdi != rsi) then 73 @ 0x1200 else 35 @ 0x120c
int64_t _fini():
0x1284 0 rsp = rsp - 8
0x1288 1 rsp = rsp + 8
0x128c 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
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 {"AWAVATSHX"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(r15)
0x1162 1 push(r14)
0x1164 2 push(r12)
0x1166 3 push(rbx)
0x1167 4 rsp = rsp - 0x658
0x116e 5 rdi = 0x2005 {"%d"}
0x1175 6 rsi = rsp + 8 {var_670}
0x117a 7 eax = 0
0x117c 8 call(0x1050)
0x1181 9 rdi = rsp + 0x18 {var_660}
0x1186 10 edx = 0x320 {"d-linux-x86-64.so.2"}
0x118b 11 esi = 0
0x118d 12 call(0x1040)
0x1198 13 if ([rsp + 8 {var_670}].q s<= 0) then 14 @ 0x123d else 21 @ 0x119e
0x123d 14 eax = 0
0x123f 15 rsp = rsp + 0x658
0x1246 16 rbx = pop
0x1247 17 r12 = pop
0x1249 18 r14 = pop
0x124b 19 r15 = pop
0x124d 20 <return> jump(pop)
0x119e 21 rdi = 0x2005 {"%d"}
0x11a5 22 rsi = rsp {var_678}
0x11a8 23 eax = 0
0x11aa 24 call(0x1050)
0x11af 25 rsi = [rsp {var_678}].q
0x11b9 26 if ([rsp + (rsi << 3) + 0x10].q != 0) then 27 @ 0x11cd else 29 @ 0x11bb
0x11cd 27 [rsp + (rsi << 3) + 0x10].q = 1
0x11dc 28 if ([rsp + 8 {var_670}].q s< 2) then 14 @ 0x123d else 34 @ 0x11de
0x11bb 29 rdi = 0x2005 {"%d"}
0x11c2 30 eax = 0
0x11c4 31 call(0x1030)
0x11c9 32 rsi = [rsp {var_678}].q
0x11c9 33 goto 27 @ 0x11cd
0x11de 34 ebx = 1
0x11e3 35 r14 = 0x2005 {"%d"}
0x11ea 36 r12 = rsp {var_678}
0x11ed 37 r15 = 0x2004 {" %d"}
0x11f4 38 goto 39 @ 0x1214
0x1214 39 rdi = r14
0x1217 40 rsi = r12 {var_678}
0x121a 41 eax = 0
0x121c 42 call(0x1050)
0x1221 43 rsi = [rsp {var_678}].q
0x122b 44 if ([rsp + (rsi << 3) + 0x10].q != 0) then 45 @ 0x1200 else 48 @ 0x122d
0x1200 45 [rsp + (rsi << 3) + 0x10].q = 1
0x1209 46 rbx = rbx + 1
0x1212 47 if (rbx s>= [rsp + 8 {var_670}].q) then 14 @ 0x123d else 39 @ 0x1214
0x122d 48 rdi = r15
0x1230 49 eax = 0
0x1232 50 call(0x1030)
0x1237 51 rsi = [rsp {var_678}].q
0x123b 52 goto 45 @ 0x1200
int64_t _fini():
0x1254 0 rsp = rsp - 8
0x1258 1 rsp = rsp + 8
0x125c 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 = 0x1220 {"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)
uint64_t apple(int32_t arg1, int32_t arg2):
0x1150 0 push(rbp)
0x1151 1 rbp = rsp {__saved_rbp}
0x1154 2 rsp = rsp - 0x10
0x1158 3 [rbp - 8 {var_10}].d = edi
0x115b 4 [rbp - 0xc {var_14}].d = esi
0x1162 5 if ([rbp - 8 {var_10}].d == 1) then 6 @ 0x1172 else 8 @ 0x116c
0x1172 6 [rbp - 4 {var_c}].d = 1
0x1179 7 goto 9 @ 0x120b
0x116c 8 if ([rbp - 0xc {var_14}].d != 1) then 13 @ 0x117e else 6 @ 0x1172
0x120b 9 eax = [rbp - 4 {var_c}].d
0x120e 10 rsp = rsp + 0x10
0x1212 11 rbp = pop
0x1213 12 <return> jump(pop)
0x117e 13 eax = [rbp - 8 {var_10}].d
0x1184 14 if (eax != [rbp - 0xc {var_14}].d) then 15 @ 0x11a3 else 17 @ 0x118a
0x11a3 15 eax = [rbp - 8 {var_10}].d
0x11a9 16 if (eax s>= [rbp - 0xc {var_14}].d) then 24 @ 0x11c2 else 26 @ 0x11af
0x118a 17 edi = [rbp - 8 {var_10}].d
0x118d 18 esi = [rbp - 0xc {var_14}].d
0x1190 19 esi = esi - 1
0x1193 20 call(0x1150)
0x1198 21 eax = eax + 1
0x119b 22 [rbp - 4 {var_c}].d = eax
0x119e 23 goto 9 @ 0x120b
0x11c2 24 eax = [rbp - 8 {var_10}].d
0x11c8 25 if (eax s<= [rbp - 0xc {var_14}].d) then 31 @ 0x11fc else 32 @ 0x11ce
0x11af 26 edi = [rbp - 8 {var_10}].d
0x11b2 27 esi = [rbp - 8 {var_10}].d
0x11b5 28 call(0x1150)
0x11ba 29 [rbp - 4 {var_c}].d = eax
0x11bd 30 goto 9 @ 0x120b
0x11fc 31 goto 46 @ 0x1201
0x11ce 32 edi = [rbp - 8 {var_10}].d
0x11d1 33 esi = [rbp - 0xc {var_14}].d
0x11d4 34 esi = esi - 1
0x11d7 35 call(0x1150)
0x11dc 36 [rbp - 0x10 {var_18_1}].d = eax
0x11df 37 edi = [rbp - 8 {var_10}].d
0x11e2 38 edi = edi - [rbp - 0xc {var_14}].d
0x11e5 39 esi = [rbp - 0xc {var_14}].d
0x11e8 40 call(0x1150)
0x11ed 41 ecx = eax
0x11ef 42 eax = [rbp - 0x10 {var_18_1}].d
0x11f2 43 eax = eax + ecx
0x11f4 44 [rbp - 4 {var_c}].d = eax
0x11f7 45 goto 9 @ 0x120b
0x1201 46 goto 47 @ 0x1206
0x1206 47 goto 9 @ 0x120b
int32_t main(int32_t argc, char** argv, char** envp):
0x1220 0 push(rbp)
0x1221 1 rbp = rsp {__saved_rbp}
0x1224 2 rsp = rsp - 0x20
0x1228 3 [rbp - 4 {var_c}].d = 0
0x122f 4 rdi = 0x2007 {"%d"}
0x1236 5 rsi = rbp - 8 {var_10}
0x123a 6 al = 0
0x123c 7 call(0x1040)
0x1241 8 [rbp - 0xc {var_14}].d = 1
0x1241 9 goto 10 @ 0x1248
0x1248 10 eax = [rbp - 0xc {var_14}].d
0x124e 11 if (eax s> [rbp - 8 {var_10}].d) then 12 @ 0x1293 else 16 @ 0x1254
0x1293 12 eax = [rbp - 4 {var_c}].d
0x1296 13 rsp = rsp + 0x20
0x129a 14 rbp = pop
0x129b 15 <return> jump(pop)
0x1254 16 rdi = 0x2004 {"%d %d"}
0x125b 17 rsi = rbp - 0x10 {var_18}
0x125f 18 rdx = rbp - 0x14 {var_1c}
0x1263 19 al = 0
0x1265 20 call(0x1040)
0x126a 21 edi = [rbp - 0x10 {var_18}].d
0x126d 22 esi = [rbp - 0x14 {var_1c}].d
0x1270 23 call(0x1150)
0x1275 24 esi = eax
0x1277 25 rdi = 0x200a {"%d\n"}
0x127e 26 al = 0
0x1280 27 call(0x1030)
0x1285 28 eax = [rbp - 0xc {var_14}].d
0x1288 29 eax = eax + 1
0x128b 30 [rbp - 0xc {var_14}].d = eax
0x128e 31 goto 10 @ 0x1248
int64_t _fini():
0x12a0 0 rsp = rsp - 8
0x12a4 1 rsp = rsp + 8
0x12a8 2 <return> jump(pop)
| POJ_90 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t 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 {"AWAVAUATSHH="}
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(r13)
0x1166 3 push(r12)
0x1168 4 push(rbx)
0x1169 5 rsp = rsp - 0x10
0x116d 6 rdi = 0x2004 {"%d"}
0x1174 7 rsi = rsp + 0xc {var_2c}
0x1179 8 eax = 0
0x117b 9 call(0x1050)
0x1180 10 eax = [rsp + 0xc {var_2c}].d
0x1186 11 if (eax s<= 0) then 12 @ 0x11f3 else 13 @ 0x1188
0x11f3 12 if (eax s<= 0) then 17 @ 0x12aa else 37 @ 0x11f9
0x1188 13 r15 = 0x4050 {""}
0x118f 14 r14 = 0x2004 {"%d"}
0x1196 15 r12d = 0
0x1199 16 goto 42 @ 0x11ba
0x12aa 17 r10d = not.d(r10d)
0x12ad 18 r10d = r10d + r9d
0x12b0 19 esi = not.d(esi)
0x12b2 20 esi = esi + r8d
0x12b5 21 esi = esi * r10d
0x12b9 22 rdi = 0x2007 {"%d\n"}
0x12c0 23 eax = 0
0x12c2 24 call(0x1030)
0x12c7 25 eax = 0
0x12c9 26 call(0x1040)
0x12ce 27 eax = 0
0x12d0 28 call(0x1040)
0x12d5 29 eax = 0
0x12d7 30 rsp = rsp + 0x10
0x12db 31 rbx = pop
0x12dc 32 r12 = pop
0x12de 33 r13 = pop
0x12e0 34 r14 = pop
0x12e2 35 r15 = pop
0x12e4 36 <return> jump(pop)
0x11f9 37 rdi = sx.q(eax)
0x11fc 38 r11d = eax
0x11ff 39 r14 = 0x4050 {""}
0x1206 40 r15d = 0
0x1209 41 goto 43 @ 0x1210
0x11ba 42 if ([rsp + 0xc {var_2c}].d s<= 0) then 47 @ 0x11a0 else 51 @ 0x11bc
0x1210 43 rdx = r15 + 1
0x1214 44 bl = 1
0x1216 45 ecx = 0
0x1218 46 goto 54 @ 0x1232
0x11a0 47 r12 = r12 + 1
0x11a4 48 rax = sx.q([rsp + 0xc {var_2c}].d)
0x11a9 49 r15 = r15 + 0xfa4
0x11b3 50 if (r12 s>= rax) then 12 @ 0x11f3 else 42 @ 0x11ba
0x11bc 51 r13 = r15
0x11bf 52 ebx = 0
0x11cb 53 goto 55 @ 0x11d0
0x1232 54 if (rdx s>= rdi) then 63 @ 0x1253 else 64 @ 0x1234
0x11d0 55 rdi = r14
0x11d3 56 rsi = r13
0x11d6 57 eax = 0
0x11d8 58 call(0x1050)
0x11dd 59 rbx = rbx + 1
0x11e1 60 rax = sx.q([rsp + 0xc {var_2c}].d)
0x11e6 61 r13 = r13 + 4
0x11ed 62 if (rbx s< rax) then 55 @ 0x11d0 else 66 @ 0x11ef
0x1253 63 if (r15 == 0) then 67 @ 0x1220 else 70 @ 0x1258
0x1234 64 rax = rcx + 1
0x123b 65 if (rax s>= rdi) then 63 @ 0x1253 else 71 @ 0x1242
0x11ef 66 goto 47 @ 0x11a0
0x1220 67 rcx = rcx + 1
0x1227 68 bl = rcx s< rdi
0x122d 69 if (r11 == rcx) then 72 @ 0x1293 else 54 @ 0x1232
0x1258 70 if (rcx == 0) then 67 @ 0x1220 else 73 @ 0x125f
0x1242 71 if ([r14 + (rcx << 2)].d != 0) then 63 @ 0x1253 else 74 @ 0x124d
0x1293 72 if ((bl & 1) != 0) then 17 @ 0x12aa else 75 @ 0x1295
0x125f 73 if ([r14 + (rcx << 2)].d != 0) then 67 @ 0x1220 else 78 @ 0x126a
0x124d 74 if ([r14 + (rcx << 2) + 0xfa4].d == 0) then 79 @ 0x1276 else 82 @ 0x124f
0x1295 75 r14 = r14 + 0xfa4
0x129c 76 r15 = rdx
0x12a2 77 if (rdx s< rdi) then 43 @ 0x1210 else 83 @ 0x12a8
0x126a 78 if ([r14 + (rcx << 2) - 0xfa4].d != 0) then 67 @ 0x1220 else 84 @ 0x1272
0x1276 79 temp0.d = [r14 + (rcx << 2) + 4].d
0x1276 80 cond:0 = temp0.d == 0
0x127c 81 if (temp0.d == 0) then 85 else 87 @ 0x1280
0x124f 82 goto 63 @ 0x1253
0x12a8 83 goto 17 @ 0x12aa
0x1272 84 if ([r14 + (rcx << 2) - 4].d != 0) then 67 @ 0x1220 else 88 @ 0x1274
0x127c 85 r10d = r15d
0x127c 86 goto 87 @ 0x1280
0x1280 87 if (cond:0) then 89 else 91 @ 0x1286
0x1274 88 goto 92 @ 0x128a
0x1280 89 esi = ecx
0x1280 90 goto 91 @ 0x1286
0x1286 91 if (r15 != 0) then 70 @ 0x1258 else 95 @ 0x1288
0x128a 92 r9d = r15d
0x128d 93 r8d = ecx
0x128d 94 goto 72 @ 0x1293
0x1288 95 goto 67 @ 0x1220
int64_t _fini():
0x12ec 0 rsp = rsp - 8
0x12f0 1 rsp = rsp + 8
0x12f4 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 {"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 - 0x80
0x1160 6 xmm0 = 0
0x1163 7 [rsp + 0x60 {var_48}].o = xmm0
0x1168 8 [rsp + 0x50 {var_58}].o = xmm0
0x116d 9 [rsp + 0x40 {var_68}].o = xmm0
0x1172 10 [rsp + 0x30 {var_78}].o = xmm0
0x1177 11 [rsp + 0x20 {var_88}].o = xmm0
0x117c 12 [rsp + 0x10 {var_98}].o = xmm0
0x1181 13 [rsp + 0x70 {var_38}].d = 0
0x1189 14 r12 = rsp + 0x10 {var_98}
0x118e 15 r14 = 0x2006 {"%d"}
0x1195 16 r15d = 0
0x1198 17 goto 18 @ 0x11a0
0x11a0 18 ebx = 0
0x11ac 19 goto 20 @ 0x11b0
0x11b0 20 rsi = r12 + rbx
0x11b4 21 rdi = r14
0x11b7 22 eax = 0
0x11b9 23 call(0x1040)
0x11be 24 rbx = rbx + 4
0x11c6 25 if (rbx != 0x14) then 20 @ 0x11b0 else 26 @ 0x11c8
0x11c8 26 r15 = r15 + 1
0x11cc 27 r12 = r12 + 0x14
0x11d4 28 if (r15 != 5) then 18 @ 0x11a0 else 29 @ 0x11d6
0x11d6 29 rdi = 0x2004 {"%d%d"}
0x11dd 30 rsi = rsp + 0xc {var_9c}
0x11e2 31 rdx = rsp + 8 {var_a0}
0x11e7 32 eax = 0
0x11e9 33 call(0x1040)
0x11ee 34 rax = sx.q([rsp + 0xc {var_9c}].d)
0x11f7 35 if (rax u> 4) then 36 @ 0x12ab else 40 @ 0x11fd
0x12ab 36 rdi = 0x2011 {"error"}
0x12b2 37 eax = 0
0x12b4 38 call(0x1030)
0x12b4 39 goto 42 @ 0x12b9
0x11fd 40 ecx = [rsp + 8 {var_a0}].d
0x1203 41 if (ecx s< 0) then 36 @ 0x12ab else 49 @ 0x120c
0x12b9 42 rsp = rsp + 0x80
0x12c0 43 rbx = pop
0x12c1 44 r12 = pop
0x12c3 45 r13 = pop
0x12c5 46 r14 = pop
0x12c7 47 r15 = pop
0x12c9 48 <return> jump(pop)
0x120c 49 if (ecx s> 4) then 36 @ 0x12ab else 50 @ 0x1212
0x1212 50 rcx = sx.q(ecx)
0x1215 51 rax = rax + (rax << 2)
0x1219 52 rax = rsp + (rax << 2)
0x121d 53 rax = rax + 0x10
0x1221 54 rcx = rcx + (rcx << 2)
0x1225 55 rcx = rsp + (rcx << 2)
0x1229 56 rcx = rcx + 0x10
0x122d 57 edx = 0
0x122f 58 goto 59 @ 0x1230
0x1230 59 esi = [rax + (rdx << 2)].d
0x1233 60 edi = [rcx + (rdx << 2)].d
0x1236 61 [rax + (rdx << 2)].d = edi
0x1239 62 [rcx + (rdx << 2)].d = esi
0x123c 63 rdx = rdx + 1
0x1244 64 if (rdx != 5) then 59 @ 0x1230 else 65 @ 0x1246
0x1246 65 r13 = rsp + 0x10 {var_98}
0x124b 66 r15 = 0x2009 {"%d "}
0x1252 67 r14 = 0x200d {"%d\n"}
0x1259 68 r12d = 0
0x125c 69 goto 70 @ 0x1260
0x1260 70 ebx = 0
0x126c 71 goto 72 @ 0x1270
0x1270 72 esi = [r13 + (rbx << 2)].d
0x1275 73 rdi = r15
0x1278 74 eax = 0
0x127a 75 call(0x1030)
0x127f 76 rbx = rbx + 1
0x1287 77 if (rbx != 4) then 72 @ 0x1270 else 78 @ 0x1289
0x1289 78 rax = r12 + (r12 << 2)
0x128d 79 esi = [rsp + (rax << 2) + 0x20].d
0x1291 80 rdi = r14
0x1294 81 eax = 0
0x1296 82 call(0x1030)
0x129b 83 r12 = r12 + 1
0x129f 84 r13 = r13 + 0x14
0x12a7 85 if (r12 != 5) then 70 @ 0x1260 else 86 @ 0x12a9
0x12a9 86 goto 42 @ 0x12b9
int64_t _fini():
0x12d0 0 rsp = rsp - 8
0x12d4 1 rsp = rsp + 8
0x12d8 2 <return> jump(pop)
| POJ_81 |
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 - 0x9c60
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 rdi = 0x2004 {"%d%d"}
0x1169 5 rsi = rbp - 8 {var_10}
0x116d 6 rdx = rbp - 0xc {var_14}
0x1171 7 al = 0
0x1173 8 call(0x1040)
0x1178 9 [rbp - 0x9c58 {var_9c60}].d = 0
0x1178 10 goto 11 @ 0x1182
0x1182 11 eax = [rbp - 0x9c58 {var_9c60}].d
0x118b 12 if (eax s>= [rbp - 8 {var_10}].d) then 13 @ 0x120b else 15 @ 0x1191
0x120b 13 eax = [rbp - 8 {var_10}].d
0x1211 14 if (eax s>= [rbp - 0xc {var_14}].d) then 17 @ 0x1424 else 19 @ 0x1217
0x1191 15 [rbp - 0x9c5c {var_9c64_1}].d = 0
0x1191 16 goto 21 @ 0x119b
0x1424 17 [rbp - 0x9c54 {var_9c5c_3}].d = 0
0x1424 18 goto 23 @ 0x142e
0x1217 19 [rbp - 0x9c54 {var_9c5c}].d = 0
0x1217 20 goto 27 @ 0x1221
0x119b 21 eax = [rbp - 0x9c5c {var_9c64_1}].d
0x11a4 22 if (eax s>= [rbp - 0xc {var_14}].d) then 31 @ 0x11f2 else 32 @ 0x11aa
0x142e 23 eax = [rbp - 0x9c54 {var_9c5c_3}].d
0x1434 24 ecx = [rbp - 0xc {var_14}].d
0x1437 25 ecx = ecx - 1
0x143c 26 if (eax s> ecx) then 46 @ 0x14cd else 49 @ 0x1442
0x1221 27 eax = [rbp - 0x9c54 {var_9c5c}].d
0x1227 28 ecx = [rbp - 8 {var_10}].d
0x122a 29 ecx = ecx - 1
0x122f 30 if (eax s> ecx) then 51 @ 0x12c0 else 54 @ 0x1235
0x11f2 31 goto 56 @ 0x11f7
0x11aa 32 rax = sx.q([rbp - 0x9c58 {var_9c60}].d)
0x11b1 33 rsi = rbp - 0x9c50 {var_9c58}
0x11b8 34 rax = rax * 0x190
0x11bf 35 rsi = rsi + rax
0x11c2 36 rax = sx.q([rbp - 0x9c5c {var_9c64_1}].d)
0x11c9 37 rax = rax << 2
0x11cd 38 rsi = rsi + rax
0x11d0 39 rdi = 0x2006 {"%d"}
0x11d7 40 al = 0
0x11d9 41 call(0x1040)
0x11de 42 eax = [rbp - 0x9c5c {var_9c64_1}].d
0x11e4 43 eax = eax + 1
0x11e7 44 [rbp - 0x9c5c {var_9c64_1}].d = eax
0x11ed 45 goto 21 @ 0x119b
0x14cd 46 eax = [rbp - 0xc {var_14}].d
0x14d0 47 [rbp - 0x9c54 {var_9c5c_4}].d = eax
0x14d0 48 goto 60 @ 0x14d6
0x1442 49 [rbp - 0x9c58 {var_9c60_4}].d = 0
0x1442 50 goto 64 @ 0x144c
0x12c0 51 eax = [rbp - 8 {var_10}].d
0x12c3 52 [rbp - 0x9c54 {var_9c5c_1}].d = eax
0x12c3 53 goto 66 @ 0x12c9
0x1235 54 [rbp - 0x9c58 {var_9c60_1}].d = 0
0x1235 55 goto 70 @ 0x123f
0x11f7 56 eax = [rbp - 0x9c58 {var_9c60}].d
0x11fd 57 eax = eax + 1
0x1200 58 [rbp - 0x9c58 {var_9c60}].d = eax
0x1206 59 goto 11 @ 0x1182
0x14d6 60 eax = [rbp - 0x9c54 {var_9c5c_4}].d
0x14dc 61 ecx = [rbp - 8 {var_10}].d
0x14df 62 ecx = ecx - 1
0x14e4 63 if (eax s> ecx) then 72 @ 0x157d else 75 @ 0x14ea
0x144c 64 eax = [rbp - 0x9c58 {var_9c60_4}].d
0x1458 65 if (eax s> [rbp - 0x9c54 {var_9c5c_3}].d) then 80 @ 0x14b4 else 81 @ 0x145e
0x12c9 66 eax = [rbp - 0x9c54 {var_9c5c_1}].d
0x12cf 67 ecx = [rbp - 0xc {var_14}].d
0x12d2 68 ecx = ecx - 1
0x12d7 69 if (eax s> ecx) then 97 @ 0x136a else 100 @ 0x12dd
0x123f 70 eax = [rbp - 0x9c58 {var_9c60_1}].d
0x124b 71 if (eax s> [rbp - 0x9c54 {var_9c5c}].d) then 102 @ 0x12a7 else 103 @ 0x1251
0x157d 72 eax = [rbp - 8 {var_10}].d
0x1580 73 [rbp - 0x9c54 {var_9c5c_5}].d = eax
0x1580 74 goto 119 @ 0x1586
0x14ea 75 eax = [rbp - 0x9c54 {var_9c5c_4}].d
0x14f0 76 eax = eax - [rbp - 0xc {var_14}].d
0x14f3 77 eax = eax + 1
0x14f6 78 [rbp - 0x9c58 {var_9c60_5}].d = eax
0x14f6 79 goto 124 @ 0x14fc
0x14b4 80 goto 126 @ 0x14b9
0x145e 81 eax = [rbp - 0x9c54 {var_9c5c_3}].d
0x1464 82 eax = eax - [rbp - 0x9c58 {var_9c60_4}].d
0x146a 83 [rbp - 0x9c5c {var_9c64_5}].d = eax
0x1470 84 rcx = sx.q([rbp - 0x9c58 {var_9c60_4}].d)
0x1477 85 rax = rbp - 0x9c50 {var_9c58}
0x147e 86 rcx = rcx * 0x190
0x1485 87 rax = rax + rcx
0x1488 88 rcx = sx.q([rbp - 0x9c5c {var_9c64_5}].d)
0x148f 89 esi = [rax + (rcx << 2)].d
0x1492 90 rdi = 0x2009 {"%d\n"}
0x1499 91 al = 0
0x149b 92 call(0x1030)
0x14a0 93 eax = [rbp - 0x9c58 {var_9c60_4}].d
0x14a6 94 eax = eax + 1
0x14a9 95 [rbp - 0x9c58 {var_9c60_4}].d = eax
0x14af 96 goto 64 @ 0x144c
0x136a 97 eax = [rbp - 0xc {var_14}].d
0x136d 98 [rbp - 0x9c54 {var_9c5c_2}].d = eax
0x136d 99 goto 130 @ 0x1373
0x12dd 100 [rbp - 0x9c58 {var_9c60_2}].d = 0
0x12dd 101 goto 135 @ 0x12e7
0x12a7 102 goto 139 @ 0x12ac
0x1251 103 eax = [rbp - 0x9c54 {var_9c5c}].d
0x1257 104 eax = eax - [rbp - 0x9c58 {var_9c60_1}].d
0x125d 105 [rbp - 0x9c5c {var_9c64_2}].d = eax
0x1263 106 rcx = sx.q([rbp - 0x9c58 {var_9c60_1}].d)
0x126a 107 rax = rbp - 0x9c50 {var_9c58}
0x1271 108 rcx = rcx * 0x190
0x1278 109 rax = rax + rcx
0x127b 110 rcx = sx.q([rbp - 0x9c5c {var_9c64_2}].d)
0x1282 111 esi = [rax + (rcx << 2)].d
0x1285 112 rdi = 0x2009 {"%d\n"}
0x128c 113 al = 0
0x128e 114 call(0x1030)
0x1293 115 eax = [rbp - 0x9c58 {var_9c60_1}].d
0x1299 116 eax = eax + 1
0x129c 117 [rbp - 0x9c58 {var_9c60_1}].d = eax
0x12a2 118 goto 70 @ 0x123f
0x1586 119 eax = [rbp - 0x9c54 {var_9c5c_5}].d
0x158c 120 ecx = [rbp - 8 {var_10}].d
0x158f 121 ecx = ecx + [rbp - 0xc {var_14}].d
0x1592 122 ecx = ecx - 2
0x1597 123 if (eax s> ecx) then 143 @ 0x1632 else 144 @ 0x159d
0x14fc 124 eax = [rbp - 0x9c58 {var_9c60_5}].d
0x1508 125 if (eax s> [rbp - 0x9c54 {var_9c5c_4}].d) then 149 @ 0x1564 else 150 @ 0x150e
0x14b9 126 eax = [rbp - 0x9c54 {var_9c5c_3}].d
0x14bf 127 eax = eax + 1
0x14c2 128 [rbp - 0x9c54 {var_9c5c_3}].d = eax
0x14c8 129 goto 23 @ 0x142e
0x1373 130 eax = [rbp - 0x9c54 {var_9c5c_2}].d
0x1379 131 ecx = [rbp - 0xc {var_14}].d
0x137c 132 ecx = ecx + [rbp - 8 {var_10}].d
0x137f 133 ecx = ecx - 2
0x1384 134 if (eax s> ecx) then 166 @ 0x141f else 167 @ 0x138a
0x12e7 135 eax = [rbp - 0x9c58 {var_9c60_2}].d
0x12ed 136 ecx = [rbp - 8 {var_10}].d
0x12f0 137 ecx = ecx - 1
0x12f5 138 if (eax s> ecx) then 172 @ 0x1351 else 173 @ 0x12fb
0x12ac 139 eax = [rbp - 0x9c54 {var_9c5c}].d
0x12b2 140 eax = eax + 1
0x12b5 141 [rbp - 0x9c54 {var_9c5c}].d = eax
0x12bb 142 goto 27 @ 0x1221
0x1632 143 goto 189 @ 0x1637
0x159d 144 eax = [rbp - 0x9c54 {var_9c5c_5}].d
0x15a3 145 eax = eax - [rbp - 0xc {var_14}].d
0x15a6 146 eax = eax + 1
0x15a9 147 [rbp - 0x9c58 {var_9c60_6}].d = eax
0x15a9 148 goto 193 @ 0x15af
0x1564 149 goto 197 @ 0x1569
0x150e 150 eax = [rbp - 0x9c54 {var_9c5c_4}].d
0x1514 151 eax = eax - [rbp - 0x9c58 {var_9c60_5}].d
0x151a 152 [rbp - 0x9c5c {var_9c64_6}].d = eax
0x1520 153 rcx = sx.q([rbp - 0x9c58 {var_9c60_5}].d)
0x1527 154 rax = rbp - 0x9c50 {var_9c58}
0x152e 155 rcx = rcx * 0x190
0x1535 156 rax = rax + rcx
0x1538 157 rcx = sx.q([rbp - 0x9c5c {var_9c64_6}].d)
0x153f 158 esi = [rax + (rcx << 2)].d
0x1542 159 rdi = 0x2009 {"%d\n"}
0x1549 160 al = 0
0x154b 161 call(0x1030)
0x1550 162 eax = [rbp - 0x9c58 {var_9c60_5}].d
0x1556 163 eax = eax + 1
0x1559 164 [rbp - 0x9c58 {var_9c60_5}].d = eax
0x155f 165 goto 124 @ 0x14fc
0x141f 166 goto 189 @ 0x1637
0x138a 167 eax = [rbp - 0x9c54 {var_9c5c_2}].d
0x1390 168 eax = eax - [rbp - 0xc {var_14}].d
0x1393 169 eax = eax + 1
0x1396 170 [rbp - 0x9c58 {var_9c60_3}].d = eax
0x1396 171 goto 201 @ 0x139c
0x1351 172 goto 205 @ 0x1356
0x12fb 173 eax = [rbp - 0x9c54 {var_9c5c_1}].d
0x1301 174 eax = eax - [rbp - 0x9c58 {var_9c60_2}].d
0x1307 175 [rbp - 0x9c5c {var_9c64_3}].d = eax
0x130d 176 rcx = sx.q([rbp - 0x9c58 {var_9c60_2}].d)
0x1314 177 rax = rbp - 0x9c50 {var_9c58}
0x131b 178 rcx = rcx * 0x190
0x1322 179 rax = rax + rcx
0x1325 180 rcx = sx.q([rbp - 0x9c5c {var_9c64_3}].d)
0x132c 181 esi = [rax + (rcx << 2)].d
0x132f 182 rdi = 0x2009 {"%d\n"}
0x1336 183 al = 0
0x1338 184 call(0x1030)
0x133d 185 eax = [rbp - 0x9c58 {var_9c60_2}].d
0x1343 186 eax = eax + 1
0x1346 187 [rbp - 0x9c58 {var_9c60_2}].d = eax
0x134c 188 goto 135 @ 0x12e7
0x1637 189 eax = 0
0x1639 190 rsp = rsp + 0x9c60
0x1640 191 rbp = pop
0x1641 192 <return> jump(pop)
0x15af 193 eax = [rbp - 0x9c58 {var_9c60_6}].d
0x15b5 194 ecx = [rbp - 8 {var_10}].d
0x15b8 195 ecx = ecx - 1
0x15bd 196 if (eax s> ecx) then 209 @ 0x1619 else 210 @ 0x15c3
0x1569 197 eax = [rbp - 0x9c54 {var_9c5c_4}].d
0x156f 198 eax = eax + 1
0x1572 199 [rbp - 0x9c54 {var_9c5c_4}].d = eax
0x1578 200 goto 60 @ 0x14d6
0x139c 201 eax = [rbp - 0x9c58 {var_9c60_3}].d
0x13a2 202 ecx = [rbp - 8 {var_10}].d
0x13a5 203 ecx = ecx - 1
0x13aa 204 if (eax s> ecx) then 226 @ 0x1406 else 227 @ 0x13b0
0x1356 205 eax = [rbp - 0x9c54 {var_9c5c_1}].d
0x135c 206 eax = eax + 1
0x135f 207 [rbp - 0x9c54 {var_9c5c_1}].d = eax
0x1365 208 goto 66 @ 0x12c9
0x1619 209 goto 243 @ 0x161e
0x15c3 210 eax = [rbp - 0x9c54 {var_9c5c_5}].d
0x15c9 211 eax = eax - [rbp - 0x9c58 {var_9c60_6}].d
0x15cf 212 [rbp - 0x9c5c {var_9c64_7}].d = eax
0x15d5 213 rcx = sx.q([rbp - 0x9c58 {var_9c60_6}].d)
0x15dc 214 rax = rbp - 0x9c50 {var_9c58}
0x15e3 215 rcx = rcx * 0x190
0x15ea 216 rax = rax + rcx
0x15ed 217 rcx = sx.q([rbp - 0x9c5c {var_9c64_7}].d)
0x15f4 218 esi = [rax + (rcx << 2)].d
0x15f7 219 rdi = 0x2009 {"%d\n"}
0x15fe 220 al = 0
0x1600 221 call(0x1030)
0x1605 222 eax = [rbp - 0x9c58 {var_9c60_6}].d
0x160b 223 eax = eax + 1
0x160e 224 [rbp - 0x9c58 {var_9c60_6}].d = eax
0x1614 225 goto 193 @ 0x15af
0x1406 226 goto 247 @ 0x140b
0x13b0 227 eax = [rbp - 0x9c54 {var_9c5c_2}].d
0x13b6 228 eax = eax - [rbp - 0x9c58 {var_9c60_3}].d
0x13bc 229 [rbp - 0x9c5c {var_9c64_4}].d = eax
0x13c2 230 rcx = sx.q([rbp - 0x9c58 {var_9c60_3}].d)
0x13c9 231 rax = rbp - 0x9c50 {var_9c58}
0x13d0 232 rcx = rcx * 0x190
0x13d7 233 rax = rax + rcx
0x13da 234 rcx = sx.q([rbp - 0x9c5c {var_9c64_4}].d)
0x13e1 235 esi = [rax + (rcx << 2)].d
0x13e4 236 rdi = 0x2009 {"%d\n"}
0x13eb 237 al = 0
0x13ed 238 call(0x1030)
0x13f2 239 eax = [rbp - 0x9c58 {var_9c60_3}].d
0x13f8 240 eax = eax + 1
0x13fb 241 [rbp - 0x9c58 {var_9c60_3}].d = eax
0x1401 242 goto 201 @ 0x139c
0x161e 243 eax = [rbp - 0x9c54 {var_9c5c_5}].d
0x1624 244 eax = eax + 1
0x1627 245 [rbp - 0x9c54 {var_9c5c_5}].d = eax
0x162d 246 goto 119 @ 0x1586
0x140b 247 eax = [rbp - 0x9c54 {var_9c5c_2}].d
0x1411 248 eax = eax + 1
0x1414 249 [rbp - 0x9c54 {var_9c5c_2}].d = eax
0x141a 250 goto 130 @ 0x1373
int64_t _fini():
0x1648 0 rsp = rsp - 8
0x164c 1 rsp = rsp + 8
0x1650 2 <return> jump(pop)
| POJ_4 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"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 - 0xfb8
0x115d 5 rdi = 0x2004 {"%d %d"}
0x1164 6 ebp = 0
0x1166 7 rsi = rsp + 8 {var_fd0}
0x116b 8 rdx = rsp + 0xc {var_fcc}
0x1170 9 eax = 0
0x1172 10 call(0x1040)
0x1177 11 ecx = [rsp + 8 {var_fd0}].d
0x117d 12 if (ecx s<= 0) then 13 @ 0x11b1 else 14 @ 0x117f
0x11b1 13 if (ecx s<= 0) then 18 @ 0x11ff else 19 @ 0x11b3
0x117f 14 r15 = rsp + 0x10 {var_fc8}
0x1184 15 r14 = 0x2007 {"%d"}
0x118b 16 ebx = 0
0x118d 17 goto 25 @ 0x1190
0x11ff 18 if (ebp == 0) then 33 @ 0x120f else 35 @ 0x1204
0x11b3 19 eax = [rsp + 0xc {var_fcc}].d
0x11b7 20 ecx = ecx
0x11b9 21 r8d = 0
0x11bc 22 esi = 1
0x11c1 23 ebp = 0
0x11cd 24 goto 36 @ 0x11d0
0x1190 25 rdi = r14
0x1193 26 rsi = r15
0x1196 27 eax = 0
0x1198 28 call(0x1040)
0x119d 29 rbx = rbx + 1
0x11a1 30 rcx = sx.q([rsp + 8 {var_fd0}].d)
0x11a6 31 r15 = r15 + 4
0x11ad 32 if (rbx s< rcx) then 25 @ 0x1190 else 13 @ 0x11b1
0x120f 33 rdi = 0x200e {"no"}
0x120f 34 goto 39 @ 0x1216
0x1204 35 if (ebp != 1) then 42 @ 0x121d else 49 @ 0x1206
0x11d0 36 edi = [rsp + (r8 << 2) + 0x10].d
0x11d5 37 ebx = 0
0x11d7 38 goto 51 @ 0x11e0
0x1216 39 eax = 0
0x1218 40 call(0x1030)
0x1218 41 goto 42 @ 0x121d
0x121d 42 eax = 0
0x121f 43 rsp = rsp + 0xfb8
0x1226 44 rbx = pop
0x1227 45 r14 = pop
0x1229 46 r15 = pop
0x122b 47 rbp = pop
0x122c 48 <return> jump(pop)
0x1206 49 rdi = 0x200a {"yes"}
0x120d 50 goto 39 @ 0x1216
0x11e0 51 edx = [rsp + (rbx << 2) + 0x10].d
0x11e4 52 edx = edx + edi
0x11e8 53 if (edx == eax) then 54 else 56 @ 0x11eb
0x11e8 54 ebp = esi
0x11e8 55 goto 56 @ 0x11eb
0x11eb 56 rbx = rbx + 1
0x11f2 57 if (rcx != rbx) then 51 @ 0x11e0 else 58 @ 0x11f4
0x11f4 58 r8 = r8 + 1
0x11fb 59 if (r8 != rcx) then 36 @ 0x11d0 else 18 @ 0x11ff
int64_t _fini():
0x1234 0 rsp = rsp - 8
0x1238 1 rsp = rsp + 8
0x123c 2 <return> jump(pop)
| POJ_3 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
char* gets(char* buf):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UHH0"}
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 - 0x230
0x115b 3 [rbp - 0x220 {var_228}].d = 0
0x1165 4 [rbp - 0x22c {var_234}].d = 0
0x116f 5 rdi = rbp - 0x70 {var_78}
0x1173 6 al = 0
0x1175 7 call(0x1040)
0x117a 8 [rbp - 0x21c {var_224}].d = 0
0x117a 9 goto 10 @ 0x1184
0x1184 10 rax = sx.q([rbp - 0x21c {var_224}].d)
0x118b 11 eax = sx.d([rbp + rax - 0x70].b)
0x1193 12 if (eax == 0) then 13 @ 0x122f else 14 @ 0x1199
0x122f 13 if ([rbp - 0x220 {var_228}].d != 0) then 17 @ 0x12ba else 18 @ 0x1235
0x1199 14 rax = sx.q([rbp - 0x21c {var_224}].d)
0x11a0 15 eax = sx.d([rbp + rax - 0x70].b)
0x11a8 16 if (eax != 0x20) then 20 @ 0x11e5 else 25 @ 0x11ae
0x12ba 17 goto 35 @ 0x12c6
0x1235 18 [rbp - 0x228 {var_230_1}].d = 0
0x1235 19 goto 36 @ 0x123f
0x11e5 20 eax = [rbp - 0x21c {var_224}].d
0x11eb 21 eax = eax + 1
0x11ee 22 rax = sx.q(eax)
0x11f0 23 eax = sx.d([rbp + rax - 0x70].b)
0x11f8 24 if (eax != 0) then 42 @ 0x120a else 43 @ 0x11fe
0x11ae 25 ecx = [rbp - 0x21c {var_224}].d
0x11b4 26 rax = sx.q([rbp - 0x220 {var_228}].d)
0x11bb 27 [rbp + (rax << 2) - 0x210].d = ecx
0x11c2 28 eax = [rbp - 0x220 {var_228}].d
0x11c8 29 eax = eax + 1
0x11cb 30 [rbp - 0x220 {var_228}].d = eax
0x11d1 31 eax = [rbp - 0x22c {var_234}].d
0x11d7 32 eax = eax + 1
0x11da 33 [rbp - 0x22c {var_234}].d = eax
0x11e0 34 goto 46 @ 0x120f
0x12c6 35 if ([rbp - 0x220 {var_228}].d s<= 0) then 47 @ 0x13bb else 49 @ 0x12cc
0x123f 36 rax = sx.q([rbp - 0x228 {var_230_1}].d)
0x1246 37 ecx = sx.d([rbp + rax - 0x70].b)
0x124b 38 eax = 0
0x124d 39 cond:0 = ecx == 0x20
0x1250 40 [rbp - 0x22d {var_235_1}].b = al
0x1256 41 if (cond:0) then 56 @ 0x1274 else 58 @ 0x125c
0x120a 42 goto 46 @ 0x120f
0x11fe 43 eax = [rbp - 0x21c {var_224}].d
0x1204 44 [rbp - 0x214 {var_21c_1}].d = eax
0x1204 45 goto 42 @ 0x120a
0x120f 46 goto 63 @ 0x1214
0x13bb 47 [rbp - 0x228 {var_230_3}].d = 0
0x13bb 48 goto 67 @ 0x13c5
0x12cc 49 eax = [rbp - 0x220 {var_228}].d
0x12d2 50 eax = eax - 1
0x12d5 51 rax = sx.q(eax)
0x12d7 52 eax = [rbp + (rax << 2) - 0x210].d
0x12de 53 eax = eax + 1
0x12e1 54 [rbp - 0x228 {var_230_2}].d = eax
0x12e1 55 goto 73 @ 0x12e7
0x1274 56 al = [rbp - 0x22d {var_235_1}].b
0x127c 57 if ((al & 1) != 0) then 79 @ 0x1287 else 88 @ 0x1282
0x125c 58 rax = sx.q([rbp - 0x228 {var_230_1}].d)
0x1263 59 eax = sx.d([rbp + rax - 0x70].b)
0x126b 60 al = eax != 0
0x126e 61 [rbp - 0x22d {var_235_1}].b = al
0x126e 62 goto 56 @ 0x1274
0x1214 63 eax = [rbp - 0x21c {var_224}].d
0x121a 64 eax = eax + 1
0x121d 65 [rbp - 0x21c {var_224}].d = eax
0x1223 66 goto 10 @ 0x1184
0x13c5 67 rax = sx.q([rbp - 0x228 {var_230_3}].d)
0x13cc 68 ecx = sx.d([rbp + rax - 0x70].b)
0x13d1 69 eax = 0
0x13d3 70 cond:1 = ecx == 0x20
0x13d6 71 [rbp - 0x22f {var_237_1}].b = al
0x13dc 72 if (cond:1) then 89 @ 0x13fa else 91 @ 0x13e2
0x12e7 73 rax = sx.q([rbp - 0x228 {var_230_2}].d)
0x12ee 74 ecx = sx.d([rbp + rax - 0x70].b)
0x12f3 75 eax = 0
0x12f5 76 cond:2 = ecx == 0x20
0x12f8 77 [rbp - 0x22e {var_236_1}].b = al
0x12fe 78 if (cond:2) then 96 @ 0x131c else 98 @ 0x1304
0x1287 79 rax = sx.q([rbp - 0x228 {var_230_1}].d)
0x128e 80 esi = sx.d([rbp + rax - 0x70].b)
0x1293 81 rdi = 0x2004 {"%c"}
0x129a 82 al = 0
0x129c 83 call(0x1030)
0x12a1 84 eax = [rbp - 0x228 {var_230_1}].d
0x12a7 85 eax = eax + 1
0x12aa 86 [rbp - 0x228 {var_230_1}].d = eax
0x12b0 87 goto 36 @ 0x123f
0x1282 88 goto 103 @ 0x12b5
0x13fa 89 al = [rbp - 0x22f {var_237_1}].b
0x1402 90 if ((al & 1) != 0) then 104 @ 0x140d else 113 @ 0x1408
0x13e2 91 rax = sx.q([rbp - 0x228 {var_230_3}].d)
0x13e9 92 eax = sx.d([rbp + rax - 0x70].b)
0x13f1 93 al = eax != 0
0x13f4 94 [rbp - 0x22f {var_237_1}].b = al
0x13f4 95 goto 89 @ 0x13fa
0x131c 96 al = [rbp - 0x22e {var_236_1}].b
0x1324 97 if ((al & 1) != 0) then 114 @ 0x132f else 124 @ 0x132a
0x1304 98 rax = sx.q([rbp - 0x228 {var_230_2}].d)
0x130b 99 eax = sx.d([rbp + rax - 0x70].b)
0x1313 100 al = eax != 0
0x1316 101 [rbp - 0x22e {var_236_1}].b = al
0x1316 102 goto 96 @ 0x131c
0x12b5 103 goto 125 @ 0x1440
0x140d 104 rax = sx.q([rbp - 0x228 {var_230_3}].d)
0x1414 105 esi = sx.d([rbp + rax - 0x70].b)
0x1419 106 rdi = 0x2004 {"%c"}
0x1420 107 al = 0
0x1422 108 call(0x1030)
0x1427 109 eax = [rbp - 0x228 {var_230_3}].d
0x142d 110 eax = eax + 1
0x1430 111 [rbp - 0x228 {var_230_3}].d = eax
0x1436 112 goto 67 @ 0x13c5
0x1408 113 goto 128 @ 0x143b
0x132f 114 rax = sx.q([rbp - 0x228 {var_230_2}].d)
0x1336 115 esi = sx.d([rbp + rax - 0x70].b)
0x133b 116 rdi = 0x2004 {"%c"}
0x1342 117 al = 0
0x1344 118 call(0x1030)
0x1349 119 eax = [rbp - 0x228 {var_230_2}].d
0x134f 120 eax = eax + 1
0x1352 121 rax = sx.q(eax)
0x1354 122 eax = sx.d([rbp + rax - 0x70].b)
0x135c 123 if (eax == 0x20) then 129 @ 0x137b else 133 @ 0x1362
0x132a 124 goto 138 @ 0x13a2
0x1440 125 rsp = rsp + 0x230
0x1447 126 rbp = pop
0x1448 127 <return> jump(pop)
0x143b 128 goto 125 @ 0x1440
0x137b 129 rdi = 0x2007 {" "}
0x1382 130 al = 0
0x1384 131 call(0x1030)
0x1384 132 goto 139 @ 0x1389
0x1362 133 eax = [rbp - 0x228 {var_230_2}].d
0x1368 134 eax = eax + 1
0x136b 135 rax = sx.q(eax)
0x136d 136 eax = sx.d([rbp + rax - 0x70].b)
0x1375 137 if (eax != 0) then 139 @ 0x1389 else 129 @ 0x137b
0x13a2 138 goto 140 @ 0x13a7
0x1389 139 goto 144 @ 0x138e
0x13a7 140 eax = [rbp - 0x220 {var_228}].d
0x13ad 141 eax = eax - 1
0x13b0 142 [rbp - 0x220 {var_228}].d = eax
0x13b6 143 goto 35 @ 0x12c6
0x138e 144 eax = [rbp - 0x228 {var_230_2}].d
0x1394 145 eax = eax + 1
0x1397 146 [rbp - 0x228 {var_230_2}].d = eax
0x139d 147 goto 73 @ 0x12e7
int64_t _fini():
0x1450 0 rsp = rsp - 8
0x1454 1 rsp = rsp + 8
0x1458 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 {"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 - 0x350
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 [rbp - 0x344 {var_34c}].d = 0
0x116c 5 [rbp - 0x348 {var_350}].d = 0
0x1176 6 rdi = 0x2006 {"%d"}
0x117d 7 rsi = rbp - 0xc {var_14}
0x1181 8 al = 0
0x1183 9 call(0x1040)
0x1188 10 [rbp - 8 {var_10}].d = 0
0x1188 11 goto 12 @ 0x118f
0x118f 12 eax = [rbp - 8 {var_10}].d
0x1195 13 if (eax s>= [rbp - 0xc {var_14}].d) then 14 @ 0x11db else 16 @ 0x119b
0x11db 14 [rbp - 8 {var_10_1}].d = 0
0x11db 15 goto 31 @ 0x11e2
0x119b 16 rax = sx.q([rbp - 8 {var_10}].d)
0x119f 17 rsi = rbp - 0x1a0 {var_1a8}
0x11a6 18 rax = rax << 2
0x11aa 19 rsi = rsi + rax
0x11ad 20 rax = sx.q([rbp - 8 {var_10}].d)
0x11b1 21 rdx = rbp - 0x340 {var_348}
0x11b8 22 rax = rax << 2
0x11bc 23 rdx = rdx + rax
0x11bf 24 rdi = 0x2004 {"%d%d"}
0x11c6 25 al = 0
0x11c8 26 call(0x1040)
0x11cd 27 eax = [rbp - 8 {var_10}].d
0x11d0 28 eax = eax + 1
0x11d3 29 [rbp - 8 {var_10}].d = eax
0x11d6 30 goto 12 @ 0x118f
0x11e2 31 eax = [rbp - 8 {var_10_1}].d
0x11e8 32 if (eax s>= [rbp - 0xc {var_14}].d) then 33 @ 0x1288 else 41 @ 0x11ee
0x1288 33 esi = [rbp - 0x348 {var_350}].d
0x128e 34 rdi = 0x2006 {"%d"}
0x1295 35 al = 0
0x1297 36 call(0x1030)
0x129c 37 eax = 0
0x129e 38 rsp = rsp + 0x350
0x12a5 39 rbp = pop
0x12a6 40 <return> jump(pop)
0x11ee 41 rax = sx.q([rbp - 8 {var_10_1}].d)
0x11fa 42 if ([rbp + (rax << 2) - 0x1a0].d s< 0x5a) then 43 @ 0x124d else 45 @ 0x1200
0x124d 43 [rbp - 0x344 {var_34c}].d = 0
0x124d 44 goto 47 @ 0x1257
0x1200 45 rax = sx.q([rbp - 8 {var_10_1}].d)
0x120f 46 if ([rbp + (rax << 2) - 0x1a0].d s> 0x8c) then 43 @ 0x124d else 49 @ 0x1215
0x1257 47 eax = [rbp - 0x344 {var_34c}].d
0x1263 48 if (eax s<= [rbp - 0x348 {var_350}].d) then 51 @ 0x1275 else 52 @ 0x1269
0x1215 49 rax = sx.q([rbp - 8 {var_10_1}].d)
0x1221 50 if ([rbp + (rax << 2) - 0x340].d s< 0x3c) then 43 @ 0x124d else 55 @ 0x1227
0x1275 51 goto 57 @ 0x127a
0x1269 52 eax = [rbp - 0x344 {var_34c}].d
0x126f 53 [rbp - 0x348 {var_350}].d = eax
0x126f 54 goto 51 @ 0x1275
0x1227 55 rax = sx.q([rbp - 8 {var_10_1}].d)
0x1233 56 if ([rbp + (rax << 2) - 0x340].d s> 0x5a) then 43 @ 0x124d else 61 @ 0x1239
0x127a 57 eax = [rbp - 8 {var_10_1}].d
0x127d 58 eax = eax + 1
0x1280 59 [rbp - 8 {var_10_1}].d = eax
0x1283 60 goto 31 @ 0x11e2
0x1239 61 eax = [rbp - 0x344 {var_34c}].d
0x123f 62 eax = eax + 1
0x1242 63 [rbp - 0x344 {var_34c}].d = eax
0x1248 64 goto 47 @ 0x1257
int64_t _fini():
0x12ac 0 rsp = rsp - 8
0x12b0 1 rsp = rsp + 8
0x12b4 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)
char* gets(char* buf):
0x1040 0 <return> tailcall([0x4020].q)
int32_t strcmp(char const* arg1, char const* arg2):
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 - 0x210
0x116b 3 rdi = rbp - 0x100 {var_108}
0x1172 4 al = 0
0x1174 5 call(0x1040)
0x1179 6 rdi = rbp - 0x200 {var_208}
0x1180 7 al = 0
0x1182 8 call(0x1040)
0x1187 9 [rbp - 0x204 {var_20c}].d = 0
0x1187 10 goto 11 @ 0x1191
0x1191 11 rax = sx.q([rbp - 0x204 {var_20c}].d)
0x1198 12 ecx = sx.d([rbp + rax - 0x100].b)
0x11a0 13 eax = 0
0x11a2 14 cond:0 = ecx == 0
0x11a5 15 [rbp - 0x209 {var_211_1}].b = al
0x11ab 16 if (cond:0) then 17 @ 0x11cc else 19 @ 0x11b1
0x11cc 17 al = [rbp - 0x209 {var_211_1}].b
0x11d4 18 if ((al & 1) != 0) then 24 @ 0x11df else 27 @ 0x11da
0x11b1 19 rax = sx.q([rbp - 0x204 {var_20c}].d)
0x11b8 20 eax = sx.d([rbp + rax - 0x200].b)
0x11c3 21 al = eax != 0
0x11c6 22 [rbp - 0x209 {var_211_1}].b = al
0x11c6 23 goto 17 @ 0x11cc
0x11df 24 rax = sx.q([rbp - 0x204 {var_20c}].d)
0x11e6 25 eax = sx.d([rbp + rax - 0x100].b)
0x11f1 26 if (eax s< 0x61) then 28 @ 0x1234 else 31 @ 0x11f7
0x11da 27 goto 34 @ 0x1306
0x1234 28 rax = sx.q([rbp - 0x204 {var_20c}].d)
0x123b 29 eax = sx.d([rbp + rax - 0x200].b)
0x1246 30 if (eax s< 0x61) then 39 @ 0x1289 else 44 @ 0x124c
0x11f7 31 rax = sx.q([rbp - 0x204 {var_20c}].d)
0x11fe 32 eax = sx.d([rbp + rax - 0x100].b)
0x1209 33 if (eax s> 0x7a) then 28 @ 0x1234 else 47 @ 0x120f
0x1306 34 rdi = rbp - 0x100 {var_108}
0x130d 35 rsi = rbp - 0x200 {var_208}
0x1314 36 call(0x1050)
0x1319 37 [rbp - 0x208 {var_210}].d = eax
0x1326 38 if ([rbp - 0x208 {var_210}].d != 0) then 55 @ 0x133a else 58 @ 0x132c
0x1289 39 rax = sx.q([rbp - 0x204 {var_20c}].d)
0x1290 40 eax = sx.d([rbp + rax - 0x100].b)
0x1298 41 rcx = sx.q([rbp - 0x204 {var_20c}].d)
0x129f 42 ecx = sx.d([rbp + rcx - 0x200].b)
0x12a9 43 if (eax == ecx) then 62 @ 0x12ed else 63 @ 0x12af
0x124c 44 rax = sx.q([rbp - 0x204 {var_20c}].d)
0x1253 45 eax = sx.d([rbp + rax - 0x200].b)
0x125e 46 if (eax s> 0x7a) then 39 @ 0x1289 else 70 @ 0x1264
0x120f 47 rax = sx.q([rbp - 0x204 {var_20c}].d)
0x1216 48 eax = sx.d([rbp + rax - 0x100].b)
0x121e 49 eax = eax - 0x61
0x1221 50 eax = eax + 0x41
0x1224 51 cl = al
0x1226 52 rax = sx.q([rbp - 0x204 {var_20c}].d)
0x122d 53 [rbp + rax - 0x100].b = cl
0x122d 54 goto 28 @ 0x1234
0x133a 55 rsp = rsp + 0x210
0x1341 56 rbp = pop
0x1342 57 <return> jump(pop)
0x132c 58 rdi = 0x2008 {"="}
0x1333 59 al = 0
0x1335 60 call(0x1030)
0x1335 61 goto 55 @ 0x133a
0x12ed 62 goto 78 @ 0x12f2
0x12af 63 rax = sx.q([rbp - 0x204 {var_20c}].d)
0x12b6 64 ecx = sx.d([rbp + rax - 0x100].b)
0x12be 65 rax = sx.q([rbp - 0x204 {var_20c}].d)
0x12c5 66 edx = sx.d([rbp + rax - 0x200].b)
0x12cd 67 rdi = 0x2006 {"<"}
0x12d4 68 rax = 0x2004 {">"}
0x12dd 69 if (ecx s> edx) then 82 else 84 @ 0x12e1
0x1264 70 rax = sx.q([rbp - 0x204 {var_20c}].d)
0x126b 71 eax = sx.d([rbp + rax - 0x200].b)
0x1273 72 eax = eax - 0x61
0x1276 73 eax = eax + 0x41
0x1279 74 cl = al
0x127b 75 rax = sx.q([rbp - 0x204 {var_20c}].d)
0x1282 76 [rbp + rax - 0x200].b = cl
0x1282 77 goto 39 @ 0x1289
0x12f2 78 eax = [rbp - 0x204 {var_20c}].d
0x12f8 79 eax = eax + 1
0x12fb 80 [rbp - 0x204 {var_20c}].d = eax
0x1301 81 goto 11 @ 0x1191
0x12dd 82 rdi = rax
0x12dd 83 goto 84 @ 0x12e1
0x12e1 84 al = 0
0x12e3 85 call(0x1030)
0x12e8 86 goto 34 @ 0x1306
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)
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
uint64_t strlen(char const* arg1):
0x1050 0 <return> tailcall([0x4028].q)
int32_t scanf(char const* format, ...):
0x1060 0 <return> tailcall([0x4030].q)
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 {"UAVSH"}
0x10af 10 call([0x3ff8].q)
0x10af 11 noreturn
void deregister_tm_clones():
0x10c0 0 rdi = 0x4050 {""}
0x10c7 1 rax = 0x4050 {""}
0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3
0x10e8 3 <return> jump(pop)
0x10d3 4 rax = [0x3fd8].q
0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df
0x10df 6 <return> tailcall(rax)
void register_tm_clones():
0x10f0 0 rdi = 0x4050 {""}
0x10f7 1 rsi = 0x4050 {""}
0x10fe 2 rsi = rsi - rdi
0x1101 3 rax = rsi
0x1104 4 rsi = rsi u>> 0x3f
0x1108 5 rax = rax s>> 3
0x110c 6 rsi = rsi + rax
0x110f 7 rsi = rsi s>> 1
0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114
0x1128 9 <return> jump(pop)
0x1114 10 rax = [0x3ff0].q
0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120
0x1120 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d
0x1168 1 <return> jump(pop)
0x113d 2 push(rbp)
0x113e 3 cond:0 = [0x3fe0].q == 0
0x1146 4 rbp = rsp {__saved_rbp}
0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b
0x1157 6 call(0x10c0)
0x115c 7 [0x4050].b = 1
0x1163 8 rbp = pop
0x1164 9 <return> jump(pop)
0x114b 10 rdi = [0x4048].q
0x1152 11 call(0x1080)
0x1152 12 goto 6 @ 0x1157
int64_t frame_dummy():
0x1174 0 <return> tailcall(0x10f0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1180 0 push(rbp)
0x1181 1 push(r14)
0x1183 2 push(rbx)
0x1184 3 rsp = rsp - 0x390
0x118b 4 rdi = rsp + 0x130 {var_278}
0x1193 5 edx = 0x258 {" "}
0x1198 6 esi = 0
0x119a 7 call(0x1040)
0x119f 8 rdi = 0x2004 {"%s"}
0x11a6 9 rbx = rsp {var_3a8}
0x11a9 10 rsi = rbx {var_3a8}
0x11ac 11 eax = 0
0x11ae 12 call(0x1060)
0x11b3 13 rdi = rbx {var_3a8}
0x11b6 14 call(0x1050)
0x11bd 15 if (eax s<= 0) then 16 @ 0x1246 else 20 @ 0x11c3
0x1246 16 ebx = 0x41 {""}
0x124b 17 r14 = 0x2007 {"%c=%d\n"}
0x1252 18 ebp = 0
0x1254 19 goto 24 @ 0x126a
0x11c3 20 ecx = eax
0x11c5 21 rdx = rcx - 1
0x11c9 22 eax = eax & 3
0x11d0 23 if (rdx u>= 3) then 26 @ 0x11d6 else 29 @ 0x11d2
0x126a 24 edx = [rsp + (rbx << 2) + 0x130].d
0x1273 25 if (edx == 0) then 31 @ 0x1260 else 33 @ 0x1275
0x11d6 26 rcx = rcx - rax
0x11d9 27 edx = 0
0x11db 28 goto 39 @ 0x11e0
0x11d2 29 edx = 0
0x11d4 30 goto 49 @ 0x1223
0x1260 31 rbx = rbx + 1
0x1268 32 if (rbx == 0x5b) then 50 @ 0x1286 else 24 @ 0x126a
0x1275 33 rdi = r14
0x1278 34 esi = ebx
0x127a 35 eax = 0
0x127c 36 call(0x1030)
0x1281 37 ebp = ebp + 1
0x1284 38 goto 31 @ 0x1260
0x11e0 39 rsi = sx.q([rsp + rdx].b)
0x11e5 40 [rsp + (rsi << 2) + 0x130].d = [rsp + (rsi << 2) + 0x130].d + 1
0x11ed 41 rsi = sx.q([rsp + rdx + 1].b)
0x11f3 42 [rsp + (rsi << 2) + 0x130].d = [rsp + (rsi << 2) + 0x130].d + 1
0x11fb 43 rsi = sx.q([rsp + rdx + 2].b)
0x1201 44 [rsp + (rsi << 2) + 0x130].d = [rsp + (rsi << 2) + 0x130].d + 1
0x1209 45 rsi = sx.q([rsp + rdx + 3].b)
0x120f 46 [rsp + (rsi << 2) + 0x130].d = [rsp + (rsi << 2) + 0x130].d + 1
0x1217 47 rdx = rdx + 4
0x121e 48 if (rcx != rdx) then 39 @ 0x11e0 else 49 @ 0x1223
0x1223 49 if (rax == 0) then 16 @ 0x1246 else 53 @ 0x1225
0x1286 50 ebx = 0x61 {""}
0x128b 51 r14 = 0x2007 {"%c=%d\n"}
0x1292 52 goto 56 @ 0x12aa
0x1225 53 rcx = rsp + rdx
0x1229 54 edx = 0
0x122b 55 goto 58 @ 0x1230
0x12aa 56 edx = [rsp + (rbx << 2) + 0x130].d
0x12b3 57 if (edx == 0) then 62 @ 0x12a0 else 64 @ 0x12b5
0x1230 58 rsi = sx.q([rcx + rdx].b)
0x1235 59 [rsp + (rsi << 2) + 0x130].d = [rsp + (rsi << 2) + 0x130].d + 1
0x123d 60 rdx = rdx + 1
0x1244 61 if (rax != rdx) then 58 @ 0x1230 else 16 @ 0x1246
0x12a0 62 rbx = rbx + 1
0x12a8 63 if (rbx == 0x7b) then 70 @ 0x12c8 else 56 @ 0x12aa
0x12b5 64 rdi = r14
0x12b8 65 esi = ebx
0x12ba 66 eax = 0
0x12bc 67 call(0x1030)
0x12c1 68 ebp = ebp + 1
0x12c4 69 goto 62 @ 0x12a0
0x12c8 70 if (ebp != 0) then 71 @ 0x12d6 else 77 @ 0x12ca
0x12d6 71 eax = 0
0x12d8 72 rsp = rsp + 0x390
0x12df 73 rbx = pop
0x12e0 74 r14 = pop
0x12e2 75 rbp = pop
0x12e3 76 <return> jump(pop)
0x12ca 77 rdi = 0x200e {"No"}
0x12d1 78 call(0x1070)
0x12d1 79 goto 71 @ 0x12d6
int64_t _fini():
0x12e8 0 rsp = rsp - 8
0x12ec 1 rsp = rsp + 8
0x12f0 2 <return> jump(pop)
| POJ_100 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"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 - 0x90
0x115c 4 xmm0 = [0x2030].o
0x1163 5 [rsp + 0x80 {var_28}].o = xmm0
0x116b 6 xmm0 = [0x2020].o
0x1172 7 [rsp + 0x70 {var_38}].o = xmm0
0x1177 8 xmm0 = [0x2010].o
0x117f 9 [rsp + 0x60 {var_48}].o = xmm0
0x1185 10 r14 = rsp + 0x70 {var_38}
0x118a 11 rbx = 0x2040 {"%d%d%d"}
0x1191 12 rsi = rsp + 0x40 {var_68}
0x1196 13 rdx = rsp + 0x20 {var_88}
0x119b 14 rcx = rsp {var_a8}
0x119e 15 rdi = rbx
0x11a1 16 eax = 0
0x11a3 17 call(0x1040)
0x11a8 18 rsi = rsp + 0x44 {var_64}
0x11ad 19 rdx = rsp + 0x24 {var_84}
0x11b2 20 rcx = rsp + 4 {var_a4}
0x11b7 21 rdi = rbx
0x11ba 22 eax = 0
0x11bc 23 call(0x1040)
0x11c1 24 rsi = rsp + 0x48 {var_60}
0x11c6 25 rdx = rsp + 0x28 {var_80}
0x11cb 26 rcx = rsp + 8 {var_a0}
0x11d0 27 rdi = rbx
0x11d3 28 eax = 0
0x11d5 29 call(0x1040)
0x11da 30 rsi = rsp + 0x4c {var_5c}
0x11df 31 rdx = rsp + 0x2c {var_7c}
0x11e4 32 rcx = rsp + 0xc {var_9c}
0x11e9 33 rdi = rbx
0x11ec 34 eax = 0
0x11ee 35 call(0x1040)
0x11f3 36 rsi = rsp + 0x50 {var_58}
0x11f8 37 rdx = rsp + 0x30 {var_78}
0x11fd 38 rcx = rsp + 0x10 {var_98}
0x1202 39 rdi = rbx
0x1205 40 eax = 0
0x1207 41 call(0x1040)
0x120c 42 r15 = 0x2047 {"%d\n"}
0x1213 43 ebx = 0
0x1215 44 goto 45 @ 0x123b
0x123b 45 ecx = [rsp + (rbx << 2) + 0x40].d
0x123f 46 eax = ecx * -0x3d70a3d7
0x1245 47 eax = eax + 0x51eb850
0x124a 48 esi = eax
0x124c 49 esi = ror.d(esi, 4)
0x124f 50 edx = 0x1d {""}
0x125a 51 if (esi u< 0xa3d70b) then 52 @ 0x1271 else 54 @ 0x125f
0x1271 52 [rsp + 0x64 {var_48[1]}].d = edx
0x1271 53 goto 55 @ 0x1275
0x125f 54 if ((cl & 3) != 0) then 55 @ 0x1275 else 58 @ 0x1261
0x1275 55 eax = [rsp + (rbx << 2) + 0x20].d
0x1279 56 esi = 0
0x127e 57 if (eax s< 2) then 63 @ 0x1220 else 69 @ 0x1280
0x1261 58 eax = ror.d(eax, 2)
0x1264 59 flag:c = eax u< 0x28f5c29
0x1269 60 edx = 0x1d {""}
0x126e 61 edx = sbb.d(edx, 0, flag:c)
0x126e 62 goto 52 @ 0x1271
0x1220 63 esi = esi + [rsp + (rbx << 2)].d
0x1223 64 rdi = r15
0x1226 65 eax = 0
0x1228 66 call(0x1030)
0x122d 67 rbx = rbx + 1
0x1235 68 if (rbx == 5) then 71 @ 0x1392 else 45 @ 0x123b
0x1280 69 eax = eax - 1
0x1286 70 if (eax u>= 8) then 77 @ 0x12a0 else 86 @ 0x1288
0x1392 71 eax = 0
0x1394 72 rsp = rsp + 0x90
0x139b 73 rbx = pop
0x139c 74 r14 = pop
0x139e 75 r15 = pop
0x13a0 76 <return> jump(pop)
0x12a0 77 ecx = eax
0x12a2 78 ecx = ecx & 0xfffffff8
0x12a5 79 rsi = rcx - 8
0x12a9 80 rdi = rsi
0x12ac 81 rdi = rdi u>> 3
0x12b0 82 rdi = rdi + 1
0x12b4 83 edx = edi
0x12b6 84 edx = edx & 3
0x12bd 85 if (rsi u>= 0x18) then 89 @ 0x12cb else 94 @ 0x12bf
0x1288 86 ecx = 0
0x128a 87 esi = 0
0x128c 88 goto 98 @ 0x1380
0x12cb 89 rdi = rdi & 0xfffffffffffffffc
0x12cf 90 xmm0 = 0
0x12d3 91 esi = 0
0x12d5 92 xmm1 = 0
0x12d9 93 goto 101 @ 0x12e0
0x12bf 94 xmm0 = 0
0x12c3 95 esi = 0
0x12c5 96 xmm1 = 0
0x12c9 97 goto 113 @ 0x132f
0x1380 98 esi = esi + [rsp + (rcx << 2) + 0x60].d
0x1384 99 rcx = rcx + 1
0x138b 100 if (rax != rcx) then 98 @ 0x1380 else 114 @ 0x138d
0x12e0 101 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rsi << 2) + 0x60].o)
0x12e6 102 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0x70].o)
0x12ec 103 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rsi << 2) + 0x80].o)
0x12f5 104 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0x90].o)
0x12fe 105 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rsi << 2) + 0xa0].o)
0x1307 106 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0xb0].o)
0x1310 107 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsp + (rsi << 2) + 0xc0].o)
0x1319 108 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsp + (rsi << 2) + 0xd0].o)
0x1322 109 rsi = rsi + 0x20
0x1326 110 temp0.q = rdi
0x1326 111 rdi = rdi - 4
0x132a 112 if (temp0.q != 4) then 101 @ 0x12e0 else 113 @ 0x132f
0x132f 113 if (rdx == 0) then 115 @ 0x1354 else 122 @ 0x1331
0x138d 114 goto 63 @ 0x1220
0x1354 115 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x1358 116 xmm1 = _mm_shuffle_epi32(xmm0, 0xee)
0x135d 117 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x1361 118 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x1366 119 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x136a 120 esi = xmm0.d
0x1371 121 if (rcx == rax) then 63 @ 0x1220 else 126 @ 0x1377
0x1331 122 rsi = r14 + (rsi << 2)
0x1335 123 rdx = rdx << 5
0x1339 124 edi = 0
0x133b 125 goto 127 @ 0x1340
0x1377 126 goto 98 @ 0x1380
0x1340 127 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsi + rdi - 0x10].o)
0x1346 128 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsi + rdi].o)
0x134b 129 rdi = rdi + 0x20
0x1352 130 if (rdx != rdi) then 127 @ 0x1340 else 115 @ 0x1354
int64_t _fini():
0x13a8 0 rsp = rsp - 8
0x13ac 1 rsp = rsp + 8
0x13b0 2 <return> jump(pop)
| POJ_11 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
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 {"UAWAVSH8"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 push(r15)
0x1163 2 push(r14)
0x1165 3 push(rbx)
0x1166 4 rsp = rsp - 0x13898
0x116d 5 rdi = 0x2007 {"%d"}
0x1174 6 rsi = rsp + 0xc {var_138ac}
0x1179 7 eax = 0
0x117b 8 call(0x1050)
0x1180 9 rdi = 0x2004 {"%d %d"}
0x1187 10 rsi = rsp + 8 {var_138b0}
0x118c 11 rdx = rsp + 4 {var_138b4}
0x1191 12 eax = 0
0x1193 13 call(0x1050)
0x119b 14 if (eax != 2) then 15 @ 0x11e2 else 17 @ 0x119d
0x11e2 15 ebp = [rsp + 0xc {var_138ac}].d
0x11e8 16 if (ebp s<= 0) then 21 @ 0x1233 else 25 @ 0x11ea
0x119d 17 r14 = 0x2004 {"%d %d"}
0x11a4 18 r15 = rsp + 8 {var_138b0}
0x11a9 19 rbx = rsp + 4 {var_138b4}
0x11ae 20 goto 29 @ 0x11b0
0x1233 21 rdi = 0x200a {"NOT FOUND"}
0x123a 22 eax = 0
0x123c 23 call(0x1030)
0x123c 24 goto 34 @ 0x1241
0x11ea 25 r14 = 0x2007 {"%d"}
0x11f1 26 ebx = 0
0x11f3 27 eax = ebp
0x11f5 28 goto 47 @ 0x1216
0x11b0 29 rax = sx.q([rsp + 8 {var_138b0}].d)
0x11b5 30 rcx = sx.q([rsp + 4 {var_138b4}].d)
0x11ba 31 edx = ecx
0x11bc 32 edx = edx | eax
0x11be 33 if (edx == 0) then 15 @ 0x11e2 else 48 @ 0x11c0
0x1241 34 eax = 0
0x1243 35 call(0x1040)
0x1248 36 eax = 0
0x124a 37 call(0x1040)
0x124f 38 eax = 0
0x1251 39 call(0x1040)
0x1256 40 eax = 0
0x1258 41 rsp = rsp + 0x13898
0x125f 42 rbx = pop
0x1260 43 r14 = pop
0x1262 44 r15 = pop
0x1264 45 rbp = pop
0x1265 46 <return> jump(pop)
0x1216 47 if ([rsp + (rbx << 2) + 0x9c50].d != 0) then 56 @ 0x1200 else 59 @ 0x1218
0x11c0 48 [rsp + (rax << 2) + 0x9c50].d = [rsp + (rax << 2) + 0x9c50].d + 1
0x11c8 49 [rsp + (rcx << 2) + 0x10].d = [rsp + (rcx << 2) + 0x10].d + 1
0x11cd 50 rdi = r14
0x11d0 51 rsi = r15 {var_138b0}
0x11d3 52 rdx = rbx {var_138b4}
0x11d6 53 eax = 0
0x11d8 54 call(0x1050)
0x11e0 55 if (eax == 2) then 29 @ 0x11b0 else 15 @ 0x11e2
0x1200 56 rbx = rbx + 1
0x1204 57 rax = sx.q([rsp + 0xc {var_138ac}].d)
0x120c 58 if (rbx s>= rax) then 61 @ 0x1231 else 47 @ 0x1216
0x1218 59 eax = eax - 1
0x121f 60 if ([rsp + (rbx << 2) + 0x10].d != eax) then 56 @ 0x1200 else 62 @ 0x1221
0x1231 61 if (ebp s> 0) then 34 @ 0x1241 else 21 @ 0x1233
0x1221 62 rdi = r14
0x1224 63 esi = ebx
0x1226 64 eax = 0
0x1228 65 call(0x1030)
0x122d 66 goto 56 @ 0x1200
int64_t _fini():
0x126c 0 rsp = rsp - 8
0x1270 1 rsp = rsp + 8
0x1274 2 <return> jump(pop)
| POJ_89 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
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 - 0xb08
0x1161 7 r14d = 0
0x1164 8 [rsp + 0xc {var_b2c}].d = 0
0x116c 9 goto 10 @ 0x11b8
0x11b8 10 rsi = rsp + r14
0x11bc 11 rsi = rsi + 0x970
0x11c3 12 rbx = rsp + r14 + 0x7e0
0x11cb 13 r13 = rsp + r14 + 0x650
0x11d3 14 r12 = rsp + r14 + 0x4c0
0x11db 15 r15 = rsp + r14 + 0x330
0x11e3 16 rbp = rsp + r14 + 0x1a0
0x11eb 17 [rsp {var_b38}].q = rbp
0x11ef 18 rdi = 0x2004 {"%d %d %d %d %d %d"}
0x11f6 19 rdx = rbx
0x11f9 20 rcx = r13
0x11fc 21 r8 = r12
0x11ff 22 r9 = r15
0x1202 23 eax = 0
0x1204 24 call(0x1040)
0x1209 25 eax = [rsp + r14 + 0x970].d
0x1213 26 if (eax != 0) then 27 @ 0x1170 else 41 @ 0x121c
0x1170 27 ecx = [rsp + r14 + 0x4c0].d
0x1178 28 ecx = ecx - eax
0x117a 29 eax = ecx * 0xe10
0x1180 30 ecx = [rsp + r14 + 0x330].d
0x1188 31 ecx = ecx - [rsp + r14 + 0x7e0].d
0x1190 32 eax = eax + [rsp + r14 + 0x1a0].d
0x1198 33 ecx = ecx * 0x3c
0x119b 34 eax = eax + ecx
0x119d 35 eax = eax - [rsp + r14 + 0x650].d
0x11a5 36 eax = eax + 0xa8c0
0x11aa 37 [rsp + r14 + 0x10].d = eax
0x11af 38 [rsp + 0xc {var_b2c}].d = [rsp + 0xc {var_b2c}].d + 1
0x11b4 39 r14 = r14 + 4
0x11b4 40 goto 10 @ 0x11b8
0x121c 41 if ([rbx].d != 0) then 27 @ 0x1170 else 42 @ 0x1227
0x1227 42 if ([r13].d != 0) then 27 @ 0x1170 else 43 @ 0x1232
0x1232 43 if ([r12].d != 0) then 27 @ 0x1170 else 44 @ 0x123c
0x123c 44 if ([r15].d != 0) then 27 @ 0x1170 else 45 @ 0x1246
0x1246 45 if ([rbp].d != 0) then 27 @ 0x1170 else 46 @ 0x124c
0x124c 46 eax = [rsp + 0xc {var_b2c}].d
0x1252 47 if (eax == 0) then 48 @ 0x1277 else 57 @ 0x1254
0x1277 48 eax = 0
0x1279 49 rsp = rsp + 0xb08
0x1280 50 rbx = pop
0x1281 51 r12 = pop
0x1283 52 r13 = pop
0x1285 53 r14 = pop
0x1287 54 r15 = pop
0x1289 55 rbp = pop
0x128a 56 <return> jump(pop)
0x1254 57 ebp = eax
0x1256 58 r14 = 0x2016 {"%d\n"}
0x125d 59 ebx = 0
0x125f 60 goto 61 @ 0x1260
0x1260 61 esi = [rsp + (rbx << 2) + 0x10].d
0x1264 62 rdi = r14
0x1267 63 eax = 0
0x1269 64 call(0x1030)
0x126e 65 rbx = rbx + 1
0x1275 66 if (rbp != rbx) then 61 @ 0x1260 else 48 @ 0x1277
int64_t _fini():
0x1290 0 rsp = rsp - 8
0x1294 1 rsp = rsp + 8
0x1298 2 <return> jump(pop)
| POJ_87 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t 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\t"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(r15)
0x1152 1 push(r14)
0x1154 2 push(r12)
0x1156 3 push(rbx)
0x1157 4 rsp = rsp - 0x988
0x115e 5 rdi = 0x2030 {"%d"}
0x1165 6 rsi = rsp + 4 {var_9a4}
0x116a 7 eax = 0
0x116c 8 call(0x1030)
0x1176 9 if ([rsp + 4 {var_9a4}].d s<= 0) then 10 @ 0x13b3 else 17 @ 0x117c
0x13b3 10 eax = 0
0x13b5 11 rsp = rsp + 0x988
0x13bc 12 rbx = pop
0x13bd 13 r12 = pop
0x13bf 14 r14 = pop
0x13c1 15 r15 = pop
0x13c3 16 <return> jump(pop)
0x117c 17 r14 = rsp + 0x340 {var_668}
0x1184 18 r12 = rsp + 0x660 {var_348}
0x118c 19 r15 = 0x2033 {"%lf%lf"}
0x1193 20 ebx = 0
0x119f 21 goto 22 @ 0x11a0
0x11a0 22 rdi = r15
0x11a3 23 rsi = r12
0x11a6 24 rdx = r14
0x11a9 25 eax = 0
0x11ab 26 call(0x1030)
0x11b0 27 rbx = rbx + 1
0x11b4 28 rax = sx.q([rsp + 4 {var_9a4}].d)
0x11b9 29 r14 = r14 + 8
0x11bd 30 r12 = r12 + 8
0x11c4 31 if (rbx s< rax) then 22 @ 0x11a0 else 32 @ 0x11c6
0x11c6 32 eax = eax
0x11ca 33 if (eax s<= 0) then 10 @ 0x13b3 else 34 @ 0x11d3
0x11d3 34 if (eax != 1) then 35 @ 0x11dc else 42 @ 0x11d5
0x11dc 35 ecx = eax
0x11de 36 ecx = ecx & 0xfffffffe
0x11e1 37 rsi = rcx - 2
0x11e5 38 rdx = rsi
0x11e8 39 rdx = rdx u>> 1
0x11eb 40 rdx = rdx + 1
0x11f2 41 if (rsi == 0) then 44 @ 0x13c4 else 46 @ 0x11f8
0x11d5 42 ecx = 0
0x11d7 43 goto 51 @ 0x127c
0x13c4 44 esi = 0
0x13c9 45 if ((dl & 1) != 0) then 53 @ 0x1257 else 58 @ 0x13cf
0x11f8 46 rdi = rdx
0x11fb 47 rdi = rdi & 0xfffffffffffffffe
0x11ff 48 esi = 0
0x1201 49 xmm0 = [0x2010].o
0x1209 50 goto 59 @ 0x1210
0x127c 51 xmm0 = zx.o([0x2020].q)
0x128e 52 goto 71 @ 0x1290
0x1257 53 xmm0 = [rsp + (rsi << 3) + 0x340].o
0x1260 54 xmm0 = __divpd_xmmpd_mempd(xmm0, [rsp + (rsi << 3) + 0x660].o)
0x1269 55 xmm0 = __mulpd_xmmpd_mempd(xmm0, [0x2010].o)
0x1271 56 [rsp + (rsi << 3) + 0x20].o = xmm0
0x1271 57 goto 77 @ 0x127a
0x13cf 58 goto 77 @ 0x127a
0x1210 59 xmm1 = [rsp + (rsi << 3) + 0x340].o
0x1219 60 xmm2 = [rsp + (rsi << 3) + 0x350].o
0x1222 61 xmm1 = __divpd_xmmpd_mempd(xmm1, [rsp + (rsi << 3) + 0x660].o)
0x122b 62 xmm1 = _mm_mul_pd(xmm1, xmm0)
0x122f 63 [rsp + (rsi << 3) + 0x20].o = xmm1
0x1235 64 xmm2 = __divpd_xmmpd_mempd(xmm2, [rsp + (rsi << 3) + 0x670].o)
0x123e 65 xmm2 = _mm_mul_pd(xmm2, xmm0)
0x1242 66 [rsp + (rsi << 3) + 0x30].o = xmm2
0x1248 67 rsi = rsi + 4
0x124c 68 temp0.q = rdi
0x124c 69 rdi = rdi - 2
0x1250 70 if (temp0.q != 2) then 59 @ 0x1210 else 78 @ 0x1255
0x1290 71 xmm1 = zx.o([rsp + (rcx << 3) + 0x340].q)
0x1299 72 xmm1.q = xmm1.q f/ fconvert.t([rsp + (rcx << 3) + 0x660].q)
0x12a2 73 xmm1.q = xmm1.q f* xmm0.q
0x12a6 74 [rsp + (rcx << 3) + 0x20].q = xmm1.q
0x12ac 75 rcx = rcx + 1
0x12b3 76 if (rax != rcx) then 71 @ 0x1290 else 79 @ 0x12b8
0x127a 77 if (rcx == rax) then 79 @ 0x12b8 else 51 @ 0x127c
0x1255 78 if ((dl & 1) == 0) then 77 @ 0x127a else 53 @ 0x1257
0x12b8 79 if (eax s< 2) then 10 @ 0x13b3 else 80 @ 0x12be
0x12be 80 ebx = 1
0x12c3 81 xmm0 = zx.o([rsp + 0x20 {var_988}].q)
0x12c9 82 [rsp + 0x10 {var_998_1}].q = xmm0.q
0x12cf 83 xmm0 = zx.o([0x2028].q)
0x12d7 84 r14 = 0x2045 {"better"}
0x12de 85 r15 = 0x203f {"worse"}
0x12e5 86 r12 = 0x203a {"same"}
0x12ec 87 goto 88 @ 0x1302
0x1302 88 xmm2 = zx.o([rsp + (rbx << 3) + 0x20].q)
0x1308 89 xmm1 = xmm2
0x130c 90 xmm1.q = xmm1.q f- fconvert.t([rsp + 0x10 {var_998_1}].q)
0x1312 91 [rsp + 0x18 {var_990_1}].q = xmm1.q
0x1318 92 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x1318 93 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1318 94 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1318 95 flag:s = 0
0x1318 96 flag:o = 0
0x1318 97 flag:a = 0
0x131c 98 if (not(flag:z) && not(flag:c)) then 99 @ 0x1340 else 113 @ 0x131e
0x1340 99 rdi = r14
0x1343 100 [rsp + 8 {var_9a0_1}].q = xmm2.q
0x1349 101 call(0x1040)
0x134e 102 xmm2 = zx.o([rsp + 8 {var_9a0_1}].q)
0x1354 103 xmm0 = zx.o([0x2028].q)
0x135c 104 xmm1 = zx.o([rsp + 0x10 {var_998_1}].q)
0x1362 105 xmm1.q = xmm1.q f- xmm2.q
0x1366 106 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x1366 107 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1366 108 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1366 109 flag:s = 0
0x1366 110 flag:o = 0
0x1366 111 flag:a = 0
0x136a 112 if (flag:z || flag:c) then 122 @ 0x132e else 129 @ 0x136c
0x131e 113 xmm1 = zx.o([rsp + 0x10 {var_998_1}].q)
0x1324 114 xmm1.q = xmm1.q f- xmm2.q
0x1328 115 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x1328 116 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1328 117 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1328 118 flag:s = 0
0x1328 119 flag:o = 0
0x1328 120 flag:a = 0
0x132c 121 if (not(flag:z) && not(flag:c)) then 129 @ 0x136c else 122 @ 0x132e
0x132e 122 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp + 0x18 {var_990_1}].q))
0x132e 123 flag:c = xmm0.q f< fconvert.t([rsp + 0x18 {var_990_1}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 0x18 {var_990_1}].q))
0x132e 124 flag:z = xmm0.q f== fconvert.t([rsp + 0x18 {var_990_1}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 0x18 {var_990_1}].q))
0x132e 125 flag:s = 0
0x132e 126 flag:o = 0
0x132e 127 flag:a = 0
0x1334 128 if (not(flag:c)) then 141 @ 0x1394 else 148 @ 0x1336
0x136c 129 rdi = r15
0x136f 130 [rsp + 8 {var_9a0_2}].q = xmm1.q
0x1375 131 call(0x1040)
0x137a 132 xmm1 = zx.o([rsp + 8 {var_9a0_2}].q)
0x1380 133 xmm0 = zx.o([0x2028].q)
0x1388 134 flag:p = is_unordered.q(xmm0.q, fconvert.t([rsp + 0x18 {var_990_1}].q))
0x1388 135 flag:c = xmm0.q f< fconvert.t([rsp + 0x18 {var_990_1}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 0x18 {var_990_1}].q))
0x1388 136 flag:z = xmm0.q f== fconvert.t([rsp + 0x18 {var_990_1}].q) | is_unordered.q(xmm0.q, fconvert.t([rsp + 0x18 {var_990_1}].q))
0x1388 137 flag:s = 0
0x1388 138 flag:o = 0
0x1388 139 flag:a = 0
0x138e 140 if (flag:c) then 149 @ 0x12f0 else 141 @ 0x1394
0x1394 141 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x1394 142 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1394 143 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x1394 144 flag:s = 0
0x1394 145 flag:o = 0
0x1394 146 flag:a = 0
0x1398 147 if (flag:c) then 149 @ 0x12f0 else 152 @ 0x139e
0x1336 148 goto 149 @ 0x12f0
0x12f0 149 rbx = rbx + 1
0x12f4 150 rax = sx.q([rsp + 4 {var_9a4}].d)
0x12fc 151 if (rbx s>= rax) then 10 @ 0x13b3 else 88 @ 0x1302
0x139e 152 rdi = r12
0x13a1 153 call(0x1040)
0x13a6 154 xmm0 = zx.o([0x2028].q)
0x13ae 155 goto 149 @ 0x12f0
int64_t _fini():
0x13d8 0 rsp = rsp - 8
0x13dc 1 rsp = rsp + 8
0x13e0 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)
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 {"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 - 0x100
0x116c 4 r15d = 0
0x116f 5 r14 = rsp {var_118}
0x1172 6 rdi = r14 {var_118}
0x1175 7 eax = 0
0x1177 8 call(0x1050)
0x117c 9 rdi = r14 {var_118}
0x117f 10 call(0x1040)
0x1184 11 r9 = sx.q(eax)
0x1187 12 r8 = rsp + 2 {var_116}
0x118c 13 goto 14 @ 0x119c
0x119c 14 if (eax s<= 0) then 15 @ 0x1190 else 17 @ 0x119e
0x1190 15 r15d = r15d + 1
0x1198 16 if (r15d == 0x64) then 19 @ 0x11f5 else 14 @ 0x119c
0x119e 17 esi = 0
0x11a0 18 goto 29 @ 0x11b7
0x11f5 19 rdi = 0x2004 {"%s"}
0x11fc 20 rsi = rsp {var_118}
0x11ff 21 eax = 0
0x1201 22 call(0x1030)
0x1206 23 eax = 0
0x1208 24 rsp = rsp + 0x100
0x120f 25 rbx = pop
0x1210 26 r14 = pop
0x1212 27 r15 = pop
0x1214 28 <return> jump(pop)
0x11b7 29 rdx = sx.q(esi)
0x11be 30 if ([rsp + rdx].b != 0x20) then 31 @ 0x11b0 else 33 @ 0x11c6
0x11b0 31 esi = esi + 1
0x11b5 32 if (esi s>= eax) then 15 @ 0x1190 else 29 @ 0x11b7
0x11c6 33 if ([rdx + r14 + 1].b != 0x20) then 31 @ 0x11b0 else 34 @ 0x11ca
0x11ca 34 if (esi s>= eax) then 31 @ 0x11b0 else 35 @ 0x11cc
0x11cc 35 rdi = r8 + rdx
0x11d0 36 rcx = r9
0x11d3 37 rcx = rcx - rdx
0x11d6 38 edx = 0
0x11d8 39 goto 40 @ 0x11e0
0x11e0 40 ebx = zx.d([rdi + rdx].b)
0x11e4 41 [rdi + rdx - 1].b = bl
0x11e8 42 rdx = rdx + 1
0x11ef 43 if (rcx != rdx) then 40 @ 0x11e0 else 44 @ 0x11f1
0x11f1 44 esi = esi + edx
0x11f3 45 goto 31 @ 0x11b0
int64_t _fini():
0x121c 0 rsp = rsp - 8
0x1220 1 rsp = rsp + 8
0x1224 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)
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 = 0x1180 {"SHHT$HL$H=n"}
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 runnian(int32_t arg1):
0x1150 0 ecx = edi * -0x3d70a3d7
0x1156 1 ecx = ecx + 0x51eb850
0x115c 2 eax = ecx
0x115e 3 eax = ror.d(eax, 4)
0x1166 4 if (eax u< 0xa3d70b) then 5 @ 0x117a else 7 @ 0x1168
0x117a 5 eax = 1
0x117a 6 goto 10 @ 0x117f
0x1168 7 ecx = ror.d(ecx, 2)
0x116b 8 eax = 0
0x1173 9 if (ecx u< 0x28f5c29) then 10 @ 0x117f else 11 @ 0x1175
0x117f 10 <return> jump(pop)
0x1175 11 edi = edi & 3
0x1178 12 if (edi != 0) then 10 @ 0x117f else 5 @ 0x117a
int32_t main(int32_t argc, char** argv, char** envp):
0x1180 0 push(rbx)
0x1181 1 rsp = rsp - 0x10
0x1185 2 rdx = rsp + 4 {var_14}
0x118a 3 rcx = rsp + 8 {var_10}
0x118f 4 rdi = 0x2004 {"%d %d %d"}
0x1196 5 ebx = 0
0x1198 6 rsi = rsp {var_18}
0x119b 7 eax = 0
0x119d 8 call(0x1040)
0x11a2 9 eax = [rsp {var_18}].d
0x11a5 10 ecx = (rax - 1).d
0x11a8 11 rcx = sx.q(ecx)
0x11ab 12 rcx = rcx * 0x51eb851f
0x11b2 13 rdx = rcx
0x11b5 14 rdx = rdx u>> 0x3f
0x11b9 15 rcx = rcx s>> 0x27
0x11bd 16 ecx = ecx + edx
0x11bf 17 ecx = ecx * 0x190
0x11c5 18 ecx = neg.d(ecx)
0x11c7 19 ecx = ecx + eax
0x11c9 20 ecx = ecx - 1
0x11ce 21 if (ecx s<= 0) then 22 @ 0x1232 else 24 @ 0x11d0
0x1232 22 ecx = [rsp + 4 {var_14}].d
0x1239 23 if (ecx s< 2) then 28 @ 0x12d1 else 41 @ 0x123f
0x11d0 24 ecx = neg.d(ecx)
0x11d2 25 edx = 1
0x11d7 26 ebx = 0
0x11d9 27 goto 55 @ 0x11f5
0x12d1 28 ebx = ebx + [rsp + 8 {var_10}].d
0x12d5 29 rcx = sx.q(ebx)
0x12d8 30 rax = rcx * -0x6db6db6d
0x12df 31 rax = rax u>> 0x20
0x12e3 32 eax = eax + ecx
0x12e5 33 edx = eax
0x12e7 34 edx = edx u>> 0x1f
0x12ea 35 eax = eax s>> 2
0x12ed 36 eax = eax + edx
0x12ef 37 edx = (rax << 3).d
0x12f6 38 eax = eax - edx
0x12f8 39 eax = eax + ecx
0x12fd 40 if (eax u> 6) then 61 @ 0x1316 else 65 @ 0x12ff
0x123f 41 edx = eax * -0x3d70a3d7
0x1245 42 edx = edx + 0x51eb850
0x124b 43 esi = edx
0x124d 44 esi = ror.d(esi, 4)
0x1250 45 flag:c = esi u< 0xa3d70b
0x1256 46 sil = flag:c
0x125a 47 edx = ror.d(edx, 2)
0x1263 48 dl = edx u>= 0x28f5c29
0x1268 49 al = (al & 3) == 0
0x126b 50 al = al & dl
0x126d 51 al = al | sil
0x1270 52 edx = 1
0x1275 53 al = al ^ 1
0x1277 54 goto 72 @ 0x128a
0x11f5 55 esi = edx
0x11f7 56 rsi = rsi * 0x51eb851f
0x11fe 57 rdi = rsi
0x1201 58 rdi = rdi u>> 0x27
0x1205 59 edi = edi * 0x190
0x120d 60 if (edx == edi) then 75 @ 0x11e0 else 77 @ 0x120f
0x1316 61 eax = 0
0x1318 62 rsp = rsp + 0x10
0x131c 63 rbx = pop
0x131d 64 <return> jump(pop)
0x12ff 65 rax = sx.q(eax)
0x1301 66 rcx = 0x2030 {";0"}
0x1308 67 rdi = sx.q([rcx + (rax << 2)].d)
0x130c 68 rdi = rdi + rcx
0x130f 69 eax = 0
0x1311 70 call(0x1030)
0x1311 71 goto 61 @ 0x1316
0x128a 72 esi = edx
0x128c 73 esi = esi & 0x7ffffffd
0x1295 74 if (esi == 8) then 84 @ 0x1280 else 86 @ 0x1297
0x11e0 75 esi = 2
0x11e0 76 goto 89 @ 0x11e5
0x120f 77 rsi = rsi u>> 0x25
0x1213 78 esi = esi * 0x64
0x1216 79 edi = 1
0x121b 80 edi = edi - esi
0x121d 81 edi = edi + edx
0x121f 82 esi = 1
0x1227 83 if (edi == 1) then 89 @ 0x11e5 else 94 @ 0x1229
0x1280 84 ebx = ebx + 3
0x1280 85 goto 97 @ 0x1283
0x1297 86 edi = edx
0x1299 87 edi = edi & 0x7ffffff9
0x12a2 88 if (edi == 1) then 84 @ 0x1280 else 99 @ 0x12a7
0x11e5 89 ebx = ebx + esi
0x11e7 90 esi = (rcx + rdx).d
0x11ea 91 esi = esi + 1
0x11ed 92 edx = edx + 1
0x11f3 93 if (esi == 1) then 22 @ 0x1232 else 55 @ 0x11f5
0x1229 94 edi = edx
0x122b 95 edi = edi & 3
0x122e 96 if (edi == 0) then 75 @ 0x11e0 else 100 @ 0x1230
0x1283 97 edx = edx + 1
0x1288 98 if (ecx == edx) then 28 @ 0x12d1 else 72 @ 0x128a
0x12a7 99 if (edx == 0xc) then 84 @ 0x1280 else 101 @ 0x12ac
0x1230 100 goto 89 @ 0x11e5
0x12ac 101 if (edx != 2) then 102 @ 0x12c0 else 104 @ 0x12b0
0x12c0 102 edi = (rbx + 2).d
0x12c6 103 if (esi == 4) then 105 else 107 @ 0x12cc
0x12b0 104 if (al != 0) then 102 @ 0x12c0 else 108 @ 0x12b2
0x12c6 105 ebx = edi
0x12c6 106 goto 107 @ 0x12cc
0x12cc 107 if (esi == 9) then 110 else 112 @ 0x12cf
0x12b2 108 ebx = ebx + 1
0x12b5 109 goto 97 @ 0x1283
0x12cc 110 ebx = edi
0x12cc 111 goto 112 @ 0x12cf
0x12cf 112 goto 97 @ 0x1283
int64_t _fini():
0x1324 0 rsp = rsp - 8
0x1328 1 rsp = rsp + 8
0x132c 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
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 [rbp - 0x10 {var_18}].d = 3
0x1166 5 [rbp - 0x14 {var_1c}].d = 0
0x116d 6 rdi = 0x2005 {"%d"}
0x1174 7 rsi = rbp - 8 {var_10}
0x1178 8 al = 0
0x117a 9 call(0x1040)
0x117f 10 [rbp - 0xc {var_14}].d = 3
0x117f 11 goto 12 @ 0x118a
0x118a 12 if ([rbp - 0xc {var_14}].d s> 7) then 13 @ 0x121c else 14 @ 0x1190
0x121c 13 if ([rbp - 0x10 {var_18}].d != 0) then 27 @ 0x1230 else 31 @ 0x1222
0x1190 14 eax = [rbp - 8 {var_10}].d
0x1193 15 temp2.d:temp3.d = sx.q(eax)
0x1193 16 edx = temp2.d
0x1193 17 eax = temp3.d
0x1194 18 temp4.d = edx
0x1194 19 temp5.d = eax
0x1194 20 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0xc {var_14}].d)
0x1194 21 temp6.d = edx
0x1194 22 temp7.d = eax
0x1194 23 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0xc {var_14}].d)
0x1194 24 eax = temp0.d
0x1194 25 edx = temp1.d
0x119a 26 if (edx != 0) then 35 @ 0x11c7 else 48 @ 0x11a4
0x1230 27 eax = 0
0x1232 28 rsp = rsp + 0x20
0x1236 29 rbp = pop
0x1237 30 <return> jump(pop)
0x1222 31 rdi = 0x2008 {"n"}
0x1229 32 al = 0
0x122b 33 call(0x1030)
0x122b 34 goto 27 @ 0x1230
0x11c7 35 eax = [rbp - 8 {var_10}].d
0x11ca 36 temp8.d:temp9.d = sx.q(eax)
0x11ca 37 edx = temp8.d
0x11ca 38 eax = temp9.d
0x11cb 39 temp10.d = edx
0x11cb 40 temp11.d = eax
0x11cb 41 temp0.d = divs.dp.d(temp10.d:temp11.d, [rbp - 0xc {var_14}].d)
0x11cb 42 temp12.d = edx
0x11cb 43 temp13.d = eax
0x11cb 44 temp1.d = mods.dp.d(temp12.d:temp13.d, [rbp - 0xc {var_14}].d)
0x11cb 45 eax = temp0.d
0x11cb 46 edx = temp1.d
0x11d1 47 if (edx != 0) then 49 @ 0x11f7 else 53 @ 0x11db
0x11a4 48 if ([rbp - 0x14 {var_1c}].d != 0) then 35 @ 0x11c7 else 54 @ 0x11aa
0x11f7 49 eax = [rbp - 0x10 {var_18}].d
0x11fa 50 eax = eax - 1
0x11fd 51 [rbp - 0x10 {var_18}].d = eax
0x11fd 52 goto 60 @ 0x1200
0x11db 53 if ([rbp - 0x14 {var_1c}].d != 1) then 49 @ 0x11f7 else 61 @ 0x11e1
0x11aa 54 esi = [rbp - 0xc {var_14}].d
0x11ad 55 rdi = 0x2005 {"%d"}
0x11b4 56 al = 0
0x11b6 57 call(0x1030)
0x11bb 58 [rbp - 0x14 {var_1c}].d = 1
0x11c2 59 goto 66 @ 0x1205
0x1200 60 goto 66 @ 0x1205
0x11e1 61 esi = [rbp - 0xc {var_14}].d
0x11e4 62 rdi = 0x2004 {" %d"}
0x11eb 63 al = 0
0x11ed 64 call(0x1030)
0x11f2 65 goto 60 @ 0x1200
0x1205 66 goto 67 @ 0x120a
0x120a 67 eax = [rbp - 0xc {var_14}].d
0x120d 68 eax = eax + 2
0x1210 69 [rbp - 0xc {var_14}].d = eax
0x1213 70 goto 12 @ 0x118a
int64_t _fini():
0x123c 0 rsp = rsp - 8
0x1240 1 rsp = rsp + 8
0x1244 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
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 {"AVSH8L5"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(r14)
0x1152 1 push(rbx)
0x1153 2 rsp = rsp - 0x38
0x1157 3 r14 = 0x2004 {"%d"}
0x115e 4 ebx = 0
0x115e 5 goto 6 @ 0x1160
0x1160 6 rsi = rsp + (rbx << 2)
0x1164 7 rsi = rsi + 0x20
0x1168 8 rdi = r14
0x116b 9 eax = 0
0x116d 10 call(0x1040)
0x1172 11 eax = [rsp + (rbx << 2) + 0x20].d
0x1176 12 ecx = 0
0x1178 13 goto 14 @ 0x1180
0x1180 14 ecx = (rcx + (rcx << 2)).d
0x1183 15 rdx = sx.q(eax)
0x1186 16 rax = rdx * 0x66666667
0x118d 17 rsi = rax
0x1190 18 rsi = rsi u>> 0x3f
0x1194 19 rax = rax s>> 0x22
0x1198 20 eax = eax + esi
0x119a 21 esi = (rax + rax).d
0x119d 22 esi = (rsi + (rsi << 2)).d
0x11a0 23 edi = edx
0x11a2 24 edi = edi - esi
0x11a4 25 ecx = (rdi + (rcx << 1)).d
0x11a7 26 edx = edx + 9
0x11ad 27 if (edx u> 0x12) then 14 @ 0x1180 else 28 @ 0x11af
0x11af 28 [rsp + (rbx << 2)].d = ecx
0x11b2 29 rbx = rbx + 1
0x11ba 30 if (rbx != 6) then 6 @ 0x1160 else 31 @ 0x11bc
0x11bc 31 r14 = 0x2007 {"%d\n"}
0x11c3 32 ebx = 0
0x11cf 33 goto 34 @ 0x11d0
0x11d0 34 esi = [rsp + (rbx << 2)].d
0x11d3 35 rdi = r14
0x11d6 36 eax = 0
0x11d8 37 call(0x1030)
0x11dd 38 rbx = rbx + 1
0x11e5 39 if (rbx != 6) then 34 @ 0x11d0 else 40 @ 0x11e7
0x11e7 40 eax = 0
0x11e9 41 rsp = rsp + 0x38
0x11ed 42 rbx = pop
0x11ee 43 r14 = pop
0x11f0 44 <return> jump(pop)
uint64_t fan(int32_t arg1):
0x1200 0 eax = 0
0x120c 1 goto 2 @ 0x1210
0x1210 2 eax = (rax + (rax << 2)).d
0x1213 3 rcx = sx.q(edi)
0x1216 4 rdi = rcx * 0x66666667
0x121d 5 rdx = rdi
0x1220 6 rdx = rdx u>> 0x3f
0x1224 7 rdi = rdi s>> 0x22
0x1228 8 edi = edi + edx
0x122a 9 edx = (rdi + rdi).d
0x122d 10 edx = (rdx + (rdx << 2)).d
0x1230 11 esi = ecx
0x1232 12 esi = esi - edx
0x1234 13 eax = (rsi + (rax << 1)).d
0x1237 14 ecx = ecx + 9
0x123d 15 if (ecx u> 0x12) then 2 @ 0x1210 else 16 @ 0x123f
0x123f 16 <return> jump(pop)
int64_t _fini():
0x1244 0 rsp = rsp - 8
0x1248 1 rsp = rsp + 8
0x124c 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)
char* strncpy(char* arg1, char const* arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
uint64_t strlen(char const* arg1):
0x1050 0 <return> tailcall([0x4028].q)
char* strcpy(char* arg1, char const* arg2):
0x1060 0 <return> tailcall([0x4030].q)
int32_t scanf(char const* format, ...):
0x1070 0 <return> tailcall([0x4038].q)
void qsort(void* b, uint64_t n, uint64_t s, __compar_fn_t cmp):
0x1080 0 <return> tailcall([0x4040].q)
char* gets(char* buf):
0x1090 0 <return> tailcall([0x4048].q)
int32_t strcmp(char const* arg1, char const* arg2):
0x10a0 0 <return> tailcall([0x4050].q)
int32_t puts(char const* str):
0x10b0 0 <return> tailcall([0x4058].q)
void __cxa_finalize(void* d):
0x10c0 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x10d4 0 ebp = 0
0x10d6 1 r9 = rdx
0x10d9 2 rsi = pop
0x10da 3 rdx = rsp {arg_8}
0x10dd 4 rsp = rsp & 0xfffffffffffffff0
0x10e1 5 push(rax)
0x10e2 6 push(rsp)
0x10e3 7 r8d = 0
0x10e6 8 ecx = 0
0x10e8 9 rdi = 0x11d0 {"UAWAVAUATSH(H="}
0x10ef 10 call([0x3ff8].q)
0x10ef 11 noreturn
void deregister_tm_clones():
0x1100 0 rdi = 0x4070 {""}
0x1107 1 rax = 0x4070 {""}
0x1111 2 if (rax == rdi) then 3 @ 0x1128 else 4 @ 0x1113
0x1128 3 <return> jump(pop)
0x1113 4 rax = [0x3fd8].q
0x111d 5 if (rax == 0) then 3 @ 0x1128 else 6 @ 0x111f
0x111f 6 <return> tailcall(rax)
void register_tm_clones():
0x1130 0 rdi = 0x4070 {""}
0x1137 1 rsi = 0x4070 {""}
0x113e 2 rsi = rsi - rdi
0x1141 3 rax = rsi
0x1144 4 rsi = rsi u>> 0x3f
0x1148 5 rax = rax s>> 3
0x114c 6 rsi = rsi + rax
0x114f 7 rsi = rsi s>> 1
0x1152 8 if (rsi == 0) then 9 @ 0x1168 else 10 @ 0x1154
0x1168 9 <return> jump(pop)
0x1154 10 rax = [0x3ff0].q
0x115e 11 if (rax == 0) then 9 @ 0x1168 else 12 @ 0x1160
0x1160 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x117b 0 if ([0x4070].b != 0) then 1 @ 0x11a8 else 2 @ 0x117d
0x11a8 1 <return> jump(pop)
0x117d 2 push(rbp)
0x117e 3 cond:0 = [0x3fe0].q == 0
0x1186 4 rbp = rsp {__saved_rbp}
0x1189 5 if (cond:0) then 6 @ 0x1197 else 10 @ 0x118b
0x1197 6 call(0x1100)
0x119c 7 [0x4070].b = 1
0x11a3 8 rbp = pop
0x11a4 9 <return> jump(pop)
0x118b 10 rdi = [0x4068].q
0x1192 11 call(0x10c0)
0x1192 12 goto 6 @ 0x1197
int64_t frame_dummy():
0x11b4 0 <return> tailcall(0x1130)
uint64_t cmp_sort(void* arg1, void* arg2):
0x11c0 0 eax = [rsi + 0xc].d
0x11c3 1 eax = eax - [rdi + 0xc].d
0x11c6 2 edi = edi - esi
0x11ca 3 if (eax == 0) then 4 else 6 @ 0x11cd
0x11ca 4 eax = edi
0x11ca 5 goto 6 @ 0x11cd
0x11cd 6 <return> jump(pop)
int32_t main(int32_t argc, char** argv, char** envp):
0x11d0 0 push(rbp)
0x11d1 1 push(r15)
0x11d3 2 push(r14)
0x11d5 3 push(r13)
0x11d7 4 push(r12)
0x11d9 5 push(rbx)
0x11da 6 rsp = rsp - 0x28
0x11de 7 rdi = 0x2004 {"%d"}
0x11e5 8 rsi = rsp + 0xc {var_4c}
0x11ea 9 eax = 0
0x11ec 10 call(0x1070)
0x11f1 11 rbx = 0x4090 {""}
0x11f8 12 rdi = rbx
0x11fb 13 eax = 0
0x11fd 14 call(0x1090)
0x1202 15 rdi = rbx
0x1205 16 eax = 0
0x1207 17 call(0x1090)
0x120c 18 rdi = rbx
0x120f 19 call(0x1050)
0x1214 20 r15 = sx.q([rsp + 0xc {var_4c}].d)
0x1219 21 rax = sx.q(eax)
0x121b 22 rax = rax - r15
0x121e 23 [rsp + 0x10 {var_48}].q = rax
0x1225 24 if (eax s< 0) then 25 @ 0x12d6 else 33 @ 0x122b
0x12d6 25 esi = [0x4080].d
0x12dc 26 rdi = 0x42c0 {""}
0x12e3 27 rcx = 0x11c0 {"F+G)DfUAWAVAUATSH(H="}
0x12ea 28 edx = 0x10 {""}
0x12ef 29 eax = 0
0x12f1 30 call(0x1080)
0x12f6 31 r14d = [0x42cc].d
0x1301 32 if (r14d s< 2) then 37 @ 0x1366 else 41 @ 0x1303
0x122b 33 r14d = [0x4080].d
0x1232 34 r12 = rsp + 0x1e {var_3a}
0x1237 35 rbx = 0x4090 {""}
0x123e 36 goto 47 @ 0x1288
0x1366 37 rdi = 0x200e {"NO"}
0x136d 38 eax = 0
0x136f 39 call(0x10b0)
0x136f 40 goto 53 @ 0x1374
0x1303 41 rdi = 0x2007 {"%d\n%s\n"}
0x130a 42 rdx = 0x42c0 {""}
0x1311 43 esi = r14d
0x1314 44 eax = 0
0x1316 45 call(0x1030)
0x1322 46 if ([0x4080].d s< 2) then 53 @ 0x1374 else 62 @ 0x1324
0x1288 47 rdi = r12 {var_3a}
0x128b 48 rsi = rbx
0x128e 49 rdx = r15
0x1291 50 call(0x1040)
0x1296 51 [rsp + r15 + 0x1e].b = 0
0x129f 52 if (r14d s<= 0) then 65 @ 0x1240 else 76 @ 0x12a1
0x1374 53 eax = 0
0x1376 54 rsp = rsp + 0x28
0x137a 55 rbx = pop
0x137b 56 r12 = pop
0x137d 57 r13 = pop
0x137f 58 r14 = pop
0x1381 59 r15 = pop
0x1383 60 rbp = pop
0x1384 61 <return> jump(pop)
0x1324 62 ebp = 1
0x1329 63 rbx = 0x42d0 {""}
0x1330 64 goto 79 @ 0x1358
0x1240 65 rbp = sx.q(r14d)
0x1243 66 rbp = rbp << 4
0x1247 67 r13 = 0x42c0 {""}
0x124e 68 rdi = r13
0x1251 69 rdi = rdi + rbp
0x1254 70 rsi = r12 {var_3a}
0x1257 71 call(0x1060)
0x125c 72 r14d = r14d + 1
0x1260 73 [0x4080].d = r14d
0x1267 74 [rbp + r13 + 0xc].d = 1
0x1267 75 goto 80 @ 0x1270
0x12a1 76 r13d = r14d
0x12a4 77 rbp = 0x42c0 {""}
0x12ab 78 goto 85 @ 0x12b0
0x1358 79 if ([rbx + 0xc].d != r14d) then 89 @ 0x1340 else 93 @ 0x135a
0x1270 80 rbx = rbx + 1
0x1274 81 rax = rbx
0x1277 82 rcx = 0x4090 {""}
0x127e 83 rax = rax - rcx
0x1286 84 if (rax s> [rsp + 0x10 {var_48}].q) then 25 @ 0x12d6 else 47 @ 0x1288
0x12b0 85 rdi = rbp
0x12b3 86 rsi = r12 {var_3a}
0x12b6 87 call(0x10a0)
0x12bd 88 if (eax == 0) then 97 @ 0x12d0 else 99 @ 0x12bf
0x1340 89 rbp = rbp + 1
0x1344 90 rax = sx.q([0x4080].d)
0x134b 91 rbx = rbx + 0x10
0x1352 92 if (rbp s>= rax) then 53 @ 0x1374 else 79 @ 0x1358
0x135a 93 rdi = rbx
0x135d 94 eax = 0
0x135f 95 call(0x10b0)
0x1364 96 goto 89 @ 0x1340
0x12d0 97 [rbp + 0xc].d = [rbp + 0xc].d + 1
0x12d4 98 goto 80 @ 0x1270
0x12bf 99 rbp = rbp + 0x10
0x12c3 100 temp0.q = r13
0x12c3 101 r13 = r13 - 1
0x12c7 102 if (temp0.q != 1) then 85 @ 0x12b0 else 103 @ 0x12c9
0x12c9 103 goto 65 @ 0x1240
int64_t _fini():
0x138c 0 rsp = rsp - 8
0x1390 1 rsp = rsp + 8
0x1394 2 <return> jump(pop)
| POJ_51 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
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 = 0x1290 {"SH@H|
"}
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)
int64_t find(double arg1, double arg2 @ zmm0, uint128_t arg3 @ zmm1, float arg4 @ zmm2, int32_t arg5 @ zmm3, double arg6 @ zmm4):
0x1170 0 rsp = rsp - 0x28
0x1174 1 xmm5 = xmm0
0x1177 2 xmm5.d = xmm5.d f+ xmm1.d
0x117b 3 xmm5.d = xmm5.d f+ xmm2.d
0x117f 4 xmm5.d = xmm5.d f+ xmm3.d
0x1183 5 xmm5.d = xmm5.d f* fconvert.t([0x2004].d)
0x118b 6 xmm4.q = fconvert.d(xmm4.d)
0x118f 7 xmm4.q = xmm4.q f* fconvert.t([0x2008].q)
0x1197 8 xmm4.q = xmm4.q f/ fconvert.t([0x2010].q)
0x119f 9 xmm4.d = fconvert.s(xmm4.q)
0x11a3 10 xmm6 = xmm5
0x11a6 11 xmm6.d = xmm6.d f- xmm0.d
0x11aa 12 xmm7 = xmm5
0x11ad 13 xmm7.d = xmm7.d f- xmm1.d
0x11b1 14 xmm7.d = xmm7.d f* xmm6.d
0x11b5 15 xmm6 = xmm5
0x11b8 16 xmm6.d = xmm6.d f- xmm2.d
0x11bc 17 xmm6.d = xmm6.d f* xmm7.d
0x11c0 18 xmm5.d = xmm5.d f- xmm3.d
0x11c4 19 xmm5.d = xmm5.d f* xmm6.d
0x11c8 20 xmm5.q = fconvert.d(xmm5.d)
0x11cc 21 [rsp + 0x20 {var_8}].q = xmm5.q
0x11d2 22 xmm0.d = xmm0.d f* xmm1.d
0x11d6 23 xmm0.d = xmm0.d f* xmm2.d
0x11da 24 xmm0.d = xmm0.d f* xmm3.d
0x11de 25 xmm0.q = fconvert.d(xmm0.d)
0x11e2 26 [rsp + 0x18 {var_10}].q = xmm0.q
0x11e8 27 xmm0 = 0
0x11eb 28 xmm0.q = fconvert.d(xmm4.d)
0x11ef 29 [rsp + 0x10 {var_18}].q = xmm0.q
0x11f5 30 call(0x1060)
0x11fa 31 [rsp + 8 {var_20}].q = xmm0.q
0x1200 32 xmm0 = zx.o([rsp + 0x10 {var_18}].q)
0x1206 33 call(0x1060)
0x120b 34 xmm1 = zx.o([rsp + 8 {var_20}].q)
0x1211 35 xmm1.q = xmm1.q f* fconvert.t([rsp + 0x18 {var_10}].q)
0x1217 36 xmm1.q = xmm1.q f* xmm0.q
0x121b 37 xmm0 = zx.o([rsp + 0x20 {var_8}].q)
0x1221 38 xmm0.q = xmm0.q f- xmm1.q
0x1225 39 xmm1 = 0
0x1228 40 xmm1.d = fconvert.s(xmm0.q)
0x122c 41 xmm0 = 0
0x122f 42 flag:p = is_unordered.d(xmm1.d, xmm0.d)
0x122f 43 flag:c = xmm1.d f< xmm0.d | is_unordered.d(xmm1.d, xmm0.d)
0x122f 44 flag:z = xmm1.d f== xmm0.d | is_unordered.d(xmm1.d, xmm0.d)
0x122f 45 flag:s = 0
0x122f 46 flag:o = 0
0x122f 47 flag:a = 0
0x1232 48 if (flag:c) then 49 @ 0x1283 else 51 @ 0x1234
0x1283 49 rsp = rsp + 0x28
0x1287 50 <return> jump(pop)
0x1234 51 xmm0 = zx.o([rsp + 0x10 {var_18}].q)
0x123a 52 call(0x1060)
0x123f 53 [rsp + 8 {var_20_1}].q = xmm0.q
0x1245 54 xmm0 = zx.o([rsp + 0x10 {var_18}].q)
0x124b 55 call(0x1060)
0x1250 56 xmm1 = zx.o([rsp + 0x18 {var_10}].q)
0x1256 57 xmm1.q = xmm1.q f* fconvert.t([rsp + 8 {var_20_1}].q)
0x125c 58 xmm1.q = xmm1.q f* xmm0.q
0x1260 59 xmm0 = zx.o([rsp + 0x20 {var_8}].q)
0x1266 60 xmm0.q = xmm0.q f- xmm1.q
0x126a 61 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x126e 62 flag:p = is_unordered.q(xmm0.q, xmm1.q)
0x126e 63 flag:c = xmm0.q f< xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x126e 64 flag:z = xmm0.q f== xmm1.q | is_unordered.q(xmm0.q, xmm1.q)
0x126e 65 flag:s = 0
0x126e 66 flag:o = 0
0x126e 67 flag:a = 0
0x1272 68 if (flag:c) then 69 @ 0x127a else 71 @ 0x1274
0x127a 69 call(0x1050)
0x127a 70 goto 73 @ 0x127f
0x1274 71 xmm0 = _mm_sqrt_sd(xmm0.q)
0x1278 72 goto 73 @ 0x127f
0x127f 73 xmm0.d = fconvert.s(xmm0.q)
0x127f 74 goto 49 @ 0x1283
int32_t main(int32_t argc, char** argv, char** envp):
0x1290 0 push(rbx)
0x1291 1 rsp = rsp - 0x40
0x1295 2 rbx = 0x2018 {"%f"}
0x129c 3 rsi = rsp + 0x2c {var_1c}
0x12a1 4 rdi = rbx
0x12a4 5 eax = 0
0x12a6 6 call(0x1040)
0x12ab 7 rsi = rsp + 0x28 {var_20}
0x12b0 8 rdi = rbx
0x12b3 9 eax = 0
0x12b5 10 call(0x1040)
0x12ba 11 rsi = rsp + 0x24 {var_24}
0x12bf 12 rdi = rbx
0x12c2 13 eax = 0
0x12c4 14 call(0x1040)
0x12c9 15 rsi = rsp + 0x20 {var_28}
0x12ce 16 rdi = rbx
0x12d1 17 eax = 0
0x12d3 18 call(0x1040)
0x12d8 19 rsi = rsp + 0x1c {var_2c}
0x12dd 20 rdi = rbx
0x12e0 21 eax = 0
0x12e2 22 call(0x1040)
0x12e7 23 xmm0 = [rsp + 0x2c {var_1c}].d
0x12ed 24 xmm3 = [rsp + 0x28 {var_20}].d
0x12f3 25 xmm2 = [rsp + 0x24 {var_24}].d
0x12f9 26 xmm1 = [rsp + 0x20 {var_28}].d
0x12ff 27 xmm4 = [rsp + 0x1c {var_2c}].d
0x1305 28 xmm5 = xmm0
0x1308 29 xmm5.d = xmm5.d f+ xmm3.d
0x130c 30 xmm5.d = xmm5.d f+ xmm2.d
0x1310 31 xmm5.d = xmm5.d f+ xmm1.d
0x1314 32 xmm5.d = xmm5.d f* fconvert.t([0x2004].d)
0x131c 33 xmm4.q = fconvert.d(xmm4.d)
0x1320 34 xmm4.q = xmm4.q f* fconvert.t([0x2008].q)
0x1328 35 xmm4.q = xmm4.q f/ fconvert.t([0x2010].q)
0x1330 36 xmm4.d = fconvert.s(xmm4.q)
0x1334 37 xmm6 = xmm5
0x1337 38 xmm6.d = xmm6.d f- xmm0.d
0x133b 39 xmm7 = xmm5
0x133e 40 xmm7.d = xmm7.d f- xmm3.d
0x1342 41 xmm7.d = xmm7.d f* xmm6.d
0x1346 42 xmm6 = xmm5
0x1349 43 xmm6.d = xmm6.d f- xmm2.d
0x134d 44 xmm6.d = xmm6.d f* xmm7.d
0x1351 45 xmm5.d = xmm5.d f- xmm1.d
0x1355 46 xmm5.d = xmm5.d f* xmm6.d
0x1359 47 xmm5.q = fconvert.d(xmm5.d)
0x135d 48 [rsp + 0x38 {var_10}].q = xmm5.q
0x1363 49 xmm0.d = xmm0.d f* xmm3.d
0x1367 50 xmm0.d = xmm0.d f* xmm2.d
0x136b 51 xmm0.d = xmm0.d f* xmm1.d
0x136f 52 xmm0.q = fconvert.d(xmm0.d)
0x1373 53 [rsp + 0x30 {var_18}].q = xmm0.q
0x1379 54 xmm0 = 0
0x137c 55 xmm0.q = fconvert.d(xmm4.d)
0x1380 56 [rsp + 0x10 {var_38}].q = xmm0.q
0x1386 57 call(0x1060)
0x138b 58 [rsp + 8 {var_40}].q = xmm0.q
0x1391 59 xmm0 = zx.o([rsp + 0x10 {var_38}].q)
0x1397 60 call(0x1060)
0x139c 61 xmm1 = zx.o([rsp + 8 {var_40}].q)
0x13a2 62 xmm1.q = xmm1.q f* fconvert.t([rsp + 0x30 {var_18}].q)
0x13a8 63 xmm1.q = xmm1.q f* xmm0.q
0x13ac 64 xmm0 = zx.o([rsp + 0x38 {var_10}].q)
0x13b2 65 xmm0.q = xmm0.q f- xmm1.q
0x13b6 66 xmm0.d = fconvert.s(xmm0.q)
0x13ba 67 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x13be 68 flag:p = is_unordered.d(xmm0.d, xmm1.d)
0x13be 69 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d)
0x13be 70 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d)
0x13be 71 flag:s = 0
0x13be 72 flag:o = 0
0x13be 73 flag:a = 0
0x13c1 74 xmm0 = 0
0x13c4 75 if (flag:c) then 76 @ 0x141d else 83 @ 0x13c6
0x141d 76 flag:p = is_unordered.d(xmm0.d, xmm1.d)
0x141d 77 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d)
0x141d 78 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d)
0x141d 79 flag:s = 0
0x141d 80 flag:o = 0
0x141d 81 flag:a = 0
0x1420 82 if (not(flag:z)) then 102 @ 0x1434 else 107 @ 0x1422
0x13c6 83 xmm0 = zx.o([rsp + 0x10 {var_38}].q)
0x13cc 84 call(0x1060)
0x13d1 85 [rsp + 8 {var_40_1}].q = xmm0.q
0x13d7 86 xmm0 = zx.o([rsp + 0x10 {var_38}].q)
0x13dd 87 call(0x1060)
0x13e2 88 xmm2 = zx.o([rsp + 0x30 {var_18}].q)
0x13e8 89 xmm2.q = xmm2.q f* fconvert.t([rsp + 8 {var_40_1}].q)
0x13ee 90 xmm2.q = xmm2.q f* xmm0.q
0x13f2 91 xmm1 = zx.o([rsp + 0x38 {var_10}].q)
0x13f8 92 xmm1.q = xmm1.q f- xmm2.q
0x13fc 93 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x1400 94 flag:p = is_unordered.q(xmm1.q, xmm0.q)
0x1400 95 flag:c = xmm1.q f< xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1400 96 flag:z = xmm1.q f== xmm0.q | is_unordered.q(xmm1.q, xmm0.q)
0x1400 97 flag:s = 0
0x1400 98 flag:o = 0
0x1400 99 flag:a = 0
0x1404 100 xmm0 = xmm1
0x1408 101 if (flag:c) then 108 @ 0x1410 else 110 @ 0x140a
0x1434 102 xmm0.q = fconvert.d(xmm0.d)
0x1438 103 rdi = 0x2029 {"%.4f"}
0x143f 104 al = 1
0x1441 105 call(0x1030)
0x1441 106 goto 112 @ 0x1446
0x1422 107 if (flag:p) then 102 @ 0x1434 else 116 @ 0x1424
0x1410 108 call(0x1050)
0x1410 109 goto 120 @ 0x1415
0x140a 110 xmm0 = _mm_sqrt_sd(xmm0.q)
0x140e 111 goto 120 @ 0x1415
0x1446 112 eax = 0
0x1448 113 rsp = rsp + 0x40
0x144c 114 rbx = pop
0x144d 115 <return> jump(pop)
0x1424 116 rdi = 0x201b {"Invalid input"}
0x142b 117 eax = 0
0x142d 118 call(0x1030)
0x1432 119 goto 112 @ 0x1446
0x1415 120 xmm0.d = fconvert.s(xmm0.q)
0x1419 121 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x1419 122 goto 76 @ 0x141d
int64_t _fini():
0x1454 0 rsp = rsp - 8
0x1458 1 rsp = rsp + 8
0x145c 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)
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 strcmp(char const* arg1, char const* arg2):
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 {"UHH"}
0x10af 10 call([0x3ff8].q)
0x10af 11 noreturn
void deregister_tm_clones():
0x10c0 0 rdi = 0x4050 {""}
0x10c7 1 rax = 0x4050 {""}
0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3
0x10e8 3 <return> jump(pop)
0x10d3 4 rax = [0x3fd8].q
0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df
0x10df 6 <return> tailcall(rax)
void register_tm_clones():
0x10f0 0 rdi = 0x4050 {""}
0x10f7 1 rsi = 0x4050 {""}
0x10fe 2 rsi = rsi - rdi
0x1101 3 rax = rsi
0x1104 4 rsi = rsi u>> 0x3f
0x1108 5 rax = rax s>> 3
0x110c 6 rsi = rsi + rax
0x110f 7 rsi = rsi s>> 1
0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114
0x1128 9 <return> jump(pop)
0x1114 10 rax = [0x3ff0].q
0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120
0x1120 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d
0x1168 1 <return> jump(pop)
0x113d 2 push(rbp)
0x113e 3 cond:0 = [0x3fe0].q == 0
0x1146 4 rbp = rsp {__saved_rbp}
0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b
0x1157 6 call(0x10c0)
0x115c 7 [0x4050].b = 1
0x1163 8 rbp = pop
0x1164 9 <return> jump(pop)
0x114b 10 rdi = [0x4048].q
0x1152 11 call(0x1080)
0x1152 12 goto 6 @ 0x1157
int64_t frame_dummy():
0x1174 0 <return> tailcall(0x10f0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1180 0 push(rbp)
0x1181 1 rbp = rsp {__saved_rbp}
0x1184 2 rsp = rsp - 0x1500
0x118b 3 [rbp - 4 {var_c}].d = 0
0x1192 4 rdi = rbp - 0x70 {var_78}
0x1196 5 al = 0
0x1198 6 call(0x1060)
0x119d 7 rsi = rbp - 0xe0 {var_e8}
0x11a4 8 rdi = 0x2004 {"%s"}
0x11ab 9 al = 0
0x11ad 10 call(0x1050)
0x11b2 11 rsi = rbp - 0x150 {var_158}
0x11b9 12 rdi = 0x2004 {"%s"}
0x11c0 13 al = 0
0x11c2 14 call(0x1050)
0x11c7 15 [rbp - 0x14f4 {var_14fc}].d = 0
0x11d1 16 [rbp - 0x14f8 {var_1500}].d = 0
0x11db 17 rdi = rbp - 0x70 {var_78}
0x11df 18 call(0x1040)
0x11e4 19 [rbp - 0x14e4 {var_14ec}].d = eax
0x11ea 20 [rbp - 0x14e8 {var_14f0}].d = 0
0x11ea 21 goto 22 @ 0x11f4
0x11f4 22 eax = [rbp - 0x14e8 {var_14f0}].d
0x1200 23 if (eax s>= [rbp - 0x14e4 {var_14ec}].d) then 24 @ 0x128b else 26 @ 0x1206
0x128b 24 [rbp - 0x14e8 {var_14f0_1}].d = 0
0x128b 25 goto 29 @ 0x1295
0x1206 26 rax = sx.q([rbp - 0x14e8 {var_14f0}].d)
0x120d 27 eax = sx.d([rbp + rax - 0x70].b)
0x1215 28 if (eax == 0x20) then 31 @ 0x1259 else 36 @ 0x121b
0x1295 29 eax = [rbp - 0x14e8 {var_14f0_1}].d
0x12a1 30 if (eax s>= [rbp - 0x14f4 {var_14fc}].d) then 48 @ 0x1327 else 55 @ 0x12a7
0x1259 31 [rbp - 0x14f8 {var_1500}].d = 0
0x1263 32 eax = [rbp - 0x14f4 {var_14fc}].d
0x1269 33 eax = eax + 1
0x126c 34 [rbp - 0x14f4 {var_14fc}].d = eax
0x126c 35 goto 62 @ 0x1272
0x121b 36 rax = sx.q([rbp - 0x14e8 {var_14f0}].d)
0x1222 37 dl = [rbp + rax - 0x70].b
0x1226 38 rcx = sx.q([rbp - 0x14f4 {var_14fc}].d)
0x122d 39 rax = rbp - 0x14e0 {var_14e8}
0x1234 40 rcx = rcx * 0x64
0x1238 41 rax = rax + rcx
0x123b 42 rcx = sx.q([rbp - 0x14f8 {var_1500}].d)
0x1242 43 [rax + rcx].b = dl
0x1245 44 eax = [rbp - 0x14f8 {var_1500}].d
0x124b 45 eax = eax + 1
0x124e 46 [rbp - 0x14f8 {var_1500}].d = eax
0x1254 47 goto 62 @ 0x1272
0x1327 48 rdi = rbp - 0xe0 {var_e8}
0x132e 49 rax = sx.q([rbp - 0x14e8 {var_14f0_1}].d)
0x1335 50 rsi = rbp - 0x14e0 {var_14e8}
0x133c 51 rax = rax * 0x64
0x1340 52 rsi = rsi + rax
0x1343 53 call(0x1070)
0x134b 54 if (eax != 0) then 63 @ 0x136b else 71 @ 0x1351
0x12a7 55 rdi = rbp - 0xe0 {var_e8}
0x12ae 56 rax = sx.q([rbp - 0x14e8 {var_14f0_1}].d)
0x12b5 57 rsi = rbp - 0x14e0 {var_14e8}
0x12bc 58 rax = rax * 0x64
0x12c0 59 rsi = rsi + rax
0x12c3 60 call(0x1070)
0x12cb 61 if (eax != 0) then 76 @ 0x12eb else 84 @ 0x12d1
0x1272 62 goto 89 @ 0x1277
0x136b 63 rax = sx.q([rbp - 0x14f4 {var_14fc}].d)
0x1372 64 rsi = rbp - 0x14e0 {var_14e8}
0x1379 65 rax = rax * 0x64
0x137d 66 rsi = rsi + rax
0x1380 67 rdi = 0x2004 {"%s"}
0x1387 68 al = 0
0x1389 69 call(0x1030)
0x1389 70 goto 93 @ 0x138e
0x1351 71 rsi = rbp - 0x150 {var_158}
0x1358 72 rdi = 0x2004 {"%s"}
0x135f 73 al = 0
0x1361 74 call(0x1030)
0x1366 75 goto 93 @ 0x138e
0x12eb 76 rax = sx.q([rbp - 0x14e8 {var_14f0_1}].d)
0x12f2 77 rsi = rbp - 0x14e0 {var_14e8}
0x12f9 78 rax = rax * 0x64
0x12fd 79 rsi = rsi + rax
0x1300 80 rdi = 0x2007 {"%s "}
0x1307 81 al = 0
0x1309 82 call(0x1030)
0x1309 83 goto 97 @ 0x130e
0x12d1 84 rsi = rbp - 0x150 {var_158}
0x12d8 85 rdi = 0x2007 {"%s "}
0x12df 86 al = 0
0x12e1 87 call(0x1030)
0x12e6 88 goto 97 @ 0x130e
0x1277 89 eax = [rbp - 0x14e8 {var_14f0}].d
0x127d 90 eax = eax + 1
0x1280 91 [rbp - 0x14e8 {var_14f0}].d = eax
0x1286 92 goto 22 @ 0x11f4
0x138e 93 eax = 0
0x1390 94 rsp = rsp + 0x1500
0x1397 95 rbp = pop
0x1398 96 <return> jump(pop)
0x130e 97 goto 98 @ 0x1313
0x1313 98 eax = [rbp - 0x14e8 {var_14f0_1}].d
0x1319 99 eax = eax + 1
0x131c 100 [rbp - 0x14e8 {var_14f0_1}].d = eax
0x1322 101 goto 29 @ 0x1295
int64_t _fini():
0x13a0 0 rsp = rsp - 8
0x13a4 1 rsp = rsp + 8
0x13a8 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
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 - 0x308
0x1181 7 rdi = 0x2004 {"%s%s%s"}
0x1188 8 rbx = rsp {var_338}
0x118b 9 r15 = rsp + 0x200 {var_138}
0x1193 10 r13 = rsp + 0x100 {var_238}
0x119b 11 rsi = rbx {var_338}
0x119e 12 rdx = r15 {var_138}
0x11a1 13 rcx = r13 {var_238}
0x11a4 14 eax = 0
0x11a6 15 call(0x1050)
0x11ab 16 rdi = rbx {var_338}
0x11ae 17 call(0x1040)
0x11b3 18 rbp = rax
0x11b6 19 rdi = r15 {var_138}
0x11b9 20 call(0x1040)
0x11be 21 r12 = rax
0x11c1 22 rdi = r13 {var_238}
0x11c4 23 call(0x1040)
0x11c9 24 r10 = rbp
0x11cf 25 if (r10d s<= 0) then 26 @ 0x1365 else 37 @ 0x11d5
0x1365 26 rdi = rsp {var_338}
0x1368 27 call(0x1060)
0x136d 28 eax = 0
0x136f 29 rsp = rsp + 0x308
0x1376 30 rbx = pop
0x1377 31 r12 = pop
0x1379 32 r13 = pop
0x137b 33 r14 = pop
0x137d 34 r15 = pop
0x137f 35 rbp = pop
0x1380 36 <return> jump(pop)
0x11d5 37 r15 = rax
0x11d8 38 r8b = [rsp + 0x200 {var_138}].b
0x11e0 39 rbp = sx.q(r12d)
0x11e3 40 r9d = r10d
0x11e6 41 r13d = 0
0x11e9 42 r14d = r12d
0x11ec 43 goto 44 @ 0x11f0
0x11f0 44 esi = 0
0x11f9 45 if ([rsp + r13].b != r8b) then 46 @ 0x123c else 47 @ 0x11fb
0x123c 46 if (esi == r12d) then 49 @ 0x1254 else 52 @ 0x123e
0x11fb 47 esi = 0
0x1203 48 if (r12d s<= 0) then 46 @ 0x123c else 56 @ 0x1205
0x1254 49 cond:0 = r15d s>= r12d
0x1254 50 cond:2 = r15d s<= r12d
0x1257 51 if (r15d != r12d) then 59 @ 0x127e else 60 @ 0x1259
0x123e 52 r13 = r13 + 1
0x1242 53 r14d = r14d + 1
0x1246 54 rbx = rbx + 1
0x124d 55 if (r13 != r9) then 44 @ 0x11f0 else 62 @ 0x124f
0x1205 56 esi = 0
0x1207 57 edi = 1
0x120c 58 goto 63 @ 0x1210
0x127e 59 if (cond:0) then 70 @ 0x12fe else 71 @ 0x1283
0x1259 60 r15 = r12
0x125f 61 if (r12d s<= 0) then 26 @ 0x1365 else 72 @ 0x1265
0x124f 62 goto 26 @ 0x1365
0x1210 63 eax = esi
0x1212 64 edx = zx.d([rbx + rdi - 1].b)
0x1217 65 ecx = zx.d([rsp + rdi + 0x1ff].b)
0x121f 66 esi = 0
0x1223 67 sil = dl == cl
0x1227 68 esi = esi + eax
0x122b 69 if (dl != cl) then 46 @ 0x123c else 77 @ 0x122d
0x12fe 70 if (cond:2) then 26 @ 0x1365 else 81 @ 0x1300
0x1283 71 if (r15d s<= 0) then 83 @ 0x129f else 85 @ 0x1285
0x1265 72 rdi = rsp + r13
0x1269 73 edx = r15d
0x126c 74 rsi = rsp + 0x100 {var_238}
0x1274 75 call(0x1030)
0x1279 76 goto 26 @ 0x1365
0x122d 77 rax = rdi + 1
0x1231 78 cond:1 = rdi s< rbp
0x1234 79 rdi = rax
0x1237 80 if (cond:1) then 63 @ 0x1210 else 46 @ 0x123c
0x1300 81 eax = (r12 + r13).d
0x1307 82 if (eax s> r10d) then 92 @ 0x135f else 93 @ 0x1309
0x129f 83 eax = (r12 + r13).d
0x12a6 84 if (eax s> r10d) then 26 @ 0x1365 else 105 @ 0x12ac
0x1285 85 rdi = rsp + r13
0x1289 86 edx = r15d
0x128c 87 rsi = rsp + 0x100 {var_238}
0x1294 88 rbx = r10
0x1297 89 call(0x1030)
0x129c 90 r10 = rbx
0x129c 91 goto 83 @ 0x129f
0x135f 92 if (r15d s> 0) then 72 @ 0x1265 else 26 @ 0x1365
0x1309 93 rax = 0x100000000 {""}
0x1313 94 ecx = r15d
0x1316 95 ecx = ecx - r12d
0x1319 96 rdx = sx.q(r14d)
0x131c 97 ecx = ecx + r14d
0x131f 98 rcx = rcx << 0x20
0x1323 99 rdx = rdx + rsp
0x1326 100 r10d = not.d(r10d)
0x1329 101 r10d = r10d + r12d
0x132c 102 r10 = r10 + r13
0x132f 103 esi = 0
0x133b 104 goto 116 @ 0x1340
0x12ac 105 rax = 0x100000000 {""}
0x12b6 106 r15d = r15d - r12d
0x12b9 107 rcx = sx.q(r14d)
0x12bc 108 r15d = r15d + r14d
0x12bf 109 r15 = r15 << 0x20
0x12c3 110 rcx = rcx + rsp
0x12c6 111 r10d = not.d(r10d)
0x12c9 112 r10d = r10d + r12d
0x12cc 113 r10 = r10 + r13
0x12cf 114 edx = 0
0x12db 115 goto 126 @ 0x12e0
0x1340 116 ebx = zx.d([rdx + rsi].b)
0x1344 117 rdi = rcx
0x1347 118 rdi = rdi s>> 0x20
0x134b 119 [rsp + rdi].b = bl
0x134e 120 rcx = rcx + rax
0x1351 121 rsi = rsi + 1
0x1355 122 edi = r10d
0x1358 123 temp0.d = edi
0x1358 124 edi = edi + esi
0x135a 125 if (temp0.d != neg.d(esi)) then 116 @ 0x1340 else 92 @ 0x135f
0x12e0 126 ebx = zx.d([rcx + rdx].b)
0x12e4 127 rsi = r15
0x12e7 128 rsi = rsi s>> 0x20
0x12eb 129 [rsp + rsi].b = bl
0x12ee 130 r15 = r15 + rax
0x12f1 131 rdx = rdx + 1
0x12f5 132 esi = r10d
0x12f8 133 temp1.d = esi
0x12f8 134 esi = esi + edx
0x12fa 135 if (temp1.d != neg.d(edx)) then 126 @ 0x12e0 else 136 @ 0x12fc
0x12fc 136 goto 26 @ 0x1365
int64_t _fini():
0x1388 0 rsp = rsp - 8
0x138c 1 rsp = rsp + 8
0x1390 2 <return> jump(pop)
| POJ_7 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1220 {"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)
uint64_t ss(int32_t arg1):
0x1150 0 push(rbp)
0x1151 1 rbp = rsp {__saved_rbp}
0x1154 2 [rbp - 8 {var_10}].d = edi
0x115b 3 if ([rbp - 8 {var_10}].d != 2) then 4 @ 0x116d else 6 @ 0x1161
0x116d 4 [rbp - 0xc {var_14_1}].d = 2
0x116d 5 goto 8 @ 0x1174
0x1161 6 [rbp - 4 {var_c}].d = 1
0x1168 7 goto 10 @ 0x11c7
0x1174 8 eax = [rbp - 0xc {var_14_1}].d
0x117a 9 if (eax s>= [rbp - 8 {var_10}].d) then 13 @ 0x11a8 else 15 @ 0x1180
0x11c7 10 eax = [rbp - 4 {var_c}].d
0x11ca 11 rbp = pop
0x11cb 12 <return> jump(pop)
0x11a8 13 eax = [rbp - 0xc {var_14_1}].d
0x11ae 14 if (eax s< [rbp - 8 {var_10}].d) then 28 @ 0x11c0 else 30 @ 0x11b4
0x1180 15 eax = [rbp - 8 {var_10}].d
0x1183 16 temp2.d:temp3.d = sx.q(eax)
0x1183 17 edx = temp2.d
0x1183 18 eax = temp3.d
0x1184 19 temp4.d = edx
0x1184 20 temp5.d = eax
0x1184 21 temp0.d = divs.dp.d(temp4.d:temp5.d, [rbp - 0xc {var_14_1}].d)
0x1184 22 temp6.d = edx
0x1184 23 temp7.d = eax
0x1184 24 temp1.d = mods.dp.d(temp6.d:temp7.d, [rbp - 0xc {var_14_1}].d)
0x1184 25 eax = temp0.d
0x1184 26 edx = temp1.d
0x118a 27 if (edx != 0) then 32 @ 0x1195 else 33 @ 0x1190
0x11c0 28 [rbp - 4 {var_c}].d = 0
0x11c0 29 goto 10 @ 0x11c7
0x11b4 30 [rbp - 4 {var_c}].d = 1
0x11bb 31 goto 10 @ 0x11c7
0x1195 32 goto 34 @ 0x119a
0x1190 33 goto 13 @ 0x11a8
0x119a 34 eax = [rbp - 0xc {var_14_1}].d
0x119d 35 eax = eax + 1
0x11a0 36 [rbp - 0xc {var_14_1}].d = eax
0x11a3 37 goto 8 @ 0x1174
uint64_t huiwen(int32_t arg1, int32_t arg2):
0x11d0 0 push(rbp)
0x11d1 1 rbp = rsp {__saved_rbp}
0x11d4 2 rsp = rsp - 0x10
0x11d8 3 [rbp - 8 {var_10}].d = edi
0x11db 4 [rbp - 0xc {var_14}].d = esi
0x11e2 5 if ([rbp - 8 {var_10}].d != 0) then 6 @ 0x11f3 else 37 @ 0x11e8
0x11f3 6 eax = [rbp - 8 {var_10}].d
0x11f6 7 ecx = 0xa {""}
0x11fb 8 temp2.d:temp3.d = sx.q(eax)
0x11fb 9 edx = temp2.d
0x11fb 10 eax = temp3.d
0x11fc 11 temp4.d = edx
0x11fc 12 temp5.d = eax
0x11fc 13 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x11fc 14 temp6.d = edx
0x11fc 15 temp7.d = eax
0x11fc 16 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x11fc 17 eax = temp0.d
0x11fc 18 edx = temp1.d
0x11fe 19 edi = eax
0x1200 20 esi = [rbp - 0xc {var_14}].d * 0xa
0x1204 21 eax = [rbp - 8 {var_10}].d
0x1207 22 ecx = 0xa {""}
0x120c 23 temp8.d:temp9.d = sx.q(eax)
0x120c 24 edx = temp8.d
0x120c 25 eax = temp9.d
0x120d 26 temp10.d = edx
0x120d 27 temp11.d = eax
0x120d 28 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx)
0x120d 29 temp12.d = edx
0x120d 30 temp13.d = eax
0x120d 31 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx)
0x120d 32 eax = temp0.d
0x120d 33 edx = temp1.d
0x120f 34 esi = esi + edx
0x1211 35 call(0x11d0)
0x1211 36 goto 40 @ 0x1216
0x11e8 37 eax = [rbp - 0xc {var_14}].d
0x11eb 38 [rbp - 4 {var_c}].d = eax
0x11ee 39 goto 40 @ 0x1216
0x1216 40 eax = [rbp - 4 {var_c}].d
0x1219 41 rsp = rsp + 0x10
0x121d 42 rbp = pop
0x121e 43 <return> jump(pop)
int32_t main(int32_t argc, char** argv, char** envp):
0x1220 0 push(rbp)
0x1221 1 rbp = rsp {__saved_rbp}
0x1224 2 rsp = rsp - 0x20
0x1228 3 [rbp - 0xc {var_14}].d = 0
0x122f 4 rdi = 0x2004 {"%d %d"}
0x1236 5 rsi = rbp - 4 {var_c}
0x123a 6 rdx = rbp - 8 {var_10}
0x123e 7 al = 0
0x1240 8 call(0x1040)
0x1245 9 eax = [rbp - 4 {var_c}].d
0x1248 10 [rbp - 0x10 {var_18}].d = eax
0x1248 11 goto 12 @ 0x124b
0x124b 12 eax = [rbp - 0x10 {var_18}].d
0x1251 13 if (eax s> [rbp - 8 {var_10}].d) then 14 @ 0x12e4 else 15 @ 0x1257
0x12e4 14 if ([rbp - 0xc {var_14}].d != 0) then 23 @ 0x12f8 else 26 @ 0x12ea
0x1257 15 [rbp - 0x14 {var_1c_1}].d = 0
0x125e 16 edi = [rbp - 0x10 {var_18}].d
0x1261 17 esi = [rbp - 0x14 {var_1c_1}].d
0x1264 18 call(0x11d0)
0x1269 19 [rbp - 0x18 {var_20_1}].d = eax
0x126c 20 edi = [rbp - 0x10 {var_18}].d
0x126f 21 call(0x1150)
0x1277 22 if (eax != 1) then 30 @ 0x12cd else 31 @ 0x127d
0x12f8 23 rsp = rsp + 0x20
0x12fc 24 rbp = pop
0x12fd 25 <return> jump(pop)
0x12ea 26 rdi = 0x200e {"no\n"}
0x12f1 27 al = 0
0x12f3 28 call(0x1030)
0x12f3 29 goto 23 @ 0x12f8
0x12cd 30 goto 33 @ 0x12d2
0x127d 31 eax = [rbp - 0x18 {var_20_1}].d
0x1283 32 if (eax != [rbp - 0x10 {var_18}].d) then 30 @ 0x12cd else 37 @ 0x1289
0x12d2 33 eax = [rbp - 0x10 {var_18}].d
0x12d5 34 eax = eax + 1
0x12d8 35 [rbp - 0x10 {var_18}].d = eax
0x12db 36 goto 12 @ 0x124b
0x1289 37 eax = [rbp - 0xc {var_14}].d
0x128c 38 eax = eax + 1
0x128f 39 [rbp - 0xc {var_14}].d = eax
0x1296 40 if ([rbp - 0xc {var_14}].d != 1) then 41 @ 0x12b1 else 42 @ 0x129c
0x12b1 41 if ([rbp - 0xc {var_14}].d s<= 1) then 47 @ 0x12c8 else 48 @ 0x12b7
0x129c 42 esi = [rbp - 0x10 {var_18}].d
0x129f 43 rdi = 0x2007 {"%d"}
0x12a6 44 al = 0
0x12a8 45 call(0x1030)
0x12a8 46 goto 41 @ 0x12b1
0x12c8 47 goto 30 @ 0x12cd
0x12b7 48 esi = [rbp - 0x10 {var_18}].d
0x12ba 49 rdi = 0x200a {",%d"}
0x12c1 50 al = 0
0x12c3 51 call(0x1030)
0x12c3 52 goto 47 @ 0x12c8
int64_t _fini():
0x1304 0 rsp = rsp - 8
0x1308 1 rsp = rsp + 8
0x130c 2 <return> jump(pop)
| POJ_74 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
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 - 0x9c68
0x1171 7 [rsp + 0xc {var_9c8c}].d = 0
0x1179 8 [rsp + 8 {var_9c90}].d = 0
0x1181 9 [rsp + 4 {var_9c94}].d = 0
0x1189 10 rdi = rsp + 0x20 {var_9c78}
0x118e 11 edx = 0x9c40 {""}
0x1193 12 esi = 0
0x1195 13 call(0x1040)
0x119a 14 rdi = 0x2007 {"%d"}
0x11a1 15 rsi = rsp + 0xc {var_9c8c}
0x11a6 16 eax = 0
0x11a8 17 call(0x1050)
0x11b2 18 if ([rsp + 0xc {var_9c8c}].d s<= 0) then 19 @ 0x16b0 else 28 @ 0x11b8
0x16b0 19 eax = 0
0x16b2 20 rsp = rsp + 0x9c68
0x16b9 21 rbx = pop
0x16ba 22 r12 = pop
0x16bc 23 r13 = pop
0x16be 24 r14 = pop
0x16c0 25 r15 = pop
0x16c2 26 rbp = pop
0x16c3 27 <return> jump(pop)
0x11b8 28 r12 = 0x2007 {"%d"}
0x11bf 29 r14d = 0
0x11c2 30 ebx = 0
0x11c4 31 goto 32 @ 0x1209
0x1209 32 rdi = 0x2004 {"%d %d"}
0x1210 33 rsi = rsp + 8 {var_9c90}
0x1215 34 rdx = rsp + 4 {var_9c94}
0x121a 35 eax = 0
0x121c 36 call(0x1050)
0x1221 37 ecx = [rsp + 8 {var_9c90}].d
0x1225 38 eax = [rsp + 4 {var_9c94}].d
0x1229 39 cond:0 = ecx s<= 0
0x122b 40 [rsp + 0x1c {var_9c7c}].d = ebx
0x122f 41 if (cond:0) then 42 @ 0x1293 else 43 @ 0x1233
0x1293 42 if (ecx == 1) then 44 @ 0x1532 else 45 @ 0x129c
0x1233 43 if (eax s<= 0) then 42 @ 0x1293 else 46 @ 0x1235
0x1532 44 if (ecx s<= 0) then 49 @ 0x11e7 else 56 @ 0x153a
0x129c 45 if (eax == 1) then 44 @ 0x1532 else 57 @ 0x12a2
0x1235 46 r13 = rsp + 0x20 {var_9c78}
0x123a 47 ebx = 0
0x123c 48 goto 68 @ 0x1255
0x11e7 49 rdi = 0x200a {"%d\n"}
0x11ee 50 esi = r14d
0x11f1 51 eax = 0
0x11f3 52 call(0x1030)
0x11f8 53 ebx = [rsp + 0x1c {var_9c7c}].d
0x11fc 54 ebx = ebx + 1
0x1203 55 if (ebx s>= [rsp + 0xc {var_9c8c}].d) then 19 @ 0x16b0 else 32 @ 0x1209
0x153a 56 if (eax s<= 0) then 49 @ 0x11e7 else 69 @ 0x1540
0x12a2 57 r11d = [rsp + 0x20 {var_9c78}].d
0x12a7 58 edx = (rcx - 1).d
0x12aa 59 rdx = sx.q(edx)
0x12ad 60 rsi = rdx * 0x190
0x12b4 61 r8 = rsp + rsi
0x12b8 62 r8 = r8 + 0x20
0x12bc 63 r9d = [rsp + rsi + 0x20].d
0x12c1 64 edx = 0
0x12c3 65 r14d = 0
0x12c9 66 ebp = 0
0x12d0 67 if (eax s<= 0) then 87 @ 0x1460 else 91 @ 0x12d6
0x1255 68 if (eax s<= 0) then 94 @ 0x1240 else 98 @ 0x1257
0x1540 69 r11d = ecx
0x1543 70 edx = eax
0x1545 71 r15d = edx
0x1548 72 r15d = r15d & 0xfffffff8
0x154c 73 r9 = r15 - 8
0x1550 74 r8 = r9
0x1553 75 r8 = r8 u>> 3
0x1557 76 r8 = r8 + 1
0x155b 77 r10d = r8d
0x155e 78 r10d = r10d & 3
0x1562 79 rcx = 0x3ffffffffffffffc {""}
0x156c 80 r8 = r8 & rcx
0x156f 81 rbp = r10
0x1572 82 rbp = rbp << 5
0x1576 83 rdi = rsp + 0x20 {var_9c78}
0x157b 84 rcx = rsp + 0x90 {var_9c08}
0x1583 85 r13d = 0
0x1586 86 goto 101 @ 0x15ae
0x1460 87 r10 = sx.q(eax)
0x1463 88 r13d = [rsp + (r10 << 2) + 0x1c].d
0x1468 89 edi = 0
0x146f 90 if (ecx s<= 0) then 102 @ 0x11d0 else 110 @ 0x1475
0x12d6 91 r14d = r11d
0x12d9 92 ebp = r9d
0x12df 93 if (eax == 1) then 87 @ 0x1460 else 113 @ 0x12e5
0x1240 94 rbx = rbx + 1
0x1244 95 rdx = sx.q(ecx)
0x1247 96 r13 = r13 + 0x190
0x1251 97 if (rbx s>= rdx) then 42 @ 0x1293 else 68 @ 0x1255
0x1257 98 r15 = r13
0x125a 99 ebp = 0
0x125c 100 goto 119 @ 0x1260
0x15ae 101 if (eax u>= 8) then 127 @ 0x15c0 else 130 @ 0x15b0
0x11d0 102 r13d = r13d + r11d
0x11d3 103 r13d = r13d + r9d
0x11d6 104 r13d = r13d + [r8 + (r10 << 2) - 4].d
0x11db 105 r14d = r14d - r13d
0x11de 106 r14d = r14d + ebp
0x11e1 107 r14d = r14d + edx
0x11e4 108 r14d = r14d + edi
0x11e4 109 goto 49 @ 0x11e7
0x1475 110 edx = r11d
0x1478 111 edi = r13d
0x147e 112 if (ecx == 1) then 102 @ 0x11d0 else 132 @ 0x1484
0x12e5 113 edi = eax
0x12e7 114 rbx = rdi - 1
0x12eb 115 r10d = 1
0x12f1 116 ebp = r9d
0x12f4 117 r14d = r11d
0x12fb 118 if (rbx u< 8) then 140 @ 0x1438 else 144 @ 0x1301
0x1260 119 rdi = r12
0x1263 120 rsi = r15
0x1266 121 eax = 0
0x1268 122 call(0x1050)
0x126d 123 rbp = rbp + 1
0x1271 124 rax = sx.q([rsp + 4 {var_9c94}].d)
0x1276 125 r15 = r15 + 4
0x127d 126 if (rbp s< rax) then 119 @ 0x1260 else 154 @ 0x127f
0x15c0 127 xmm0 = r14d
0x15c5 128 xmm1 = 0
0x15cd 129 if (r9 u>= 0x18) then 156 @ 0x15e0 else 159 @ 0x15cf
0x15b0 130 esi = 0
0x15b2 131 goto 161 @ 0x1680
0x1484 132 [rsp + 0x10 {var_9c88_2}].q = r8
0x1489 133 rsi = r10 - 1
0x148d 134 r15d = ecx
0x1490 135 r15 = r15 - 1
0x1494 136 ebx = 1
0x1499 137 edi = r13d
0x149c 138 edx = r11d
0x14a2 139 if (ecx == 2) then 164 @ 0x14fa else 167 @ 0x14a4
0x1438 140 rdi = rdi - r10
0x143b 141 rbx = rsp + (r10 << 2)
0x143f 142 rbx = rbx + 0x20
0x144d 143 goto 175 @ 0x1450
0x1301 144 [rsp + 0x10 {var_9c88_1}].q = rbx
0x1306 145 r10 = rbx
0x1309 146 r10 = r10 & 0xfffffffffffffff8
0x130d 147 xmm0 = r9d
0x1312 148 xmm1 = r11d
0x1317 149 rbx = r10 - 8
0x131b 150 r14 = rbx
0x131e 151 r14 = r14 u>> 3
0x1322 152 r14 = r14 + 1
0x1329 153 if (rbx == 0) then 181 @ 0x1692 else 187 @ 0x132f
0x127f 154 ecx = [rsp + 8 {var_9c90}].d
0x1283 155 goto 94 @ 0x1240
0x15e0 156 rsi = r8
0x15e3 157 ebx = 0
0x15ef 158 goto 196 @ 0x15f0
0x15cf 159 ebx = 0
0x15d1 160 goto 208 @ 0x162c
0x1680 161 r14d = r14d + [rdi + (rsi << 2)].d
0x1684 162 rsi = rsi + 1
0x168b 163 if (rdx != rsi) then 161 @ 0x1680 else 209 @ 0x168d
0x14fa 164 cond:1 = (r15b & 1) == 0
0x14fe 165 r8 = [rsp + 0x10 {var_9c88_2}].q
0x1503 166 if (cond:1) then 102 @ 0x11d0 else 210 @ 0x1509
0x14a4 167 rcx = r15
0x14a7 168 rcx = rcx & 0xfffffffffffffffe
0x14ab 169 rcx = neg.q(rcx)
0x14ae 170 ebx = 1
0x14b3 171 rax = rsp + 0x1b0 {var_9ae8}
0x14bb 172 edi = r13d
0x14be 173 edx = r11d
0x14cb 174 goto 216 @ 0x14d0
0x1450 175 r14d = r14d + [rbx].d
0x1453 176 ebp = ebp + [rbx + rsi].d
0x1456 177 rbx = rbx + 4
0x145a 178 temp0.q = rdi
0x145a 179 rdi = rdi - 1
0x145e 180 if (temp0.q != 1) then 175 @ 0x1450 else 87 @ 0x1460
0x1692 181 xmm2 = 0
0x1696 182 ebp = 0
0x1698 183 xmm3 = 0
0x169c 184 cond:2 = (r14b & 1) != 0
0x16a0 185 rbx = [rsp + 0x10 {var_9c88_1}].q
0x16a5 186 if (cond:2) then 225 @ 0x13c8 else 236 @ 0x16ab
0x132f 187 rbp = 0x3ffffffffffffffc {""}
0x1339 188 r13 = rbp + 2
0x133d 189 r13 = r13 & r14
0x1340 190 rbp = rsp + 0x54 {var_9c44}
0x1345 191 r15 = rsi + rbp
0x1349 192 xmm2 = 0
0x134d 193 ebp = 0
0x134f 194 xmm3 = 0
0x135d 195 goto 237 @ 0x1360
0x15f0 196 xmm0 = __paddd_xmmdq_memdq(xmm0, [rcx + (rbx << 2) - 0x70].o)
0x15f6 197 xmm1 = __paddd_xmmdq_memdq(xmm1, [rcx + (rbx << 2) - 0x60].o)
0x15fc 198 xmm0 = __paddd_xmmdq_memdq(xmm0, [rcx + (rbx << 2) - 0x50].o)
0x1602 199 xmm1 = __paddd_xmmdq_memdq(xmm1, [rcx + (rbx << 2) - 0x40].o)
0x1608 200 xmm0 = __paddd_xmmdq_memdq(xmm0, [rcx + (rbx << 2) - 0x30].o)
0x160e 201 xmm1 = __paddd_xmmdq_memdq(xmm1, [rcx + (rbx << 2) - 0x20].o)
0x1614 202 xmm0 = __paddd_xmmdq_memdq(xmm0, [rcx + (rbx << 2) - 0x10].o)
0x161a 203 xmm1 = __paddd_xmmdq_memdq(xmm1, [rcx + (rbx << 2)].o)
0x161f 204 rbx = rbx + 0x20
0x1623 205 temp1.q = rsi
0x1623 206 rsi = rsi - 4
0x1627 207 if (temp1.q != 4) then 196 @ 0x15f0 else 208 @ 0x162c
0x162c 208 if (r10 == 0) then 257 @ 0x1654 else 265 @ 0x162e
0x168d 209 goto 268 @ 0x1590
0x1509 210 rax = rbx * 0x190
0x1510 211 rcx = rsp + rax
0x1514 212 rcx = rcx + 0x20
0x1518 213 edx = edx + [rsp + rax + 0x20].d
0x151c 214 edi = edi + [rcx + (rsi << 2)].d
0x151f 215 goto 102 @ 0x11d0
0x14d0 216 edx = edx + [rax].d
0x14d2 217 edi = edi + [rax + (rsi << 2)].d
0x14d5 218 edx = edx + [rax + 0x190].d
0x14db 219 edi = edi + [rax + (rsi << 2) + 0x190].d
0x14e2 220 rax = rax + 0x320
0x14e8 221 r8 = rcx + rbx
0x14ec 222 r8 = r8 + 2
0x14f0 223 rbx = rbx + 2
0x14f8 224 if (r8 != 1) then 216 @ 0x14d0 else 164 @ 0x14fa
0x13c8 225 rbp = rbp << 2
0x13cc 226 rbp = rbp | 4
0x13d0 227 xmm4 = [rsp + rbp + 0x20].o
0x13d6 228 xmm1 = _mm_add_epi32(xmm1, xmm4)
0x13da 229 xmm4 = [rsp + rbp + 0x30].o
0x13e0 230 xmm3 = _mm_add_epi32(xmm3, xmm4)
0x13e4 231 xmm4 = [rbp + r8].o
0x13eb 232 xmm0 = _mm_add_epi32(xmm0, xmm4)
0x13ef 233 xmm4 = [rbp + r8 + 0x10].o
0x13f6 234 xmm2 = _mm_add_epi32(xmm2, xmm4)
0x13f6 235 goto 272 @ 0x13fa
0x16ab 236 goto 272 @ 0x13fa
0x1360 237 xmm4 = [rsp + (rbp << 2) + 0x24].o
0x1366 238 xmm4 = _mm_add_epi32(xmm4, xmm1)
0x136a 239 xmm5 = [rsp + (rbp << 2) + 0x34].o
0x1370 240 xmm5 = _mm_add_epi32(xmm5, xmm3)
0x1374 241 xmm1 = [rsp + (rbp << 2) + 0x44].o
0x137a 242 xmm1 = _mm_add_epi32(xmm1, xmm4)
0x137e 243 xmm3 = [rsp + (rbp << 2) + 0x54].o
0x1384 244 xmm3 = _mm_add_epi32(xmm3, xmm5)
0x1388 245 xmm4 = [r15 + (rbp << 2) - 0x30].o
0x138f 246 xmm4 = _mm_add_epi32(xmm4, xmm0)
0x1393 247 xmm5 = [r15 + (rbp << 2) - 0x20].o
0x139a 248 xmm5 = _mm_add_epi32(xmm5, xmm2)
0x139e 249 xmm0 = [r15 + (rbp << 2) - 0x10].o
0x13a5 250 xmm0 = _mm_add_epi32(xmm0, xmm4)
0x13a9 251 xmm2 = [r15 + (rbp << 2)].o
0x13af 252 xmm2 = _mm_add_epi32(xmm2, xmm5)
0x13b3 253 rbp = rbp + 0x10
0x13b7 254 temp2.q = r13
0x13b7 255 r13 = r13 - 2
0x13bb 256 if (temp2.q != 2) then 237 @ 0x1360 else 285 @ 0x13bd
0x1654 257 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x1658 258 xmm1 = _mm_shuffle_epi32(xmm0, 0xee)
0x165d 259 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x1661 260 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x1666 261 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x166a 262 r14d = xmm0.d
0x166f 263 rsi = r15
0x1675 264 if (r15 == rdx) then 268 @ 0x1590 else 288 @ 0x167b
0x162e 265 rsi = rdi + (rbx << 2)
0x1632 266 ebx = 0
0x163e 267 goto 289 @ 0x1640
0x1590 268 r13 = r13 + 1
0x1594 269 rcx = rcx + 0x190
0x159b 270 rdi = rdi + 0x190
0x15a5 271 if (r13 == r11) then 49 @ 0x11e7 else 101 @ 0x15ae
0x13fa 272 xmm0 = _mm_add_epi32(xmm0, xmm2)
0x13fe 273 xmm1 = _mm_add_epi32(xmm1, xmm3)
0x1402 274 xmm2 = _mm_shuffle_epi32(xmm1, 0xee)
0x1407 275 xmm2 = _mm_add_epi32(xmm2, xmm1)
0x140b 276 xmm1 = _mm_shuffle_epi32(xmm2, 0x55)
0x1410 277 xmm1 = _mm_add_epi32(xmm1, xmm2)
0x1414 278 r14d = xmm1.d
0x1419 279 xmm1 = _mm_shuffle_epi32(xmm0, 0xee)
0x141e 280 xmm1 = _mm_add_epi32(xmm1, xmm0)
0x1422 281 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x1427 282 xmm0 = _mm_add_epi32(xmm0, xmm1)
0x142b 283 ebp = xmm0.d
0x1432 284 if (rbx == r10) then 87 @ 0x1460 else 293 @ 0x1434
0x13bd 285 cond:3 = (r14b & 1) == 0
0x13c1 286 rbx = [rsp + 0x10 {var_9c88_1}].q
0x13c6 287 if (cond:3) then 272 @ 0x13fa else 225 @ 0x13c8
0x167b 288 goto 161 @ 0x1680
0x1640 289 xmm0 = __paddd_xmmdq_memdq(xmm0, [rsi + rbx].o)
0x1645 290 xmm1 = __paddd_xmmdq_memdq(xmm1, [rsi + rbx + 0x10].o)
0x164b 291 rbx = rbx + 0x20
0x1652 292 if (rbp != rbx) then 289 @ 0x1640 else 257 @ 0x1654
0x1434 293 r10 = r10 | 1
0x1434 294 goto 140 @ 0x1438
int64_t _fini():
0x16c8 0 rsp = rsp - 8
0x16cc 1 rsp = rsp + 8
0x16d0 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)
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 = 0x13e0 {"AWAVATSPL%a,"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
uint64_t Huan(int32_t arg1, int32_t arg2):
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
0x1171 7 if (edi u> 4) then 8 @ 0x13bd else 12 @ 0x117a
0x13bd 8 rdi = 0x2011 {"error"}
0x13c4 9 call(0x1050)
0x13c9 10 r14d = 0
0x13c9 11 goto 13 @ 0x13cc
0x117a 12 if (esi u> 4) then 8 @ 0x13bd else 22 @ 0x1180
0x13cc 13 eax = r14d
0x13cf 14 rsp = rsp + 0x18
0x13d3 15 rbx = pop
0x13d4 16 r12 = pop
0x13d6 17 r13 = pop
0x13d8 18 r14 = pop
0x13da 19 r15 = pop
0x13dc 20 rbp = pop
0x13dd 21 <return> jump(pop)
0x1180 22 [rsp + 4 {var_44_1}].d = esi
0x1184 23 [rsp + 8 {var_40_1}].q = rdi
0x118b 24 if (edi s<= 0) then 25 @ 0x11fc else 35 @ 0x118d
0x11fc 25 r15d = [rsp + 4 {var_44_1}].d
0x1201 26 r12 = sx.q(r15d)
0x1204 27 rax = r12 + (r12 << 2)
0x1208 28 r13 = 0x4050 {""}
0x120f 29 [rsp + 0x10 {var_38_1}].q = rax
0x1214 30 rbp = rax << 2
0x121c 31 rbp = rbp + r13
0x121f 32 r14 = 0x2004 {"%d "}
0x1226 33 ebx = 0
0x1228 34 goto 41 @ 0x1230
0x118d 35 r13d = [rsp + 8 {var_40_1}].d
0x1192 36 rbx = 0x4050 {""}
0x1199 37 rbp = 0x2004 {"%d "}
0x11a0 38 r12 = rbx
0x11a3 39 r15d = 0
0x11a6 40 goto 47 @ 0x11b0
0x1230 41 esi = [rbp + (rbx << 2)].d
0x1234 42 rdi = r14
0x1237 43 eax = 0
0x1239 44 call(0x1030)
0x123e 45 rbx = rbx + 1
0x1246 46 if (rbx != 4) then 41 @ 0x1230 else 49 @ 0x1248
0x11b0 47 r14d = 0
0x11bd 48 goto 58 @ 0x11c0
0x1248 49 rax = sx.q(r15d)
0x124b 50 rax = rax + (rax << 2)
0x124f 51 esi = [r13 + (rax << 2) + 0x10].d
0x1254 52 rdi = 0x2008 {"%d\n"}
0x125b 53 eax = 0
0x125d 54 call(0x1030)
0x1262 55 rax = [rsp + 8 {var_40_1}].q
0x1267 56 eax = eax + 1
0x126d 57 if (eax s>= r15d) then 64 @ 0x12e1 else 72 @ 0x126f
0x11c0 58 esi = [rbx + (r14 << 2)].d
0x11c4 59 rdi = rbp
0x11c7 60 eax = 0
0x11c9 61 call(0x1030)
0x11ce 62 r14 = r14 + 1
0x11d6 63 if (r14 != 4) then 58 @ 0x11c0 else 79 @ 0x11d8
0x12e1 64 rax = sx.q([rsp + 8 {var_40_1}].d)
0x12e6 65 r14 = rax + (rax << 2)
0x12ea 66 r13 = 0x4050 {""}
0x12f1 67 rbp = r14 << 2
0x12f9 68 rbp = rbp + r13
0x12fc 69 r15 = 0x2004 {"%d "}
0x1303 70 ebx = 0
0x130f 71 goto 87 @ 0x1310
0x126f 72 r14 = sx.q(eax)
0x1272 73 rax = r14 + (r14 << 2)
0x1276 74 rcx = 0x4050 {""}
0x127d 75 r13 = rcx + (rax << 2)
0x1281 76 rbp = 0x2004 {"%d "}
0x1288 77 r15 = 0x2008 {"%d\n"}
0x128f 78 goto 93 @ 0x1290
0x11d8 79 rax = r15 + (r15 << 2)
0x11dc 80 esi = [r12 + (rax << 2) + 0x10].d
0x11e1 81 rdi = 0x2008 {"%d\n"}
0x11e8 82 eax = 0
0x11ea 83 call(0x1030)
0x11ef 84 r15 = r15 + 1
0x11f3 85 rbx = rbx + 0x14
0x11fa 86 if (r15 != r13) then 47 @ 0x11b0 else 25 @ 0x11fc
0x1310 87 esi = [rbp + (rbx << 2)].d
0x1314 88 rdi = r15
0x1317 89 eax = 0
0x1319 90 call(0x1030)
0x131e 91 rbx = rbx + 1
0x1326 92 if (rbx != 4) then 87 @ 0x1310 else 95 @ 0x1328
0x1290 93 ebx = 0
0x129c 94 goto 101 @ 0x12a0
0x1328 95 esi = [r13 + (r14 << 2) + 0x10].d
0x132d 96 rdi = 0x2008 {"%d\n"}
0x1334 97 eax = 0
0x1336 98 call(0x1030)
0x133b 99 r14d = 1
0x1346 100 if ([rsp + 4 {var_44_1}].d s> 3) then 13 @ 0x13cc else 107 @ 0x134c
0x12a0 101 esi = [r13 + (rbx << 2)].d
0x12a5 102 rdi = rbp
0x12a8 103 eax = 0
0x12aa 104 call(0x1030)
0x12af 105 rbx = rbx + 1
0x12b7 106 if (rbx != 4) then 101 @ 0x12a0 else 113 @ 0x12b9
0x134c 107 rax = [rsp + 0x10 {var_38_1}].q
0x1351 108 rbp = (rax << 2) + 0x14
0x1359 109 rbp = rbp + r13
0x135c 110 r13 = 0x2004 {"%d "}
0x1363 111 r15 = 0x2008 {"%d\n"}
0x136a 112 goto 122 @ 0x1370
0x12b9 113 rax = r14 + (r14 << 2)
0x12bd 114 rcx = 0x4050 {""}
0x12c4 115 esi = [rcx + (rax << 2) + 0x10].d
0x12c8 116 rdi = r15
0x12cb 117 eax = 0
0x12cd 118 call(0x1030)
0x12d2 119 r14 = r14 + 1
0x12d6 120 r13 = r13 + 0x14
0x12df 121 if (r14d != [rsp + 4 {var_44_1}].d) then 93 @ 0x1290 else 64 @ 0x12e1
0x1370 122 r12 = r12 + 1
0x1374 123 ebx = 0
0x1376 124 goto 125 @ 0x1380
0x1380 125 esi = [rbp + (rbx << 2)].d
0x1384 126 rdi = r13
0x1387 127 eax = 0
0x1389 128 call(0x1030)
0x138e 129 rbx = rbx + 1
0x1396 130 if (rbx != 4) then 125 @ 0x1380 else 131 @ 0x1398
0x1398 131 rax = r12 + (r12 << 2)
0x139c 132 rcx = 0x4050 {""}
0x13a3 133 esi = [rcx + (rax << 2) + 0x10].d
0x13a7 134 rdi = r15
0x13aa 135 eax = 0
0x13ac 136 call(0x1030)
0x13b1 137 rbp = rbp + 0x14
0x13b9 138 if (r12 != 4) then 122 @ 0x1370 else 139 @ 0x13bb
0x13bb 139 goto 13 @ 0x13cc
int32_t main(int32_t argc, char** argv, char** envp):
0x13e0 0 push(r15)
0x13e2 1 push(r14)
0x13e4 2 push(r12)
0x13e6 3 push(rbx)
0x13e7 4 push(rax)
0x13e8 5 r12 = 0x4050 {""}
0x13ef 6 r14 = 0x200e {"%d"}
0x13f6 7 r15d = 0
0x13f9 8 goto 9 @ 0x1400
0x1400 9 ebx = 0
0x140c 10 goto 11 @ 0x1410
0x1410 11 rsi = r12 + rbx
0x1414 12 rdi = r14
0x1417 13 eax = 0
0x1419 14 call(0x1040)
0x141e 15 rbx = rbx + 4
0x1426 16 if (rbx != 0x14) then 11 @ 0x1410 else 17 @ 0x1428
0x1428 17 r15 = r15 + 1
0x142c 18 r12 = r12 + 0x14
0x1434 19 if (r15 != 5) then 9 @ 0x1400 else 20 @ 0x1436
0x1436 20 rdi = 0x200c {"%d%d"}
0x143d 21 rsi = rsp + 4 {var_28+0x4}
0x1442 22 rdx = rsp {var_28}
0x1445 23 eax = 0
0x1447 24 call(0x1040)
0x144c 25 eax = [rsp + 4 {var_28+0x4}].d
0x1450 26 ecx = [rsp {var_28}].d
0x1455 27 if (eax s<= ecx) then 28 @ 0x145e else 38 @ 0x1457
0x145e 28 edi = [rsp + 4 {var_28+0x4}].d
0x1462 29 esi = [rsp {var_28}].d
0x1465 30 call(0x1160)
0x146a 31 eax = 0
0x146c 32 rsp = rsp + 8
0x1470 33 rbx = pop
0x1471 34 r12 = pop
0x1473 35 r14 = pop
0x1475 36 r15 = pop
0x1477 37 <return> jump(pop)
0x1457 38 [rsp + 4 {var_28+0x4}].d = ecx
0x145b 39 [rsp {var_28}].d = eax
0x145b 40 goto 28 @ 0x145e
int64_t _fini():
0x147c 0 rsp = rsp - 8
0x1480 1 rsp = rsp + 8
0x1484 2 <return> jump(pop)
| POJ_81 |
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 - 0x60
0x1158 3 [rbp - 4 {var_c}].d = 0
0x115f 4 rdi = 0x2050 {"%d"}
0x1166 5 eax = 0
0x1168 6 rsi = rbp - 8 {var_10}
0x116c 7 call(0x1040)
0x1171 8 eax = [rbp - 8 {var_10}].d
0x1174 9 rcx = rsp {var_68}
0x1177 10 [rbp - 0x10 {var_18}].q = rcx {var_68}
0x117b 11 rdx = (rax << 2) + 0xf
0x1183 12 rdx = rdx & 0xfffffffffffffff0
0x1187 13 rcx = rsp {var_68}
0x118a 14 rcx = rcx - rdx
0x118d 15 [rbp - 0x58 {var_60}].q = rcx
0x1191 16 rsp = rcx
0x1194 17 [rbp - 0x18 {var_20}].q = rax
0x1198 18 eax = [rbp - 8 {var_10}].d
0x119b 19 rdx = (rax << 2) + 0xf
0x11a3 20 rdx = rdx & 0xfffffffffffffff0
0x11a7 21 rcx = rsp
0x11aa 22 rcx = rcx - rdx
0x11ad 23 [rbp - 0x50 {var_58}].q = rcx
0x11b1 24 rsp = rcx
0x11b4 25 [rbp - 0x20 {var_28}].q = rax
0x11b8 26 eax = [rbp - 8 {var_10}].d
0x11bb 27 rdx = (rax << 3) + 0xf
0x11c3 28 rdx = rdx & 0xfffffffffffffff0
0x11c7 29 rcx = rsp
0x11ca 30 rcx = rcx - rdx
0x11cd 31 [rbp - 0x48 {var_50}].q = rcx
0x11d1 32 rsp = rcx
0x11d4 33 [rbp - 0x30 {var_38}].q = rax
0x11d8 34 xmm0 = 0
0x11db 35 [rbp - 0x38 {var_40}].q = xmm0.q
0x11e0 36 xmm0 = 0
0x11e3 37 [rbp - 0x40 {var_48}].q = xmm0.q
0x11e8 38 [rbp - 0x24 {var_2c}].d = 0
0x11e8 39 goto 40 @ 0x11ef
0x11ef 40 eax = [rbp - 0x24 {var_2c}].d
0x11f5 41 if (eax s>= [rbp - 8 {var_10}].d) then 42 @ 0x1226 else 44 @ 0x11fb
0x1226 42 [rbp - 0x24 {var_2c_1}].d = 0
0x1226 43 goto 55 @ 0x122d
0x11fb 44 rsi = [rbp - 0x58 {var_60}].q
0x11ff 45 rax = sx.q([rbp - 0x24 {var_2c}].d)
0x1203 46 rax = rax << 2
0x1207 47 rsi = rsi + rax
0x120a 48 rdi = 0x2053 {"%d "}
0x1211 49 al = 0
0x1213 50 call(0x1040)
0x1218 51 eax = [rbp - 0x24 {var_2c}].d
0x121b 52 eax = eax + 1
0x121e 53 [rbp - 0x24 {var_2c}].d = eax
0x1221 54 goto 40 @ 0x11ef
0x122d 55 eax = [rbp - 0x24 {var_2c_1}].d
0x1233 56 if (eax s>= [rbp - 8 {var_10}].d) then 57 @ 0x1264 else 59 @ 0x1239
0x1264 57 [rbp - 0x24 {var_2c_2}].d = 0
0x1264 58 goto 70 @ 0x126b
0x1239 59 rsi = [rbp - 0x50 {var_58}].q
0x123d 60 rax = sx.q([rbp - 0x24 {var_2c_1}].d)
0x1241 61 rax = rax << 2
0x1245 62 rsi = rsi + rax
0x1248 63 rdi = 0x2053 {"%d "}
0x124f 64 al = 0
0x1251 65 call(0x1040)
0x1256 66 eax = [rbp - 0x24 {var_2c_1}].d
0x1259 67 eax = eax + 1
0x125c 68 [rbp - 0x24 {var_2c_1}].d = eax
0x125f 69 goto 55 @ 0x122d
0x126b 70 eax = [rbp - 0x24 {var_2c_2}].d
0x1271 71 if (eax s>= [rbp - 8 {var_10}].d) then 72 @ 0x144e else 74 @ 0x1277
0x144e 72 [rbp - 0x24 {var_2c_3}].d = 0
0x144e 73 goto 77 @ 0x1455
0x1277 74 rax = [rbp - 0x50 {var_58}].q
0x127b 75 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x1283 76 if ([rax + (rcx << 2)].d s< 0x5a) then 79 @ 0x12a3 else 82 @ 0x1289
0x1455 77 eax = [rbp - 0x24 {var_2c_3}].d
0x145b 78 if (eax s>= [rbp - 8 {var_10}].d) then 87 @ 0x14b2 else 99 @ 0x1461
0x12a3 79 rax = [rbp - 0x50 {var_58}].q
0x12a7 80 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x12af 81 if ([rax + (rcx << 2)].d s< 0x55) then 118 @ 0x12cf else 121 @ 0x12b5
0x1289 82 rax = [rbp - 0x48 {var_50}].q
0x128d 83 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x1291 84 xmm0 = zx.o([0x2048].q)
0x1299 85 [rax + (rcx << 3)].q = xmm0.q
0x129e 86 goto 126 @ 0x143b
0x14b2 87 xmm0 = zx.o([rbp - 0x38 {var_40}].q)
0x14b7 88 xmm0.q = xmm0.q f/ fconvert.t([rbp - 0x40 {var_48}].q)
0x14bc 89 rdi = 0x2057 {"%.2lf"}
0x14c3 90 al = 1
0x14c5 91 call(0x1030)
0x14ca 92 [rbp - 4 {var_c_1}].d = 0
0x14d1 93 rax = [rbp - 0x10].q {var_68}
0x14d5 94 rsp = rax
0x14d8 95 eax = [rbp - 4 {var_c_1}].d
0x14db 96 rsp = rbp
0x14de 97 rbp = pop
0x14df 98 <return> jump(pop)
0x1461 99 rax = [rbp - 0x58 {var_60}].q
0x1465 100 rcx = [rbp - 0x48 {var_50}].q
0x1469 101 xmm1 = zx.o([rbp - 0x38 {var_40}].q)
0x146e 102 rdx = sx.q([rbp - 0x24 {var_2c_3}].d)
0x1472 103 xmm0 = zx.o([rcx + (rdx << 3)].q)
0x1477 104 rcx = sx.q([rbp - 0x24 {var_2c_3}].d)
0x147b 105 xmm2.q = float.d([rax + (rcx << 2)].d)
0x1480 106 xmm0.q = xmm0.q f* xmm2.q
0x1484 107 xmm0.q = xmm0.q f+ xmm1.q
0x1488 108 [rbp - 0x38 {var_40}].q = xmm0.q
0x148d 109 xmm0 = zx.o([rbp - 0x40 {var_48}].q)
0x1492 110 rcx = sx.q([rbp - 0x24 {var_2c_3}].d)
0x1496 111 xmm1.q = float.d([rax + (rcx << 2)].d)
0x149b 112 xmm0.q = xmm0.q f+ xmm1.q
0x149f 113 [rbp - 0x40 {var_48}].q = xmm0.q
0x14a4 114 eax = [rbp - 0x24 {var_2c_3}].d
0x14a7 115 eax = eax + 1
0x14aa 116 [rbp - 0x24 {var_2c_3}].d = eax
0x14ad 117 goto 77 @ 0x1455
0x12cf 118 rax = [rbp - 0x50 {var_58}].q
0x12d3 119 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x12db 120 if ([rax + (rcx << 2)].d s< 0x52) then 127 @ 0x12fb else 130 @ 0x12e1
0x12b5 121 rax = [rbp - 0x48 {var_50}].q
0x12b9 122 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x12bd 123 xmm0 = zx.o([0x2040].q)
0x12c5 124 [rax + (rcx << 3)].q = xmm0.q
0x12ca 125 goto 135 @ 0x1436
0x143b 126 goto 136 @ 0x1440
0x12fb 127 rax = [rbp - 0x50 {var_58}].q
0x12ff 128 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x1307 129 if ([rax + (rcx << 2)].d s< 0x4e) then 140 @ 0x1327 else 143 @ 0x130d
0x12e1 130 rax = [rbp - 0x48 {var_50}].q
0x12e5 131 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x12e9 132 xmm0 = zx.o([0x2038].q)
0x12f1 133 [rax + (rcx << 3)].q = xmm0.q
0x12f6 134 goto 148 @ 0x1431
0x1436 135 goto 126 @ 0x143b
0x1440 136 eax = [rbp - 0x24 {var_2c_2}].d
0x1443 137 eax = eax + 1
0x1446 138 [rbp - 0x24 {var_2c_2}].d = eax
0x1449 139 goto 70 @ 0x126b
0x1327 140 rax = [rbp - 0x50 {var_58}].q
0x132b 141 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x1333 142 if ([rax + (rcx << 2)].d s< 0x4b) then 149 @ 0x1353 else 152 @ 0x1339
0x130d 143 rax = [rbp - 0x48 {var_50}].q
0x1311 144 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x1315 145 xmm0 = zx.o([0x2030].q)
0x131d 146 [rax + (rcx << 3)].q = xmm0.q
0x1322 147 goto 157 @ 0x142c
0x1431 148 goto 135 @ 0x1436
0x1353 149 rax = [rbp - 0x50 {var_58}].q
0x1357 150 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x135f 151 if ([rax + (rcx << 2)].d s< 0x48) then 158 @ 0x137f else 161 @ 0x1365
0x1339 152 rax = [rbp - 0x48 {var_50}].q
0x133d 153 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x1341 154 xmm0 = zx.o([0x2028].q)
0x1349 155 [rax + (rcx << 3)].q = xmm0.q
0x134e 156 goto 166 @ 0x1427
0x142c 157 goto 148 @ 0x1431
0x137f 158 rax = [rbp - 0x50 {var_58}].q
0x1383 159 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x138b 160 if ([rax + (rcx << 2)].d s< 0x44) then 167 @ 0x13ab else 170 @ 0x1391
0x1365 161 rax = [rbp - 0x48 {var_50}].q
0x1369 162 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x136d 163 xmm0 = zx.o([0x2020].q)
0x1375 164 [rax + (rcx << 3)].q = xmm0.q
0x137a 165 goto 175 @ 0x1422
0x1427 166 goto 157 @ 0x142c
0x13ab 167 rax = [rbp - 0x50 {var_58}].q
0x13af 168 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x13b7 169 if ([rax + (rcx << 2)].d s< 0x40) then 176 @ 0x13d7 else 179 @ 0x13bd
0x1391 170 rax = [rbp - 0x48 {var_50}].q
0x1395 171 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x1399 172 xmm0 = zx.o([0x2018].q)
0x13a1 173 [rax + (rcx << 3)].q = xmm0.q
0x13a6 174 goto 184 @ 0x141d
0x1422 175 goto 166 @ 0x1427
0x13d7 176 rax = [rbp - 0x50 {var_58}].q
0x13db 177 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x13e3 178 if ([rax + (rcx << 2)].d s< 0x3c) then 185 @ 0x1403 else 190 @ 0x13e9
0x13bd 179 rax = [rbp - 0x48 {var_50}].q
0x13c1 180 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x13c5 181 xmm0 = zx.o([0x2010].q)
0x13cd 182 [rax + (rcx << 3)].q = xmm0.q
0x13d2 183 goto 195 @ 0x1418
0x141d 184 goto 175 @ 0x1422
0x1403 185 rax = [rbp - 0x48 {var_50}].q
0x1407 186 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x140b 187 xmm0 = 0
0x140e 188 [rax + (rcx << 3)].q = xmm0.q
0x140e 189 goto 196 @ 0x1413
0x13e9 190 rax = [rbp - 0x48 {var_50}].q
0x13ed 191 rcx = sx.q([rbp - 0x24 {var_2c_2}].d)
0x13f1 192 xmm0 = zx.o([0x2008].q)
0x13f9 193 [rax + (rcx << 3)].q = xmm0.q
0x13fe 194 goto 196 @ 0x1413
0x1418 195 goto 184 @ 0x141d
0x1413 196 goto 195 @ 0x1418
int64_t _fini():
0x14e4 0 rsp = rsp - 8
0x14e8 1 rsp = rsp + 8
0x14ec 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
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 {"UAVSH0H="}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(rbp)
0x1161 1 push(r14)
0x1163 2 push(rbx)
0x1164 3 rsp = rsp - 0x30
0x1168 4 rdi = 0x2004 {"%d"}
0x116f 5 rsi = rsp + 0xc {var_3c}
0x1174 6 eax = 0
0x1176 7 call(0x1040)
0x1180 8 if ([rsp + 0xc {var_3c}].d s<= 0) then 9 @ 0x11ae else 15 @ 0x1182
0x11ae 9 eax = 0
0x11b0 10 rsp = rsp + 0x30
0x11b4 11 rbx = pop
0x11b5 12 r14 = pop
0x11b7 13 rbp = pop
0x11b8 14 <return> jump(pop)
0x1182 15 r14 = 0x2007 {"%s"}
0x1189 16 rbx = rsp + 0x10 {var_38}
0x118e 17 ebp = 0
0x118e 18 goto 19 @ 0x1190
0x1190 19 rdi = r14
0x1193 20 rsi = rbx {var_38}
0x1196 21 eax = 0
0x1198 22 call(0x1040)
0x119d 23 rdi = rbx {var_38}
0x11a0 24 call(0x11c0)
0x11a5 25 ebp = ebp + 1
0x11ac 26 if (ebp s< [rsp + 0xc {var_3c}].d) then 19 @ 0x1190 else 9 @ 0x11ae
int64_t sh(char* arg1):
0x11c0 0 push(r15)
0x11c2 1 push(r14)
0x11c4 2 push(rbx)
0x11c5 3 r15 = rdi
0x11c8 4 call(0x1030)
0x11cd 5 ecx = (rax - 1).d
0x11d0 6 rcx = sx.q(ecx)
0x11d3 7 cl = [r15 + rcx].b
0x11da 8 if (cl == 0x79) then 9 @ 0x1218 else 10 @ 0x11df
0x1218 9 if (eax s< 3) then 11 @ 0x1263 else 17 @ 0x121a
0x11df 10 if (cl != 0x72) then 21 @ 0x1248 else 22 @ 0x11e4
0x1263 11 edi = 0xa {""}
0x1268 12 call(0x1050)
0x126d 13 rbx = pop
0x126e 14 r14 = pop
0x1270 15 r15 = pop
0x1272 16 <return> jump(pop)
0x121a 17 r14d = 0xfffffffe {""}
0x1220 18 r14d = r14d + eax
0x1223 19 ebx = 0
0x122f 20 goto 23 @ 0x1230
0x1248 21 if (eax s< 4) then 11 @ 0x1263 else 27 @ 0x124a
0x11e4 22 if (eax s< 3) then 11 @ 0x1263 else 30 @ 0x11e6
0x1230 23 edi = sx.d([r15 + rbx].b)
0x1235 24 call(0x1050)
0x123a 25 rbx = rbx + 1
0x1241 26 if (r14 != rbx) then 23 @ 0x1230 else 34 @ 0x1243
0x124a 27 r14d = (rax - 3).d
0x124e 28 ebx = 0
0x124e 29 goto 35 @ 0x1250
0x11e6 30 r14d = 0xfffffffe {""}
0x11ec 31 r14d = r14d + eax
0x11ef 32 ebx = 0
0x11fb 33 goto 39 @ 0x1200
0x1243 34 goto 11 @ 0x1263
0x1250 35 edi = sx.d([r15 + rbx].b)
0x1255 36 call(0x1050)
0x125a 37 rbx = rbx + 1
0x1261 38 if (r14 != rbx) then 35 @ 0x1250 else 11 @ 0x1263
0x1200 39 edi = sx.d([r15 + rbx].b)
0x1205 40 call(0x1050)
0x120a 41 rbx = rbx + 1
0x1211 42 if (r14 != rbx) then 39 @ 0x1200 else 43 @ 0x1213
0x1213 43 goto 11 @ 0x1263
int64_t _fini():
0x1278 0 rsp = rsp - 8
0x127c 1 rsp = rsp + 8
0x1280 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)
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 {"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 - 0x62a40
0x116c 4 r14 = 0x2005 {"%d"}
0x1173 5 rsi = rsp + 8 {var_62a50}
0x1178 6 rdi = r14
0x117b 7 eax = 0
0x117d 8 call(0x1050)
0x1182 9 r15 = rsp + 0x18 {var_62a40}
0x1187 10 ebx = 0
0x1189 11 goto 12 @ 0x1190
0x1190 12 rdi = r14
0x1193 13 rsi = r15
0x1196 14 eax = 0
0x1198 15 call(0x1050)
0x119d 16 rbx = rbx + 1
0x11a1 17 r15 = r15 + 8
0x11aa 18 if (rbx s< [rsp + 8 {var_62a50}].q) then 12 @ 0x1190 else 19 @ 0x11ac
0x11ac 19 rbx = [rsp + 0x18 {var_62a40}].q
0x11b1 20 rdi = rsp + 0xfb8 {var_61aa0}
0x11b9 21 edx = 0x61a80 {""}
0x11be 22 esi = 0
0x11c0 23 call(0x1040)
0x11c5 24 rdi = 0x2005 {"%d"}
0x11cc 25 rsi = rbx
0x11cf 26 eax = 0
0x11d1 27 call(0x1030)
0x11d6 28 rax = [rsp + 0x18 {var_62a40}].q
0x11db 29 [rsp + (rax << 3) + 0xfb0].q = 1
0x11e7 30 rax = [rsp + 8 {var_62a50}].q
0x11f0 31 if (rax s>= 2) then 32 @ 0x1201 else 35 @ 0x11f2
0x1201 32 ebx = 1
0x1206 33 r14 = 0x2004 {",%d"}
0x120d 34 goto 41 @ 0x1219
0x11f2 35 eax = 0
0x11f4 36 rsp = rsp + 0x62a40
0x11fb 37 rbx = pop
0x11fc 38 r14 = pop
0x11fe 39 r15 = pop
0x1200 40 <return> jump(pop)
0x1219 41 rsi = [rsp + (rbx << 3) + 0x18].q
0x1227 42 if ([rsp + (rsi << 3) + 0xfb0].q != 0) then 43 @ 0x1210 else 45 @ 0x1229
0x1210 43 rbx = rbx + 1
0x1217 44 if (rbx s>= rax) then 35 @ 0x11f2 else 41 @ 0x1219
0x1229 45 rdi = r14
0x122c 46 eax = 0
0x122e 47 call(0x1030)
0x1233 48 rax = [rsp + (rbx << 3) + 0x18].q
0x1238 49 [rsp + (rax << 3) + 0xfb0].q = 1
0x1244 50 rax = [rsp + 8 {var_62a50}].q
0x1249 51 goto 43 @ 0x1210
int64_t _fini():
0x1250 0 rsp = rsp - 8
0x1254 1 rsp = rsp + 8
0x1258 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)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
char* gets(char* buf):
0x1050 0 <return> tailcall([0x4028].q)
int32_t puts(char const* str):
0x1060 0 <return> tailcall([0x4030].q)
void __cxa_finalize(void* d):
0x1070 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1084 0 ebp = 0
0x1086 1 r9 = rdx
0x1089 2 rsi = pop
0x108a 3 rdx = rsp {arg_8}
0x108d 4 rsp = rsp & 0xfffffffffffffff0
0x1091 5 push(rax)
0x1092 6 push(rsp)
0x1093 7 r8d = 0
0x1096 8 ecx = 0
0x1098 9 rdi = 0x1170 {"AWAVSH0"}
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(rbx)
0x1175 3 rsp = rsp - 0x30e0
0x117c 4 ebx = 0
0x117e 5 r14 = rsp {var_30f8}
0x1181 6 rdi = r14 {var_30f8}
0x1184 7 eax = 0
0x1186 8 call(0x1050)
0x118b 9 rdi = r14 {var_30f8}
0x118e 10 call(0x1040)
0x1195 11 if (eax s<= 0) then 12 @ 0x1238 else 14 @ 0x119b
0x1238 12 r8d = 1
0x1238 13 goto 19 @ 0x123e
0x119b 14 r9d = eax
0x119e 15 r8d = 1
0x11a4 16 edx = 0
0x11a6 17 esi = 0
0x11a8 18 goto 23 @ 0x11ee
0x123e 19 r14d = r8d
0x1241 20 r15 = rsp + 0x9d0 {var_2728}
0x1249 21 ebx = 0
0x124b 22 goto 25 @ 0x1250
0x11ee 23 eax = zx.d([rsp + rdx].b)
0x11f4 24 if (al == 0x20) then 31 @ 0x11fa else 34 @ 0x11f8
0x1250 25 rdi = r15
0x1253 26 call(0x1040)
0x1258 27 [rsp + (rbx << 2) + 0x200].d = eax
0x125f 28 rbx = rbx + 1
0x1263 29 r15 = r15 + 0x32
0x126a 30 if (r14 != rbx) then 25 @ 0x1250 else 35 @ 0x126c
0x11fa 31 eax = zx.d([rsp + rdx - 1].b)
0x11ff 32 edi = 0
0x1203 33 if (al == 0x20) then 39 @ 0x11cc else 48 @ 0x1207
0x11f8 34 if (al != 0x2c) then 49 @ 0x11b0 else 31 @ 0x11fa
0x126c 35 r8 = r14 - 1
0x1270 36 esi = r14d
0x1273 37 esi = esi & 3
0x127a 38 if (r8 u>= 3) then 58 @ 0x1288 else 64 @ 0x127c
0x11cc 39 rax = sx.q(esi)
0x11cf 40 rcx = sx.q(edi)
0x11d2 41 rax = rax * 0x32
0x11d6 42 rax = rax + rsp
0x11d9 43 rax = rax + 0x9d0
0x11df 44 [rcx + rax].b = 0
0x11e3 45 rdx = rdx + 1
0x11e7 46 ebx = edi
0x11ec 47 if (r9 == rdx) then 68 @ 0x122d else 23 @ 0x11ee
0x1207 48 if (al == 0x2c) then 39 @ 0x11cc else 69 @ 0x1209
0x11b0 49 rdi = sx.q(esi)
0x11b3 50 rcx = sx.q(ebx)
0x11b6 51 rdi = rdi * 0x32
0x11ba 52 rdi = rdi + rsp
0x11bd 53 rdi = rdi + 0x9d0
0x11c4 54 [rcx + rdi].b = al
0x11c7 55 ebx = ebx + 1
0x11ca 56 edi = ebx
0x11ca 57 goto 39 @ 0x11cc
0x1288 58 r9d = r14d
0x128b 59 r9d = r9d & 0xfffffffc
0x128f 60 edi = 0
0x1291 61 r10d = 0
0x1294 62 ecx = 0
0x1296 63 goto 78 @ 0x12ab
0x127c 64 edi = 0
0x127e 65 r10d = 0
0x1281 66 ecx = 0
0x1283 67 goto 81 @ 0x131c
0x122d 68 if (r8d s> 0) then 19 @ 0x123e else 82 @ 0x122f
0x1209 69 rsi = sx.q(esi)
0x120c 70 rax = sx.q(ebx)
0x120f 71 rcx = rsi * 0x32
0x1213 72 rcx = rcx + rsp
0x1216 73 rcx = rcx + 0x9d0
0x121d 74 [rax + rcx].b = 0
0x1221 75 esi = esi + 1
0x1224 76 r8d = r8d + 1
0x1228 77 goto 39 @ 0x11cc
0x12ab 78 eax = [rsp + (rdi << 2) + 0x200].d
0x12b2 79 cond:0 = ecx s< eax
0x12b4 80 if (ecx s< eax) then 85 else 87 @ 0x12b7
0x131c 81 if (rsi == 0) then 89 @ 0x133a else 92 @ 0x131e
0x122f 82 eax = 0
0x1231 83 ebx = 0
0x1233 84 goto 93 @ 0x13ff
0x12b4 85 ecx = eax
0x12b4 86 goto 87 @ 0x12b7
0x12b7 87 ebx = [rsp + (rdi << 2) + 0x204].d
0x12be 88 if (cond:0) then 109 else 111 @ 0x12c4
0x133a 89 esi = r14d
0x133d 90 esi = esi & 3
0x1344 91 if (r8 u>= 3) then 112 @ 0x134f else 116 @ 0x1346
0x131e 92 goto 119 @ 0x1320
0x13ff 93 rax = rax * 0x32
0x1403 94 rdi = rsp + rax
0x1407 95 rdi = rdi + 0x9d0
0x140e 96 call(0x1060)
0x1413 97 rax = rbx * 0x32
0x1417 98 rsi = rsp + rax
0x141b 99 rsi = rsi + 0x9d0
0x1422 100 rdi = 0x2004 {"%s"}
0x1429 101 eax = 0
0x142b 102 call(0x1030)
0x1430 103 eax = 0
0x1432 104 rsp = rsp + 0x30e0
0x1439 105 rbx = pop
0x143a 106 r14 = pop
0x143c 107 r15 = pop
0x143e 108 <return> jump(pop)
0x12be 109 r10d = edi
0x12be 110 goto 111 @ 0x12c4
0x12c4 111 if (ecx s< ebx) then 122 @ 0x12f0 else 125 @ 0x12c6
0x134f 112 r14d = r14d & 0xfffffffc
0x1353 113 edx = 0
0x1355 114 edi = 0
0x1357 115 goto 128 @ 0x136b
0x1346 116 edx = 0
0x1348 117 edi = 0
0x134a 118 goto 131 @ 0x13da
0x1320 119 eax = [rsp + (rdi << 2) + 0x200].d
0x1327 120 cond:1 = ecx s< eax
0x1329 121 if (ecx s< eax) then 132 else 134 @ 0x132c
0x12f0 122 r10d = (rdi + 1).d
0x12f4 123 edx = [rsp + (rdi << 2) + 0x208].d
0x12fd 124 if (ebx s< edx) then 135 @ 0x12d3 else 138 @ 0x12ff
0x12c6 125 ebx = ecx
0x12c8 126 edx = [rsp + (rdi << 2) + 0x208].d
0x12d1 127 if (ebx s>= edx) then 138 @ 0x12ff else 135 @ 0x12d3
0x136b 128 eax = [rsp + (rdx << 2) + 0x200].d
0x1372 129 cond:2 = ecx s> eax
0x1374 130 if (ecx s> eax) then 141 else 143 @ 0x1377
0x13da 131 if (rsi == 0) then 145 @ 0x13f9 else 148 @ 0x13dc
0x1329 132 ecx = eax
0x1329 133 goto 134 @ 0x132c
0x132c 134 if (cond:1) then 149 else 151 @ 0x1330
0x12d3 135 r10d = (rdi + 2).d
0x12d7 136 ecx = [rsp + (rdi << 2) + 0x20c].d
0x12e0 137 if (edx s>= ecx) then 155 @ 0x12a0 else 158 @ 0x12e2
0x12ff 138 edx = ebx
0x1301 139 ecx = [rsp + (rdi << 2) + 0x20c].d
0x130a 140 if (edx s>= ecx) then 155 @ 0x12a0 else 159 @ 0x130c
0x1374 141 ecx = eax
0x1374 142 goto 143 @ 0x1377
0x1377 143 eax = [rsp + (rdx << 2) + 0x204].d
0x137e 144 if (cond:2) then 162 else 164 @ 0x1383
0x13f9 145 rax = sx.q(r10d)
0x13fc 146 rbx = sx.q(edi)
0x13fc 147 goto 93 @ 0x13ff
0x13dc 148 goto 165 @ 0x13e0
0x132c 149 r10d = edi
0x132c 150 goto 151 @ 0x1330
0x1330 151 rdi = rdi + 1
0x1334 152 temp0.q = rsi
0x1334 153 rsi = rsi - 1
0x1338 154 if (temp0.q != 1) then 119 @ 0x1320 else 89 @ 0x133a
0x12a0 155 ecx = edx
0x12a2 156 rdi = rdi + 4
0x12a9 157 if (rdi == r9) then 81 @ 0x131c else 78 @ 0x12ab
0x12e2 158 goto 159 @ 0x130c
0x130c 159 r10d = (rdi + 3).d
0x1310 160 rdi = rdi + 4
0x1317 161 if (rdi != r9) then 78 @ 0x12ab else 81 @ 0x131c
0x137e 162 edi = edx
0x137e 163 goto 164 @ 0x1383
0x1383 164 if (ecx s> eax) then 168 @ 0x13b0 else 171 @ 0x1385
0x13e0 165 eax = [rsp + (rdx << 2) + 0x200].d
0x13e7 166 cond:3 = ecx s> eax
0x13e9 167 if (ecx s> eax) then 174 else 176 @ 0x13ec
0x13b0 168 edi = (rdx + 1).d
0x13b3 169 ebx = [rsp + (rdx << 2) + 0x208].d
0x13bc 170 if (eax s> ebx) then 177 @ 0x1392 else 180 @ 0x13be
0x1385 171 eax = ecx
0x1387 172 ebx = [rsp + (rdx << 2) + 0x208].d
0x1390 173 if (eax s<= ebx) then 180 @ 0x13be else 177 @ 0x1392
0x13e9 174 ecx = eax
0x13e9 175 goto 176 @ 0x13ec
0x13ec 176 if (cond:3) then 183 else 185 @ 0x13ef
0x1392 177 edi = (rdx + 2).d
0x1395 178 ecx = [rsp + (rdx << 2) + 0x20c].d
0x139e 179 if (ebx s<= ecx) then 189 @ 0x1360 else 192 @ 0x13a0
0x13be 180 ebx = eax
0x13c0 181 ecx = [rsp + (rdx << 2) + 0x20c].d
0x13c9 182 if (ebx s<= ecx) then 189 @ 0x1360 else 193 @ 0x13cb
0x13ec 183 edi = edx
0x13ec 184 goto 185 @ 0x13ef
0x13ef 185 rdx = rdx + 1
0x13f3 186 temp1.q = rsi
0x13f3 187 rsi = rsi - 1
0x13f7 188 if (temp1.q != 1) then 165 @ 0x13e0 else 145 @ 0x13f9
0x1360 189 ecx = ebx
0x1362 190 rdx = rdx + 4
0x1369 191 if (rdx == r14) then 131 @ 0x13da else 128 @ 0x136b
0x13a0 192 goto 193 @ 0x13cb
0x13cb 193 edi = (rdx + 3).d
0x13ce 194 rdx = rdx + 4
0x13d5 195 if (rdx != r14) then 128 @ 0x136b else 131 @ 0x13da
int64_t _fini():
0x1444 0 rsp = rsp - 8
0x1448 1 rsp = rsp + 8
0x144c 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 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 = 0x11b0 {"SHpHZ"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
uint64_t change(int64_t arg1, int32_t arg2, int32_t arg3):
0x1163 0 if (esi u> 4) then 1 @ 0x119e else 6 @ 0x1168
0x119e 1 al = edx s< 5
0x11a4 2 cl = esi s< 5
0x11a7 3 cl = cl & al
0x11a9 4 eax = zx.d(cl)
0x11ac 5 <return> jump(pop)
0x1168 6 if (edx u> 4) then 1 @ 0x119e else 7 @ 0x116a
0x116a 7 eax = esi
0x116c 8 ecx = edx
0x116e 9 r9 = rax + (rax << 2)
0x1172 10 rcx = rcx + (rcx << 2)
0x1176 11 xmm0 = [rdi + (r9 << 2)].o
0x117b 12 xmm1 = [rdi + (rcx << 2)].o
0x117f 13 [rdi + (r9 << 2)].o = xmm1
0x1184 14 [rdi + (rcx << 2)].o = xmm0
0x1188 15 r8d = [rdi + (r9 << 2) + 0x10].d
0x118d 16 eax = [rdi + (rcx << 2) + 0x10].d
0x1191 17 [rdi + (r9 << 2) + 0x10].d = eax
0x1196 18 [rdi + (rcx << 2) + 0x10].d = r8d
0x1196 19 goto 1 @ 0x119e
int32_t main(int32_t argc, char** argv, char** envp):
0x11b0 0 push(rbx)
0x11b1 1 rsp = rsp - 0x70
0x11b5 2 rbx = 0x2016 {"%d"}
0x11bc 3 rsi = rsp {var_78}
0x11bf 4 rdi = rbx
0x11c2 5 eax = 0
0x11c4 6 call(0x1040)
0x11c9 7 rsi = rsp + 4 {var_74}
0x11ce 8 rdi = rbx
0x11d1 9 eax = 0
0x11d3 10 call(0x1040)
0x11d8 11 rsi = rsp + 8 {var_70}
0x11dd 12 rdi = rbx
0x11e0 13 eax = 0
0x11e2 14 call(0x1040)
0x11e7 15 rsi = rsp + 0xc {var_6c}
0x11ec 16 rdi = rbx
0x11ef 17 eax = 0
0x11f1 18 call(0x1040)
0x11f6 19 rsi = rsp + 0x10 {var_68}
0x11fb 20 rdi = rbx
0x11fe 21 eax = 0
0x1200 22 call(0x1040)
0x1205 23 rsi = rsp + 0x14 {var_64}
0x120a 24 rdi = rbx
0x120d 25 eax = 0
0x120f 26 call(0x1040)
0x1214 27 rsi = rsp + 0x18 {var_60}
0x1219 28 rdi = rbx
0x121c 29 eax = 0
0x121e 30 call(0x1040)
0x1223 31 rsi = rsp + 0x1c {var_5c}
0x1228 32 rdi = rbx
0x122b 33 eax = 0
0x122d 34 call(0x1040)
0x1232 35 rsi = rsp + 0x20 {var_58}
0x1237 36 rdi = rbx
0x123a 37 eax = 0
0x123c 38 call(0x1040)
0x1241 39 rsi = rsp + 0x24 {var_54}
0x1246 40 rdi = rbx
0x1249 41 eax = 0
0x124b 42 call(0x1040)
0x1250 43 rsi = rsp + 0x28 {var_50}
0x1255 44 rdi = rbx
0x1258 45 eax = 0
0x125a 46 call(0x1040)
0x125f 47 rsi = rsp + 0x2c {var_4c}
0x1264 48 rdi = rbx
0x1267 49 eax = 0
0x1269 50 call(0x1040)
0x126e 51 rsi = rsp + 0x30 {var_48}
0x1273 52 rdi = rbx
0x1276 53 eax = 0
0x1278 54 call(0x1040)
0x127d 55 rsi = rsp + 0x34 {var_44}
0x1282 56 rdi = rbx
0x1285 57 eax = 0
0x1287 58 call(0x1040)
0x128c 59 rsi = rsp + 0x38 {var_40}
0x1291 60 rdi = rbx
0x1294 61 eax = 0
0x1296 62 call(0x1040)
0x129b 63 rsi = rsp + 0x3c {var_3c}
0x12a0 64 rdi = rbx
0x12a3 65 eax = 0
0x12a5 66 call(0x1040)
0x12aa 67 rsi = rsp + 0x40 {var_38}
0x12af 68 rdi = rbx
0x12b2 69 eax = 0
0x12b4 70 call(0x1040)
0x12b9 71 rsi = rsp + 0x44 {var_34}
0x12be 72 rdi = rbx
0x12c1 73 eax = 0
0x12c3 74 call(0x1040)
0x12c8 75 rsi = rsp + 0x48 {var_30}
0x12cd 76 rdi = rbx
0x12d0 77 eax = 0
0x12d2 78 call(0x1040)
0x12d7 79 rsi = rsp + 0x4c {var_2c}
0x12dc 80 rdi = rbx
0x12df 81 eax = 0
0x12e1 82 call(0x1040)
0x12e6 83 rsi = rsp + 0x50 {var_28}
0x12eb 84 rdi = rbx
0x12ee 85 eax = 0
0x12f0 86 call(0x1040)
0x12f5 87 rsi = rsp + 0x54 {var_24}
0x12fa 88 rdi = rbx
0x12fd 89 eax = 0
0x12ff 90 call(0x1040)
0x1304 91 rsi = rsp + 0x58 {var_20}
0x1309 92 rdi = rbx
0x130c 93 eax = 0
0x130e 94 call(0x1040)
0x1313 95 rsi = rsp + 0x5c {var_1c}
0x1318 96 rdi = rbx
0x131b 97 eax = 0
0x131d 98 call(0x1040)
0x1322 99 rsi = rsp + 0x60 {var_18}
0x1327 100 rdi = rbx
0x132a 101 eax = 0
0x132c 102 call(0x1040)
0x1331 103 rdi = 0x2013 {"%d %d"}
0x1338 104 rsi = rsp + 0x68 {var_10}
0x133d 105 rdx = rsp + 0x6c {var_c}
0x1342 106 eax = 0
0x1344 107 call(0x1040)
0x1349 108 ecx = [rsp + 0x68 {var_10}].d
0x134d 109 eax = [rsp + 0x6c {var_c}].d
0x1355 110 if (rcx u> 4) then 111 @ 0x1387 else 112 @ 0x135a
0x1387 111 if (ecx s> 4) then 113 @ 0x1470 else 117 @ 0x1390
0x135a 112 if (eax u> 4) then 111 @ 0x1387 else 118 @ 0x135c
0x1470 113 rdi = 0x2004 {"error"}
0x1477 114 eax = 0
0x1479 115 call(0x1030)
0x1479 116 goto 129 @ 0x147e
0x1390 117 if (eax s> 4) then 113 @ 0x1470 else 132 @ 0x1396
0x135c 118 rdx = rcx + (rcx << 2)
0x1360 119 rsi = rax + (rax << 2)
0x1364 120 xmm0 = [rsp + (rdx << 2)].o
0x1368 121 xmm1 = [rsp + (rsi << 2)].o
0x136c 122 [rsp + (rdx << 2)].o = xmm1
0x1370 123 [rsp + (rsi << 2)].o = xmm0
0x1374 124 edi = [rsp + (rdx << 2) + 0x10].d
0x1378 125 ebx = [rsp + (rsi << 2) + 0x10].d
0x137c 126 [rsp + (rdx << 2) + 0x10].d = ebx
0x1380 127 [rsp + (rsi << 2) + 0x10].d = edi
0x1380 128 goto 111 @ 0x1387
0x147e 129 rsp = rsp + 0x70
0x1482 130 rbx = pop
0x1483 131 <return> jump(pop)
0x1396 132 edi = 0xa {""}
0x139b 133 call(0x1050)
0x13a0 134 esi = [rsp {var_78}].d
0x13a3 135 edx = [rsp + 4 {var_74}].d
0x13a7 136 ecx = [rsp + 8 {var_70}].d
0x13ab 137 r8d = [rsp + 0xc {var_6c}].d
0x13b0 138 r9d = [rsp + 0x10 {var_68}].d
0x13b5 139 rbx = 0x200a {"%d %d %d %d %d"}
0x13bc 140 rdi = rbx
0x13bf 141 eax = 0
0x13c1 142 call(0x1030)
0x13c6 143 edi = 0xa {""}
0x13cb 144 call(0x1050)
0x13d0 145 esi = [rsp + 0x14 {var_64}].d
0x13d4 146 edx = [rsp + 0x18 {var_60}].d
0x13d8 147 ecx = [rsp + 0x1c {var_5c}].d
0x13dc 148 r8d = [rsp + 0x20 {var_58}].d
0x13e1 149 r9d = [rsp + 0x24 {var_54}].d
0x13e6 150 rdi = rbx
0x13e9 151 eax = 0
0x13eb 152 call(0x1030)
0x13f0 153 edi = 0xa {""}
0x13f5 154 call(0x1050)
0x13fa 155 esi = [rsp + 0x28 {var_50}].d
0x13fe 156 edx = [rsp + 0x2c {var_4c}].d
0x1402 157 ecx = [rsp + 0x30 {var_48}].d
0x1406 158 r8d = [rsp + 0x34 {var_44}].d
0x140b 159 r9d = [rsp + 0x38 {var_40}].d
0x1410 160 rdi = rbx
0x1413 161 eax = 0
0x1415 162 call(0x1030)
0x141a 163 edi = 0xa {""}
0x141f 164 call(0x1050)
0x1424 165 esi = [rsp + 0x3c {var_3c}].d
0x1428 166 edx = [rsp + 0x40 {var_38}].d
0x142c 167 ecx = [rsp + 0x44 {var_34}].d
0x1430 168 r8d = [rsp + 0x48 {var_30}].d
0x1435 169 r9d = [rsp + 0x4c {var_2c}].d
0x143a 170 rdi = rbx
0x143d 171 eax = 0
0x143f 172 call(0x1030)
0x1444 173 edi = 0xa {""}
0x1449 174 call(0x1050)
0x144e 175 esi = [rsp + 0x50 {var_28}].d
0x1452 176 edx = [rsp + 0x54 {var_24}].d
0x1456 177 ecx = [rsp + 0x58 {var_20}].d
0x145a 178 r8d = [rsp + 0x5c {var_1c}].d
0x145f 179 r9d = [rsp + 0x60 {var_18}].d
0x1464 180 rdi = rbx
0x1467 181 eax = 0
0x1469 182 call(0x1030)
0x146e 183 goto 129 @ 0x147e
int64_t _fini():
0x1488 0 rsp = rsp - 8
0x148c 1 rsp = rsp + 8
0x1490 2 <return> jump(pop)
| POJ_81 |
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 - 0x440
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 [rbp - 0x404 {var_40c}].d = 1
0x117c 5 rdi = 0x2030 {"%lf"}
0x1183 6 rsi = rbp - 0x418 {var_420}
0x118a 7 al = 0
0x118c 8 call(0x1050)
0x1191 9 rdi = 0x2034 {"%s%s"}
0x1198 10 rsi = rbp - 0x200 {var_208}
0x119f 11 rdx = rbp - 0x400 {var_408}
0x11a6 12 al = 0
0x11a8 13 call(0x1050)
0x11ad 14 rdi = rbp - 0x200 {var_208}
0x11b4 15 call(0x1040)
0x11b9 16 [rbp - 0x428 {var_430}].q = rax
0x11c0 17 rdi = rbp - 0x400 {var_408}
0x11c7 18 call(0x1040)
0x11cc 19 rcx = rax
0x11cf 20 rax = [rbp - 0x428 {var_430}].q
0x11d9 21 if (rax == rcx) then 22 @ 0x11fc else 24 @ 0x11df
0x11fc 22 [rbp - 0x41c {var_424_1}].d = 0
0x11fc 23 goto 29 @ 0x1206
0x11df 24 rdi = 0x2039 {"error"}
0x11e6 25 al = 0
0x11e8 26 call(0x1030)
0x11ed 27 [rbp - 0x404 {var_40c}].d = 0
0x11f7 28 goto 36 @ 0x1371
0x1206 29 rax = sx.q([rbp - 0x41c {var_424_1}].d)
0x120d 30 [rbp - 0x430 {var_438_1}].q = rax
0x1214 31 rdi = rbp - 0x200 {var_208}
0x121b 32 call(0x1040)
0x1220 33 rcx = rax
0x1223 34 rax = [rbp - 0x430 {var_438_1}].q
0x122d 35 if (rax u>= rcx) then 57 @ 0x136c else 58 @ 0x1233
0x1371 36 xmm0 = zx.o([rbp - 0x410 {var_418}].q)
0x1379 37 [rbp - 0x438 {var_440}].q = xmm0.q
0x1381 38 rdi = rbp - 0x200 {var_208}
0x1388 39 call(0x1040)
0x138d 40 xmm0 = zx.o([rbp - 0x438 {var_440}].q)
0x1395 41 xmm1 = rax
0x139a 42 xmm2 = [0x2010].o
0x13a1 43 xmm1 = _mm_unpacklo_epi32(xmm1, xmm2.q)
0x13a5 44 xmm2 = [0x2020].o
0x13ad 45 xmm1 = _mm_sub_pd(xmm1, xmm2)
0x13b1 46 xmm2 = xmm1
0x13b4 47 xmm1 = _mm_unpackhi_pd(xmm1, xmm1.q)
0x13b8 48 xmm1.q = xmm1.q f+ xmm2.q
0x13bc 49 xmm0.q = xmm0.q f/ xmm1.q
0x13c0 50 flag:p = is_unordered.q(xmm0.q, fconvert.t([rbp - 0x418 {var_420}].q))
0x13c0 51 flag:c = xmm0.q f< fconvert.t([rbp - 0x418 {var_420}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x418 {var_420}].q))
0x13c0 52 flag:z = xmm0.q f== fconvert.t([rbp - 0x418 {var_420}].q) | is_unordered.q(xmm0.q, fconvert.t([rbp - 0x418 {var_420}].q))
0x13c0 53 flag:s = 0
0x13c0 54 flag:o = 0
0x13c0 55 flag:a = 0
0x13c8 56 if (flag:z || flag:c) then 61 @ 0x13f5 else 62 @ 0x13d5
0x136c 57 goto 36 @ 0x1371
0x1233 58 rax = sx.q([rbp - 0x41c {var_424_1}].d)
0x123a 59 eax = sx.d([rbp + rax - 0x200].b)
0x1245 60 if (eax == 0x41) then 63 @ 0x1293 else 66 @ 0x124b
0x13f5 61 if ([rbp - 0x404 {var_40c}].d != 1) then 69 @ 0x1409 else 70 @ 0x13fb
0x13d5 62 if ([rbp - 0x404 {var_40c}].d != 1) then 61 @ 0x13f5 else 74 @ 0x13db
0x1293 63 rax = sx.q([rbp - 0x41c {var_424_1}].d)
0x129a 64 eax = sx.d([rbp + rax - 0x400].b)
0x12a5 65 if (eax == 0x41) then 78 @ 0x1310 else 83 @ 0x12ab
0x124b 66 rax = sx.q([rbp - 0x41c {var_424_1}].d)
0x1252 67 eax = sx.d([rbp + rax - 0x200].b)
0x125d 68 if (eax == 0x54) then 63 @ 0x1293 else 86 @ 0x1263
0x1409 69 goto 89 @ 0x140e
0x13fb 70 rdi = 0x2043 {"no"}
0x1402 71 al = 0
0x1404 72 call(0x1030)
0x1404 73 goto 69 @ 0x1409
0x13db 74 rdi = 0x203f {"yes"}
0x13e2 75 al = 0
0x13e4 76 call(0x1030)
0x13e9 77 goto 89 @ 0x140e
0x1310 78 rax = sx.q([rbp - 0x41c {var_424_1}].d)
0x1317 79 eax = sx.d([rbp + rax - 0x200].b)
0x131f 80 rcx = sx.q([rbp - 0x41c {var_424_1}].d)
0x1326 81 ecx = sx.d([rbp + rcx - 0x400].b)
0x1330 82 if (eax != ecx) then 93 @ 0x134e else 94 @ 0x1336
0x12ab 83 rax = sx.q([rbp - 0x41c {var_424_1}].d)
0x12b2 84 eax = sx.d([rbp + rax - 0x400].b)
0x12bd 85 if (eax == 0x54) then 78 @ 0x1310 else 98 @ 0x12c3
0x1263 86 rax = sx.q([rbp - 0x41c {var_424_1}].d)
0x126a 87 eax = sx.d([rbp + rax - 0x200].b)
0x1275 88 if (eax == 0x47) then 63 @ 0x1293 else 101 @ 0x127b
0x140e 89 eax = 0
0x1410 90 rsp = rsp + 0x440
0x1417 91 rbp = pop
0x1418 92 <return> jump(pop)
0x134e 93 goto 104 @ 0x1353
0x1336 94 xmm0 = zx.o([0x2008].q)
0x133e 95 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x410 {var_418}].q)
0x1346 96 [rbp - 0x410 {var_418}].q = xmm0.q
0x1346 97 goto 93 @ 0x134e
0x12c3 98 rax = sx.q([rbp - 0x41c {var_424_1}].d)
0x12ca 99 eax = sx.d([rbp + rax - 0x400].b)
0x12d5 100 if (eax == 0x47) then 78 @ 0x1310 else 105 @ 0x12db
0x127b 101 rax = sx.q([rbp - 0x41c {var_424_1}].d)
0x1282 102 eax = sx.d([rbp + rax - 0x200].b)
0x128d 103 if (eax != 0x43) then 108 @ 0x12f3 else 63 @ 0x1293
0x1353 104 goto 113 @ 0x1358
0x12db 105 rax = sx.q([rbp - 0x41c {var_424_1}].d)
0x12e2 106 eax = sx.d([rbp + rax - 0x400].b)
0x12ed 107 if (eax == 0x43) then 78 @ 0x1310 else 108 @ 0x12f3
0x12f3 108 rdi = 0x2039 {"error"}
0x12fa 109 al = 0
0x12fc 110 call(0x1030)
0x1301 111 [rbp - 0x404 {var_40c}].d = 0
0x130b 112 goto 57 @ 0x136c
0x1358 113 eax = [rbp - 0x41c {var_424_1}].d
0x135e 114 eax = eax + 1
0x1361 115 [rbp - 0x41c {var_424_1}].d = eax
0x1367 116 goto 29 @ 0x1206
int64_t _fini():
0x1420 0 rsp = rsp - 8
0x1424 1 rsp = rsp + 8
0x1428 2 <return> jump(pop)
| POJ_5 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t 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 - 0x118
0x1161 7 rdi = 0x2020 {"%d,%d"}
0x1168 8 rsi = rsp + 4 {var_144}
0x116d 9 rdx = rsp {var_148}
0x1170 10 eax = 0
0x1172 11 call(0x1040)
0x117c 12 if ([rsp + 4 {var_144}].d s<= 0) then 13 @ 0x15c1 else 17 @ 0x1182
0x15c1 13 rdi = 0x2034 {"No"}
0x15c8 14 eax = 0
0x15ca 15 call(0x1030)
0x15ca 16 goto 22 @ 0x15cf
0x1182 17 r12 = rsp + 0x10 {var_138}
0x1187 18 r15 = 0x2026 {"%d "}
0x118e 19 r14 = 0x202a {"%d\n"}
0x1195 20 r13d = 0
0x1198 21 goto 30 @ 0x11d2
0x15cf 22 rsp = rsp + 0x118
0x15d6 23 rbx = pop
0x15d7 24 r12 = pop
0x15d9 25 r13 = pop
0x15db 26 r14 = pop
0x15dd 27 r15 = pop
0x15df 28 rbp = pop
0x15e0 29 <return> jump(pop)
0x11d2 30 rax = sx.q([rsp {var_148}].d)
0x11da 31 if (rax s< 2) then 32 @ 0x11a0 else 34 @ 0x11dc
0x11a0 32 rax = rax - 1
0x11a0 33 goto 37 @ 0x11a4
0x11dc 34 rbx = r12
0x11df 35 ebp = 0
0x11eb 36 goto 49 @ 0x11f0
0x11a4 37 rcx = r13
0x11a7 38 rcx = rcx << 5
0x11ab 39 rcx = rcx + rsp
0x11ae 40 rcx = rcx + 0x10
0x11b2 41 rsi = rcx + (rax << 2)
0x11b6 42 rdi = r14
0x11b9 43 eax = 0
0x11bb 44 call(0x1040)
0x11c0 45 r13 = r13 + 1
0x11c4 46 rax = sx.q([rsp + 4 {var_144}].d)
0x11c9 47 r12 = r12 + 0x20
0x11d0 48 if (r13 s>= rax) then 58 @ 0x1214 else 30 @ 0x11d2
0x11f0 49 rdi = r15
0x11f3 50 rsi = rbx
0x11f6 51 eax = 0
0x11f8 52 call(0x1040)
0x11fd 53 rbp = rbp + 1
0x1201 54 rax = sx.q([rsp {var_148}].d)
0x1205 55 rax = rax - 1
0x1209 56 rbx = rbx + 4
0x1210 57 if (rbp s< rax) then 49 @ 0x11f0 else 60 @ 0x1212
0x1214 58 r15d = eax
0x121a 59 if (r15d s<= 0) then 13 @ 0x15c1 else 61 @ 0x1220
0x1212 60 goto 37 @ 0x11a4
0x1220 61 r14d = [rsp {var_148}].d
0x1227 62 if (r14d s<= 0) then 63 @ 0x1480 else 68 @ 0x122d
0x1480 63 eax = r15d
0x1483 64 eax = eax & 7
0x1486 65 cond:0 = rax != 0
0x1489 66 ecx = 8
0x148e 67 if (cond:0) then 80 else 82 @ 0x1492
0x122d 68 r12 = r14 - 1
0x1231 69 rax = r14
0x1234 70 rax = rax - 2
0x1238 71 [rsp + 8 {var_140_1}].q = rax
0x123d 72 r9d = r12d
0x1240 73 r9d = r9d & 3
0x1244 74 r12 = r12 & 0xfffffffffffffffc
0x1248 75 eax = r15d
0x124b 76 eax = eax & 7
0x124e 77 cond:1 = rax != 0
0x1251 78 ecx = 8
0x1256 79 if (cond:1) then 89 else 91 @ 0x125a
0x148e 80 rcx = rax
0x148e 81 goto 82 @ 0x1492
0x1492 82 r9 = r15
0x1495 83 r9 = r9 - rcx
0x1498 84 r8 = rsp + 0xf0 {var_58}
0x14a0 85 edi = 0
0x14a2 86 xmm0 = [0x2010].o
0x14aa 87 esi = 0
0x14ac 88 goto 98 @ 0x14b0
0x1256 89 rcx = rax
0x1256 90 goto 91 @ 0x125a
0x125a 91 r11 = r15
0x125d 92 r11 = r11 - rcx
0x1260 93 rcx = rsp + 0x10 {var_138}
0x1265 94 r10d = 0
0x1268 95 xmm0 = [0x2010].o
0x1270 96 esi = 0
0x127c 97 goto 102 @ 0x1280
0x14b0 98 rax = rsi
0x14b3 99 rax = rax << 5
0x14b7 100 eax = [rsp + rax + 0x10].d
0x14bf 101 if (r15d u>= 9) then 106 @ 0x14d0 else 113 @ 0x14c1
0x1280 102 rax = rsi
0x1283 103 rax = rax << 5
0x1287 104 r8d = [rsp + rax + 0x10].d
0x1290 105 if (r14d != 1) then 116 @ 0x12a6 else 117 @ 0x1292
0x14d0 106 xmm1 = eax
0x14d4 107 xmm1 = _mm_shuffle_epi32(xmm1, 0)
0x14d9 108 rcx = r9
0x14dc 109 rdx = r8 {var_58}
0x14df 110 xmm2 = xmm0
0x14e3 111 xmm3 = xmm0
0x14e7 112 goto 119 @ 0x14f0
0x14c1 113 ecx = 1
0x14c6 114 ebp = 0
0x14c8 115 goto 145 @ 0x158b
0x12a6 116 if ([rsp + 8 {var_140_1}].q u>= 3) then 151 @ 0x12c0 else 155 @ 0x12a8
0x1292 117 edx = 0
0x1294 118 goto 158 @ 0x1357
0x14f0 119 xmm4 = xmm3
0x14f4 120 xmm3 = xmm2
0x14f8 121 xmm2 = [rdx - 0x80].d
0x14fd 122 xmm5 = [rdx - 0xa0].d
0x1505 123 xmm5 = _mm_unpacklo_epi32(xmm5, xmm2.q)
0x1509 124 xmm2 = [rdx - 0xc0].d
0x1511 125 xmm6 = [rdx - 0xe0].d
0x1519 126 xmm6 = _mm_unpacklo_epi32(xmm6, xmm2.q)
0x151d 127 xmm6 = _mm_unpacklo_epi64(xmm6, xmm5.q)
0x1521 128 xmm2 = [rdx].d
0x1525 129 xmm5 = [rdx - 0x20].d
0x152a 130 xmm5 = _mm_unpacklo_epi32(xmm5, xmm2.q)
0x152e 131 xmm2 = [rdx - 0x40].d
0x1533 132 xmm7 = [rdx - 0x60].d
0x1538 133 xmm7 = _mm_unpacklo_epi32(xmm7, xmm2.q)
0x153c 134 xmm7 = _mm_unpacklo_epi64(xmm7, xmm5.q)
0x1540 135 xmm2 = xmm1
0x1544 136 xmm2 = _mm_cmpgt_epi32(xmm2, xmm6)
0x1548 137 xmm2 = xmm2 & not.o(xmm3)
0x154c 138 xmm3 = xmm1
0x1550 139 xmm3 = _mm_cmpgt_epi32(xmm3, xmm7)
0x1554 140 xmm3 = xmm3 & not.o(xmm4)
0x1558 141 rdx = rdx + 0x100
0x155f 142 temp0.q = rcx
0x155f 143 rcx = rcx - 8
0x1563 144 if (temp0.q != 8) then 119 @ 0x14f0 else 160 @ 0x1565
0x158b 145 rdx = r15
0x158e 146 rdx = rdx - rbp
0x1591 147 rbp = rbp << 5
0x1595 148 rbx = rsp + rbp
0x1599 149 rbx = rbx + 0x10
0x159d 150 goto 171 @ 0x15a2
0x12c0 151 edx = 0
0x12c2 152 eax = 1
0x12c7 153 edi = 0
0x12c9 154 goto 172 @ 0x12e0
0x12a8 155 edx = 0
0x12aa 156 eax = 1
0x12af 157 goto 175 @ 0x133a
0x1357 158 r13 = sx.q(edx)
0x135e 159 if (r15d u>= 9) then 176 @ 0x1370 else 185 @ 0x1360
0x1565 160 xmm1 = xmm2
0x1569 161 xmm1 = _mm_cmpeq_epi32(xmm1, xmm0)
0x156d 162 xmm3 = xmm3 & xmm1
0x1571 163 xmm1 = xmm1 & not.o(xmm2)
0x1575 164 xmm1 = xmm1 | xmm3
0x1579 165 xmm1 = _mm_cmpeq_epi32(xmm1, xmm0)
0x157d 166 edx = _mm_movemask_ps(xmm1)
0x1580 167 ecx = 0
0x1585 168 cl = edx == 0xf
0x1588 169 rbp = r9
0x1588 170 goto 145 @ 0x158b
0x15a2 171 if (eax s> [rbx].d) then 188 else 190 @ 0x15a5
0x12e0 172 ebx = [rcx + (rax << 2)].d
0x12e3 173 cond:2 = ebx s> r8d
0x12e6 174 if (ebx s> r8d) then 194 else 196 @ 0x12ea
0x133a 175 if (r9 == 0) then 158 @ 0x1357 else 198 @ 0x133c
0x1370 176 xmm1 = r8d
0x1375 177 xmm1 = _mm_shuffle_epi32(xmm1, 0)
0x137a 178 rax = rsp + 0x10 {var_138}
0x137f 179 rdi = rax + (r13 << 2)
0x1383 180 rdi = rdi + 0xe0
0x138a 181 rax = r11
0x138d 182 xmm2 = xmm0
0x1391 183 xmm3 = xmm0
0x139f 184 goto 200 @ 0x13a0
0x1360 185 eax = 1
0x1365 186 ebx = 0
0x1367 187 goto 226 @ 0x143b
0x15a2 188 ecx = edi
0x15a2 189 goto 190 @ 0x15a5
0x15a5 190 rbx = rbx + 0x20
0x15a9 191 temp1.q = rdx
0x15a9 192 rdx = rdx - 1
0x15ad 193 if (temp1.q != 1) then 171 @ 0x15a2 else 233 @ 0x15b2
0x12e6 194 r8d = ebx
0x12e6 195 goto 196 @ 0x12ea
0x12ea 196 ebx = [rcx + (rax << 2) + 4].d
0x12ee 197 if (cond:2) then 234 else 236 @ 0x12f4
0x133c 198 rdi = r9
0x133f 199 goto 237 @ 0x1340
0x13a0 200 xmm4 = xmm3
0x13a4 201 xmm3 = xmm2
0x13a8 202 xmm2 = [rdi - 0x80].d
0x13ad 203 xmm5 = [rdi - 0xa0].d
0x13b5 204 xmm5 = _mm_unpacklo_epi32(xmm5, xmm2.q)
0x13b9 205 xmm2 = [rdi - 0xc0].d
0x13c1 206 xmm6 = [rdi - 0xe0].d
0x13c9 207 xmm6 = _mm_unpacklo_epi32(xmm6, xmm2.q)
0x13cd 208 xmm6 = _mm_unpacklo_epi64(xmm6, xmm5.q)
0x13d1 209 xmm2 = [rdi].d
0x13d5 210 xmm5 = [rdi - 0x20].d
0x13da 211 xmm5 = _mm_unpacklo_epi32(xmm5, xmm2.q)
0x13de 212 xmm2 = [rdi - 0x40].d
0x13e3 213 xmm7 = [rdi - 0x60].d
0x13e8 214 xmm7 = _mm_unpacklo_epi32(xmm7, xmm2.q)
0x13ec 215 xmm7 = _mm_unpacklo_epi64(xmm7, xmm5.q)
0x13f0 216 xmm2 = xmm1
0x13f4 217 xmm2 = _mm_cmpgt_epi32(xmm2, xmm6)
0x13f8 218 xmm2 = xmm2 & not.o(xmm3)
0x13fc 219 xmm3 = xmm1
0x1400 220 xmm3 = _mm_cmpgt_epi32(xmm3, xmm7)
0x1404 221 xmm3 = xmm3 & not.o(xmm4)
0x1408 222 rdi = rdi + 0x100
0x140f 223 temp2.q = rax
0x140f 224 rax = rax - 8
0x1413 225 if (temp2.q != 8) then 200 @ 0x13a0 else 240 @ 0x1415
0x143b 226 rdi = r15
0x143e 227 rdi = rdi - rbx
0x1441 228 rbx = rbx << 5
0x1445 229 rbx = rbx + rsp
0x1448 230 rbx = rbx + 0x10
0x144c 231 rbx = rbx + (r13 << 2)
0x144c 232 goto 251 @ 0x1453
0x15b2 233 if (ecx == 1) then 252 @ 0x15e1 else 254 @ 0x15b4
0x12ee 234 edx = eax
0x12ee 235 goto 236 @ 0x12f4
0x12f4 236 if (ebx s> r8d) then 256 @ 0x1310 else 259 @ 0x12f6
0x1340 237 ebx = [rcx + (rax << 2)].d
0x1343 238 cond:3 = ebx s> r8d
0x1346 239 if (ebx s> r8d) then 262 else 264 @ 0x134a
0x1415 240 xmm1 = xmm2
0x1419 241 xmm1 = _mm_cmpeq_epi32(xmm1, xmm0)
0x141d 242 xmm3 = xmm3 & xmm1
0x1421 243 xmm1 = xmm1 & not.o(xmm2)
0x1425 244 xmm1 = xmm1 | xmm3
0x1429 245 xmm1 = _mm_cmpeq_epi32(xmm1, xmm0)
0x142d 246 edi = _mm_movemask_ps(xmm1)
0x1430 247 eax = 0
0x1435 248 al = edi == 0xf
0x1438 249 rbx = r11
0x1438 250 goto 226 @ 0x143b
0x1453 251 if (r8d s> [rbx].d) then 265 else 267 @ 0x1457
0x15e1 252 edx = 0
0x15e1 253 goto 271 @ 0x15e3
0x15b4 254 rsi = rsi + 1
0x15bb 255 if (rsi != r15) then 98 @ 0x14b0 else 13 @ 0x15c1
0x1310 256 edx = (rax + 1).d
0x1313 257 ebp = [rcx + (rax << 2) + 8].d
0x1319 258 if (ebp s> ebx) then 275 @ 0x1301 else 278 @ 0x131b
0x12f6 259 ebx = r8d
0x12f9 260 ebp = [rcx + (rax << 2) + 8].d
0x12ff 261 if (ebp s<= ebx) then 278 @ 0x131b else 275 @ 0x1301
0x1346 262 r8d = ebx
0x1346 263 goto 264 @ 0x134a
0x134a 264 if (cond:3) then 281 else 283 @ 0x134d
0x1453 265 eax = r10d
0x1453 266 goto 267 @ 0x1457
0x1457 267 rbx = rbx + 0x20
0x145b 268 temp3.q = rdi
0x145b 269 rdi = rdi - 1
0x145f 270 if (temp3.q != 1) then 251 @ 0x1453 else 287 @ 0x1464
0x15e3 271 rdi = 0x202e {"%d+%d"}
0x15ea 272 eax = 0
0x15ec 273 call(0x1030)
0x15f1 274 goto 22 @ 0x15cf
0x1301 275 edx = (rax + 2).d
0x1304 276 r8d = [rcx + (rax << 2) + 0xc].d
0x130c 277 if (r8d s<= ebp) then 288 @ 0x12d0 else 292 @ 0x130e
0x131b 278 ebp = ebx
0x131d 279 r8d = [rcx + (rax << 2) + 0xc].d
0x1325 280 if (r8d s<= ebp) then 288 @ 0x12d0 else 293 @ 0x1327
0x134a 281 edx = eax
0x134a 282 goto 283 @ 0x134d
0x134d 283 rax = rax + 1
0x1351 284 temp4.q = rdi
0x1351 285 rdi = rdi - 1
0x1355 286 if (temp4.q != 1) then 237 @ 0x1340 else 158 @ 0x1357
0x1464 287 if (eax == 1) then 271 @ 0x15e3 else 297 @ 0x146a
0x12d0 288 r8d = ebp
0x12d3 289 rax = rax + 4
0x12d7 290 rdi = rdi + 4
0x12de 291 if (rdi == r12) then 175 @ 0x133a else 172 @ 0x12e0
0x130e 292 goto 293 @ 0x1327
0x1327 293 edx = (rax + 3).d
0x132a 294 rax = rax + 4
0x132e 295 rdi = rdi + 4
0x1335 296 if (rdi != r12) then 172 @ 0x12e0 else 175 @ 0x133a
0x146a 297 rsi = rsi + 1
0x146e 298 rcx = rcx + 0x20
0x1475 299 if (rsi != r15) then 102 @ 0x1280 else 300 @ 0x147b
0x147b 300 goto 13 @ 0x15c1
int64_t _fini():
0x15f8 0 rsp = rsp - 8
0x15fc 1 rsp = rsp + 8
0x1600 2 <return> jump(pop)
| POJ_35 |
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)
char* gets(char* buf):
0x1060 0 <return> tailcall([0x4030].q)
int32_t putchar(int32_t c):
0x1070 0 <return> tailcall([0x4038].q)
void __cxa_finalize(void* d):
0x1080 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1094 0 ebp = 0
0x1096 1 r9 = rdx
0x1099 2 rsi = pop
0x109a 3 rdx = rsp {arg_8}
0x109d 4 rsp = rsp & 0xfffffffffffffff0
0x10a1 5 push(rax)
0x10a2 6 push(rsp)
0x10a3 7 r8d = 0
0x10a6 8 ecx = 0
0x10a8 9 rdi = 0x1180 {"UAWAVAUATSH"}
0x10af 10 call([0x3ff8].q)
0x10af 11 noreturn
void deregister_tm_clones():
0x10c0 0 rdi = 0x4050 {""}
0x10c7 1 rax = 0x4050 {""}
0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3
0x10e8 3 <return> jump(pop)
0x10d3 4 rax = [0x3fd8].q
0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df
0x10df 6 <return> tailcall(rax)
void register_tm_clones():
0x10f0 0 rdi = 0x4050 {""}
0x10f7 1 rsi = 0x4050 {""}
0x10fe 2 rsi = rsi - rdi
0x1101 3 rax = rsi
0x1104 4 rsi = rsi u>> 0x3f
0x1108 5 rax = rax s>> 3
0x110c 6 rsi = rsi + rax
0x110f 7 rsi = rsi s>> 1
0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114
0x1128 9 <return> jump(pop)
0x1114 10 rax = [0x3ff0].q
0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120
0x1120 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d
0x1168 1 <return> jump(pop)
0x113d 2 push(rbp)
0x113e 3 cond:0 = [0x3fe0].q == 0
0x1146 4 rbp = rsp {__saved_rbp}
0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b
0x1157 6 call(0x10c0)
0x115c 7 [0x4050].b = 1
0x1163 8 rbp = pop
0x1164 9 <return> jump(pop)
0x114b 10 rdi = [0x4048].q
0x1152 11 call(0x1080)
0x1152 12 goto 6 @ 0x1157
int64_t frame_dummy():
0x1174 0 <return> tailcall(0x10f0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1180 0 push(rbp)
0x1181 1 push(r15)
0x1183 2 push(r14)
0x1185 3 push(r13)
0x1187 4 push(r12)
0x1189 5 push(rbx)
0x118a 6 rsp = rsp - 0x508
0x1191 7 r14d = 0
0x1194 8 rbx = rsp + 0x30 {var_508}
0x1199 9 rdi = rbx {var_508}
0x119c 10 eax = 0
0x119e 11 call(0x1060)
0x11a3 12 r13 = 0x2004 {"%s"}
0x11aa 13 r15 = rsp + 0x170 {var_3c8}
0x11b2 14 rdi = r13
0x11b5 15 rsi = r15 {var_3c8}
0x11b8 16 eax = 0
0x11ba 17 call(0x1050)
0x11bf 18 r12 = rsp + 0x100 {var_438}
0x11c7 19 rdi = r13
0x11ca 20 rsi = r12 {var_438}
0x11cd 21 eax = 0
0x11cf 22 call(0x1050)
0x11d4 23 rdi = r15 {var_3c8}
0x11d7 24 call(0x1040)
0x11dc 25 rbp = rax
0x11df 26 rdi = r12 {var_438}
0x11e2 27 call(0x1040)
0x11e7 28 r12 = rax
0x11ea 29 rdi = rbx {var_508}
0x11ed 30 call(0x1040)
0x11f4 31 if (eax s<= 0) then 32 @ 0x1309 else 37 @ 0x11fa
0x1309 32 rdi = 0x2004 {"%s"}
0x1310 33 rsi = rsp + 0x30 {var_508}
0x1315 34 eax = 0
0x1317 35 call(0x1030)
0x1317 36 goto 41 @ 0x131c
0x11fa 37 bl = [rsp + 0x170 {var_3c8}].b
0x1201 38 edx = eax
0x1203 39 ecx = 1
0x120c 40 if (bl != [rsp + 0x30 {var_508}].b) then 50 @ 0x1224 else 51 @ 0x120e
0x131c 41 eax = 0
0x131e 42 rsp = rsp + 0x508
0x1325 43 rbx = pop
0x1326 44 r12 = pop
0x1328 45 r13 = pop
0x132a 46 r14 = pop
0x132c 47 r15 = pop
0x132e 48 rbp = pop
0x132f 49 <return> jump(pop)
0x1224 50 if (edx != 1) then 55 @ 0x12c0 else 57 @ 0x122c
0x120e 51 [rsp + 0x370 {var_1c8}].d = 0
0x1219 52 r14d = 1
0x121f 53 ecx = 0
0x121f 54 goto 50 @ 0x1224
0x12c0 55 esi = 1
0x12c5 56 goto 58 @ 0x12e4
0x122c 57 if (ecx == eax) then 32 @ 0x1309 else 59 @ 0x1235
0x12e4 58 if (bl != [rsp + rsi + 0x30].b) then 60 @ 0x12d0 else 62 @ 0x12eb
0x1235 59 if (r14d s<= 0) then 63 @ 0x12fe else 66 @ 0x123b
0x12d0 60 ecx = ecx + 1
0x12d0 61 goto 72 @ 0x12d3
0x12eb 62 if ([rsp + rsi + 0x2f].b != 0x20) then 60 @ 0x12d0 else 74 @ 0x12ed
0x12fe 63 r8d = 0
0x1301 64 r13d = 0
0x1301 65 goto 78 @ 0x1307
0x123b 66 r9d = r14d
0x123e 67 edx = ebp
0x1240 68 esi = 0
0x1242 69 r13d = 0
0x1245 70 r8d = 0
0x1248 71 goto 79 @ 0x125d
0x12d3 72 rsi = rsi + 1
0x12da 73 if (rdx == rsi) then 57 @ 0x122c else 58 @ 0x12e4
0x12ed 74 r14 = sx.q(r14d)
0x12f0 75 [rsp + (r14 << 2) + 0x370].d = esi
0x12f8 76 r14d = r14d + 1
0x12fc 77 goto 72 @ 0x12d3
0x1307 78 if (r8d != r14d) then 81 @ 0x1330 else 32 @ 0x1309
0x125d 79 edi = 1
0x1265 80 if (ebp s< 2) then 87 @ 0x129a else 88 @ 0x1267
0x1330 81 [rsp + 0x20 {var_518_1}].q = rbp
0x1335 82 r15d = [rsp + 0x1e0 {var_358}].d
0x133d 83 cond:0 = r15 == 0
0x1340 84 [rsp + 0x28 {var_510}].q = rax
0x1345 85 [rsp + 8 {var_530_1}].q = r12
0x134a 86 if (cond:0) then 93 @ 0x1488 else 96 @ 0x1353
0x129a 87 if (edi != ebp) then 97 @ 0x1250 else 99 @ 0x129c
0x1267 88 rcx = sx.q([rsp + (rsi << 2) + 0x370].d)
0x126f 89 rcx = rcx + rsp
0x1272 90 rcx = rcx + 0x30
0x1276 91 edi = 1
0x127b 92 goto 100 @ 0x1280
0x1488 93 eax = (r13 - 1).d
0x148c 94 [rsp + 0x14 {var_524_1}].d = eax
0x1494 95 if (r13d s< 2) then 102 @ 0x1525 else 104 @ 0x149a
0x1353 96 if (r15d s<= 0) then 110 @ 0x1373 else 113 @ 0x1355
0x1250 97 rsi = rsi + 1
0x1257 98 if (rsi == r9) then 78 @ 0x1307 else 79 @ 0x125d
0x129c 99 goto 115 @ 0x12a8
0x1280 100 ebx = zx.d([rsp + rdi + 0x170].b)
0x128b 101 if (bl != [rcx + rdi].b) then 120 @ 0x12a0 else 122 @ 0x128d
0x1525 102 rax = [rsp + 8 {var_530_1}].q
0x152c 103 if (eax s<= 0) then 124 @ 0x1556 else 129 @ 0x152e
0x149a 104 eax = [rsp + 0x14 {var_524_1}].d
0x149e 105 [rsp + 0x18 {var_520_1}].q = rax
0x14a3 106 ebp = [rsp + 8 {var_530_1}].d
0x14a7 107 r12d = 0
0x14aa 108 r13d = 0
0x14ad 109 goto 132 @ 0x14b7
0x1373 110 eax = (r13 - 1).d
0x1377 111 [rsp + 0x18 {var_520}].d = eax
0x137f 112 if (r13d s< 2) then 134 @ 0x1415 else 136 @ 0x1385
0x1355 113 ebp = 0
0x1357 114 goto 140 @ 0x1360
0x12a8 115 ecx = [rsp + (rsi << 2) + 0x370].d
0x12af 116 r13 = sx.q(r13d)
0x12b2 117 [rsp + (r13 << 2) + 0x1e0].d = ecx
0x12ba 118 r13d = r13d + 1
0x12be 119 goto 97 @ 0x1250
0x12a0 120 r8d = r8d + 1
0x12a6 121 if (edi != ebp) then 97 @ 0x1250 else 115 @ 0x12a8
0x128d 122 rdi = rdi + 1
0x1294 123 if (rdx != rdi) then 100 @ 0x1280 else 144 @ 0x1296
0x1556 124 rax = sx.q([rsp + 0x14 {var_524_1}].d)
0x155b 125 eax = [rsp + (rax << 2) + 0x1e0].d
0x1562 126 eax = eax + [rsp + 0x20 {var_518_1}].d
0x1566 127 rcx = [rsp + 0x28 {var_510}].q
0x156d 128 if (eax s>= ecx) then 41 @ 0x131c else 146 @ 0x1573
0x152e 129 ebx = eax
0x1530 130 ebp = 0
0x153c 131 goto 149 @ 0x1540
0x14b7 132 r15d = r12d
0x14bf 133 if ([rsp + 8 {var_530_1}].d s<= 0) then 153 @ 0x14e6 else 157 @ 0x14c1
0x1415 134 r13 = [rsp + 8 {var_530_1}].q
0x141d 135 if (r13d s<= 0) then 159 @ 0x1446 else 164 @ 0x141f
0x1385 136 r13d = [rsp + 0x18 {var_520}].d
0x138a 137 r12d = [rsp + 8 {var_530_1}].d
0x138f 138 r14d = 0
0x1392 139 goto 167 @ 0x13a5
0x1360 140 edi = sx.d([rsp + rbp + 0x30].b)
0x1365 141 call(0x1070)
0x136a 142 rbp = rbp + 1
0x1371 143 if (r15 != rbp) then 140 @ 0x1360 else 110 @ 0x1373
0x1296 144 edi = ebp
0x1296 145 goto 87 @ 0x129a
0x1573 146 rbx = sx.q(eax)
0x1576 147 rbp = sx.q(ecx)
0x1579 148 goto 169 @ 0x1580
0x1540 149 edi = sx.d([rsp + rbp + 0x100].b)
0x1548 150 call(0x1070)
0x154d 151 rbp = rbp + 1
0x1554 152 if (rbx != rbp) then 149 @ 0x1540 else 124 @ 0x1556
0x14e6 153 r12d = [rsp + (r13 << 2) + 0x1e4].d
0x14ee 154 r13 = r13 + 1
0x14f2 155 r15d = r15d + [rsp + 0x20 {var_518_1}].d
0x14fa 156 if (r15d s>= r12d) then 173 @ 0x14b5 else 174 @ 0x14fc
0x14c1 157 ebx = 0
0x14cd 158 goto 177 @ 0x14d0
0x1446 159 rax = sx.q([rsp + 0x18 {var_520}].d)
0x144b 160 eax = [rsp + (rax << 2) + 0x1e0].d
0x1452 161 eax = eax + [rsp + 0x20 {var_518_1}].d
0x1456 162 rcx = [rsp + 0x28 {var_510}].q
0x145d 163 if (eax s>= ecx) then 41 @ 0x131c else 181 @ 0x1463
0x141f 164 ebx = r13d
0x1422 165 ebp = 0
0x142e 166 goto 184 @ 0x1430
0x13a5 167 ebx = r15d
0x13ad 168 if ([rsp + 8 {var_530_1}].d s<= 0) then 188 @ 0x13d6 else 192 @ 0x13af
0x1580 169 edi = sx.d([rsp + rbx + 0x30].b)
0x1585 170 call(0x1070)
0x158a 171 rbx = rbx + 1
0x1591 172 if (rbx s< rbp) then 169 @ 0x1580 else 194 @ 0x1593
0x14b5 173 if (r13 == [rsp + 0x18 {var_520_1}].q) then 102 @ 0x1525 else 132 @ 0x14b7
0x14fc 174 r14 = sx.q(r12d)
0x14ff 175 rbx = sx.q(r15d)
0x150c 176 goto 195 @ 0x1510
0x14d0 177 edi = sx.d([rsp + rbx + 0x100].b)
0x14d8 178 call(0x1070)
0x14dd 179 rbx = rbx + 1
0x14e4 180 if (rbp != rbx) then 177 @ 0x14d0 else 153 @ 0x14e6
0x1463 181 rbx = sx.q(eax)
0x1466 182 rbp = sx.q(ecx)
0x1469 183 goto 199 @ 0x1470
0x1430 184 edi = sx.d([rsp + rbp + 0x100].b)
0x1438 185 call(0x1070)
0x143d 186 rbp = rbp + 1
0x1444 187 if (rbx != rbp) then 184 @ 0x1430 else 159 @ 0x1446
0x13d6 188 r15d = [rsp + (r14 << 2) + 0x1e4].d
0x13de 189 r14 = r14 + 1
0x13e2 190 ebx = ebx + [rsp + 0x20 {var_518_1}].d
0x13e9 191 if (ebx s>= r15d) then 203 @ 0x13a3 else 204 @ 0x13eb
0x13af 192 ebp = 0
0x13bb 193 goto 207 @ 0x13c0
0x1593 194 goto 41 @ 0x131c
0x1510 195 edi = sx.d([rsp + rbx + 0x30].b)
0x1515 196 call(0x1070)
0x151a 197 rbx = rbx + 1
0x1521 198 if (rbx s< r14) then 195 @ 0x1510 else 211 @ 0x1523
0x1470 199 edi = sx.d([rsp + rbx + 0x30].b)
0x1475 200 call(0x1070)
0x147a 201 rbx = rbx + 1
0x1481 202 if (rbx s< rbp) then 199 @ 0x1470 else 212 @ 0x1483
0x13a3 203 if (r14 == r13) then 134 @ 0x1415 else 167 @ 0x13a5
0x13eb 204 rbp = sx.q(r15d)
0x13ee 205 rbx = sx.q(ebx)
0x13fb 206 goto 213 @ 0x1400
0x13c0 207 edi = sx.d([rsp + rbp + 0x100].b)
0x13c8 208 call(0x1070)
0x13cd 209 rbp = rbp + 1
0x13d4 210 if (r12 != rbp) then 207 @ 0x13c0 else 188 @ 0x13d6
0x1523 211 goto 173 @ 0x14b5
0x1483 212 goto 41 @ 0x131c
0x1400 213 edi = sx.d([rsp + rbx + 0x30].b)
0x1405 214 call(0x1070)
0x140a 215 rbx = rbx + 1
0x1411 216 if (rbx s< rbp) then 213 @ 0x1400 else 217 @ 0x1413
0x1413 217 goto 203 @ 0x13a3
int64_t _fini():
0x159c 0 rsp = rsp - 8
0x15a0 1 rsp = rsp + 8
0x15a4 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)
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 {"UAWAVSPH="}
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 push(rax)
0x1167 5 rdi = 0x2010 {"%d"}
0x116e 6 rsi = rsp + 4 {var_28+0x4}
0x1173 7 eax = 0
0x1175 8 call(0x1040)
0x117f 9 if ([rsp + 4 {var_28+0x4}].d s< 6) then 10 @ 0x12a0 else 16 @ 0x1185
0x12a0 10 rsp = rsp + 8
0x12a4 11 rbx = pop
0x12a5 12 r14 = pop
0x12a7 13 r15 = pop
0x12a9 14 rbp = pop
0x12aa 15 <return> jump(pop)
0x1185 16 r15d = 6
0x118b 17 r14 = 0x2013 {"%d=%d+%d\n"}
0x119c 18 goto 19 @ 0x11a0
0x11a0 19 ebx = (r15 - 3).d
0x11a4 20 ebp = 3
0x11a9 21 goto 22 @ 0x11be
0x11be 22 xmm0 = 0
0x11c1 23 xmm0.q = float.d(ebx)
0x11c5 24 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x11c5 25 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x11c5 26 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x11c5 27 flag:s = 0
0x11c5 28 flag:o = 0
0x11c5 29 flag:a = 0
0x11cd 30 if (flag:c) then 31 @ 0x11e0 else 33 @ 0x11cf
0x11e0 31 call(0x1050)
0x11e0 32 goto 35 @ 0x11e5
0x11cf 33 xmm0 = _mm_sqrt_sd(xmm0.q)
0x11d3 34 goto 35 @ 0x11e5
0x11e5 35 ecx = int.d(ftrunc(xmm0.q))
0x11ec 36 if (ecx s< 3) then 37 @ 0x121b else 46 @ 0x11ee
0x121b 37 xmm0 = 0
0x121e 38 xmm0.q = float.d(ebp)
0x1222 39 flag:p = is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x1222 40 flag:c = xmm0.q f< fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x1222 41 flag:z = xmm0.q f== fconvert.t([0x2008].q) | is_unordered.q(xmm0.q, fconvert.t([0x2008].q))
0x1222 42 flag:s = 0
0x1222 43 flag:o = 0
0x1222 44 flag:a = 0
0x122a 45 if (flag:c) then 49 @ 0x1240 else 51 @ 0x122c
0x11ee 46 ecx = neg.d(ecx)
0x11f0 47 esi = 3
0x11ff 48 goto 53 @ 0x1200
0x1240 49 call(0x1050)
0x1240 50 goto 66 @ 0x1245
0x122c 51 xmm0 = _mm_sqrt_sd(xmm0.q)
0x1230 52 goto 66 @ 0x1245
0x1200 53 eax = ebx
0x1202 54 temp3.d:temp4.d = sx.q(eax)
0x1202 55 edx = temp3.d
0x1202 56 eax = temp4.d
0x1203 57 temp5.d = edx
0x1203 58 temp6.d = eax
0x1203 59 temp0.d = divs.dp.d(temp5.d:temp6.d, esi)
0x1203 60 temp7.d = edx
0x1203 61 temp8.d = eax
0x1203 62 temp1.d = mods.dp.d(temp7.d:temp8.d, esi)
0x1203 63 eax = temp0.d
0x1203 64 edx = temp1.d
0x1207 65 if (edx == 0) then 68 @ 0x11b0 else 73 @ 0x1209
0x1245 66 ecx = int.d(ftrunc(xmm0.q))
0x124c 67 if (ecx s< 3) then 79 @ 0x1280 else 86 @ 0x124e
0x11b0 68 ebp = ebp + 2
0x11b3 69 ebx = r15d
0x11b6 70 temp9.d = ebx
0x11b6 71 ebx = ebx - ebp
0x11b8 72 if (temp9.d == ebp) then 89 @ 0x1291 else 22 @ 0x11be
0x1209 73 eax = (rcx + rsi).d
0x120c 74 eax = eax + 1
0x120f 75 edx = esi
0x1211 76 edx = edx + 1
0x1214 77 esi = edx
0x1219 78 if (eax != 1) then 53 @ 0x1200 else 37 @ 0x121b
0x1280 79 rdi = r14
0x1283 80 esi = r15d
0x1286 81 edx = ebp
0x1288 82 ecx = ebx
0x128a 83 eax = 0
0x128c 84 call(0x1030)
0x128c 85 goto 89 @ 0x1291
0x124e 86 ecx = neg.d(ecx)
0x1250 87 esi = 3
0x125f 88 goto 91 @ 0x1260
0x1291 89 r15d = r15d + 2
0x129a 90 if (r15d s<= [rsp + 4 {var_28+0x4}].d) then 19 @ 0x11a0 else 10 @ 0x12a0
0x1260 91 eax = ebp
0x1262 92 edx = 0
0x1264 93 temp2.d = esi
0x1264 94 temp10.d = edx
0x1264 95 temp11.d = eax
0x1264 96 temp0.d = divu.dp.d(temp10.d:temp11.d, temp2.d)
0x1264 97 temp12.d = edx
0x1264 98 temp13.d = eax
0x1264 99 temp1.d = modu.dp.d(temp12.d:temp13.d, temp2.d)
0x1264 100 eax = temp0.d
0x1264 101 edx = temp1.d
0x1268 102 if (edx == 0) then 68 @ 0x11b0 else 103 @ 0x126e
0x126e 103 eax = (rcx + rsi).d
0x1271 104 eax = eax + 1
0x1274 105 edx = esi
0x1276 106 edx = edx + 1
0x1279 107 esi = edx
0x127e 108 if (eax != 1) then 91 @ 0x1260 else 79 @ 0x1280
int64_t _fini():
0x12b0 0 rsp = rsp - 8
0x12b4 1 rsp = rsp + 8
0x12b8 2 <return> jump(pop)
| POJ_68 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
char* strcpy(char* arg1, char const* arg2):
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)
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 {"UAWAVAUATSHh("}
0x10af 10 call([0x3ff8].q)
0x10af 11 noreturn
void deregister_tm_clones():
0x10c0 0 rdi = 0x4050 {""}
0x10c7 1 rax = 0x4050 {""}
0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3
0x10e8 3 <return> jump(pop)
0x10d3 4 rax = [0x3fd8].q
0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df
0x10df 6 <return> tailcall(rax)
void register_tm_clones():
0x10f0 0 rdi = 0x4050 {""}
0x10f7 1 rsi = 0x4050 {""}
0x10fe 2 rsi = rsi - rdi
0x1101 3 rax = rsi
0x1104 4 rsi = rsi u>> 0x3f
0x1108 5 rax = rax s>> 3
0x110c 6 rsi = rsi + rax
0x110f 7 rsi = rsi s>> 1
0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114
0x1128 9 <return> jump(pop)
0x1114 10 rax = [0x3ff0].q
0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120
0x1120 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d
0x1168 1 <return> jump(pop)
0x113d 2 push(rbp)
0x113e 3 cond:0 = [0x3fe0].q == 0
0x1146 4 rbp = rsp {__saved_rbp}
0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b
0x1157 6 call(0x10c0)
0x115c 7 [0x4050].b = 1
0x1163 8 rbp = pop
0x1164 9 <return> jump(pop)
0x114b 10 rdi = [0x4048].q
0x1152 11 call(0x1080)
0x1152 12 goto 6 @ 0x1157
int64_t frame_dummy():
0x1174 0 <return> tailcall(0x10f0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1180 0 push(rbp)
0x1181 1 push(r15)
0x1183 2 push(r14)
0x1185 3 push(r13)
0x1187 4 push(r12)
0x1189 5 push(rbx)
0x118a 6 rsp = rsp - 0x2868
0x1191 7 ebp = 0
0x1193 8 rbx = rsp + 0xe0 {var_27b8}
0x119b 9 rdi = rbx {var_27b8}
0x119e 10 eax = 0
0x11a0 11 call(0x1060)
0x11a5 12 rdi = rsp + 0x70 {var_2828}
0x11aa 13 eax = 0
0x11ac 14 call(0x1060)
0x11b1 15 rdi = rsp {var_2898}
0x11b4 16 eax = 0
0x11b6 17 call(0x1060)
0x11bb 18 rdi = rbx {var_27b8}
0x11be 19 call(0x1040)
0x11c3 20 r13d = 0
0x11cb 21 if (eax s<= 0) then 22 @ 0x121d else 29 @ 0x11cd
0x121d 22 rax = sx.q(r13d)
0x1220 23 rcx = sx.q(ebp)
0x1223 24 rdx = rax * 0x64
0x1227 25 r14 = rsp + rdx
0x122b 26 r14 = r14 + 0x150
0x1232 27 [rcx + r14].b = 0
0x1239 28 if (eax s< 0) then 34 @ 0x1289 else 35 @ 0x123b
0x11cd 29 eax = eax
0x11cf 30 ecx = 0
0x11d1 31 r13d = 0
0x11d4 32 ebp = 0
0x11d6 33 goto 40 @ 0x11f2
0x1289 34 if (r13d s<= 0) then 48 @ 0x12b7 else 61 @ 0x128b
0x123b 35 ebp = (r13 + 1).d
0x123f 36 rbx = rsp + 0x150 {var_2748}
0x1247 37 r15 = rsp + 0x70 {var_2828}
0x124c 38 r12 = rsp {var_2898}
0x124f 39 goto 65 @ 0x126a
0x11f2 40 edx = zx.d([rsp + rcx + 0xe0].b)
0x11fa 41 rdi = sx.q(r13d)
0x11fd 42 rsi = sx.q(ebp)
0x1200 43 rdi = rdi * 0x64
0x1204 44 rdi = rdi + rsp
0x1207 45 rdi = rdi + 0x150
0x120e 46 rsi = rsi + rdi
0x1214 47 if (dl == 0x20) then 69 @ 0x11e0 else 73 @ 0x1216
0x12b7 48 rdi = 0x2008 {"%s"}
0x12be 49 rsi = r14
0x12c1 50 eax = 0
0x12c3 51 call(0x1030)
0x12c8 52 eax = 0
0x12ca 53 rsp = rsp + 0x2868
0x12d1 54 rbx = pop
0x12d2 55 r12 = pop
0x12d4 56 r13 = pop
0x12d6 57 r14 = pop
0x12d8 58 r15 = pop
0x12da 59 rbp = pop
0x12db 60 <return> jump(pop)
0x128b 61 ebp = r13d
0x128e 62 rbx = rsp + 0x150 {var_2748}
0x1296 63 r15 = 0x2004 {"%s "}
0x129d 64 goto 76 @ 0x12a0
0x126a 65 rdi = rbx
0x126d 66 rsi = r15 {var_2828}
0x1270 67 call(0x1070)
0x1277 68 if (eax != 0) then 84 @ 0x1260 else 88 @ 0x1279
0x11e0 69 [rsi].b = 0
0x11e3 70 r13d = r13d + 1
0x11e7 71 ebp = 0
0x11e7 72 goto 92 @ 0x11e9
0x1216 73 [rsi].b = dl
0x1218 74 ebp = ebp + 1
0x121b 75 goto 92 @ 0x11e9
0x12a0 76 rdi = r15
0x12a3 77 rsi = rbx
0x12a6 78 eax = 0
0x12a8 79 call(0x1030)
0x12ad 80 rbx = rbx + 0x64
0x12b1 81 temp0.q = rbp
0x12b1 82 rbp = rbp - 1
0x12b5 83 if (temp0.q != 1) then 76 @ 0x12a0 else 48 @ 0x12b7
0x1260 84 rbx = rbx + 0x64
0x1264 85 temp1.q = rbp
0x1264 86 rbp = rbp - 1
0x1268 87 if (temp1.q == 1) then 34 @ 0x1289 else 65 @ 0x126a
0x1279 88 rdi = rbx
0x127c 89 rsi = r12 {var_2898}
0x127f 90 call(0x1050)
0x1284 91 goto 84 @ 0x1260
0x11e9 92 rcx = rcx + 1
0x11f0 93 if (rax == rcx) then 22 @ 0x121d else 40 @ 0x11f2
int64_t _fini():
0x12e0 0 rsp = rsp - 8
0x12e4 1 rsp = rsp + 8
0x12e8 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 {"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 %d"}
0x115c 3 rsi = rsp + 0xc {var_c}
0x1161 4 rdx = rsp + 8 {var_10}
0x1166 5 eax = 0
0x1168 6 call(0x1040)
0x116d 7 r11d = [rsp + 0xc {var_c}].d
0x1172 8 r10d = (r11 - 1).d
0x1176 9 r8d = 1
0x117c 10 r9d = [rsp + 8 {var_10}].d
0x118b 11 goto 12 @ 0x1190
0x1190 12 eax = r8d
0x1193 13 eax = eax * r10d
0x1197 14 edi = r11d
0x119a 15 esi = 0
0x119c 16 goto 17 @ 0x11a0
0x11a0 17 ecx = eax
0x11a2 18 temp2.d:temp3.d = sx.q(eax)
0x11a2 19 edx = temp2.d
0x11a2 20 eax = temp3.d
0x11a3 21 temp4.d = edx
0x11a3 22 temp5.d = eax
0x11a3 23 temp0.d = divs.dp.d(temp4.d:temp5.d, r10d)
0x11a3 24 temp6.d = edx
0x11a3 25 temp7.d = eax
0x11a3 26 temp1.d = mods.dp.d(temp6.d:temp7.d, r10d)
0x11a3 27 eax = temp0.d
0x11a3 28 edx = temp1.d
0x11a6 29 ebx = esi
0x11a8 30 eax = eax * r11d
0x11ac 31 eax = eax + r9d
0x11af 32 esi = (rbx + 1).d
0x11b2 33 temp8.d = edx
0x11b2 34 cond:0 = temp8.d != 0
0x11b4 35 if (temp8.d != 0) then 36 else 38 @ 0x11b7
0x11b4 36 esi = ebx
0x11b4 37 goto 38 @ 0x11b7
0x11b7 38 if (cond:0) then 39 else 41 @ 0x11ba
0x11b7 39 eax = ecx
0x11b7 40 goto 41 @ 0x11ba
0x11ba 41 temp9.d = edi
0x11ba 42 edi = edi - 1
0x11bd 43 if (temp9.d != 1) then 17 @ 0x11a0 else 44 @ 0x11bf
0x11bf 44 r8d = r8d + 1
0x11c6 45 if (esi s< r11d) then 12 @ 0x1190 else 46 @ 0x11c8
0x11c8 46 rdi = 0x200a {"%d\n"}
0x11cf 47 esi = eax
0x11d1 48 eax = 0
0x11d3 49 call(0x1030)
0x11d8 50 rsp = rsp + 0x10
0x11dc 51 rbx = pop
0x11dd 52 <return> jump(pop)
int64_t _fini():
0x11e4 0 rsp = rsp - 8
0x11e8 1 rsp = rsp + 8
0x11ec 2 <return> jump(pop)
| POJ_54 |
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 {"UHH8"}
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 - 0x138b0
0x116b 3 rdi = rbp - 0x9c50 {var_9c58}
0x1172 4 esi = 0
0x1174 5 edx = 0x9c40 {""}
0x1179 6 call(0x1040)
0x117e 7 rdi = rbp - 0x13890 {var_13898}
0x1185 8 esi = 0
0x1187 9 edx = 0x9c40 {""}
0x118c 10 call(0x1040)
0x1191 11 rdi = 0x2004 {"%d%d"}
0x1198 12 rsi = rbp - 4 {var_c}
0x119c 13 rdx = rbp - 8 {var_10}
0x11a0 14 al = 0
0x11a2 15 call(0x1050)
0x11a7 16 [rbp - 0x13894 {var_1389c}].d = 0
0x11a7 17 goto 18 @ 0x11b1
0x11b1 18 eax = [rbp - 0x13894 {var_1389c}].d
0x11ba 19 if (eax s>= [rbp - 4 {var_c}].d) then 20 @ 0x123a else 24 @ 0x11c0
0x123a 20 [rbp - 0x138a4 {var_138ac}].d = 0
0x1244 21 [rbp - 0x138a8 {var_138b0}].d = 0
0x124e 22 [rbp - 0x13894 {var_1389c_1}].d = 0
0x124e 23 goto 26 @ 0x1258
0x11c0 24 [rbp - 0x13898 {var_138a0_1}].d = 0
0x11c0 25 goto 30 @ 0x11ca
0x1258 26 eax = [rbp - 0x13894 {var_1389c_1}].d
0x125e 27 ecx = [rbp - 4 {var_c}].d
0x1261 28 ecx = ecx * [rbp - 8 {var_10}].d
0x1267 29 if (eax s>= ecx) then 32 @ 0x1651 else 35 @ 0x126d
0x11ca 30 eax = [rbp - 0x13898 {var_138a0_1}].d
0x11d3 31 if (eax s>= [rbp - 8 {var_10}].d) then 49 @ 0x1221 else 50 @ 0x11d9
0x1651 32 rsp = rsp + 0x138b0
0x1658 33 rbp = pop
0x1659 34 <return> jump(pop)
0x126d 35 eax = [rbp - 0x138a4 {var_138ac}].d
0x1273 36 ecx = 4
0x1278 37 temp2.d:temp3.d = sx.q(eax)
0x1278 38 edx = temp2.d
0x1278 39 eax = temp3.d
0x1279 40 temp4.d = edx
0x1279 41 temp5.d = eax
0x1279 42 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x1279 43 temp6.d = edx
0x1279 44 temp7.d = eax
0x1279 45 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x1279 46 eax = temp0.d
0x1279 47 edx = temp1.d
0x127e 48 if (edx != 0) then 64 @ 0x1361 else 78 @ 0x1284
0x1221 49 goto 82 @ 0x1226
0x11d9 50 rax = sx.q([rbp - 0x13894 {var_1389c}].d)
0x11e0 51 rsi = rbp - 0x9c50 {var_9c58}
0x11e7 52 rax = rax * 0x190
0x11ee 53 rsi = rsi + rax
0x11f1 54 rax = sx.q([rbp - 0x13898 {var_138a0_1}].d)
0x11f8 55 rax = rax << 2
0x11fc 56 rsi = rsi + rax
0x11ff 57 rdi = 0x2006 {"%d"}
0x1206 58 al = 0
0x1208 59 call(0x1050)
0x120d 60 eax = [rbp - 0x13898 {var_138a0_1}].d
0x1213 61 eax = eax + 1
0x1216 62 [rbp - 0x13898 {var_138a0_1}].d = eax
0x121c 63 goto 30 @ 0x11ca
0x1361 64 eax = [rbp - 0x138a4 {var_138ac}].d
0x1367 65 ecx = 4
0x136c 66 temp8.d:temp9.d = sx.q(eax)
0x136c 67 edx = temp8.d
0x136c 68 eax = temp9.d
0x136d 69 temp10.d = edx
0x136d 70 temp11.d = eax
0x136d 71 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx)
0x136d 72 temp12.d = edx
0x136d 73 temp13.d = eax
0x136d 74 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx)
0x136d 75 eax = temp0.d
0x136d 76 edx = temp1.d
0x1372 77 if (edx != 1) then 86 @ 0x1455 else 100 @ 0x1378
0x1284 78 eax = [rbp - 0x138a8 {var_138b0}].d
0x128a 79 [rbp - 0x13898 {var_138a0_2}].d = eax
0x1290 80 [rbp - 0x1389c {var_138a4_1}].d = 0
0x1290 81 goto 104 @ 0x129a
0x1226 82 eax = [rbp - 0x13894 {var_1389c}].d
0x122c 83 eax = eax + 1
0x122f 84 [rbp - 0x13894 {var_1389c}].d = eax
0x1235 85 goto 18 @ 0x11b1
0x1455 86 eax = [rbp - 0x138a4 {var_138ac}].d
0x145b 87 ecx = 4
0x1460 88 temp14.d:temp15.d = sx.q(eax)
0x1460 89 edx = temp14.d
0x1460 90 eax = temp15.d
0x1461 91 temp16.d = edx
0x1461 92 temp17.d = eax
0x1461 93 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx)
0x1461 94 temp18.d = edx
0x1461 95 temp19.d = eax
0x1461 96 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx)
0x1461 97 eax = temp0.d
0x1461 98 edx = temp1.d
0x1466 99 if (edx != 2) then 106 @ 0x1549 else 120 @ 0x146c
0x1378 100 eax = [rbp - 0x138a0 {var_138a8}].d
0x137e 101 [rbp - 0x1389c {var_138a4_2}].d = eax
0x1384 102 [rbp - 0x13898 {var_138a0_3}].d = 0
0x1384 103 goto 126 @ 0x138e
0x129a 104 eax = [rbp - 0x1389c {var_138a4_1}].d
0x12a3 105 if (eax s>= [rbp - 8 {var_10}].d) then 128 @ 0x135c else 129 @ 0x12a9
0x1549 106 eax = [rbp - 0x138a4 {var_138ac}].d
0x154f 107 ecx = 4
0x1554 108 temp20.d:temp21.d = sx.q(eax)
0x1554 109 edx = temp20.d
0x1554 110 eax = temp21.d
0x1555 111 temp22.d = edx
0x1555 112 temp23.d = eax
0x1555 113 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx)
0x1555 114 temp24.d = edx
0x1555 115 temp25.d = eax
0x1555 116 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx)
0x1555 117 eax = temp0.d
0x1555 118 edx = temp1.d
0x155a 119 if (edx != 3) then 135 @ 0x163d else 139 @ 0x1560
0x146c 120 eax = [rbp - 0x138a8 {var_138b0}].d
0x1472 121 [rbp - 0x13898 {var_138a0_4}].d = eax
0x1478 122 eax = [rbp - 8 {var_10}].d
0x147b 123 eax = eax - 1
0x147e 124 [rbp - 0x1389c {var_138a4_3}].d = eax
0x147e 125 goto 145 @ 0x148b
0x138e 126 eax = [rbp - 0x13898 {var_138a0_3}].d
0x1397 127 if (eax s>= [rbp - 4 {var_c}].d) then 146 @ 0x1450 else 147 @ 0x139d
0x135c 128 goto 64 @ 0x1361
0x12a9 129 rcx = sx.q([rbp - 0x13898 {var_138a0_2}].d)
0x12b0 130 rax = rbp - 0x13890 {var_13898}
0x12b7 131 rcx = rcx * 0x190
0x12be 132 rax = rax + rcx
0x12c1 133 rcx = sx.q([rbp - 0x1389c {var_138a4_1}].d)
0x12cc 134 if ([rax + (rcx << 2)].d != 0) then 153 @ 0x1343 else 154 @ 0x12d2
0x163d 135 eax = [rbp - 0x138a4 {var_138ac}].d
0x1643 136 eax = eax + 1
0x1646 137 [rbp - 0x138a4 {var_138ac}].d = eax
0x164c 138 goto 26 @ 0x1258
0x1560 139 eax = [rbp - 0x138a0 {var_138a8}].d
0x1566 140 [rbp - 0x1389c {var_138a4_4}].d = eax
0x156c 141 eax = [rbp - 4 {var_c}].d
0x156f 142 eax = eax - 1
0x1572 143 [rbp - 0x13898 {var_138a0_5}].d = eax
0x1572 144 goto 175 @ 0x157f
0x148b 145 if ([rbp - 0x1389c {var_138a4_3}].d s< 0) then 176 @ 0x1544 else 177 @ 0x1491
0x1450 146 goto 86 @ 0x1455
0x139d 147 rcx = sx.q([rbp - 0x13898 {var_138a0_3}].d)
0x13a4 148 rax = rbp - 0x13890 {var_13898}
0x13ab 149 rcx = rcx * 0x190
0x13b2 150 rax = rax + rcx
0x13b5 151 rcx = sx.q([rbp - 0x1389c {var_138a4_2}].d)
0x13c0 152 if ([rax + (rcx << 2)].d != 0) then 183 @ 0x1437 else 184 @ 0x13c6
0x1343 153 goto 205 @ 0x1348
0x12d2 154 rcx = sx.q([rbp - 0x13898 {var_138a0_2}].d)
0x12d9 155 rax = rbp - 0x9c50 {var_9c58}
0x12e0 156 rcx = rcx * 0x190
0x12e7 157 rax = rax + rcx
0x12ea 158 rcx = sx.q([rbp - 0x1389c {var_138a4_1}].d)
0x12f1 159 esi = [rax + (rcx << 2)].d
0x12f4 160 rdi = 0x2009 {"%d\n"}
0x12fb 161 al = 0
0x12fd 162 call(0x1030)
0x1302 163 eax = [rbp - 0x1389c {var_138a4_1}].d
0x1308 164 [rbp - 0x138a0 {var_138a8}].d = eax
0x130e 165 rcx = sx.q([rbp - 0x13898 {var_138a0_2}].d)
0x1315 166 rax = rbp - 0x13890 {var_13898}
0x131c 167 rcx = rcx * 0x190
0x1323 168 rax = rax + rcx
0x1326 169 rcx = sx.q([rbp - 0x1389c {var_138a4_1}].d)
0x132d 170 [rax + (rcx << 2)].d = 1
0x1334 171 eax = [rbp - 0x13894 {var_1389c_1}].d
0x133a 172 eax = eax + 1
0x133d 173 [rbp - 0x13894 {var_1389c_1}].d = eax
0x133d 174 goto 153 @ 0x1343
0x157f 175 if ([rbp - 0x13898 {var_138a0_5}].d s< 0) then 209 @ 0x1638 else 210 @ 0x1585
0x1544 176 goto 106 @ 0x1549
0x1491 177 rcx = sx.q([rbp - 0x13898 {var_138a0_4}].d)
0x1498 178 rax = rbp - 0x13890 {var_13898}
0x149f 179 rcx = rcx * 0x190
0x14a6 180 rax = rax + rcx
0x14a9 181 rcx = sx.q([rbp - 0x1389c {var_138a4_3}].d)
0x14b4 182 if ([rax + (rcx << 2)].d != 0) then 216 @ 0x152b else 217 @ 0x14ba
0x1437 183 goto 238 @ 0x143c
0x13c6 184 rcx = sx.q([rbp - 0x13898 {var_138a0_3}].d)
0x13cd 185 rax = rbp - 0x9c50 {var_9c58}
0x13d4 186 rcx = rcx * 0x190
0x13db 187 rax = rax + rcx
0x13de 188 rcx = sx.q([rbp - 0x1389c {var_138a4_2}].d)
0x13e5 189 esi = [rax + (rcx << 2)].d
0x13e8 190 rdi = 0x2009 {"%d\n"}
0x13ef 191 al = 0
0x13f1 192 call(0x1030)
0x13f6 193 eax = [rbp - 0x13898 {var_138a0_3}].d
0x13fc 194 [rbp - 0x138a8 {var_138b0}].d = eax
0x1402 195 rcx = sx.q([rbp - 0x13898 {var_138a0_3}].d)
0x1409 196 rax = rbp - 0x13890 {var_13898}
0x1410 197 rcx = rcx * 0x190
0x1417 198 rax = rax + rcx
0x141a 199 rcx = sx.q([rbp - 0x1389c {var_138a4_2}].d)
0x1421 200 [rax + (rcx << 2)].d = 1
0x1428 201 eax = [rbp - 0x13894 {var_1389c_1}].d
0x142e 202 eax = eax + 1
0x1431 203 [rbp - 0x13894 {var_1389c_1}].d = eax
0x1431 204 goto 183 @ 0x1437
0x1348 205 eax = [rbp - 0x1389c {var_138a4_1}].d
0x134e 206 eax = eax + 1
0x1351 207 [rbp - 0x1389c {var_138a4_1}].d = eax
0x1357 208 goto 104 @ 0x129a
0x1638 209 goto 135 @ 0x163d
0x1585 210 rcx = sx.q([rbp - 0x13898 {var_138a0_5}].d)
0x158c 211 rax = rbp - 0x13890 {var_13898}
0x1593 212 rcx = rcx * 0x190
0x159a 213 rax = rax + rcx
0x159d 214 rcx = sx.q([rbp - 0x1389c {var_138a4_4}].d)
0x15a8 215 if ([rax + (rcx << 2)].d != 0) then 242 @ 0x161f else 243 @ 0x15ae
0x152b 216 goto 264 @ 0x1530
0x14ba 217 rcx = sx.q([rbp - 0x13898 {var_138a0_4}].d)
0x14c1 218 rax = rbp - 0x9c50 {var_9c58}
0x14c8 219 rcx = rcx * 0x190
0x14cf 220 rax = rax + rcx
0x14d2 221 rcx = sx.q([rbp - 0x1389c {var_138a4_3}].d)
0x14d9 222 esi = [rax + (rcx << 2)].d
0x14dc 223 rdi = 0x2009 {"%d\n"}
0x14e3 224 al = 0
0x14e5 225 call(0x1030)
0x14ea 226 eax = [rbp - 0x1389c {var_138a4_3}].d
0x14f0 227 [rbp - 0x138a0 {var_138a8}].d = eax
0x14f6 228 rcx = sx.q([rbp - 0x13898 {var_138a0_4}].d)
0x14fd 229 rax = rbp - 0x13890 {var_13898}
0x1504 230 rcx = rcx * 0x190
0x150b 231 rax = rax + rcx
0x150e 232 rcx = sx.q([rbp - 0x1389c {var_138a4_3}].d)
0x1515 233 [rax + (rcx << 2)].d = 1
0x151c 234 eax = [rbp - 0x13894 {var_1389c_1}].d
0x1522 235 eax = eax + 1
0x1525 236 [rbp - 0x13894 {var_1389c_1}].d = eax
0x1525 237 goto 216 @ 0x152b
0x143c 238 eax = [rbp - 0x13898 {var_138a0_3}].d
0x1442 239 eax = eax + 1
0x1445 240 [rbp - 0x13898 {var_138a0_3}].d = eax
0x144b 241 goto 126 @ 0x138e
0x161f 242 goto 268 @ 0x1624
0x15ae 243 rcx = sx.q([rbp - 0x13898 {var_138a0_5}].d)
0x15b5 244 rax = rbp - 0x9c50 {var_9c58}
0x15bc 245 rcx = rcx * 0x190
0x15c3 246 rax = rax + rcx
0x15c6 247 rcx = sx.q([rbp - 0x1389c {var_138a4_4}].d)
0x15cd 248 esi = [rax + (rcx << 2)].d
0x15d0 249 rdi = 0x2009 {"%d\n"}
0x15d7 250 al = 0
0x15d9 251 call(0x1030)
0x15de 252 eax = [rbp - 0x13898 {var_138a0_5}].d
0x15e4 253 [rbp - 0x138a8 {var_138b0}].d = eax
0x15ea 254 rcx = sx.q([rbp - 0x13898 {var_138a0_5}].d)
0x15f1 255 rax = rbp - 0x13890 {var_13898}
0x15f8 256 rcx = rcx * 0x190
0x15ff 257 rax = rax + rcx
0x1602 258 rcx = sx.q([rbp - 0x1389c {var_138a4_4}].d)
0x1609 259 [rax + (rcx << 2)].d = 1
0x1610 260 eax = [rbp - 0x13894 {var_1389c_1}].d
0x1616 261 eax = eax + 1
0x1619 262 [rbp - 0x13894 {var_1389c_1}].d = eax
0x1619 263 goto 242 @ 0x161f
0x1530 264 eax = [rbp - 0x1389c {var_138a4_3}].d
0x1536 265 eax = eax - 1
0x1539 266 [rbp - 0x1389c {var_138a4_3}].d = eax
0x153f 267 goto 145 @ 0x148b
0x1624 268 eax = [rbp - 0x13898 {var_138a0_5}].d
0x162a 269 eax = eax - 1
0x162d 270 [rbp - 0x13898 {var_138a0_5}].d = eax
0x1633 271 goto 175 @ 0x157f
int64_t _fini():
0x1660 0 rsp = rsp - 8
0x1664 1 rsp = rsp + 8
0x1668 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)
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
double pow(double x, double y):
0x1050 0 <return> tailcall([0x4028].q)
int32_t scanf(char const* format, ...):
0x1060 0 <return> tailcall([0x4030].q)
double log10(int64_t arg1, int64_t arg2, double x):
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 = 0x1310 {"UAWAVAUATSH"}
0x10af 10 call([0x3ff8].q)
0x10af 11 noreturn
void deregister_tm_clones():
0x10c0 0 rdi = 0x4050 {""}
0x10c7 1 rax = 0x4050 {""}
0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3
0x10e8 3 <return> jump(pop)
0x10d3 4 rax = [0x3fd8].q
0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df
0x10df 6 <return> tailcall(rax)
void register_tm_clones():
0x10f0 0 rdi = 0x4050 {""}
0x10f7 1 rsi = 0x4050 {""}
0x10fe 2 rsi = rsi - rdi
0x1101 3 rax = rsi
0x1104 4 rsi = rsi u>> 0x3f
0x1108 5 rax = rax s>> 3
0x110c 6 rsi = rsi + rax
0x110f 7 rsi = rsi s>> 1
0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114
0x1128 9 <return> jump(pop)
0x1114 10 rax = [0x3ff0].q
0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120
0x1120 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d
0x1168 1 <return> jump(pop)
0x113d 2 push(rbp)
0x113e 3 cond:0 = [0x3fe0].q == 0
0x1146 4 rbp = rsp {__saved_rbp}
0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b
0x1157 6 call(0x10c0)
0x115c 7 [0x4050].b = 1
0x1163 8 rbp = pop
0x1164 9 <return> jump(pop)
0x114b 10 rdi = [0x4048].q
0x1152 11 call(0x1080)
0x1152 12 goto 6 @ 0x1157
int64_t frame_dummy():
0x1174 0 <return> tailcall(0x10f0)
int64_t primejud(int32_t arg1):
0x1180 0 eax = 1
0x1188 1 if (edi s< 6) then 2 @ 0x11db else 3 @ 0x118a
0x11db 2 <return> jump(pop)
0x118a 3 r8d = edi
0x118d 4 r8d = r8d u>> 0x1f
0x1191 5 r8d = r8d + edi
0x1194 6 r8d = r8d s>> 1
0x1197 7 cond:0 = r8d s>= 4
0x119b 8 esi = 3
0x11a0 9 r9d = 3
0x11a6 10 if (cond:0) then 11 else 13 @ 0x11aa
0x11a6 11 r9d = r8d
0x11a6 12 goto 13 @ 0x11aa
0x11aa 13 eax = 0
0x11b0 14 if ((dil & 1) == 0) then 2 @ 0x11db else 15 @ 0x11bc
0x11bc 15 goto 16 @ 0x11c0
0x11c0 16 ecx = esi
0x11c5 17 if (r9d == esi) then 18 @ 0x11d3 else 21 @ 0x11c7
0x11d3 18 eax = 0
0x11d8 19 al = ecx s>= r8d
0x11d8 20 goto 2 @ 0x11db
0x11c7 21 eax = edi
0x11c9 22 temp2.d:temp3.d = sx.q(eax)
0x11c9 23 edx = temp2.d
0x11c9 24 eax = temp3.d
0x11ca 25 temp4.d = edx
0x11ca 26 temp5.d = eax
0x11ca 27 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x11ca 28 temp6.d = edx
0x11ca 29 temp7.d = eax
0x11ca 30 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x11ca 31 eax = temp0.d
0x11ca 32 edx = temp1.d
0x11cc 33 esi = (rcx + 1).d
0x11d1 34 if (edx != 0) then 16 @ 0x11c0 else 18 @ 0x11d3
uint64_t huiwenjud(int64_t arg1, int64_t arg2, double arg3):
0x11e0 0 push(rbp)
0x11e1 1 push(r15)
0x11e3 2 push(r14)
0x11e5 3 push(r13)
0x11e7 4 push(r12)
0x11e9 5 push(rbx)
0x11ea 6 rsp = rsp - 0x38
0x11ee 7 r13d = edi
0x11f1 8 xmm0.q = float.d(edi)
0x11f5 9 call(0x1070)
0x11fa 10 r15d = int.d(ftrunc(xmm0.q))
0x11ff 11 r14d = 1
0x1208 12 if (r15d s< 0) then 13 @ 0x12f4 else 22 @ 0x120e
0x12f4 13 eax = r14d
0x12f7 14 rsp = rsp + 0x38
0x12fb 15 rbx = pop
0x12fc 16 r12 = pop
0x12fe 17 r13 = pop
0x1300 18 r14 = pop
0x1302 19 r15 = pop
0x1304 20 rbp = pop
0x1305 21 <return> jump(pop)
0x120e 22 r12d = (r15 + 1).d
0x1212 23 ebx = 0
0x1214 24 ebp = r15d
0x1217 25 goto 26 @ 0x1220
0x1220 26 xmm0 = 0
0x1223 27 xmm0.q = float.d(r13d)
0x1228 28 [rsp {var_68}].q = xmm0.q
0x122d 29 xmm1 = 0
0x1230 30 xmm1.q = float.d(ebp)
0x1234 31 [rsp + 8 {var_60_1}].q = xmm1.q
0x123a 32 xmm0 = zx.o([0x2008].q)
0x1242 33 call(0x1050)
0x1247 34 xmm1 = zx.o([rsp {var_68}].q)
0x124c 35 xmm1.q = xmm1.q f/ xmm0.q
0x1250 36 eax = int.d(ftrunc(xmm1.q))
0x1254 37 [rsp + (rbx << 2) + 0x10].d = eax
0x1258 38 xmm0 = zx.o([0x2008].q)
0x1260 39 xmm1 = zx.o([rsp + 8 {var_60_1}].q)
0x1266 40 call(0x1050)
0x126b 41 ecx = int.d(ftrunc(xmm0.q))
0x126f 42 eax = r13d
0x1272 43 temp2.d:temp3.d = sx.q(eax)
0x1272 44 edx = temp2.d
0x1272 45 eax = temp3.d
0x1273 46 temp4.d = edx
0x1273 47 temp5.d = eax
0x1273 48 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x1273 49 temp6.d = edx
0x1273 50 temp7.d = eax
0x1273 51 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x1273 52 eax = temp0.d
0x1273 53 edx = temp1.d
0x1275 54 rbx = rbx + 1
0x1279 55 ebp = ebp - 1
0x127c 56 r13d = edx
0x1282 57 if (r12 != rbx) then 26 @ 0x1220 else 58 @ 0x1287
0x1287 58 if (r15d s<= 0) then 13 @ 0x12f4 else 59 @ 0x1289
0x1289 59 ecx = r12d
0x128c 60 ecx = ecx u>> 0x1f
0x128f 61 ecx = ecx + r12d
0x1292 62 ecx = ecx s>> 1
0x1294 63 esi = r15d
0x1297 64 cond:0 = ecx s>= 2
0x129a 65 eax = 1
0x129f 66 if (cond:0) then 67 else 69 @ 0x12a2
0x129f 67 eax = ecx
0x129f 68 goto 69 @ 0x12a2
0x12a2 69 edx = [rsp + 0x10 {var_58}].d
0x12a6 70 r14d = 0
0x12ad 71 if (edx != [rsp + (rsi << 2) + 0x10].d) then 13 @ 0x12f4 else 72 @ 0x12af
0x12af 72 rcx = sx.q(ecx)
0x12b2 73 rdx = rsp + 0x14 {var_54}
0x12b7 74 rsi = rsp + (rsi << 2)
0x12bb 75 rsi = rsi + 0x10
0x12bf 76 rax = neg.q(rax)
0x12c2 77 rbp = -1
0x12c9 78 goto 79 @ 0x12d0
0x12d0 79 rdi = rbp
0x12d6 80 if (rax == rbp) then 81 @ 0x12e7 else 85 @ 0x12d8
0x12e7 81 rdi = neg.q(rdi)
0x12ea 82 r14d = 0
0x12f0 83 r14b = rdi s>= rcx
0x12f0 84 goto 13 @ 0x12f4
0x12d8 85 ebx = [rdx].d
0x12da 86 rbp = rdi - 1
0x12de 87 rdx = rdx + 4
0x12e5 88 if (ebx == [rsi + (rdi << 2)].d) then 79 @ 0x12d0 else 81 @ 0x12e7
int32_t main(int32_t argc, char** argv, char** envp):
0x1310 0 push(rbp)
0x1311 1 push(r15)
0x1313 2 push(r14)
0x1315 3 push(r13)
0x1317 4 push(r12)
0x1319 5 push(rbx)
0x131a 6 rsp = rsp - 0x1e8
0x1321 7 rdi = rsp + 0x50 {var_1c8}
0x1326 8 r15d = 0
0x1329 9 edx = 0x190 {""}
0x132e 10 esi = 0
0x1330 11 call(0x1040)
0x1335 12 rdi = 0x2010 {"%d %d"}
0x133c 13 rsi = rsp + 4 {var_214}
0x1341 14 rdx = rsp {var_218}
0x1344 15 eax = 0
0x1346 16 call(0x1060)
0x134b 17 r13d = [rsp + 4 {var_214}].d
0x1354 18 if (r13d s<= [rsp {var_218}].d) then 19 @ 0x1381 else 20 @ 0x1356
0x1381 19 if (r13d s< 6) then 21 @ 0x13d0 else 26 @ 0x1383
0x1356 20 goto 33 @ 0x153e
0x13d0 21 xmm0 = 0
0x13d3 22 xmm0.q = float.d(r13d)
0x13d8 23 call(0x1070)
0x13dd 24 r12d = int.d(ftrunc(xmm0.q))
0x13e5 25 if (r12d s< 0) then 37 @ 0x1360 else 41 @ 0x13eb
0x1383 26 ecx = r13d
0x1386 27 ecx = ecx u>> 0x1f
0x1389 28 ecx = ecx + r13d
0x138c 29 ecx = ecx s>> 1
0x138e 30 cond:0 = ecx s>= 4
0x1391 31 esi = 3
0x1396 32 if (cond:0) then 47 else 49 @ 0x139d
0x153e 33 rdi = 0x2016 {"no"}
0x1545 34 eax = 0
0x1547 35 call(0x1030)
0x1547 36 goto 50 @ 0x154c
0x1360 37 rax = sx.q(r15d)
0x1363 38 r15d = r15d + 1
0x1367 39 [rsp + (rax << 2) + 0x50].d = r13d
0x1367 40 goto 59 @ 0x136c
0x13eb 41 [rsp + 8 {var_210_1}].q = r15
0x13f0 42 ebx = (r12 + 1).d
0x13f5 43 r15d = r12d
0x13f8 44 r14d = 0
0x13fb 45 ebp = r13d
0x13fe 46 goto 63 @ 0x1400
0x1396 47 esi = ecx
0x1396 48 goto 49 @ 0x139d
0x139d 49 if ((r13b & 1) == 0) then 59 @ 0x136c else 95 @ 0x139f
0x154c 50 eax = 0
0x154e 51 rsp = rsp + 0x1e8
0x1555 52 rbx = pop
0x1556 53 r12 = pop
0x1558 54 r13 = pop
0x155a 55 r14 = pop
0x155c 56 r15 = pop
0x155e 57 rbp = pop
0x155f 58 <return> jump(pop)
0x136c 59 eax = (r13 + 1).d
0x1370 60 cond:1 = r13d s>= [rsp {var_218}].d
0x1374 61 r13d = eax
0x1377 62 if (cond:1) then 97 @ 0x14eb else 19 @ 0x1381
0x1400 63 xmm0 = 0
0x1403 64 xmm0.q = float.d(ebp)
0x1407 65 [rsp + 0x10 {var_208_1}].q = xmm0.q
0x140d 66 xmm1 = 0
0x1410 67 xmm1.q = float.d(r15d)
0x1415 68 [rsp + 0x18 {var_200_1}].q = xmm1.q
0x141b 69 xmm0 = zx.o([0x2008].q)
0x1423 70 call(0x1050)
0x1428 71 xmm1 = zx.o([rsp + 0x10 {var_208_1}].q)
0x142e 72 xmm1.q = xmm1.q f/ xmm0.q
0x1432 73 eax = int.d(ftrunc(xmm1.q))
0x1436 74 [rsp + (r14 << 2) + 0x20].d = eax
0x143b 75 xmm0 = zx.o([0x2008].q)
0x1443 76 xmm1 = zx.o([rsp + 0x18 {var_200_1}].q)
0x1449 77 call(0x1050)
0x144e 78 ecx = int.d(ftrunc(xmm0.q))
0x1452 79 eax = ebp
0x1454 80 temp2.d:temp3.d = sx.q(eax)
0x1454 81 edx = temp2.d
0x1454 82 eax = temp3.d
0x1455 83 temp4.d = edx
0x1455 84 temp5.d = eax
0x1455 85 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x1455 86 temp6.d = edx
0x1455 87 temp7.d = eax
0x1455 88 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x1455 89 eax = temp0.d
0x1455 90 edx = temp1.d
0x1457 91 r14 = r14 + 1
0x145b 92 r15d = r15d - 1
0x145f 93 ebp = edx
0x1464 94 if (rbx != r14) then 63 @ 0x1400 else 98 @ 0x1466
0x139f 95 eax = 3
0x13ae 96 goto 101 @ 0x13b0
0x14eb 97 if (r15d == 0) then 33 @ 0x153e else 103 @ 0x14ed
0x1466 98 cond:2 = r12d s<= 0
0x1469 99 r15 = [rsp + 8 {var_210_1}].q
0x146e 100 if (cond:2) then 37 @ 0x1360 else 105 @ 0x1474
0x13b0 101 edi = eax
0x13b4 102 if (esi == eax) then 112 @ 0x13c5 else 113 @ 0x13b6
0x14ed 103 r14d = (r15 - 1).d
0x14f5 104 if (r15d s< 2) then 127 @ 0x1527 else 133 @ 0x14f7
0x1474 105 ecx = ebx
0x1476 106 ecx = ecx u>> 0x1f
0x1479 107 ecx = ecx + ebx
0x147b 108 ecx = ecx s>> 1
0x147d 109 cond:3 = ecx s>= 2
0x1480 110 eax = 1
0x1485 111 if (cond:3) then 137 else 139 @ 0x1488
0x13c5 112 if (edi s< ecx) then 59 @ 0x136c else 142 @ 0x13c7
0x13b6 113 eax = r13d
0x13b9 114 temp8.d:temp9.d = sx.q(eax)
0x13b9 115 edx = temp8.d
0x13b9 116 eax = temp9.d
0x13ba 117 temp10.d = edx
0x13ba 118 temp11.d = eax
0x13ba 119 temp0.d = divs.dp.d(temp10.d:temp11.d, edi)
0x13ba 120 temp12.d = edx
0x13ba 121 temp13.d = eax
0x13ba 122 temp1.d = mods.dp.d(temp12.d:temp13.d, edi)
0x13ba 123 eax = temp0.d
0x13ba 124 edx = temp1.d
0x13bc 125 eax = (rdi + 1).d
0x13c1 126 if (edx != 0) then 101 @ 0x13b0 else 112 @ 0x13c5
0x1527 127 rax = sx.q(r14d)
0x152a 128 esi = [rsp + (rax << 2) + 0x50].d
0x152e 129 rdi = 0x2013 {"%d"}
0x1535 130 eax = 0
0x1537 131 call(0x1030)
0x153c 132 goto 50 @ 0x154c
0x14f7 133 ebp = r14d
0x14fa 134 r15 = 0x2019 {"%d,"}
0x1501 135 ebx = 0
0x150d 136 goto 143 @ 0x1510
0x1485 137 eax = ecx
0x1485 138 goto 139 @ 0x1488
0x1488 139 edx = r12d
0x148b 140 esi = [rsp + 0x20 {var_1f8}].d
0x1493 141 if (esi != [rsp + (rdx << 2) + 0x20].d) then 59 @ 0x136c else 149 @ 0x1499
0x13c7 142 goto 21 @ 0x13d0
0x1510 143 esi = [rsp + (rbx << 2) + 0x50].d
0x1514 144 rdi = r15
0x1517 145 eax = 0
0x1519 146 call(0x1030)
0x151e 147 rbx = rbx + 1
0x1525 148 if (rbp != rbx) then 143 @ 0x1510 else 127 @ 0x1527
0x1499 149 rcx = sx.q(ecx)
0x149c 150 rdx = rsp + (rdx << 2)
0x14a0 151 rdx = rdx + 0x20
0x14a4 152 rax = neg.q(rax)
0x14a7 153 rbp = -1
0x14ae 154 rdi = rsp + 0x24 {var_1f4}
0x14bd 155 goto 156 @ 0x14c0
0x14c0 156 rsi = rbp
0x14c6 157 if (rax == rbp) then 158 @ 0x14d7 else 160 @ 0x14c8
0x14d7 158 rsi = neg.q(rsi)
0x14dd 159 if (rsi s>= rcx) then 37 @ 0x1360 else 164 @ 0x14e3
0x14c8 160 ebx = [rdi].d
0x14ca 161 rbp = rsi - 1
0x14ce 162 rdi = rdi + 4
0x14d5 163 if (ebx == [rdx + (rsi << 2)].d) then 156 @ 0x14c0 else 158 @ 0x14d7
0x14e3 164 goto 59 @ 0x136c
int64_t _fini():
0x1564 0 rsp = rsp - 8
0x1568 1 rsp = rsp + 8
0x156c 2 <return> jump(pop)
| POJ_74 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t scanf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t puts(char const* str):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"PH="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(rax)
0x1151 1 rdi = 0x2004 {"%d"}
0x1158 2 rsi = rsp + 4 {var_8+0x4}
0x115d 3 eax = 0
0x115f 4 call(0x1030)
0x1164 5 ecx = [rsp + 4 {var_8+0x4}].d
0x1168 6 eax = (rcx + 0xc).d
0x116b 7 rdx = sx.q(eax)
0x116e 8 rdx = rdx * -0x6db6db6d
0x1175 9 rdx = rdx u>> 0x20
0x1179 10 edx = edx + ecx
0x117b 11 edx = edx + 0xc
0x117e 12 esi = edx
0x1180 13 esi = esi u>> 0x1f
0x1183 14 edx = edx s>> 2
0x1186 15 edx = edx + esi
0x1188 16 esi = (rdx << 3).d
0x118f 17 edx = edx - esi
0x1191 18 edx = edx + ecx
0x1193 19 edx = edx + 0xc
0x1199 20 if (edx != 5) then 21 @ 0x11ae else 38 @ 0x119b
0x11ae 21 [rsp + 4 {var_8+0x4}].d = eax
0x11b2 22 edx = ecx
0x11b4 23 edx = edx + 0x2b
0x11b7 24 rdx = sx.q(edx)
0x11ba 25 rdx = rdx * -0x6db6db6d
0x11c1 26 rdx = rdx u>> 0x20
0x11c5 27 edx = edx + ecx
0x11c7 28 edx = edx + 0x2b
0x11ca 29 esi = edx
0x11cc 30 esi = esi u>> 0x1f
0x11cf 31 edx = edx s>> 2
0x11d2 32 edx = edx + esi
0x11d4 33 esi = (rdx << 3).d
0x11db 34 edx = edx - esi
0x11dd 35 ecx = ecx + edx
0x11df 36 ecx = ecx + 0x2b
0x11e5 37 if (ecx != 5) then 43 @ 0x11f7 else 61 @ 0x11e7
0x119b 38 rdi = 0x200b {"1"}
0x11a2 39 call(0x1040)
0x11a7 40 ecx = [rsp + 4 {var_8+0x4}].d
0x11ab 41 eax = (rcx + 0xc).d
0x11ab 42 goto 21 @ 0x11ae
0x11f7 43 ecx = (rax + 0x1f).d
0x11fa 44 [rsp + 4 {var_8+0x4}].d = ecx
0x11fe 45 edx = eax
0x1200 46 edx = edx + 0x3b
0x1203 47 rdx = sx.q(edx)
0x1206 48 rdx = rdx * -0x6db6db6d
0x120d 49 rdx = rdx u>> 0x20
0x1211 50 edx = edx + eax
0x1213 51 edx = edx + 0x3b
0x1216 52 esi = edx
0x1218 53 esi = esi u>> 0x1f
0x121b 54 edx = edx s>> 2
0x121e 55 edx = edx + esi
0x1220 56 esi = (rdx << 3).d
0x1227 57 edx = edx - esi
0x1229 58 eax = eax + edx
0x122b 59 eax = eax + 0x3b
0x1231 60 if (eax != 5) then 65 @ 0x1243 else 83 @ 0x1233
0x11e7 61 rdi = 0x2008 {"2"}
0x11ee 62 call(0x1040)
0x11f3 63 eax = [rsp + 4 {var_8+0x4}].d
0x11f3 64 goto 43 @ 0x11f7
0x1243 65 eax = (rcx + 0x1c).d
0x1246 66 [rsp + 4 {var_8+0x4}].d = eax
0x124a 67 edx = ecx
0x124c 68 edx = edx + 0x3b
0x124f 69 rdx = sx.q(edx)
0x1252 70 rdx = rdx * -0x6db6db6d
0x1259 71 rdx = rdx u>> 0x20
0x125d 72 edx = edx + ecx
0x125f 73 edx = edx + 0x3b
0x1262 74 esi = edx
0x1264 75 esi = esi u>> 0x1f
0x1267 76 edx = edx s>> 2
0x126a 77 edx = edx + esi
0x126c 78 esi = (rdx << 3).d
0x1273 79 edx = edx - esi
0x1275 80 ecx = ecx + edx
0x1277 81 ecx = ecx + 0x3b
0x127d 82 if (ecx != 5) then 87 @ 0x128f else 105 @ 0x127f
0x1233 83 rdi = 0x201c {"3"}
0x123a 84 call(0x1040)
0x123f 85 ecx = [rsp + 4 {var_8+0x4}].d
0x123f 86 goto 65 @ 0x1243
0x128f 87 ecx = (rax + 0x1f).d
0x1292 88 [rsp + 4 {var_8+0x4}].d = ecx
0x1296 89 edx = eax
0x1298 90 edx = edx + 0x3d
0x129b 91 rdx = sx.q(edx)
0x129e 92 rdx = rdx * -0x6db6db6d
0x12a5 93 rdx = rdx u>> 0x20
0x12a9 94 edx = edx + eax
0x12ab 95 edx = edx + 0x3d
0x12ae 96 esi = edx
0x12b0 97 esi = esi u>> 0x1f
0x12b3 98 edx = edx s>> 2
0x12b6 99 edx = edx + esi
0x12b8 100 esi = (rdx << 3).d
0x12bf 101 edx = edx - esi
0x12c1 102 eax = eax + edx
0x12c3 103 eax = eax + 0x3d
0x12c9 104 if (eax != 5) then 109 @ 0x12db else 127 @ 0x12cb
0x127f 105 rdi = 0x201a {"4"}
0x1286 106 call(0x1040)
0x128b 107 eax = [rsp + 4 {var_8+0x4}].d
0x128b 108 goto 87 @ 0x128f
0x12db 109 eax = (rcx + 0x1e).d
0x12de 110 [rsp + 4 {var_8+0x4}].d = eax
0x12e2 111 edx = ecx
0x12e4 112 edx = edx + 0x3d
0x12e7 113 rdx = sx.q(edx)
0x12ea 114 rdx = rdx * -0x6db6db6d
0x12f1 115 rdx = rdx u>> 0x20
0x12f5 116 edx = edx + ecx
0x12f7 117 edx = edx + 0x3d
0x12fa 118 esi = edx
0x12fc 119 esi = esi u>> 0x1f
0x12ff 120 edx = edx s>> 2
0x1302 121 edx = edx + esi
0x1304 122 esi = (rdx << 3).d
0x130b 123 edx = edx - esi
0x130d 124 ecx = ecx + edx
0x130f 125 ecx = ecx + 0x3d
0x1315 126 if (ecx != 5) then 131 @ 0x1327 else 149 @ 0x1317
0x12cb 127 rdi = 0x2018 {"5"}
0x12d2 128 call(0x1040)
0x12d7 129 ecx = [rsp + 4 {var_8+0x4}].d
0x12d7 130 goto 109 @ 0x12db
0x1327 131 ecx = (rax + 0x1f).d
0x132a 132 [rsp + 4 {var_8+0x4}].d = ecx
0x132e 133 edx = eax
0x1330 134 edx = edx + 0x3d
0x1333 135 rdx = sx.q(edx)
0x1336 136 rdx = rdx * -0x6db6db6d
0x133d 137 rdx = rdx u>> 0x20
0x1341 138 edx = edx + eax
0x1343 139 edx = edx + 0x3d
0x1346 140 esi = edx
0x1348 141 esi = esi u>> 0x1f
0x134b 142 edx = edx s>> 2
0x134e 143 edx = edx + esi
0x1350 144 esi = (rdx << 3).d
0x1357 145 edx = edx - esi
0x1359 146 eax = eax + edx
0x135b 147 eax = eax + 0x3d
0x1361 148 if (eax != 5) then 153 @ 0x1373 else 171 @ 0x1363
0x1317 149 rdi = 0x2016 {"6"}
0x131e 150 call(0x1040)
0x1323 151 eax = [rsp + 4 {var_8+0x4}].d
0x1323 152 goto 131 @ 0x1327
0x1373 153 eax = (rcx + 0x1e).d
0x1376 154 [rsp + 4 {var_8+0x4}].d = eax
0x137a 155 edx = ecx
0x137c 156 edx = edx + 0x3d
0x137f 157 rdx = sx.q(edx)
0x1382 158 rdx = rdx * -0x6db6db6d
0x1389 159 rdx = rdx u>> 0x20
0x138d 160 edx = edx + ecx
0x138f 161 edx = edx + 0x3d
0x1392 162 esi = edx
0x1394 163 esi = esi u>> 0x1f
0x1397 164 edx = edx s>> 2
0x139a 165 edx = edx + esi
0x139c 166 esi = (rdx << 3).d
0x13a3 167 edx = edx - esi
0x13a5 168 ecx = ecx + edx
0x13a7 169 ecx = ecx + 0x3d
0x13ad 170 if (ecx != 5) then 175 @ 0x13bf else 193 @ 0x13af
0x1363 171 rdi = 0x2014 {"7"}
0x136a 172 call(0x1040)
0x136f 173 ecx = [rsp + 4 {var_8+0x4}].d
0x136f 174 goto 153 @ 0x1373
0x13bf 175 ecx = (rax + 0x1f).d
0x13c2 176 [rsp + 4 {var_8+0x4}].d = ecx
0x13c6 177 edx = eax
0x13c8 178 edx = edx + 0x3e
0x13cb 179 rdx = sx.q(edx)
0x13ce 180 rdx = rdx * -0x6db6db6d
0x13d5 181 rdx = rdx u>> 0x20
0x13d9 182 edx = edx + eax
0x13db 183 edx = edx + 0x3e
0x13de 184 esi = edx
0x13e0 185 esi = esi u>> 0x1f
0x13e3 186 edx = edx s>> 2
0x13e6 187 edx = edx + esi
0x13e8 188 esi = (rdx << 3).d
0x13ef 189 edx = edx - esi
0x13f1 190 eax = eax + edx
0x13f3 191 eax = eax + 0x3e
0x13f9 192 if (eax != 5) then 197 @ 0x140b else 215 @ 0x13fb
0x13af 193 rdi = 0x2012 {"8"}
0x13b6 194 call(0x1040)
0x13bb 195 eax = [rsp + 4 {var_8+0x4}].d
0x13bb 196 goto 175 @ 0x13bf
0x140b 197 eax = (rcx + 0x1f).d
0x140e 198 [rsp + 4 {var_8+0x4}].d = eax
0x1412 199 edx = ecx
0x1414 200 edx = edx + 0x3d
0x1417 201 rdx = sx.q(edx)
0x141a 202 rdx = rdx * -0x6db6db6d
0x1421 203 rdx = rdx u>> 0x20
0x1425 204 edx = edx + ecx
0x1427 205 edx = edx + 0x3d
0x142a 206 esi = edx
0x142c 207 esi = esi u>> 0x1f
0x142f 208 edx = edx s>> 2
0x1432 209 edx = edx + esi
0x1434 210 esi = (rdx << 3).d
0x143b 211 edx = edx - esi
0x143d 212 ecx = ecx + edx
0x143f 213 ecx = ecx + 0x3d
0x1445 214 if (ecx != 5) then 219 @ 0x1457 else 237 @ 0x1447
0x13fb 215 rdi = 0x2010 {"9"}
0x1402 216 call(0x1040)
0x1407 217 ecx = [rsp + 4 {var_8+0x4}].d
0x1407 218 goto 197 @ 0x140b
0x1457 219 ecx = (rax + 0x1e).d
0x145a 220 [rsp + 4 {var_8+0x4}].d = ecx
0x145e 221 edx = eax
0x1460 222 edx = edx + 0x3d
0x1463 223 rdx = sx.q(edx)
0x1466 224 rdx = rdx * -0x6db6db6d
0x146d 225 rdx = rdx u>> 0x20
0x1471 226 edx = edx + eax
0x1473 227 edx = edx + 0x3d
0x1476 228 esi = edx
0x1478 229 esi = esi u>> 0x1f
0x147b 230 edx = edx s>> 2
0x147e 231 edx = edx + esi
0x1480 232 esi = (rdx << 3).d
0x1487 233 edx = edx - esi
0x1489 234 eax = eax + edx
0x148b 235 eax = eax + 0x3d
0x1491 236 if (eax != 5) then 241 @ 0x14a3 else 259 @ 0x1493
0x1447 237 rdi = 0x200d {"10"}
0x144e 238 call(0x1040)
0x1453 239 eax = [rsp + 4 {var_8+0x4}].d
0x1453 240 goto 219 @ 0x1457
0x14a3 241 eax = (rcx + 0x1f).d
0x14a6 242 [rsp + 4 {var_8+0x4}].d = eax
0x14aa 243 eax = ecx
0x14ac 244 eax = eax + 0x3d
0x14af 245 rax = sx.q(eax)
0x14b1 246 rax = rax * -0x6db6db6d
0x14b8 247 rax = rax u>> 0x20
0x14bc 248 eax = eax + ecx
0x14be 249 eax = eax + 0x3d
0x14c1 250 edx = eax
0x14c3 251 edx = edx u>> 0x1f
0x14c6 252 eax = eax s>> 2
0x14c9 253 eax = eax + edx
0x14cb 254 edx = (rax << 3).d
0x14d2 255 eax = eax - edx
0x14d4 256 eax = eax + ecx
0x14d6 257 eax = eax + 0x3d
0x14dc 258 if (eax != 5) then 263 @ 0x14ea else 266 @ 0x14de
0x1493 259 rdi = 0x200a {"11"}
0x149a 260 call(0x1040)
0x149f 261 ecx = [rsp + 4 {var_8+0x4}].d
0x149f 262 goto 241 @ 0x14a3
0x14ea 263 eax = 0
0x14ec 264 rcx = pop
0x14ed 265 <return> jump(pop)
0x14de 266 rdi = 0x2007 {"12"}
0x14e5 267 call(0x1040)
0x14e5 268 goto 263 @ 0x14ea
int64_t _fini():
0x14f4 0 rsp = rsp - 8
0x14f8 1 rsp = rsp + 8
0x14fc 2 <return> jump(pop)
| POJ_50 |
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 {"UAWAVAUATSHh"}
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 - 0x268
0x1181 7 rdi = rsp + 0x10 {var_288}
0x1186 8 r12d = 0
0x1189 9 edx = 0x258 {" "}
0x118e 10 esi = 0
0x1190 11 call(0x1040)
0x1195 12 rdi = 0x2004 {"%d"}
0x119c 13 rsi = rsp + 0xc {var_28c}
0x11a1 14 eax = 0
0x11a3 15 call(0x1050)
0x11a8 16 rbx = sx.q([rsp + 0xc {var_28c}].d)
0x11ad 17 rdi = rbx
0x11b0 18 rdi = rdi << 5
0x11b4 19 call(0x1060)
0x11b9 20 r14 = rax
0x11bf 21 if (rbx s<= 0) then 22 @ 0x1238 else 24 @ 0x11c1
0x1238 22 eax = 0x41 {""}
0x123d 23 goto 28 @ 0x1240
0x11c1 24 rbp = r14 + 5
0x11c5 25 r15 = 0x2007 {"%d %s"}
0x11cc 26 r13d = 0
0x11cf 27 goto 31 @ 0x11f2
0x1240 28 ecx = [rsp + (rax << 2) + 0x10].d
0x1244 29 cond:0 = r12d s< ecx
0x1247 30 if (r12d s< ecx) then 42 else 44 @ 0x124b
0x11f2 31 rbx = r13
0x11f5 32 rbx = rbx << 5
0x11f9 33 rsi = r14 + rbx
0x11fd 34 rdx = r14 + rbx
0x1201 35 rdx = rdx + 4
0x1205 36 rdi = r15
0x1208 37 eax = 0
0x120a 38 call(0x1050)
0x120f 39 al = [r14 + rbx + 4].b
0x1214 40 ebx = 0
0x121b 41 if (al == 0) then 45 @ 0x11e0 else 49 @ 0x121d
0x1247 42 r12d = ecx
0x1247 43 goto 44 @ 0x124b
0x124b 44 if (cond:0) then 51 else 53 @ 0x124e
0x11e0 45 r13 = r13 + 1
0x11e4 46 rax = sx.q([rsp + 0xc {var_28c}].d)
0x11e9 47 rbp = rbp + 0x20
0x11f0 48 if (r13 s>= rax) then 22 @ 0x1238 else 31 @ 0x11f2
0x121d 49 ebx = 0
0x121f 50 goto 55 @ 0x1220
0x124b 51 ebx = eax
0x124b 52 goto 53 @ 0x124e
0x124e 53 rax = rax + 1
0x1256 54 if (rax != 0x5b) then 28 @ 0x1240 else 60 @ 0x1258
0x1220 55 rax = sx.q(al)
0x1224 56 [rsp + (rax << 2) + 0x10].d = [rsp + (rax << 2) + 0x10].d + 1
0x1229 57 eax = zx.d([rbp + rbx].b)
0x122e 58 rbx = rbx + 1
0x1234 59 if (al != 0) then 55 @ 0x1220 else 69 @ 0x1236
0x1258 60 rdi = 0x200d {"%c\n"}
0x125f 61 esi = ebx
0x1261 62 eax = 0
0x1263 63 call(0x1030)
0x1268 64 rdi = 0x2011 {"%d\n"}
0x126f 65 esi = r12d
0x1272 66 eax = 0
0x1274 67 call(0x1030)
0x127e 68 if ([rsp + 0xc {var_28c}].d s<= 0) then 70 @ 0x12f8 else 78 @ 0x1280
0x1236 69 goto 45 @ 0x11e0
0x12f8 70 rsp = rsp + 0x268
0x12ff 71 rbx = pop
0x1300 72 r12 = pop
0x1302 73 r13 = pop
0x1304 74 r14 = pop
0x1306 75 r15 = pop
0x1308 76 rbp = pop
0x1309 77 <return> jump(pop)
0x1280 78 r12 = r14
0x1283 79 r12 = r12 + 5
0x1287 80 r15 = 0x2011 {"%d\n"}
0x128e 81 ebp = 1
0x1293 82 r13d = 0
0x1296 83 goto 84 @ 0x12b2
0x12b2 84 rax = r13
0x12b5 85 rax = rax << 5
0x12b9 86 dl = [r14 + rax + 4].b
0x12be 87 ecx = 0
0x12c5 88 if (dl == 0) then 89 @ 0x12e6 else 90 @ 0x12c7
0x12e6 89 if (ecx != 1) then 93 @ 0x12a0 else 97 @ 0x12e8
0x12c7 90 ecx = 0
0x12c9 91 rsi = r12
0x12cc 92 goto 102 @ 0x12d0
0x12a0 93 r13 = r13 + 1
0x12a4 94 rax = sx.q([rsp + 0xc {var_28c}].d)
0x12a9 95 r12 = r12 + 0x20
0x12b0 96 if (r13 s>= rax) then 70 @ 0x12f8 else 84 @ 0x12b2
0x12e8 97 esi = [r14 + rax].d
0x12ec 98 rdi = r15
0x12ef 99 eax = 0
0x12f1 100 call(0x1030)
0x12f6 101 goto 93 @ 0x12a0
0x12d0 102 edx = sx.d(dl)
0x12d5 103 if (ebx == edx) then 104 else 106 @ 0x12d8
0x12d5 104 ecx = ebp
0x12d5 105 goto 106 @ 0x12d8
0x12d8 106 edx = zx.d([rsi].b)
0x12db 107 rsi = rsi + 1
0x12e1 108 if (dl != 0) then 102 @ 0x12d0 else 89 @ 0x12e6
int64_t _fini():
0x1310 0 rsp = rsp - 8
0x1314 1 rsp = rsp + 8
0x1318 2 <return> jump(pop)
| POJ_2 |
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 - 0x12e8
0x1161 7 rdi = 0x2004 {"%d%d"}
0x1168 8 rsi = rsp + 0xc {var_130c}
0x116d 9 rdx = rsp + 8 {var_1310}
0x1172 10 eax = 0
0x1174 11 call(0x1040)
0x1179 12 edx = [rsp + 0xc {var_130c}].d
0x117f 13 if (edx s<= 0) then 14 @ 0x14c1 else 23 @ 0x1185
0x14c1 14 eax = 0
0x14c3 15 rsp = rsp + 0x12e8
0x14ca 16 rbx = pop
0x14cb 17 r12 = pop
0x14cd 18 r13 = pop
0x14cf 19 r14 = pop
0x14d1 20 r15 = pop
0x14d3 21 rbp = pop
0x14d4 22 <return> jump(pop)
0x1185 23 r15 = rsp + 0x20 {var_12f8}
0x118a 24 eax = [rsp + 8 {var_1310}].d
0x118e 25 r14 = 0x2006 {"%d"}
0x1195 26 r12d = 0
0x1198 27 goto 28 @ 0x11b2
0x11b2 28 if (eax s<= 0) then 29 @ 0x11a0 else 33 @ 0x11b4
0x11a0 29 r12 = r12 + 1
0x11a4 30 rcx = sx.q(edx)
0x11a7 31 r15 = r15 + 0x50
0x11ae 32 if (r12 s>= rcx) then 36 @ 0x11e7 else 28 @ 0x11b2
0x11b4 33 rbx = r15
0x11b7 34 ebp = 0
0x11b9 35 goto 37 @ 0x11c0
0x11e7 36 if (edx s<= 0) then 14 @ 0x14c1 else 45 @ 0x11ed
0x11c0 37 rdi = r14
0x11c3 38 rsi = rbx
0x11c6 39 eax = 0
0x11c8 40 call(0x1040)
0x11cd 41 rbp = rbp + 1
0x11d1 42 rax = sx.q([rsp + 8 {var_1310}].d)
0x11d6 43 rbx = rbx + 4
0x11dd 44 if (rbp s< rax) then 37 @ 0x11c0 else 66 @ 0x11df
0x11ed 45 ecx = [rsp + 0x20 {var_12f8}].d
0x11f1 46 cond:0 = ecx s< [rsp + 0x24 {var_12f4}].d
0x11f5 47 eax = [rsp + 8 {var_1310}].d
0x11f9 48 bl = cond:0
0x11fc 49 cond:1 = ecx s< [rsp + 0x70 {var_12a8}].d
0x1200 50 ecx = (rax - 1).d
0x1203 51 r9b = cond:1
0x1207 52 r9b = r9b | bl
0x120a 53 esi = (rdx - 1).d
0x120d 54 edx = edx
0x120f 55 [rsp + 0x18 {var_1300}].q = rdx
0x1214 56 rdx = rsi + (rsi << 2)
0x1218 57 rdx = rdx << 4
0x121c 58 r15 = rsp + rdx
0x1220 59 r15 = r15 + 0x20
0x1224 60 r11 = r15 + (rcx << 2)
0x1228 61 rdx = rcx - 1
0x122c 62 [rsp + 0x10 {var_1308_1}].q = rdx
0x1231 63 edx = 0
0x1233 64 r12d = 0
0x1236 65 goto 68 @ 0x1250
0x11df 66 edx = [rsp + 0xc {var_130c}].d
0x11e3 67 goto 29 @ 0x11a0
0x1250 68 if (eax s<= 0) then 69 @ 0x1480 else 72 @ 0x1256
0x1480 69 rdx = rdx + 1
0x1484 70 r14 = rdx
0x1487 71 goto 83 @ 0x1248
0x1256 72 r14 = rdx + 1
0x125a 73 rdi = rdx + (rdx << 2)
0x125e 74 rdi = rdi << 4
0x1262 75 rbx = rsp + rdi
0x1266 76 rbx = rbx + 0x20
0x126a 77 r8 = rbx + (rcx << 2)
0x126e 78 r8 = r8 - 0x50
0x1272 79 rdi = [rsp + 0x10 {var_1308_1}].q
0x1277 80 r13 = rbx + (rdi << 2)
0x127b 81 ebp = 0
0x127d 82 goto 84 @ 0x12a4
0x1248 83 if (r14 == [rsp + 0x18 {var_1300}].q) then 85 @ 0x148f else 68 @ 0x1250
0x12a4 84 if (rdx == 0) then 86 @ 0x12f3 else 87 @ 0x12a9
0x148f 85 if (r12d s<= 0) then 14 @ 0x14c1 else 88 @ 0x1491
0x12f3 86 if (rdx == 0) then 92 @ 0x1341 else 93 @ 0x12f8
0x12a9 87 if (rbp == 0) then 86 @ 0x12f3 else 94 @ 0x12ae
0x1491 88 ebp = r12d
0x1494 89 r14 = 0x2009 {"%d %d\n"}
0x149b 90 ebx = 0
0x149d 91 goto 95 @ 0x14a0
0x1341 92 if (rbp == 0) then 102 @ 0x13a0 else 103 @ 0x1346
0x12f8 93 if (rdx != rsi) then 104 @ 0x1333 else 105 @ 0x12fd
0x12ae 94 if (rdx == rsi) then 93 @ 0x12f8 else 106 @ 0x12b3
0x14a0 95 esi = [rsp + (rbx << 3) + 0x660].d
0x14a7 96 edx = [rsp + (rbx << 3) + 0x664].d
0x14ae 97 rdi = r14
0x14b1 98 eax = 0
0x14b3 99 call(0x1030)
0x14b8 100 rbx = rbx + 1
0x14bf 101 if (rbp != rbx) then 95 @ 0x14a0 else 14 @ 0x14c1
0x13a0 102 if (r9b == 0) then 107 @ 0x1461 else 110 @ 0x13a9
0x1346 103 if (rcx != rbp) then 111 @ 0x1423 else 113 @ 0x134c
0x1333 104 if (rbp != 0) then 115 @ 0x13e3 else 116 @ 0x1339
0x12fd 105 if (rbp == 0) then 117 @ 0x13ab else 119 @ 0x1306
0x12b3 106 if (rcx == rbp) then 93 @ 0x12f8 else 120 @ 0x12b5
0x1461 107 rdi = sx.q(r12d)
0x1464 108 [rsp + (rdi << 3) + 0x660].q = 0
0x1470 109 goto 122 @ 0x1294
0x13a9 110 if (rdx != rsi) then 124 @ 0x13c0 else 117 @ 0x13ab
0x1423 111 edi = [rsp + (rbp << 2) + 0x20].d
0x142b 112 if (edi s< [rsp + (rbp << 2) + 0x24].d) then 93 @ 0x12f8 else 126 @ 0x1435
0x134c 113 edi = [rsp + (rcx << 2) + 0x20].d
0x1354 114 if (edi s< [rsp + (rcx << 2) + 0x1c].d) then 93 @ 0x12f8 else 127 @ 0x135a
0x13e3 115 if (rcx != rbp) then 128 @ 0x1298 else 130 @ 0x13e9
0x1339 116 goto 124 @ 0x13c0
0x13ab 117 edi = [rbx].d
0x13b0 118 if (edi s< [rbx + 4].d) then 124 @ 0x13c0 else 132 @ 0x13b5
0x1306 119 if (rcx != rbp) then 133 @ 0x136f else 135 @ 0x1308
0x12b5 120 r10d = [rbx + (rbp << 2)].d
0x12be 121 if (r10d s< [rbx + (rbp << 2) + 0x50].d) then 93 @ 0x12f8 else 137 @ 0x12c5
0x1294 122 r12d = r12d + 1
0x1294 123 goto 128 @ 0x1298
0x13c0 124 edi = [rbx].d
0x13c5 125 if (edi s< [rbx + 4].d) then 115 @ 0x13e3 else 138 @ 0x13ca
0x1435 126 if (edi s< [rsp + (rbp << 2) + 0x1c].d) then 93 @ 0x12f8 else 139 @ 0x143f
0x135a 127 if (edi s< [rsp + (rcx << 2) + 0x70].d) then 93 @ 0x12f8 else 140 @ 0x135c
0x1298 128 rbp = rbp + 1
0x129f 129 if (rax == rbp) then 143 @ 0x1240 else 84 @ 0x12a4
0x13e9 130 edi = [r8 + 0x50].d
0x13f1 131 if (edi s< [r13].d) then 128 @ 0x1298 else 145 @ 0x13fe
0x13b5 132 if (edi s>= [rbx - 0x50].d) then 146 @ 0x127f else 150 @ 0x13bb
0x136f 133 edi = [r15 + (rbp << 2)].d
0x1378 134 if (edi s< [r15 + (rbp << 2) + 4].d) then 115 @ 0x13e3 else 151 @ 0x137f
0x1308 135 edi = [r11].d
0x130f 136 if (edi s< [r11 - 4].d) then 115 @ 0x13e3 else 152 @ 0x1318
0x12c5 137 if (r10d s< [rbx + (rbp << 2) - 0x50].d) then 93 @ 0x12f8 else 153 @ 0x12cc
0x13ca 138 if (edi s< [rbx + 0x50].d) then 115 @ 0x13e3 else 154 @ 0x13cf
0x143f 139 if (edi s< [rsp + (rbp << 2) + 0x70].d) then 93 @ 0x12f8 else 155 @ 0x1445
0x135c 140 rdi = sx.q(r12d)
0x135f 141 [rsp + (rdi << 3) + 0x660].d = 0
0x136a 142 goto 159 @ 0x1417
0x1240 143 rdx = r14
0x1240 144 goto 83 @ 0x1248
0x13fe 145 if (edi s< [r8 + 0xa0].d) then 128 @ 0x1298 else 161 @ 0x1407
0x127f 146 rdi = sx.q(r12d)
0x1282 147 [rsp + (rdi << 3) + 0x660].d = edx
0x1289 148 [rsp + (rdi << 3) + 0x664].d = 0
0x1289 149 goto 122 @ 0x1294
0x13bb 150 goto 124 @ 0x13c0
0x137f 151 if (edi s< [r15 + (rbp << 2) - 4].d) then 115 @ 0x13e3 else 162 @ 0x1385
0x1318 152 if (edi s< [r8].d) then 115 @ 0x13e3 else 163 @ 0x131e
0x12cc 153 if (r10d s< [rbx + (rbp << 2) + 4].d) then 93 @ 0x12f8 else 166 @ 0x12d3
0x13cf 154 if (edi s>= [rbx - 0x50].d) then 146 @ 0x127f else 167 @ 0x13df
0x1445 155 r12 = sx.q(r12d)
0x1448 156 [rsp + (r12 << 3) + 0x660].d = 0
0x1454 157 [rsp + (r12 << 3) + 0x664].d = ebp
0x145c 158 goto 122 @ 0x1294
0x1417 159 [rsp + (rdi << 3) + 0x664].d = ecx
0x141e 160 goto 122 @ 0x1294
0x1407 161 if (edi s< [r8].d) then 128 @ 0x1298 else 168 @ 0x140d
0x1385 162 if (edi s< [rbx + (rbp << 2) - 0x50].d) then 115 @ 0x13e3 else 171 @ 0x1387
0x131e 163 rdi = sx.q(r12d)
0x1321 164 [rsp + (rdi << 3) + 0x660].d = esi
0x1328 165 goto 159 @ 0x1417
0x12d3 166 if (r10d s< [rbx + (rbp << 2) - 4].d) then 93 @ 0x12f8 else 175 @ 0x12d5
0x13df 167 goto 115 @ 0x13e3
0x140d 168 rdi = sx.q(r12d)
0x1410 169 [rsp + (rdi << 3) + 0x660].d = edx
0x1410 170 goto 159 @ 0x1417
0x1387 171 rdi = sx.q(r12d)
0x138a 172 [rsp + (rdi << 3) + 0x660].d = esi
0x1391 173 [rsp + (rdi << 3) + 0x664].d = ebp
0x1398 174 goto 122 @ 0x1294
0x12d5 175 rdi = sx.q(r12d)
0x12d8 176 [rsp + (rdi << 3) + 0x660].d = edx
0x12df 177 [rsp + (rdi << 3) + 0x664].d = ebp
0x12e6 178 goto 122 @ 0x1294
int64_t _fini():
0x14dc 0 rsp = rsp - 8
0x14e0 1 rsp = rsp + 8
0x14e4 2 <return> jump(pop)
| POJ_72 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int32_t putchar(int32_t c):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"AWAVATSHX"}
0x108f 10 call([0x3ff8].q)
0x108f 11 noreturn
void deregister_tm_clones():
0x10a0 0 rdi = 0x4040 {""}
0x10a7 1 rax = 0x4040 {""}
0x10b1 2 if (rax == rdi) then 3 @ 0x10c8 else 4 @ 0x10b3
0x10c8 3 <return> jump(pop)
0x10b3 4 rax = [0x3fd8].q
0x10bd 5 if (rax == 0) then 3 @ 0x10c8 else 6 @ 0x10bf
0x10bf 6 <return> tailcall(rax)
void register_tm_clones():
0x10d0 0 rdi = 0x4040 {""}
0x10d7 1 rsi = 0x4040 {""}
0x10de 2 rsi = rsi - rdi
0x10e1 3 rax = rsi
0x10e4 4 rsi = rsi u>> 0x3f
0x10e8 5 rax = rax s>> 3
0x10ec 6 rsi = rsi + rax
0x10ef 7 rsi = rsi s>> 1
0x10f2 8 if (rsi == 0) then 9 @ 0x1108 else 10 @ 0x10f4
0x1108 9 <return> jump(pop)
0x10f4 10 rax = [0x3ff0].q
0x10fe 11 if (rax == 0) then 9 @ 0x1108 else 12 @ 0x1100
0x1100 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x111b 0 if ([0x4040].b != 0) then 1 @ 0x1148 else 2 @ 0x111d
0x1148 1 <return> jump(pop)
0x111d 2 push(rbp)
0x111e 3 cond:0 = [0x3fe0].q == 0
0x1126 4 rbp = rsp {__saved_rbp}
0x1129 5 if (cond:0) then 6 @ 0x1137 else 10 @ 0x112b
0x1137 6 call(0x10a0)
0x113c 7 [0x4040].b = 1
0x1143 8 rbp = pop
0x1144 9 <return> jump(pop)
0x112b 10 rdi = [0x4038].q
0x1132 11 call(0x1060)
0x1132 12 goto 6 @ 0x1137
int64_t frame_dummy():
0x1154 0 <return> tailcall(0x10d0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1160 0 push(r15)
0x1162 1 push(r14)
0x1164 2 push(r12)
0x1166 3 push(rbx)
0x1167 4 rsp = rsp - 0x658
0x116e 5 rdi = 0x2004 {"%d"}
0x1175 6 rsi = rsp + 0xc {var_66c}
0x117a 7 eax = 0
0x117c 8 call(0x1040)
0x1186 9 if ([rsp + 0xc {var_66c}].d s<= 0) then 10 @ 0x1351 else 14 @ 0x118c
0x1351 10 rdi = 0x200b {"Tie"}
0x1358 11 eax = 0
0x135a 12 call(0x1030)
0x135f 13 goto 19 @ 0x136b
0x118c 14 rbx = rsp + 0x10 {var_668}
0x1191 15 r14 = 0x2007 {"%d "}
0x1198 16 r15 = 0x2004 {"%d"}
0x119f 17 r12d = 0
0x11ac 18 goto 26 @ 0x11b0
0x136b 19 eax = 0
0x136d 20 rsp = rsp + 0x658
0x1374 21 rbx = pop
0x1375 22 r12 = pop
0x1377 23 r14 = pop
0x1379 24 r15 = pop
0x137b 25 <return> jump(pop)
0x11b0 26 rdi = r14
0x11b3 27 rsi = rbx
0x11b6 28 eax = 0
0x11b8 29 call(0x1040)
0x11bd 30 rsi = rbx + 4
0x11c1 31 rdi = r15
0x11c4 32 eax = 0
0x11c6 33 call(0x1040)
0x11cb 34 r12 = r12 + 1
0x11cf 35 rax = sx.q([rsp + 0xc {var_66c}].d)
0x11d4 36 rbx = rbx + 8
0x11db 37 if (r12 s< rax) then 26 @ 0x11b0 else 38 @ 0x11dd
0x11dd 38 esi = eax
0x11e1 39 if (esi s<= 0) then 10 @ 0x1351 else 40 @ 0x11ea
0x11ea 40 if (esi != 1) then 41 @ 0x1234 else 47 @ 0x11ec
0x1234 41 edi = esi
0x1236 42 edi = edi & 0xfffffffe
0x1239 43 edx = 0
0x123b 44 eax = 0
0x123d 45 ecx = 0
0x123f 46 goto 51 @ 0x125c
0x11ec 47 edx = 0
0x11ee 48 eax = 0
0x11f0 49 ecx = 0
0x11f0 50 goto 53 @ 0x11f6
0x125c 51 ebx = [rsp + (rdx << 3) + 0x10].d
0x1263 52 if (ebx == 2) then 54 @ 0x1280 else 56 @ 0x1268
0x11f6 53 if ((sil & 1) == 0) then 57 @ 0x133d else 59 @ 0x11fc
0x1280 54 ebx = [rsp + (rdx << 3) + 0x14].d
0x1287 55 if (ebx == 1) then 61 @ 0x12b0 else 63 @ 0x128b
0x1268 56 if (ebx == 1) then 64 @ 0x1290 else 66 @ 0x126c
0x133d 57 cond:0 = ecx != eax
0x133f 58 if (ecx s>= eax) then 67 @ 0x134f else 68 @ 0x1341
0x11fc 59 esi = [rsp + (rdx << 3) + 0x10].d
0x1202 60 if (esi == 0) then 70 @ 0x131d else 72 @ 0x120b
0x12b0 61 eax = eax + 1
0x12b0 62 goto 73 @ 0x12b3
0x128b 63 if (ebx == 0) then 75 @ 0x129d else 77 @ 0x128d
0x1290 64 ebx = [rsp + (rdx << 3) + 0x14].d
0x1296 65 if (ebx == 0) then 61 @ 0x12b0 else 78 @ 0x129b
0x126c 66 if (ebx != 0) then 73 @ 0x12b3 else 79 @ 0x126e
0x134f 67 if (cond:0) then 81 @ 0x1361 else 10 @ 0x1351
0x1341 68 edi = 0x42 {""}
0x1346 69 goto 83 @ 0x1366
0x131d 70 edx = [rsp + (rdx << 3) + 0x14].d
0x1324 71 if (edx == 1) then 85 @ 0x133a else 87 @ 0x1329
0x120b 72 if (esi == 1) then 88 @ 0x132d else 90 @ 0x1214
0x12b3 73 ebx = [rsp + (rdx << 3) + 0x18].d
0x12b9 74 if (ebx == 0) then 91 @ 0x12e0 else 93 @ 0x12be
0x129d 75 ecx = ecx + 1
0x12a0 76 goto 73 @ 0x12b3
0x128d 77 goto 73 @ 0x12b3
0x129b 78 if (ebx != 2) then 73 @ 0x12b3 else 75 @ 0x129d
0x126e 79 ebx = [rsp + (rdx << 3) + 0x14].d
0x1275 80 if (ebx == 1) then 75 @ 0x129d else 94 @ 0x127a
0x1361 81 edi = 0x41 {""}
0x1361 82 goto 83 @ 0x1366
0x1366 83 call(0x1050)
0x1366 84 goto 19 @ 0x136b
0x133a 85 ecx = ecx + 1
0x133a 86 goto 57 @ 0x133d
0x1329 87 if (edx == 2) then 95 @ 0x1348 else 98 @ 0x132b
0x132d 88 edx = [rsp + (rdx << 3) + 0x14].d
0x1333 89 if (edx == 0) then 95 @ 0x1348 else 99 @ 0x1338
0x1214 90 if (esi != 2) then 57 @ 0x133d else 100 @ 0x121a
0x12e0 91 ebx = [rsp + (rdx << 3) + 0x1c].d
0x12e7 92 if (ebx == 1) then 102 @ 0x1315 else 104 @ 0x12ec
0x12be 93 if (ebx == 1) then 105 @ 0x1300 else 107 @ 0x12c3
0x127a 94 if (ebx == 2) then 61 @ 0x12b0 else 108 @ 0x127c
0x1348 95 eax = eax + 1
0x134b 96 cond:0 = ecx != eax
0x134d 97 if (ecx s< eax) then 68 @ 0x1341 else 67 @ 0x134f
0x132b 98 goto 57 @ 0x133d
0x1338 99 if (edx != 2) then 57 @ 0x133d else 85 @ 0x133a
0x121a 100 edx = [rsp + (rdx << 3) + 0x14].d
0x1220 101 if (edx == 0) then 85 @ 0x133a else 109 @ 0x1229
0x1315 102 ecx = ecx + 1
0x1318 103 goto 110 @ 0x1253
0x12ec 104 if (ebx == 2) then 112 @ 0x1250 else 114 @ 0x12f2
0x1300 105 ebx = [rsp + (rdx << 3) + 0x1c].d
0x1306 106 if (ebx == 0) then 112 @ 0x1250 else 115 @ 0x130f
0x12c3 107 if (ebx != 2) then 110 @ 0x1253 else 116 @ 0x12c5
0x127c 108 goto 73 @ 0x12b3
0x1229 109 if (edx == 1) then 95 @ 0x1348 else 118 @ 0x122f
0x1253 110 rdx = rdx + 2
0x125a 111 if (rdi == rdx) then 53 @ 0x11f6 else 51 @ 0x125c
0x1250 112 eax = eax + 1
0x1250 113 goto 110 @ 0x1253
0x12f2 114 goto 110 @ 0x1253
0x130f 115 if (ebx != 2) then 110 @ 0x1253 else 102 @ 0x1315
0x12c5 116 ebx = [rsp + (rdx << 3) + 0x1c].d
0x12cb 117 if (ebx == 0) then 102 @ 0x1315 else 119 @ 0x12d0
0x122f 118 goto 57 @ 0x133d
0x12d0 119 if (ebx == 1) then 112 @ 0x1250 else 120 @ 0x12d6
0x12d6 120 goto 110 @ 0x1253
int64_t _fini():
0x1380 0 rsp = rsp - 8
0x1384 1 rsp = rsp + 8
0x1388 2 <return> jump(pop)
| POJ_65 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t 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 {"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 - 0x510
0x116c 4 rdi = 0x2004 {"%d"}
0x1173 5 rsi = rsp + 0xc {var_51c}
0x1178 6 eax = 0
0x117a 7 call(0x1040)
0x117f 8 xmm6 = _mm_xor_pd(xmm6, xmm6)
0x1183 9 cond:0 = [rsp + 0xc {var_51c}].d s<= 0
0x1188 10 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x118c 11 if (cond:0) then 12 @ 0x1281 else 19 @ 0x1192
0x1281 12 flag:p = is_unordered.q(xmm0.q, xmm6.q)
0x1281 13 flag:c = xmm0.q f< xmm6.q | is_unordered.q(xmm0.q, xmm6.q)
0x1281 14 flag:z = xmm0.q f== xmm6.q | is_unordered.q(xmm0.q, xmm6.q)
0x1281 15 flag:s = 0
0x1281 16 flag:o = 0
0x1281 17 flag:a = 0
0x1285 18 if (flag:c) then 23 @ 0x128d else 25 @ 0x1287
0x1192 19 rbx = rsp + 0x10 {var_518}
0x1197 20 r14 = 0x2007 {"%lf%lf"}
0x119e 21 r15d = 0
0x11ab 22 goto 27 @ 0x11b0
0x128d 23 call(0x1050)
0x128d 24 goto 36 @ 0x1292
0x1287 25 xmm0 = _mm_sqrt_sd(xmm0.q)
0x128b 26 goto 36 @ 0x1292
0x11b0 27 rdx = rbx + 8
0x11b4 28 rdi = r14
0x11b7 29 rsi = rbx
0x11ba 30 eax = 0
0x11bc 31 call(0x1040)
0x11c1 32 r15 = r15 + 1
0x11c5 33 rax = sx.q([rsp + 0xc {var_51c}].d)
0x11ca 34 rbx = rbx + 0x10
0x11d1 35 if (r15 s< rax) then 27 @ 0x11b0 else 45 @ 0x11d3
0x1292 36 rdi = 0x200e {"%.4f\n"}
0x1299 37 al = 1
0x129b 38 call(0x1030)
0x12a0 39 eax = 0
0x12a2 40 rsp = rsp + 0x510
0x12a9 41 rbx = pop
0x12aa 42 r14 = pop
0x12ac 43 r15 = pop
0x12ae 44 <return> jump(pop)
0x11d3 45 ebx = eax
0x11d5 46 xmm0 = _mm_xor_pd(xmm0, xmm0)
0x11d9 47 cond:1 = ebx s< 2
0x11dc 48 xmm6 = _mm_xor_pd(xmm6, xmm6)
0x11e0 49 if (cond:1) then 12 @ 0x1281 else 50 @ 0x11e6
0x11e6 50 r8d = (rbx - 1).d
0x11ea 51 rcx = rsp + 0x28 {var_500}
0x11ef 52 xmm1 = _mm_xor_pd(xmm1, xmm1)
0x11f3 53 esi = 1
0x11f8 54 edi = 0
0x11fa 55 goto 56 @ 0x1215
0x1215 56 rax = rdi
0x1218 57 rdi = rdi + 1
0x121f 58 if (rdi u>= rbx) then 59 @ 0x1200 else 61 @ 0x1221
0x1200 59 xmm0 = xmm1
0x1200 60 goto 68 @ 0x1204
0x1221 61 rax = rax << 4
0x1225 62 xmm2 = zx.o([rsp + rax + 0x10].q)
0x122b 63 xmm3 = zx.o([rsp + rax + 0x18].q)
0x1231 64 rax = rbx
0x1234 65 rdx = rcx
0x1237 66 xmm0 = xmm1
0x123b 67 goto 72 @ 0x1240
0x1204 68 rsi = rsi + 1
0x1208 69 rcx = rcx + 0x10
0x120c 70 xmm1 = xmm0
0x1213 71 if (rdi == r8) then 12 @ 0x1281 else 56 @ 0x1215
0x1240 72 xmm4 = xmm2
0x1244 73 xmm4.q = xmm4.q f- fconvert.t([rdx - 8].q)
0x1249 74 xmm5 = xmm3
0x124d 75 xmm5.q = xmm5.q f- fconvert.t([rdx].q)
0x1251 76 xmm5.q = xmm5.q f* xmm5.q
0x1255 77 xmm4.q = xmm4.q f* xmm4.q
0x1259 78 xmm4.q = xmm4.q f+ xmm5.q
0x125d 79 xmm0 = _mm_cmpeq_sd(xmm0.q, xmm4.q, 2)
0x1262 80 xmm4 = _mm_and_pd(xmm4, xmm0)
0x1266 81 xmm0 = _mm_andnot_pd(xmm0, xmm1)
0x126a 82 xmm0 = _mm_or_pd(xmm0, xmm4)
0x126e 83 rdx = rdx + 0x10
0x1272 84 rax = rax - 1
0x1276 85 xmm1 = xmm0
0x127d 86 if (rsi != rax) then 72 @ 0x1240 else 87 @ 0x127f
0x127f 87 goto 68 @ 0x1204
int64_t _fini():
0x12b4 0 rsp = rsp - 8
0x12b8 1 rsp = rsp + 8
0x12bc 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 {"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 - 0x118
0x1161 7 rdi = 0x2004 {"%d,%d"}
0x1168 8 rsi = rsp + 8 {var_140}
0x116d 9 rdx = rsp + 4 {var_144}
0x1172 10 eax = 0
0x1174 11 call(0x1040)
0x1179 12 r8d = [rsp + 8 {var_140}].d
0x1181 13 if (r8d s<= 0) then 14 @ 0x1416 else 18 @ 0x1187
0x1416 14 rdi = 0x2011 {"No"}
0x141d 15 eax = 0
0x141f 16 call(0x1030)
0x141f 17 goto 23 @ 0x1424
0x1187 18 r14 = rsp + 0x10 {var_138}
0x118c 19 eax = [rsp + 4 {var_144}].d
0x1190 20 r12 = 0x2007 {"%d"}
0x1197 21 r15d = 0
0x119a 22 goto 31 @ 0x11b2
0x1424 23 rsp = rsp + 0x118
0x142b 24 rbx = pop
0x142c 25 r12 = pop
0x142e 26 r13 = pop
0x1430 27 r14 = pop
0x1432 28 r15 = pop
0x1434 29 rbp = pop
0x1435 30 <return> jump(pop)
0x11b2 31 if (eax s<= 0) then 32 @ 0x11a0 else 36 @ 0x11b4
0x11a0 32 r15 = r15 + 1
0x11a4 33 rcx = sx.q(r8d)
0x11a7 34 r14 = r14 + 0x20
0x11ae 35 if (r15 s>= rcx) then 39 @ 0x11e9 else 31 @ 0x11b2
0x11b4 36 rbp = r14
0x11b7 37 ebx = 0
0x11b9 38 goto 40 @ 0x11c0
0x11e9 39 if (r8d s<= 0) then 14 @ 0x1416 else 48 @ 0x11ef
0x11c0 40 rdi = r12
0x11c3 41 rsi = rbp
0x11c6 42 eax = 0
0x11c8 43 call(0x1040)
0x11cd 44 rbx = rbx + 1
0x11d1 45 rax = sx.q([rsp + 4 {var_144}].d)
0x11d6 46 rbp = rbp + 4
0x11dd 47 if (rbx s< rax) then 40 @ 0x11c0 else 54 @ 0x11df
0x11ef 48 r12 = rsp + 0x10 {var_138}
0x11f4 49 r15d = 0
0x11f7 50 [rsp + 0xc {var_13c_1}].d = 0
0x11ff 51 ebp = 0
0x1201 52 ebx = 0
0x1203 53 goto 56 @ 0x1224
0x11df 54 r8d = [rsp + 8 {var_140}].d
0x11e4 55 goto 32 @ 0x11a0
0x1224 56 rax = r15
0x1227 57 rax = rax << 5
0x122b 58 r14d = [rsp + rax + 0x10].d
0x1230 59 eax = [rsp + 4 {var_144}].d
0x1236 60 if (eax s<= 0) then 61 @ 0x1280 else 64 @ 0x123b
0x1280 61 r9 = sx.q(ebp)
0x1283 62 edx = [rsp + (r9 << 2) + 0x10].d
0x128b 63 if (r8d s<= 0) then 65 @ 0x1303 else 66 @ 0x1291
0x123b 64 if (eax == 1) then 61 @ 0x1280 else 67 @ 0x123d
0x1303 65 if (edx != r14d) then 73 @ 0x1210 else 77 @ 0x1309
0x1291 66 if (r8d == 1) then 65 @ 0x1303 else 85 @ 0x1293
0x123d 67 r9 = rax - 1
0x1241 68 rax = rax - 2
0x1245 69 edx = r9d
0x1248 70 edx = edx & 3
0x124b 71 esi = 1
0x1254 72 if (rax u>= 3) then 92 @ 0x132a else 96 @ 0x125d
0x1210 73 r15 = r15 + 1
0x1214 74 rax = sx.q(r8d)
0x1217 75 r12 = r12 + 0x20
0x121e 76 if (r15 s>= rax) then 97 @ 0x1414 else 56 @ 0x1224
0x1309 77 [rsp + 0xc {var_13c_1}].d = [rsp + 0xc {var_13c_1}].d + 1
0x130e 78 rdi = 0x200a {"%d+%d\n"}
0x1315 79 esi = ebx
0x1317 80 edx = ebp
0x1319 81 eax = 0
0x131b 82 call(0x1030)
0x1320 83 r8d = [rsp + 8 {var_140}].d
0x1325 84 goto 73 @ 0x1210
0x1293 85 eax = r8d
0x1296 86 r11 = rax - 1
0x129a 87 rax = rax - 2
0x129e 88 r10d = r11d
0x12a1 89 r10d = r10d & 3
0x12a5 90 edi = 1
0x12ae 91 if (rax u>= 3) then 98 @ 0x13a2 else 104 @ 0x12b7
0x132a 92 r9 = r9 & 0xfffffffffffffffc
0x132e 93 esi = 1
0x1333 94 edi = 0
0x1335 95 goto 105 @ 0x1354
0x125d 96 if (rdx == 0) then 61 @ 0x1280 else 108 @ 0x125f
0x1414 97 if ([rsp + 0xc {var_13c_1}].d != 0) then 23 @ 0x1424 else 14 @ 0x1416
0x13a2 98 r11 = r11 & 0xfffffffffffffffc
0x13a6 99 rax = rsp + 0x10 {var_138}
0x13ab 100 rax = rax + (r9 << 2)
0x13af 101 rax = rax + 0x80
0x13b5 102 edi = 1
0x13ba 103 goto 109 @ 0x13e6
0x12b7 104 if (r10 == 0) then 65 @ 0x1303 else 112 @ 0x12b9
0x1354 105 eax = [r12 + (rsi << 2)].d
0x1358 106 cond:0 = eax s> r14d
0x135b 107 if (eax s> r14d) then 120 else 122 @ 0x135f
0x125f 108 goto 124 @ 0x1260
0x13e6 109 ecx = [rax - 0x60].d
0x13e9 110 cond:1 = ecx s< edx
0x13eb 111 if (ecx s< edx) then 127 else 129 @ 0x13ee
0x12b9 112 rax = rdi
0x12bc 113 rax = rax << 5
0x12c0 114 rax = rax + rsp
0x12c3 115 rax = rax + 0x10
0x12c7 116 rax = rax + (r9 << 2)
0x12cb 117 r10 = r10 << 5
0x12cf 118 esi = 0
0x12db 119 goto 131 @ 0x12e0
0x135b 120 r14d = eax
0x135b 121 goto 122 @ 0x135f
0x135f 122 eax = [r12 + (rsi << 2) + 4].d
0x1364 123 if (cond:0) then 134 else 136 @ 0x136a
0x1260 124 eax = [r12 + (rsi << 2)].d
0x1264 125 cond:2 = eax s> r14d
0x1267 126 if (eax s> r14d) then 137 else 139 @ 0x126b
0x13eb 127 edx = ecx
0x13eb 128 goto 129 @ 0x13ee
0x13ee 129 esi = [rax - 0x40].d
0x13f1 130 if (cond:1) then 140 else 142 @ 0x13f6
0x12e0 131 ecx = [rax + rsi].d
0x12e3 132 cond:3 = ecx s< edx
0x12e5 133 if (ecx s< edx) then 143 else 145 @ 0x12e8
0x1364 134 ebp = esi
0x1364 135 goto 136 @ 0x136a
0x136a 136 if (eax s> r14d) then 146 @ 0x1380 else 148 @ 0x136c
0x1267 137 r14d = eax
0x1267 138 goto 139 @ 0x126b
0x126b 139 if (cond:2) then 150 else 152 @ 0x126e
0x13f1 140 ebx = edi
0x13f1 141 goto 142 @ 0x13f6
0x13f6 142 if (esi s< edx) then 156 @ 0x1400 else 158 @ 0x13f8
0x12e5 143 edx = ecx
0x12e5 144 goto 145 @ 0x12e8
0x12e8 145 if (cond:3) then 160 else 162 @ 0x12eb
0x1380 146 ebp = (rsi + 1).d
0x1380 147 goto 165 @ 0x1383
0x136c 148 eax = r14d
0x136f 149 goto 165 @ 0x1383
0x126b 150 ebp = esi
0x126b 151 goto 152 @ 0x126e
0x126e 152 rsi = rsi + 1
0x1272 153 temp0.q = rdx
0x1272 154 rdx = rdx - 1
0x1276 155 if (temp0.q != 1) then 124 @ 0x1260 else 167 @ 0x1278
0x1400 156 ebx = (rdi + 1).d
0x1400 157 goto 168 @ 0x1403
0x13f8 158 esi = edx
0x13fa 159 goto 168 @ 0x1403
0x12e8 160 ebx = edi
0x12e8 161 goto 162 @ 0x12eb
0x12eb 162 edi = edi + 1
0x12ee 163 rsi = rsi + 0x20
0x12f5 164 if (r10 != rsi) then 131 @ 0x12e0 else 170 @ 0x12f7
0x1383 165 ecx = [r12 + (rsi << 2) + 8].d
0x138a 166 if (ecx s> eax) then 171 @ 0x1390 else 173 @ 0x138c
0x1278 167 goto 61 @ 0x1280
0x1403 168 edx = [rax - 0x20].d
0x1408 169 if (edx s>= esi) then 175 @ 0x13c0 else 177 @ 0x140a
0x12f7 170 goto 65 @ 0x1303
0x1390 171 ebp = (rsi + 2).d
0x1390 172 goto 179 @ 0x1393
0x138c 173 ecx = eax
0x138e 174 goto 179 @ 0x1393
0x13c0 175 edx = esi
0x13c0 176 goto 181 @ 0x13c2
0x140a 177 ebx = (rdi + 2).d
0x140d 178 goto 181 @ 0x13c2
0x1393 179 r14d = [r12 + (rsi << 2) + 0xc].d
0x139b 180 if (r14d s<= ecx) then 186 @ 0x1340 else 188 @ 0x139d
0x13c2 181 ecx = ebx
0x13c4 182 esi = [rax].d
0x13c6 183 r13 = rdi + 3
0x13ca 184 cond:4 = esi s>= edx
0x13cc 185 if (esi s< edx) then 190 else 192 @ 0x13cf
0x1340 186 r14d = ecx
0x1340 187 goto 194 @ 0x1343
0x139d 188 ebp = (rsi + 3).d
0x13a0 189 goto 194 @ 0x1343
0x13cc 190 edx = esi
0x13cc 191 goto 192 @ 0x13cf
0x13cf 192 ebx = r13d
0x13d2 193 if (cond:4) then 197 else 199 @ 0x13d5
0x1343 194 rsi = rsi + 4
0x1347 195 rdi = rdi + 4
0x134e 196 if (rdi == r9) then 96 @ 0x125d else 105 @ 0x1354
0x13d2 197 ebx = ecx
0x13d2 198 goto 199 @ 0x13d5
0x13d5 199 rdi = rdi + 4
0x13d9 200 rax = rax - -0x80
0x13e0 201 if (r13 == r11) then 104 @ 0x12b7 else 109 @ 0x13e6
int64_t _fini():
0x143c 0 rsp = rsp - 8
0x1440 1 rsp = rsp + 8
0x1444 2 <return> jump(pop)
| POJ_35 |
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 {"USH\n"}
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(rbx)
0x1172 2 rsp = rsp - 0xa98
0x1179 3 rdi = rsp {var_aa8}
0x117c 4 ebp = 0
0x117e 5 edx = 0x4b0 {"F"}
0x1183 6 esi = 0
0x1185 7 call(0x1040)
0x118a 8 rbx = rsp + 0x4b0 {var_5f8}
0x1192 9 rdi = rbx {var_5f8}
0x1195 10 eax = 0
0x1197 11 call(0x1060)
0x119c 12 rdi = rbx {var_5f8}
0x119f 13 call(0x1050)
0x11a9 14 if ((eax & 0x80000000) != 0) then 15 @ 0x11f1 else 17 @ 0x11ab
0x11f1 15 cond:0 = ebp s<= 1
0x11f4 16 if (ebp == 1) then 21 @ 0x122c else 25 @ 0x11f6
0x11ab 17 eax = eax + 1
0x11ae 18 ecx = 0
0x11b0 19 ebp = 0
0x11b2 20 goto 28 @ 0x11cc
0x122c 21 rdi = 0x2004 {"No"}
0x1233 22 eax = 0
0x1235 23 call(0x1030)
0x123a 24 goto 30 @ 0x127a
0x11f6 25 eax = [rsp {var_aa8}].d
0x11f9 26 ecx = 1
0x11fe 27 if (cond:0) then 34 @ 0x122a else 35 @ 0x1200
0x11cc 28 edx = sx.d([rsp + rcx + 0x4b0].b)
0x11d7 29 if (edx == 0x2c) then 39 @ 0x11c0 else 41 @ 0x11db
0x127a 30 rsp = rsp + 0xa98
0x1281 31 rbx = pop
0x1282 32 rbp = pop
0x1283 33 <return> jump(pop)
0x122a 34 if (ecx != ebp) then 42 @ 0x123e else 21 @ 0x122c
0x1200 35 edx = ebp
0x1202 36 ecx = 1
0x1207 37 esi = 1
0x120c 38 goto 43 @ 0x1210
0x11c0 39 ebp = ebp + 1
0x11c0 40 goto 47 @ 0x11c3
0x11db 41 if (dl == 0) then 39 @ 0x11c0 else 49 @ 0x11dd
0x123e 42 if (ebp s<= 0) then 56 @ 0x126a else 58 @ 0x1240
0x1210 43 edi = [rsp + (rsi << 2)].d
0x1213 44 ebx = 0
0x1215 45 cond:1 = edi s>= eax
0x1217 46 if (edi s>= eax) then 62 else 64 @ 0x121a
0x11c3 47 rcx = rcx + 1
0x11ca 48 if (rax == rcx) then 15 @ 0x11f1 else 28 @ 0x11cc
0x11dd 49 rsi = sx.q(ebp)
0x11e0 50 edi = [rsp + (rsi << 2)].d
0x11e3 51 edi = (rdi + (rdi << 2)).d
0x11e6 52 edx = (rdx + (rdi << 1)).d
0x11e9 53 edx = edx - 0x30
0x11ec 54 [rsp + (rsi << 2)].d = edx
0x11ef 55 goto 47 @ 0x11c3
0x126a 56 esi = 0
0x126a 57 goto 68 @ 0x126c
0x1240 58 ecx = ebp
0x1242 59 edx = 0
0x1244 60 esi = 0
0x1246 61 goto 72 @ 0x1250
0x1217 62 eax = edi
0x1217 63 goto 64 @ 0x121a
0x121a 64 bl = cond:1
0x121d 65 ecx = ecx + ebx
0x121f 66 rsi = rsi + 1
0x1226 67 if (rdx != rsi) then 43 @ 0x1210 else 34 @ 0x122a
0x126c 68 rdi = 0x2007 {"%d"}
0x1273 69 eax = 0
0x1275 70 call(0x1030)
0x1275 71 goto 30 @ 0x127a
0x1250 72 edi = [rsp + (rdx << 2)].d
0x1253 73 cond:2 = edi s< eax
0x1255 74 ebp = esi
0x1257 75 if (cond:2) then 76 else 78 @ 0x125c
0x1257 76 ebp = edi
0x1257 77 goto 78 @ 0x125c
0x125c 78 if (edi s> esi) then 79 else 81 @ 0x125f
0x125c 79 esi = ebp
0x125c 80 goto 81 @ 0x125f
0x125f 81 rdx = rdx + 1
0x1266 82 if (rcx != rdx) then 72 @ 0x1250 else 83 @ 0x1268
0x1268 83 goto 68 @ 0x126c
int64_t _fini():
0x1288 0 rsp = rsp - 8
0x128c 1 rsp = rsp + 8
0x1290 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)
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 = 0x2005 {"%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 << 2
0x1199 10 call(0x1060)
0x119e 11 [rbp - 0x10 {var_18}].q = rax
0x11a2 12 eax = [rbp - 0x20 {var_28}].d
0x11a5 13 [rbp - 0x24 {var_2c}].d = eax
0x11a8 14 [rbp - 0x14 {var_1c}].d = 0
0x11a8 15 goto 16 @ 0x11af
0x11af 16 eax = [rbp - 0x14 {var_1c}].d
0x11b5 17 if (eax s>= [rbp - 0x24 {var_2c}].d) then 18 @ 0x11e6 else 20 @ 0x11bb
0x11e6 18 [rbp - 0x14 {var_1c_1}].d = 0
0x11e6 19 goto 31 @ 0x11ed
0x11bb 20 rsi = [rbp - 0x10 {var_18}].q
0x11bf 21 rax = sx.q([rbp - 0x14 {var_1c}].d)
0x11c3 22 rax = rax << 2
0x11c7 23 rsi = rsi + rax
0x11ca 24 rdi = 0x2005 {"%d"}
0x11d1 25 al = 0
0x11d3 26 call(0x1050)
0x11d8 27 eax = [rbp - 0x14 {var_1c}].d
0x11db 28 eax = eax + 1
0x11de 29 [rbp - 0x14 {var_1c}].d = eax
0x11e1 30 goto 16 @ 0x11af
0x11ed 31 eax = [rbp - 0x14 {var_1c_1}].d
0x11f0 32 ecx = [rbp - 0x24 {var_2c}].d
0x11f3 33 ecx = ecx - 1
0x11f8 34 if (eax s>= ecx) then 35 @ 0x12a7 else 37 @ 0x11fe
0x12a7 35 [rbp - 0x14 {var_1c_2}].d = 0
0x12a7 36 goto 41 @ 0x12ae
0x11fe 37 eax = [rbp - 0x14 {var_1c_1}].d
0x1201 38 eax = eax + 1
0x1204 39 [rbp - 0x18 {var_20_1}].d = eax
0x1204 40 goto 43 @ 0x1207
0x12ae 41 eax = [rbp - 0x14 {var_1c_2}].d
0x12b4 42 if (eax s>= [rbp - 0x24 {var_2c}].d) then 45 @ 0x130e else 51 @ 0x12be
0x1207 43 eax = [rbp - 0x18 {var_20_1}].d
0x120d 44 if (eax s>= [rbp - 0x24 {var_2c}].d) then 52 @ 0x1294 else 53 @ 0x1213
0x130e 45 rdi = [rbp - 0x10 {var_18}].q
0x1312 46 call(0x1040)
0x1317 47 eax = 0
0x1319 48 rsp = rsp + 0x30
0x131d 49 rbp = pop
0x131e 50 <return> jump(pop)
0x12be 51 if ([rbp - 0x14 {var_1c_2}].d != 0) then 59 @ 0x12e2 else 66 @ 0x12c4
0x1294 52 goto 73 @ 0x1299
0x1213 53 rax = [rbp - 0x10 {var_18}].q
0x1217 54 rcx = sx.q([rbp - 0x14 {var_1c_1}].d)
0x121b 55 eax = [rax + (rcx << 2)].d
0x121e 56 rcx = [rbp - 0x10 {var_18}].q
0x1222 57 rdx = sx.q([rbp - 0x18 {var_20_1}].d)
0x1229 58 if (eax != [rcx + (rdx << 2)].d) then 77 @ 0x1281 else 78 @ 0x122f
0x12e2 59 rax = [rbp - 0x10 {var_18}].q
0x12e6 60 rcx = sx.q([rbp - 0x14 {var_1c_2}].d)
0x12ea 61 esi = [rax + (rcx << 2)].d
0x12ed 62 rdi = 0x2004 {",%d"}
0x12f4 63 al = 0
0x12f6 64 call(0x1030)
0x12f6 65 goto 81 @ 0x12fb
0x12c4 66 rax = [rbp - 0x10 {var_18}].q
0x12c8 67 rcx = sx.q([rbp - 0x14 {var_1c_2}].d)
0x12cc 68 esi = [rax + (rcx << 2)].d
0x12cf 69 rdi = 0x2005 {"%d"}
0x12d6 70 al = 0
0x12d8 71 call(0x1030)
0x12dd 72 goto 81 @ 0x12fb
0x1299 73 eax = [rbp - 0x14 {var_1c_1}].d
0x129c 74 eax = eax + 1
0x129f 75 [rbp - 0x14 {var_1c_1}].d = eax
0x12a2 76 goto 31 @ 0x11ed
0x1281 77 goto 82 @ 0x1286
0x122f 78 eax = [rbp - 0x18 {var_20_1}].d
0x1232 79 [rbp - 0x1c {var_24_1}].d = eax
0x1232 80 goto 86 @ 0x1235
0x12fb 81 goto 90 @ 0x1300
0x1286 82 eax = [rbp - 0x18 {var_20_1}].d
0x1289 83 eax = eax + 1
0x128c 84 [rbp - 0x18 {var_20_1}].d = eax
0x128f 85 goto 43 @ 0x1207
0x1235 86 eax = [rbp - 0x1c {var_24_1}].d
0x1238 87 ecx = [rbp - 0x24 {var_2c}].d
0x123b 88 ecx = ecx - 1
0x1240 89 if (eax s>= ecx) then 94 @ 0x126f else 101 @ 0x1246
0x1300 90 eax = [rbp - 0x14 {var_1c_2}].d
0x1303 91 eax = eax + 1
0x1306 92 [rbp - 0x14 {var_1c_2}].d = eax
0x1309 93 goto 41 @ 0x12ae
0x126f 94 eax = [rbp - 0x24 {var_2c}].d
0x1272 95 eax = eax - 1
0x1275 96 [rbp - 0x24 {var_2c}].d = eax
0x1278 97 eax = [rbp - 0x18 {var_20_1}].d
0x127b 98 eax = eax - 1
0x127e 99 [rbp - 0x18 {var_20_1}].d = eax
0x127e 100 goto 77 @ 0x1281
0x1246 101 rax = [rbp - 0x10 {var_18}].q
0x124a 102 ecx = [rbp - 0x1c {var_24_1}].d
0x124d 103 ecx = ecx + 1
0x1250 104 rcx = sx.q(ecx)
0x1253 105 edx = [rax + (rcx << 2)].d
0x1256 106 rax = [rbp - 0x10 {var_18}].q
0x125a 107 rcx = sx.q([rbp - 0x1c {var_24_1}].d)
0x125e 108 [rax + (rcx << 2)].d = edx
0x1261 109 eax = [rbp - 0x1c {var_24_1}].d
0x1264 110 eax = eax + 1
0x1267 111 [rbp - 0x1c {var_24_1}].d = eax
0x126a 112 goto 86 @ 0x1235
int64_t _fini():
0x1324 0 rsp = rsp - 8
0x1328 1 rsp = rsp + 8
0x132c 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)
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 - 0xa110
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 [rbp - 8 {var_10}].d = edi
0x1165 5 [rbp - 0x10 {var_18}].q = rsi
0x1169 6 [rbp - 0xa104 {var_a10c}].d = 0
0x1169 7 goto 8 @ 0x117a
0x117a 8 if ([rbp - 0xa104 {var_a10c}].d s>= 0x64) then 9 @ 0x120f else 11 @ 0x1180
0x120f 9 [rbp - 0xa104 {var_a10c_1}].d = 0
0x120f 10 goto 13 @ 0x1220
0x1180 11 [rbp - 0xa108 {var_a110_1}].d = 0
0x1180 12 goto 14 @ 0x1191
0x1220 13 if ([rbp - 0xa104 {var_a10c_1}].d s>= 0x64) then 15 @ 0x13d9 else 19 @ 0x1226
0x1191 14 if ([rbp - 0xa108 {var_a110_1}].d s>= 2) then 21 @ 0x11dc else 23 @ 0x1197
0x13d9 15 eax = 0
0x13db 16 rsp = rsp + 0xa110
0x13e2 17 rbp = pop
0x13e3 18 <return> jump(pop)
0x1226 19 rax = sx.q([rbp - 0xa104 {var_a10c_1}].d)
0x1235 20 if ([rbp + (rax << 3) - 0x330].d != 0) then 37 @ 0x1240 else 44 @ 0x123b
0x11dc 21 rax = sx.q([rbp - 0xa104 {var_a10c}].d)
0x11eb 22 if ([rbp + (rax << 3) - 0x32c].d != 0) then 45 @ 0x11f6 else 46 @ 0x11f1
0x1197 23 rax = sx.q([rbp - 0xa104 {var_a10c}].d)
0x119e 24 rsi = rbp - 0x330 {var_338}
0x11a5 25 rax = rax << 3
0x11a9 26 rsi = rsi + rax
0x11ac 27 rax = sx.q([rbp - 0xa108 {var_a110_1}].d)
0x11b3 28 rax = rax << 2
0x11b7 29 rsi = rsi + rax
0x11ba 30 rdi = 0x2004 {"%d"}
0x11c1 31 al = 0
0x11c3 32 call(0x1040)
0x11c8 33 eax = [rbp - 0xa108 {var_a110_1}].d
0x11ce 34 eax = eax + 1
0x11d1 35 [rbp - 0xa108 {var_a110_1}].d = eax
0x11d7 36 goto 14 @ 0x1191
0x1240 37 rcx = sx.q([rbp - 0xa104 {var_a10c_1}].d)
0x1247 38 rax = rbp - 0x9f70 {var_9f78}
0x124e 39 rcx = rcx * 0x190
0x1255 40 rax = rax + rcx
0x1258 41 [rax].d = 1
0x125e 42 rax = sx.q([rbp - 0xa104 {var_a10c_1}].d)
0x126d 43 if ([rbp + (rax << 3) - 0x330].d == 1) then 47 @ 0x1397 else 50 @ 0x1273
0x123b 44 goto 15 @ 0x13d9
0x11f6 45 goto 52 @ 0x11fb
0x11f1 46 goto 9 @ 0x120f
0x1397 47 rax = sx.q([rbp - 0xa104 {var_a10c_1}].d)
0x139e 48 [rbp + (rax << 2) - 0xa100].d = 1
0x139e 49 goto 56 @ 0x13a9
0x1273 50 [rbp - 0xa10c {var_a114_1}].d = 1
0x1273 51 goto 65 @ 0x127d
0x11fb 52 eax = [rbp - 0xa104 {var_a10c}].d
0x1201 53 eax = eax + 1
0x1204 54 [rbp - 0xa104 {var_a10c}].d = eax
0x120a 55 goto 8 @ 0x117a
0x13a9 56 rax = sx.q([rbp - 0xa104 {var_a10c_1}].d)
0x13b0 57 esi = [rbp + (rax << 2) - 0xa100].d
0x13b7 58 rdi = 0x2007 {"%d\n"}
0x13be 59 al = 0
0x13c0 60 call(0x1030)
0x13c5 61 eax = [rbp - 0xa104 {var_a10c_1}].d
0x13cb 62 eax = eax + 1
0x13ce 63 [rbp - 0xa104 {var_a10c_1}].d = eax
0x13d4 64 goto 13 @ 0x1220
0x127d 65 eax = [rbp - 0xa10c {var_a114_1}].d
0x1283 66 rcx = sx.q([rbp - 0xa104 {var_a10c_1}].d)
0x1291 67 if (eax s>= [rbp + (rcx << 3) - 0x330].d) then 68 @ 0x1392 else 69 @ 0x1297
0x1392 68 goto 56 @ 0x13a9
0x1297 69 rcx = sx.q([rbp - 0xa104 {var_a10c_1}].d)
0x129e 70 rax = rbp - 0x9f70 {var_9f78}
0x12a5 71 rcx = rcx * 0x190
0x12ac 72 rax = rax + rcx
0x12af 73 ecx = [rbp - 0xa10c {var_a114_1}].d
0x12b5 74 ecx = ecx - 1
0x12b8 75 rcx = sx.q(ecx)
0x12bb 76 eax = [rax + (rcx << 2)].d
0x12be 77 rcx = sx.q([rbp - 0xa104 {var_a10c_1}].d)
0x12c5 78 eax = eax + [rbp + (rcx << 3) - 0x32c].d
0x12cc 79 ecx = [rbp - 0xa10c {var_a114_1}].d
0x12d2 80 ecx = ecx + 1
0x12d5 81 temp2.d:temp3.d = sx.q(eax)
0x12d5 82 edx = temp2.d
0x12d5 83 eax = temp3.d
0x12d6 84 temp4.d = edx
0x12d6 85 temp5.d = eax
0x12d6 86 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x12d6 87 temp6.d = edx
0x12d6 88 temp7.d = eax
0x12d6 89 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x12d6 90 eax = temp0.d
0x12d6 91 edx = temp1.d
0x12d8 92 rcx = sx.q([rbp - 0xa104 {var_a10c_1}].d)
0x12df 93 rax = rbp - 0x9f70 {var_9f78}
0x12e6 94 rcx = rcx * 0x190
0x12ed 95 rax = rax + rcx
0x12f0 96 rcx = sx.q([rbp - 0xa10c {var_a114_1}].d)
0x12f7 97 [rax + (rcx << 2)].d = edx
0x12fa 98 rcx = sx.q([rbp - 0xa104 {var_a10c_1}].d)
0x1301 99 rax = rbp - 0x9f70 {var_9f78}
0x1308 100 rcx = rcx * 0x190
0x130f 101 rax = rax + rcx
0x1312 102 rcx = sx.q([rbp - 0xa10c {var_a114_1}].d)
0x131d 103 if ([rax + (rcx << 2)].d != 0) then 104 @ 0x134e else 116 @ 0x1323
0x134e 104 rcx = sx.q([rbp - 0xa104 {var_a10c_1}].d)
0x1355 105 rax = rbp - 0x9f70 {var_9f78}
0x135c 106 rcx = rcx * 0x190
0x1363 107 rax = rax + rcx
0x1366 108 rcx = sx.q([rbp - 0xa10c {var_a114_1}].d)
0x136d 109 ecx = [rax + (rcx << 2)].d
0x1370 110 rax = sx.q([rbp - 0xa104 {var_a10c_1}].d)
0x1377 111 [rbp + (rax << 2) - 0xa100].d = ecx
0x137e 112 eax = [rbp - 0xa10c {var_a114_1}].d
0x1384 113 eax = eax + 1
0x1387 114 [rbp - 0xa10c {var_a114_1}].d = eax
0x138d 115 goto 65 @ 0x127d
0x1323 116 edx = [rbp - 0xa10c {var_a114_1}].d
0x1329 117 edx = edx + 1
0x132c 118 rcx = sx.q([rbp - 0xa104 {var_a10c_1}].d)
0x1333 119 rax = rbp - 0x9f70 {var_9f78}
0x133a 120 rcx = rcx * 0x190
0x1341 121 rax = rax + rcx
0x1344 122 rcx = sx.q([rbp - 0xa10c {var_a114_1}].d)
0x134b 123 [rax + (rcx << 2)].d = edx
0x134b 124 goto 104 @ 0x134e
int64_t _fini():
0x13e8 0 rsp = rsp - 8
0x13ec 1 rsp = rsp + 8
0x13f0 2 <return> jump(pop)
| POJ_79 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
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(D$$"}
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 [rsp + 0x24 {var_34}].d = 1
0x1166 8 [rsp + 0x20 {var_38}].d = 1
0x116e 9 [rsp + 0x1c {var_3c}].d = 1
0x1176 10 [rsp + 0x18 {var_40}].d = 1
0x117e 11 [rsp + 0x14 {var_44}].d = 1
0x1186 12 [rsp + 0x10 {var_48}].d = 1
0x118e 13 r13 = rsp + 0x1c {var_3c}
0x1193 14 r15 = rsp + 0x18 {var_40}
0x1198 15 r12 = rsp + 0x14 {var_44}
0x119d 16 r14 = 0x2016 {"%d\n"}
0x11ae 17 goto 18 @ 0x11b0
0x11b0 18 rax = rsp + 0x10 {var_48}
0x11b5 19 [rsp {var_58_1}].q = rax {var_48}
0x11b9 20 rdi = 0x2004 {"%d %d %d %d %d %d"}
0x11c0 21 rsi = rsp + 0x24 {var_34}
0x11c5 22 rdx = rsp + 0x20 {var_38}
0x11ca 23 rcx = r13 {var_3c}
0x11cd 24 r8 = r15 {var_40}
0x11d0 25 r9 = r12 {var_44}
0x11d3 26 eax = 0
0x11d5 27 call(0x1040)
0x11da 28 eax = [rsp + 0x24 {var_34}].d
0x11de 29 edx = [rsp + 0x20 {var_38}].d
0x11e2 30 ebp = (rdx + rax).d
0x11e5 31 ecx = [rsp + 0x1c {var_3c}].d
0x11e9 32 ebp = ebp + ecx
0x11eb 33 edi = [rsp + 0x18 {var_40}].d
0x11ef 34 ebp = ebp + edi
0x11f1 35 ebx = [rsp + 0x14 {var_44}].d
0x11f5 36 ebp = ebp + ebx
0x11f7 37 esi = [rsp + 0x10 {var_48}].d
0x11fb 38 temp0.d = ebp
0x11fb 39 ebp = ebp + esi
0x11fd 40 if (temp0.d == neg.d(esi)) then 41 @ 0x1240 else 50 @ 0x11ff
0x1240 41 eax = 0
0x1242 42 rsp = rsp + 0x28
0x1246 43 rbx = pop
0x1247 44 r12 = pop
0x1249 45 r13 = pop
0x124b 46 r14 = pop
0x124d 47 r15 = pop
0x124f 48 rbp = pop
0x1250 49 <return> jump(pop)
0x11ff 50 ebx = ebx - edx
0x1201 51 edx = ebx * 0x3c
0x1204 52 edi = edi - eax
0x1206 53 eax = edi * 0xe10
0x120c 54 esi = esi - ecx
0x120e 55 esi = esi + eax
0x1210 56 esi = esi + edx
0x1212 57 esi = esi + 0xa8c0
0x1218 58 rdi = r14
0x121b 59 eax = 0
0x121d 60 call(0x1030)
0x1222 61 eax = [rsp + 0x20 {var_38}].d
0x1226 62 eax = eax + [rsp + 0x24 {var_34}].d
0x122a 63 eax = eax + [rsp + 0x1c {var_3c}].d
0x122e 64 eax = eax + [rsp + 0x18 {var_40}].d
0x1232 65 eax = eax + [rsp + 0x14 {var_44}].d
0x1236 66 temp1.d = eax
0x1236 67 temp2.d = [rsp + 0x10 {var_48}].d
0x1236 68 eax = eax + [rsp + 0x10 {var_48}].d
0x123a 69 if (temp1.d s> neg.d(temp2.d)) then 18 @ 0x11b0 else 41 @ 0x1240
int64_t _fini():
0x1258 0 rsp = rsp - 8
0x125c 1 rsp = rsp + 8
0x1260 2 <return> jump(pop)
| POJ_87 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int64_t malloc(uint64_t bytes):
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 = 0x11a0 {"UAWAVSPH=V"}
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)
void reverse(int64_t arg1, int32_t arg2):
0x1173 0 if (esi s< 2) then 1 @ 0x119e else 2 @ 0x1175
0x119e 1 <return> jump(pop)
0x1175 2 eax = esi
0x1177 3 rax = rax - 2
0x117b 4 ecx = 0
0x117d 5 goto 6 @ 0x1180
0x1180 6 edx = [rdi + (rcx << 2)].d
0x1183 7 esi = [rdi + (rax << 2) + 4].d
0x1187 8 [rdi + (rcx << 2)].d = esi
0x118a 9 [rdi + (rax << 2) + 4].d = edx
0x118e 10 rcx = rcx + 1
0x1192 11 rdx = rax - 1
0x1196 12 cond:0 = rcx s< rax
0x1199 13 rax = rdx
0x119c 14 if (cond:0) then 6 @ 0x1180 else 1 @ 0x119e
int32_t main(int32_t argc, char** argv, char** envp):
0x11a0 0 push(rbp)
0x11a1 1 push(r15)
0x11a3 2 push(r14)
0x11a5 3 push(rbx)
0x11a6 4 push(rax)
0x11a7 5 rdi = 0x2004 {"%d"}
0x11ae 6 rsi = rsp + 4 {var_28+0x4}
0x11b3 7 eax = 0
0x11b5 8 call(0x1040)
0x11ba 9 edi = 4
0x11bf 10 call(0x1050)
0x11c9 11 if ([rsp + 4 {var_28+0x4}].d s<= 0) then 12 @ 0x1273 else 18 @ 0x11cf
0x1273 12 rsp = rsp + 8
0x1277 13 rbx = pop
0x1278 14 r14 = pop
0x127a 15 r15 = pop
0x127c 16 rbp = pop
0x127d 17 <return> jump(pop)
0x11cf 18 r15 = rax
0x11d2 19 r14 = 0x2004 {"%d"}
0x11d9 20 rbx = rax
0x11dc 21 ebp = 0
0x11de 22 goto 23 @ 0x11e0
0x11e0 23 rdi = r14
0x11e3 24 rsi = rbx
0x11e6 25 eax = 0
0x11e8 26 call(0x1040)
0x11ed 27 rbp = rbp + 1
0x11f1 28 rax = sx.q([rsp + 4 {var_28+0x4}].d)
0x11f6 29 rbx = rbx + 4
0x11fd 30 if (rbp s< rax) then 23 @ 0x11e0 else 31 @ 0x11ff
0x11ff 31 eax = eax
0x1204 32 if (eax s< 2) then 33 @ 0x122b else 34 @ 0x1206
0x122b 33 if (eax s<= 0) then 12 @ 0x1273 else 37 @ 0x122d
0x1206 34 rcx = rax - 2
0x120a 35 edx = 0
0x120c 36 goto 41 @ 0x1210
0x122d 37 r14 = 0x2004 {"%d"}
0x1234 38 ebp = 0xa {""}
0x1239 39 ebx = 0
0x123b 40 goto 48 @ 0x1240
0x1210 41 esi = [r15 + (rdx << 2)].d
0x1214 42 [r15 + (rcx << 2) + 4].d = esi
0x1219 43 rdx = rdx + 1
0x121d 44 rsi = rcx - 1
0x1221 45 cond:0 = rdx s< rcx
0x1224 46 rcx = rsi
0x1227 47 if (cond:0) then 41 @ 0x1210 else 33 @ 0x122b
0x1240 48 esi = [r15 + (rbx << 2)].d
0x1244 49 rdi = r14
0x1247 50 eax = 0
0x1249 51 call(0x1030)
0x124e 52 eax = [rsp + 4 {var_28+0x4}].d
0x1252 53 eax = eax - 1
0x1255 54 cond:1 = rbx == rax
0x1258 55 edi = 0x20 {"@"}
0x125d 56 if (cond:1) then 57 else 59 @ 0x1260
0x125d 57 edi = ebp
0x125d 58 goto 59 @ 0x1260
0x1260 59 call(0x1060)
0x1265 60 rbx = rbx + 1
0x1269 61 rax = sx.q([rsp + 4 {var_28+0x4}].d)
0x1271 62 if (rbx s< rax) then 48 @ 0x1240 else 12 @ 0x1273
int64_t _fini():
0x1284 0 rsp = rsp - 8
0x1288 1 rsp = rsp + 8
0x128c 2 <return> jump(pop)
| POJ_47 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
char* gets(char* buf):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"SH"}
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(rbx)
0x1161 1 rsp = rsp - 0x1390
0x1168 2 rdi = rsp {var_1398}
0x116b 3 ebx = 0
0x116d 4 edx = 0x7d0 {""}
0x1172 5 esi = 0
0x1174 6 call(0x1040)
0x1179 7 rdi = rsp + 0x7d0 {var_bc8}
0x1181 8 eax = 0
0x1183 9 call(0x1050)
0x1188 10 cl = [rsp + 0x7d0 {var_bc8}].b
0x1191 11 if (cl == 0) then 12 @ 0x12ea else 19 @ 0x1197
0x12ea 12 rdi = 0x2004 {"No"}
0x12f1 13 eax = 0
0x12f3 14 call(0x1030)
0x12f8 15 eax = 0
0x12fa 16 rsp = rsp + 0x1390
0x1301 17 rbx = pop
0x1302 18 <return> jump(pop)
0x1197 19 r8 = rsp + 0x7d1 {var_bc7}
0x119f 20 edx = 0
0x11a1 21 goto 22 @ 0x11c9
0x11c9 22 r10d = (rcx - 0x30).d
0x11d1 23 if (r10b u> 9) then 24 @ 0x11b0 else 30 @ 0x11d3
0x11b0 24 rax = sx.q(ebx)
0x11b3 25 rbx = rax + 1
0x11b7 26 flag:c = r10b u< 0xa
0x11bb 27 edx = adc.d(edx, 0, flag:c)
0x11be 28 cl = [rsp + rax + 0x7d1].b
0x11c7 29 if (cl == 0) then 35 @ 0x1208 else 22 @ 0x11c9
0x11d3 30 rdi = sx.q(ebx)
0x11d6 31 rdi = rdi + r8
0x11d9 32 r9d = edx
0x11dc 33 eax = [rsp + (r9 << 2)].d
0x11dc 34 goto 36 @ 0x11e0
0x1208 35 if (edx == 1) then 12 @ 0x12ea else 45 @ 0x1210
0x11e0 36 ecx = zx.d(cl)
0x11e3 37 eax = (rax + (rax << 2)).d
0x11e6 38 eax = (rcx + (rax << 1)).d
0x11e9 39 eax = eax - 0x30
0x11ec 40 ecx = zx.d([rdi].b)
0x11ef 41 esi = (rcx - 0x30).d
0x11f2 42 ebx = ebx + 1
0x11f5 43 rdi = rdi + 1
0x11fd 44 if (sil u< 0xa) then 36 @ 0x11e0 else 46 @ 0x11ff
0x1210 45 if (edx == 0) then 12 @ 0x12ea else 48 @ 0x1216
0x11ff 46 [rsp + (r9 << 2)].d = eax
0x1203 47 goto 24 @ 0x11b0
0x1216 48 ebx = [rsp {var_1398}].d
0x1219 49 r8d = edx
0x121c 50 r8 = r8 - 1
0x1223 51 if (edx != 2) then 52 @ 0x123e else 60 @ 0x1225
0x123e 52 r9 = r8
0x1241 53 r9 = r9 & 0xfffffffffffffffe
0x1245 54 r9 = neg.q(r9)
0x1248 55 esi = 0xffffffff {""}
0x124d 56 edx = 1
0x1252 57 ecx = 0
0x1254 58 eax = ebx
0x1256 59 goto 63 @ 0x1260
0x1225 60 esi = 0xffffffff {""}
0x122a 61 edx = 1
0x1233 62 if ((r8b & 1) != 0) then 66 @ 0x12b6 else 70 @ 0x1239
0x1260 63 cond:0 = (cl & 1) != 0
0x1263 64 ecx = ebx
0x1265 65 if (cond:0) then 71 else 73 @ 0x1268
0x12b6 66 eax = [rsp + (rdx << 2)].d
0x12b9 67 cond:5 = eax s< ebx
0x12bb 68 ecx = esi
0x12bd 69 if (cond:5) then 78 else 80 @ 0x12c2
0x1239 70 goto 81 @ 0x12cf
0x1265 71 ecx = eax
0x1265 72 goto 73 @ 0x1268
0x1268 73 eax = [rsp + (rdx << 2)].d
0x126b 74 cond:1 = eax s< ecx
0x126b 75 cond:2 = eax s> ecx
0x126d 76 edi = esi
0x126f 77 if (cond:1) then 82 else 84 @ 0x1272
0x12bd 78 ecx = eax
0x12bd 79 goto 80 @ 0x12c2
0x12c2 80 if (eax s<= esi) then 86 else 88 @ 0x12c7
0x12cf 81 if (esi == -1) then 12 @ 0x12ea else 89 @ 0x12d1
0x126f 82 edi = eax
0x126f 83 goto 84 @ 0x1272
0x1272 84 ebx = ecx
0x1274 85 if (cond:2) then 96 else 98 @ 0x1279
0x12c2 86 ecx = esi
0x12c2 87 goto 88 @ 0x12c7
0x12c7 88 if (eax s> ebx) then 99 else 101 @ 0x12ca
0x12d1 89 rdi = 0x2007 {"%d"}
0x12d8 90 eax = 0
0x12da 91 call(0x1030)
0x12df 92 eax = 0
0x12e1 93 rsp = rsp + 0x1390
0x12e8 94 rbx = pop
0x12e9 95 <return> jump(pop)
0x1274 96 ebx = eax
0x1274 97 goto 98 @ 0x1279
0x1279 98 if (eax s<= esi) then 103 else 105 @ 0x127e
0x12c7 99 ecx = ebx
0x12c7 100 goto 101 @ 0x12ca
0x12ca 101 esi = ecx
0x12ca 102 goto 81 @ 0x12cf
0x1279 103 edi = esi
0x1279 104 goto 105 @ 0x127e
0x127e 105 if (eax s> ecx) then 106 else 108 @ 0x1281
0x127e 106 edi = ecx
0x127e 107 goto 108 @ 0x1281
0x1281 108 eax = [rsp + (rdx << 2) + 4].d
0x1285 109 cond:3 = eax s< ebx
0x1287 110 esi = edi
0x1289 111 if (cond:3) then 112 else 114 @ 0x128e
0x1289 112 esi = eax
0x1289 113 goto 114 @ 0x128e
0x128e 114 if (eax s<= edi) then 115 else 117 @ 0x1291
0x128e 115 esi = edi
0x128e 116 goto 117 @ 0x1291
0x1291 117 cond:4 = eax s> ebx
0x1293 118 if (eax s> ebx) then 119 else 121 @ 0x1296
0x1293 119 esi = ebx
0x1293 120 goto 121 @ 0x1296
0x1296 121 cl = cond:4
0x1299 122 rdi = r9 + rdx
0x129d 123 rdi = rdi + 2
0x12a1 124 rdx = rdx + 2
0x12a9 125 if (rdi != 1) then 63 @ 0x1260 else 126 @ 0x12ad
0x12ad 126 if (eax s> ebx) then 127 else 129 @ 0x12b4
0x12ad 127 ebx = eax
0x12ad 128 goto 129 @ 0x12b4
0x12b4 129 if ((r8b & 1) == 0) then 81 @ 0x12cf else 66 @ 0x12b6
int64_t _fini():
0x1308 0 rsp = rsp - 8
0x130c 1 rsp = rsp + 8
0x1310 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)
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)
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 - 0x16a8
0x1181 7 rdi = 0x2013 {"%d"}
0x1188 8 rsi = rsp + 0xc {var_16cc}
0x118d 9 eax = 0
0x118f 10 call(0x1050)
0x1194 11 r13d = [rsp + 0xc {var_16cc}].d
0x119c 12 if (r13d s<= 0) then 13 @ 0x121c else 15 @ 0x119e
0x121c 13 r12d = r13d
0x1222 14 if (r13d s<= 0) then 21 @ 0x12c3 else 26 @ 0x1228
0x119e 15 rbp = rsp + 0x630 {var_10a8}
0x11a6 16 r14 = rsp + 0x3d0 {var_1308}
0x11ae 17 r15 = rsp + 0x890 {var_e48}
0x11b6 18 rbx = rsp + 0xaf0 {var_be8}
0x11be 19 r12d = 0
0x11cb 20 goto 28 @ 0x11d0
0x12c3 21 r14d = [rsp + 0x30 {var_16a8}].d
0x12c8 22 rdi = rsp + 0x10 {var_16c8}
0x12cd 23 rsi = rsp + 0xaf0 {var_be8}
0x12d5 24 call(0x1040)
0x12de 25 if (r13d s< 2) then 45 @ 0x131c else 46 @ 0x12e0
0x1228 26 eax = 0
0x122a 27 goto 49 @ 0x123d
0x11d0 28 r8 = rsp + r12
0x11d4 29 r8 = r8 + 0x330
0x11db 30 r9 = rsp + r12 + 0x290
0x11e3 31 [rsp {var_16d8}].q = rbp
0x11e7 32 rdi = 0x2004 {"%s %d %d %c %c %d"}
0x11ee 33 rsi = rbx
0x11f1 34 rdx = r15
0x11f4 35 rcx = r14
0x11f7 36 eax = 0
0x11f9 37 call(0x1050)
0x11fe 38 r12 = r12 + 1
0x1202 39 r13 = sx.q([rsp + 0xc {var_16cc}].d)
0x1207 40 rbp = rbp + 4
0x120b 41 r14 = r14 + 4
0x120f 42 r15 = r15 + 4
0x1213 43 rbx = rbx + 0x14
0x121a 44 if (r12 s< r13) then 28 @ 0x11d0 else 13 @ 0x121c
0x131c 45 if (r13d s<= 0) then 52 @ 0x133f else 54 @ 0x131e
0x12e0 46 rbx = rsp + 0xb04 {var_bd4}
0x12e8 47 ebp = 1
0x12ed 48 goto 57 @ 0x12fd
0x123d 49 [rsp + (rax << 2) + 0x30].d = 0
0x1245 50 ecx = [rsp + (rax << 2) + 0x890].d
0x124f 51 if (ecx s< 0x51) then 59 @ 0x1266 else 60 @ 0x1259
0x133f 52 ebx = 0
0x133f 53 goto 61 @ 0x1341
0x131e 54 eax = 0
0x1320 55 ebx = 0
0x132c 56 goto 80 @ 0x1330
0x12fd 57 r15d = [rsp + (rbp << 2) + 0x30].d
0x1305 58 if (r15d s<= r14d) then 83 @ 0x12f0 else 86 @ 0x1307
0x1266 59 if (ecx s< 0x56) then 91 @ 0x127d else 92 @ 0x1270
0x1259 60 if ([rsp + (rax << 2) + 0x630].d s<= 0) then 59 @ 0x1266 else 93 @ 0x125b
0x1341 61 rdi = rsp + 0x10 {var_16c8}
0x1346 62 call(0x1060)
0x134b 63 rbp = 0x2016 {"%d\n"}
0x1352 64 rdi = rbp
0x1355 65 esi = r14d
0x1358 66 eax = 0
0x135a 67 call(0x1030)
0x135f 68 rdi = rbp
0x1362 69 esi = ebx
0x1364 70 eax = 0
0x1366 71 call(0x1030)
0x136b 72 rsp = rsp + 0x16a8
0x1372 73 rbx = pop
0x1373 74 r12 = pop
0x1375 75 r13 = pop
0x1377 76 r14 = pop
0x1379 77 r15 = pop
0x137b 78 rbp = pop
0x137c 79 <return> jump(pop)
0x1330 80 ebx = ebx + [rsp + (rax << 2) + 0x30].d
0x1334 81 rax = rax + 1
0x133b 82 if (r12 != rax) then 80 @ 0x1330 else 95 @ 0x133d
0x12f0 83 rbp = rbp + 1
0x12f4 84 rbx = rbx + 0x14
0x12fb 85 if (r12 == rbp) then 45 @ 0x131c else 57 @ 0x12fd
0x1307 86 rdi = rsp + 0x10 {var_16c8}
0x130c 87 rsi = rbx
0x130f 88 call(0x1040)
0x1314 89 r14d = r15d
0x1317 90 goto 83 @ 0x12f0
0x127d 91 if (ecx s< 0x5b) then 96 @ 0x128a else 97 @ 0x127f
0x1270 92 if ([rsp + (rax << 2) + 0x3d0].d s< 0x51) then 91 @ 0x127d else 99 @ 0x1272
0x125b 93 [rsp + (rax << 2) + 0x30].d = 0x1f40 {""}
0x125b 94 goto 59 @ 0x1266
0x133d 95 goto 61 @ 0x1341
0x128a 96 if (ecx s< 0x56) then 101 @ 0x12a6 else 102 @ 0x1294
0x127f 97 [rsp + (rax << 2) + 0x30].d = [rsp + (rax << 2) + 0x30].d + 0x7d0
0x127f 98 goto 96 @ 0x128a
0x1272 99 [rsp + (rax << 2) + 0x30].d = [rsp + (rax << 2) + 0x30].d + 0xfa0
0x1272 100 goto 91 @ 0x127d
0x12a6 101 if ([rsp + (rax << 2) + 0x3d0].d s< 0x51) then 103 @ 0x1230 else 105 @ 0x12b0
0x1294 102 if ([rsp + rax + 0x290].b != 0x59) then 101 @ 0x12a6 else 106 @ 0x1296
0x1230 103 rax = rax + 1
0x1237 104 if (r12 == rax) then 21 @ 0x12c3 else 49 @ 0x123d
0x12b0 105 if ([rsp + rax + 0x330].b != 0x59) then 103 @ 0x1230 else 108 @ 0x12b6
0x1296 106 [rsp + (rax << 2) + 0x30].d = [rsp + (rax << 2) + 0x30].d + 0x3e8
0x1296 107 goto 101 @ 0x12a6
0x12b6 108 [rsp + (rax << 2) + 0x30].d = [rsp + (rax << 2) + 0x30].d + 0x352
0x12be 109 goto 103 @ 0x1230
int64_t _fini():
0x1384 0 rsp = rsp - 8
0x1388 1 rsp = rsp + 8
0x138c 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 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 = 0x1310 {"P181YHH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4040].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4040].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
uint64_t f(int32_t arg1):
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 - 0x18
0x115e 7 r13d = edi
0x1161 8 rcx = sx.q(edi)
0x1164 9 ebx = ecx
0x1166 10 rax = rcx
0x1169 11 [rsp + 0x10 {var_38}].q = rcx
0x116e 12 eax = (rcx + 1).d
0x1171 13 [rsp + 0xc {var_3c}].d = eax
0x1175 14 ebp = 1
0x117a 15 r12 = 0x4050 {""}
0x1181 16 r14 = 0x2004 {"%d"}
0x1188 17 goto 18 @ 0x11ac
0x11ac 18 temp0.d = r13d
0x11ac 19 cond:0 = temp0.d s<= 0
0x11af 20 if (temp0.d == 0) then 21 @ 0x1190 else 24 @ 0x11b1
0x1190 21 [0x4050].d = ebp
0x1196 22 edi = 1
0x1196 23 goto 25 @ 0x119b
0x11b1 24 if (cond:0) then 27 @ 0x11e0 else 29 @ 0x11b3
0x119b 25 call(0x1150)
0x119b 26 goto 32 @ 0x11a0
0x11e0 27 eax = 0
0x11e0 28 goto 34 @ 0x11e2
0x11b3 29 rcx = r12
0x11b6 30 eax = 0
0x11b8 31 goto 36 @ 0x11c2
0x11a0 32 ebp = ebp + 1
0x11a6 33 if (ebp == 6) then 37 @ 0x12f3 else 18 @ 0x11ac
0x11e2 34 [0x4064].d = eax
0x11eb 35 if (eax != r13d) then 32 @ 0x11a0 else 45 @ 0x11ed
0x11c2 36 if (ebp == [rcx].d) then 34 @ 0x11e2 else 49 @ 0x11c4
0x12f3 37 rsp = rsp + 0x18
0x12f7 38 rbx = pop
0x12f8 39 r12 = pop
0x12fa 40 r13 = pop
0x12fc 41 r14 = pop
0x12fe 42 r15 = pop
0x1300 43 rbp = pop
0x1301 44 <return> jump(pop)
0x11ed 45 rax = [rsp + 0x10 {var_38}].q
0x11f2 46 [r12 + (rax << 2)].d = ebp
0x11f6 47 edi = [rsp + 0xc {var_3c}].d
0x11fe 48 if (r13d != 4) then 25 @ 0x119b else 52 @ 0x1200
0x11c4 49 rax = rax + 1
0x11c8 50 rcx = rcx + 4
0x11cf 51 if (rbx != rax) then 36 @ 0x11c2 else 56 @ 0x11d1
0x1200 52 ecx = [0x4050].d
0x1206 53 edx = (rcx - 1).d
0x1209 54 eax = [0x4060].d
0x1212 55 if (edx u> 1) then 58 @ 0x1219 else 60 @ 0x1217
0x11d1 56 eax = ebx
0x11d3 57 goto 34 @ 0x11e2
0x1219 58 edx = (rcx - 6).d
0x121f 59 if (edx u< -3) then 32 @ 0x11a0 else 61 @ 0x1225
0x1217 60 if (eax == 1) then 63 @ 0x1234 else 58 @ 0x1219
0x1225 61 edx = (rax - 1).d
0x122b 62 if (edx u< 2) then 32 @ 0x11a0 else 63 @ 0x1234
0x1234 63 if (eax == 3) then 32 @ 0x11a0 else 64 @ 0x1241
0x1241 64 if ([0x4054].d != 2) then 32 @ 0x11a0 else 65 @ 0x1247
0x1247 65 edx = [0x4058].d
0x124d 66 esi = (rdx - 1).d
0x1253 67 if (esi u> 1) then 68 @ 0x125a else 70 @ 0x1258
0x125a 68 ecx = (rdx - 3).d
0x1260 69 if (ecx u> 2) then 32 @ 0x11a0 else 71 @ 0x1269
0x1258 70 if (ecx == 5) then 72 @ 0x126f else 68 @ 0x125a
0x1269 71 if (eax == 5) then 32 @ 0x11a0 else 72 @ 0x126f
0x126f 72 ecx = [0x405c].d
0x1275 73 esi = (rcx - 1).d
0x127b 74 if (esi u> 1) then 75 @ 0x1282 else 77 @ 0x1280
0x1282 75 esi = (rcx - 3).d
0x1288 76 if (esi u> 2) then 32 @ 0x11a0 else 78 @ 0x1291
0x1280 77 if (edx != 1) then 79 @ 0x1297 else 75 @ 0x1282
0x1291 78 if (edx != 1) then 32 @ 0x11a0 else 79 @ 0x1297
0x1297 79 edx = (rax - 1).d
0x129d 80 if (edx u> 1) then 81 @ 0x12a4 else 83 @ 0x12a2
0x12a4 81 eax = eax - 3
0x12aa 82 if (eax u> 2) then 32 @ 0x11a0 else 84 @ 0x12b3
0x12a2 83 if (ecx == 1) then 85 @ 0x12b9 else 81 @ 0x12a4
0x12b3 84 if (ecx == 1) then 32 @ 0x11a0 else 85 @ 0x12b9
0x12b9 85 r15d = 0
0x12bc 86 goto 87 @ 0x12c0
0x12c0 87 esi = [r15 + r12].d
0x12c4 88 rdi = r14
0x12c7 89 eax = 0
0x12c9 90 call(0x1030)
0x12ce 91 cond:1 = r15 == 0x10
0x12d2 92 edi = 0x20 {"@"}
0x12d7 93 eax = 0xa {""}
0x12dc 94 if (cond:1) then 95 else 97 @ 0x12df
0x12dc 95 edi = eax
0x12dc 96 goto 97 @ 0x12df
0x12df 97 call(0x1040)
0x12e4 98 r15 = r15 + 4
0x12ec 99 if (r15 != 0x14) then 87 @ 0x12c0 else 100 @ 0x12ee
0x12ee 100 goto 32 @ 0x11a0
int32_t main(int32_t argc, char** argv, char** envp):
0x1310 0 push(rax)
0x1311 1 edi = 0
0x1313 2 call(0x1150)
0x1318 3 eax = 0
0x131a 4 rcx = pop
0x131b 5 <return> jump(pop)
int64_t _fini():
0x1320 0 rsp = rsp - 8
0x1324 1 rsp = rsp + 8
0x1328 2 <return> jump(pop)
| POJ_41 |
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 {"AWAVAUATSHP"}
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)
void f(int64_t arg1, int32_t arg2, int32_t arg3):
0x1150 0 r9d = edx
0x1153 1 r8d = esi
0x1156 2 edx = 0
0x115a 3 if (esi s<= 0) then 4 @ 0x1173 else 5 @ 0x115c
0x1173 4 if (esi s< 2) then 6 @ 0x11ca else 7 @ 0x1175
0x115c 5 goto 10 @ 0x1160
0x11ca 6 if (esi s<= 0) then 13 @ 0x11e0 else 14 @ 0x11cc
0x1175 7 r11d = 1
0x117b 8 r10d = 1
0x1181 9 goto 16 @ 0x11a6
0x1160 10 [rdi + (rdx << 2)].d = 1
0x1167 11 rdx = rdx + 1
0x116e 12 if (r8 != rdx) then 10 @ 0x1160 else 4 @ 0x1173
0x11e0 13 <return> jump(pop)
0x11cc 14 eax = 0
0x11ce 15 goto 17 @ 0x11d4
0x11a6 16 if (r9d s<= 0) then 18 @ 0x1190 else 22 @ 0x11a8
0x11d4 17 if ([rdi + (rax << 2)].d != 0) then 24 @ 0x11e1 else 26 @ 0x11d6
0x1190 18 rax = sx.q(edx)
0x1193 19 [rdi + (rax << 2)].d = 0
0x119a 20 r10d = r10d + 1
0x11a1 21 if (r10d == esi) then 6 @ 0x11ca else 16 @ 0x11a6
0x11a8 22 ecx = 0
0x11aa 23 goto 28 @ 0x11b0
0x11e1 24 eax = eax + 1
0x11e4 25 <return> jump(pop)
0x11d6 26 rax = rax + 1
0x11dd 27 if (r8 != rax) then 17 @ 0x11d4 else 44 @ 0x11df
0x11b0 28 eax = (r11 - 1).d
0x11b4 29 temp2.d:temp3.d = sx.q(eax)
0x11b4 30 edx = temp2.d
0x11b4 31 eax = temp3.d
0x11b5 32 temp4.d = edx
0x11b5 33 temp5.d = eax
0x11b5 34 temp0.d = divs.dp.d(temp4.d:temp5.d, esi)
0x11b5 35 temp6.d = edx
0x11b5 36 temp7.d = eax
0x11b5 37 temp1.d = mods.dp.d(temp6.d:temp7.d, esi)
0x11b5 38 eax = temp0.d
0x11b5 39 edx = temp1.d
0x11b7 40 rax = sx.q(edx)
0x11ba 41 ecx = ecx + [rdi + (rax << 2)].d
0x11bd 42 r11d = r11d + 1
0x11c4 43 if (ecx s< r9d) then 28 @ 0x11b0 else 45 @ 0x11c6
0x11df 44 <return> jump(pop)
0x11c6 45 goto 18 @ 0x1190
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 - 0x650
0x1200 6 rdi = 0x2004 {"%d %d"}
0x1207 7 r13d = 0
0x120a 8 rsi = rsp + 8 {var_670}
0x120f 9 rdx = rsp + 0xc {var_66c}
0x1214 10 eax = 0
0x1216 11 call(0x1040)
0x121b 12 ecx = [rsp + 8 {var_670}].d
0x1221 13 if (ecx == 0) then 14 @ 0x131f else 15 @ 0x1227
0x131f 14 if (r13d == 0) then 20 @ 0x1347 else 27 @ 0x1321
0x1227 15 r14 = 0x2004 {"%d %d"}
0x122e 16 r15 = rsp + 8 {var_670}
0x1233 17 r12 = rsp + 0xc {var_66c}
0x1238 18 r13d = 0
0x123b 19 goto 31 @ 0x1268
0x1347 20 rsp = rsp + 0x650
0x134e 21 rbx = pop
0x134f 22 r12 = pop
0x1351 23 r13 = pop
0x1353 24 r14 = pop
0x1355 25 r15 = pop
0x1357 26 <return> jump(pop)
0x1321 27 r15d = r13d
0x1324 28 r14 = 0x200a {"%d\n"}
0x132b 29 ebx = 0
0x132d 30 goto 34 @ 0x1330
0x1268 31 r8d = ecx
0x126b 32 edx = 0
0x1272 33 if (ecx s<= 0) then 40 @ 0x1297 else 41 @ 0x1274
0x1330 34 esi = [rsp + (rbx << 2) + 0x10].d
0x1334 35 rdi = r14
0x1337 36 eax = 0
0x1339 37 call(0x1030)
0x133e 38 rbx = rbx + 1
0x1345 39 if (r15 != rbx) then 34 @ 0x1330 else 20 @ 0x1347
0x1297 40 if (ecx s< 2) then 43 @ 0x12f2 else 44 @ 0x1299
0x1274 41 edx = 0
0x1276 42 goto 48 @ 0x1280
0x12f2 43 if (ecx s<= 0) then 51 @ 0x1243 else 60 @ 0x12f8
0x1299 44 edi = [rsp + 0xc {var_66c}].d
0x129d 45 ebx = 1
0x12a2 46 r9d = 1
0x12a8 47 goto 62 @ 0x12c9
0x1280 48 [rsp + (rdx << 2) + 0x1a0].d = 1
0x128b 49 rdx = rdx + 1
0x1292 50 if (r8 != rdx) then 48 @ 0x1280 else 40 @ 0x1297
0x1243 51 [rsp + (r13 << 2) + 0x10].d = eax
0x1248 52 rdi = r14
0x124b 53 rsi = r15 {var_670}
0x124e 54 rdx = r12 {var_66c}
0x1251 55 eax = 0
0x1253 56 call(0x1040)
0x1258 57 r13 = r13 + 1
0x125c 58 ecx = [rsp + 8 {var_670}].d
0x1262 59 if (ecx == 0) then 14 @ 0x131f else 31 @ 0x1268
0x12f8 60 eax = 0
0x12fa 61 goto 63 @ 0x1308
0x12c9 62 if (edi s<= 0) then 64 @ 0x12b0 else 68 @ 0x12cb
0x1308 63 if ([rsp + (rax << 2) + 0x1a0].d != 0) then 70 @ 0x1240 else 72 @ 0x130e
0x12b0 64 rax = sx.q(edx)
0x12b3 65 [rsp + (rax << 2) + 0x1a0].d = 0
0x12be 66 r9d = r9d + 1
0x12c5 67 if (r9d == ecx) then 43 @ 0x12f2 else 62 @ 0x12c9
0x12cb 68 esi = 0
0x12cd 69 goto 74 @ 0x12d0
0x1240 70 eax = eax + 1
0x1240 71 goto 51 @ 0x1243
0x130e 72 rax = rax + 1
0x1315 73 if (r8 != rax) then 63 @ 0x1308 else 90 @ 0x1317
0x12d0 74 eax = (rbx - 1).d
0x12d3 75 temp2.d:temp3.d = sx.q(eax)
0x12d3 76 edx = temp2.d
0x12d3 77 eax = temp3.d
0x12d4 78 temp4.d = edx
0x12d4 79 temp5.d = eax
0x12d4 80 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x12d4 81 temp6.d = edx
0x12d4 82 temp7.d = eax
0x12d4 83 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x12d4 84 eax = temp0.d
0x12d4 85 edx = temp1.d
0x12d6 86 rax = sx.q(edx)
0x12d9 87 esi = esi + [rsp + (rax << 2) + 0x1a0].d
0x12e0 88 ebx = ebx + 1
0x12e5 89 if (esi s< edi) then 74 @ 0x12d0 else 91 @ 0x12e7
0x1317 90 goto 51 @ 0x1243
0x12e7 91 goto 64 @ 0x12b0
int64_t _fini():
0x135c 0 rsp = rsp - 8
0x1360 1 rsp = rsp + 8
0x1364 2 <return> jump(pop)
| POJ_79 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
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 HD$H$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(r14)
0x1153 2 push(rbx)
0x1154 3 rsp = rsp - 0x20
0x1158 4 rax = rsp + 8 {var_30}
0x115d 5 [rsp {var_38}].q = rax {var_30}
0x1161 6 rdi = 0x2004 {"%d%d%d\n%d%d%d"}
0x1168 7 r14d = 0
0x116b 8 rsi = rsp + 0x1c {var_1c}
0x1170 9 rdx = rsp + 0x18 {var_20}
0x1175 10 rcx = rsp + 0x14 {var_24}
0x117a 11 r8 = rsp + 0x10 {var_28}
0x117f 12 r9 = rsp + 0xc {var_2c}
0x1184 13 eax = 0
0x1186 14 call(0x1040)
0x118b 15 edx = [rsp + 0x1c {var_1c}].d
0x118f 16 ecx = [rsp + 0x18 {var_20}].d
0x1193 17 r8d = [rsp + 0x14 {var_24}].d
0x1198 18 esi = (rcx - 1).d
0x119b 19 edi = (rcx - 2).d
0x11a1 20 if (edi u>= 6) then 21 @ 0x11ad else 24 @ 0x11a3
0x11ad 21 edi = ecx
0x11af 22 edi = edi & 0xfffffffe
0x11b5 23 if (edi == 4) then 27 @ 0x11ec else 31 @ 0x11b9
0x11a3 24 eax = 0x33 {""}
0x11a8 25 flag:c = test_bit(eax, edi)
0x11ab 26 if (flag:c) then 32 @ 0x11de else 21 @ 0x11ad
0x11ec 27 eax = (rdx - 1).d
0x11ef 28 edi = eax * 0x16d
0x11f5 29 ebx = (rdx + 2).d
0x11fa 30 if (eax s>= 0) then 36 else 38 @ 0x11fd
0x11b9 31 if (esi == 0) then 27 @ 0x11ec else 61 @ 0x11bb
0x11de 32 rax = sx.q(edi)
0x11e1 33 rdi = 0x2014 {""}
0x11e8 34 r14d = [rdi + (rax << 2)].d
0x11e8 35 goto 27 @ 0x11ec
0x11fa 36 ebx = eax
0x11fa 37 goto 38 @ 0x11fd
0x11fd 38 ebx = ebx s>> 2
0x1200 39 ebx = ebx + edi
0x1202 40 rax = sx.q(eax)
0x1204 41 rdi = rax * -0x51eb851f
0x120b 42 rbp = rdi
0x120e 43 rbp = rbp u>> 0x3f
0x1212 44 rdi = rdi s>> 0x25
0x1216 45 edi = edi + ebp
0x1218 46 edi = edi + ebx
0x121a 47 rbp = rax * 0x51eb851f
0x1221 48 rax = rbp
0x1224 49 rax = rax u>> 0x3f
0x1228 50 rbp = rbp s>> 0x27
0x122c 51 ebp = ebp + eax
0x122e 52 ebp = ebp + edi
0x1230 53 ebp = ebp + r8d
0x1233 54 eax = esi
0x1235 55 eax = eax << 5
0x1238 56 eax = eax - esi
0x123a 57 eax = eax - esi
0x123c 58 eax = eax + ebp
0x123e 59 eax = eax + r14d
0x1244 60 if ((dl & 3) != 0) then 63 @ 0x126d else 67 @ 0x1246
0x11bb 61 r14d = 2
0x11c4 62 if (esi == 7) then 27 @ 0x11ec else 78 @ 0x11c6
0x126d 63 edx = edx * -0x3d70a3d7
0x1273 64 edx = edx + 0x51eb850
0x1279 65 edx = ror.d(edx, 4)
0x1282 66 if (edx u> 0xa3d70a) then 85 @ 0x128c else 91 @ 0x1287
0x1246 67 rsi = sx.q(edx)
0x1249 68 rsi = rsi * 0x51eb851f
0x1250 69 rdi = rsi
0x1253 70 rdi = rdi u>> 0x3f
0x1257 71 rsi = rsi s>> 0x25
0x125b 72 esi = esi + edi
0x125d 73 esi = esi * 0x64
0x1260 74 edi = edx
0x1262 75 temp0.d = edi
0x1262 76 edi = edi - esi
0x1264 77 if (temp0.d == esi) then 63 @ 0x126d else 92 @ 0x1269
0x11c6 78 edi = esi
0x11c8 79 edi = edi & 0xfffffffe
0x11cb 80 eax = 0
0x11d0 81 al = edi == 8
0x11d3 82 r14d = 4
0x11d9 83 r14d = r14d - eax
0x11dc 84 goto 27 @ 0x11ec
0x128c 85 edx = [rsp + 0x10 {var_28}].d
0x1290 86 r9d = [rsp + 0xc {var_2c}].d
0x1295 87 r8d = [rsp + 8 {var_30}].d
0x129a 88 edi = (r9 - 1).d
0x129e 89 ebx = (r9 - 2).d
0x12a5 90 if (ebx u>= 6) then 93 @ 0x12b1 else 97 @ 0x12a7
0x1287 91 if (ecx s<= 2) then 85 @ 0x128c else 100 @ 0x1289
0x1269 92 if (ecx s>= 3) then 100 @ 0x1289 else 102 @ 0x126b
0x12b1 93 ebp = r9d
0x12b4 94 ebp = ebp & 0xfffffffe
0x12b7 95 r10d = 0
0x12bd 96 if (ebp == 4) then 103 @ 0x12f6 else 107 @ 0x12c1
0x12a7 97 esi = 0x33 {""}
0x12ac 98 flag:c = test_bit(esi, ebx)
0x12af 99 if (flag:c) then 108 @ 0x12e7 else 93 @ 0x12b1
0x1289 100 eax = eax + 1
0x1289 101 goto 85 @ 0x128c
0x126b 102 goto 85 @ 0x128c
0x12f6 103 esi = (rdx - 1).d
0x12f9 104 ebp = esi * 0x16d
0x12ff 105 ecx = (rdx + 2).d
0x1304 106 if (esi s>= 0) then 112 else 114 @ 0x1307
0x12c1 107 if (edi == 0) then 103 @ 0x12f6 else 137 @ 0x12c3
0x12e7 108 rsi = sx.q(ebx)
0x12ea 109 rbp = 0x2014 {""}
0x12f1 110 r10d = [rbp + (rsi << 2)].d
0x12f1 111 goto 103 @ 0x12f6
0x1304 112 ecx = esi
0x1304 113 goto 114 @ 0x1307
0x1307 114 ecx = ecx s>> 2
0x130a 115 ecx = ecx + ebp
0x130c 116 rsi = sx.q(esi)
0x130f 117 rbp = rsi * -0x51eb851f
0x1316 118 rbx = rbp
0x1319 119 rbx = rbx u>> 0x3f
0x131d 120 rbp = rbp s>> 0x25
0x1321 121 ebp = ebp + ebx
0x1323 122 ebp = ebp + ecx
0x1325 123 rcx = rsi * 0x51eb851f
0x132c 124 rsi = rcx
0x132f 125 rsi = rsi u>> 0x3f
0x1333 126 rcx = rcx s>> 0x27
0x1337 127 ecx = ecx + esi
0x1339 128 ecx = ecx + ebp
0x133b 129 ecx = ecx + r8d
0x133e 130 esi = edi
0x1340 131 esi = esi << 5
0x1343 132 esi = esi - edi
0x1345 133 esi = esi - edi
0x1347 134 esi = esi + ecx
0x1349 135 esi = esi + r10d
0x134f 136 if ((dl & 3) != 0) then 139 @ 0x1379 else 143 @ 0x1351
0x12c3 137 r10d = 2
0x12cc 138 if (edi == 7) then 103 @ 0x12f6 else 154 @ 0x12ce
0x1379 139 ecx = edx * -0x3d70a3d7
0x137f 140 ecx = ecx + 0x51eb850
0x1385 141 ecx = ror.d(ecx, 4)
0x138e 142 if (ecx u> 0xa3d70a) then 161 @ 0x1399 else 171 @ 0x1394
0x1351 143 rcx = sx.q(edx)
0x1354 144 rcx = rcx * 0x51eb851f
0x135b 145 rdi = rcx
0x135e 146 rdi = rdi u>> 0x3f
0x1362 147 rcx = rcx s>> 0x25
0x1366 148 ecx = ecx + edi
0x1368 149 ecx = ecx * 0x64
0x136b 150 edi = edx
0x136d 151 temp1.d = edi
0x136d 152 edi = edi - ecx
0x136f 153 if (temp1.d == ecx) then 139 @ 0x1379 else 172 @ 0x1375
0x12ce 154 ebp = edi
0x12d0 155 ebp = ebp & 0xfffffffe
0x12d3 156 esi = 0
0x12d8 157 sil = ebp == 8
0x12dc 158 r10d = 4
0x12e2 159 r10d = r10d - esi
0x12e5 160 goto 103 @ 0x12f6
0x1399 161 esi = esi - eax
0x139b 162 rdi = 0x200f {"%d"}
0x13a2 163 eax = 0
0x13a4 164 call(0x1030)
0x13a9 165 eax = 0
0x13ab 166 rsp = rsp + 0x20
0x13af 167 rbx = pop
0x13b0 168 r14 = pop
0x13b2 169 rbp = pop
0x13b3 170 <return> jump(pop)
0x1394 171 if (r9d s<= 2) then 161 @ 0x1399 else 173 @ 0x1396
0x1375 172 if (r9d s>= 3) then 173 @ 0x1396 else 175 @ 0x1377
0x1396 173 esi = esi + 1
0x1396 174 goto 161 @ 0x1399
0x1377 175 goto 161 @ 0x1399
uint64_t num(int32_t arg1, int32_t arg2, int32_t arg3):
0x13c0 0 r10d = (rsi - 1).d
0x13c4 1 eax = (rsi - 2).d
0x13ca 2 if (eax u>= 6) then 3 @ 0x13d6 else 7 @ 0x13cc
0x13d6 3 eax = esi
0x13d8 4 eax = eax & 0xfffffffe
0x13db 5 r8d = 0
0x13e1 6 if (eax == 4) then 10 @ 0x141c else 14 @ 0x13e6
0x13cc 7 ecx = 0x33 {""}
0x13d1 8 flag:c = test_bit(ecx, eax)
0x13d4 9 if (flag:c) then 15 @ 0x140f else 3 @ 0x13d6
0x141c 10 ecx = (rdi - 1).d
0x141f 11 r9d = ecx * 0x16d
0x1426 12 eax = (rdi + 2).d
0x142b 13 if (ecx s>= 0) then 19 else 21 @ 0x142e
0x13e6 14 if (r10d == 0) then 10 @ 0x141c else 44 @ 0x13e8
0x140f 15 rax = sx.q(eax)
0x1411 16 rcx = 0x2014 {""}
0x1418 17 r8d = [rcx + (rax << 2)].d
0x1418 18 goto 10 @ 0x141c
0x142b 19 eax = ecx
0x142b 20 goto 21 @ 0x142e
0x142e 21 eax = eax s>> 2
0x1431 22 eax = eax + r9d
0x1434 23 r9 = sx.q(ecx)
0x1437 24 rcx = r9 * -0x51eb851f
0x143e 25 r11 = rcx
0x1441 26 r11 = r11 u>> 0x3f
0x1445 27 rcx = rcx s>> 0x25
0x1449 28 ecx = ecx + r11d
0x144c 29 ecx = ecx + eax
0x144e 30 rax = r9 * 0x51eb851f
0x1455 31 r9 = rax
0x1458 32 r9 = r9 u>> 0x3f
0x145c 33 rax = rax s>> 0x27
0x1460 34 eax = eax + r9d
0x1463 35 eax = eax + ecx
0x1465 36 ecx = r10d
0x1468 37 ecx = ecx << 5
0x146b 38 ecx = ecx - r10d
0x146e 39 ecx = ecx - r10d
0x1471 40 eax = eax + edx
0x1473 41 eax = eax + ecx
0x1475 42 eax = eax + r8d
0x147c 43 if ((dil & 3) != 0) then 46 @ 0x14a4 else 50 @ 0x147e
0x13e8 44 r8d = 2
0x13f2 45 if (r10d == 7) then 10 @ 0x141c else 61 @ 0x13f4
0x14a4 46 ecx = edi * -0x3d70a3d7
0x14aa 47 ecx = ecx + 0x51eb850
0x14b0 48 ecx = ror.d(ecx, 4)
0x14b9 49 if (ecx u> 0xa3d70a) then 68 @ 0x14a3 else 69 @ 0x14be
0x147e 50 rcx = sx.q(edi)
0x1481 51 rcx = rcx * 0x51eb851f
0x1488 52 rdx = rcx
0x148b 53 rdx = rdx u>> 0x3f
0x148f 54 rcx = rcx s>> 0x25
0x1493 55 ecx = ecx + edx
0x1495 56 ecx = ecx * 0x64
0x1498 57 edx = edi
0x149a 58 temp0.d = edx
0x149a 59 edx = edx - ecx
0x149c 60 if (temp0.d == ecx) then 46 @ 0x14a4 else 70 @ 0x14a1
0x13f4 61 eax = r10d
0x13f7 62 eax = eax & 0xfffffffe
0x13fa 63 r9d = 0
0x1400 64 r9b = eax == 8
0x1404 65 r8d = 4
0x140a 66 r8d = r8d - r9d
0x140d 67 goto 10 @ 0x141c
0x14a3 68 <return> jump(pop)
0x14be 69 if (esi s<= 2) then 68 @ 0x14a3 else 71 @ 0x14c0
0x14a1 70 if (esi s>= 3) then 71 @ 0x14c0 else 68 @ 0x14a3
0x14c0 71 eax = eax + 1
0x14c3 72 <return> jump(pop)
int64_t _fini():
0x14c8 0 rsp = rsp - 8
0x14cc 1 rsp = rsp + 8
0x14d0 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
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 - 0xc8
0x1161 7 rbx = 0x2014 {"%d"}
0x1168 8 rsi = rsp {var_f8}
0x116b 9 rdi = rbx
0x116e 10 eax = 0
0x1170 11 call(0x1040)
0x1175 12 rsi = rsp + 4 {var_f4}
0x117a 13 rdi = rbx
0x117d 14 eax = 0
0x117f 15 call(0x1040)
0x1184 16 rsi = rsp + 8 {var_f0}
0x1189 17 rdi = rbx
0x118c 18 eax = 0
0x118e 19 call(0x1040)
0x1193 20 rsi = rsp + 0xc {var_ec}
0x1198 21 rdi = rbx
0x119b 22 eax = 0
0x119d 23 call(0x1040)
0x11a2 24 rsi = rsp + 0x10 {var_e8}
0x11a7 25 rdi = rbx
0x11aa 26 eax = 0
0x11ac 27 call(0x1040)
0x11b1 28 rsi = rsp + 0x14 {var_e4}
0x11b6 29 rdi = rbx
0x11b9 30 eax = 0
0x11bb 31 call(0x1040)
0x11c0 32 rsi = rsp + 0x18 {var_e0}
0x11c5 33 rdi = rbx
0x11c8 34 eax = 0
0x11ca 35 call(0x1040)
0x11cf 36 rsi = rsp + 0x1c {var_dc}
0x11d4 37 rdi = rbx
0x11d7 38 eax = 0
0x11d9 39 call(0x1040)
0x11de 40 rsi = rsp + 0x20 {var_d8}
0x11e3 41 rdi = rbx
0x11e6 42 eax = 0
0x11e8 43 call(0x1040)
0x11ed 44 rsi = rsp + 0x24 {var_d4}
0x11f2 45 rdi = rbx
0x11f5 46 eax = 0
0x11f7 47 call(0x1040)
0x11fc 48 rsi = rsp + 0x28 {var_d0}
0x1201 49 rdi = rbx
0x1204 50 eax = 0
0x1206 51 call(0x1040)
0x120b 52 rsi = rsp + 0x2c {var_cc}
0x1210 53 rdi = rbx
0x1213 54 eax = 0
0x1215 55 call(0x1040)
0x121a 56 rsi = rsp + 0x30 {var_c8}
0x121f 57 rdi = rbx
0x1222 58 eax = 0
0x1224 59 call(0x1040)
0x1229 60 rsi = rsp + 0x34 {var_c4}
0x122e 61 rdi = rbx
0x1231 62 eax = 0
0x1233 63 call(0x1040)
0x1238 64 rsi = rsp + 0x38 {var_c0}
0x123d 65 rdi = rbx
0x1240 66 eax = 0
0x1242 67 call(0x1040)
0x1247 68 rsi = rsp + 0x3c {var_bc}
0x124c 69 rdi = rbx
0x124f 70 eax = 0
0x1251 71 call(0x1040)
0x1256 72 rsi = rsp + 0x40 {var_b8}
0x125b 73 rdi = rbx
0x125e 74 eax = 0
0x1260 75 call(0x1040)
0x1265 76 rsi = rsp + 0x44 {var_b4}
0x126a 77 rdi = rbx
0x126d 78 eax = 0
0x126f 79 call(0x1040)
0x1274 80 rsi = rsp + 0x48 {var_b0}
0x1279 81 rdi = rbx
0x127c 82 eax = 0
0x127e 83 call(0x1040)
0x1283 84 rsi = rsp + 0x4c {var_ac}
0x1288 85 rdi = rbx
0x128b 86 eax = 0
0x128d 87 call(0x1040)
0x1292 88 rsi = rsp + 0x50 {var_a8}
0x1297 89 rdi = rbx
0x129a 90 eax = 0
0x129c 91 call(0x1040)
0x12a1 92 rsi = rsp + 0x54 {var_a4}
0x12a6 93 rdi = rbx
0x12a9 94 eax = 0
0x12ab 95 call(0x1040)
0x12b0 96 rsi = rsp + 0x58 {var_a0}
0x12b5 97 rdi = rbx
0x12b8 98 eax = 0
0x12ba 99 call(0x1040)
0x12bf 100 rsi = rsp + 0x5c {var_9c}
0x12c4 101 rdi = rbx
0x12c7 102 eax = 0
0x12c9 103 call(0x1040)
0x12ce 104 rsi = rsp + 0x60 {var_98}
0x12d3 105 rdi = rbx
0x12d6 106 eax = 0
0x12d8 107 call(0x1040)
0x12dd 108 ebx = [rsp + 0x14 {var_e4}].d
0x12e1 109 esi = [rsp + 0x28 {var_d0}].d
0x12e5 110 eax = [rsp {var_f8}].d
0x12e8 111 edi = [rsp + 4 {var_f4}].d
0x12ec 112 edx = 0
0x12ee 113 cond:0 = eax s> edi
0x12f0 114 dl = eax s<= edi
0x12f3 115 if (cond:0) then 116 else 118 @ 0x12f6
0x12f3 116 edi = eax
0x12f3 117 goto 118 @ 0x12f6
0x12f6 118 eax = [rsp + 8 {var_f0}].d
0x12fa 119 cond:1 = edi s<= eax
0x12fa 120 cond:2 = edi s<= eax
0x12fc 121 r11d = 2
0x1302 122 if (cond:1) then 123 else 125 @ 0x1306
0x1302 123 edx = r11d
0x1302 124 goto 125 @ 0x1306
0x1306 125 ecx = [rsp + 0x3c {var_bc}].d
0x130a 126 if (cond:2) then 127 else 129 @ 0x130d
0x130a 127 edi = eax
0x130a 128 goto 129 @ 0x130d
0x130d 129 eax = [rsp + 0xc {var_ec}].d
0x1311 130 cond:3 = edi s<= eax
0x1311 131 cond:4 = edi s<= eax
0x1313 132 r15d = 3
0x1319 133 if (cond:3) then 134 else 136 @ 0x131d
0x1319 134 edx = r15d
0x1319 135 goto 136 @ 0x131d
0x131d 136 r13d = [rsp + 0x50 {var_a8}].d
0x1322 137 if (cond:4) then 138 else 140 @ 0x1325
0x1322 138 edi = eax
0x1322 139 goto 140 @ 0x1325
0x1325 140 eax = [rsp + 0x10 {var_e8}].d
0x1329 141 cond:5 = edi s<= eax
0x1329 142 cond:6 = edi s<= eax
0x132b 143 r12d = 4
0x1331 144 if (cond:5) then 145 else 147 @ 0x1335
0x1331 145 edx = r12d
0x1331 146 goto 147 @ 0x1335
0x1335 147 if (cond:6) then 148 else 150 @ 0x1338
0x1335 148 edi = eax
0x1335 149 goto 150 @ 0x1338
0x1338 150 eax = [rsp + 0x18 {var_e0}].d
0x133c 151 r14d = 0
0x133f 152 cond:7 = ebx s> eax
0x1341 153 r14b = ebx s<= eax
0x1345 154 if (cond:7) then 155 else 157 @ 0x1348
0x1345 155 eax = ebx
0x1345 156 goto 157 @ 0x1348
0x1348 157 ebx = [rsp + 0x1c {var_dc}].d
0x134c 158 cond:8 = eax s<= ebx
0x134e 159 if (eax s<= ebx) then 160 else 162 @ 0x1352
0x134e 160 r14d = r11d
0x134e 161 goto 162 @ 0x1352
0x1352 162 if (cond:8) then 163 else 165 @ 0x1355
0x1352 163 eax = ebx
0x1352 164 goto 165 @ 0x1355
0x1355 165 ebx = [rsp + 0x20 {var_d8}].d
0x1359 166 cond:9 = eax s<= ebx
0x135b 167 if (eax s<= ebx) then 168 else 170 @ 0x135f
0x135b 168 r14d = r15d
0x135b 169 goto 170 @ 0x135f
0x135f 170 if (cond:9) then 171 else 173 @ 0x1362
0x135f 171 eax = ebx
0x135f 172 goto 173 @ 0x1362
0x1362 173 ebx = [rsp + 0x24 {var_d4}].d
0x1366 174 cond:10 = eax s<= ebx
0x1368 175 if (eax s<= ebx) then 176 else 178 @ 0x136c
0x1368 176 r14d = r12d
0x1368 177 goto 178 @ 0x136c
0x136c 178 if (cond:10) then 179 else 181 @ 0x136f
0x136c 179 eax = ebx
0x136c 180 goto 181 @ 0x136f
0x136f 181 ebx = [rsp + 0x2c {var_cc}].d
0x1373 182 r10d = 0
0x1376 183 cond:11 = esi s> ebx
0x1378 184 r10b = esi s<= ebx
0x137c 185 if (cond:11) then 186 else 188 @ 0x137f
0x137c 186 ebx = esi
0x137c 187 goto 188 @ 0x137f
0x137f 188 esi = [rsp + 0x30 {var_c8}].d
0x1383 189 cond:12 = ebx s<= esi
0x1385 190 if (ebx s<= esi) then 191 else 193 @ 0x1389
0x1385 191 r10d = r11d
0x1385 192 goto 193 @ 0x1389
0x1389 193 if (cond:12) then 194 else 196 @ 0x138c
0x1389 194 ebx = esi
0x1389 195 goto 196 @ 0x138c
0x138c 196 esi = [rsp + 0x34 {var_c4}].d
0x1390 197 cond:13 = ebx s<= esi
0x1392 198 if (ebx s<= esi) then 199 else 201 @ 0x1396
0x1392 199 r10d = r15d
0x1392 200 goto 201 @ 0x1396
0x1396 201 if (cond:13) then 202 else 204 @ 0x1399
0x1396 202 ebx = esi
0x1396 203 goto 204 @ 0x1399
0x1399 204 esi = [rsp + 0x38 {var_c0}].d
0x139d 205 cond:14 = ebx s<= esi
0x139f 206 if (ebx s<= esi) then 207 else 209 @ 0x13a3
0x139f 207 r10d = r12d
0x139f 208 goto 209 @ 0x13a3
0x13a3 209 if (cond:14) then 210 else 212 @ 0x13a6
0x13a3 210 ebx = esi
0x13a3 211 goto 212 @ 0x13a6
0x13a6 212 esi = [rsp + 0x40 {var_b8}].d
0x13aa 213 r9d = 0
0x13ad 214 cond:15 = ecx s> esi
0x13af 215 r9b = ecx s<= esi
0x13b3 216 if (cond:15) then 217 else 219 @ 0x13b6
0x13b3 217 esi = ecx
0x13b3 218 goto 219 @ 0x13b6
0x13b6 219 ecx = [rsp + 0x44 {var_b4}].d
0x13ba 220 cond:16 = esi s<= ecx
0x13bc 221 if (esi s<= ecx) then 222 else 224 @ 0x13c0
0x13bc 222 r9d = r11d
0x13bc 223 goto 224 @ 0x13c0
0x13c0 224 if (cond:16) then 225 else 227 @ 0x13c3
0x13c0 225 esi = ecx
0x13c0 226 goto 227 @ 0x13c3
0x13c3 227 ecx = [rsp + 0x48 {var_b0}].d
0x13c7 228 cond:17 = esi s<= ecx
0x13c9 229 if (esi s<= ecx) then 230 else 232 @ 0x13cd
0x13c9 230 r9d = r15d
0x13c9 231 goto 232 @ 0x13cd
0x13cd 232 if (cond:17) then 233 else 235 @ 0x13d0
0x13cd 233 esi = ecx
0x13cd 234 goto 235 @ 0x13d0
0x13d0 235 ecx = [rsp + 0x4c {var_ac}].d
0x13d4 236 cond:18 = esi s<= ecx
0x13d6 237 if (esi s<= ecx) then 238 else 240 @ 0x13da
0x13d6 238 r9d = r12d
0x13d6 239 goto 240 @ 0x13da
0x13da 240 if (cond:18) then 241 else 243 @ 0x13dd
0x13da 241 esi = ecx
0x13da 242 goto 243 @ 0x13dd
0x13dd 243 ecx = [rsp + 0x54 {var_a4}].d
0x13e1 244 r8d = 0
0x13e4 245 cond:19 = r13d s> ecx
0x13e7 246 r8b = r13d s<= ecx
0x13eb 247 if (cond:19) then 248 else 250 @ 0x13ef
0x13eb 248 ecx = r13d
0x13eb 249 goto 250 @ 0x13ef
0x13ef 250 ebp = [rsp + 0x58 {var_a0}].d
0x13f3 251 cond:20 = ecx s<= ebp
0x13f5 252 if (ecx s<= ebp) then 253 else 255 @ 0x13f9
0x13f5 253 r8d = r11d
0x13f5 254 goto 255 @ 0x13f9
0x13f9 255 if (cond:20) then 256 else 258 @ 0x13fc
0x13f9 256 ecx = ebp
0x13f9 257 goto 258 @ 0x13fc
0x13fc 258 ebp = [rsp + 0x5c {var_9c}].d
0x1400 259 cond:21 = ecx s<= ebp
0x1402 260 if (ecx s<= ebp) then 261 else 263 @ 0x1406
0x1402 261 r8d = r15d
0x1402 262 goto 263 @ 0x1406
0x1406 263 if (cond:21) then 264 else 266 @ 0x1409
0x1406 264 ecx = ebp
0x1406 265 goto 266 @ 0x1409
0x1409 266 ebp = [rsp + 0x60 {var_98}].d
0x140d 267 cond:22 = ecx s<= ebp
0x140f 268 if (ecx s<= ebp) then 269 else 271 @ 0x1413
0x140f 269 r8d = r12d
0x140f 270 goto 271 @ 0x1413
0x1413 271 if (cond:22) then 272 else 274 @ 0x1419
0x1413 272 ecx = ebp
0x1413 273 goto 274 @ 0x1419
0x1419 274 if (edi s<= [rsp + (rdx << 2)].d) then 275 @ 0x141f else 278 @ 0x141b
0x141f 275 cond:23 = edi s> [rsp + (rdx << 2) + 0x14].d
0x1423 276 ebp = 0
0x1428 277 if (cond:23) then 280 @ 0x145a else 282 @ 0x142e
0x141b 278 ebp = 0
0x141d 279 goto 280 @ 0x145a
0x145a 280 edx = r14d
0x1460 281 if (eax s> [rsp + (rdx << 2)].d) then 283 @ 0x149a else 285 @ 0x1466
0x142e 282 if (edi s> [rsp + (rdx << 2) + 0x28].d) then 280 @ 0x145a else 286 @ 0x1434
0x149a 283 eax = r10d
0x14a0 284 if (ebx s> [rsp + (rax << 2)].d) then 287 @ 0x14da else 289 @ 0x14a6
0x1466 285 if (eax s> [rsp + (rdx << 2) + 0x14].d) then 283 @ 0x149a else 290 @ 0x146c
0x1434 286 if (edi s> [rsp + (rdx << 2) + 0x3c].d) then 280 @ 0x145a else 291 @ 0x143a
0x14da 287 eax = r9d
0x14e0 288 if (esi s> [rsp + (rax << 2)].d) then 292 @ 0x151a else 294 @ 0x14e6
0x14a6 289 if (ebx s> [rsp + (rax << 2) + 0x14].d) then 287 @ 0x14da else 295 @ 0x14ac
0x146c 290 if (eax s> [rsp + (rdx << 2) + 0x28].d) then 283 @ 0x149a else 296 @ 0x1472
0x143a 291 if (edi s> [rsp + (rdx << 2) + 0x50].d) then 280 @ 0x145a else 297 @ 0x143c
0x151a 292 eax = r8d
0x1520 293 if (ecx s> [rsp + (rax << 2)].d) then 303 @ 0x153c else 304 @ 0x1526
0x14e6 294 if (esi s> [rsp + (rax << 2) + 0x14].d) then 292 @ 0x151a else 305 @ 0x14ec
0x14ac 295 if (ebx s> [rsp + (rax << 2) + 0x28].d) then 287 @ 0x14da else 306 @ 0x14b2
0x1472 296 if (eax s> [rsp + (rdx << 2) + 0x3c].d) then 283 @ 0x149a else 307 @ 0x1478
0x143c 297 [rsp + 0xb0 {var_48}].d = edi
0x1443 298 [rsp + 0x90 {var_68}].d = 1
0x144e 299 edx = edx + 1
0x1451 300 [rsp + 0x70 {var_88}].d = edx
0x1455 301 ebp = 1
0x1455 302 goto 280 @ 0x145a
0x153c 303 if (ebp == 0) then 308 @ 0x1577 else 312 @ 0x153e
0x1526 304 if (ecx s> [rsp + (rax << 2) + 0x14].d) then 303 @ 0x153c else 316 @ 0x152c
0x14ec 305 if (esi s> [rsp + (rax << 2) + 0x28].d) then 292 @ 0x151a else 317 @ 0x14f2
0x14b2 306 if (ebx s> [rsp + (rax << 2) + 0x3c].d) then 287 @ 0x14da else 318 @ 0x14b8
0x1478 307 if (eax s> [rsp + (rdx << 2) + 0x50].d) then 283 @ 0x149a else 319 @ 0x147a
0x1577 308 rdi = 0x2004 {"not found"}
0x157e 309 eax = 0
0x1580 310 call(0x1030)
0x1580 311 goto 326 @ 0x1585
0x153e 312 ebp = ebp
0x1540 313 r14 = 0x200e {"%d %d %d"}
0x1547 314 ebx = 0
0x1549 315 goto 335 @ 0x1550
0x152c 316 if (ecx s> [rsp + (rax << 2) + 0x28].d) then 303 @ 0x153c else 343 @ 0x1532
0x14f2 317 if (esi s> [rsp + (rax << 2) + 0x3c].d) then 292 @ 0x151a else 344 @ 0x14f8
0x14b8 318 if (ebx s> [rsp + (rax << 2) + 0x50].d) then 287 @ 0x14da else 345 @ 0x14ba
0x147a 319 edx = ebp
0x147c 320 ebp = ebp + 1
0x147f 321 [rsp + (rdx << 2) + 0xb0].d = eax
0x1486 322 [rsp + (rdx << 2) + 0x90].d = 2
0x1491 323 r14d = r14d + 1
0x1495 324 [rsp + (rdx << 2) + 0x70].d = r14d
0x1495 325 goto 283 @ 0x149a
0x1585 326 eax = 0
0x1587 327 rsp = rsp + 0xc8
0x158e 328 rbx = pop
0x158f 329 r12 = pop
0x1591 330 r13 = pop
0x1593 331 r14 = pop
0x1595 332 r15 = pop
0x1597 333 rbp = pop
0x1598 334 <return> jump(pop)
0x1550 335 esi = [rsp + (rbx << 2) + 0x90].d
0x1557 336 edx = [rsp + (rbx << 2) + 0x70].d
0x155b 337 ecx = [rsp + (rbx << 2) + 0xb0].d
0x1562 338 rdi = r14
0x1565 339 eax = 0
0x1567 340 call(0x1030)
0x156c 341 rbx = rbx + 1
0x1573 342 if (rbp != rbx) then 335 @ 0x1550 else 352 @ 0x1575
0x1532 343 if (ecx s> [rsp + (rax << 2) + 0x3c].d) then 303 @ 0x153c else 353 @ 0x1538
0x14f8 344 if (esi s> [rsp + (rax << 2) + 0x50].d) then 292 @ 0x151a else 354 @ 0x14fa
0x14ba 345 eax = ebp
0x14bc 346 ebp = ebp + 1
0x14bf 347 [rsp + (rax << 2) + 0xb0].d = ebx
0x14c6 348 [rsp + (rax << 2) + 0x90].d = 3
0x14d1 349 r10d = r10d + 1
0x14d5 350 [rsp + (rax << 2) + 0x70].d = r10d
0x14d5 351 goto 287 @ 0x14da
0x1575 352 goto 326 @ 0x1585
0x1538 353 if (ecx s<= [rsp + (rax << 2) + 0x50].d) then 361 @ 0x1599 else 303 @ 0x153c
0x14fa 354 eax = ebp
0x14fc 355 ebp = ebp + 1
0x14ff 356 [rsp + (rax << 2) + 0xb0].d = esi
0x1506 357 [rsp + (rax << 2) + 0x90].d = 4
0x1511 358 r9d = r9d + 1
0x1515 359 [rsp + (rax << 2) + 0x70].d = r9d
0x1515 360 goto 292 @ 0x151a
0x1599 361 eax = ebp
0x159b 362 ebp = ebp + 1
0x159e 363 [rsp + (rax << 2) + 0xb0].d = ecx
0x15a5 364 [rsp + (rax << 2) + 0x90].d = 5
0x15b0 365 r8d = r8d + 1
0x15b4 366 [rsp + (rax << 2) + 0x70].d = r8d
0x15b9 367 goto 312 @ 0x153e
int64_t _fini():
0x15c0 0 rsp = rsp - 8
0x15c4 1 rsp = rsp + 8
0x15c8 2 <return> jump(pop)
| POJ_73 |
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 {"UAWAVSPH="}
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 push(rax)
0x1157 5 rdi = 0x2004 {"%d"}
0x115e 6 rsi = rsp + 4 {var_28+0x4}
0x1163 7 eax = 0
0x1165 8 call(0x1040)
0x116a 9 r15d = 1
0x1170 10 r14 = 0x2007 {"%d\n"}
0x1177 11 ebp = 0
0x1179 12 goto 13 @ 0x1191
0x1191 13 eax = 0xd {""}
0x119a 14 if (r15d u< 2) then 15 @ 0x11e5 else 33 @ 0x119c
0x11e5 15 ecx = [rsp + 4 {var_28+0x4}].d
0x11e9 16 edx = (rax + rcx).d
0x11ec 17 eax = eax + ecx
0x11ee 18 eax = eax - 1
0x11f1 19 rax = sx.q(eax)
0x11f3 20 rax = rax * -0x6db6db6d
0x11fa 21 rax = rax u>> 0x20
0x11fe 22 eax = eax + edx
0x1200 23 eax = eax - 1
0x1203 24 ecx = eax
0x1205 25 ecx = ecx u>> 0x1f
0x1208 26 eax = eax s>> 2
0x120b 27 eax = eax + ecx
0x120d 28 ecx = (rax << 3).d
0x1214 29 eax = eax - ecx
0x1216 30 eax = eax + edx
0x1218 31 eax = eax - 1
0x121e 32 if (eax != 5) then 36 @ 0x1180 else 39 @ 0x1224
0x119c 33 ecx = 0
0x119e 34 eax = 0
0x119e 35 goto 44 @ 0x11a0
0x1180 36 r15d = r15d + 1
0x1184 37 ebp = ebp + 1
0x118b 38 if (r15d == 0xd) then 51 @ 0x1236 else 13 @ 0x1191
0x1224 39 rdi = r14
0x1227 40 esi = r15d
0x122a 41 eax = 0
0x122c 42 call(0x1030)
0x1231 43 goto 36 @ 0x1180
0x11a0 44 edx = (rcx + 1).d
0x11a3 45 esi = edx
0x11a5 46 esi = esi & 0x7ffffffd
0x11ab 47 edi = edx
0x11ad 48 edi = edi & 0x7ffffff9
0x11b3 49 ebx = (rax + 0x1f).d
0x11b9 50 if (edi == 1) then 58 else 60 @ 0x11bf
0x1236 51 eax = 0
0x1238 52 rsp = rsp + 8
0x123c 53 rbx = pop
0x123d 54 r14 = pop
0x123f 55 r15 = pop
0x1241 56 rbp = pop
0x1242 57 <return> jump(pop)
0x11b9 58 eax = ebx
0x11b9 59 goto 60 @ 0x11bf
0x11bf 60 if (esi == 8) then 61 else 63 @ 0x11c2
0x11bf 61 eax = ebx
0x11bf 62 goto 63 @ 0x11c2
0x11c2 63 edi = (rax + 0x1e).d
0x11c8 64 if (esi == 4) then 65 else 67 @ 0x11cb
0x11c8 65 eax = edi
0x11c8 66 goto 67 @ 0x11cb
0x11cb 67 cond:0 = esi == 9
0x11ce 68 esi = eax
0x11d0 69 if (cond:0) then 70 else 72 @ 0x11d3
0x11d0 70 esi = edi
0x11d0 71 goto 72 @ 0x11d3
0x11d3 72 eax = (rsi + 0x1c).d
0x11d9 73 if (ecx != 1) then 74 else 76 @ 0x11dc
0x11d9 74 eax = esi
0x11d9 75 goto 76 @ 0x11dc
0x11dc 76 ecx = edx
0x11e0 77 if (ebp != edx) then 44 @ 0x11a0 else 78 @ 0x11e2
0x11e2 78 eax = eax + 0xd
0x11e2 79 goto 15 @ 0x11e5
uint64_t Day(int32_t arg1):
0x1250 0 eax = 0xd {""}
0x1258 1 if (edi s< 2) then 2 @ 0x12bd else 3 @ 0x125a
0x12bd 2 <return> jump(pop)
0x125a 3 ecx = 1
0x125f 4 eax = 0
0x126b 5 goto 6 @ 0x1270
0x1270 6 edx = ecx
0x1272 7 edx = edx & 0x7ffffffd
0x1278 8 esi = ecx
0x127a 9 esi = esi & 0x7ffffff9
0x1280 10 r8d = (rax + 0x1f).d
0x1287 11 if (ecx == 0xc) then 12 else 14 @ 0x128e
0x1287 12 eax = r8d
0x1287 13 goto 14 @ 0x128e
0x128e 14 if (esi == 1) then 15 else 17 @ 0x1295
0x128e 15 eax = r8d
0x128e 16 goto 17 @ 0x1295
0x1295 17 if (edx == 8) then 18 else 20 @ 0x1299
0x1295 18 eax = r8d
0x1295 19 goto 20 @ 0x1299
0x1299 20 esi = (rax + 0x1e).d
0x129f 21 if (edx == 4) then 22 else 24 @ 0x12a2
0x129f 22 eax = esi
0x129f 23 goto 24 @ 0x12a2
0x12a2 24 cond:0 = edx == 9
0x12a5 25 edx = eax
0x12a7 26 if (cond:0) then 27 else 29 @ 0x12aa
0x12a7 27 edx = esi
0x12a7 28 goto 29 @ 0x12aa
0x12aa 29 eax = (rdx + 0x1c).d
0x12b0 30 if (ecx != 2) then 31 else 33 @ 0x12b3
0x12b0 31 eax = edx
0x12b0 32 goto 33 @ 0x12b3
0x12b3 33 ecx = ecx + 1
0x12b8 34 if (edi != ecx) then 6 @ 0x1270 else 35 @ 0x12ba
0x12ba 35 eax = eax + 0xd
0x12ba 36 goto 2 @ 0x12bd
int64_t _fini():
0x12c4 0 rsp = rsp - 8
0x12c8 1 rsp = rsp + 8
0x12cc 2 <return> jump(pop)
| POJ_50 |
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 = 0x1240 {"UHHE"}
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, int32_t arg2):
0x1150 0 push(rbp)
0x1151 1 rbp = rsp {__saved_rbp}
0x1154 2 rsp = rsp - 0x130
0x115b 3 [rbp - 4 {var_c}].d = edi
0x115e 4 [rbp - 8 {var_10}].d = esi
0x1161 5 [rbp - 0x1a4 {var_1ac}].d = 1
0x116b 6 eax = [rbp - 4 {var_c}].d
0x116e 7 eax = eax + [rbp - 8 {var_10}].d
0x1171 8 [rbp - 0x1a0 {var_1a8}].d = eax
0x1177 9 [rbp - 0xc {var_14}].d = 1
0x1177 10 goto 11 @ 0x117e
0x117e 11 eax = [rbp - 0xc {var_14}].d
0x1184 12 if (eax s>= [rbp - 4 {var_c}].d) then 13 @ 0x1219 else 20 @ 0x118a
0x1219 13 eax = [rbp - 4 {var_c}].d
0x121c 14 eax = eax - 1
0x121f 15 rax = sx.q(eax)
0x1221 16 eax = [rbp + (rax << 2) - 0x1a0].d
0x1228 17 rsp = rsp + 0x130
0x122f 18 rbp = pop
0x1230 19 <return> jump(pop)
0x118a 20 eax = [rbp - 4 {var_c}].d
0x118d 21 ecx = [rbp - 0xc {var_14}].d
0x1190 22 ecx = ecx - 1
0x1193 23 rcx = sx.q(ecx)
0x1196 24 eax = eax * [rbp + (rcx << 2) - 0x1a0].d
0x119e 25 ecx = [rbp - 4 {var_c}].d
0x11a1 26 ecx = ecx - 1
0x11a4 27 temp2.d:temp3.d = sx.q(eax)
0x11a4 28 edx = temp2.d
0x11a4 29 eax = temp3.d
0x11a5 30 temp4.d = edx
0x11a5 31 temp5.d = eax
0x11a5 32 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x11a5 33 temp6.d = edx
0x11a5 34 temp7.d = eax
0x11a5 35 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x11a5 36 eax = temp0.d
0x11a5 37 edx = temp1.d
0x11a7 38 ecx = eax
0x11a9 39 ecx = ecx + [rbp - 8 {var_10}].d
0x11ac 40 rax = sx.q([rbp - 0xc {var_14}].d)
0x11b0 41 [rbp + (rax << 2) - 0x1a0].d = ecx
0x11b7 42 eax = [rbp - 4 {var_c}].d
0x11ba 43 ecx = [rbp - 0xc {var_14}].d
0x11bd 44 ecx = ecx - 1
0x11c0 45 rcx = sx.q(ecx)
0x11c3 46 eax = eax * [rbp + (rcx << 2) - 0x1a0].d
0x11cb 47 ecx = [rbp - 4 {var_c}].d
0x11ce 48 ecx = ecx - 1
0x11d1 49 temp8.d:temp9.d = sx.q(eax)
0x11d1 50 edx = temp8.d
0x11d1 51 eax = temp9.d
0x11d2 52 temp10.d = edx
0x11d2 53 temp11.d = eax
0x11d2 54 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx)
0x11d2 55 temp12.d = edx
0x11d2 56 temp13.d = eax
0x11d2 57 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx)
0x11d2 58 eax = temp0.d
0x11d2 59 edx = temp1.d
0x11d7 60 if (edx == 0) then 61 @ 0x1206 else 62 @ 0x11dd
0x1206 61 goto 71 @ 0x120b
0x11dd 62 eax = [rbp - 0x1a4 {var_1ac}].d
0x11e3 63 eax = eax + 1
0x11e6 64 [rbp - 0x1a4 {var_1ac}].d = eax
0x11ec 65 eax = [rbp - 0x1a4 {var_1ac}].d
0x11f2 66 eax = eax * [rbp - 4 {var_c}].d
0x11f6 67 eax = eax + [rbp - 8 {var_10}].d
0x11f9 68 [rbp - 0x1a0 {var_1a8}].d = eax
0x11ff 69 [rbp - 0xc {var_14}].d = 0
0x11ff 70 goto 61 @ 0x1206
0x120b 71 eax = [rbp - 0xc {var_14}].d
0x120e 72 eax = eax + 1
0x1211 73 [rbp - 0xc {var_14}].d = eax
0x1214 74 goto 11 @ 0x117e
int32_t main(int32_t argc, char** argv, char** envp):
0x1240 0 push(rbp)
0x1241 1 rbp = rsp {__saved_rbp}
0x1244 2 rsp = rsp - 0x10
0x1248 3 [rbp - 4 {var_c}].d = 0
0x124f 4 rdi = 0x2004 {"%d%d"}
0x1256 5 rsi = rbp - 8 {var_10}
0x125a 6 rdx = rbp - 0xc {var_14}
0x125e 7 al = 0
0x1260 8 call(0x1040)
0x1265 9 edi = [rbp - 8 {var_10}].d
0x1268 10 esi = [rbp - 0xc {var_14}].d
0x126b 11 call(0x1150)
0x1270 12 esi = eax
0x1272 13 rdi = 0x2009 {"%d\n"}
0x1279 14 al = 0
0x127b 15 call(0x1030)
0x1280 16 eax = 0
0x1282 17 rsp = rsp + 0x10
0x1286 18 rbp = pop
0x1287 19 <return> jump(pop)
int64_t _fini():
0x128c 0 rsp = rsp - 8
0x1290 1 rsp = rsp + 8
0x1294 2 <return> jump(pop)
| POJ_54 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t scanf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t puts(char const* str):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"AWAVSH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 push(r15)
0x1152 1 push(r14)
0x1154 2 push(rbx)
0x1155 3 rsp = rsp - 0x110
0x115c 4 rdi = 0x2054 {"%d"}
0x1163 5 rsi = rsp + 0xc {var_11c}
0x1168 6 eax = 0
0x116a 7 call(0x1030)
0x116f 8 temp0.d = [rsp + 0xc {var_11c}].d
0x116f 9 [rsp + 0xc {var_11c}].d = [rsp + 0xc {var_11c}].d - 1
0x1174 10 if (temp0.d u< 1) then 11 @ 0x11de else 17 @ 0x1176
0x11de 11 eax = 0
0x11e0 12 rsp = rsp + 0x110
0x11e7 13 rbx = pop
0x11e8 14 r14 = pop
0x11ea 15 r15 = pop
0x11ec 16 <return> jump(pop)
0x1176 17 r14 = 0x2057 {"%s"}
0x117d 18 r15 = rsp + 0x10 {var_118}
0x1182 19 rbx = 0x2004 {"%d"}
0x1189 20 goto 21 @ 0x1190
0x1190 21 rdi = r14
0x1193 22 rsi = r15 {var_118}
0x1196 23 eax = 0
0x1198 24 call(0x1030)
0x119d 25 rax = r15 {var_118}
0x11a0 26 goto 27 @ 0x11aa
0x11aa 27 ecx = zx.d([rax].b)
0x11ad 28 edx = (rcx - 0x41).d
0x11b3 29 if (dl u> 0x13) then 30 @ 0x11cd else 31 @ 0x11b5
0x11cd 30 if (cl != 0) then 36 @ 0x11a6 else 38 @ 0x11cf
0x11b5 31 cl = 0x54 {""}
0x11b7 32 edx = zx.d(dl)
0x11ba 33 rdx = sx.q([rbx + (rdx << 2)].d)
0x11be 34 rdx = rdx + rbx
0x11c1 35 jump(rdx => 43 @ 0x11a2, 45 @ 0x11a4, 36 @ 0x11a6, 47 @ 0x11c3, 49 @ 0x11c7)
0x11a6 36 rax = rax + 1
0x11a6 37 goto 27 @ 0x11aa
0x11cf 38 rdi = r15 {var_118}
0x11d2 39 call(0x1040)
0x11d7 40 temp1.d = [rsp + 0xc {var_11c}].d
0x11d7 41 [rsp + 0xc {var_11c}].d = [rsp + 0xc {var_11c}].d - 1
0x11dc 42 if (temp1.d u>= 1) then 21 @ 0x1190 else 11 @ 0x11de
0x11a2 43 cl = 0x43 {""}
0x11a2 44 goto 45 @ 0x11a4
0x11a4 45 [rax].b = cl
0x11a4 46 goto 36 @ 0x11a6
0x11c3 47 cl = 0x47 {""}
0x11c5 48 goto 45 @ 0x11a4
0x11c7 49 cl = 0x41 {""}
0x11c9 50 goto 45 @ 0x11a4
int64_t _fini():
0x11f4 0 rsp = rsp - 8
0x11f8 1 rsp = rsp + 8
0x11fc 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 = 0x1220 {"UHH"}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
uint64_t selectionSort(int64_t arg1, int32_t arg2):
0x1150 0 push(rbp)
0x1151 1 rbp = rsp {__saved_rbp}
0x1154 2 [rbp - 8 {var_10}].q = rdi
0x1158 3 [rbp - 0xc {var_14}].d = esi
0x115b 4 [rbp - 0x10 {var_18}].d = 0
0x115b 5 goto 6 @ 0x1162
0x1162 6 eax = [rbp - 0x10 {var_18}].d
0x1168 7 if (eax s>= [rbp - 0xc {var_14}].d) then 8 @ 0x120f else 10 @ 0x116e
0x120f 8 rbp = pop
0x1210 9 <return> jump(pop)
0x116e 10 eax = [rbp - 0x10 {var_18}].d
0x1171 11 [rbp - 0x18 {var_20_1}].d = eax
0x1174 12 eax = [rbp - 0x10 {var_18}].d
0x1177 13 eax = eax + 1
0x117a 14 [rbp - 0x14 {var_1c_1}].d = eax
0x117a 15 goto 16 @ 0x117d
0x117d 16 eax = [rbp - 0x14 {var_1c_1}].d
0x1183 17 if (eax s>= [rbp - 0xc {var_14}].d) then 18 @ 0x11be else 20 @ 0x1189
0x11be 18 eax = [rbp - 0x18 {var_20_1}].d
0x11c4 19 if (eax == [rbp - 0x10 {var_18}].d) then 26 @ 0x11fc else 27 @ 0x11ca
0x1189 20 rax = [rbp - 8 {var_10}].q
0x118d 21 rcx = sx.q([rbp - 0x14 {var_1c_1}].d)
0x1191 22 eax = [rax + (rcx << 2)].d
0x1194 23 rcx = [rbp - 8 {var_10}].q
0x1198 24 rdx = sx.q([rbp - 0x18 {var_20_1}].d)
0x119f 25 if (eax s<= [rcx + (rdx << 2)].d) then 42 @ 0x11ab else 43 @ 0x11a5
0x11fc 26 goto 46 @ 0x1201
0x11ca 27 rax = [rbp - 8 {var_10}].q
0x11ce 28 rcx = sx.q([rbp - 0x18 {var_20_1}].d)
0x11d2 29 eax = [rax + (rcx << 2)].d
0x11d5 30 [rbp - 0x1c {var_24_1}].d = eax
0x11d8 31 rax = [rbp - 8 {var_10}].q
0x11dc 32 rcx = sx.q([rbp - 0x10 {var_18}].d)
0x11e0 33 edx = [rax + (rcx << 2)].d
0x11e3 34 rax = [rbp - 8 {var_10}].q
0x11e7 35 rcx = sx.q([rbp - 0x18 {var_20_1}].d)
0x11eb 36 [rax + (rcx << 2)].d = edx
0x11ee 37 edx = [rbp - 0x1c {var_24_1}].d
0x11f1 38 rax = [rbp - 8 {var_10}].q
0x11f5 39 rcx = sx.q([rbp - 0x10 {var_18}].d)
0x11f9 40 [rax + (rcx << 2)].d = edx
0x11f9 41 goto 26 @ 0x11fc
0x11ab 42 goto 50 @ 0x11b0
0x11a5 43 eax = [rbp - 0x14 {var_1c_1}].d
0x11a8 44 [rbp - 0x18 {var_20_1}].d = eax
0x11a8 45 goto 42 @ 0x11ab
0x1201 46 eax = [rbp - 0x10 {var_18}].d
0x1204 47 eax = eax + 1
0x1207 48 [rbp - 0x10 {var_18}].d = eax
0x120a 49 goto 6 @ 0x1162
0x11b0 50 eax = [rbp - 0x14 {var_1c_1}].d
0x11b3 51 eax = eax + 1
0x11b6 52 [rbp - 0x14 {var_1c_1}].d = eax
0x11b9 53 goto 16 @ 0x117d
int32_t main(int32_t argc, char** argv, char** envp):
0x1220 0 push(rbp)
0x1221 1 rbp = rsp {__saved_rbp}
0x1224 2 rsp = rsp - 0x1b0
0x122b 3 [rbp - 4 {var_c}].d = 0
0x1232 4 rdi = 0x2004 {"%d"}
0x1239 5 rsi = rbp - 0x1a4 {var_1ac}
0x1240 6 al = 0
0x1242 7 call(0x1040)
0x1247 8 [rbp - 8 {var_10}].d = 0
0x1247 9 goto 10 @ 0x124e
0x124e 10 eax = [rbp - 8 {var_10}].d
0x1257 11 if (eax s>= [rbp - 0x1a4 {var_1ac}].d) then 12 @ 0x128b else 17 @ 0x125d
0x128b 12 rdi = rbp - 0x1a0 {var_1a8}
0x1292 13 esi = [rbp - 0x1a4 {var_1ac}].d
0x1298 14 call(0x1150)
0x129d 15 [rbp - 8 {var_10_1}].d = 0
0x129d 16 goto 28 @ 0x12a8
0x125d 17 rax = sx.q([rbp - 8 {var_10}].d)
0x1261 18 rsi = rbp - 0x1a0 {var_1a8}
0x1268 19 rax = rax << 2
0x126c 20 rsi = rsi + rax
0x126f 21 rdi = 0x2004 {"%d"}
0x1276 22 al = 0
0x1278 23 call(0x1040)
0x127d 24 eax = [rbp - 8 {var_10}].d
0x1280 25 eax = eax + 1
0x1283 26 [rbp - 8 {var_10}].d = eax
0x1286 27 goto 10 @ 0x124e
0x12a8 28 if ([rbp - 8 {var_10_1}].d s>= 2) then 29 @ 0x12d5 else 33 @ 0x12ae
0x12d5 29 eax = 0
0x12d7 30 rsp = rsp + 0x1b0
0x12de 31 rbp = pop
0x12df 32 <return> jump(pop)
0x12ae 33 rax = sx.q([rbp - 8 {var_10_1}].d)
0x12b2 34 esi = [rbp + (rax << 2) - 0x1a0].d
0x12b9 35 rdi = 0x2007 {"%d\n"}
0x12c0 36 al = 0
0x12c2 37 call(0x1030)
0x12c7 38 eax = [rbp - 8 {var_10_1}].d
0x12ca 39 eax = eax + 1
0x12cd 40 [rbp - 8 {var_10_1}].d = eax
0x12d0 41 goto 28 @ 0x12a8
int64_t _fini():
0x12e4 0 rsp = rsp - 8
0x12e8 1 rsp = rsp + 8
0x12ec 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)
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 - 0x360
0x116b 3 [rbp - 4 {var_c}].d = 0
0x1172 4 rdi = rbp - 0x1a0 {var_1a8}
0x1179 5 esi = 0
0x117b 6 edx = 0x190 {""}
0x1180 7 call(0x1040)
0x1185 8 rdi = rbp - 0x330 {var_338}
0x118c 9 esi = 0
0x118e 10 edx = 0x190 {""}
0x1193 11 call(0x1040)
0x1198 12 rdi = 0x2004 {"%d%d"}
0x119f 13 rsi = rbp - 0x340 {var_348}
0x11a6 14 rdx = rbp - 0x344 {var_34c}
0x11ad 15 al = 0
0x11af 16 call(0x1050)
0x11b4 17 eax = [rbp - 0x340 {var_348}].d
0x11ba 18 [rbp - 0xc4 {var_cc}].d = eax
0x11c0 19 [rbp - 0x33c {var_344}].d = 0
0x11c0 20 goto 21 @ 0x11ca
0x11ca 21 eax = [rbp - 0x33c {var_344}].d
0x11d6 22 if (eax s>= [rbp - 0x344 {var_34c}].d) then 23 @ 0x1528 else 25 @ 0x11dc
0x1528 23 [rbp - 0x334 {var_33c_2}].d = 1
0x1528 24 goto 27 @ 0x1539
0x11dc 25 [rbp - 0x334 {var_33c_1}].d = 1
0x11dc 26 goto 28 @ 0x11ed
0x1539 27 if ([rbp - 0x334 {var_33c_2}].d s> 9) then 29 @ 0x15e3 else 33 @ 0x153f
0x11ed 28 if ([rbp - 0x334 {var_33c_1}].d s> 9) then 35 @ 0x1453 else 37 @ 0x11f3
0x15e3 29 eax = [rbp - 4 {var_c}].d
0x15e6 30 rsp = rsp + 0x360
0x15ed 31 rbp = pop
0x15ee 32 <return> jump(pop)
0x153f 33 [rbp - 0x338 {var_340_2}].d = 1
0x153f 34 goto 39 @ 0x1550
0x1453 35 [rbp - 0x350 {var_358_1}].d = 1
0x1453 36 goto 40 @ 0x1464
0x11f3 37 [rbp - 0x338 {var_340_1}].d = 1
0x11f3 38 goto 41 @ 0x1204
0x1550 39 if ([rbp - 0x338 {var_340_2}].d s> 9) then 42 @ 0x15ca else 43 @ 0x1556
0x1464 40 if ([rbp - 0x350 {var_358_1}].d s> 9) then 53 @ 0x150f else 54 @ 0x146a
0x1204 41 if ([rbp - 0x338 {var_340_1}].d s> 9) then 56 @ 0x143a else 57 @ 0x120a
0x15ca 42 goto 63 @ 0x15cf
0x1556 43 rcx = sx.q([rbp - 0x334 {var_33c_2}].d)
0x155d 44 rax = rbp - 0x1a0 {var_1a8}
0x1564 45 rcx = rcx * 0x28
0x1568 46 rax = rax + rcx
0x156b 47 rcx = sx.q([rbp - 0x338 {var_340_2}].d)
0x1572 48 esi = [rax + (rcx << 2)].d
0x1575 49 rdi = 0x2006 {"%d"}
0x157c 50 al = 0
0x157e 51 call(0x1030)
0x158a 52 if ([rbp - 0x338 {var_340_2}].d != 9) then 67 @ 0x15a3 else 71 @ 0x1590
0x150f 53 goto 75 @ 0x1514
0x146a 54 [rbp - 0x354 {var_35c_1}].d = 1
0x146a 55 goto 79 @ 0x147b
0x143a 56 goto 80 @ 0x143f
0x120a 57 rcx = sx.q([rbp - 0x334 {var_33c_1}].d)
0x1211 58 rax = rbp - 0x1a0 {var_1a8}
0x1218 59 rcx = rcx * 0x28
0x121c 60 rax = rax + rcx
0x121f 61 rcx = sx.q([rbp - 0x338 {var_340_1}].d)
0x122a 62 if ([rax + (rcx << 2)].d == 0) then 84 @ 0x1421 else 85 @ 0x1230
0x15cf 63 eax = [rbp - 0x334 {var_33c_2}].d
0x15d5 64 eax = eax + 1
0x15d8 65 [rbp - 0x334 {var_33c_2}].d = eax
0x15de 66 goto 27 @ 0x1539
0x15a3 67 rdi = 0x200b {" "}
0x15aa 68 al = 0
0x15ac 69 call(0x1030)
0x15ac 70 goto 197 @ 0x15b1
0x1590 71 rdi = 0x2009 {"\n"}
0x1597 72 al = 0
0x1599 73 call(0x1030)
0x159e 74 goto 197 @ 0x15b1
0x1514 75 eax = [rbp - 0x33c {var_344}].d
0x151a 76 eax = eax + 1
0x151d 77 [rbp - 0x33c {var_344}].d = eax
0x1523 78 goto 21 @ 0x11ca
0x147b 79 if ([rbp - 0x354 {var_35c_1}].d s> 9) then 198 @ 0x14f6 else 199 @ 0x1481
0x143f 80 eax = [rbp - 0x334 {var_33c_1}].d
0x1445 81 eax = eax + 1
0x1448 82 [rbp - 0x334 {var_33c_1}].d = eax
0x144e 83 goto 28 @ 0x11ed
0x1421 84 goto 221 @ 0x1426
0x1230 85 rcx = sx.q([rbp - 0x334 {var_33c_1}].d)
0x1237 86 rax = rbp - 0x1a0 {var_1a8}
0x123e 87 rcx = rcx * 0x28
0x1242 88 rax = rax + rcx
0x1245 89 rcx = sx.q([rbp - 0x338 {var_340_1}].d)
0x124c 90 eax = [rax + (rcx << 2)].d
0x124f 91 eax = eax << 1
0x1252 92 [rbp - 0x348 {var_350_1}].d = eax
0x1258 93 rcx = sx.q([rbp - 0x334 {var_33c_1}].d)
0x125f 94 rax = rbp - 0x1a0 {var_1a8}
0x1266 95 rcx = rcx * 0x28
0x126a 96 rax = rax + rcx
0x126d 97 rcx = sx.q([rbp - 0x338 {var_340_1}].d)
0x1274 98 eax = [rax + (rcx << 2)].d
0x1277 99 [rbp - 0x34c {var_354_1}].d = eax
0x127d 100 edx = [rbp - 0x348 {var_350_1}].d
0x1283 101 rcx = sx.q([rbp - 0x334 {var_33c_1}].d)
0x128a 102 rax = rbp - 0x330 {var_338}
0x1291 103 rcx = rcx * 0x28
0x1295 104 rax = rax + rcx
0x1298 105 rcx = sx.q([rbp - 0x338 {var_340_1}].d)
0x129f 106 edx = edx + [rax + (rcx << 2)].d
0x12a2 107 [rax + (rcx << 2)].d = edx
0x12a5 108 edx = [rbp - 0x34c {var_354_1}].d
0x12ab 109 rcx = sx.q([rbp - 0x334 {var_33c_1}].d)
0x12b2 110 rax = rbp - 0x330 {var_338}
0x12b9 111 rcx = rcx * 0x28
0x12bd 112 rax = rax + rcx
0x12c0 113 ecx = [rbp - 0x338 {var_340_1}].d
0x12c6 114 ecx = ecx + 1
0x12c9 115 rcx = sx.q(ecx)
0x12cc 116 edx = edx + [rax + (rcx << 2)].d
0x12cf 117 [rax + (rcx << 2)].d = edx
0x12d2 118 edx = [rbp - 0x34c {var_354_1}].d
0x12d8 119 rcx = sx.q([rbp - 0x334 {var_33c_1}].d)
0x12df 120 rax = rbp - 0x330 {var_338}
0x12e6 121 rcx = rcx * 0x28
0x12ea 122 rax = rax + rcx
0x12ed 123 ecx = [rbp - 0x338 {var_340_1}].d
0x12f3 124 ecx = ecx - 1
0x12f6 125 rcx = sx.q(ecx)
0x12f9 126 edx = edx + [rax + (rcx << 2)].d
0x12fc 127 [rax + (rcx << 2)].d = edx
0x12ff 128 edx = [rbp - 0x34c {var_354_1}].d
0x1305 129 eax = [rbp - 0x334 {var_33c_1}].d
0x130b 130 eax = eax + 1
0x130e 131 rcx = sx.q(eax)
0x1311 132 rax = rbp - 0x330 {var_338}
0x1318 133 rcx = rcx * 0x28
0x131c 134 rax = rax + rcx
0x131f 135 ecx = [rbp - 0x338 {var_340_1}].d
0x1325 136 ecx = ecx + 1
0x1328 137 rcx = sx.q(ecx)
0x132b 138 edx = edx + [rax + (rcx << 2)].d
0x132e 139 [rax + (rcx << 2)].d = edx
0x1331 140 edx = [rbp - 0x34c {var_354_1}].d
0x1337 141 eax = [rbp - 0x334 {var_33c_1}].d
0x133d 142 eax = eax + 1
0x1340 143 rcx = sx.q(eax)
0x1343 144 rax = rbp - 0x330 {var_338}
0x134a 145 rcx = rcx * 0x28
0x134e 146 rax = rax + rcx
0x1351 147 ecx = [rbp - 0x338 {var_340_1}].d
0x1357 148 ecx = ecx - 1
0x135a 149 rcx = sx.q(ecx)
0x135d 150 edx = edx + [rax + (rcx << 2)].d
0x1360 151 [rax + (rcx << 2)].d = edx
0x1363 152 edx = [rbp - 0x34c {var_354_1}].d
0x1369 153 eax = [rbp - 0x334 {var_33c_1}].d
0x136f 154 eax = eax + 1
0x1372 155 rcx = sx.q(eax)
0x1375 156 rax = rbp - 0x330 {var_338}
0x137c 157 rcx = rcx * 0x28
0x1380 158 rax = rax + rcx
0x1383 159 rcx = sx.q([rbp - 0x338 {var_340_1}].d)
0x138a 160 edx = edx + [rax + (rcx << 2)].d
0x138d 161 [rax + (rcx << 2)].d = edx
0x1390 162 edx = [rbp - 0x34c {var_354_1}].d
0x1396 163 eax = [rbp - 0x334 {var_33c_1}].d
0x139c 164 eax = eax - 1
0x139f 165 rcx = sx.q(eax)
0x13a2 166 rax = rbp - 0x330 {var_338}
0x13a9 167 rcx = rcx * 0x28
0x13ad 168 rax = rax + rcx
0x13b0 169 rcx = sx.q([rbp - 0x338 {var_340_1}].d)
0x13b7 170 edx = edx + [rax + (rcx << 2)].d
0x13ba 171 [rax + (rcx << 2)].d = edx
0x13bd 172 edx = [rbp - 0x34c {var_354_1}].d
0x13c3 173 eax = [rbp - 0x334 {var_33c_1}].d
0x13c9 174 eax = eax - 1
0x13cc 175 rcx = sx.q(eax)
0x13cf 176 rax = rbp - 0x330 {var_338}
0x13d6 177 rcx = rcx * 0x28
0x13da 178 rax = rax + rcx
0x13dd 179 ecx = [rbp - 0x338 {var_340_1}].d
0x13e3 180 ecx = ecx + 1
0x13e6 181 rcx = sx.q(ecx)
0x13e9 182 edx = edx + [rax + (rcx << 2)].d
0x13ec 183 [rax + (rcx << 2)].d = edx
0x13ef 184 edx = [rbp - 0x34c {var_354_1}].d
0x13f5 185 eax = [rbp - 0x334 {var_33c_1}].d
0x13fb 186 eax = eax - 1
0x13fe 187 rcx = sx.q(eax)
0x1401 188 rax = rbp - 0x330 {var_338}
0x1408 189 rcx = rcx * 0x28
0x140c 190 rax = rax + rcx
0x140f 191 ecx = [rbp - 0x338 {var_340_1}].d
0x1415 192 ecx = ecx - 1
0x1418 193 rcx = sx.q(ecx)
0x141b 194 edx = edx + [rax + (rcx << 2)].d
0x141e 195 [rax + (rcx << 2)].d = edx
0x141e 196 goto 84 @ 0x1421
0x15b1 197 goto 225 @ 0x15b6
0x14f6 198 goto 229 @ 0x14fb
0x1481 199 rcx = sx.q([rbp - 0x350 {var_358_1}].d)
0x1488 200 rax = rbp - 0x330 {var_338}
0x148f 201 rcx = rcx * 0x28
0x1493 202 rax = rax + rcx
0x1496 203 rcx = sx.q([rbp - 0x354 {var_35c_1}].d)
0x149d 204 edx = [rax + (rcx << 2)].d
0x14a0 205 rcx = sx.q([rbp - 0x350 {var_358_1}].d)
0x14a7 206 rax = rbp - 0x1a0 {var_1a8}
0x14ae 207 rcx = rcx * 0x28
0x14b2 208 rax = rax + rcx
0x14b5 209 rcx = sx.q([rbp - 0x354 {var_35c_1}].d)
0x14bc 210 [rax + (rcx << 2)].d = edx
0x14bf 211 rcx = sx.q([rbp - 0x350 {var_358_1}].d)
0x14c6 212 rax = rbp - 0x330 {var_338}
0x14cd 213 rcx = rcx * 0x28
0x14d1 214 rax = rax + rcx
0x14d4 215 rcx = sx.q([rbp - 0x354 {var_35c_1}].d)
0x14db 216 [rax + (rcx << 2)].d = 0
0x14e2 217 eax = [rbp - 0x354 {var_35c_1}].d
0x14e8 218 eax = eax + 1
0x14eb 219 [rbp - 0x354 {var_35c_1}].d = eax
0x14f1 220 goto 79 @ 0x147b
0x1426 221 eax = [rbp - 0x338 {var_340_1}].d
0x142c 222 eax = eax + 1
0x142f 223 [rbp - 0x338 {var_340_1}].d = eax
0x1435 224 goto 41 @ 0x1204
0x15b6 225 eax = [rbp - 0x338 {var_340_2}].d
0x15bc 226 eax = eax + 1
0x15bf 227 [rbp - 0x338 {var_340_2}].d = eax
0x15c5 228 goto 39 @ 0x1550
0x14fb 229 eax = [rbp - 0x350 {var_358_1}].d
0x1501 230 eax = eax + 1
0x1504 231 [rbp - 0x350 {var_358_1}].d = eax
0x150a 232 goto 40 @ 0x1464
int64_t _fini():
0x15f4 0 rsp = rsp - 8
0x15f8 1 rsp = rsp + 8
0x15fc 2 <return> jump(pop)
| POJ_48 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"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 - 0xa0
0x115b 3 [rbp - 4 {var_c}].d = 0
0x1162 4 [rbp - 0x84 {var_8c}].d = 0
0x116c 5 [rbp - 0x88 {var_90}].d = 0
0x116c 6 goto 7 @ 0x117d
0x117d 7 if ([rbp - 0x88 {var_90}].d s>= 0xf) then 8 @ 0x1209 else 11 @ 0x1183
0x1209 8 [rbp - 0x8c {var_94}].d = 0
0x1213 9 [rbp - 0x90 {var_98}].d = 0
0x1213 10 goto 28 @ 0x121d
0x1183 11 rax = sx.q([rbp - 0x88 {var_90}].d)
0x118a 12 rsi = rbp - 0x40 {var_48}
0x118e 13 rax = rax << 2
0x1192 14 rsi = rsi + rax
0x1195 15 rdi = 0x2008 {"%f"}
0x119c 16 al = 0
0x119e 17 call(0x1040)
0x11a3 18 rax = sx.q([rbp - 0x88 {var_90}].d)
0x11aa 19 xmm0 = [rbp + (rax << 2) - 0x40].d
0x11b0 20 xmm1 = 0
0x11b3 21 flag:p = is_unordered.d(xmm0.d, xmm1.d)
0x11b3 22 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d)
0x11b3 23 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d)
0x11b3 24 flag:s = 0
0x11b3 25 flag:o = 0
0x11b3 26 flag:a = 0
0x11b6 27 if (not(flag:z)) then 30 @ 0x11c7 else 38 @ 0x11bc
0x121d 28 eax = [rbp - 0x90 {var_98}].d
0x1229 29 if (eax s>= [rbp - 0x84 {var_8c}].d) then 39 @ 0x12bd else 47 @ 0x122f
0x11c7 30 rax = sx.q([rbp - 0x88 {var_90}].d)
0x11ce 31 xmm0 = [rbp + (rax << 2) - 0x40].d
0x11d4 32 rax = sx.q([rbp - 0x88 {var_90}].d)
0x11db 33 [rbp + (rax << 2) - 0x80].d = xmm0.d
0x11e1 34 eax = [rbp - 0x84 {var_8c}].d
0x11e7 35 eax = eax + 1
0x11ea 36 [rbp - 0x84 {var_8c}].d = eax
0x11f0 37 goto 49 @ 0x11f5
0x11bc 38 if (flag:p) then 30 @ 0x11c7 else 53 @ 0x11c2
0x12bd 39 esi = [rbp - 0x8c {var_94}].d
0x12c3 40 rdi = 0x200b {"%d"}
0x12ca 41 al = 0
0x12cc 42 call(0x1030)
0x12d1 43 eax = 0
0x12d3 44 rsp = rsp + 0xa0
0x12da 45 rbp = pop
0x12db 46 <return> jump(pop)
0x122f 47 [rbp - 0x94 {var_9c_1}].d = 0
0x122f 48 goto 54 @ 0x1239
0x11f5 49 eax = [rbp - 0x88 {var_90}].d
0x11fb 50 eax = eax + 1
0x11fe 51 [rbp - 0x88 {var_90}].d = eax
0x1204 52 goto 7 @ 0x117d
0x11c2 53 goto 8 @ 0x1209
0x1239 54 eax = [rbp - 0x94 {var_9c_1}].d
0x1245 55 if (eax s>= [rbp - 0x84 {var_8c}].d) then 56 @ 0x12a4 else 57 @ 0x124b
0x12a4 56 goto 69 @ 0x12a9
0x124b 57 rax = sx.q([rbp - 0x90 {var_98}].d)
0x1252 58 xmm0 = [rbp + (rax << 2) - 0x80].d
0x1258 59 rax = sx.q([rbp - 0x94 {var_9c_1}].d)
0x125f 60 xmm0.d = xmm0.d f/ fconvert.t([rbp + (rax << 2) - 0x80].d)
0x1265 61 xmm1 = [0x2004].d
0x126d 62 flag:p = is_unordered.d(xmm0.d, xmm1.d)
0x126d 63 flag:c = xmm0.d f< xmm1.d | is_unordered.d(xmm0.d, xmm1.d)
0x126d 64 flag:z = xmm0.d f== xmm1.d | is_unordered.d(xmm0.d, xmm1.d)
0x126d 65 flag:s = 0
0x126d 66 flag:o = 0
0x126d 67 flag:a = 0
0x1270 68 if (not(flag:z)) then 73 @ 0x128b else 74 @ 0x1276
0x12a9 69 eax = [rbp - 0x90 {var_98}].d
0x12af 70 eax = eax + 1
0x12b2 71 [rbp - 0x90 {var_98}].d = eax
0x12b8 72 goto 28 @ 0x121d
0x128b 73 goto 75 @ 0x1290
0x1276 74 if (flag:p) then 73 @ 0x128b else 79 @ 0x127c
0x1290 75 eax = [rbp - 0x94 {var_9c_1}].d
0x1296 76 eax = eax + 1
0x1299 77 [rbp - 0x94 {var_9c_1}].d = eax
0x129f 78 goto 54 @ 0x1239
0x127c 79 eax = [rbp - 0x8c {var_94}].d
0x1282 80 eax = eax + 1
0x1285 81 [rbp - 0x8c {var_94}].d = eax
0x1285 82 goto 73 @ 0x128b
int64_t _fini():
0x12e0 0 rsp = rsp - 8
0x12e4 1 rsp = rsp + 8
0x12e8 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
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* strcpy(char* arg1, char const* arg2):
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 - 0x7e8
0x1181 7 rdi = 0x20f4 {"%d"}
0x1188 8 rsi = rsp + 0xc {var_80c}
0x118d 9 eax = 0
0x118f 10 call(0x1050)
0x1199 11 if ([rsp + 0xc {var_80c}].d s<= 0) then 12 @ 0x12de else 21 @ 0x119f
0x12de 12 eax = 0
0x12e0 13 rsp = rsp + 0x7e8
0x12e7 14 rbx = pop
0x12e8 15 r12 = pop
0x12ea 16 r13 = pop
0x12ec 17 r14 = pop
0x12ee 18 r15 = pop
0x12f0 19 rbp = pop
0x12f1 20 <return> jump(pop)
0x119f 21 r13 = rsp + 0x400 {var_418}
0x11a7 22 r15 = rsp + 0x10 {var_808}
0x11ac 23 r14 = 0x2054 {"p|!!!!!!!!!!!!!!!!3%d"}
0x11b3 24 rbp = 0x2004 {"zp|!!!!!!!!!!!!!!!!3%d"}
0x11ba 25 r12d = 0
0x11bd 26 goto 27 @ 0x11dc
0x11dc 27 rdi = 0x20f7 {"%s"}
0x11e3 28 rsi = r13 {var_418}
0x11e6 29 eax = 0
0x11e8 30 call(0x1050)
0x11ed 31 rdi = r15 {var_808}
0x11f0 32 rsi = r13 {var_418}
0x11f3 33 call(0x1040)
0x11f8 34 rdi = r13 {var_418}
0x11fb 35 call(0x1030)
0x1203 36 if (rax == 0) then 37 @ 0x11c5 else 41 @ 0x1209
0x11c5 37 rdi = r15 {var_808}
0x11c8 38 call(0x1060)
0x11cd 39 r12d = r12d + 1
0x11d6 40 if (r12d s>= [rsp + 0xc {var_80c}].d) then 12 @ 0x12de else 27 @ 0x11dc
0x1209 41 if (rax != 1) then 42 @ 0x1240 else 46 @ 0x120b
0x1240 42 rsi = rax
0x1243 43 rsi = rsi & 0xfffffffffffffffe
0x1247 44 ecx = 0
0x1249 45 goto 48 @ 0x125f
0x120b 46 ecx = 0
0x120b 47 goto 51 @ 0x120f
0x125f 48 edx = zx.d([rsp + rcx + 0x400].b)
0x1267 49 dl = dl - 0x41
0x126d 50 if (dl u> 0x13) then 52 @ 0x12a6 else 55 @ 0x126f
0x120f 51 if ((al & 1) == 0) then 37 @ 0x11c5 else 60 @ 0x1211
0x12a6 52 edx = zx.d([rsp + rcx + 0x401].b)
0x12ae 53 dl = dl - 0x41
0x12b4 54 if (dl u> 0x13) then 63 @ 0x1256 else 65 @ 0x12b6
0x126f 55 bl = 0x54 {""}
0x1271 56 edx = zx.d(dl)
0x1274 57 rdx = sx.q([rbp + (rdx << 2)].d)
0x1279 58 rdx = rdx + rbp
0x127c 59 jump(rdx => 70 @ 0x127e, 72 @ 0x1290, 74 @ 0x12a0, 76 @ 0x12a2, 52 @ 0x12a6)
0x1211 60 dl = [rsp + rcx + 0x400].b
0x1218 61 dl = dl - 0x41
0x121e 62 if (dl u> 0x13) then 37 @ 0x11c5 else 78 @ 0x1220
0x1256 63 rcx = rcx + 2
0x125d 64 if (rsi == rcx) then 51 @ 0x120f else 48 @ 0x125f
0x12b6 65 bl = 0x54 {""}
0x12b8 66 edx = zx.d(dl)
0x12bb 67 rdx = sx.q([r14 + (rdx << 2)].d)
0x12bf 68 rdx = rdx + r14
0x12c2 69 jump(rdx => 84 @ 0x1250, 86 @ 0x1252, 63 @ 0x1256, 88 @ 0x12c4, 90 @ 0x12d0)
0x127e 70 bl = 0x47 {""}
0x1280 71 goto 76 @ 0x12a2
0x1290 72 bl = 0x43 {""}
0x1292 73 goto 76 @ 0x12a2
0x12a0 74 bl = 0x41 {""}
0x12a0 75 goto 76 @ 0x12a2
0x12a2 76 [rsp + rcx + 0x10].b = bl
0x12a2 77 goto 52 @ 0x12a6
0x1220 78 al = 0x54 {""}
0x1222 79 edx = zx.d(dl)
0x1225 80 rsi = 0x20a4 {"!!!!!!!!!!!!!!!!3%d"}
0x122c 81 rdx = sx.q([rsi + (rdx << 2)].d)
0x1230 82 rdx = rdx + rsi
0x1233 83 jump(rdx => 92 @ 0x11bf, 94 @ 0x11c1, 37 @ 0x11c5, 96 @ 0x1235, 98 @ 0x12d7)
0x1250 84 bl = 0x43 {""}
0x1250 85 goto 86 @ 0x1252
0x1252 86 [rsp + rcx + 0x11].b = bl
0x1252 87 goto 63 @ 0x1256
0x12c4 88 bl = 0x47 {""}
0x12c6 89 goto 86 @ 0x1252
0x12d0 90 bl = 0x41 {""}
0x12d2 91 goto 86 @ 0x1252
0x11bf 92 al = 0x43 {""}
0x11bf 93 goto 94 @ 0x11c1
0x11c1 94 [rsp + rcx + 0x10].b = al
0x11c1 95 goto 37 @ 0x11c5
0x1235 96 al = 0x47 {""}
0x1237 97 goto 94 @ 0x11c1
0x12d7 98 al = 0x41 {""}
0x12d9 99 goto 94 @ 0x11c1
int64_t _fini():
0x12f8 0 rsp = rsp - 8
0x12fc 1 rsp = rsp + 8
0x1300 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 getchar():
0x1040 0 <return> tailcall([0x4020].q)
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1050 0 <return> tailcall([0x4028].q)
int32_t scanf(char const* format, ...):
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 = 0x1320 {"AWAVSH"}
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)
uint64_t max(int32_t* arg1, int32_t arg2):
0x1180 0 eax = [rdi].d
0x1185 1 if (esi s< 2) then 2 @ 0x1301 else 3 @ 0x118b
0x1301 2 <return> jump(pop)
0x118b 3 ecx = esi
0x118d 4 r8 = rcx - 1
0x1191 5 edx = 1
0x119a 6 if (r8 u< 8) then 7 @ 0x12f0 else 9 @ 0x11a0
0x12f0 7 esi = [rdi + (rdx << 2)].d
0x12f5 8 if (esi s> eax) then 18 else 20 @ 0x12f8
0x11a0 9 rdx = r8
0x11a3 10 rdx = rdx & 0xfffffffffffffff8
0x11a7 11 xmm0 = eax
0x11ab 12 xmm0 = _mm_shuffle_epi32(xmm0, 0)
0x11b0 13 rax = rdx - 8
0x11b4 14 r9 = rax
0x11b7 15 r9 = r9 u>> 3
0x11bb 16 r9 = r9 + 1
0x11c2 17 if (rax == 0) then 22 @ 0x1302 else 25 @ 0x11c8
0x12f5 18 eax = esi
0x12f5 19 goto 20 @ 0x12f8
0x12f8 20 rdx = rdx + 1
0x12ff 21 if (rcx != rdx) then 7 @ 0x12f0 else 2 @ 0x1301
0x1302 22 esi = 1
0x1307 23 xmm1 = xmm0
0x130f 24 if ((r9b & 1) != 0) then 30 @ 0x1257 else 45 @ 0x1315
0x11c8 25 rax = r9
0x11cb 26 rax = rax & 0xfffffffffffffffe
0x11cf 27 esi = 1
0x11d4 28 xmm1 = xmm0
0x11d8 29 goto 46 @ 0x11e0
0x1257 30 xmm2 = [rdi + (rsi << 2)].o
0x125c 31 xmm3 = [rdi + (rsi << 2) + 0x10].o
0x1262 32 xmm4 = xmm2
0x1266 33 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0)
0x126a 34 xmm2 = xmm2 & xmm4
0x126e 35 xmm4 = xmm4 & not.o(xmm0)
0x1272 36 xmm4 = xmm4 | xmm2
0x1276 37 xmm2 = xmm3
0x127a 38 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x127e 39 xmm3 = xmm3 & xmm2
0x1282 40 xmm2 = xmm2 & not.o(xmm1)
0x1286 41 xmm2 = xmm2 | xmm3
0x128a 42 xmm0 = xmm4
0x128e 43 xmm1 = xmm2
0x128e 44 goto 74 @ 0x1292
0x1315 45 goto 74 @ 0x1292
0x11e0 46 xmm2 = [rdi + (rsi << 2)].o
0x11e5 47 xmm3 = [rdi + (rsi << 2) + 0x10].o
0x11eb 48 xmm4 = [rdi + (rsi << 2) + 0x20].o
0x11f1 49 xmm5 = [rdi + (rsi << 2) + 0x30].o
0x11f7 50 xmm6 = xmm2
0x11fb 51 xmm6 = _mm_cmpgt_epi32(xmm6, xmm0)
0x11ff 52 xmm2 = xmm2 & xmm6
0x1203 53 xmm6 = xmm6 & not.o(xmm0)
0x1207 54 xmm6 = xmm6 | xmm2
0x120b 55 xmm2 = xmm3
0x120f 56 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x1213 57 xmm3 = xmm3 & xmm2
0x1217 58 xmm2 = xmm2 & not.o(xmm1)
0x121b 59 xmm2 = xmm2 | xmm3
0x121f 60 xmm0 = xmm4
0x1223 61 xmm0 = _mm_cmpgt_epi32(xmm0, xmm6)
0x1227 62 xmm4 = xmm4 & xmm0
0x122b 63 xmm0 = xmm0 & not.o(xmm6)
0x122f 64 xmm0 = xmm0 | xmm4
0x1233 65 xmm1 = xmm5
0x1237 66 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2)
0x123b 67 xmm5 = xmm5 & xmm1
0x123f 68 xmm1 = xmm1 & not.o(xmm2)
0x1243 69 xmm1 = xmm1 | xmm5
0x1247 70 rsi = rsi + 0x10
0x124b 71 temp0.q = rax
0x124b 72 rax = rax - 2
0x124f 73 if (temp0.q != 2) then 46 @ 0x11e0 else 93 @ 0x1255
0x1292 74 xmm2 = xmm0
0x1296 75 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x129a 76 xmm0 = xmm0 & xmm2
0x129e 77 xmm2 = xmm2 & not.o(xmm1)
0x12a2 78 xmm2 = xmm2 | xmm0
0x12a6 79 xmm0 = _mm_shuffle_epi32(xmm2, 0xee)
0x12ab 80 xmm1 = xmm2
0x12af 81 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0)
0x12b3 82 xmm2 = xmm2 & xmm1
0x12b7 83 xmm1 = xmm1 & not.o(xmm0)
0x12bb 84 xmm1 = xmm1 | xmm2
0x12bf 85 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x12c4 86 xmm2 = xmm1
0x12c8 87 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0)
0x12cc 88 xmm1 = xmm1 & xmm2
0x12d0 89 xmm2 = xmm2 & not.o(xmm0)
0x12d4 90 xmm2 = xmm2 | xmm1
0x12d8 91 eax = xmm2.d
0x12df 92 if (r8 == rdx) then 2 @ 0x1301 else 94 @ 0x12e1
0x1255 93 if ((r9b & 1) == 0) then 74 @ 0x1292 else 30 @ 0x1257
0x12e1 94 rdx = rdx | 1
0x12ef 95 goto 7 @ 0x12f0
int32_t main(int32_t argc, char** argv, char** envp):
0x1320 0 push(r15)
0x1322 1 push(r14)
0x1324 2 push(rbx)
0x1325 3 rsp = rsp - 0x4b0
0x132c 4 rbx = rsp {var_4c8}
0x132f 5 edx = 0x4b0 {"U"}
0x1334 6 rdi = rbx {var_4c8}
0x1337 7 esi = 0xff {""}
0x133c 8 call(0x1050)
0x1341 9 r14 = 0x2004 {"%d"}
0x1348 10 rdi = r14
0x134b 11 rsi = rbx {var_4c8}
0x134e 12 eax = 0
0x1350 13 call(0x1060)
0x1355 14 rbx = rsp + 4 {var_4c4}
0x135a 15 r15d = 1
0x135a 16 goto 17 @ 0x1360
0x1360 17 eax = 0
0x1362 18 call(0x1040)
0x1369 19 if (al == 0xa) then 20 @ 0x1393 else 22 @ 0x136b
0x1393 20 eax = [rsp {var_4c8}].d
0x139d 21 if ((r15d & 0xfffffffe) == 0) then 29 @ 0x1525 else 32 @ 0x13a3
0x136b 22 rdi = r14
0x136e 23 rsi = rbx
0x1371 24 eax = 0
0x1373 25 call(0x1060)
0x1378 26 r15 = r15 + 1
0x137c 27 rbx = rbx + 4
0x1387 28 if (r15 != 0x12c) then 17 @ 0x1360 else 34 @ 0x1389
0x1525 29 ebx = 0
0x1527 30 edi = eax
0x1527 31 goto 37 @ 0x1529
0x13a3 32 rcx = r15
0x13a3 33 goto 39 @ 0x13a6
0x1389 34 ecx = 0x12c {""}
0x138e 35 eax = [rsp {var_4c8}].d
0x1391 36 goto 39 @ 0x13a6
0x1529 37 ecx = 1
0x1530 38 if (eax != edi) then 44 @ 0x154b else 45 @ 0x153c
0x13a6 39 r15d = ecx
0x13a9 40 r8 = rcx - 1
0x13ad 41 edx = 1
0x13b2 42 edi = eax
0x13b8 43 if (r8 u< 8) then 46 @ 0x1510 else 48 @ 0x13be
0x154b 44 if (r15 == rcx) then 57 @ 0x155a else 59 @ 0x154d
0x153c 45 goto 62 @ 0x1540
0x1510 46 esi = [rsp + (rdx << 2)].d
0x1515 47 if (esi s> edi) then 64 else 66 @ 0x1518
0x13be 48 rdx = r8
0x13c1 49 rdx = rdx & 0xfffffffffffffff8
0x13c5 50 xmm0 = eax
0x13c9 51 xmm0 = _mm_shuffle_epi32(xmm0, 0)
0x13ce 52 rdi = rdx - 8
0x13d2 53 rsi = rdi
0x13d5 54 rsi = rsi u>> 3
0x13d9 55 rsi = rsi + 1
0x13e0 56 if (rdi == 0) then 68 @ 0x16ff else 71 @ 0x13e6
0x155a 57 esi = [rsp {var_4c8}].d
0x155f 58 if (bl == 0) then 76 @ 0x16d4 else 77 @ 0x1565
0x154d 59 eax = [rsp + (rcx << 2)].d
0x1550 60 rcx = rcx + 1
0x1556 61 if (eax == edi) then 62 @ 0x1540 else 80 @ 0x1558
0x1540 62 [rsp + (rcx << 2) - 4].d = -1
0x1540 63 goto 44 @ 0x154b
0x1515 64 edi = esi
0x1515 65 goto 66 @ 0x1518
0x1518 66 rdx = rdx + 1
0x151f 67 if (rcx != rdx) then 46 @ 0x1510 else 81 @ 0x1521
0x16ff 68 ebx = 1
0x1704 69 xmm1 = xmm0
0x170c 70 if ((sil & 1) != 0) then 83 @ 0x1477 else 98 @ 0x1712
0x13e6 71 rdi = rsi
0x13e9 72 rdi = rdi & 0xfffffffffffffffe
0x13ed 73 ebx = 1
0x13f2 74 xmm1 = xmm0
0x13f6 75 goto 99 @ 0x1400
0x16d4 76 if (esi == -1) then 127 @ 0x16e6 else 130 @ 0x16d6
0x1565 77 rcx = r15 - 1
0x1569 78 eax = 1
0x1572 79 if (rcx u< 8) then 134 @ 0x16c0 else 136 @ 0x1578
0x1558 80 goto 44 @ 0x154b
0x1521 81 bl = 1
0x1523 82 goto 37 @ 0x1529
0x1477 83 xmm2 = [rsp + (rbx << 2)].o
0x147c 84 xmm3 = [rsp + (rbx << 2) + 0x10].o
0x1482 85 xmm4 = xmm2
0x1486 86 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0)
0x148a 87 xmm2 = xmm2 & xmm4
0x148e 88 xmm4 = xmm4 & not.o(xmm0)
0x1492 89 xmm4 = xmm4 | xmm2
0x1496 90 xmm2 = xmm3
0x149a 91 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x149e 92 xmm3 = xmm3 & xmm2
0x14a2 93 xmm2 = xmm2 & not.o(xmm1)
0x14a6 94 xmm2 = xmm2 | xmm3
0x14aa 95 xmm0 = xmm4
0x14ae 96 xmm1 = xmm2
0x14ae 97 goto 145 @ 0x14b2
0x1712 98 goto 145 @ 0x14b2
0x1400 99 xmm2 = [rsp + (rbx << 2)].o
0x1405 100 xmm3 = [rsp + (rbx << 2) + 0x10].o
0x140b 101 xmm4 = [rsp + (rbx << 2) + 0x20].o
0x1411 102 xmm5 = [rsp + (rbx << 2) + 0x30].o
0x1417 103 xmm6 = xmm2
0x141b 104 xmm6 = _mm_cmpgt_epi32(xmm6, xmm0)
0x141f 105 xmm2 = xmm2 & xmm6
0x1423 106 xmm6 = xmm6 & not.o(xmm0)
0x1427 107 xmm6 = xmm6 | xmm2
0x142b 108 xmm2 = xmm3
0x142f 109 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x1433 110 xmm3 = xmm3 & xmm2
0x1437 111 xmm2 = xmm2 & not.o(xmm1)
0x143b 112 xmm2 = xmm2 | xmm3
0x143f 113 xmm0 = xmm4
0x1443 114 xmm0 = _mm_cmpgt_epi32(xmm0, xmm6)
0x1447 115 xmm4 = xmm4 & xmm0
0x144b 116 xmm0 = xmm0 & not.o(xmm6)
0x144f 117 xmm0 = xmm0 | xmm4
0x1453 118 xmm1 = xmm5
0x1457 119 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2)
0x145b 120 xmm5 = xmm5 & xmm1
0x145f 121 xmm1 = xmm1 & not.o(xmm2)
0x1463 122 xmm1 = xmm1 | xmm5
0x1467 123 rbx = rbx + 0x10
0x146b 124 temp0.q = rdi
0x146b 125 rdi = rdi - 2
0x146f 126 if (temp0.q != 2) then 99 @ 0x1400 else 165 @ 0x1475
0x16e6 127 rdi = 0x200b {"No"}
0x16ed 128 call(0x1070)
0x16ed 129 goto 166 @ 0x16f2
0x16d6 130 rdi = 0x2007 {"%d\n"}
0x16dd 131 eax = 0
0x16df 132 call(0x1030)
0x16e4 133 goto 166 @ 0x16f2
0x16c0 134 ecx = [rsp + (rax << 2)].d
0x16c5 135 if (ecx s> esi) then 171 else 173 @ 0x16c8
0x1578 136 rax = rcx
0x157b 137 rax = rax & 0xfffffffffffffff8
0x157f 138 xmm0 = esi
0x1583 139 xmm0 = _mm_shuffle_epi32(xmm0, 0)
0x1588 140 rsi = rax - 8
0x158c 141 rdx = rsi
0x158f 142 rdx = rdx u>> 3
0x1593 143 rdx = rdx + 1
0x159a 144 if (rsi == 0) then 175 @ 0x1717 else 178 @ 0x15a0
0x14b2 145 xmm2 = xmm0
0x14b6 146 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x14ba 147 xmm0 = xmm0 & xmm2
0x14be 148 xmm2 = xmm2 & not.o(xmm1)
0x14c2 149 xmm2 = xmm2 | xmm0
0x14c6 150 xmm0 = _mm_shuffle_epi32(xmm2, 0xee)
0x14cb 151 xmm1 = xmm2
0x14cf 152 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0)
0x14d3 153 xmm2 = xmm2 & xmm1
0x14d7 154 xmm1 = xmm1 & not.o(xmm0)
0x14db 155 xmm1 = xmm1 | xmm2
0x14df 156 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x14e4 157 xmm2 = xmm1
0x14e8 158 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0)
0x14ec 159 xmm1 = xmm1 & xmm2
0x14f0 160 xmm2 = xmm2 & not.o(xmm0)
0x14f4 161 xmm2 = xmm2 | xmm1
0x14f8 162 edi = xmm2.d
0x14fc 163 bl = 1
0x1501 164 if (r8 == rdx) then 37 @ 0x1529 else 183 @ 0x1503
0x1475 165 if ((sil & 1) == 0) then 145 @ 0x14b2 else 83 @ 0x1477
0x16f2 166 rsp = rsp + 0x4b0
0x16f9 167 rbx = pop
0x16fa 168 r14 = pop
0x16fc 169 r15 = pop
0x16fe 170 <return> jump(pop)
0x16c5 171 esi = ecx
0x16c5 172 goto 173 @ 0x16c8
0x16c8 173 rax = rax + 1
0x16cf 174 if (r15 != rax) then 134 @ 0x16c0 else 76 @ 0x16d4
0x1717 175 esi = 1
0x171c 176 xmm1 = xmm0
0x1723 177 if ((dl & 1) != 0) then 185 @ 0x1626 else 200 @ 0x1729
0x15a0 178 rdi = rdx
0x15a3 179 rdi = rdi & 0xfffffffffffffffe
0x15a7 180 esi = 1
0x15ac 181 xmm1 = xmm0
0x15ac 182 goto 201 @ 0x15b0
0x1503 183 rdx = rdx | 1
0x1507 184 goto 46 @ 0x1510
0x1626 185 xmm2 = [rsp + (rsi << 2)].o
0x162b 186 xmm3 = [rsp + (rsi << 2) + 0x10].o
0x1631 187 xmm4 = xmm2
0x1635 188 xmm4 = _mm_cmpgt_epi32(xmm4, xmm0)
0x1639 189 xmm2 = xmm2 & xmm4
0x163d 190 xmm4 = xmm4 & not.o(xmm0)
0x1641 191 xmm4 = xmm4 | xmm2
0x1645 192 xmm2 = xmm3
0x1649 193 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x164d 194 xmm3 = xmm3 & xmm2
0x1651 195 xmm2 = xmm2 & not.o(xmm1)
0x1655 196 xmm2 = xmm2 | xmm3
0x1659 197 xmm0 = xmm4
0x165d 198 xmm1 = xmm2
0x165d 199 goto 229 @ 0x1661
0x1729 200 goto 229 @ 0x1661
0x15b0 201 xmm2 = [rsp + (rsi << 2)].o
0x15b5 202 xmm3 = [rsp + (rsi << 2) + 0x10].o
0x15bb 203 xmm4 = [rsp + (rsi << 2) + 0x20].o
0x15c1 204 xmm5 = [rsp + (rsi << 2) + 0x30].o
0x15c7 205 xmm6 = xmm2
0x15cb 206 xmm6 = _mm_cmpgt_epi32(xmm6, xmm0)
0x15cf 207 xmm2 = xmm2 & xmm6
0x15d3 208 xmm6 = xmm6 & not.o(xmm0)
0x15d7 209 xmm6 = xmm6 | xmm2
0x15db 210 xmm2 = xmm3
0x15df 211 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x15e3 212 xmm3 = xmm3 & xmm2
0x15e7 213 xmm2 = xmm2 & not.o(xmm1)
0x15eb 214 xmm2 = xmm2 | xmm3
0x15ef 215 xmm0 = xmm4
0x15f3 216 xmm0 = _mm_cmpgt_epi32(xmm0, xmm6)
0x15f7 217 xmm4 = xmm4 & xmm0
0x15fb 218 xmm0 = xmm0 & not.o(xmm6)
0x15ff 219 xmm0 = xmm0 | xmm4
0x1603 220 xmm1 = xmm5
0x1607 221 xmm1 = _mm_cmpgt_epi32(xmm1, xmm2)
0x160b 222 xmm5 = xmm5 & xmm1
0x160f 223 xmm1 = xmm1 & not.o(xmm2)
0x1613 224 xmm1 = xmm1 | xmm5
0x1617 225 rsi = rsi + 0x10
0x161b 226 temp1.q = rdi
0x161b 227 rdi = rdi - 2
0x161f 228 if (temp1.q != 2) then 201 @ 0x15b0 else 248 @ 0x1624
0x1661 229 xmm2 = xmm0
0x1665 230 xmm2 = _mm_cmpgt_epi32(xmm2, xmm1)
0x1669 231 xmm0 = xmm0 & xmm2
0x166d 232 xmm2 = xmm2 & not.o(xmm1)
0x1671 233 xmm2 = xmm2 | xmm0
0x1675 234 xmm0 = _mm_shuffle_epi32(xmm2, 0xee)
0x167a 235 xmm1 = xmm2
0x167e 236 xmm1 = _mm_cmpgt_epi32(xmm1, xmm0)
0x1682 237 xmm2 = xmm2 & xmm1
0x1686 238 xmm1 = xmm1 & not.o(xmm0)
0x168a 239 xmm1 = xmm1 | xmm2
0x168e 240 xmm0 = _mm_shuffle_epi32(xmm1, 0x55)
0x1693 241 xmm2 = xmm1
0x1697 242 xmm2 = _mm_cmpgt_epi32(xmm2, xmm0)
0x169b 243 xmm1 = xmm1 & xmm2
0x169f 244 xmm2 = xmm2 & not.o(xmm0)
0x16a3 245 xmm2 = xmm2 | xmm1
0x16a7 246 esi = xmm2.d
0x16ae 247 if (rcx == rax) then 76 @ 0x16d4 else 249 @ 0x16b0
0x1624 248 if ((dl & 1) == 0) then 229 @ 0x1661 else 185 @ 0x1626
0x16b0 249 rax = rax | 1
0x16be 250 goto 134 @ 0x16c0
int64_t _fini():
0x1734 0 rsp = rsp - 8
0x1738 1 rsp = rsp + 8
0x173c 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 getchar():
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 {"USP11="}
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(rbx)
0x1152 2 push(rax)
0x1153 3 ebp = 0
0x1155 4 eax = 0
0x1157 5 call(0x1040)
0x115c 6 eax = eax << 0x18
0x1164 7 if (eax == 0xa000000) then 8 @ 0x1191 else 16 @ 0x1166
0x1191 8 rdi = 0x2004 {"%d"}
0x1198 9 esi = ebp
0x119a 10 eax = 0
0x119c 11 call(0x1030)
0x11a1 12 rsp = rsp + 8
0x11a5 13 rbx = pop
0x11a6 14 rbp = pop
0x11a7 15 <return> jump(pop)
0x1166 16 ebx = 1
0x116b 17 ebp = 0
0x116d 18 goto 19 @ 0x1170
0x1170 19 eax = eax s>> 0x18
0x1173 20 eax = eax - 0x30
0x1176 21 eax = eax * ebx
0x1179 22 ebp = ebp + eax
0x117b 23 ebx = ebx + ebx
0x117d 24 ebx = (rbx + (rbx << 2)).d
0x1180 25 eax = 0
0x1182 26 call(0x1040)
0x1187 27 eax = eax << 0x18
0x118f 28 if (eax != 0xa000000) then 19 @ 0x1170 else 8 @ 0x1191
int64_t _fini():
0x11ac 0 rsp = rsp - 8
0x11b0 1 rsp = rsp + 8
0x11b4 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@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 - 0x40
0x1158 3 [rbp - 4 {var_c}].d = 0
0x115f 4 [rbp - 0x20 {var_28}].d = 0
0x1166 5 [rbp - 0x24 {var_2c}].d = 0
0x116d 6 [rbp - 0x28 {var_30}].d = 0
0x1174 7 [rbp - 0x2c {var_34}].d = 0
0x117b 8 [rbp - 0x30 {var_38}].d = 0
0x1182 9 [rbp - 0x34 {var_3c}].d = 0
0x1189 10 rdi = 0x2013 {"%d"}
0x1190 11 rsi = rbp - 8 {var_10}
0x1194 12 al = 0
0x1196 13 call(0x1040)
0x1196 14 goto 15 @ 0x119f
0x119f 15 if ([rbp - 8 {var_10}].d s< 0x64) then 16 @ 0x11bc else 19 @ 0x11a5
0x11bc 16 eax = [rbp - 8 {var_10}].d
0x11bf 17 [rbp - 0xc {var_14}].d = eax
0x11bf 18 goto 26 @ 0x11c6
0x11a5 19 eax = [rbp - 8 {var_10}].d
0x11a8 20 eax = eax - 0x64
0x11ab 21 [rbp - 8 {var_10}].d = eax
0x11ae 22 eax = [rbp - 0x20 {var_28}].d
0x11b1 23 eax = eax + 1
0x11b4 24 [rbp - 0x20 {var_28}].d = eax
0x11b7 25 goto 15 @ 0x119f
0x11c6 26 if ([rbp - 0xc {var_14}].d s< 0x32) then 27 @ 0x11e3 else 30 @ 0x11cc
0x11e3 27 eax = [rbp - 0xc {var_14}].d
0x11e6 28 [rbp - 0x10 {var_18}].d = eax
0x11e6 29 goto 37 @ 0x11ed
0x11cc 30 eax = [rbp - 0xc {var_14}].d
0x11cf 31 eax = eax - 0x32
0x11d2 32 [rbp - 0xc {var_14}].d = eax
0x11d5 33 eax = [rbp - 0x24 {var_2c}].d
0x11d8 34 eax = eax + 1
0x11db 35 [rbp - 0x24 {var_2c}].d = eax
0x11de 36 goto 26 @ 0x11c6
0x11ed 37 if ([rbp - 0x10 {var_18}].d s< 0x14) then 38 @ 0x120a else 41 @ 0x11f3
0x120a 38 eax = [rbp - 0x10 {var_18}].d
0x120d 39 [rbp - 0x14 {var_1c}].d = eax
0x120d 40 goto 48 @ 0x1214
0x11f3 41 eax = [rbp - 0x10 {var_18}].d
0x11f6 42 eax = eax - 0x14
0x11f9 43 [rbp - 0x10 {var_18}].d = eax
0x11fc 44 eax = [rbp - 0x28 {var_30}].d
0x11ff 45 eax = eax + 1
0x1202 46 [rbp - 0x28 {var_30}].d = eax
0x1205 47 goto 37 @ 0x11ed
0x1214 48 if ([rbp - 0x14 {var_1c}].d s< 0xa) then 49 @ 0x1231 else 52 @ 0x121a
0x1231 49 eax = [rbp - 0x14 {var_1c}].d
0x1234 50 [rbp - 0x18 {var_20}].d = eax
0x1234 51 goto 59 @ 0x123b
0x121a 52 eax = [rbp - 0x14 {var_1c}].d
0x121d 53 eax = eax - 0xa
0x1220 54 [rbp - 0x14 {var_1c}].d = eax
0x1223 55 eax = [rbp - 0x2c {var_34}].d
0x1226 56 eax = eax + 1
0x1229 57 [rbp - 0x2c {var_34}].d = eax
0x122c 58 goto 48 @ 0x1214
0x123b 59 if ([rbp - 0x18 {var_20}].d s< 5) then 60 @ 0x1258 else 63 @ 0x1241
0x1258 60 eax = [rbp - 0x18 {var_20}].d
0x125b 61 [rbp - 0x1c {var_24}].d = eax
0x125b 62 goto 70 @ 0x1262
0x1241 63 eax = [rbp - 0x18 {var_20}].d
0x1244 64 eax = eax - 5
0x1247 65 [rbp - 0x18 {var_20}].d = eax
0x124a 66 eax = [rbp - 0x30 {var_38}].d
0x124d 67 eax = eax + 1
0x1250 68 [rbp - 0x30 {var_38}].d = eax
0x1253 69 goto 59 @ 0x123b
0x1262 70 if ([rbp - 0x1c {var_24}].d s< 1) then 71 @ 0x127f else 85 @ 0x1268
0x127f 71 esi = [rbp - 0x20 {var_28}].d
0x1282 72 edx = [rbp - 0x24 {var_2c}].d
0x1285 73 ecx = [rbp - 0x28 {var_30}].d
0x1288 74 r8d = [rbp - 0x2c {var_34}].d
0x128c 75 r9d = [rbp - 0x30 {var_38}].d
0x1290 76 eax = [rbp - 0x34 {var_3c}].d
0x1293 77 rdi = 0x2004 {"%d\n%d\n%d\n%d\n%d\n%d"}
0x129a 78 [rsp {var_48}].d = eax
0x129d 79 al = 0
0x129f 80 call(0x1030)
0x12a4 81 eax = 0
0x12a6 82 rsp = rsp + 0x40
0x12aa 83 rbp = pop
0x12ab 84 <return> jump(pop)
0x1268 85 eax = [rbp - 0x1c {var_24}].d
0x126b 86 eax = eax - 1
0x126e 87 [rbp - 0x1c {var_24}].d = eax
0x1271 88 eax = [rbp - 0x34 {var_3c}].d
0x1274 89 eax = eax + 1
0x1277 90 [rbp - 0x34 {var_3c}].d = eax
0x127a 91 goto 70 @ 0x1262
int64_t _fini():
0x12b0 0 rsp = rsp - 8
0x12b4 1 rsp = rsp + 8
0x12b8 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 {"UHHPE"}
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 [rbp - 4 {var_c}].d = 0
0x117f 4 rdi = 0x2004 {"%d"}
0x1186 5 rsi = rbp - 8 {var_10}
0x118a 6 al = 0
0x118c 7 call(0x1040)
0x1191 8 rdi = sx.q([rbp - 8 {var_10}].d)
0x1195 9 rdi = rdi << 3
0x1199 10 call(0x1060)
0x119e 11 [rbp - 0x20 {var_28}].q = rax
0x11a2 12 [rbp - 0xc {var_14}].d = 0
0x11a2 13 goto 14 @ 0x11a9
0x11a9 14 eax = [rbp - 0xc {var_14}].d
0x11af 15 if (eax s>= [rbp - 8 {var_10}].d) then 16 @ 0x12f0 else 20 @ 0x11b5
0x12f0 16 eax = 0
0x12f2 17 rsp = rsp + 0x50
0x12f6 18 rbp = pop
0x12f7 19 <return> jump(pop)
0x11b5 20 xmm0 = 0
0x11b8 21 [rbp - 0x38 {var_40_1}].q = xmm0.q
0x11bd 22 rdi = 0x2004 {"%d"}
0x11c4 23 rsi = rbp - 0x14 {var_1c}
0x11c8 24 al = 0
0x11ca 25 call(0x1040)
0x11cf 26 rdi = sx.q([rbp - 0x14 {var_1c}].d)
0x11d3 27 rdi = rdi << 3
0x11d7 28 call(0x1060)
0x11dc 29 [rbp - 0x48 {var_50_1}].q = rax
0x11e0 30 [rbp - 0x10 {var_18_1}].d = 0
0x11e0 31 goto 32 @ 0x11e7
0x11e7 32 eax = [rbp - 0x10 {var_18_1}].d
0x11ed 33 if (eax s>= [rbp - 0x14 {var_1c}].d) then 34 @ 0x1235 else 42 @ 0x11f3
0x1235 34 xmm0 = zx.o([rbp - 0x38 {var_40_1}].q)
0x123a 35 xmm1.q = float.d([rbp - 0x14 {var_1c}].d)
0x123f 36 xmm0.q = xmm0.q f/ xmm1.q
0x1243 37 [rbp - 0x30 {var_38_1}].q = xmm0.q
0x1248 38 xmm0 = 0
0x124b 39 [rbp - 0x40 {var_48_1}].q = xmm0.q
0x1250 40 [rbp - 0x10 {var_18_2}].d = 0
0x1250 41 goto 58 @ 0x1257
0x11f3 42 rsi = [rbp - 0x48 {var_50_1}].q
0x11f7 43 rax = sx.q([rbp - 0x10 {var_18_1}].d)
0x11fb 44 rax = rax << 3
0x11ff 45 rsi = rsi + rax
0x1202 46 rdi = 0x2007 {"%lf"}
0x1209 47 al = 0
0x120b 48 call(0x1040)
0x1210 49 rax = [rbp - 0x48 {var_50_1}].q
0x1214 50 rcx = sx.q([rbp - 0x10 {var_18_1}].d)
0x1218 51 xmm0 = zx.o([rax + (rcx << 3)].q)
0x121d 52 xmm0.q = xmm0.q f+ fconvert.t([rbp - 0x38 {var_40_1}].q)
0x1222 53 [rbp - 0x38 {var_40_1}].q = xmm0.q
0x1227 54 eax = [rbp - 0x10 {var_18_1}].d
0x122a 55 eax = eax + 1
0x122d 56 [rbp - 0x10 {var_18_1}].d = eax
0x1230 57 goto 32 @ 0x11e7
0x1257 58 eax = [rbp - 0x10 {var_18_2}].d
0x125d 59 if (eax s>= [rbp - 0x14 {var_1c}].d) then 60 @ 0x12a7 else 77 @ 0x1263
0x12a7 60 xmm0 = zx.o([rbp - 0x40 {var_48_1}].q)
0x12ac 61 xmm1.q = float.d([rbp - 0x14 {var_1c}].d)
0x12b1 62 xmm0.q = xmm0.q f/ xmm1.q
0x12b5 63 call(0x1050)
0x12ba 64 rax = [rbp - 0x48 {var_50_1}].q
0x12be 65 rcx = sx.q([rbp - 0xc {var_14}].d)
0x12c2 66 [rax + (rcx << 3)].q = xmm0.q
0x12c7 67 rax = [rbp - 0x48 {var_50_1}].q
0x12cb 68 rcx = sx.q([rbp - 0xc {var_14}].d)
0x12cf 69 xmm0 = zx.o([rax + (rcx << 3)].q)
0x12d4 70 rdi = 0x200b {"%.5f\n"}
0x12db 71 al = 1
0x12dd 72 call(0x1030)
0x12e2 73 eax = [rbp - 0xc {var_14}].d
0x12e5 74 eax = eax + 1
0x12e8 75 [rbp - 0xc {var_14}].d = eax
0x12eb 76 goto 14 @ 0x11a9
0x1263 77 rax = [rbp - 0x48 {var_50_1}].q
0x1267 78 rcx = sx.q([rbp - 0x10 {var_18_2}].d)
0x126b 79 xmm0 = zx.o([rax + (rcx << 3)].q)
0x1270 80 xmm0.q = xmm0.q f- fconvert.t([rbp - 0x30 {var_38_1}].q)
0x1275 81 rax = [rbp - 0x48 {var_50_1}].q
0x1279 82 rcx = sx.q([rbp - 0x10 {var_18_2}].d)
0x127d 83 xmm2 = zx.o([rax + (rcx << 3)].q)
0x1282 84 xmm2.q = xmm2.q f- fconvert.t([rbp - 0x30 {var_38_1}].q)
0x1287 85 xmm1 = zx.o([rbp - 0x40 {var_48_1}].q)
0x128c 86 xmm0.q = xmm0.q f* xmm2.q
0x1290 87 xmm0.q = xmm0.q f+ xmm1.q
0x1294 88 [rbp - 0x40 {var_48_1}].q = xmm0.q
0x1299 89 eax = [rbp - 0x10 {var_18_2}].d
0x129c 90 eax = eax + 1
0x129f 91 [rbp - 0x10 {var_18_2}].d = eax
0x12a2 92 goto 58 @ 0x1257
int64_t _fini():
0x12fc 0 rsp = rsp - 8
0x1300 1 rsp = rsp + 8
0x1304 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)
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1040 0 <return> tailcall([0x4020].q)
char* gets(char* buf):
0x1050 0 <return> tailcall([0x4028].q)
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 {"AVSHh"}
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 - 0x268
0x117a 3 ebx = 0
0x117c 4 rdi = rsp + 0x130 {var_148}
0x1184 5 eax = 0
0x1186 6 call(0x1050)
0x118b 7 rdi = rsp {var_278}
0x118e 8 edx = 0x12c {""}
0x1193 9 esi = 0
0x1195 10 call(0x1040)
0x119a 11 cl = [rsp + 0x130 {var_148}].b
0x11a3 12 if (cl == 0) then 13 @ 0x1210 else 16 @ 0x11a5
0x1210 13 rdi = 0x200b {"No"}
0x1217 14 call(0x1060)
0x1217 15 goto 18 @ 0x121c
0x11a5 16 rax = rsp + 0x131 {var_147}
0x11ad 17 goto 23 @ 0x11bb
0x121c 18 eax = 0
0x121e 19 rsp = rsp + 0x268
0x1225 20 rbx = pop
0x1226 21 r14 = pop
0x1228 22 <return> jump(pop)
0x11bb 23 edx = (rcx - 0x61).d
0x11c1 24 if (dl u> 0x19) then 25 @ 0x11b0 else 28 @ 0x11c3
0x11b0 25 ecx = zx.d([rax].b)
0x11b3 26 rax = rax + 1
0x11b9 27 if (cl == 0) then 32 @ 0x11d1 else 23 @ 0x11bb
0x11c3 28 ecx = zx.d(cl)
0x11c6 29 [rsp + rcx].b = [rsp + rcx].b + 1
0x11ca 30 ebx = ebx + 1
0x11cd 31 goto 25 @ 0x11b0
0x11d1 32 if (ebx == 0) then 13 @ 0x1210 else 33 @ 0x11d3
0x11d3 33 ebx = 0x61 {""}
0x11d8 34 r14 = 0x2004 {"%c=%d\n"}
0x11df 35 goto 36 @ 0x11fa
0x11fa 36 edx = zx.d([rsp + rbx].b)
0x1200 37 if (dl s<= 0) then 38 @ 0x11f0 else 40 @ 0x1202
0x11f0 38 rbx = rbx + 1
0x11f8 39 if (rbx == 0x7b) then 18 @ 0x121c else 36 @ 0x11fa
0x1202 40 rdi = r14
0x1205 41 esi = ebx
0x1207 42 eax = 0
0x1209 43 call(0x1030)
0x120e 44 goto 38 @ 0x11f0
int64_t _fini():
0x1230 0 rsp = rsp - 8
0x1234 1 rsp = rsp + 8
0x1238 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
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 {"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 - 0x300
0x116f 6 r14 = 0x2004 {"%s"}
0x1176 7 r12d = 0
0x1179 8 rbx = rsp {var_328}
0x117c 9 rdi = r14
0x117f 10 rsi = rbx {var_328}
0x1182 11 eax = 0
0x1184 12 call(0x1040)
0x1189 13 r15 = rsp + 0x200 {var_128}
0x1191 14 rdi = r14
0x1194 15 rsi = r15 {var_128}
0x1197 16 eax = 0
0x1199 17 call(0x1040)
0x119e 18 rsi = rsp + 0x100 {var_228}
0x11a6 19 rdi = r14
0x11a9 20 eax = 0
0x11ab 21 call(0x1040)
0x11b0 22 rdi = r15 {var_128}
0x11b3 23 call(0x1030)
0x11b8 24 r14b = 1
0x11be 25 if (rax == 0) then 26 @ 0x1272 else 28 @ 0x11c4
0x1272 26 edi = sx.d([rsp + 0x100 {var_228}].b)
0x127c 27 if (edi == 0) then 30 @ 0x12eb else 37 @ 0x127e
0x11c4 28 esi = 0
0x11c4 29 goto 41 @ 0x11c6
0x12eb 30 rdi = rsp + 0x200 {var_128}
0x12f3 31 call(0x1030)
0x12f8 32 eax = eax + r12d
0x12fb 33 rbp = sx.q(eax)
0x12fe 34 rdi = rsp {var_328}
0x1301 35 call(0x1030)
0x1309 36 if (rax u<= rbp) then 43 @ 0x132a else 47 @ 0x130b
0x127e 37 call(0x1050)
0x1283 38 rdi = rsp + 0x100 {var_228}
0x128b 39 call(0x1030)
0x1294 40 if (rax u< 2) then 30 @ 0x12eb else 49 @ 0x1296
0x11c6 41 edx = 0
0x11c8 42 goto 52 @ 0x11d0
0x132a 43 al = [rsp {var_328}].b
0x132f 44 cl = al == 0
0x1332 45 r14b = r14b | cl
0x1339 46 if ((r14b & 1) != 0) then 54 @ 0x137a else 62 @ 0x133b
0x130b 47 rbx = rsp {var_328}
0x130e 48 goto 67 @ 0x1310
0x1296 49 ebp = 1
0x129b 50 rbx = rsp + 0x100 {var_228}
0x12ad 51 goto 73 @ 0x12b0
0x11d0 52 ecx = zx.d([rbx + rdx].b)
0x11db 53 if (cl != [rsp + rdx + 0x200].b) then 79 @ 0x11f0 else 83 @ 0x11dd
0x137a 54 eax = 0
0x137c 55 rsp = rsp + 0x300
0x1383 56 rbx = pop
0x1384 57 r12 = pop
0x1386 58 r14 = pop
0x1388 59 r15 = pop
0x138a 60 rbp = pop
0x138b 61 <return> jump(pop)
0x133b 62 edi = sx.d(al)
0x133e 63 call(0x1050)
0x1343 64 rdi = rsp {var_328}
0x1346 65 call(0x1030)
0x134f 66 if (rax u< 2) then 54 @ 0x137a else 85 @ 0x1351
0x1310 67 edi = sx.d([rsp + rbp].b)
0x1314 68 call(0x1050)
0x1319 69 rbp = rbp + 1
0x131d 70 rdi = rbx {var_328}
0x1320 71 call(0x1030)
0x1328 72 if (rax u> rbp) then 67 @ 0x1310 else 43 @ 0x132a
0x12b0 73 edi = sx.d([rsp + rbp + 0x100].b)
0x12b8 74 call(0x1050)
0x12bd 75 rbp = rbp + 1
0x12c1 76 rdi = rbx {var_228}
0x12c4 77 call(0x1030)
0x12cc 78 if (rax u> rbp) then 73 @ 0x12b0 else 88 @ 0x12ce
0x11f0 79 r12 = rsi
0x11f3 80 r12 = r12 | 1
0x11f7 81 edx = 0
0x11f9 82 goto 89 @ 0x1200
0x11dd 83 rdx = rdx + 1
0x11e4 84 if (rax != rdx) then 52 @ 0x11d0 else 91 @ 0x11e6
0x1351 85 ebp = 1
0x1356 86 rbx = rsp {var_328}
0x1359 87 goto 92 @ 0x1360
0x12ce 88 goto 30 @ 0x12eb
0x1200 89 ecx = zx.d([rbx + rdx + 1].b)
0x120c 90 if (cl != [rsp + rdx + 0x200].b) then 98 @ 0x1220 else 103 @ 0x120e
0x11e6 91 goto 105 @ 0x124c
0x1360 92 edi = sx.d([rsp + rbp].b)
0x1364 93 call(0x1050)
0x1369 94 rbp = rbp + 1
0x136d 95 rdi = rbx {var_328}
0x1370 96 call(0x1030)
0x1378 97 if (rax u> rbp) then 92 @ 0x1360 else 54 @ 0x137a
0x1220 98 rsi = rsi + 2
0x1224 99 flag:c = r12 u< 0xff
0x122b 100 r14b = flag:c
0x122f 101 rbx = rbx + 2
0x123a 102 if (rsi != 0x100) then 41 @ 0x11c6 else 107 @ 0x123c
0x120e 103 rdx = rdx + 1
0x1215 104 if (rax != rdx) then 89 @ 0x1200 else 109 @ 0x1217
0x124c 105 r12 = rsi
0x1252 106 if (r12d == 0) then 110 @ 0x12dc else 113 @ 0x1258
0x123c 107 al = [rsp {var_328}].b
0x1241 108 if (al != 0) then 62 @ 0x133b else 115 @ 0x1247
0x1217 109 goto 116 @ 0x12d0
0x12dc 110 r12d = 0
0x12df 111 edi = sx.d([rsp + 0x100 {var_228}].b)
0x12e9 112 if (edi != 0) then 37 @ 0x127e else 30 @ 0x12eb
0x1258 113 ebx = 0
0x125a 114 goto 118 @ 0x1260
0x1247 115 goto 54 @ 0x137a
0x12d0 116 r14b = 1
0x12d6 117 if (r12d != 0) then 113 @ 0x1258 else 110 @ 0x12dc
0x1260 118 edi = sx.d([rsp + rbx].b)
0x1264 119 call(0x1050)
0x1269 120 rbx = rbx + 1
0x1270 121 if (r12 != rbx) then 118 @ 0x1260 else 26 @ 0x1272
int64_t _fini():
0x1390 0 rsp = rsp - 8
0x1394 1 rsp = rsp + 8
0x1398 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
int64_t memset(void* arg1, int32_t arg2, uint64_t arg3):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int32_t puts(char const* str):
0x1050 0 <return> tailcall([0x4028].q)
void __cxa_finalize(void* d):
0x1060 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1074 0 ebp = 0
0x1076 1 r9 = rdx
0x1079 2 rsi = pop
0x107a 3 rdx = rsp {arg_8}
0x107d 4 rsp = rsp & 0xfffffffffffffff0
0x1081 5 push(rax)
0x1082 6 push(rsp)
0x1083 7 r8d = 0
0x1086 8 ecx = 0
0x1088 9 rdi = 0x1160 {"AWAVAUATSH@F"}
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(r13)
0x1166 3 push(r12)
0x1168 4 push(rbx)
0x1169 5 rsp = rsp - 0xf4640
0x1170 6 r12 = rsp + 0x400 {var_f4268}
0x1178 7 edx = 0xf4240 {""}
0x117d 8 rdi = r12 {var_f4268}
0x1180 9 esi = 0
0x1182 10 call(0x1030)
0x1187 11 rdi = 0x2054 {"%d"}
0x118e 12 rsi = rsp + 0xc {var_f465c}
0x1193 13 eax = 0
0x1195 14 call(0x1040)
0x119f 15 if ([rsp + 0xc {var_f465c}].d s<= 0) then 16 @ 0x125d else 24 @ 0x11a5
0x125d 16 eax = 0
0x125f 17 rsp = rsp + 0xf4640
0x1266 18 rbx = pop
0x1267 19 r12 = pop
0x1269 20 r13 = pop
0x126b 21 r14 = pop
0x126d 22 r15 = pop
0x126f 23 <return> jump(pop)
0x11a5 24 r14 = rsp + 0x10 {var_f4658}
0x11aa 25 r15 = 0x2057 {"%s"}
0x11b1 26 rbx = 0x2004 {"%d"}
0x11b8 27 r13d = 0
0x11bb 28 goto 29 @ 0x11c0
0x11c0 29 edx = 0x3e8 {""}
0x11c5 30 rdi = r14 {var_f4658}
0x11c8 31 esi = 0
0x11ca 32 call(0x1030)
0x11cf 33 rdi = r15
0x11d2 34 rsi = r14 {var_f4658}
0x11d5 35 eax = 0
0x11d7 36 call(0x1040)
0x11dc 37 eax = 0
0x11de 38 goto 39 @ 0x11ea
0x11ea 39 ecx = zx.d([rsp + rax + 0x10].b)
0x11ef 40 edx = (rcx - 0x41).d
0x11f5 41 if (dl u> 0x13) then 42 @ 0x120f else 43 @ 0x11f7
0x120f 42 if (cl != 0) then 48 @ 0x11e6 else 50 @ 0x1211
0x11f7 43 cl = 0x54 {""}
0x11f9 44 edx = zx.d(dl)
0x11fc 45 rdx = sx.q([rbx + (rdx << 2)].d)
0x1200 46 rdx = rdx + rbx
0x1203 47 jump(rdx => 54 @ 0x11e0, 56 @ 0x11e2, 48 @ 0x11e6, 58 @ 0x1205, 60 @ 0x1209)
0x11e6 48 rax = rax + 1
0x11e6 49 goto 39 @ 0x11ea
0x1211 50 r13 = r13 + 1
0x1215 51 rax = sx.q([rsp + 0xc {var_f465c}].d)
0x121a 52 r12 = r12 + 0x3e8
0x1224 53 if (r13 s< rax) then 29 @ 0x11c0 else 62 @ 0x1228
0x11e0 54 cl = 0x43 {""}
0x11e0 55 goto 56 @ 0x11e2
0x11e2 56 [r12 + rax].b = cl
0x11e2 57 goto 48 @ 0x11e6
0x1205 58 cl = 0x47 {""}
0x1207 59 goto 56 @ 0x11e2
0x1209 60 cl = 0x41 {""}
0x120b 61 goto 56 @ 0x11e2
0x1228 62 if (eax s<= 0) then 16 @ 0x125d else 63 @ 0x122a
0x122a 63 r14 = rsp + 0x400 {var_f4268}
0x1232 64 ebx = 0
0x123e 65 goto 66 @ 0x1240
0x1240 66 rdi = r14
0x1243 67 call(0x1050)
0x1248 68 rbx = rbx + 1
0x124c 69 rax = sx.q([rsp + 0xc {var_f465c}].d)
0x1251 70 r14 = r14 + 0x3e8
0x125b 71 if (rbx s< rax) then 66 @ 0x1240 else 16 @ 0x125d
int64_t _fini():
0x1274 0 rsp = rsp - 8
0x1278 1 rsp = rsp + 8
0x127c 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
uint64_t strlen(char const* arg1):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
char* gets(char* buf):
0x1050 0 <return> tailcall([0x4028].q)
int32_t 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 {"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 - 0xe8
0x117a 3 ebx = 0
0x117c 4 r14 = rsp + 0x10 {var_e8}
0x1181 5 rdi = r14 {var_e8}
0x1184 6 eax = 0
0x1186 7 call(0x1050)
0x118b 8 rdi = r14 {var_e8}
0x118e 9 call(0x1030)
0x1193 10 rcx = rax - 1
0x1197 11 dil = [rsp + 0x10 {var_e8}].b
0x119c 12 cond:0 = rax u>= 2
0x11a0 13 esi = 1
0x11a5 14 if (cond:0) then 15 else 17 @ 0x11a9
0x11a5 15 rsi = rax
0x11a5 16 goto 17 @ 0x11a9
0x11a9 17 goto 18 @ 0x11cf
0x11cf 18 if (rcx != rbx) then 19 @ 0x11b0 else 23 @ 0x11d1
0x11b0 19 rax = rbx + 1
0x11b4 20 edx = zx.d([rsp + rbx + 0x11].b)
0x11b9 21 dl = dl + [rsp + rbx + 0x10].b
0x11b9 22 goto 27 @ 0x11bd
0x11d1 23 edx = zx.d([rsp + rcx + 0x10].b)
0x11d6 24 dl = dl + dil
0x11d9 25 rax = rbx + 1
0x11dd 26 goto 27 @ 0x11bd
0x11bd 27 [rsp + rbx + 0x80].b = dl
0x11c4 28 rbx = rax
0x11ca 29 if (rax == rsi) then 30 @ 0x11df else 18 @ 0x11cf
0x11df 30 rbx = -1
0x11e6 31 r14 = rsp + 0x10 {var_e8}
0x11eb 32 goto 33 @ 0x11f0
0x11f0 33 edi = sx.d([rsp + rbx + 0x81].b)
0x11f8 34 call(0x1060)
0x11fd 35 rdi = r14 {var_e8}
0x1200 36 call(0x1030)
0x1205 37 rax = rax - 1
0x1209 38 rbx = rbx + 1
0x1210 39 if (rax u> rbx) then 33 @ 0x11f0 else 40 @ 0x1212
0x1212 40 rdi = 0x2004 {"%d"}
0x1219 41 rsi = rsp + 0xc {var_ec}
0x121e 42 eax = 0
0x1220 43 call(0x1040)
0x1225 44 eax = 0
0x1227 45 rsp = rsp + 0xe8
0x122e 46 rbx = pop
0x122f 47 r14 = pop
0x1231 48 <return> jump(pop)
int64_t _fini():
0x1238 0 rsp = rsp - 8
0x123c 1 rsp = rsp + 8
0x1240 2 <return> jump(pop)
| POJ_91 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"UAWAVAUATSH(HD$H$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 rax = rsp + 0x10 {var_48}
0x1163 8 [rsp {var_58}].q = rax {var_48}
0x1167 9 rdi = 0x2004 {"%d %d %d %d %d %d "}
0x116e 10 rsi = rsp + 0x24 {var_34}
0x1173 11 rdx = rsp + 0x20 {var_38}
0x1178 12 rcx = rsp + 0x1c {var_3c}
0x117d 13 r8 = rsp + 0x18 {var_40}
0x1182 14 r9 = rsp + 0x14 {var_44}
0x1187 15 eax = 0
0x1189 16 call(0x1040)
0x118e 17 eax = [rsp + 0x24 {var_34}].d
0x1192 18 ecx = [rsp + 0x20 {var_38}].d
0x1196 19 ebp = (rcx + rax).d
0x1199 20 esi = [rsp + 0x1c {var_3c}].d
0x119d 21 ebp = ebp + esi
0x119f 22 edx = [rsp + 0x18 {var_40}].d
0x11a3 23 ebp = ebp + edx
0x11a5 24 edi = [rsp + 0x14 {var_44}].d
0x11a9 25 ebp = ebp + edi
0x11ab 26 ebx = [rsp + 0x10 {var_48}].d
0x11af 27 temp0.d = ebp
0x11af 28 ebp = ebp + ebx
0x11b1 29 if (temp0.d == neg.d(ebx)) then 30 @ 0x1245 else 39 @ 0x11b7
0x1245 30 eax = 0
0x1247 31 rsp = rsp + 0x28
0x124b 32 rbx = pop
0x124c 33 r12 = pop
0x124e 34 r13 = pop
0x1250 35 r14 = pop
0x1252 36 r15 = pop
0x1254 37 rbp = pop
0x1255 38 <return> jump(pop)
0x11b7 39 r13 = rsp + 0x20 {var_38}
0x11bc 40 r15 = rsp + 0x1c {var_3c}
0x11c1 41 r12 = rsp + 0x18 {var_40}
0x11c6 42 r14 = rsp + 0x14 {var_44}
0x11cb 43 goto 44 @ 0x11d0
0x11d0 44 ebx = ebx - esi
0x11d2 45 edx = edx - eax
0x11d4 46 edi = edi - ecx
0x11d6 47 eax = edi * 0x3c
0x11d9 48 ecx = edx * 0xe10
0x11df 49 ecx = ecx + ebx
0x11e1 50 esi = (rax + rcx).d
0x11e4 51 esi = esi + 0xa8c0
0x11ea 52 rdi = 0x2017 {"%d\n"}
0x11f1 53 eax = 0
0x11f3 54 call(0x1030)
0x11f8 55 rax = rsp + 0x10 {var_48}
0x11fd 56 [rsp {var_58_1}].q = rax {var_48}
0x1201 57 rdi = 0x2004 {"%d %d %d %d %d %d "}
0x1208 58 rsi = rsp + 0x24 {var_34}
0x120d 59 rdx = r13 {var_38}
0x1210 60 rcx = r15 {var_3c}
0x1213 61 r8 = r12 {var_40}
0x1216 62 r9 = r14 {var_44}
0x1219 63 eax = 0
0x121b 64 call(0x1040)
0x1220 65 eax = [rsp + 0x24 {var_34}].d
0x1224 66 ecx = [rsp + 0x20 {var_38}].d
0x1228 67 ebp = (rcx + rax).d
0x122b 68 esi = [rsp + 0x1c {var_3c}].d
0x122f 69 ebp = ebp + esi
0x1231 70 edx = [rsp + 0x18 {var_40}].d
0x1235 71 ebp = ebp + edx
0x1237 72 edi = [rsp + 0x14 {var_44}].d
0x123b 73 ebp = ebp + edi
0x123d 74 ebx = [rsp + 0x10 {var_48}].d
0x1241 75 temp1.d = ebp
0x1241 76 ebp = ebp + ebx
0x1243 77 if (temp1.d != neg.d(ebx)) then 44 @ 0x11d0 else 30 @ 0x1245
int64_t _fini():
0x125c 0 rsp = rsp - 8
0x1260 1 rsp = rsp + 8
0x1264 2 <return> jump(pop)
| POJ_87 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
int32_t abs(int32_t i):
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 - 0x4d0
0x116b 3 rdi = 0x2005 {"%d"}
0x1172 4 rsi = rbp - 0x4c0 {var_4c8}
0x1179 5 al = 0
0x117b 6 call(0x1040)
0x1180 7 [rbp - 0x4b4 {var_4bc}].d = 0
0x1180 8 goto 9 @ 0x118a
0x118a 9 eax = [rbp - 0x4b4 {var_4bc}].d
0x1196 10 if (eax s>= [rbp - 0x4c0 {var_4c8}].d) then 11 @ 0x11d3 else 13 @ 0x119c
0x11d3 11 [rbp - 0x4b4 {var_4bc_1}].d = 0
0x11d3 12 goto 24 @ 0x11dd
0x119c 13 rax = sx.q([rbp - 0x4b4 {var_4bc}].d)
0x11a3 14 rsi = rbp - 0x4b0 {var_4b8}
0x11aa 15 rax = rax << 2
0x11ae 16 rsi = rsi + rax
0x11b1 17 rdi = 0x2005 {"%d"}
0x11b8 18 al = 0
0x11ba 19 call(0x1040)
0x11bf 20 eax = [rbp - 0x4b4 {var_4bc}].d
0x11c5 21 eax = eax + 1
0x11c8 22 [rbp - 0x4b4 {var_4bc}].d = eax
0x11ce 23 goto 9 @ 0x118a
0x11dd 24 eax = [rbp - 0x4b4 {var_4bc_1}].d
0x11e3 25 ecx = [rbp - 0x4c0 {var_4c8}].d
0x11e9 26 ecx = ecx - 1
0x11ee 27 if (eax s>= ecx) then 28 @ 0x12e7 else 31 @ 0x11f4
0x12e7 28 [rbp - 0x4b4 {var_4bc_2}].d = 0
0x12f1 29 [rbp - 0x4c4 {var_4cc}].d = 0
0x12f1 30 goto 33 @ 0x12fb
0x11f4 31 [rbp - 0x4b8 {var_4c0_1}].d = 0
0x11f4 32 goto 35 @ 0x11fe
0x12fb 33 eax = [rbp - 0x4b4 {var_4bc_2}].d
0x1307 34 if (eax s>= [rbp - 0x4c0 {var_4c8}].d) then 40 @ 0x133b else 43 @ 0x130d
0x11fe 35 eax = [rbp - 0x4b8 {var_4c0_1}].d
0x1204 36 ecx = [rbp - 0x4c0 {var_4c8}].d
0x120a 37 ecx = ecx - 1
0x120d 38 ecx = ecx - [rbp - 0x4b4 {var_4bc_1}].d
0x1215 39 if (eax s>= ecx) then 51 @ 0x12ce else 52 @ 0x121b
0x133b 40 [rbp - 0x4b4 {var_4bc_3}].d = 0
0x1345 41 [rbp - 0x4c8 {var_4d0}].d = 0
0x1345 42 goto 61 @ 0x134f
0x130d 43 eax = [rbp - 0x4c4 {var_4cc}].d
0x1313 44 rcx = sx.q([rbp - 0x4b4 {var_4bc_2}].d)
0x131a 45 eax = eax + [rbp + (rcx << 2) - 0x4b0].d
0x1321 46 [rbp - 0x4c4 {var_4cc}].d = eax
0x1327 47 eax = [rbp - 0x4b4 {var_4bc_2}].d
0x132d 48 eax = eax + 1
0x1330 49 [rbp - 0x4b4 {var_4bc_2}].d = eax
0x1336 50 goto 33 @ 0x12fb
0x12ce 51 goto 63 @ 0x12d3
0x121b 52 eax = [rbp - 0x4b4 {var_4bc_1}].d
0x1221 53 eax = eax + [rbp - 0x4b8 {var_4c0_1}].d
0x1227 54 rax = sx.q(eax)
0x1229 55 eax = [rbp + (rax << 2) - 0x4b0].d
0x1230 56 ecx = [rbp - 0x4b4 {var_4bc_1}].d
0x1236 57 ecx = ecx + [rbp - 0x4b8 {var_4c0_1}].d
0x123c 58 ecx = ecx + 1
0x123f 59 rcx = sx.q(ecx)
0x1249 60 if (eax s<= [rbp + (rcx << 2) - 0x4b0].d) then 67 @ 0x12b5 else 68 @ 0x124f
0x134f 61 eax = [rbp - 0x4b4 {var_4bc_3}].d
0x135b 62 if (eax s>= [rbp - 0x4c0 {var_4c8}].d) then 89 @ 0x13cc else 92 @ 0x1361
0x12d3 63 eax = [rbp - 0x4b4 {var_4bc_1}].d
0x12d9 64 eax = eax + 1
0x12dc 65 [rbp - 0x4b4 {var_4bc_1}].d = eax
0x12e2 66 goto 24 @ 0x11dd
0x12b5 67 goto 98 @ 0x12ba
0x124f 68 eax = [rbp - 0x4b4 {var_4bc_1}].d
0x1255 69 eax = eax + [rbp - 0x4b8 {var_4c0_1}].d
0x125b 70 rax = sx.q(eax)
0x125d 71 eax = [rbp + (rax << 2) - 0x4b0].d
0x1264 72 [rbp - 0x4bc {var_4c4_1}].d = eax
0x126a 73 eax = [rbp - 0x4b4 {var_4bc_1}].d
0x1270 74 eax = eax + [rbp - 0x4b8 {var_4c0_1}].d
0x1276 75 eax = eax + 1
0x1279 76 rax = sx.q(eax)
0x127b 77 ecx = [rbp + (rax << 2) - 0x4b0].d
0x1282 78 eax = [rbp - 0x4b4 {var_4bc_1}].d
0x1288 79 eax = eax + [rbp - 0x4b8 {var_4c0_1}].d
0x128e 80 rax = sx.q(eax)
0x1290 81 [rbp + (rax << 2) - 0x4b0].d = ecx
0x1297 82 ecx = [rbp - 0x4bc {var_4c4_1}].d
0x129d 83 eax = [rbp - 0x4b4 {var_4bc_1}].d
0x12a3 84 eax = eax + [rbp - 0x4b8 {var_4c0_1}].d
0x12a9 85 eax = eax + 1
0x12ac 86 rax = sx.q(eax)
0x12ae 87 [rbp + (rax << 2) - 0x4b0].d = ecx
0x12ae 88 goto 67 @ 0x12b5
0x13cc 89 [rbp - 0x4b4 {var_4bc_4}].d = 0
0x13d6 90 [rbp - 0x4cc {var_4d4}].d = 0
0x13d6 91 goto 102 @ 0x13e0
0x1361 92 rax = sx.q([rbp - 0x4b4 {var_4bc_3}].d)
0x1368 93 edi = [rbp + (rax << 2) - 0x4b0].d
0x136f 94 edi = edi * [rbp - 0x4c0 {var_4c8}].d
0x1376 95 edi = edi - [rbp - 0x4c4 {var_4cc}].d
0x137c 96 call(0x1050)
0x1387 97 if (eax s<= [rbp - 0x4c8 {var_4d0}].d) then 104 @ 0x13b3 else 105 @ 0x138d
0x12ba 98 eax = [rbp - 0x4b8 {var_4c0_1}].d
0x12c0 99 eax = eax + 1
0x12c3 100 [rbp - 0x4b8 {var_4c0_1}].d = eax
0x12c9 101 goto 35 @ 0x11fe
0x13e0 102 eax = [rbp - 0x4b4 {var_4bc_4}].d
0x13ec 103 if (eax s>= [rbp - 0x4c0 {var_4c8}].d) then 112 @ 0x14c9 else 115 @ 0x13f2
0x13b3 104 goto 121 @ 0x13b8
0x138d 105 rax = sx.q([rbp - 0x4b4 {var_4bc_3}].d)
0x1394 106 edi = [rbp + (rax << 2) - 0x4b0].d
0x139b 107 edi = edi * [rbp - 0x4c0 {var_4c8}].d
0x13a2 108 edi = edi - [rbp - 0x4c4 {var_4cc}].d
0x13a8 109 call(0x1050)
0x13ad 110 [rbp - 0x4c8 {var_4d0}].d = eax
0x13ad 111 goto 104 @ 0x13b3
0x14c9 112 rsp = rsp + 0x4d0
0x14d0 113 rbp = pop
0x14d1 114 <return> jump(pop)
0x13f2 115 rax = sx.q([rbp - 0x4b4 {var_4bc_4}].d)
0x13f9 116 edi = [rbp + (rax << 2) - 0x4b0].d
0x1400 117 edi = edi * [rbp - 0x4c0 {var_4c8}].d
0x1407 118 edi = edi - [rbp - 0x4c4 {var_4cc}].d
0x140d 119 call(0x1050)
0x1418 120 if (eax != [rbp - 0x4c8 {var_4d0}].d) then 125 @ 0x1456 else 131 @ 0x1425
0x13b8 121 eax = [rbp - 0x4b4 {var_4bc_3}].d
0x13be 122 eax = eax + 1
0x13c1 123 [rbp - 0x4b4 {var_4bc_3}].d = eax
0x13c7 124 goto 61 @ 0x134f
0x1456 125 rax = sx.q([rbp - 0x4b4 {var_4bc_4}].d)
0x145d 126 edi = [rbp + (rax << 2) - 0x4b0].d
0x1464 127 edi = edi * [rbp - 0x4c0 {var_4c8}].d
0x146b 128 edi = edi - [rbp - 0x4c4 {var_4cc}].d
0x1471 129 call(0x1050)
0x147c 130 if (eax != [rbp - 0x4c8 {var_4d0}].d) then 132 @ 0x14ab else 133 @ 0x1489
0x1425 131 if ([rbp - 0x4cc {var_4d4}].d != 0) then 125 @ 0x1456 else 134 @ 0x142b
0x14ab 132 goto 141 @ 0x14b0
0x1489 133 if ([rbp - 0x4cc {var_4d4}].d == 0) then 132 @ 0x14ab else 142 @ 0x148f
0x142b 134 rax = sx.q([rbp - 0x4b4 {var_4bc_4}].d)
0x1432 135 esi = [rbp + (rax << 2) - 0x4b0].d
0x1439 136 rdi = 0x2005 {"%d"}
0x1440 137 al = 0
0x1442 138 call(0x1030)
0x1447 139 [rbp - 0x4cc {var_4d4}].d = 1
0x1451 140 goto 141 @ 0x14b0
0x14b0 141 goto 148 @ 0x14b5
0x148f 142 rax = sx.q([rbp - 0x4b4 {var_4bc_4}].d)
0x1496 143 esi = [rbp + (rax << 2) - 0x4b0].d
0x149d 144 rdi = 0x2004 {",%d"}
0x14a4 145 al = 0
0x14a6 146 call(0x1030)
0x14a6 147 goto 132 @ 0x14ab
0x14b5 148 eax = [rbp - 0x4b4 {var_4bc_4}].d
0x14bb 149 eax = eax + 1
0x14be 150 [rbp - 0x4b4 {var_4bc_4}].d = eax
0x14c4 151 goto 102 @ 0x13e0
int64_t _fini():
0x14d8 0 rsp = rsp - 8
0x14dc 1 rsp = rsp + 8
0x14e0 2 <return> jump(pop)
| POJ_21 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
char* strncpy(char* arg1, char const* arg2, uint64_t arg3):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
char* strcpy(char* arg1, char const* arg2):
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)
int32_t puts(char const* str):
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 = 0x11e0 {"UAWAVAUATSH("}
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)
uint64_t strre(char* arg1):
0x1190 0 push(rbx)
0x1191 1 rbx = rdi
0x1194 2 call(0x1040)
0x119c 3 if (eax s< 2) then 4 @ 0x11d9 else 6 @ 0x119e
0x11d9 4 rbx = pop
0x11da 5 <return> jump(pop)
0x119e 6 esi = eax
0x11a0 7 esi = esi u>> 0x1f
0x11a3 8 esi = esi + eax
0x11a5 9 esi = esi s>> 1
0x11a7 10 rax = sx.q(eax)
0x11a9 11 rsi = neg.q(rsi)
0x11ac 12 rdi = rax + rbx
0x11b0 13 rdi = rdi - 1
0x11b4 14 edx = 0
0x11b6 15 goto 16 @ 0x11c0
0x11c0 16 ecx = zx.d([rbx].b)
0x11c3 17 eax = zx.d([rdi + rdx].b)
0x11c7 18 [rbx].b = al
0x11c9 19 [rdi + rdx].b = cl
0x11cc 20 rbx = rbx + 1
0x11d0 21 rdx = rdx - 1
0x11d7 22 if (rsi != rdx) then 16 @ 0x11c0 else 4 @ 0x11d9
int32_t main(int32_t argc, char** argv, char** envp):
0x11e0 0 push(rbp)
0x11e1 1 push(r15)
0x11e3 2 push(r14)
0x11e5 3 push(r13)
0x11e7 4 push(r12)
0x11e9 5 push(rbx)
0x11ea 6 rsp = rsp - 0x3d728
0x11f1 7 ebp = 0
0x11f3 8 rbx = rsp + 0x430 {var_3d328}
0x11fb 9 rdi = rbx {var_3d328}
0x11fe 10 eax = 0
0x1200 11 call(0x1060)
0x1205 12 rdi = rbx {var_3d328}
0x1208 13 call(0x1040)
0x1210 14 if (eax s< 3) then 15 @ 0x1378 else 16 @ 0x1216
0x1378 15 if (ebp s< 2) then 29 @ 0x141d else 30 @ 0x137e
0x1216 16 rcx = rax
0x1219 17 rax = sx.q(ecx)
0x121c 18 ecx = ecx - 2
0x121f 19 [rsp + 0x20 {var_3d738_1}].q = rcx
0x1224 20 [rsp + 0x18 {var_3d740_1}].q = rax
0x1229 21 eax = eax
0x122b 22 [rsp + 0x10 {var_3d748}].q = rax
0x1230 23 eax = 0
0x1232 24 r12d = 1
0x1238 25 r15 = rsp + 0x30 {var_3d728}
0x123d 26 r13 = rsp + 0x230 {var_3d528}
0x1245 27 ebp = 0
0x1247 28 goto 35 @ 0x1269
0x141d 29 if (ebp s<= 0) then 40 @ 0x1445 else 48 @ 0x141f
0x137e 30 eax = (rbp - 1).d
0x1381 31 ecx = 0
0x1383 32 r14 = rsp + 0x30 {var_3d728}
0x1388 33 [rsp + 8 {var_3d750_1}].d = eax
0x138c 34 goto 51 @ 0x13a4
0x1269 35 rcx = rax + 1
0x126d 36 cond:0 = rcx s>= [rsp + 0x18 {var_3d740_1}].q
0x1272 37 [rsp + 8 {var_3d750}].q = rcx
0x1277 38 [rsp + 0x28 {var_3d730_1}].q = r12
0x127c 39 if (cond:0) then 58 @ 0x1250 else 62 @ 0x127e
0x1445 40 rsp = rsp + 0x3d728
0x144c 41 rbx = pop
0x144d 42 r12 = pop
0x144f 43 r13 = pop
0x1451 44 r14 = pop
0x1453 45 r15 = pop
0x1455 46 rbp = pop
0x1456 47 <return> jump(pop)
0x141f 48 ebp = ebp
0x1421 49 rbx = rsp + 0x690 {var_3d0c8}
0x1429 50 goto 68 @ 0x1430
0x13a4 51 eax = eax
0x13a6 52 [rsp {var_3d758}].q = rax
0x13aa 53 [rsp + 0x10 {var_3d748}].d = ecx
0x13ae 54 eax = ecx
0x13b0 55 eax = not.d(eax)
0x13b2 56 eax = eax + ebp
0x13b6 57 if (eax s<= 0) then 74 @ 0x1390 else 79 @ 0x13b8
0x1250 58 r12 = [rsp + 0x28 {var_3d730_1}].q
0x1255 59 r12 = r12 + 1
0x1259 60 rax = [rsp + 8 {var_3d750}].q
0x1263 61 if (rax == [rsp + 0x20 {var_3d738_1}].q) then 15 @ 0x1378 else 35 @ 0x1269
0x127e 62 rcx = rsp + rax
0x1282 63 rcx = rcx + 0x430
0x1289 64 [rsp {var_3d758}].q = rcx
0x128d 65 r14d = 1
0x1293 66 r14 = r14 - rax
0x1296 67 goto 82 @ 0x12d0
0x1430 68 rdi = rbx
0x1433 69 call(0x1080)
0x1438 70 rbx = rbx + 0x1f4
0x143f 71 temp0.q = rbp
0x143f 72 rbp = rbp - 1
0x1443 73 if (temp0.q != 1) then 68 @ 0x1430 else 40 @ 0x1445
0x1390 74 ecx = [rsp + 0x10 {var_3d748}].d
0x1394 75 ecx = ecx + 1
0x1397 76 rax = [rsp {var_3d758}].q
0x139b 77 eax = eax - 1
0x13a2 78 if (ecx == [rsp + 8 {var_3d750_1}].d) then 29 @ 0x141d else 51 @ 0x13a4
0x13b8 79 r13 = [rsp {var_3d758}].q
0x13bc 80 rbx = rsp + 0x690 {var_3d0c8}
0x13c4 81 goto 95 @ 0x13d9
0x12d0 82 eax = (r14 + r12).d
0x12d4 83 rbx = sx.q(eax)
0x12d7 84 rdi = r15 {var_3d728}
0x12da 85 rsi = [rsp {var_3d758}].q
0x12de 86 rdx = rbx
0x12e1 87 call(0x1030)
0x12e6 88 [rsp + rbx + 0x30].b = 0
0x12eb 89 rdi = r13 {var_3d528}
0x12ee 90 rsi = r15 {var_3d728}
0x12f1 91 call(0x1050)
0x12f6 92 rdi = r13 {var_3d528}
0x12f9 93 call(0x1040)
0x1301 94 if (eax s< 2) then 102 @ 0x12a0 else 106 @ 0x1303
0x13d9 95 rdi = rbx
0x13dc 96 call(0x1040)
0x13e1 97 r12 = rax
0x13e4 98 r15 = rbx + 0x1f4
0x13eb 99 rdi = r15
0x13ee 100 call(0x1040)
0x13f6 101 if (r12 u<= rax) then 117 @ 0x13d0 else 121 @ 0x13f8
0x12a0 102 rdi = r15 {var_3d728}
0x12a3 103 rsi = r13 {var_3d528}
0x12a6 104 call(0x1070)
0x12ad 105 if (eax == 0) then 131 @ 0x1350 else 139 @ 0x12b3
0x1303 106 edi = eax
0x1305 107 edi = edi u>> 0x1f
0x1308 108 edi = edi + eax
0x130a 109 edi = edi s>> 1
0x130c 110 rax = sx.q(eax)
0x130e 111 rcx = rsp + 0x22f {var_3d529}
0x1316 112 rax = rax + rcx
0x1319 113 rdi = neg.q(rdi)
0x131c 114 edx = 0
0x131e 115 rsi = r13 {var_3d528}
0x132b 116 goto 144 @ 0x1330
0x13d0 117 rbx = r15
0x13d3 118 temp1.q = r13
0x13d3 119 r13 = r13 - 1
0x13d7 120 if (temp1.q == 1) then 74 @ 0x1390 else 95 @ 0x13d9
0x13f8 121 rdi = r14 {var_3d728}
0x13fb 122 rsi = rbx
0x13fe 123 call(0x1050)
0x1403 124 rdi = rbx
0x1406 125 rsi = r15
0x1409 126 call(0x1050)
0x140e 127 rdi = r15
0x1411 128 rsi = r14 {var_3d728}
0x1414 129 call(0x1050)
0x1419 130 goto 117 @ 0x13d0
0x1350 131 rbp = sx.q(ebp)
0x1353 132 rax = rbp * 0x1f4
0x135a 133 rdi = rsp + rax
0x135e 134 rdi = rdi + 0x690
0x1365 135 rsi = r15 {var_3d728}
0x1368 136 call(0x1050)
0x136d 137 ebp = ebp + 1
0x1370 138 goto 139 @ 0x12b3
0x12b3 139 rax = sx.q(ebp)
0x12b6 140 rax = rax * 0x1f4
0x12bd 141 [rsp + rax + 0x690].b = 0
0x12c5 142 r12 = r12 + 1
0x12ce 143 if (r12 == [rsp + 0x10 {var_3d748}].q) then 58 @ 0x1250 else 82 @ 0x12d0
0x1330 144 ebx = zx.d([rsi].b)
0x1333 145 ecx = zx.d([rax + rdx].b)
0x1337 146 [rsi].b = cl
0x1339 147 [rax + rdx].b = bl
0x133c 148 rsi = rsi + 1
0x1340 149 rdx = rdx - 1
0x1347 150 if (rdi != rdx) then 144 @ 0x1330 else 151 @ 0x1349
0x1349 151 goto 102 @ 0x12a0
int64_t _fini():
0x145c 0 rsp = rsp - 8
0x1460 1 rsp = rsp + 8
0x1464 2 <return> jump(pop)
| POJ_49 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t scanf(char const* format, ...):
0x1040 0 <return> tailcall([0x4020].q)
void __cxa_finalize(void* d):
0x1050 0 <return> tailcall([0x3fe0].q)
int64_t _start(int64_t arg1, int64_t arg2, void (* arg3)()) __noreturn:
0x1064 0 ebp = 0
0x1066 1 r9 = rdx
0x1069 2 rsi = pop
0x106a 3 rdx = rsp {arg_8}
0x106d 4 rsp = rsp & 0xfffffffffffffff0
0x1071 5 push(rax)
0x1072 6 push(rsp)
0x1073 7 r8d = 0
0x1076 8 ecx = 0
0x1078 9 rdi = 0x1150 {"HH="}
0x107f 10 call([0x3ff8].q)
0x107f 11 noreturn
void deregister_tm_clones():
0x1090 0 rdi = 0x4038 {""}
0x1097 1 rax = 0x4038 {""}
0x10a1 2 if (rax == rdi) then 3 @ 0x10b8 else 4 @ 0x10a3
0x10b8 3 <return> jump(pop)
0x10a3 4 rax = [0x3fd8].q
0x10ad 5 if (rax == 0) then 3 @ 0x10b8 else 6 @ 0x10af
0x10af 6 <return> tailcall(rax)
void register_tm_clones():
0x10c0 0 rdi = 0x4038 {""}
0x10c7 1 rsi = 0x4038 {""}
0x10ce 2 rsi = rsi - rdi
0x10d1 3 rax = rsi
0x10d4 4 rsi = rsi u>> 0x3f
0x10d8 5 rax = rax s>> 3
0x10dc 6 rsi = rsi + rax
0x10df 7 rsi = rsi s>> 1
0x10e2 8 if (rsi == 0) then 9 @ 0x10f8 else 10 @ 0x10e4
0x10f8 9 <return> jump(pop)
0x10e4 10 rax = [0x3ff0].q
0x10ee 11 if (rax == 0) then 9 @ 0x10f8 else 12 @ 0x10f0
0x10f0 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x110b 0 if ([0x4038].b != 0) then 1 @ 0x1138 else 2 @ 0x110d
0x1138 1 <return> jump(pop)
0x110d 2 push(rbp)
0x110e 3 cond:0 = [0x3fe0].q == 0
0x1116 4 rbp = rsp {__saved_rbp}
0x1119 5 if (cond:0) then 6 @ 0x1127 else 10 @ 0x111b
0x1127 6 call(0x1090)
0x112c 7 [0x4038].b = 1
0x1133 8 rbp = pop
0x1134 9 <return> jump(pop)
0x111b 10 rdi = [0x4030].q
0x1122 11 call(0x1050)
0x1122 12 goto 6 @ 0x1127
int64_t frame_dummy():
0x1144 0 <return> tailcall(0x10c0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1150 0 rsp = rsp - 0x18
0x1154 1 rdi = 0x2004 {"%d"}
0x115b 2 rsi = rsp + 0x14 {var_4}
0x1160 3 eax = 0
0x1162 4 call(0x1040)
0x1167 5 rax = sx.q([rsp + 0x14 {var_4}].d)
0x116c 6 rsi = rax * 0x51eb851f
0x1173 7 rcx = rsi
0x1176 8 rcx = rcx u>> 0x3f
0x117a 9 rsi = rsi s>> 0x25
0x117e 10 esi = esi + ecx
0x1180 11 ecx = esi * 0x64
0x1183 12 edi = esi * -0x64
0x1186 13 edi = edi + eax
0x1188 14 eax = eax - ecx
0x118a 15 rax = sx.q(eax)
0x118c 16 rdx = rax * 0x51eb851f
0x1193 17 rax = rdx
0x1196 18 rax = rax u>> 0x3f
0x119a 19 rdx = rdx s>> 0x24
0x119e 20 edx = edx + eax
0x11a0 21 eax = edx * -0x32
0x11a3 22 eax = eax + edi
0x11a5 23 rax = sx.q(eax)
0x11a7 24 rcx = rax * 0x66666667
0x11ae 25 rdi = rcx
0x11b1 26 rdi = rdi u>> 0x3f
0x11b5 27 rcx = rcx s>> 0x23
0x11b9 28 ecx = ecx + edi
0x11bb 29 edi = (rcx << 2).d
0x11c2 30 edi = (rdi + (rdi << 2)).d
0x11c5 31 eax = eax - edi
0x11c7 32 rax = sx.q(eax)
0x11c9 33 r8 = rax * 0x66666667
0x11d0 34 rdi = r8
0x11d3 35 rdi = rdi u>> 0x3f
0x11d7 36 r8 = r8 s>> 0x22
0x11db 37 r8d = r8d + edi
0x11de 38 edi = (r8 + r8).d
0x11e2 39 edi = (rdi + (rdi << 2)).d
0x11e5 40 eax = eax - edi
0x11e7 41 rax = sx.q(eax)
0x11e9 42 r9 = rax * 0x66666667
0x11f0 43 rdi = r9
0x11f3 44 rdi = rdi u>> 0x3f
0x11f7 45 r9 = r9 s>> 0x21
0x11fb 46 r9d = r9d + edi
0x11fe 47 edi = (r9 + (r9 << 2)).d
0x1202 48 eax = eax - edi
0x1204 49 [rsp {var_18}].d = eax
0x1207 50 rdi = 0x2007 {"%d\n%d\n%d\n%d\n%d\n%d\n"}
0x120e 51 eax = 0
0x1210 52 call(0x1030)
0x1215 53 eax = 0
0x1217 54 rsp = rsp + 0x18
0x121b 55 <return> jump(pop)
int64_t _fini():
0x1220 0 rsp = rsp - 8
0x1224 1 rsp = rsp + 8
0x1228 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)
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 - 0x200
0x1160 6 rdi = 0x2004 {"%d,%d"}
0x1167 7 rsi = rsp + 0xc {var_21c}
0x116c 8 rdx = rsp + 8 {var_220}
0x1171 9 eax = 0
0x1173 10 call(0x1040)
0x1178 11 r9d = [rsp + 0xc {var_21c}].d
0x1180 12 if (r9d s<= 0) then 13 @ 0x1258 else 16 @ 0x1186
0x1258 13 r10d = [rsp + 8 {var_220}].d
0x125d 14 r8d = 0
0x125d 15 goto 21 @ 0x1263
0x1186 16 r15 = rsp + 0x70 {var_1b8}
0x118b 17 ecx = [rsp + 8 {var_220}].d
0x118f 18 r14 = 0x200d {"%d"}
0x1196 19 r12d = 0
0x1199 20 goto 22 @ 0x11b2
0x1263 21 if (r10d s<= 0) then 23 @ 0x12ce else 24 @ 0x1265
0x11b2 22 if (ecx s<= 0) then 30 @ 0x11a0 else 34 @ 0x11b4
0x12ce 23 if (r8b == 0) then 37 @ 0x1316 else 41 @ 0x12d0
0x1265 24 r10d = r10d
0x1268 25 esi = r9d
0x126b 26 r11 = rsp + 0x98 {var_190}
0x1273 27 rsi = rsi - 1
0x1277 28 ebx = 0
0x1279 29 goto 45 @ 0x128d
0x11a0 30 r12 = r12 + 1
0x11a4 31 rax = sx.q(r9d)
0x11a7 32 r15 = r15 + 0x28
0x11ae 33 if (r12 s>= rax) then 48 @ 0x11e6 else 22 @ 0x11b2
0x11b4 34 r13 = r15
0x11b7 35 ebx = 0
0x11b9 36 goto 52 @ 0x11c0
0x1316 37 rdi = 0x2010 {"No"}
0x131d 38 eax = 0
0x131f 39 call(0x1030)
0x131f 40 goto 60 @ 0x1324
0x12d0 41 r14 = 0x200a {"%d+%d"}
0x12d7 42 ebx = 0
0x12d9 43 eax = 0
0x12db 44 goto 68 @ 0x12ec
0x128d 45 eax = [rsp + (rbx << 2) + 0x70].d
0x1291 46 [rsp + (rbx << 2) + 0x10].d = 0
0x129c 47 if (r8b == 0) then 71 @ 0x1280 else 74 @ 0x129e
0x11e6 48 temp0.d = r9d
0x11e6 49 cond:0 = temp0.d s<= 0
0x11e9 50 r8b = temp0.d s> 0
0x11ed 51 if (cond:0) then 13 @ 0x1258 else 78 @ 0x11ef
0x11c0 52 rdi = r14
0x11c3 53 rsi = r13
0x11c6 54 eax = 0
0x11c8 55 call(0x1040)
0x11cd 56 rbx = rbx + 1
0x11d1 57 rcx = sx.q([rsp + 8 {var_220}].d)
0x11d6 58 r13 = r13 + 4
0x11dd 59 if (rbx s< rcx) then 52 @ 0x11c0 else 85 @ 0x11df
0x1324 60 eax = 0
0x1326 61 rsp = rsp + 0x200
0x132d 62 rbx = pop
0x132e 63 r12 = pop
0x1330 64 r13 = pop
0x1332 65 r14 = pop
0x1334 66 r15 = pop
0x1336 67 <return> jump(pop)
0x12ec 68 rdx = sx.q([rsp + (rbx << 2) + 0x40].d)
0x12f1 69 ecx = [rsp + (rdx << 2) + 0x10].d
0x12f8 70 if (rbx != rcx) then 87 @ 0x12e0 else 90 @ 0x12fa
0x1280 71 rbx = rbx + 1
0x1284 72 r11 = r11 + 4
0x128b 73 if (rbx == r10) then 23 @ 0x12ce else 45 @ 0x128d
0x129e 74 rcx = r11
0x12a1 75 edx = 0
0x12a3 76 edi = eax
0x12a7 77 if (eax s>= edi) then 97 @ 0x12b9 else 98 @ 0x12a9
0x11ef 78 r10d = [rsp + 8 {var_220}].d
0x11f4 79 r11d = r9d
0x11f7 80 rdi = rsp + 0x74 {var_1b4}
0x11fc 81 rdx = r10
0x11ff 82 rdx = rdx - 1
0x1203 83 ecx = 0
0x1205 84 goto 99 @ 0x121d
0x11df 85 r9d = [rsp + 0xc {var_21c}].d
0x11e4 86 goto 30 @ 0x11a0
0x12e0 87 rbx = rbx + 1
0x12e4 88 rcx = sx.q(r9d)
0x12ea 89 if (rbx s>= rcx) then 103 @ 0x1314 else 68 @ 0x12ec
0x12fa 90 rdi = r14
0x12fd 91 esi = ebx
0x12ff 92 eax = 0
0x1301 93 call(0x1030)
0x1306 94 eax = 1
0x130b 95 r9d = [rsp + 0xc {var_21c}].d
0x1310 96 goto 87 @ 0x12e0
0x12b9 97 if (rsi == rdx) then 71 @ 0x1280 else 104 @ 0x12bb
0x12a9 98 goto 108 @ 0x12b0
0x121d 99 rax = rcx + (rcx << 2)
0x1221 100 eax = [rsp + (rax << 3) + 0x70].d
0x1225 101 [rsp + (rcx << 2) + 0x40].d = 0
0x1230 102 if (r10d s<= 0) then 111 @ 0x1210 else 114 @ 0x1232
0x1314 103 if (eax != 0) then 60 @ 0x1324 else 37 @ 0x1316
0x12bb 104 eax = [rcx].d
0x12bd 105 rcx = rcx + 0x28
0x12c1 106 rdx = rdx + 1
0x12c7 107 if (eax s< edi) then 108 @ 0x12b0 else 117 @ 0x12c9
0x12b0 108 [rsp + (rbx << 2) + 0x10].d = edx
0x12b4 109 edi = eax
0x12b4 110 goto 97 @ 0x12b9
0x1210 111 rcx = rcx + 1
0x1214 112 rdi = rdi + 0x28
0x121b 113 if (rcx == r11) then 21 @ 0x1263 else 99 @ 0x121d
0x1232 114 ebx = 0
0x1234 115 esi = eax
0x1238 116 if (eax s<= esi) then 118 @ 0x1249 else 119 @ 0x123a
0x12c9 117 goto 97 @ 0x12b9
0x1249 118 if (rdx == rbx) then 111 @ 0x1210 else 120 @ 0x124b
0x123a 119 goto 123 @ 0x1240
0x124b 120 eax = [rdi + (rbx << 2)].d
0x124e 121 rbx = rbx + 1
0x1254 122 if (eax s> esi) then 123 @ 0x1240 else 126 @ 0x1256
0x1240 123 [rsp + (rcx << 2) + 0x40].d = ebx
0x1244 124 esi = eax
0x1244 125 goto 118 @ 0x1249
0x1256 126 goto 118 @ 0x1249
int64_t _fini():
0x133c 0 rsp = rsp - 8
0x1340 1 rsp = rsp + 8
0x1344 2 <return> jump(pop)
| POJ_35 |
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 = 0x1220 {"UAVSHH=
"}
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)
int64_t step(int32_t arg1):
0x1160 0 push(rax)
0x1164 1 if (edi != 1) then 2 @ 0x1174 else 11 @ 0x1166
0x1174 2 esi = edi
0x1176 3 edx = edi
0x1178 4 edx = edx u>> 0x1f
0x117b 5 edx = edx + edi
0x117d 6 eax = edx
0x117f 7 eax = eax & 0xfffffffe
0x1182 8 ecx = edi
0x1184 9 ecx = ecx - eax
0x1189 10 if (ecx != 1) then 14 @ 0x119a else 17 @ 0x118b
0x1166 11 rdi = 0x201b {"End"}
0x116d 12 call(0x1050)
0x1172 13 goto 21 @ 0x11aa
0x119a 14 edx = edx s>> 1
0x119c 15 rdi = 0x200f {"%d/2=%d\n"}
0x119c 16 goto 24 @ 0x11a3
0x118b 17 edx = (rsi + (rsi << 1)).d
0x118e 18 edx = edx + 1
0x1191 19 rdi = 0x2004 {"%d*3+1=%d\n"}
0x1198 20 goto 24 @ 0x11a3
0x11aa 21 eax = 0
0x11ac 22 rcx = pop
0x11ad 23 <return> jump(pop)
0x11a3 24 eax = 0
0x11a5 25 call(0x1030)
0x11a5 26 goto 21 @ 0x11aa
int64_t jiaogu(int32_t arg1, uint64_t arg2):
0x11b0 0 push(rbp)
0x11b1 1 push(r14)
0x11b3 2 push(rbx)
0x11b7 3 if (edi != 1) then 4 @ 0x11ce else 8 @ 0x11b9
0x11ce 4 esi = edi
0x11d0 5 r14 = 0x2004 {"%d*3+1=%d\n"}
0x11d7 6 rbx = 0x200f {"%d/2=%d\n"}
0x11de 7 goto 16 @ 0x11f9
0x11b9 8 rdi = 0x201b {"End"}
0x11c0 9 eax = 0
0x11c2 10 call(0x1030)
0x11c7 11 eax = 0
0x11c9 12 rbx = pop
0x11ca 13 r14 = pop
0x11cc 14 rbp = pop
0x11cd 15 <return> jump(pop)
0x11f9 16 edx = esi
0x11fb 17 edx = edx u>> 0x1f
0x11fe 18 edx = edx + esi
0x1200 19 eax = edx
0x1202 20 eax = eax & 0xfffffffe
0x1205 21 ecx = esi
0x1207 22 ecx = ecx - eax
0x120c 23 if (ecx == 1) then 24 @ 0x11e0 else 29 @ 0x120e
0x11e0 24 ebp = (rsi + (rsi << 1)).d
0x11e3 25 ebp = ebp + 1
0x11e6 26 rdi = r14
0x11e9 27 edx = ebp
0x11e9 28 goto 34 @ 0x11eb
0x120e 29 ebp = edx
0x1210 30 ebp = ebp s>> 1
0x1212 31 edx = edx s>> 1
0x1214 32 rdi = rbx
0x1217 33 goto 34 @ 0x11eb
0x11eb 34 eax = 0
0x11ed 35 call(0x1030)
0x11f2 36 esi = ebp
0x11f7 37 if (ebp == 1) then 8 @ 0x11b9 else 16 @ 0x11f9
int32_t main(int32_t argc, char** argv, char** envp):
0x1220 0 push(rbp)
0x1221 1 push(r14)
0x1223 2 push(rbx)
0x1224 3 rsp = rsp - 0x10
0x1228 4 rdi = 0x2018 {"%d"}
0x122f 5 rsi = rsp + 0xc {var_1c}
0x1234 6 eax = 0
0x1236 7 call(0x1040)
0x123b 8 esi = [rsp + 0xc {var_1c}].d
0x1242 9 if (esi != 1) then 10 @ 0x125d else 13 @ 0x1244
0x125d 10 r14 = 0x2004 {"%d*3+1=%d\n"}
0x1264 11 rbx = 0x200f {"%d/2=%d\n"}
0x126b 12 goto 22 @ 0x1289
0x1244 13 rdi = 0x201b {"End"}
0x124b 14 eax = 0
0x124d 15 call(0x1030)
0x1252 16 eax = 0
0x1254 17 rsp = rsp + 0x10
0x1258 18 rbx = pop
0x1259 19 r14 = pop
0x125b 20 rbp = pop
0x125c 21 <return> jump(pop)
0x1289 22 ebp = esi
0x128b 23 ebp = ebp u>> 0x1f
0x128e 24 ebp = ebp + esi
0x1290 25 eax = ebp
0x1292 26 eax = eax & 0xfffffffe
0x1295 27 ecx = esi
0x1297 28 ecx = ecx - eax
0x129c 29 if (ecx == 1) then 30 @ 0x1270 else 34 @ 0x129e
0x1270 30 ebp = (rsi + (rsi << 1)).d
0x1273 31 ebp = ebp + 1
0x1276 32 rdi = r14
0x1276 33 goto 37 @ 0x1279
0x129e 34 ebp = ebp s>> 1
0x12a0 35 rdi = rbx
0x12a3 36 goto 37 @ 0x1279
0x1279 37 edx = ebp
0x127b 38 eax = 0
0x127d 39 call(0x1030)
0x1282 40 esi = ebp
0x1287 41 if (ebp == 1) then 13 @ 0x1244 else 22 @ 0x1289
int64_t _fini():
0x12ac 0 rsp = rsp - 8
0x12b0 1 rsp = rsp + 8
0x12b4 2 <return> jump(pop)
| POJ_34 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
uint64_t strlen(char const* arg1):
0x1040 0 <return> tailcall([0x4020].q)
char* strcpy(char* arg1, char const* arg2):
0x1050 0 <return> tailcall([0x4028].q)
int32_t scanf(char const* format, ...):
0x1060 0 <return> tailcall([0x4030].q)
char* gets(char* buf):
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 {"AWAVSH"}
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(rbx)
0x1185 3 rsp = rsp - 0x280
0x118c 4 xmm0 = 0
0x118f 5 [rsp + 0x10 {var_288}].o = xmm0
0x1194 6 [rsp + 0xc0 {var_1d8}].o = xmm0
0x119c 7 [rsp + 0xb0 {var_1e8}].o = xmm0
0x11a4 8 [rsp + 0xa0 {var_1f8}].o = xmm0
0x11ac 9 [rsp + 0x90 {var_208}].o = xmm0
0x11b4 10 [rsp + 0x80 {var_218}].o = xmm0
0x11bc 11 [rsp + 0x70 {var_228}].o = xmm0
0x11c1 12 [rsp + 0x60 {var_238}].o = xmm0
0x11c6 13 [rsp + 0x50 {var_248}].o = xmm0
0x11cb 14 [rsp + 0x40 {var_258}].o = xmm0
0x11d0 15 [rsp + 0x30 {var_268}].o = xmm0
0x11d5 16 [rsp + 0x20 {var_278}].o = xmm0
0x11da 17 [rsp + 0xd0 {var_1c8}].q = 0
0x11e6 18 [rsp + 0x10 {var_288}].b = 0x20 {"@"}
0x11eb 19 ebx = 0
0x11ed 20 r14 = rsp + 0xe0 {var_1b8}
0x11f5 21 rdi = r14 {var_1b8}
0x11f8 22 eax = 0
0x11fa 23 call(0x1070)
0x11ff 24 rdi = r14 {var_1b8}
0x1202 25 call(0x1040)
0x1207 26 r15 = rax
0x120a 27 rdi = rsp + 0x1b0 {var_e8}
0x1212 28 rsi = r14 {var_1b8}
0x1215 29 call(0x1050)
0x121a 30 eax = (r15 - 1).d
0x1222 31 if (r15d s< 2) then 32 @ 0x124c else 51 @ 0x1224
0x124c 32 [rsp + 0xc {var_28c}].d = ebx
0x1250 33 rax = sx.q(eax)
0x1252 34 cl = [rsp + rax + 0xe0].b
0x1259 35 cl = cl + [rsp + 0xe0 {var_1b8}].b
0x1260 36 [rsp + rax + 0x10].b = cl
0x1264 37 rdi = 0x2004 {"%s"}
0x126b 38 rsi = rsp + 0x10 {var_288}
0x1270 39 eax = 0
0x1272 40 call(0x1030)
0x1277 41 rdi = 0x2007 {"%d"}
0x127e 42 rsi = rsp + 0xc {var_28c}
0x1283 43 eax = 0
0x1285 44 call(0x1060)
0x128a 45 eax = 0
0x128c 46 rsp = rsp + 0x280
0x1293 47 rbx = pop
0x1294 48 r14 = pop
0x1296 49 r15 = pop
0x1298 50 <return> jump(pop)
0x1224 51 ecx = eax
0x1226 52 ebx = 0
0x1228 53 goto 54 @ 0x1230
0x1230 54 edx = zx.d([rsp + rbx + 0x1b1].b)
0x1238 55 dl = dl + [rsp + rbx + 0xe0].b
0x123f 56 [rsp + rbx + 0x10].b = dl
0x1243 57 rbx = rbx + 1
0x124a 58 if (rcx != rbx) then 54 @ 0x1230 else 32 @ 0x124c
int64_t _fini():
0x12a0 0 rsp = rsp - 8
0x12a4 1 rsp = rsp + 8
0x12a8 2 <return> jump(pop)
| POJ_91 |
void _init():
0x1004 0 rsp = rsp - 8
0x1008 1 rax = [0x3fe8].q
0x1012 2 if (rax == 0) then 3 @ 0x1016 else 5 @ 0x1014
0x1016 3 rsp = rsp + 8
0x101a 4 <return> jump(pop)
0x1014 5 call(rax)
0x1014 6 goto 3 @ 0x1016
int32_t printf(char const* format, ...):
0x1030 0 <return> tailcall([0x4018].q)
int64_t sub_1036():
0x1036 0 push(zx.q(0))
0x103b 1 goto 2 @ 0x1020
0x1020 2 push([0x4008].q)
0x1026 3 jump([0x4010].q)
int32_t getchar():
0x1040 0 <return> tailcall([0x4020].q)
uint64_t strlen(char const* arg1):
0x1050 0 <return> tailcall([0x4028].q)
char* strcpy(char* arg1, char const* arg2):
0x1060 0 <return> tailcall([0x4030].q)
int32_t scanf(char const* format, ...):
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 {"UHH"}
0x10af 10 call([0x3ff8].q)
0x10af 11 noreturn
void deregister_tm_clones():
0x10c0 0 rdi = 0x4050 {""}
0x10c7 1 rax = 0x4050 {""}
0x10d1 2 if (rax == rdi) then 3 @ 0x10e8 else 4 @ 0x10d3
0x10e8 3 <return> jump(pop)
0x10d3 4 rax = [0x3fd8].q
0x10dd 5 if (rax == 0) then 3 @ 0x10e8 else 6 @ 0x10df
0x10df 6 <return> tailcall(rax)
void register_tm_clones():
0x10f0 0 rdi = 0x4050 {""}
0x10f7 1 rsi = 0x4050 {""}
0x10fe 2 rsi = rsi - rdi
0x1101 3 rax = rsi
0x1104 4 rsi = rsi u>> 0x3f
0x1108 5 rax = rax s>> 3
0x110c 6 rsi = rsi + rax
0x110f 7 rsi = rsi s>> 1
0x1112 8 if (rsi == 0) then 9 @ 0x1128 else 10 @ 0x1114
0x1128 9 <return> jump(pop)
0x1114 10 rax = [0x3ff0].q
0x111e 11 if (rax == 0) then 9 @ 0x1128 else 12 @ 0x1120
0x1120 12 <return> tailcall(rax)
void __do_global_dtors_aux():
0x113b 0 if ([0x4050].b != 0) then 1 @ 0x1168 else 2 @ 0x113d
0x1168 1 <return> jump(pop)
0x113d 2 push(rbp)
0x113e 3 cond:0 = [0x3fe0].q == 0
0x1146 4 rbp = rsp {__saved_rbp}
0x1149 5 if (cond:0) then 6 @ 0x1157 else 10 @ 0x114b
0x1157 6 call(0x10c0)
0x115c 7 [0x4050].b = 1
0x1163 8 rbp = pop
0x1164 9 <return> jump(pop)
0x114b 10 rdi = [0x4048].q
0x1152 11 call(0x1080)
0x1152 12 goto 6 @ 0x1157
int64_t frame_dummy():
0x1174 0 <return> tailcall(0x10f0)
int32_t main(int32_t argc, char** argv, char** envp):
0x1180 0 push(rbp)
0x1181 1 rbp = rsp {__saved_rbp}
0x1184 2 rsp = rsp - 0x80
0x118b 3 rdi = 0x2004 {"%s"}
0x1192 4 rsi = rbp - 0x20 {var_28}
0x1196 5 al = 0
0x1198 6 call(0x1070)
0x119d 7 rdi = rbp - 0x40 {var_48}
0x11a1 8 rsi = rbp - 0x20 {var_28}
0x11a5 9 call(0x1060)
0x11aa 10 rdi = rbp - 0x60 {var_68}
0x11ae 11 rsi = rbp - 0x20 {var_28}
0x11b2 12 call(0x1060)
0x11b7 13 [rbp - 4 {var_c}].d = 1
0x11b7 14 goto 15 @ 0x11c2
0x11c2 15 if ([rbp - 4 {var_c}].d s> 0x64) then 16 @ 0x126f else 24 @ 0x11c8
0x126f 16 rsi = rbp - 0x40 {var_48}
0x1273 17 rdx = rbp - 0x60 {var_68}
0x1277 18 rdi = 0x2007 {"%s\n%s\n"}
0x127e 19 al = 0
0x1280 20 call(0x1030)
0x1285 21 rsp = rsp + 0x80
0x128c 22 rbp = pop
0x128d 23 <return> jump(pop)
0x11c8 24 al = 0
0x11ca 25 call(0x1040)
0x11cf 26 [rbp - 0x61 {var_69_1}].b = al
0x11d2 27 eax = sx.d([rbp - 0x61 {var_69_1}].b)
0x11d9 28 if (eax != 0xa) then 29 @ 0x11e4 else 41 @ 0x11df
0x11e4 29 rdi = 0x2004 {"%s"}
0x11eb 30 rsi = rbp - 0x20 {var_28}
0x11ef 31 al = 0
0x11f1 32 call(0x1070)
0x11f6 33 rdi = rbp - 0x20 {var_28}
0x11fa 34 call(0x1050)
0x11ff 35 [rbp - 0x70 {var_78_1}].q = rax
0x1203 36 rdi = rbp - 0x40 {var_48}
0x1207 37 call(0x1050)
0x120c 38 rcx = rax
0x120f 39 rax = [rbp - 0x70 {var_78_1}].q
0x1216 40 if (rax u<= rcx) then 42 @ 0x1229 else 50 @ 0x121c
0x11df 41 goto 16 @ 0x126f
0x1229 42 rdi = rbp - 0x20 {var_28}
0x122d 43 call(0x1050)
0x1232 44 [rbp - 0x78 {var_80_1}].q = rax
0x1236 45 rdi = rbp - 0x60 {var_68}
0x123a 46 call(0x1050)
0x123f 47 rcx = rax
0x1242 48 rax = [rbp - 0x78 {var_80_1}].q
0x1249 49 if (rax u>= rcx) then 54 @ 0x125c else 55 @ 0x124f
0x121c 50 rdi = rbp - 0x40 {var_48}
0x1220 51 rsi = rbp - 0x20 {var_28}
0x1224 52 call(0x1060)
0x1224 53 goto 42 @ 0x1229
0x125c 54 goto 59 @ 0x1261
0x124f 55 rdi = rbp - 0x60 {var_68}
0x1253 56 rsi = rbp - 0x20 {var_28}
0x1257 57 call(0x1060)
0x1257 58 goto 54 @ 0x125c
0x1261 59 eax = [rbp - 4 {var_c}].d
0x1264 60 eax = eax + 1
0x1267 61 [rbp - 4 {var_c}].d = eax
0x126a 62 goto 15 @ 0x11c2
int64_t _fini():
0x1294 0 rsp = rsp - 8
0x1298 1 rsp = rsp + 8
0x129c 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
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 strcmp(char const* arg1, char const* arg2):
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 = 0x11f0 {"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)
uint64_t down(char* arg1):
0x1160 0 push(rbp)
0x1161 1 rbp = rsp {__saved_rbp}
0x1164 2 [rbp - 8 {var_10}].q = rdi
0x1168 3 [rbp - 0xc {var_14}].d = 0
0x1168 4 goto 5 @ 0x116f
0x116f 5 rax = [rbp - 8 {var_10}].q
0x1173 6 rcx = sx.q([rbp - 0xc {var_14}].d)
0x1177 7 eax = sx.d([rax + rcx].b)
0x117e 8 if (eax == 0) then 9 @ 0x11e0 else 11 @ 0x1184
0x11e0 9 rbp = pop
0x11e1 10 <return> jump(pop)
0x1184 11 rax = [rbp - 8 {var_10}].q
0x1188 12 rcx = sx.q([rbp - 0xc {var_14}].d)
0x118c 13 eax = sx.d([rax + rcx].b)
0x1193 14 if (eax s< 0x41) then 15 @ 0x11cd else 16 @ 0x1199
0x11cd 15 goto 20 @ 0x11d2
0x1199 16 rax = [rbp - 8 {var_10}].q
0x119d 17 rcx = sx.q([rbp - 0xc {var_14}].d)
0x11a1 18 eax = sx.d([rax + rcx].b)
0x11a8 19 if (eax s> 0x5a) then 15 @ 0x11cd else 24 @ 0x11ae
0x11d2 20 eax = [rbp - 0xc {var_14}].d
0x11d5 21 eax = eax + 1
0x11d8 22 [rbp - 0xc {var_14}].d = eax
0x11db 23 goto 5 @ 0x116f
0x11ae 24 rax = [rbp - 8 {var_10}].q
0x11b2 25 rcx = sx.q([rbp - 0xc {var_14}].d)
0x11b6 26 eax = sx.d([rax + rcx].b)
0x11ba 27 eax = eax - 0x41
0x11bd 28 eax = eax + 0x61
0x11c0 29 dl = al
0x11c2 30 rax = [rbp - 8 {var_10}].q
0x11c6 31 rcx = sx.q([rbp - 0xc {var_14}].d)
0x11ca 32 [rax + rcx].b = dl
0x11ca 33 goto 15 @ 0x11cd
int32_t main(int32_t argc, char** argv, char** envp):
0x11f0 0 push(rbp)
0x11f1 1 rbp = rsp {__saved_rbp}
0x11f4 2 rsp = rsp - 0xf0
0x11fb 3 [rbp - 4 {var_c}].d = 0
0x1202 4 rdi = rbp - 0x70 {var_78}
0x1206 5 al = 0
0x1208 6 call(0x1030)
0x120d 7 rdi = rbp - 0xe0 {var_e8}
0x1214 8 al = 0
0x1216 9 call(0x1030)
0x121b 10 rdi = rbp - 0x70 {var_78}
0x121f 11 call(0x1160)
0x1224 12 rdi = rbp - 0xe0 {var_e8}
0x122b 13 call(0x1160)
0x1230 14 rdi = rbp - 0x70 {var_78}
0x1234 15 rsi = rbp - 0xe0 {var_e8}
0x123b 16 call(0x1040)
0x1240 17 [rbp - 0xe4 {var_ec}].d = eax
0x124d 18 if ([rbp - 0xe4 {var_ec}].d s<= 0) then 19 @ 0x126b else 20 @ 0x1253
0x126b 19 if ([rbp - 0xe4 {var_ec}].d s>= 0) then 24 @ 0x1282 else 28 @ 0x1271
0x1253 20 edi = 0x3e {""}
0x1258 21 al = 0
0x125a 22 call(0x1050)
0x125f 23 goto 32 @ 0x1293
0x1282 24 edi = 0x3d {""}
0x1287 25 al = 0
0x1289 26 call(0x1050)
0x1289 27 goto 36 @ 0x128e
0x1271 28 edi = 0x3c {""}
0x1276 29 al = 0
0x1278 30 call(0x1050)
0x127d 31 goto 36 @ 0x128e
0x1293 32 eax = [rbp - 4 {var_c}].d
0x1296 33 rsp = rsp + 0xf0
0x129d 34 rbp = pop
0x129e 35 <return> jump(pop)
0x128e 36 goto 32 @ 0x1293
int64_t _fini():
0x12a4 0 rsp = rsp - 8
0x12a8 1 rsp = rsp + 8
0x12ac 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 {"UAWAVATSHP"}
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 - 0x9c50
0x115f 6 rdi = 0x2004 {"%d"}
0x1166 7 r14d = 0
0x1169 8 rsi = rsp + 0xc {var_9c6c}
0x116e 9 eax = 0
0x1170 10 call(0x1040)
0x1175 11 edx = [rsp + 0xc {var_9c6c}].d
0x117b 12 if (edx s<= 0) then 13 @ 0x1293 else 25 @ 0x1181
0x1293 13 rdi = 0x2004 {"%d"}
0x129a 14 esi = r14d
0x129d 15 eax = 0
0x129f 16 call(0x1030)
0x12a4 17 eax = 0
0x12a6 18 rsp = rsp + 0x9c50
0x12ad 19 rbx = pop
0x12ae 20 r12 = pop
0x12b0 21 r14 = pop
0x12b2 22 r15 = pop
0x12b4 23 rbp = pop
0x12b5 24 <return> jump(pop)
0x1181 25 r15 = rsp + 0x1a4 {var_9ad4}
0x1189 26 r12d = 1
0x118f 27 r14 = 0x2004 {"%d"}
0x1196 28 goto 29 @ 0x11b9
0x11b9 29 if (edx s<= 0) then 30 @ 0x11a0 else 36 @ 0x11bb
0x11a0 30 rax = sx.q(edx)
0x11a3 31 rcx = r12 + 1
0x11a8 32 r15 = r15 + 0x190
0x11af 33 cond:0 = r12 s>= rax
0x11b2 34 r12 = rcx
0x11b5 35 if (cond:0) then 39 @ 0x11e3 else 29 @ 0x11b9
0x11bb 36 rbx = r15
0x11be 37 ebp = 0
0x11be 38 goto 40 @ 0x11c0
0x11e3 39 if (edx s<= 0) then 48 @ 0x1290 else 50 @ 0x11e9
0x11c0 40 rdi = r14
0x11c3 41 rsi = rbx
0x11c6 42 eax = 0
0x11c8 43 call(0x1040)
0x11cd 44 rdx = sx.q([rsp + 0xc {var_9c6c}].d)
0x11d2 45 rbp = rbp + 1
0x11d6 46 rbx = rbx + 4
0x11dd 47 if (rbp s< rdx) then 40 @ 0x11c0 else 59 @ 0x11df
0x1290 48 r14d = 0
0x1290 49 goto 13 @ 0x1293
0x11e9 50 r15d = edx
0x11ec 51 r9 = r15 + 1
0x11f0 52 edx = edx + 1
0x11f3 53 r10 = sx.q(edx)
0x11f6 54 r12 = rsp + 0x1a8 {var_9ad0}
0x11fe 55 r8d = 0
0x1201 56 r11d = 1
0x1207 57 r14d = 0
0x120a 58 goto 60 @ 0x1210
0x11df 59 goto 30 @ 0x11a0
0x1210 60 rcx = r11 * 0x190
0x1217 61 rdx = rsp + rcx
0x121b 62 rdx = rdx + 0x10
0x121f 63 [rsp + rcx + 0x10].d = 0xff {""}
0x1227 64 [rdx + (r10 << 2)].d = 0xff {""}
0x122f 65 ebp = [rsp + rcx + 0x14].d
0x1233 66 edx = 0
0x1235 67 ecx = 0
0x1237 68 ebx = 0
0x1239 69 goto 70 @ 0x1240
0x1240 70 edi = ebx
0x1242 71 ebx = ebp
0x1244 72 ebx = ebx - [r12 + (rdx << 2) - 8].d
0x1249 73 eax = [r12 + (rdx << 2)].d
0x124d 74 ebp = ebp - eax
0x124f 75 ebp = ebp * ebx
0x1252 76 ebx = edx
0x1254 77 ebx = ebx - edi
0x1256 78 ebx = ebx + 1
0x1259 79 esi = 0
0x125b 80 temp0.d = ebp
0x125b 81 cond:1 = temp0.d s> 0
0x125d 82 if (temp0.d s<= 0) then 83 else 85 @ 0x1260
0x125d 83 ebx = edi
0x125d 84 goto 85 @ 0x1260
0x1260 85 sil = cond:1
0x1264 86 ecx = ecx + esi
0x1266 87 rdx = rdx + 1
0x126a 88 ebp = eax
0x126f 89 if (r15 != rdx) then 70 @ 0x1240 else 90 @ 0x1271
0x1271 90 ebx = ebx - 1
0x1277 91 if (ecx != 2) then 92 else 94 @ 0x127b
0x1277 92 ebx = r8d
0x1277 93 goto 94 @ 0x127b
0x127b 94 r14d = r14d + ebx
0x127e 95 r11 = r11 + 1
0x1282 96 r12 = r12 + 0x190
0x128c 97 if (r11 != r9) then 60 @ 0x1210 else 98 @ 0x128e
0x128e 98 goto 13 @ 0x1293
int64_t _fini():
0x12bc 0 rsp = rsp - 8
0x12c0 1 rsp = rsp + 8
0x12c4 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 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 = 0x2010 {"%d"}
0x1166 5 rsi = rbp - 8 {var_10}
0x116a 6 al = 0
0x116c 7 call(0x1040)
0x1178 8 if ([rbp - 8 {var_10}].d s<= 0x270f) then 9 @ 0x1198 else 10 @ 0x117e
0x1198 9 if ([rbp - 8 {var_10}].d s<= 0x3e7) then 14 @ 0x121f else 15 @ 0x119e
0x117e 10 rdi = 0x2004 {"00001"}
0x1185 11 al = 0
0x1187 12 call(0x1030)
0x118c 13 goto 79 @ 0x12d2
0x121f 14 if ([rbp - 8 {var_10}].d s<= 0x63) then 83 @ 0x1279 else 84 @ 0x1225
0x119e 15 eax = [rbp - 8 {var_10}].d
0x11a1 16 ecx = 0x3e8 {""}
0x11a6 17 temp2.d:temp3.d = sx.q(eax)
0x11a6 18 edx = temp2.d
0x11a6 19 eax = temp3.d
0x11a7 20 temp4.d = edx
0x11a7 21 temp5.d = eax
0x11a7 22 temp0.d = divs.dp.d(temp4.d:temp5.d, ecx)
0x11a7 23 temp6.d = edx
0x11a7 24 temp7.d = eax
0x11a7 25 temp1.d = mods.dp.d(temp6.d:temp7.d, ecx)
0x11a7 26 eax = temp0.d
0x11a7 27 edx = temp1.d
0x11a9 28 [rbp - 0xc {var_14_1}].d = eax
0x11ac 29 eax = [rbp - 8 {var_10}].d
0x11af 30 ecx = [rbp - 0xc {var_14_1}].d * 0x3e8
0x11b6 31 eax = eax - ecx
0x11b8 32 ecx = 0x64 {""}
0x11bd 33 temp8.d:temp9.d = sx.q(eax)
0x11bd 34 edx = temp8.d
0x11bd 35 eax = temp9.d
0x11be 36 temp10.d = edx
0x11be 37 temp11.d = eax
0x11be 38 temp0.d = divs.dp.d(temp10.d:temp11.d, ecx)
0x11be 39 temp12.d = edx
0x11be 40 temp13.d = eax
0x11be 41 temp1.d = mods.dp.d(temp12.d:temp13.d, ecx)
0x11be 42 eax = temp0.d
0x11be 43 edx = temp1.d
0x11c0 44 [rbp - 0x10 {var_18_1}].d = eax
0x11c3 45 eax = [rbp - 8 {var_10}].d
0x11c6 46 ecx = [rbp - 0xc {var_14_1}].d * 0x3e8
0x11cd 47 eax = eax - ecx
0x11cf 48 ecx = [rbp - 0x10 {var_18_1}].d * 0x64
0x11d3 49 eax = eax - ecx
0x11d5 50 ecx = 0xa {""}
0x11da 51 temp14.d:temp15.d = sx.q(eax)
0x11da 52 edx = temp14.d
0x11da 53 eax = temp15.d
0x11db 54 temp16.d = edx
0x11db 55 temp17.d = eax
0x11db 56 temp0.d = divs.dp.d(temp16.d:temp17.d, ecx)
0x11db 57 temp18.d = edx
0x11db 58 temp19.d = eax
0x11db 59 temp1.d = mods.dp.d(temp18.d:temp19.d, ecx)
0x11db 60 eax = temp0.d
0x11db 61 edx = temp1.d
0x11dd 62 [rbp - 0x14 {var_1c_1}].d = eax
0x11e0 63 eax = [rbp - 8 {var_10}].d
0x11e3 64 ecx = [rbp - 0xc {var_14_1}].d * 0x3e8
0x11ea 65 eax = eax - ecx
0x11ec 66 ecx = [rbp - 0x10 {var_18_1}].d * 0x64
0x11f0 67 eax = eax - ecx
0x11f2 68 ecx = [rbp - 0x14 {var_1c_1}].d * 0xa
0x11f6 69 eax = eax - ecx
0x11f8 70 [rbp - 0x18 {var_20_1}].d = eax
0x11fb 71 esi = [rbp - 0x18 {var_20_1}].d
0x11fe 72 edx = [rbp - 0x14 {var_1c_1}].d
0x1201 73 ecx = [rbp - 0x10 {var_18_1}].d
0x1204 74 r8d = [rbp - 0xc {var_14_1}].d
0x1208 75 rdi = 0x200a {"%d%d%d%d"}
0x120f 76 al = 0
0x1211 77 call(0x1030)
0x1216 78 goto 127 @ 0x12cd
0x12d2 79 eax = 0
0x12d4 80 rsp = rsp + 0x20
0x12d8 81 rbp = pop
0x12d9 82 <return> jump(pop)
0x1279 83 if ([rbp - 8 {var_10}].d s<= 9) then 128 @ 0x12b2 else 133 @ 0x127f
0x1225 84 eax = [rbp - 8 {var_10}].d
0x1228 85 ecx = 0x64 {""}
0x122d 86 temp20.d:temp21.d = sx.q(eax)
0x122d 87 edx = temp20.d
0x122d 88 eax = temp21.d
0x122e 89 temp22.d = edx
0x122e 90 temp23.d = eax
0x122e 91 temp0.d = divs.dp.d(temp22.d:temp23.d, ecx)
0x122e 92 temp24.d = edx
0x122e 93 temp25.d = eax
0x122e 94 temp1.d = mods.dp.d(temp24.d:temp25.d, ecx)
0x122e 95 eax = temp0.d
0x122e 96 edx = temp1.d
0x1230 97 [rbp - 0xc {var_14_2}].d = eax
0x1233 98 eax = [rbp - 8 {var_10}].d
0x1236 99 ecx = [rbp - 0xc {var_14_2}].d * 0x64
0x123a 100 eax = eax - ecx
0x123c 101 ecx = 0xa {""}
0x1241 102 temp26.d:temp27.d = sx.q(eax)
0x1241 103 edx = temp26.d
0x1241 104 eax = temp27.d
0x1242 105 temp28.d = edx
0x1242 106 temp29.d = eax
0x1242 107 temp0.d = divs.dp.d(temp28.d:temp29.d, ecx)
0x1242 108 temp30.d = edx
0x1242 109 temp31.d = eax
0x1242 110 temp1.d = mods.dp.d(temp30.d:temp31.d, ecx)
0x1242 111 eax = temp0.d
0x1242 112 edx = temp1.d
0x1244 113 [rbp - 0x10 {var_18_2}].d = eax
0x1247 114 eax = [rbp - 8 {var_10}].d
0x124a 115 ecx = [rbp - 0xc {var_14_2}].d * 0x64
0x124e 116 eax = eax - ecx
0x1250 117 ecx = [rbp - 0x10 {var_18_2}].d * 0xa
0x1254 118 eax = eax - ecx
0x1256 119 [rbp - 0x14 {var_1c_2}].d = eax
0x1259 120 esi = [rbp - 0x14 {var_1c_2}].d
0x125c 121 edx = [rbp - 0x10 {var_18_2}].d
0x125f 122 ecx = [rbp - 0xc {var_14_2}].d
0x1262 123 rdi = 0x200c {"%d%d%d"}
0x1269 124 al = 0
0x126b 125 call(0x1030)
0x1270 126 goto 157 @ 0x12c8
0x12cd 127 goto 79 @ 0x12d2
0x12b2 128 esi = [rbp - 8 {var_10}].d
0x12b5 129 rdi = 0x2010 {"%d"}
0x12bc 130 al = 0
0x12be 131 call(0x1030)
0x12be 132 goto 158 @ 0x12c3
0x127f 133 eax = [rbp - 8 {var_10}].d
0x1282 134 ecx = 0xa {""}
0x1287 135 temp32.d:temp33.d = sx.q(eax)
0x1287 136 edx = temp32.d
0x1287 137 eax = temp33.d
0x1288 138 temp34.d = edx
0x1288 139 temp35.d = eax
0x1288 140 temp0.d = divs.dp.d(temp34.d:temp35.d, ecx)
0x1288 141 temp36.d = edx
0x1288 142 temp37.d = eax
0x1288 143 temp1.d = mods.dp.d(temp36.d:temp37.d, ecx)
0x1288 144 eax = temp0.d
0x1288 145 edx = temp1.d
0x128a 146 [rbp - 0xc {var_14_3}].d = eax
0x128d 147 eax = [rbp - 8 {var_10}].d
0x1290 148 ecx = [rbp - 0xc {var_14_3}].d * 0xa
0x1294 149 eax = eax - ecx
0x1296 150 [rbp - 0x10 {var_18_3}].d = eax
0x1299 151 esi = [rbp - 0x10 {var_18_3}].d
0x129c 152 edx = [rbp - 0xc {var_14_3}].d
0x129f 153 rdi = 0x200e {"%d%d"}
0x12a6 154 al = 0
0x12a8 155 call(0x1030)
0x12ad 156 goto 158 @ 0x12c3
0x12c8 157 goto 127 @ 0x12cd
0x12c3 158 goto 157 @ 0x12c8
int64_t _fini():
0x12e0 0 rsp = rsp - 8
0x12e4 1 rsp = rsp + 8
0x12e8 2 <return> jump(pop)
| POJ_16 |
Subsets and Splits