mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
11 lines
258 B
Bash
11 lines
258 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ ! -d "${APPDIR}/input" ]; then
|
||
|
echo "${APPDIR}: Doesn't provide a test corpus" 1>&2
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
mkdir -p "${APPDIR}/findings"
|
||
|
exec afl-fuzz -m 800 -i "${APPDIR}/input" -o "${APPDIR}/findings" "$@" -- \
|
||
|
"${FLASHFILE}" "${PORT}" ${TERMFLAGS}
|