From 2bbb3f7878bc230fca095d3d22a486d49996aba0 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 20 Dec 2018 15:44:54 +0000 Subject: [PATCH] Fix up issue identified by atcuno. --- volatility/framework/contexts/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility/framework/contexts/__init__.py b/volatility/framework/contexts/__init__.py index fc35624fa..a911ebeca 100644 --- a/volatility/framework/contexts/__init__.py +++ b/volatility/framework/contexts/__init__.py @@ -182,8 +182,9 @@ class Module(interfaces.context.ModuleInterface): if symbol.type is None: raise ValueError("Symbol {} has no associated type information".format(symbol.name)) type_arg = symbol.type + offset = symbol.address if not self._absolute_symbol_addresses: - offset = symbol.address + self._offset + offset += self._offset elif type_name is not None and offset is not None: self._check_type(type_name, str) self._check_type(offset, int)