mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-10-01 01:36:01 -04:00
6 lines
115 B
Bash
6 lines
115 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
dir=$(cd "$(dirname ${BASH_SOURCE[0]})" && pwd)
|
||
|
export LD_PRELOAD+=" $dir/hardened_malloc.so"
|
||
|
exec $@
|