@rtype: tuple( int, int ) @return: Stack beginning and end pointers, in memory addresses order. That is, the first pointer is the stack top, and the second pointer is the stack bottom, since the stack grows towards lower memory addresses.
(self)
| 1063 | return win32.GetThreadWaitChain(hWct, ThreadId=self.get_tid()) |
| 1064 | |
| 1065 | def get_stack_range(self): |
| 1066 | """ |
| 1067 | @rtype: tuple( int, int ) |
| 1068 | @return: Stack beginning and end pointers, in memory addresses order. |
| 1069 | That is, the first pointer is the stack top, and the second pointer |
| 1070 | is the stack bottom, since the stack grows towards lower memory |
| 1071 | addresses. |
| 1072 | @raise WindowsError: Raises an exception on error. |
| 1073 | """ |
| 1074 | # TODO use teb.DeallocationStack too (max. possible stack size) |
| 1075 | teb = self.get_teb() |
| 1076 | tib = teb.NtTib |
| 1077 | return (tib.StackLimit, tib.StackBase) # top, bottom |
| 1078 | |
| 1079 | def __get_stack_trace(self, depth=16, bUseLabels=True, bMakePretty=True): |
| 1080 | """ |
no test coverage detected