From d2730fc95f85b3a9c9e65de81493035226fb58de Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 13 Jan 2016 00:11:50 +0000 Subject: [PATCH] Ensure the swap_layer is optional for intel spaces. --- volatility/framework/layers/intel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility/framework/layers/intel.py b/volatility/framework/layers/intel.py index 59114dc24..1f0cf9700 100644 --- a/volatility/framework/layers/intel.py +++ b/volatility/framework/layers/intel.py @@ -17,7 +17,7 @@ class Intel(interfaces.layers.TranslationLayerInterface): "architecture": "ia32" } - def __init__(self, context, name, page_map_offset, memory_layer, swap_layer): + def __init__(self, context, name, page_map_offset, memory_layer, swap_layer = None): interfaces.layers.TranslationLayerInterface.__init__(self, context, name) self._base_layer = memory_layer self._page_map_offset = page_map_offset