Extract a symbol from an ELF file.

def extract_symbol_app(parser, _, args):  # pragma: no cover
    """
    Extract a symbol from an ELF file.
    """

    parser.add_argument('file', help='ELF file to extract a symbol from')
    parser.add_argument('symbol', help='the symbol to extract')
    args = parser.parse_args(args)
    return ELF(args.file).get_symbol(args.symbol).content