Closed oyedejioyewole closed 4 years ago
Hi @LokotamaTheMastermind,
analyzeHeadless.bat
once and check if it is missing something (e.g. the JDK is not in path or something else). if it runs fine and prints its usage you're all set.analyzeHeadless.bat
in code -> preferences -> settings -> vscode.decompile.ghidra.path
.exe
) and select decompile
. note: I've seen some issues with node not being able to execute binaries that have spaces in their path. You might want to place ghidra or the target binary in a dir that does not contain spaces (same goes for filenames; avoid spaces; it's dirty anyway :p). Need to investigate this at some point.
note: Use the OS native path delimiter. Your screenshot show's that you've added the path with forward slashes and this might not be valid. use backslashes on windows: C:\Path Applications\Ghidra-9.1.2\support\analyzeHeadless.bat
likely the same issue as #6 - closing.
Setup
I installed everything but I am still not yet sure its correct
Please show me how to install and setup the extension for using ghidra on windows 10, and how to use it on visual studio code.
Alt + F + P + S
= Settings = vscode.decompile.ghidra.pathC:/Path Applications/Ghidra-9.1.2/support/analyzeHeadless.bat
https://user-images.githubusercontent.com/57059138/82381546-4ecf5e80-9a22-11ea-94c6-62ca5c7b0261.png