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

Method _restore_breakpoints

windows/debug/debugger.py:286–293  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

284 return _setup_method(bp, target)
285
286 def _restore_breakpoints(self):
287 for bp in self._breakpoint_to_reput[self.current_thread.tid]:
288 if bp.type == HARDWARE_EXEC_BP:
289 raise NotImplementedError("Why is this here ? we use RF flags to pass HXBP")
290 restore = getattr(self, "_restore_breakpoint_" + bp.type)
291 restore(bp, self.current_process)
292 del self._breakpoint_to_reput[self.current_thread.tid][:]
293 return
294
295 def _setup_breakpoint_BP(self, bp, target):
296 if not isinstance(target, WinProcess):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected