-
Notifications
You must be signed in to change notification settings - Fork 22
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
Error: java.lang.RuntimeException: Unable to create decompiler #58
Comments
Hi, Can you share the binary that caused the exception? We need a bit more information to reproduce this issue. |
Hi @jeffgennari, Sure. I work on https://github.com/ethereum/go-ethereum, on the geth binary (from make geth). This error comes from here I think :
Thank you for your time |
Can you upload the binary?
Thanks.
…________________________________________
From: Karolina GORNA ***@***.***>
Sent: Tuesday, November 28, 2023 12:04 PM
To: CERTCC/kaiju
Cc: Subscribed
Subject: Re: [CERTCC/kaiju] Error: java.lang.RuntimeException: Unable to create decompiler (Issue #58)
Hi,
Can you share the binary that caused the exception? We need a bit more information to reproduce this issue.
Hi @jeffgennari<https://github.com/jeffgennari>,
Sure. I work on https://github.com/ethereum/go-ethereum, on the geth binary (from make geth).
Actually I got the same error on different Go binary that are forks of this repo.
This error comes from here I think : https://github.com/CERTCC/kaiju/blob/cf6a4bffc0224a70569ad8c91b4f42cfc36b5bba/src/main/java/kaiju/tools/ghihorn/decompiler/DecompilerFactory.java#L35
Thank you for your time
—
Reply to this email directly, view it on GitHub<#58 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AL6ZAVGZR4BBFJH6VFSGC7DYGYKRFAVCNFSM6AAAAAA74JKTVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZQGMYDQMRWGU>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hi @sei-eschwartz, Yes, here it is. |
So this did not work for me either, but it failed in a very different way. I got the following error:
I think this might be related to #40 and fdc3a80 I'm really not sure why you would be unable to create a decompiler. Does the decompiler GUI work for you? Could you be running out of memory? |
So I made another patch for the entry point problem: cmu-sei#10 But with that, I get:
This is a known problem with Ghidra that we don't really have a way to work around at the moment. |
Hi @sei-eschwartz,
I still do not understand why I have this issue with "Unable to create decompiler"... :/ |
I bet the Go scripts are related. I'll give them a try and see if I can reproduce the problem. If you could export your database to a ghidra zip file and upload it, that would be another way for me to try to replicate the decompiler problem. |
Yes probably. I have added here the ghidra zip file, hope it will help! |
Even with your database, I still don't get the same error :( I'm going to push a new release that prints the original exception. Can you try out https://github.com/CERTCC/kaiju/releases/tag/231201 and let me know what the error is? |
Hi @sei-eschwartz, Sure. I have tested different entry points and addresses and here is what I always get : Error: java.lang.RuntimeException: Unable to create decompiler: java.lang.ClassNotFoundException:
|
Well, that's interesting. Apparently Kaiju was broken for Ghidra 10.3.2, and our tests weren't exercising that code. This should be fixed now in release 231204. Let me know if not... |
Hi,
I have an issue when running GhiHorn on my Ghidra on a Go binary. Could you help me to fix that please ?
ApiAnalyzer Failed (4 errors)
Error: java.lang.RuntimeException: Unable to create decompiler
Build Date: 2023-Jul-11 1640 EDT
Ghidra Version: 10.3.2
Java Home: /home/usr/ghidra/OpenJDK17U-jdk_x64_linux_hotspot_17.0.8_7/jdk-17.0.8+7
JVM Version: Eclipse Adoptium 17.0.8
OS: Linux 6.2.0-37-generic amd64
[2023-11-27 16:55:22]: Looking for path from 00dfdf00 to 00dfe259
[2023-11-27 16:55:22]: Error: java.lang.RuntimeException: Unable to create decompiler
[2023-11-27 16:55:22]: PathAnalyzer completed.
[2023-11-27 16:55:22]: PathAnalyzer completed.
[2023-11-27 16:55:22]: PathAnalyzer completed.
[2023-11-27 17:08:58]: PathAnalyzer completed.
[2023-11-27 17:08:58]: PathAnalyzer completed.
[2023-11-27 17:08:58]: PathAnalyzer completed.
[2023-11-27 17:08:58]: PathAnalyzer completed.
[2023-11-27 17:08:58]: PathAnalyzer completed.
[2023-11-27 17:08:58]: PathAnalyzer completed.
[2023-11-27 17:08:58]: PathAnalyzer completed.
[2023-11-27 17:08:58]: PathAnalyzer completed.
[2023-11-27 17:14:44]: Looking for all API signatures
[2023-11-27 17:14:44]: Error: java.lang.RuntimeException: Unable to create decompiler
[2023-11-27 17:14:45]: Error: java.lang.RuntimeException: Unable to create decompiler
[2023-11-27 17:14:45]: Error: java.lang.RuntimeException: Unable to create decompiler
[2023-11-27 17:14:46]: Error: java.lang.RuntimeException: Unable to create decompiler
[2023-11-27 17:14:46]: Error: java.lang.RuntimeException: Unable to create decompiler
[2023-11-27 17:14:46]: ApiAnalyzer completed.
[2023-11-27 17:14:46]: ApiAnalyzer completed.
[2023-11-27 17:14:46]: ApiAnalyzer completed.
[2023-11-27 17:14:46]: ApiAnalyzer completed.
[2023-11-27 17:14:46]: ApiAnalyzer completed.
[2023-11-27 17:14:46]: Error: java.lang.RuntimeException: Unable to create decompiler
The text was updated successfully, but these errors were encountered: