Scalable property-sensitive points-to analysis for program code
Abstract
A novel system, computer program product, and method are disclosed for transforming a program to facilitate points-to analysis. The method begins with accessing at least a portion of program code, such as JavaScript. In one example, a method with at least one dynamic property correlation is identified for extraction. When a method m is identified for extraction with the dynamic property correlation, a body of the loop l in the method m is extracted. A new method m p is created to include the body of the loop l with the variable i as a parameter. The loop l is substituted in the program code of the method m with the new method m p to create a transformed program code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for transforming a program to facilitate points-to analysis, the computer-implemented method comprising: accessing at least a portion of a program code; identifying at least one method m for extraction that contains one or more dynamic property writes x[v]=y in the program code, wherein the at least one method m identified for extraction satisfies two conditions: (i) a dynamic property write occurs in the at least one method m and is in a loop l with at least one loop variable i in a set of loop variables p i of the at least one method m; and (ii) v is data depen
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (5)
- A. Feldthaus, T. Millstein, A. Møller, M. Schäfer, and F. Tip. Toolsupported refactoring for JavaScript. In Proc. ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA'11), Oct. 2011.
- A. Guha, C. Saftoiu, and S. Krishnamurthi. The Essence of JavaScript. In Proc. 24th European Conference on Object-Oriented Programming, ECOOP '10, vol. 6183 of LNCS. Springer-Verlag, Jun. 2010.
- A. Milanova, A. Rountev, and B. G. Ryder. Parameterized object sensitivity for points-to analysis for Java. ACM Trans. Softw. Eng. Methodol., 14(1):1-41, 2005. ISSN 1049-331X.
- A. Rountev, A. Milanova, and B. G. Ryder. Points-to analysis for Java using annotated constraints. In OOPSLA, Oct. 2001.
- Berndl et al., "Points-to Analysis using BDDs," Jun. 2003, ACM, p. 103-114.