wmkhoo / taintgrind

A taint-tracking plugin for the Valgrind memory checking tool
GNU General Public License v2.0
249 stars 42 forks source link

build_taintgrind.sh Failed To Build #33

Closed BwRy closed 5 years ago

BwRy commented 5 years ago

I'm attempting to build via taintgrind 3.15.0: user@machine:~/tools/valgrind-3.15.0/taintgrind# ./build_taintgrind.sh make all-recursive make[1]: Entering directory '/home/user/tools/valgrind-3.15.0/taintgrind' Making all in . make[2]: Entering directory '/home/user/tools/valgrind-3.15.0/taintgrind' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../VEX/pub -DVGA_amd64=1 -DVGO_linux=1 -DVGP_amd64_linux=1 -DVGPV_amd64_linux_vanilla=1 -m64 -O2 -g -std=gnu99 -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-signedness -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -O2 -MT taintgrind_amd64_linux-tnt_syswrap.o -MD -MP -MF .deps/taintgrind_amd64_linux-tnt_syswrap.Tpo -c -o taintgrind_amd64_linux-tnt_syswrap.o test -f 'tnt_syswrap.c' || echo './'tnt_syswrap.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../VEX/pub -DVGA_amd64=1 -DVGO_linux=1 -DVGP_amd64_linux=1 -DVGPV_amd64_linux_vanilla=1 -m64 -O2 -g -std=gnu99 -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-signedness -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -O2 -MT taintgrind_amd64_linux-tnt_main.o -MD -MP -MF .deps/taintgrind_amd64_linux-tnt_main.Tpo -c -o taintgrind_amd64_linux-tnt_main.o test -f 'tnt_main.c' || echo './'tnt_main.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../VEX/pub -DVGA_amd64=1 -DVGO_linux=1 -DVGP_amd64_linux=1 -DVGPV_amd64_linux_vanilla=1 -m64 -O2 -g -std=gnu99 -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-signedness -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -O2 -MT taintgrind_amd64_linux-tnt_translate.o -MD -MP -MF .deps/taintgrind_amd64_linux-tnt_translate.Tpo -c -o taintgrind_amd64_linux-tnt_translate.o test -f 'tnt_translate.c' || echo './'tnt_translate.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../VEX/pub -DVGA_amd64=1 -DVGO_linux=1 -DVGP_amd64_linux=1 -DVGPV_amd64_linux_vanilla=1 -m64 -O2 -g -std=gnu99 -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-signedness -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -O2 -MT taintgrind_amd64_linux-copy.o -MD -MP -MF .deps/taintgrind_amd64_linux-copy.Tpo -c -o taintgrind_amd64_linux-copy.o test -f 'copy.c' || echo './'copy.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../VEX/pub -DVGA_amd64=1 -DVGO_linux=1 -DVGP_amd64_linux=1 -DVGPV_amd64_linux_vanilla=1 -m64 -O2 -g -std=gnu99 -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-signedness -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -O2 -MT taintgrind_amd64_linux-tnt_smt2.o -MD -MP -MF .deps/taintgrind_amd64_linux-tnt_smt2.Tpo -c -o taintgrind_amd64_linux-tnt_smt2.o test -f 'tnt_smt2.c' || echo './'tnt_smt2.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../VEX/pub -DVGA_amd64=1 -DVGO_linux=1 -DVGP_amd64_linux=1 -DVGPV_amd64_linux_vanilla=1 -m64 -O2 -g -std=gnu99 -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-signedness -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -O2 -MT taintgrind_amd64_linux-tnt_asm.o -MD -MP -MF .deps/taintgrind_amd64_linux-tnt_asm.Tpo -c -o taintgrind_amd64_linux-tnt_asm.o test -f 'tnt_asm.c' || echo './'tnt_asm.c for f in ; do \ if [ ! -e $f.dSYM -o $f -nt $f.dSYM ] ; then \ echo "dsymutil $f"; \ dsymutil $f; \ fi; \ done mkdir -p ./.in_place; \ for f in ; do \ rm -f ./.in_place/$f.dSYM; \ ln -f -s .././$f.dSYM ./.in_place; \ done ... In file included from cs.c:21:0: VG_defines.h:4:10: fatal error: pub_tool_basics.h: No such file or directory

include "pub_tool_basics.h" // this include the types like HChar, etc

... tnt_asm.c:34:10: fatal error: capstone/capstone.h: No such file or directory

include <capstone/capstone.h>

Fixed, nevermind