4 repository-uri
Analysis of compiled Python files to understand behavior and internal data structures without source access.
Distinct from Python Compilers: None of the candidates cover the general domain of reverse engineering Python compiled code.
Explore 4 awesome GitHub repositories matching programming languages & runtimes · Python Reverse Engineering. Refine with filters or upvote what's useful.
CPython-Internals este un ghid tehnic de implementare și referință pentru interpretorul CPython. Oferă o analiză detaliată a codului sursă C intern și a arhitecturii, concentrându-se pe logica care guvernează comportamentul interpretorului. Proiectul documentează modelul de obiecte Python și pipeline-ul de compilare, urmărind procesul de la gramatica brută și arborii de sintaxă abstractă până la bytecode-ul executabil. De asemenea, servește ca referință pentru dezvoltarea extensiilor C, explicând cum să interfațați cu structurile de date interne și să utilizați API-ul C. Materialul acoperă gestionarea memoriei, inclusiv numărarea referințelor și garbage collection-ul generațional, precum și funcția global interpreter lock (GIL).
Analyzes the compilation pipeline and bytecode instructions across the CPython architecture.
python-uncompyle6 is a Python bytecode decompiler and reverse engineering tool designed to convert compiled bytecode files back into human-readable source code. It functions as a source code recoverer and bytecode disassembler, allowing for the analysis of internal program logic and the reconstruction of original language constructs. The tool provides cross-version support, enabling the analysis and recovery of source code from bytecode created across multiple different versions of the Python interpreter. This allows it to operate as a cross-version bytecode analyzer that can interpret varied
Analyzes compiled Python files to understand internal behavior and structure without original source access.
pycdc is a reverse engineering toolset that decompiles and disassembles compiled Python bytecode files back into readable source code. It parses .pyc file headers, reconstructs abstract syntax trees from bytecode instructions, and handles version-specific opcodes across Python versions 1.0 through 3.13 with endian-aware binary parsing. The tool recovers numeric constants, string literals, and marshalled Python objects from compiled bytecode, supporting both file-based and in-memory bytecode loading. It provides a human-readable disassembly listing of bytecode instructions alongside full sourc
Analyzes, parses, and decompiles compiled Python code objects from binary files for security and forensics.
pyinstxtractor is a PyInstaller executable unpacker and Python bytecode recovery tool. It functions as a helper for decompiling compiled Python binaries by extracting bundled binaries and bytecode from executables created with PyInstaller. The project includes a bytecode decryptor to remove encryption from extracted files and a header repair tool that restores corrupted headers. These capabilities ensure that extracted compiled files are compatible with bytecode decompilation software. The utility covers reverse engineering of Python applications, supporting malware analysis workflows throug
Analyzes compiled Python files to understand behavior and internal structures without original source access.