diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-08-11 08:52:17 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-08-11 08:52:28 +0100 |
commit | e299215e94b8d6878fd12cea426083ab22c05f81 (patch) | |
tree | b59327e63757368ed9b94d59d69fbf25c29fee93 /app-forensics/honggfuzz/files | |
parent | net-libs/libsoup: version bump 2.56.0 → 2.56.1, bug #627466 (diff) | |
download | gentoo-e299215e94b8d6878fd12cea426083ab22c05f81.tar.gz gentoo-e299215e94b8d6878fd12cea426083ab22c05f81.tar.bz2 gentoo-e299215e94b8d6878fd12cea426083ab22c05f81.zip |
app-forensics/honggfuzz: adapt to binutils-2.29 API change
disassembler() function got more parameters:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=003ca0fd22863aaf1a9811c8a35a0133a2d27fb1
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'app-forensics/honggfuzz/files')
-rw-r--r-- | app-forensics/honggfuzz/files/honggfuzz-1.1-binutils-2.29.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-forensics/honggfuzz/files/honggfuzz-1.1-binutils-2.29.patch b/app-forensics/honggfuzz/files/honggfuzz-1.1-binutils-2.29.patch new file mode 100644 index 000000000000..31a57784ed8f --- /dev/null +++ b/app-forensics/honggfuzz/files/honggfuzz-1.1-binutils-2.29.patch @@ -0,0 +1,11 @@ +Adapt to binutils-2.29 API change caused by +https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=003ca0fd22863aaf1a9811c8a35a0133a2d27fb1 +diff --git a/linux/bfd.c b/linux/bfd.c +index bcd247f..e9e16ab 100644 +--- a/linux/bfd.c ++++ b/linux/bfd.c +@@ -163,3 +163,3 @@ void arch_bfdDisasm(pid_t pid, uint8_t * mem, size_t size, char *instr) + +- disassembler_ftype disassemble = disassembler(bfdh); ++ disassembler_ftype disassemble = disassembler(bfd_get_arch(bfdh), bfd_little_endian(bfdh), bfd_get_mach(bfdh), bfdh); + if (disassemble == NULL) { |