I would like to use GCC to compile my C/C++ code and output low-level C code. Is it possible to have GCC use C as an output target?
The intended purpose is to obsfucate a piece of code in such a way that it is difficult to reverse engineer. I believe if GCC reduces input source code down to an IR and then spits out the functional equivalent of the IR in C, then the resulting piece of code would still be compilable but not readable.
I also found this thread: https://stackoverflow.com/questions/1025494/obfuscating-c-c-code
Apparently some commercial obsfucation tools use this technique internally as part of their solution.