mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-10 11:47:38 +02:00
Fix up misnamed get_enum/has_enum.
This commit is contained in:
@@ -201,10 +201,10 @@ class Module(interfaces.context.ModuleInterface):
|
||||
|
||||
get_symbol = get_module_wrapper('get_symbol')
|
||||
get_type = get_module_wrapper('get_type')
|
||||
get_enum = get_module_wrapper('get_enum')
|
||||
get_enumeration = get_module_wrapper('get_enumeration')
|
||||
has_symbol = get_module_wrapper('has_symbol')
|
||||
has_type = get_module_wrapper('has_type')
|
||||
has_enum = get_module_wrapper('has_enum')
|
||||
has_enumeration = get_module_wrapper('has_enumeration')
|
||||
|
||||
|
||||
class SizedModule(Module):
|
||||
|
||||
@@ -153,7 +153,7 @@ class ModuleInterface(metaclass = ABCMeta):
|
||||
def get_symbol(self, name: str) -> 'interfaces.symbols.SymbolInterface':
|
||||
"""Returns a symbol from the module"""
|
||||
|
||||
def get_enum(self, name: str) -> 'interfaces.symbols.SymbolInterface':
|
||||
def get_enumeration(self, name: str) -> 'interfaces.symbols.SymbolInterface':
|
||||
"""Returns an enumeration from the module"""
|
||||
|
||||
def has_type(self, name: str) -> bool:
|
||||
@@ -162,5 +162,5 @@ class ModuleInterface(metaclass = ABCMeta):
|
||||
def has_symbol(self, name: str) -> bool:
|
||||
"""Determines whether a symbol is present in the module"""
|
||||
|
||||
def has_enum(self, name: str) -> bool:
|
||||
def has_enumeration(self, name: str) -> bool:
|
||||
"""Determines whether an enumeration is present in the module"""
|
||||
|
||||
Reference in New Issue
Block a user