Patents
US 7,207,038 B2#1286712 Most CitedExpiredUnited States (USPTO)Utility

Constructing control flows graphs of binary executable programs at post-link time

42Forward Citations (#1286712 Global)
2.2/yrCitation Velocity (#1682788 Global)
5.61Citation PageRank (#2751111 Global)
30Prior Art Cited
3Claims (2 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

A method and a system for constructing a control flow graph (CFG, 106 ) from an executable computer program ( 104 ). The solution detects data intermixed with instructions and instruction set changes. The method includes the steps of defining block leader types specifying basic block boundaries in the program ( 104 ), building a CFG structure ( 106 ) according to the basic blocks found in the program, and adding control flow and addressing information to the CFG ( 106 ) by propagating through the basic blocks and internals thereof. The CFG ( 106 ) may be then optimised ( 108 ) and a compacted executable ( 112 ) created as a result.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 2 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method for execution on a signal processing unit for constructing a control flow graph from a computer executable program the instructions of which belong to one or more computer architecture instruction sets, said method comprising defining a number of block leader types including at least one type related to an instruction set change, block leaders specifying basic block boundaries in the program, said basic blocks including instructions or data, building a control flow graph structure comprising basic blocks found in the program, adding control flow and addressing information to said cont

  2. Claim 2Depends on #1

    The method of claim 1 , further comprising compacting said control flow graph by utilizing a control flow graft optimisation technique.

  3. Claim 3Independent Claim

    T

Technical Overview & Description

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

References Cited — Backward Prior Art (30)

PatentTitleYearCitations
US 5,274,811 AMethod for quickly acquiring and using very long traces of mixed system and user memory references1993131
US 5,339,238 ARegister usage tracking in translating code for different machine architectures by forward and reverse tracing through the program flow graph199458
US 5,450,575 AUse of stack depth to identify machine code mistakes1995124
US 5,488,714 AComputer program analyzer for adapting computer programs to different architectures199674
US 5,557,761 ASystem and method of generating object code using aggregate instruction movement1996151
US 5,613,117 AOptimizing compiler using templates corresponding to portions of an intermediate language graph to determine an order of evaluation and to allocate lifetimes to temporary names for variables1997221
US 5,689,712 AProfile-based optimizing postprocessors for data references199787
US 5,854,929 AMethod of generating code for programmable processors, code generator and application thereof1998107
US 5,867,400 AApplication specific processor and design method for same1999116
US 5,896,521 AProcessor synthesis system and processor synthesis method199977
US 5,911,059 AMethod and apparatus for testing software199998
US 5,918,035 AMethod for processor modeling in code generation and instruction set simulation199991
US 5,920,721 ACompiler generating functionally-alike code sequences in an executable program intended for execution in different run-time environments199977
US 5,966,539 ALink time optimization with translation to intermediate program and following optimization techniques including program analysis code motion live variable set generation order analysis, dead code elimination and load invariant analysis1999133
US 5,999,737 ALink time optimization via dead code elimination, code motion, code partitioning, code grouping, loop analysis with code motion, loop invariant analysis and active variable to register analysis1999104

Non-Patent Literature (5)

  • "A Methodology for Decompilation" by C. Cifuentes et al XIX Conferencia Latinoamericana de Informatica, Buenos Aires, Argentine, Aug. 2-6, 1993, pp. 257-266.
  • "Compiler Techniques for Code Compaction" by S. Debray et al ACM Transactions on Programming Languages and Systems, vol. 22, No. 2, Mar. 2000, pp. 378-415.
  • Cosynthesis with the MOVE framework, Henk Corporaal et al, 1996, 6 pages.
  • Elcor's Machine Description System: Version 3.0, Shail Aditya et al, HPL-98-128, Oct. 1998, 76 pages.
  • HMDES Version 2.0 Specification, John C. Gyllenhaal et al, Technical Report IMPACT-96-3, 1996, 82 pages.