clearbluejar / ghidriff

Python Command-Line Ghidra Binary Diffing Engine

Home Page:https://clearbluejar.github.io/ghidriff/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'ghidra.program.util.GhidraProgramUtilities' has no attribute 'setAnalyzedFlag'.

T-RN-R opened this issue · comments

commented

Not sure what this is. Mac M1.

Run with no flags, just ghidriff <old> <new>

Traceback (most recent call last):
  File "/opt/homebrew/bin/ghidriff", line 8, in <module>
    sys.exit(main())
  File "/opt/homebrew/lib/python3.10/site-packages/ghidriff/__main__.py", line 83, in main
    d.analyze_project()
  File "/opt/homebrew/lib/python3.10/site-packages/ghidriff/ghidra_diff_engine.py", line 757, in analyze_project
    prog = future.result()
  File "/opt/homebrew/Cellar/python@3.10/3.10.11/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/_base.py", line 451, in result
    return self.__get_result()
  File "/opt/homebrew/Cellar/python@3.10/3.10.11/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
    raise self._exception
  File "/opt/homebrew/Cellar/python@3.10/3.10.11/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/homebrew/lib/python3.10/site-packages/ghidriff/ghidra_diff_engine.py", line 733, in analyze_program
    GhidraProgramUtilities.setAnalyzedFlag(program, True)
AttributeError: type object 'ghidra.program.util.GhidraProgramUtilities' has no attribute 'setAnalyzedFlag'. Did you mean: 'resetAnalysisFlags'?

ah this is due to this.. clearbluejar/ghidrecomp#7

will check in a fix