GP-5658: Fix missing lines from extracted gmodutils.py

This commit is contained in:
Dan 2025-05-12 18:30:46 +00:00
parent 0ebc4c9608
commit 4edb4ca970

View file

@ -27,6 +27,10 @@ that minimal logic is required to get it loaded.
This file CANNOT be assumed to be available on a remote target. For
that, consider ghidratrace.setuputils.
"""
import os
home = os.getenv('GHIDRA_HOME')
def ghidra_module_pypath(name: str) -> str:
installed = f'{home}/Ghidra/{name}/pypkg/src'