mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-11 09:05:33 +00:00
Fix ir* flag names
This commit is contained in:
parent
7e35c91f13
commit
1146525819
@ -914,9 +914,8 @@ static int bin_relocs(RCore *r, int mode, int va) {
|
||||
r_cons_printf ("0x%08"PFMT64x" %s\n", addr, reloc->import ? reloc->import->name : "");
|
||||
} else if (IS_MODE_RAD (mode)) {
|
||||
//char *reloc_name = get_reloc_name (reloc, addr);
|
||||
char *name = strdup (reloc->import ?
|
||||
reloc->import->name: "null");
|
||||
if (bin_demangle) {
|
||||
char *name = reloc->import ? strdup (reloc->import->name): NULL;
|
||||
if (name && bin_demangle) {
|
||||
char *mn = r_bin_demangle (r->bin->cur, NULL, name);
|
||||
if (mn) {
|
||||
free (name);
|
||||
@ -926,9 +925,7 @@ static int bin_relocs(RCore *r, int mode, int va) {
|
||||
if (name) {
|
||||
r_cons_printf ("f %s%s%s @ 0x%08"PFMT64x"\n",
|
||||
r->bin->prefix ? r->bin->prefix : "reloc.",
|
||||
r->bin->prefix ? "." : "",
|
||||
name,
|
||||
addr);
|
||||
r->bin->prefix ? "." : "", name, addr);
|
||||
free (name);
|
||||
}
|
||||
} else if (IS_MODE_JSON (mode)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user