Context-sensitive analysis framework using value flows
Abstract
In general, in one aspect, the invention relates to a method for identifying program properties in source code. The method includes: identifying a set of program objects corresponding to a potential program property within the source code; identifying a function associated with the set of program objects in the source code; identifying an input and an output of the function in the source code; creating a value flow graph by: creating a function input node representing the input; creating a function output node representing the output; identifying value flow functions, where each value flow function defines a conditional dependency between a pair of graph nodes, and creating, based on the value flow functions, directed graph edges modeling a potential flow of data through the value flow graph; and identifying a feasible path in the value flow graph depicting an occurrence of the potential program property in the source code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 28.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for identifying program properties in a plurality of source code, comprising: identifying, using a processor, a plurality of program objects corresponding to a potential program property within the plurality of source code; identifying, using the processor, a function associated with the plurality of program objects in the plurality of source code; identifying an input and an output of the function in the plurality of source code; creating a value flow graph comprising a plurality of graph nodes by: creating a first plurality of object nodes corresponding to a plurality of input varia
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 28 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (5)
- Amellal, S.; Kaminska, B.; , "Scheduling of a control data flow graph," Circuits and Systems, 1993., ISCAS '93, 1993 IEEE International Symposium on , vol., no., pp. 1666-1669 vol. 3, May 3-6, 1993.
- Andersen, L. O., "Program Analysis and Specialization for the C Programming Language," Ph.D. Thesis, University of Copenhagen, DIKU, May 1994, 43 pages.
- Bodik, R., "Path-Sensitive, Value-Flow Optimizations of Programs," Ph.D. Thesis, University of Pittsburgh, Nov. 1999, 175 pages.
- Chatterjee, R. et al., "Relevant Context Inference," In Proceedings of the 26th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL), Jan. 1999, 15 pages.
- Fahndrich, M. et al., "Scalable Context-Sensitive Flow Analysis Using Instantiation Constraints," Conference on Programming Language Design and Implementation (PLDI), Jun. 2000, 11 pages.