andrews4s / unpyc37

Decompiler for Python 3.7 (forked from https://github.com/figment/unpyc3)
GNU General Public License v3.0
57 stars 19 forks source link

Deparsing stopped due to parse error #17

Closed vb2066 closed 3 years ago

vb2066 commented 3 years ago

Trying to decompile a python file ( Python 3.8 ) and its not decompiling some methods. Instruction context:

L. 293 348 LOAD_GLOBAL client 350 LOAD_ATTR eth 352 LOAD_METHOD sendRawTransaction 354 LOAD_FAST 'signed_txn' 356 LOAD_ATTR rawTransaction 358 CALL_METHOD_1 1 '' 360 POP_BLOCK 362 ROT_TWO -> 364 POP_TOP 366 CALL_FINALLY 370 'to 370' 368 RETURN_VALUE 370_0 COME_FROM 366 '366' 370_1 COME_FROM_FINALLY 346 '346' Instruction context:

L. 406 156 JUMP_FORWARD 160 'to 160' -> 158 JUMP_BACK 22 'to 22' 160_0 COME_FROM 156 '156' Instruction context:

L. 530 756 LOAD_GLOBAL client 758 LOAD_ATTR eth 760 LOAD_METHOD sendRawTransaction 762 LOAD_FAST 'signed_txn' 764 LOAD_ATTR rawTransaction 766 CALL_METHOD_1 1 '' 768 POP_BLOCK 770 ROT_TWO -> 772 POP_TOP 774 CALL_FINALLY 778 'to 778' 776 RETURN_VALUE 778_0 COME_FROM 774 '774' 778_1 COME_FROM_FINALLY 754 '754' Instruction context:

L. 707 1182 LOAD_GLOBAL client 1184 LOAD_ATTR eth 1186 LOAD_METHOD sendRawTransaction 1188 LOAD_FAST 'signed_txn' 1190 LOAD_ATTR rawTransaction 1192 CALL_METHOD_1 1 '' 1194 POP_BLOCK 1196 ROT_TWO -> 1198 POP_TOP 1200 CALL_FINALLY 1204 'to 1204' 1202 RETURN_VALUE 1204_0 COME_FROM 1200 '1200' 1204_1 COME_FROM_FINALLY 1180 '1180' Instruction context:

L. 754 208 POP_EXCEPT -> 210 POP_TOP 212_214 JUMP_FORWARD 1254 'to 1254' 216 POP_EXCEPT 218 JUMP_FORWARD 222 'to 222' 220_0 COME_FROM 182 '182' 220 END_FINALLY 222_0 COME_FROM 218 '218' 222_1 COME_FROM 174 '174'