Skip to content
This repository was archived by the owner on May 16, 2025. It is now read-only.

Commit 019b0f9

Browse files
committed
Linux - add file extraction support for 4.18-4.20
1 parent f44fe06 commit 019b0f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

volatility/plugins/linux/find_file.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,8 @@ def walk_xarray(self, inode, offset):
352352
def find_get_page(self, inode, offset):
353353
if hasattr(inode.i_mapping, "page_tree"):
354354
page = self.radix_tree_lookup_slot(inode.i_mapping.page_tree, offset)
355+
elif hasattr(inode.i_mapping.i_pages, "rnode"):
356+
page = self.radix_tree_lookup_slot(inode.i_mapping.i_pages, offset)
355357
else:
356358
page = self.walk_xarray(inode, offset)
357359

0 commit comments

Comments
 (0)