Asia-Pacific Conference on Quality Software (2001)
Dec. 10, 2001 to Dec. 11, 2001
J. Zhang , Chinese Academy of Sciences
Infinite looping is a ommon type of program error. This paper studies the detection of infinite loops in imperative programs. A sufficient condition is given, which is based on program paths. For a simple loop, if we can establish the infeasibility of certain paths within the loop body, we can conclude that the loop does not terminate. Several examples are given to show the effectiveness of the approach. Its main benefits are that it is accurate and it can be supported by automated tools.
J. Zhang, "A Path-Based Approach to the Detection of Infinite Looping," Asia-Pacific Conference on Quality Software(APAQS), Hong Kong, 2001, pp. 0088.