Invention Grant
- Patent Title: Program analysis as constraint solving
- Patent Title (中): 程序分析作为约束求解
-
Application No.: US12147908Application Date: 2008-06-27
-
Publication No.: US08402439B2Publication Date: 2013-03-19
- Inventor: Sumit Gulwani , Saurabh Srivastava , Ramarathnam Venkatesan
- Applicant: Sumit Gulwani , Saurabh Srivastava , Ramarathnam Venkatesan
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Gonzalez Saggio & Harlan LLP
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
Described is a technology by which program analysis uses rich invariant templates that may specify an arbitrary Boolean combination of linear inequalities for program verification. Also described is choosing a cut-set that identifies program locations, each of which is associated with an invariant template. The verification generates second-order constraints, converts second-order logic formula based on those constraints into first-order logic formula, then converts the first-order logic formula into a quantifier-free formula, which is then converted into a Boolean satisfiability formula. Off-the-shelf constraint solvers may then be applied to the Boolean satisfiability formula to generate program analysis results. Various templates may be used to convert the second-order logic formula into the first-order logic formula. Further described are interprocedural analysis and the determination of weakest precondition and strongest postcondition with applications to termination analysis, timing bounds analysis, and generation of most-general counterexamples for both termination and safety properties.
Public/Granted literature
- US20090326907A1 PROGRAM ANALYSIS AS CONSTRAINT SOLVING Public/Granted day:2009-12-31
Information query