Title :
Supplying Compiler´s Static Compatibility Checks by the Analysis of Third-Party Libraries
Author :
Jezek, Kamil ; Holy, L. ; Brada, P.
Author_Institution :
Dept. of Comput. Sci. & Eng., Univ. of West Bohemia, Pilsen, Czech Republic
Abstract :
Statically typed languages and their compile time checks prevent a lot of runtime errors thanks to type mismatches detection, namely calls of incompatible methods. Since current applications typically include tens of already compiled third-party libraries, the compile checks are powerless to detect their mutual dependencies. However, the calls among third-party library methods are not less error prone due to bugs or wrong library usage. These all lead to runtime failures. In this paper, we describe a partial solution to this problem based on the static analysis of third-party libraries and verification of their dependencies. This verification is invoked as the application is compiled and assembled, essentially supplying the compiler detecting errors before the application runs. This approach promises improved error detection of complex applications on the static type checking level.
Keywords :
formal verification; program compilers; program diagnostics; compile time check; compiler static compatibility checks; dependency verification; library usage; mutual dependency; runtime error; runtime failure; static analysis; static type checking level; statically typed language; third-party library analysis; IEEE Computer Society; Java; Loading; Runtime; Software; Software libraries; Analysis; Byte-Code; Static Verification; Type Compatibility;
Conference_Titel :
Software Maintenance and Reengineering (CSMR), 2013 17th European Conference on
Conference_Location :
Genova
Print_ISBN :
978-1-4673-5833-0
DOI :
10.1109/CSMR.2013.53