Unnamed: 0
int64
0
56k
source_code
stringlengths
55
5.98k
comments
stringlengths
2
1.76k
label
stringclasses
68 values
dataset_name
stringclasses
1 value
file_name
stringlengths
208
265
function
stringlengths
27
87
decompiled_code
stringlengths
68
3.97k
compiler_options
stringclasses
1 value
8,400
void CWE690_NULL_Deref_From_Return__int_realloc_42_bad() { int * data; data = NULL; /* Initialize data */ data = badSource(data); /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(data[0]); free(data); }
['/* Initialize data */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111435/CWE690_NULL_Deref_From_Return__int_realloc_42.c
CWE690_NULL_Deref_From_Return__int_realloc_42_bad
void CWE690_NULL_Deref_From_Return__int_realloc_42_bad(void) { undefined4 *puVar1; puVar1 = (undefined4 *)badSource(0); *puVar1 = 5; printIntLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,401
void CWE690_NULL_Deref_From_Return__int_realloc_42_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111435/CWE690_NULL_Deref_From_Return__int_realloc_42.c
CWE690_NULL_Deref_From_Return__int_realloc_42_good
void CWE690_NULL_Deref_From_Return__int_realloc_42_good(void) { goodB2G(); return; }
['gcc']
8,402
void CWE690_NULL_Deref_From_Return__int_realloc_51_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)realloc(data, 1*sizeof(int)); CWE690_NULL_Deref_From_Return__int_realloc_51b_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111439/CWE690_NULL_Deref_From_Return__int_realloc_51a.c
CWE690_NULL_Deref_From_Return__int_realloc_51_bad
void CWE690_NULL_Deref_From_Return__int_realloc_51_bad(void) { undefined8 uVar1; uVar1 = func_0x00400ad0(0,4); CWE690_NULL_Deref_From_Return__int_realloc_51b_badSink(uVar1); return; }
['gcc']
8,403
void CWE690_NULL_Deref_From_Return__int_realloc_51_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111439/CWE690_NULL_Deref_From_Return__int_realloc_51a.c
CWE690_NULL_Deref_From_Return__int_realloc_51_good
void CWE690_NULL_Deref_From_Return__int_realloc_51_good(void) { goodB2G(); return; }
['gcc']
8,404
void CWE690_NULL_Deref_From_Return__int_realloc_51b_badSink(int * data) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(data[0]); free(data); }
['/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111439/CWE690_NULL_Deref_From_Return__int_realloc_51b.c
CWE690_NULL_Deref_From_Return__int_realloc_51b_badSink
void CWE690_NULL_Deref_From_Return__int_realloc_51b_badSink(undefined4 *param_1) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,405
void CWE690_NULL_Deref_From_Return__int_realloc_51b_goodB2GSink(int * data) { /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5; printIntLine(data[0]); free(data); } }
['/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111439/CWE690_NULL_Deref_From_Return__int_realloc_51b.c
CWE690_NULL_Deref_From_Return__int_realloc_51b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_realloc_51b_goodB2GSink(undefined4 *param_1) { if (param_1 != (undefined4 *)0x0) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,406
void CWE690_NULL_Deref_From_Return__int_realloc_52_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)realloc(data, 1*sizeof(int)); CWE690_NULL_Deref_From_Return__int_realloc_52b_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111440/CWE690_NULL_Deref_From_Return__int_realloc_52a.c
CWE690_NULL_Deref_From_Return__int_realloc_52_bad
void CWE690_NULL_Deref_From_Return__int_realloc_52_bad(void) { undefined8 uVar1; uVar1 = func_0x00400ad0(0,4); CWE690_NULL_Deref_From_Return__int_realloc_52b_badSink(uVar1); return; }
['gcc']
8,407
void CWE690_NULL_Deref_From_Return__int_realloc_52_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111440/CWE690_NULL_Deref_From_Return__int_realloc_52a.c
CWE690_NULL_Deref_From_Return__int_realloc_52_good
void CWE690_NULL_Deref_From_Return__int_realloc_52_good(void) { goodB2G(); return; }
['gcc']
8,408
void CWE690_NULL_Deref_From_Return__int_realloc_52b_badSink(int * data) { CWE690_NULL_Deref_From_Return__int_realloc_52c_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111440/CWE690_NULL_Deref_From_Return__int_realloc_52b.c
CWE690_NULL_Deref_From_Return__int_realloc_52b_badSink
void CWE690_NULL_Deref_From_Return__int_realloc_52b_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_realloc_52c_badSink(param_1); return; }
['gcc']
8,409
void CWE690_NULL_Deref_From_Return__int_realloc_52b_goodB2GSink(int * data) { CWE690_NULL_Deref_From_Return__int_realloc_52c_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111440/CWE690_NULL_Deref_From_Return__int_realloc_52b.c
CWE690_NULL_Deref_From_Return__int_realloc_52b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_realloc_52b_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_realloc_52c_goodB2GSink(param_1); return; }
['gcc']
8,410
void CWE690_NULL_Deref_From_Return__int_realloc_52c_badSink(int * data) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(data[0]); free(data); }
['/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111440/CWE690_NULL_Deref_From_Return__int_realloc_52c.c
CWE690_NULL_Deref_From_Return__int_realloc_52c_badSink
void CWE690_NULL_Deref_From_Return__int_realloc_52c_badSink(undefined4 *param_1) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,411
void CWE690_NULL_Deref_From_Return__int_realloc_52c_goodB2GSink(int * data) { /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5; printIntLine(data[0]); free(data); } }
['/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111440/CWE690_NULL_Deref_From_Return__int_realloc_52c.c
CWE690_NULL_Deref_From_Return__int_realloc_52c_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_realloc_52c_goodB2GSink(undefined4 *param_1) { if (param_1 != (undefined4 *)0x0) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,412
void CWE690_NULL_Deref_From_Return__int_realloc_53_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)realloc(data, 1*sizeof(int)); CWE690_NULL_Deref_From_Return__int_realloc_53b_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111441/CWE690_NULL_Deref_From_Return__int_realloc_53a.c
CWE690_NULL_Deref_From_Return__int_realloc_53_bad
void CWE690_NULL_Deref_From_Return__int_realloc_53_bad(void) { undefined8 uVar1; uVar1 = func_0x00400ad0(0,4); CWE690_NULL_Deref_From_Return__int_realloc_53b_badSink(uVar1); return; }
['gcc']
8,413
void CWE690_NULL_Deref_From_Return__int_realloc_53_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111441/CWE690_NULL_Deref_From_Return__int_realloc_53a.c
CWE690_NULL_Deref_From_Return__int_realloc_53_good
void CWE690_NULL_Deref_From_Return__int_realloc_53_good(void) { goodB2G(); return; }
['gcc']
8,414
void CWE690_NULL_Deref_From_Return__int_realloc_53b_badSink(int * data) { CWE690_NULL_Deref_From_Return__int_realloc_53c_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111441/CWE690_NULL_Deref_From_Return__int_realloc_53b.c
CWE690_NULL_Deref_From_Return__int_realloc_53b_badSink
void CWE690_NULL_Deref_From_Return__int_realloc_53b_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_realloc_53c_badSink(param_1); return; }
['gcc']
8,415
void CWE690_NULL_Deref_From_Return__int_realloc_53b_goodB2GSink(int * data) { CWE690_NULL_Deref_From_Return__int_realloc_53c_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111441/CWE690_NULL_Deref_From_Return__int_realloc_53b.c
CWE690_NULL_Deref_From_Return__int_realloc_53b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_realloc_53b_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_realloc_53c_goodB2GSink(param_1); return; }
['gcc']
8,416
void CWE690_NULL_Deref_From_Return__int_realloc_53c_badSink(int * data) { CWE690_NULL_Deref_From_Return__int_realloc_53d_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111441/CWE690_NULL_Deref_From_Return__int_realloc_53c.c
CWE690_NULL_Deref_From_Return__int_realloc_53c_badSink
void CWE690_NULL_Deref_From_Return__int_realloc_53c_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_realloc_53d_badSink(param_1); return; }
['gcc']
8,417
void CWE690_NULL_Deref_From_Return__int_realloc_53c_goodB2GSink(int * data) { CWE690_NULL_Deref_From_Return__int_realloc_53d_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111441/CWE690_NULL_Deref_From_Return__int_realloc_53c.c
CWE690_NULL_Deref_From_Return__int_realloc_53c_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_realloc_53c_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_realloc_53d_goodB2GSink(param_1); return; }
['gcc']
8,418
void CWE690_NULL_Deref_From_Return__int_realloc_53d_badSink(int * data) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(data[0]); free(data); }
['/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111441/CWE690_NULL_Deref_From_Return__int_realloc_53d.c
CWE690_NULL_Deref_From_Return__int_realloc_53d_badSink
void CWE690_NULL_Deref_From_Return__int_realloc_53d_badSink(undefined4 *param_1) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,419
void CWE690_NULL_Deref_From_Return__int_realloc_53d_goodB2GSink(int * data) { /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5; printIntLine(data[0]); free(data); } }
['/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111441/CWE690_NULL_Deref_From_Return__int_realloc_53d.c
CWE690_NULL_Deref_From_Return__int_realloc_53d_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_realloc_53d_goodB2GSink(undefined4 *param_1) { if (param_1 != (undefined4 *)0x0) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,420
void CWE690_NULL_Deref_From_Return__int_realloc_54_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)realloc(data, 1*sizeof(int)); CWE690_NULL_Deref_From_Return__int_realloc_54b_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111442/CWE690_NULL_Deref_From_Return__int_realloc_54a.c
CWE690_NULL_Deref_From_Return__int_realloc_54_bad
void CWE690_NULL_Deref_From_Return__int_realloc_54_bad(void) { undefined8 uVar1; uVar1 = func_0x00400ad0(0,4); CWE690_NULL_Deref_From_Return__int_realloc_54b_badSink(uVar1); return; }
['gcc']
8,421
void CWE690_NULL_Deref_From_Return__int_realloc_54_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111442/CWE690_NULL_Deref_From_Return__int_realloc_54a.c
CWE690_NULL_Deref_From_Return__int_realloc_54_good
void CWE690_NULL_Deref_From_Return__int_realloc_54_good(void) { goodB2G(); return; }
['gcc']
8,422
void CWE690_NULL_Deref_From_Return__int_realloc_54b_badSink(int * data) { CWE690_NULL_Deref_From_Return__int_realloc_54c_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111442/CWE690_NULL_Deref_From_Return__int_realloc_54b.c
CWE690_NULL_Deref_From_Return__int_realloc_54b_badSink
void CWE690_NULL_Deref_From_Return__int_realloc_54b_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_realloc_54c_badSink(param_1); return; }
['gcc']
8,423
void CWE690_NULL_Deref_From_Return__int_realloc_54b_goodB2GSink(int * data) { CWE690_NULL_Deref_From_Return__int_realloc_54c_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111442/CWE690_NULL_Deref_From_Return__int_realloc_54b.c
CWE690_NULL_Deref_From_Return__int_realloc_54b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_realloc_54b_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_realloc_54c_goodB2GSink(param_1); return; }
['gcc']
8,424
void CWE690_NULL_Deref_From_Return__int_realloc_54c_badSink(int * data) { CWE690_NULL_Deref_From_Return__int_realloc_54d_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111442/CWE690_NULL_Deref_From_Return__int_realloc_54c.c
CWE690_NULL_Deref_From_Return__int_realloc_54c_badSink
void CWE690_NULL_Deref_From_Return__int_realloc_54c_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_realloc_54d_badSink(param_1); return; }
['gcc']
8,425
void CWE690_NULL_Deref_From_Return__int_realloc_54c_goodB2GSink(int * data) { CWE690_NULL_Deref_From_Return__int_realloc_54d_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111442/CWE690_NULL_Deref_From_Return__int_realloc_54c.c
CWE690_NULL_Deref_From_Return__int_realloc_54c_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_realloc_54c_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_realloc_54d_goodB2GSink(param_1); return; }
['gcc']
8,426
void CWE690_NULL_Deref_From_Return__int_realloc_54d_badSink(int * data) { CWE690_NULL_Deref_From_Return__int_realloc_54e_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111442/CWE690_NULL_Deref_From_Return__int_realloc_54d.c
CWE690_NULL_Deref_From_Return__int_realloc_54d_badSink
void CWE690_NULL_Deref_From_Return__int_realloc_54d_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_realloc_54e_badSink(param_1); return; }
['gcc']
8,427
void CWE690_NULL_Deref_From_Return__int_realloc_54d_goodB2GSink(int * data) { CWE690_NULL_Deref_From_Return__int_realloc_54e_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111442/CWE690_NULL_Deref_From_Return__int_realloc_54d.c
CWE690_NULL_Deref_From_Return__int_realloc_54d_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_realloc_54d_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_realloc_54e_goodB2GSink(param_1); return; }
['gcc']
8,428
void CWE690_NULL_Deref_From_Return__int_realloc_54e_badSink(int * data) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(data[0]); free(data); }
['/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111442/CWE690_NULL_Deref_From_Return__int_realloc_54e.c
CWE690_NULL_Deref_From_Return__int_realloc_54e_badSink
void CWE690_NULL_Deref_From_Return__int_realloc_54e_badSink(undefined4 *param_1) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,429
void CWE690_NULL_Deref_From_Return__int_realloc_54e_goodB2GSink(int * data) { /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5; printIntLine(data[0]); free(data); } }
['/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111442/CWE690_NULL_Deref_From_Return__int_realloc_54e.c
CWE690_NULL_Deref_From_Return__int_realloc_54e_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_realloc_54e_goodB2GSink(undefined4 *param_1) { if (param_1 != (undefined4 *)0x0) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,430
void CWE690_NULL_Deref_From_Return__int_realloc_61_bad() { int * data; data = NULL; /* Initialize data */ data = CWE690_NULL_Deref_From_Return__int_realloc_61b_badSource(data); /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(data[0]); free(data); }
['/* Initialize data */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111443/CWE690_NULL_Deref_From_Return__int_realloc_61a.c
CWE690_NULL_Deref_From_Return__int_realloc_61_bad
void CWE690_NULL_Deref_From_Return__int_realloc_61_bad(void) { undefined4 *puVar1; puVar1 = (undefined4 *)CWE690_NULL_Deref_From_Return__int_realloc_61b_badSource(0); *puVar1 = 5; printIntLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,431
void CWE690_NULL_Deref_From_Return__int_realloc_61_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111443/CWE690_NULL_Deref_From_Return__int_realloc_61a.c
CWE690_NULL_Deref_From_Return__int_realloc_61_good
void CWE690_NULL_Deref_From_Return__int_realloc_61_good(void) { goodB2G(); return; }
['gcc']
8,432
int * CWE690_NULL_Deref_From_Return__int_realloc_61b_badSource(int * data) { /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)realloc(data, 1*sizeof(int)); return data; }
['/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111443/CWE690_NULL_Deref_From_Return__int_realloc_61b.c
CWE690_NULL_Deref_From_Return__int_realloc_61b_badSource
undefined8 CWE690_NULL_Deref_From_Return__int_realloc_61b_badSource(undefined8 param_1) { undefined8 uVar1; uVar1 = func_0x00400ad0(param_1,4); return uVar1; }
['gcc']
8,433
int * CWE690_NULL_Deref_From_Return__int_realloc_61b_goodB2GSource(int * data) { /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)realloc(data, 1*sizeof(int)); return data; }
['/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111443/CWE690_NULL_Deref_From_Return__int_realloc_61b.c
CWE690_NULL_Deref_From_Return__int_realloc_61b_goodB2GSource
undefined8 CWE690_NULL_Deref_From_Return__int_realloc_61b_goodB2GSource(undefined8 param_1) { undefined8 uVar1; uVar1 = func_0x00400ad0(param_1,4); return uVar1; }
['gcc']
8,434
void CWE690_NULL_Deref_From_Return__int_realloc_63_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)realloc(data, 1*sizeof(int)); CWE690_NULL_Deref_From_Return__int_realloc_63b_badSink(&data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111445/CWE690_NULL_Deref_From_Return__int_realloc_63a.c
CWE690_NULL_Deref_From_Return__int_realloc_63_bad
void CWE690_NULL_Deref_From_Return__int_realloc_63_bad(void) { undefined8 uStack_10; uStack_10 = 0; uStack_10 = func_0x00400ad0(0,4); CWE690_NULL_Deref_From_Return__int_realloc_63b_badSink(&uStack_10); return; }
['gcc']
8,435
void CWE690_NULL_Deref_From_Return__int_realloc_63_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111445/CWE690_NULL_Deref_From_Return__int_realloc_63a.c
CWE690_NULL_Deref_From_Return__int_realloc_63_good
void CWE690_NULL_Deref_From_Return__int_realloc_63_good(void) { goodB2G(); return; }
['gcc']
8,436
void CWE690_NULL_Deref_From_Return__int_realloc_63b_badSink(int * * dataPtr) { int * data = *dataPtr; /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(data[0]); free(data); }
['/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111445/CWE690_NULL_Deref_From_Return__int_realloc_63b.c
CWE690_NULL_Deref_From_Return__int_realloc_63b_badSink
void CWE690_NULL_Deref_From_Return__int_realloc_63b_badSink(undefined8 *param_1) { undefined4 *puVar1; puVar1 = (undefined4 *)*param_1; *puVar1 = 5; printIntLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,437
void CWE690_NULL_Deref_From_Return__int_realloc_63b_goodB2GSink(int * * dataPtr) { int * data = *dataPtr; /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5; printIntLine(data[0]); free(data); } }
['/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111445/CWE690_NULL_Deref_From_Return__int_realloc_63b.c
CWE690_NULL_Deref_From_Return__int_realloc_63b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_realloc_63b_goodB2GSink(undefined8 *param_1) { undefined4 *puVar1; puVar1 = (undefined4 *)*param_1; if (puVar1 != (undefined4 *)0x0) { *puVar1 = 5; printIntLine(*puVar1); func_0x00400a20(puVar1); } return; }
['gcc']
8,438
void CWE690_NULL_Deref_From_Return__int_realloc_64_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)realloc(data, 1*sizeof(int)); CWE690_NULL_Deref_From_Return__int_realloc_64b_badSink(&data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111446/CWE690_NULL_Deref_From_Return__int_realloc_64a.c
CWE690_NULL_Deref_From_Return__int_realloc_64_bad
void CWE690_NULL_Deref_From_Return__int_realloc_64_bad(void) { undefined8 uStack_10; uStack_10 = 0; uStack_10 = func_0x00400ad0(0,4); CWE690_NULL_Deref_From_Return__int_realloc_64b_badSink(&uStack_10); return; }
['gcc']
8,439
void CWE690_NULL_Deref_From_Return__int_realloc_64_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111446/CWE690_NULL_Deref_From_Return__int_realloc_64a.c
CWE690_NULL_Deref_From_Return__int_realloc_64_good
void CWE690_NULL_Deref_From_Return__int_realloc_64_good(void) { goodB2G(); return; }
['gcc']
8,440
void CWE690_NULL_Deref_From_Return__int_realloc_64b_badSink(void * dataVoidPtr) { /* cast void pointer to a pointer of the appropriate type */ int * * dataPtr = (int * *)dataVoidPtr; /* dereference dataPtr into data */ int * data = (*dataPtr); /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(data[0]); free(data); }
['/* cast void pointer to a pointer of the appropriate type */', '/* dereference dataPtr into data */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111446/CWE690_NULL_Deref_From_Return__int_realloc_64b.c
CWE690_NULL_Deref_From_Return__int_realloc_64b_badSink
void CWE690_NULL_Deref_From_Return__int_realloc_64b_badSink(undefined8 *param_1) { undefined4 *puVar1; puVar1 = (undefined4 *)*param_1; *puVar1 = 5; printIntLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,441
void CWE690_NULL_Deref_From_Return__int_realloc_64b_goodB2GSink(void * dataVoidPtr) { /* cast void pointer to a pointer of the appropriate type */ int * * dataPtr = (int * *)dataVoidPtr; /* dereference dataPtr into data */ int * data = (*dataPtr); /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5; printIntLine(data[0]); free(data); } }
['/* cast void pointer to a pointer of the appropriate type */', '/* dereference dataPtr into data */', '/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111446/CWE690_NULL_Deref_From_Return__int_realloc_64b.c
CWE690_NULL_Deref_From_Return__int_realloc_64b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_realloc_64b_goodB2GSink(undefined8 *param_1) { undefined4 *puVar1; puVar1 = (undefined4 *)*param_1; if (puVar1 != (undefined4 *)0x0) { *puVar1 = 5; printIntLine(*puVar1); func_0x00400a20(puVar1); } return; }
['gcc']
8,442
void CWE690_NULL_Deref_From_Return__int_realloc_66_bad() { int * data; int * dataArray[5]; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)realloc(data, 1*sizeof(int)); /* put data in array */ dataArray[2] = data; CWE690_NULL_Deref_From_Return__int_realloc_66b_badSink(dataArray); }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* put data in array */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111448/CWE690_NULL_Deref_From_Return__int_realloc_66a.c
CWE690_NULL_Deref_From_Return__int_realloc_66_bad
void CWE690_NULL_Deref_From_Return__int_realloc_66_bad(void) { undefined auStack_38 [16]; undefined8 uStack_28; undefined8 uStack_10; uStack_10 = 0; uStack_28 = func_0x00400ad0(0,4); uStack_10 = uStack_28; CWE690_NULL_Deref_From_Return__int_realloc_66b_badSink(auStack_38); return; }
['gcc']
8,443
void CWE690_NULL_Deref_From_Return__int_realloc_66_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111448/CWE690_NULL_Deref_From_Return__int_realloc_66a.c
CWE690_NULL_Deref_From_Return__int_realloc_66_good
void CWE690_NULL_Deref_From_Return__int_realloc_66_good(void) { goodB2G(); return; }
['gcc']
8,444
void CWE690_NULL_Deref_From_Return__int_realloc_66b_badSink(int * dataArray[]) { /* copy data out of dataArray */ int * data = dataArray[2]; /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(data[0]); free(data); }
['/* copy data out of dataArray */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111448/CWE690_NULL_Deref_From_Return__int_realloc_66b.c
CWE690_NULL_Deref_From_Return__int_realloc_66b_badSink
void CWE690_NULL_Deref_From_Return__int_realloc_66b_badSink(long param_1) { undefined4 *puVar1; puVar1 = *(undefined4 **)(param_1 + 0x10); *puVar1 = 5; printIntLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,445
void CWE690_NULL_Deref_From_Return__int_realloc_66b_goodB2GSink(int * dataArray[]) { int * data = dataArray[2]; /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5; printIntLine(data[0]); free(data); } }
['/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111448/CWE690_NULL_Deref_From_Return__int_realloc_66b.c
CWE690_NULL_Deref_From_Return__int_realloc_66b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_realloc_66b_goodB2GSink(long param_1) { undefined4 *puVar1; puVar1 = *(undefined4 **)(param_1 + 0x10); if (puVar1 != (undefined4 *)0x0) { *puVar1 = 5; printIntLine(*puVar1); func_0x00400a20(puVar1); } return; }
['gcc']
8,446
void CWE690_NULL_Deref_From_Return__int_realloc_67_bad() { int * data; CWE690_NULL_Deref_From_Return__int_realloc_67_structType myStruct; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)realloc(data, 1*sizeof(int)); myStruct.structFirst = data; CWE690_NULL_Deref_From_Return__int_realloc_67b_badSink(myStruct); }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111449/CWE690_NULL_Deref_From_Return__int_realloc_67a.c
CWE690_NULL_Deref_From_Return__int_realloc_67_bad
void CWE690_NULL_Deref_From_Return__int_realloc_67_bad(void) { undefined8 uVar1; uVar1 = func_0x00400ad0(0,4); CWE690_NULL_Deref_From_Return__int_realloc_67b_badSink(uVar1); return; }
['gcc']
8,447
void CWE690_NULL_Deref_From_Return__int_realloc_67_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111449/CWE690_NULL_Deref_From_Return__int_realloc_67a.c
CWE690_NULL_Deref_From_Return__int_realloc_67_good
void CWE690_NULL_Deref_From_Return__int_realloc_67_good(void) { goodB2G(); return; }
['gcc']
8,448
void CWE690_NULL_Deref_From_Return__int_realloc_67b_badSink(CWE690_NULL_Deref_From_Return__int_realloc_67_structType myStruct) { int * data = myStruct.structFirst; /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(data[0]); free(data); }
['/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111449/CWE690_NULL_Deref_From_Return__int_realloc_67b.c
CWE690_NULL_Deref_From_Return__int_realloc_67b_badSink
void CWE690_NULL_Deref_From_Return__int_realloc_67b_badSink(undefined4 *param_1) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,449
void CWE690_NULL_Deref_From_Return__int_realloc_67b_goodB2GSink(CWE690_NULL_Deref_From_Return__int_realloc_67_structType myStruct) { int * data = myStruct.structFirst; /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5; printIntLine(data[0]); free(data); } }
['/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111449/CWE690_NULL_Deref_From_Return__int_realloc_67b.c
CWE690_NULL_Deref_From_Return__int_realloc_67b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_realloc_67b_goodB2GSink(undefined4 *param_1) { if (param_1 != (undefined4 *)0x0) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,450
void CWE690_NULL_Deref_From_Return__long_calloc_08_bad() { long * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (long *)calloc(1, sizeof(long)); if(staticReturnsTrue()) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5L; printLongLine(data[0]); free(data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111465/CWE690_NULL_Deref_From_Return__long_calloc_08.c
CWE690_NULL_Deref_From_Return__long_calloc_08_bad
void CWE690_NULL_Deref_From_Return__long_calloc_08_bad(void) { int iVar1; undefined8 *puVar2; puVar2 = (undefined8 *)func_0x00400a90(1,8); iVar1 = staticReturnsTrue(); if (iVar1 != 0) { *puVar2 = 5; printLongLine(*puVar2); func_0x00400a20(puVar2); } return; }
['gcc']
8,451
void CWE690_NULL_Deref_From_Return__long_calloc_08_good() { goodB2G1(); goodB2G2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111465/CWE690_NULL_Deref_From_Return__long_calloc_08.c
CWE690_NULL_Deref_From_Return__long_calloc_08_good
void CWE690_NULL_Deref_From_Return__long_calloc_08_good(void) { goodB2G1(); goodB2G2(); return; }
['gcc']
8,452
void CWE690_NULL_Deref_From_Return__long_calloc_11_bad() { long * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (long *)calloc(1, sizeof(long)); if(globalReturnsTrue()) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5L; printLongLine(data[0]); free(data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111468/CWE690_NULL_Deref_From_Return__long_calloc_11.c
CWE690_NULL_Deref_From_Return__long_calloc_11_bad
void CWE690_NULL_Deref_From_Return__long_calloc_11_bad(void) { int iVar1; undefined8 *puVar2; puVar2 = (undefined8 *)func_0x00400a90(1,8); iVar1 = globalReturnsTrue(); if (iVar1 != 0) { *puVar2 = 5; printLongLine(*puVar2); func_0x00400a20(puVar2); } return; }
['gcc']
8,453
void CWE690_NULL_Deref_From_Return__long_calloc_11_good() { goodB2G1(); goodB2G2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111468/CWE690_NULL_Deref_From_Return__long_calloc_11.c
CWE690_NULL_Deref_From_Return__long_calloc_11_good
void CWE690_NULL_Deref_From_Return__long_calloc_11_good(void) { goodB2G1(); goodB2G2(); return; }
['gcc']
8,454
void CWE690_NULL_Deref_From_Return__long_calloc_12_bad() { long * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (long *)calloc(1, sizeof(long)); if(globalReturnsTrueOrFalse()) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5L; printLongLine(data[0]); free(data); } else { /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5L; printLongLine(data[0]); free(data); } } }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */', '/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111469/CWE690_NULL_Deref_From_Return__long_calloc_12.c
CWE690_NULL_Deref_From_Return__long_calloc_12_bad
void CWE690_NULL_Deref_From_Return__long_calloc_12_bad(void) { int iVar1; undefined8 *puVar2; puVar2 = (undefined8 *)func_0x00400a90(1,8); iVar1 = globalReturnsTrueOrFalse(); if (iVar1 == 0) { if (puVar2 != (undefined8 *)0x0) { *puVar2 = 5; printLongLine(*puVar2); func_0x00400a20(puVar2); } } else { *puVar2 = 5; printLongLine(*puVar2); func_0x00400a20(puVar2); } return; }
['gcc']
8,455
void CWE690_NULL_Deref_From_Return__long_calloc_12_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111469/CWE690_NULL_Deref_From_Return__long_calloc_12.c
CWE690_NULL_Deref_From_Return__long_calloc_12_good
void CWE690_NULL_Deref_From_Return__long_calloc_12_good(void) { goodB2G(); return; }
['gcc']
8,456
void CWE690_NULL_Deref_From_Return__long_calloc_21_bad() { long * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (long *)calloc(1, sizeof(long)); badStatic = 1; /* true */ badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* true */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111476/CWE690_NULL_Deref_From_Return__long_calloc_21.c
CWE690_NULL_Deref_From_Return__long_calloc_21_bad
void CWE690_NULL_Deref_From_Return__long_calloc_21_bad(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,8); badStatic = 1; badSink(uVar1); return; }
['gcc']
8,457
void CWE690_NULL_Deref_From_Return__long_calloc_21_good() { goodB2G1(); goodB2G2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111476/CWE690_NULL_Deref_From_Return__long_calloc_21.c
CWE690_NULL_Deref_From_Return__long_calloc_21_good
void CWE690_NULL_Deref_From_Return__long_calloc_21_good(void) { goodB2G1(); goodB2G2(); return; }
['gcc']
8,458
void CWE690_NULL_Deref_From_Return__long_calloc_22_bad() { long * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (long *)calloc(1, sizeof(long)); CWE690_NULL_Deref_From_Return__long_calloc_22_badGlobal = 1; /* true */ CWE690_NULL_Deref_From_Return__long_calloc_22_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* true */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111477/CWE690_NULL_Deref_From_Return__long_calloc_22a.c
CWE690_NULL_Deref_From_Return__long_calloc_22_bad
void CWE690_NULL_Deref_From_Return__long_calloc_22_bad(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,8); CWE690_NULL_Deref_From_Return__long_calloc_22_badGlobal = 1; CWE690_NULL_Deref_From_Return__long_calloc_22_badSink(uVar1); return; }
['gcc']
8,459
void CWE690_NULL_Deref_From_Return__long_calloc_22_good() { goodB2G1(); goodB2G2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111477/CWE690_NULL_Deref_From_Return__long_calloc_22a.c
CWE690_NULL_Deref_From_Return__long_calloc_22_good
void CWE690_NULL_Deref_From_Return__long_calloc_22_good(void) { goodB2G1(); goodB2G2(); return; }
['gcc']
8,460
void CWE690_NULL_Deref_From_Return__long_calloc_22_badSink(long * data) { if(CWE690_NULL_Deref_From_Return__long_calloc_22_badGlobal) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5L; printLongLine(data[0]); free(data); } }
['/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111477/CWE690_NULL_Deref_From_Return__long_calloc_22b.c
CWE690_NULL_Deref_From_Return__long_calloc_22_badSink
void CWE690_NULL_Deref_From_Return__long_calloc_22_badSink(undefined8 *param_1) { if (CWE690_NULL_Deref_From_Return__long_calloc_22_badGlobal != 0) { *param_1 = 5; printLongLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,461
void CWE690_NULL_Deref_From_Return__long_calloc_22_goodB2G1Sink(long * data) { if(CWE690_NULL_Deref_From_Return__long_calloc_22_goodB2G1Global) { /* INCIDENTAL: CWE 561 Dead Code, the code below will never run */ printLine("Benign, fixed string"); } else { /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5L; printLongLine(data[0]); free(data); } } }
['/* INCIDENTAL: CWE 561 Dead Code, the code below will never run */', '/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111477/CWE690_NULL_Deref_From_Return__long_calloc_22b.c
CWE690_NULL_Deref_From_Return__long_calloc_22_goodB2G1Sink
void CWE690_NULL_Deref_From_Return__long_calloc_22_goodB2G1Sink(undefined8 *param_1) { if (CWE690_NULL_Deref_From_Return__long_calloc_22_goodB2G1Global == 0) { if (param_1 != (undefined8 *)0x0) { *param_1 = 5; printLongLine(*param_1); func_0x00400a20(param_1); } } else { printLine(&UNK_00401274); } return; }
['gcc']
8,462
void CWE690_NULL_Deref_From_Return__long_calloc_22_goodB2G2Sink(long * data) { if(CWE690_NULL_Deref_From_Return__long_calloc_22_goodB2G2Global) { /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5L; printLongLine(data[0]); free(data); } } }
['/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111477/CWE690_NULL_Deref_From_Return__long_calloc_22b.c
CWE690_NULL_Deref_From_Return__long_calloc_22_goodB2G2Sink
void CWE690_NULL_Deref_From_Return__long_calloc_22_goodB2G2Sink(undefined8 *param_1) { if ((CWE690_NULL_Deref_From_Return__long_calloc_22_goodB2G2Global != 0) && (param_1 != (undefined8 *)0x0)) { *param_1 = 5; printLongLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,463
void CWE690_NULL_Deref_From_Return__long_calloc_31_bad() { long * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (long *)calloc(1, sizeof(long)); { long * dataCopy = data; long * data = dataCopy; /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5L; printLongLine(data[0]); free(data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111478/CWE690_NULL_Deref_From_Return__long_calloc_31.c
CWE690_NULL_Deref_From_Return__long_calloc_31_bad
void CWE690_NULL_Deref_From_Return__long_calloc_31_bad(void) { undefined8 *puVar1; puVar1 = (undefined8 *)func_0x00400a90(1,8); *puVar1 = 5; printLongLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,464
void CWE690_NULL_Deref_From_Return__long_calloc_31_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111478/CWE690_NULL_Deref_From_Return__long_calloc_31.c
CWE690_NULL_Deref_From_Return__long_calloc_31_good
void CWE690_NULL_Deref_From_Return__long_calloc_31_good(void) { goodB2G(); return; }
['gcc']
8,465
void CWE690_NULL_Deref_From_Return__long_calloc_32_bad() { long * data; long * *dataPtr1 = &data; long * *dataPtr2 = &data; data = NULL; /* Initialize data */ { long * data = *dataPtr1; /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (long *)calloc(1, sizeof(long)); *dataPtr1 = data; } { long * data = *dataPtr2; /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5L; printLongLine(data[0]); free(data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111479/CWE690_NULL_Deref_From_Return__long_calloc_32.c
CWE690_NULL_Deref_From_Return__long_calloc_32_bad
/* WARNING: Restarted to delay deadcode elimination for space: stack */ void CWE690_NULL_Deref_From_Return__long_calloc_32_bad(void) { undefined8 uStack_30; undefined8 *puStack_28; undefined8 uStack_20; undefined8 *puStack_18; undefined8 *puStack_10; puStack_10 = &uStack_30; puStack_18 = &uStack_30; uStack_30 = 0; uStack_20 = 0; uStack_20 = func_0x00400a90(1,8); *puStack_10 = uStack_20; puStack_28 = (undefined8 *)*puStack_18; *puStack_28 = 5; printLongLine(*puStack_28); func_0x00400a20(puStack_28); return; }
['gcc']
8,466
void CWE690_NULL_Deref_From_Return__long_calloc_32_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111479/CWE690_NULL_Deref_From_Return__long_calloc_32.c
CWE690_NULL_Deref_From_Return__long_calloc_32_good
void CWE690_NULL_Deref_From_Return__long_calloc_32_good(void) { goodB2G(); return; }
['gcc']
8,467
void CWE690_NULL_Deref_From_Return__long_calloc_34_bad() { long * data; CWE690_NULL_Deref_From_Return__long_calloc_34_unionType myUnion; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (long *)calloc(1, sizeof(long)); myUnion.unionFirst = data; { long * data = myUnion.unionSecond; /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5L; printLongLine(data[0]); free(data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111481/CWE690_NULL_Deref_From_Return__long_calloc_34.c
CWE690_NULL_Deref_From_Return__long_calloc_34_bad
void CWE690_NULL_Deref_From_Return__long_calloc_34_bad(void) { undefined8 *puVar1; puVar1 = (undefined8 *)func_0x00400a90(1,8); *puVar1 = 5; printLongLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,468
void CWE690_NULL_Deref_From_Return__long_calloc_34_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111481/CWE690_NULL_Deref_From_Return__long_calloc_34.c
CWE690_NULL_Deref_From_Return__long_calloc_34_good
void CWE690_NULL_Deref_From_Return__long_calloc_34_good(void) { goodB2G(); return; }
['gcc']
8,469
void CWE690_NULL_Deref_From_Return__long_calloc_41_bad() { long * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (long *)calloc(1, sizeof(long)); badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111482/CWE690_NULL_Deref_From_Return__long_calloc_41.c
CWE690_NULL_Deref_From_Return__long_calloc_41_bad
void CWE690_NULL_Deref_From_Return__long_calloc_41_bad(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,8); badSink(uVar1); return; }
['gcc']
8,470
void CWE690_NULL_Deref_From_Return__long_calloc_41_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111482/CWE690_NULL_Deref_From_Return__long_calloc_41.c
CWE690_NULL_Deref_From_Return__long_calloc_41_good
void CWE690_NULL_Deref_From_Return__long_calloc_41_good(void) { goodB2G(); return; }
['gcc']
8,471
void CWE690_NULL_Deref_From_Return__long_calloc_42_bad() { long * data; data = NULL; /* Initialize data */ data = badSource(data); /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5L; printLongLine(data[0]); free(data); }
['/* Initialize data */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111483/CWE690_NULL_Deref_From_Return__long_calloc_42.c
CWE690_NULL_Deref_From_Return__long_calloc_42_bad
void CWE690_NULL_Deref_From_Return__long_calloc_42_bad(void) { undefined8 *puVar1; puVar1 = (undefined8 *)badSource(0); *puVar1 = 5; printLongLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,472
void CWE690_NULL_Deref_From_Return__long_calloc_42_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111483/CWE690_NULL_Deref_From_Return__long_calloc_42.c
CWE690_NULL_Deref_From_Return__long_calloc_42_good
void CWE690_NULL_Deref_From_Return__long_calloc_42_good(void) { goodB2G(); return; }
['gcc']
8,473
void CWE690_NULL_Deref_From_Return__long_calloc_51_bad() { long * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (long *)calloc(1, sizeof(long)); CWE690_NULL_Deref_From_Return__long_calloc_51b_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111487/CWE690_NULL_Deref_From_Return__long_calloc_51a.c
CWE690_NULL_Deref_From_Return__long_calloc_51_bad
void CWE690_NULL_Deref_From_Return__long_calloc_51_bad(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,8); CWE690_NULL_Deref_From_Return__long_calloc_51b_badSink(uVar1); return; }
['gcc']
8,474
void CWE690_NULL_Deref_From_Return__long_calloc_51_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111487/CWE690_NULL_Deref_From_Return__long_calloc_51a.c
CWE690_NULL_Deref_From_Return__long_calloc_51_good
void CWE690_NULL_Deref_From_Return__long_calloc_51_good(void) { goodB2G(); return; }
['gcc']
8,475
void CWE690_NULL_Deref_From_Return__long_calloc_51b_badSink(long * data) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5L; printLongLine(data[0]); free(data); }
['/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111487/CWE690_NULL_Deref_From_Return__long_calloc_51b.c
CWE690_NULL_Deref_From_Return__long_calloc_51b_badSink
void CWE690_NULL_Deref_From_Return__long_calloc_51b_badSink(undefined8 *param_1) { *param_1 = 5; printLongLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,476
void CWE690_NULL_Deref_From_Return__long_calloc_51b_goodB2GSink(long * data) { /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5L; printLongLine(data[0]); free(data); } }
['/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111487/CWE690_NULL_Deref_From_Return__long_calloc_51b.c
CWE690_NULL_Deref_From_Return__long_calloc_51b_goodB2GSink
void CWE690_NULL_Deref_From_Return__long_calloc_51b_goodB2GSink(undefined8 *param_1) { if (param_1 != (undefined8 *)0x0) { *param_1 = 5; printLongLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,477
void CWE690_NULL_Deref_From_Return__long_calloc_52_bad() { long * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (long *)calloc(1, sizeof(long)); CWE690_NULL_Deref_From_Return__long_calloc_52b_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111488/CWE690_NULL_Deref_From_Return__long_calloc_52a.c
CWE690_NULL_Deref_From_Return__long_calloc_52_bad
void CWE690_NULL_Deref_From_Return__long_calloc_52_bad(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,8); CWE690_NULL_Deref_From_Return__long_calloc_52b_badSink(uVar1); return; }
['gcc']
8,478
void CWE690_NULL_Deref_From_Return__long_calloc_52_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111488/CWE690_NULL_Deref_From_Return__long_calloc_52a.c
CWE690_NULL_Deref_From_Return__long_calloc_52_good
void CWE690_NULL_Deref_From_Return__long_calloc_52_good(void) { goodB2G(); return; }
['gcc']
8,479
void CWE690_NULL_Deref_From_Return__long_calloc_52b_badSink(long * data) { CWE690_NULL_Deref_From_Return__long_calloc_52c_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111488/CWE690_NULL_Deref_From_Return__long_calloc_52b.c
CWE690_NULL_Deref_From_Return__long_calloc_52b_badSink
void CWE690_NULL_Deref_From_Return__long_calloc_52b_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__long_calloc_52c_badSink(param_1); return; }
['gcc']
8,480
void CWE690_NULL_Deref_From_Return__long_calloc_52b_goodB2GSink(long * data) { CWE690_NULL_Deref_From_Return__long_calloc_52c_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111488/CWE690_NULL_Deref_From_Return__long_calloc_52b.c
CWE690_NULL_Deref_From_Return__long_calloc_52b_goodB2GSink
void CWE690_NULL_Deref_From_Return__long_calloc_52b_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__long_calloc_52c_goodB2GSink(param_1); return; }
['gcc']
8,481
void CWE690_NULL_Deref_From_Return__long_calloc_52c_badSink(long * data) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5L; printLongLine(data[0]); free(data); }
['/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111488/CWE690_NULL_Deref_From_Return__long_calloc_52c.c
CWE690_NULL_Deref_From_Return__long_calloc_52c_badSink
void CWE690_NULL_Deref_From_Return__long_calloc_52c_badSink(undefined8 *param_1) { *param_1 = 5; printLongLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,482
void CWE690_NULL_Deref_From_Return__long_calloc_52c_goodB2GSink(long * data) { /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5L; printLongLine(data[0]); free(data); } }
['/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111488/CWE690_NULL_Deref_From_Return__long_calloc_52c.c
CWE690_NULL_Deref_From_Return__long_calloc_52c_goodB2GSink
void CWE690_NULL_Deref_From_Return__long_calloc_52c_goodB2GSink(undefined8 *param_1) { if (param_1 != (undefined8 *)0x0) { *param_1 = 5; printLongLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,483
void CWE690_NULL_Deref_From_Return__long_calloc_53_bad() { long * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (long *)calloc(1, sizeof(long)); CWE690_NULL_Deref_From_Return__long_calloc_53b_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111489/CWE690_NULL_Deref_From_Return__long_calloc_53a.c
CWE690_NULL_Deref_From_Return__long_calloc_53_bad
void CWE690_NULL_Deref_From_Return__long_calloc_53_bad(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,8); CWE690_NULL_Deref_From_Return__long_calloc_53b_badSink(uVar1); return; }
['gcc']
8,484
void CWE690_NULL_Deref_From_Return__long_calloc_53_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111489/CWE690_NULL_Deref_From_Return__long_calloc_53a.c
CWE690_NULL_Deref_From_Return__long_calloc_53_good
void CWE690_NULL_Deref_From_Return__long_calloc_53_good(void) { goodB2G(); return; }
['gcc']
8,485
void CWE690_NULL_Deref_From_Return__long_calloc_53b_badSink(long * data) { CWE690_NULL_Deref_From_Return__long_calloc_53c_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111489/CWE690_NULL_Deref_From_Return__long_calloc_53b.c
CWE690_NULL_Deref_From_Return__long_calloc_53b_badSink
void CWE690_NULL_Deref_From_Return__long_calloc_53b_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__long_calloc_53c_badSink(param_1); return; }
['gcc']
8,486
void CWE690_NULL_Deref_From_Return__long_calloc_53b_goodB2GSink(long * data) { CWE690_NULL_Deref_From_Return__long_calloc_53c_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111489/CWE690_NULL_Deref_From_Return__long_calloc_53b.c
CWE690_NULL_Deref_From_Return__long_calloc_53b_goodB2GSink
void CWE690_NULL_Deref_From_Return__long_calloc_53b_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__long_calloc_53c_goodB2GSink(param_1); return; }
['gcc']
8,487
void CWE690_NULL_Deref_From_Return__long_calloc_53c_badSink(long * data) { CWE690_NULL_Deref_From_Return__long_calloc_53d_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111489/CWE690_NULL_Deref_From_Return__long_calloc_53c.c
CWE690_NULL_Deref_From_Return__long_calloc_53c_badSink
void CWE690_NULL_Deref_From_Return__long_calloc_53c_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__long_calloc_53d_badSink(param_1); return; }
['gcc']
8,488
void CWE690_NULL_Deref_From_Return__long_calloc_53c_goodB2GSink(long * data) { CWE690_NULL_Deref_From_Return__long_calloc_53d_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111489/CWE690_NULL_Deref_From_Return__long_calloc_53c.c
CWE690_NULL_Deref_From_Return__long_calloc_53c_goodB2GSink
void CWE690_NULL_Deref_From_Return__long_calloc_53c_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__long_calloc_53d_goodB2GSink(param_1); return; }
['gcc']
8,489
void CWE690_NULL_Deref_From_Return__long_calloc_53d_badSink(long * data) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5L; printLongLine(data[0]); free(data); }
['/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111489/CWE690_NULL_Deref_From_Return__long_calloc_53d.c
CWE690_NULL_Deref_From_Return__long_calloc_53d_badSink
void CWE690_NULL_Deref_From_Return__long_calloc_53d_badSink(undefined8 *param_1) { *param_1 = 5; printLongLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,490
void CWE690_NULL_Deref_From_Return__long_calloc_53d_goodB2GSink(long * data) { /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5L; printLongLine(data[0]); free(data); } }
['/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111489/CWE690_NULL_Deref_From_Return__long_calloc_53d.c
CWE690_NULL_Deref_From_Return__long_calloc_53d_goodB2GSink
void CWE690_NULL_Deref_From_Return__long_calloc_53d_goodB2GSink(undefined8 *param_1) { if (param_1 != (undefined8 *)0x0) { *param_1 = 5; printLongLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,491
void CWE690_NULL_Deref_From_Return__long_calloc_54_bad() { long * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (long *)calloc(1, sizeof(long)); CWE690_NULL_Deref_From_Return__long_calloc_54b_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111490/CWE690_NULL_Deref_From_Return__long_calloc_54a.c
CWE690_NULL_Deref_From_Return__long_calloc_54_bad
void CWE690_NULL_Deref_From_Return__long_calloc_54_bad(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,8); CWE690_NULL_Deref_From_Return__long_calloc_54b_badSink(uVar1); return; }
['gcc']
8,492
void CWE690_NULL_Deref_From_Return__long_calloc_54_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111490/CWE690_NULL_Deref_From_Return__long_calloc_54a.c
CWE690_NULL_Deref_From_Return__long_calloc_54_good
void CWE690_NULL_Deref_From_Return__long_calloc_54_good(void) { goodB2G(); return; }
['gcc']
8,493
void CWE690_NULL_Deref_From_Return__long_calloc_54b_badSink(long * data) { CWE690_NULL_Deref_From_Return__long_calloc_54c_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111490/CWE690_NULL_Deref_From_Return__long_calloc_54b.c
CWE690_NULL_Deref_From_Return__long_calloc_54b_badSink
void CWE690_NULL_Deref_From_Return__long_calloc_54b_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__long_calloc_54c_badSink(param_1); return; }
['gcc']
8,494
void CWE690_NULL_Deref_From_Return__long_calloc_54b_goodB2GSink(long * data) { CWE690_NULL_Deref_From_Return__long_calloc_54c_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111490/CWE690_NULL_Deref_From_Return__long_calloc_54b.c
CWE690_NULL_Deref_From_Return__long_calloc_54b_goodB2GSink
void CWE690_NULL_Deref_From_Return__long_calloc_54b_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__long_calloc_54c_goodB2GSink(param_1); return; }
['gcc']
8,495
void CWE690_NULL_Deref_From_Return__long_calloc_54c_badSink(long * data) { CWE690_NULL_Deref_From_Return__long_calloc_54d_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111490/CWE690_NULL_Deref_From_Return__long_calloc_54c.c
CWE690_NULL_Deref_From_Return__long_calloc_54c_badSink
void CWE690_NULL_Deref_From_Return__long_calloc_54c_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__long_calloc_54d_badSink(param_1); return; }
['gcc']
8,496
void CWE690_NULL_Deref_From_Return__long_calloc_54c_goodB2GSink(long * data) { CWE690_NULL_Deref_From_Return__long_calloc_54d_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111490/CWE690_NULL_Deref_From_Return__long_calloc_54c.c
CWE690_NULL_Deref_From_Return__long_calloc_54c_goodB2GSink
void CWE690_NULL_Deref_From_Return__long_calloc_54c_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__long_calloc_54d_goodB2GSink(param_1); return; }
['gcc']
8,497
void CWE690_NULL_Deref_From_Return__long_calloc_54d_badSink(long * data) { CWE690_NULL_Deref_From_Return__long_calloc_54e_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111490/CWE690_NULL_Deref_From_Return__long_calloc_54d.c
CWE690_NULL_Deref_From_Return__long_calloc_54d_badSink
void CWE690_NULL_Deref_From_Return__long_calloc_54d_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__long_calloc_54e_badSink(param_1); return; }
['gcc']
8,498
void CWE690_NULL_Deref_From_Return__long_calloc_54d_goodB2GSink(long * data) { CWE690_NULL_Deref_From_Return__long_calloc_54e_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111490/CWE690_NULL_Deref_From_Return__long_calloc_54d.c
CWE690_NULL_Deref_From_Return__long_calloc_54d_goodB2GSink
void CWE690_NULL_Deref_From_Return__long_calloc_54d_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__long_calloc_54e_goodB2GSink(param_1); return; }
['gcc']
8,499
void CWE690_NULL_Deref_From_Return__long_calloc_54e_badSink(long * data) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5L; printLongLine(data[0]); free(data); }
['/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */']
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111490/CWE690_NULL_Deref_From_Return__long_calloc_54e.c
CWE690_NULL_Deref_From_Return__long_calloc_54e_badSink
void CWE690_NULL_Deref_From_Return__long_calloc_54e_badSink(undefined8 *param_1) { *param_1 = 5; printLongLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']