-
Notifications
You must be signed in to change notification settings - Fork 70
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 headless analysis failed #3
Comments
I had the same issue on Windows, I believe that the problem has to do with line 266 in After changing line 266 in Before
After
|
i get the problem too.
|
Yes, Just like @shogunlab said , killpg Is a issue. good job. it should be written like other statements to terminate process. compatible with multiple platforms as follows:
(actually, termiante process should be a function.) but it's not the core issue that why headless analysis failed . I think should figure out why it will time out . |
Ah okay, yes it looks like the primary problem is the length of the decompilation from Ghidra, resulting in a timeout. I was able to successfully decompile very small functions, but got a timeout again after trying larger ones. |
GhIDA:: [!] No JSON object could be decoded |
Thank you very much for pointing out this issue. Yes, as @shogunlab correctly said, the length of the decompilation in Ghidra is the primary cause of the timeout. It's possible to change the TIMEOUT value in Then, as @xuing suggested, I've created a Regarding what @starikman is referring to, it's probably related to the issue of the relative path of |
I've change the timeout value to 3000. Update: Update: |
Thanks for the Project.
![image](https://user-images.githubusercontent.com/11143269/64413473-20903580-d0c4-11e9-88a7-0d79bc15772d.png)
when I use GhIDA Decompiler, got a "Ghidra headless analysis failed" error.
many times with various files. same error.
IDA Version: 7.2.181105 Windows
Python Version:Python 2.7.15
Ghidra Path :C:\Program Files\ghidra_9.0.4
Java Version:jdk-11.0.4
and I also have this error
running command line
"C:\Program Files\ghidra_9.0.4\support\analyzeHeadless.bat" . Temp -import C:\Users\EDZ\source\repos\ConsoleApplication1\test\3407694CA26AC630BBAD34D07BAFE340_JVLNU.xml -scriptPath "C:\Program Files\IDA 7.2\plugins\ghida_plugin\ghidra_plugin" -postScript FunctionDecompile.py 411357 c:\users\edz\appdata\local\temp\411357_5ddduh -noanalysis -deleteProject
The text was updated successfully, but these errors were encountered: