You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
C func_recall_pct: Regex Limitations and Tree-Sitter Anomalies #1754
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginetestingUnit, integration, and E2E pipeline verificationthreat: false-negativeAccuracy tuning: Engine missed a bypass or vulnerability
C function recall drops due to both real regex limitations and tree-sitter ground truth anomalies.
GitGalaxy Regex Limitations (False Negatives):
Macros in Parameter Lists: Functions that wrap a parameter name in a macro (e.g., Py_UNUSED(consts)) cause the parser to fail.
Function Pointer Arguments: Functions taking function pointers as arguments (e.g., int (*cmp)(const char*, const char*)) confuse the regex.
Pre-processor Macros in Annotations / Return Types: Complex annotations and macros scattered between the return type and the function name (especially across multiple lines) are skipped.
Tree-Sitter Parsing Anomalies (Ground-Truth Gaps, Not GitGalaxy's fault):
Switch Cases / Labels: Macros formatted as labels with blocks are erroneously parsed by tree-sitter as function definitions.
Macro Expansions: When a macro generates a function name, tree-sitter incorrectly reports the literal macro name as the function definition.
Keywords as Functions: Tree-sitter occasionally suffers from parse-error cascades, treating keywords (like if) or array initializers as functions.
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginetestingUnit, integration, and E2E pipeline verificationthreat: false-negativeAccuracy tuning: Engine missed a bypass or vulnerability
Activity
test: update golden crucible fixtures for #1754 C regex improvements
fix(c): improve func_start regex for macros and update audit baseline (…
Add docs/language_status/c.md -- full doc plus tri-comparison capstone
Resolve 8 of 11 c tri-comparison ledger shapes, 2 more tooling fixes (#…
Correct overclaim in c.md, cross-reference pre-existing args issues, …