Exetools  

Go Back   Exetools > General > Source Code

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-20-2026, 06:59
Gladiyator's Avatar
Gladiyator Gladiyator is offline
Family
 
Join Date: Jan 2009
Location: .:: Tehran ::.
Posts: 117
Rept. Given: 79
Rept. Rcvd 64 Times in 21 Posts
Thanks Given: 144
Thanks Rcvd at 145 Times in 41 Posts
Gladiyator Reputation: 64
Lightbulb 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
Reply With Quote
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)
Reply

Tags
golang, obfuscation, obfuscator, virtualizer


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT +8. The time now is 19:00.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )