Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions volatility3/cli/text_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
import sys
from functools import wraps
from typing import Any, Callable, Dict, List, Optional, Set, Tuple, TypeVar, Union
from volatility3.cli import text_filter

from volatility3.cli import text_filter
from volatility3.framework import exceptions, interfaces, renderers
from volatility3.framework.renderers import format_hints

Expand Down Expand Up @@ -598,7 +598,8 @@ def visitor(
if self.filter and self.filter.filter(line):
return accumulator

if node.parent:
# Only add if the parent hasn't been filtered out
if node.parent and node.parent.path in acc_map:
acc_map[node.parent.path]["__children"].append(node_dict)
else:
final_tree.append(node_dict)
Expand Down
Loading