A Path-Based Approach to the Detection of Infinite Looping

  • Authors:
  • J. Zhang

  • Affiliations:
  • -

  • Venue:
  • APAQS '01 Proceedings of the Second Asia-Pacific Conference on Quality Software
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

Infinite looping is a ommon type of program error. Thispaper studies the detection of infinite loops in imperativeprograms. A sufficient condition is given, which is based onprogram paths. For a simple loop, if we can establish theinfeasibility of certain paths within the loop body, we canconclude that the loop does not terminate. Several examplesare given to show the effectiveness of the approach. Its mainbenefits are that it is accurate and it can be supported byautomated tools.