Title :
Slicing Concurrent Programs Based on Program Reachability Graphs
Author :
Qi, Xiaofang ; Zhou, Xiaoyu ; Xu, Xiaojing ; Zhang, Yingzhou
Author_Institution :
Sch. of Comput. Sci. & Eng., Southeast Univ., Nanjing, China
Abstract :
Program slicing is an effective and established technique to analyze sequential programs. However, owing to intransitive dependences between statements, it is hard to get precise slices of concurrent programs with traditional slicing algorithms for sequential programs. This paper proposes a novel representation, thread interaction reachability graph (TIRG), for concurrent programs with shared memory, interleaving semantics and mutual exclusion. Based on TIRG, dependences can be analyzed globally and we construct a new dependence graph (MSDG), where each node is a 2-tuple composed of program state and statement. The research shows that dependences in MSDG are transitive and more precise slice can be obtained by traversing MSDG compared with previous approaches.
Keywords :
program debugging; reachability analysis; TIRG; program reachability graphs; program slicing; sequential program analysis; slicing concurrent programs; thread interaction reachability graph; Algorithm design and analysis; Erbium; Flow graphs; Instruction sets; Interference; Nickel; Reachability analysis; concurrency; dependence analysis; program slicing; reachability analysis;
Conference_Titel :
Quality Software (QSIC), 2010 10th International Conference on
Conference_Location :
Zhangjiajie
Print_ISBN :
978-1-4244-8078-4
Electronic_ISBN :
1550-6002
DOI :
10.1109/QSIC.2010.37