I wrote a simple c program that makes use of the assert()
call. I'd like to analyze it using lldb.
OS in use: OS X Mavericks
Compiler used to compile: Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin13.0.0 Thread model: posix
The -g
compiler option generated a .DSYM
directory. I wanted to know how to how to analyze this core using lldb.
PS: I have compiled using the -g
option (clang -g test.c
)
Start lldb and then execute the command
where "/cores/core.NNNN" is your core file. A simple example: