Skip to Content

PPL citations from 2011

All citation years and BibTeX download

[AlbertAGP11]
Closed-Form Upper Bounds in Static Cost Analysis(Article)
Authors:
E. Albert; P. Arenas; S. Genaim; G. Puebla
Date:
2011-02
Publication:
Journal of Automated Reasoning
Volume:
46
Issue:
2
Pages:
161–203
Publisher:
Springer
ISSN:
0168-7433
Abstract
The classical approach to automatic cost analysis consists of two phases. Given a program and some measure of cost, the analysis first produces cost relations (CRs), i.e., recursive equations which capture the cost of the program in terms of the size of its input data. Second, CRs are converted into closed-form, i.e., without recurrences. Whereas the first phase has received considerable attention, with a number of cost analyses available for a variety of programming languages, the second phase has been comparatively less studied. This article presents, to our knowledge, the first practical framework for the generation of closed-form upper bounds for CRs which (1) is fully automatic, (2) can handle the distinctive features of CRs, originating from cost analysis of realistic programming languages, (3) is not restricted to simple complexity classes, and (4) produces reasonably accurate solutions. A key idea in our approach is to view CRs as programs, which allows applying semantic-based static analyses and transformations to bound them, namely our method is based on the inference of ranking functions and loop invariants and on the use of partial evaluation.
[AlonsoAG11]
Handling Non-linear Operations in the Value Analysis of COSTA(Article)
Authors:
D. Alonso; P. Arenas; S. Genaim
Date:
2011
Publication:
Electronic Notes in Theoretical Computer Science
Volume:
279
Issue:
1
Pages:
3–17
Publisher:
Elsevier Science B.V.
ISSN:
1571-0661
Proceedings of the 6th Workshop on Bytecode Semantics, Verification, Analysis and Transformation (Bytecode 2011), Saarbrücken, Germany.
Abstract
Inferring precise relations between (the values of) program variables at different program points is essential for termination and resource usage analysis. In both cases, this information is used to synthesize ranking functions that imply the program's termination and bound the number of iterations of its loops. For efficiency, it is common to base value analysis on non-disjunctive abstract domains such as Polyhedra, Octagon, etc. While these domains are efficient and able to infer complex relations for a wide class of programs, they are often not sufficient for modeling the effect of non-linear and bit arithmetic operations. Modeling such operations precisely can be done by using more sophisticated abstract domains, at the price of performance overhead. In this paper we report on the value analysis of COSTA that is based on the idea of encoding the disjunctive nature of non-linear operations into the (abstract) program itself, instead of using more sophisticated abstract domains. Our experiments demonstrate that COSTA is able to prove termination and infer bounds on resource consumption for programs that could not be handled before.
[AlthoffK11]
Zonotope Bundles for the Efficient Computation of Reachable Sets(Conference paper)
Authors:
M. Althoff; B. H. Krogh
Date:
2011
Publication:
Proceedings of the IEEE Conference on Decision and Control and European Control Conference
Pages:
6814–6821
Publisher:
IEEE Press
Location:
Orlando, FL, USA
ISBN:
9781612848006
Abstract
We introduce zonotope bundles for computing the set of states reachable by a dynamical system, also known as the reachable set. Reachable set computations suffer from the curse of dimensionality, which has been successfully addressed by using zonotopes for linear systems. However, zonotopes are not closed under intersection leading to challenges when applying them to nonlinear and hybrid problems. We introduce zonotope bundles as the intersection of zonotopes (without explicitly computing the intersection). Zonotope bundles are closed under intersection, while inheriting many positive properties of zonotopes. This is demonstrated for linear, nonlinear, and hybrid systems. A further property of zonotope bundles is that their computation can be easily parallelized.
[Alur11]
Formal Verification of Hybrid Systems(Conference paper)
Authors:
R. Alur
Editors:
S. Chakraborty; A. Jerraya; S. K. Baruah; S. Fischmeister
Date:
2011
Publication:
Proceedings of the 11th International Conference on Embedded Software (EMSOFT 2011)
Pages:
273–278
Publisher:
ACM Press
Location:
Taipei, Taiwan
ISBN:
978-1-4503-0714-7
Abstract
In formal verification, a designer first constructs a model, with mathematically precise semantics, of the system under design, and performs extensive analysis with respect to correctness requirements. The appropriate mathematical model for embedded control systems is hybrid systems that combines the traditional state-machine based models for discrete control with classical differential-equations based models for continuously evolving physical activities. In this article, we briefly review selected existing approaches to formal verification of hybrid systems, along with directions for future research.
[AndreFS11TR]
Enhancing the Inverse Method with State Merging(Technical report)
Authors:
É. André; L. Fribourg; R. Soulat
Date:
2011-12
Report number:
LSV-11-26
Location:
École Normale Supérieure de Cachan, Paris, France
Institution:
Laboratoire Spécification & Vérification
Publication type:
Research report
Abstract
Keeping the state space small is essential when verifying realtime systems using Timed Automata (TA). In the model-checker Uppaal, the merging operation has been used extensively in order to reduce the number of states. Actually, Uppaal's merging technique applies within the more general setting of Parametric Timed Automata (PTA). The Inverse Method (IM) for a PTA A is a procedure that synthesizes a zone around a given point 0 (parameter valuation) over which A is guaranteed to behave similarly. We show that the integration of merging into IM leads to the synthesis of larger zones around 0. It also often improves the performance of IM, both in terms of computational space and time, as shown by our experimental results.
[BeyerG11]
Static Run-Time Mode Extraction by State Partitioning in Synchronous Process Networks(Conference paper)
Authors:
M. Beyer; S. Glesner
Editors:
H. Corporaal; S. Stuijk
Date:
2011
Publication:
Proceedings of the 14th International Workshop on Software and Compilers for Embedded Systems (SCOPES 2011)
Pages:
28–37
Publisher:
ACM Press
Location:
New York, NY, USA
ISBN:
978-1-4503-0763-5
Abstract
Process Networks (PNs) are used for modeling streaming-oriented applications with changing behavior, which must be mapped on a concurrent architecture to meet the performance and energy constraints of embedded devices. Finding an optimal mapping of Process Networks to the constrained architecture presumes that the behavior of the PN is statically known. In this paper we present a static analysis for synchronous PNs that partitions the state space according to extract run-time modes based on a Data Augmented Control Flow Automaton (DACFA). The result is a mode automaton whose nodes describe identified program modes and whose edges represent transitions among them. Optimizing back-ends mapping from PNs to concurrent architectures can be guided by these analysis results.
[BeyL11TR]
Modeling and Analyzing Spike Timing Dependent Plasticity with Linear Hybrid Automata(Technical report)
Authors:
A. Bey; S. Leue
Date:
2011-05
Report number:
soft-11-03
Institution:
University of Konstanz, Germany
Abstract
We propose a model for synaptic plasticity according to the Spike Timing Dependent Plasticity (STDP) theory using Linear Hybrid Au- tomata (LHA). We first present a compositional LHA model in which each component corresponds to some process in STDP. We then ab- stract this model into a monolithic LHA model in order to enable formal analysis using hybrid model checking. We discuss how the avail- ability of an LHA model as well as its formal analysis using the tool PHAVer can support a better understanding of the dynamics of STDP.
[BrauerK11]
Transfer Function Synthesis without Quantifier Elimination(Conference paper)
Authors:
J. Brauer; A. King
Editors:
G. Barthe
Date:
2011
Publication:
Programming Languages and Systems
Series:
Lecture Notes in Computer Science
Volume:
6602
Pages:
97–115
Publisher:
Springer-Verlag, Berlin
Location:
Saarbrücken, Germany
ISBN:
978-3-642-19717-8 (Print) 978-3-642-19718-5 (Online)
Abstract
Recently it has been shown how transfer functions for linear template constraints can be derived for bit-vector programs by operating over propositional Boolean formulae. The drawback of this method is that it relies on existential quantifier elimination, which induces a computational bottleneck. The contribution of this paper is a novel method for synthesising transfer functions that does not rely on quantifier elimination. We demonstrate the practicality of the method for generating transfer functions for both intervals and octagons.
[ChenMWC11]
Linear Absolute Value Relation Analysis(Conference paper)
Authors:
L. Chen; A. Miné; J. Wang; P. Cousot
Editors:
G. Barthe
Date:
2011
Publication:
Programming Languages and Systems
Series:
Lecture Notes in Computer Science
Volume:
6602
Pages:
156–175
Publisher:
Springer-Verlag, Berlin
Location:
Saarbrücken, Germany
ISBN:
978-3-642-19717-8 (Print) 978-3-642-19718-5 (Online)
Abstract
Linear relation analysis (polyhedral analysis), devoted to discovering linear invariant relations among variables of a program, remains one of the most powerful abstract interpretations but is subject to convexity limitations. Absolute value enjoys piecewise linear expressiveness and thus natively fits to encode certain non-convex properties. Based on this insight, we propose to use linear absolute value relation analysis to discover linear relations among values and absolute values of program variables. Under the framework of abstract interpretation, the analysis yields a new numerical abstract domain, namely the abstract domain of linear absolute value inequalities (∑kakxk+∑kbk∣xk∣≤c\sum_k a_k x_k + \sum_k b_k |x_k| \leq c), which can be used to analyze programs involving piecewise linear behaviors (e.g., due to conditional branches or absolute value function calls). Experimental results of our prototype are encouraging; The new abstract domain can find non-convex invariants of interest in practice.
[ColonS11]
Generalizing the Template Polyhedral Domain(Conference paper)
Authors:
M. Colón; S. Sankaranarayanan
Editors:
G. Barthe
Date:
2011
Publication:
Proceedings of the 20th European Symposium on Programming (ESOP 2011)
Series:
Lecture Notes in Computer Science
Volume:
6602
Pages:
176–195
Publisher:
Springer-Verlag, Berlin
Location:
Saarbrücken, Germany
ISBN:
978-3-642-19717-8
Abstract
Template polyhedra generalize weakly relational domains by specifying arbitrary fixed linear expressions on the left-hand sides of inequalities and undetermined constants on the right. The domain operations required for analysis over template polyhedra can be computed in polynomial time using linear programming. In this paper, we introduce the generalized template polyhedral domain that extends template polyhedra using fixed left-hand side expressions with bilinear forms involving program variables and unknown parameters to the right. We prove that the domain operations over generalized templates can be defined as the “best possible abstractions” of the corresponding polyhedral domain operations. The resulting analysis can straddle the entire space of linear relation analysis starting from the template domain to the full polyhedral domain. We show that analysis in the generalized template domain can be performed by dualizing the join, post-condition and widening operations. We also investigate the special case of template polyhedra wherein each bilinear form has at most two parameters. For this domain, we use the special properties of two dimensional polyhedra and techniques from fractional linear programming to derive domain operations that can be implemented in polynomial time over the number of variables in the program and the size of the polyhedra. We present applications of generalized template polyhedra to strengthen previously obtained invariants by converting them into templates. We describe an experimental evaluation of an implementation over several benchmark systems.
[CortesiZ11]
Widening and Narrowing Operators for Abstract Interpretation(Article)
Authors:
A. Cortesi; M. Zanioli
Date:
2011-04
Publication:
Computer Languages, Systems & Structures
Volume:
37
Issue:
1
Pages:
24–42
Publisher:
Elsevier
ISSN:
1477-8424
Abstract
Abstract Interpretation, one of the most applied techniques for semantics based static analysis of software, is based on two main key-concepts: the correspondence between concrete and abstract semantics through Galois connections/insertions, and the feasibility of a fixed point computation of the abstract semantics, through the fast convergence of widening operators. The latter point is crucial to ensure the scalability of the analysis to large software systems. The aim of this paper is to set the ground for a systematic design of widening and narrowing operators, by comparing the different definitions introduced in the literature and by discussing how to tune them in case of domain abstraction and domains' combination through cartesian and reduced products.
[DeSmet11TR]
Parallelisation with a Grid Abstraction(Technical report)
Authors:
S. de Smet
Date:
2011-06
Report number:
viXra:1106.0022v1
Institution:
viXra
Publication type:
Preprint
Abstract
This paper describes a new technique for automatic parallelisation in the Z-polyhedral model. The presented technique is applicable to arbitrarily nested loopnests with iteration spaces that can be represented as unions of Z-polyhedra and affine modular data-access functions. The technique partitions both iteration and data spaces of the computation. The maximal amount of parallelism that can be represented using grid partitions is extracted.
[EsparzaG11]
Probabilistic Abstractions with Arbitrary Domains(Conference paper)
Authors:
J. Esparza; A. Gaiser
Editors:
E. Yahav
Date:
2011
Publication:
Static Analysis: Proceedings of the 18th International Symposium (SAS 2011)
Series:
Lecture Notes in Computer Science
Volume:
6887
Pages:
334–350
Publisher:
Springer-Verlag, Berlin
Location:
Venice, Italy
ISBN:
978-3-642-23701-0 (Print) 978-3-642-23702-7 (Online)
Abstract
Recent work by Hermanns et al. and Kattenbelt et al. has extended counterexample-guided abstraction refinement (CEGAR) to probabilistic programs. These approaches are limited to predicate abstraction. We present a novel technique, based on the abstract reachability tree recently introduced by Gulavani et al., that can use arbitrary abstract domains and widening operators (in the sense of Abstract Interpretation). We show how suitable widening operators can deduce loop invariants difficult to find for predicate abstraction, and propose refinement techniques.
[FahndrichL11]
Static Contract Checking with Abstract Interpretation(Book chapter)
Authors:
M. Fähndrich; F. Logozzo
Editors:
B. Beckert; C. Marché
Date:
2011
Publication:
Formal Verification of Object-Oriented Software: Proceedings of the International Conference (FoVeOOS 2010)
Series:
Lecture Notes in Computer Science
Volume:
6528
Pages:
10–30
Publisher:
Springer-Verlag, Berlin
Location:
Paris, France
ISBN:
978-3-642-18069-9 (Print) 978-3-642-18070-5 (Online)
Abstract
We present an overview of Clousot, our current tool to statically check CodeContracts. CodeContracts enable a compiler and language-independent specification of Contracts (precondition, postconditions and object invariants). Clousot checks every method in isolation using an assume/guarantee reasoning: For each method under analysis Clousot assumes its precondition and asserts the postcondition. For each invoked method, Clousot asserts its precondition and assumes the postcondition. Clousot also checks the absence of common runtime errors, such as null-pointer errors, buffer or array overruns, divisions by zero, as well as less common ones such as checked integer overflows or floating point precision mismatches in comparisons. At the core of Clousot there is an abstract interpretation engine which infers program facts. Facts are used to discharge the assertions. The use of abstract interpretation (vs usual weakest precondition-based checkers) has two main advantages: (i) the checker automatically infers loop invariants letting the user focus only on boundary specifications; (ii) the checker is deterministic in its behavior (which abstractly mimics the flowof the program) and it can be tuned for precision and cost. Clousot embodies other techniques, such as iterative domain refinement, goal-directed backward propagation, precondition and postcondition inference, and message prioritization.
[FenacciM11]
Static Resource Analysis for Java Bytecode Using Amortisation and Separation Logic(Article)
Authors:
D. Fenacci; K. MacKenzie
Date:
2011
Publication:
Electronic Notes in Theoretical Computer Science
Volume:
279
Issue:
1
Pages:
19–32
Publisher:
Elsevier Science B.V.
ISSN:
1571-0661
Proceedings of the 6th Workshop on Bytecode Semantics, Verification, Analysis and Transformation (Bytecode 2011), Saarbrücken, Germany.
Abstract
In this paper we describe a static analyser for Java bytecode which uses a combination of amortised analysis and Separation Logic due to Robert Atkey. With the help of Java annotations we are able to give precise resource utilisation constraints for Java methods which manipulate various heap-based data structures.
[FribourgK11]
Parametric Verification and Test Coverage for Hybrid Automata Using the Inverse Method(Conference paper)
Authors:
L. Fribourg; U. Kühne
Editors:
G. Delzanno; I. Potapov
Date:
2011
Publication:
In Proceedings of the 5th International Workshop on Reachability Problems (RP 2011)
Series:
Lecture Notes in Computer Science
Volume:
6945
Pages:
191–204
Publisher:
Springer-Verlag, Berlin
Location:
Genova, Italy
ISBN:
978-3-642-24287-8
Abstract
Hybrid systems combine continuous and discrete behavior. Hybrid Automata are a powerful formalism for the modeling and verification of such systems. A common problem in hybrid system verification is the good parameters problem, which consists in identifying a set of parameter valuations which guarantee a certain behavior of a system. Recently, a method has been presented for attacking this problem for Timed Automata. In this paper, we show the extension of this methodology for hybrid automata with linear and affine dynamics. The method is demonstrated with a hybrid system benchmark from the literature.
[GueguenZ11]
Abstractions of Hybrid Systems for Verification(Conference paper)
Authors:
H. Guéguen; J. Zaytoon
Editors:
J. A. Cetto; J. Filipe; J.-L. Ferrier
Date:
2011
Publication:
Informatics in Control Automation and Robotics
Series:
Lecture Notes in Electrical Engineering
Volume:
85
Pages:
15–28
Publisher:
Springer-Verlag, Berlin
ISBN:
978-3-642-19729-1 (Print) 978-3-642-19730-7 (Online)
Abstract
Safety verification for hybrid systems is a very important issue but also a very complex one. The abstraction is a mean to simplify it by shifting from global considerations to local ones. The aim of this paper is to present an overview of techniques of abstraction of hybrid systems that are commonly used for safety analysis. Reachability approaches related to abstraction for verification are briefly presented.
[Keremoglu11th]
Towards Scalable Software Analysis Using Combinations and Conditions with CPAchecker(PhD thesis)
Authors:
M. E. Keremoglu
Date:
2011
Location:
Burnaby, BC, Canada
School:
Simon Fraser University
Abstract
Verification of large-scale programs is a challenging problem. Software analysis tools focus on making a verification task both precise and efficient. We implemented the software analysis tool CPAchecker based on the configurable program analysis framework. CPAchecker aims to make it possible for a user to integrate and configure an analysis technique to the tool easily. In order to handle large-scale programs, software analysis techniques use abstraction which introduce unsoundness and incompleteness to the process. If the sources of unsoundness and incompleteness is defined and evaluated by the user, the analysis will still be useful for finding potential bugs in the program. In our work, we used two related mechanisms to define and control potential sources of imprecision: Verification assumptions and verification conditions. Assumptions can be represented as a state predicate (a logical formula) that specify under what assumption an abstract state was reached during the analysis. Verification conditions are used as commands to guide the tool when some specific behaviour is observed during the analysis. In this thesis, we use verification assumptions and conditions to guide the analysis process. We added functionalities to CPAchecker such that it provides three mechanisms: (i) Starting the analysis task with a set of specified assumptions to run a partial verification. (ii) Using conditional analysis to increase the coverage of analysis and generating an analysis report encoded as assumptions even in cases where the conventional model checking fails to handle. (iii) Restarting the analysis with a set of different conditions and assumptions or deploying another analysis technique using an analysis report that has been already generated. We extended CPAchecker to include a sequential composition framework that restarts the analysis with a new configuration using the result of another analysis. In our implementation of CPAchecker, the process of assumption and verification condition generation is automated. Experimental results have shown us that using the configurable program analysis concept and guiding the analysis using assumptions and verification conditions was able to find bugs that traditional techniques were not able to identify, and increase the efficiency and precision of the analysis.
[Lakhdar-ChaouchJG11]
Widening with Thresholds for Programs with Complex Control Graphs(Conference paper)
Authors:
L. Lakhdar-Chaouch; B. Jeannet; A. Girault
Editors:
T. Bultan; P.-A. Hsiung
Date:
2011
Publication:
Automated Technology for Verification and Analysis: Proceedings of the 9th International Symposium (ATVA 2011)
Series:
Lecture Notes in Computer Science
Volume:
6996
Pages:
492–502
Publisher:
Springer-Verlag, Berlin
Location:
Taipei, Taiwan
ISBN:
978-3-642-24371-4 (Print) 978-3-642-24372-1 (Online)
Abstract
The precision of an analysis based on abstract interpretation does not only depend on the abstract domain, but also on the solving method. The traditional solution is to solve iteratively abstract fixpoint equations, using extrapolation with a widening operator to make the iterations converge. Unfortunately, this extrapolation often loses crucial information for the analysis goal. A classical technique for improving the precision is “widening with thresholds”, which bounds the extrapolation. Its benefit strongly depends on the choice of relevant thresholds. In this paper we propose a semantic-based technique for automatically inferring such thresholds, which applies to any control graph, be it intraprocedural, interprocedural or concurrent, without specific assumptions on the abstract domain. Despite its technical simplicity, our technique is able to infer the relevant thresholds in many practical cases.
[LavironL11]
SubPolyhedra: A Family of Numerical Abstract Domains for the (More) Scalable Inference of Linear Inequalities(Article)
Authors:
V. Laviron; F. Logozzo
Date:
2011
Publication:
International Journal on Software Tools for Technology Transfer
Volume:
13
Issue:
6
Pages:
585–601
Publisher:
Springer
ISSN:
1433-2779
Abstract
We introduce SubPolyhedra (SubPoly), a new family of numerical abstract domains to infer and propagate linear inequalities. The key insight is that the reduced product of linear equalities and intervals produces powerful yet scalable analyses. Abstract domains in SubPoly are as expressive as Polyhedra, but they drop some of the deductive power to achieve scalability. The cost/precision ratio of abstract domains in the SubPoly family can be fine-tuned according to the precision one wants to retain at join points, and the algorithm used to infer the tighter bounds on intervals. We implemented SubPoly on the top of Clousot{{\tt Clousot}}, a generic abstract interpreter for .Net. Clousot{{\tt .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 the state-of-the-art implementations of Polyhedra.
[MardzielMHS11]
Dynamic Enforcement of Knowledge-based Security Policies(Conference paper)
Authors:
P. Mardziel; S. Magill; M. Hicks; M. Srivatsa
Editors:
M. Backes; S. Zdancewic
Date:
2011
Publication:
Proceedings of the 24th IEEE Computer Security Foundations Symposium (CSF 2011)
Pages:
114–128
Publisher:
IEEE Xplore Digital Library
Location:
Cernay-la-Ville, France
ISBN:
978-0-7695-4365-9
Abstract
This paper explores the idea of knowledge-based security policies, which are used to decide whether to answer queries over secret data based on an estimation of the querier's (possibly increased) knowledge given the results. Limiting knowledge is the goal of existing information release policies that employ mechanisms such as noising, anonymization, and redaction. Knowledge-based policies are more general: they increase flexibility by not fixing the means to restrict information flow. We enforce a knowledge-based policy by explicitly tracking a model of a querier's belief about secret data, represented as a probability distribution, and denying any query that could increase knowledge above a given threshold. We implement query analysis and belief tracking via abstract interpretation using a novel probabilistic polyhedral domain, whose design permits trading off precision with performance while ensuring estimates of a querier's knowledge are sound. Experiments with our implementation show that several useful queries can be handled efficiently, and performance scales far better than would more standard implementations of probabilistic computation based on sampling.
[Minopoli11th]
Synthesis of Switching Controllers for Linear Hybrid Systems(PhD thesis)
Authors:
S. Minopoli
Date:
2011-11
Location:
Naples, Italy
School:
Università degli Studi di Napoli Federico II
Abstract
This thesis is focused on the problem of automatically generating switching controllers for the class of Linear Hybrid Game, with respect to safety and reachability objectives. In order to solve the safety control problem, a sound and complete symbolic fix-point procedure on the so-called controllable predecessor operator for safety, called CPreSCPre^{\mathrm{S}} and based on polyhedral abstractions of the state space, are provided and the termination of each iteration is proved. Some inaccuracies contained in previous characterizations of the problem are identified and solved. In particular, this work shows that the algorithm provided by Wong-Toi [WT97] does not work in some case which are very likely to occur in practice. The error is identified in the heart of this algorithm (the operator flow_avoid\mathit{flow\_avoid}), and is here fixed by proposing a sound and complete procedure, based on a novel algorithm for computing, within a given location of the automaton, the may reach while avoiding operator RWAmRWA^{\mathrm{m}}, that is the set of states that may reach a given polyhedral region while avoiding another one. The reachability control problem for hybrid games was never considered in the literature, and the task is not trivially due the fact that, unlike classical results for discrete and real-timed case, the reachability control problem is not dual to the safety control problem. Hence, in order to solve this problem an entirely new study was necessary. This thesis proposed a sound and complete fix-point procedure based on a novel algorithm for computing, within a given location of the automaton, the set of must reach while avoiding operator RWAMRWA^{\mathrm{M}}, that is the set of states that must reach a given polyhedral region while avoiding another one. The theoretical results of this thesis are then effectively and efficiently implemented on the top of the open source tool PHAVer. The obtained tool, called PHAVer+, is used to present some promising experimental results at the end of this thesis.
[MonniauxG11]
Stratified Static Analysis Based on Variable Dependencies(Conference paper)
Authors:
D. Monniaux; J. Le Guen
Date:
2011
Publication:
Proceedings of the Third International Workshop on Numerical and Symbolic Abstract Domains (NSAD 2011)
Location:
Venice, Italy
Abstract
In static analysis by abstract interpretation, one often uses widening operators in order to enforce convergence within finite time to an inductive invariant. Certain widening operators, including the classical one over finite polyhedra, exhibit an unintuitive behavior: analyzing the program over a subset of its variables may lead a more precise result than analyzing the original program! In this article, we present simple workarounds for such behavior.
[MonniauxG11a]
Using Bounded Model Checking to Focus Fixpoint Iterations(Conference paper)
Authors:
D. Monniaux; L. Gonnord
Editors:
E. Yahav
Date:
2011
Publication:
Static Analysis: Proceedings of the 18th International Symposium (SAS 2011)
Series:
Lecture Notes in Computer Science
Volume:
6887
Pages:
369–385
Publisher:
Springer-Verlag, Berlin
Location:
Venice, Italy
ISBN:
978-3-642-23701-0 (Print) 978-3-642-23702-7 (Online)
Abstract
Two classical sources of imprecision in static analysis by abstract interpretation are widening and merge operations. Merge operations can be done away by distinguishing paths, as in trace partitioning, at the expense of enumerating an exponential number of paths. In this article, we describe how to avoid such systematic exploration by focusing on a single path at a time, designated by SMT-solving. Our method combines well with acceleration techniques, thus doing away with widenings as well in some cases. We illustrate it over the well-known domain of convex polyhedra.
[PenaD-M11]
Size Invariant and Ranking Function Synthesis in a Functional Language(Conference paper)
Authors:
R. Peña; A. D. Delgado-Muñoz
Editors:
H. Kuchen
Date:
2011
Publication:
Functional and Constraint Logic Programming: Proceedings of the 20th International Workshop (WFLP 2011)
Series:
Lecture Notes in Computer Science
Volume:
6816
Pages:
52–67
Publisher:
Springer-Verlag, Berlin
Location:
Odense, Denmark
ISBN:
978-3-642-22530-7 (Print) 978-3-642-22531-4 (Online)
Abstract
Size analysis is concerned with the compile-time determination of upper bounds to the size of program variables, including the size of the results returned by functions. It is useful in many situations and also as a prior step to facilitate other analyses, such as termination proofs. Ranking function synthesis is one way of proving termination of loops or of recursive definitions. We present a result in automatic inference of size invariants, and of ranking functions proving termination of functional programs, by adapting linear techniques developed for other languages. The results are accurate and allow us to solve some problems left open in previous works on automatic inference of safe memory bounds.
[PhamTTC11]
FixBag: A Fixpoint Calculator for Quantified Bag Constraints(Conference paper)
Authors:
T.-H. Pham; M.-T. Trinh; A.-H. Truong; W.-N. Chin
Editors:
G. Gopalakrishnan; S. Qadeer
Date:
2011
Publication:
Computer Aided Verification: Proceedings of the 23rd International Conference (CAV 2011)
Series:
Lecture Notes in Computer Science
Volume:
6806
Pages:
656–662
Publisher:
Springer-Verlag, Berlin
Location:
Snowbird, UT, USA
ISBN:
978-3-642-22109-5
Abstract
Abstract interpretation techniques have played a major role in advancing the state-of-the-art in program analysis. Traditionally, stand-alone tools for these techniques have been developed for the numerical domains which may be sufficient for lower levels of program correctness. To analyze a wider range of programs, we have developed a tool to compute symbolic fixpoints for quantified bag domain . This domain is useful for programs that deal with collections of values. Our tool is able to derive both loop invariants and method pre/post conditions via fixpoint analysis of recursive bag constraints. To support better precision, we have allowed disjunctive formulae to be inferred, where appropriate. As a stand-alone tool, we have tested it on a range of small but challenging examples with acceptable precision and performance.
[RizkBFS11]
Continuous Valuations of Temporal Logic Specifications with Applications to Parameter Optimization and Robustness Measures(Article)
Authors:
A. Rizk; G. Batt; F. Fages; S. Soliman
Date:
2011
Publication:
Theoretical Computer Science
Volume:
412
Issue:
26
Pages:
2827–2839
Publisher:
Elsevier
ISSN:
0304-3975
Abstract
Finding mathematical models satisfying a specification built from the formalization of biological experiments, is a common task of the modeler that techniques like model-checking help solving, in the qualitative but also in the quantitative case. In this article we define a continuous degree of satisfaction of temporal logic formulae with constraints. We show how such a satisfaction measure can be used as a fitness function with state-of-the-art evolutionary optimization methods in order to find biochemical kinetic parameter values satisfying a set of biological properties formalized in temporal logic. We also show how it can be used to define a measure of robustness of a biological model with respect to some temporal specification. These methods are evaluated on models of the cell cycle and of the MAPK signaling cascade.
[Sankaranarayanan11]
Automatic Abstraction of Non-Linear Systems Using Change of Bases Transformations(Conference paper)
Authors:
S. Sankaranarayanan
Editors:
M. Caccamo; E. Frazzoli; R. Grosu
Date:
2011
Publication:
Proceedings of the 14th International Conference on Hybrid Systems: Computation and Control
Pages:
143–152
Publisher:
ACM Press, New York, USA
Location:
Chicago IL USA
ISBN:
978-1-4503-0629-4
Abstract
We present abstraction techniques that transform a given non-linear dynamical system into a linear system, such that, invariant properties of the resulting linear abstraction can be used to infer invariants for the original system. The abstraction techniques rely on a change of bases transformation that associates each state variable of the abstract system with a function involving the state variables of the original system. We present conditions under which a given change of basis transformation for a non-linear system can define an abstraction. Furthermore, we present a technique to discover, given a non-linear system, if a change of bases transformation involving degree-bounded polynomials yielding a linear system abstraction exists. If so, our technique yields the resulting abstract linear system, as well. This approach is further extended to search for a change of bases transformation that abstracts a given non-linear system into a system of linear differential inclusions. Our techniques enable the use of analysis techniques for linear systems to infer invariants for non-linear systems. We present preliminary evidence of the practical feasibility of our ideas using a prototype implementation.
[Trifunovic11th]
Efficient Search-Based Strategies for Polyhedral Compilation: Algorithms and Experience in a Production Compiler(PhD thesis)
Authors:
K. Trifunovic
Date:
2011-07
Location:
Orsay, France
School:
Université Paris-Sud
Abstract
In order to take the performance advantages of the current multicore and heterogeneous architectures the compilers are required to perform more and more complex program transformations. The search space of the possible program optimizations is huge and unstructured. Selecting the best transformation and predicting the potential performance benefits of that transformation is the major problem in today's optimizing compilers. The promising approach to handling the program optimizations is to focus on the automatic loop optimizations expressed in the polyhedral model. The current approaches for optimizing programs in the polyhedral model broadly fall into two classes. The first class of the methods is based on the linear optimization of the analytical cost function. The second class is based on the exhaustive iterative search. While the first approach is fast, it can easily miss the optimal solution. The iterative approach is more precise, but its running time might be prohibitively expensive. In this thesis we present a novel search-based approach to program transformations in the polyhedral model. The new method combines the benefits - effectiveness and precision - of the current approaches, while it tries to minimize their drawbacks. Our approach is based on enumerating the evaluations of the precise, nonlinear performance predicting cost-function. The current practice is to use the polyhedral model in the context of source-to-source compilers. We have implemented our techniques in a GCC framework that is based on the low level three address code representation. We show that the chosen level of abstraction for the intermediate representation poses scalability challenges, and we show the ways to overcome those problems. On the other hand, it is shown that the low level IR abstraction opens new degrees of freedom that are beneficial for the search-based transformation strategies and for the polyhedral compilation in general.
[WeiGC11]
On the Consistency, Expressiveness, and Precision of Partial Modeling Formalisms(Article)
Authors:
O. Wei; A. Gurfinkel; M. Chechik
Date:
2011-01
Publication:
Information and Computation
Volume:
209
Issue:
1
Pages:
20–47
Publisher:
Elsevier
ISSN:
0890-5401
Abstract
Partial transition systems support abstract model checking of complex temporal properties by combining both over- and under-approximating abstractions into a single model. Over the years, three families of such modeling formalisms have emerged, represented by (1) Kripke Modal Transition Systems (KMTSs), with restrictions on necessary and possible behaviors; (2) Mixed Transition Systems (MixTSs), with relaxation on these restrictions; and (3) Generalized Kripke MTSs (GKMTSs), with hyper-transitions, respectively. In this paper, we investigate these formalisms based on two fundamental ways of using partial transition systems (PTSs) – as objects for abstracting concrete systems (and thus, a PTS is semantically consistent if it abstracts at least one concrete system) and as models for checking temporal properties (and thus, a PTS is logically consistent if it gives consistent interpretation to all temporal logic formulas). We study the connection between semantic and logical consistency of PTSs, compare the three families w.r.t. their expressive power (i.e., what can be modeled, what abstractions can be captured using them), and discuss the analysis power of these formalisms, i.e., the cost and precision of model checking. Specifically, we identify a class of PTSs for which semantic and logical consistency coincide and define a necessary and sufficient structural condition to guarantee consistency. We also show that all three families of PTSs have the same expressive power (but do differ in succinctness). However, GKMTSs are more precise (i.e., can establish more properties) for model checking than the other two families. The direct use of GKMTSs in practice has been hampered by the difficulty of encoding them symbolically. We address this problem by developing a new semantics for temporal logic of PTSs that makes the MixTS family as precise for model checking as the GKMTS family. The outcome is a symbolic model checking algorithm that combines the efficient encoding of MixTSs with the model checking precision of GKMTSs. Our preliminary experiments indicate that the new algorithm is a good match for predicate-abstraction-based model checkers.
[Yan11th]
Projectagon-Based Reachability Analysis for Circuit-Level Formal Verification(PhD thesis)
Authors:
C. Yan
Date:
2011-09
Location:
Vancouver, BC, Canada
School:
The University of British Columbia
Abstract
This dissertation presents a novel verification technique for analog and mixed signal circuits. Analog circuits are widely used in many applications include consumer electronics, telecommunications, medical electronics. Furthermore, in deep sub-micron design, physical effects might undermine common digital abstractions of circuit behavior. Therefore, it is necessary to develop systematic methodologies to formally verify hardware design using circuit-level models. We present a formal method for circuit-level verification. Our approach is based on translating verification problems to reachability analysis problems. It applies nonlinear ODEs to model circuit dynamics using modified nodal analysis. Forward reachable regions are computed from given initial states to explore all possible circuit behaviors. Analog properties are checked on all circuit states to ensure full correctness or find a design flaw. Our specification language extends LTL logic with continuous time and values and applies Brockett's annuli to specify analog signals. We also introduced probability into the specification to support practical analog properties such as metastability behavior. We developed and implemented a reachability analysis tool COHO for a simple class of moderate-dimensional hybrid systems with nonlinear ODE dynamics. COHO employs projectagons to represent and manipulate moderate-dimensional, non-convex reachable regions. COHO solves nonlinear ODEs by conservatively approximating ODEs as linear differential inclusions. COHO is robust and efficient. It uses arbitrary precision rational numbers to implement exact computation and trims projectagons to remove infeasible regions. To improve performance and reduce error, several techniques are developed, including a guess-verify strategy, hybrid computation, approximate algorithms, and so on. The correctness and efficiency of our methods have been demonstrated by the success of verifying several circuits, including a toggle circuit, a flip-flop circuit, an arbiter circuit, and a ring-oscillator circuit proposed by researchers from Rambus Inc. Several important properties of these circuits have been verified and a design flaw was spotted during the toggle verification. During the reachability computation, we recognized new problems (e.g., stiffness) and proposed our solutions to these problems. We also developed new methods to analyze complex properties such as metastable behaviors. The combination of these methods and reachability analysis is capable of verifying practical circuits.
[ZanioliC11]
Information Leakage Analysis by Abstract Interpretation(Book chapter)
Authors:
M. Zanioli; A. Cortesi
Editors:
I. Cerná; T. Gyimóthy; J. Hromkovic; K. Jefferey; R. Královic; M. Vukolic; S. Wolf
Date:
2011
Publication:
SOFTSEM 2011: Theory and Practice of Computer Science
Series:
Lecture Notes in Computer Science
Volume:
6543
Pages:
545–557
Publisher:
Springer-Verlag, Berlin
ISBN:
978-3-642-18380-5
Abstract
Protecting the confidentiality of information stored in a computer system or transmitted over a public network is a relevant problem in computer security. The approach of information flow analysis involves performing a static analysis of the program with the aim of proving that there will not be leaks of sensitive information. In this paper we propose a new domain that combines variable dependency analysis, based on propositional formulas, and variables' value analysis, based on polyhedra. The resulting analysis is strictly more accurate than the state of the art abstract interpretation based analyses for information leakage detection. Its modular construction allows to deal with the tradeoff between efficiency and accuracy by tuning the granularity of the abstraction and the complexity of the abstract operators.