.claude/skills/compare-dumps/SKILL.md
--- name: compare-dumps description: Compare memory regions between generic and JIT memory dumps to find divergences allowed-tools: Bash, Read argument-hint: [subcommand] [args...] --- # Compare Memory Dumps Use `scripts/debug/memdump.py` subcommands: ``` # Read words at a PA (accepts kernel VA, auto-converts): python3 scripts/debug/memdump.py read memdump_jit.bin PA [count] # Diff two dumps at a PA: python3 scripts/debug/memdump.py diff memdump_generic.bin memdump_jit.bin PA [count] # Sear
npx skillsauth add sebastianbiallas/pearpc .claude/skills/compare-dumpsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use scripts/debug/memdump.py subcommands:
# Read words at a PA (accepts kernel VA, auto-converts):
python3 scripts/debug/memdump.py read memdump_jit.bin PA [count]
# Diff two dumps at a PA:
python3 scripts/debug/memdump.py diff memdump_generic.bin memdump_jit.bin PA [count]
# Search for a 32-bit value:
python3 scripts/debug/memdump.py find memdump_jit.bin HEXVALUE
# Scan a range for differences:
python3 scripts/debug/compare_dumps.py memdump_generic.bin memdump_jit.bin --scan PA_START PA_END
Kernel VA to PA: PA = VA - 0xC0000000. All addresses in hex.
tools
--- name: dump-printk description: Extract and display the Linux kernel printk ring buffer from a PearPC memory dump allowed-tools: Bash, Read argument-hint: [dump-file] [search-term] --- # Extract Kernel Printk Buffer Use `scripts/debug/memdump.py printk` to extract the printk ring buffer. ``` python3 scripts/debug/memdump.py printk $ARGUMENTS ``` If no arguments, use `memdump_jit.bin`. Report the last printk message, any Oops, and what boot stage was reached.
testing
Analyze the JIT dispatch trace to diagnose boot stalls or crashes
testing
Check that aarch64 JIT interpreter functions match generic CPU behavior
tools
Analyze a kernel Oops from the printk buffer in a PearPC memory dump