Scalable incremental analysis using caller and callee summaries
Abstract
A method may include generating, by performing a full analysis of code and for each component of the code, summaries including: (i) a forward summary including a forward flow and (ii) a backward summary including a backward flow, obtaining a modification to a modified component, determining that one of the summaries for the modified component is invalid, and in response to determining that a summary for the modified component is invalid: obtaining the forward flow from the forward summary of the modified component, obtaining the backward flow from the backward summary of the modified component, generating a local flow by performing an incremental analysis of the modified component using the forward flow of the modified component and the backward flow of the modified component, and detecting a defect in the code using the forward flow of the modified component, the local flow, and the backward flow of the modified component.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, comprising: generating, by performing a full analysis of code and for each of a plurality of components of the code, a plurality of summaries comprising: (i) a forward summary comprising a forward flow and (ii) a backward summary comprising a backward flow, wherein the backward flow of the backward summary comprises a backward local parameter and a backward external parameter, and wherein the backward local parameter flows, during execution of the code, to the backward external parameter; obtaining a first modification to a modified component of the plurality of components; determini
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 (13)
Non-Patent Literature (5)
- Arzt, Steven et al., “Reviser: Efficiently Updating IDE-/IFDS-Based Data-Flow Analyses in Response to Incremental Program Changes”; In Proceedings of the 36th International Conference on Software Engineering (ICSE), May 31-Jun. 7, 2014, pp. 288-298 (11 pages).
- Bloom, S.C. et al. “Data Assimilation Using Incremental Analysis Updates”; AMS: Monthly Weather Review; vol. 124; Issue 6; pp. 1256-1271; Jun. 1, 1996 (16 pages).
- Cai, Haipeng et al., “Leveraging Historical Versions of Android Apps for Efficient and Prescise Taint Analysis”; 2018 IEEE/ACM 15th International Conference on Mining Software Repositories (MSR); pp. 265-269; May 27-Jun. 3, 2018 (5 pages).
- Cai, Haipeng et al., “Method-level program dependance abstraction and its application to impact analysis”; The Journal of Systems and Software; vol. 122; pp. 311-326; Dec. 2016 (16 pages).
- Dawei, Shi, Lv Delong, and Ye Zhibin. “Dynamic Self-modifying Code Detection Based on Backward Analysis.” Proceedings of the 2018 10th International Conference on Computer and Automation Engineering. 2018.pp. 199-204 (Year: 2018).