PPL citations from 2007
All citation years and BibTeX download
[ArmandoBM07]
Abstraction Refinement of Linear Programs with Arrays(Conference paper)- Authors:
- A. Armando; M. Benerecetti; J. Mantovani
- Editors:
- O. Grumberg; M. Huth
- Date:
- 2007
- Publication:
- Tools and Algorithms for the Construction and Analysis of Systems: Proceedings of the 13th International Conference (TACAS 2007)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 4424
- Pages:
- 373–388
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Braga, Portugal
- ISBN:
- 978-3-540-71208-4
Abstract
In previous work we presented a model checking procedure for linear programs, i.e. programs in which variables range over a numeric domain and expressions involve linear combinations of the variables. In this paper we lift our model checking procedure for linear programs to deal with arrays via iterative abstraction refinement. While most approaches are based on predicate abstraction and therefore the abstraction is relative to sets of predicates, in our approach the abstraction is relative to sets of variables and array indexes, and the abstract program can express complex correlations between program variables and array elements. Thus, while arrays are problematic for most of the approaches based on predicate abstraction, our approach treats them in a precise way. This is an important feature as arrays are ubiquitous in programming. We provide a detailed account of both the abstraction and the refinement processes, discuss their implementation in the eureka tool, and present experimental results that confirm the effectiveness of our approach on a number of programs of interest.
[BagnaraHPZ07TR]
On the Design of Generic Static Analyzers for Modern Imperative Languages(Technical report)- Authors:
- R. Bagnara; P. M. Hill; A. Pescetti; E. Zaffanella
- Date:
- 2007-03
- Report number:
- arXiv:cs/0703116
- Institution:
- arXiv
- Publication type:
- Preprint
Abstract
The design and implementation of precise static analyzers for significant fragments of modern imperative languages like C, C++, Java and Python is a challenging problem. In this paper, we consider a core imperative language that has several features found in mainstream languages such as those including recursive functions, run-time system and user-defined exceptions, and a realistic data and memory model. For this language we provide a concrete semantics –characterizing both finite and infinite computations– and a generic abstract semantics that we prove sound with respect to the concrete one. We say the abstract semantics is generic since it is designed to be completely parametric on the analysis domains: in particular, it provides support for relational domains (i.e., abstract domains that can capture the relationships between different data objects). We also sketch how the proposed methodology can be extended to accommodate a larger language that includes pointers, compound data objects and non-structured control flow mechanisms. The approach, which is based on structured, big-step operational semantics and on abstract interpretation, is modular in that the overall static analyzer is naturally partitioned into components with clearly identified responsibilities and interfaces, something that greatly simplifies both the proof of correctness and the implementation.
[BagnaraHZ07]
A Prolog-Based Environment for Reasoning About Programming Languages (Extended Abstract)(Conference paper)- Authors:
- R. Bagnara; P. M. Hill; E. Zaffanella
- Editors:
- P. M. Hill; W. Vanhoof
- Date:
- 2007
- Publication:
- Proceedings of the 17th Workshop on Logic-Based Methods in Programming Environments (WLPE 2007)
- Location:
- Porto, Portugal
Abstract
ECLAIR is a Prolog-based prototype system aiming to provide a functionally complete environment for the study, development and evaluation of programming language analysis and implementation tools. In this paper, we sketch the overall structure of the system, outlining the main methodologies and technologies underlying its components. We also discuss the appropriateness of Prolog as the implementation language for the system: besides highlighting its strengths, we also point out a few potential weaknesses, hinting at possible solutions.
[BondhugulaRS07]
Automatic Mapping of Nested Loops to FPGAs(Conference paper)- Authors:
- U. Bondhugula; J. Ramanujam; P. Sadayappan
- Editors:
- K. A. Yelick; J. M. Mellor-Crummey
- Date:
- 2007
- Publication:
- Proceedings of the 12th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming
- Pages:
- 101–111
- Publisher:
- ACM Press, New York, USA
- Location:
- San Jose California USA
- ISBN:
- 978-1-59593-602-8
Abstract
This paper present a framework for automatic mapping of perfectly nested loops with constant dependences onto regular processor arrays, suitable for direct implementation on Field Programmable Gate Arrays (FPGAs). The problem is modeled as that of finding a suitable completion procedure for a full-rank linear transformation on the iteration space. The approach enables extraction of necessary degrees of communication-free and pipelined parallelism to optimize performance under the resource constraints of limited logic resources and I/O bandwidth available on an FPGA. The generation of control signals for the custom processing elements is also addressed. Examples of automatic derivation of parallel designs for some common nested loops are provided. Experimental results on the Cray XD1 show that an FPGA-based matrix-multiplication design obtained using the framework attains significant speedup on the XD1's attached FPGA, when compared to execution on the XD1 CPU.
[DenmatGD07]
An Abstract Interpretation Based Combinator for Modelling While Loops in Constraint Programming(Conference paper)- Authors:
- T. Denmat; A. Gotlieb; M. Ducassé
- Editors:
- C. Bessiere
- Date:
- 2007
- Publication:
- Proceedings of the 13th International Conference on Principles and Practice of Constraint Programming (CP 2007)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 4741
- Pages:
- 241–255
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Providence, Rhode Island, USA
- ISBN:
- 978-3-540-74969-1
Abstract
We present the constraint combinator that models while loops in Constraint Programming. Embedded in a finite domain constraint solver, it allows programmers to develop non-trivial arithmetical relations using loops, exactly as in an imperative language style. The deduction capabilities of this combinator come from abstract interpretation over the polyhedra abstract domain. This combinator has already demonstrated its utility in constraint-based verification and we argue that it also facilitates the rapid prototyping of arithmetic constraints (e.g. power, gcd or sum).
[Gobert07th]
Towards putting abstract interpretation of Prolog into practice: design, implementation, and evaluation of a tool to verify and optimise Prolog programs(PhD thesis)- Authors:
- F. Gobert
- Date:
- 2007-12
- Location:
- Louvain-la-Neuve, Belgium
- School:
- Université catholique de Louvain
Abstract
Logic programming is an attractive paradigm that allows the programmer to concentrate on the meaning (the logic) of the problem to be solved - the declarative layer. An execution model is then used as the problem solver - the operational layer. In practice, for efficiency reasons, the semantics of the two layers do not always match. For instance, in Prolog, the computation of solutions is based on an incomplete depth-first search rule, unifications and negations may be unsound, some builtin language primitives are not multidirectional, and there exist extralogical features like the cut or dynamic predicates. A large number of work has been realised to reconcile the declarative and operational features of Prolog. Methodologies have been proposed to construct operationally correct and efficient Prolog code. Researchers have designed methods to automate the verification of specific operational properties on which optimisation of logic programs can be based. A few tools have been implemented but there is a lack of a unified framework. The goal and topic of this thesis is the design, implementation, and evaluation of a static analyser of Prolog programs to integrate `state-of-the-art' techniques into a unified abstract interpretation framework. Abstract interpretation is an adequate methodology to design, justify, and combine complex analyses. The analyser that we present in this thesis is based on a non-implemented original proposal. The original framework defines the notion of abstract sequence, which allows one to verify many desirable operational properties of a logic procedure. The properties include verifying type, mode, and sharing of terms, proving termination, sure success or failure, and determinacy of logic procedures, as well as linear relations between the size of input/output terms and the number of solutions to a call. An abstract sequence maintains information about the input and output terms, as well as the non-failure conditions on input terms, and the number of solutions for such inputs. The domains of abstract sequences cooperate together and improve each other. The abstract execution is performed during a single global analysis, and abstract sequences are derived at each program point (the information of the various domains are computed simultaneously). The intended operational properties of a procedure are written in formal specifications. The original framework is an interesting starting point for combining several analyses inside a unified framework. However, it is limited and inaccurate in many ways: it is not implemented, and therefore, it has not been validated by experiments, it accepts only a subset of Prolog (without negation, cut, conditional and disjunctive constructs), and some of the proposed domains are not precise enough. The basic framework is only oriented towards the verification of Prolog programs, but it cannot always prove the desirable properties. In this thesis, we implement and evaluate the basic framework, and, more importantly, we overcome its limitations to make it accurate and usable in practice: the improved framework accepts any Prolog program with modules, new abstract domains and operations are added, and the language of specifications is more expressive. We also design and implement an optimiser that generates specialised code. Optimisation is essential in Prolog, but it is not easy to perform by hand and it is error prone. The optimiser uses the information to safely apply source-to-source transformations. Code transformations include clause and literal reordering, introduction of cuts, and removal of redundant literals. The optimiser follows a precise strategy to choose the most rewarding transformations in best order. This thesis shows the feasibility of a unified framework that integrates many complex analyses in a single global analysis. Practically and theoretically, a single global analysis is more attractive than a combination of a lot of separate analyses and frameworks. Many extensions have been performed to obtain an accurate and usable tool devoted to verification and optimisation of Prolog programs.
[GobertLC07]
A System to Check Operational Properties of Logic Programs(Conference paper)- Authors:
- F. Gobert; B. Le Charlier
- Editors:
- M.-L. Potet; P.-Y. Schobbens; H. Toussaint; G. Saval
- Date:
- 2007
- Publication:
- Approches Formelles dans l'Assistance au Développement de Logiciels: Actes de la 8e conférence
- Pages:
- 245–259
- Publisher:
- Université de Namur, Belgium
- ISBN:
- 978-2-87037-559-4
Abstract
An implemented static analyser of logic programs is presented. The system is based on a unied abstract interpretation framework, which allows the integration of several analyses devoted to verication and optimisation. The analyser is able to verify many desirable properties of logic programs executed with the search-rule and other specic features of Prolog. Such operational properties include verifying type, mode, sharing, and linearity of terms, proving termination, occur-check freeness, sure success or failure, and determinacy of logic procedures, as well as linear relations between the size of input/output terms and the number of solutions to a call. It is emphasized how each analysis may contribute to each other.
[Gopan07th]
Numeric Program Analysis Techniques with Applications to Array Analysis and Library Summarization(PhD thesis)- Authors:
- D. Gopan
- Date:
- 2007-08
- Location:
- Madison, Wisconsin, USA
- School:
- University of Wisconsin
Abstract
Numeric program analysis is of great importance for the areas of software engineering, software verification, and security: to identify many program errors, such as out-of-bounds array accesses and integer overflows, which constitute the lion's share of security vulnerabilities reported by CERT, an analyzer needs to establish numeric properties of program variables. Many important program analyses, such as low-level code analysis, memory-cleanness analysis, and shape analysis, rely in some ways on numeric-program-analysis techniques. However, existing numeric abstractions are complex (numeric abstract domains are typically non-distributive, and form infinite-height lattices); thus, obtaining precise numeric-analysis results is by no means a trivial undertaking. In this thesis, we develop a suite of techniques with the common goal of improving the precision and applicability of numeric program analysis. The techniques address various aspects of numeric analysis, such as handling dynamically-allocated memory, dealing with programs that manipulate arrays, improving the precision of extrapolation (widening), and performing interprocedural analysis. The techniques use existing numeric abstractions as building blocks. The communication with existing abstractions is done strictly through a generic abstract-domain interface. The abstractions constructed by our techniques also expose that same interface, and thus, are compatible with existing analysis engines. As a result, our techniques are independent from specific abstractions and specific analysis engines, can be easily incorporated into existing program-analysis tools, and should be readily compatible with new abstractions to be introduced in the future. A practical application of numeric analysis that we consider in this thesis is the automatic generation of summaries for library functions from their low-level implementation (that is, from a library's binary). The source code for library functions is typically not available. This poses a stumbling block for many source-level program analyses. Automatic generation of summary functions will both speed up and improve the accuracy of library-modeling, a process that is currently carried out by hand. This thesis addresses the automatic generation of summaries for memory-safety analysis.
[GopanR07a]
Low-Level Library Analysis and Summarization(Conference paper)- Authors:
- D. Gopan; T. W. Reps
- Editors:
- W. Damm; H. Holger
- Date:
- 2007
- Publication:
- Computer Aided Verification: Proceedings of the 19th International Conference (CAV 2007)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 4590
- Pages:
- 68–81
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Berlin, Germany
- ISBN:
- 978-3-540-73367-6
Abstract
Programs typically make extensive use of libraries, including dynamically linked libraries, which are often not available in source-code form, and hence not analyzable by tools that work at source level (i.e., that analyze intermediate representations created from source code). A common approach is to write library models by hand. A library model is a collection of function stubs and variable declarations that capture some aspect of the library code's behavior. Because these are hand-crafted, they are likely to contain errors, which may cause an analysis to return incorrect results. This paper presents a method to construct summary information for a library function automatically by analyzing its low-level implementation (i.e., the library's binary).
[GopanR07b]
Guided Static Analysis(Conference paper)- Authors:
- D. Gopan; T. W. Reps
- Editors:
- G. Filé; H. R. Nielson
- Date:
- 2007
- Publication:
- Static Analysis: Proceedings of the 14th International Symposium
- Series:
- Lecture Notes in Computer Science
- Volume:
- 4634
- Pages:
- 349–365
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Kongens Lyngby, Denmark
- ISBN:
- 978-3-540-74060-5
Abstract
In static analysis, the semantics of the program is expressed as a set of equations. The equations are solved iteratively over some abstract domain. If the abstract domain is distributive and satisfies the ascending-chain condition, an iterative technique yields the most precise solution for the equations. However, if the above properties are not satisfied, the solution obtained is typically imprecise. Moreover, due to the properties of widening operators, the precision loss is sensitive to the order in which the state-space is explored. In this paper, we introduce guided static analysis, a framework for controlling the exploration of the state-space of a program. The framework guides the state-space exploration by applying standard static-analysis techniques to a sequence of modified versions of the analyzed program. As such, the framework does not require any modifications to existing analysis techniques, and thus can be easily integrated into existing static-analysis tools. We present two instantiations of the framework, which improve the precision of widening in (i) loops with multiple phases and (ii) loops in which the transformation performed on each iteration is chosen non-deterministically.
[Henriksen07th]
A Logic Programming Based Approach to Applying Abstract Interpretation to Embedded Software(PhD thesis)- Authors:
- K. S. Henriksen
- Date:
- 2007-10
- Location:
- Roskilde, Denmark
- School:
- Computer Science, Roskilde University
Published as Computer Science Research Report #117
Abstract
Abstract interpretation is a general framework for static program analysis. In recent years this framework has been used outside academia for verification of embedded and real-time systems. Airbus and the European Space Agency are examples of organisations that have successfully adapted this analysis framework for verification of critical components. Logic programming is a programming paradigm with a sound mathematical foundation. One of its characteristics is the separation of logic (the meaning of a program) and control (how it is executed); hence logic programming, and in particular its extension with constraints, is a language comparatively well suited for program analysis. In this thesis logic programming is used to analyse software developed for embedded systems. The particular embedded system is modeled as an emulator written as a constraint logic program. The emulator is specialised with respect to some object program in order to obtain a constraint logic program isomorphic to this object program. Applying abstract interpretation based analysers to the specialised emulator will provide analysis results that can directly be related back to the object program due to the isomorphism maintained between the object program and the specialised emulator. Two abstract interpretation based analysers for logic programs have been developed. The first is a convex polyhedron analyser for constraint logic programs implementing a set of widening techniques for improved precision of the analysis. The second analyser is a type analysis tool for logic programs that automatically derives a pre-interpretation from a regular type definition. Additionallly, a framework for using a restricted form of logic programming, namely Datalog, to express and check program properties is described. At the end of the thesis it is shown how instrumenting the semantics of the emulator can be used to obtain, for instance, a fully automatic Worst Case Execution Time analysis by applying the convex polyhedron analyser to the instrumented and specialised emulator. The tools developed in this thesis have all been made available online for demonstration.
[HenriksenBG07]
Experiments with a Convex Polyhedral Analysis Tool for Logic Programs(Conference paper)- Authors:
- K. S. Henriksen; G. Banda; J. P. Gallagher
- Editors:
- P. M. Hill; W. Vanhoof
- Date:
- 2007
- Publication:
- Proceedings of the 17th Workshop on Logic-Based Methods in Programming Environments (WLPE 2007)
- Location:
- Porto, Portugal
Abstract
Convex polyhedral abstractions of logic programs have been found very useful in deriving numeric relationships between program arguments in order to prove program properties and in other areas such as termination and complexity analysis. We present a tool for constructing polyhedral analyses of (constraint) logic programs. The aim of the tool is to make available, with a convenient interface, state-of-the-art techniques for polyhedral analysis such as delayed widening, narrowing, “widening up-to”, and enhanced automatic selection of widening points. The tool is accessible on the web, permits user programs to be uploaded and analysed, and is integrated with related program transformations such as size abstractions and query-answer transformation. We then report some experiments using the tool, showing how it can be conveniently used to analyse transition systems arising from models of embedded systems, and an emulator for a PIC microcontroller which is used for example in wearable computing systems. We discuss issues including scalability, tradeoffs of precision and computation time, and other program transformations that can enhance the results of analysis.
[JahierR07]
Generating Random Values Using Binary Decision Diagrams and Convex Polyhedra(Book chapter)- Authors:
- E. Jahier; P. Raymond
- Editors:
- F. Benhamou; N. Jussien; B. O'Sullivan
- Date:
- 2007
- Publication:
- Trends in Constraint Programming
- Pages:
- 345–352
- Publisher:
- Wiley
- ISBN:
- 978-1-905209-97-2 (Print) 978-0-470-61230-9 (Online)
Abstract
This article describes algorithms to solve Boolean and numerical constraints, and to randomly select values among the set of solutions. Those algorithms were first designed to generate inputs for testing and simulating reactive real-time programs. As a consequence, the chose a solving technology that allow a fine control in the way solutions are elected. Indeed, a fair selection is sometimes required, while favoring limit cases is often interesting for testing. Moreover, simulating a single reactive execution means generating several hundreds or even several thousands of atomic steps, and thus as many solving steps. Hence, the emphasis is put on efficiency, sometimes sacrificing precision or fairness.
[Jiang07]
Reachability Analysis of Linear Hybrid Automata by Using Counterexample Fragment Based Abstraction Refinement(Conference paper)- Authors:
- S. Jiang
- Date:
- 2007
- Publication:
- Proceedings of the American Control Conference
- Pages:
- 4172–4177
- Publisher:
- IEEE Press
- Location:
- New York, NY, USA
- ISBN:
- 1424409888 1424409896
Abstract
We study the reachability problem of linear hybrid automata. We introduce the notion of linear transition systems that are purely discrete transition systems and do not involve any continuous time dynamics by differential equations. We prove that the reachability problem for linear hybrid automata is equivalent to the reachability problem for linear transition systems. We provide an approach for the reachability analysis of linear transition systems by using counterexample fragment based abstraction refinement. The counterexample validation problem is reduced to the linear constraint satisfaction problem and can be solved by using methods like linear programming. An algorithm of good complexity is provided for the counterexample fragment identification. A new approach for the abstraction refinement is provided based on the identified counterexample fragment and it does not require any computation or representation of reachable state sets in the abstract model, which makes the approach very promising for systems with large number of variables.
[KimGR07]
On Control Signals for Multi-Dimensional Time(Book chapter)- Authors:
- D. Kim; G. Gupta; S. V. Rajopadhye
- Editors:
- G. Almási; C. Caşcaval; P. Wu
- Date:
- 2007
- Publication:
- Languages and Compilers for Parallel Computing
- Series:
- Lecture Notes in Computer Science
- Volume:
- 4382
- Pages:
- 141–155
- Publisher:
- Springer-Verlag, Berlin
- ISBN:
- 978-3-540-72520-6
Revised papers presented at the 19th International Workshop on Languages and Compilers for Parallel Computing (LCPC 2006), New Orleans, Louisiana, USA, November 2–4, 2006
Abstract
Affine control loops (ACLs) comprise an important class of compute- and data-intensive computations. The theoretical framework for the automatic parallelization of ACLs is well established. However, the hardware compilation of arbitrary ACLs is still in its infancy. An important component for an efficient hardware implementation is a control mechanism that informs each processing element (PE) which computation needs to be performed and when. We formulate this control signal problem in the context of compiling arbitrary ACLs parallelized with a multi-dimensional schedule into hardware. We characterize the logical time instants when PEs need a control signal indicating which particular computations need to be performed. Finally, we present an algorithm to compute the minimal set of logical time instants for these control signals.
[LeconteB07]
Extending a CP Solver with Congruences as Domains for Program Verification(Book chapter)- Authors:
- M. Leconte; B. Berstel
- Editors:
- F. Benhamou; N. Jussien; B. O'Sullivan
- Date:
- 2007
- Publication:
- Trends in Constraint Programming
- Pages:
- 337–344
- Publisher:
- Wiley
- ISBN:
- 978-1-905209-97-2 (Print) 978-0-470-61230-9 (Online)
Abstract
Summary This chapter contains sections titled: Related work Congruences as domains Propagation of congruences as domains Cooperation of congruences and intervals Conclusion References
[LeconteB07a]
Domaines de congruence pour la programmation par contraintes(Conference paper)- Authors:
- M. Leconte; B. Berstel
- Date:
- 2007-06
- Publication:
- Actes des Troisièmes Journées Francophones de Programmation par Contraintes (JFPC 2007)
- Location:
- Rocquencourt, France
Abstract
Dans un système de Programmation par Contraintes (PPC), une convergence lente se produit lorsque la propagation prend un temps proportionnel à la taille des domaines des variables. Ce phénomène survient par exemple sur des équations entières aussi simples que et . Les contraintes qui interviennent dans l'analyse de programmes portent souvent sur des variables dont les domaines s'étendent à tous les entiers représentables en machine. Dans ce cas, la convergence lente empêchera en pratique d'atteindre le point fixe de réduction des domaines. Pour lutter contre ce phénomène de convergence lente, nous proposons d'utiliser les domaines de congruence pour enrichir les domaines de la PPC. Cette idée a été introduite par Ph. Granger (1989) dans la communauté de l'interprétation abstraite; nous montrons ici comment un système de PPC peut en tirer parti, par exemple pour découvrir que et n'ont pas de solution entière.
[LerouxS07]
Acceleration in Convex Data-Flow Analysis(Conference paper)- Authors:
- J. Leroux; G. Sutre
- Editors:
- V. Arvind; S. Prasad
- Date:
- 2007
- Publication:
- FSTTCS 2007: Foundations of Software Technology and Theoretical Computer Science
- Series:
- Lecture Notes in Computer Science
- Volume:
- 4855
- Pages:
- 520–531
- Publisher:
- Springer-Verlag, Berlin
- ISBN:
- 978-3-540-77049-7 (Print) 978-3-540-77050-3 (Online)
Abstract
In abstract interpretation-based data-flow analysis, widening operators are usually used in order to speed up the iterative computation of the minimum fix-point solution (MFP). However, the use of widenings may lead to loss of precision in the analysis. Acceleration is an alternative to widening that has mainly been developed for symbolic verification of infinite-state systems. Intuitively, acceleration consists in computing the exact effect of some control-flow cycle in order to speed up reachability analysis. This paper investigates acceleration in convex data-flow analysis of systems with real-valued variables where guards are convex polyhedra and assignments are translations. In particular, we present a simple and algorithmically efficient characterization of MFP-acceleration for cycles with a unique initial location. We also show that the MFP-solution is a computable algebraic polyhedron for systems with two variables.
[MoserKK07]
Exploring Multiple Execution Paths for Malware Analysis(Conference paper)- Authors:
- A. Moser; C. Krügel; E. Kirda
- Date:
- 2007
- Publication:
- Proceedings of the 2007 IEEE Symposium on Security and Privacy (S&P 2007)
- Pages:
- 231–245
- Publisher:
- IEEE Computer Society Press
- Location:
- Oakland, California, USA
Abstract
Malicious code (or malware) is defined as software that fulfills the deliberately harmful intent of an attacker. Malware analysis is the process of determining the behavior and purpose of a given malware sample (such as a virus, worm, or Trojan horse). This process is a necessary step to be able to develop effective detection techniques and removal tools. Currently, malware analysis is mostly a manual process that is tedious and time-intensive. To mitigate this problem, a number of analysis tools have been proposed that automatically extract the behavior of an unknown program by executing it in a restricted environment and recording the operating system calls that are invoked. The problem of dynamic analysis tools is that only a single program execution is observed. Unfortunately, however, it is possible that certain malicious actions are only triggered under specific circumstances (e.g., on a particular day, when a certain file is present, or when a certain command is received). In this paper, we propose a system that allows us to explore multiple execution paths and identify malicious actions that are executed only when certain conditions are met. This enables us to automatically extract a more complete view of the program under analysis and identify under which circumstances suspicious actions are carried out. Our experimental results demonstrate that many malware samples show different behavior depending on input read from the environment. Thus, by exploring multiple execution paths, we can obtain a more complete picture of their actions.
[NasriLGZ07]
Vérification de sûreté et atteignabilité des systèmes hybrides. Etat de l'art(Article)- Authors:
- O. Nasri; M.-A. Lefebvre; H. Guéguen; J. Zaytoon
- Date:
- 2007-12
- Publication:
- Journal Européen des Systèmes Automatisés
- Volume:
- 41
- Issue:
- 7–8
- Pages:
- 855–883
- Publisher:
- Lavoisier
- ISSN:
- 1269-6935
Abstract
Safety verification and reachability for hybrid systems is a very active research domain. Many approaches that seem quite different, have been proposed to solve this complex problem and this paper presents a synthesis of these various approaches with respect to basic problems related to verification of hybrid systems.
[Oanea07th]
Verification of Soundness and Other Properties of Business Processes(PhD thesis)- Authors:
- O. I. Oanea
- Date:
- 2007-12
- Location:
- Eindhoven, The Netherlands
- School:
- Technische Universiteit Eindhoven
- DOI:
- 10.6100/ir631345
Abstract
In this thesis we focus on improving current modeling and verification techniques for complex business processes. The objective of the thesis is to consider several aspects of real-life business processes and give specific solutions to cope with their complexity. In particular, we address verification of a proper termination property for workflows, called generalized soundness. We give a new decision procedure for generalized soundness that improves the original decision procedure. The new decision procedure reports on the decidability status of generalized soundness and returns a counterexample in case the workflow net is not generalized sound. We report on experimental results obtained with the prototype implementation we made and describe how to verify large workflows compositionally, using reduction rules. Next, we concentrate on modeling and verification of adaptive workflows — workflows that are able to change their structure at runtime, for instance when some exceptional events occur. In order to model the exception handling properly and allow structural changes of the system in a modular way, we introduce a new class of nets, called adaptive workflow nets. Adaptive workflow nets are a special type of Nets in Nets and they allow for creation, deletion and transformation of net tokens at runtime and for two types of synchronizations: synchronization on proper termination and synchronization on exception. We define some behavioral properties of adaptive workflow nets: soundness and circumspectness and employ an abstraction to reduce the verification of these properties to the verification of behavioral properties of a finite state abstraction. Further, we study how formal methods can help in understanding and designing business processes. We investigate this for the extended event-driven process chains (eEPCs), a popular industrial business process language used in the ARIS Toolset. Several semantics have been proposed for EPCs. However, most of them concentrated solely on the control flow. We argue that other aspects of business processes must also be taken into account in order to analyze eEPCs and propose a semantics that takes data and time information from eEPCs into account. Moreover, we provide a translation of eEPCs to Timed Colored Petri nets in order to facilitate verification of eEPCs. Finally, we discuss modeling issues for business processes whose behavior may depend on the previous behavior of the process, history which is recorded by workflow management systems as a log. To increase the precision of models with respect to modeling choices depending on the process history, we introduce history-dependent guards. The obtained business processes are called history-dependent processes. We introduce a logic, called LogLogics for the specification of guards based on a log of a current running process and give an evaluation algorithm for such guards. Moreover, we show how these guards can be used in practice and define LogLogics patterns for properties that occur most commonly in practice.
[Palkovic07th]
Enhanced Applicability of Loop Transformations(PhD thesis)- Authors:
- M. Palkovič
- Date:
- 2007-09
- Location:
- Eindhoven, The Netherlands
- School:
- Technische Universiteit Eindhoven
- DOI:
- 10.6100/ir629342
Abstract
Data transfers and storage of large arrays in background memories are dominating contributors to the chip area and power consumption of all modern multimedia embedded systems. Modern high-level memory optimizations contribute to the cost-efficient realization of these systems. In these optimizations an important step involves loop transformations across the global program scope. These transformations can be performed on a geometrical model extracted from the program. The geometrical model captures all the memory access dependencies in the program. Loop transformations in general modify the order in which the iterations and statements within a loop body are executed. This could be beneficial for different reasons such as enabling more parallelism or improving locality of the accessed data. Due to the limitations of current geometrical models, the applicability of the transformations is limited. In this dissertation, we propose several applicability-enhancing techniques for loop transformations. First, hierarchical rewriting separates and encapsulates the details of the application into functions, reducing the complexity of the problem by hiding undesired constructs. Second, we instantiate and extend the scenario technique for loop transformations. A scenario is defined as a selected set of paths in the program which we choose to exploit in the same way. A careful exploitation of scenario information, similar to inlining, path predication or hyperblock creation, can significantly enlarge the exploration space for optimizations. Unlike path predication or inlining, however it can work across several conditional branches, merge several condition bodies, and still control the exponential code explosion. Applying scenarios introduces several trade-offs. The most obvious is that of code duplication vs. more optimizations (similar to tail duplication during hyperblock creation) when additional loop transformations are enabled by scenario usage. The exploration space of the scenario creation technique grows exponentially with the number of paths in the control-flow graph of the application. In this dissertation we propose several heuristics for the scenario creation technique. These heuristics have different time requirements and accuracy limitations. Thus the designer has the possibility to choose the heuristic based on his time and accuracy constraints and the size of the problem. In addition, most current (global scope) loop optimizations target the best solution for locality. In this dissertation we show that targeting the best solution for locality is not necessarily optimal for a particular platform instance, and that trade-offs should be involved during loop transformations when the platform is unknown. This dissertation provides real-life examples of trade-offs during loop transformations and gives an overview of the joint research work in high-level estimators for loop transformations which will make the loop transformations trade-off oriented.
[PayetS07]
Magic-Sets Transformation for the Analysis of Java Bytecode(Conference paper)- Authors:
- E. Payet; F. Spoto
- Editors:
- G. Filé; H. R. Nielson
- Date:
- 2007
- Publication:
- Static Analysis: Proceedings of the 14th International Symposium
- Series:
- Lecture Notes in Computer Science
- Volume:
- 4634
- Pages:
- 452–467
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Kongens Lyngby, Denmark
- ISBN:
- 978-3-540-74060-5
Abstract
Denotational static analysis of Java bytecode has a nice and clean compositional definition and an efficient implementation with binary decision diagrams. But it models only the functional i.e., input/output behaviour of a program , not enough if one needs 's internal behaviours i.e., from the input to some internal program points. We overcome this limitation with a technique used up to now for logic programs only. It adds new magic blocks of code to P, whose functional behaviours are the internal behaviours of . We prove this transformation correct with an operational semantics. We define an equivalent denotational semantics, whose denotations for the magic blocks are hence the internal behaviours of . We implement our transformation and instantiate it with abstract domains modelling sharing of two variables and non-cyclicity of variables. We get a static analyser for full Java bytecode that is faster and scales better than another operational pair-sharing analyser and a constraint-based pointer analyser.
[RenganarayananKRS07]
Parameterized Tiled Loops for Free(Conference paper)- Authors:
- L. Renganarayanan; D. Kim; S. Rajopadhye; M. M. Strout
- Editors:
- J. Ferrante; K. S. McKinley
- Date:
- 2007
- Publication:
- Proceedings of the 28th ACM SIGPLAN Conference on Programming Language Design and Implementation
- Pages:
- 405–414
- Publisher:
- ACM Press, New York, USA
- Location:
- San Diego California USA
- ISBN:
- 9781595936332
Abstract
Parameterized tiled loops-where the tile sizes are not fixed at compile time, but remain symbolic parameters until later–are quite useful for iterative compilers and “auto-tuners” that produce highly optimized libraries and codes. Tile size parameterization could also enable optimizations such as register tiling to become dynamic optimizations. Although it is easy to generate such loops for (hyper) rectangular iteration spaces tiled with (hyper) rectangular tiles, many important computations do not fall into this restricted domain. Parameterized tile code generation for the general case of convex iteration spaces being tiled by (hyper) rectangular tiles has in the past been solved with bounding box approaches or symbolic Fourier Motzkin approaches. However, both approaches have less than ideal code generation efficiency and resulting code quality. We present the theoretical foundations, implementation, and experimental validation of a simple, unified technique for generating parameterized tiled code. Our code generation efficiency is comparable to all existing code generation techniques including those for fixed tile sizes, and the resulting code is as efficient as, if not more than, all previous techniques. Thus the technique provides parameterized tiled loops for free! Our “one-size-fits-all” solution, which is available as open source software can be adapted for use in production compilers.
[SankaranarayananIG07]
Program Analysis Using Symbolic Ranges(Conference paper)- Authors:
- S. Sankaranarayanan; F. Ivancic; A. Gupta
- Editors:
- G. Filé; H. R. Nielson
- Date:
- 2007
- Publication:
- Static Analysis: Proceedings of the 14th International Symposium
- Series:
- Lecture Notes in Computer Science
- Volume:
- 4634
- Pages:
- 366–383
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Kongens Lyngby, Denmark
- ISBN:
- 978-3-540-74060-5
Abstract
Interval analysis seeks static lower and upper bounds on the values of program variables. These bounds are useful, especially for inferring invariants to prove buffer overflow checks. In practice, however, intervals by themselves are often inadequate as invariants due to the lack of relational information among program variables. In this paper, we present a technique for deriving symbolic bounds on variable values. We study a restricted class of polyhedra whose constraints are stratified with respect to some variable ordering provided by the user, or chosen heuristically. We define a notion of normalization for such constraints and demonstrate polynomial time domain operations on the resulting domain of symbolic range constraints. The abstract domain is intended to complement widely used domains such as intervals and octagons for use in buffer overflow analysis. Finally, we study the impact of our analysis on commercial software using an overflow analyzer for the C language.
[SeidlFP07]
Interprocedurally Analysing Linear Inequality Relations(Conference paper)- Authors:
- H. Seidl; A. Flexeder; M. Petter
- Editors:
- R. De Nicola
- Date:
- 2007
- Publication:
- Programming Languages and Systems
- Series:
- Lecture Notes in Computer Science
- Volume:
- 4421
- Pages:
- 284–299
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Braga, Portugal
- ISBN:
- 978-3-540-71314-2 (Print) 978-3-540-71316-6 (Online)
Abstract
In this paper we present an alternative approach to interprocedurally inferring linear inequality relations. We propose an abstraction of the effects of procedures through convex sets of transition matrices. In the absence of conditional branching, this abstraction can be characterised precisely by means of the least solution of a constraint system. In order to handle conditionals, we introduce auxiliary variables and postpone checking them until after the procedure calls. In order to obtain an effective analysis, we approximate convex sets by means of polyhedra. Since our implementation of function composition uses the frame representation of polyhedra, we rely on the subclass of simplices to obtain an efficient implementation. We show that for this abstraction the basic operations can be implemented in polynomial time. First practical experiments indicate that the resulting analysis is quite efficient and provides reasonably precise results.
[SlaninaSSM07TR]
Controller Synthesis of Discrete Linear Plants Using Polyhedra(Technical report)- Authors:
- M. Slanina; S. Sankaranarayanan; H. B. Sipma; Z. Manna
- Date:
- 2007
- Report number:
- REACT-TR-2007-01
- Location:
- Stanford, California, USA
- Institution:
- Computer Science Department, Stanford University
Abstract
We study techniques for synthesizing synchronous controllers for affine plants with disturbances, based on safety specifications. Our plants are modeled in terms of discrete linear systems whose variables are partitioned into system, control, and disturbance variables. We synthesize non-blocking controllers that satisfy a user-provided safety specification by means of a fixed point iteration over the control precondition state transformer. Using convex polyhedra to represent sets of states, we present both precise and approximate algorithms for computing control preconditions and discuss strategies for forcing convergence of the iteration. We present technique for automatically deriving controllers from the result of the analysis, and demonstrate our approach on examples.
[Starynkevitch07]
Multi-Stage Construction of a Global Static Analyzer(Conference paper)- Authors:
- B. Starynkevitch
- Date:
- 2007
- Publication:
- Proceedings of the 2007 GCC Developers' Summit
- Pages:
- 143–151
- Location:
- Ottawa, Canada
Abstract
We describe ongoing work about global static analysis for GCC4 within the GlobalGCC European project, funded thru the ITEA Programme. The aim of this work is to provide global (whole program) static analysis, notably based upon abstract interpretation and knowledge based techniques, within the GCC compiler, targeted for analysis of medium sized C, Fortran or C++ programs. This will facilitate the adoption of GCC in the area of safetycritical software development, by providing features found in a few expensive commercial tools (PolySpace, AbsInt) or research prototypes (Astree). In this perspective, the emphasis is on the quality of analysis, at the expense of much bigger compilation times, without sacrificing scalability. Such analysis can be used for several purposes: statically compute some interesting properties of the program at most control points (possibly reporting them the user); provide clever, contextual, warnings about possible hazards in the user program (null pointer dereferences, zero divide, conversion loss, out of bound array access, …) while avoiding too much false alarms; enable additional optimisations, like conditional contextual constant folding, C++ method call devirtualization, an other contextual optimizations. The compiler's rich program manipulation infrastructure facilitates the development of these advanced analysis capabilities. To facilitate the development high-level semantical analyses, a domain specific language has been developped, and is translated (thru C) into dynamically loaded code. It uses the Parma Polyhedra Library (also used in the GRAPHITE project) for relational analysis on scalars and gives more expressivity to develop analaysis algorithms. It permits multi-staged generation of the specific analysis tailored to the analyzed source code. Presenting this work at the 2007 GCC summit will allow us to stress the importance of all outputs of the compiler, not only object-code, and to expose the complementary contribution of static analyses and dynamic/instrumentation approaches like mudflap.
[vanHeeOSV07]
Verifying Generalized Soundness for Workflow Nets(Conference paper)- Authors:
- K. van Hee; O. Oanea; N. Sidorova; M. Voorhoeve
- Editors:
- I. Virbitskaite; A. Voronkov
- Date:
- 2007
- Publication:
- Perspectives of System Informatics: Proceedings of the 6th International Andrei Ershov Memorial Conference
- Series:
- Lecture Notes in Computer Science
- Volume:
- 4378
- Pages:
- 235–247
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Akademgorodok, Novosibirsk, Russia
- ISBN:
- 978-3-540-70880-3 978-3-540-70881-0
Abstract
We improve the decision procedure from [K. van Hee, N. Sidorova, and M. Voorhoeve. Generalized soundness of workflow nets is decidable. In Proc. of ICATPN'2004, volume 3099 of LNCS, pages 197–216, 2004] for the problem of generalized soundness for workflow nets: “Every marking reachable from an initial marking with tokens on the initial place terminates properly, i.e. it can reach a marking with tokens on the final place, for an arbitrary natural number ”. Moreover, our new decision procedure returns a counterexample in case the workflow net is not generalized sound. We also report on experimental results obtained with the prototype we made and explain how the procedure can be used for the compositional verification of large workflows.
[Vigna07]
Static Disassembly and Code Analysis(Book chapter)- Authors:
- G. Vigna
- Editors:
- M. Christodorescu; S. Jha; D. Maughan; D. Song; C. Wang
- Date:
- 2007
- Publication:
- Malware Detection
- Series:
- Advances in Information Security
- Volume:
- 27
- Pages:
- 19–41
- Publisher:
- Springer-Verlag, Berlin
- ISBN:
- 978-0-387-32720-4
Abstract
The classification of an unknown binary program as malicious or benign requires two steps. In the first step, the stream of bytes that constitutes the program has to be transformed (or disassembled) into the corresponding sequence of machine instructions. In the second step, based on this machine code representation, static or dynamic code analysis techniques can be applied to determine the properties and function of the program. Both the disassembly and code analysis steps can be foiled by techniques that obfuscate the binary representation of a program. Thus, robust techniques are required that deliver reliable results under such adverse circumstances. In this chapter, we introduce a disassemble technique that can deal with obfuscated binaries. Also, we introduce a static code analysis approach that can identify high-level semantic properties of code that are difficult to conceal.
[Walter07th]
Verification of Analog and Mixed-Signal Circuits Using Symbolic Methods(PhD thesis)- Authors:
- D. C. Walter
- Date:
- 2007-08
- Location:
- Salt Lake City, UT, USA
- School:
- University of Utah
Abstract
With the rapidly increasing complexity of hardware, traditional validation techniques are becoming insufficient. This has led to a substantial interest in the formal verification of digital components. There has been relatively little research, however, into the application of formal verification methods to the analog/mixed-signal domain. Therefore, the overall goal of this work is to provide a system for efficient and meaningful analysis of analog/mixed-signal circuits. This encompasses two major efforts: modeling and symbolic analysis. The continuous nature of analog circuits requires a modeling method that is capable of representing continuous behavior and the discrete nature of digital circuits requires a modeling method that is capable of representing discrete behavior. This dual requirement necessitates a hybrid model—a model that can simultaneously represent continuous and discrete behavior. This work details the development of a specialized hybrid Petri net model with capabilities similar to hybrid automata. Analysis is greatly complicated by the addition of continuous behavior to the model. To help alleviate this, infinite numbers of states are often grouped into equivalence classes represented by symbolic structures. The analysis methods described here represent ranges of continuous variables using groups of inequalities which are then either mapped to Binary Decision Diagram variables so that necessary operations can be performed efficiently, or handed over to an advanced Satisfiability Modulo Theories solver for analysis. After describing the verification system in detail, experiences applying the techniques to several case studies are described and performance results are provided.
[WangYGI07]
Using Counterexamples for Improving the Precision of Reachability Computation with Polyhedra(Conference paper)- Authors:
- C. Wang; Z. Yang; A. Gupta; F. Ivančić
- Editors:
- W. Damm; H. Hermanns
- Date:
- 2007
- Publication:
- Computer Aided Verification: Proceedings of the 19th International Conference (CAV 2007)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 4590
- Pages:
- 352–365
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Berlin, Germany
- ISBN:
- 978-3-540-73367-6 (Print)
Abstract
We present an extrapolation with care set operator to accelerate termination of reachability computation with polyhedra. At the same time, a counterexample guided refinement algorithm is used to iteratively expand the care set to improve the precision of the reachability computation. We also introduce two heuristic algorithms called interpolate and restrict to minimize the polyhedral representations without reducing the accuracy. We present some promising experimental results from a preliminary implementation of these techniques.
[YanG07]
Circuit Level Verification of a High-Speed Toggle(Conference paper)- Authors:
- C. Yan; M. R. Greenstreet
- Date:
- 2007
- Publication:
- Proceedings of the Formal Methods in Computer Aided Design (FMCAD'07)
- Pages:
- 199–206
- Publisher:
- IEEE Press
- Location:
- Austin, TX, USA
- ISBN:
- 0769530230
Abstract
As VLSI fabrication technology progresses to 65nm feature sizes and smaller, transistors no longer operate as ideal switches. This motivates verifying digital circuits using continuous models. This paper presents the verification of the high-speed, toggle flip-flop proposed by Yuan and Svensson [1]. Our approach builds on the projection based methods originally proposed by Greenstreet and Mitchell [2], [3]. While they were only able to demonstrate their approach with two- and three-dimensional systems, we apply projection based analysis to a seven-dimensional model for the flip-flop. We believe that this is the largest verification to date of a digital circuit using non-linear circuit-level models. In this paper, we describe how we overcame problems of numerical errors and instability associated with the original projection based methods. In particular, we present a novel linear-program solver and new methods for constructing accurate linear approximations of non-linear dynamics. We use the toggle flip-flop as an example and consider how these methods could be extended to verify a standard cell library for digital design.