HR001121S0007-10.pdf
PDF 65 KB Posted
- Solicitation number
- HR001121S0007-10
View the file
On GovTribe
Work with this file
- Download the original file
- Contacts named in this file
- Similar government files
- Ask GovTribe AI about this file
Text version
HR001121S0007-10: Lifting Legacy Code to Safer Languages (LiLaC-SL)
PROJECTED CMMC LEVEL REQUIREMENT:
N/A
TECHNOLOGY AREAS:
Information Systems
MODERNIZATION PRIORITIES:
Control and Communications | Network Command
KEYWORDS:
Programming, Language Code, C programming, Legacy code
ADDITIONAL INFORMATION
N/A
OBJECTIVE:
The effort will develop tools and investigate methodologies to automate migration of legacy C/C++ software to safer programming languages, taking the fullest possible advantage of the target languages' safety features and mechanisms. Strong proposals will follow open source licensing and code development methodologies. See https://beta.sam.gov/opp/50b838db761a4f75a8ce40655de3c1d8/view for full submission instructions.
DESCRIPTION:
As DoD increasingly considers adopting safer programming languages to improve maintainability and security, migration of legacy code to these languages becomes an important practical consideration. However, the costs of such migration can only be justified if it delivers the highest possible assurance guarantees and is suitably automated.
Although today's approaches offer a degree of automation, they neither provide high assurance nor produce code that fully leverages the target language's native safety features and mechanisms. For example, automatic tools may transform C/C++ code into a language that supports more powerful types, abstractions, or optimized built-in data structures, but fail to take advantage of these types, abstractions, built-ins, and other advanced language elements. Sub-optimal and non-idiomatic code results even when the original C/C++ code attempted to cleanly emulate compatible abstractions via elements of coding style and design patterns.
This topic will develop tools and investigate methodologies to automate migration of well-designed legacy C/C++ software to safer programming languages that leverage the native abstractions and safety features of the target languages. These tools will recognize implicit?and therefore unenforced?patterns of safe, maintainable software design and implementation in quality C/C++ code, translate these patterns into the suitable enforced abstractions of the safer language while migrating the code. The tools will infer the intended patterns that map to the target language's native safer abstractions from the C/C++ code style and structure. They will them to these native abstractions, thereby producing code with superior safety assurance properties and assurance evidence.
The effort will demonstrate the feasibility of such migration methods and tools for important instances of well-designed open-source software of interest to the DoD.
Strong proposals will follow open source licensing and code development methodologies for replicability of results and open source community engagement. Strong proposals will discuss an effective strategy for community outreach and engagement with the open-source developer communities of the targeted safer languages for upstream acceptance and thus for future-proofing of their lifting technologies against the anticipated changes in these languages.
PHASE I:
Phase I of the effort will produce a feasibility study and a basic prototype of the code migration tools that support lifting well-designed C/C++ code to a safer programming language at the scale of a medium-sized open source (OSS) C/C++ code base, as described above.
Schedule/Milestones/Deliverables Phase I fixed payable milestones for this program should include:
Month 1: Detailed software architecture plan for the prototype.• Month 3: Initial prototype of the C/C++ code analyzer front-end for abstraction inference and lifting.• Month 5: Initial feasibility study of inference on the chosen medium-sized OSS C/C++ code base for chosen pilot set of abstractions.
Month 7: Demonstration of successful migration of code base core with lifting of the chosen pilot set of abstractions, generation of assurance evidence.
Month 9: Demonstration of successful migration of the full OSS project.• Month 12: Final Phase I Report summarizing approach; prototype tools and algorithms; data sets; results;
comparison with alternative state-of-the-art methodology; quantification of accuracy; quantification of robustness to errors, code defects, and build chain deviations from the standards; identification of proposed target for Phase II).
PHASE II:
Phase II will produce operational tools for migration of a large legacy C/C++ project of interest to the DoD, and will demonstrate successful migration of this project to the safer programming language of the proposer's choice.
Migrated code will demonstrate idiomatic use of safer features native to the target language, and will present a superior safety profile with strong assurance evidence of safety generated alongside the migrated code.
Schedule/Milestones/Deliverables Phase II fixed milestones for this program should include:
Month 2: Identification and detailed software architecture plan for extended set of abstractions, assurance evidence generation and checking.
Month 6: Automated inference for the extended set of abstractions, justification of usefulness and feasibility for typical C/C++ production code.
Month 9: Initial demonstration of assurance evidence generation and checking• Month 12: Demonstration of successful migration of core modules of a large OSS project, with human-in-the-loop manual steps.
Month 16: Demonstration of automatic inference and generation of trust evidence at the scale necessary for migrating a large OSS project, with automated management of produced artifacts to support engineering changes in the project such as code refactoring or module replacement.
Month 20: Demonstration of successful automated migration of the full large OSS project, with minimal manual intervention and automatic generation and checking of assurance evidence.
Month 24: Final Phase II Report summarizing results and lessons learned; operational tools, preferably delivered as a viable open source project on Github, Gitlab, or similar; algorithms and data sets; results of code migrations; comparison with alternative state-of-the-art methodology; quantification of the required amount of manual intervention when applying the tools; quantification of robustness to errors, code defects, and build chain deviations from the standards.
PHASE III DUAL USE APPLICATIONS:
The project will achieve integration of the developed assured C/C++ code lifting and migration technologies with a software build chain widely used by the DoD industrial base (DIB). The performer will partner with and assist a DIB organization in migrating a widely used open source C/C++ project to a safer programming language, and produce assurance evidence suitable for security certification and/or Authority to Operate certification of a DIB product.
REFERENCES:
Shoaib Kamil, Alvin Cheung, Shachar Itzhaky, Armando Solar-Lezama, 'Verified Lifting of Stencil Computations', In Proc. of 37th annual ACM SIGPLAN conference on Programming Language Design and Implementation, 2016 https://homes.cs.washington.edu/~akcheung/papers/pldi16.html
1.
Maaz Bin Safeer Ahmad, Jonathan Ragan-Kelley, Alvin Cheung, Shoaib Kamil, 'Automatically Translating Image Processing Libraries to Halide', ACM Trans. Graph., Vol. 38, No. 6, Article 204, https://homes.cs.washington.edu/~maazsaf/papers/sigasia19.pdf
2.
TECHNICAL POINT OF CONTACT (TPOC):
None
File details come from the government source that posted it. Updated .