Constructing control flows graphs of binary executable programs at post-link time
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)
- 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
- Claim 2Depends on #1
The method of claim 1 , further comprising compacting said control flow graph by utilizing a control flow graft optimisation technique.
- Claim 3Independent Claim
T
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 42 total)
References Cited — Backward Prior Art (30)
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.