We construct novel thread-modular analyses that track relational information for potentially overlapping clusters of global variables - given that they are protected by common mutexes. We provide a framework to systematically increase the precision of clustered relational analyses by splitting control locations based on abstractions of local traces. As one instance, we obtain an analysis of dynamic thread creation and joining. Interestingly, tracking less relational information for globals may result in higher precision. We consider the class of 2-decomposable domains that encompasses many weakly relational domains (e.g., Octagons). For these domains, we prove that maximal precision is attained already for clusters of globals of sizes at most 2.
翻译:我们构筑了新颖的线索模块分析,跟踪全球变量可能重叠的组别的关系信息,因为这些组别受共同的哑巴保护。我们提供了一个框架,通过根据局部痕迹的抽象数据分割控制地点,系统地提高组合式关系分析的精确性。举例来说,我们获得了动态线条创建和连接的分析。有趣的是,跟踪全球关系较少的信息可能导致更高的精确性。我们认为包含许多薄弱关联域(如八角星系)的2组互不相容的域。对于这些域,我们证明最多2个全球大小组已经达到了最大精确性。