Add pinned C++ source inventory for CFG research
Browse files- README.md +20 -0
- manifest.json +0 -0
README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
task_categories:
|
| 3 |
+
- text-generation
|
| 4 |
+
language:
|
| 5 |
+
- code
|
| 6 |
+
size_categories:
|
| 7 |
+
- n<1K
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Joern C++ GitHub 300: source inventory
|
| 11 |
+
|
| 12 |
+
A research inventory for testing C++ parser and source-CFG tooling. It records **300 distinct public GitHub repositories** and 578 selected C++ source files, plus two repositories where selection found no suitable file. Source files are **not redistributed**: `manifest.json` records exact repository commits, upstream paths, Git blob hashes, SHA-256 hashes, raw source URLs, and GitHub-reported repository SPDX identifiers. The repository-level SPDX value is discovery metadata, not a file-level licensing determination. Review each upstream project and file before downloading or redistributing it.
|
| 13 |
+
|
| 14 |
+
This is an **unqualified source inventory**, not a benchmark leaderboard, a verified CFG oracle, a dataset of compilable translation units, or a claim of standard/version coverage. Source files are selected from public GitHub repository search results stratified by project creation date and a compiler topic query. Rankings and API availability introduce selection bias. The original Ninja, Snappy and double-conversion corpora were excluded. GitHub tree truncation is recorded; the largest-file choice applies only to the returned eligible tree, not necessarily the whole repository. Two entries may point to the same project if upstream projects have copied sources; distinct repositories do not prove independent codebases.
|
| 15 |
+
|
| 16 |
+
Per repository, the selection favors a non-vendored C++ implementation file and, where different, the largest eligible implementation file between 256 bytes and 200,000 bytes. It is a discovery sample rather than a curated set of representative whole projects. Search queries, unsuccessful selection, exact commits and hashes are preserved in the manifest. GNU/C++ standard, actual build flags, generated headers, dependencies, source ownership, license exceptions and target configuration have not been established. Projects may change or disappear; immutable commit URLs and hashes provide verification when still available.
|
| 17 |
+
|
| 18 |
+
The local initial diagnostic ran Rust-Joern in strict mode against raw files. Such files often require headers and macro expansion, so rejections do not measure parser quality. A separate standalone Clang C++17 qualification is in progress. Neither that setting nor a successful parse proves the original project's build mode or CFG correctness. Original Joern and trustworthy compiler-backed CFG comparisons are future work.
|
| 19 |
+
|
| 20 |
+
Selection and run tooling: https://github.com/sjkim1127/joern-c-cpp-corpus . The exact scripts used for this initial inventory may be available in the contributor's working tree until committed. No source file contents or compiler-generated/preprocessed files are uploaded in this dataset.
|
manifest.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|