pycdc
pycdc copied to clipboard
Unsupported opcode: RERAISE "# Decompile 'WITH_EXCEPT_START' is not implemented yet.
does anybody know how to fix that?
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.
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) ...
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: ***@***.***>
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: ***@***.***>
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
need first:BEGIN_FINALLY
implementation -
3.9
need:your targeted opcode(WITH_EXCEPT_START)
-
3.10
need:your targeted opcode(WITH_EXCEPT_START)
-
3.11
need first:BEFORE_WITH
So when I will have time I will first work for 3.11 then 3.10-3.8.
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: ***@***.***>
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..
Does anyone know how to decode this?
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.
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
need first:BEGIN_FINALLY
implementation3.9
need:your targeted opcode(WITH_EXCEPT_START)
3.10
need:your targeted opcode(WITH_EXCEPT_START)
3.11
need first:BEFORE_WITH
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?
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.
Duplicate #450