NEW

EVALUATE C/C++ PROGRAM REPAIR
WITH COMPREHENSIVE BENCHMARKS

Defects4C is an open-source benchmark for evaluating automated program repair techniques on C/C++ code. Features 9M bug-relevant commits, 248 verified bugs, and 102 vulnerabilities.

START RESEARCH VIEW DOCUMENTATION

Trusted By

SecurityLab CodeAnalysis BugHunters RepairTech VulnResearch SafeCode
DEFECTS4C BENCHMARK
🐛 VULNERABLE CODE
1 void vulnerable_func() {
2 char buffer[10];
3 strcpy(buffer, input);
4 // Buffer overflow risk
5 printf("%s", buffer);
6 }
ANALYZING VULNERABILITIES...
📊 ANALYSIS OUTPUT
DEFECTS4C v1.0
Analyzing C/C++ vulnerabilities...
⚠ Buffer overflow detected
✗ CVE-2024-001: strcpy vulnerability
✓ Test case generation: PASSED
✓ Reproduction verified
📈 Benchmark ready for evaluation
🔧 LLM repair techniques available
─────────────────────
Status: READY FOR RESEARCH
9M+
BUG-RELEVANT COMMITS
248+
VERIFIED BUGS
102+
VULNERABILITY FUNCTIONS