R_API void r_anal_xrefs_load(RAnal *anal, const char *prjfile) { char *path, *db = r_str_dup_printf (R2_HOMEDIR"/rdb/%s.d/xrefs", prjfile); path = r_str_home (db); //eprintf ("Open (%s)\n", path); sdb_free (DB); DB = sdb_new (path, 0); sdb_aset (DB, "types", -1, "code"SDB_SS"data", 0); free (db); }
char* r_bin_java_get_version(RBinJavaObj* bin) { return r_str_dup_printf("0x%02x%02x 0x%02x%02x", bin->cf.major[1],bin->cf.major[0], bin->cf.minor[1],bin->cf.minor[0]); }