Skip to main content

js_deobfuscator/
lib.rs

1//! JS-Deobfuscator v2
2//!
3//! Universal JavaScript deobfuscator built on OXC. Layer-by-layer,
4//! lowest to highest — each layer depends only on layers below it.
5//!
6//! ## Layers
7//!
8//! | Layer | Module       | Purpose                                      |
9//! |-------|--------------|----------------------------------------------|
10//! | 0     | `value`      | Pure JS value computation. No OXC.            |
11//! | 1     | `ast`        | OXC AST read/write helpers.                   |
12//! | 2     | `scope`      | Symbol resolution, reference tracking.        |
13//! | 3     | `fold`       | Static expression folding.                    |
14//! | 4     | `eval`       | Dynamic evaluation (Node.js subprocess).      |
15//! | 5     | `transform`  | Semantic transforms (propagation, inlining).  |
16//! | 6     | `engine`     | Module trait, convergence loop, public API.    |
17//! |       | `format`     | Pre/post normalization.                        |
18
19pub mod value;
20pub mod ast;
21pub mod scope;
22pub mod fold;
23pub mod eval;
24pub mod transform;
25pub mod targets;
26pub mod engine;
27pub mod format;