Fix #1664 - Cross reference not found by capstone analysis
This commit is contained in:
parent
9bb64f1a4c
commit
68cbdcfe06
|
@ -175,6 +175,12 @@ static int analop(RAnal *a, RAnalOp *op, ut64 addr, const ut8 *buf, int len) {
|
|||
case X86_INS_PUSHAL:
|
||||
case X86_INS_PUSHF:
|
||||
op->type = R_ANAL_OP_TYPE_PUSH;
|
||||
switch (INSOP(0).type) {
|
||||
case X86_OP_IMM:
|
||||
op->ptr = INSOP(0).imm;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case X86_INS_LEAVE:
|
||||
case X86_INS_POP:
|
||||
|
|
|
@ -12,9 +12,9 @@ CC_AR=${ARCH2}-linux-android-ar -r ${LIBAR}
|
|||
endif
|
||||
ifeq (${NDK_ARCH},mips)
|
||||
# mips
|
||||
ARCH=mips
|
||||
RANLIB=${ARCH}-linux-android-ranlib
|
||||
CC_AR=${ARCH}-linux-android-ar -r ${LIBAR}
|
||||
ARCH2=mipsel
|
||||
RANLIB=${ARCH2}-linux-android-ranlib
|
||||
CC_AR=${ARCH2}-linux-android-ar -r ${LIBAR}
|
||||
endif
|
||||
|
||||
ifeq (${NDK_ARCH},arm)
|
||||
|
|
|
@ -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=20141110
|
||||
CS_UPD=20141111
|
||||
CS_BRA=next
|
||||
CS_TIP=1caeee48aa7a5ceec2d9dbba854beea6046ce622
|
||||
CS_TIP=b6f4c1da05a76cc349ff3df850a990ea666bbb89
|
||||
|
||||
.PHONY: capstone-sync capstone-build all clean mrproper libgdbr
|
||||
|
||||
|
|
Loading…
Reference in New Issue