Merge remote-tracking branch 'origin/patch'

This commit is contained in:
Ryan Kurtz
2025-12-17 05:47:20 -05:00
4 changed files with 8 additions and 4 deletions
@@ -557,6 +557,10 @@ import pdb # imports Python's pdb
import pdb_ # imports Ghidra's pdb
```
## Change History
__3.0.1__
* Fixed `AttributeError: module 'pyghidra' has no attribute 'program_conext'` when performing a
`from pyghidra import *`.
__3.0.0:__
* Revised the PyGhidra API. See the [API section](#api) for more details.
* PyGhidra 3.0.0 requires Ghidra 12.0 or later to run.
@@ -13,7 +13,6 @@ authors = [
]
maintainers = [
{ name = "Ghidra Development Team" },
{ name = "DC3", email = "dc3.tsd@us.af.mil" },
]
keywords = [
"ghidra",
@@ -28,6 +27,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"Jpype1==1.5.2",
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
##
__version__ = "3.0.0"
__version__ = "3.0.1"
# stub for documentation and typing
# this is mostly to hide the function parameter
@@ -68,7 +68,7 @@ __all__ = [
"debug_callback", "get_current_interpreter", "open_program", "run_script", "ApplicationInfo",
"DeferredPyGhidraLauncher", "ExtensionDetails", "GuiPyGhidraLauncher",
"HeadlessPyGhidraLauncher", "start", "started", "open_project", "open_filesystem",
"consume_program", "program_conext", "analyze", "ghidra_script", "transaction",
"consume_program", "program_context", "analyze", "ghidra_script", "transaction",
"analysis_properties", "program_info", "program_loader", "task_monitor", "walk_project",
"walk_programs"
]
@@ -239,7 +239,7 @@ def main() -> None:
# If in dev mode, launch PyGhidra from the source tree using the development virtual environment
if not venv_dir.is_dir():
print('Virtual environment not found!')
print('Run "gradle prepdev" and try again.')
print('Run "gradle prepPyGhidra" and try again.')
sys.exit(1)
python_cmd = get_venv_exe(venv_dir)
print(f'Switching to Ghidra virtual environment: {venv_dir}')