mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-29 05:16:07 +08:00
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:
@@ -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.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user