On the Design of Generic Static Analyzers for Modern Imperative Languages

Computer Science – Programming Languages

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

72 pages

Scientific paper

The 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.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

On the Design of Generic Static Analyzers for Modern Imperative Languages does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with On the Design of Generic Static Analyzers for Modern Imperative Languages, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and On the Design of Generic Static Analyzers for Modern Imperative Languages will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-164559

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.