プロジェクト

全般

プロフィール

操作

Gdb-peda » 履歴 » リビジョン 4

« 前 | リビジョン 4/19 (差分) | 次 »
kanata, 2026/08/25 13:39


Gdb-peda

最近はGEFの方が良いらしい

Github longld/peda
https://github.com/longld/peda

Installation

$ git clone https://github.com/longld/peda.git ~/peda
$ echo "source ~/peda/peda.py" >> ~/.gdbinit
$ echo "DONE! debug your program with gdb and enjoy"

Operation

操作 元の名称 意味
start start
r run
b break b main,b *0x555555555140
c continue プログラムの再開
n next 命令を1つ進める
s step 命令を1つ進める(call命令で呼ばれている関数の中にも入る)
i info
x x /10i 0x555555555139 レジスタやメモリ内容の表示
reg reg レジスタファイルの状態を表示
xinfo xinfo xinfo register rax レジスタの値を確認する
set set set $rax=0x1623475869 メモリやレジスタの書き換え
q quit 終了する
Tags: CTFPwn

kanata さんが15日前に更新 · 19件の履歴