File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
volatility3/framework/plugins/linux Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,10 @@ def get_inodes(
283283 continue
284284
285285 # Inode already processed?
286+ # Store a primitive int (instead of the pointer value) to track
287+ # addresses we've already seen. Storing the full `objects.Pointer`
288+ # uses too much memory, and we don't need all of the information
289+ # that it contains.
286290 if int (root_inode_ptr ) in seen_inodes :
287291 continue
288292
@@ -319,6 +323,10 @@ def get_inodes(
319323 continue
320324
321325 # Inode already processed?
326+ # Store a primitive int (instead of the pointer value) to track
327+ # addresses we've already seen. Storing the full `objects.Pointer`
328+ # uses too much memory, and we don't need all of the information
329+ # that it contains.
322330 if int (file_inode_ptr ) in seen_inodes :
323331 continue
324332 seen_inodes .add (int (file_inode_ptr ))
You can’t perform that action at this time.
0 commit comments