SLEIGH Hints
Things that help with learning SLEIGH
Turn on
p-code
in Ghidra UIClick
Edit the listing fields
button in the upper right of theListings
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
fieldClick
Enable Field
Now you can see the
p-code
for each operation!
Bind the
ReloadSleighLangauge.java
script to a key to reload.slaspec
changesWindow -> 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 labelf
is function
Last updated