Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Example crate

Uses a Linux standalone plugin at vendor/obfuscator.so and rust-toolchain.toml (LLVM 20 nightly).

Easiest: from the repo root, run bash rust-integration/setup.sh (Linux/WSL) or .\rust-integration\setup.ps1 (Windows — then build from WSL/Linux). That downloads the plugin and matches .cargo/config.toml.

Manual fetch:

chmod +x scripts/fetch-obfuscator-plugin.sh
./scripts/fetch-obfuscator-plugin.sh latest
cargo build --release

Optional: Windows .exe from Linux/WSL — sudo apt install mingw-w64, rustup target add x86_64-pc-windows-gnu, then cargo build --release --target x86_64-pc-windows-gnu.

Quick check: strings target/release/obfuscator-example should not show the hello string as plain ASCII if string encryption ran.

See ../README.md to build the plugin locally instead of downloading.