mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
7 lines
241 B
Bash
Executable file
7 lines
241 B
Bash
Executable file
#!/bin/sh
|
|
|
|
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 -
|