From 932662e45347398f4db510a3ecec5d3a62e6abbf Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 31 Dec 2014 21:04:39 +0000 Subject: [PATCH] Fix up refactoring of the get_structure method. --- volatility/framework/interfaces/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility/framework/interfaces/objects.py b/volatility/framework/interfaces/objects.py index c385d1d53..df00c3b0a 100644 --- a/volatility/framework/interfaces/objects.py +++ b/volatility/framework/interfaces/objects.py @@ -36,7 +36,7 @@ class ObjectInterface(validity.ValidityRoutines, metaclass = ABCMeta): def cast(self, new_structure_name): """Returns a new object at the offset and from the layer that the current object inhabits""" - object_template = self._context.symbol_space.resolve(new_structure_name) + object_template = self._context.symbol_space.get_structure(new_structure_name) return object_template(context = self._context, layer_name = self._layer_name, offset = self._offset) @classmethod