Two Papers Accepted at IEEE SCAM Engineering Track
PhASAR is our static data-flow analysis framework written in C++ for the analysis of C/C++ programs. It is based on the LLVM infrastructure. Due to the unique feature of the C/C++ language family such as arbitrary pointers to memory, and unsafe type systems, or multiple inheritance static program analysis for this language family poses a unique challenge. We open-sourced PhASAR in 2018 and since then have received numerous issues and pull requests from academia and industry. It currently has over 600 stars on GitHub.
In the first paper we share the key mistakes we made in the first years of PhASAR as well as our stategies to correct them and come to a more reliable architecture for the framework. We derive some guidelines for the development of future static analysis frameworks.
In the second paper we share our strategies for modelling global variables in an analysis. This is necessary despite that global variable are disencouraged because in real-world code they are still used. They pose a particular challenge for analyses as they may be used to leak information and therefore may influence control flow. Our modelling can of course be used outside of PhASAR as well and may lead to a more sound interpretation of the effects of those variables.
Both papers have been accepted at the Engineering track at the 21st IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM). It is an annual conference on the analysis of source code and derivatives (e.g. bytecode). In this edition a strong emphasis was given on open science with an adjoint artifact track. As PhASAR is already open source we were well-prepared and happy to submit to SCAM.
Into the Woods: Experiences from Building a Dataflow Analysis Framework for C/C++
Philipp Dominik Schubert, Ben Hermann, Eric Bodden, Richard Leer
In 21st IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM) - Engineering Track
DOI: https://doi.org/10.1109/SCAM52516.2021.00011
- Preprint PDF (132 KB)
- BibTeX BIB (425 B)
- Talk Video YOUTUBE (11 B)
Modeling the Effects of Global Variables in Data-Flow Analysis for C/C++
Philipp Dominik Schubert, Florian Sattler, Fabian Schiebel, Ben Hermann, Eric Bodden
In 21st IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM) - Engineering Track
DOI: https://doi.org/10.1109/SCAM52516.2021.00010
- Preprint PDF (223 KB)
- BibTeX BIB (440 B)
- Talk Video YOUTUBE (11 B)