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 source code reconstruction, with the ability to decompile marshalled code objects when the target Python version is specified.
The project covers binary data structure recovery, marshalled object extraction, and multi-version Python reverse engineering through a command-line interface that outputs formatted results. It is distributed as a C++ executable that reads .pyc files or bytecode buffers and produces decompiled Python source code.