Back to results
US 2019/0196810 A1Published application
Systems and methods for automated renumbering, reformatting, and re-referencing of branching statements or go-to instruction line referencing within modified code using a dual-pass approach that includes operations using predicted new line numbers, error detection/correction, and alignment correction processing
AssigneeThe United States of America as represented by the Secretary of the Navy
InventorGary L. Coldiron, SR.
Life of this patent
Estimating the term…
Abstract
Systems and methods for automated renumbering, reformatting, and re-referencing of branching statements or go-to instruction line referencing within modified code using a dual-pass approach that includes operations using predicted new line numbers, error detection/correction, and alignment correction processing.
Claims1
A system for automated renumbering, reformatting, and re-referencing of code sections including branching statements or go-to instruction line referencing within modified code using a dual-pass approach comprising:
- a machine readable storage medium comprising a plurality of non-transitory machine readable instructions comprising:
- a first pass module comprising a scan and storing existing and anticipated code referencing numbers pass system that includes:
- a parsing system that executes a first and second pass search;
- wherein the first pass search for predefined branching statements or go-to instruction line number reference with destination or code target line number and step number in pre-modified code and stores search results in an array storing a two column list comprising a first and second data, wherein the first data comprises a pre-modified code branching statement or go-to instruction line number and line number reference and a predicted or anticipated new instruction line number reference;
- wherein the anticipated or predicted new instruction line number reference is generated by adding a previously user specified increment to each said first column line number reference;
- wherein the user specified increment is determined by searching for code segment statements comprising compiler directives that are preprocessing directives that create conditional compiling parameters that control the compiling of the source code;
- wherein the compiler directives comprise begin, include, define, declare, require, identify statements, and while/when loop statements, count sublines of code from the code segment statement to an end of segment identifier (dollar sign “$” in atlas),
- wherein the second pass search comprises a correction pass that re-sequences and replaces all said instruction line numbers in pre-modification code, identifies code alignment errors using conditional statement (select case or if-then) matching errors comprising referencing or formatting errors based on reformat each located branching statement or go-to instruction line reference using segmentation code revisions and modification.
5 more elements
Dependencies are inferred from the claim text.