diff options
author | hexcoder <heiko@hexco.de> | 2021-01-05 16:49:04 +0000 |
---|---|---|
committer | hexcoder <heiko@hexco.de> | 2021-01-05 16:49:04 +0000 |
commit | faefad564be4b6bd8b311cb4990e8fd33acb5c1c (patch) | |
tree | cc839c9f3e0bd46bbc90d8129f447c0655111f65 /afl-system-config | |
parent | 6b54310452a1b743a90ad45fcc511f59dd7821ec (diff) | |
download | afl++-faefad564be4b6bd8b311cb4990e8fd33acb5c1c.tar.gz |
Haiku afl-system-config disable debugger, afl-cc.c avoid -lrt
Diffstat (limited to 'afl-system-config')
-rwxr-xr-x | afl-system-config | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/afl-system-config b/afl-system-config index 919932c3..456cccac 100755 --- a/afl-system-config +++ b/afl-system-config @@ -84,5 +84,14 @@ if [ "$PLATFORM" = "Darwin" ] ; then fi DONE=1 fi +if [ "$PLATFORM" = "Haiku" ] ; then + SETTINGS=~/config/settings/system/debug_server/settings + [ -r ${SETTINGS} ] && grep -qE "default_action\s+kill" ${SETTINGS} && { echo "Nothing to do"; } || { \ + echo We change the debug_server default_action from user to silenty kill; \ + [ ! -r ${SETTINGS} ] && echo "default_action kill" >${SETTINGS} || { mv ${SETTINGS} s.tmp; sed -e "s/default_action\s\s*user/default_action kill/" s.tmp > ${SETTINGS}; rm s.tmp; }; \ + echo Settings applied.; \ + } + DONE=1 +fi test -z "$DONE" && echo Error: Unknown platform: $PLATFORM exit 0 |