Summary: Invariant map of Inferbo, a map from node to abstract memory, is used in other checkers. In order to avoid duplicated Inferbo analyses, it caches calculated invariant maps independently to summary DB. The reason is that Inferbo's summary contains one abstract memory of the exit node, rather than a map from all nodes to abstract memories. This diff changes it to keep only one invariant map at a time. Since registered checkers are applied to the same function one by one, usually the singleton cache should be enough to avoid the duplicated Inferbo running. (I can think of a corner case when multiple checkers depend on Inferbo's results and Inferbo's modeled functions are different to that of them, but it should work in most of the cases.) Reviewed By: jvillard Differential Revision: D20248172 fbshipit-source-id: db86655d0master
parent
0340a81002
commit
7a1e901c83
Loading…
Reference in new issue