The paper presents the extendable C/C++ whole-program call-graph tool MetaCG. We introduce its graph library, the Clang-based tool CGCollector to construct the call graph and attach meta information, and CGValidate to check for missing edges given a particular execution. MetaCG offers extendability through its metadata function-annotation mechanism to transfer information between tools. It preserves inheritance hierarchies and can be serialized into JSON. We evaluate CG-Collector's ability to construct whole-program call-graphs for C/C++ code and, subsequently, present a performance profiler and a memory sanitizer that rely on MetaCG for whole-program call-graph information
CITATION STYLE
Lehr, J. P., Hück, A., Fischler, Y., & Bischof, C. (2020). MetaCG: Annotated call-graphs to facilitate whole-program analysis. In TAPAS 2020 - Proceedings of the 11th ACM SIGPLAN International Workshop on Tools for Automatic Program Analysis, Co-located with SPLASH 2020 (pp. 3–9). Association for Computing Machinery, Inc. https://doi.org/10.1145/3427764.3428320
Mendeley helps you to discover research relevant for your work.