mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-07-30 07:18:37 -09:00
GP-0: Fixing PyGhidra run config launch for newest Eclipse
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user