'Get non-debugging symbol information from an ELF file
Usage:
MYNAME symbol_name'

def elfsymbol(self, *arg):

    (name,) = normalize_argv(arg, 1)
    if (not peda.getfile()):
        warning_msg('please    specify    a    file    to    debug')
        return
    result = peda.elfsymbol(name)
    if (len(result) == 0):
        msg(("'%s':    no    match    found" % (name if name else 'plt    symbols')))
    else:
        if (('%s@got' % name) not in result):
            msg(('Found    %d    symbols' % len(result)))
        else:
            msg('Detail    symbol    info')
        for (k, v) in sorted(result.items(), key=(lambda x: x[1])):
            msg(('%s    =    %s' % (k, (('0x%x' % v) if v else repr(v)))))
    return
