4 ms·
The amount of obfuscation going on here is very impressive. It always makes me wonder how these things are even written and designed in the first place. I seem
by royjacobs 9y ago
The amount of obfuscation going on here is very impressive. It always makes me wonder how these things are even written and designed in the first place.
I seem to recall a C++ protection library that would allow you to define custom versions of types like int and long. It would use operator overloading to allow you to use the types in a fairly normal fashion, but underneath these operators would actually be implemented as a very complicated virtual machine. This way, your algorithm code could look fairly normal but it would compile to an absolute beast of a protection layer.
- a_t48 9y agoFor a game I once did something very similar in Lua for protecting values in memory that cheaters might like to change.
- justinjlynn 9y agoMOV/SUBLEQ/CRYPTOLEQ virtual machines which decrypt self-modifying code are the bane of my existence!