Search NASAโŒ• Search

NASA NTRS ยท 20160009127

Deductive Evaluation: Formal Code Analysis With Low User Burden

Abstract

We describe a framework for symbolically evaluating iterative C code using a deductive approach that automatically discovers and proves program properties. Although verification is not performed, the method can infer detailed program behavior. Software engineering work flows could be enhanced by this type of analysis. Floyd-Hoare verification principles are applied to synthesize loop invariants, using a library of iteration-specific deductive knowledge. When needed, theorem proving is interleaved with evaluation and performed on the fly. Evaluation results take the form of inferred expressions and type constraints for values of program variables. An implementation using PVS (Prototype Verification System) is presented along with results for sample C functions.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Di Vito, Ben. L. 2016-05-15. Deductive Evaluation: Formal Code Analysis With Low User Burden. https://ntrs.nasa.gov/citations/20160009127

Cite the original work for its findings. Save a collection to share your selection of sources.