ghidra-evm
ghidra-evm copied to clipboard
Extension version for [ghidra_9.1.2_PUBLIC_20201108_ghidra_evm.zip] is incompatible with Ghidra.
Hi, I don't have much experience with Ghidra and followed your installation instructions.
It fails at the last step for me at:
Extension version for [ghidra_9.1.2_PUBLIC_20201108_ghidra_evm.zip] is incompatible with Ghidra.
---------------------------------------------------
Build Date: 2020-Dec-29 1701 EST
Ghidra Version: 9.2.2
Java Home: /Library/Java/JavaVirtualMachines/jdk-15.jdk/Contents/Home
JVM Version: Oracle Corporation 15
OS: Mac OS X 10.15.7 x86_64
Is Ghidra really that strict with versions that 9.1.2 scripts don't run on 9.2.2?
When downgrading to 9.1.2 it works 👍
I have little knowledge on Ghidra scripting but I wanna to know is it easy to support the most recent 9.2.2 or provide a zip file for 9.2.2 ?
Indeed I built the module for Ghidra 9.1.2. I think it should be possible to compile to 9.2.2 however I did not tested it yet.
Thanks for your timely reply!
I used the command gradle -PGHIDRA_INSTALL_DIR="D:\Ghidra\ghidra_9.2.2_PUBLIC" build
to build it and the command succeeded. But how am I going to get the final zip file ? ( forgive my ignorance I really don't have any experience in developing Ghidra extensions. )
Updates:
Well, I do setup a Ghidra Extension development environment and use the ghidra_evmLoader.java
file to produce the final zip file. But I cannot check the Installation status
box in File > Install Extensions...
( I also cannot install the deafult SleigDevTools extension.)
Is there something going wrong with me ?
Okay, at the time of writing, desptie the ghidra version on kali being 9.1.2 on the repos, the installed version was a 9.1 dev build. Pay attention to the version on the launch menu. So it's pretty easy to fix. You unzip the file in the dist directory. Then change "9.1.2" to "9.1" in ghidra_evm/extension.properties. You can also check the version of the other sample/skeleton plugins that are listed on the install plugins page. Anyways, zip the file like zip -r ghidra_9.1_DEV_20201108_ghidra_evm.zip ghidra_evm and mv it back to /usr/share/ghidra/Extensions/Ghidra (or whatever that directory is witht the other zip files). If all works out, it won't be "red" anymore and you should be able to enable it. The can then load the evm file (should be bytes, not hex. though i didn't try just hex). Can't speak to the quality of the experience as I haven't dug in much but that's how you get it to work. I imagine this will change, expecially with ghidra 10 in beta (might not even work with that).
Hi everyone - just encountered the same issue. A 9.2.4 version is available here https://github.com/bbenzikry/ghidra-evm/releases/tag/9.2.4 Hope that helps
Running into this same issue with Ghidra version 10.1.1
Same issue with Ghidra v 10.1.2
I was able to use 3lpsy's suggestiong from: https://github.com/adelapie/ghidra-evm/issues/2#issuecomment-862036676 to get it to run with version 10.1.4. Not sure if the functionality is 100% or not but seems viable.
I face the same issue with 10.2.2, Is there any workaround?