mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-03 04:05:06 +00:00
Make patch in #9610 more consistent
This commit is contained in:
parent
5d27445fa1
commit
e1b85f623b
@ -3240,9 +3240,6 @@ static void ds_print_ptr(RDisasmState *ds, int len, int idx) {
|
||||
if (ref->type == R_ANAL_REF_TYPE_STRING || ref->type == R_ANAL_REF_TYPE_DATA) {
|
||||
if ((f = r_flag_get_i (core->flags, ref->addr))) {
|
||||
refaddr = ref->addr;
|
||||
if (p == UT64_MAX) {
|
||||
p = 0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -3260,7 +3257,7 @@ static void ds_print_ptr(RDisasmState *ds, int len, int idx) {
|
||||
bool flag_printed = false;
|
||||
bool refaddr_printed = false;
|
||||
bool string_printed = false;
|
||||
if (p == UT64_MAX) {
|
||||
if (refaddr == UT64_MAX) {
|
||||
/* do nothing */
|
||||
} else if (((st64)p) > 0 || ((st64)refaddr) > 0) {
|
||||
const char *kind;
|
||||
|
Loading…
x
Reference in New Issue
Block a user