We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62506ae commit 8b6ab44Copy full SHA for 8b6ab44
volatility3/framework/objects/utility.py
@@ -44,8 +44,9 @@ def array_of_pointers(
44
raise TypeError(
45
"Subtype must be a valid template (or string name of an object template)"
46
)
47
+ # We have to clone the pointer class, or we'll be defining the pointer subtype for all future pointers
48
subtype_pointer = context.symbol_space.get_type(
49
symbol_table + constants.BANG + "pointer"
- )
50
+ ).clone()
51
subtype_pointer.update_vol(subtype=subtype)
52
return array.cast("array", count=count, subtype=subtype_pointer)
0 commit comments