(address=None)
return None
If there is a syscall in the current basic black,
    return the instruction of the one closest to $PC.

    Otherwise, return None.
If there is a syscall in the current basic black,
    return the instruction of the one closest to $PC.
If there is a syscall in the current basic black return the instruction of the one closest to $PC .
def next_int(address=None):
    """
    If there is a syscall in the current basic black,
    return the instruction of the one closest to $PC.

    Otherwise, return None.
    """
    if address is None:
        ins = pwndbg.disasm.one(pwndbg.regs.pc)
        if not ins:
            return None
        address = ins.next

    ins = pwndbg.disasm.one(address)
    while ins:
        if set(ins.groups) & jumps:
            return None
        if set(ins.groups) & interrupts:
            return ins
        ins = pwndbg.disasm.one(ins.next)

    return None
def next_int ( address = None ) : if address is None : ins = pwndbg . disasm . one ( pwndbg . regs . pc ) if not ins : return None address = ins . next ins = pwndbg . disasm . one ( address ) while ins : if set ( ins . groups ) & jumps : return None if set ( ins . groups ) & interrupts : return ins ins = pwndbg . disasm . one ( ins . next ) return None