mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-03 19:01:31 +00:00
Update capstone to use the new X86_PREFIX defines
This commit is contained in:
parent
9635ee8e5a
commit
8e8bf631bf
@ -41,11 +41,11 @@ static int analop(RAnal *a, RAnalOp *op, ut64 addr, const ut8 *buf, int len) {
|
||||
op->size = insn->size;
|
||||
op->prefix = 0;
|
||||
switch (insn->detail->x86.prefix[0]) {
|
||||
case 0xf2: // REPNE
|
||||
case X86_PREFIX_REPNE:
|
||||
op->prefix |= R_ANAL_OP_PREFIX_REPNE;
|
||||
case 0xf3: // REP
|
||||
case X86_PREFIX_REP:
|
||||
op->prefix |= R_ANAL_OP_PREFIX_REP;
|
||||
case 0xf0: // LOCK
|
||||
case X86_PREFIX_LOCK:
|
||||
op->prefix |= R_ANAL_OP_PREFIX_LOCK;
|
||||
}
|
||||
switch (insn->id) {
|
||||
|
@ -6,9 +6,9 @@ CS_VER=2.1.2
|
||||
CS_TAR=https://github.com/aquynh/capstone/archive/$(CS_VER).tar.gz
|
||||
CS_TAR=
|
||||
CS_URL=https://github.com/aquynh/capstone.git
|
||||
CS_UPD=20141016
|
||||
CS_UPD=20141020
|
||||
CS_BRA=next
|
||||
CS_TIP=ca686e18a5e811e1a6d8c0d1f5f7092706bda2e5
|
||||
CS_TIP=bc01e2caea5751130834928400ebba95053d2a1a
|
||||
|
||||
.PHONY: capstone-sync capstone-build all clean mrproper libgdbr
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user