Compare dumps

From sebastianbiallas/pearpc · View interactive version

Compare dumps is an AI agent skill from the GitHub repository sebastianbiallas/pearpc. Compare memory regions between generic and JIT memory dumps to find divergences

How to use this skill

Skill file

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]

# 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.

Known kernel addresses (Mandrake 2.4.21)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.