MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / get_teb

Method get_teb

pydevd_attach_to_process/winappdbg/thread.py:907–916  ·  view source on GitHub ↗

Returns a copy of the TEB. To dereference pointers in it call L{Process.read_structure}. @rtype: L{TEB} @return: TEB structure. @raise WindowsError: An exception is raised on error.

(self)

Source from the content-addressed store, hash-verified

905 )
906
907 def get_teb(self):
908 """
909 Returns a copy of the TEB.
910 To dereference pointers in it call L{Process.read_structure}.
911
912 @rtype: L{TEB}
913 @return: TEB structure.
914 @raise WindowsError: An exception is raised on error.
915 """
916 return self.get_process().read_structure(self.get_teb_address(), win32.TEB)
917
918 def get_teb_address(self):
919 """

Callers 2

get_stack_rangeMethod · 0.95
__add_created_threadMethod · 0.45

Calls 3

get_processMethod · 0.95
get_teb_addressMethod · 0.95
read_structureMethod · 0.80

Tested by

no test coverage detected