Title :
Generic invariant-based static analysis tool for detection of runtime errors in Java programs
Author :
Skevoulis, Sotiris ; Jia, Xiaoping
Author_Institution :
Dept. of Comput. Sci., Pace Univ., New York, NY, USA
Abstract :
The paper presents an invariant-based generic tool to statically analyze Java programs in order to detect potential errors (bugs). We briefly discuss the supporting theoretical framework and highlight the results of the tool. It can automatically detect potential bugs such as illegal dereference and array bounds and report them before the program is executed. For a Java class, invariants related to the category of error under examination are automatically generated and used to assess the validity of variable usage in the implementation of this class. The tool provides a practical and extensible generic mechanism for error detection to help industry practitioners who work with an object oriented language such as Java. The presented mechanism is capable of addressing error detection for a variety of error categories that cannot be caught by flow-based static analysis tools
Keywords :
Java; object-oriented programming; program debugging; program diagnostics; Java class; Java programs; array bounds; automatic bug detection; generic invariant-based static analysis tool; illegal dereference; object oriented language; runtime error detection; Computer bugs; Computer errors; Computer industry; Computer science; Error correction; Face detection; Information systems; Java; Program processors; Runtime;
Conference_Titel :
Technology of Object-Oriented Languages and Systems, 2000. TOOLS-Pacific 2000. Proceedings. 37th International Conference on
Conference_Location :
Sydney, NSW
Print_ISBN :
0-7695-0918-5
DOI :
10.1109/TOOLS.2000.891356