Skip to content
Snippets Groups Projects
Commit 9a2f96da authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

updated installer to set core pattern regardless of afl-install status

parent 4c7b2f39
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,9 @@ function do_afl()
which afl-fuzz > /dev/null 2>&1
local has_afl=$?
echo "Configuring core pattern for AFL"
echo core >/proc/sys/kernel/core_pattern
if [[ $has_afl -eq 0 ]]; then
echo "AFL is already installed, skipping install."
return
......@@ -61,7 +64,6 @@ function do_afl()
echo "Skipping AFL install upon user request."
fi
echo core >/proc/sys/kernel/core_pattern
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment