Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-0: Fixing PyGhidra run config launch for newest Eclipse

Ryan Kurtzae16e34aef7b
diff --git a/Ghidra/Features/PyGhidra/src/main/py/src/pyghidra/launcher.py b/Ghidra/Features/PyGhidra/src/main/py/src/pyghidra/launcher.py
index e8a3ebee7e..a66118f9ab 100644
--- a/Ghidra/Features/PyGhidra/src/main/py/src/pyghidra/launcher.py
+++ b/Ghidra/Features/PyGhidra/src/main/py/src/pyghidra/launcher.py
@@ -252,6 +252,8 @@ class PyGhidraLauncher:
if "org.eclipse.jdt.launching.VM_ARGUMENTS" in line:
_, _, value = line.partition("value=")
value = value.removesuffix("/>")
+ if value.startswith('"') and value.endswith('"'):
+ value = value[1:-1]
return html.unescape(value).split()
raise Exception("org.eclipse.jdt.launching.VM_ARGUMENTS not found")