diff --git a/_modules/umbrella/iterator.html b/_modules/umbrella/iterator.html index ac60e4c..5d213ac 100644 --- a/_modules/umbrella/iterator.html +++ b/_modules/umbrella/iterator.html @@ -478,8 +478,7 @@
+ """Prepares the internal context."""
kind: str # section name
struct: t.Type[E] # the struct's type
- def __init__(self, runtime: Runtime, pointer_ty: cs.Construct = None, **kwds) -> None:
+ def __init__(
+ self, runtime: Runtime, pointer_ty: cs.Construct = None, **kwds
+ ) -> None:
self._pointer_type = pointer_ty or cs.Int64ul
super().__init__(runtime)
@@ -584,7 +585,7 @@ Source code for umbrella.iterator
def _load_at(self, address: int, parent_address=0) -> E:
# Just uses the runtime to parse the struct
- return self.runtime.read_struct(self.struct, address)
+ return self.runtime.read_struct(self.struct, address, fix=True)
def _address_of(self, pos: int) -> int:
# NOTE: this function uses assumes absolute pointers by default