mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -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:
|
if "org.eclipse.jdt.launching.VM_ARGUMENTS" in line:
|
||||||
_, _, value = line.partition("value=")
|
_, _, value = line.partition("value=")
|
||||||
value = value.removesuffix("/>")
|
value = value.removesuffix("/>")
|
||||||
|
if value.startswith('"') and value.endswith('"'):
|
||||||
|
value = value[1:-1]
|
||||||
return html.unescape(value).split()
|
return html.unescape(value).split()
|
||||||
|
|
||||||
raise Exception("org.eclipse.jdt.launching.VM_ARGUMENTS not found")
|
raise Exception("org.eclipse.jdt.launching.VM_ARGUMENTS not found")
|
||||||
|
|||||||
Reference in New Issue
Block a user