McGill University
A symbolic execution-based approach to model transformation verification using structural contracts
Abstract
dc:description.abstractAs the complexity of software systems increases, the engineering effort for developing those systems must deal with that complexity. One paradigm for software development is model-driven engineering, where the models of the system become the first-order artefacts. These models may be used for simulation or analysis of the system, or be transformed into executable code or documentation. The intention is to represent each facet in the system in the most appropriate formalism at the most appropriate level of abstraction.Model transformations provide a structured and understandable way of manipulating these models, and are often rooted in a mathematical approach which enables precise specification and analysis. However, it may be difficult for a user to reason about what elements will be matched and written by a particular transformation. Our research is focused on the verification of model transformations for a particular model transformation language. In particular, we are interested in the proving of pre-condition/ post-condition contracts, which relate the elements in the input models to the transformation with the elements present in the corresponding output elements. DSLTrans The DSLTrans transformation language was selected for our research because of the properties guaranteed by construction: termination and confluence. In this thesis, we provide a description of the semantics of DSLTrans in the double-pushout approach, which brings DSLTrans to the state-of-the-art in model transformation. As well, we provide semantics for other DSLTrans constructs not considered in earlier works. These constructs include negative elements, indirect links, and Exists elements. Contract Proving The core idea of our contract proving approach is to build path conditions for the DSLTrans transformation through a symbolic execution procedure. That is, our technique determines all valid combinations of rules in the transformation. Each of these path conditions will explicitly represent the input and output elements present when that combination of transformation rules execute through an abstraction relation.We then prove pre-condition/ post-condition contracts on these path conditions. If a path condition does not satisfy the contract, then the path condition serves as a counter-example. Examination of this counter-example allows for reasoning about rules and rule interaction in the transformation.As a contribution of this thesis, we consider all constructs in the DSLTrans language and thus we can verify all DSLTrans transformations, including those that contain negative elements. As well, we also define the unique split morphism in this thesis, which allows for the vertices in the pattern graph to 'split' over the vertices in the target graph. The use of this morphism allows us to create fewer path conditions than in previous research, enabling our technique to scale to larger transformations. SyVOLT Tool Another contribution of this thesis is to present the SyVOLT tool, which is our implementation of the path condition generation and contract proof techniques. In this thesis, we discuss the work-flow and implementation details of the prover, with a focus on discussing the multi-paradigm and multi-formalism nature of the tool. We also present a number of techniques to improve the scalability and analysis results of the tool.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Grantor dc:publisher
- McGill University
- Year dc:date.issued
- 2019
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Oakes, Bentley
- Advisor dc:contributor.advisor
-
- Verbrugge, Clark (Supervisor)
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- OCLC
- 1117447275
- Identifier URI
- https://hdl.handle.net/20.500.14905/88747
- Dc Identifier Other
- hyrax:37720g196