SLEIGH Hints
Things that help with learning SLEIGH
Turn on
p-codein Ghidra UIClick
Edit the listing fieldsbutton in the upper right of theListingswindow.(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-codefieldClick
Enable FieldNow you can see the
p-codefor each operation!
Bind the
ReloadSleighLangauge.javascript to a key to reload.slaspecchangesWindow -> Script ManagerFilter on "
ReloadSleighLangauge"Right Click and then Click
Assign Key BindingEnter a key combination that you get to make up!
Click
Ok
Use the
ImportSymbolsScript.pyFormat:
<label> 0x<addr> l | feg.
egVal 0x0125 lcodeStart 0xCEFF f
lis normal labelfis function
Last updated
Was this helpful?


