10 lines
339 B
Bash
10 lines
339 B
Bash
|
#!/data/data/com.termux/files/usr/bin/sh
|
||
|
#edited from https://aur.archlinux.org/cgit/aur.git/tree/ef.sh?h=electricfence
|
||
|
if [ "$1" = "" ]; then
|
||
|
echo "$0: Usage: ef [executable] [arguments]."
|
||
|
echo " Runs the executable under the Electric Fence malloc debugger."
|
||
|
exit
|
||
|
fi
|
||
|
|
||
|
LD_PRELOAD="libefence.so.0.0${LD_PRELOAD:+:$LD_PRELOAD}" exec "$@"
|