Skip to content

How to run a script using PyGhidra from Ghidra's Script Manager (not in Headlesss mode) #7472

Closed Answered by astrelsky
muhammed1rfan asked this question in Q&A
Discussion options

You must be logged in to vote

Add #@runtime PyGhidra to the start of your script and write a normal python script. There is no need to use the PyGhidra library or attempt to start it since it's already running.

This assumes you have already done what d-millar has explained above.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@muhammed1rfan
Comment options

Answer selected by muhammed1rfan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #7463 on February 10, 2025 13:13.