b904ce1778
time being simply add a series of suppressions to make valgrind ignore all memory mmaped by uClibc's ldso.
11 lines
246 B
Bash
Executable File
11 lines
246 B
Bash
Executable File
#!/bin/sh -e
|
|
#
|
|
# Valgrind wrapper
|
|
|
|
# Use special suppression file for uClibc
|
|
export VALGRIND_OPTS="$VALGRIND_OPTS --suppressions=/usr/lib/valgrind/uclibc.supp"
|
|
|
|
# Use 'exec' to avoid having another shell process hanging around.
|
|
exec $0.bin "$@"
|
|
|