85d0a069ce
Since only tunableifs need to be resolved in a macro before the macro is copied for each call, macros were being skipped after resolving tunableifs. Statments not allowed to be in macros would be found during the pass that resolved tunableifs. Unfortunately, in-statments are resolved after tunableifs and they can be used to add statements to macros that are not allowed. Instead, do not skip macros until after the pass that resolves in- statements that are to be resolved after block inheritance. This allows blocks, blockinherits, blockabstracts, and macros that were added by an in-statement to be found and an error reported. This bug was found by the secilc-fuzzer. Signed-off-by: James Carter <jwcart2@gmail.com> Acked-by: Nicolas Iooss <nicolas.iooss@m4x.org> |
||
---|---|---|
.. | ||
include/cil | ||
src | ||
test | ||
.gitignore |