From c0dfe48c05f7aa64fd56633c1b236ab200a54c7a Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 13 Feb 2017 22:36:40 +0000 Subject: [PATCH] Remove configurability of architecture, the translation layer should define the architecture internally. --- volatility/framework/interfaces/layers.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility/framework/interfaces/layers.py b/volatility/framework/interfaces/layers.py index b79b1eeb9..476b0e9ac 100644 --- a/volatility/framework/interfaces/layers.py +++ b/volatility/framework/interfaces/layers.py @@ -75,10 +75,11 @@ class DataLayerInterface(configuration.ConfigurableInterface, validity.ValidityR """A Layer that directly holds data (and does not translate it). This is effectively a leaf node in a layer tree. It directly accesses a data source and exposes it within volatility.""" - def __init__(self, context, config_path, name, architecture = "Unknown", os = "Unknown"): + _architecture = "Unknown" + + def __init__(self, context, config_path, name, os = "Unknown"): super().__init__(context, config_path) self._name = self._check_type(name, str) - self._architecture = self._check_type(architecture, str) self._os = self._check_type(os, str) # Memory specific attributes