Patents
US 7,293,264 B2#17942449 Most CitedExpiredUnited States (USPTO)Utility

Method and a device for abstracting instruction sequences with tail merging

6Forward Citations (#17942449 Global)
0.3/yrCitation Velocity (#24934355 Global)
1.56Citation PageRank (#21472083 Global)
4Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method and a device for abstracting instruction sequences in a computer program. First, a control flow graph of the program is generated and analysed in order to detect multiple occurrences of a same instruction sequence ( 504, 506 ). Then, a function including the longest sequence common to at least two instruction sequences from a plurality of sequences having a common instruction sequence of equal or shorter length compared to the longest sequence is created ( 512 ). Finally, the original occurrences of the instruction sequences in the plurality of sequences with a reference to a proper position in the newly created function are deleted and a reference to a proper position in the created function inserted instead ( 514 ).

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method comprising: creating a control flow graph of a computer program having instruction sequences, said control flow graph including basic blocks of instructions, each basic block having a last instruction, traversing through the basic blocks in order to detect multiple occurrences of a same instruction sequence which includes said last instruction for each of at least two basic blocks, creating a function including a longest sequence of last instruction sequences common to said at least two basic blocks and which includes said last instruction for each of said at least two basic blocks, s

Technical Overview & Description

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

Non-Patent Literature (5)

  • Baker, Brenda S. "A Theory of Parameterized Pattern Matching: Algorithms and Applictions (Extended Abstract)" 25<SUP>th </SUP>ACM STOC, 1993, pp. 71-80.
  • Beszedes et al., "Survey of Code-Size Reduction Methods", ACM Computing Surveys, vol. 35, No. 3, Sep. 2003, pp. 223-267.
  • Chanet et al., "Post-Pass Compaction Techniques", Communications of the ACM, vol. 46, No. 8, Aug. 2003, pp. 41-46.
  • Cooper et al, "Enhanced Code Compression for Embedded RISC Processors", SIGPLAN'99, ACM, 1999, pp. 139-149.
  • Cristina Cifuentes and K. John Gough, "A Methodology for Decompilation," XIX Conferencia Latinoamericana de Informatica, Buenos Aires, Argentina, Aug. 2-6, 1993, pp. 257-266.