Skip to content

Conversation

@fmagin
Copy link
Contributor

@fmagin fmagin commented Nov 7, 2025

This allows constructing a GhidraDecompilerInterface from within Python code that is run inside a Ghidra Script context, e.g. a Python3 -postscript executed with PyGhidra.
My use case for this is that some code can easily be tested by running it as Script within an already running Ghidra Instance (either Headless or GUI), which can then also be reloaded and re-run without having to restart Ghidra.

As far as I understood the interface code there is no assumption that requires libbs to start Ghidra itself, it just needs a Program to work with, and as long as the caller provides this, it could now be used.

# Conflicts:
#	libbs/decompilers/ghidra/interface.py
@mahaloz mahaloz merged commit 0173804 into binsync:main Nov 11, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants