diff --git a/scripts/find-banned.sh b/scripts/find-banned.sh index 25e915f9..2a6a468c 100755 --- a/scripts/find-banned.sh +++ b/scripts/find-banned.sh @@ -1,6 +1,7 @@ #!/bin/sh -banned="malloc,g_strcmp0,sprintf,vsprintf,strcpy,strncpy,strcat,strncat" +banned="malloc,g_strcmp0,sprintf,vsprintf,strcpy,strncpy,strcat,strncat,atof" +echo "Searching for banned functions" find src/ include/ \( -name "*.c" -o -name "*.h" \) -type f \ | ./scripts/helper/find-idents --tokens=$banned -