SolDragon
Solana Ghidra Stuff (WIP)
TODO List:
- SLEIGH Definitions
- fix entrypoint Signature
- stub syscalls
- fix analysis plugin
- fix stack frames n SLEIGH definitions?
- fix syscall name wrong in decompilation
- make decompilation prettier
- change memory map to rbpf vm
- somehow implement solana structures
- create proper function signatures for syscalls
- automatically create function id db
- compiler/sdk detection
- implement partial emulation for better decompilation
Building
Set GHIDRA_INSTALL_DIR
in you home gradle.properties
or as an environment variable to point to you Ghidra installation. Run ./gradlew buildExtension
to build the extension.