64kramsystem / 64kramsystem/ghidra-vice-connector
Auto-breakpoint at PRG entry point on connect
- 主要言語
- Python
- スター
- 1
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
## Description
When connecting to VICE with a PRG already loaded, it would be useful to automatically set a breakpoint at the program's entry point so the user lands directly at their code.
## Proposed implementation
- After `populate_initial_state()`, check if a PRG load address is known (either from Ghidra's program info or from the launcher parameter)
- If known, set an execution breakpoint at that address via `checkpoint_set`
- Optionally make this configurable via a launcher parameter (`OPT_BREAK_AT_ENTRY`)
## Depends on
Potentially #3 (auto-load PRG) if the entry point comes from the loaded file.
## Why this matters
Saves the user from manually navigating to their code's entry point and setting a breakpoint every time they reconnect.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Issueでは、`populate_initial_state()` と `checkpoint_set` が主要な関数として挙げられています。まず、これらの関数をコードベース内で調べ、接続とブレークポイントのロジックを理解してください。PRG のロードアドレス情報がどこに格納されているか(Ghidra のプログラム情報または launcher のパラメータから)を探してください。この変更では、状態の設定後にロジックを追加し、場合によっては新しい launcher パラメータ `OPT_BREAK_AT_ENTRY` を追加します。テストでは、ロード済みの PRG を使って VICE に接続し、自動ブレークポイントの動作を確認する必要があります。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- cli, tooling
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 45/100