diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-05-21 14:49:50 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-05-21 14:49:50 +0000 |
commit | 5a43cd63588c88eaa0ca26217714d74a6422d4d6 (patch) | |
tree | 0edd05cc6982f45593db652a46e7bbe88943ec91 | |
parent | cfeb34f62b33e61b3b41f1749c7d90f878602a51 (diff) |
Check for a few addt'l functions...
svn path=/trunk/; revision=25341
-rwxr-xr-x | tools/checkAPIs.pl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl index de670da9b4..3ab6e85410 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -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) |