vscode-decompiler
vscode-decompiler copied to clipboard
[Ghidra]Failed to run decompliation command.
I think I have installed everything as guided.But all I had was the mercyless error.
Failed to run decompiliation command. Check your configuration.
{
"code": {
"errno": -4058,
"code": "ENOENT",
"syscall": "spawn \"C:\\Program Files\\ghidra_10.1.5_PUBLIC\\support\\analyzeHeadless.bat\"",
"path": "\"C:\\Program Files\\ghidra_10.1.5_PUBLIC\\support\\analyzeHeadless.bat\"",
"spawnargs": [
"C:\\Users\\yixin\\AppData\\Local\\Temp\\tmp-56784-WSVeXLwz8yco",
"vscode-decompiler",
"-import",
"c:\\Users\\yixin\\code\\C\\220907\\sumof1to100.exe",
"-scriptPath",
"c:\\Users\\yixin\\.vscode\\extensions\\tintinweb.vscode-decompiler-0.1.0\\scripts",
"-postScript",
"c:\\Users\\yixin\\.vscode\\extensions\\tintinweb.vscode-decompiler-0.1.0\\scripts\\ghidra_decompile.py",
"C:\\Users\\yixin\\AppData\\Local\\Temp\\tmp-56784-u23w3HbLeEDi"
]
},
"type": "single",
"err": "tool returned non-zero exit code"
}
Thanks for any assistance you can provide
Two things to double-check:
- You need Python3 installed system-wide and in the path (a user install in the user path might work - haven't tried)
- It is my experience that it cannot handle spaces or parentheses in the file paths