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
Go func_recall_pct: Bodyless Functions Dropped by _slice_by_braces #1756
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginethreat: false-negativeAccuracy tuning: Engine missed a bypass or vulnerability
Go function recall drops because GitGalaxy misses bodyless functions (e.g., assembly implementations or //go:linkname linked functions).
The Go func_start regex actually succeeds in matching the signatures of these bodyless functions.
However, the extraction pipeline drops them later during scope resolution in gitgalaxy/core/detector.py. Within _slice_by_braces, Go relies on a generic fallback block that searches forward for an opening brace ({). Since these bodyless functions don't have one, brace_idx evaluates to -1, causing the loop to discard the valid function match entirely.
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginethreat: false-negativeAccuracy tuning: Engine missed a bypass or vulnerability
Activity
squid-protocol commentedon Aug 16, 2026
@uuzzrm - if you're interested - care to take a stab at this issue?
fix(go): extract bodyless function declarations (#1756) (#1760)