mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-01 10:41:50 +08:00
GP-0: importing typing into PyGhidraBasics.py
This commit is contained in:
@@ -17,6 +17,9 @@
|
|||||||
# @category: Examples.Python
|
# @category: Examples.Python
|
||||||
# @runtime PyGhidra
|
# @runtime PyGhidra
|
||||||
|
|
||||||
|
import typing
|
||||||
|
if typing.TYPE_CHECKING:
|
||||||
|
from ghidra.ghidra_builtins import *
|
||||||
|
|
||||||
# we can import java libraries just as if they were python libraries
|
# we can import java libraries just as if they were python libraries
|
||||||
from java.util import LinkedList
|
from java.util import LinkedList
|
||||||
|
|||||||
Reference in New Issue
Block a user