Check for a few addt'l functions...

svn path=/trunk/; revision=25341
This commit is contained in:
Bill Meier 2008-05-21 14:49:50 +00:00
parent cfeb34f62b
commit 5a43cd6358
1 changed files with 8 additions and 1 deletions

View File

@ -52,6 +52,11 @@ my @prohibitedAPIs=
'htons',
'strdup',
'strndup',
### non-ANSI C
# use memset, memcpy, memcmp instead of these:
'bzero',
'bcopy',
'bcmp',
# use ep_*, se_*, or g_* functions instead of these:
# (One thing to be aware of is that space allocated with malloc()
# may not be freeable--at least on Windows--with g_free() and
@ -83,7 +88,9 @@ my @prohibitedAPIs=
'unlink',
'remove',
'fopen',
'freopen'
'freopen',
# Misc
'tmpnam' # use mkstemp
);
# APIs that SHOULD NOT be used in Wireshark (any more)