Inferring Region Types via an Abstract Notion of Environment Transformation

09/05/2022
by   Ulrich Schöpp, et al.
0

Region-based type systems are a powerful tool for various kinds of program analysis. We introduce a new inference algorithm for region types based on an abstract notion of environment transformation. It analyzes the code of a method only once, even when there are multiple invocations of the method of different region types in the program. Elements of such an abstract transformation are essentially constraints for equality and subtyping that capture flow information of the program. In particular, we work with access graphs in the definition of abstract transformations to guarantee the termination of the inference algorithm, because they provide a finite representation of field access paths.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/07/2020

An Experiment Combining Specialization with Abstract Interpretation

It was previously shown that control-flow refinement can be achieved by ...
research
08/20/2019

Polyvariant Program Specialisation with Property-based Abstraction

In this paper we show that property-based abstraction, an established te...
research
05/05/2023

CHAMELEON: OutSystems Live Bidirectional Transformations

In model-driven engineering, the bidirectional transformation of models ...
research
01/25/2017

Towards Automatic Learning of Heuristics for Mechanical Transformations of Procedural Code

The current trends in next-generation exascale systems go towards integr...
research
04/17/2018

An iterative approach to precondition inference using constrained Horn clauses

We present a method for automatic inference of conditions on the initial...
research
09/17/2018

Verification of High-Level Transformations with Inductive Refinement Types

High-level transformation languages like Rascal include expressive featu...
research
09/30/2019

Continuous Flow Analysis to Detect Security Problems

We introduce a tool that supports continuous flow analysis in order to d...

Please sign up or login with your details

Forgot password? Click here to reset