GP-4706: GhidraScripts can now use @runtime to specify which GhidraScriptProvider to use when multiple expect the same script file extension (e.g., '.py')

This commit is contained in:
Ryan Kurtz
2024-06-28 13:26:24 -04:00
parent 5ab72bf4f2
commit 420eb767e8
38 changed files with 438 additions and 93 deletions
@@ -19,6 +19,7 @@
#Print the file offset as a Ghidra comment at the memory address in the Ghidra Listing
#If multiple addresses are located, then print the addresses to the console (do not set a Ghidra comment)
# @category Examples
# @runtime Jython
import sys
from ghidra.program.model.address import Address
@@ -15,6 +15,7 @@
##
#Given a function, find all strings used within all called funtions.
# @category: Strings
# @runtime Jython
# Handles only functions, not subroutines, as of now. Hopefully this will change later
@@ -24,6 +24,7 @@
# generate the original bytes of the imported file and asks the user to provide a filename to store the bytes. YARA then runs on that file.
#@category Memory.YARA
#@runtime Jython
import os.path
import sys
@@ -15,6 +15,7 @@
##
# Sets up IOPORT IN/OUT references for the Program
#@category Instructions
#@runtime Jython
# Before running this script, you should have created an OVERLAY memory
# space called IOMEM, starting at address 0, size 0x10000.
#