xoreaxeaxeax / movfuscator

The single instruction C compiler
Other
9.53k stars 398 forks source link

FAQ entry: combining movcc with gcc #5

Open neuhaus opened 9 years ago

neuhaus commented 9 years ago

Could you describe how I can combine an object file compiled with movcc and other files with gcc?

GregoryMorse commented 7 years ago

You would need some asm files which wrap the movfuscated codes to deal with calling conventions with hand written assembly and thus could just extern the calls. If you are okay with doing that, there is no real need for a guide, just research the calling conventions used in movfuscator from the source, and the general Linux gcc style.