You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO | ghidriff | Init Ghidra Diff Engine...
INFO | ghidriff | Engine Console Log: INFO
INFO | ghidriff | Engine File Log: ghidriffs/ghidriff.log INFO
ERROR| pyhidra.launcher | GHIDRA_INSTALL_DIR is not set: Please set the GHIDRA_INSTALL_DIR environment variable or `install_dir` during the Launcher construction to the directory where Ghidra is installed.
Traceback (most recent call last):
File "/usr/bin/ghidriff", line 33, in <module>
sys.exit(load_entry_point('ghidriff==0.7.3', 'console_scripts', 'ghidriff')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/ghidriff/__main__.py", line 53, in main
d: GhidraDiffEngine = DiffEngine(args=args,
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/ghidriff/ghidra_diff_engine.py", line 93, in __init__
launcher = HeadlessLoggingPyhidraLauncher(verbose=verbose, log_path=engine_log_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/ghidriff/ghidra_diff_engine.py", line 35, in __init__
super().__init__(verbose)
File "/usr/lib/python3.12/site-packages/pyhidra/launcher.py", line 145, in __init__
self._install_dir = self._validate_install_dir(install_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/pyhidra/launcher.py", line 215, in _validate_install_dir
cls._report_fatal_error("GHIDRA_INSTALL_DIR is not set", msg, ValueError(msg))
File "/usr/lib/python3.12/site-packages/pyhidra/launcher.py", line 253, in _report_fatal_error
raise cause
ValueError: Please set the GHIDRA_INSTALL_DIR environment variable or `install_dir` during the Launcher construction to the directory where Ghidra is installed.
Why does it not recognize the env variable?
The text was updated successfully, but these errors were encountered:
Just for sport I'm diff the same .exe file, and set GHIDRA_INSTALL_DIR as:
and then I run:
but I get:
Why does it not recognize the env variable?
The text was updated successfully, but these errors were encountered: