From 3fc17f16bd4c28fec590bfd0532b6d593ce4b13e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 11 Apr 2018 09:25:47 +0100 Subject: [PATCH] Change the type for array of pointers to accept any object. --- volatility/framework/objects/utility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility/framework/objects/utility.py b/volatility/framework/objects/utility.py index 77c8c7910..716e065cb 100644 --- a/volatility/framework/objects/utility.py +++ b/volatility/framework/objects/utility.py @@ -29,7 +29,7 @@ def pointer_to_string(pointer: objects.Pointer, return char.cast("string", max_length = count, errors = errors) -def array_of_pointers(array: objects.Array, +def array_of_pointers(array: interfaces.objects.ObjectInterface, count: int, subtype: templates.ObjectTemplate = None, context: interfaces.context.ContextInterface = None) -> interfaces.objects.ObjectInterface: