static void filter_classes(RzBinFile *bf, RzList *list) {
	HtPU *db = ht_pu_new0();
	HtPP *ht = ht_pp_new0();
	RzListIter *iter, *iter2;
	RzBinClass *cls;
	RzBinSymbol *sym;
	rz_list_foreach (list, iter, cls) {
		if (!cls->name) {
			continue;
		}
		int namepad_len = strlen(cls->name) + 32;
		char *namepad = malloc(namepad_len + 1);
		if (!namepad) {
			RZ_LOG_ERROR("Cannot allocate %d byte(s)\n", namepad_len);
			break;
		}

		strcpy(namepad, cls->name);
		char *p = rz_bin_filter_name(bf, db, cls->index, namepad);
		if (p) {
			namepad = p;
		}
		free(cls->name);
		cls->name = namepad;
		rz_list_foreach (cls->methods, iter2, sym) {
			if (sym->name) {
				rz_bin_filter_sym(bf, ht, sym->vaddr, sym);
			}
		}
	}
	ht_pu_free(db);
	ht_pp_free(ht);
}
static void filter_classes(RzBinFile *bf, RzList *list) {
	HtPU *db = ht_pu_new0();
	HtPP *ht = ht_pp_new0();
	RzListIter *iter, *iter2;
	RzBinClass *cls;
	RzBinSymbol *sym;
	rz_list_foreach (list, iter, cls) {
		if (!cls->name) {
			continue;
		}
		int namepad_len = strlen(cls->name) + 32;
		char *namepad = malloc(namepad_len + 1);
		if (!namepad) {
			RZ_LOG_ERROR("Cannot allocate %d byte(s)\n", namepad_len);
			break;
		}

		strcpy(namepad, cls->name);
		char *p = rz_bin_filter_name(bf, db, cls->index, namepad);
		if (p) {
			namepad = p;
		}
		free(cls->name);
		cls->name = namepad;
		rz_list_foreach (cls->methods, iter2, sym) {
			if (sym->name) {
				rz_bin_filter_sym(bf, ht, sym->vaddr, sym);
			}
		}
	}
	ht_pu_free(db);
	ht_pp_free(ht);
}