appleseedlab / maki

A tool for analyzing syntactic and semantic properties of C Preprocessor macros in C programs
8 stars 3 forks source link

Add option to ignore definitions and invocations in system headers and compiler builtins #28

Closed PappasBrent closed 2 months ago

PappasBrent commented 3 months ago

Currently, Maki always outputs predefined macro definitions, and macro definitions and invocations in system headers. However, consumers of Maki's output may not wish to see these macros, so unconditionally printing them clutters Maki's output and consumes extra memory when stored.

Maki should have flags to optionally ignore these macros.