pycdc icon indicating copy to clipboard operation
pycdc copied to clipboard

Unsupported opcode: RERAISE "# Decompile 'WITH_EXCEPT_START' is not implemented yet.

Open opticpp opened this issue 2 years ago • 11 comments

image does anybody know how to fix that?

opticpp avatar Feb 07 '23 00:02 opticpp

image does anybody know how to fix that?

Hello, could you send a sample ? I seen in 3.9 and 3.10 it's the same and change a bit in 3.11 so if you could send a not compiled script it would be helpful.

TheHellTower avatar Mar 01 '23 07:03 TheHellTower

import dis

def foo():
    try:
        with open('file.txt') as f:
            print(f.read())
    except Exception as e:
        print(f"Error: {e}")

dis.dis(foo)
``` For python 3.11, the result is:

... >> 128 PUSH_EXC_INFO 130 WITH_EXCEPT_START 132 POP_JUMP_FORWARD_IF_TRUE 4 (to 142) ...

Remi-Avec-Un-I avatar Mar 23 '23 09:03 Remi-Avec-Un-I

Sir i need your help can you give me your WhatsApp number please? 🥺

On Thu, 23 Mar 2023, 2:36 pm Remi-Avec-Un-I, @.***> wrote:

import dis

def foo(): try: with open('file.txt') as f: print(f.read()) except Exception as e: print(f"Error: {e}")

dis.dis(foo)


...
>> 128 PUSH_EXC_INFO
130 WITH_EXCEPT_START
132 POP_JUMP_FORWARD_IF_TRUE 4 (to 142)
...

—
Reply to this email directly, view it on GitHub
<https://github.com/zrax/pycdc/issues/317#issuecomment-1480869971>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYI4WD54QBZPD2PU6OYYW33W5QKQBANCNFSM6AAAAAAUTKBULU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>

Faddi1 avatar Mar 23 '23 09:03 Faddi1

I want to learn how decode this script 😞 Please help me Sir😞🥺

On Thu, 23 Mar 2023, 2:43 pm FADII KHAN, @.***> wrote:

Sir i need your help can you give me your WhatsApp number please? 🥺

On Thu, 23 Mar 2023, 2:36 pm Remi-Avec-Un-I, @.***> wrote:

import dis

def foo(): try: with open('file.txt') as f: print(f.read()) except Exception as e: print(f"Error: {e}")

dis.dis(foo)


...
>> 128 PUSH_EXC_INFO
130 WITH_EXCEPT_START
132 POP_JUMP_FORWARD_IF_TRUE 4 (to 142)
...

—
Reply to this email directly, view it on GitHub
<https://github.com/zrax/pycdc/issues/317#issuecomment-1480869971>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYI4WD54QBZPD2PU6OYYW33W5QKQBANCNFSM6AAAAAAUTKBULU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>

Faddi1 avatar Mar 23 '23 09:03 Faddi1

import dis

def foo():
    try:
        with open('file.txt') as f:
            print(f.read())
    except Exception as e:
        print(f"Error: {e}")

dis.dis(foo)
``` For python 3.11, the result is:

... >> 128 PUSH_EXC_INFO 130 WITH_EXCEPT_START 132 POP_JUMP_FORWARD_IF_TRUE 4 (to 142) ...

I verified from 3.8 to 3.11 and:

So when I will have time I will first work for 3.11 then 3.10-3.8.

TheHellTower avatar Mar 23 '23 12:03 TheHellTower

Can i have your WhatsApp number?

On Thu, 23 Mar 2023, 5:04 pm TheHellTower, @.***> wrote:

import dis

def foo(): try: with open('file.txt') as f: print(f.read()) except Exception as e: print(f"Error: {e}")

dis.dis(foo)


... >> 128 PUSH_EXC_INFO 130 WITH_EXCEPT_START 132
POP_JUMP_FORWARD_IF_TRUE 4 (to 142) ...

I verified from 3.8 to 3.11 and:

   - 3.8 <https://docs.python.org/3.8/library/dis.html> need first:
   BEGIN_FINALLY
   <https://docs.python.org/3.8/library/dis.html#opcode-BEGIN_FINALLY>
   implementation
   - 3.9 <https://docs.python.org/3.9/library/dis.html> need: your
   targeted opcode(WITH_EXCEPT_START)
   <https://docs.python.org/3.9/library/dis.html#opcode-WITH_EXCEPT_START>
   - 3.10 <https://docs.python.org/3.10/library/dis.html> need: your
   targeted opcode(WITH_EXCEPT_START)
   <https://docs.python.org/3.10/library/dis.html#opcode-WITH_EXCEPT_START>
   - 3.11 <https://docs.python.org/3.11/library/dis.html> need first:
   BEFORE_WITH
   <https://docs.python.org/3.11/library/dis.html#opcode-BEFORE_WITH>

So when I will have time I will first work for 3.11 then 3.10-3.8.

—
Reply to this email directly, view it on GitHub
<https://github.com/zrax/pycdc/issues/317#issuecomment-1481072798>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYI4WDYZ7PRBXBQ6TZ3TLALW5Q33PANCNFSM6AAAAAAUTKBULU>
.
You are receiving this because you commented.Message ID:
***@***.***>

Faddi1 avatar Mar 23 '23 12:03 Faddi1

Can i have your WhatsApp number? … On Thu, 23 Mar 2023, 5:04 pm TheHellTower, @.> wrote: import dis def foo(): try: with open('file.txt') as f: print(f.read()) except Exception as e: print(f"Error: {e}") dis.dis(foo) ``` For python 3.11, the result is: ... >> 128 PUSH_EXC_INFO 130 WITH_EXCEPT_START 132 POP_JUMP_FORWARD_IF_TRUE 4 (to 142) ... I verified from 3.8 to 3.11 and: - 3.8 https://docs.python.org/3.8/library/dis.html need first: BEGIN_FINALLY https://docs.python.org/3.8/library/dis.html#opcode-BEGIN_FINALLY implementation - 3.9 https://docs.python.org/3.9/library/dis.html need: your targeted opcode(WITH_EXCEPT_START) https://docs.python.org/3.9/library/dis.html#opcode-WITH_EXCEPT_START - 3.10 https://docs.python.org/3.10/library/dis.html need: your targeted opcode(WITH_EXCEPT_START) https://docs.python.org/3.10/library/dis.html#opcode-WITH_EXCEPT_START - 3.11 https://docs.python.org/3.11/library/dis.html need first: BEFORE_WITH https://docs.python.org/3.11/library/dis.html#opcode-BEFORE_WITH So when I will have time I will first work for 3.11 then 3.10-3.8. — Reply to this email directly, view it on GitHub <#317 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYI4WDYZ7PRBXBQ6TZ3TLALW5Q33PANCNFSM6AAAAAAUTKBULU . You are receiving this because you commented.Message ID: @.>

I don't use WhatsApp but I use Telegram, I'm not giving my phone number to just anyone on Internet and you should do the same..

TheHellTower avatar Mar 23 '23 12:03 TheHellTower

1679564666500 Does anyone know how to decode this?

Faddi1 avatar Mar 23 '23 13:03 Faddi1

1679564666500 Does anyone know how to decode this?

Everyone can it's not something incredible or really secure but issues are not a place to ask this kind of things please try to respect the place you are at and follow the subject.

TheHellTower avatar Mar 23 '23 13:03 TheHellTower

import dis

def foo():
    try:
        with open('file.txt') as f:
            print(f.read())
    except Exception as e:
        print(f"Error: {e}")

dis.dis(foo)
``` For python 3.11, the result is:

... >> 128 PUSH_EXC_INFO 130 WITH_EXCEPT_START 132 POP_JUMP_FORWARD_IF_TRUE 4 (to 142) ...

I verified from 3.8 to 3.11 and:

So when I will have time I will first work for 3.11 then 3.10-3.8.

Do you have fork repository for this? May i follow your progress?

tjengbudi avatar Apr 05 '23 07:04 tjengbudi

Hey guys,

giving a small "update" on the situation.

I didn't continue on pycdc because I moved in April to another country(I'm from France originally) and I don't really have much time for this project right now, I contributed to pycdc and I might do it again when I get a place and things like this but since I don't fully understand pycdc code I can't just throw my time on it.

In a few months I should have settled all that and should be able to continue contributing to it, sorry for the inconvenience !

Best Regards, TheHellTower.

TheHellTower avatar Sep 30 '23 21:09 TheHellTower

Duplicate #450

zrax avatar Feb 21 '24 22:02 zrax