MCPcopy Create free account
hub / github.com/Vector35/debugger / delete_breakpoint

Method delete_breakpoint

api/python/debuggercontroller.py:1205–1219  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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 """

Callers 1

test_breakpointMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_breakpointMethod · 0.76