Display counter `value` and `backoff` when disassembling `CACHE` opcode
未關閉
還沒有人認領這個 Issue。
stdlib
type-feature
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
Feature or enhancement
Proposal:
When disassembling code object with --show-caches argument its hard to tell right away what is 1st cache entry (counter) value which is useful while debugging. Proposing to add this info to the disassembly of this opcode.
Example:
Instead of current disassembly:
CACHE 0 (counter: 99)
display:
CACHE 0 (counter: 99 (value: 6, backoff: 3))
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
- gh-128296
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 Python 針對程式碼物件的反組譯路徑開始,使用 --show-caches 引數,重點關注 CACHE 操作碼目前如何顯示其計數器。確定計數器值和 backoff 在哪裡進行格式化,然後驗證反組譯是否按照提議的措辭顯示這兩個值。該 issue 連結到了 PR gh-128296,因此請在開始之前檢查這項工作。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- compilers
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 20/100