arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.11840cs.SE
收藏

Scalpel:Python静态分析框架

Scalpel: The Python Static Analysis Framework

Li Li, Jiawei Wang, Haowei Quan

摘要:

尽管Python是最流行的程序设计语言,但它还没有得到社区的足够关注。据我们所知,目前还没有一个通用的静态分析框架来帮助实现专用的Python静态分析器。为了填补这一空白,我们设计并实现了这样一个框架(名为Scalpel),并将其作为开源项目公开提供。Scalpel框架已经集成了许多基本的静态分析功能(例如,调用图构造、控制流图构造、别名分析等)它们可以被开发人员重用,以实现客户端应用程序,专注于静态解决专用的Python问题,如检测bug或修复漏洞。

英文摘要:

Despite being the most popular programming language, Python has not yet received enough attention from the community. To the best of our knowledge, there is no general static analysis framework proposed to facilitate the implementation of dedicated Python static analyzers. To fill this gap, we design and implement such a framework (named Scalpel) and make it publicly available as an open-source project. The Scalpel framework has already integrated a number of fundamental static analysis functions (e.g., call graph constructions, control-flow graph constructions, alias analysis, etc.) that are ready to be reused by developers to implement client applications focusing on statically resolving dedicated Python problems such as detecting bugs or fixing vulnerabilities.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑