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

Method DisabledMemoryBreakpoint

windows/debug/debugger.py:1022–1029  ·  view source on GitHub ↗

A context-manager that disable all memory breakpoints and restore them on exit

(self, target=None)

Source from the content-addressed store, hash-verified

1020
1021 @contextmanager
1022 def DisabledMemoryBreakpoint(self, target=None):
1023 """A context-manager that disable all memory breakpoints and restore them on exit"""
1024 data = self.disable_all_memory_breakpoints(target)
1025 try:
1026 yield
1027 finally:
1028 if not self._killed_in_action():
1029 self.restore_all_memory_breakpoints(data, target)
1030
1031 def get_exception_bitness(self, exc):
1032 """Return the bitness in which the exception occured.

Callers 12

_dispatch_breakpointMethod · 0.95
_handle_exceptionMethod · 0.95
_handle_create_threadMethod · 0.95
_handle_exit_threadMethod · 0.95
_handle_load_dllMethod · 0.95
_handle_unload_dllMethod · 0.95
_handle_ripMethod · 0.95

Tested by

no test coverage detected