vscode-decompiler icon indicating copy to clipboard operation
vscode-decompiler copied to clipboard

[Ghidra] Library File (.so) fails to decompile, Ghidra says Invalid Project

Open cjawesomest opened this issue 1 year ago • 0 comments

I just set up the extension to decompile an app that I have hosted within WSL2 (running on Windows 11). Was able to install and locate the appropriate decompiling tools like Ghidra (version 10.2.3), OpenJDK (version 19.0.2), jadx (version 1.4.6) and Python (version 3.8.10). However, I'm running into a bit of a stopping point.

VsCode Output:

==================================================================== Decompiling /home/cameroxn/decomp/APKfol1/rev_compapp/lib/armeabi-v7a/libmicrolance.so ====================================================================

Errors:

Failure message from VsCode

"Failed to run decompiliation command. Check your configuration. {"err":"Output file not produced"}"

Failure message in Ghidra window

"Invalid Project: The specified file is not a project file: /tmp/tmp-15073-mqXVluzf5nfL"

I've searched my tmp directory, however, the directory specified doesn't appear to exist at all! There are a few others that look like it (all with the prefix tmp-15073-...) but they are all empty.

Any assistance or guidance would be greatly appreciated! Thank you!

cjawesomest avatar Mar 17 '23 17:03 cjawesomest