appleseedlab / maki

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

Add end definition location and function signature #2

Closed SilverMight closed 5 months ago

SilverMight commented 5 months ago

This PR adds an output field for the end definition location of the macro definition, as well as modifying the type signature to a proper function signature (containing identifiers for a function and it's arguments).

Note that this doesn't handle renaming functions, which will be necessary to handle multiple invocations of macros with different param types or return types.

SilverMight commented 5 months ago

Got it, fixed the typo.