Skip to content

Commit 28a72b8

Browse files
authored
Merge pull request #1802 from eve-mem/linux_lsof_smear_comment
Linux: Add comment for explaining the behaviour with smear
2 parents ff6de6e + 92eae9c commit 28a72b8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

volatility3/framework/symbols/linux/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def __init__(self, *args, **kwargs) -> None:
9999
class LinuxUtilities(interfaces.configuration.VersionableInterface):
100100
"""Class with multiple useful linux functions."""
101101

102-
_version = (2, 3, 0)
102+
_version = (2, 3, 1)
103103
_required_framework_version = (2, 0, 0)
104104

105105
framework.require_interface_version(*_required_framework_version)
@@ -200,6 +200,9 @@ def do_get_path(cls, rdentry, rmnt, dentry, vfsmnt) -> Union[None, str]:
200200

201201
path = "/" + "/".join(reversed(path_reversed))
202202
if smeared:
203+
# if there is smear the missing dname will be empty. e.g. if the normal
204+
# path would be /foo/bar/baz, but bar is missing due to smear the results
205+
# returned here will show /foo//baz. Note the // for the missing dname.
203206
return f"<potentially smeared> {path}"
204207
return path
205208

0 commit comments

Comments
 (0)