Methods for enhancing pointer analyses
Abstract
Methods are described that enhance pointer analysis for programs. Whereas previous methods are constrained by the extremes of an inverse relationship between time and information, the present methods selectively unify information so as to allow a desired level of analytical decision within a desired duration of analysis. One aspect of the present invention includes selectively retaining information at a first order of indirection based on variables in an assignment statement while unifying information at subsequent orders of indirection. The methods are used for pointer variables, but are equally useful to function definitions, function calls, function pointers, indirect function calls, and others. The methods may be used in client analysis tools such as code browsers and slicing tools.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of graphing variables in a program, the method comprising: displaying a plurality of nodes, wherein each node of the plurality of nodes represent at least one variable; displaying a plurality of lines, wherein at least one line of the plurality of lines represents a pointer relationship between two nodes; and emanating a flow line from one node of the plurality of nodes to another node of the plurality of nodes so as to create a relationship between the one node and the another node in response to processing an assignment statement between two variables in the program; wherein process
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (2)
- Bjarne Steensgaard, "Points-to Analysis in Almost Linear Time", 1996, ACM, pp. 32-41.
- Manuvir Das, "Unification-based Pointer Analysis with Directional Assignments", 2000 ACM, pp. 1-12.