gdb
This is an old revision of the document!
Table of Contents
General
set disassembly-flavor intel define hook-stop x/li $eip x/8wx $esp end
Print and Examine
show bytes pointed by register with offset:
x/16bx $rsi+0x42
print array with size as bytes in registers:
p/x *(char *)$rcx@$dx
Breakpoint
set conditional breakpoint:
break dlopen if strcmp(file, "libc.so") == 0
set conditional logpoint:
break func_name commands silent printf "msg: %d\n", *($rdi+0x34) cont end
View Memory
gdb.1715068009.txt.gz · Last modified: by A User Not Logged in
