mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-22 01:24:51 +02:00
remove code for next PR
This commit is contained in:
@@ -266,7 +266,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface):
|
||||
pre_name = name.dereference().cast(
|
||||
"string", max_length=255, errors="replace"
|
||||
)
|
||||
return f"{LinuxUtilities.deleted} /{pre_name}"
|
||||
return "/" + pre_name + " (deleted)"
|
||||
else:
|
||||
pre_name = ""
|
||||
|
||||
|
||||
@@ -1253,9 +1253,7 @@ class vm_area_struct(objects.StructType):
|
||||
|
||||
def _do_get_name(self, context, task) -> str:
|
||||
if self.vm_file != 0:
|
||||
fname = linux.LinuxUtilities.path_for_file(
|
||||
context, task, self.vm_file, files_only=False
|
||||
)
|
||||
fname = linux.LinuxUtilities.path_for_file(context, task, self.vm_file)
|
||||
elif self.vm_start <= task.mm.start_brk and self.vm_end >= task.mm.brk:
|
||||
fname = "[heap]"
|
||||
elif self.vm_start <= task.mm.start_stack <= self.vm_end:
|
||||
|
||||
Reference in New Issue
Block a user