mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-11 04:07:39 +02:00
Revert the enumeration base/type change.
This commit is contained in:
@@ -388,7 +388,7 @@ class Version1Format(ISFormatTable):
|
||||
lookup = self._json_object['enums'].get(name, None)
|
||||
if not lookup:
|
||||
raise exceptions.SymbolSpaceError("Unknown enumeration: {}".format(name))
|
||||
result = {"choices": copy.deepcopy(lookup['constants']), "base_type": self.natives.get_type(lookup['type'])}
|
||||
result = {"choices": copy.deepcopy(lookup['constants']), "base_type": self.natives.get_type(lookup['base'])}
|
||||
return result
|
||||
|
||||
def get_enumeration(self, enum_name: str) -> interfaces.objects.Template:
|
||||
|
||||
Reference in New Issue
Block a user