Checks whether a breakpoint exists at the specified address 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
(self, address)
| 1235 | raise NotImplementedError |
| 1236 | |
| 1237 | def has_breakpoint(self, address) -> bool: |
| 1238 | """ |
| 1239 | Checks whether a breakpoint exists at the specified address |
| 1240 | |
| 1241 | The input can be either an absolute address, or a ModuleNameAndOffset, which specifies a relative address to the |
| 1242 | start of a module. The latter is useful for ASLR. |
| 1243 | |
| 1244 | :param address: the address of breakpoint to query |
| 1245 | """ |
| 1246 | if isinstance(address, int): |
| 1247 | return dbgcore.BNDebuggerContainsAbsoluteBreakpoint(self.handle, address) |
| 1248 | elif isinstance(address, ModuleNameAndOffset): |
| 1249 | return dbgcore.BNDebuggerContainsRelativeBreakpoint(self.handle, address.module, address.offset) |
| 1250 | else: |
| 1251 | raise NotImplementedError |
| 1252 | |
| 1253 | @property |
| 1254 | def ip(self) -> int: |
nothing calls this directly
no outgoing calls
no test coverage detected