Token-aware windows
Long functions are cleaned and split consistently so relevant code is not silently truncated.
PREPROCESS / WINDOWVULNERA ranks risky C and C++ functions using learned code representations, calibrated ensemble scoring, corroborated signatures, and explainable evidence.
Forward temporal evaluation.
Human review remains required.
THIS IS A TRIAGE INSTRUMENT — NOT AN AUTONOMOUS VULNERABILITY ORACLE.
RISK SCORES PRIORITIZE REVIEW. EVIDENCE SUPPORTS JUDGMENT.
Select a function to inspect the evidence behind its queue position.
184 int parse_packet(char *input) { 185 struct packet packet; 186 parse_header(input, &header); 187 memcpy(packet.data, input, header.length); 188 return process(&packet); 189 }
High-risk window aligns with an unsafe memory operation and untrusted length flow. Confirm bounds handling across callers.
Multiple bounded evidence layers build a reviewable case, without overstating certainty.
Long functions are cleaned and split consistently so relevant code is not silently truncated.
PREPROCESS / WINDOWGraphCodeBERT embeddings capture structural and semantic patterns across each function window.
GRAPHCODEBERT / CLSTree models and a meta learner combine, then isotonic calibration aligns score with observed risk.
STACK / CALIBRATECWE-787+0.08CWE signatures support the learned score with capped uplift and visible pattern evidence.
SIGNATURE / CAPOlder data trains the system; later vulnerability data measures generalization in a more realistic direction.
The deployed operating point favors finding risky functions for review, while retaining visible precision tradeoffs.
Scores, windows, code markers, signatures, and optional explanations support analyst judgment rather than replace it.