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 NOP opcode (w/ fix?) #96

Closed
ZetaTwo opened this issue Oct 18, 2016 · 0 comments
Closed

Support NOP opcode (w/ fix?) #96

ZetaTwo opened this issue Oct 18, 2016 · 0 comments

Comments

@ZetaTwo
Copy link

ZetaTwo commented Oct 18, 2016

When I tried to decompile a pyc with NOPs in it, I got the message "Unsupported opcode: NOP"

I tried to add the following to ASTree.cpp at line 779.

case Pyc::NOP:
            break;

Which seems to solve the problem since a NOP don't need any further processing, right?
I don't know the codebase enough to know if I need to do other changes elsewhere which is why I'm posting this as an issue instead of a PR.

@zrax zrax closed this as completed in ed2c21c Oct 24, 2016
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

1 participant