barakaharoni / pycdcode Goto Github PK
View Code? Open in Web Editor NEWPython PYC file analysis using bytecode decompilation.
Python PYC file analysis using bytecode decompilation.
Can't work on Python 3.12 .pyc files, it produces following error:
python pycDcode.py --pyc xor.cpython-312.pyc --bytecode --version 3.12 > out1.txt
Traceback (most recent call last):
File "C:\Dev\Debug\pycDcode.py", line 245, in <module>
manuallyDecompile(args.pyc, args.version)
File "C:\Dev\Debug\pycDcode.py", line 95, in manuallyDecompile
codeObj = marshal.load(f) # Suite to code object
^^^^^^^^^^^^^^^
ValueError: bad marshal data (unknown type code)
while trying to run the tool using Python 3.12
the script produces multiple warnings, eg:
C:\Dev\Debug\pycDcode.py:22: SyntaxWarning: invalid escape sequence '\ '
BANNER = """
C:\Dev\Debug\pycDcode.py:42: SyntaxWarning: invalid escape sequence '\s'
INSTRUCTION_REGEX = "\s\d+\s([A-Z_]+)"
...
```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.