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

Update ghidra_pyhidra_callgraphs.py #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

T0T4R4
Copy link

@T0T4R4 T0T4R4 commented Nov 23, 2023

Replaced setAnalyzedFlag with markProgramAnalyzed as per the latest Ghidra Java API.

Replaced setAnalyzedFlag with markProgramAnalyzed as per the latest Ghidra Java API.
@clearbluejar
Copy link
Owner

Hey! thanks for this. I actually maintain ghidrecomp now with the callgraph functionality and have let this script grow stale.

This is how I addressed in there:
https://github.com/clearbluejar/ghidrecomp/blob/6a020b1941e3c751dadc1fd94003819e0ff78572/ghidrecomp/utility.py#L82-L87

This will handle the case when you run the older version of Ghidra and the latest (which had the API change).

If you are still using this script, go ahead and update the PR to handle both cases, and I will accept and merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants