Skip to content

Commit

Permalink
Make black happy
Browse files Browse the repository at this point in the history
  • Loading branch information
atcuno committed Feb 15, 2025
1 parent 6babe15 commit 49b40eb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions volatility3/framework/plugins/windows/dumpfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,17 +322,19 @@ def _generator(self, procs: List, offsets: List):
elif offsets:
virtual_layer_name = kernel.layer_name

#FIXME - change this after standard access to physical layer
# FIXME - change this after standard access to physical layer
physical_layer_name = self.context.layers[virtual_layer_name].config[
"memory_layer"
]

# Now process any offsets explicitly requested by the user.
# Now process any offsets explicitly requested by the user.
for offset, is_virtual in offsets:
try:
file_obj = self.context.object(
kernel.symbol_table_name + constants.BANG + "_FILE_OBJECT",
layer_name=virtual_layer_name if is_virtual else physical_layer_name,
layer_name=(
virtual_layer_name if is_virtual else physical_layer_name
),
native_layer_name=virtual_layer_name,
offset=offset,
)
Expand Down

0 comments on commit 49b40eb

Please sign in to comment.