(name)
return result
Evaluate ida.LocByName() on the supplied value.
Evaluate ida.LocByName() on the supplied value.
Evaluate ida . LocByName () on the supplied value .
def ida(name):

    """Evaluate ida.LocByName() on the supplied value."""
    name = name.string()
    result = pwndbg.ida.LocByName(name)

    if 0xffffe000 <= result <= 0xffffffff or 0xffffffffffffe000 <= result <= 0xffffffffffffffff:
        raise ValueError("ida.LocByName(%r) == BADADDR" % name)

    return result
def ida ( name ) : name = name . string ( ) result = pwndbg . ida . LocByName ( name ) if 0xffffe000 <= result <= 0xffffffff or 0xffffffffffffe000 <= result <= 0xffffffffffffffff : raise ValueError ( "ida.LocByName(%r) == BADADDR" % name ) return result