I'm wondering if there's a way to compare source code to the disassembled assembly in IDA Pro? (e.g. I compile hello.c in Linux then open the binary in IDA Pro in OS X, and would like to compare the assembly with the source so make it easier to find out what's going on). Does such a feature exist?ADDED From Comment:By the way, I forgot to mention, I am in OS-X and the binary was compiled by Lunux
How do you compare C source code with the corresponding binary's assembly in IDA Pro?
ida;disassembly;assembly;c;disassemblers
You can compile your file with DWARF information in it, since IDA supports it: