-
Notifications
You must be signed in to change notification settings - Fork 17
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 11.2 issues #30
Conversation
@fmagin @clearbluejar can you take a look at the resulting artifacts and see that they make sense? |
I think the crucial change here is that they merged https://github.com/dod-cyber-crime-center/pyhidra into the core ghidra release, so it might be possible to migrate this entire project to Python 3? |
@fmagin Oh, that's cool. Do you wanna work on that? I find it unlikely that I'll get to that anytime soon... |
Can't guarantee anything, but I'll see if I can justify spending some time on it |
Apparently the Python 3 support is planned for 11.3, but the preparation for it might have broken some minor things already? |
@fmagin that seems to be the case. |
.github/workflows/publish.yml
Outdated
java-version: '11' | ||
|
||
distribution: "temurin" | ||
java-version: "11" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought Ghidra 11.2 needs JDK 21 now? I'm surprised this still works
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated. Let's see how this works now.
.github/workflows/test.yml
Outdated
java-version: '11' | ||
|
||
distribution: "temurin" | ||
java-version: "11" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
I have barely ever used Ghidra with Python, so I'm not sure how much I can check there, actually. I'd guess they are fine? |
I think we'll just assume they are fine, and fix anything that comes up if anyone reports a bug... We'll probably need to do more testing once we get the Python3 stuff in. Also - kinda funny that neither of us actually uses this... So, I think I'll go ahead and merge this? |
I know people actually using it for work, but I think they aren't on Ghidra 11.2 yet. But I'd expect an increase in popularity once Ghidra supports Python3 out of the box. Would be interesting if a modern IDE actually detects the existence of a
Sounds good |
many of use still use it! thanks for the fix |
Ghidra 11.2 moved some things around:
This means that we need to adjust both our setup (installing vendored packages) and our code (importing the PythonScript class).
To simplify future updates, vendored package installation now uses a Python script to find the sitepackages and copy the packages over.