Title :
Precise pointer analysis for list-manipulating programs based on quantitative separation logic
Author :
Dong, Longming ; Chen, Liqian ; Liu, Jiangchao ; Li, Renjian
Author_Institution :
Nat. Lab. for Parallel & Distrib. Process., Nat. Univ. of Defense Technol. Changsha, Changsha, China
Abstract :
Full precise pointer analysis has been a challenging problem, especially when dealing with dynamically-allocated memory. Separation logic can describe pointer alias formally, but cannot describe the quantitative reachability between pointers. In this paper, we present a symbolic framework for analyzing the reachability between pointers in list-manipulating programs. The precise points-to relations of pointers in lists are described by formulae of quantitative separation logic (QSL), and the analysis framework is based on the operational and rearrangement rules about the assignments of pointers. The fixpoint calculus and the counter symbolic abstraction are used to find loop invariants. We can get precise relations between pointers at each point of list-manipulating programs. In the end, several initial examples about list-manipulating programs are given to show that the approach can get precise pointer analysis for list-manipulating programs.
Keywords :
fixed point arithmetic; list processing; program diagnostics; reachability analysis; reasoning about programs; storage allocation; symbol manipulation; QSL; counter symbolic abstraction; dynamically-allocated memory; fixpoint calculus; formal pointer alias; list-manipulating programs; loop invariants; operational rules; pointer assignment; precise pointer analysis; quantitative separation logic; reachability analysis; rearrangement rules; symbolic framework; Argon; Calculus; Data structures; Instruments; Radiation detectors; Semantics; Shape;
Conference_Titel :
Information Science and Technology (ICIST), 2012 International Conference on
Conference_Location :
Hubei
Print_ISBN :
978-1-4577-0343-0
DOI :
10.1109/ICIST.2012.6221645