LLDB command
lldb 명령어는 windbg 명령어보다 복잡하다. 하지만 먼가 체계가 잘 잡혀있는
스크립트같은 느낌을 주는 명령어이다. 익숙해지는데 시간이 걸리겠지만 ..
익숙해지면 windbg 보다 더 능숙하게 디버깅할 수 있을 것 같다.
일단 몇개만 나열하고 나머지는 업데이트 할 예정.
target modules
target modules lookup -n symbol modulename
ex> target mod loo -n sysent mach_kernel
target modules list ( == image list )
target variable
global values
target variable <variable name>
memory read
memory read -f A <address> - display value with symbol - same as dds command in windbg
ex> memory read -f A fffffff87000000 -c1
memory read -t type <address> - same as dt command in windbg - very important !
thread backtrace all
thread select #num
process attach -p pid
process detach
bt
댓글 없음:
댓글 쓰기