From ebadd4fbd68d1be440ee7b967b708a067220c8ab Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 3 Mar 2019 13:09:49 +0000 Subject: [PATCH] Remove redundant load of segments by the lime layer. --- volatility/framework/layers/lime.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility/framework/layers/lime.py b/volatility/framework/layers/lime.py index 837b1ce74..c4ed93f17 100644 --- a/volatility/framework/layers/lime.py +++ b/volatility/framework/layers/lime.py @@ -46,8 +46,7 @@ class LimeLayer(segmented.SegmentedLayer): def __init__(self, context: interfaces.context.ContextInterface, config_path: str, name: str) -> None: super().__init__(context, config_path, name) - # We must run this on creation in order to get the right min/maxaddr in case scanning is our first action - self._load_segments() + # The base class loads the segments on initialization, but otherwise this must to get the right min/max addresses def _load_segments(self) -> None: base_layer = self._context.memory[self._base_layer]