SLEIGH Hints
Things that help with learning SLEIGH
Last updated
Was this helpful?
Things that help with learning SLEIGH
Last updated
Was this helpful?
Turn on p-code
in Ghidra UI
Click Edit the listing fields
button in the upper right of the Listings
window.
(it looks like a stack of misaligned stacked white boxes with a single yellow box in the center and an arrow pointing up under the stack. Or fifth from the right starting from the listings window's 'X'[close window])
Right Click on p-code
field
Click Enable Field
Now you can see the p-code
for each operation!
Bind the ReloadSleighLangauge.java
script to a key to reload .slaspec
changes
Window -> Script Manager
Filter on "ReloadSleighLangauge
"
Right Click and then Click Assign Key Binding
Enter a key combination that you get to make up!
Click Ok
Use the ImportSymbolsScript.py
Format: <label> 0x<addr> l | f
eg.
egVal 0x0125 l
codeStart 0xCEFF f
l
is normal label
f
is function