File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
volatility3/framework/objects Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 44
55import re
66
7- from typing import Optional , Union
7+ from typing import List , Optional , Union
88
99from volatility3 .framework import interfaces , objects , constants , exceptions
1010
@@ -260,7 +260,7 @@ def dynamically_sized_array_of_pointers(
260260 stop_value : int = 0 ,
261261 iterator_guard_value : int = None ,
262262 stop_on_invalid_pointers : bool = True ,
263- ) -> interfaces .objects .ObjectInterface :
263+ ) -> List [ interfaces .objects .ObjectInterface ] :
264264 """Iterates over a dynamically sized array of pointers (e.g. NULL-terminated).
265265
266266 Args:
@@ -272,6 +272,9 @@ def dynamically_sized_array_of_pointers(
272272 iterator_guard_value: Stop iterating when the iterator index is greater than this value. This is an extra-safety against smearing.
273273 stop_on_invalid_pointers: Determines whether to stop iterating or not when an invalid pointer is encountered. This can be useful for arrays
274274 that are known to have smeared entries before the end.
275+
276+ Returns:
277+ An array of pointer objects
275278 """
276279 pointer_type = context .symbol_space .get_type (
277280 symbol_table_name + constants .BANG + "pointer"
You can’t perform that action at this time.
0 commit comments