Skip to content

Update ghidra_pyhidra_callgraphs.py#2

Open
T0T4R4 wants to merge 1 commit intoclearbluejar:mainfrom
T0T4R4:main
Open

Update ghidra_pyhidra_callgraphs.py#2
T0T4R4 wants to merge 1 commit intoclearbluejar:mainfrom
T0T4R4:main

Conversation

@T0T4R4
Copy link
Copy Markdown

@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
Copy Markdown
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