Premium modules (AGPL-3.0-or-later OR Commercial)
Everything in this directory is dual-licensed: AGPL-3.0-or-later (see LICENSE) or
a commercial license from the author. The Apache-2.0 license of the repository core does not
apply here. See ../LICENSING.md for the full model.
These are the project's high-value capabilities. The core (scripts/) keeps the detection,
string/metadata recovery and triage that make the free tool useful; the deeper analysis lives here.
Modules
lift_vm.py— static VM devirtualizer. Finds a RustCloak-virtualized function's bytecode blob, recovers the (randomized, operand-encrypted) opcode map by parsing the dispatch, resolves the constant pool, and lifts the bytecode to C pseudocode with control-flow structuring.devirt_emulate.py— emulation-based VM devirtualizer. Recovers the VM's instruction set by running the interpreter under Unicorn and observing opcode semantics (register-file dataflow + value relations, control flow from successor offsets, memory from dereferences), rather than pattern-matching the dispatch's native code. Codegen-agnostic and obfuscation-resistant (it observes what the interpreter computes), with a Python-VM correctness gate that re-executes the recovered program and refuses anything it cannot reproduce. Depends onlift_vmfor rendering.deobf_deflatten.py,deobf_cff.py— control-flow deobfuscation (de-flattening and compare-tree recovery) for OLLVM-style flattened functions, x86-64 and AArch64.deobf_expr.py— simplifies Mixed Boolean-Arithmetic (MBA) and opaque predicates with the Z3 SMT solver.
All depend only on the Apache-2.0 core, never the reverse.
Rule that keeps the model sound
The core must never import a premium module. A premium module may depend on the core (AGPL can incorporate Apache-2.0 code), never the reverse — otherwise the copyleft would propagate into the core and break the Apache-2.0 guarantee. New premium code goes here and is imported only by other premium code or invoked as a standalone entry point.
SPDX header for every file here
Start each source file with:
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-FileCopyrightText: Ve (VAHPEM) <ve0912084386@gmail.com>
#
# Dual-licensed: AGPL-3.0-or-later OR a commercial license.
# Commercial licensing: Ve (VAHPEM) <ve0912084386@gmail.com>
The per-file SPDX identifier is authoritative.
Contributing here
Contributions to this directory require a signed Contributor License Agreement, so the author retains the rights needed to offer the commercial license.
Metadata
Release files for rust-deobf-premium 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rust_deobf_premium-0.1.0.tar.gz | 82.9 kB | With provenance | Details for rust_deobf_premium-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rust_deobf_premium-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for rust_deobf_premium-0.1.0-py3-none-any.whl |
Total release size: 169.3 kB
Security for rust-deobf-premium 0.1.0
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.
Full provenance
Both files in this release have been 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.