Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions arch/PowerPC/PPCDisassembler.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,16 @@ static DecodeStatus getInstruction(MCInst *MI,
return result;
}

// failed to decode
MCInst_clear(MI);
} else if (MI->csh->mode & CS_MODE_PS) {
result = decodeInstruction_4(DecoderTablePS32, MI, insn, Address);
if (result != MCDisassembler_Fail) {
*Size = 4;

return result;
}

// failed to decode
MCInst_clear(MI);
}
Expand Down
7,512 changes: 3,854 additions & 3,658 deletions arch/PowerPC/PPCGenAsmWriter.inc

Large diffs are not rendered by default.

5,577 changes: 2,887 additions & 2,690 deletions arch/PowerPC/PPCGenDisassemblerTables.inc

Large diffs are not rendered by default.

Loading