Control flow analysis methods and computing devices for converting COBOL-sourced programs to object-oriented program structures
Abstract
The various embodiments of the invention relate generally to computer software, computer program architecture, software development, and computer programming languages, and more specifically, to techniques for analyzing control flow in COBOL-sourced programs to facilitate optimized conversions to object-oriented program structures. For example, a compiler can include a global optimizer configured to analyze execution flow for a range of blocks of source code in the memory to determine flow-affected code. Also, the compiler can include a native code generator configured to generate native code based on representations of the native code as functions of the source code. The native code is configured to execute on a virtual machine.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 17.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method, executed by a computer, comprising: identifying one or more regions of COBOL source code having an entry point; selecting a PERFORM instruction associated with the entry point to analyze; determining a PERFORM range for the selected PERFORM instruction; identifying an instruction that changes control flow in execution of the COBOL source code subsequent to the selected PERFORM instruction; determining flow-affected code resulting from the instruction; determining reachable regions from the one or more regions of the COBOL source code for the selected PERFORM instruction; and forming
- Claim 2Depends on #1
The method of claim 1 further comprising: decomposing the adjusted PERFORM range into adjusted PERFORM range p
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 17 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (5)
- "Chapter 15: Procedure Division-Perform-Rollback", http://supportline.microfocus.com/Documentation/books/nx30books/lrpdfb.htm, (27 pages) (1998).
- "Chapter 15: Procedure Division—Perform—Rollback", http://supportline.microfocus.com/Documentation/books/nx30books/lrpdfb.htm, (27 pages) (1998).
- John Field et al, "Identifying Procedural Structure in Cobol Programs", PASTE'99, Sep. 1999, pp. 1-10.
- Masim Mossienko, "Automated Cobol to Java Recycling", Proceedings of the Seventh European Conference on Software Maintentance and Reengineering (CSMR'03) (10 pages) (2003).
- Toshio Suganuma et al, "Performance Pitfalls in Large-Scale Java Applications Translated from COBOL", OOPSLA'08, pp. 685-696, Oct. 19-23, 2008.