zrax / pycdc

C++ python bytecode disassembler and decompiler
GNU General Public License v3.0
3.33k stars 641 forks source link

Unsupported opcode: WITH_EXCEPT_START #207

Closed Marshallsus closed 8 months ago

Marshallsus commented 3 years ago

Unsupported opcode: WITH_EXCEPT_START from re import split from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.chrome.options import Options from selenium.webdriver.support.ui import Select from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.chrome.service import Service from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC import time import os import sys import string import random from random import choice import requests from requests.api import get import json import names import datetime import colorama from colorama import Fore, Style, init import threading from queue import Queue import itertools from anticaptcha.funcaptchaproxyless import from anticaptcha.funcaptchaproxyon import from AuthGG import * from fake_useragent import UserAgent import zipfile colorama.init(True, **('autoreset',)) path = os.path.join(os.getcwd(), 'settings.txt') with open(path) as f: sdata = json.load(f) None(None, None, None)

WARNING: Decompyle incomplete

Marshallsus commented 3 years ago

If anyone of the contributors of the project are working on these issues currently tysm!

PMK89 commented 3 years ago

I got the same issue:

`Unsupported opcode: WITH_EXCEPT_START print('Loading...') from web3 import Web3 import datetime import threading import json ... numTokensSold = 0 walletBalance = 0 foundTokenThreadBusy = False configFilePath = os.path.abspath('') + '\config.json' with open(configFilePath, 'r') as configdata: data = configdata.read() None(None, None, None)

WARNING: Decompyle incomplete`

furritos commented 3 years ago

Some things to note, this opcode was fixed in #195. I think for the sake of posterity, I'm attaching the debugged PYC file that @PMK89 is referring to ==> BSCTokenSniper_debug.txt

furritos commented 3 years ago

Duplicate of #195

Marshallsus commented 2 years ago

Some things to note, this opcode was fixed in #195. I think for the sake of posterity, I'm attaching the debugged PYC file that @PMK89 is referring to ==> BSCTokenSniper_debug.txt

i see that they fixed 2/4 of the opcodes are you sure they fixed all of them?

furritos commented 2 years ago

Maybe "fixed" was the wrong term but it's "loosely" addressed in the master branch. Though, I don't know if it's enough as I'm not as well-versed in decompiling as I'd like to be.

MyNameJeff12123 commented 2 years ago

Any eta on fixing this?

MyNameJeff12123 commented 2 years ago

Unsupported opcode: WITH_EXCEPT_START from re import split from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.chrome.options import Options from selenium.webdriver.support.ui import Select from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.chrome.service import Service from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC import time import os import sys import string import random from random import choice import requests from requests.api import get import json import names import datetime import colorama from colorama import Fore, Style, init import threading from queue import Queue import itertools from anticaptcha.funcaptchaproxyless import from anticaptcha.funcaptchaproxyon import from AuthGG import * from fake_useragent import UserAgent import zipfile colorama.init(True, **('autoreset',)) path = os.path.join(os.getcwd(), 'settings.txt') with open(path) as f: sdata = json.load(f) None(None, None, None)

WARNING: Decompyle incomplete

Did you get it fixed?

ewwink commented 2 years ago

issue #195 is for IS_OP and CONTAINS_OP, but maybe you read someone asking to fix, not fixing the following op code

Unsupported opcode: JUMP_IF_NOT_EXC_MATCH Unsupported opcode: WITH_EXCEPT_START Unsupported opcode: RERAISE

bohong65 commented 1 year ago

Same error, It seems that opcode "WITH_EXCEPT_START" has not been fixed yet

iBoost21 commented 1 year ago

The error still occurs in the latest master branch version: Unsupported opcode: WITH_EXCEPT_START

Python 3.10.8

zrax commented 8 months ago

Duplicate #450