From 84521c91d6da7409106c0f368b5842ec8e9cde6d Mon Sep 17 00:00:00 2001 From: pancake Date: Wed, 27 Aug 2014 03:51:57 +0200 Subject: [PATCH] Update capstone --- libr/anal/p/anal_sparc_cs.c | 3 --- libr/anal/p/anal_sysz.c | 3 --- libr/anal/p/anal_x86_cs.c | 3 --- libr/anal/p/anal_xcore_cs.c | 3 --- shlr/Makefile | 4 ++-- 5 files changed, 2 insertions(+), 14 deletions(-) diff --git a/libr/anal/p/anal_sparc_cs.c b/libr/anal/p/anal_sparc_cs.c index db86c66782..a0d92bd616 100644 --- a/libr/anal/p/anal_sparc_cs.c +++ b/libr/anal/p/anal_sparc_cs.c @@ -8,9 +8,6 @@ #if CS_API_MAJOR < 2 #error Old Capstone not supported #endif -#if CS_API_MINOR < 1 -#error Old Capstone not supported -#endif #define esilprintf(op, fmt, arg...) r_strbuf_setf (&op->esil, fmt, ##arg) #define INSOP(n) insn->detail->sparc.operands[n] diff --git a/libr/anal/p/anal_sysz.c b/libr/anal/p/anal_sysz.c index 80145df681..63bd30023c 100644 --- a/libr/anal/p/anal_sysz.c +++ b/libr/anal/p/anal_sysz.c @@ -10,9 +10,6 @@ #if CS_API_MAJOR < 2 #error Old Capstone not supported #endif -#if CS_API_MINOR < 1 -#error Old Capstone not supported -#endif #define esilprintf(op, fmt, arg...) r_strbuf_setf (&op->esil, fmt, ##arg) #define INSOP(n) insn->detail->sysz.operands[n] diff --git a/libr/anal/p/anal_x86_cs.c b/libr/anal/p/anal_x86_cs.c index 77d458d7f8..992ad1d7c4 100644 --- a/libr/anal/p/anal_x86_cs.c +++ b/libr/anal/p/anal_x86_cs.c @@ -8,9 +8,6 @@ #if CS_API_MAJOR < 2 #error Old Capstone not supported #endif -#if CS_API_MINOR < 1 -#error Old Capstone not supported -#endif #define esilprintf(op, fmt, arg...) r_strbuf_setf (&op->esil, fmt, ##arg) #define INSOP(n) insn->detail->x86.operands[n] diff --git a/libr/anal/p/anal_xcore_cs.c b/libr/anal/p/anal_xcore_cs.c index 7d4ba90e3b..b6542f6602 100644 --- a/libr/anal/p/anal_xcore_cs.c +++ b/libr/anal/p/anal_xcore_cs.c @@ -8,9 +8,6 @@ #if CS_API_MAJOR < 2 #error Old Capstone not supported #endif -#if CS_API_MINOR < 1 -#error Old Capstone not supported -#endif #define esilprintf(op, fmt, arg...) r_strbuf_setf (&op->esil, fmt, ##arg) #define INSOP(n) insn->detail->xcore.operands[n] diff --git a/shlr/Makefile b/shlr/Makefile index 1ca624eccd..18fd39ef29 100644 --- a/shlr/Makefile +++ b/shlr/Makefile @@ -6,11 +6,11 @@ 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=20140815 +CS_UPD=20140827 CS_BRA=v3 #CS_TIP=48eb7a661456ea7816e49bbb6736a2a84942ed94 #CS_TIP=590f23af543fe34a7d3979cda92b3587d3b2207f -CS_TIP=aa791a2f48383d024bcfbae1542f5f2d05b27642 +CS_TIP=8a429c25ff38f34766991c11e310f202b4b55a10 .PHONY: capstone-sync capstone-build all clean mrproper libgdbr