From f34cd01b098591fb258bd55c9d9685dd11c77079 Mon Sep 17 00:00:00 2001 From: Michael Ligh Date: Wed, 6 Feb 2019 20:08:43 -0600 Subject: [PATCH] small style change for readability --- volatility/framework/plugins/windows/poolscanner.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/volatility/framework/plugins/windows/poolscanner.py b/volatility/framework/plugins/windows/poolscanner.py index 15a15432b..4b2c60689 100644 --- a/volatility/framework/plugins/windows/poolscanner.py +++ b/volatility/framework/plugins/windows/poolscanner.py @@ -149,13 +149,10 @@ class PoolScanner(plugins.PluginInterface): b'File', ]) - for result in self.generate_pool_scan(self.context, - self.config["primary"], - symbol_table, - constraints): - - constraint, mem_object, header = result - + for constraint, mem_object, header in self.generate_pool_scan(self.context, + self.config["primary"], + symbol_table, + constraints): # generate some type-specific info for sanity checking if constraint.object_type == "Process": name = mem_object.ImageFileName.cast(