Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Python 3.9 decompilation #450

Open
5 of 13 tasks
zrax opened this issue Feb 21, 2024 · 7 comments
Open
5 of 13 tasks

Support Python 3.9 decompilation #450

zrax opened this issue Feb 21, 2024 · 7 comments

Comments

@zrax
Copy link
Owner

zrax commented Feb 21, 2024

Tasks

  • Bytecode support (pycdas)
  • Handle new opcodes in AST builder
    • RERAISE
    • WITH_EXCEPT_START
    • LOAD_ASSERTION_ERROR
    • LIST_TO_TUPLE
    • IS_OP
    • CONTAINS_OP
    • JUMP_IF_NOT_EXC_MATCH
    • LIST_EXTEND
    • SET_UPDATE
    • DICT_MERGE
    • DICT_UPDATE
This was referenced Feb 21, 2024
@AndrewLiuZhangZong
Copy link

When to support it

@Bang1338
Copy link

Bang1338 commented Apr 2, 2024

When to support it

will support if you don't asking again

@AngeloD2022
Copy link

Thank you for maintaining this awesome project. ❤️

1 similar comment
@johnniesong
Copy link

Thank you for maintaining this awesome project. ❤️

@leqnam
Copy link

leqnam commented Apr 12, 2024

still waiting for JUMP_IF_NOT_EXC_MATCH

@Bang1338
Copy link

still waiting for JUMP_IF_NOT_EXC_MATCH

give them sometime.

@Ma5onic
Copy link

Ma5onic commented May 17, 2024

@zrax, I think that I found some hints on how to handle some of the missing optcodes for python 3.9:
https://github.com/greyblue9/unpyc37-3.10/blob/master/src/unpyc/unpyc3.py
https://github.com/greyblue9/unpyc37-3.10/blob/master/src/unpyc/opcodes.py

I was getting JUMP_IF_NOT_EXC_MATCH, WITH_EXCEPT_START & RERAISE errors on 3.10 with pycdc but the script that I linked supports those optcodes. It's written in python but it might help figure out how to implement it in C++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants