Commit Graph

5 Commits

Author SHA1 Message Date
Nguyen Anh Quynh 228ec96de5 x86: LEA instruction should not access the second operand. bug reported by @chaplja 2015-03-30 08:24:12 +08:00
Nguyen Anh Quynh efffe787d1 Add new API and start to provide access information for instruction operands
- New API cs_regs_access() that provide registers being read & modified by instruction

- New field cs_x86_op.access provides access info (READ, WRITE) for each operand

- New field cs_x86.eflags provides EFLAGS affected by instruction

- Extend cs_detail.{regs_read, regs_write} from uint8_t to uint16_t type
2015-03-25 15:02:13 +08:00
Nguyen Anh Quynh 5e5b1f5366 core: rename operand access symbols from CS_OP_* to CS_AC_* 2015-03-23 00:09:20 +08:00
Nguyen Anh Quynh 5b93f59afe x86: more fix for lots of OP_NOREG in insn_ops[]. also renamed it to OP_IGNORE 2015-03-21 01:35:14 +08:00
Nguyen Anh Quynh 8bb1f04bb8 x86: fix lots of issues with insn_op[], and move it to a separate file X86MappingInsnOp.inc 2015-03-20 17:18:01 +08:00