# xxdecompiler **Repository Path**: shellpub/xxdecompiler ## Basic Information - **Project Name**: xxdecompiler - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-12-05 - **Last Updated**: 2026-12-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # xxdecompiler Python 3.14 allocation recovery contracts: [K68](docs/PYTHON_K68.md). A C11 library and `xxdecompile` CLI for converting supported bytecode to source and native instructions to pseudo-C. It produces functions and methods without executing the input. CPython 3.14 recovery includes module deferred-annotation markers, retained integer-fold operands, folded display member order, local-read line boundaries, and distinct context-manager loop latches with an implicit edge or an explicit `continue`. A single top-tested manager loop retains its condition entry. These paths use the shared damaged-input and whole-code admission proofs. Conditional class annotations and more complex layouts remain explicit fallbacks. See the [build instructions](docs/BUILD.md) and [public API](include/xxdecompiler/), or run `xxdecompile --families`. License: [MIT](LICENSE). The independent [Python verification tools](tests/python/README.md) provide compile-only recursive comparison, mutation tests, committed fixtures, corpus manifests and parallel standard-library/upstream sweeps. Configure `XXDECOMPILER_PYTHON_INTERPRETERS` with a semicolon-separated list of CPython 3.10-3.13 executables to enable the interpreter-specific CTest gates. The committed-fixture hash gate also runs without an interpreter. Python [module units](docs/PYTHON_UNITS.md) add copied memory input, versioned SOURCE/RAW/DIS results, CPython 3.10-3.13 [structured source](docs/PYTHON_SOURCE.md), bounded [exception and comprehension recovery](docs/PYTHON_EXCEPTIONS.md), explicit fallback modules and per-code-object outcomes. The legacy method API remains compatible. Integration admission and CR7 regression contracts are documented in [PYTHON_I5.md](docs/PYTHON_I5.md). I6 integration and class static-attribute admission are documented in [PYTHON_I6.md](docs/PYTHON_I6.md). `xxdecompiler_decompile_python_code` selects one Python code object as source or a marked fallback. Detached children can retain structured bodies inside an opaque parent, with unknown creation-site facts stated in comments. Python container and presentation APIs are declared in [`xxdecompiler_python.h`](include/xxdecompiler/xxdecompiler_python.h). They add copied bare marshal input, archive members as module units, versioned literal/line presentation and bounded directory inventory. The [Python guide](docs/python.md) covers architecture, release support, outcomes, limits, container reader gaps and compile-only verification. The [feature-by-release table](docs/python.md) describes the additional 3.6-3.9 and 3.14 adapters, their explicit protocol boundaries and their **not checked** verification status. CPython 2.7 input and straight-line SOURCE support are documented in [PYTHON27_PHASE12.md](docs/PYTHON27_PHASE12.md). Unsupported bodies remain explicit fallbacks. CPython 2.7 branches, short-circuits, loops and inline list comprehensions are documented in [PYTHON27_PHASE3.md](docs/PYTHON27_PHASE3.md). Python 2.7 exception, finally and manager protocols: [phase 4](docs/PYTHON27_PHASE4.md). CPython 2.7 functions, classes, closures, tuple parameters, generators and scoped comprehensions are documented in [PYTHON27_PHASE5.md](docs/PYTHON27_PHASE5.md). CPython 3.6 to 3.9 compiler history outside protected code (inaccessible jumps, 3.6 scalar constant folding, threaded tests, constant-test loops) is documented in [PYTHON_LEGACY_HISTORY.md](docs/PYTHON_LEGACY_HISTORY.md). CPython 3.10-3.13 implicit exit copies, chain/while/raise-tail shapes and nested-loop returns (job K42) are documented in [PYTHON_K42.md](docs/PYTHON_K42.md). CPython 3.10-3.13 copied-tail table-order retries, negated decision operands, assertion chains, future-annotation text and loop/arm proofs (job K48) are documented in [PYTHON_K48.md](docs/PYTHON_K48.md). CPython 3.10-3.13 compound-while joins, loop-exit conditional values, negated last decision terms, terminal chained comparisons, copied expression tails and the 3.10-3.14 with/handler/try-else table-order models (job K53) are documented in [PYTHON_K53.md](docs/PYTHON_K53.md). Protected-suite exits behind the exception-table range, with suites ending in a try or always returning, and finally suites around nested tries (job K52) are documented in [PYTHON_K52.md](docs/PYTHON_K52.md). Compile-only negative coverage and additional guards for K53 admission paths are documented in [PYTHON_R4.md](docs/PYTHON_R4.md). CPython 3.14 round-four recovery adds proven ordinary top-tested loops and detached compiler binding contexts, with uncredited placeholders that preserve code-child positions in opaque scopes. See [the proof boundaries](docs/PYTHON_K46.md). Python 2.7 remainder targets and proof contracts: [PYTHON27_REMAINDER.md](docs/PYTHON27_REMAINDER.md). CPython 3.14 round-five annotation signatures, ordinary decision and loop proofs, borrowed-load line plans and detached call contexts are documented in [PYTHON_K54.md](docs/PYTHON_K54.md). The R1 through R5 proof checks composed with I7 are documented in [PYTHON_I7R.md](docs/PYTHON_I7R.md). `docs/PYTHON_K59.md` documents the bounded ordinary-loop and 3.14 table-allocation adapters. Python 3.14 round-six ordinary value and loop proofs: [PYTHON_K60.md](docs/PYTHON_K60.md). K56-K62 and I7r proof composition: [PYTHON_I8.md](docs/PYTHON_I8.md).