Data flow analysis with collapsed contexts
Abstract
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for performing data flow analysis using collapsed contexts. One of the methods includes obtaining data representing a plurality of software elements, wherein one or more software elements are initially designated as elements having the particular property; iteratively designating other software elements to which data of the one or more elements having the particular property flows, including: whenever the program includes multiple calls to a function, analyzing the function in a collapsed context to determine whether any argument flows to a return value of the function, and whenever any data in an argument that has the particular property according to the collapsed context flows to a return value of the function, adding each call to the function throughout the program having one argument having the particular property; and providing the set of software elements having the particular property.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: maintaining data identifying one or more initially tainted software elements in a set of software elements of a software program; receiving a request to compute, from a set of software elements of the software program, a set of tainted software elements, wherein the tainted software elements are software elements to which data stored by one or more initially tainted software elements can flow in the software program, wherein the set of tainted software elements initially includes the one or more initially tainted software elements; iteratively processi
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 10,379,849 B1 | Methods and apparatus for visualization of contextual code execution | 2019 | 4 |
References Cited — Backward Prior Art (17)
Non-Patent Literature (5)
- Arzt, S., et al., FlowDroid: precise context, flow, field, object-sensitive and lifecycle-aware taint analysis for Android apps, Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation, 2014, pp. 259-269, [retrieved on Feb. 10, 2017], Retrieved from the Inter
- Baca, D., Identifying Security Relevant Warnings from Static Code Analysis Tools through Code Tainting, 2010 International Conference on Availability, Reliability and Security, pp. 386-390, [retrieved on Feb. 11, 2017], Retrieved from the Internet: <URL:http://ieeexplore.ieee.org/>.
- Balliu et al., "Automating Information Flow Analysis of Low Level Code," Proceedings of the 2014 ACM SIGSAC Conference on Computer and Communications Security, 2014, 12 pages.
- Burket et al., "Making DidFail Succeed: Enhancing the CERT Static Taint Analyzer for Android App Sets," Technical Report No. CMU/SEI-2015-TR-001, Software Engineering Institute, Carnegie Mellon University, 2015, 29 pages.
- Denaro et al., "Dynamic Data Flow Testing of Object Oriented Systems," Proceedings of the 37th Annual Conference on Software Engineering, vol. 1, 2015, 12 pages.