GDB cheatsheet

常用插件 pwndbg pwngdb peda gef heap 打印 info r <register> p print p &<symbol> 取地址 p *<addr> 间址取值 x/<num>gx <address> 查看内存数据(x64) x/<num>i <address> 查看汇编指令 配合set 可以设置一些指针变量方便读取 x hex d deci u unsigned hex o oct t bin a hex c char f float s string i insturction b 1 byte 8 bits h 2 bytes 16 bits w 4 bytes 32 bits g 8 bytes 64 bits 查看堆栈等...

July 7, 2077 · 2 min · γ