mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-5658: Fix missing lines from extracted gmodutils.py
This commit is contained in:
parent
0ebc4c9608
commit
4edb4ca970
1 changed files with 4 additions and 0 deletions
|
@ -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
|
This file CANNOT be assumed to be available on a remote target. For
|
||||||
that, consider ghidratrace.setuputils.
|
that, consider ghidratrace.setuputils.
|
||||||
"""
|
"""
|
||||||
|
import os
|
||||||
|
|
||||||
|
home = os.getenv('GHIDRA_HOME')
|
||||||
|
|
||||||
|
|
||||||
def ghidra_module_pypath(name: str) -> str:
|
def ghidra_module_pypath(name: str) -> str:
|
||||||
installed = f'{home}/Ghidra/{name}/pypkg/src'
|
installed = f'{home}/Ghidra/{name}/pypkg/src'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue