0 Sawja: Static Analysis Workshop for Java

Laurent Hubert, Nicolas Barré, Frédéric Besson et al. · 2010

Abstract. Static analysis is a powerful techniquefor automatic verificationofprograms butraises major engineeringchallenges whendeveloping a full-fledged analyzer for a realistic language such as Java. Efficiency and precision of such a tool rely partly on low level components which only depend on the syntactic structure of the language and therefore should not be redesigned for each implementation of a new static analysis. This paper describes the Sawja library: a static analysis framework fully compliant with Java 6 which provides OCaml modules for efficiently manipulating Java bytecode programs. We present the main features of the library, including i) efficient functional data-structures for representing program with implicit sharing and lazy parsing, ii) an intermediate stack-less representation, and iii) fast computation and manipulation of complete programs. We provide experimental evaluations of the different features with respect to time, memory and precision.

Cited by 24 works.

Authors

References