From c8dee9f8274a63e5fcb58d81f13f9dfa28dcea8e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 4 Jan 2015 04:56:02 +0000 Subject: [PATCH] Remove the need for **magic from the intel translation layer. --- volatility/framework/layers/intel.py | 65 ++++++++++++---------------- 1 file changed, 28 insertions(+), 37 deletions(-) diff --git a/volatility/framework/layers/intel.py b/volatility/framework/layers/intel.py index d72eb1079..f694ced01 100644 --- a/volatility/framework/layers/intel.py +++ b/volatility/framework/layers/intel.py @@ -13,22 +13,22 @@ from volatility.framework import interfaces, exceptions class Intel(interfaces.layers.TranslationLayerInterface): """Translation Layer for the Intel IA32 memory mapping""" minimum_address = 0 + # All Intel address spaces work on 4096 byte pages + _page_size_in_bits = 12 + + # These can vary depending on the type of space + _entry_format = "