The LLDB Debugger, as it’s said on http://lldb.llvm.org/:
LLDB is a next generation, high-performance debugger. It is built as a set of reusable components which highly leverage existing libraries in the larger LLVM Project, such as the Clang expression parser and LLVM disassembler.
I was trying to find an OllyDBG-like debugger on OS X, gdb & lldb are the two choices.
Affinic.com has GUI for these two debuggers, not so good.
Hopper Disassembler provides it’s own GDB Server app, still bad.
Only commands here:
Stop at entry:
1 |
(lldb) process launch --stop-at-entry |
Launch with args:
1 |
(lldb) process launch -- -a -b -c |
Read memory(stack like):
1 2 3 4 5 |
(lldb) memory read -f A -c 0x4 $esp-4 0xbfffe49c: 0x00002d76 0xbfffe4a0: 0x03f13790 -> 0xa11d2b70 Foundation`NSConcreteMutableData 0xbfffe4a4: 0x00003aff "ascii26String" 0xbfffe4a8: 0x00000007 |
Continue reading “Note: LLDB Debug OS X Application” »
Note: LLDB Debug OS X Application by @sskaje: https://sskaje.me/2014/01/note-lldb-debug-os-application/