wmkhoo / taintgrind

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

Compilation fails if path contains spaces #45

Open dasebek opened 3 years ago

dasebek commented 3 years ago

When following the "Installation (from source)" steps, the compilation fails if the path to the current working directory contains spaces.

For example, executing ./build_taintgrind.sh from a /home/david/CS 6340/Taintgrind/valgrind-3.17.0/taintgrind/ directory results in a bunch of errors like this one:

checking build system type... Invalid configuration `6340/Taintgrind/valgrind-3.17.0/taintgrind/../build': machine `6340/Taintgrind/valgrind-unknown' not recognized
configure: error: /bin/sh ./../config.sub 6340/Taintgrind/valgrind-3.17.0/taintgrind/../build failed

Renaming the directory path so that it does not contain any spaces solves the issue.