Termination Analysis of Sequential Program Based on Graph

Yin Jie,Yu Dan,Ye Gang,Ma Shilong
DOI: https://doi.org/10.1016/j.proeng.2012.01.251
2012-01-01
Procedia Engineering
Abstract:We present an algorithm to prove termination of programs. The method relies on the fact that the program loop can be represented by a non-trivial MSCS of the program's CFG, and we show that the program termination is equivalent to the existence of ranking function for each SCS of the program's CFG. We give an example to show the algorithm is feasible. It has a potential application to determine the program termination automatically.
What problem does this paper attempt to address?