![]() |
|
#1
|
||||
|
||||
|
Just open-sourced a Delphi 10.2 project I’ve been working on: Golang-REVoid — a Go source virtualizer & obfuscator.
Most code-protection tools focus on binary-level techniques. I took a different route: compile selected Go functions into a custom stack-based VM bytecode, apply several obfuscation passes, and emit a fully self-contained, compilable Go program that still runs with the standard toolchain. What it does Virtualizes pure computational functions (arithmetic, control flow, loops, locals, calls) Encrypts constants at compile time and decrypts them only inside the VM Applies control-flow flattening, instruction substitution, and safe opaque predicates Keeps complex or unsupported functions native and lets the VM call them when needed Produces a single .go file that includes the complete VM runtime — no external dependencies beyond the Go standard library Why Delphi? I wanted a fast, native Windows console tool with full control over the compiler and emitter pipeline. Delphi 10.2 turned out to be an excellent fit for building a reliable, dependency-free binary that developers can drop into their workflow. The project includes careful handling of jump targets and loop back-edges so that virtualized for loops remain correct after obfuscation — a common source of subtle bugs in this class of tools. If you work with Go, software protection, or just enjoy seeing classic compiler techniques applied in a practical setting, feel free to check it out, star it, or open an issue. Educational / research use. Obfuscation is only one layer — always pair it with proper architecture and server-side checks. https://github.com/NIKJOO/Golang-REVoid |
| The Following User Gave Reputation+1 to Gladiyator For This Useful Post: | ||
MarcElBichon (09-20-2026) | ||
| The Following User Says Thank You to Gladiyator For This Useful Post: | ||
Gyrus (09-20-2026) | ||
![]() |
| Tags |
| golang, obfuscation, obfuscator, virtualizer |
| Thread Tools | |
| Display Modes | |
|
|