On the Computation of Interprocedural Weak Control Closure
2022 (English) In: CC 2022 - Proceedings of the 31st ACM SIGPLAN International Conference on Compiler Construction, Association for Computing Machinery, Inc , 2022, p. 65-76Conference paper, Published paper (Refereed)
Abstract [en]
Many program analysis techniques depend on capturing the control dependencies of the program. Most existing control dependence algorithms either compute intraprocedural control dependencies only, or they compute control dependence relations that are not precise in general including nonterminating systems. Weak control closure (WCC) subsumes all known nontermination insensitive control dependence relations, including those that are appropriate for nonterminating systems. In this paper, we provide the first formal development of an algorithm to compute the WCC for interprocedural programs capturing the weak form of interprocedural control dependencies. The method is widely applicable due to the generality of WCC. Theorems on the theoretical results of soundness, precision, and the worst-case complexity of our method are also included. We have compared our algorithm with a WCC computation algorithm based on a state-of-The-Art interprocedural control dependence computation algorithm. The latter algorithm loses soundness, and we improve the precision by 15.21% on all our experimental benchmarks. This empirical evidence suggests that our algorithm is more effective for any client application of WCC requiring interprocedural program analysis.
Place, publisher, year, edition, pages Association for Computing Machinery, Inc , 2022. p. 65-76
Keywords [en]
Control dependency, debugging, nontermination insensitive, program slicing, weak control closure, Program debugging, Computation algorithm, Dependence relation, Inter-procedural, Non terminations, Program analysis, Application programs
National Category
Computer and Information Sciences
Identifiers URN: urn:nbn:se:mdh:diva-58775 DOI: 10.1145/3497776.3517782 ISI: 000883330900007 Scopus ID: 2-s2.0-85127900578 ISBN: 9781450391832 (print) OAI: oai:DiVA.org:mdh-58775 DiVA, id: diva2:1683042
Conference 31st ACM SIGPLAN International Conference on Compiler Construction, CC 2022, 2 April 2022 through 3 April 2022
2022-07-132022-07-132022-12-15 Bibliographically approved