--- tags: decompiler --- # Decompiler concrete cases ## Mapping rules to cases ### pycdc ref: https://github.com/zrax/pycdc/issues/259 input: ![](https://i.imgur.com/OOeYjDF.png) output: ![](https://i.imgur.com/8FwfyuF.png) Fixed by: R7 # Decompiler quotes What rocky thinks of pycdc and unpyc3: > But my understanding of unpyc and pycdc is that they are instruction centric and based on an opcode you go prowling around looking for what it refers to to see what the opcode can be a part of. It has the feel of the kinds of things a symbolic executor might do. how does uncompyle6 work: https://github.com/rocky/python-uncompyle6/wiki/How-does-this-code-work%3F ## uncompyle6 Limited resources: ref: https://github.com/rocky/python-uncompyle6/issues/403#issuecomment-1159940711 ![](https://i.imgur.com/GEuUgXl.png) ref: ![](https://i.imgur.com/ILhdWnh.png) Complexity of code: ref: https://github.com/rocky/python-uncompyle6/pull/84#issuecomment-284189016 ![](https://i.imgur.com/lSiRHMz.jpg) Redesign: ref: https://github.com/rocky/python-uncompyle6/issues/221#issuecomment-475413597 ![](https://i.imgur.com/wGM1b53.png) ## pycdc Design issue: ref: https://github.com/zrax/pycdc/issues/193#issuecomment-879662987 ![](https://i.imgur.com/coxlW1f.png) User feedback: ref: https://github.com/zrax/pycdc/issues/240#issue-1154160482 ![](https://i.imgur.com/PJKP8YU.png) ## uncompyle2 Complex conditionals: ref: https://github.com/wibiti/uncompyle2/issues/8#issuecomment-3892496 ![](https://i.imgur.com/VkGpy3m.png) ## unpyc3 Discontinued: https://github.com/figment/unpyc3/#addendum ![](https://i.imgur.com/LTRZl6M.png) ## forks of unpyc3 issues: ref: https://github.com/andrew-tavera/unpyc37/issues/9#issuecomment-523250760 ![](https://i.imgur.com/z11PwrZ.png) ## decompyle3 redesign: ref:https://github.com/rocky/python-decompile3/pull/33#issue-589184618 ![](https://i.imgur.com/yLig4gn.png) adhoc fixes: ref:https://github.com/rocky/python-decompile3/issues/67#issuecomment-953214462 ![](https://i.imgur.com/6ozHEAc.png)