C/C++ compiler generating obfuscated code

user313885 picture user313885 · Nov 6, 2010 · Viewed 12k times · Source

Is there any known C/C++ compiler generating obfuscated/noised code? Or maybe any patch for open-source C/C++ compiler like GCC?

Answer

smilingthax picture smilingthax · Nov 6, 2010

You can obfuscate assembler with http://www.pelock.com/products/obfuscator . You can probably compile to assembler (in this case MASM style) and then obfuscate it.

Edit: Using many virtual functions/indirection and/or an interpreter (i.e. create your own mini-bytecode for certain steps of your processing) as part of your code results, in my experience, in quite unreverseable code.