On the Design of Generic Static Analyzers for Modern Imperative Languages

dc.creatorBagnara, Roberto
dc.creatorHill, Patricia M.
dc.creatorPescetti, Andrea
dc.creatorZaffanella, Enea
dc.date2007-03-23
dc.date2007-06-28
dc.date.accessioned2026-07-07T08:12:46Z
dc.date.available2026-07-07T08:12:46Z
dc.descriptionThe design and implementation of precise static analyzers for significant fragments of modern imperative languages like C, C++, Java and Python is a challenging problem. In this paper, we consider a core imperative language that has several features found in mainstream languages such as those including recursive functions, run-time system and user-defined exceptions, and a realistic data and memory model. For this language we provide a concrete semantics --characterizing both finite and infinite computations-- and a generic abstract semantics that we prove sound with respect to the concrete one. We say the abstract semantics is generic since it is designed to be completely parametric on the analysis domains: in particular, it provides support for \emph{relational} domains (i.e., abstract domains that can capture the relationships between different data objects). We also sketch how the proposed methodology can be extended to accommodate a larger language that includes pointers, compound data objects and non-structured control flow mechanisms. The approach, which is based on structured, big-step $\mathrm{G}^\infty\mathrm{SOS}$ operational semantics and on abstract interpretation, is modular in that the overall static analyzer is naturally partitioned into components with clearly identified responsibilities and interfaces, something that greatly simplifies both the proof of correctness and the implementation.
dc.description72 pages
dc.identifierhttps://arxiv.org/abs/cs/0703116
dc.identifierhttp://arxiv.org/abs/cs/0703116
dc.identifier.urihttp://salesiana.dossiersoluciones.com/handle/123456789/132569
dc.subjectProgramming Languages
dc.subjectLogic in Computer Science
dc.subjectF.3.1; F.3.2
dc.titleOn the Design of Generic Static Analyzers for Modern Imperative Languages
dc.typetext

Files

Collections