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

Method step_over_and_wait

api/python/debuggercontroller.py:950–970  ·  view source on GitHub ↗

Perform a step over on the target. When the next instruction is not a call, execute the next instruction. When the next instruction is a call, complete the execution of the function and break at next instruction. The operation can be performed on an IL level specif

(self, il: binaryninja.FunctionGraphType =
                binaryninja.FunctionGraphType.NormalFunctionGraph)

Source from the content-addressed store, hash-verified

948 return DebugStopReason(dbgcore.BNDebuggerStepIntoAndWait(self.handle, il))
949
950 def step_over_and_wait(self, il: binaryninja.FunctionGraphType =
951 binaryninja.FunctionGraphType.NormalFunctionGraph) -> DebugStopReason:
952 """
953 Perform a step over on the target.
954
955 When the next instruction is not a call, execute the next instruction. When the next instruction is a call,
956 complete the execution of the function and break at next instruction.
957
958 The operation can be performed on an IL level specified by the ``il`` parameter, which then either executes the
959 next IL instruction, or completes the IL function. Note, the underlying operation is still performed at the
960 disassembly level because that is the only thing a debugger understands. The high-level operations are simulated
961 on top of the disassembly and analysis.
962
963 Some limitations are known with stepping over on IL.
964
965 The call is blocking and only returns when the target stops.
966
967 :param il: optional IL level to perform the operation at
968 :return: the reason for the stop
969 """
970 return DebugStopReason(dbgcore.BNDebuggerStepOverAndWait(self.handle, il))
971
972 def step_return_and_wait(self) -> DebugStopReason:
973 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected