Ghidra is a software reverse engineering (SRE) framework
GP-0: importing typing into PyGhidraBasics.py
Ryan Kurtzf9a6b575de1a
diff --git a/Ghidra/Features/PyGhidra/ghidra_scripts/PyGhidraBasics.py b/Ghidra/Features/PyGhidra/ghidra_scripts/PyGhidraBasics.pyindex f60655d807..242613c6cd 100644--- a/Ghidra/Features/PyGhidra/ghidra_scripts/PyGhidraBasics.py+++ b/Ghidra/Features/PyGhidra/ghidra_scripts/PyGhidraBasics.py@@ -17,6 +17,9 @@# @category: Examples.Python# @runtime PyGhidra+import typing+if typing.TYPE_CHECKING:+ from ghidra.ghidra_builtins import *# we can import java libraries just as if they were python librariesfrom java.util import LinkedList