Skip to Content

PPL citations from 2010

All citation years and BibTeX download

[AmatoPS10]
A Tool Which Mines Partial Execution Traces to Improve Static Analysis(Conference paper)
Authors:
G. Amato; M. Parton; F. Scozzari
Editors:
H. Barringer; Y. Falcone; B. Finkbeiner; K. Havelund; I. Lee; G. Pace; G. Rosu; O. Sokolsky; N. Tillmann
Date:
2010
Publication:
Proceedings of the 1st International Conference on Runtime Verification (RV 2010)
Series:
Lecture Notes in Computer Science
Volume:
6418
Pages:
475–479
Publisher:
Springer-Verlag, Berlin
Location:
Balluta Bay, St Julians, Malta
ISBN:
978-3-642-16611-2
Abstract
We present a tool which performs abstract interpretation based static analysis of numerical variables. The novelty is that the analysis is parametric, and parameters are chosen by applying a variant of principal component analysis to partial execution traces of programs.
[AmatoPS10a]
Deriving Numerical Abstract Domains via Principal Component Analysis(Conference paper)
Authors:
G. Amato; M. Parton; F. Scozzari
Editors:
R. Cousot; M. Martel
Date:
2010
Publication:
Static Analysis: Proceedings of the 17th International Symposium (SAS 2010)
Series:
Lecture Notes in Computer Science
Volume:
6337
Pages:
134–150
Publisher:
Springer-Verlag, Berlin
Location:
Perpignan, France
ISBN:
978-3-642-15768-4 (Print) 978-3-642-15769-1 (Online)
Abstract
We propose a new technique for developing ad-hoc numerical abstract domains by means of statistical analysis. We apply Principal Component Analysis to partial execution traces of programs, to find out a “best basis” in the vector space of program variables. This basis may be used to specialize numerical abstract domains, in order to enhance the precision of the analysis. As an example, we apply our technique to interval analysis of simple imperative programs.
[Andre10]
IMITATOR II: A Tool for Solving the Good Parameters Problem in Timed Automata(Conference paper)
Authors:
É. André
Editors:
Y.-F. Chen; A. Rezine
Date:
2010
Publication:
Proceedings of the 12th International Workshop on Verification of Infinite State Systems (INFINITY'10)
Series:
Electronic Proceedings in Theoretical Computer Science
Volume:
39
Pages:
91–99
Location:
Singapore
Abstract
We present here Imitator II, a new version of Imitator, a tool implementing the “inverse method” for parametric timed automata: given a reference valuation of the parameters, it synthesizes a constraint such that, for any valuation satisfying this constraint, the system behaves the same as under the reference valuation in terms of traces, i.e., alternating sequences of locations and actions. Imitator II also implements the “behavioral cartography algorithm”, allowing us to solve the following good parameters problem: find a set of valuations within a given bounded parametric domain for which the system behaves well. We present new features and optimizations of the tool, and give results of applications to various examples of asynchronous circuits and communication protocols.
[Andre10th]
An Inverse Method for the Synthesis of Timing Parameters in Concurrent Systems(PhD thesis)
Authors:
É. André
Date:
2010-12
Location:
Cachan, France
School:
École normale supérieure de Cachan
Abstract
This thesis proposes a novel approach for the synthesis of delays for timed systems, in particular in the framework of timed automata, a model for verifying real-time systems. Our approach relies on the following inverse method: given a reference valuation of the parameters, we synthesize a constraint on the parameters, guaranteeing the same time abstract linear behavior as for the reference valuation. This gives a criterion of robustness to the system. By iterating this inverse method on various points of a bounded parameter domain, we are then able to partition the parametric space into good and bad zones, with respect to a given property one wants to verify. This gives a behavioral cartography of the system. This method extended to probabilistic systems allows to preserve minimum and maximum probabilities of reachability properties. We also present variants of the inverse method for directed weighted graphs and Markov Decision Processes. Several prototypes have been implemented; in particular, IMITATOR II implements the inverse method and the cartography for timed automata. It allowed us to synthesize parameter values for several case studies such as an abstract model of a memory circuit sold by the chipset manufacturer ST-Microelectronics, and various communication protocols.
[AspinallAMS10]
Symbolic and Analytic Techniques for Resource Analysis of Java Bytecode(Conference paper)
Authors:
D. Aspinall; R. Atkey; K. MacKenzie; D. Sannella
Editors:
M. Wirsing; M. Hofmann; A. Rauschmayer
Date:
2010
Publication:
Trustworthly Global Computing: Proceedings of the 5th International Symposium (TGC 2010)
Series:
Lecture Notes in Computer Science
Volume:
6084
Pages:
1–22
Publisher:
Springer-Verlag, Berlin
Location:
Munich, Germany
ISBN:
978-3-642-15639-7 (Print) 978-3-642-15640-3 (Online)
Abstract
Recent work in resource analysis has translated the idea of amortised resource analysis to imperative languages using a program logic that allows mixing of assertions about heap shapes, in the tradition of separation logic, and assertions about consumable resources. Separately, polyhedral methods have been used to calculate bounds on numbers of iterations in loop-based programs. We are attempting to combine these ideas to deal with Java programs involving both data structures and loops, focusing on the bytecode level rather than on source code.
[Banda10th]
Modelling and Analysis of Real Time Systems with Logic Programming and Constraints(PhD thesis)
Authors:
G. Banda
Date:
2010-08
Location:
Roskilde, Denmark
School:
Roskilde University
Also published as Computer Science Research Report 130.
Abstract
Embedded systems are increasingly being deployed in a wide variety of applications. Most, if not all, of these applications involve an electronic controller with discrete behaviour controlling a continuously evolving plant. Because of their hybrid behaviour (discrete and continuous) and reactive behaviour, the formal verification of embedded systems pose new challenges. Linear Hybrid Automata (LHA) is a language for specifying systems with linear hybrid behaviour. Abstract interpretation is a formal theory for approximating the semantics of programming languages. Model checking is a technique to verify the reactive behaviour of concurrent systems. Computation Tree Logic (CTL) is a temporal property specification language. Logic programming is a general purpose programming language based on predicate logic. In this dissertation, the LHA models are verified by encoding them as constraint logic programs. The constraint logic program (CLP) encoding an LHA model is first specialised and then a concrete minimal model (or possibly an abstract minimal model) for the residual program is computed. The abstract minimal model is computed by applying the theory of abstract interpretation. The computed minimal model forms the basis for verifying the LHA model. We consider two techniques to verify the reactive properties specified as CTL formulas: (i) reachability analysis and (ii) model checking. A systematic translation of LHA models into constraint logic programs is defined. This is mechanised by a compiler. To facilitate forward and backward reasoning, two different ways to model an LHA are defined. A framework consisting of general purpose constraint logic program tools is presented to accomplish the reachability analysis to verify a class of safety and liveness properties. A tool to compute the concrete minimal model is implemented. The model checking of CTL is defined as a concrete CTL-semantic function. Since model checking of infinite state systems, which LHAs are, does not terminate, we apply the theory of abstract interpretation to model checking that ensures termination at the cost of loss in precision. An abstract CTL-semantic function is constructed as an abstract interpretation of the CTL-semantic function. This abstract CTL-semantic function is implemented using a SMT solver resulting in an abstract model checker. We consider two abstract domains: (i) the domain of constraints and (ii) the domain of convex polyhedra, for both abstract model checking and abstract minimal model computation. We demonstrate the applicability of the proposed theory with examples taken from the literature.
[BandaG10a]
Constraint-Based Abstraction of a Model Checker for Infinite State Systems(Conference paper)
Authors:
G. Banda; J. P. Gallagher
Editors:
U. Geske; A. Wolf
Date:
2010
Publication:
Proceedings of the 23rd Workshop on (Constraint) Logic Programming (WLP 2009)
Pages:
109–124
Publisher:
Potsdam Universitätsverlag
Location:
Potsdam, Germany
Abstract
Abstract interpretation-based model checking provides an approach to verifying properties of infinite-state systems. In practice, most previous work on abstract model checking is either restricted to verifying universal properties, or develops special techniques for temporal logics such as modal transition systems or other dual transition systems. By contrast we apply completely standard techniques for constructing abstract interpretations to the abstraction of a CTL semantic function, without restricting the kind of properties that can be verified. Furthermore we show that this leads directly to implementation of abstract model checking algorithms for abstract domains based on constraints, making use of an SMT solver.
[BandaG10b]
Constraint-Based Abstract Semantics for Temporal Logic: A Direct Approach to Design and Implementation(Conference paper)
Authors:
G. Banda; J. P. Gallagher
Editors:
E. Clarke; A. Voronkov
Date:
2010
Publication:
Proceedings of the 17th International Conference on Logic for Programming, Artificial Intelligence, and Reasoning (LPAR 2010)
Series:
Lecture Notes in Computer Science
Volume:
6355
Pages:
27–45
Publisher:
Springer-Verlag, Berlin
Location:
Yogyakarta, Indonesia
ISBN:
978-3-642-17510-7
Abstract
Abstract interpretation provides a practical approach to verifying properties of infinite-state systems. We apply the framework of abstract interpretation to derive an abstract semantic function for the modal ? -calculus, which is the basis for abstract model checking. The abstract semantic function is constructed directly from the standard concrete semantics together with a Galois connection between the concrete state-space and an abstract domain. There is no need for mixed or modal transition systems to abstract arbitrary temporal properties, as in previous work in the area of abstract model checking. Using the modal ? -calculus to implement CTL, the abstract semantics gives an over-approximation of the set of states in which an arbitrary CTL formula holds. Then we show that this leads directly to an effective implementation of an abstract model checking algorithm for CTL using abstract domains based on linear constraints. The implementation of the abstract semantic function makes use of an SMT solver. We describe an implemented system for proving properties of linear hybrid automata and give some experimental results.
[BerendsenJV10]
Fortuna: Model Checking Priced Probabilistic Timed Automata(Conference paper)
Authors:
J. Berendsen; D. N. Jansen; F. W. Vaandrager
Date:
2010
Publication:
Proceedings of the 7th International Conference on the Quantitative Evaluation of Systems (QEST 2010)
Pages:
273–281
Publisher:
IEEE Computer Society
Location:
Williamsburg, Virginia, USA
ISBN:
978-0-7695-4188-4
Abstract
Fortuna is the first tool for model checking priced probabilistic timed automata (PPTAs). PPTAs are an important model that can handle the combination of real-time, probabilistic and cost features. Only model checkers that incorporate all these features can address the key design trade-offs that arise in many practical applications such as: the Zeroconf, Bluetooth, IEEE802.11 and Firewire protocols, protocols for sensor networks, and scheduling problems with failures. PPTAs are an extension of probabilistic timed automata (PTAs), by having cost-rates and discrete cost increments on states. Fortuna is able to compute the maximal probability by which a class of states can be reached under a certain cost-bound (and time bound.) Although the problem is undecidable in general, there exists a semi-algorithm that produces a non-decreasing sequence of maximal probabilities. This paper enhances that algorithm. We compared the performance of Fortuna with existing approaches for PTAs. Surprisingly, although PPTAs are more general, our techniques exhibit superior performance.
[BoigelotBD10]
Implicit Real Vector Automata(Article)
Authors:
B. Boigelot; J. Brusten; J.-F. Degbomont
Date:
2010
Publication:
Electronic Proceedings in Theoretical Computer Science
Volume:
39
Pages:
63–76
Publisher:
Open Publishing Association
Abstract
This paper addresses the symbolic representation of non-convex real polyhedra, i.e., sets of real vectors satisfying arbitrary Boolean combinations of linear constraints. We develop an original data structure for representing such sets, based on an implicit and concise encoding of a known structure, the Real Vector Automaton. The resulting formalism provides a canonical representation of polyhedra, is closed under Boolean operators, and admits an efficient decision procedure for testing the membership of a vector.
[Bouaziz10TR]
TreeKs: un foncteur pour faire passer les domaines numériques à l'échelle(Technical report)
Authors:
M. Bouaziz
Date:
2010-08
Location:
Paris, France
Institution:
École normale supérieure
Abstract
Le contexte général Notre travail s'inscrit dans le domaine de l'interprétation abstraite initié par Patrick Cousot à la fin des années 70. L'interprétation abstraite est une théorie de l'approximation sûre de sémantiques de langages de programmation principalement utilisée pour l'analyse et la vérification statique de programmes. Plus particulièrement, notre travail s'intéresse aux domaines numériques abstraits dont se servent ces analyseurs pour représenter les valeurs numériques d'un programme et en approximer les calculs. Dès la fin des années 70 coexistent le domaine simple et peu expressif des intervalles permettant de borner les valeurs de chaque variable et le domaine des polyèdres très coûteux mais permettant de représenter toutes les inégalités linéaires entre les variables d'un programme. Depuis, et surtout cette dernière décennie, de nouveaux domaines numériques — dits domaines faiblement relationnels — ont été conçus pour répondre à différents besoins d'expressivité, de précision et de coût. Le plus connu d'entre eux étant certainement le domaines des octogones qui permet de borner les sommes et les différences de toute paire de variables. Le problème étudié Parallèlement, les besoins d'analyse et de vérification statiques se sont développés et l'on a maintenant à faire face à l'analyse de programmes de très grande taille, comme les programmes des avions Airbus. Néanmoins, seuls les intervalles sont capables, sans modification, de passer à l'échelle d'une telle analyse. Il y a donc une nécessité de développer de nouveaux outils afin de répondre à cette demande, à la fois de manière précise et efficace. C'est pourquoi des analyseurs, comme Astrée, ont vu le jour. Pour faire passer à l'échelle les domaines numériques faiblement relationnels, ils découpent ces derniers en fragments, appelés packs. Cependant ce découpage reste incomplet car ils engendrent d'importantes pertes d'informations, qui peuvent rendre l'analyse plus longue et moins précise. Il nous semblait à la fois nécessaire et possible d'y apporter une amélioration. La contribution proposée S'il est impossible de conserver toutes les relations entre toutes les variables, il est néanmoins possible d'en conserver un certain nombre et de les choisir judicieusement afin de garder une précision maximale. Là où le graphe des relations était complet, nous avons proposé de nous restreindre à un sous-graphe. À partir de là, nous avons étudié différentes formes de sous-graphe afin de trouver celles qui permettraient de garder un maximum de relations tout ayant un coût en temps le plus faible possible. Ce graphe a la forme d'un arbre de graphes complets, ce qui explique le nom de notre domaine. Nous l'avons d'abord appliqué au domaine des octogones puis l'avons généralisé en définissant un cadre formel qui englobe tout domaine numérique abstrait d'inégalités linéaires. Les arguments en faveur de sa validité Cette solution permet assurément de réduire le nombre de relations stockées et est évidemment meilleure que toute solution sans relation. Cependant, il fallait également montrer son effectivité. Pour cela nous avons développé les algorithmes nécessaires aux différentes opérations d'un domaine abstrait et en avons prouver la correction et l'efficacité. Même si de manière sûre notre solution est au moins aussi efficace et précise qu'une solution avec des packs sans relations, il reste à la mettre à l'épreuve d'une implémentation. Malheureusement celle-ci est plus complexe que l'implémentation d'un domaine quelconque, nous n'avons pas eu le temps de la terminer. Le bilan et les perspectives Notre approche est certes générale mais peut encore sans doute être étendue selon les besoins à d'autres classes de domaines numériques. Il faudra attendre la fin de l'implémentation pour mesurer exactement les retombées en termes d'efficacité et de précision. À ce moment, nous espérons que notre approche pourra être utilisée dans des analyseurs comme Astrée et que d'autres chercheurs pourront profiter de notre travail afin de développer des domaines abstraits qui passent à l'échelle. Il n'y a pas une bonne question à poser, notre travail ouvre de nombreuses perspectives dans l'amélioration de l'efficacité des domaines relationnels, notamment dans la recherche de formes efficaces de sous-graphes, de mélanges de différents domaines numériques partageant des relations, et surtout dans l'étude de la meilleure expressivité d'un domaine en fonction des relations explicites ou implicites présentes dans un programme.
[BozgaIK10]
Fast Acceleration of Ultimately Periodic Relations(Conference paper)
Authors:
M. Bozga; R. Iosif; F. Konečný
Editors:
T. Touili; B. Cook; P. Jackson
Date:
2010
Publication:
Computer Aided Verification: Proceedings of the 22nd International Conference (CAV 2010)
Series:
Lecture Notes in Computer Science
Volume:
6174
Pages:
227–242
Publisher:
Springer-Verlag, Berlin
Location:
Edinburgh, UK
ISBN:
978-3-642-14294-9 (Print) 978-3-642-14295-6 (Online)
Abstract
Computing transitive closures of integer relations is the key to finding precise invariants of integer programs. In this paper, we describe an efficient algorithm for computing the transitive closures of difference bounds, octagonal and finite monoid affine relations. On the theoretical side, this framework provides a common solution to the acceleration problem, for all these three classes of relations. In practice, according to our experiments, the new method performs up to four orders of magnitude better than the previous ones, making it a promising approach for the verification of integer programs.
[BrauerKK10]
Range Analysis of Microcontroller Code Using Bit-Level Congruences(Conference paper)
Authors:
J. Brauer; A. King; S. Kowalewski
Editors:
S. Kowalewski; M. Roveri
Date:
2010
Publication:
Formal Methods for Industrial Critical Systems: Proceedings of the 15th International Workshop (FMICS 2010)
Series:
Lecture Notes in Computer Science
Volume:
6371
Pages:
82–98
Publisher:
Springer-Verlag, Berlin
Location:
Antwerp, Belgium
ISBN:
978-3-642-15897-1 (Print) 978-3-642-15898-8 (Online)
Abstract
Bitwise instructions, loops and indirect data access pose difficult challenges to the verification of microcontroller programs. In particular, it is necessary to show that an indirect write does not mutate registers, which are indirectly addressable. To prove this property, among others, this paper presents a relational binary-code semantics and details how this can be used to compute program invariants in terms of bit-level congruences. Moreover, it demonstrates how congruences can be combined with intervals to derive accurate ranges, as well as information about strided indirect memory accesses.
[BrauerKKN10]
Loop Refinement Using Octagons and Satisfiability(Conference paper)
Authors:
J. Brauer; V. Kamin; S. Kowalewski; T. Noll
Date:
2010-10
Publication:
Proceedings of the 5th International Workshop on Systems Software Verification (SSV 2010)
Publisher:
USENIX Association
Location:
Vancouver, BC, Canada
Abstract
This paper presents a technique for refining the control structure of loops in programs operating over finite bit-vectors. This technique is based on abstract interpretation using octagons and affine equalities in order to identify infeasible sequences of loop iterations. Our approach naturally integrates wrap-around arithmetic during the generation of abstractions. Abstract interpreters operating on a refined control structure then typically derive strengthened program invariants without having to rely on complicated domain constructions such as disjunctive completions.
[Chen10]
Programmable Verifiers in Imperative Programming(Book chapter)
Authors:
Y. Chen
Editors:
S. Qin
Date:
2010
Publication:
Unifying Theories of Programming: Proceedings of the Third International Symposium (UTP 2010)
Series:
Lecture Notes in Computer Science
Volume:
6445
Pages:
172–187
Publisher:
Springer-Verlag, Berlin
Location:
Shanghai, China
ISBN:
978-3-642-16689-1 (Print) 978-3-642-16690-7 (Online)
Abstract
This paper studies the relation between execution and verification. A simple imperative language called VerExec with execution and verification commands is introduced. A machine only executes execution commands of a program, while the compiler only performs the verification commands. Common commands in other languages can be defined as a combination of execution and verification commands. Design of verifiers then becomes program design using verification commands. It is shown that type checking, abstract interpretation, modeling checking and Hoare Logic are all special verification programs, so are many of their combinations.
[ChenWL10]
Weak Join for the Constraint-Based Polyehdra Abstract Domain(Article)
Authors:
L.-Q. Chen; J. Wang; W.-W. Liu
Date:
2010
Publication:
Journal of Software
Volume:
21
Issue:
11
Pages:
2711–2724
Publisher:
China Science Publishing & Media Ltd.
ISSN:
1000-9825
Abstract
The main tractability problem of the constraint-based polyhedra abstract domain can be derived from the costly (strong) join operation, that is, the convex hull computation. This paper presents a series of cheap weak join operations as a sound substitution for the convex hull operation of the constraint-based polyhedra domain. To achieve a trade-off between efficiency and precision, a heuristic strategy is proposed which dynamically combines both strong join and weak join during program analysis. Experimental results show that the weak join operation can significantly improve the efficiency, scalability and robustness of the constraint-based polyhedra domain.
[DangFGLG10]
Tools for the Analysis of Hybrid Models(Book chapter)
Authors:
T. Dang; G. Frehse; A. Girard; C. Le Guernic
Editors:
C. Jard; O. H. Roux
Date:
2010
Publication:
Communicating Embedded Systems
Pages:
227–251
Publisher:
Wiley
ISBN:
978-1-84821-143-8 (Print) 978-1-118-55818-8 (Online)
Published online on February 13, 2013
Abstract
Summary This chapter contains sections titled: Introduction Hybrid automata and reachability Linear hybrid automata Piecewise affine hybrid systems Hybridization techniques for reachability computations Bibliography
[DavidBBBCLPRSYJLMRT10]
Tools for Model-Checking Timed Systems(Book chapter)
Authors:
A. David; G. Behrmann; P. Bulychev; J. Byg; T. Chatain; K. G. Larsen; P. Pettersson; J. I. Rasmussen; J. Srba; W. Yi; K. Y. Joergensen; D. Lime; M. Magnin; O. H. Roux; L.-M. Traonouez
Editors:
C. Jard; O. H. Roux
Date:
2010
Publication:
Communicating Embedded Systems
Pages:
165–225
Publisher:
Wiley
ISBN:
978-1-84821-143-8 (Print) 978-1-118-55818-8 (Online)
Published online on February 13, 2013
Abstract
Summary This chapter contains sections titled: Introduction UPPAAL UPPAAL-CORA UPPAAL-TIGA TAPAAL ROMÉO: a tool for the analysis of timed extensions of Petri nets Bibliography
[GeuversKSvdW10]
Automated Machine-Checked Hybrid System Safety Proofs(Conference paper)
Authors:
H. Geuvers; A. Koprowski; D. Synek; E. van der Weegen
Editors:
M. Kaufmann; L. C. Paulson
Date:
2010
Publication:
Interactive Theorem Proving: Proceedings of the First International Conference (ITP 2010)
Series:
Lecture Notes in Computer Science
Volume:
6172
Pages:
259–274
Publisher:
Springer-Verlag, Berlin
Location:
Edinburgh, UK
ISBN:
978-3-642-14051-8 (Print) 978-3-642-14052-5 (Online)
Abstract
We have developed a hybrid system safety prover, implemented in Coq using the abstraction method introduced by [2]. The development includes: a formalisation of the structure of hybrid systems; a framework for the construction of an abstract system (consisting of decidable “over-estimators” of abstract transitions and initiality) faithfully representing a concrete hybrid system; a translation of abstract systems to graphs, enabling the decision of abstract state reachability using a certified graph reachability algorithm; a proof of the safety of an example hybrid system generated using this tool stack. To produce fully certified safety proofs without relying on floating point computations, the development critically relies on the computable real number implementation of the CoRN library of constructive mathematics formalised in Coq. The development also features a nice interplay between constructive and classical logic via the double negation monad.
[GulavaniCNR10]
Refining Abstract Interpretations(Article)
Authors:
B. S. Gulavani; S. Chakraborty; A. V. Nori; S. K. Rajamani
Date:
2010-07
Publication:
Information Processing Letters
Volume:
110
Issue:
16
Pages:
666–671
Publisher:
Elsevier
ISSN:
0020-0190
Abstract
Abstract interpretation techniques prove properties of programs by computing abstract fixpoints. All such analyses suffer from the possibility of false errors. We present a dag-based abstraction refinement technique to automatically refine such abstract interpretations and reduce false errors. This technique refines precision loss due to widen operator by a new interpolated widen operator and refines precision loss due to join operator by disjunctions. We prove the soundness and progress properties of this abstraction refinement procedure.
[GurfinkelC10]
Boxes: A Symbolic Abstract Domain of Boxes(Conference paper)
Authors:
A. Gurfinkel; S. Chaki
Editors:
R. Cousot; M. Martel
Date:
2010
Publication:
Static Analysis: Proceedings of the 17th International Symposium (SAS 2010)
Series:
Lecture Notes in Computer Science
Volume:
6337
Pages:
287–303
Publisher:
Springer-Verlag, Berlin
Location:
Perpignan, France
ISBN:
978-3-642-15768-4 (Print) 978-3-642-15769-1 (Online)
Abstract
Numeric abstract domains are widely used in program analyses. The simplest numeric domains over-approximate disjunction by an imprecise join, typically yielding path-insensitive analyses. This problem is addressed by domain refinements, such as finite powersets, which provide exact disjunction. However, developing correct and efficient disjunctive refinement is challenging. First, there must be an efficient way to represent and manipulate abstract values. The simple approach of using “sets of base abstract values” is often not scalable. Second, while a widening must strike the right balance between precision and the rate of convergence, it is notoriously hard to get correct. In this paper, we present an implementation of the Boxes abstract domain - a refinement of the well-known Box (or Intervals) domain with finite disjunctions. An element of Boxes is a finite union of boxes, i.e., expressible as a propositional formula over upper- and lower-bounds constraints. Our implementation is symbolic, and weds the strengths of Binary Decision Diagrams (BDDs) and Box. The complexity of the operations (meet, join, transfer functions, and widening) is polynomial in the size of the operands. Empirical evaluation indicates that the performance of Boxes is superior to other existing refinements of Box with comparable expressiveness.
[HoweKL-J10]
Quadtrees as an Abstract Domain(Article)
Authors:
J. M. Howe; A. King; C. Lawrence-Jones
Date:
2010
Publication:
Electronic Notes in Theoretical Computer Science
Volume:
267
Issue:
1
Pages:
89–100
Publisher:
Elsevier
ISSN:
1571-0661
Abstract
Quadtrees have proved popular in computer graphics and spatial databases as a way of representing regions in two dimensional space. This hierarchical data-structure is flexible enough to support non-convex and even disconnected regions, therefore it is natural to ask whether this data-structure can form the basis of an abstract domain. This paper explores this question and suggests that quadtrees offer a new approach to weakly relational domains whilst their hierarchical structure naturally lends itself to representation with boolean functions.
[Jeannet10]
Some Experience on the Software Engineering of Abstract Interpretation Tools(Article)
Authors:
B. Jeannet
Date:
2010
Publication:
Electronic Notes in Theoretical Computer Science
Volume:
267
Issue:
2
Pages:
29–42
Publisher:
Elsevier Science B.V.
ISSN:
1571-0661
Proceedings of Tools for Automatic Program AnalysiS (TAPAS 2010), Perpignan, France.
Abstract
The “right” way of writing and structuring compilers is well-known. The situation is a bit less clear for static analysis tools. It seems to us that a static analysis tool is ideally decomposed into three building blocks: (1) a front-end, which parses programs, generates semantic equations, and supervises the analysis process; (2) a fixpoint equation solver, which takes equations and solves them; (3) and an abstract domain, on which equations are interpreted. The expected advantages of such a modular structure is the ability of sharing development efforts between analyzers for different languages, using common solvers and abstract domains. However putting in practice such ideal concepts is not so easy, and some static analyzers merge for instance the blocks (1) and (2). We show how we instantiated these principles with three different static analyzers (addressing resp. imperative sequential programs, imperative concurrent programs, and synchronous dataflow programs), a generic fixpoint solver (Fixpoint), and two different abstract domains. We discussed our experience on the advantages and the limits of this approach compared to related work.
[KandemirYMSIZ10]
Cache Topology Aware Computation Mapping for Multicores(Conference paper)
Authors:
M. Kandemir; T. Yemliha; S. Muralidhara; S. Srikantaiah; M. J. Irwin; Y. Zhnag
Editors:
B. G. Zorn; A. Aiken
Date:
2010
Publication:
Proceedings of the 31st ACM SIGPLAN Conference on Programming Language Design and Implementation
Pages:
74–85
Publisher:
ACM Press, New York, USA
Location:
Toronto Ontario Canada
ISBN:
978-1-4503-0019-3
Abstract
The main contribution of this paper is a compiler based, cache topology aware code optimization scheme for emerging multicore systems. This scheme distributes the iterations of a loop to be executed in parallel across the cores of a target multicore machine and schedules the iterations assigned to each core. Our goal is to improve the utilization of the on-chip multi-layer cache hierarchy and to maximize overall application performance. We evaluate our cache topology aware approach using a set of twelve applications and three different commercial multicore machines. In addition, to study some of our experimental parameters in detail and to explore future multicore machines (with higher core counts and deeper on-chip cache hierarchies), we also conduct a simulation based study. The results collected from our experiments with three Intel multicore machines show that the proposed compiler-based approach is very effective in enhancing performance. In addition, our simulation results indicate that optimizing for the on-chip cache hierarchy will be even more important in future multicores with increasing numbers of cores and cache levels.
[KingS10]
Automatic Abstraction for Congruences(Conference paper)
Authors:
A. King; H. Søndergaard
Editors:
G. Barthe; M. Hermenegildo
Date:
2010
Publication:
Verification, Model Checking, and Abstract Interpretation: Proceedings of the 11th International Conference (VMCAI 2010)
Series:
Lecture Notes in Computer Science
Volume:
5944
Pages:
197–213
Publisher:
Springer-Verlag, Berlin
Location:
Madrid, Spain
ISBN:
978-3-642-11318-5 (Print) 978-3-642-11319-2 (Online)
Abstract
One approach to verifying bit-twiddling algorithms is to derive invariants between the bits that constitute the variables of a program. Such invariants can often be described with systems of congruences where in each equation c⃗⋅x⃗=dmod  m\vec{c} \cdot \vec{x} = d \mod m, mm is a power of two, c⃗\vec{c} is a vector of integer coefficients, and x⃗\vec{x} is a vector of propositional variables (bits). Because of the low-level nature of these invariants and the large number of bits that are involved, it is important that the transfer functions can be derived automatically. We address this problem, showing how an analysis for bit-level congruence relationships can be decoupled into two parts: (1) a SAT-based abstraction (compilation) step which can be automated, and (2) an interpretation step that requires no SAT-solving. We exploit triangular matrix forms to derive transfer functions efficiently, even in the presence of large numbers of bits. Finally we propose program transformations that improve the analysis results.
[KopfR10]
Approximation and Randomization for Quantitative Information-Flow Analysis(Conference paper)
Authors:
B. Köpf; A. Rybalchenko
Date:
2010
Publication:
Proceedings of the 23rd IEEE Computer Security Foundations Symposium
Pages:
3–14
Publisher:
IEEE Press
Location:
Edinburgh, United Kingdom
ISBN:
9780769540825
Abstract
Quantitative information-flow analysis (QIF) is an emerging technique for establishing information-theoretic confidentiality properties. Automation of QIF is an important step towards ensuring its practical applicability, since manual reasoning about program security has been shown to be a tedious and expensive task. Existing automated techniques for QIF fall short of providing full coverage of all program executions, especially in the presence of unbounded loops and data structures, which are notoriously difficult to analyze automatically. In this paper we propose a blend of approximation and randomization techniques to bear on the challenge of sufficiently precise, yet efficient computation of quantitative information flow properties. Our approach relies on a sampling method to enumerate large or unbounded secret spaces, and applies both static and dynamic program analysis techniques to deliver necessary over- and under-approximations of information-theoretic characteristics.
[LogozzoF10]
Pentagons: A Weakly Relational Abstract Domain for the Efficient Validation of Array Accesses(Article)
Authors:
F. Logozzo; M. Fähndrich
Date:
2010-09
Publication:
Science of Computer Programming
Volume:
75
Issue:
9
Pages:
796–807
Publisher:
Elsevier
Abstract
We introduce Pentagons (Pntg), a weakly relational numerical abstract domain useful for the validation of array accesses in byte-code and intermediate languages (IL). This abstract domain captures properties of the form of x∈[a,b]∧x<yx \in [a, b] \wedge x < y. It is more precise than the well known Interval domain, but it is less precise than the Octagon domain. The goal of Pntg is to be a lightweight numerical domain useful for adaptive static analysis, where Pntg is used to quickly prove the safety of most array accesses, restricting the use of more precise (but also more expensive) domains to only a small fraction of the code. We implemented the Pntg abstract domain in Clousot, a generic abstract interpreter for .NET assemblies. Using it, we were able to validate 83% of array accesses in the core runtime library mscorlib.dll in a little bit more than 3 minutes.
[McCloskey10th]
Practical Shape Analysis(PhD thesis)
Authors:
W. T. McCloskey
Date:
2010-05
Location:
Berkeley, CA, USA
School:
University of California, Berkeley
Abstract
Shape analysis is a program analysis technique used to prove that imperative programs using manual memory management will not crash. In the past, shape analysis has been applied to data structures like linked lists and binary trees. It has also been used on simplified versions of Windows device drivers. We describe techniques that allow us to apply shape analysis to data structures that occur commonly in systems code. These data structures often use arrays, hash tables, C strings, and buffers of a known size. Sometimes, memory in these data structures is managed by manual reference counting. Analyzing such code is difficult or impossible with existing shape analyses. Most difficult of all, many data structures use several of these patterns at the same time, such as a hash table pointing to reference counted objects through which a doubly linked list threads. We describe an analysis capable of handling these data structures easily and efficiently. Our technique uses abstract interpretation over the combination of two abstract domains. One, based on three-valued logic, is used for analyzing the heap. The other domain reasons about integers and set cardinality. The key feature of the combined domain is that quantified facts can be shared between the integer and heap domains. The precision we achieve is significantly greater than if either domain were used independently. Besides improvements in precision, we also describe changes that make both domains more scalable and efficient. We present the results of experiments analyzing the cache data structure of the thttpd web server, which uses a hash table, linked lists, and reference counting in a single data structure. We successfully prove the absence of memory errors in about two minutes.
[Meijer10th]
Transformations for Polyhedral Process Networks(PhD thesis)
Authors:
S. Meijer
Date:
2010
Location:
Leiden, The Netherlands
School:
Leiden Institute of Advanced Computer Science (LIACS), Faculty of Science, Leiden University
ISBN:
978-90-9025792-1
Abstract
We use the polyhedral process network (PPN) model of computation to program and map streaming applications onto embedded Multi-Processor Systems on Chip (MPSoCs) platforms. The PPNs, which can be automatically derived from sequential program applications, do not necessarily meet the performance/resource constraints. A designer can therefore apply the process splitting transformations to increase program performance, and the process merging transformation to reduce the number of processes in a PPN. These transformations were defined, but a designer had many possibilities to apply a particular transformation, and these transformations can also be ordered in many different ways. In this dissertation, we define compile-time solution approaches that assist the designer in evaluating and applying process splitting and merging transformations in the most effective way.
[Monniaux10a]
Automatic Modular Abstractions for Template Numerical Constraints(Article)
Authors:
D. Monniaux
Date:
2010
Publication:
Logical Methods in Computer Science
Volume:
6
Issue:
3:4
Pages:
1–50
ISSN:
1860-5974
Abstract
We propose a method for automatically generating abstract transformers for static analysis by abstract interpretation. The method focuses on linear constraints on programs operating on rational, real or floating-point variables and containing linear assignments and tests. Given the specification of an abstract domain, and a program block, our method automatically outputs an implementation of the corresponding abstract transformer. It is thus a form of program transformation. In addition to loop-free code, the same method also applies for obtaining least fixed points as functions of the precondition, which permits the analysis of loops and recursive functions. The motivation of our work is data-flow synchronous programming languages, used for building control-command embedded systems, but it also applies to imperative and functional programming. Our algorithms are based on quantifier elimination and symbolic manipulation techniques over linear arithmetic formulas. We also give less general results for nonlinear constraints and nonlinear program constructs.
[Monniaux10b]
Quantifier Elimination by Lazy Model Enumeration(Conference paper)
Authors:
D. Monniaux
Editors:
T. Touili; B. Cook; P. Jackson
Date:
2010
Publication:
Computer Aided Verification: Proceedings of the 22nd International Conference (CAV 2010)
Series:
Lecture Notes in Computer Science
Volume:
6174
Pages:
585–599
Publisher:
Springer-Verlag, Berlin
Location:
Edinburgh, UK
ISBN:
978-3-642-14294-9 (Print) 978-3-642-14295-6 (Online)
Abstract
We propose a quantifier elimination scheme based on nested lazy model enumeration through SMT-solving, and projections. This scheme may be applied to any logic that fulfills certain conditions; we illustrate it for linear real arithmetic. The quantifier elimination problem for linear real arithmetic is doubly exponential in the worst case, and so is our method. We have implemented it and benchmarked it against other methods from the literature.
[RuggieriM10]
Typing Linear Constraints(Article)
Authors:
S. Ruggieri; F. Mesnard
Date:
2010
Publication:
ACM Transactions on Programming Languages and Systems
Volume:
32
Issue:
6
Pages:
21:1–21:42
Publisher:
ACM Press, New York, USA
ISSN:
0164-0925
Abstract
We present a type system for linear constraints over the reals intended for reasoning about the input-output directionality of variables. Types model the properties of definiteness, range width or approximation, lower and upper bounds of variables in a linear constraint. Several proof procedures are presented for inferring the type of a variable and for checking validity of type assertions. We rely on theory and tools for linear programming problems, linear algebra, parameterized polyhedra and negative constraints. An application of the type system is proposed in the context of the static analysis of constraint logic programs. Type assertions are at the basis of the extension of well-moding from pure logic programming. The proof procedures (both for type assertion validity and for well-moding) are implemented and their computational complexity is discussed. We report experimental results demonstrating the efficiency in practice of the proposed approach.
[Simon10a]
A Note on the Inversion Join for Polyhedral Analysis(Conference paper)
Authors:
A. Simon
Date:
2010
Publication:
Proceedings of the 2nd International Workshop on Numerical and Symbolic Abstract Domains (NSAD 2010)
Series:
Electronic Notes in Theoretical Computer Science
Volume:
267
Pages:
115–126
Publisher:
Elsevier Science B.V.
ISSN:
1571-0661
Abstract
Linear invariants are essential in many optimization and verification tasks. The domain of convex polyhedra (sets of linear inequalities) has the potential to infer all linear relationships. Yet, it is rarely applied to larger problems due to the join operation whose most precise result is given by the convex hull of two polyhedra which, in turn, may be of exponential size. Recently, Sankaranarayanan et al. proposed an operation called inversion join to efficiently approximate the convex hull. While their proposal has an ad-hoc flavour, we show that it is quite principled and, indeed, complete for planar polyhedra and, for general polyhedra, complete on over 70% of our benchmarks.
[Simon10b]
Speeding up Polyhedral Analysis by Identifying Common Constraints(Conference paper)
Authors:
A. Simon
Date:
2010
Publication:
Proceedings of the 2nd International Workshop on Numerical and Symbolic Abstract Domains (NSAD 2010)
Series:
Electronic Notes in Theoretical Computer Science
Volume:
267
Pages:
127–138
Publisher:
Elsevier Science B.V.
ISSN:
1571-0661
Abstract
Sets of linear inequalities are an expressive reasoning tool for approximating the reachable states of a program. However, the most precise way to join two states is to calculate the convex hull of the two polyhedra that are represented by the inequality sets, an operation that is exponential in the dimension of the polyhedra. We investigate how similarities in the two input polyhedra can be exploited to improve the performance of this costly operation. In particular, we discuss how common equalities and certain inequalities can be omitted from the calculation without affecting the result. We expose a maximum of common equalities and inequalities by converting the polyhedra into a normal form and give experimental evidence of the merit of our method.
[SimonC10]
Simple and Precise Widenings for H-Polyhedra(Conference paper)
Authors:
A. Simon; L. Chen
Editors:
K. Ueda
Date:
2010
Publication:
Proceedings of the 8th Asian Symposium on the Programming Languages and Systems (APLAS 2010)
Series:
Lecture Notes in Computer Science
Volume:
6461
Pages:
139–155
Publisher:
Springer-Verlag, Berlin
Location:
Shanghai, China
ISBN:
978-3-642-17163-5
Abstract
While the definition of the revised widening for polyhedra is defined in terms of inequalities, most implementations use the double description method as a means to an efficient implementation. We show how standard widening can be implemented in a simple and efficient way using a normalized H -representation (constraint-only) which has become popular in recent approximations to polyhedral analysis. We then detail a novel heuristic for this representation that is tuned to capture linear transformations of the state space while ensuring quick convergence for non-linear transformations for which no precise linear invariants exist.
[SimonK10]
The Two Variable per Inequality Abstract Domain(Article)
Authors:
A. Simon; A. King
Date:
2010
Publication:
Higher-Order and Symbolic Computation
Volume:
23
Issue:
1
Pages:
87–143
Publisher:
Springer
ISSN:
1388-3690
Abstract
This article presents the Two-Variable-Per-Inequality abstract domain (TVPI domain for short). This so-called weakly-relational domain is able to express systems of linear inequalities where each inequality has at most two variables. The domain represents a sweet-point in the performance-cost tradeoff between the faster Octagon domain and the more expressive domain of general convex polyhedra. In particular, we detail techniques to closely approximate integral TVPI systems, thereby finessing the problem of excessively growing coefficients, yielding-to our knowledge-the only relational domain that combines linear relations with arbitrary coefficients and strongly polynomial performance.
[SpotoMP10]
A Termination Analyzer for Java Bytecode Based on Path-Length(Article)
Authors:
F. Spoto; F. Mesnard; É. Payet
Date:
2010
Publication:
ACM Transactions on Programming Languages and Systems
Volume:
32
Issue:
3
Pages:
8:1–8:70
Publisher:
ACM Press, New York, USA
ISSN:
0164-0925
Abstract
It is important to prove that supposedly terminating programs actually terminate, particularly if those programs must be run on critical systems or downloaded into a client such as a mobile phone. Although termination of computer programs is generally undecidable, it is possible and useful to prove termination of a large, nontrivial subset of the terminating programs. In this paper we present our termination analyser for sequential Java bytecode, based on a program property called path-length. We describe the analyses which are needed before the path-length can be computed, such as sharing, cyclicity and aliasing. Then we formally define the path-length analysis and prove it correct w.r.t. a reference denotational semantics of the bytecode. We show that a constraint logic program PCLPP_{\mathrm{CLP}} can be built from the result of the path-length analysis of a Java bytecode program P and formally prove that if PCLPP_{\mathrm{CLP}} terminates then also P terminates. Hence a termination prover for constraint logic programs can be applied to prove the termination of P. We conclude with some discussion of the possibilities and limitations of our approach. Ours is the first existing termination analyser for Java bytecode dealing with any kind of data structures dynamically allocated on the heap and which does not require any help or annotation on the part of the user.
[SpotoP10]
Magic-Sets for Localised Analysis of Java Bytecode(Article)
Authors:
F. Spoto; É. Payet
Date:
2010
Publication:
Higher-Order and Symbolic Computation
Volume:
23
Issue:
1
Pages:
29–86
Publisher:
Springer
ISSN:
1388-3690
Abstract
Static analyses based on denotational semantics can naturally model functional behaviours of the code in a compositional and completely context and flow sensitive way. But they only model the functional i.e., input/output behaviour of a program P, not enough if one needs P's internal behaviours i.e., from the input to some internal program points. This is, however, a frequent requirement for a useful static analysis. In this paper, we overcome this limitation, for the case of mono-threaded Java bytecode, with a technique used up to now for logic programs only. Namely, we define a program transformation that adds new magic blocks of code to the program P, whose functional behaviours are the internal behaviours of P. We prove the transformation correct w.r.t. an operational semantics and define an equivalent denotational semantics, devised for abstract interpretation, whose denotations for the magic blocks are hence the internal behaviours of P. We implement our transformation and instantiate it with abstract domains modelling sharing of two variables, non-cyclicity of variables, nullness of variables, class initialisation information and size of the values bound to program variables. We get a static analyser for full mono-threaded Java bytecode that is faster and scales better than another operational pair-sharing analyser. It has the same speed but is more precise than a constraint-based nullness analyser. It makes a polyhedral size analysis of Java bytecode scale up to 1300 methods in a couple of minutes and a zone-based size analysis scale to still larger applications.
[TrifunovicC10]
Enabling More Optimizations in GRAPHITE: Ignoring Memory-Based Dependences(Conference paper)
Authors:
K. Trifunovic; A. Cohen
Date:
2010-10
Publication:
Proceedings of the 8th GCC Developers' Summit
Location:
Ottawa, Canada
Abstract
Data-dependences need to be analyzed to guarantee the legality of a loop transformations and parallelization. But many dependences are spurious memory-based dependences: they are induced by storing values in the same memory location. Spurious dependences reduce the degrees of freedom in loop transformations and parallelization. The effective handling of spurious data-dependences in GIMPLE is essential for the effectiveness of polyhedral compilation in GCC. We show that most memory-based-dependences induced by the gimplification can be ignored, rather than scalar/array expanded. Our method relies on an extension of the violated-dependence-analysis technique implemented in GRAPHITE. It has a minimal impact on compilation time and guarantees that we are not loosing any transformation opportunity compared to a source-to-source compilers. We will detail the algorithm, the current state of the implementation and the future plans.
[TrifunovicCEFG+10]
GRAPHITE Two Years After: First Lessons Learned From Real-World Polyhedral Compilation(Conference paper)
Authors:
K. Trifunovic; A. Cohen; D. Edelsohn; L. Feng; T. Grosser; H. Jagasia; R. Ladelsky; S. Pop; J. Sjödin; R. Upadrasta
Date:
2010
Publication:
Proceedings of the 2nd International Workshop on GCC Research Opportunities (GROW'10)
Pages:
4–19
Location:
Pisa, Italy
Abstract
Modern compilers are responsible for adapting the semantics of source programs into a form that makes efficient use of a highly complex, heterogeneous machine. This adaptation amounts to solve an optimization problem in a huge and unstructured search space, while predicting the performance outcome of complex sequences of program transformations. The polyhedral model of compilation is aimed at these challenges. Its geometrical, non-inductive semantics enables the construction of better-structured optimization problems and precise analytical models. Recent work demonstrated the scalability of the main polyhedral algorithms to real-world programs. Its integration into production compilers is under way, pioneered by the graphite branch of the GNU Compiler Collection (GCC). Two years after the effective beginning of the project, this paper reports on original questions and innovative solutions that arose during the design and implementation of graphite.
[Verdoolaege10]
isl: An Integer Set Library for the Polyhedral Model(Conference paper)
Authors:
S. Verdoolaege
Editors:
K. Fukuda; J. Hoeven; M. Joswig; N. Takayama
Date:
2010
Publication:
Proceedings of the 3rd International Congress on Mathematical Software (ICMS 2010)
Series:
Lecture Notes in Computer Science
Volume:
6327
Pages:
299–302
Publisher:
Springer-Verlag, Berlin
Location:
Kobe, Japan
ISBN:
978-3-642-15581-9
Abstract
In compiler research, polytopes and related mathematical objects have been successfully used for several decades to represent and manipulate computer programs in an approach that has become known as the polyhedral model. The key insight is that the kernels of many compute-intensive applications are composed of loops with bounds that are affine combinations of symbolic constants and outer loop iterators. The iterations of a loop nest can then be represented as the integer points in a (parametric) polytope and manipulated as a whole, rather than as individual iterations. A similar reasoning holds for the elements of an array and for mappings between loop iterations and array elements.