Skip to Content

PPL citations from 2012

All citation years and BibTeX download

[AlbarghouthiGC12]
Craig Interpretation(Conference paper)
Authors:
A. Albarghouthi; A. Gurfinkel; M. Chechik
Editors:
A. Miné; D. Schmidt
Date:
2012
Publication:
Static Analysis: Proceedings of the 19th International Symposium (SAS 2012)
Series:
Lecture Notes in Computer Science
Volume:
7460
Pages:
300–316
Publisher:
Springer-Verlag, Berlin
Location:
Deauville, France
ISBN:
978-3-642-33124-4 (Print) 978-3-642-33125-1 (Online)
Abstract
Abstract interpretation (AI) is one of the most scalable automated approaches to program verification available today. To achieve efficiency, many steps of the analysis, e.g., joins and widening, lose precision. As a result, AI often produces false alarms, coming from the inability to find a safe inductive invariant even when it exists in a chosen abstract domain. To tackle this problem, we present Vinta, an iterative algorithm that uses Craig interpolants to refine and guide AI away from false alarms. Vinta is based on a novel refinement strategy that capitalizes on recent advances in SMT and interpolation-based verification to (a) find counterexamples to justify alarms produced by AI, and (b) to strengthen an invariant to exclude alarms that cannot be justified. The refinement process continues until either a safe inductive invariant is computed, a counterexample is found, or resources are exhausted. This strategy allows Vinta to recover precision lost in many AI steps, and even to compute inductive invariants that are inexpressible in the chosen abstract domain (e.g., by adding disjunctions and new terms). We have implemented Vinta and compared it against top verification tools from the recent software verification competition. Our results show that Vinta outperforms state-of-the-art verification tools.
[AlbertAGPZ12]
Cost Analysis of Object-Oriented Bytecode Programs(Article)
Authors:
E. Albert; P. Arenas; S. Genaim; G. Puebla; D. Zanardini
Date:
2012
Publication:
Theoretical Computer Science
Volume:
413
Issue:
1
Pages:
142–159
Publisher:
Elsevier
ISSN:
0304-3975
Quantitative Aspects of Programming Languages (QAPL 2010)
Abstract
Cost analysis statically approximates the cost of programs in terms of their input data size. This paper presents, to the best of our knowledge, the first approach to the automatic cost analysis of object-oriented bytecode programs. In languages such as Java and C#, analyzing bytecode has a much wider application area than analyzing source code since the latter is often not available. Cost analysis in this context has to consider, among others, dynamic dispatch, jumps, the operand stack, and the heap. Our method takes a bytecode program and a cost model specifying the resource of interest, and generates cost relations which approximate the execution cost of the program with respect to such resource. We report on COSTA, an implementation for Java bytecode which can obtain upper bounds on cost for a large class of programs and complexity classes. Our basic techniques can be directly applied to infer cost relations for other object-oriented imperative languages, not necessarily in bytecode form.
[AlthoffK12]
Avoiding Geometric Intersection Operations in Reachability Analysis of Hybrid Systems(Conference paper)
Authors:
M. Althoff; B. H. Krogh
Editors:
T. Dang; I. M. Mitchell
Date:
2012
Publication:
Proceedings of the 15th ACM International Conference on Hybrid Systems: Computation and Control (HSCC 2012)
Pages:
45–54
Publisher:
ACM Press, New York, USA
Location:
Beijing, China
ISBN:
978-1-4503-1220-2
Abstract
Although a growing number of dynamical systems studied in various fields are hybrid in nature, the verification of properties, such as stability, safety, etc., is still a challenging problem. Reachability analysis is one of the promising methods for hybrid system verification, which together with all other verification techniques faces the challenge of making the analysis scale with respect to the number of continuous state variables. The bottleneck of many reachability analysis techniques for hybrid systems is the geometrically computed intersection with guard sets. In this work, we replace the intersection operation by a nonlinear mapping onto the guard, which is not only numerically stable, but also scalable, making it possible to verify systems which were previously out of reach. The approach can be applied to the fairly common class of hybrid systems with piecewise continuous solutions, guard sets modeled as halfspaces, and urgent semantics, i.e. discrete transitions are immediately taken when enabled by guard sets. We demonstrate the usefulness of the new approach by a mechanical system with backlash which has 101 continuous state variables.
[AmatoPS12]
Discovering Invariants via Simple Component Analysis(Article)
Authors:
G. Amato; M. Parton; F. Scozzari
Date:
2012
Publication:
Journal of Symbolic Computation
Volume:
47
Issue:
12
Pages:
1533–1560
Publisher:
Elsevier Science B.V.
ISSN:
0747-7171
Abstract
We propose a new technique combining dynamic and static analysis of programs to find linear invariants. We use a statistical tool, called simple component analysis, to analyze partial execution traces of a given program. We get a new coordinate system in the vector space of program variables, which is used to specialize numerical abstract domains. As an application, we instantiate our technique to interval analysis of simple imperative programs and show some experimental evaluations.
[AmatoS12]
Random: R-Based Analyzer for Numerical Domains(Conference paper)
Authors:
G. Amato; F. Scozzari
Editors:
N. Bjørner; A. Voronkov
Date:
2012
Publication:
Proceedings of the 18th International Conference on Logic for Programming, Artificial Intelligence, and Reasoning (LPAR 2012)
Series:
Lecture Notes in Computer Science
Volume:
7180
Pages:
375–382
Publisher:
Springer-Verlag, Berlin
Location:
Mérida, Venezuela
ISBN:
978-3-642-28716-9
Abstract
We present the tool Random (R-based Analyzer for Numerical DOMains) for static analysis of imperative programs. The tool is based on the theory of abstract interpretation and implements several abstract domains for detecting numerical properties, in particular integer loop invariants. The tool combines a statistical dynamic analysis with a static analysis on the new domain of parallelotopes. The tool has a graphical interface for tuning the parameters of the analysis and visualizing partial traces.
[AndreFKS12]
IMITATOR 2.5: A Tool for Analyzing Robustness in Scheduling Problems(Conference paper)
Authors:
É. André; L. Fribourg; U. Kühne; R. Soulat
Editors:
D. Giannakopoulou; D. Méry
Date:
2012
Publication:
FM 2012: Formal Methods
Series:
Lecture Notes in Computer Science
Volume:
7436
Pages:
33–36
Publisher:
Springer-Verlag, Berlin
ISBN:
978-3-642-32758-2 (Print) 978-3-642-32759-9 (Online)
Abstract
The tool Imitator implements the Inverse Method (IM) for Timed Automata (TAs). Given a TA A\mathcal{A} and a tuple π0\pi_0 of reference valuations for timings, IM synthesizes a constraint around π0\pi_0 where A\mathcal{A} behaves in the same discrete manner. This provides us with a quantitative measure of robustness of the behavior of A\mathcal{A} around π0\pi_0. The new version Imitator 2.5 integrates the new features of stopwatches (in addition to standard clocks) and updates (in addition to standard clock resets), as well as powerful algorithmic improvements for state space reduction. These new features make the tool well-suited to analyze the robustness of solutions in several classes of preemptive scheduling problems.
[AndreFS12]
Enhancing the Inverse Method with State Merging(Conference paper)
Authors:
É. André; L. Fribourg; R. Soulat
Editors:
A. E. Goodloe; S. Person
Date:
2012
Publication:
NASA Formal Methods: Proceedings of the 4th International Symposium (NFM 2012)
Series:
Lecture Notes in Computer Science
Volume:
7226
Pages:
100–105
Publisher:
Springer-Verlag, Berlin
Location:
Norfolk, USA
ISBN:
978-3-642-28890-6 (Print) 978-3-642-28891-3 (Online)
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.
[BeckschulzeKB12]
Access-Based Localization for Octagons(Article)
Authors:
E. Beckschulze; S. Kowalewski; J. Brauer
Date:
2012
Publication:
Electronic Notes in Theoretical Computer Science
Volume:
287
Pages:
29–40
Publisher:
Elsevier
ISSN:
1571-0661
Abstract
Access-based localization is a two-step process. First, the set of abstract memory locations that are accessed in a procedure are determined. Then, in a subsequent fixed point iteration, the input to the respective procedure is reduced to those variables that are indeed accessed, thereby saving time and memory. The topic of this paper is access-based localization for the octagon abstract domain. For the frequently occurring scenario that only one out of two variables in some octagonal constraint is contained in the access-set of a procedure, there is a variety of opportunities how localization could be implemented. This paper presents three different approaches on how to deal with such constraints. Albeit applied to a subset of the abstract state space, two of these approaches preserve precision, i.e., the abstract state space is as precise as in the case that no localization is performed.
[Ben-AmramGM12]
On the Termination of Integer Loops(Article)
Authors:
A. M. Ben-Amram; S. Genaim; A. N. Masud
Date:
2012
Publication:
ACM Transactions on Programming Languages and Systems
Volume:
34
Issue:
4
Pages:
16:1–16:24
Publisher:
ACM Press, New York, USA
ISSN:
0164-0925
Abstract
In this article we study the decidability of termination of several variants of simple integer loops, without branching in the loop body and with affine constraints as the loop guard (and possibly a precondition). We show that termination of such loops is undecidable in some cases, in particular, when the body of the loop is expressed by a set of linear inequalities where the coefficients are from Z∪{r}\mathbb{Z} \cup \{r\} with rr an arbitrary irrational; when the loop is a sequence of instructions, that compute either linear expressions or the step function; and when the loop body is a piecewise linear deterministic update with two pieces. The undecidability result is proven by a reduction from counter programs, whose termination is known to be undecidable. For the common case of integer linear-constraint loops with rational coefficients we have not succeeded in proving either decidability or undecidability of termination, but we show that a Petri net can be simulated with such a loop; this implies some interesting lower bounds. For example, termination for a partially specified input is at least EXPSPACE-hard.
[BeyerG12]
Static Analysis of Run-Time Modes in Synchronous Process Network(Conference paper)
Authors:
M. Beyer; S. Glesner
Editors:
E. Clarke; I. Virbitskaite; A. Voronkov
Date:
2012
Publication:
Perspectives of Systems Informatics: Proceedings of the 8th International Andrei Ershov Memorial Conference
Series:
Lecture Notes in Computer Science
Volume:
7162
Pages:
55–67
Publisher:
Springer-Verlag, Berlin
Location:
Novosibirsk, Russia
ISBN:
978-3-642-29708-3
Abstract
For modeling modern streaming-oriented applications, Process Networks (PNs) are used to describe systems 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 Process Network is statically known. In this paper we present a static analysis for synchronous PNs that extracts different run-time modes by using polyhedral abstraction. The result is a Mealy machine whose states describe different run-time modes and the edges among them represent transitions. This machine can be used to guide optimizing backend mappings from PNs to concurrent architectures.
[BozgaIK12]
Deciding Conditional Termination(Conference paper)
Authors:
M. Bozga; R. Iosif; F. Konečný
Editors:
C. Flanagan; B. König
Date:
2012
Publication:
Tools and Algorithms for the Construction and Analysis of Systems: Proceedings of the 18th International Conference (TACAS 2012)
Series:
Lecture Notes in Computer Science
Volume:
7214
Pages:
252–266
Publisher:
Springer-Verlag, Berlin
Location:
Tallinn, Estonia
ISBN:
978-3-642-28755-8 (Print) 978-3-642-28756-5 (Online)
Abstract
This paper addresses the problem of conditional termination, which is that of defining the set of initial configurations from which a given program terminates. First we define the dual set, of initial configurations, from which a non-terminating execution exists, as the greatest fixpoint of the pre-image of the transition relation. This definition enables the representation of this set, whenever the closed form of the relation of the loop is definable in a logic that has quantifier elimination. This entails the decidability of the termination problem for such loops. Second, we present effective ways to compute the weakest precondition for non-termination for difference bounds and octagonal (non-deterministic) relations, by avoiding complex quantifier eliminations. We also investigate the existence of linear ranking functions for such loops. Finally, we study the class of linear affine relations and give a method of under-approximating the termination precondition for a non-trivial subclass of affine relations. We have performed preliminary experiments on transition systems modeling real-life systems, and have obtained encouraging results.
[BozgaIK12TR]
Relational Analysis of Integer Programs(Technical report)
Authors:
M. Bozga; R. Iosif; F. Konečný
Date:
2012-09
Report number:
TR-2012-10
Location:
Gières, France
Institution:
VERIMAG
Abstract
Verifying an integer program against safety requirements requires, in general, the computation of an invariant of the program, needed to prove the unreachability of one or several error states. Traditionally, such invariants are computed by handling finite representations of potentially infinite sets of states, such as abstract domains, boolean combination of predicates, etc. In this paper, we introduce a method of proving safety properties, that tracks relations instead of sets of states. As relations store, in general, more information about the system's behavior than reachability sets, they prove to be a useful tool in designing modular verification techniques, in which each function of the program is analysed separately, and its computed summary is plugged in at every call site. The key to computing accurate relations describing the behavior of a program is inferring the transitive closures of the relations labeling the control loops of the program. 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 classes of relations. In practice, according to our experiments, the new method performs up to four orders of magnitude better than existing acceleration algorithms, making it a promising approach for the verification of integer programs. The transitive closure algorithm has been implemented and integrated in a tool for the interprocedural analysis of integer programs.
[BrauerK12]
Transfer Function Synthesis without Quantifier Elimination(Article)
Authors:
J. Brauer; A. King
Date:
2012
Publication:
Logical Methods in Computer Science
Volume:
8
Issue:
3:17
Pages:
1–37
Publisher:
Logical Methods in Computer Science
Abstract
Traditionally, transfer functions have been designed manually for each operation in a program, instruction by instruction. In such a setting, a transfer function describes the semantics of a single instruction, detailing how a given abstract input state is mapped to an abstract output state. The net effect of a sequence of instructions, a basic block, can then be calculated by composing the transfer functions of the constituent instructions. However, precision can be improved by applying a single transfer function that captures the semantics of the block as a whole. Since blocks are program-dependent, this approach necessitates automation. There has thus been growing interest in computing transfer functions automatically, most notably using techniques based on quantifier elimination. Although conceptually elegant, quantifier elimination inevitably induces a computational bottleneck, which limits the applicability of these methods to small blocks. This paper contributes a method for calculating transfer functions that finesses quantifier elimination altogether, and can thus be seen as a response to this problem. The practicality of the method is demonstrated by generating transfer functions for input and output states that are described by linear template constraints, which include intervals and octagons.
[ChampionDD12]
Generating Property-Directed Potential Invariants by Backward Analysis(Article)
Authors:
A. Champion; R. Delmas; M. Dierkes
Date:
2012
Publication:
Electronic Proceedings in Theoretical Computer Science
Volume:
105
Pages:
22–38
Publisher:
Open Publishing Association
ISSN:
2075-2180
Abstract
This paper addresses the issue of lemma generation in a k-induction-based formal analysis of transition systems, in the linear real/integer arithmetic fragment. A backward analysis, powered by quantifier elimination, is used to output preimages of the negation of the proof objective, viewed as unauthorized states, or gray states. Two heuristics are proposed to take advantage of this source of information. First, a thorough exploration of the possible partitionings of the gray state space discovers new relations between state variables, representing potential invariants. Second, an inexact exploration regroups and over-approximates disjoint areas of the gray state space, also to discover new relations between state variables. k-induction is used to isolate the invariants and check if they strengthen the proof objective. These heuristics can be used on the first preimage of the backward exploration, and each time a new one is output, refining the information on the gray states. In our context of critical avionics embedded systems, we show that our approach is able to outperform other academic or commercial tools on examples of interest in our application field. The method is introduced and motivated through two main examples, one of which was provided by Rockwell Collins, in a collaborative formal verification framework.
[ChengR12]
An Abstract Domain to Infer Types over Zones in Spreadsheets(Conference paper)
Authors:
T. Cheng; X. Rival
Editors:
A. Miné; D. Schmidt
Date:
2012
Publication:
Static Analysis: Proceedings of the 19th International Symposium (SAS 2012)
Series:
Lecture Notes in Computer Science
Volume:
7460
Pages:
94–110
Publisher:
Springer-Verlag, Berlin
Location:
Deauville, France
ISBN:
978-3-642-33124-4 (Print) 978-3-642-33125-1 (Online)
Abstract
Spreadsheet languages are very commonly used, by large user bases, yet they are error prone. However, many semantic issues and errors could be avoided by enforcing a stricter type discipline. As declaring and specifying type information would represent a prohibitive amount of work for users, we propose an abstract interpretation based static analysis for spreadsheet programs that infers type constraints over zones of spreadsheets, viewed as two-dimensional arrays. Our abstract domain consists in a cardinal power from a numerical abstraction describing zones in a spreadsheet to an abstraction of cell values, including type properties. We formalize this abstract domain and its operators (transfer functions, join, widening and reduction) as well as a static analysis for a simplified spreadsheet language. Last, we propose a representation for abstract values and present an implementation of our analysis.
[CuervoParrinoNVM12]
Dealing with Arithmetic Overflows in the Polyhedral Model(Conference paper)
Authors:
B. Cuervo Parrino; J. Narboux; E. Violard; N. Magaud
Editors:
U. Bondhugula; V. Loechner
Date:
2012
Publication:
Proceedings of the 2nd International Workshop on Polyhedral Compilation Techniques (IMPACT 2012)
Location:
Paris, France
Abstract
The polyhedral model provides techniques to optimize Static Control Programs (SCoP) using some complex transforma- tions which improve data-locality and which can exhibit parallelism. These advanced transformations are now available in both GCC and LLVM. In this paper, we focus on the cor- rectness of these transformations and in particular on the problem of integer overflows. Indeed, the strength of the polyhedral model is to produce an abstract mathematical representation of a loop nest which allows high-level trans- formations. But this abstract representation is valid only when we ignore the fact that our integers are only machine integers. In this paper, we present a method to deal with this problem of mismatch between the mathematical and concrete representations of loop nests. We assume the exis- tence of polyhedral optimization transformations which are proved to be correct in a world without overflows and we provide a self-verifying compilation function. Rather than verifying the correctness of this function, we use an approach based on a validator, which is a tool that is run by the com- piler after the transformation itself and which confirms that the code produced is equivalent to the original code. As we aim at the formal proof of the validator we implement this validator using the Coq proof assistant as a programming language [4].
[DangT12]
Reachability Analysis for Polynomial Dynamical Systems Using the Bernstein Expansion(Article)
Authors:
T. Dang; R. Testylier
Date:
2012
Publication:
Reliable Computing
Volume:
17
Issue:
2
Pages:
128–152
Publisher:
Kluwer Academic Publishers
ISSN:
1573-1340
Abstract
This paper is concerned with the reachability computation problem for polynomial discrete-time dynamical systems. Such computations con- stitute a crucial component in algorithmic verication tools for hybrid systems and embedded software with polynomial dynamics, which have found applications in many engineering domains. We describe two meth- ods for over-approximating the reachable sets of such systems; these meth- ods are based on a combination of the Bernstein expansion of polynomial functions and a representation of reachable sets by template polyhedra. Using a prototype implementation, the performance of the methods was demonstrated on a number of examples of control systems and biological systems.
[FangGZS12]
Formal Verification and Simulation: Co-verification for Subway Control Systems(Conference paper)
Authors:
H. Fang; J. Guo; H. Zhu; J. Shi
Editors:
T. Margaria; Z. Qiu; H. Yang
Date:
2012
Publication:
Sixth International Symposium on Theoretical Aspects of Software Engineering (TASE)
Pages:
145–152
Publisher:
IEEE Xplore Digital Library
Location:
Beijing
ISBN:
978-1-4673-2353-6
Abstract
For hybrid systems, hybrid automata based tools are capable of verification while Matlab Simulink/Stateflow is proficient in simulation. In this paper, a methodology is developed in which the formal verification tool PHAVer and simulation tool Matlab are integrated to analyze and verify hybrid systems. For application of this methodology, a Platform Screen Doors System (abbreviated as PSDS), a subsystem of the subway, is modeled with formal verification techniques based on hybrid automata and Matlab Simulink/Stateflow charts, respectively. The models of PSDS are simulated by Matlab and verified by PHAVer. It is verified that the sandwich situation can be avoided under time interval conditions. We conclude that this integration methodology is competent in verifying Platform Screen Doors System.
[Fenacci12th]
Compiler-Driven Data Layout Transformations for Network Applications(PhD thesis)
Authors:
D. Fenacci
Date:
2012
Location:
Edinburgh, UK
School:
University of Edinburgh
Abstract
This work approaches the little studied topic of compiler optimisations directed to network applications. It starts by investigating if there exist any fundamental differences between application domains that justify the development and tuning of domain-specific compiler optimisations. It shows an automated approach that is capable of identifying domain-specific workload characterisations and presenting them in a readily interpretable format based on decision trees. The generated workload profiles summarise key resource utilisation issues and enable compiler engineers to address the highlighted bottlenecks. By applying this methodology to data intensive network infrastructure application it shows that data organisation is the key obstacle to overcome in order to achieve high performance. It therefore proposes and evaluates three specialised data transformations (structure splitting, array regrouping, and software caching) against the industrial EEMBC networking benchmarks and real-world data sets. It also demonstrates on one hand that speedups of up to 2.62 can be achieved, but on the other that no single solution performs equally well across different network traffic scenarios. Hence, to address this issue, an adaptive software caching scheme for high frequency route lookup operations is introduced and its effectiveness evaluated one more time against EEMBC networking benchmarks and real-world data sets achieving speedups of up to 3.30 and 2.27. The results clearly demonstrate that adaptive data organisation schemes are necessary to ensure optimal performance under varying network loads. Finally this research addresses another issue introduced by data transformations such as array regrouping and software caching, i.e. the need for static analysis to allow efficient resource allocation. This thesis proposes a static code analyser that allows the automatic resource analysis of source code containing lists and tree structures. The tool applies a combination of amortised analysis and separation logic methodology to real code and is able to evaluate type and resource usage of existing data structures, which can be used to compute global resource consumption values for full data intensive network applications.
[FioravantiPPS12]
Using Real Relaxations during Program Specialization(Conference paper)
Authors:
F. Fioravanti; A. Pettorossi; M. Proietti; V. Senni
Editors:
G. Vidal
Date:
2012
Publication:
Logic Program Synthesis and Transformation: Proceedings of the 21st International Symposium
Series:
Lecture Notes in Computer Science
Volume:
7225
Pages:
106–122
Publisher:
Springer-Verlag, Berlin
Location:
Odense, Denmark
ISBN:
978-3-642-32210-5 (Print) 978-3-642-32211-2 (Online)
Abstract
We propose a program specialization technique for locally stratified CLP(Z) programs, that is, logic programs with linear constraints over the set Z of the integer numbers. For reasons of efficiency our technique makes use of a relaxation from integers to reals. We reformulate the familiar unfold/fold transformation rules for CLP programs so that: (i) the applicability conditions of the rules are based on the satisfiability or entailment of constraints over the set R of the real numbers, and (ii) every application of the rules transforms a given program into a new program with the same perfect model constructed over Z. Then, we introduce a strategy which applies the transformation rules for specializing CLP(Z) programs with respect to a given query. Finally, we show that our specialization strategy can be applied for verifying properties of infinite state reactive systems specified by constraints over Z.
[FioravantiPPS12-FI]
Improving Reachability Analysis of Infinite State Systems by Specialization(Article)
Authors:
F. Fioravanti; A. Pettorossi; M. Proietti; V. Senni
Date:
2012
Publication:
Fundamenta Informaticae
Volume:
119
Issue:
3–4
Pages:
281–300
Publisher:
IOS Press
ISSN:
0169-2968 (Print) 1875-8681 (Online)
Abstract
We consider infinite state reactive systems specified by using linear constraints over the integers, and we address the problem of verifying safety properties of these systems by applying reachability analysis techniques. We propose a method based on program specialization, which improves the effectiveness of the backward and forward reachability analyses. For backward reachability our method consists in: (i) specializing the reactive system with respect to the initial states, and then (ii) applying to the specialized system the reachability analysis that works backwards from the unsafe states. For reasons of efficiency, during specialization we make use of a relaxation from integers to reals. In particular, we test the satisfiability or entailment of constraints over the real numbers, while preserving the reachability properties of the reactive systems when constraints are interpreted over the integers. For forward reachability our method works as for backward reachability, except that the role of the initial states and the unsafe states are interchanged. We have implemented our method using the MAP transformation system and the ALV verification system. Through various experiments performed on several infinite state systems, we have shown that our specialization-based verification technique considerably increases the number of successful verifications without a significant degradation of the time performance.
[GawlitzaM12]
Invariant Generation Through Strategy Iteration in Succinctly Represented Control Flow Graphs(Article)
Authors:
T. M. Gawlitza; D. Monniaux
Date:
2012
Publication:
Logical Methods in Computer Science
Volume:
8
Issue:
3:29
Pages:
1–35
Publisher:
Logical Methods in Computer Science
Abstract
We consider the problem of computing numerical invariants of programs, for instance bounds on the values of numerical program variables. More specifically, we study the problem of performing static analysis by abstract interpretation using template linear constraint domains. Such invariants can be obtained by Kleene iterations that are, in order to guarantee termination, accelerated by widening operators. In many cases, however, applying this form of extrapolation leads to invariants that are weaker than the strongest inductive invariant that can be expressed within the abstract domain in use. Another well-known source of imprecision of traditional abstract interpretation techniques stems from their use of join operators at merge nodes in the control flow graph. The mentioned weaknesses may prevent these methods from proving safety properties. The technique we develop in this article addresses both of these issues: contrary to Kleene iterations accelerated by widening operators, it is guaranteed to yield the strongest inductive invariant that can be expressed within the template linear constraint domain in use. It also eschews join operators by distinguishing all paths of loop-free code segments. Formally speaking, our technique computes the least fixpoint within a given template linear constraint domain of a transition relation that is succinctly expressed as an existentially quantified linear real arithmetic formula. In contrast to previously published techniques that rely on quantifier elimination, our algorithm is proved to have optimal complexity: we prove that the decision problem associated with our fixpoint problem is in the second level of the polynomial-time hierarchy.
[GhorbalIBMG12]
Donut Domains: Efficient Non-convex Domains for Abstract Interpretation(Conference paper)
Authors:
K. Ghorbal; F. Ivančić; G. Balakrishnan; N. Maeda; A. Gupta
Editors:
V. Kuncak; A. Rybalchenko
Date:
2012
Publication:
Verification, Model Checking, and Abstract Interpretation: Proceedings of the 13th International Conference (VMCAI 2012)
Series:
Lecture Notes in Computer Science
Volume:
7148
Pages:
235–250
Publisher:
Springer-Verlag, Berlin
Location:
Philadelphia, PA, USA
ISBN:
978-3-642-27939-3 (Print) 978-3-642-27940-9 (Online)
Abstract
Program analysis using abstract interpretation has been successfully applied in practice to find runtime bugs or prove software correct. Most abstract domains that are used widely rely on convexity for their scalability. However, the ability to express non-convex properties is sometimes required in order to achieve a precise analysis of some numerical properties. This work combines already known abstract domains in a novel way in order to design new abstract domains that tackle some non-convex invariants. The abstract objects of interest are encoded as a pair of two convex abstract objects: the first abstract object defines an over-approximation of the possible reached values, as is done customarily. The second abstract object under-approximates the set of impossible values within the state-space of the first abstract object. Therefore, the geometrical concretization of our objects is defined by a convex set minus another convex set (or hole). We thus call these domains donut domains.
[Green12th]
Compositional Bounded Reachability Using Time Partitioning and Abstraction(Master’s thesis)
Authors:
J. D. Green
Date:
2012-08
Location:
Urbana, IL, USA
School:
University of Illinois at Urbana-Champaign
Abstract
Automatic verification of cyber-physical systems (CPS) typically involves computing the reachable set of states of such systems. This computation is known to be exponential in the number of continuous variables. For systems that can be decomposed into separate components with lower dimensionality, we present an algorithm that verifies global safety properties of the complete system using the reach sets of the components. Here, the components are only coupled through a shared time variable. Using a satellite system case study, we are able to show significant savings in memory and runtime computation costs for this approach. For systems whose components are coupled through additional continuous variables, we present an abstraction to overapproximate the interaction between the components such that the aforementioned algorithm can be used. The feasibility of this abstraction is demonstrated experimentally, which also shows additional work is necessary to develop a more efficient abstraction.
[HalbwachsH12]
When the Decreasing Sequence Fails(Conference paper)
Authors:
N. Halbwachs; J. Henry
Editors:
A. Miné; D. Schmidt
Date:
2012
Publication:
Static Analysis: Proceedings of the 19th International Symposium (SAS 2012)
Series:
Lecture Notes in Computer Science
Volume:
7460
Pages:
198–213
Publisher:
Springer-Verlag, Berlin
Location:
Deauville, France
ISBN:
978-3-642-33124-4 (Print) 978-3-642-33125-1 (Online)
Abstract
The classical method for program analysis by abstract interpretation consists in computing a increasing sequence with widening, which converges towards a correct solution, then computing a decreasing sequence of correct solutions without widening. It is generally admitted that, when the decreasing sequence reaches a fixpoint, it cannot be improved further. As a consequence, all efforts for improving the precision of an analysis have been devoted to improving the limit of the increasing sequence. In this paper, we propose a method to improve a fixpoint after its computation. The method consists in projecting the solution onto well-chosen components and to start again increasing and decreasing sequences from the result of the projection.
[HenryMM12a]
Succinct Representations for Abstract Interpretation: Combined Analysis Algorithms and Experimental Evaluation(Conference paper)
Authors:
J. Henry; D. Monniaux; M. Moy
Editors:
A. Miné; D. Schmidt
Date:
2012
Publication:
Static Analysis: Proceedings of the 19th International Symposium (SAS 2012)
Series:
Lecture Notes in Computer Science
Volume:
7460
Pages:
283–299
Publisher:
Springer-Verlag, Berlin
Location:
Deauville, France
ISBN:
978-3-642-33124-4 (Print) 978-3-642-33125-1 (Online)
Abstract
Abstract interpretation techniques can be made more precise by distinguishing paths inside loops, at the expense of possibly exponential complexity. SMT-solving techniques and sparse representations of paths and sets of paths avoid this pitfall. We improve previously proposed techniques for guided static analysis and the generation of disjunctive invariants by combining them with techniques for succinct representations of paths and symbolic representations for transitions based on static single assignment. Because of the non-monotonicity of the results of abstract interpretation with widening operators, it is difficult to conclude that some abstraction is more precise than another based on theoretical local precision results. We thus conducted extensive comparisons between our new techniques and previous ones, on a variety of open-source packages.
[HenryMM12b]
PAGAI: A Path Sensitive Static Analyzer(Article)
Authors:
J. Henry; D. Monniaux; M. Moy
Date:
2012
Publication:
Electronic Notes in Theoretical Computer Science
Volume:
289
Pages:
15–25
Publisher:
Elsevier Science Publishers B.V.
Location:
Amsterdam, The Netherlands
ISSN:
1571-0661
Abstract
We describe the design and the implementation of PAGAI, a new static analyzer working over the LLVM compiler infrastructure, which computes inductive invariants on the numerical variables of the analyzed program. PAGAI implements various state-of-the-art algorithms combining abstract interpretation and decision procedures (SMT-solving), focusing on distinction of paths inside the control flow graph while avoiding systematic exponential enumerations. It is parametric in the abstract domain in use, the iteration algorithm, and the decision procedure. We compared the time and precision of various combinations of analysis algorithms and abstract domains, with extensive experiments both on personal benchmarks and widely available GNU programs.
[HoweK12]
Polyhedral Analysis Using Parametric Objectives(Conference paper)
Authors:
J. M. Howe; A. King
Editors:
A. Miné; D. Schmidt
Date:
2012
Publication:
Static Analysis: Proceedings of the 19th International Symposium (SAS 2012)
Series:
Lecture Notes in Computer Science
Volume:
7460
Pages:
41–57
Publisher:
Springer-Verlag, Berlin
Location:
Deauville, France
ISBN:
978-3-642-33124-4 (Print) 978-3-642-33125-1 (Online)
Abstract
The abstract domain of polyhedra lies at the heart of many program analysis techniques. However, its operations can be expensive, precluding their application to polyhedra that involve many variables. This paper describes a new approach to computing polyhedral domain operations. The core of this approach is an algorithm to calculate variable elimination (projection) based on parametric linear programming. The algorithm enumerates only non-redundant inequalities of the projection space, hence permits anytime approximation of the output.
[Jakubczyk12]
Sweeping in Abstract Interpretation(Article)
Authors:
K. Jakubczyk
Date:
2012
Publication:
Electronic Notes in Theoretical Computer Science
Volume:
288
Pages:
25–36
Publisher:
Elsevier Science Publishers B. V.
Location:
Amsterdam, The Netherlands
ISSN:
1571-0661
Abstract
In this paper we present how sweeping line techniques, which are very popular in computational geometry, can be adapted for static analysis of computer software by abstract interpretation. We expose how concept of the sweeping line can be used to represent elements of a numerical abstract domain of boxes, which is a disjunctive refinement of a well known domain of intervals that allows finite number of disjunctions. We provide a detailed description of the representation along with standard domain operations algorithms. Furthermore we introduce very precise widening operator for the domain. Additionally we show that the presented idea of the representation based on sweeping line technique is a generalisation of the representation that uses Linear Decision Diagrams (LDD), which is one of possible optimisations of our idea. We also show that the presented widening operator is often more precise than the previous one.
[KimuraM12]
Trichotomy for Integer Linear Systems Based on Their Sign Patterns(Conference paper)
Authors:
K. Kimura; K. Makino
Editors:
C. Dürr; T. Wilke
Date:
2012
Publication:
Proceedings of the 29th International Symposium on Theoretical Aspects of Computer Science (STACS 2012)
Series:
Leibniz International Proceedings in Informatics (LIPIcs)
Volume:
14
Pages:
613–623
Publisher:
Schloss Dagstuhl – Leibniz-Zentrum für Informatik
ISBN:
978-3-939897-35-4
Abstract
In this paper, we consider solving the integer linear systems, i.e., given a matrix A∈Rm×nA \in \mathbb{R}^{m\times n}, a vector b∈Rmb \in \mathbb{R}^m, and a positive integer dd, to compute an integer vector x∈Dnx \in D^n such that Ax≥bAx \geq b, where mm and nn denote positive integers, R\mathbb{R} denotes the set of reals, and D={0,1,…,d−1}D = \{0,1,\ldots,d-1\}. The problem is one of the most fundamental NP-hard problems in computer science. For the problem, we propose a complexity index η\eta which is based only on the sign pattern of AA. For a real γ\gamma, let ILS=(γ)\mathrm{ILS}_{=}(\gamma) denote the family of the problem instances II with η(I)=γ\eta(I)=\gamma. We then show the following trichotomy: ILS=(γ)\mathrm{ILS}_{=}(\gamma) is linearly solvable, if γ<1\gamma < 1, ILS=(γ)\mathrm{ILS}_{=}(\gamma) is weakly NP-hard and pseudo-polynomially solvable, if γ=1\gamma = 1, and ILS=(γ)\mathrm{ILS}_{=}(\gamma) is strongly NP-hard, if γ>1\gamma > 1. This, for example, includes the existing results that quadratic systems and Horn systems can be solved in pseudo-polynomial time.
[KimuraM12TR]
Trichotomy for Integer Linear Systems Based on Their Sign Patterns(Technical report)
Authors:
K. Kimura; K. Makino
Date:
2012-01
Report number:
METR 2012-02
Location:
Tokyo, Japan
Institution:
Department of Mathematical Informatics, Graduate School of Information Science and Technology, The University of Tokyo
A preliminary version appears in the proceedings of STACS 2012.
Abstract
In this paper, we consider solving the integer linear systems, i.e., given a matrix A∈Rm×nA \in \mathbb{R}^{m\times n}, a vector b∈Rmb \in \mathbb{R}^m, and a positive integer dd, to compute an integer vector x∈Dnx \in D^n such that Ax≥bAx \geq b, where mm and nn denote positive integers, R\mathbb{R} denotes the set of reals, and D={0,1,…,d−1}D = \{0,1,\ldots,d-1\}. The problem is one of the most fundamental NP-hard problems in computer science. For the problem, we propose a complexity index η\eta which is based only on the sign pattern of AA. For a real γ\gamma, let ILS=(γ)\mathrm{ILS}_{=}(\gamma) denote the family of the problem instances II with η(I)=γ\eta(I)=\gamma. We then show the following trichotomy: ILS=(γ)\mathrm{ILS}_{=}(\gamma) is linearly solvable, if γ<1\gamma < 1, ILS=(γ)\mathrm{ILS}_{=}(\gamma) is weakly NP-hard and pseudo-polynomially solvable, if γ=1\gamma = 1, and ILS=(γ)\mathrm{ILS}_{=}(\gamma) is strongly NP-hard, if γ>1\gamma > 1. This, for example, includes the existing results that quadratic systems and Horn systems can be solved in pseudo-polynomial time.
[Konecny12th]
Vérification relationnelle pour des programmes avec des données entières(PhD thesis)
Authors:
F. Konečný
Date:
2012-10
School:
Université de Grenoble and Vysoké učení technické v Brně
Abstract
This work presents novel methods for verification of reachability and termination properties of programs that manipulate unbounded integer data. Most of these methods are based on acceleration techniques which compute transitive closures of program loops. We first present an algorithm that accelerates several classes of integer relations and show that the new method performs up to four orders of magnitude better than the previous ones. On the theoretical side, our framework provides a common solution to the acceleration problem by proving that the considered classes of relations are periodic. Subsequently, we introduce a semi-algorithmic reachability analysis technique that tracks relations between variables of integer programs and applies the proposed acceleration algorithm to compute summaries of procedures in a modular way. Next, we present an alternative approach to reachability analysis that integrates predicate abstraction with our acceleration techniques to increase the likelihood of convergence of the algorithm. We evaluate these algorithms and show that they can handle a number of complex integer programs where previous approaches failed. Finally, we study the termination problem for several classes of program loops and show that it is decidable. Moreover, for some of these classes, we design a polynomial time algorithm that computes the exact set of program configurations from which non-terminating runs exist. We further integrate this algorithm into a semi-algorithmic method that analyzes termination of integer programs, and show that the resulting technique can verify termination properties of several non-trivial integer programs.
[Legay12]
Extrapolating (Omega-)Regular Model Checking(Article)
Authors:
A. Legay
Date:
2012-04
Publication:
International Journal on Software Tools for Technology Transfer
Volume:
14
Issue:
2
Pages:
119–143
Publisher:
Springer
ISSN:
1433-2779
Abstract
(Omega-)Regular model checking is the name of a family of techniques in which states are represented by words, sets of states by finite automata on these objects, and transitions by finite automata operating on pairs of state encodings, i.e., finite-state transducers. In this context, the problem of computing the set of reachable states of a system can be reduced to the one of computing the iterative closure of the finite-state transducer representing its transition relation. In this tutorial article, we survey an extrapolation-based technique for computing the closure of a given transducer. The approach proceeds by comparing successive elements of a sequence of approximations of the iteration, detecting an “increment” that is added to move from one approximation to the next, and extrapolating the sequence by allowing arbitrary repetitions of this increment. The technique applies to finite-word and deterministic weak Büchi automata. Finally, we discuss the implementation of these results within the T(O)RMC toolsets and present case studies that show the advantages and the limits of the approach.
[LuMMRFL12]
Reachability Analysis for Timed Automata using Max-Plus Algebra(Article)
Authors:
Q. Lu; M. Madsen; M. Milata; S. Ravn; U. Fahrenberg; K. G. Larsen
Date:
2012
Publication:
Journal of Logic and Algebraic Programming
Volume:
81
Issue:
3
Pages:
298–313
Publisher:
Elsevier
ISSN:
1567-8326
Abstract
We show that max-plus polyhedra are usable as a data structure in reachability analysis of timed automata. Drawing inspiration from the extensive work that has been done on difference bound matrices, as well as previous work on max-plus polyhedra in other areas, we develop the algorithms needed to perform forward and backward reachability analysis using max-plus polyhedra. To show that the approach works in practice and theory alike, we have created a proof-of-concept implementation on top of the model checker opaal.
[Masud12th]
Termination and Cost Analysis: Complexity and Precision Issues(PhD thesis)
Authors:
A. N. Masud
Date:
2012-11
Location:
Madrid, Spain
School:
Universidad Politécnica de Madrid
Abstract
The research in this thesis is related to static cost and termination analysis. Cost analysis aims at estimating the amount of resources that a given program consumes during the execution, and termination analysis aims at proving that the execution of a given program will eventually terminate. These analyses are strongly related, indeed cost analysis techniques heavily rely on techniques developed for termination analysis. Precision, scalability, and applicability are essential in static analysis in general. Precision is related to the quality of the inferred results, scalability to the size of programs that can be analyzed, and applicability to the class of programs that can be handled by the analysis (independently from precision and scalability issues). This thesis addresses these aspects in the context of cost and termination analysis, from both practical and theoretical perspectives. For cost analysis, we concentrate on the problem of solving cost relations (a form of recurrence relations) into closed-form upper and lower bounds, which is the heart of most modern cost analyzers, and also where most of the precision and applicability limitations can be found. We develop tools, and their underlying theoretical foundations, for solving cost relations that overcome the limitations of existing approaches, and demonstrate superiority in both precision and applicability. A unique feature of our techniques is the ability to smoothly handle both lower and upper bounds, by reversing the corresponding notions in the underlying theory. For termination analysis, we study the hardness of the problem of deciding termination for a speci????c form of simple loops that arise in the context of cost analysis. This study gives a better understanding of the (theoretical) limits of scalability and applicability for both termination and cost analysis.
[MonniauxG12]
Stratified Static Analysis Based on Variable Dependencies(Article)
Authors:
D. Monniaux; J. Le Guen
Date:
2012
Publication:
Electronic Notes in Theoretical Computer Science (ENTCS)
Volume:
288
Pages:
61–74
Publisher:
Elsevier Science Publishers B. V.
Location:
Amsterdam, The Netherlands
ISSN:
1571-0661
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.
[MontenegroSEP12]
Interpolation-Based Height Analysis for Improving a Recurrence Solver(Book chapter)
Authors:
M. Montenegro; O. Shkaravska; M. van Eekelen; R. Peña
Editors:
R. Peña; M. van Eekelen; O. Shkaravska
Date:
2012
Publication:
Foundational and Practical Aspects of Resource Analysis: Second International Workshop (FOPARA 2011), Revised Selected Papers
Series:
Lecture Notes in Computer Science
Volume:
7177
Pages:
36–53
Publisher:
Springer-Verlag, Berlin
Location:
Madrid, Spain
ISBN:
978-3-642-32494-9 (Print) 978-3-642-32495-6 (Online)
Abstract
The COSTA system infers resource consumption bounds from Java bytecode using an internal recurrence solver PUBS. This paper suggests an improvement of the COSTA system, such that it can solve a larger number of recurrences. The idea is to replace one of its static analyses, the ranking function analysis, by another kind of analysis, height analysis, in such a way that polynomial bounds of any degree may be inferred instead of just linear expressions. The work can be seen as an application of some polynomial interpolation techniques used by some of the authors in prior analyses. Finding a way to choose proper test nodes is the key to the solution presented in this paper.
[MotallebiAA12]
Modeling and Verification of Hybrid Dynamic Systems Using Multisingular Hybrid Petri Nets(Article)
Authors:
H. Motallebi; M. Abdollahi Azgomi
Date:
2012-08
Publication:
Theoretical Computer Science
Volume:
446
Pages:
48–74
Publisher:
Elsevier
ISSN:
0304-3975
Abstract
The aim of this research has been to associate the modeling capacities of hybrid Petri nets with the analysis power of hybrid automata in order to perform formal verification of hybrid dynamic systems. In this paper, we propose an extension of hybrid Petri nets, called multisingular hybrid Petri nets (MSHPNs), for modeling and verification of hybrid dynamic systems. This extension consists of enriching hybrid Petri nets with the capabilities of hybrid automata to control the execution and firing of transitions and some modeling facilities for describing some repeatedly encountered aspects of timed and hybrid systems. We discuss the challenging issues of speed computation raised by addition of execution predicates and introduce a speed-based partitioning technique, which is essential for state space computation. We also introduce a method for reachability analysis of MSHPNs, consisting of computing the state class graph. Thus, the verification of timing properties of MSHPNs can be conducted using the existing techniques and tools. The proposed formalism has the expressiveness of multisingular hybrid automata besides the capabilities of Petri nets for modeling concurrent and distributed systems. Some illustrative examples of the proposed formalism are also presented in this paper.
[NanjundappaKOS12]
Synthesizing Embedded Software with Safety Wrappers through Polyhedral Analysis in a Polychronous Framework(Conference paper)
Authors:
M. Nanjundappa; M. Kracht; J. Ouy; S. K. Shukla
Date:
2012-06
Publication:
Proceedings of the 2nd Electronic System Level Synthesis Conference (ESLsyn 2012)
Pages:
24–29
ISBN:
978-2-9539987-1-9
Abstract
Polychrony, a model of computation, allows us to statically analyze safety properties from formal specifications and synthesize deterministic software for safety-critical cyber physical systems. Currently, the analysis is performed on the formal specifications through Boolean abstractions. Even though it is a sound abstraction, for more precise analysis we might have to refine the abstraction. Refining the abstraction level from pure Boolean to a theory of Integers can lead to more precise decisions. In this paper, we first show how integrating a Satisfiability Modulo Theory (SMT) solver to POLYCHRONY compiler can enhance its decision making capabilities. Further, we show, how a polyhedral analysis library integrated to the compiler, can compute safe operational boundaries, and filter unsafe input combinations to keep the system safe. We enhanced the POLYCHRONY compiler's ability to make more accurate decisions and to accept and characterize the safe input range for specifications where safety may be violated for a relatively small region of a large input space. The enhancement also allows the user to consider the severity of the violation with respect to entire space of inputs, and either reject a specification or synthesize a wrapped software with guaranteed safe operation.
[Pak12th]
Hybrid Fuzz Testing: Discovering Software Bugs via Fuzzing and Symbolic Execution(Master’s thesis)
Authors:
B. S. Pak
Date:
2012-05
Location:
Pittsburgh, PA, USA
School:
Carnegie Mellon University
Also published as Technical Report CMU-CS-12-116.
Abstract
Random mutational fuzz testing (fuzzing) and symbolic executions are program testing techniques that have been gaining popularity in the security research community. Fuzzing finds bugs in a target program by natively executing it with random inputs while monitoring the execution for abnormal behaviors such as crashes. While fuzzing may have a reputation of being able to explore deep into a program's state space efficiently, naïve fuzzers usually have limited code coverage for typical programs since unconstrained random inputs are unlikely to drive the execution down many different paths. In contrast, symbolic execution tests a program by treating the program's input as symbols and interpreting the program over such symbolic inputs. Although in theory symbolic execution is guaranteed to be effective in achieving code coverage if we explore all possible paths, this generally requires exponential resource and is thus not practical for many real-world programs. This thesis presents our attempt to attain the best of both worlds by combining fuzzing with symbolic execution in a novel manner. Our technique, called hybrid fuzzing, first uses symbolic execution to discover frontier nodes that represent unique paths in the program. After collecting as many frontier nodes as possible under a user-specifiable resource constraint, it transits to fuzz the program with preconditioned random inputs, which are provably random inputs that respect the path predicate leading to each frontier node. Our current implementation supports programs with linear path predicates and can automatically generate preconditioned random inputs from a polytope model of the input space extracted from binaries. These preconditioned random inputs can then be used with any fuzzer. Experiments show that our implementation is efficient in both time and space, and the inputs generated by it are able to gain extra breadth and depth over previous approaches.
[PanizoG12]
An extension of Java PathFinder for hybrid systems(Article)
Authors:
L. Panizo; M.-d.-M. Gallardo
Date:
2012
Publication:
ACM SIGSOFT Software Engineering Notes
Volume:
37
Issue:
6
Pages:
1–5
Publisher:
ACM New York, USA
ISSN:
0163-5948
Abstract
Hybrid systems are characterized by combining discrete and continuous behaviors. Verification of hybrid systems is, in general, a diffcult task due to the potential complexity of the continuous dynamics. Currently, there are different formalisms and tools which are able to analyze specific types of hybrid systems, model checking being one of the most used approaches. In this paper, we describe an extension of Java PathFinder in order to analyze hybrid systems. We apply a general methodology which has been successfully used to extend Spin. This methodology is non-intrusive, and uses external libraries, such as the Parma Polyhedra Library, to abstract the continuous behavior of the hybrid system.
[PanLBL12]
Loop Reduction Techniques for Reachability Analysis of Linear Hybrid Automata(Article)
Authors:
M. Pan; Y. Li; L. Bu; X. Li
Date:
2012
Publication:
Science China Information Sciences
Volume:
55
Issue:
12
Pages:
2663–2674
Publisher:
Springer
ISSN:
1674-733X
Abstract
The problem of reachability analysis of linear hybrid automata (LHA) is very difficult. This paper considers to improve the efficiency of the reachability analysis by optimizing the structures of LHA. We identify two types of loops called the flexible loops and the zero loops, and present the techniques to replace the repetitions of those loops in the behavior of LHA with finite sequences of locations and in the meantime simplify the associated constraints. The techniques work not only for the polyhedral computing based algorithms but also for the bounded model checkers.
[Pelleau12th]
Domaines abstraits en programmation par contraintes(PhD thesis)
Authors:
M. Pelleau
Date:
2012-11
Location:
Nantes, France
School:
Université de Nantes
Abstract
Constraint Programming aims at solving hard combinatorial problems, with a computation time increasing in practice exponentially. The methods are today efficient enough to solve large industrial problems, in a generic framework. However, solvers are dedicated to a single variable type: integer or real. Solving mixed problems relies on ad hoc transformations. In another field, Abstract Interpretation offers tools to prove program properties, by studying an abstraction of their concrete semantics, that is, the set of possible values of the variables during an execution. Various representations for these abstractions have been proposed. They are called abstract domains. Abstract domains can mix any type of variables, and even represent relations between the variables. In this PhD dissertation, we define abstract domains for Constraint Programming, so as to build a generic solving method, dealing with both integer and real variables. We can also study the octagons abstract domain, already defined in Abstract Interpretation. Guiding the search by the octagonal relations, we obtain good results on a continuous benchmark. In a second part, we define our solving method using Abstract Interpretation techniques, in order to include existing abstract domains. Our solver, AbSolute, is able to solve mixed problems and use relational domains.
[Ray12th]
Reachability Analysis of Hybrid Systems Using Support Functions(PhD thesis)
Authors:
R. Ray
Date:
2012-05
Location:
Grenoble, France
School:
Université de Grenoble
Abstract
In model based design, one constructs a mathematical model of the system and uses it to design the system so that it exhibits the desired properties. For safety critical systems, it can be of utmost importance to verify these safety properties on the model, e.g., to account for parameter variations. Computing a finite number of system behaviors via simulation is not sufficient to guarantee safety properties. With a reachability analysis one can compute a cover of all possible system behaviors, potentially infinite, accounting for any non-determinism in the model, and with which one can guarantee safety properties. Systems of interest often exhibit both continuous and discrete behavior and such systems are called hybrid systems. Reachability computation is considered hard for continuous and hybrid systems. Only recently, scalable methods for reachability computation have been developed based on implicit set representations using the mathematical construct of support functions. In this thesis, we develop an extendable tool called SpaceEx for reachability of hybrid systems. Two reachability algorithms have been implemented in SpaceEx, one based on the PHAVer tool for linear hybrid automata and the other based on support functions for piecewise affine dynamics. The support function based algorithm has been tuned and its scalability has been improved by switching set representations. We propose an improved image computation algorithm for discrete transition that further reduces the over-approximation error and illustrate its accuracy and efficiency with several case studies.
[SchrammelJ12]
Applying Abstract Acceleration to (Co-)Reachability Analysis of Reactive Programs(Article)
Authors:
P. Schrammel; B. Jeannet
Date:
2012
Publication:
Journal of Symbolic Computation
Volume:
47
Issue:
12
Pages:
1512–1532
Publisher:
Elsevier Science B.V.
ISSN:
0747-7171
Abstract
We propose a new technique combining dynamic and static analysis of programs to find linear invariants. We use a statistical tool, called simple component analysis, to analyze partial execution traces of a given program. We get a new coordinate system in the vector space of program variables, which is used to specialize numerical abstract domains. As an application, we instantiate our technique to interval analysis of simple imperative programs and show some experimental evaluations.
[SchrammelJ12a]
From Hybrid Data-Flow Languages to Hybrid Automata: A Complete Translation(Conference paper)
Authors:
P. Schrammel; B. Jeannet
Editors:
T. Dang; I. M. Mitchell
Date:
2012
Publication:
Proceedings of the 15th ACM International Conference on Hybrid Systems: Computation and Control
Pages:
167–176
Publisher:
ACM Press, New York, USA
Location:
Beijing, China
ISBN:
978-1-4503-1220-2
Abstract
Hybrid systems are used to model embedded computing systems interacting with their physical environment. There is a conceptual mismatch between high-level hybrid system languages like Simulink, which are used for simulation, and hybrid automata, the most suitable representation for safety verification. Indeed, in simulation languages the interaction between discrete and continuous execution steps is specified using the concept of zero-crossings, whereas hybrid automata exploit the notion of staying conditions. We describe a translation from a hybrid data-flow language to logico-numerical hybrid automata that points out this issue carefully. We expose various zero-crossing semantics, propose a sound translation, and discuss to which extent the original semantics is preserved.
[ThakurR12]
A Method for Symbolic Computation of Abstract Operations(Conference paper)
Authors:
A. Thakur; T. Reps
Editors:
P. Madhusudan; S. A. Seshia
Date:
2012
Publication:
Computer Aided Verification: Proceedings of the 24th International Conference (CAV 2012)
Series:
Lecture Notes in Computer Science
Volume:
7358
Pages:
174–192
Publisher:
Springer-Verlag, Berlin
Location:
Berkeley, CA, USA
ISBN:
978-3-642-31423-0 978-3-642-31424-7
Abstract
This paper helps to bridge the gap between (i) the use of logic for specifying program semantics and performing program analysis, and (ii) abstract interpretation. Many operations needed by an abstract interpreter can be reduced to the problem of symbolic abstraction: the symbolic abstraction of a formula φ\varphi in logic L\mathcal{L}, denoted by α^(φ)\widehat{\alpha}(\varphi), is the most-precise value in abstract domain A\mathcal{A} that over-approximates the meaning of φ\varphi. We present a parametric framework that, given L\mathcal{L} and A\mathcal{A}, implements α^\widehat{\alpha}. The algorithm computes successively better over-approximations of α^(φ)\widehat{\alpha}(\varphi). Because it approaches α^(φ)\widehat{\alpha}(\varphi) from “above”, if it is taking too much time, a safe answer can be returned at any stage. Moreover, the framework is “dual-use”: in addition to its applications in abstract interpretation, it provides a new way for an SMT (Satisfiability Modulo Theories) solver to perform unsatisfiability checking: given φ∈L\varphi\in\mathcal{L}, the condition α^(φ)=⊥\widehat{\alpha}(\varphi)=\bot implies that φ\varphi is unsatisfiable.
[Traonouez12]
A Parametric Counterexample Refinement Approach for Robust Timed Specifications(Article)
Authors:
L.-M. Traonouez
Date:
2012
Publication:
Electronic Proceedings in Theoretical Computer Science
Volume:
87
Pages:
17–33
Publisher:
Open Publishing Association
ISSN:
2075-2180
Abstract
Robustness analyzes the impact of small perturbations in the semantics of a model. This allows to model hardware imprecision and therefore it has been applied to determine implementability of timed automata. In a recent paper, we extend this problem to a specification theory for real-timed systems based on timed input/output automata, that are interpreted as two-player games. We propose a construction that allows to synthesize an implementation of a specification that is robust under a given timed perturbation, and we study the impact of these perturbations when composing different specifications.To complete this work we present a technique that evaluates the greatest admissible perturbation. It consists in an iterative process that extracts a spoiling strategy when a game is lost, and through a parametric analysis refines the admissible values for the perturbation. We demonstrate this approach with a prototype implementation.
[UpadrastaC12]
A Case for Strongly Polynomial Time Sub-Polyhedral Scheduling Using Two-Variable-per-Inequality Polyhedra(Conference paper)
Authors:
R. Upadrasta; A. Cohen
Date:
2012-01
Publication:
Proceedings of the 2nd International Workshop on Polyhedral Compilation Techniques (IMPACT 2012)
Location:
Paris, France
Abstract
We make a case for sub-polyhedral scheduling using (Unit-)Two-Variable-Per-Inequality or (U)TVPI Polyhedra. We empirically show that using general convex polyhedra leads to a scalability problem in a widely used polyhedral scheduler. We propose methods in which polyhedral schedulers can beat the scalability challenge by using sub-polyhedral under-aproximations of the polyhedra resulting from the application of the affine form of the Farkas lemma. We propose simple algorithms that under-approximate a general polyhedra into (U)TVPI polyhedra. These algorithms take worstcase polynomial time. We implement the above approximation algorithms in a modified PLuTo, and show that for a majority of the Polybench 2.0 kernels, the above under-approximation yield polyhedra that are non-empty. We also provide preliminary evidence that code generated by our sub-polyhedral parallelization prototype matches the performance of PLuTo-optimized code when the under-approximation preserves feasibility.
[VerdoolaegeG12]
Polyhedral Extraction Tool(Conference paper)
Authors:
S. Verdoolaege; T. Grosser
Date:
2012-01
Publication:
Proceedings of the 2nd International Workshop on Polyhedral Compilation Techniques (IMPACT 2012)
Location:
Paris, France
Abstract
We present a new library for extracting a polyhedral model from C source. The library is based on clang, the LLVM C frontend, and isl, a library for manipulating quasi-affine sets and relations. The use of clang for parsing the C code brings advanced diagnostics and full support for C99. The use of isl allows for an easy construction and a powerful and compact representation of the polyhedral model. Besides allowing arbitrary piecewise quasi-affine index expressions and conditions, the library also supports some data dependent constructs and has special treatment for unsigned integers. The library has been successfully used to obtain polyhedral models for use in an equivalence checker, a tool for constructing polyhedral process networks, a parallelizer targeting GPUs and an interactive polyhedral environment.
[Westen12th]
Simdization Transformation Strategies: Polyhedral Transformations and Cost Estimation(Master’s thesis)
Authors:
P. Westen
Date:
2012-09
Location:
Delft, The Netherlands
School:
Delft University of Technology
Computer Engineering Report CE-MS-2012-12
Abstract
The Single Instruction Multiple Data (SIMD) paradigm promises speedup at relatively low silicon area cost for software that exposes a large amount of loop level parallelism. Automatic simdization–the act of exploiting loop level parallelism by issueing SIMD instructions that operate on multiple data elements at once– remains a daunting task for compilers, especially because SIMD instructions impose restrictions on the organization of the data elements. The CoSy simdization flow is able to effectively transform and simdize a program such that parallelism that is directly exposed in the inner loop is exploited, but it may not be able to exploit parallelism that is exposed at higher levels of a loop. This thesis proposes a new pass in the simdization flow that exposes such parallelism in a form in which it can be exploited. To achieve such transformations and determine which transformation should be applied, the polyhedral approach has been used. A polyhedral representation of loop nests allows for precise dependence analysis and application of transformations. To find the best transformation, we have proposed a cost estimation model that estimates the simdizability and cost of a transformation based on the polyhedral representation of the original loop nest. A prototype of this pass has been implemented, and using a number of tests the new flow has been shown to allow simdization in the CoSy flow where previously no simdization could take place.
[Zanioli12th]
Information Flow Analysis by Abstract Interpretation(PhD thesis)
Authors:
M. Zanioli
Date:
2012-03
Location:
Venice, Italy
School:
Università Ca' Foscari di Venezia
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 goal of this thesis is to provide both theoretical and experimental results towards the design of an information flow analysis for the automatic verification of absence of sensitive information leakage. Our approach is based on Abstract Interpretation, a theory of sound approximation of program semantics. We track the dependencies among program's variables using propositional formulae, namely the Pos domain. We study the main ways to improve the accuracy (by combination of abstract domains) and the efficiency (by combination of widening and narrowing operators) of the analysis. The reduced product of the logical domain Pos and suitable numerical domains yields to an analysis strictly more accurate with respect to the ones already in the literature. The modular construction of our analysis allows to deal with the trade-off between efficiency and accuracy by tuning the granularity of the abstraction and the complexity of the abstract operators. Finally, we introduce Sails, a new information flow analysis tool for mainstream languages like Java, that does not require any manual annotation. Sails combines the information leakage analysis with different heap abstractions, inferring information leakage over programs dealing with complex data structures too. We applied Sails to the analysis of the SecuriBench-micro suite and the preliminary experimental results outline the effectiveness of our approach.
[ZanioliFC12]
SAILS: Static Analysis of Information Leakage with Sample(Conference paper)
Authors:
M. Zanioli; P. Ferrara; A. Cortesi
Editors:
C.-C. Hung; J. Hong
Date:
2012
Publication:
Proceedings of the 27th Annual ACM Symposium on Applied Computing
Pages:
1308–1313
Publisher:
ACM New York, USA
Location:
Trento, Italy
ISBN:
978-1-4503-0857-1
Abstract
In this paper, we introduce Sails, a new tool that combines Sample, a generic static analyzer, and a sophisticated domain for leakage analysis. This tool does not require to modify the original language, since it works with mainstream languages like Java, and it does not require any manual annotation. Sails can combine the information leakage analysis with different heap abstractions, inferring information leakage over programs dealing with complex data structures. We applied Sails to the analysis of the SecuriBench-micro suite. The experimental results show the effectiveness of our approach.
[ZuffereyWH12]
Ideal Abstractions for Well-Structured Transition Systems(Book chapter)
Authors:
D. Zufferey; T. Wies; T. A. Henzinger
Editors:
V. Kuncak; A. Rybalchenko
Date:
2012
Publication:
Verification, Model Checking, and Abstract Interpretation: Proceedings of 13th International Conference (VMCAI 2012)
Series:
Lecture Notes in Computer Science
Volume:
7148
Pages:
445–460
Publisher:
Springer-Verlag, Berlin
Location:
Philadelphia, PA, USA
ISBN:
978-3-642-27939-3 (Print) 978-3-642-27940-9 (Online)
Abstract
Many infinite state systems can be seen as well-structured transition systems (WSTS), i.e., systems equipped with a well-quasi-ordering on states that is also a simulation relation. WSTS are an attractive target for formal analysis because there exist generic algorithms that decide interesting verification problems for this class. Among the most popular algorithms are acceleration-based forward analyses for computing the covering set. Termination of these algorithms can only be guaranteed for flattable WSTS. Yet, many WSTS of practical interest are not flattable and the question whether any given WSTS is flattable is itself undecidable. We therefore propose an analysis that computes the covering set and captures the essence of acceleration-based algorithms, but sacrifices precision for guaranteed termination. Our analysis is an abstract interpretation whose abstract domain builds on the ideal completion of the well-quasi-ordered state space, and a widening operator that mimics acceleration and controls the loss of precision of the analysis. We present instances of our framework for various classes of WSTS. Our experience with a prototype implementation indicates that, despite the inherent precision loss, our analysis often computes the precise covering set of the analyzed system.