From 49b40eb30a31618630ac9106b171a4771f3594d7 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 15 Feb 2025 00:36:12 +0000 Subject: [PATCH] Make black happy --- volatility3/framework/plugins/windows/dumpfiles.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index 9ce9e3141..42f245800 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -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, )