Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-0: #@^%@ python indentation

d-millar1ec649869c4a
diff --git a/Ghidra/Debug/Debugger-agent-drgn/src/main/py/src/ghidradrgn/commands.py b/Ghidra/Debug/Debugger-agent-drgn/src/main/py/src/ghidradrgn/commands.py
index 85eff127a1..cf22128a8b 100644
--- a/Ghidra/Debug/Debugger-agent-drgn/src/main/py/src/ghidradrgn/commands.py
+++ b/Ghidra/Debug/Debugger-agent-drgn/src/main/py/src/ghidradrgn/commands.py
@@ -272,10 +272,10 @@ def ghidra_trace_create(start_trace: bool = True) -> None:
elif kind == "coredump":
img = os.getenv('OPT_TARGET_IMG')
if img is None:
- return
+ return
prog.set_core_dump(img)
if '/' in img:
- img = img[img.rindex('/')+1:]
+ img = img[img.rindex('/')+1:]
else:
pid = os.getenv('OPT_TARGET_PID')
if pid is not None: