Exetools

Exetools (https://forum.exetools.com/index.php)
-   Source Code (https://forum.exetools.com/forumdisplay.php?f=46)
-   -   Golang-REVoid — a Go source virtualizer & obfuscator (https://forum.exetools.com/showthread.php?t=21762)

Gladiyator 09-20-2026 06:59

Golang-REVoid — a Go source virtualizer & obfuscator
 
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


All times are GMT +8. The time now is 18:07.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX