From 79d44edd372e940fd08686c00758466e8b3201b6 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 16 Jul 2020 11:17:29 +0100 Subject: [PATCH] Automagic: Don't hide errors from manual stacker setting --- volatility/framework/automagic/stacker.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/volatility/framework/automagic/stacker.py b/volatility/framework/automagic/stacker.py index 3ccbe18ca..7b4bb6fe2 100644 --- a/volatility/framework/automagic/stacker.py +++ b/volatility/framework/automagic/stacker.py @@ -151,9 +151,6 @@ class LayerStacker(interfaces.automagic.AutomagicInterface): # Repeatedly apply "determine what this is" code and build as much up as possible stacked = True stacked_layers = [initial_layer] - if not stack_set or not len(stack_set): - stack_set = sorted(framework.class_subclasses(interfaces.automagic.StackerLayerInterface), - key = lambda x: x.stack_order) for stacker in stack_set: if not issubclass(stacker, interfaces.automagic.StackerLayerInterface):