pycdc icon indicating copy to clipboard operation
pycdc copied to clipboard

unsupported opcode

Open jstar88 opened this issue 9 years ago • 8 comments

<255>

jstar88 avatar Jun 18 '15 16:06 jstar88

Got the same

# Source Generated with Decompyle++
# File: foo.pyc (Python 2.7)

Unsupported opcode: <255>
pass
# WARNING: Decompyle incomplete

vBm avatar Jun 29 '15 14:06 vBm

Got the other:

Unsupported opcode: STORE_LOCALS

zjjott avatar Sep 05 '15 06:09 zjjott

:+1:

amelkikh avatar Jan 31 '16 18:01 amelkikh

I have the same issue..Unsupported opcode: STORE_LOCALS

saurabh-gohil avatar Jun 10 '16 08:06 saurabh-gohil

# Source Generated with Decompyle++
# File: srcipt.pyc (Python 2.7)

Unsupported opcode: <255>
pass
# WARNING: Decompyle incomplete

I attached the file inside zip here.. script.zip

ghost avatar Oct 23 '16 18:10 ghost

@alkoforumm the zip file you attached is not usual Python 2.7 bytecode. The bytecode has been deliberately obfuscated using something called PJOrion.

https://github.com/extremecoders-re/PjOrion-Deobfuscator may be able to help you descramble the assembly. After descrambling to a valid python bytecode, I suspect pycdc will work.

@saurabh-gohil no you don't have the same issue as @alkoforumm although the error message starts off the same. An important difference is that <255> is a number, an invalid bytecode number, while STORE_LOCALS is a valid opcode used only in Python versions 3.0 to 3.3.

As best as I can tell, pycdc recognizes this opcode but it can't process this yet. uncompyle6 might work here, but no guarantees. (It has problems too.)

rocky avatar Nov 13 '16 13:11 rocky

' # source Generated with Decompyle++`

# File: main.pyc (Python 3.10) Unsupported opcode: JUMP_IF_NOT_EXC_MATCH # Warning: Decompile incomplete

abros1 avatar Mar 27 '22 21:03 abros1

Any help will be appreciated

abros1 avatar Mar 27 '22 21:03 abros1