Can you find out which compiler was used to compile a program?

Rob Wells picture Rob Wells · Mar 6, 2009 · Viewed 10.4k times · Source

Given an executable that is compiled from C to run on Solaris, is it possible to determine which compiler was used to compile the associated incomplete executable?

I can't see anything when using either the strings or the file command, and magic doesn't seem to contain anything specific.

Do compilers generally put a fingerprint in their executable output files?

cheers,

Answer

Tim Matthews picture Tim Matthews · Mar 6, 2009

Yes IDA is great for this. It uses a technology called FLIRT.