Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Decompiler not working in Ghidra Disassembler

I'm kind of new to Ghidra Disassembler so kindly bear with me .

I was trying to install Ghidra to analyse an executable. After opening the executable in Ghidra it loads everything fine except Decompiler. Decompiler window displays

Decompiler: Unable to initialize the DecompilerInterface: Could not find decompiler executable" this error message. Also it shows "os/mac_x86_64/decompile does not exist

I downloaded it from here. I also have JDK installed in my mac. What should i do so as to make Decompiler work?

Image 1

Image 2

Image 3

As the error says there is no decompiler inside "os/mac_x86_64". Not sure on what i should do.

Image 5

like image 460
Jaffer Sheriff Avatar asked Oct 23 '25 03:10

Jaffer Sheriff


1 Answers

Issue happened because I removed the decompile file while installing ghidra for the first coz gatekeeper in my Mac prompted me to remove it as it was from github. Solution to this issue is to allow it in the Security & Privacy . Thank you @Robert for ur inputs and ur time. U saved me ton of time.

Image 1

Clicking "Allow Anyways" without removing decompile fixed the issue for me.

Image 2

like image 159
Jaffer Sheriff Avatar answered Oct 26 '25 09:10

Jaffer Sheriff



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!