started docs!
This commit is contained in:
18
content/docs/options/mangle-statements.md
Normal file
18
content/docs/options/mangle-statements.md
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
weight: 100
|
||||
title: "Mangle Statements"
|
||||
description: "Constant decomposition and statement patching"
|
||||
icon: "article"
|
||||
date: "2025-05-01T18:47:58-05:00"
|
||||
lastmod: "2025-05-01T18:47:58-05:00"
|
||||
---
|
||||
|
||||
This option will enable non-destructive constant decomposition and various statement patching.
|
||||
|
||||
The following child options are available:
|
||||
|
||||
- `Mangle Numbers`: Replaces number constants with a randomized binary expression which evaluates to that number.
|
||||
- `Mangle Strings`: Performs light obfuscation of string constants.
|
||||
- `Mangle Self-calls`: Replaces `x:foo()` with `x.foo(x)`.
|
||||
- `Mangle Named Indexes`: Replaces `x.foo` with `x[<obfuscated "foo">]`. This will mangle the string regardless of whether `Mangle Strings` is enabled.
|
||||
- `Mangle Globals`: Globals are replaced with a cached global table indexed by an obfuscated string. eg. `print` becomes `_ENV[<obfuscated "print">]`
|
Reference in New Issue
Block a user