()
Breaks at the next syscall by taking branches.
Breaks at the next syscall by taking branches.
Breaks at the next syscall by taking branches .
def stepsyscall():
    """
    Breaks at the next syscall by taking branches.
    """
    while pwndbg.proc.alive and not pwndbg.next.break_next_interrupt() and pwndbg.next.break_next_branch():
        # Here we are e.g. on a CALL instruction (temporarily breakpointed by `break_next_branch`)
        # We need to step so that we take this branch instead of ignoring it
        gdb.execute('si')
        continue

    if pwndbg.proc.alive:
        pwndbg.commands.context.context()
def stepsyscall ( ) : while pwndbg . proc . alive and not pwndbg . next . break_next_interrupt ( ) and pwndbg . next . break_next_branch ( ) : # Here we are e.g. on a CALL instruction (temporarily breakpointed by `break_next_branch`) # We need to step so that we take this branch instead of ignoring it gdb . execute ( 'si' ) continue if pwndbg . proc . alive : pwndbg . commands . context . context ( )