Guide to P-code Injection: Changing the intermediate representation of code on the fly in Ghidra
Summary
A guide to Ghidra's p-code injection mechanism: for opcodes that are impractical to express in SLEIGH, Java callbacks can generate p-code dynamically at analysis time — illustrated by implementing V8's variable-argument CallRuntime opcode in the ghidra_nodejs plugin.
- Published
- Collected
Skip to content