Method for finding all valid interprocedural execution paths on COBOL in polynomial time
Abstract
Disclosed are methods for finding all valid paths in a COBOL program. These methods are performed in polynomial time, allowing them to be scaled to accommodate large COBOL programs. As the methods find all valid paths in COBOL program code, by traversing and marking the nodes of the program upon being traversed. Accordingly, all usable and reachable code is indicated and marked. This increases safety when working with the code, as removal or alteration of such valid code is indicated, and thus, made unlikely.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for scanning valid executable paths of a COBOL program to find all reachable code comprising: scanning a successive node in paragraphs of the COBOL program, according to an order of execution of the COBOL program, wherein each node in the paragraphs of said COBOL program is a statement including at least part of a line of code; marking the scanned node in accordance with an index value; moving to a successive unmarked node of the scanned node; analyzing the successive unmarked node for determining a type of the successive unmarked node, and determining a continued
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (5)
- Gutzmann et al., "Towards Path-Sensitive Points-To Analysis", Seventh IEEE International Working Conference on Source Code Analysis and Manipulation, 2007. SCAM 2007, pp. 59-68.
- Nielson et al., "Interprocedural Control Flow Analysis", Programming Languages and Systems Lecture Notes in Computer Science vol. 1576, 1999, pp. 20-39.
- Reps et al., "Precise Interprocedural Dataflow Analysis Via Graph Reachability", POPL '95 Proceedings of the 22nd ACM SIGPLAN-SIGACT symposium on Principles of programming languages, pp. 49-61 , 1995.
- Thomas Reps "On the Sequential Nature of Interprocedural Program-Analysis Problems" Aug. 1996 Acta Informatica vol. 33 Issue 5 pp. 1-16.
- Thomas Reps, "On the Sequential Nature of Interprocedural Program-Analysis Problems", Acta Informatica Aug. 1996, vol. 33, Issue 5, pp. 739-757.