hardened_malloc/preload.sh
2018-08-23 15:42:41 -04:00

6 lines
115 B
Bash
Executable File

#!/bin/bash
dir=$(cd "$(dirname ${BASH_SOURCE[0]})" && pwd)
export LD_PRELOAD+=" $dir/hardened_malloc.so"
exec $@