tintinweb / vscode-decompiler

Decompile things directly from VSCode
https://marketplace.visualstudio.com/items?itemName=tintinweb.vscode-decompiler
155 stars 27 forks source link

Failed to run decompiliation command. Check your configuration. {"code":255,"type":"single","err":"tool returned non-zero exit code"} #25

Open SenExus opened 2 years ago

SenExus commented 2 years ago

Heya,

Recently decided to use the extension to attempt to decompile a .sys file. I went through all the setup, installing Ghidra and pathing the extension to its "analyzeHeadless.bat" file, however, I seem to be running into the error message highlighted in the title. Here's the terminal output:

====================================================================
    Decompiling c:\Users\Username\OneDrive\Documents\GitHub\SpoofingETC\Disk Serial (+ other stuff)\spoof_[unknowncheats.me]_.sys
====================================================================

Errors: 
------- 

\spoof_[unknowncheats.me]_.sys" -scriptPath c:\Users\Username\.vscode\extensions\tintinweb.vscode-decompiler-0.1.0\scripts -postScript c:\Users\Username\.vscode\extensions\tintinweb.vscode-decompiler-0.1.0\scripts\ghidra_decompile.py C:\Users\Username\AppData\Local\Temp\tmp-17832-3DW3sLNHDJOE") was unexpected at this time.

Thanks for any assistance you can provide

tintinweb commented 2 years ago

Hey @SenExus,

your path looks crazy :D can you try moving the driver to (a) a dir without spaces and special magic 😅 (b) rename it to only contain nonspecial chars.