id stringlengths 6 8 | source_dataset stringclasses 1
value | cwe stringclasses 8
values | cwe_id stringclasses 1
value | cwe_name stringclasses 1
value | language stringclasses 1
value | vulnerable_code stringlengths 305 307 | secure_code stringlengths 207 209 | severity stringclasses 1
value | cvss_score stringclasses 1
value | url stringclasses 1
value | repository stringclasses 1
value | commit_hash stringclasses 1
value | timestamp stringclasses 1
value | metadata dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sven_0 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00000
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00000
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00000
// CWE: CWE-022
// Fixed version of vulnerability pair 00000
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00000"
} | ||||||||
sven_1 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00002
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00002
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00002
// CWE: CWE-022
// Fixed version of vulnerability pair 00002
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00002"
} | ||||||||
sven_2 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00003
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00003
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00003
// CWE: CWE-022
// Fixed version of vulnerability pair 00003
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00003"
} | ||||||||
sven_3 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00004
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00004
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00004
// CWE: CWE-022
// Fixed version of vulnerability pair 00004
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00004"
} | ||||||||
sven_4 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00006
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00006
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00006
// CWE: CWE-022
// Fixed version of vulnerability pair 00006
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00006"
} | ||||||||
sven_5 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00008
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00008
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00008
// CWE: CWE-022
// Fixed version of vulnerability pair 00008
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00008"
} | ||||||||
sven_6 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00013
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00013
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00013
// CWE: CWE-022
// Fixed version of vulnerability pair 00013
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00013"
} | ||||||||
sven_7 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00017
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00017
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00017
// CWE: CWE-022
// Fixed version of vulnerability pair 00017
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00017"
} | ||||||||
sven_8 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00021
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00021
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00021
// CWE: CWE-022
// Fixed version of vulnerability pair 00021
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00021"
} | ||||||||
sven_9 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00023
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00023
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00023
// CWE: CWE-022
// Fixed version of vulnerability pair 00023
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00023"
} | ||||||||
sven_10 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00025
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00025
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00025
// CWE: CWE-022
// Fixed version of vulnerability pair 00025
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00025"
} | ||||||||
sven_11 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00027
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00027
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00027
// CWE: CWE-022
// Fixed version of vulnerability pair 00027
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00027"
} | ||||||||
sven_12 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00028
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00028
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00028
// CWE: CWE-022
// Fixed version of vulnerability pair 00028
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00028"
} | ||||||||
sven_13 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00030
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00030
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00030
// CWE: CWE-022
// Fixed version of vulnerability pair 00030
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00030"
} | ||||||||
sven_14 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00031
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00031
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00031
// CWE: CWE-022
// Fixed version of vulnerability pair 00031
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00031"
} | ||||||||
sven_15 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00033
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00033
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00033
// CWE: CWE-022
// Fixed version of vulnerability pair 00033
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00033"
} | ||||||||
sven_16 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00035
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00035
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00035
// CWE: CWE-022
// Fixed version of vulnerability pair 00035
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00035"
} | ||||||||
sven_17 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00037
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00037
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00037
// CWE: CWE-022
// Fixed version of vulnerability pair 00037
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00037"
} | ||||||||
sven_18 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00038
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00038
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00038
// CWE: CWE-022
// Fixed version of vulnerability pair 00038
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00038"
} | ||||||||
sven_19 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00039
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00039
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00039
// CWE: CWE-022
// Fixed version of vulnerability pair 00039
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00039"
} | ||||||||
sven_20 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00043
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00043
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00043
// CWE: CWE-022
// Fixed version of vulnerability pair 00043
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00043"
} | ||||||||
sven_21 | SVEN | CWE-022 | c | // Vulnerable code: sven-train-CWE-022-00046
// CWE: CWE-022
// This is a placeholder for SVEN vulnerability pair 00046
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-022
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-022-00046
// CWE: CWE-022
// Fixed version of vulnerability pair 00046
void secure_function() {
// Fixed pattern from CWE-022
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-022-00046"
} | ||||||||
sven_22 | SVEN | CWE-078 | c | // Vulnerable code: sven-train-CWE-078-00041
// CWE: CWE-078
// This is a placeholder for SVEN vulnerability pair 00041
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-078
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-078-00041
// CWE: CWE-078
// Fixed version of vulnerability pair 00041
void secure_function() {
// Fixed pattern from CWE-078
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-078-00041"
} | ||||||||
sven_23 | SVEN | CWE-078 | c | // Vulnerable code: sven-train-CWE-078-00046
// CWE: CWE-078
// This is a placeholder for SVEN vulnerability pair 00046
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-078
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-078-00046
// CWE: CWE-078
// Fixed version of vulnerability pair 00046
void secure_function() {
// Fixed pattern from CWE-078
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-078-00046"
} | ||||||||
sven_24 | SVEN | CWE-078 | c | // Vulnerable code: sven-train-CWE-078-00048
// CWE: CWE-078
// This is a placeholder for SVEN vulnerability pair 00048
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-078
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-078-00048
// CWE: CWE-078
// Fixed version of vulnerability pair 00048
void secure_function() {
// Fixed pattern from CWE-078
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-078-00048"
} | ||||||||
sven_25 | SVEN | CWE-078 | c | // Vulnerable code: sven-train-CWE-078-00053
// CWE: CWE-078
// This is a placeholder for SVEN vulnerability pair 00053
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-078
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-078-00053
// CWE: CWE-078
// Fixed version of vulnerability pair 00053
void secure_function() {
// Fixed pattern from CWE-078
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-078-00053"
} | ||||||||
sven_26 | SVEN | CWE-079 | c | // Vulnerable code: sven-train-CWE-079-00001
// CWE: CWE-079
// This is a placeholder for SVEN vulnerability pair 00001
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-079
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-079-00001
// CWE: CWE-079
// Fixed version of vulnerability pair 00001
void secure_function() {
// Fixed pattern from CWE-079
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-079-00001"
} | ||||||||
sven_27 | SVEN | CWE-079 | c | // Vulnerable code: sven-train-CWE-079-00010
// CWE: CWE-079
// This is a placeholder for SVEN vulnerability pair 00010
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-079
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-079-00010
// CWE: CWE-079
// Fixed version of vulnerability pair 00010
void secure_function() {
// Fixed pattern from CWE-079
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-079-00010"
} | ||||||||
sven_28 | SVEN | CWE-079 | c | // Vulnerable code: sven-train-CWE-079-00015
// CWE: CWE-079
// This is a placeholder for SVEN vulnerability pair 00015
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-079
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-079-00015
// CWE: CWE-079
// Fixed version of vulnerability pair 00015
void secure_function() {
// Fixed pattern from CWE-079
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-079-00015"
} | ||||||||
sven_29 | SVEN | CWE-079 | c | // Vulnerable code: sven-train-CWE-079-00022
// CWE: CWE-079
// This is a placeholder for SVEN vulnerability pair 00022
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-079
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-079-00022
// CWE: CWE-079
// Fixed version of vulnerability pair 00022
void secure_function() {
// Fixed pattern from CWE-079
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-079-00022"
} | ||||||||
sven_30 | SVEN | CWE-079 | c | // Vulnerable code: sven-train-CWE-079-00029
// CWE: CWE-079
// This is a placeholder for SVEN vulnerability pair 00029
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-079
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-079-00029
// CWE: CWE-079
// Fixed version of vulnerability pair 00029
void secure_function() {
// Fixed pattern from CWE-079
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-079-00029"
} | ||||||||
sven_31 | SVEN | CWE-079 | c | // Vulnerable code: sven-train-CWE-079-00038
// CWE: CWE-079
// This is a placeholder for SVEN vulnerability pair 00038
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-079
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-079-00038
// CWE: CWE-079
// Fixed version of vulnerability pair 00038
void secure_function() {
// Fixed pattern from CWE-079
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-079-00038"
} | ||||||||
sven_32 | SVEN | CWE-079 | c | // Vulnerable code: sven-train-CWE-079-00039
// CWE: CWE-079
// This is a placeholder for SVEN vulnerability pair 00039
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-079
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-079-00039
// CWE: CWE-079
// Fixed version of vulnerability pair 00039
void secure_function() {
// Fixed pattern from CWE-079
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-079-00039"
} | ||||||||
sven_33 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00000
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00000
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00000
// CWE: CWE-125
// Fixed version of vulnerability pair 00000
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00000"
} | ||||||||
sven_34 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00001
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00001
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00001
// CWE: CWE-125
// Fixed version of vulnerability pair 00001
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00001"
} | ||||||||
sven_35 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00002
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00002
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00002
// CWE: CWE-125
// Fixed version of vulnerability pair 00002
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00002"
} | ||||||||
sven_36 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00003
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00003
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00003
// CWE: CWE-125
// Fixed version of vulnerability pair 00003
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00003"
} | ||||||||
sven_37 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00004
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00004
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00004
// CWE: CWE-125
// Fixed version of vulnerability pair 00004
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00004"
} | ||||||||
sven_38 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00005
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00005
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00005
// CWE: CWE-125
// Fixed version of vulnerability pair 00005
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00005"
} | ||||||||
sven_39 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00006
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00006
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00006
// CWE: CWE-125
// Fixed version of vulnerability pair 00006
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00006"
} | ||||||||
sven_40 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00007
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00007
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00007
// CWE: CWE-125
// Fixed version of vulnerability pair 00007
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00007"
} | ||||||||
sven_41 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00008
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00008
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00008
// CWE: CWE-125
// Fixed version of vulnerability pair 00008
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00008"
} | ||||||||
sven_42 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00009
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00009
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00009
// CWE: CWE-125
// Fixed version of vulnerability pair 00009
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00009"
} | ||||||||
sven_43 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00010
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00010
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00010
// CWE: CWE-125
// Fixed version of vulnerability pair 00010
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00010"
} | ||||||||
sven_44 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00011
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00011
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00011
// CWE: CWE-125
// Fixed version of vulnerability pair 00011
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00011"
} | ||||||||
sven_45 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00012
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00012
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00012
// CWE: CWE-125
// Fixed version of vulnerability pair 00012
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00012"
} | ||||||||
sven_46 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00013
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00013
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00013
// CWE: CWE-125
// Fixed version of vulnerability pair 00013
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00013"
} | ||||||||
sven_47 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00014
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00014
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00014
// CWE: CWE-125
// Fixed version of vulnerability pair 00014
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00014"
} | ||||||||
sven_48 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00015
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00015
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00015
// CWE: CWE-125
// Fixed version of vulnerability pair 00015
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00015"
} | ||||||||
sven_49 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00016
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00016
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00016
// CWE: CWE-125
// Fixed version of vulnerability pair 00016
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00016"
} | ||||||||
sven_50 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00017
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00017
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00017
// CWE: CWE-125
// Fixed version of vulnerability pair 00017
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00017"
} | ||||||||
sven_51 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00018
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00018
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00018
// CWE: CWE-125
// Fixed version of vulnerability pair 00018
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00018"
} | ||||||||
sven_52 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00019
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00019
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00019
// CWE: CWE-125
// Fixed version of vulnerability pair 00019
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00019"
} | ||||||||
sven_53 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00020
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00020
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00020
// CWE: CWE-125
// Fixed version of vulnerability pair 00020
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00020"
} | ||||||||
sven_54 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00021
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00021
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00021
// CWE: CWE-125
// Fixed version of vulnerability pair 00021
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00021"
} | ||||||||
sven_55 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00022
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00022
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00022
// CWE: CWE-125
// Fixed version of vulnerability pair 00022
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00022"
} | ||||||||
sven_56 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00023
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00023
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00023
// CWE: CWE-125
// Fixed version of vulnerability pair 00023
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00023"
} | ||||||||
sven_57 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00024
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00024
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00024
// CWE: CWE-125
// Fixed version of vulnerability pair 00024
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00024"
} | ||||||||
sven_58 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00025
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00025
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00025
// CWE: CWE-125
// Fixed version of vulnerability pair 00025
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00025"
} | ||||||||
sven_59 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00026
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00026
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00026
// CWE: CWE-125
// Fixed version of vulnerability pair 00026
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00026"
} | ||||||||
sven_60 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00027
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00027
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00027
// CWE: CWE-125
// Fixed version of vulnerability pair 00027
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00027"
} | ||||||||
sven_61 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00028
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00028
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00028
// CWE: CWE-125
// Fixed version of vulnerability pair 00028
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00028"
} | ||||||||
sven_62 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00029
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00029
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00029
// CWE: CWE-125
// Fixed version of vulnerability pair 00029
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00029"
} | ||||||||
sven_63 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00030
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00030
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00030
// CWE: CWE-125
// Fixed version of vulnerability pair 00030
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00030"
} | ||||||||
sven_64 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00031
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00031
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00031
// CWE: CWE-125
// Fixed version of vulnerability pair 00031
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00031"
} | ||||||||
sven_65 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00032
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00032
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00032
// CWE: CWE-125
// Fixed version of vulnerability pair 00032
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00032"
} | ||||||||
sven_66 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00033
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00033
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00033
// CWE: CWE-125
// Fixed version of vulnerability pair 00033
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00033"
} | ||||||||
sven_67 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00034
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00034
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00034
// CWE: CWE-125
// Fixed version of vulnerability pair 00034
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00034"
} | ||||||||
sven_68 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00035
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00035
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00035
// CWE: CWE-125
// Fixed version of vulnerability pair 00035
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00035"
} | ||||||||
sven_69 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00036
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00036
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00036
// CWE: CWE-125
// Fixed version of vulnerability pair 00036
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00036"
} | ||||||||
sven_70 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00037
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00037
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00037
// CWE: CWE-125
// Fixed version of vulnerability pair 00037
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00037"
} | ||||||||
sven_71 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00038
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00038
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00038
// CWE: CWE-125
// Fixed version of vulnerability pair 00038
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00038"
} | ||||||||
sven_72 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00039
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00039
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00039
// CWE: CWE-125
// Fixed version of vulnerability pair 00039
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00039"
} | ||||||||
sven_73 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00040
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00040
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00040
// CWE: CWE-125
// Fixed version of vulnerability pair 00040
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00040"
} | ||||||||
sven_74 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00041
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00041
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00041
// CWE: CWE-125
// Fixed version of vulnerability pair 00041
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00041"
} | ||||||||
sven_75 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00042
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00042
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00042
// CWE: CWE-125
// Fixed version of vulnerability pair 00042
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00042"
} | ||||||||
sven_76 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00043
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00043
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00043
// CWE: CWE-125
// Fixed version of vulnerability pair 00043
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00043"
} | ||||||||
sven_77 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00044
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00044
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00044
// CWE: CWE-125
// Fixed version of vulnerability pair 00044
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00044"
} | ||||||||
sven_78 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00045
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00045
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00045
// CWE: CWE-125
// Fixed version of vulnerability pair 00045
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00045"
} | ||||||||
sven_79 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00046
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00046
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00046
// CWE: CWE-125
// Fixed version of vulnerability pair 00046
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00046"
} | ||||||||
sven_80 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00047
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00047
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00047
// CWE: CWE-125
// Fixed version of vulnerability pair 00047
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00047"
} | ||||||||
sven_81 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00048
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00048
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00048
// CWE: CWE-125
// Fixed version of vulnerability pair 00048
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00048"
} | ||||||||
sven_82 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00049
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00049
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00049
// CWE: CWE-125
// Fixed version of vulnerability pair 00049
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00049"
} | ||||||||
sven_83 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00050
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00050
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00050
// CWE: CWE-125
// Fixed version of vulnerability pair 00050
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00050"
} | ||||||||
sven_84 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00051
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00051
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00051
// CWE: CWE-125
// Fixed version of vulnerability pair 00051
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00051"
} | ||||||||
sven_85 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00052
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00052
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00052
// CWE: CWE-125
// Fixed version of vulnerability pair 00052
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00052"
} | ||||||||
sven_86 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00053
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00053
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00053
// CWE: CWE-125
// Fixed version of vulnerability pair 00053
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00053"
} | ||||||||
sven_87 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00054
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00054
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00054
// CWE: CWE-125
// Fixed version of vulnerability pair 00054
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00054"
} | ||||||||
sven_88 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00055
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00055
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00055
// CWE: CWE-125
// Fixed version of vulnerability pair 00055
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00055"
} | ||||||||
sven_89 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00056
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00056
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00056
// CWE: CWE-125
// Fixed version of vulnerability pair 00056
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00056"
} | ||||||||
sven_90 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00057
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00057
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00057
// CWE: CWE-125
// Fixed version of vulnerability pair 00057
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00057"
} | ||||||||
sven_91 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00058
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00058
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00058
// CWE: CWE-125
// Fixed version of vulnerability pair 00058
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00058"
} | ||||||||
sven_92 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00059
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00059
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00059
// CWE: CWE-125
// Fixed version of vulnerability pair 00059
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00059"
} | ||||||||
sven_93 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00060
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00060
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00060
// CWE: CWE-125
// Fixed version of vulnerability pair 00060
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00060"
} | ||||||||
sven_94 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00061
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00061
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00061
// CWE: CWE-125
// Fixed version of vulnerability pair 00061
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00061"
} | ||||||||
sven_95 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00062
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00062
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00062
// CWE: CWE-125
// Fixed version of vulnerability pair 00062
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00062"
} | ||||||||
sven_96 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00063
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00063
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00063
// CWE: CWE-125
// Fixed version of vulnerability pair 00063
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00063"
} | ||||||||
sven_97 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00064
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00064
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00064
// CWE: CWE-125
// Fixed version of vulnerability pair 00064
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00064"
} | ||||||||
sven_98 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00065
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00065
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00065
// CWE: CWE-125
// Fixed version of vulnerability pair 00065
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00065"
} | ||||||||
sven_99 | SVEN | CWE-125 | c | // Vulnerable code: sven-train-CWE-125-00066
// CWE: CWE-125
// This is a placeholder for SVEN vulnerability pair 00066
// Original SVEN dataset is proprietary and should be replaced here
void vulnerable_function() {
// Vulnerability pattern from CWE-125
// Placeholder - replace with actual code
} | // Secure code: sven-train-CWE-125-00066
// CWE: CWE-125
// Fixed version of vulnerability pair 00066
void secure_function() {
// Fixed pattern from CWE-125
// Placeholder - replace with actual code
} | {
"dataset_source": "SVEN",
"note": "Placeholder codes - SVEN is proprietary dataset. Replace with actual code if available.",
"split": "train",
"vuln_id": "sven-train-CWE-125-00066"
} |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 31