这里是记录gdb各种使用问题的地方

Pwndbg

命令行参数

  1. -x : 执行gdb脚本

常用命令

set breakpoint pending on # 当前找不到符号的断点将在将来尝试断下
target remote HOST:1234 # 连接远程目标,不填HOST等于localhost

反向执行

Reverse Execution (Debugging with GDB) (sourceware.org)

在x86_64上需要借助Record-and-Reply

starti
target record-full # or tr
reverse-step