DocumentCode :
2087648
Title :
Dynamic Shape Analysis Using Spectral Graph Properties
Author :
Malik, Muhammad Zubair ; Khurshid, Sarfraz
Author_Institution :
Dept. of Electr. & Comput. Eng., Univ. of Texas at Austin, Austin, TX, USA
fYear :
2012
fDate :
17-21 April 2012
Firstpage :
211
Lastpage :
220
Abstract :
Dynamically allocated data structures pervade imperative and object-oriented programs. Automated analysis and testing of such programs requires reasoning about their data structures. The structures often have complex structural properties, such as a cyclicity of the object graph rooted at a given pointer. Such properties pose a challenge for automated reasoning. Shape analysis is a class of techniques that address reasoning about such programs. Traditionally, shape analysis is performed using static analysis of the program code. More recently, dynamic techniques for shape analysis have been developed, which inspect program states to identify properties of data structures. This paper presents a novel dynamic technique, which adapts well-studied results from graph theory to determine the shape of the program´s key data structures. Specifically, spectral graph theory, a field that studies the properties of a graph in relation to the properties of matrices based on the graph, e.g., eigen values of its adjacency matrix, provides the foundational ideas. Experimental results using a suite of data structures demonstrate the potential the technique holds in identifying data structure properties and detecting likely erroneous program states.
Keywords :
data structures; graph theory; object-oriented programming; program diagnostics; program testing; reasoning about programs; automated analysis; automated reasoning; data structures; dynamic shape analysis; object-oriented programs; program code; program testing; spectral graph properties; static analysis; Binary trees; Eigenvalues and eigenfunctions; Image edge detection; Matrices; Shape; Symmetric matrices; Deryaft; Graph spectra; Shape analysis; Structural invariant generation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing, Verification and Validation (ICST), 2012 IEEE Fifth International Conference on
Conference_Location :
Montreal, QC
Print_ISBN :
978-1-4577-1906-6
Type :
conf
DOI :
10.1109/ICST.2012.101
Filename :
6200120
Link To Document :
بازگشت