Repository navigation
xollvm — v0.12.0
Built against stock LLVM release/22.x (LLVM 22) and
release/23.x (LLVM 23). Pick the artifact matching the
LLVM version you deploy against.
What's new since v0.11.1
Features
- Whole-program pass selection — new
-mllvm -obf-all=<spec>applies one pass spec to every defined function, overriding per-function annotations (off by default; empty value keeps annotation-only behaviour). #38 - Persistent-global string encryption — string literals retained by static aggregates (global tables, pre-
mainpointers/views) are now encrypted in place and decrypted once from a priority-0 module constructor, instead of being left in plaintext. Local string literals in externally visible tables supported; non-local (ODR-coalesced) storage excluded. #37
Compatibility / portability
- Emscripten / WASM64 string-encryption fixes — skip globals with an explicit section (e.g.
em_asm/em_js, consumed at link time) (#33); exclude Embindinternal::Signature<...>ABI metadata so bindings keep registering (#34). OBF_ENABLE_RDTSC_STRETCHCMake option — build the x86-onlyrdtscStretchtechnique conditionally; auto-OFF for target-limited (e.g. WebAssembly-only) LLVM installations without X86, dropping theIntrinsicsX86.hdependency. #36
Fixes
- VM anti-debug timing — debounce the dispatch RDTSC check so a single slow timer read no longer poisons the decode salt into a rare load-dependent miscompute. #32
Tests / CI
- Regression cases added for persistent-global strings and
-obf-all(validated on LLVM 22 and 23). - macOS plugin build moved off the retiring
macos-14runner tomacos-15.
Full changelog: v0.11.1...v0.12.0
Artifacts
| File | What | OS | LLVM |
|---|---|---|---|
xollvm-linux-llvm22-Release.tar.zst |
clang/opt with obfuscator built in | Linux x86_64 | 22 |
xollvm-windows-llvm22-Release.7z |
clang/opt with obfuscator built in | Windows x64 | 22 |
xollvm-linux-llvm23-Release.tar.zst |
clang/opt with obfuscator built in | Linux x86_64 | 23 |
xollvm-windows-llvm23-Release.7z |
clang/opt with obfuscator built in | Windows x64 | 23 |
Obfuscator-linux-x64-llvm22.so |
loadable -fpass-plugin |
Linux x86_64 | 22 |
Obfuscator-linux-x64-llvm23.so |
loadable -fpass-plugin |
Linux x86_64 | 23 |
Obfuscator-macos-arm64-llvm22.dylib |
loadable -fpass-plugin |
macOS arm64 | 22 |
Obfuscator-macos-arm64-llvm23.dylib |
loadable -fpass-plugin |
macOS arm64 | 23 |
Cross-compilation backends
-DLLVM_TARGETS_TO_BUILD="X86;AArch64;ARM;RISCV" — X86, AArch64, ARM, RISC-V.