Linux: Improve debugging of pslist dump feature

This commit is contained in:
Mike Auty
2024-04-07 19:34:17 +01:00
parent a19dfb57a6
commit c1f239b8d2
2 changed files with 3 additions and 0 deletions
@@ -84,6 +84,7 @@ class Elfs(plugins.PluginInterface):
)
if not elf_object.is_valid():
vollog.debug("ELF object to be dumped is not valid")
return None
sections = {}
@@ -142,6 +142,8 @@ class PsList(interfaces.plugins.PluginInterface):
file_output = str(file_handle.preferred_filename)
file_handle.close()
break
else:
file_output = "VMA start matching task start_code not found"
return file_output
def _generator(