Skip to main content

unidecompiler-symbolic

Bounded symbolic execution for recovered unidecompiler generic IR. The package depends on unidecompiler-simulator for the public Generic IR/runtime boundary, but owns symbolic states, path exploration, constraints, models, limits, and diagnostics. It never executes frontend bytecode or simulator private frames.

from unidecompiler_symbolic import SymbolicEngine, SymbolicInput

result = SymbolicEngine().explore_function(
    module,
    function,
    symbolic_inputs=(SymbolicInput("x"),),
)
for path in result.paths:
    print(path.status, path.model, path.returns, path.constraints)

For a decoded artifact, construct the engine from the host registry and pass a frontend-owned opaque target query. Target selection is performed by the frontend's data-only simulation adapter; the symbolic package receives only the resulting ModuleIR and FunctionIR:

result = SymbolicEngine.from_registry(registry).explore_artifact(
    data,
    "sample.pyc",
    query="choose",
    symbolic_inputs=(SymbolicInput("value"),),
)

Execution is bounded by SymbolicLimits. Unknown calls, unsupported Generic IR, solver uncertainty, cancellation, and resource limits are represented by explicit result statuses; they are never converted into guessed success. The initial implementation focuses on scalar expressions, CFG branches, returns, exact CFG-edge Phi values, multiway branches, and bounded loops. Calls, object/member mutation, and ambiguous exception transfers remain explicit unsupported outcomes until a sound Generic IR model is available.

Metadata

Release files for unidecompiler-symbolic 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for unidecompiler-symbolic 0.2.3
File Size Uploaded Provenance Actions
unidecompiler_symbolic-0.2.3.tar.gz 10.2 kB Without provenance Details for unidecompiler_symbolic-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for unidecompiler-symbolic 0.2.3
File Interpreter ABI Platform Actions
unidecompiler_symbolic-0.2.3-py3-none-any.whl Python 3 none any Details for unidecompiler_symbolic-0.2.3-py3-none-any.whl

Total release size: 19.7 kB

Release files / unidecompiler_symbolic-0.2.3.tar.gz

Download URL unidecompiler_symbolic-0.2.3.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
85c235ac208fb4f3b946351715c4fca44132bcb922cc2e0930a49ba6a02386e0
BLAKE2b-256 checksum
How to use checksums
7ac3393aba1db36cadd9030d777d0851fde5fc73f5b96e9a01f544c06f58caff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.12

Release files / unidecompiler_symbolic-0.2.3-py3-none-any.whl

Download URL unidecompiler_symbolic-0.2.3-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea34d97d7b1cd34618a8478221f3e183345cac214a0b88f712196907e967a734
BLAKE2b-256 checksum
How to use checksums
fde397fab6469ec44c58fd2461d3b421946e9ee377145ddd70ee2bd18f2d4257
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.12

Security for unidecompiler-symbolic 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page