Quote:
Originally Posted by hooverphonique
Is it even possible to reliably identify that some binary was compiled from C? I mean, you can generally tell by the structure of the disassembly if it originally was compiled from a higher level language, or written directly in asm, but how would you identify it as originating from C?
|
There are some general features of C vs other languages that may be visible in the machine code, eg. how parameters are passed on the stack. But each compiler also produces code that produces a unique 'fingerprint' specific to that compiler. Blitz BASIC code looks very different to SASC code, which is quite different from gcc code etc.