Skip to Content

PPL citations from 2013

All citation years and BibTeX download

[AlbertAACFGGMPRRZ13]
Automatic Inference of Bounds on Resource Consumption(Conference paper)
Authors:
E. Albert; D. E. Alonso-Blas; P. Arenas; J. Correas; A. Flores-Montoya; S. Genaim; M. Gómez-Zamalloa; A. N. Masud; G. Puebla; J. M. Rojas; G. Román-Díez; D. Zanardini
Editors:
E. Giachino; R. Hähnle; F. S. de Boer; M. M. Bonsangue
Date:
2013
Publication:
Formal Methods for Components and Objects: Proceedings of the 11th International Symposium (FMCO 2012)
Series:
Lecture Notes in Computer Science
Volume:
7866
Pages:
119–144
Publisher:
Springer-Verlag, Berlin
Location:
Bertinoro, Italy
ISBN:
978-3-642-40614-0 (Print) 978-3-642-40615-7 (Online)
Abstract
In this tutorial paper, we overview the techniques that underlie the automatic inference of resource consumption bounds. We first explain the basic techniques on a Java-like sequential language. Then, we describe the extensions that are required to apply our method on concurrent ABS programs. Finally, we discuss some advanced issues in resource analysis, including the inference of non-cumulative resources and the treatment of shared mutable data.
[AlbertGM13]
On the Inference of Resource Usage Upper and Lower Bounds(Article)
Authors:
E. Albert; S. Genaim; A. N. Masud
Date:
2013
Publication:
ACM Transactions on Computational Logic
Volume:
14
Issue:
3
Pages:
1–35
Publisher:
ACM Press, New York, USA
ISSN:
1529-3785
Abstract
Cost analysis aims at determining the amount of resources required to run a program in terms of its input data sizes. The most challenging step is to infer the cost of executing the loops in the program. This requires bounding the number of iterations of each loop and findig tight bounds for the cost of each of its iterations. This article presents a novel approach to infer upper and lower bounds from cost relations. These relations are an extended form of standard recurrence equations that can be nondeterministic, contain inexact size constraints and have multiple arguments that increase and/or decrease. We propose novel techniques to automatically transform cost relations into worst-case and best-case deterministic one-argument recurrence relations. The solution of each recursive relation provides a precise upper-bound and lower-bound for executing a corresponding loop in the program. Importantly, since the approach is developed at the level of the cost equations, our techniques are programming language independent.
[Alonso-BlasAG13]
Precise Cost Analysis via Local Reasoning(Conference paper)
Authors:
D. E. Alonso-Blas; P. Arenas; S. Genaim
Editors:
D. Van Hung; M. Ogawa
Date:
2013
Publication:
Automated Technology for Verification and Analysis: Proceedings of the 11th International Symposium (ATVA 2013)
Series:
Lecture Notes in Computer Science
Volume:
8172
Pages:
319–333
Publisher:
Springer, Cham
Location:
Hanoi, Vietnam
ISBN:
978-3-319-02443-1 (Print) 978-3-319-02444-8 (Online)
Abstract
The classical approach to static cost analysis is based on first transforming a given program into a set of cost relations, and then solving them into closed-form upper-bounds. The quality of the upper-bounds and the scalability of such cost analysis highly depend on the precision and efficiency of the solving phase. Several techniques for solving cost relations exist, some are efficient but not precise enough, and some are very precise but do not scale to large cost relations. In this paper we explore the gap between these techniques, seeking for ones that are both precise and efficient. In particular, we propose a novel technique that first splits the cost relation into several atomic ones, and then uses precise local reasoning for some and less precise but efficient reasoning for others. For the precise local reasoning, we propose several methods that define the cost as a solution of a universally quantified formula. Preliminary experiments demonstrate the effectiveness of our approach.
[AmatoDNDMS13]
Numerical Static Analysis with Soot(Conference paper)
Authors:
G. Amato; S. Di Nardo Di Maio; F. Scozzari
Editors:
P. Lam; E. Sherman
Date:
2013
Publication:
Proceedings of the 2nd ACM SIGPLAN International Workshop on State of the Art in Java Program Analysis
Pages:
25–30
Publisher:
ACM Press, New York, USA
Location:
Seattle Washington
ISBN:
978-1-4503-2201-0
Abstract
Numerical static analysis computes an approximation of all the possible values that a numeric variable may assume, in any execution of the program. Many numerical static analyses have been proposed exploiting the theory of abstract interpretation, which is a general framework for designing provably correct program analysis. The two main problems in analyzing numerical properties are: choosing the right level of abstraction (the abstract domain) and developing an efficient iteration strategy which computes the analysis result guaranteeing termination and soundness. In this paper, we report on our prototype implementation of a Java bytecode static analyzer for numerical properties. It has been developed exploiting Soot bytecode abstractions, existing libraries for numerical abstract domains, and the iteration strategies commonly used in the abstract interpretation community. We show pros and cons of using Soot, and discuss the main differences between our analyzer and the Soot static analysis framework.
[AmatoS13]
Localizing Widening and Narrowing(Conference paper)
Authors:
G. Amato; F. Scozzari
Editors:
F. Logozzo; M. Fähndrich
Date:
2013
Publication:
Static Analysis: Proceedings of the 20th International Symposium (SAS 2013)
Series:
Lecture Notes in Computer Science
Volume:
7935
Pages:
25–42
Publisher:
Springer-Verlag, Berlin
Location:
Seattle, USA
ISBN:
978-3-642-38855-2 (Print) 978-3-642-38856-9 (Online)
Abstract
We show two strategies which may be easily applied to standard abstract interpretation-based static analyzers. They consist in 1) restricting the scope of widening, and 2) intertwining the computation of ascending and descending chains. Using these optimizations it is possible to improve the precision of the analysis, without any change to the abstract domains.
[Andre13]
Dynamic Clock Elimination in Parametric Timed Automata(Conference paper)
Authors:
É. André
Editors:
C. Choppy; J. Sun
Date:
2013
Publication:
Proceedings of the 1st French Singaporean Workshop on Formal Methods and Applications (FSFMA 2013)
Series:
Open Access Series in Informatics (OASIcs)
Volume:
31
Pages:
18–31
Publisher:
Schloss Dagstuhl – Leibniz-Zentrum für Informatik
Location:
Singapore
ISBN:
978-3-939897-56-9
Abstract
The formalism of parametric timed automata provides designers with a formal way to specify and verify real-time concurrent systems where iming requirements are unknown (or parameters). Such models are usually subject to the state space explosion. A popular way to partially reduce the size of the state space is to reduce the number of clock variables. In this work, we present a technique for dynamically eliminating clocks. Experiments using IMITATOR show a diminution of the number of states and of the computation time, and in some cases allow termination of the analysis of models that could not terminate otherwise. More surprisingly, even when the number of clocks remains constant, there is little noticeable overhead in applying the proposed clock elimination.
[AndreFS13]
Merge and Conquer: State Merging in Parametric Timed Automata(Conference paper)
Authors:
É. André; L. Fribourg; R. Soulat
Editors:
D. Van Hung; M. Ogawa
Date:
2013
Publication:
Automated Technology for Verification and Analysis: Proceedings of the 11th International Symposium (ATVA 2013)
Series:
Lecture Notes in Computer Science
Volume:
8172
Pages:
381–396
Publisher:
Springer-Verlag, Berlin
Location:
Hanoi, Vietnam
ISBN:
978-3-319-02443-1 (Print) 978-3-319-02444-8 (Online)
Abstract
Parameter synthesis for real-time systems aims at synthesizing dense sets of valuations for the timing requirements, guaranteeing a good behavior. A popular formalism for modeling parameterized real-time systems is parametric timed automata (PTAs). Compacting the state space of PTAs as much as possible is fundamental. We present here a state merging reduction based on convex union, that reduces the state space, but yields an over-approximation of the executable paths. However, we show that it preserves the sets of reachable locations and executable actions. We also show that our merging technique associated with the inverse method, an algorithm for parameter synthesis, preserves locations as well, and outputs larger sets of parameter valuations.
[AndreLSDL13]
PSyHCoS: Parameter Synthesis for Hierarchical Concurrent Real-Time Systems(Conference paper)
Authors:
E. André; Y. Liu; J. Sun; J. S. Dong; S.-W. Lin
Editors:
N. Sharygina; H. Veith
Date:
2013
Publication:
Computer Aided Verification: Proceedings of the 25th International Conference (CAV 2013)
Series:
Lecture Notes in Computer Science
Volume:
8044
Pages:
984–989
Publisher:
Springer-Verlag, Berlin
Location:
Saint Petersburg, Russia
ISBN:
978-3-642-39798-1
Abstract
Real-time systems are often hard to control, due to their complicated structures, quantitative time factors and even unknown delays. We present here PSyHCoS, a tool for analyzing parametric real-time systems specified using the hierarchical modeling language PSTCSP. PSyHCoS supports several algorithms for parameter synthesis and model checking, as well as state space reduction techniques. Its architecture favors reusability in terms of syntax, semantics, and algorithms. It comes with a friendly user interface that can be used to edit, simulate and verify PSTCSP models. Experiments show its efficiency and applicability.
[AndreS13]
The Inverse Method: Parametric Verification of Real-time Embedded Systems(Book)
Authors:
É. André; R. Soulat
Date:
2013
Series:
FOCUS Series
Pages:
1–150
Publisher:
John Wiley and Sons.
ISBN:
9781118569405
Abstract
This book introduces state-of-the-art verification techniques for real-time embedded systems, based on the inverse method for parametric timed automata. It reviews popular formalisms for the specification and verification of timed concurrent systems and, in particular, timed automata as well as several extensions such as timed automata equipped with stopwatches, linear hybrid automata and affine hybrid automata. The inverse method is introduced, and its benefits for guaranteeing robustness in real-time systems are shown. Then, it is shown how an iteration of the inverse method can solve the good parameters problem for parametric timed automata by computing a behavioral cartography of the system. Different extensions are proposed particularly for hybrid systems and applications to scheduling problems using timed automata with stopwatches. Various examples, both from the literature and industry, illustrate the techniques throughout the book. Various parametric verifications are performed, in particular of abstractions of a memory circuit sold by the chipset manufacturer ST-Microelectronics, as well as of the prospective flight control system of the next generation of spacecraft designed by ASTRIUM Space Transportation.
[BagnaraM13]
Eventual Linear Ranking Functions(Conference paper)
Authors:
R. Bagnara; F. Mesnard
Editors:
R. Peña; T. Schrijvers
Date:
2013
Publication:
Proceedings of the 15th Symposium on Principles and Practice of Declarative Programming
Pages:
229–238
Publisher:
ACM Press, New York, USA
Location:
Madrid Spain
ISBN:
978-1-4503-2154-9
Abstract
Program termination is a hot research topic in program analysis. The last few years have witnessed the development of termination analyzers for programming languages such as C and Java with remarkable precision and performance. These systems are largely based on techniques and tools coming from the field of declarative constraint programming. In this paper, we first recall an algorithm based on Farkas' Lemma for discovering linear ranking functions proving termination of a certain class of loops. Then we propose an extension of this method for showing the existence of eventual linear ranking functions, i.e., linear functions that become ranking functions after a finite unrolling of the loop. We show correctness and completeness of this algorithm.
[Batt13th]
Design, Optimization and Control in Systems and Synthetic Biology(PhD thesis)
Authors:
G. Batt
Date:
2013-03
Location:
Paris, France
School:
Université Paris Diderot
Publication type:
Habilitation à diriger des recherches
Abstract
How good is our understanding of the way cells treat information and make decisions? To what extend our current understanding enables us to reprogram and control the way cells behave? In this manuscript I describe several approaches developed for the computational analysis of the dynamics of biological networks. In particular I present work done on (i) the analysis of large gene networks with partial information on parameter values, (ii) the use of specification languages to express observations or desired properties in an abstract manner and efficiently search for parameters satisfying these properties, and (iii) recent efforts to use models to drive gene expression in real-time at the cellular level.
[Ben-Amram13]
Ranking Functions for Linear-Constraint Loops(Conference paper)
Authors:
A. M. Ben-Amram
Editors:
A. Lisitsa; A. Nemytykh
Date:
2013
Publication:
Proceedings of the 1st International Workshop on Verification and Program Transformation (VPT 2013)
Series:
EPiC Series in Computing
Volume:
16
Pages:
1–8
Publisher:
EasyChair
Abstract
Ranking functions are a tool successfully used in termination analysis, complexity analysis, and program parallelization.Among the different types of ranking functions and approaches to finding them, this talk will concentrate onfunctions that are found by linear programming techniques. The setting is that ofa loop that has been pre-abstracted so thatit is described by linear constraints over a finite set of numeric variables.I will review results (more or less recent) regarding the search for ranking functions which are either linear or lexicographic-linear.
[Ben-AmramG13]
On the Linear Ranking Problem for Integer Linear-Constraint Loops(Conference paper)
Authors:
A. M. Ben-Amram; S. Genaim
Editors:
R. Giacobazzi; R. Cousot
Date:
2013
Publication:
Proceedings of the 40th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 2013)
Pages:
51–62
Publisher:
ACM Press
Location:
Rome, Italy
ISBN:
978-1-4503-1832-7
Also published in ACM SIGPLAN Notices, POPL '13, Volume 48, Issue 1
Abstract
In this paper we study the complexity of the Linear Ranking problem: given a loop, described by linear constraints over a finite set of integer variables, is there a linear ranking function for this loop? While existence of such a function implies termination, this problem is not equivalent to termination. When the variables range over the rationals or reals, the Linear Ranking problem is known to be PTIME decidable. However, when they range over the integers, whether for single-path or multipath loops, the complexity of the Linear Ranking problem has not yet been determined. We show that it is coNP-complete. However, we point out some special cases of importance of PTIME complexity. We also present complete algorithms for synthesizing linear ranking functions, both for the general case and the special PTIME cases.
[BenerecettiF13]
Tracking Differentiable Trajectories Across Polyhedra Boundaries(Conference paper)
Authors:
M. Benerecetti; M. Faella
Editors:
C. Belta; F. Ivančić
Date:
2013
Publication:
Proceedings of the 16th International Conference on Hybrid Systems: Computation and Control (HSCC 2013)
Pages:
193–202
Publisher:
ACM Press
Location:
Philadelphia, Pennsylvania, USA
ISBN:
978-1-4503-1567-8
Abstract
We analyze the properties of differentiable trajectories subject to a constant differential inclusion which constrains the first derivative to belong to a given convex polyhedron. We present the first exact algorithm that computes the set of points from which there is a trajectory that reaches a given polyhedron while avoiding another (possibly non-convex) polyhedron. We discuss the connection with (Linear) Hybrid Automata and in particular the relationship with the classical algorithm for reachability analysis for Linear Hybrid Automata.
[BonomoOSS13]
Minimum Clique Cover in Claw-Free Perfect Graphs and the Weak Edmonds-Johnson Property(Conference paper)
Authors:
F. Bonomo; G. Oriolo; C. Snels; G. Stauffer
Editors:
M. Goemans; J. Correa
Date:
2013
Publication:
Integer Programming and Combinatorial Optimization: Proceedings of the 16th International Conference (IPCO 2013)
Series:
Lecture Notes in Computer Science
Volume:
7801
Pages:
86–97
Publisher:
Springer-Verlag, Berlin
Location:
Valparaíso, Chile
ISBN:
978-3-642-36693-2 (Print) 978-3-642-36694-9 (Online)
Abstract
We give new algorithms for the minimum (weighted) clique cover in a claw-free perfect graph G, improving the complexity from O(∣V(G)∣5)O(|V(G)|^5) to O(∣V(G)∣3)O(|V(G)|^3). The new algorithms build upon neat reformulations of the problem: it basically reduces either to solving a 2-SAT instance (in the unweighted case) or to testing if a polyhedra associated with the edge-vertex incidence matrix of a bidirected graph has an integer solution (in the weighted case). The latter question was elegantly answered using neat polyhedral arguments by Schrijver in 1994. We give an alternative approach to this question combining pure combinatorial arguments (using techniques from 2-SAT and shortest paths) with polyhedral ones. Our approach is inspired by an algorithm from the Constraint Logic Programming community and we give as a side benefit a formal proof that the corresponding algorithm is correct (apparently answering an open question in this community). Interestingly, the systems we study have properties closely connected with the so-called Edmonds-Johnson property and we study some interesting related questions.
[Brauer13th]
Automatic Abstraction for Bit-Vectors Using Decision Procedures(PhD thesis)
Authors:
J. Brauer
Date:
2013-09
Location:
Aachen, Germany
School:
RWTH Aachen University
Also published as Aachener Informatik-Bericht AIB-2013-14, November 2013.
Abstract
This dissertation is concerned with abstract interpretation of programs whose semantics is defined over finite machine words. Most notably, the considered class of programs contains executable binary code, the analysis of which turns out demanding due to the complexity and the sheer number of involved operations. Challenging for correct yet precise abstract interpretation of binary code are transfer functions, which simulate the execution of any concrete operation in a program in an abstract domain. Crucially for correctness, over- and underflows need to be supported faithfully. This dissertation argues that transfer functions and abstractions for sequences of operations over finite machine words can precisely and efficiently be generated, which contrasts with classical methods that depend on handcrafted transfer functions. To support this statement, we present an approach that eliminates the time-consuming process of manually deriving transfer functions altogether. The core of our methods are specifications of the concrete semantics of sequences of operations, which are given in propositional Boolean logic. By utilizing SAT and SMT solvers, which can determine satisfiability of Boolean formulae, we show how to automatically synthesize optimal abstractions from such semantic specifications. The practicality of our method is highlighted using abstractions generated for a variety of numerical domains that are frequently used in abstract interpretation. The abstract domains considered in this dissertation are, most notably, intervals, value sets, octagons, convex polyhedra, arithmetical congruences, affine equalities, and polynomials of bounded degree. Importantly, all presented techniques automatically handle finiteness of machine words, which manifests itself in over- and underflows. Once the analysis of a program has terminated, an abstract interpreter often emits a warning that highlights a potential error in the analyzed program. Since abstract interpretation computes an over-approximation of the states reachable in a concrete execution, such a warning may be spurious. For this setting, we present variations of our methods, which compute complete abstractions. Then, it is possible to provide guarantees about actually reachable states, which allows us to do both, identify a warning as spurious or generate a legitimate counterexample trace.
[BrauerKK13]
Abstract Interpretation of Microcontroller Code: Intervals Meet Congruences(Article)
Authors:
J. Brauer; A. King; S. Kowalewski
Date:
2013
Publication:
Science of Computer Programming
Volume:
78
Issue:
7
Pages:
862–883
Publisher:
Elsevier North-Holland, Inc.
Location:
Amsterdam, The Netherlands
ISSN:
0167-6423
Abstract
Bitwise instructions, loops and indirect data access present challenges to the verification of microcontroller programs. In particular, since registers are often memory mapped, it is necessary to show that an indirect store operation does not accidentally mutate a register. To prove this and related properties, this article advocates using the domain of bitwise linear congruences in conjunction with intervals to derive accurate range information. The paper argues that these two domains complement one another when reasoning about microcontroller code. The paper also explains how SAT solving, which applied with dichotomic search, can be used to recover branching conditions from binary code which, in turn, further improves interval analysis.
[Braun13]
Counting Points and Hilbert Series in String Theory(Book chapter)
Authors:
V. Braun
Editors:
A. Rebhan; L. Katzarkov; J. Knapp; R. Rashkov; E. Scheidegger
Date:
2013
Publication:
Strings, Gauge Fields, and the Geometry Behind: The Legacy of Maximilian Kreuzer
Pages:
225–235
Publisher:
World Scientific
ISBN:
978-981-4412-54-4 978-981-4412-55-1
An earlier version appeared as arXiv:1206.2236
Abstract
The problem of counting points is revisited from the perspective of reflexive 4-dimensional polytopes. As an application, the Hilbert series of the 473,800,776 reflexive polytopes (equivalently, their Calabi-Yau hypersurfaces) are computed.
[BrihayeDGORW13]
Time-Bounded Reachability for Monotonic Hybrid Automata: Complexity and Fixed Points(Conference paper)
Authors:
T. Brihaye; L. Doyen; G. Geeraerts; J. Ouaknine; J.-F. Raskin; J. Worrell
Editors:
D. Van Hung; M. Ogawa
Date:
2013
Publication:
Automated Technology for Verification and Analysis: Proceedings of the 11th International Symposium (ATVA 2013)
Series:
Lecture Notes in Computer Science
Volume:
8172
Pages:
55–70
Publisher:
Springer-Verlag, Berlin
Location:
Hanoi, Vietnam
ISBN:
978-3-319-02443-1
Abstract
We study the time-bounded reachability problem for monotonic hybrid automata (MHA), i.e., rectangular hybrid automata for which the rate of each variable is either always non-negative or always non-positive. In this paper, we revisit the decidability results presented in [T. Brihaye and L. Doyen and G. Geeraerts and J. Ouaknine. and J.-F. Raskin and J. Worrell: On reachability for hybrid automata over bounded time. In: ICALP 2011, Part II. LNCS, vol. 6756, pp. 416-427. Springer, Heidelberg (2011)] and show that the problem is NExpTime-complete. We also show that we can effectively compute fixed points that characterise the sets of states that are reachable (resp. co-reachable) within T time units from a given state.
[CarnevaliPSV13]
Non-Markovian Analysis for Model Driven Engineering of Real-time Software(Conference paper)
Authors:
L. Carnevali; M. Paolieri; A. Santoni; E. Vicario
Editors:
S. Seelam; P. Tuma; G. Casale; T. Field; J. N. Amaral
Date:
2013
Publication:
Proceedings of the 4th ACM/SPEC International Conference on Performance Engineering (ICPE '13)
Pages:
113–124
Publisher:
ACM, New York, USA
Location:
Prague, Czech Republic
ISBN:
978-1-4503-1636-1
Abstract
Quantitative evaluation of models with stochastic timings can decisively support schedulability analysis and performance engineering of real-time concurrent systems. These tasks require modeling formalisms and solution techniques that can encompass stochastic temporal parameters firmly constrained within a bounded support, thus breaking the limits of Markovian approaches. The problem is further exacerbated by the need to represent suspension of timers, which results from common patterns of real-time programming. This poses relevant challenges both in the theoretical development of non-Markovian solution techniques and in their practical integration within a viable tailoring of industrial processes. We address both issues by extending a method for transient analysis of non-Markovian models to encompass suspension of timers. The solution technique addresses models that include timers with bounded and deterministic support, which are essential to represent synchronous task releases, timeouts, offsets, jitters, and computations constrained by a Best Case Execution Time (BCET) and a Worst Case Execution Time (WCET). As a notable trait, the theory of analysis is amenable to the integration within a Model Driven Development (MDD) approach, providing specific evaluation capabilities in support of performance engineering without disrupting the flow of design and documentation of the consolidated practice.
[ChakarovS13]
Probabilistic Program Analysis with Martingales(Conference paper)
Authors:
A. Chakarov; S. Sankaranarayanan
Editors:
N. Sharygina; H. Veith
Date:
2013
Publication:
Computer Aided Verification: Proceedings of the 25th International Conference (CAV 2013)
Series:
Lecture Notes in Computer Science
Volume:
8044
Pages:
511–526
Publisher:
Springer-Verlag, Berlin
Location:
Saint Petersburg, Russia
ISBN:
978-3-642-39798-1
Abstract
We present techniques for the analysis of infinite state probabilistic programs to synthesize probabilistic invariants and prove almost-sure termination. Our analysis is based on the notion of (super) martingales from probability theory. First, we define the concept of (super) martingales for loops in probabilistic programs. Next, we present the use of concentration of measure inequalities to bound the values of martingales with high probability. This directly allows us to infer probabilistic bounds on assertions involving the program variables. Next, we present the notion of a super martingale ranking function (SMRF) to prove almost sure termination of probabilistic programs. Finally, we extend constraint-based techniques to synthesize martingales and super-martingale ranking functions for probabilistic programs. We present some applications of our approach to reason about invariance and termination of small but complex probabilistic programs.
[ChenKSW13]
Synthesis for Multi-Objective Stochastic Games: An Application to Autonomous Urban Driving(Conference paper)
Authors:
T. Chen; M. Kwiatkowska; A. Simaitis; C. Wiltsche
Editors:
K. Joshi; M. Siegle; M. Stoelinga; P. R. D'Argenio
Date:
2013
Publication:
Quantitative Evaluation of Systems: Proceedings of the 10th International Conference (QEST 2013)
Series:
Lecture Notes in Computer Science
Volume:
8054
Pages:
322–337
Publisher:
Springer-Verlag, Berlin
Location:
Buenos Aires, Argentina
ISBN:
978-3-642-40195-4 (Print) 978-3-642-40196-1 (Online)
Abstract
We study strategy synthesis for stochastic two-player games with multiple objectives expressed as a conjunction of LTL and expected total reward goals. For stopping games, the strategies are constructed from the Pareto frontiers that we compute via value iteration. Since, in general, infinite memory is required for deterministic winning strategies in such games, our construction takes advantage of randomised memory updates in order to provide compact strategies. We implement our methods in PRISM-games, a model checker for stochastic multi-player games, and present a case study motivated by the DARPA Urban Challenge, illustrating how our methods can be used to synthesise strategies for high-level control of autonomous vehicles.
[CostantiniFM13]
The Domain of Parametric Hypercubes for Static Analysis of Computer Games Software(Conference paper)
Authors:
G. Costantini; P. Ferrara; G. Maggiore
Editors:
L. Groves; J. Sun
Date:
2013
Publication:
Formal Methods and Software Engineering: Proceedings of 15th International Conference (ICFEM 2013)
Series:
Lecture Notes in Computer Science
Volume:
8144
Pages:
447–463
Publisher:
Springer-Verlag, Berlin
Location:
Queenstown, New Zealand
ISBN:
978-3-642-41201-1 (Print) 978-3-642-41202-8 (Online)
Abstract
Computer Games Software deeply relies on physics simulations, which are particularly demanding to analyze because they manipulate a large amount of interleaving floating point variables. Therefore, this application domain is an interesting workbench to stress the trade-off between accuracy and efficiency of abstract domains for static analysis. In this paper, we introduce Parametric Hypercubes, a novel disjunctive non-relational abstract domain. Its main features are: (i) it combines the low computational cost of operations on (selected) multidimensional intervals with the accuracy provided by lifting to a power-set disjunctive domain, (ii) the compact representation of its elements allows to limit the space complexity of the analysis, and (iii) the parametric nature of the domain provides a way to tune the accuracy/efficiency of the analysis by just setting the widths of the hypercubes sides. The first experimental results on a representative Computer Games case study outline both the efficiency and the precision of the proposal.
[Degbomont13th]
Implicit Real Vector Automata(PhD thesis)
Authors:
J.-F. Degbomont
Date:
2013-09
Location:
Liège, Belgium
School:
Université de Liège
Abstract
This thesis introduces a new data structure, the Implicit Real Vector Automaton (IRVA), suited for representing symbolically polyhedra, i.e., regions of n-dimensional space defined by finite Boolean combinations of linear inequalities. IRVA can represent exactly arbitrary convex and non-convex polyhedra, including features such as open and closed boundaries, unconnected parts, and non-manifold components. In addition, they provide efficient procedures for deciding whether a point belongs to a given polyhedron, and determining the polyhedron component (vertex, edge, facet, . . . ) that contains a point. An advantage of IRVA is that they can easily be minimized into a canonical form, which leads to a simple and efficient test for equality between represented polyhedra. Elementary IRVA representing primitive polyhedra, such as linear (in)equations and vector spaces are easily constructed and algorithms have been developed for computing Boolean combinations as well as projections of polyhedra represented by IRVA. These algorithms are illustrated by complete examples of executions as a support for the comprehension of their mechanisms. Another contribution is a first prototype implementation of an IRVA library, containing functions for building and manipulating arbitrary n-dimensional polyhedra. We reinforce the presentation of the implementation by discussing some design choices. Such choices include the use of exact arithmetic. Finally, experimental results are presented and discussed. These experiments pave the way to future adaptations and improvements.
[EzermanJLP13]
CSS-Like Constructions of Asymmetric Quantum Codes(Article)
Authors:
M. F. Ezerman; S. Jitman; S. Ling; D. V. Pasechnik
Date:
2013
Publication:
IEEE Transactions on Information Theory
Volume:
59
Issue:
10
Pages:
6732–6754
Publisher:
IEEE Press
ISSN:
0018-9448
Abstract
Asymmetric quantum error-correcting codes (AQCs) may offer some advantage over their symmetric counterparts by providing better error-correction for the more frequent error types. The well-known CSS construction of qq-ary AQCs is extended by removing the Fq\mathbb{F}_{q}-linearity requirement as well as the limitation on the type of inner product used. The proposed constructions are called CSS-like constructions and utilize pairs of nested subfield linear codes under one of the Euclidean, trace Euclidean, Hermitian, and trace Hermitian inner products. After establishing some theoretical foundations, best-performing CSS-like AQCs are constructed. Combining some constructions of nested pairs of classical codes and linear programming, many optimal and good pure qq-ary CSS-like codes for q∈{2,3,4,5,7,8,9}q \in \{2,3,4,5,7,8,9\} up to reasonable lengths are found. In many instances, removing the Fq\mathbb{F}_{q}-linearity and using alternative inner products give us pure AQCs with improved parameters than relying solely on the standard CSS construction.
[FouilheMP13]
Efficient Generation of Correctness Certificates for the Abstract Domain of Polyhedra(Conference paper)
Authors:
A. Fouilhé; D. Monniaux; M. Périn
Editors:
F. Logozzo; M. Fähndrich
Date:
2013
Publication:
Static Analysis: Proceedings of the 20th International Symposium (SAS 2013)
Series:
Lecture Notes in Computer Science
Volume:
7935
Pages:
345–365
Publisher:
Springer-Verlag, Berlin
Location:
Seattle, USA
ISBN:
978-3-642-38855-2 (Print) 978-3-642-38856-9 (Online)
Abstract
Polyhedra form an established abstract domain for inferring runtime properties of programs using abstract interpretation. Computations on them need to be certified for the whole static analysis results to be trusted. In this work, we look at how far we can get down the road of a posteriori verification to lower the overhead of certification of the abstract domain of polyhedra. We demonstrate methods for making the cost of inclusion certificate generation negligible. From a performance point of view, our single-representation, constraints-based implementation compares with state-of-the-art implementations.
[FracaH13]
Complexity Analysis of Continuous Petri Nets(Conference paper)
Authors:
E. Fraca; S. Haddad
Editors:
J.-M. Colom; J. Desel
Date:
2013
Publication:
Application and Theory of Petri Nets and Concurrency
Series:
Lecture Notes in Computer Science
Volume:
7927
Pages:
170–189
Publisher:
Springer-Verlag, Berlin
Location:
Milan, Italy
ISBN:
978-3-642-38696-1 (Print) 978-3-642-38697-8 (Online)
Abstract
At the end of the eighties, continuous Petri nets were introduced for: (1) alleviating the combinatory explosion triggered by discrete Petri nets and, (2) modelling the behaviour of physical systems whose state is composed of continuous variables. Since then several works have established that the computational complexity of deciding some standard behavioural properties of Petri nets is reduced in this framework. Here we first establish the decidability of additional properties like boundedness and reachability set inclusion. We also design new decision procedures for the reachability and lim-reachability problems with a better computational complexity. Finally we provide lower bounds characterising the exact complexity class of the boundedness, the reachability, the deadlock freeness and the liveness problems.
[FribourgK13]
Parametric Verification and Test Coverage for Hybrid Automata Using the Inverse Method(Article)
Authors:
L. Fribourg; U. Kühne
Date:
2013
Publication:
International Journal of Foundations of Computer Science
Volume:
24
Issue:
2
Pages:
233–249
Publisher:
World Scientific publishing Co.
Location:
Singapore
ISSN:
0129-0541 (print) 1793-6373 (online)
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.
[Fu13th]
Static Analysis of Numerical Properties in the Presence of Pointers(PhD thesis)
Authors:
Z. Fu
Date:
2013-12
Location:
Rennes, France
School:
École doctorale MATISSE, Université de Rennes 1 sous le sceau de l'Université Européenne de Bretagne
Publication type:
Thèse pour le grade de “Docteur de l'Université de Rennes 1”
Abstract
The fast and furious pace of change in computing technology has become an article of faith for many. The reliability of computer-based systems crucially depends on the correctness of its computing. Can man, who created the computer, be capable of preventing machine-made misfortune? The theory of static analysis strives to achieve this ambition. The analysis of numerical properties of programs has been an essential research topic for static analysis. These kinds of properties are commonly modeled and handled by the concept of numerical abstract domains. Unfortunately, lifting these domains to heap-manipulating programs is not obvious. On the other hand, points-to analyses have been intensively studied to analyze pointer behaviors and some scale to very large programs but without inferring any numerical properties. We propose a framework based on the theory of abstract interpretation that is able to combine existing numerical domains and points-to analyses in a modular way. The static numerical analysis is prototyped using the SOOT framework for pointer analyses and the PPL library for numerical domains. The implementation is able to analyze large Java program within several minutes. The second part of this thesis consists of a theoretical study of the combination of the points-to analysis with another pointer analysis providing information called must-alias. Two pointer variables must alias at some program control point if they hold equal reference whenever the control point is reached. We have developed an algorithm of quadruple complexity that sharpens points-to analysis using must-alias information. The algorithm is proved correct following a semantics-based formalization and the concept of bisimulation borrowed from the game theory, model checking etc.
[GarocheKT13]
Incremental Invariant Generation Using Logic-Based Automatic Abstract Transformers(Conference paper)
Authors:
P.-L. Garoche; T. Kahsai; C. Tinelli
Editors:
G. Brat; N. Rungta; A. Venet
Date:
2013
Publication:
NASA Formal Methods: Proceedings of the 5th International Symposium (NFM 2013)
Series:
Lecture Notes in Computer Science
Volume:
7871
Pages:
139–154
Publisher:
Springer-Verlag, Berlin
Location:
Moffett Field, CA, USA
ISBN:
978-3-642-38087-7 978-3-642-38088-4
Abstract
Formal analysis tools for system models often require or benefit from the availability of auxiliary system invariants. Abstract interpretation is currently one of the best approaches for discovering useful invariants, in particular numerical ones. However, its application is limited by two orthogonal issues: (i) developing an abstract interpretation is often non-trivial; each transfer function of the system has to be represented at the abstract level, depending on the abstract domain used; (ii) with precise but costly abstract domains, the information computed by the abstract interpreter can be used only once a post fix point has been reached; this may take a long time for large systems or when widening is delayed to improve precision. We propose a new, completely automatic, method to build abstract interpreters which, in addition, can provide sound invariants of the system under analysis before reaching the end of the post fix point computation. In effect, such interpreters act as on-the-fly invariant generators and can be used by other tools such as logic-based model checkers. We present some experimental results that provide initial evidence of the practical usefulness of our method.
[GotliebDL13]
Constraint-Based Reachability(Article)
Authors:
A. Gotlieb; T. Denmat; N. Lazaar
Date:
2013
Publication:
Electronic Proceedings in Theoretical Computer Science
Volume:
107
Pages:
25–43
Publisher:
Open Publishing Association
Abstract
Iterative imperative programs can be considered as infinite-state systems computing over possibly unbounded domains. Studying reachability in these systems is challenging as it requires to deal with an infinite number of states with standard backward or forward exploration strategies. An approach that we call Constraint-based reachability, is proposed to address reachability problems by exploring program states using a constraint model of the whole program. The keypoint of the approach is to interpret imperative constructions such as conditionals, loops, array and memory manipulations with the fundamental notion of constraint over a computational domain. By combining constraint filtering and abstraction techniques, Constraint-based reachability is able to solve reachability problems which are usually outside the scope of backward or forward exploration strategies. This paper proposes an interpretation of classical filtering consistencies used in Constraint Programming as abstract domain computations, and shows how this approach can be used to produce a constraint solver that efficiently generates solutions for reachability problems that are unsolvable by other approaches.
[HeizmannHLP13]
Linear Ranking for Linear Lasso Programs(Conference paper)
Authors:
M. Heizmann; J. Hoenicke; J. Leike; A. Podelski
Editors:
D. Van Hung; M. Ogawa
Date:
2013
Publication:
Automated Technology for Verification and Analysis: Proceedings of the 11th International Symposium (ATVA 2013)
Series:
Lecture Notes in Computer Science
Volume:
8172
Pages:
365–380
Publisher:
Springer, Cham
Location:
Hanoi, Vietnam
ISBN:
978-3-319-02443-1 (Print) 978-3-319-02444-8 (Online)
Abstract
The general setting of this work is the constraint-based synthesis of termination arguments. We consider a restricted class of programs called lasso programs. The termination argument for a lasso program is a pair of a ranking function and an invariant. We present the—to the best of our knowledge—first method to synthesize termination arguments for lasso programs that uses linear arithmetic. We prove a completeness theorem. The completeness theorem establishes that, even though we use only linear (as opposed to non-linear) constraint solving, we are able to compute termination arguments in several interesting cases. The key to our method lies in a constraint transformation that replaces a disjunction by a sum.
[Huang13th]
On Simulation Based Verification of Nonlinear Nondeterministic Hybrid Systems(Master’s thesis)
Authors:
Z. Huang
Date:
2013-08
Location:
Urbana, IL, USA
School:
University of Illinois at Urbana-Champaign
Abstract
Automatic safety verification of hybrid systems typically involves computing precise reach sets of such systems. This computation limits scalability of verification as for many model classes it scales exponentially with the number of continuous variables. First we propose a simulation-based algorithm for computing the reach set of a class of deterministic hybrid system. The algorithm first constructs a cover of the initial set of the hybrid system. Then the reach set of executions from the same cover are overapproximated by simulation traces and tubes around them. Experiments are performed on several benchmark problems including navigation benchmarks, room heating benchmarks, non-linear satellite systems and engine hybrid control systems. The results suggest the algorithm may scale to larger systems. Finally, we present a reachability algorithm that computes precise reach set of dynamical systems A\mathcal{A} with non-linear differential inclusions. The algorithm constructs a sequence of shrink concretizations of A\mathcal{A}. Then the reach sets of the concretizations are used to construct an overapproximation of the reach set of A\mathcal{A}. Soundness and Completeness of both algorithms presented are formally proved.
[KapurZHZLN13]
Geometric Quantifier Elimination Heuristics for Automatically Generating Octagonal and Max-Plus Invariants(Book chapter)
Authors:
D. Kapur; Z. Zhang; M. Horbach; H. Zhao; Q. Lu; T. Nguyen
Editors:
M. P. Bonacina; M. E. Stickel
Date:
2013
Publication:
Automated Reasoning and Mathematics: Essays in Memory of William W. McCune
Series:
Lecture Notes in Computer Science
Volume:
7788
Pages:
189–228
Publisher:
Springer-Verlag, Berlin
ISBN:
978-3-642-36674-1 (Print) 978-3-642-36675-8 (Online)
Abstract
Geometric heuristics for the quantifier elimination approach presented by Kapur (2004) are investigated to automatically derive loop invariants expressing weakly relational numerical properties (such as l≤x≤hl \leq x \leq h or l≤±x±y≤h)l \leq \pm x \pm y \leq h) for imperative programs. Such properties have been successfully used to analyze commercial software consisting of hundreds of thousands of lines of code (using for example, the Astrée tool based on abstract interpretation framework proposed by Cousot and his group). The main attraction of the proposed approach is its much lower complexity in contrast to the abstract interpretation approach (O(n2)O(n^2) in contrast to O(n4)O(n^4), where nn is the number of variables) with the ability to still generate invariants of comparable strength. This approach has been generalized to consider disjunctive invariants of the similar form, expressed using maximum function (such as max⁡(x+a,y+b,z+c,d)≤max⁡(x+e,y+f,z+g,h)\max(x+a, y+b, z+c, d) \leq \max (x+e, y+f, z+g, h)), thus enabling automatic generation of a subclass of disjunctive invariants for imperative programs as well.
[KopfR13]
Automation of Quantitative Information-Flow Analysis(Conference paper)
Authors:
B. Köpf; A. Rybalchenko
Editors:
M. Bernardo; E. de Vink; A. Di Pierro; H. Wiklicky
Date:
2013
Publication:
Formal Methods for Dynamical Systems: 13th International School on Formal Methods for the Design of Computer, Communication, and Software Systems (SFM 2013)
Series:
Lecture Notes in Computer Science
Volume:
7938
Pages:
1–28
Publisher:
Springer-Verlag, Berlin
Location:
Bertinoro, Italy
ISBN:
978-3-642-38873-6
Abstract
Quantitative information-flow analysis (QIF) is an emerging technique for establishing information-theoretic confidentiality properties. Automation of QIF is an important step towards ensuring its practical applicability, since manual reasoning about program security has been shown to be a tedious and expensive task. In this chapter we describe a approximation and randomization techniques to bear on the challenge of sufficiently precise, yet efficient computation of quantitative information flow properties.
[Kormanyos13]
Real-Time C++: Efficient Object-Oriented and Template Microcontroller Programming(Book)
Authors:
C. Kormanyos
Date:
2013
Publisher:
Springer-Verlag, Berlin
ISBN:
978-3-642-34687-3 (Print) 978-3-642-34688-0 (Online)
Abstract
The C++ language has powerful object-oriented and template features that can improve software design and portability while simultaneously reducing code complexity and the risk of error. Furthermore, C++ compiles highly efficient native code. This unique and effective combination makes C++ well-suited for programming microcontroller systems that require compact size, high performance and safety-critical reliability. With this book, Chris Kormanyos delivers a highly practical guide to programming real-time embedded microcontroller systems in C++. It is divided into three parts plus several appendices. Part I provides a foundation for real-time C++ by covering language technologies, including object-oriented methods, template programming and optimization. Next, part II presents detailed descriptions of a variety of C++ components that are widely used in microcontroller programming. It details some of C++'s most powerful language elements, such as class types, templates and the STL, to develop components for microcontroller register access, low-level drivers, custom memory management, embedded containers, multitasking, etc. Finally, part III describes mathematical methods and generic utilities that can be employed to solve recurring problems in real-time C++. The appendices include a brief C++ language tutorial, information on the real-time C++ development environment and instructions for building GNU GCC cross-compilers and a microcontroller circuit. The most recent specification of C++11 in ISO/IEC 14882:2011 is used throughout the text. To facilitate portability, no libraries other than those specified in the language standard itself are used. Efficiency is always in focus and numerous examples are backed up with real-time performance measurements and size analyses that quantify the true costs of the code down to the very last byte and microsecond. The target audience of this book mainly consists of students and professionals interested in real-time C++. Readers should be familiar with C or another programming language and will benefit most if they have had some previous experience with microcontroller electronics and the performance and size issues prevalent in embedded systems programming.
[LegayT13]
PyEcdar: Towards Open Source Implementation for Timed Systems(Conference paper)
Authors:
A. Legay; L.-M. Traonouez
Editors:
D. Van Hung; M. Ogawa
Date:
2013
Publication:
Automated Technology for Verification and Analysis: Proceedings of the 11th International Symposium (ATVA 2013)
Series:
Lecture Notes in Computer Science
Volume:
8172
Pages:
460–463
Publisher:
Springer-Verlag, Berlin
Location:
Hanoi, Vietnam
ISBN:
978-3-319-02443-1 (Print) 978-3-319-02444-8 (Online)
Abstract
PyEcdar is an open source implementation for reasoning on timed systems. PyEcdar's main objective is not efficiency, but rather flexibility to test and implement new results on timed systems
[LimeMR13]
Shrinking of Time Petri Nets(Article)
Authors:
D. Lime; C. Martinez; O. H. Roux
Date:
2013
Publication:
Discrete Event Dynamic Systems
Volume:
23
Issue:
4
Pages:
419–438
Publisher:
Springer-Verlag, Berlin
ISSN:
0924-6703 (Print) 1573-7594 (Online)
Abstract
The problem of the synthesis of time bounds enforcing good properties for reactive systems has been much studied in the literature. These works mainly rely on dioid algebra theory and require important restrictions on the structure of the model (notably by restricting to timed event graphs). In this paper, we address the problems of existence and synthesis of shrinkings of the bounds of the time intervals of a time Petri net, such that a given property is verified. We show that this problem is decidable for CTL properties on bounded time Petri nets. We then propose a symbolic algorithm based on the state class graph for a fragment of CTL. If the desired property “include” k-boundedness, the proposed algorithm terminates even if the net is unbounded. A prototype has been implemented in our tool Romeo and the method is illustrated on a small case study from the literature.
[MardzielMHS13]
Dynamic Enforcement of Knowledge-based Security Policies using Probabilistic Abstract Interpretation(Article)
Authors:
P. Mardziel; S. Magill; M. Hicks; M. Srivatsa
Date:
2013
Publication:
Journal of Computer Security
Volume:
21
Issue:
4
Pages:
463–532
Publisher:
IOS Press
ISSN:
0926-227X (Print) 1875-8924 (Online)
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, which allows us to trade off precision and performance through the use of abstraction. We have developed an approach to augment standard abstract domains to include probabilities, and thus define distributions. We focus on developing probabilistic polyhedra in particular, to support numeric programs. While probabilistic abstract interpretation has been considered before, our domain is the first whose design supports sound conditioning, which is required to ensure that estimates of a querier's knowledge are accurate. Experiments with our implementation show that several useful queries can be handled efficiently, particularly compared to exact (i.e., sound) inference involving sampling. We also show that, for our benchmarks, restricting constraints to octagons or intervals, rather than full polyhedra, can dramatically improve performance while incurring little to no loss in precision.
[MihailaSS13]
Widening as Abstract Domain(Conference paper)
Authors:
B. Mihaila; A. Sepp; A. Simon
Editors:
G. Brat; N. Rungta; A. Venet
Date:
2013
Publication:
NASA Formal Methods: Proceedings of the 5th International Symposium (NFM 2013)
Series:
Lecture Notes in Computer Science
Volume:
7871
Pages:
170–184
Publisher:
Springer-Verlag, Berlin
Location:
Moffett Field, CA, USA
ISBN:
978-3-642-38087-7 978-3-642-38088-4
Abstract
Verification using static analysis often hinges on precise numeric invariants. Numeric domains of infinite height can infer these invariants, but require widening/narrowing which complicates the fixpoint computation and is often too imprecise. As a consequence, several strategies have been proposed to prevent a precision loss during widening or to narrow in a smarter way. Most of these strategies are difficult to retrofit into an existing analysis as they either require a pre-analysis, an on-the-fly modification of the CFG, or modifications to the fixpoint algorithm. We propose to encode widening and its various refinements from the literature as cofibered abstract domains that wrap standard numeric domains, thereby providing a modular way to add numeric analysis to any static analysis, that is, without modifying the fixpoint engine. Since these domains cannot make any assumptions about the structure of the program, our approach is suitable to the analysis of executables, where the (potentially irreducible) CFG is re-constructed on-the-fly. Moreover, our domain-based approach not only mirrors the precision of more intrusive approaches in the literature but also requires fewer iterations to find a fixpoint of loops than many heuristics that merely aim for precision.
[Mine13th]
Static Analysis by Abstract Interpretation of Concurrent Programs(PhD thesis)
Authors:
A. Miné
Date:
2013-05
Location:
Paris, France
School:
École normale supérieure
Publication type:
Habilitation à diriger des recherches
Abstract
This report presents the bulk of my research work from the completion of my PhD, in late 2004, until the present day. The overall aim of my research is the development of mathematically sound and practically efficient methods to check the correctness of computer software. Efficiency is achieved using approximations, while soundness is guaranteed by employing over-approximations of program behaviors. My research is grounded in the theory of abstract interpretation, a powerful mathematical framework facilitating the development, use, comparison, and composition of approximations in a sound way. I am mainly interested in developing new reusable abstraction components (so called abstract domains) that can be readily implemented, and in using them to develop static analyzers, which are computer programs able to check automatically the safety of software. While my early research was focused on inferring the values of variables in sequential programs, my current interest and latest results concern the analysis of concurrent programs, hence the title of this report. The first two chapters of this report constitute an introduction. The first chapter is an informal introduction to the problem at hand, existing solutions, their strengths and their shortcomings. The second chapter presents prior mathematical and formal tools on which our work is based, including some notions of abstract interpretation, a description of existing abstract domains and their application to the static analysis of sequential programs. It also recalls some results I obtained during my PhD and that will be useful in the rest of the report. The subsequent chapters describe the work I performed after completing my PhD. The third chapter is devoted to aspects of static analyzers that are specific to concurrent programs. This topic of personal research has led to the construction of a generic analysis method for concurrent programs, parametrized by the choice of abstract domains. The method is based on a notion of “interference” that abstracts thread interleavings in a sound way in order to achieve a thread-modular analysis. It is related to Jones' rely-guarantee proof method, and we make this connection formal in a first part. Then, we present an interference-based analysis in big-step form that is efficient and easy to implement. In a third part, we study the interaction of the analysis with weakly consistent memory models, found in modern processors and language specifications. The last part discusses how to adapt the analysis to exploit some properties of the scheduling (such as the use of real-time thread priorities and synchronization primitives). The fourth and fifth chapters are devoted to the design of abstract domains. Although some of them found their application in the analysis of concurrent programs, they are actually generic and could be exploited in any kind of static analysis, for concurrent or sequential programs. The fourth chapter concerns numeric domains to infer linear equality and inequality relations, developed in collaboration with Liqian Chen while he visited ENS during his PhD. The initial motivation was to revise the classic polyhedra domain using sound floating-point arithmetic to improve its efficiency, but it unexpectedly yielded the construction of new, more expressive domains based on interval affine relations, which we also present. The fifth chapter concerns the abstraction of realistic data-types as found in the C programming language, including machine integers, floating-point numbers, and structured blocks of memory (structs, unions, and arrays). We design abstractions that are aware of the low-level memory representation of data-types, to support the analysis of programs that rely on assumptions about this representation (such as “type punning” constructions in C). The need for such abstractions was motivated by the analysis, in the scope of the Astrée and AstréeA static analyzers, of industrial C programs, where such low-level constructions are widespread. The sixth chapter is devoted to the application of these methods to the design of static analyzer tools. It mainly reports on my experience with the Astrée analyzer, a team effort initiated during my PhD in 2001 that extended well beyond it and culminated in its industrialization in 2009. Much of my theoretical work could find some application in Astrée, as Astrée fuelled my research with not only practical problems to solve, but also concrete problems that could only be overcome by theoretical developments. This part also reports my own ongoing effort on AstréeA, an extension of Astrée that incorporates the interference abstraction presented above and aims at proving the absence of run-time error in concurrent embedded programs (while Astrée only considers synchronous programs). Additionally, this chapter presents the Apron abstract domain library, another, more academic, team effort, which aims at encouraging the research on numeric abstract domains. The report concludes with some perspectives for future researches.
[MotallebiAAMM13]
A New Extension of Activity Networks for Modeling and Verification of Timed Systems(Article)
Authors:
H. Motallebi; M. Abdollahi Azgomi; M. S. Mirzaei; A. Movaghar
Date:
2013
Publication:
TURKISH JOURNAL OF ELECTRICAL ENGINEERING & COMPUTER SCIENCES
Volume:
21
Issue:
6
Pages:
1751–1779
Publisher:
The Scientific and Technological Research Council of Turkey (TUBITAK-ULAKBIM) - DIGITAL COMMONS JOURNALS
Abstract
Stochastic activity networks (SANs) are a well-known petri net-based formalism used for the performance and dependability modeling of a wide range of systems. On the other hand, the growing complexity of timed systems makes it imperative to apply formal analysis techniques in the early stages of the system's development. Finding a suitable framework for the modeling, evaluation, and verification of these systems is still a great challenge. In this paper, we introduce a new formalism named timed activity networks (TANs), which are based on the activity networks that are the nondeterministic settings of the SANs. The advantages of TANs are 2-fold: 1) allowing the construction of more compact petri net-based models of timed systems and 2) allowing the assignment of time intervals to timed activities where the activity completion rates are marking-dependent, which makes TANs a better model for timed systems. Thanks to the presence of the input/output gates, TANs are capable of describing a situation whose specification using petri net-based formalisms was not practical, due to the naivety of the enabling and firing rules in these models. In addition, a great benefit of TANs is the similarity of their primitives and notations to ordinary SANs, which allows us to easily obtaining these 2 models from each other. Accordingly, SANs can be used for performance, and dependability modeling and evaluation, while TANs can be used for the model checking of timed systems. In this paper, we present the definitions, semantics, and model checking techniques of the proposed formalism. In order to model check TAN models, a transformation procedure is given for translating TAN models into the equivalent linear hybrid automaton, which can then be used with the existing techniques and tools.
[PartushY13]
Abstract Semantic Differencing for Numerical Programs(Conference paper)
Authors:
N. Partush; E. Yahav
Editors:
F. Logozzo; M. Fähndrich
Date:
2013
Publication:
Static Analysis: Proceedings of the 20th International Symposium (SAS 2013)
Series:
Lecture Notes in Computer Science
Volume:
7935
Pages:
238–258
Publisher:
Springer-Verlag, Berlin
Location:
Seattle, WA, USA
ISBN:
978-3-642-38855-2 (Print) 978-3-642-38856-9 (Online)
Abstract
We address the problem of computing semantic differences between a program and a patched version of the program. Our goal is to obtain a precise characterization of the difference between program versions, or establish their equivalence when no difference exists. We focus on computing semantic differences in numerical programs where the values of variables have no a-priori bounds, and use abstract interpretation to compute an over-approximation of program differences. Computing differences and establishing equivalence under abstraction requires abstracting relationships between variables in the two programs. Towards that end, we first construct a correlating program in which these relationships can be tracked, and then use a correlating abstract domain to compute a sound approximation of these relationships. To better establish equivalence between correlated variables and precisely capture differences, our domain has to represent non-convex information using a partially-disjunctive abstract domain. To balance precision and cost of this representation, our domain over-approximates numerical information while preserving equivalence between correlated variables by dynamically partitioning the disjunctive state according to equivalence criteria. We have implemented our approach in a tool called DIZY, and applied it to a number of real-world examples, including programs from the GNU core utilities, Mozilla Firefox and the Linux Kernel. Our evaluation shows that DIZY often manages to establish equivalence, describes precise approximation of semantic differences when difference exists, and reports only a few false differences.
[RastogiMHH13]
Knowledge Inference for Optimizing Secure Multi-Party Computation(Conference paper)
Authors:
A. Rastogi; P. Mardziel; M. Hicks; M. A. Hammer
Editors:
P. Naldurg
Date:
2013
Publication:
Proceedings of the 2013 ACM SIGPLAN Workshop on Programming Languages and Analysis for Security (PLAS'13)
Pages:
3–14
Publisher:
ACM Press, New York, USA
Location:
Seattle, Washington, USA
ISBN:
978-1-4503-2144-0
Abstract
In secure multi-party computation, mutually distrusting parties cooperatively compute functions of their private data; in the process, they only learn certain results as per the protocol (e.g., the final output). The realization of these protocols uses cryptographic techniques to avoid leaking information between the parties. A protocol for a secure computation can sometimes be optimized without changing its security guarantee: when the parties can use their private data and the revealed output to infer the values of other data, then this other data need not be concealed from them via cryptography. In the context of automatically optimizing secure multi-party computation, we define two related problems, knowledge inference and constructive knowledge inference. In both problems, we attempt to automatically discover when and if intermediate variables used in a protocol will (eventually) be known to the parties involved in the computation. Provably-known variables offer optimization opportunities. We formally state the problem of knowledge inference (and its constructive variant); we describe our solutions, which are built atop existing, standard technology such as SMT solvers. We show that our approach is sound, and further, we characterize the completeness properties enjoyed by our approach. We have implemented our approach, and present a preliminary experimental evaluation.
[SeladjiB13]
Fixpoint Computation in the Polyhedra Abstract Domain Using Convex and Numerical Analysis Tools(Conference paper)
Authors:
Y. Seladji; O. Bouissou
Editors:
R. Giacobazzi; J. Berdine; I. Mastroeni
Date:
2013
Publication:
Verification, Model Checking, and Abstract Interpretation: Proceedings of the 14th International Conference (VMCAI 2013)
Series:
Lecture Notes in Computer Science
Volume:
7737
Pages:
149–168
Publisher:
Springer-Verlag, Berlin
Location:
Rome, Italy
ISBN:
978-3-642-35872-2 (Print) 978-3-642-35873-9 (Online)
Abstract
Polyhedra abstract domain is one of the most expressive and used abstract domains for the static analysis of programs. Together with Kleene algorithm, it computes precise yet costly program invariants. Widening operators speed up this computation and guarantee its termination, but they often induce a loss of precision, especially for numerical programs. In this article, we present a process to accelerate Kleene iteration with a good trade-off between precision and computation time. For that, we use two tools: convex analysis to express the convergence of convex sets using support functions, and numerical analysis to accelerate this convergence applying sequence transformations. We demonstrate the efficiency of our method on benchmarks.
[SharmaGHAN13]
Verification as Learning Geometric Concepts(Conference paper)
Authors:
R. Sharma; S. Gupta; B. Hariharan; A. Aiken; A. V. Nori
Editors:
F. Logozzo; M. Fähndrich
Date:
2013
Publication:
Static Analysis: Proceedings of the 20th International Symposium (SAS 2013)
Series:
Lecture Notes in Computer Science
Volume:
7935
Pages:
388–411
Publisher:
Springer-Verlag, Berlin
Location:
Seattle, USA
ISBN:
978-3-642-38855-2 (Print) 978-3-642-38856-9 (Online)
Abstract
We formalize the problem of program verification as a learning problem, showing that invariants in program verification can be regarded as geometric concepts in machine learning. Safety properties define bad states: states a program should not reach. Program verification explains why a program's set of reachable states is disjoint from the set of bad states. In Hoare Logic, these explanations are predicates that form inductive assertions. Using samples for reachable and bad states and by applying well known machine learning algorithms for classification, we are able to generate inductive assertions. By relaxing the search for an exact proof to classifiers, we obtain complexity theoretic improvements. Further, we extend the learning algorithm to obtain a sound procedure that can generate proofs containing invariants that are arbitrary boolean combinations of polynomial inequalities. We have evaluated our approach on a number of challenging benchmarks and the results are promising.
[UpadrastaC13]
Sub-Polyhedral Scheduling Using (Unit-)Two-Variable-Per-Inequality Polyhedra(Conference paper)
Authors:
R. Upadrasta; A. Cohen
Editors:
R. Giacobazzi; R. Cousot
Date:
2013
Publication:
Proceedings of the 40th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 2013)
Pages:
483–496
Publisher:
ACM Press, New York, USA
Location:
Rome, Italy
ISBN:
978-1-4503-1832-7
Also published in SIGPLAN Notices, Volume 48, Number 1
Abstract
Polyhedral compilation has been successful in the design and implementation of complex loop nest optimizers and parallelizing compilers. The algorithmic complexity and scalability limitations remain one important weakness. We address it using sub-polyhedral under-aproximations of the systems of constraints resulting from affine scheduling problems. We propose a sub-polyhedral scheduling technique using (Unit-)Two-Variable-Per-Inequality or (U)TVPI Polyhedra. This technique relies on simple polynomial time algorithms to under-approximate a general polyhedron into (U)TVPI polyhedra. We modify the state-of-the-art PLuTo compiler using our scheduling technique, and show that for a majority of the Polybench (2.0) kernels, the above under-approximations yield polyhedra that are non-empty. Solving the under-approximated system leads to asymptotic gains in complexity, and shows practically significant improvements when compared to a traditional LP solver. We also verify that code generated by our sub-polyhedral parallelization prototype matches the performance of PLuTo-optimized code when the under-approximation preserves feasibility.
[Wojciechowski13th]
Optimal Certifying Algorithms for Linear and Lattice Point Feasibility in a System of UTVPI Constraints(Master’s thesis)
Authors:
P. J. Wojciechowski
Date:
2013
Location:
Morgantown, WV, USA
School:
West Virginia University
Abstract
This thesis is concerned with the design and analysis of time-optimal and space-optimal, certifying algorithms for checking the linear and lattice point feasibility of a class of constraints called Unit Two Variable Per Inequality (UTVPI) constraints. In a UTVPI constraint, there are at most two non-zero variables per constraint, and the coefficients of the non-zero variables belong to the set {+1,−1}\{+1,-1\}. These constraints occur in a number of application domains, including but not limited to program verification, abstract interpretation, and operations research. As per the literature, the fastest known certifying algorithm for checking lattice point feasibility in UTVPI constraint systems ([1]), runs in O(m⋅n+n2⋅log⁡n)O(m \cdot n + n^2 \cdot \log n) time and O(n2)O(n^2) space, where mm represents the number of constraints and nn represents the number of variables in the constraint system. In this paper, we design and analyze new algorithms for checking the linear feasibility and the lattice point feasibility of UTVPI constraints. Both of the presented algorithms run in O(m⋅n)O(m \cdot n) time and O(m+n)O(m + n) space. Additionally they are certifying in that they produce satisfying assignments in the event that they are presented with feasible instances and refutations in the event that they are presented with infeasible instances. The importance of providing certificates cannot be overemphasized, especially in mission-critical applications. Our approaches for both the linear and the lattice point feasibility problems in UTVPI constraints are fundamentally different from existing approaches for these problems (as described in the literature), in that our approaches are based on new insights on using well-known inference rules.