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

This commit is contained in:
Ryan Kurtz
2026-06-29 06:01:20 -04:00
parent e50340415e
commit ae16e34aef

View File

@@ -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")