问题
I want to detect what application generated a core dump on OS X.
How can I find this information? Runing file core.1234
does not give the application name, online something like Mach-O 64-bit core x86_64
.
回答1:
You use otool
:
$ otool -c core.1234
for more, see man page. More magics can be found in this fantastic document Mac OS X debugging magic.
来源:https://stackoverflow.com/questions/3779625/how-do-i-detect-what-application-generated-a-specific-core-dump-on-os-x