使用代码搜索定制静态分析
Customizing Static Analysis using Codesearch
AI总结:
本文提出StarLang语言,一种Datalog变体,旨在简化自定义静态分析工具的构建,同时为专家提供熟悉框架,并通过低时间复杂度确保快速运行。
摘要:
静态分析是软件工程中一个不断增长的应用领域,催生了一系列必不可少的安全工具、缺陷查找工具以及软件验证工具。近年来,通用静态分析工具的数量有所增加,这些工具可验证多种属性,并允许定制扫描器的部分功能以验证附加属性或“静态分析规则”。描述一系列静态分析应用的一种常用语言是Datalog。遗憾的是,该语言的使用仍颇具难度,导致难以以精确且高性能的方式实现分析。在本工作中,我们旨在让开发者更容易构建自定义静态分析工具,同时为应用安全和静态分析专家提供一个熟悉的框架。我们的方法引入了一种名为StarLang的语言,它是Datalog的一种变体,仅包含决策过程时间复杂度低、从而运行速度快的程序。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。