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

一个与存储无关的Source Code分析平台

A Language-Independent Analysis Platform for Source Code

Konrad Weiss, Christian Banse

摘要:

在本文中,我们提出了CPG分析平台,它使源代码翻译成一个独立于程序设计语言的表示,基于代码属性图。这允许安全专家和开发人员捕获语言级别的语义用于安全分析或识别与代码遵从性相关的模式。通过使用模糊解析,还可以分析用不同程序设计语言编写的不完整或不可编译的代码。该平台包括一个分析库和接口,用于查询、交互或可视化源代码图。这组CPG工具允许独立于底层程序设计语言,在异构软件环境中找到共同的弱点。

英文摘要:

In this paper, we present the CPG analysis platform, which enables the translation of source code into a programming language-independent representation, based on a code property graph. This allows security experts and developers to capture language level semantics for security analyses or identify patterns with respect to code compliance. Through the use of fuzzy parsing, also incomplete or non-compilable code, written in different programming languages, can be analyzed. The platform comprises an analysis library and interfaces to query, interact with or visualize source code graphs. This set of CPG tools allows finding common weaknesses in heterogeneous software environments, independently of the underlying programming language.

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

↑