Wireshark-dev: Re: [Wireshark-dev] Question regarding emem -> wmem conversion
From: Christopher Maynard <Christopher.Maynard@xxxxxxxxx>
Date: Fri, 13 Sep 2013 16:53:42 +0000 (UTC)
Christopher Maynard <Christopher.Maynard@...> writes:

> Strangely and rather non-intuitively, the option is --build, as in:
> 
>     ../../tools/checkAPIs.pl --build -g emem packet-cdp.c
> 
> (It might be a good idea to choose another name for this option and document
> it in the usage ... along with the nohf and debug flags.)

Usage has now changed a bit since r52006.  Hopefully things are clearer now.

Usage: checkAPIs.pl [-M] [-g group1] [-g group2] ...
                    [-s group1] [-s group2] ...
                    [--nocheck-value-string-array-null-termination]
                    [--nocheck-addtext] [--nocheck-hf] [--debug] file1 file2 ...

       -g <group>:  Check input files for use of APIs in <group>
                    (in addition to the default groups)
       -s <group>:  Output summary (count) for each API in <group>
                    (-g <group> also req'd)
       -M: Generate output for -g in 'machine-readable' format

   Default Groups[-g]: deprecated, emem, prohibited
   Available Groups:   abort, deprecated, deprecated-gtk,
deprecated-gtk-todo, emem, prohibited, termoutput