A Language-Independent Analysis Platform for Source Code

Konrad Weiss,Christian Banse
DOI: https://doi.org/10.48550/arXiv.2203.08424
2022-03-16
Abstract: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.
Cryptography and Security
What problem does this paper attempt to address?