Analysis of program code
Abstract
This disclosure relates to the analysis of a program based on source code where the source code comprises a call to a function associated with a function implementation. A processor determines, based on a summary that over-approximates the function, an assignment of an input variable and an output variable of the function call to reach a predefined state. The processor then determines, based on the implementation of the function whether the assignment of the input variable results in the assignment of the output variable. If it does not, the processor determines a narrowed summary for the function such that the narrowed summary over-approximates the function and excludes the assignment of the input variable and the output variable. Finally, the processor stores the narrowed summary on a datastore. Inlining of function code and unfolding of loops is avoided and parallel processing of multiple functions is possible.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A tangible, non-transitory computer readable storage medium having data stored therein representing software executable by a processor, which when implemented cause the processor to perform a method for analyzing a computer program based on source code, the source code comprising a call to a function associated with a function implementation, the method comprising: receiving from a data store a summary that over-approximates the function; ascertaining, via a processor, based on the summary that over approximates the function, an assignment of an input variable and an output variable of the cal
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (16)
Non-Patent Literature (5)
- Albarghouthi et al., "Whale: An Interpolation-Based Algorithm for Inter-procedural Verification", 2012, VMCAI'12 Proceedings of the 13th international conference on Verification, Model Checking, and Abstract Interpretation, pp. 39-55.
- Aws Albarghouthi et al., "Whale: An Interpolation-based Algorithm for Interprocedural Verification", VMCAI 2012, Jan. 24, 2012, 26 pages.
- Christ et al., "SMT Interpol: an Interpolating SMT Solver", Model Checking Software, LNCS 7385, 2012, pp. 248-254.
- Christain Muller, "Modular Interprocedural Verification using Interpolant Function Summaries", Software Engineering Elite Graduate Program, NICTA, Nov. 19, 2013, 68 pages.
- Heizmann et al, "Refinement of trace abstraction", Static Analysis Symposium, 2009, pp. 69-85.