Loopster: Static loop termination analysis

Loop termination is an important problem for proving the correctness of a system and ensuring that the system always reacts. Existing loop termination analysis techniques mainly depend on the synthesis of ranking functions, which is often expensive. In this paper, we present a novel approach, named...

Full description

Saved in:
Bibliographic Details
Main Authors: XIE, Xiaofei, CHEN, Bihuan, ZOU, Liang, LIN, Shang-Wei, LIU, Yang, LI, Xiaohong
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2017
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/7104
https://ink.library.smu.edu.sg/context/sis_research/article/8107/viewcontent/3106237.3106260.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-8107
record_format dspace
spelling sg-smu-ink.sis_research-81072022-04-14T11:52:42Z Loopster: Static loop termination analysis XIE, Xiaofei CHEN, Bihuan ZOU, Liang LIN, Shang-Wei LIU, Yang LI, Xiaohong Loop termination is an important problem for proving the correctness of a system and ensuring that the system always reacts. Existing loop termination analysis techniques mainly depend on the synthesis of ranking functions, which is often expensive. In this paper, we present a novel approach, named Loopster, which performs an efficient static analysis to decide the termination for loops based on path termination analysis and path dependency reasoning. Loopster adopts a divide-and-conquer approach: (1) we extract individual paths from a target multi-path loop and analyze the termination of each path, (2) analyze the dependencies between each two paths, and then (3) determine the overall termination of the target loop based on the relations among paths. We evaluate Loopster by applying it on the loop termination competition benchmark and three real-world projects. The results show that Loopster is effective in a majority of loops with better accuracy and 20 \texttimes{}+ performance improvement compared to the state-of-the-art tools. 2017-09-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/7104 info:doi/10.1145/3106237.3106260 https://ink.library.smu.edu.sg/context/sis_research/article/8107/viewcontent/3106237.3106260.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Loop Termination Reachability Path Dependency Automaton Programming Languages and Compilers Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Loop Termination
Reachability
Path Dependency Automaton
Programming Languages and Compilers
Software Engineering
spellingShingle Loop Termination
Reachability
Path Dependency Automaton
Programming Languages and Compilers
Software Engineering
XIE, Xiaofei
CHEN, Bihuan
ZOU, Liang
LIN, Shang-Wei
LIU, Yang
LI, Xiaohong
Loopster: Static loop termination analysis
description Loop termination is an important problem for proving the correctness of a system and ensuring that the system always reacts. Existing loop termination analysis techniques mainly depend on the synthesis of ranking functions, which is often expensive. In this paper, we present a novel approach, named Loopster, which performs an efficient static analysis to decide the termination for loops based on path termination analysis and path dependency reasoning. Loopster adopts a divide-and-conquer approach: (1) we extract individual paths from a target multi-path loop and analyze the termination of each path, (2) analyze the dependencies between each two paths, and then (3) determine the overall termination of the target loop based on the relations among paths. We evaluate Loopster by applying it on the loop termination competition benchmark and three real-world projects. The results show that Loopster is effective in a majority of loops with better accuracy and 20 \texttimes{}+ performance improvement compared to the state-of-the-art tools.
format text
author XIE, Xiaofei
CHEN, Bihuan
ZOU, Liang
LIN, Shang-Wei
LIU, Yang
LI, Xiaohong
author_facet XIE, Xiaofei
CHEN, Bihuan
ZOU, Liang
LIN, Shang-Wei
LIU, Yang
LI, Xiaohong
author_sort XIE, Xiaofei
title Loopster: Static loop termination analysis
title_short Loopster: Static loop termination analysis
title_full Loopster: Static loop termination analysis
title_fullStr Loopster: Static loop termination analysis
title_full_unstemmed Loopster: Static loop termination analysis
title_sort loopster: static loop termination analysis
publisher Institutional Knowledge at Singapore Management University
publishDate 2017
url https://ink.library.smu.edu.sg/sis_research/7104
https://ink.library.smu.edu.sg/context/sis_research/article/8107/viewcontent/3106237.3106260.pdf
_version_ 1770576213038858240