1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

俺的Ghidra設定

Last updated at Posted at 2024-10-07

俺的Ghidra設定を備忘録として書いておく。

以下を参考にしている。

リバースエンジニアリングツール Ghidra実践ガイド

Tool Optionsの設定

EditTool Options を開き、以下の設定をする。

ハイライト

シンボルをクリックすると同じ文字列がハイライトされるようにする。

Listing FieldsCoursor Text Highlight を選択し、Mouse Button To ActivateMIDDLEから LEFT に変更。

キーバインド

リファレンス検索のキーバインドを設定しておく。

Key Bindingsから

  • Find References To SymbolMeta + Shift + F
  • Set Pre commentsCtrl + Shift + C

Find References To SymbolXにする人が多いようだが、私はなるべくデフォルトを崩したくない派。ただし、Find References To と同じキーバインドにするのがポイント)

Listing Fieldsの行間

ディスアセンブルしたアセンブリの行間を揃えるために、バイトコードの折り返しをなくす。

Listing FieldsBytes Field から、Maximum Lines To Displayを3から1にする。

Decompileウィンドウでコメントを表示

DecompilerDisplay から、Display EOL commentsDisplay PLATE commentsDisplay POST commentsにチェック。

フォントの設定

Listing Displayから、フォントをJetbrains Monoにする。また、Decompile > Displayから、フォントをJetbrains Monoにする。フォントサイズは両方とも12ptにする。

XRefの設定

適当なXREFをListing Window上で探して、クリックする。カラム名をクリックして、Add/Remove Columns をクリックする。Function NameFunction Signature にチェックをつける。

GolangAnalyzerExtensionの設定

GNU Disassembler, Machine Learningも一応入れとく

FIDBとData Typeの追加

以下の2つを追加する。手順はそれぞれのリポジトリに書いてある通り
https://github.com/AllsafeCyberSecurity/Ghidra_FIDB
https://github.com/AllsafeCyberSecurity/Ghidra_Data_Type

Ghidrathonの設定(最近やめた)

Ghidra 11.3でPyGhidraがサポートされるようになったため、使用しないことにした。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?