sjkim1127 commited on
Commit
4c49f8c
·
verified ·
1 Parent(s): 5faa27c

Record bounded parser qualification diagnostics

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. diagnostic-summary.json +43 -0
README.md CHANGED
@@ -15,6 +15,6 @@ This is an **unqualified source inventory**, not a benchmark leaderboard, a veri
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.
 
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 was attempted on all 578 files: 564 were rejected or lacked build context; 8 compiler-accepted files were rejected by Rust-Joern after preprocessing, and 6 produced no functions. Details and limited owner-only diagnostics are in `diagnostic-summary.json`. 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.
diagnostic-summary.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "inventory_sha256": "a2fadd1b16c7d0287e1d111419a6a2c2326eafbc7a8dc9db1fb5fb8cf8d76327",
3
+ "raw_strict": {
4
+ "requested": 578,
5
+ "status_counts": {
6
+ "parse_error": 573,
7
+ "no_functions": 4,
8
+ "output": 1
9
+ },
10
+ "scope": "unpreprocessed raw sources; failures do not measure parser quality"
11
+ },
12
+ "standalone_clang": {
13
+ "requested": 578,
14
+ "status_counts": {
15
+ "compiler_rejected_or_missing_context": 564,
16
+ "native_parse_rejected": 8,
17
+ "no_functions": 6
18
+ },
19
+ "compiler": "Homebrew clang version 22.1.8",
20
+ "standard": "gnu++17 experimentally selected; original unknown",
21
+ "scope": "no project build or guessed headers; compiler rejection includes missing context"
22
+ },
23
+ "owner_only_diagnostic": {
24
+ "qualified_rejected_inputs_examined": 8,
25
+ "rust_parsed": 3,
26
+ "rust_rejected": 5,
27
+ "source_context": "compiler line markers retain only the selected source file; included header declarations removed",
28
+ "original_joern_comparison": {
29
+ "functions_compared": 1,
30
+ "directed_topology_equal": 1,
31
+ "node_edge_role_and_semantics": "not evaluated"
32
+ }
33
+ },
34
+ "layout_mutation": {
35
+ "source_inputs": 3,
36
+ "variants": 24,
37
+ "matching": 24,
38
+ "seed": 20261029,
39
+ "scope": "function identities, call-name multisets and entry/exit-colored CFG topology; not semantic parity"
40
+ },
41
+ "rust_joern_head": "ffda6e29e8470dc8e3c1958a3939c6fc23458a5c",
42
+ "rust_binary_sha256": "965aba1e9368f61fe6fb5fd1a7d7561ddc3f418c014bd0df88df0877d2a8be1b"
43
+ }