'From the given symbol, this function returns the corresponding
address. If name starts with a reserved prefix, the hexa string
is converted in decimal.'

def get_addr_from_symbol(self, name):

    ctx = self.__gctx.get_addr_context(name, quiet=True)
    if (ctx is None):
        return (-1)
    return ctx.entry
