mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-27 16:25:30 +00:00
Fix segoff regression in pie
This commit is contained in:
parent
37454c1dc1
commit
893f0b056e
@ -1131,8 +1131,8 @@ static int pdi(RCore *core, int nb_opcodes, int nb_bytes, int fmt) {
|
||||
} // do not show flags in pie
|
||||
}
|
||||
if (show_offset) {
|
||||
const int show_offseg = core->print->flags & R_PRINT_FLAGS_ADDRMOD;
|
||||
const int show_offdec = core->print->flags & R_PRINT_FLAGS_ADDRDEC;
|
||||
const int show_offseg = (core->print->flags & R_PRINT_FLAGS_SEGOFF) != 0;
|
||||
const int show_offdec = (core->print->flags & R_PRINT_FLAGS_ADDRDEC) != 0;
|
||||
ut64 at = core->offset + i;
|
||||
r_print_offset (core->print, at, 0, show_offseg, show_offdec, 0, NULL);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user