Staged points-to analysis for large code bases
Abstract
A method, system, and computer-readable medium (CRM) for performing a staged points-to analysis of an object-oriented codebase, including obtaining the codebase and a points-to query, slicing the codebase to obtain a program slice, and performing a type analysis of the program slice to compute a type set. The method, system, and CRM include refining the program slice, after performing the type analysis, by resolving virtual dispatch sites based on the type set, and performing, after refining the program slice, a context-insensitive points-to analysis of the program slice to compute a first points-to set. The method, system, and CRM include re-refining the program slice, after performing the context-insensitive points-to analysis, by resolving the virtual dispatch sites based on the first points-to set, and performing, after re-refining the program slice, a context-sensitive points-to analysis of the program slice to compute a second points-to set, which is provided to a developer.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for performing a staged points-to analysis of a codebase written in an object-oriented programming language, comprising: obtaining the codebase and a points-to query comprising a plurality of query variables in the codebase; slicing the codebase based on the points-to query and a plurality of slice rules to obtain a program slice; performing a type analysis of the program slice based on a plurality of type rules to compute a type set; refining the program slice, after performing the type analysis, by resolving a plurality of virtual dispatch sites based on the type set; performing, af
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,537,372 B2 | Generating compilable machine code programs from dynamic language code | 2022 | 0 |
References Cited — Backward Prior Art (8)
Non-Patent Literature (2)
- Bjarne Steensgaard, Points-to Analysis in Almost Linear Time, 1995 Microsoft Research One Microsoft Way, Redmond,WA 98052, USA.
- Markus Mock, Dynamic Points-To Sets: A Comparison with Static Analyses and Potential Applications in Program Understanding and Optimization, Mar. 2001, Microsoft Research Redmond, WA 98052.