mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-24 23:22:23 +02:00
Fix up issue identified by atcuno.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user