Pragmatics of Formally Verified Yet Efficient Static Analysis, in particular for Formally Verified Compilers

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Monniaux, David
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913426970771456
author Monniaux, David
author_facet Monniaux, David
contents Formally verified compilers and formally verified static analyzers are a solution to the problem that certain industries face when they have to demonstrate to authorities that the object code they run truly corresponds to its source code and that it satisfies certain properties. From a scientific and technological point of view, they are a challenge: not only a number of nontrivial invariants and algorithms must be proved to be correct, but also the implementation must be reasonably effective so that the tools operate within reasonable time. Many optimizations in compilers rely on static analysis, and thus a formally verified compiler entails formally verified static analyses.In this article, we explain some difficulties, possible solutions, design choices and trade-offs pertaining to verified static analysis, in particular when the solution of the analysis is expressed as some form of tree, map or set.
format Preprint
id arxiv_https___arxiv_org_abs_2407_08258
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Pragmatics of Formally Verified Yet Efficient Static Analysis, in particular for Formally Verified Compilers
Monniaux, David
Logic in Computer Science
Programming Languages
Formally verified compilers and formally verified static analyzers are a solution to the problem that certain industries face when they have to demonstrate to authorities that the object code they run truly corresponds to its source code and that it satisfies certain properties. From a scientific and technological point of view, they are a challenge: not only a number of nontrivial invariants and algorithms must be proved to be correct, but also the implementation must be reasonably effective so that the tools operate within reasonable time. Many optimizations in compilers rely on static analysis, and thus a formally verified compiler entails formally verified static analyses.In this article, we explain some difficulties, possible solutions, design choices and trade-offs pertaining to verified static analysis, in particular when the solution of the analysis is expressed as some form of tree, map or set.
title Pragmatics of Formally Verified Yet Efficient Static Analysis, in particular for Formally Verified Compilers
topic Logic in Computer Science
Programming Languages
url https://arxiv.org/abs/2407.08258