This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] Add MagentaHandleChecker for the Magenta kernel
AbandonedPublic

Authored by haowei on Jul 27 2017, 5:08 PM.

Details

Reviewers
NoQ
dcoughlin
Summary

This patch supersedes D34724. We have finished the checker but it is too big to be submitted as a single commit. So we split it into several pieces to help with the review process. This patch includes the annotation attribute support in MagentaHandleChecker. It basically detect functions that have special annotation attributes and parse these annotations strings to function spec information which would used by the actual analysis. In this patch, the checker will not report any bugs. We will follow up with another commit that contains the code of actual analysis.

Diff Detail