I am using the otool
, nm
and Fraise
text editor to disassemble the Mach-o
binaries. My workflow at this point is pretty straightforward:
-
1. List the existed symbols.
nm -g
-
2. Get the disasm code.
otool -vt
-
3. Copy and paste this output to a text file.
-
4. Read and comment the code in the text editor :)
I am looking for the tools that simplify the working with disasm code on Mac OS X
.
otool -Vt
will give you symbols for operands, e.g.callq _main
rather thancallq 0x100001060
. – Solitude