用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/sebastianbiallas/pearpc --skill analyze-oops命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | analyze-oops |
| description | Analyze a kernel Oops from the printk buffer in a PearPC memory dump |
| allowed-tools | Bash, Read, Grep |
| argument-hint | ["dump-file"] |
Use scripts/debug/memdump.py to extract and analyze the Oops.
Extract the Oops:
python3 scripts/debug/memdump.py oops ${ARGUMENTS:-memdump_jit.bin}
Decode pt_regs (use the REGS address from the Oops output):
python3 scripts/debug/memdump.py regs DUMP_FILE REGS_ADDRESS
Disassemble around NIP and LR (convert VA to PA: PA = VA - 0xC0000000):
python3 scripts/debug/disasm_ppc.py DUMP_FILE PA_OF_NIP 16
python3 scripts/debug/disasm_ppc.py DUMP_FILE PA_OF_LR 16
Search for the NIP value in both dumps:
python3 scripts/debug/memdump.py find memdump_generic.bin NIP_VALUE
python3 scripts/debug/memdump.py find memdump_jit.bin NIP_VALUE
Check if NIP is a valid address:
Report: exception type, faulting address, caller, what the code was trying to do.