Lines Matching defs:ins
159 struct insn ins;
173 ret = insn_decode(&ins, sec->data->d_buf + offset, maxlen,
180 insn->len = ins.length;
183 if (ins.vex_prefix.nbytes)
186 prefix = ins.prefixes.bytes[0];
188 op1 = ins.opcode.bytes[0];
189 op2 = ins.opcode.bytes[1];
190 op3 = ins.opcode.bytes[2];
192 if (ins.rex_prefix.nbytes) {
193 rex = ins.rex_prefix.bytes[0];
200 if (ins.modrm.nbytes) {
201 modrm = ins.modrm.bytes[0];
207 if (ins.sib.nbytes) {
208 sib = ins.sib.bytes[0];
286 imm = ins.immediate.value;
317 op->src.offset = ins.immediate.value;
364 op->dest.offset = ins.displacement.value;
397 op->dest.offset = ins.displacement.value;
410 op->dest.offset = ins.displacement.value;
427 op->src.offset = ins.displacement.value;
440 op->src.offset = ins.displacement.value;
474 op->src.offset = ins.displacement.value;
520 switch (insn_last_prefix_id(&ins)) {
561 if (ins.prefixes.nbytes == 1 &&
562 ins.prefixes.bytes[0] == 0xf2) {
632 if (ins.length == 3+4+4 && !strncmp(sec->name, ".init.text", 10)) {
713 if (has_notrack_prefix(&ins))
719 if (has_notrack_prefix(&ins))
742 if (ins.immediate.nbytes)
743 insn->immediate = ins.immediate.value;
744 else if (ins.displacement.nbytes)
745 insn->immediate = ins.displacement.value;