Hal: A Language-General Framework for Analysis of User-Specified Monotone Frameworks [DRAFT]

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Rasheed, Abdullah
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913355847958528
author Rasheed, Abdullah
author_facet Rasheed, Abdullah
contents Writing dataflow analyzers requires both language and domain-specificity. That is to say, each programming language and each program property requires its own analyzer. To enable a streamlined, user-driven approach to dataflow analyzers, we introduce the theoretical framework for a user-specified dataflow analysis. This framework is constructed in such a way that the user has to specify as little as possible, while the analyzer infers and computes everything else, including interprocedural embellishments. This theoretical framework was also implemented in Java, where users can specify a program property alongside minimal extra information to induce a dataflow analysis. This framework (both theoretical and in implementation) is language-general, meaning that it is independent of syntax and semantics (as all necessary syntactic and semantic information is provided by the user, and this information is provided only once for a given language). In this paper, we introduce basic notions of intraprocedural and interprocedural dataflow analyses, the proposed "Implicit Monotone Framework," and a rigorous framework for partial functions as a property space.
format Preprint
id arxiv_https___arxiv_org_abs_2405_06505
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Hal: A Language-General Framework for Analysis of User-Specified Monotone Frameworks [DRAFT]
Rasheed, Abdullah
Programming Languages
F.3.2
Writing dataflow analyzers requires both language and domain-specificity. That is to say, each programming language and each program property requires its own analyzer. To enable a streamlined, user-driven approach to dataflow analyzers, we introduce the theoretical framework for a user-specified dataflow analysis. This framework is constructed in such a way that the user has to specify as little as possible, while the analyzer infers and computes everything else, including interprocedural embellishments. This theoretical framework was also implemented in Java, where users can specify a program property alongside minimal extra information to induce a dataflow analysis. This framework (both theoretical and in implementation) is language-general, meaning that it is independent of syntax and semantics (as all necessary syntactic and semantic information is provided by the user, and this information is provided only once for a given language). In this paper, we introduce basic notions of intraprocedural and interprocedural dataflow analyses, the proposed "Implicit Monotone Framework," and a rigorous framework for partial functions as a property space.
title Hal: A Language-General Framework for Analysis of User-Specified Monotone Frameworks [DRAFT]
topic Programming Languages
F.3.2
url https://arxiv.org/abs/2405.06505