From 6fe3df34ca642504036b22fc6e1d3f4dd60df345 Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Mon, 13 May 2024 10:56:30 +0200 Subject: [PATCH] CI: add atof() to banned list --- scripts/find-banned.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -