Method and system for fast static taint analysis
Abstract
A method for detecting user input dependence in software code. The method including representing the software code with a reachability graph having: a plurality of nodes, where a root node of the plurality of nodes represents an input controlled by a user; a first directed edge connecting a first node of the plurality of nodes and a second node of the plurality of nodes, where the first directed edge represents a data dependency; and a second directed edge connecting a third node of the plurality of nodes and a fourth node of the plurality of nodes, wherein the second directed edge represents a data dependency. The method also includes identifying a fifth node of the plurality of nodes as a reachable node from the root node by traversing the reachability graph from the root node to the reachable node; and marking a portion of the software code represented by the reachable node as user input dependant.
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 method for detecting user input dependence in software code, comprising: generating, by a static analysis engine executing on a processor, an Augmented Static Single Assignment (aSSA) form of the software code comprising: an augmented phi-node comprising: a control dependency to a predicate; a first data dependency to a first variable assignment, and a second data dependency to a second variable assignment, wherein the first variable assignment and second variable assignment are dependent on the predicate; generating, by the static analysis engine, a reachability data structure using the aSS
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)
- Ball, T. and Rajamani, S. K., The Slam Project: Debugging System Software via Statice Analysis, Principles of Programming Languages, Jan. 16-18, 2002, Portland, Oregon, 3 pages.
- Ballance, R. A., MacCabe, A. B., and Ottenstein, K. J., The Program Dependence Web: A Representation Supporting Control-, Data-, and Demand-Driven Interpretation of Imperative Languages, Proceedings of the ACM SIGPLAN '90 Conference on Programming Language Design and Implementation, Jun. 20-22, 1990
- Bell, D. E., and La Padula, L. J., Secure Computer System: Unified Exposition and Multics Interpretation, Technical Report MTR-2997 Rev. 1, Mar. 1976, Bedford, Massachusetts, 134 pages.
- Bush, W. R., Pincus, J. D., and Sielaff, D. J., A Static Analyzer for Finding Dynamic Programming Errors, Software Practice Experience, Jun. 2000, 28 pages.
- Christiansen, T., perlsec-Perl security, http://www.perl.com/doc/manual/html/pod/perlsec.html, Nov. 1997, 7 pages.