Patents
US 8,458,679 B2#33614012 Most CitedActiveUnited States (USPTO)Utility

May-constant propagation

3Forward Citations (#33614012 Global)
0.2/yrCitation Velocity (#31051883 Global)
1.02Citation PageRank (#40440632 Global)
7Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

May-constant propagation is a technique used to propagate a constant through the call graph and control flow graph by ignoring possible kills and re-definitions with low probability. Variables associated with constants in program code are determined. Execution flow probabilities are executed for code segments of the program code that comprise the variables. The execution flow probabilities are calculated based on flow data for the program code. At least a first of the code segments is determined to have a high execution flow probability. The first of the constants associated with the first variable are propagated through the flow data to generate modified flow data.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 3.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for propagating may-constants in program code input to a compiler comprising: determining variables that may be associated with a set of one or more constants in the program code; calculating execution flow probabilities for a set of one or more code segments of the program code that associate the variables with the set of one or more constants, wherein the execution flow probabilities are calculated based, at least in part, on flow data for the program code; determining that at least a first code segment of the set of one or more code segments has a first of the execution flow probab

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • Boogerd, Cathal et al., "On the Use of Data Flow Analysis in Static Profiling", Source Code Analysis and Manipulation, 2008 Eighth IEEE International Working Conference Sep. 28-29, 2008 , 10 pages.
  • Brumley, David et al., "BitScope: Automatically Dissecting Malicious Binaries", Mar. 18, 2007 , 20 pages.
  • Click, Cliff et al., "Combining Analyses, Combining Optimizations", ACM Transactions on Programming Languages and Systems vol. 17, Issue 2, http://www-plan.cs.colorado.edu/diwan/7135-08/papers/click.pdf Mar. 1995 , pp. 181-196.
  • Muller-Olm, Markus , "The Complexity of Copy Constant Detection in Parallel Programs", Feb. 2001 , pp. 490-501.
  • Muller-Olm, Markus et al., "On the Complexity of Constant Propagation", Lecture Notes in Computer Science; vol. 2028 Proceedings of the 10th European Symposium on Programming Languages and Systems Apr. 2001 , pp. 190-205.