Commit 38fafd66 authored by Sören Tempel's avatar Sören Tempel
Browse files

community/radare2: upgrade to 5.5.0

parent a0785eb0
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
# Contributor: Jose-Luis Rivas <ghostbar@riseup.net> # Contributor: Jose-Luis Rivas <ghostbar@riseup.net>
# Maintainer: Valery Kartel <valery.kartel@gmail.com> # Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=radare2 pkgname=radare2
pkgver=5.4.2 pkgver=5.5.0
pkgrel=1 pkgrel=0
pkgdesc="An opensource, crossplatform reverse engineering framework" pkgdesc="An opensource, crossplatform reverse engineering framework"
url="http://www.radare.org" url="http://www.radare.org"
arch="all !mips64" # build failures arch="all !mips64" # build failures
...@@ -15,7 +15,7 @@ makedepends="$depends_dev libzip-dev openssl1.1-compat-dev capstone-dev linux-he ...@@ -15,7 +15,7 @@ makedepends="$depends_dev libzip-dev openssl1.1-compat-dev capstone-dev linux-he
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-libs" subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-libs"
source="$pkgname-$pkgver.tar.gz::https://github.com/radare/radare2/archive/$pkgver.tar.gz source="$pkgname-$pkgver.tar.gz::https://github.com/radare/radare2/archive/$pkgver.tar.gz
string-header-build-fix.patch string-header-build-fix.patch
riscv64.patch" capstone4.patch"
# secfixes: # secfixes:
# 4.5.0-r0: # 4.5.0-r0:
...@@ -48,7 +48,7 @@ package() { ...@@ -48,7 +48,7 @@ package() {
} }
sha512sums=" sha512sums="
238d36489be6cdd9a59fe2af61f78fb2b9cd48f0529d5023b64b040f3a79ef3712119a9a120603c766a2eef027562032fb500173f8b4be21242559662fda2a9f radare2-5.4.2.tar.gz a5a6a8b1c88fd01a4920e1bac15b853afdf23701229cd13789962682208ee6fa727c04acb5ee4fc54dd55a99016a68332fd4586c01ff69596b6abf461a7eb665 radare2-5.5.0.tar.gz
5e60a1112a10cdd6a31374ba9b564d6522a37086380cf74b7232e32fb700ae1b2f68edbc0726ebedcc31d4789bc4f89525f117f25dac3609c60a75d471e49c85 string-header-build-fix.patch 5e60a1112a10cdd6a31374ba9b564d6522a37086380cf74b7232e32fb700ae1b2f68edbc0726ebedcc31d4789bc4f89525f117f25dac3609c60a75d471e49c85 string-header-build-fix.patch
a7711df243db82dbe1fcd9b8cdb0be1f20a765effea0c0cccadf207f294612ce1b0c5af524b1d87044764c8f40f630c79455a59af18ad177d5451671998bd1cf riscv64.patch f0463c798345ee8cb776fd6b8b5a185c5c7300882b6619340c9264bcdc30a0f2a7700961f6b6100893db734ab8b0f352f6a5b6aac66992de860f9a062dab5648 capstone4.patch
" "
From 645835794b0013b52042d5762d98d03fcbf250f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sergi=20=C3=80lvarez=20i=20Capilla?= <pancake@nowsecure.com>
Date: Mon, 15 Nov 2021 18:10:04 +0100
Subject: [PATCH] arm64's NAND isnt supported in capstone4
---
libr/anal/p/anal_arm_cs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libr/anal/p/anal_arm_cs.c b/libr/anal/p/anal_arm_cs.c
index dbdfcafd898..307b3997486 100644
--- a/libr/anal/p/anal_arm_cs.c
+++ b/libr/anal/p/anal_arm_cs.c
@@ -1361,13 +1361,13 @@ static int analop64_esil(RAnal *a, RAnalOp *op, ut64 addr, const ut8 *buf, int l
case ARM64_INS_AND:
OPCALL("&");
break;
- case ARM64_INS_NAND:
- OPCALL_NEG("&");
- break;
case ARM64_INS_ORR:
OPCALL("|");
break;
#if CS_API_MAJOR > 4
+ case ARM64_INS_NAND:
+ OPCALL_NEG("&");
+ break;
case ARM64_INS_ADDS:
case ARM64_INS_ADCS:
OPCALL("+");
Update to a version which includes https://github.com/radareorg/vector35-arch-arm64/pull/1
--- radare2-5.4.2.orig/libr/asm/arch/arm/v35arm64/Makefile
+++ radare2-5.4.2/libr/asm/arch/arm/v35arm64/Makefile
@@ -17,7 +17,7 @@
.PHONY: all clean
-ARCH_ARM64_COMMIT=5837915960c2ce862a77c99a374abfb7d18a8534
+ARCH_ARM64_COMMIT=303d4145b9cc646435ec72d701dc387df837815d
$(ALIBS): arch-arm64
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment