hardened_malloc/preload.sh

6 lines
115 B
Bash
Raw Normal View History

2018-08-21 19:23:22 +00:00
#!/bin/bash
dir=$(cd "$(dirname ${BASH_SOURCE[0]})" && pwd)
export LD_PRELOAD+=" $dir/hardened_malloc.so"
exec $@