Loading [a11y]/accessibility-menu.js
Precise detection of un-initialized variables in large, real-life COBOL programs in presence of unrealizable paths | IEEE Conference Publication | IEEE Xplore

Precise detection of un-initialized variables in large, real-life COBOL programs in presence of unrealizable paths


Abstract:

Using variables before assigning any values to them are known to result in critical failures in an application. Few compilers warn about the use of some, but not all uses...Show More

Abstract:

Using variables before assigning any values to them are known to result in critical failures in an application. Few compilers warn about the use of some, but not all uses of un-initialized variables. The problem persists, especially in COBOL systems, due to lack of reliable program analysis tools. A critical reason is the presence of large number of control flow paths due to the use of un-structured constructs of the language. We present the problems faced by one of our big clients in his large, COBOL based software system due to the use of un-initialized variables. Using static data and control-flow analysis to detect them, we observed large number of false positives (imprecision) introduced due to the unrealizable paths in the un-structured COBOL code. We propose a solution to address the realizability issue. The solution is based on the summary based function analysis, which is adapted for COBOL Paragraphs and Sections, to handle the perform-through and fall-through control-flow, and is significantly engineered to scale for large programs (single COBOL program extending to tens of thousands of lines). Using this technique, we noted very large reduction, 45% on an average, in the number of false positives for the un-initialized variables.
Date of Conference: 25-30 September 2011
Date Added to IEEE Xplore: 17 November 2011
ISBN Information:

ISSN Information:

Conference Location: Williamsburg, VA, USA

Contact IEEE to Subscribe

References

References is not available for this document.