mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-0: #@^%@ python indentation
This commit is contained in:
@@ -272,10 +272,10 @@ def ghidra_trace_create(start_trace: bool = True) -> None:
|
|||||||
elif kind == "coredump":
|
elif kind == "coredump":
|
||||||
img = os.getenv('OPT_TARGET_IMG')
|
img = os.getenv('OPT_TARGET_IMG')
|
||||||
if img is None:
|
if img is None:
|
||||||
return
|
return
|
||||||
prog.set_core_dump(img)
|
prog.set_core_dump(img)
|
||||||
if '/' in img:
|
if '/' in img:
|
||||||
img = img[img.rindex('/')+1:]
|
img = img[img.rindex('/')+1:]
|
||||||
else:
|
else:
|
||||||
pid = os.getenv('OPT_TARGET_PID')
|
pid = os.getenv('OPT_TARGET_PID')
|
||||||
if pid is not None:
|
if pid is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user