CI: add atof() to banned list

This commit is contained in:
Consolatis 2024-05-13 10:56:30 +02:00
parent b41af54a1b
commit 6fe3df34ca

View file

@ -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 -