Skip to Content

PPL citations from 2014

All citation years and BibTeX download

[AlonsoBlas14th]
De Programas Abstractos a Cotas Asintóticas Precisas en Forma Cerrada(PhD thesis)
Authors:
D. E. Alonso Blas
Date:
2014-04
Location:
Madrid, Spain
School:
Universidad Complutense de Madrid
Defended on May 29, 2014
Abstract
Cost analysis (a.k.a. resource usage analysis) aims at statically determining the amount of resources required to safely execute a given program, i.e., without running out of resources. By resource, we mean any quantitative aspect of the program, such as memory consumption, execution steps, etc. Several cost analysis frameworks are available, although different in their underlying theory, all of them usually report the cost of a program as a closed-form upper bound function. Inference of lower bound functions has also been considered. However, it has received less attention. The important properties of a cost analyser are applicability, precision, and scalability. These properties are often antagonistic, e.g., achieving good scalability is typically done by sacrificing precision, and thus, a cost analyser might excel in one property, and fall behind in another. In this thesis, we aim at exploring the gap between the different existing approaches to cost analysis, to develop techniques that are able to infer asymptotically precise bounds, and, at the same time, have good scalability and applicability properties. Our point of departure is the classical approach to cost analysis, which is widely applicable, scalable, and has a reasonable precision in practice. However, for some programming patterns it infers bounds which are asymptotically less precise than other approaches. The workflow of this approach is divided into several phases: (I) transforming the input program into an abstract program by replacing data structures by some notion of size; (II) transforming the abstract program to a set of recursive equations that describes the program's cost in terms of the input data; and (III) solving these equations into closed-form bounds. Our contributions are related to steps II and III above, and consist of analyses, transformations, and solving techniques that allow going From Abstract Programs to Precise Asymptotic Closed-Form Bounds. We argue that they close the precision gap with respect to other approaches, in particular the amortised analysis approach, while they still exhibit good scalability and applicability properties. In addition, some of the contributions bring a methodological innovation in this thesis, which is to apply The Calculus of Computation to cost analysis.
[AmatoSZ14]
Efficient Constraint/Generator Removal from Double Description of Polyhedra(Article)
Authors:
G. Amato; F. Scozzari; E. Zaffanella
Date:
2014
Publication:
Electronic Notes in Theoretical Computer Science
Volume:
307
Pages:
3–15
Publisher:
Elsevier
ISSN:
1571-0661
Abstract
We present an algorithm for the removal of constraints (resp., generators) from a convex polyhedron represented in the Double Description framework. Instead of recomputing the dual representation from scratch, the new algorithm tries to better exploit the information available in the Double Description pair, so as to capitalize on the computational work already done. A preliminary experimental evaluation shows that significant efficiency improvements can be obtained. In particular, a combined algorithm can be defined that dynamically selects whether or not to apply the new algorithm, based on suitable profitability heuristics.
[AndreCE14]
Distributed Behavioral Cartography of Timed Automata(Conference paper)
Authors:
É. André; C. Coti; S. Evangelista
Editors:
J. J. Dongarra; Y. Ishikawa; A. Hori
Date:
2014
Publication:
Proceedings of the 21st European MPI Users' Group Meeting
Pages:
109–114
Publisher:
ACM Press, New York, USA
Location:
Kyoto Japan
ISBN:
978-1-4503-2875-3
Abstract
Real-time systems, characterized by a set of timings constants (internal delays, timers, clock speeds), need to be perfectly reliable. Formal methods can prove their correctness but, if one of the timing constants changes, verification needs to be restarted from scratch. Also, variations of some delays (even infinitesimal) may lead to the specification violation. It is thus interesting to reason parametrically, and synthesize constraints on the timing constants seen as parameters to formally guarantee the specification. We propose here an attempt to distribute a synthesis algorithm, the behavioral cartography, and we evaluate two work distribution algorithms. The parallelization gives promising results and opens perspectives toward verification of larger models.
[AndreLSD14]
Parameter Synthesis for Hierarchical Concurrent Real-Time Systems(Article)
Authors:
É. André; Y. Liu; J. Sun; J. S. Dong
Date:
2014-11
Publication:
Real-Time Systems
Volume:
50
Issue:
5–6
Pages:
620–679
Publisher:
Springer
ISSN:
0922-6443
Abstract
Modeling and verifying complex real-time systems, involving timing delays, are notoriously difficult problems. Checking the correctness of a system for one particular value for each delay does not give any information for other values. It is thus interesting to reason parametrically, by considering that the delays are parameters (unknown constants) and synthesizing a constraint guaranteeing a correct behavior. We present here Parametric Stateful Timed Communicating Sequential Processes, a language capable of specifying and verifying parametric hierarchical real-time systems with complex data structures. Although we prove that the synthesis is undecidable in general, we present several semi-algorithms for efficient parameter synthesis, which behave well in practice. This work has been implemented in a real-time model checker, PSyHCoS, and validated on a set of case studies.
[ArmandoBM14]
Counterexample-Guided Abstraction Refinement for Linear Programs with Arrays(Article)
Authors:
A. Armando; M. Benerecetti; J. Mantovani
Date:
2014
Publication:
Automated Software Engineering
Volume:
21
Issue:
2
Pages:
225–285
Publisher:
Springer
ISSN:
0928-8910
Abstract
Predicate abstraction refinement is one of the leading approaches to software verification. The key idea is to abstract the input program into a Boolean Program (i.e. a program whose variables range over the Boolean values only and model the truth values of predicates corresponding to properties of the program state), and refinement searches for new predicates in order to build a new, more refined abstraction. Thus Boolean programs are commonly employed as a simple, yet useful abstraction. However, the effectiveness of predicate abstraction refinement on programs that involve a tight interplay between data-flow and control-flow is still to be ascertained. We present a novel counterexample guided abstraction refinement procedure for Linear Programs with arrays, a fragment of the C programming language where variables and array elements range over a numeric domain and expressions involve linear combinations of variables and array elements. In our procedure the input program is abstracted w.r.t. a family of sets of array indices, the abstraction is a Linear Program (without arrays), and refinement searches for new array indices. We use Linear Programs as the target of the abstraction (instead of Boolean programs) as they allow to express complex correlations between data and control. Thus, unlike the approaches based on predicate abstraction, our approach treats arrays precisely. This is an important feature as arrays are ubiquitous in programming. We provide a precise account of the abstraction, Model Checking, and refinement processes, discuss their implementation in the EUREKA tool, and present a detailed analysis of the experimental results confirming the effectiveness of our approach on a number of programs of interest.
[AssarfGHJLPR14TR]
polymake in Linear and Integer Programming(Technical report)
Authors:
B. Assarf; E. Gawrilow; K. Herr; M. Joswig; B. Lorenz; A. Paffenholz; T. Rehn
Date:
2014-08
Report number:
arXiv:1408.4653v1 [math.CO]
Institution:
arXiv
Publication type:
Preprint
Abstract
In integer and linear optimization the software workhorses are solvers for linear programs as well as generic frameworks for branch-and-bound or branch-and-cut schemes. While today it is common to solve linear programs with millions of rows and columns and, moreover, mixed integer linear programs with sometimes hundreds of thousands of rows and columns, big challenges remain. A main purpose of this note is to report on the state of the art of getting at the facets of the integer hull in a brute force kind of way. And we will do so by explaining how our software system polymake can help. First, we explore how various convex hull algorithms and implementations behave on various kinds of input. Our input is chosen according to typical scenarios which are motivated by computational tasks arising in optimization. Second, we look into enumerating lattice points in polytopes, which is actually the first step for this integer hull approach. We will sum up our experience in this area in several “rules of thumb”, all of which have to be taken with a grain of salt.
[Barrett14th]
Range Analysis of Binaries with Decision Procedures(PhD thesis)
Authors:
E. Barrett
Date:
2014-09
Location:
Canterbury, UK
School:
University of Kent
Abstract
In the past few years, there has been increased interest in automating the reverse engineering and verification of binary executable code. The importance of this subject has been highlighted by the growing relevance of security, of reliability and of legacy code. Since dynamic analysis is of limited use for whole-program analyses, there has been a renewed enthusiasm for the development of automated static analyses, which can prove a property holds over all paths of the program. The abstract interpretation framework serves this purpose and has been widely adopted in both academic and industrial circles. Yet, since its introduction in 1977, standard abstract interpretation has been formulated as the least solution of a set of fixpoint equations. The work in this thesis deviates from the standard approach to static analysis, proposing that recent advances in decision procedures could be leveraged to tackle the problem. The thesis can be considered to be a survey of the application of Boolean satisfiability (SAT) and linear optimisation to the problem of static analysis, specifically range analysis of binary executable code. It is shown (with experimental results) that SAT and linear optimisation can be used to infer ranges of register values which, amongst others, are useful for control flow recovery and for detecting binary vulnerabilities, such as buffer and heap overflows.
[Ben-Amram14]
The Hardness of Finding Linear Ranking Functions for Lasso Programs(Article)
Authors:
A. M. Ben-Amram
Date:
2014
Publication:
Electronic Proceedings in Theoretical Computer Science
Volume:
161
Pages:
32–45
Publisher:
Open Publishing Association
ISSN:
2075-2180
Abstract
Finding whether a linear-constraint loop has a linear ranking function is an important key to understanding the loop behavior, proving its termination and establishing iteration bounds. If no preconditions are provided, the decision problem is known to be in coNP when variables range over the integers and in PTIME for the rational numbers, or real numbers. Here we show that deciding whether a linear-constraint loop with a precondition, specifically with partially-specified input, has a linear ranking function is EXPSPACE-hard over the integers, and PSPACE-hard over the rationals. The precise complexity of these decision problems is yet unknown. The EXPSPACE lower bound is derived from the reachability problem for Petri nets (equivalently, Vector Addition Systems), and possibly indicates an even stronger lower bound (subject to open problems in VAS theory). The lower bound for the rationals follows from a novel simulation of Boolean programs. Lower bounds are also given for the problem of deciding if a linear ranking-function supported by a particular form of inductive invariant exists. For loops over integers, the problem is PSPACE-hard for convex polyhedral invariants and EXPSPACE-hard for downward-closed sets of natural numbers as invariants.
[Ben-AmramG14]
Ranking Functions for Linear-Constraint Loops(Article)
Authors:
A. M. Ben-Amram; S. Genaim
Date:
2014
Publication:
Journal of the ACM
Volume:
61
Issue:
4
Pages:
26:1–26:55
Publisher:
ACM Press, New York, USA
ISSN:
0004-5411
Abstract
In this article, we study the complexity of the problems: given a loop, described by linear constraints over a finite set of variables, is there a linear or lexicographical-linear ranking function for this loop? While existence of such functions implies termination, these problems are not equivalent to termination. When the variables range over the rationals (or reals), it is known that both problems are PTIME decidable. However, when they range over the integers, whether for single-path or multipath loops, the complexity has not yet been determined. We show that both problems are coNP-complete. However, we point out some special cases of importance of PTIME complexity. We also present complete algorithms for synthesizing linear and lexicographical-linear ranking functions, both for the general case and the special PTIME cases. Moreover, in the rational setting, our algorithm for synthesizing lexicographical-linear ranking functions extends existing ones, because our definition for such functions is more general, yet it has PTIME complexity.
[BrimDSV14]
STL∗STL^*: Extending Signal Temporal Logic with Signal-Value Freezing Operator(Article)
Authors:
L. Brim; P. Dluhoš; D. Šafránek; T. Vejpustek
Date:
2014-08
Publication:
Information and Computation
Volume:
236
Pages:
52–67
Publisher:
Elsevier
ISSN:
0890-5401
Abstract
To express temporal properties of dense-time real-valued signals, the Signal Temporal Logic (STL) has been defined by Maler et al. The work presented a monitoring algorithm deciding the satisfiability of STL formulae on finite discrete samples of continuous signals. The logic is not expressive enough to sufficiently distinguish oscillatory properties important in biology. In this paper we introduce the extended logic STL∗STL^* in which STL is augmented with a signal-value freezing operator allowing to express (and distinguish) various dynamic aspects of oscillations. This operator may be nested for further increase of expressiveness. The logic is supported by a monitoring algorithm prototyped in Matlab for the fragment that avoids nesting of the freezing operator. The monitoring procedure for STL∗STL^* is evaluated on a sample oscillatory signal with varied parameters. Application of the extended logic is demonstrated on a case study of a biological oscillator. We also discuss expressive power of STL with respect to STL∗STL^*.
[BrockschmidtEFFG14]
Alternating Runtime and Size Complexity Analysis of Integer Programs(Conference paper)
Authors:
M. Brockschmidt; F. Emmes; S. Falke; C. Fuhs; J. Giesl
Editors:
E. Ábrahám; K. Havelund
Date:
2014
Publication:
Tools and Algorithms for the Construction and Analysis of Systems: Proceedings of the 20th International Conference (TACAS 2014)
Series:
Lecture Notes in Computer Science
Volume:
8413
Pages:
140–155
Publisher:
Springer-Verlag, Berlin
Location:
Grenoble, France
ISBN:
978-3-642-54861-1 (Print) 978-3-642-54862-8 (Online)
Abstract
We present a modular approach to automatic complexity analysis. Based on a novel alternation between finding symbolic time bounds for program parts and using these to infer size bounds on program variables, we can restrict each analysis step to a small part of the program while maintaining a high level of precision. Extensive experiments with the implementation of our method demonstrate its performance and power in comparison with other tools.
[CaiYMH14]
Automatic Software Vulnerability Detection Based on Guided Deep Fuzzing(Conference paper)
Authors:
J. Cai; S. Yang; J. Men; J. He
Date:
2014
Publication:
Proceedings of the IEEE 5th International Conference on Software Engineering and Service Science
Pages:
231–234
Publisher:
IEEE Press
Location:
Beijing, China
Abstract
Software security has become a very import part of information security in recent years. Fuzzing has proven successful in finding software vulnerabilities which are one major cause of information security incidents. However, the efficiency of traditional fuzz testing tools is usually very poor due to the blindness of test generation. In this paper, we present Sword, an automatic fuzzing system for software vulnerability detection, which combines fuzzing with symbolic execution and taint analysis techniques to tackle the above problem. Sword first uses symbolic execution to collect program execution paths and their corresponding constrains, then uses taint analysis to check these paths, the most dangerous paths which most likely lead to vulnerabilities will be further deep fuzzed. Thus, with the guidance of symbolic execution and taint analysis, Sword generates test cases most likely to trigger potential vulnerabilities lying deep in applications.
[CarmonaC14]
Process Discovery Algorithms Using Numerical Abstract Domains(Article)
Authors:
J. Carmona; J. Cortadella
Date:
2014-12
Publication:
IEEE Transactions on Knowledge and Data Engineering
Volume:
26
Issue:
12
Pages:
3064–3076
Publisher:
IEEE Press
ISSN:
1041-4347
Abstract
The discovery of process models from event logs has emerged as one of the crucial problems for enabling the continuous support in the life-cycle of an information system. However, in a decade of process discovery research, the algorithms and tools that have appeared are known to have strong limitations in several dimensions. The size of the logs and the formal properties of the model discovered are the two main challenges nowadays. In this paper we propose the use of numerical abstract domains for tackling these two problems, for the particular case of the discovery of Petri nets. First, numerical abstract domains enable the discovery of general process models, requiring no knowledge (e.g., the bound of the Petri net to derive) for the discovery algorithm. Second, by using divide and conquer techniques we are able to control the size of the process discovery problems. The methods proposed in this paper have been implemented in a prototype tool and experiments are reported illustrating the significance of this fresh view of the process discovery problem.
[ChawdharyRK14]
Simple and Efficient Algorithms for Octagons(Conference paper)
Authors:
A. Chawdhary; E. Robbins; A. King
Editors:
J. Garrigue
Date:
2014
Publication:
Programming Languages and Systems: Proceedings of the 12th Asian Symposium (APLAS 2014)
Series:
Lecture Notes in Computer Science
Volume:
8858
Pages:
296–313
Publisher:
Springer, Cham
Location:
Singapore, Singapore
ISBN:
978-3-319-12735-4 (Print) 978-3-319-12736-1 (Online)
Abstract
The numerical domain of Octagons can be viewed as an exercise in simplicity: it trades expressiveness for efficiency and ease of implementation. The domain can represent unary and binary constraints where the coefficients are +1+1 or −1-1, so called octagonal constraints, and comes with operations that have cubic complexity. The central operation is closure which computes a canonical form by deriving all implied octagonal constraints from a given octagonal system. This paper investigates the role of incrementality, namely closing a system where only one constraint has been changed, which is a dominating use-case. We present two new incremental algorithms for closure both of which are conceptually simple and computationally efficient, and argue their correctness.
[ChenLMKW14]
An Abstract Domain to Infer Octagonal Constraints with Absolute Value(Conference paper)
Authors:
L. Chen; J. Liu; A. Miné; D. Kapur; J. Wang
Editors:
M. Müller-Olm; H. Seidl
Date:
2014
Publication:
Static Analysis: Proceedings of the 21st International Symposium (SAS 2014)
Series:
Lecture Notes in Computer Science
Volume:
8723
Pages:
101–117
Publisher:
Springer, Cham
Location:
Munich, Germany
ISBN:
978-3-319-10935-0 (Print) 978-3-319-10936-7 (Online)
Abstract
The octagon abstract domain, devoted to discovering octagonal constraints (also called Unit Two Variable Per Inequality or UTVPI constraints) of a program, is one of the most commonly used numerical abstractions in practice, due to its quadratic memory complexity and cubic time complexity. However, the octagon domain itself is restricted to express convex sets and has limitations in handling non-convex properties which are sometimes required for proving some numerical properties in a program. In this paper, we intend to extend the octagon abstract domain with absolute value, to infer certain non-convex properties by exploiting the absolute value function. More precisely, the new domain can infer relations of the form {±X±Y≤c, ±X±∣Y∣≤d, ±∣X∣±∣Y∣≤e}\{\pm X \pm Y \leq c,\ \pm X \pm |Y| \leq d,\ \pm |X| \pm |Y| \leq e\}. We provide algorithms for domain operations such that the new domain still enjoys the same asymptotic complexity as the octagon domain. Moreover, we present an approach to support strict inequalities over rational or real-valued variables in this domain, which also fits for the octagon domain. Experimental results of our prototype are encouraging; The new domain is scalable and able to find non-convex invariants of interest in practice but without too much overhead (compared with that using octagons).
[CousotC14]
Abstract Interpretation(Conference paper)
Authors:
P. Cousot; R. Cousot
Editors:
T. A. Henzinger; D. Miller
Date:
2014
Publication:
Proceedings of the Joint Meeting of the Twenty-Third EACSL Annual Conference on Computer Science Logic (CSL) and the Twenty-Ninth Annual ACM/IEEE Symposium on Logic in Computer Science (LICS)
Pages:
2:1–2:10
Publisher:
ACM Press, New York, USA
Location:
Vienna Austria
ISBN:
978-1-4503-2886-9
Abstract
Abstract interpretation is a theory of abstraction and constructive approximation of the mathematical structures used in the formal description of complex or infinite systems and the inference or verification of their combinatorial or undecidable properties. Developed in the late seventies, it has been since then used, implicitly or explicitly, to many aspects of computer science (such as static analysis and verification, contract inference, type inference, termination inference, model-checking, abstraction/refinement, program transformation (including watermarking, obfuscation, etc), combination of decision procedures, security, malware detection, database queries, etc) and more recently, to system biology and SAT/SMT solvers. Production-quality verification tools based on abstract interpretation are available and used in the advanced software, hardware, transportation, communication, and medical industries. The talk will consist in an introduction to the basic notions of abstract interpretation and the induced methodology for the systematic development of sound abstract interpretation-based tools. Examples of abstractions will be provided, from semantics to typing, grammars to safety, reachability to potential/definite termination, numerical to protein-protein abstractions, as well as applications (including those in industrial use) to software, hardware and system biology. This paper is a general discussion of abstract interpretation, with selected publications, which unfortunately are far from exhaustive both in the considered themes and the corresponding references
[CoxCS14]
QUICr: A Reusable Library for Parametric Abstraction of Sets and Numbers(Conference paper)
Authors:
A. Cox; B.-Y. E. Chang; S. Sankaranarayanan
Editors:
A. Biere; R. Bloem
Date:
2014
Publication:
Computer Aided Verification: Proceedings of the 26th International Conference (CAV 2014)
Series:
Lecture Notes in Computer Science
Volume:
8559
Pages:
866–873
Publisher:
Springer, Cham
Location:
Vienna, Austria
ISBN:
978-3-319-08866-2 (Print) 978-3-319-08867-9 (Online)
Abstract
This paper introduces QUICr, an abstract domain combinator library that lifts any domain for numbers into an efficient domain for numbers and sets of numbers. As a library, it is useful for inferring relational data invariants in programs that manipulate data structures. As a testbed, it allows easy extension of widening and join heuristics, enabling adaptations to new and varied applications. In this paper we present the architecture of the library, guidelines on how to select heuristics, and an example instantiation of the library using the Apron library to verify set-manipulating programs.
[DeAngelisFNP14]
Verification of Programs by Combining Iterated Specialization with Interpolation(Article)
Authors:
E. De Angelis; F. Fioravanti; J. A. Navas; M. Proietti
Date:
2014
Publication:
Electronic Proceedings in Theoretical Computer Science
Volume:
169
Pages:
3–18
Publisher:
Open Publishing Association
ISSN:
2075-2180
Abstract
We present a verification technique for program safety that combines Iterated Specialization and Interpolating Horn Clause Solving. Our new method composes together these two techniques in a modular way by exploiting the common Horn Clause representation of the verification problem. The Iterated Specialization verifier transforms an initial set of verification conditions by using unfold/fold equivalence preserving transformation rules. During transformation, program invariants are discovered by applying widening operators. Then the output set of specialized verification conditions is analyzed by an Interpolating Horn Clause solver, hence adding the effect of interpolation to the effect of widening. The specialization and interpolation phases can be iterated, and also combined with other transformations that change the direction of propagation of the constraints (forward from the program preconditions or backward from the error conditions). We have implemented our verification technique by integrating the VeriMAP verifier with the FTCLP Horn Clause solver, based on Iterated Specialization and Interpolation, respectively. Our experimental results show that the integrated verifier improves the precision of each of the individual components run separately.
[ElderLSAR14]
Abstract Domains of Affine Relations(Article)
Authors:
M. Elder; J. Lim; T. Sharma; T. Andersen; T. Reps
Date:
2014
Publication:
ACM Transactions on Programming Languages and Systems
Volume:
36
Issue:
4
Pages:
11:1–11:73
Publisher:
ACM Press, New York, USA
ISSN:
0164-0925
Abstract
This article considers some known abstract domains for affine-relation analysis (ARA), along with several variants, and studies how they relate to each other. The various domains represent sets of points that satisfy affine relations over variables that hold machine integers and are based on an extension of linear algebra to modules over a ring (in particular, arithmetic performed modulo 2w2^w, for some machine-integer width ww). We show that the abstract domains of Müller-Olm/Seidl (MOS) and King/Søndergaard (KS) are, in general, incomparable. However, we give sound interconversion methods. In other words, we give an algorithm to convert a KS element vKSv_{\mathrm{KS}} to an overapproximating MOS element vMOSv_{\mathrm{MOS}} —that is, γ(vKS)⊆γ(vMOS)\gamma(v_{\mathrm{KS}})\subseteq\gamma(v_{\mathrm{MOS}}) —as well as an algorithm to convert an MOS element wMOSw_{\mathrm{MOS}} to an overapproximating KS element wKSw_{\mathrm{KS}} —that is, γ(wMOS)⊆γ(wKS)\gamma(w_{\mathrm{MOS}})\subseteq\gamma(w_{\mathrm{KS}}). The article provides insight on the range of options that one has for performing ARA in a program analyzer: —We describe how to perform a greedy, operator-by-operator abstraction method to obtain KS abstract transformers. —We also describe a more global approach to obtaining KS abstract transformers that considers the semantics of an entire instruction, basic block, or other loop-free program fragment. The latter method can yield best abstract transformers, and hence can be more precise than the former method. However, the latter method is more expensive. We also explain how to use the KS domain for interprocedural program analysis using a bit-precise concrete semantics, but without bit blasting.
[FagesT14]
Temporal Logic Modeling of Dynamical Behaviors: First-Order Patterns and Solvers(Book chapter)
Authors:
F. Fages; P. Traynard
Editors:
L. Fariñas del Cerro; K. Inoue
Date:
2014
Publication:
Logical Modeling of Biological Systems
Pages:
291–323
Publisher:
Wiley
ISBN:
9781848216808 (Print) 9781119005223 (Online)
Abstract
This chapter describes how quantitative temporal logic formulas can be used to formalize imprecise dynamical behaviors of biological systems, and how such a formal specification of experimental observations can be used to calibrate models to real data, in a more versatile way than with curve fitting algorithms. It presents useful patterns of first-order temporal logic formulas to facilitate their use by the modelers, present efficient solvers dedicated to them, and illustrate their use to build a coupled model of the cell cycle and the circadian molecular clock with period and phase constraints.
[FangSZGLD14]
Formal Verification and Simulation for Platform Screen Doors and Collision Avoidance in Subway Control Systems(Article)
Authors:
H. Fang; J. Shi; H. Zhu; J. Guo; K. G. Larsen; A. David
Date:
2014
Publication:
International Journal on Software Tools for Technology Transfer
Volume:
16
Issue:
4
Pages:
339–361
Publisher:
Springer
ISSN:
1433-2779
Abstract
For hybrid systems, hybrid automata-based tools are capable of verification, while Matlab Simulink/Stateflow is proficient in simulation. We propose a co-verification procedure, in which the verification tool SpaceEx/PHAVer and simulation tool Matlab are integrated to analyze and verify hybrid systems. For the application of this procedure, a platform screen door system (PSDS, a subsystem of the subway control system), is modeled with hybrid automata and Simulink/Stateflow charts, respectively. The models of PSDS are simulated by Matlab and verified by SpaceEx/PHAVer. The simulation and verification results indicate that the sandwiched situation can be avoided under time interval conditions. We improve the model with four trains and four stations on a subway line and analyze the urgent control scenario for the safety distance requirement. In this paper, the Simulink/Stateflow model is a refinement of the SpaceEx/PHAVer model, which is closer to a final implementation. Moreover, the two models are complementary for some features (e.g.,visualization of simulation, correctness proving by verification), stressing different aspects of the overall system and permitting complementary analysis techniques, i.e., verification versus simulation. We conclude that this integration procedure is competent in verifying subway control systems.
[Flores-MontoyaH14]
Resource Analysis of Complex Programs with Cost Equations(Conference paper)
Authors:
A. Flores-Montoya; R. Hähnle
Editors:
J. Garrigue
Date:
2014
Publication:
Programming Languages and Systems: Proceedings of the 12th Asian Symposium (APLAS 2014)
Series:
Lecture Notes in Computer Science
Volume:
8858
Pages:
275–295
Publisher:
Springer, Cham
Location:
Singapore, Singapore
ISBN:
978-3-319-12735-4 (Print) 978-3-319-12736-1 (Online)
Abstract
We present a novel static analysis for inferring precise complexity bounds of imperative and recursive programs. The analysis operates on cost equations. Therefore, it permits uniform treatment of loops and recursive procedures. The analysis is able to provide precise upper bounds for programs with complex execution flow and multi-dimensional ranking functions. In a first phase, a combination of control-flow refinement and invariant generation creates a representation of the possible behaviors of a (possibly inter-procedural) program in the form of a set of execution patterns. In a second phase, a cost upper bound of each pattern is obtained by combining individual costs of code fragments. Our technique is able to detect dependencies between different pieces of code and hence to compute a precise upper bounds for a given program. A prototype has been implemented and evaluated to demonstrate the effectiveness of the approach.
[FouilheB14]
A Certifying Frontend for (Sub)polyhedral Abstract Domains(Conference paper)
Authors:
A. Fouilhe; S. Boulmé
Editors:
D. Giannakopoulou; D. Kroening
Date:
2014
Publication:
Verified Software: Theories, Tools and Experiments: Proceedings of the 6th International Conference (VSTTE 2014)
Series:
Lecture Notes in Computer Science
Volume:
8471
Pages:
200–215
Publisher:
Springer, Cham
Location:
Vienna, Austria
ISBN:
978-3-319-12153-6 (Print) 978-3-319-12154-3 (Online)
Abstract
Convex polyhedra provide a relational abstraction of numerical properties for static analysis of programs by abstract interpretation. We describe a lightweight certification of polyhedral abstract domains using the Coq proof assistant. Our approach consists in delegating most computations to an untrusted backend and in checking its outputs with a certified frontend. The backend is free to implement relaxations of domain operators (i.e. a subpolyhedral abstract domain) in order to trade some precision for more efficiency, but must produce hints about the soundness of its results. Previously published experimental results show that the certification overhead with a full-precision backend is small and that the resulting certified abstract domain has comparable performance to non-certifying state-of-the-art implementations.
[Fu14a]
Modularly Combining Numeric Abstract Domains with Points-to Analysis, and a Scalable Static Numeric Analyzer for Java(Conference paper)
Authors:
Z. Fu
Editors:
K. McMillan; X. Rival
Date:
2014
Publication:
Verification, Model Checking, and Abstract Interpretation: Proceedings of the 15th International Conference (VMCAI 2014)
Series:
Lecture Notes in Computer Science
Volume:
8318
Pages:
282–301
Publisher:
Springer-Verlag, Berlin
Location:
San Diego, US
ISBN:
978-3-642-54012-7 (Print) 978-3-642-54013-4 (Online)
Abstract
This paper contributes to a new abstract domain that combines static numeric analysis and points-to analysis. One particularity of this abstract domain lies in its high degree of modularity, in the sense that the domain is constructed by reusing its combined components as black-boxes. This modularity dramatically eases the proof of its soundness and renders its algorithm intuitive. We have prototyped the abstract domain for analyzing real-world Java programs. Our experimental results show a tangible precision enhancement compared to what is possible by traditional static numeric analysis, and this at a cost that is comparable to the cost of running the numeric and pointer analyses separately.
[Fu14b]
Targeted Update – Aggressive Memory Abstraction Beyond Common Sense and its Application on Static Numeric Analysis(Conference paper)
Authors:
Z. Fu
Editors:
Z. Shao
Date:
2014
Publication:
Proceedings of the 23rd European Symposium on Programming (ESOP'14)
Series:
Lecture Notes in Computer Science
Volume:
8410
Pages:
534–553
Publisher:
Springer-Verlag, Berlin
Location:
Grenoble, France
ISBN:
978-3-642-54832-1 (Print) 978-3-642-54833-8 (Online)
Abstract
Summarizing techniques are widely used in the reasoning of unbounded data structures. These techniques prohibit strong update unless certain restricted safety conditions are satisfied. We find that by setting and enforcing the analysis boundaries to a limited scope of program identifiers, called targets in this paper, more cases of strong update can be shown sound, not with regard to the entire heap, but with regard to the targets. We have implemented the analysis for inferring numeric properties in Java programs. The experimental results show a tangible precision enhancement compared with classical approaches while preserving high scalability.
[GallardoP14]
Extending Model Checkers for Hybrid System Verification: The Case Study of SPIN(Article)
Authors:
M.-d.-M. Gallardo; L. Panizo
Date:
2014
Publication:
Software Testing, Verification and Reliability
Volume:
24
Issue:
6
Pages:
438–471
Publisher:
John Wiley & Sons, Ltd.
ISSN:
1099-1689 (online)
Abstract
A hybrid system is a system that evolves following a continuous dynamic, which may instantaneously change when certain internal or external events occur. Because of this combination of discrete and continuous dynamics, the behaviour of a hybrid system is, in general, difficult to model and analyse. Model checking techniques have been proven to be an excellent approach to analyse critical properties of complex systems. This paper presents a new methodology to extend explicit model checkers for hybrid systems analysis. The explicit model checker is integrated, in a non-intrusive way, with some external structures and existing abstraction libraries, which store and manipulate the abstraction of the continuous behaviour irrespective of the underlying model checker. The methodology is applied to SPIN using Parma Polyhedra Library. In addition, the authors are currently working on the extension of other model checkers.
[GargLMN14]
ICE: A Robust Framework for Learning Invariants(Conference paper)
Authors:
P. Garg; C. Löding; P. Madhusudan; D. Neider
Editors:
A. Biere; R. Bloem
Date:
2014
Publication:
Computer Aided Verification: Proceedings of the 26th International Conference (CAV 2014)
Series:
Lecture Notes in Computer Science
Volume:
8559
Pages:
69–87
Publisher:
Springer, Cham
Location:
Vienna, Austria
ISBN:
978-3-319-08866-2 (Print) 978-3-319-08867-9 (Online)
Abstract
We introduce ICE, a robust learning paradigm for synthesizing invariants, that learns using examples, counter-examples, and implications, and show that it admits honest teachers and strongly convergent mechanisms for invariant synthesis. We observe that existing algorithms for black-box abstract interpretation can be interpreted as ICE-learning algorithms. We develop new strongly convergent ICE-learning algorithms for two domains, one for learning Boolean combinations of numerical invariants for scalar variables and one for quantified invariants for arrays and dynamic lists. We implement these ICE-learning algorithms in a verification tool and show they are robust, practical, and efficient.
[GawlitzaSS14]
Parametric Strategy Iteration(Conference paper)
Authors:
T. M. Gawlitza; M. D. Schwarz; H. Seidl
Editors:
T. Kutsia; A. Voronkov
Date:
2014
Publication:
Proceedings of the 6th International Symposium on Symbolic Computation in Software Science (SCSS 2014)
Series:
EPiC Series in Computing
Volume:
30
Pages:
62–76
Publisher:
EasyChair
Abstract
Program behavior may depend on parameters, which are either configuredbefore compilation time, or provided at runtime, e.g., by sensors or other input devices.Parametric program analysis explores how different parameter settings may affect theprogram behavior.In order to infer invariants depending on parameters, we introduce parametric strategy iteration.This algorithm determines the precise least solution of systems of integer equations dependingon surplus parameters. Conceptually, our algorithm performs ordinary strategy iterationon the given integer system for all possible parameter settings in parallel.This is made possible by means of region trees to represent the occurring piecewise affine functions.We indicate that each required operation on these trees is polynomial-time if only constantly manyparameters are involved.Parametric strategy iteration for systems of integer equationsallows to construct parametric integer interval analysisas well as parametric analysis of differences of integer variables.It thus provides a general technique to realize precise parametricprogram analysis if numerical properties of integer variables are of concern.
[GonnordS14]
Abstract Acceleration in Linear Relation Analysis(Article)
Authors:
L. Gonnord; P. Schrammel
Date:
2014
Publication:
Science of Computer Programming
Volume:
93
Issue:
PART B
Pages:
125–153
Publisher:
Elsevier
ISSN:
0167-6423
Abstract
Linear relation analysis is a classical abstract interpretation based on an over-approximation of reachable numerical states of a program by convex polyhedra. Since it works with a lattice of infinite height, it makes use of a widening operator to enforce the convergence of fixed point computations. Abstract acceleration is a method that computes the precise abstract effect of loops wherever possible and uses widening in the general case. Thus, it improves both the precision and the efficiency of the analysis. This article gives a comprehensive tutorial on abstract acceleration: its origins in Presburger-based acceleration including new insights w.r.t. the linear accelerability of linear transformations, methods for simple and nested loops, recent extensions, tools and applications, and a detailed discussion of related methods and future perspectives.
[Hagemann14th]
Symbolic Orthogonal Projections: A New Polyhedral Representation for Reachability Analysis of Hybrid Systems(PhD thesis)
Authors:
W. Hagemann
Date:
2014
Location:
Saarbrücken, Germany
School:
Universität des Saarlandes
Defended on 2 July 2015.
Abstract
This thesis deals with reachability analysis of linear hybrid systems. Special importance is given to the treatment of the necessary geometrical operations. In the first part, we introduce a new representation class for convex polyhedra, the symbolic orthogonal projections (sops). A sop encodes a polyhedron as an orthogonal projection of a higher-dimensional polyhedron. This representation is treated purely symbolically, in the sense that the actual computation of the projection is avoided. We show that fundamental geometrical operations, like affine transformations, intersections, Minkowski sums, and convex hulls, can be performed by block matrix operations on the representation. Compared to traditional representations, like half-space representations, vertex representations, or representations by support functions, this is a unique feature of sops. Linear programming helps us to evaluate sops. In the second part, we investigate the application of sops in reachability analysis of hybrid systems. It turns out that sops are well-suited for the discrete computations. Thereupon, we demonstrate also the applicability of sops for the continuous computation of reachability analysis. By a subtle parallel computation of a precise sop-based representation and a simplified representation, we tackle the problem of monotonic growing sizes of the sops. Additionally, we present experimental results which also show that sops allow an efficient and accurate computation of the reachable states.
[IosifKB14]
Deciding Conditional Termination(Article)
Authors:
R. Iosif; F. Konečný; M. Bozga
Date:
2014
Publication:
Logical Methods in Computer Science
Volume:
10
Issue:
3:8
Pages:
1–61
Publisher:
Logical Methods in Computer Science
Abstract
We address the problem of conditional termination, which is that of defining the set of initial configurations from which a given program always terminates. First we define the dual set, of initial configurations from which a non-terminating execution exists, as the greatest fixpoint of the function that maps a set of states into its pre-image with respect to the transition relation. This definition allows to compute the weakest nontermination precondition if at least one of the following holds: (i) the transition relation is deterministic, (ii) the descending Kleene sequence over-approximating the greatest fixpoint converges in finitely many steps, or (iii) the transition relation is well founded. We show that this is the case for two classes of relations, namely octagonal and finite monoid affine relations. Moreover, since the closed forms of these relations can be defined in Presburger arithmetic, we obtain the decidability of the termination problem for such loops. We show that the weakest non-termination precondition for octagonal relations can be computed in time polynomial in the size of the binary representation of the relation. Furthermore, for every well-founded octagonal relation, we prove the existence of an effectively computable well-founded witness relation for which a linear ranking function exists. For the class of linear affine relations we show that the weakest non-termination precondition can be defined in Presburger arithmetic if the relation has the finite monoid property. Otherwise, for a more general subclass, called polynomially bounded affine relations, we give a method of under-approximating the termination preconditions. Finally, we apply the method of computing weakest non-termination preconditions for conjunctive relations (octagonal or affine) to computing termination preconditions for programs with complex transition relations. We provide algorithms for computing transition invariants and termination preconditions, and define a class of programs, whose control structure has no nested loops, for which these algorithms provide precise results. Moreover, it is shown that, for programs with no nested control loops, and whose loops are labeled with octagonal constraints, the dual problem i.e. the existence of infinite runs, is NP-complete.
[KafleG14a]
Convex Polyhedral Abstractions, Specialisation and Property-Based Predicate Splitting in Horn Clause Verification(Article)
Authors:
B. Kafle; J. P. Gallagher
Date:
2014
Publication:
Electronic Proceedings in Theoretical Computer Science
Volume:
169
Pages:
53–67
Publisher:
Open Publishing Association
ISSN:
2075-2180
Abstract
We present an approach to constrained Horn clause (CHC) verification combining three techniques: abstract interpretation over a domain of convex polyhedra, specialisation of the constraints in CHCs using abstract interpretation of query-answer transformed clauses, and refinement by splitting predicates. The purpose of the work is to investigate how analysis and transformation tools developed for constraint logic programs (CLP) can be applied to the Horn clause verification problem. Abstract interpretation over convex polyhedra is capable of deriving sophisticated invariants and when used in conjunction with specialisation for propagating constraints it can frequently solve challenging verification problems. This is a contribution in itself, but refinement is needed when it fails, and the question of how to refine convex polyhedral analyses has not been studied much. We present a refinement technique based on interpolants derived from a counterexample trace; these are used to drive a property-based specialisation that splits predicates, leading in turn to more precise convex polyhedral analyses. The process of specialisation, analysis and splitting can be repeated, in a manner similar to the CEGAR and iterative specialisation approaches.
[LarsenLTW14]
Robust Synthesis for Real-Time Systems(Article)
Authors:
K. G. Larsen; A. Legay; L.-M. Traonouez; A. Wasowski
Date:
2014
Publication:
Theoretical Computer Science
Volume:
515
Pages:
96–122
Publisher:
Elsevier
ISSN:
0304-3975
Abstract
Specification theories for real-time systems allow reasoning about interfaces and their implementation models, using a set of operators that includes satisfaction, refinement, logical and parallel composition. To make such theories applicable throughout the entire design process from an abstract specification to an implementation, we need to reason about the possibility to effectively implement the theoretical specifications on physical systems, despite their limited precision. In the literature, this implementation problem has been linked to the robustness problem that analyzes the consequences of introducing small perturbations into formal models.
[Mine14]
Backward Under-Approximations in Numeric Abstract Domains to Automatically Infer Sufficient Program Conditions(Article)
Authors:
A. Miné
Date:
2014
Publication:
Science of Computer Programming
Volume:
93
Issue:
PART B
Pages:
154–182
Publisher:
Elsevier
ISSN:
0167-6423
Abstract
In this article, we discuss the automatic inference of sufficient preconditions by abstract interpretation and sketch the construction of an under-approximating backward analysis. We focus on numeric properties of variables and revisit three classic numeric abstract domains: intervals, octagons, and polyhedra, with new under-approximating backward transfer functions, including the support for non-deterministic expressions, as well as lower widenings to handle loops. We show that effective under-approximation is possible natively in these domains without necessarily resorting to disjunctive completion nor domain complementation. Applications include the derivation of sufficient conditions for a program to never step outside an envelope of safe states, or dually to force it to eventually fail. We built a proof-of-concept prototype implementation and tried it on simple examples. Our construction and our implementation are very preliminary and mostly untried; our hope is to convince the reader that this constitutes a worthy avenue of research.
[MinopoliF14]
Non-Convex Invariants and Urgency Conditions on Linear Hybrid Automata(Conference paper)
Authors:
S. Minopoli; G. Frehse
Editors:
A. Legay; M. Bozga
Date:
2014
Publication:
Formal Modeling and Analysis of Timed Systems: Proceedings of the 12th International Conference (FORMATS 2014)
Series:
Lecture Notes in Computer Science
Volume:
8711
Pages:
176–190
Publisher:
Springer, Cham
Location:
Florence, Italy
ISBN:
978-3-319-10511-6 (Print) 978-3-319-10512-3 (Online)
Abstract
Linear hybrid automata (LHAs) are of particular interest to formal verification because sets of successor states can be computed exactly, which is not the case in general for more complex dynamics. Enhanced with urgency, LHA can be used to model complex systems from a variety of application domains in a modular fashion. Existing algorithms are limited to convex invariants and urgency conditions that consist of a single constraint. Such restrictions can be a major limitation when the LHA is intended to serve as an abstraction of a model with urgent transitions. This includes deterministic modeling languages such as Matlab-Simulink, Modelica, and Ptolemy, since all their transitions are urgent. The goal of this paper is to remove these limitations, making LHA more directly and easily applicable in practice. We propose an algorithm for successor computation with non-convex invariants and closed, linear urgency conditions. The algorithm is implemented in the open-source tool PHAVer, and illustrated with an example.
[MotallebiAA14]
Translation from Multisingular Hybrid Petri Nets to Multisingular Hybrid Automata(Article)
Authors:
H. Motallebi; M. Abdollahi Azgomi
Date:
2014
Publication:
Fundamenta Informaticae
Volume:
130
Issue:
3
Pages:
275–315
Publisher:
IOS Press
ISSN:
0169-2968
Abstract
In this paper, we investigate some important aspects of a new formalism for modelling and verification of hybrid dynamic systems (HDS), which is called multisingular hybrid Petri nets (MSHPNs). This new hybrid formalism is aimed to bridge the gap between hybrid automata (HA) and hybrid Petri nets (HPNs) by equipping the HPN model with the capabilities of HA to control the execution and firing of timed transitions. Practically, MSHPNs can be considered as the counterpart with the same expressive power as multisingular hybrid automata (MSHA). In order to analyse MSHPN models, a speed-based partitioning technique has been introduced in which the variable space is partitioned based on the balance of continuous places. In this paper, we formalize the notions of conflicts and conflict resolution and the challenging issue of speed computation. Then, we focus on considering a translation from a bounded MSHPN to a multisingular hybrid automaton that preserves the behavioural semantics of the original MSHPN in terms of weak timed bisimulation. The translation algorithm uses the speed-based partitioning method and obtains a speed-based partitioning hybrid automaton for a given bounded MSHPN. Model checking a timed property for an MSHPN amounts to model checking its equivalent property on the obtained speed-based partitioning hybrid automaton, thus MSHPN models can be analysed using the existing tools. The advantages of the proposed method are twofold: (1) hybrid systems can be described more succinctly and therefore more readably as MSHPNs, and (2) one can use the existing tools (like HYTECH) to analyse MSHPN models.
[Olesen14th]
Program Analysis as Model Checking(PhD thesis)
Authors:
M. C. Olesen
Date:
2014
Location:
Aalborg, Denmark
School:
Aalborg University
Defended 20 December 2013.
Abstract
Software programs are proliferating throughout modern life, to a point where even the simplest appliances such as lightbulbs contain software, in addition to the software embedded in cars and airplanes. The correct functioning of these programs is therefore of the utmost importance, for the quality and sustenance of life. Due to the complexity inherent in the software it can be very difficult for the software developer to guarantee the absence of errors; automated support in the form of automated program analysis is therefore essential. Two methods have traditionally been proposed: model checking and abstract interpretation. Model checking views the program as a finite automaton and tries to prove logical properties over the automaton model, or present a counter-example if not possible — with a focus on precision. Abstract interpretation translates the program semantics into abstract semantics efficiently represented as a lattice structure, and tries to use the invariants given by the lattice element to prove the absence of errors — with a focus on efficiency. Previous work has argued that on a theoretical level the two methods are converging, and one method can indeed be used to solve the same problems as the other by a reformulation. This thesis argues that there is even a convergence on the practical level, and that a generalisation of the formalism of timed automata into lattice automata captures key aspects of both methods; indeed model checking timed automata can be formulated in terms of an abstract interpretation. For the generalisation to lattice automata to have benefit it is important that efficient tools exist. This thesis presents multi-core tools for efficient and scalable reachability and Büchi emptiness checking of timed/lattice automata. Finally, a number of case studies are considered, among others numerical analysis of C programs, and worst-case execution time analysis of ARM programs. It is shown how lattice automata allow automatic and manual tuning of the precision and efficiency of the verification procedure. In the case of worst-case execution time analysis a sound overapproximation of the hardware is needed; the case of identifying timing anomalous hardware for which such abstractions are hard to find is considered.
[PartushY14]
Abstract Semantic Differencing via Speculative Correlation(Conference paper)
Authors:
N. Partush; E. Yahav
Editors:
A. P. Black; T. D. Millstein
Date:
2014
Publication:
Proceedings of the 2014 ACM International Conference on Object Oriented Programming Systems Languages & Applications
Pages:
811–828
Publisher:
ACM Press, New York, USA
Location:
Portland Oregon USA
ISBN:
978-1-4503-2585-1
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. We focus on infinite-state numerical programs, and use abstract interpretation to compute an overapproximation of program differences.
[PayetMS14TR]
Non-Termination Analysis of Java Bytecode(Technical report)
Authors:
É. Payet; F. Mesnard; F. Spoto
Date:
2014-01
Report number:
arXiv:1401.5292
Institution:
arXiv
Publication type:
Preprint
Abstract
We introduce a fully automated static analysis that takes a sequential Java bytecode program P as input and attempts to prove that there exists an infinite execution of P. The technique consists in compiling P into a constraint logic program P_CLP and in proving non-termination of P_CLP; when P consists of instructions that are exactly compiled into constraints, the non-termination of P_CLP entails that of P. Our approach can handle method calls; to the best of our knowledge, it is the first static approach for Java bytecode able to prove the existence of infinite recursions. We have implemented our technique inside the Julia analyser. We have compared the results of Julia on a set of 113 programs with those provided by AProVE and Invel, the only freely usable non-termination analysers comparable to ours that we are aware of. Only Julia could detect non-termination due to infinite recursion.
[RavanbakhshS14]
Infinite Horizon Safety Controller Synthesis Through Disjunctive Polyhedral Abstract Interpretation(Conference paper)
Authors:
H. Ravanbakhsh; S. Sankaranarayanan
Editors:
T. Mitra; J. Reineke
Date:
2014
Publication:
Proceedings of the 14th International Conference on Embedded Software
Pages:
15:1–15:10
Publisher:
ACM Press, New York, USA
Location:
New Delhi India
Abstract
This paper presents a controller synthesis approach using disjunctive polyhedral abstract interpretation. Our approach synthesizes infinite time-horizon controllers for safety properties with discrete-time, linear plant model and a switching feedback controller that is suitable for time-triggered implementations. The core idea behind our approach is to perform an abstract interpretation over disjunctions of convex polyhedra to identify states that are potentially uncontrollable. Complementing this set yields the set of controllable states, starting from which, the safety property can be guaranteed by an appropriate controller feedback function. Since, a straightforward disjunctive domain is computationally inefficient, we present an abstract domain based on a state partitioning scheme that allows us to efficiently control the complexity of the intermediate representations. Next, we focus on the automatic generation of controller implementation from the abstract interpretation results. We show that a balanced tree approach can yield efficient controller code with guarantees on the worst-case execution time. Finally, we evaluate our approach on a suite of benchmarks, comparing different instantiations with related synthesis tools. The evaluation shows that our approach can successfully synthesize controller implementations for small to medium sized benchmarks.
[SharmaNA14]
Bias-Variance Tradeoffs in Program Analysis(Conference paper)
Authors:
R. Sharma; A. V. Nori; A. Aiken
Editors:
S. Jagannathan; P. Sewell
Date:
2014
Publication:
Proceedings of the 41st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages
Pages:
127–138
Publisher:
ACM Press, New York, USA
Location:
San Diego California USA
ISBN:
978-1-4503-2544-8
Abstract
It is often the case that increasing the precision of a program analysis leads to worse results. It is our thesis that this phenomenon is the result of fundamental limits on the ability to use precise abstract domains as the basis for inferring strong invariants of programs. We show that bias-variance tradeoffs , an idea from learning theory, can be used to explain why more precise abstractions do not necessarily lead to better results and also provides practical techniques for coping with such limitations. Learning theory captures precision using a combinatorial quantity called the VC dimension . We compute the VC dimension for different abstractions and report on its usefulness as a precision metric for program analyses. We evaluate cross validation , a technique for addressing bias-variance tradeoffs, on an industrial strength program verification tool called YOGI. The tool produced using cross validation has significantly better running time, finds new defects, and has fewer time-outs than the current production version. Finally, we make some recommendations for tackling bias-variance tradeoffs in program analysis.
[Singh14th]
Fast Algorithms for Octagon Abstract Domain(Master’s thesis)
Authors:
G. Singh
Date:
2014-04
Location:
Zürich, Switzerland
School:
ETH Zürich
Abstract
Numerical abstract domains are used to discover useful numerical properties about program code such as invariants and absence of runtime errors. There are a number of numerical domains with varying degrees of precision and cost. The Octagon domain is one of the most popular numerical domains which aims to strike a balance between precision and cost. However, the cost of the Octagon domain can still be an issue in practice, especially if the program uses many variables. This thesis develops new, optimized algorithms for some of the most expensive and frequently used operations of the Octagon domain leading to significant speed-ups over existing implementations.
[Soulat14th]
Synthesis of Correct-by-Design Schedulers for Hybrid Systems(PhD thesis)
Authors:
R. Soulat
Date:
2014-02
Location:
Cachan, France
School:
École normale supérieure de Cachan
Abstract
In this thesis, we are interested in designing schedulers for hybrid systems. We consider two specific subclasses of hybrid systems, real-time systems where tasks are competing for the access to common resources, and sampled switched systems where a choice has to be made on dynamics of the system to reach goals. Scheduling consists in defining the order in which the tasks will be run on the processors in order to complete all the tasks before a given deadline. In the first part of this thesis, we are interested in the scheduling of periodic tasks on multiprocessor architectures. We are especially interested in the robustness of schedulers, i.e., to prove that some values of the system parameters can be modified, and until what value they can be extended while preserving the scheduling order and meeting the deadlines. The Inverse Method can be used to prove the robustness of parametric timed systems. In this thesis, we introduce a state space reduction technique which allows us to treat challenging case studies such as one provided by Astrium EADS for the launcher Ariane 6. We also present how an extension of the Inverse Method, the Behavioral Cartography, can solve the problem of schedulability, i.e., finding the area in the parametric space in which there exists a scheduler that satisfies all the deadlines. We compare this approach to an analytic method to illustrate the interest of our approach In the second part of this thesis, we are interested in the control of affine switched systems. These systems are governed by a finite family of affine differential equations. At each time step, a controller can choose which dynamics will govern the system for the next time step. Controlling in this sense can be seen as a scheduling on the order of dynamics the system will have to use. The objective for the controller can be to make the system stay in a given area of the state space (stability) or to reach a given region of the state space (reachability). In this thesis, we propose a novel approach that computes a scheduler where the strategy is uniform for dense subsets of the state space. Moreover, our approach only uses forward computation, which is better suited than backward computation for contractive systems. We show that our designed controllers, systems evolve to a limit cyclic behavior. We apply our method to several case studies from the literature and on a real-life prototype of a multilevel voltage converter. Moreover, we show that our approach can be extended to systems with perturbations and non-linear dynamics.
[SunSLAF14]
Parametric Schedulability Analysis of Fixed Priority Real-Time Distributed Systems(Conference paper)
Authors:
Y. Sun; R. Soulat; G. Lipari; É. André; L. Fribourg
Editors:
C. Artho; P. C. Ölveczky
Date:
2014
Publication:
Formal Techniques for Safety-Critical Systems: Proceedings of the Second International Workshop (FTSCS 2013)
Series:
Communications in Computer and Information Science
Volume:
419
Pages:
212–228
Publisher:
Springer, Cham
Location:
Queenstown, New Zealand
ISBN:
978-3-319-05415-5 (Print) 978-3-319-05416-2 (Online)
Abstract
In this paper, we address the problem of parametric schedulability analysis of distributed real-time systems scheduled by fixed priority. We propose two different approaches to parametric analysis. The first one is a novel analytic technique that extends single-processor sensitivity analysis to the case of distributed systems. The second approach is based on model checking of Parametric Stopwatch Automata (PSA): we generate a PSA model from a high-level description of the system, and then we apply the Inverse Method to obtain all possible behaviours of the system. Both techniques have been implemented in two software tools, and they have been compared with classical holistic analysis on two meaningful test cases. The results show that the analytic method provides results similar to classical holistic analysis in a very efficient way, whereas the PSA approach is slower but covers the entire space of solutions.
[Thakur14th]
Symbolic Abstraction: Algorithms and Applications(PhD thesis)
Authors:
A. V. Thakur
Date:
2014-08
Location:
Madison, WI, USA
School:
University of Wisconsin–Madison
Abstract
This dissertation explores the use of abstraction in two areas of automated reasoning: verification of programs, and decision procedures for logics. Establishing that a program is correct is undecidable in general. Program-verification tools sidestep this tar-pit of undecidability by working on an abstraction of a program, which over-approximates the original program's behavior. The theory underlying this approach is called abstract interpretation. Developing a scalable and precise abstract interpreter is a challenging problem, especially when analyzing machine code. Abstraction provides a new language for the description of decision procedures, leading to new insights. I call such an abstraction-centric view of decision procedures Satisfiability Modulo Abstraction (SMA). The unifying theme behind the dissertation is the concept of symbolic abstraction: Given a formula φ\varphi in logic L\mathcal{L} and an abstract domain A\mathcal{A}, the symbolic abstraction of φ\varphi is the strongest consequence of φ\varphi expressible in A\mathcal{A}. This dissertation advances the field of abstract interpretation by presenting two new algorithms for performing symbolic abstraction, which can be used to synthesize various operations required by an abstract interpreter. The dissertation presents two new algorithms for computing inductive invariants for programs. The dissertation shows how the use of symbolic abstraction enables the design of a new abstract domain capable of representing bit-vector inequality invariants. The dissertation advances the field of machine-code analysis by showing how symbolic abstraction can be used to implement machine-code analyses. Furthermore, the dissertation describes MCVETO, a new model-checking algorithm for machine code. The dissertation advances the field of decision procedures by presenting a variety of SMA solvers. One is based on a generalization of Stålmarck's method, a decision procedure for propositional logic. When viewed through the lens of abstraction, Stålmarck's method can be lifted from propositional logic to richer logics, such as linear rational arithmetic. Furthermore, the SMA view shows that the generalized Stålmarck's method actually performs symbolic abstraction. Thus, the concept of symbolic abstraction brings forth the connection between abstract interpretation and decision procedures. The dissertation describes a new distributed decision procedure for propositional logic, called DiSSolve. Finally, the dissertation presents an SMA solver for a new fragment of separation logic.
[ThakurBR14]
Satisfiability Modulo Abstraction for Separation Logic with Linked Lists(Conference paper)
Authors:
A. Thakur; J. Breck; T. Reps
Editors:
N. Rungta; O. Tkachuk
Date:
2014
Publication:
Proceedings of the 2014 International SPIN Symposium on Model Checking of Software
Pages:
58–67
Publisher:
ACM Press, New York, USA
Location:
San Jose CA USA
ISBN:
978-1-4503-2452-6
Abstract
Separation logic is an expressive logic for reasoning about heap structures in programs. This paper presents a semi-decision procedure for checking unsatisfiability of formulas in a fragment of separation logic that includes points-to assertions (x↦y)(x\mapsto y), acyclic-list-segment assertions (ls(x,y))(\mathrm{ls}(x,y)), logical-and, logical-or, separating conjunction, and septraction (the DeMorgan-dual of separating implication). The fragment that we consider allows negation at leaves, and includes formulas that lie outside other separation-logic fragments considered in the literature. The semi-decision procedure is designed using concepts from abstract interpretation. The procedure uses an abstract domain of shape graphs to represent a set of heap structures, and computes an abstraction that over-approximates the set of satisfying models of a given formula. If the over-approximation is empty, then the formula is unsatisfiable. We have implemented the method, and evaluated it on a set of formulas taken from the literature. The implementation is able to establish the unsatisfiability of formulas that cannot be handled by previous approaches.
[Unruh14]
Quantum Position Verification in the Random Oracle Model(Conference paper)
Authors:
D. Unruh
Editors:
J. A. Garay; R. Gennaro
Date:
2014
Publication:
Advances in Cryptology – CRYPTO 2014
Series:
Lecture Notes in Computer Science
Volume:
8617
Pages:
1–18
Publisher:
Springer-Verlag, Berlin
ISBN:
978-3-662-44380-4 (Print) 978-3-662-44381-1 (Online)
Abstract
We present a quantum position verification scheme in the random oracle model. In contrast to prior work, our scheme does not require bounded storage/retrieval/entanglement assumptions. We also give an efficient position-based authentication protocol. This enables secret and authenticated communication with an entity that is only identified by its position in space.