• Home
  • Raw
  • Download

Lines Matching refs:inter

729 static void update_pub_insn(cs_insn *pub, InternalInstruction *inter, uint8_t *prefixes)  in update_pub_insn()  argument
731 prefixes[0] = inter->prefix0; in update_pub_insn()
732 prefixes[1] = inter->prefix1; in update_pub_insn()
733 prefixes[2] = inter->prefix2; in update_pub_insn()
734 prefixes[3] = inter->prefix3; in update_pub_insn()
736 if (inter->vectorExtensionType != 0) in update_pub_insn()
737 memcpy(pub->detail->x86.opcode, inter->vectorExtensionPrefix, sizeof(pub->detail->x86.opcode)); in update_pub_insn()
739 if (inter->twoByteEscape) { in update_pub_insn()
740 if (inter->threeByteEscape) { in update_pub_insn()
741 pub->detail->x86.opcode[0] = inter->twoByteEscape; in update_pub_insn()
742 pub->detail->x86.opcode[1] = inter->threeByteEscape; in update_pub_insn()
743 pub->detail->x86.opcode[2] = inter->opcode; in update_pub_insn()
745 pub->detail->x86.opcode[0] = inter->twoByteEscape; in update_pub_insn()
746 pub->detail->x86.opcode[1] = inter->opcode; in update_pub_insn()
749 pub->detail->x86.opcode[0] = inter->opcode; in update_pub_insn()
753 pub->detail->x86.rex = inter->rexPrefix; in update_pub_insn()
755 pub->detail->x86.addr_size = inter->addressSize; in update_pub_insn()
757 pub->detail->x86.modrm = inter->orgModRM; in update_pub_insn()
758 pub->detail->x86.sib = inter->sib; in update_pub_insn()
759 pub->detail->x86.disp = inter->displacement; in update_pub_insn()
761 pub->detail->x86.sib_index = x86_map_sib_index(inter->sibIndex); in update_pub_insn()
762 pub->detail->x86.sib_scale = inter->sibScale; in update_pub_insn()
763 pub->detail->x86.sib_base = x86_map_sib_base(inter->sibBase); in update_pub_insn()