Customizing Static Analysis using Codesearch

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Hayoun, Avi, Raychev, Veselin, Hair, Jack
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914761660170240
author Hayoun, Avi
Raychev, Veselin
Hair, Jack
author_facet Hayoun, Avi
Raychev, Veselin
Hair, Jack
contents Static analysis is a growing application of software engineering, leading to a range of essential security tools, bug-finding tools, as well as software verification. Recent years show an increase of universal static analysis tools that validate a range of properties and allow customizing parts of the scanner to validate additional properties or "static analysis rules". A commonly used language to describe a range of static analysis applications is Datalog. Unfortunately, the language is still non-trivial to use, leading to analysis that is difficult to implement in a precise but performant way. In this work, we aim to make building custom static analysis tools much easier for developers, while at the same time, providing a familiar framework for application security and static analysis experts. Our approach introduces a language called StarLang, a variant of Datalog which only includes programs with a fast runtime by the means of having low time complexity of its decision procedure.
format Preprint
id arxiv_https___arxiv_org_abs_2404_12747
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Customizing Static Analysis using Codesearch
Hayoun, Avi
Raychev, Veselin
Hair, Jack
Programming Languages
Logic in Computer Science
Software Engineering
Static analysis is a growing application of software engineering, leading to a range of essential security tools, bug-finding tools, as well as software verification. Recent years show an increase of universal static analysis tools that validate a range of properties and allow customizing parts of the scanner to validate additional properties or "static analysis rules". A commonly used language to describe a range of static analysis applications is Datalog. Unfortunately, the language is still non-trivial to use, leading to analysis that is difficult to implement in a precise but performant way. In this work, we aim to make building custom static analysis tools much easier for developers, while at the same time, providing a familiar framework for application security and static analysis experts. Our approach introduces a language called StarLang, a variant of Datalog which only includes programs with a fast runtime by the means of having low time complexity of its decision procedure.
title Customizing Static Analysis using Codesearch
topic Programming Languages
Logic in Computer Science
Software Engineering
url https://arxiv.org/abs/2404.12747