Scripting and plugins
Basilisk’s extension language is Python 3, embedded through PyO3. A Python package, basilisk, will
expose the program model, analysis, the decompiler and interface hooks.
What you will be able to write
Section titled “What you will be able to write”- Scripts that run against the open program, from the interface or headless.
- Analyzers that take part in auto-analysis.
- Loaders for new binary formats, and exporters.
- Interface actions and views, later.
Coming from Ghidra
Section titled “Coming from Ghidra”A flat scripting layer keeps the names of Ghidra’s FlatProgramAPI and GhidraScript, so existing Python
scripts port with small, mechanical changes. Java scripts and Ghidra’s Java plugins do not run in Basilisk.
The same package is importable from any Python process, to drive Basilisk as a library — the role PyGhidra plays for Ghidra.