(self)
| 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): |
no outgoing calls
no test coverage detected