MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / NewCurrentException

Method NewCurrentException

windows/debug/localdbg.py:57–66  ·  view source on GitHub ↗
(self, exc)

Source from the content-addressed store, hash-verified

55
56 @contextmanager
57 def NewCurrentException(self, exc):
58 try:
59 self.exceptions_stack.append(exc)
60 self.current_exception = exc
61 self.veh_depth += 1
62 yield exc
63 finally:
64 self.exceptions_stack.pop()
65 self.current_exception = self.exceptions_stack[-1]
66 self.veh_depth -= 1
67
68 def get_exception_code(self):
69 """Return ExceptionCode of current exception"""

Callers 3

callbackMethod · 0.95
setup_hxbp_callbackMethod · 0.95
remove_hxbp_callbackMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected