












Abstract:Multi-view code graphs that align abstract syntax trees, control flow graphs, and data flow graphs are now central to machine-learning models for software engineering. For C and C++, no single tool produces these aligned views without a complete build. We present ATLAS, a command-line tool that takes one or more C or C++ source files and emits an AST, a source-level inter-procedural CFG, a reaching-definition DFG, or any combination. The output is available as JSON, DOT, or PNG. ATLAS runs directly on source code and accepts partial input such as a project with missing headers, so it needs no compilation or build database. All views share one node namespace, so a downstream consumer can recover any single view by filtering edges. Command-line flags select views, collapse variables, and blacklist node categories to resize the emitted graph. On the TheAlgorithms corpora, ATLAS produces a correct CFG for 96.80% of C files and 91.67% of C++ files, including files that do not compile. It already serves as the CFG front-end of an LLM-based unit-test generation framework for C. ATLAS is open source and ships as a Docker image with a screencast walkthrough. Demo link: this https URL.
From: Jaid Monwar Chowdhury [view email]
[v1]
Sun, 14 Dec 2025 01:11:11 UTC (660 KB)
[v2]
Tue, 27 Jan 2026 11:07:02 UTC (2,304 KB)
[v3]
Thu, 19 Feb 2026 10:45:42 UTC (2,310 KB)
[v4]
Tue, 30 Jun 2026 21:30:30 UTC (1,472 KB)
[v5]
Sun, 26 Jul 2026 21:30:50 UTC (3,466 KB)
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。