Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
T-RN-R opened this issue Jun 5, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@T-RN-R
Copy link
Collaborator

T-RN-R commented Jun 5, 2023

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'?
@T-RN-R T-RN-R added the bug Something isn't working label Jun 5, 2023
@clearbluejar
Copy link
Owner

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

@clearbluejar
Copy link
Owner

will check in a fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants