summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorFlorian Franzmann2020-07-24 19:01:43 +0200
committerFlorian Franzmann2020-07-24 20:42:12 +0200
commite922dfd474df52fa9469b2badf6a805d1087c1ef (patch)
tree8ace91c0b2206a15eb12c52eaa31bdbca6bded84 /security
parent7e17c4b4c0e477674ecfcfbb520674bfa97f341d (diff)
security/honggfuzz: version 2.3.1
Diffstat (limited to 'security')
-rw-r--r--security/honggfuzz/0001-Fix-build-against-binutils-2.34.patch36
-rwxr-xr-xsecurity/honggfuzz/DETAILS4
-rw-r--r--security/honggfuzz/HISTORY4
-rwxr-xr-xsecurity/honggfuzz/PRE_BUILD5
4 files changed, 6 insertions, 43 deletions
diff --git a/security/honggfuzz/0001-Fix-build-against-binutils-2.34.patch b/security/honggfuzz/0001-Fix-build-against-binutils-2.34.patch
deleted file mode 100644
index 5a1b7b042b..0000000000
--- a/security/honggfuzz/0001-Fix-build-against-binutils-2.34.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 725fdb8ababac4b71dc9ef9b514f8013c69066be Mon Sep 17 00:00:00 2001
-From: Florian Franzmann <bwlf@bandrate.org>
-Date: Wed, 5 Feb 2020 19:24:42 +0100
-Subject: [PATCH] Fix build against binutils 2.34
-
----
- linux/bfd.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/linux/bfd.c b/linux/bfd.c
-index b387d40..192b66f 100644
---- a/linux/bfd.c
-+++ b/linux/bfd.c
-@@ -122,8 +122,8 @@ void arch_bfdDemangle(funcs_t* funcs, size_t funcCnt) {
-
- static struct bfd_section* arch_getSectionForPc(bfd* bfdh, uint64_t pc) {
- for (struct bfd_section* section = bfdh->sections; section; section = section->next) {
-- uintptr_t vma = (uintptr_t)bfd_get_section_vma(bfdh, section);
-- uintptr_t sz = (uintptr_t)bfd_get_section_size(section);
-+ uintptr_t vma = (uintptr_t)bfd_section_vma(section);
-+ uintptr_t sz = (uintptr_t)bfd_section_size(section);
- if ((pc > vma) && (pc < (vma + sz))) {
- return section;
- }
-@@ -160,7 +160,7 @@ void arch_bfdResolveSyms(pid_t pid, funcs_t* funcs, size_t num) {
- continue;
- }
-
-- long sec_offset = (long)funcs[i].pc - bfd_get_section_vma(bfdParams.bfdh, section);
-+ long sec_offset = (long)funcs[i].pc - bfd_section_vma(section);
-
- if (bfd_find_nearest_line(
- bfdParams.bfdh, section, bfdParams.syms, sec_offset, &file, &func, &line) == TRUE) {
---
-2.25.0
-
diff --git a/security/honggfuzz/DETAILS b/security/honggfuzz/DETAILS
index bb024f895b..76daca405c 100755
--- a/security/honggfuzz/DETAILS
+++ b/security/honggfuzz/DETAILS
@@ -1,8 +1,8 @@
SPELL=honggfuzz
- VERSION=2.2
+ VERSION=2.3.1
SOURCE="$SPELL-$VERSION.tar.gz"
SOURCE_URL[0]=https://github.com/google/${SPELL}/archive/${VERSION}.tar.gz
- SOURCE_HASH=sha512:8e6a0cf027d521967a69828afa6e0ae5306ad7387c595405f9d3151344e2aa91f9537355fafdf03f06e6702014e2faa0609c3d249f22af5793663f3c9d09180d
+ SOURCE_HASH=sha512:36b3182a0075289467c385b5e03f881fd20193b938dfcec6e364f502637ffc797b6b8ddaddbc5851c4482758088e40eee1e4ca2850bff0294c04c04a036359bf
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
WEB_SITE="http://honggfuzz.com/"
LICENSE[0]=Apache
diff --git a/security/honggfuzz/HISTORY b/security/honggfuzz/HISTORY
index c943e76ff4..d5b32f303d 100644
--- a/security/honggfuzz/HISTORY
+++ b/security/honggfuzz/HISTORY
@@ -1,3 +1,7 @@
+2020-07-24 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
+ * DETAILS: version 2.3.1
+ * 0001-Fix-build-against-binutils-2.34.patch, PRE_BUILD: removed
+
2020-04-25 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 2.2
diff --git a/security/honggfuzz/PRE_BUILD b/security/honggfuzz/PRE_BUILD
deleted file mode 100755
index 75756a658a..0000000000
--- a/security/honggfuzz/PRE_BUILD
+++ /dev/null
@@ -1,5 +0,0 @@
-default_pre_build &&
-cd "$SOURCE_DIRECTORY" &&
-
-patch -p1 < "$SPELL_DIRECTORY/0001-Fix-build-against-binutils-2.34.patch"
-