Skip to content

Commit

Permalink
Show all flags in data refs, not just the first one
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed May 13, 2017
1 parent 02a905c commit ea27519
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libr/core/disasm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1963,8 +1963,10 @@ static bool ds_print_data_type(RDisasmState *ds, const ut8 *buf, int ib, int siz
}
}
}
RFlagItem *fi = r_flag_get_i (core->flags, n);
if (fi) {
const RList *flags = r_flag_get_list (core->flags, n);
RListIter *iter;
RFlagItem *fi;
r_list_foreach (flags, iter, fi) {
r_cons_printf (" ; %s", fi->name);
}
}
Expand Down

0 comments on commit ea27519

Please sign in to comment.