mirror of
https://github.com/zardus/ctf-tools
synced 2025-03-14 22:06:58 +00:00
added a patch to properly find a.out.h
This commit is contained in:
parent
92995db775
commit
e2b86ff870
2 changed files with 14 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
git clone https://github.com/codelion/pathgrind.git
|
||||
cd pathgrind
|
||||
patch -p1 < ../valgrind-libc.patch
|
||||
git apply ../pathgrind.patch
|
||||
./install.sh
|
||||
chmod 755 fuzz/fuzz.py fuzz/gui.py fuzz/plotfuzz.py
|
||||
cd ../
|
||||
|
|
|
@ -16,3 +16,16 @@ index 946baa8..6775185 100644
|
|||
darwin)
|
||||
AC_MSG_RESULT(Darwin)
|
||||
AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin])
|
||||
diff --git a/valgrind-r12356/coregrind/m_debuginfo/readstabs.c b/valgrind-r12356/coregrind/m_debuginfo/readstabs.c
|
||||
index e62721b..1865f71 100644
|
||||
--- a/valgrind-r12356/coregrind/m_debuginfo/readstabs.c
|
||||
+++ b/valgrind-r12356/coregrind/m_debuginfo/readstabs.c
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
/* --- !!! --- EXTERNAL HEADERS start --- !!! --- */
|
||||
#if defined(VGO_linux)
|
||||
-# include <a.out.h> /* stabs defns */
|
||||
+# include <linux/a.out.h> /* stabs defns */
|
||||
#elif defined(VGO_darwin)
|
||||
# include <mach-o/nlist.h>
|
||||
# define n_other n_sect
|
Loading…
Add table
Reference in a new issue