xoreaxeaxeax / movfuscator

The single instruction C compiler
Other
9.29k stars 394 forks source link

FAQ entry: combining movcc with gcc #5

Open neuhaus opened 8 years ago

neuhaus commented 8 years ago

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

GregoryMorse commented 6 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.