mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-13 05:07:38 +02:00
Rename functions in validity to avoid future member name collisions.
This commit is contained in:
@@ -19,10 +19,10 @@ class ObjectInterface(validity.ValidityRoutines):
|
||||
# Since objects are likely to be instantiated often,
|
||||
# we're only checking that context, offset and parent
|
||||
# Everything else may be wrong, but that will get caught later on
|
||||
self.type_check(context, context_module.ContextInterface)
|
||||
self.type_check(offset, int)
|
||||
self._type_check(context, context_module.ContextInterface)
|
||||
self._type_check(offset, int)
|
||||
if parent:
|
||||
self.type_check(parent, ObjectInterface)
|
||||
self._type_check(parent, ObjectInterface)
|
||||
|
||||
self._context = context
|
||||
self._parent = None if not parent else parent
|
||||
|
||||
Reference in New Issue
Block a user