Skip to content

Commit c471707

Browse files
committed
create potential smear tag
1 parent 606323f commit c471707

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

volatility3/framework/symbols/linux/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface):
102102
_version = (2, 4, 0)
103103
_required_framework_version = (2, 0, 0)
104104
deleted = "<deleted>"
105+
smear = "<potentially smeared>"
105106

106107
framework.require_interface_version(*_required_framework_version)
107108

@@ -206,7 +207,7 @@ def do_get_path(cls, rdentry, rmnt, dentry, vfsmnt) -> Union[None, str]:
206207
# if there is smear the missing dname will be empty. e.g. if the normal
207208
# path would be /foo/bar/baz, but bar is missing due to smear the results
208209
# returned here will show /foo//baz. Note the // for the missing dname.
209-
return f"<potentially smeared> {path}"
210+
return f"{LinuxUtilities.smear} {path}"
210211

211212
if inode and inode.is_readable() and inode.is_valid() and inode.i_nlink == 0:
212213
path = f"{LinuxUtilities.deleted} {path}"

0 commit comments

Comments
 (0)