2020-07-21 05:33:53 +02:00
|
|
|
#!/data/data/com.termux/files/usr/bin/sh
|
|
|
|
#edited from https://aur.archlinux.org/cgit/aur.git/tree/ef.sh?h=electricfence
|
2020-07-25 12:42:43 +02:00
|
|
|
if [ "$1" = '' ]; then
|
|
|
|
echo 'Usage: ef [executable] [arguments].'
|
|
|
|
echo ' Runs the executable under the Electric Fence malloc debugger.'
|
2020-07-21 05:33:53 +02:00
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
LD_PRELOAD="libefence.so.0.0${LD_PRELOAD:+:$LD_PRELOAD}" exec "$@"
|