DocumentCode
2601308
Title
PRECIS: Inferring invariants using program path guided clustering
Author
Sagdeo, Parth ; Athavale, Viraj ; Kowshik, Sumant ; Vasudevan, Shobha
Author_Institution
Coordinated Sci. Lab., Univ. of Illinois, Urbana, IL, USA
fYear
2011
fDate
6-10 Nov. 2011
Firstpage
532
Lastpage
535
Abstract
We propose PRECIS, a methodology for automatically generating invariants at function and loop boundaries through program path guided clustering. We instrument function inputs and outputs together with predicates for branch conditions and record their values during each execution. Program runs that share the same path are grouped together based on predicate words. For each group with sufficient data we use linear regression to express the output as a function of the inputs. Groups with insufficient data are examined as candidates for clustering with neighboring groups. Candidates that share the same output function are merged into a cluster. For each cluster, we write an invariant that summarizes the behavior of the corresponding set of paths. We evaluate our technique using Siemens benchmarks. When compared to Daikon, we find that our method has significant advantages.
Keywords
pattern clustering; program diagnostics; regression analysis; PRECIS; Siemens benchmarks; automatic invariant generation; linear regression; program path guided clustering; Benchmark testing; Context; Data mining; Indexes; Instruments; Linear regression;
fLanguage
English
Publisher
ieee
Conference_Titel
Automated Software Engineering (ASE), 2011 26th IEEE/ACM International Conference on
Conference_Location
Lawrence, KS
ISSN
1938-4300
Print_ISBN
978-1-4577-1638-6
Type
conf
DOI
10.1109/ASE.2011.6100117
Filename
6100117
Link To Document