[PATCH] D27092: Add RecursionChecker for finding infinite recursion
Krzysztof Wiśniewski via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 24 03:46:36 PST 2016
k-wisniewski created this revision.
k-wisniewski added reviewers: zaks.anna, dcoughlin, NoQ, a.sidorin.
k-wisniewski added a subscriber: cfe-commits.
Herald added a subscriber: mgorny.
This patch adds RecursionChecker for finding infinite recursion. I have refactored the checker quite thoroughly since the last time I posted it - it should now support ObjC methods as well. I have fixed several issues pointed out in the previous version too. My plan for now is to have it tested on some real code bases to check how useful it is in practice and evaluate its performance. I will also implement some heurestics to eliminate excesive false positives/negatives and evaluate them.
BTW. as I'm a complete newbie in Objective-C - could you please help me with some interesting unit test cases for this checker?
Thanks in advance!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15956 bytes
Desc: not available
More information about the cfe-commits