js-deobfuscator 2.0.0

Universal JavaScript deobfuscator built on OXC
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! obfuscator.io / javascript-obfuscator transforms.
//!
//! This module handles patterns from <https://obfuscator.io> and the
//! `javascript-obfuscator` npm package.
//!
//! ## Patterns Handled
//!
//! - **String Array**: Encoded string literals with rotation/shuffling
//! - **Control Flow Flattening**: Switch-dispatch state machines (TODO)
//! - **Dead Code Injection**: Unreachable code blocks (handled by generic DCE)
//! - **Self-Defending**: Anti-tampering checks (TODO)

mod string_array;

pub use string_array::StringArrayDecoder;