From 3e79f0b14f3a0eb7db479299e1de522884272dad Mon Sep 17 00:00:00 2001 From: MatrixEditor Date: Thu, 18 Jan 2024 07:46:23 +0000 Subject: [PATCH] deploy: 5f1ba2d327369e8a1f0ca02a69b0c26401a5b69c --- _modules/umbrella/iterator.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 @@

Source code for umbrella.iterator

 
[docs] def _preload_context(self, **kwds) -> None: - """Prepares the internal context.""" - pass
+ """Prepares the internal context."""
@property @@ -545,7 +544,9 @@

Source code for umbrella.iterator

     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