MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / unhook

Method unhook

pydevd_attach_to_process/winappdbg/breakpoint.py:1394–1411  ·  view source on GitHub ↗

Removes the function hook at a given process and address. @see: L{hook} @warning: Do not call from an function hook callback. @type debug: L{Debug} @param debug: Debug object. @type pid: int @param pid: Process ID. @type addres

(self, debug, pid, address)

Source from the content-addressed store, hash-verified

1392 return debug.break_at(pid, address, self)
1393
1394 def unhook(self, debug, pid, address):
1395 """
1396 Removes the function hook at a given process and address.
1397
1398 @see: L{hook}
1399
1400 @warning: Do not call from an function hook callback.
1401
1402 @type debug: L{Debug}
1403 @param debug: Debug object.
1404
1405 @type pid: int
1406 @param pid: Process ID.
1407
1408 @type address: int
1409 @param address: Function address.
1410 """
1411 return debug.dont_break_at(pid, address)
1412
1413
1414class _Hook_i386(Hook):

Callers 2

unhookMethod · 0.45
__unhook_dllMethod · 0.45

Calls 1

dont_break_atMethod · 0.80

Tested by

no test coverage detected