In ndisasm, the priority follows the order of instructions in insns.dat.
Other iflags could affect this mechanism when a proper instruction form
had a higher iflag bit set.
The preferred mask bits are now limited to vendor flags (Cyrix and AMD)
and other flags do not affect disassembler any more.
Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
static inline iflag_t _iflag_pfmask(const iflag_t *a)
{
- iflag_t r = (iflag_t) {
- .field[1] = a->field[1],
- .field[2] = a->field[2],
- };
+ iflag_t r;
+
+ memset(&r, 0, sizeof(r));
if (iflag_test(a, IF_CYRIX))
iflag_set(&r, IF_CYRIX);