mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-10 08:47:47 +08: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":
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user