static ut64 impaddr(RBin *bin, int va, const char *name) {
	char *impname;
	RList *symbols;
	RBinSymbol *s;

	if (!name || !*name) {
		return false;
	}
	if (!(symbols = r_bin_get_symbols (bin))) {
		return false;
	}
	impname = sdb_fmt (2, "imp.%s", name);
	s = get_symbol (bin, symbols, impname, 0LL);
	if (s) {
		if (va) {
			return r_bin_get_vaddr (bin, s->paddr, s->vaddr);
		}
		return s->paddr;
	}
	return 0LL;
}
static ut64 impaddr(RBin *bin, int va, const char *name) {
	char *impname;
	RList *symbols;
	RBinSymbol *s;

	if (!name || !*name) {
		return false;
	}
	if (!(symbols = r_bin_get_symbols (bin))) {
		return false;
	}
	impname = sdb_fmt (2, "imp.%s", name);
	s = get_symbol (bin, symbols, impname, 0LL);
	if (s) {
		if (va) {
			return r_bin_get_vaddr (bin, s->paddr, s->vaddr);
		}
		return s->paddr;
	}
	return 0LL;
}