valgrind.sh 246 B

12345678910
  1. #!/bin/sh -e
  2. #
  3. # Valgrind wrapper
  4. # Use special suppression file for uClibc
  5. export VALGRIND_OPTS="$VALGRIND_OPTS --suppressions=/usr/lib/valgrind/uclibc.supp"
  6. # Use 'exec' to avoid having another shell process hanging around.
  7. exec $0.bin "$@"