mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-22 06:05:01 -05:00
7 lines
160 B
Bash
Executable File
7 lines
160 B
Bash
Executable File
#!/bin/bash
|
|
|
|
dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
[[ $LD_PRELOAD ]] && LD_PRELOAD+=" "
|
|
export LD_PRELOAD+="$dir/libhardened_malloc.so"
|
|
exec "$@"
|