Fix CurrentThread.teb_base being a property and not a fixedproperty

This commit is contained in:
hakril
2025-02-01 14:22:02 +01:00
parent 54be297828
commit d7cf3e0f8b
+1 -1
View File
@@ -584,7 +584,7 @@ class CurrentThread(Thread):
"""
return winproxy.GetCurrentThreadId()
@utils.fixedproperty
@property #It's not a fixedproperty because executing thread might change
def teb_base(self):
get_teb_base_code = self.get_teb_code_by_bitness[self.owner.bitness]
return self.owner.execute(get_teb_base_code)