mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-25 17:00:36 -09:00
11 lines
587 B
Plaintext
11 lines
587 B
Plaintext
See the example emulation scripts contained within Ghidra/Features/Base/ghidra_scripts.
|
|
|
|
Sample scripts deobExampleX86 and deobHookExampleX86 may be built under Linux.
|
|
|
|
cc -std=c99 -Wimplicit-function-declaration -o deobExampleX86 deobExample.c
|
|
cc -std=c99 -Wimplicit-function-declaration -o deobHookExampleX86 deobHookExample.c
|
|
|
|
Once these examples have been compiled they may be imported into a Ghidra project and the
|
|
corresponding Ghidra Scripts (EmuX86DeobfuscateExampleScript and EmuX86GccDeobfuscateHookExampleScript)
|
|
used to demonstrate the use of the PcodeEmulator class.
|