-
Notifications
You must be signed in to change notification settings - Fork 666
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
Unsupported opcode: JUMP_BACKWARD error #421
Comments
thank you very much! how to using new opcode? |
Can you make a pull request to support new opcode? |
yeah, but 1st need to solve existing pending PR - #411 |
i wonder where i can put that bytecode ( |
I've got 2 ideas:
|
change in |
well, AFAIK pycdc already knows all the opcodes up to version 3.12 inclusive |
Yes, i'm using the last master branch. |
Here, /...
ifblk->init(popped);
blocks.push(ifblk.cast<ASTBlock>());
curblock = blocks.top();
}
break;
case Pyc::JUMP_BACKWARD:
case Pyc::JUMP_ABSOLUTE_A:
{
int offs = operand;
if (mod->verCompare(3, 10) >= 0)
offs *= sizeof(uint16_t); // // BPO-27129
if (offs < pos) {
/... When i compiling:
Now I add
Recompile
I tried with this pyc file >pycdc.exe main.pyc
# Source Generated with Decompyle++
# File: main.pyc (Python 3.11)
Unsupported opcode: JUMP_BACKWARD
from keyauth import api
import sys
import time
import platform
import os
import hashlib
from time import sleep
from datetime import datetime
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.common.exceptions import NoSuchElementException, ElementNotInteractableException
from time import sleep
from colorama import Fore, Style, init
import ctypes
def clear():
Error decompyling main.pyc: invalid vector subscript Am I missing something? |
'JUMP_BACKWARD': is not a member of 'Pyc' |
okay thank my bad, i'll try again |
UPDATE:
>pycdc.exe main.pyc
# Source Generated with Decompyle++
# File: main.pyc (Python 3.11)
Warning: block stack is not empty!
from keyauth import api
import sys
import time
import platform
import os
import hashlib
from time import sleep
from datetime import datetime
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.common.exceptions import NoSuchElementException, ElementNotInteractableException
from time import sleep
from colorama import Fore, Style, init
import ctypes
def clear():
Error decompyling main.pyc: invalid vector subscript
>pycdc.exe main.pyc
# Source Generated with Decompyle++
# File: main.pyc (Python 3.11)
from keyauth import api
import sys
import time
import platform
import os
import hashlib
from time import sleep
from datetime import datetime
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.common.exceptions import NoSuchElementException, ElementNotInteractableException
from time import sleep
from colorama import Fore, Style, init
import ctypes
def clear():
Error decompyling main.pyc: invalid vector subscript Opcode solved, but vector thing... |
try to figure out where does that come from |
Duplicate #452 |
this is my samples.
sample.zip
C:\tools\pycdc-master\pycdc-master\Debug>pycdc.exe sample.pyc >> sample.py Unsupported opcode: JUMP_BACKWARD Error decompyling sample.pyc: invalid vector subscript
how did i solve this problem?
The text was updated successfully, but these errors were encountered: