Delete a breakpoint The input can be either an absolute address, or a ModuleNameAndOffset, which specifies a relative address to the start of a module. The latter is useful for ASLR. :param address: the address of breakpoint to delete
(self, address)
| 1203 | return result |
| 1204 | |
| 1205 | def delete_breakpoint(self, address): |
| 1206 | """ |
| 1207 | Delete a breakpoint |
| 1208 | |
| 1209 | The input can be either an absolute address, or a ModuleNameAndOffset, which specifies a relative address to the |
| 1210 | start of a module. The latter is useful for ASLR. |
| 1211 | |
| 1212 | :param address: the address of breakpoint to delete |
| 1213 | """ |
| 1214 | if isinstance(address, int): |
| 1215 | dbgcore.BNDebuggerDeleteAbsoluteBreakpoint(self.handle, address) |
| 1216 | elif isinstance(address, ModuleNameAndOffset): |
| 1217 | dbgcore.BNDebuggerDeleteRelativeBreakpoint(self.handle, address.module, address.offset) |
| 1218 | else: |
| 1219 | raise NotImplementedError |
| 1220 | |
| 1221 | def add_breakpoint(self, address): |
| 1222 | """ |
no outgoing calls