PPL citations from 2009
All citation years and BibTeX download
[Allamigeon09th]
Static Analysis of Memory Manipulations by Abstract Interpretation: Algorithmics of Tropical Polyhedra, and Application to Abstract Interpretation(PhD thesis)- Authors:
- X. Allamigeon
- Date:
- 2009-11
- Location:
- Palaiseau, France
- School:
- École polytechnique
Abstract
In this thesis, we define a static analysis by abstract interpretation of memory manipulations. It is based on a new numerical abstract domain, which is able to infer program invariants involving the operators min and max. This domain relies on tropical polyhedra, which are the analogues of convex polyhedra in tropical algebra. Tropical algebra refers to the set IR U -oo endowed with max as addition and + as multiplication. This abstract domain is provided with sound abstract primitives, which allow to automatically compute over-approximations of semantics of programs by means of tropical polyhedra. Thanks to them, we develop and implement a sound static analysis inferring min- and max-invariants over the program variables, the length of the strings, and the size of the arrays in memory. In order to improve the scalability of the abstract domain, we also study the algorithmics of tropical polyhedra. In particular, a tropical polyhedron can be represented in two different ways, either internally, in terms of extreme points and rays, or externally, in terms of tropically affine inequalities. Passing from the external description of a polyhedron to its internal description, or inversely, is a fundamental computational issue, comparable to the well-known vertex/facet enumeration or convex hull problems in the classical algebra. It is also a crucial operation in our numerical abstract domain. For this reason, we develop two original algorithms allowing to pass from an external description of tropical polyhedra to an internal description, and vice versa. They are based on a tropical analogue of the double description method introduced by Motzkin et al. We show that they outperform the other existing methods, both in theory and in practice. The cornerstone of these algorithms is a new combinatorial characterization of extreme elements in tropical polyhedra defined by means of inequalities: we have proved that the extremality of an element amounts to the existence of a strongly connected component reachable from any node in a directed hypergraph. We also show that the latter property can be checked in almost linear time in the size of the hypergraph. Moreover, in order to have a better understanding of the intrinsic complexity of tropical polyhedra, we study the problem of determining the maximal number of extreme points in a tropical polyhedron. In the classical case, this problem is addressed by McMullen upper bound theorem. We prove that the maximal number of extreme points in the tropical case is bounded by a similar result. We introduce a class of tropical polyhedra appearing as natural candidates to be maximizing instances. We establish lower and upper bounds on their number of extreme points, and show that the McMullen type bound is asymptotically tight when the dimension tends to infinity and the number of inequalities defining the polyhedra is fixed. Finally, we experiment our tropical polyhedra based static analyzer on programs manipulating strings and arrays. These experimentations show that the analyzer successfully determines precise properties on memory manipulations, and that it scales up to highly disjunctive invariants which could not be computed by the existing methods. The implementation of all the algorithms and abstract domains on tropical polyhedra developed in this work is available in the Tropical Polyhedra Library (TPLib).
[AlonsoBlas09th]
Cotas Asintóticas de Coste(Master’s thesis)- Authors:
- D. E. Alonso Blas
- Date:
- 2009-09
- Location:
- Madrid, Spain
- School:
- Universidad Complutense de Madrid
- Publication type:
- Proyecto Fin de Máster
Abstract
Asymptotic complexity analysis is used for describing programs' excution cost scalability, by observing its behaviour when processing large input data and considering as equivalent two programs whose costs grow at the same rate. There are non-asymptotic cost analyzers which, when used over realistic programs, provide complex non-asymptotic cost functions that can't be used in some practical applications. That's why we have developed an algorithm that simplifies a cost function to its asymptotic form, more compact and manageable. We have integrated that algorithm into a cost analyzer, and now it generates asymptotic functions without having to firstly compute their non-asymptotic counterparts, a process that our experiments show to be more efficient. This allows us to improve cost analyzers' scalability, a concerning issue for its application in software industry.
[BalakrishnanSIG09]
Refining the Control Structure of Loops Using Static Analysis(Conference paper)- Authors:
- G. Balakrishnan; S. Sankaranarayanan; F. Ivančić; A. Gupta
- Editors:
- S. Chakraborty; N. Halbwachs
- Date:
- 2009
- Publication:
- Proceedings of the Seventh ACM International Conference on Embedded Software
- Pages:
- 49–58
- Publisher:
- ACM Press, New York, USA
- Location:
- Grenoble, France
- ISBN:
- 978-1-60558-627-4
Abstract
We present a simple yet useful technique for refining the control structure of loops that occur in imperative programs. Loops containing complex control flow are common in synchronous embedded controllers derived from modeling languages such as Lustre, Esterel, and Simulink/Stateflow. Our approach uses a set of labels to distinguish different control paths inside a given loop. The iterations of the loop are abstracted as a finite state automaton over these labels. Subsequently, we use static analysis techniques to identify infeasible iteration sequences and subtract such forbidden sequences from the initial language to obtain a refinement. In practice, the refinement of control flow sequences often simplifies the control flow patterns in the loop. We have applied the refinement technique to improve the precision of abstract interpretation in the presence of widening. Our experiments on a set of complex reactive loop benchmarks clearly show the utility of our refinement techniques. Abstraction interpretation with our refinement technique was able to verify all the properties for 10 out of the 13 benchmarks, while abstraction interpretation without refinement was able to verify only four. Other potentially useful applications include termination analysis and reverse engineering models from source code.
[BandaG09]
Analysis of Linear Hybrid Systems in CLP(Book chapter)- Authors:
- G. Banda; J. P. Gallagher
- Editors:
- M. Hanus
- Date:
- 2009
- Publication:
- Logic-Based Program Synthesis and Transformation
- Series:
- Lecture Notes in Computer Science
- Volume:
- 5438
- Pages:
- 55–70
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Valencia, Spain
- ISBN:
- 978-3-642-00514-5
Revised selected papers presented at the 18th International Symposium on Logic-Based Program Synthesis and Transformation (LOPSTR 2008), Valencia, Spain, July 17–18, 2008
Abstract
In this paper we present a procedure for representing the semantics of linear hybrid automata (LHAs) as constraint logic programs (CLP); flexible and accurate analysis and verification of LHAs can then be performed using generic CLP analysis and transformation tools. LHAs provide an expressive notation for specifying real-time systems. The main contributions are (i) a technique for capturing the reachable states of the continuously changing state variables of the LHA as CLP constraints; (ii) a way of representing events in the LHA as constraints in CLP, along with a product construction on the CLP representation including synchronisation on shared events; (iii) a framework in which various kinds of reasoning about an LHA can be flexibly performed by combining standard CLP transformation and analysis techniques. We give experimental results to support the usefulness of the approach and argue that we contribute to the general field of using static analysis tools for verification.
[BozgaGI09]
Iterating Octagons(Conference paper)- Authors:
- M. Bozga; C. Gîrlea; R. Iosif
- Editors:
- S. Kowalewski; A. Philippou
- Date:
- 2009
- Publication:
- Tools and Algorithms for the Construction and Analysis of Systems: Proceedings of the 15th International Conference (TACAS 2009)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 5505
- Pages:
- 337–351
- Publisher:
- Springer-Verlag, Berlin
- Location:
- York, UK
- ISBN:
- 978-3-642-00767-5
Abstract
In this paper we prove that the transitive closure of a nondeterministic octagonal relation using integer counters can be expressed in Presburger arithmetic. The direct consequence of this fact is that the reachability problem is decidable for flat counter automata with octagonal transition relations. This result improves the previous results of Comon and Jurski [Hubert Comon and Yan Jurski. Multiple counters automata, safety analysis and presburger arithmetic. In CAV, LNCS 1427, pages 268-279, 1998] and Bozga, Iosif and Lakhnech [Marius Bozga, Radu Iosif, and Yassine Lakhnech. Flat parametric counter automata. In ICALP, LNCS 4052, pages 577-588. Springer-Verlag, 2006] concerning the computation of transitive closures for difference bound relations. The importance of this result is justified by the wide use of octagons to computing sound abstractions of real-life systems [A. Miné. The octagon abstract domain. Higher-Order and Symbolic Computation, 19(1):31-100, 2006]. We have implemented the octagonal transitive closure algorithm in a prototype system for the analysis of counter automata, called FLATA, and we have experimented with a number of test cases.
[ChenMWC09]
Interval Polyhedra: An Abstract Domain to Infer Interval Linear Relationships(Book chapter)- Authors:
- L. Chen; A. Miné; J. Wang; P. Cousot
- Editors:
- J. Palsberg; Z. Su
- Date:
- 2009
- Publication:
- Static Analysis: Proceedings of the 16th International Symposium (SAS 2009)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 5673
- Pages:
- 309–325
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Los Angeles, CA, USA
- ISBN:
- 978-3-642-03236-3 (Print) 978-3-642-03237-0 (Online)
Abstract
We introduce a new numerical abstract domain, so-called interval polyhedra (itvPol), to infer and propagate interval linear constraints over program variables. itvPol, which allows to represent constraints of the form , is more expressive than the classic convex polyhedra domain and allows to express certain non-convex (even unconnected) properties. The implementation of itvPol can be constructed based on interval linear programming and an interval variant of Fourier-Motzkin elimination. The preliminary experimental results of our prototype are encouraging, especially for programs affected by interval uncertainty, e.g., due to uncertain input data or interval-based abstractions of disjunctive, non-linear, or floating-point expressions. To our knowledge, this is the first application of interval linear algebra to static analysis.
[CousotCFMMR09]
Why Does Astrée Scale Up?(Article)- Authors:
- P. Cousot; R. Cousot; J. Feret; L. Mauborgne; A. Miné; X. Rival
- Date:
- 2009
- Publication:
- Formal Methods in System Design
- Volume:
- 35
- Issue:
- 3
- Pages:
- 229–264
- Publisher:
- Springer
- ISSN:
- 0925-9856
Abstract
Astrée was the first static analyzer able to prove automatically the total absence of runtime errors of actual industrial programs of hundreds of thousand lines. What makes Astrée such an innovative tool is its scalability, while retaining the required precision, when it is used to analyze a specific class of programs: that of reactive control-command software. In this paper, we discuss the important choice of algorithms and data-structures we made to achieve this goal. However, what really made this task possible was the ability to also take semantic decisions, without compromising soundness, thanks to the abstract interpretation framework. We discuss the way the precision of the semantics was tuned in Astrée in order to scale up, the differences with some more academic approaches and some of the dead-ends we explored. In particular, we show a development process which was not specific to the particular usage Astrée was built for, hoping that it might prove helpful in building other scalable static analyzers.
[FagesR09]
From Model-Checking to Temporal Logic Constraint Solving(Conference paper)- Authors:
- F. Fages; A. Rizk
- Editors:
- I. P. Gent
- Date:
- 2009
- Publication:
- Proceedings of the 15th International Conference on Principles and Practice of Constraint Programming (CP 2009)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 5732
- Pages:
- 319–334
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Lisbon, Portugal
- ISBN:
- 978-3-642-04243-0
Abstract
In this paper, we show how model-checking can be generalized to temporal logic constraint solving, by considering temporal logic formulae with free variables over some domain , and by computing a validity domain for the variables rather than a truth value for the formula. This allows us to define a continuous degree of satisfaction for a temporal logic formula in a given structure, opening up the field of model-checking to optimization. We illustrate this approach with reverse-engineering problems coming from systems biology, and provide some performance figures on parameter optimization problems with respect to temporal logic specifications.
[Gfeller09th]
Robust Dynamically Deployed Static Analysis for Java(Master’s thesis)- Authors:
- S. Gfeller
- Date:
- 2009-06
- Location:
- Lausanne, Switzerland
- School:
- École polytechnique fédérale de Lausanne
Abstract
Guaranteeing the absence of errors in a program is a great challenge and many static analysis techniques have been developed to see whether a program is correct before we run it. There is, however, a whole class of programs that are especially difficult to analyze in this manner. These programs have a very different behavior that depends on configuration files, command line parameters and user input. Also, they are long running. For such programs, there are advantages to dynamically deployed analyses that can tell us after the program has been run for some time whether crashes are still possible in its future execution. In this thesis, we see how to combine current program state with static analysis techniques to predict absence of errors in the future. We show how, if a program can not yet be guaranteed to run correctly, we can make future checks more efficient. The thesis also explores how the analysis can run in parallel with program execution without slowing down execution too much. The techniques that are explored are implemented as an extension for the Java PathFinder Java Virtual Machine.
[Grosser09]
Optimization opportunities based on the polyhedral model in GRAPHITE. How much impact has GRAPHITE already?(Conference paper)- Authors:
- T. Grosser
- Date:
- 2009-06
- Publication:
- Proceedings of the GCC Developers' Summit
- Pages:
- 33–46
- Location:
- Montreal, Quebec, Canada
Abstract
The polytope model is used since many years to describe standard loop optimizations like blocking, interchange or fusion, but also advanced memory access optimizations and automatic parallelization. Its exact mathematical description of memory accesses and loop iterations allows to concentrate on the optimization problem and to take advantage of professional problem solving tools developed for operational research. Up to today the polytope model was limited to research compilers or source to source transformations. Graphite generates a polytope description of all programs compiled by the gcc. Therefore polytope optimization techniques are not limited anymore to hand selected code pieces, but can actually be applied in large scale on real world programs. By showing the impact of GRAPHITE on important benchmarks — “How much runtime is actually spent in code, that can be optimized by polytope optimization techniques?” — we invite people to base their current polytope research on GRAPHITE to make these optimizations available to the large set of gcc compiled applications.
[GueguenLZN09]
Safety Verification and Reachability Analysis for Hybrid Systems(Article)- Authors:
- H. Guéguen; M.-A. Lefebvre; J. Zaytoon; O. Nasri
- Date:
- 2009
- Publication:
- Annual Reviews in Control
- Volume:
- 33
- Issue:
- 1
- Pages:
- 25–36
- Publisher:
- Elsevier
- ISSN:
- 1367-5788
Abstract
Safety verification and reachability analysis for hybrid systems is a very active research domain. Many approaches that seem quite different, have been proposed to solve this complex problem. This paper presents an overview of various approaches for autonomous, continuous-time hybrid systems and presents them with respect to basic problems related to verification.
[GulwaniL-AS09]
A Combination Framework for Tracking Partition Sizes(Conference paper)- Authors:
- S. Gulwani; T. Lev-Ami; S. Sagiv
- Editors:
- Z. Shao; B. C. Pierce
- Date:
- 2009
- Publication:
- Proceedings of the 36th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 2009)
- Pages:
- 239–251
- Publisher:
- ACM Press
- Location:
- Savannah, Georgia, USA
- ISBN:
- 978-1-60558-379-2
Abstract
We describe an abstract interpretation based framework for proving relationships between sizes of memory partitions. Instances of this framework can prove traditional properties such as memory safety and program termination but can also establish upper bounds on usage of dynamically allocated memory. Our framework also stands out in its ability to prove properties of programs manipulating both heap and arrays which is considered a difficult task. Technically, we define an abstract domain that is parameterized by an abstract domain for tracking memory partitions (sets of memory locations) and by a numerical abstract domain for tracking relationships between cardinalities of the partitions. We describe algorithms to construct the transfer functions for the abstract domain in terms of the corresponding transfer functions of the parameterized abstract domains. A prototype of the framework was implemented and used to prove interesting properties of realistic programs, including programs that could not have been automatically analyzed before.
[JeannetM09]
Apron: A Library of Numerical Abstract Domains for Static Analysis(Conference paper)- Authors:
- B. Jeannet; A. Miné
- Editors:
- A. Bouajjani; O. Maler
- Date:
- 2009
- Publication:
- Computer Aided Verification: Proceedings of the 21st International Conference (CAV 2009)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 5643
- Pages:
- 661–667
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Grenoble, France
- ISBN:
- 978-3-642-02657-7
Abstract
This article describes Apron, a freely available library dedicated to the static analysis of the numerical variables of programs by abstract interpretation. Its goal is threefold: provide analysis implementers with ready-to-use numerical abstractions under a unified API, encourage the research in numerical abstract domains by providing a platform for integration and comparison, and provide teaching and demonstration tools to disseminate knowledge on abstract interpretation.
[JhalaM09]
Software Model Checking(Article)- Authors:
- R. Jhala; R. Majumdar
- Date:
- 2009
- Publication:
- ACM Computing Surveys
- Volume:
- 41
- Issue:
- 4
- Pages:
- 1–54
- Publisher:
- ACM Press
- Location:
- New York, NY, USA
- ISSN:
- 0360-0300
Abstract
We survey recent progress in software model checking.
[KhalilGP09]
The Zonotope Abstract Domain Taylor1+(Book chapter)- Authors:
- G. Khalil; E. Goubault; S. Putot
- Editors:
- A. Bouajjani; O. Maler
- Date:
- 2009
- Publication:
- Computer Aided Verification: Proceedings of the 21st International Conference (CAV 2009)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 5643
- Pages:
- 627–633
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Grenoble, France
- ISBN:
- 978-3-642-02657-7
Abstract
Static analysis by abstract interpretation [1] aims it automatically inferring properties on the behaviour of programs. We focus here on a specific kind of numerical invariants: the set of values taken by numerical variables, with a real numbers semantics, at each control point of a program.
[LavironL09]
SubPolyhedra: A (More) Scalable Approach to Infer Linear Inequalities(Conference paper)- Authors:
- V. Laviron; F. Logozzo
- Editors:
- N. D. Jones; M. Müller-Olm
- Date:
- 2009
- Publication:
- Verification, Model Checking, and Abstract Interpretation: Proceedings of the 10th International Conference (VMCAI 2009)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 5403
- Pages:
- 229–244
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Savannah, Georgia, USA
- ISBN:
- 978-3-540-93899-6
Abstract
We introduce Subpolyhedra (SubPoly) a new numerical abstract domain to infer and propagate linear inequalities. SubPoly is as expressive as Polyhedra, but it drops some of the deductive power to achieve scalability. SubPoly is based on the insight that the reduced product of linear equalities and intervals produces powerful yet scalable analyses. Precision can be recovered using hints. Hints can be automatically generated or provided by the user in the form of annotations. We implemented SubPoly on the top of Clousot, a generic abstract interpreter for .Net. Clousot with SubPoly analyzes very large and complex code bases in few minutes. SubPoly can efficiently capture linear inequalities among hundreds of variables, a result well-beyond state-of-the-art implementations of Polyhedra.
[LavironL09a]
Refining Abstract Interpretation-Based Static Analyses with Hints(Conference paper)- Authors:
- V. Laviron; F. Logozzo
- Editors:
- Z. Hu
- Date:
- 2009
- Publication:
- Programming Languages and Systems: Proceedings of the 7th Asian Symposium (APLAS 2009)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 5904
- Pages:
- 343–358
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Seoul, Korea
- ISBN:
- 978-3-642-10671-2 (Print) 978-3-642-10672-9 (Online)
Abstract
We focus our attention on the loss of precision induced by abstract domain operations. We introduce a new technique, hints, which allows us to systematically refine the operations defined over elements of an abstract domain. We formally define hints in the abstract interpretation theory, we prove their soundness, and we characterize two families of hints: syntactic and semantic. We give some examples of hints, and we provide our experience with hints in Clousot, our abstract interpretation-based static analyzer for .NET.
[LimeRST09]
Romeo: A Parametric Model-Checker for Petri Nets with Stopwatches(Conference paper)- Authors:
- D. Lime; O. H. Roux; C. Seidner; L.-M. Traonouez
- Editors:
- S. Kowalewski; A. Philippou
- Date:
- 2009
- Publication:
- Tools and Algorithms for the Construction and Analysis of Systems: Proceedings of the 15th International Conference (TACAS 2009)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 5505
- Pages:
- 54–57
- Publisher:
- Springer-Verlag, Berlin
- Location:
- York, UK
- ISBN:
- 978-3-642-00767-5
Abstract
Last time we reported on Romeo, analyses with this tool were mostly based on translations to other tools. This new version provides an integrated TCTL model-checker and has gained in expressivity with the addition of parameters. Although there exists other tools to compute the state-space of stopwatch models, Romeo is the first one that performs TCTL model-checking on stopwatch models. Moreover, it is the first tool that performs TCTL model-checking on timed parametric models. Indeed, Romeo now features an efficient model-checking of time Petri nets using the Uppaal DBM Library, the model-checking of stopwatch Petri nets and parametric stopwatch Petri nets using the Parma Polyhedra Library and a graphical editor and simulator of these models. Furthermore, its audience has increased leading to several industrial contracts. This paper reports on these recent developments of Romeo.
[MaierS09]
Diagnosis and Fault-Adaptive Control for Mechatronic Systems Using Hybrid Constraint Automata(Article)- Authors:
- P. Maier; M. Sachenbacher
- Date:
- 2009
- Publication:
- Annual Conference of the PHM Society
- Volume:
- 1
- Issue:
- 1
- ISSN:
- 2325-0178
Abstract
Many of today's mechatronic systems – such as automobiles, automated factories or chemical plants – are a complex mixture of hardware components and embedded control software, showing both continuous (vehicle dynamics, robot motion) and discrete (software) behavior. The problems of estimating the internal discrete/continuous state and automatically devising control actions as intelligent reaction are at the heart of self-monitoring and self-control capabilities for such systems. In this paper, we address these problems with a new integrated approach, which combines concepts, techniques and formalisms from AI (constraint optimization, hidden markov model reasoning), fault diagnosis in hybrid systems (stochastic abstraction of continuous behavior), and hybrid systems verification (hybrid automata, reachability analysis). Preliminary experiments with an industrial filling station scenario show promising results, but also indicate current limitations.
[Manevich09th]
Partially Disjunctive Shape Analysis(PhD thesis)- Authors:
- R. Manevich
- Date:
- 2009-02
- Location:
- Tel Aviv, Israel
- School:
- Tel Aviv University
Abstract
Modern programs rely significantly on the use of dynamically-allocated linked data structures. Shape analysis algorithms statically analyze a program to determine information about these data structures, e.g, “does variable point to an acyclic list?” and “is it possible to reach an object via pointer traversals from two different variables?” These algorithms are conservative (sound), that is, the discovered information is true for every program input, and thus can be applied for various uses, such as program verification, optimization, parallelization, etc. Disjunctive shape analyses operate by abstracting the concrete memory stores into (bounded) shape graphs. At control flow join points of the program, the shape graphs are merged by using disjunction (set union), which often leads to an exponential explosion in the number of shape graphs. In concurrent programs this problem is even more acute, due to the interleaving of different threads. We present new “partially disjunctive” shape analyses aimed at taming the size of the state space by abstracting disjunctions, as well as soundly approximating program statements. We implemented and applied these analyses to prove properties of sequential programs and fine-grained concurrent programs. We were able to prove a variety of challenging properties, including cleanness properties, shape invariants, and linearizability of concurrent data structure implementations. The new shape analyses scale better than the disjunctive shape analyses, usually running faster by orders of magnitude, and still able to prove the desired properties.
[McCloskeyS09TR]
Combining Quantified Domains(Technical report)- Authors:
- B. McCloskey; M. Sagiv
- Date:
- 2009-07
- Report number:
- EECS-2009-106
- Location:
- Berkeley USA
- Institution:
- EECS Department University of California
Abstract
We develop general algorithms for reasoning about numerical properties of programs manipulating the heap via pointers. We automatically infer quantified invariants regarding unbounded sets of memory locations and unbounded numeric values. As an example, we can infer that for every node in a data structure, the node's length field is less than its capacity field. We can also infer per-node statements about cardinality, such as that each node's count field is equal to the number of elements reachable from it. This additional power allows us to prove properties about reference counted data structures and B-trees that were previously unattainable. Besides the ability to verify more programs, we believe that our work sheds new light on the interaction between heap and numerical reasoning. Our algorithms are parametric in the heap and the numeric abstractions. They permit heap and numerical abstractions to be combined into a single abstraction while maintaining correlations between these abstractions. In certain combinations not involving cardinality, we prove that our combination technique is complete, which is surprising in the presence of quantification.
[Monniaux09a]
A Minimalistic Look at Widening Operators(Article)- Authors:
- D. Monniaux
- Date:
- 2009
- Publication:
- Higher-Order and Symbolic Computation
- Volume:
- 22
- Issue:
- 2
- Pages:
- 145–154
- Publisher:
- Springer
- ISSN:
- 1388-3690
Abstract
We consider the problem of formalizing in higher-order logic the familiar notion of widening from abstract interpretation. It turns out that many axioms of widening (e.g. widening sequences are ascending) are not useful for proving correctness. After keeping only useful axioms, we give an equivalent characterization of widening as a lazily constructed well-founded tree. In type systems supporting dependent products and sums, this tree can be made to reflect the condition of correct termination of the widening sequence.
[Monniaux09b]
Automatic Modular Abstractions for Linear Constraints(Conference paper)- Authors:
- D. P. Monniaux
- Editors:
- Z. Shao; B. C. Pierce
- Date:
- 2009
- Publication:
- Proceedings of the 36th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages
- Pages:
- 140–151
- Publisher:
- ACM Press, New York, USA
- Location:
- Savannah GA USA
- ISBN:
- 9781605583792
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. 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. Our algorithms are based on new quantifier elimination and symbolic manipulation techniques. 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. 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.
[NavasMH09]
User-Definable Resource Usage Bounds Analysis for Java Bytecode(Article)- Authors:
- J. Navas; M. Méndez-Lojo; M. V. Hermenegildo
- Date:
- 2009
- Publication:
- Electronic Notes in Theoretical Computer Science
- Volume:
- 253
- Issue:
- 5
- Pages:
- 65–82
- Publisher:
- Elsevier Science B.V.
- ISSN:
- 1571-0661
Proceedings of the 4th Workshop on Bytecode Semantics, Verification, Analysis and Transformation (Bytecode 2009), York, UK.
Abstract
Automatic cost analysis of programs has been traditionally concentrated on a reduced number of resources such as execution steps, time, or memory. However, the increasing relevance of analysis applications such as static debugging and/or certification of user-level properties (including for mobile code) makes it interesting to develop analyses for resource notions that are actually application-dependent. This may include, for example, bytes sent or received by an application, number of files left open, number of SMSs sent or received, number of accesses to a database, money spent, energy consumption, etc. We present a fully automated analysis for inferring upper bounds on the usage that a Java bytecode program makes of a set of application programmer-definable resources. In our context, a resource is defined by programmer-provided annotations which state the basic consumption that certain program elements make of that resource. From these definitions our analysis derives functions which return an upper bound on the usage that the whole program (and individual blocks) make of that resource for any given set of input data sizes. The analysis proposed is independent of the particular resource. We also present some experimental results from a prototype implementation of the approach covering a significant set of interesting resources.
[PerezRS09]
Cardinality Abstraction for Declarative Networking Applications(Conference paper)- Authors:
- J. A. Navarro Pérez; A. Rybalchenko; A. Singh
- Editors:
- A. Bouajjani; O. Maler
- Date:
- 2009
- Publication:
- Computer Aided Verification: Proceedings of the 21st International Conference (CAV 2009)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 5643
- Pages:
- 584–598
- Publisher:
- Springer
- Location:
- Grenoble, France
- ISBN:
- 978-3-642-02657-7
Abstract
Declarative Networking is a recent, viable approach to make distributed programming easier, which is becoming increasingly popular in systems and networking community. It offers the programmer a declarative, rule-based language, called P2, for writing distributed applications in an abstract, yet expressive way. This approach, however, imposes new challenges on analysis and verification methods when they are applied to P2 programs. Reasoning about P2 computations is beyond the scope of existing tools since it requires handling of program states defined in terms of collections of relations, which store the application data, together with multisets of tuples, which represent communication events in-flight. In this paper, we propose a cardinality abstraction technique that can be used to analyze and verify P2 programs. It keeps track of the size of relations (together with projections thereof) and multisets defining P2 states, and provides an appropriate treatment of declarative operations, e.g., indexing, unification, variable binding, and negation. Our cardinality abstraction-based verifier successfully proves critical safety properties of a P2 implementation of the Byzantine fault tolerance protocol Zyzzyva, which is a representative and complex declarative networking application.
[RizkBFS09]
A General Computational Method for Robustness Analysis with Applications to Synthetic Gene Networks(Article)- Authors:
- A. Rizk; G. Batt; F. Fages; S. Soliman
- Date:
- 2009
- Publication:
- Bioinformatics
- Volume:
- 25
- Issue:
- 12
- Pages:
- i169–i178
- Publisher:
- Oxford University Press
- ISSN:
- 1367-4811
Paper accepted for presentation at the 2009 ISMB/ECCB Conference, Stockholm, Sweden, June 27–July 2, 2009.
Abstract
Motivation: Robustness is the capacity of a system to maintain a function in the face of perturbations. It is essential for the correct functioning of natural and engineered biological systems. Robustness is generally defined in an ad hoc, problem-dependent manner, thus hampering the fruitful development of a theory of biological robustness, recently advocated by Kitano. Results: In this article, we propose a general definition of robustness that applies to any biological function expressible in temporal logic LTL (linear temporal logic), and to broad model classes and perturbation types. Moreover, we propose a computational approach and an implementation in BIOCHAM 2.8 for the automated estimation of the robustness of a given behavior with respect to a given set of perturbations. The applicability and biological relevance of our approach is demonstrated by testing and improving the robustness of the timed behavior of a synthetic transcriptional cascade that could be used as a biological timer for synthetic biology applications. Availability: Version 2.8 of BIOCHAM and the transcriptional cascade model are available at http://contraintes.inria.fr/BIOCHAM/
[Samborski-Forlese09th]
Preservación de Obligaciones de Prueba en Entornos Híbridos de Verificación(Master’s thesis)- Authors:
- J. Samborski-Forlese
- Date:
- 2009-04
- Location:
- Rosario, Argentina
- School:
- Universidad Nacional de Rosario
- Publication type:
- Tesina de Licenciatura
Abstract
La producción de software confiable y eficiente requiere, al menos en parte, la automatización de su construcción. Para alcanzar este objetivo es indispensable estudiar a los programas y sus ejecuciones como objetos matemáticos. Los entornos de verificación de programas se basan cada vez más en métodos híbridos que combinan análisis estático con generación de condiciones de verificación. Mientras que dichos entornos de verificación operan sobre programas fuente, a menudo es preferible obtener garantías sobre código ejecutable. El objetivo de este trabajo es mostrar que, para métodos híbridos de verificación basados en análisis estático y generación de condiciones de verificación, la compilación de programas preserva obligaciones de prueba y, en consecuencia, es posible transferir evidencia de ciertas propiedades de programas fuente a programas compilados. Este resultado se sustenta en la preservación de soluciones de análisis por compilación. Esto se logra apoyándose en un análisis de bytecode que realiza una ejecución simbólica de las expresiones del stack con el fin de evitar la pérdida de precisión que conlleva realizar análisis estático en código compilado. Se muestra, además, que los métodos híbridos de verificación son correctos, probando que todo programa demostrable por dichos métodos es también demostrable (a un costo mayor) por métodos estándares. Finalmente, se presenta un caso de estudio en el que se analizan algunas de las principales ventajas que brindan los métodos híbridos en comparación con los métodos clásicos.
[Torok09th]
Verificarea acceselor la memorie în programe C folosind constrângeri simbolice și slicing(Master’s thesis)- Authors:
- E. Török
- Date:
- 2009-06
- Location:
- Timișoara, Romania
- School:
- Universitatea Politehnica Timișoara
- Publication type:
- Final year thesis
Abstract
We describe a tool for finding out-of-bounds memory access bugs in C programs, which can be used to check programs with more than 100 000 lines of source code in time comparable to compilation time. Our tool doesn't search for out-of-bounds pointers, but only for dereferences of out-of-bounds pointers (not including NULL dereferences). An interprocedural analysis marks the variables that influence the validity of the accesses, and by using slicing we reduce the program to only the code corresponding to these. Afterwards, by using a variety of code optimization techniques, we obtain a code based on which we create symbolic expressions, and using them we check whether accesses are within bounds using them. If this is undecidable based purely on the symbolic expressions, we take into account the predicates that dominate these memory accesses, and query a solver to determine the validity of the access. We eliminate the accesses we could prove, and repeat the above steps until we either prove all accesses, or we reach the inlining limit. The tool is successful in catching simple cases of common bugs encountered during application development such as off-by-one bugs.
[TraonouezLR09]
Parametric Model-Checking of Stopwatch Petri Nets(Article)- Authors:
- L.-M. Traonouez; D. Lime; O. H. Roux
- Date:
- 2009
- Publication:
- Journal of Universal Computer Science
- Volume:
- 15
- Issue:
- 17
- Pages:
- 3273–3304
- ISSN:
- 0948-6968
Abstract
At the border between control and verification, parametric verification can be used to synthesize constraints on the parameters to ensure that a system verifies given specifications. In this paper we propose a new framework for the parametric verification of time Petri nets with stopwatches. We first introduce a parametric extension of time Petri nets with inhibitor arcs (ITPNs) with temporal parameters and we define a symbolic representation of the parametric state-space based on the classical state-class graph method. Then, we propose semi-algorithms for the parametric modelchecking of a subset of parametric TCTL formulae on ITPNs. These results have been implemented in the tool Romeo and we illustrate them in a case-study based on a scheduling problem.
[YangWGI09]
Model Checking Sequential Software Programs Via Mixed Symbolic Analysis(Article)- Authors:
- Z. Yang; C. Wang; A. Gupta; F. Ivančić
- Date:
- 2009
- Publication:
- ACM Transactions on Design Automation of Electronic Systems
- Volume:
- 14
- Issue:
- 1
- Pages:
- 1–26
- Publisher:
- ACM Press
- Location:
- New York, NY, USA
- ISSN:
- 1084-4309
Abstract
We present an efficient symbolic search algorithm for software model checking. Our algorithms perform word-level reasoning by using a combination of decision procedures in Boolean and integer and real domains, and use novel symbolic search strategies optimized specifically for sequential programs to improve scalability. Experiments on real-world C programs show that the new symbolic search algorithms can achieve several orders-of-magnitude improvements over existing methods based on bit-level (Boolean) reasoning.