Wireshark-dev: [Wireshark-dev] checkapi
From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Sun, 10 Apr 2016 21:44:26 +0100
After creating an initial change to add checkAPI to CMake builds, following the current checks done by nmake, I got the attached (massaged) output.
While there are some warnings to be fixed up, I'm more interested in the errors as they'll make a build as bad until fixed. Are these errors ones that should be fixed, or should the offending files be excluded from checkAPI.
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/dfilter/scanner.c: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dfilter\checkAPI_dfilter.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/dfilter/grammar.c: realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dfilter\checkAPI_dfilter.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in app_mem_usage.c: open [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in guid-utils.c: _snwprintf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/diam_dict.c: strncpy,strdup,malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/dtd_parse.c: malloc,realloc,free,strerror [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/dtd_preparse.c: malloc,realloc,free,strerror [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/radius_dict.c: malloc,realloc,free,strerror [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/uat_load.c: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/dtd_grammar.c: realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in ftype-guid.c: strncpy [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\ftypes\checkAPI_ftypes.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in ftype-pcre.c: strcpy [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\ftypes\checkAPI_ftypes.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in ftype-string.c: strcpy [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\ftypes\checkAPI_ftypes.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in ftype-time.c: strcpy [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\ftypes\checkAPI_ftypes.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/plugins/mate/mate_grammar.c: realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\mate\checkAPI_mate.vcxproj]
CUSTOMBUILD : error : Found abort APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/plugins/mate/mate_grammar.c: assert [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\mate\checkAPI_mate.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/plugins/mate/mate_parser.c: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\mate\checkAPI_mate.vcxproj]
CUSTOMBUILD : error : Found abort APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/plugins/mate/mate_parser.c: exit,g_error [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\mate\checkAPI_mate.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in text_import_scanner.l: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\ui\checkAPI_ui-base.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/wiretap/ascend_scanner.c: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/wiretap/k12text.c: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/wiretap/ascend.c: malloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in ascend_scanner.l: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in k12text.l: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in getopt_long.c: malloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wsutil\checkAPI_wsutil.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in inet_aton.c: htonl,isascii,isdigit,islower,isspace,isxdigit [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wsutil\checkAPI_wsutil.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in strptime.c: isspace,strncasecmp [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wsutil\checkAPI_wsutil.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/dfilter/grammar.c: realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dfilter\checkAPI_dfilter.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in app_mem_usage.c: open [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in guid-utils.c: _snwprintf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/diam_dict.c: strncpy,strdup,malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/dtd_parse.c: malloc,realloc,free,strerror [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/dtd_preparse.c: malloc,realloc,free,strerror [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/radius_dict.c: malloc,realloc,free,strerror [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/uat_load.c: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/dtd_grammar.c: realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in ftype-guid.c: strncpy [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\ftypes\checkAPI_ftypes.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in ftype-pcre.c: strcpy [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\ftypes\checkAPI_ftypes.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in ftype-string.c: strcpy [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\ftypes\checkAPI_ftypes.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in ftype-time.c: strcpy [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\ftypes\checkAPI_ftypes.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/plugins/mate/mate_grammar.c: realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\mate\checkAPI_mate.vcxproj]
CUSTOMBUILD : error : Found abort APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/plugins/mate/mate_grammar.c: assert [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\mate\checkAPI_mate.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/plugins/mate/mate_parser.c: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\mate\checkAPI_mate.vcxproj]
CUSTOMBUILD : error : Found abort APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/plugins/mate/mate_parser.c: exit,g_error [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\mate\checkAPI_mate.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in text_import_scanner.l: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\ui\checkAPI_ui-base.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/wiretap/ascend_scanner.c: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/wiretap/k12text.c: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/wiretap/ascend.c: malloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in ascend_scanner.l: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in k12text.l: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in getopt_long.c: malloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wsutil\checkAPI_wsutil.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in inet_aton.c: htonl,isascii,isdigit,islower,isspace,isxdigit [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wsutil\checkAPI_wsutil.vcxproj]
CUSTOMBUILD : error : Found prohibited APIs in strptime.c: isspace,strncasecmp [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wsutil\checkAPI_wsutil.vcxproj]
--
Graham Bloice
Running checkAPI_capchild-base Running checkAPI_capchild-todo Running checkAPI_caputils-base Running checkAPI_caputils-todo Running checkAPI_codecs Running checkAPI_crypt CUSTOMBUILD : warning : Found termoutput APIs in airpdcap_debug.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\crypt\checkAPI_crypt.vcxproj] Running checkAPI_dfilter CUSTOMBUILD : warning : Found termoutput APIs in dfilter.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dfilter\checkAPI_dfilter.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in dfilter-macro.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dfilter\checkAPI_dfilter.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in gencode.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dfilter\checkAPI_dfilter.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in semcheck.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dfilter\checkAPI_dfilter.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/dfilter/scanner.c: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dfilter\checkAPI_dfilter.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/dfilter/grammar.c: realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dfilter\checkAPI_dfilter.vcxproj] Running checkAPI_dissectors CUSTOMBUILD : warning : Found termoutput APIs in packet-beep.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dissectors\checkAPI_dissectors.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in packet-ber.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dissectors\checkAPI_dissectors.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in packet-giop.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dissectors\checkAPI_dissectors.vcxproj] No such file: "packet-263p.c" at C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/tools/checkAPIs.pl line 2026. CUSTOMBUILD : warning : Found shadow variable(s) in packet-kingfisher.c : system [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dissectors\checkAPI_dissectors.vcxproj] No such file: "packet-ncp2222.c" at C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/tools/checkAPIs.pl line 2026. CUSTOMBUILD : warning : Found termoutput APIs in packet-rlc.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dissectors\checkAPI_dissectors.vcxproj] No such file: "packet-sifrag.c" at C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/tools/checkAPIs.pl line 2026. CUSTOMBUILD : warning : Found termoutput APIs in packet-tacacs.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dissectors\checkAPI_dissectors.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in packet-wtp.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dissectors\checkAPI_dissectors.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in packet-dcerpc-nt.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\dissectors\checkAPI_dissectors.vcxproj] No such file: "register.c" at C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/tools/checkAPIs.pl line 2026. Running checkAPI_docsis Running checkAPI_epan CUSTOMBUILD : warning : Found shadow variable(s) in app_mem_usage.c : index [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in app_mem_usage.c: open [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in asn1.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in color_filters.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in column.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in disabled_protos.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in epan.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found shadow variable(s) in ex-opt.c : index [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in except.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in guid-utils.c: _snwprintf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in oids.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in packet.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in prefs.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in proto.c: printf,g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] No such file: "ps.c" at C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/tools/checkAPIs.pl line 2026. CUSTOMBUILD : warning : Found termoutput APIs in reedsolomon.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in show_exception.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in tap.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in tvbparse.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in tvbuff_zlib.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in value_string.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/diam_dict.c: strncpy,strdup,malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/dtd_parse.c: malloc,realloc,free,strerror [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/dtd_preparse.c: malloc,realloc,free,strerror [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/radius_dict.c: malloc,realloc,free,strerror [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/uat_load.c: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/uat_load.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/epan/dtd_grammar.c: realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\checkAPI_epan.vcxproj] Running checkAPI_ethercat Running checkAPI_ftypes CUSTOMBUILD : error : Found prohibited APIs in ftype-guid.c: strncpy [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\ftypes\checkAPI_ftypes.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in ftype-pcre.c: strcpy [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\ftypes\checkAPI_ftypes.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in ftype-string.c: strcpy [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\ftypes\checkAPI_ftypes.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in ftype-time.c: strcpy [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\ftypes\checkAPI_ftypes.vcxproj] Running checkAPI_gryphon Running checkAPI_gtk-base CUSTOMBUILD : warning : mac_lte_stat_dlg.c uses snprintf + strlen to assemble strings. [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\ui\gtk\checkAPI_gtk-base.vcxproj] CUSTOMBUILD : warning : rlc_lte_stat_dlg.c uses snprintf + strlen to assemble strings. [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\ui\gtk\checkAPI_gtk-base.vcxproj] Running checkAPI_gtk-todo CUSTOMBUILD : warning : mac_lte_stat_dlg.c uses snprintf + strlen to assemble strings. [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\ui\gtk\checkAPI_gtk-todo.vcxproj] CUSTOMBUILD : warning : rlc_lte_stat_dlg.c uses snprintf + strlen to assemble strings. [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\ui\gtk\checkAPI_gtk-todo.vcxproj] Running checkAPI_irda Running checkAPI_m2m Running checkAPI_main Running checkAPI_mate CUSTOMBUILD : warning : Found termoutput APIs in packet-mate.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\mate\checkAPI_mate.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in mate_util.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\mate\checkAPI_mate.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/plugins/mate/mate_grammar.c: realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\mate\checkAPI_mate.vcxproj] CUSTOMBUILD : error : Found abort APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/plugins/mate/mate_grammar.c: assert [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\mate\checkAPI_mate.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/plugins/mate/mate_parser.c: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\mate\checkAPI_mate.vcxproj] CUSTOMBUILD : error : Found abort APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/plugins/mate/mate_parser.c: exit,g_error [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\mate\checkAPI_mate.vcxproj] Running checkAPI_opcua Running checkAPI_profinet CUSTOMBUILD : warning : Found termoutput APIs in packet-dcom-cba-acco.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\profinet\checkAPI_profinet.vcxproj] Running checkAPI_randpkt_core-base Running checkAPI_randpkt_core-todo Running checkAPI_stats_tree Running checkAPI_ui-base CUSTOMBUILD : error : Found prohibited APIs in text_import_scanner.l: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\ui\checkAPI_ui-base.vcxproj] Running checkAPI_ui-todo Running checkAPI_unistim Running checkAPI_wimax CUSTOMBUILD : warning : Found shadow variable(s) in crc.c : index [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\wimax\checkAPI_wimax.vcxproj] Running checkAPI_wimaxasncp CUSTOMBUILD : warning : Found termoutput APIs in packet-wimaxasncp.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\plugins\wimaxasncp\checkAPI_wimaxasncp.vcxproj] Running checkAPI_wimaxmacphy Running checkAPI_wiretap CUSTOMBUILD : warning : Found termoutput APIs in nettrace_3gpp_32_423.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj] CUSTOMBUILD : warning : Found shadow variable(s) in ngsniffer.c : time [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/wiretap/ascend_scanner.c: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/wiretap/k12text.c: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj] CUSTOMBUILD : warning : Found shadow variable(s) in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/wiretap/ascend.c : strlen [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/cmbuild/wiretap/ascend.c: malloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in ascend_scanner.l: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in k12text.l: malloc,realloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wiretap\checkAPI_wiretap.vcxproj] Running checkAPI_wslua CUSTOMBUILD : warning : Found termoutput APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/epan/wslua/wslua_file.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\wslua\checkAPI_wslua.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/epan/wslua/wslua_file_handler.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\wslua\checkAPI_wslua.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/epan/wslua/wslua_frame_info.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\wslua\checkAPI_wslua.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/epan/wslua/wslua_gui.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\wslua\checkAPI_wslua.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/epan/wslua/wslua_internals.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\wslua\checkAPI_wslua.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/epan/wslua/wslua_listener.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\wslua\checkAPI_wslua.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/epan/wslua/wslua_util.c: g_warning [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\wslua\checkAPI_wslua.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in C:/buildbot/builders/windows-x86-petri-dish/windows-x86-petri-dish/build/epan/wslua/init_wslua.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\epan\wslua\checkAPI_wslua.vcxproj] Running checkAPI_wsutil CUSTOMBUILD : warning : Found termoutput APIs in plugins.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wsutil\checkAPI_wsutil.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in sha1.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wsutil\checkAPI_wsutil.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in ws_version_info.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wsutil\checkAPI_wsutil.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in getopt_long.c: malloc,free [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wsutil\checkAPI_wsutil.vcxproj] CUSTOMBUILD : warning : Found termoutput APIs in getopt_long.c: printf [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wsutil\checkAPI_wsutil.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in inet_aton.c: htonl,isascii,isdigit,islower,isspace,isxdigit [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wsutil\checkAPI_wsutil.vcxproj] CUSTOMBUILD : error : Found prohibited APIs in strptime.c: isspace,strncasecmp [C:\buildbot\builders\windows-x86-petri-dish\windows-x86-petri-dish\build\cmbuild\wsutil\checkAPI_wsutil.vcxproj]
- Follow-Ups:
- Re: [Wireshark-dev] checkapi
- From: Guy Harris
- Re: [Wireshark-dev] checkapi
- From: Jeff Morriss
- Re: [Wireshark-dev] checkapi
- Prev by Date: Re: [Wireshark-dev] [tcpdump-workers] What's the difference between NdisMediumBare80211 (DLT_IEEE802_11) and NdisMediumRadio80211 (DLT_IEEE802_11_RADIO)
- Next by Date: Re: [Wireshark-dev] checkapi
- Previous by thread: Re: [Wireshark-dev] Got "Radiotap data goes past the end of the radiotap header" for Npcap's radiotap header.
- Next by thread: Re: [Wireshark-dev] checkapi
- Index(es):