diff --git a/libIRDB/src/core/decode_cs.cpp b/libIRDB/src/core/decode_cs.cpp index 9cd0e6a6fe2cc29131750ec52b7b9814688d49e4..ff59991ca9ac738619cef8580e790ec5e61e1d6c 100644 --- a/libIRDB/src/core/decode_cs.cpp +++ b/libIRDB/src/core/decode_cs.cpp @@ -154,7 +154,14 @@ void DecodedInstructionCapstone_t::Disassemble(const virtual_offset_t start_addr if(string(insn->mnemonic)=="fcompi") strcpy(insn->mnemonic, "fcomip"); // bad opcode out of capstone. - + else if(string(insn->mnemonic)=="movsq") + strcpy(insn->op_str, ""); // force into MOVS + else if(string(insn->mnemonic)=="movsd") + strcpy(insn->op_str, ""); // force into MOVS + else if(string(insn->mnemonic)=="movsw") + strcpy(insn->op_str, ""); // force into MOVS + else if(string(insn->mnemonic)=="movsb") + strcpy(insn->op_str, ""); // force into MOVS const auto cs_freer=[](cs_insn * insn) -> void {