macOS / binaries /

ifnames

/usr/local/bin/ifnames
Extract CPP conditionals from a set of files

ifnames scan all of the C source FILES and write to the standard output a sorted list of all the identifiers that appear in those files in '#if', '#elif', '#ifdef', or '#ifndef' directives.