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,200
void CWE690_NULL_Deref_From_Return__int64_t_realloc_54d_goodB2GSink(int64_t * data) { CWE690_NULL_Deref_From_Return__int64_t_realloc_54e_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111298/CWE690_NULL_Deref_From_Return__int64_t_realloc_54d.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_54d_goodB2GSink
void CWE690_NULL_Deref_From_Return__int64_t_realloc_54d_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int64_t_realloc_54e_goodB2GSink(param_1); return; }
['gcc']
8,201
void CWE690_NULL_Deref_From_Return__int64_t_realloc_54e_badSink(int64_t * data) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5LL; printLongLongLine(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/111298/CWE690_NULL_Deref_From_Return__int64_t_realloc_54e.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_54e_badSink
void CWE690_NULL_Deref_From_Return__int64_t_realloc_54e_badSink(undefined8 *param_1) { *param_1 = 5; printLongLongLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,202
void CWE690_NULL_Deref_From_Return__int64_t_realloc_54e_goodB2GSink(int64_t * data) { /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5LL; printLongLongLine(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/111298/CWE690_NULL_Deref_From_Return__int64_t_realloc_54e.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_54e_goodB2GSink
void CWE690_NULL_Deref_From_Return__int64_t_realloc_54e_goodB2GSink(undefined8 *param_1) { if (param_1 != (undefined8 *)0x0) { *param_1 = 5; printLongLongLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,203
void CWE690_NULL_Deref_From_Return__int64_t_realloc_61_bad() { int64_t * data; data = NULL; /* Initialize data */ data = CWE690_NULL_Deref_From_Return__int64_t_realloc_61b_badSource(data); /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5LL; printLongLongLine(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/111299/CWE690_NULL_Deref_From_Return__int64_t_realloc_61a.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_61_bad
void CWE690_NULL_Deref_From_Return__int64_t_realloc_61_bad(void) { undefined8 *puVar1; puVar1 = (undefined8 *)CWE690_NULL_Deref_From_Return__int64_t_realloc_61b_badSource(0); *puVar1 = 5; printLongLongLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,204
void CWE690_NULL_Deref_From_Return__int64_t_realloc_61_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111299/CWE690_NULL_Deref_From_Return__int64_t_realloc_61a.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_61_good
void CWE690_NULL_Deref_From_Return__int64_t_realloc_61_good(void) { goodB2G(); return; }
['gcc']
8,205
int64_t * CWE690_NULL_Deref_From_Return__int64_t_realloc_61b_badSource(int64_t * data) { /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int64_t *)realloc(data, 1*sizeof(int64_t)); 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/111299/CWE690_NULL_Deref_From_Return__int64_t_realloc_61b.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_61b_badSource
undefined8 CWE690_NULL_Deref_From_Return__int64_t_realloc_61b_badSource(undefined8 param_1) { undefined8 uVar1; uVar1 = func_0x00400ad0(param_1,8); return uVar1; }
['gcc']
8,206
int64_t * CWE690_NULL_Deref_From_Return__int64_t_realloc_61b_goodB2GSource(int64_t * data) { /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int64_t *)realloc(data, 1*sizeof(int64_t)); 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/111299/CWE690_NULL_Deref_From_Return__int64_t_realloc_61b.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_61b_goodB2GSource
undefined8 CWE690_NULL_Deref_From_Return__int64_t_realloc_61b_goodB2GSource(undefined8 param_1) { undefined8 uVar1; uVar1 = func_0x00400ad0(param_1,8); return uVar1; }
['gcc']
8,207
void CWE690_NULL_Deref_From_Return__int64_t_realloc_63_bad() { int64_t * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int64_t *)realloc(data, 1*sizeof(int64_t)); CWE690_NULL_Deref_From_Return__int64_t_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/111301/CWE690_NULL_Deref_From_Return__int64_t_realloc_63a.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_63_bad
void CWE690_NULL_Deref_From_Return__int64_t_realloc_63_bad(void) { undefined8 uStack_10; uStack_10 = 0; uStack_10 = func_0x00400ad0(0,8); CWE690_NULL_Deref_From_Return__int64_t_realloc_63b_badSink(&uStack_10); return; }
['gcc']
8,208
void CWE690_NULL_Deref_From_Return__int64_t_realloc_63_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111301/CWE690_NULL_Deref_From_Return__int64_t_realloc_63a.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_63_good
void CWE690_NULL_Deref_From_Return__int64_t_realloc_63_good(void) { goodB2G(); return; }
['gcc']
8,209
void CWE690_NULL_Deref_From_Return__int64_t_realloc_63b_badSink(int64_t * * dataPtr) { int64_t * data = *dataPtr; /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5LL; printLongLongLine(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/111301/CWE690_NULL_Deref_From_Return__int64_t_realloc_63b.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_63b_badSink
void CWE690_NULL_Deref_From_Return__int64_t_realloc_63b_badSink(undefined8 *param_1) { param_1 = (undefined8 *)*param_1; *param_1 = 5; printLongLongLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,210
void CWE690_NULL_Deref_From_Return__int64_t_realloc_63b_goodB2GSink(int64_t * * dataPtr) { int64_t * data = *dataPtr; /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5LL; printLongLongLine(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/111301/CWE690_NULL_Deref_From_Return__int64_t_realloc_63b.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_63b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int64_t_realloc_63b_goodB2GSink(undefined8 *param_1) { param_1 = (undefined8 *)*param_1; if (param_1 != (undefined8 *)0x0) { *param_1 = 5; printLongLongLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,211
void CWE690_NULL_Deref_From_Return__int64_t_realloc_64_bad() { int64_t * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int64_t *)realloc(data, 1*sizeof(int64_t)); CWE690_NULL_Deref_From_Return__int64_t_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/111302/CWE690_NULL_Deref_From_Return__int64_t_realloc_64a.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_64_bad
void CWE690_NULL_Deref_From_Return__int64_t_realloc_64_bad(void) { undefined8 uStack_10; uStack_10 = 0; uStack_10 = func_0x00400ad0(0,8); CWE690_NULL_Deref_From_Return__int64_t_realloc_64b_badSink(&uStack_10); return; }
['gcc']
8,212
void CWE690_NULL_Deref_From_Return__int64_t_realloc_64_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111302/CWE690_NULL_Deref_From_Return__int64_t_realloc_64a.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_64_good
void CWE690_NULL_Deref_From_Return__int64_t_realloc_64_good(void) { goodB2G(); return; }
['gcc']
8,213
void CWE690_NULL_Deref_From_Return__int64_t_realloc_64b_badSink(void * dataVoidPtr) { /* cast void pointer to a pointer of the appropriate type */ int64_t * * dataPtr = (int64_t * *)dataVoidPtr; /* dereference dataPtr into data */ int64_t * data = (*dataPtr); /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5LL; printLongLongLine(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/111302/CWE690_NULL_Deref_From_Return__int64_t_realloc_64b.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_64b_badSink
void CWE690_NULL_Deref_From_Return__int64_t_realloc_64b_badSink(undefined8 *param_1) { param_1 = (undefined8 *)*param_1; *param_1 = 5; printLongLongLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,214
void CWE690_NULL_Deref_From_Return__int64_t_realloc_64b_goodB2GSink(void * dataVoidPtr) { /* cast void pointer to a pointer of the appropriate type */ int64_t * * dataPtr = (int64_t * *)dataVoidPtr; /* dereference dataPtr into data */ int64_t * data = (*dataPtr); /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5LL; printLongLongLine(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/111302/CWE690_NULL_Deref_From_Return__int64_t_realloc_64b.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_64b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int64_t_realloc_64b_goodB2GSink(undefined8 *param_1) { param_1 = (undefined8 *)*param_1; if (param_1 != (undefined8 *)0x0) { *param_1 = 5; printLongLongLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,215
void CWE690_NULL_Deref_From_Return__int64_t_realloc_66_bad() { int64_t * data; int64_t * dataArray[5]; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int64_t *)realloc(data, 1*sizeof(int64_t)); /* put data in array */ dataArray[2] = data; CWE690_NULL_Deref_From_Return__int64_t_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/111304/CWE690_NULL_Deref_From_Return__int64_t_realloc_66a.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_66_bad
void CWE690_NULL_Deref_From_Return__int64_t_realloc_66_bad(void) { undefined auStack_38 [16]; undefined8 uStack_28; undefined8 uStack_10; uStack_10 = 0; uStack_28 = func_0x00400ad0(0,8); uStack_10 = uStack_28; CWE690_NULL_Deref_From_Return__int64_t_realloc_66b_badSink(auStack_38); return; }
['gcc']
8,216
void CWE690_NULL_Deref_From_Return__int64_t_realloc_66_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111304/CWE690_NULL_Deref_From_Return__int64_t_realloc_66a.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_66_good
void CWE690_NULL_Deref_From_Return__int64_t_realloc_66_good(void) { goodB2G(); return; }
['gcc']
8,217
void CWE690_NULL_Deref_From_Return__int64_t_realloc_66b_badSink(int64_t * dataArray[]) { /* copy data out of dataArray */ int64_t * data = dataArray[2]; /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5LL; printLongLongLine(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/111304/CWE690_NULL_Deref_From_Return__int64_t_realloc_66b.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_66b_badSink
void CWE690_NULL_Deref_From_Return__int64_t_realloc_66b_badSink(long param_1) { undefined8 *puVar1; puVar1 = *(undefined8 **)(param_1 + 0x10); *puVar1 = 5; printLongLongLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,218
void CWE690_NULL_Deref_From_Return__int64_t_realloc_66b_goodB2GSink(int64_t * dataArray[]) { int64_t * data = dataArray[2]; /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5LL; printLongLongLine(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/111304/CWE690_NULL_Deref_From_Return__int64_t_realloc_66b.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_66b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int64_t_realloc_66b_goodB2GSink(long param_1) { undefined8 *puVar1; puVar1 = *(undefined8 **)(param_1 + 0x10); if (puVar1 != (undefined8 *)0x0) { *puVar1 = 5; printLongLongLine(*puVar1); func_0x00400a20(puVar1); } return; }
['gcc']
8,219
void CWE690_NULL_Deref_From_Return__int64_t_realloc_67_bad() { int64_t * data; CWE690_NULL_Deref_From_Return__int64_t_realloc_67_structType myStruct; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int64_t *)realloc(data, 1*sizeof(int64_t)); myStruct.structFirst = data; CWE690_NULL_Deref_From_Return__int64_t_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/111305/CWE690_NULL_Deref_From_Return__int64_t_realloc_67a.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_67_bad
void CWE690_NULL_Deref_From_Return__int64_t_realloc_67_bad(void) { undefined8 uVar1; uVar1 = func_0x00400ad0(0,8); CWE690_NULL_Deref_From_Return__int64_t_realloc_67b_badSink(uVar1); return; }
['gcc']
8,220
void CWE690_NULL_Deref_From_Return__int64_t_realloc_67_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111305/CWE690_NULL_Deref_From_Return__int64_t_realloc_67a.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_67_good
void CWE690_NULL_Deref_From_Return__int64_t_realloc_67_good(void) { goodB2G(); return; }
['gcc']
8,221
void CWE690_NULL_Deref_From_Return__int64_t_realloc_67b_badSink(CWE690_NULL_Deref_From_Return__int64_t_realloc_67_structType myStruct) { int64_t * data = myStruct.structFirst; /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5LL; printLongLongLine(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/111305/CWE690_NULL_Deref_From_Return__int64_t_realloc_67b.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_67b_badSink
void CWE690_NULL_Deref_From_Return__int64_t_realloc_67b_badSink(undefined8 *param_1) { *param_1 = 5; printLongLongLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,222
void CWE690_NULL_Deref_From_Return__int64_t_realloc_67b_goodB2GSink(CWE690_NULL_Deref_From_Return__int64_t_realloc_67_structType myStruct) { int64_t * data = myStruct.structFirst; /* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */ if (data != NULL) { data[0] = 5LL; printLongLongLine(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/111305/CWE690_NULL_Deref_From_Return__int64_t_realloc_67b.c
CWE690_NULL_Deref_From_Return__int64_t_realloc_67b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int64_t_realloc_67b_goodB2GSink(undefined8 *param_1) { if (param_1 != (undefined8 *)0x0) { *param_1 = 5; printLongLongLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,223
void CWE690_NULL_Deref_From_Return__int_calloc_08_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(1, sizeof(int)); if(staticReturnsTrue()) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(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/111321/CWE690_NULL_Deref_From_Return__int_calloc_08.c
CWE690_NULL_Deref_From_Return__int_calloc_08_bad
void CWE690_NULL_Deref_From_Return__int_calloc_08_bad(void) { int iVar1; undefined4 *puVar2; puVar2 = (undefined4 *)func_0x00400a90(1,4); iVar1 = staticReturnsTrue(); if (iVar1 != 0) { *puVar2 = 5; printIntLine(*puVar2); func_0x00400a20(puVar2); } return; }
['gcc']
8,224
void CWE690_NULL_Deref_From_Return__int_calloc_08_good() { goodB2G1(); goodB2G2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111321/CWE690_NULL_Deref_From_Return__int_calloc_08.c
CWE690_NULL_Deref_From_Return__int_calloc_08_good
void CWE690_NULL_Deref_From_Return__int_calloc_08_good(void) { goodB2G1(); goodB2G2(); return; }
['gcc']
8,225
void CWE690_NULL_Deref_From_Return__int_calloc_11_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(1, sizeof(int)); if(globalReturnsTrue()) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(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/111324/CWE690_NULL_Deref_From_Return__int_calloc_11.c
CWE690_NULL_Deref_From_Return__int_calloc_11_bad
void CWE690_NULL_Deref_From_Return__int_calloc_11_bad(void) { int iVar1; undefined4 *puVar2; puVar2 = (undefined4 *)func_0x00400a90(1,4); iVar1 = globalReturnsTrue(); if (iVar1 != 0) { *puVar2 = 5; printIntLine(*puVar2); func_0x00400a20(puVar2); } return; }
['gcc']
8,226
void CWE690_NULL_Deref_From_Return__int_calloc_11_good() { goodB2G1(); goodB2G2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111324/CWE690_NULL_Deref_From_Return__int_calloc_11.c
CWE690_NULL_Deref_From_Return__int_calloc_11_good
void CWE690_NULL_Deref_From_Return__int_calloc_11_good(void) { goodB2G1(); goodB2G2(); return; }
['gcc']
8,227
void CWE690_NULL_Deref_From_Return__int_calloc_12_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(1, sizeof(int)); if(globalReturnsTrueOrFalse()) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(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] = 5; printIntLine(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/111325/CWE690_NULL_Deref_From_Return__int_calloc_12.c
CWE690_NULL_Deref_From_Return__int_calloc_12_bad
void CWE690_NULL_Deref_From_Return__int_calloc_12_bad(void) { int iVar1; undefined4 *puVar2; puVar2 = (undefined4 *)func_0x00400a90(1,4); iVar1 = globalReturnsTrueOrFalse(); if (iVar1 == 0) { if (puVar2 != (undefined4 *)0x0) { *puVar2 = 5; printIntLine(*puVar2); func_0x00400a20(puVar2); } } else { *puVar2 = 5; printIntLine(*puVar2); func_0x00400a20(puVar2); } return; }
['gcc']
8,228
void CWE690_NULL_Deref_From_Return__int_calloc_12_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111325/CWE690_NULL_Deref_From_Return__int_calloc_12.c
CWE690_NULL_Deref_From_Return__int_calloc_12_good
void CWE690_NULL_Deref_From_Return__int_calloc_12_good(void) { goodB2G(); return; }
['gcc']
8,229
void CWE690_NULL_Deref_From_Return__int_calloc_21_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(1, sizeof(int)); 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/111332/CWE690_NULL_Deref_From_Return__int_calloc_21.c
CWE690_NULL_Deref_From_Return__int_calloc_21_bad
void CWE690_NULL_Deref_From_Return__int_calloc_21_bad(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,4); badStatic = 1; badSink(uVar1); return; }
['gcc']
8,230
void CWE690_NULL_Deref_From_Return__int_calloc_21_good() { goodB2G1(); goodB2G2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111332/CWE690_NULL_Deref_From_Return__int_calloc_21.c
CWE690_NULL_Deref_From_Return__int_calloc_21_good
void CWE690_NULL_Deref_From_Return__int_calloc_21_good(void) { goodB2G1(); goodB2G2(); return; }
['gcc']
8,231
void CWE690_NULL_Deref_From_Return__int_calloc_22_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(1, sizeof(int)); CWE690_NULL_Deref_From_Return__int_calloc_22_badGlobal = 1; /* true */ CWE690_NULL_Deref_From_Return__int_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/111333/CWE690_NULL_Deref_From_Return__int_calloc_22a.c
CWE690_NULL_Deref_From_Return__int_calloc_22_bad
void CWE690_NULL_Deref_From_Return__int_calloc_22_bad(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,4); CWE690_NULL_Deref_From_Return__int_calloc_22_badGlobal = 1; CWE690_NULL_Deref_From_Return__int_calloc_22_badSink(uVar1); return; }
['gcc']
8,232
void CWE690_NULL_Deref_From_Return__int_calloc_22_good() { goodB2G1(); goodB2G2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111333/CWE690_NULL_Deref_From_Return__int_calloc_22a.c
CWE690_NULL_Deref_From_Return__int_calloc_22_good
void CWE690_NULL_Deref_From_Return__int_calloc_22_good(void) { goodB2G1(); goodB2G2(); return; }
['gcc']
8,233
void CWE690_NULL_Deref_From_Return__int_calloc_22_badSink(int * data) { if(CWE690_NULL_Deref_From_Return__int_calloc_22_badGlobal) { /* 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/111333/CWE690_NULL_Deref_From_Return__int_calloc_22b.c
CWE690_NULL_Deref_From_Return__int_calloc_22_badSink
void CWE690_NULL_Deref_From_Return__int_calloc_22_badSink(undefined4 *param_1) { if (CWE690_NULL_Deref_From_Return__int_calloc_22_badGlobal != 0) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,234
void CWE690_NULL_Deref_From_Return__int_calloc_22_goodB2G1Sink(int * data) { if(CWE690_NULL_Deref_From_Return__int_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] = 5; printIntLine(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/111333/CWE690_NULL_Deref_From_Return__int_calloc_22b.c
CWE690_NULL_Deref_From_Return__int_calloc_22_goodB2G1Sink
void CWE690_NULL_Deref_From_Return__int_calloc_22_goodB2G1Sink(undefined4 *param_1) { if (CWE690_NULL_Deref_From_Return__int_calloc_22_goodB2G1Global == 0) { if (param_1 != (undefined4 *)0x0) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); } } else { printLine(&UNK_00401274); } return; }
['gcc']
8,235
void CWE690_NULL_Deref_From_Return__int_calloc_22_goodB2G2Sink(int * data) { if(CWE690_NULL_Deref_From_Return__int_calloc_22_goodB2G2Global) { /* 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/111333/CWE690_NULL_Deref_From_Return__int_calloc_22b.c
CWE690_NULL_Deref_From_Return__int_calloc_22_goodB2G2Sink
void CWE690_NULL_Deref_From_Return__int_calloc_22_goodB2G2Sink(undefined4 *param_1) { if ((CWE690_NULL_Deref_From_Return__int_calloc_22_goodB2G2Global != 0) && (param_1 != (undefined4 *)0x0)) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,236
void CWE690_NULL_Deref_From_Return__int_calloc_31_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(1, sizeof(int)); { int * dataCopy = data; int * data = dataCopy; /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(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/111334/CWE690_NULL_Deref_From_Return__int_calloc_31.c
CWE690_NULL_Deref_From_Return__int_calloc_31_bad
void CWE690_NULL_Deref_From_Return__int_calloc_31_bad(void) { undefined4 *puVar1; puVar1 = (undefined4 *)func_0x00400a90(1,4); *puVar1 = 5; printIntLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,237
void CWE690_NULL_Deref_From_Return__int_calloc_31_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111334/CWE690_NULL_Deref_From_Return__int_calloc_31.c
CWE690_NULL_Deref_From_Return__int_calloc_31_good
void CWE690_NULL_Deref_From_Return__int_calloc_31_good(void) { goodB2G(); return; }
['gcc']
8,238
void CWE690_NULL_Deref_From_Return__int_calloc_32_bad() { int * data; int * *dataPtr1 = &data; int * *dataPtr2 = &data; data = NULL; /* Initialize data */ { int * data = *dataPtr1; /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(1, sizeof(int)); *dataPtr1 = data; } { int * data = *dataPtr2; /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(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/111335/CWE690_NULL_Deref_From_Return__int_calloc_32.c
CWE690_NULL_Deref_From_Return__int_calloc_32_bad
/* WARNING: Restarted to delay deadcode elimination for space: stack */ void CWE690_NULL_Deref_From_Return__int_calloc_32_bad(void) { undefined8 uStack_30; undefined4 *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,4); *puStack_10 = uStack_20; puStack_28 = (undefined4 *)*puStack_18; *puStack_28 = 5; printIntLine(*puStack_28); func_0x00400a20(puStack_28); return; }
['gcc']
8,239
void CWE690_NULL_Deref_From_Return__int_calloc_32_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111335/CWE690_NULL_Deref_From_Return__int_calloc_32.c
CWE690_NULL_Deref_From_Return__int_calloc_32_good
void CWE690_NULL_Deref_From_Return__int_calloc_32_good(void) { goodB2G(); return; }
['gcc']
8,240
void CWE690_NULL_Deref_From_Return__int_calloc_34_bad() { int * data; CWE690_NULL_Deref_From_Return__int_calloc_34_unionType myUnion; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(1, sizeof(int)); myUnion.unionFirst = data; { int * data = myUnion.unionSecond; /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(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/111337/CWE690_NULL_Deref_From_Return__int_calloc_34.c
CWE690_NULL_Deref_From_Return__int_calloc_34_bad
void CWE690_NULL_Deref_From_Return__int_calloc_34_bad(void) { undefined4 *puVar1; puVar1 = (undefined4 *)func_0x00400a90(1,4); *puVar1 = 5; printIntLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,241
void CWE690_NULL_Deref_From_Return__int_calloc_34_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111337/CWE690_NULL_Deref_From_Return__int_calloc_34.c
CWE690_NULL_Deref_From_Return__int_calloc_34_good
void CWE690_NULL_Deref_From_Return__int_calloc_34_good(void) { goodB2G(); return; }
['gcc']
8,242
void CWE690_NULL_Deref_From_Return__int_calloc_41_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(1, sizeof(int)); 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/111338/CWE690_NULL_Deref_From_Return__int_calloc_41.c
CWE690_NULL_Deref_From_Return__int_calloc_41_bad
void CWE690_NULL_Deref_From_Return__int_calloc_41_bad(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,4); badSink(uVar1); return; }
['gcc']
8,243
void CWE690_NULL_Deref_From_Return__int_calloc_41_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111338/CWE690_NULL_Deref_From_Return__int_calloc_41.c
CWE690_NULL_Deref_From_Return__int_calloc_41_good
void CWE690_NULL_Deref_From_Return__int_calloc_41_good(void) { goodB2G(); return; }
['gcc']
8,244
void CWE690_NULL_Deref_From_Return__int_calloc_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/111339/CWE690_NULL_Deref_From_Return__int_calloc_42.c
CWE690_NULL_Deref_From_Return__int_calloc_42_bad
void CWE690_NULL_Deref_From_Return__int_calloc_42_bad(void) { undefined4 *puVar1; puVar1 = (undefined4 *)badSource(0); *puVar1 = 5; printIntLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,245
void CWE690_NULL_Deref_From_Return__int_calloc_42_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111339/CWE690_NULL_Deref_From_Return__int_calloc_42.c
CWE690_NULL_Deref_From_Return__int_calloc_42_good
void CWE690_NULL_Deref_From_Return__int_calloc_42_good(void) { goodB2G(); return; }
['gcc']
8,246
void CWE690_NULL_Deref_From_Return__int_calloc_51_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(1, sizeof(int)); CWE690_NULL_Deref_From_Return__int_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/111343/CWE690_NULL_Deref_From_Return__int_calloc_51a.c
CWE690_NULL_Deref_From_Return__int_calloc_51_bad
void CWE690_NULL_Deref_From_Return__int_calloc_51_bad(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,4); CWE690_NULL_Deref_From_Return__int_calloc_51b_badSink(uVar1); return; }
['gcc']
8,247
void CWE690_NULL_Deref_From_Return__int_calloc_51_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111343/CWE690_NULL_Deref_From_Return__int_calloc_51a.c
CWE690_NULL_Deref_From_Return__int_calloc_51_good
void CWE690_NULL_Deref_From_Return__int_calloc_51_good(void) { goodB2G(); return; }
['gcc']
8,248
void CWE690_NULL_Deref_From_Return__int_calloc_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/111343/CWE690_NULL_Deref_From_Return__int_calloc_51b.c
CWE690_NULL_Deref_From_Return__int_calloc_51b_badSink
void CWE690_NULL_Deref_From_Return__int_calloc_51b_badSink(undefined4 *param_1) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,249
void CWE690_NULL_Deref_From_Return__int_calloc_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/111343/CWE690_NULL_Deref_From_Return__int_calloc_51b.c
CWE690_NULL_Deref_From_Return__int_calloc_51b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_calloc_51b_goodB2GSink(undefined4 *param_1) { if (param_1 != (undefined4 *)0x0) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,250
void CWE690_NULL_Deref_From_Return__int_calloc_52_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(1, sizeof(int)); CWE690_NULL_Deref_From_Return__int_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/111344/CWE690_NULL_Deref_From_Return__int_calloc_52a.c
CWE690_NULL_Deref_From_Return__int_calloc_52_bad
void CWE690_NULL_Deref_From_Return__int_calloc_52_bad(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,4); CWE690_NULL_Deref_From_Return__int_calloc_52b_badSink(uVar1); return; }
['gcc']
8,251
void CWE690_NULL_Deref_From_Return__int_calloc_52_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111344/CWE690_NULL_Deref_From_Return__int_calloc_52a.c
CWE690_NULL_Deref_From_Return__int_calloc_52_good
void CWE690_NULL_Deref_From_Return__int_calloc_52_good(void) { goodB2G(); return; }
['gcc']
8,252
void CWE690_NULL_Deref_From_Return__int_calloc_52b_badSink(int * data) { CWE690_NULL_Deref_From_Return__int_calloc_52c_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111344/CWE690_NULL_Deref_From_Return__int_calloc_52b.c
CWE690_NULL_Deref_From_Return__int_calloc_52b_badSink
void CWE690_NULL_Deref_From_Return__int_calloc_52b_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_calloc_52c_badSink(param_1); return; }
['gcc']
8,253
void CWE690_NULL_Deref_From_Return__int_calloc_52b_goodB2GSink(int * data) { CWE690_NULL_Deref_From_Return__int_calloc_52c_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111344/CWE690_NULL_Deref_From_Return__int_calloc_52b.c
CWE690_NULL_Deref_From_Return__int_calloc_52b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_calloc_52b_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_calloc_52c_goodB2GSink(param_1); return; }
['gcc']
8,254
void CWE690_NULL_Deref_From_Return__int_calloc_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/111344/CWE690_NULL_Deref_From_Return__int_calloc_52c.c
CWE690_NULL_Deref_From_Return__int_calloc_52c_badSink
void CWE690_NULL_Deref_From_Return__int_calloc_52c_badSink(undefined4 *param_1) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,255
void CWE690_NULL_Deref_From_Return__int_calloc_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/111344/CWE690_NULL_Deref_From_Return__int_calloc_52c.c
CWE690_NULL_Deref_From_Return__int_calloc_52c_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_calloc_52c_goodB2GSink(undefined4 *param_1) { if (param_1 != (undefined4 *)0x0) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,256
void CWE690_NULL_Deref_From_Return__int_calloc_53_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(1, sizeof(int)); CWE690_NULL_Deref_From_Return__int_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/111345/CWE690_NULL_Deref_From_Return__int_calloc_53a.c
CWE690_NULL_Deref_From_Return__int_calloc_53_bad
void CWE690_NULL_Deref_From_Return__int_calloc_53_bad(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,4); CWE690_NULL_Deref_From_Return__int_calloc_53b_badSink(uVar1); return; }
['gcc']
8,257
void CWE690_NULL_Deref_From_Return__int_calloc_53_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111345/CWE690_NULL_Deref_From_Return__int_calloc_53a.c
CWE690_NULL_Deref_From_Return__int_calloc_53_good
void CWE690_NULL_Deref_From_Return__int_calloc_53_good(void) { goodB2G(); return; }
['gcc']
8,258
void CWE690_NULL_Deref_From_Return__int_calloc_53b_badSink(int * data) { CWE690_NULL_Deref_From_Return__int_calloc_53c_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111345/CWE690_NULL_Deref_From_Return__int_calloc_53b.c
CWE690_NULL_Deref_From_Return__int_calloc_53b_badSink
void CWE690_NULL_Deref_From_Return__int_calloc_53b_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_calloc_53c_badSink(param_1); return; }
['gcc']
8,259
void CWE690_NULL_Deref_From_Return__int_calloc_53b_goodB2GSink(int * data) { CWE690_NULL_Deref_From_Return__int_calloc_53c_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111345/CWE690_NULL_Deref_From_Return__int_calloc_53b.c
CWE690_NULL_Deref_From_Return__int_calloc_53b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_calloc_53b_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_calloc_53c_goodB2GSink(param_1); return; }
['gcc']
8,260
void CWE690_NULL_Deref_From_Return__int_calloc_53c_badSink(int * data) { CWE690_NULL_Deref_From_Return__int_calloc_53d_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111345/CWE690_NULL_Deref_From_Return__int_calloc_53c.c
CWE690_NULL_Deref_From_Return__int_calloc_53c_badSink
void CWE690_NULL_Deref_From_Return__int_calloc_53c_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_calloc_53d_badSink(param_1); return; }
['gcc']
8,261
void CWE690_NULL_Deref_From_Return__int_calloc_53c_goodB2GSink(int * data) { CWE690_NULL_Deref_From_Return__int_calloc_53d_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111345/CWE690_NULL_Deref_From_Return__int_calloc_53c.c
CWE690_NULL_Deref_From_Return__int_calloc_53c_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_calloc_53c_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_calloc_53d_goodB2GSink(param_1); return; }
['gcc']
8,262
void CWE690_NULL_Deref_From_Return__int_calloc_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/111345/CWE690_NULL_Deref_From_Return__int_calloc_53d.c
CWE690_NULL_Deref_From_Return__int_calloc_53d_badSink
void CWE690_NULL_Deref_From_Return__int_calloc_53d_badSink(undefined4 *param_1) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,263
void CWE690_NULL_Deref_From_Return__int_calloc_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/111345/CWE690_NULL_Deref_From_Return__int_calloc_53d.c
CWE690_NULL_Deref_From_Return__int_calloc_53d_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_calloc_53d_goodB2GSink(undefined4 *param_1) { if (param_1 != (undefined4 *)0x0) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,264
void CWE690_NULL_Deref_From_Return__int_calloc_54_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(1, sizeof(int)); CWE690_NULL_Deref_From_Return__int_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/111346/CWE690_NULL_Deref_From_Return__int_calloc_54a.c
CWE690_NULL_Deref_From_Return__int_calloc_54_bad
void CWE690_NULL_Deref_From_Return__int_calloc_54_bad(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,4); CWE690_NULL_Deref_From_Return__int_calloc_54b_badSink(uVar1); return; }
['gcc']
8,265
void CWE690_NULL_Deref_From_Return__int_calloc_54_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111346/CWE690_NULL_Deref_From_Return__int_calloc_54a.c
CWE690_NULL_Deref_From_Return__int_calloc_54_good
void CWE690_NULL_Deref_From_Return__int_calloc_54_good(void) { goodB2G(); return; }
['gcc']
8,266
void CWE690_NULL_Deref_From_Return__int_calloc_54b_badSink(int * data) { CWE690_NULL_Deref_From_Return__int_calloc_54c_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111346/CWE690_NULL_Deref_From_Return__int_calloc_54b.c
CWE690_NULL_Deref_From_Return__int_calloc_54b_badSink
void CWE690_NULL_Deref_From_Return__int_calloc_54b_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_calloc_54c_badSink(param_1); return; }
['gcc']
8,267
void CWE690_NULL_Deref_From_Return__int_calloc_54b_goodB2GSink(int * data) { CWE690_NULL_Deref_From_Return__int_calloc_54c_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111346/CWE690_NULL_Deref_From_Return__int_calloc_54b.c
CWE690_NULL_Deref_From_Return__int_calloc_54b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_calloc_54b_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_calloc_54c_goodB2GSink(param_1); return; }
['gcc']
8,268
void CWE690_NULL_Deref_From_Return__int_calloc_54c_badSink(int * data) { CWE690_NULL_Deref_From_Return__int_calloc_54d_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111346/CWE690_NULL_Deref_From_Return__int_calloc_54c.c
CWE690_NULL_Deref_From_Return__int_calloc_54c_badSink
void CWE690_NULL_Deref_From_Return__int_calloc_54c_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_calloc_54d_badSink(param_1); return; }
['gcc']
8,269
void CWE690_NULL_Deref_From_Return__int_calloc_54c_goodB2GSink(int * data) { CWE690_NULL_Deref_From_Return__int_calloc_54d_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111346/CWE690_NULL_Deref_From_Return__int_calloc_54c.c
CWE690_NULL_Deref_From_Return__int_calloc_54c_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_calloc_54c_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_calloc_54d_goodB2GSink(param_1); return; }
['gcc']
8,270
void CWE690_NULL_Deref_From_Return__int_calloc_54d_badSink(int * data) { CWE690_NULL_Deref_From_Return__int_calloc_54e_badSink(data); }
[]
['CWE690']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111346/CWE690_NULL_Deref_From_Return__int_calloc_54d.c
CWE690_NULL_Deref_From_Return__int_calloc_54d_badSink
void CWE690_NULL_Deref_From_Return__int_calloc_54d_badSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_calloc_54e_badSink(param_1); return; }
['gcc']
8,271
void CWE690_NULL_Deref_From_Return__int_calloc_54d_goodB2GSink(int * data) { CWE690_NULL_Deref_From_Return__int_calloc_54e_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111346/CWE690_NULL_Deref_From_Return__int_calloc_54d.c
CWE690_NULL_Deref_From_Return__int_calloc_54d_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_calloc_54d_goodB2GSink(undefined8 param_1) { CWE690_NULL_Deref_From_Return__int_calloc_54e_goodB2GSink(param_1); return; }
['gcc']
8,272
void CWE690_NULL_Deref_From_Return__int_calloc_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/111346/CWE690_NULL_Deref_From_Return__int_calloc_54e.c
CWE690_NULL_Deref_From_Return__int_calloc_54e_badSink
void CWE690_NULL_Deref_From_Return__int_calloc_54e_badSink(undefined4 *param_1) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,273
void CWE690_NULL_Deref_From_Return__int_calloc_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/111346/CWE690_NULL_Deref_From_Return__int_calloc_54e.c
CWE690_NULL_Deref_From_Return__int_calloc_54e_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_calloc_54e_goodB2GSink(undefined4 *param_1) { if (param_1 != (undefined4 *)0x0) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,274
void CWE690_NULL_Deref_From_Return__int_calloc_61_bad() { int * data; data = NULL; /* Initialize data */ data = CWE690_NULL_Deref_From_Return__int_calloc_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/111347/CWE690_NULL_Deref_From_Return__int_calloc_61a.c
CWE690_NULL_Deref_From_Return__int_calloc_61_bad
void CWE690_NULL_Deref_From_Return__int_calloc_61_bad(void) { undefined4 *puVar1; puVar1 = (undefined4 *)CWE690_NULL_Deref_From_Return__int_calloc_61b_badSource(0); *puVar1 = 5; printIntLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,275
void CWE690_NULL_Deref_From_Return__int_calloc_61_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111347/CWE690_NULL_Deref_From_Return__int_calloc_61a.c
CWE690_NULL_Deref_From_Return__int_calloc_61_good
void CWE690_NULL_Deref_From_Return__int_calloc_61_good(void) { goodB2G(); return; }
['gcc']
8,276
int * CWE690_NULL_Deref_From_Return__int_calloc_61b_badSource(int * data) { /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(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/111347/CWE690_NULL_Deref_From_Return__int_calloc_61b.c
CWE690_NULL_Deref_From_Return__int_calloc_61b_badSource
undefined8 CWE690_NULL_Deref_From_Return__int_calloc_61b_badSource(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,4); return uVar1; }
['gcc']
8,277
int * CWE690_NULL_Deref_From_Return__int_calloc_61b_goodB2GSource(int * data) { /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(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/111347/CWE690_NULL_Deref_From_Return__int_calloc_61b.c
CWE690_NULL_Deref_From_Return__int_calloc_61b_goodB2GSource
undefined8 CWE690_NULL_Deref_From_Return__int_calloc_61b_goodB2GSource(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,4); return uVar1; }
['gcc']
8,278
void CWE690_NULL_Deref_From_Return__int_calloc_63_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(1, sizeof(int)); CWE690_NULL_Deref_From_Return__int_calloc_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/111349/CWE690_NULL_Deref_From_Return__int_calloc_63a.c
CWE690_NULL_Deref_From_Return__int_calloc_63_bad
void CWE690_NULL_Deref_From_Return__int_calloc_63_bad(void) { undefined8 uStack_10; uStack_10 = 0; uStack_10 = func_0x00400a90(1,4); CWE690_NULL_Deref_From_Return__int_calloc_63b_badSink(&uStack_10); return; }
['gcc']
8,279
void CWE690_NULL_Deref_From_Return__int_calloc_63_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111349/CWE690_NULL_Deref_From_Return__int_calloc_63a.c
CWE690_NULL_Deref_From_Return__int_calloc_63_good
void CWE690_NULL_Deref_From_Return__int_calloc_63_good(void) { goodB2G(); return; }
['gcc']
8,280
void CWE690_NULL_Deref_From_Return__int_calloc_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/111349/CWE690_NULL_Deref_From_Return__int_calloc_63b.c
CWE690_NULL_Deref_From_Return__int_calloc_63b_badSink
void CWE690_NULL_Deref_From_Return__int_calloc_63b_badSink(undefined8 *param_1) { undefined4 *puVar1; puVar1 = (undefined4 *)*param_1; *puVar1 = 5; printIntLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,281
void CWE690_NULL_Deref_From_Return__int_calloc_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/111349/CWE690_NULL_Deref_From_Return__int_calloc_63b.c
CWE690_NULL_Deref_From_Return__int_calloc_63b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_calloc_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,282
void CWE690_NULL_Deref_From_Return__int_calloc_64_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(1, sizeof(int)); CWE690_NULL_Deref_From_Return__int_calloc_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/111350/CWE690_NULL_Deref_From_Return__int_calloc_64a.c
CWE690_NULL_Deref_From_Return__int_calloc_64_bad
void CWE690_NULL_Deref_From_Return__int_calloc_64_bad(void) { undefined8 uStack_10; uStack_10 = 0; uStack_10 = func_0x00400a90(1,4); CWE690_NULL_Deref_From_Return__int_calloc_64b_badSink(&uStack_10); return; }
['gcc']
8,283
void CWE690_NULL_Deref_From_Return__int_calloc_64_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111350/CWE690_NULL_Deref_From_Return__int_calloc_64a.c
CWE690_NULL_Deref_From_Return__int_calloc_64_good
void CWE690_NULL_Deref_From_Return__int_calloc_64_good(void) { goodB2G(); return; }
['gcc']
8,284
void CWE690_NULL_Deref_From_Return__int_calloc_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/111350/CWE690_NULL_Deref_From_Return__int_calloc_64b.c
CWE690_NULL_Deref_From_Return__int_calloc_64b_badSink
void CWE690_NULL_Deref_From_Return__int_calloc_64b_badSink(undefined8 *param_1) { undefined4 *puVar1; puVar1 = (undefined4 *)*param_1; *puVar1 = 5; printIntLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,285
void CWE690_NULL_Deref_From_Return__int_calloc_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/111350/CWE690_NULL_Deref_From_Return__int_calloc_64b.c
CWE690_NULL_Deref_From_Return__int_calloc_64b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_calloc_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,286
void CWE690_NULL_Deref_From_Return__int_calloc_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 *)calloc(1, sizeof(int)); /* put data in array */ dataArray[2] = data; CWE690_NULL_Deref_From_Return__int_calloc_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/111352/CWE690_NULL_Deref_From_Return__int_calloc_66a.c
CWE690_NULL_Deref_From_Return__int_calloc_66_bad
void CWE690_NULL_Deref_From_Return__int_calloc_66_bad(void) { undefined auStack_38 [16]; undefined8 uStack_28; undefined8 uStack_10; uStack_10 = 0; uStack_28 = func_0x00400a90(1,4); uStack_10 = uStack_28; CWE690_NULL_Deref_From_Return__int_calloc_66b_badSink(auStack_38); return; }
['gcc']
8,287
void CWE690_NULL_Deref_From_Return__int_calloc_66_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111352/CWE690_NULL_Deref_From_Return__int_calloc_66a.c
CWE690_NULL_Deref_From_Return__int_calloc_66_good
void CWE690_NULL_Deref_From_Return__int_calloc_66_good(void) { goodB2G(); return; }
['gcc']
8,288
void CWE690_NULL_Deref_From_Return__int_calloc_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/111352/CWE690_NULL_Deref_From_Return__int_calloc_66b.c
CWE690_NULL_Deref_From_Return__int_calloc_66b_badSink
void CWE690_NULL_Deref_From_Return__int_calloc_66b_badSink(long param_1) { undefined4 *puVar1; puVar1 = *(undefined4 **)(param_1 + 0x10); *puVar1 = 5; printIntLine(*puVar1); func_0x00400a20(puVar1); return; }
['gcc']
8,289
void CWE690_NULL_Deref_From_Return__int_calloc_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/111352/CWE690_NULL_Deref_From_Return__int_calloc_66b.c
CWE690_NULL_Deref_From_Return__int_calloc_66b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_calloc_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,290
void CWE690_NULL_Deref_From_Return__int_calloc_67_bad() { int * data; CWE690_NULL_Deref_From_Return__int_calloc_67_structType myStruct; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)calloc(1, sizeof(int)); myStruct.structFirst = data; CWE690_NULL_Deref_From_Return__int_calloc_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/111353/CWE690_NULL_Deref_From_Return__int_calloc_67a.c
CWE690_NULL_Deref_From_Return__int_calloc_67_bad
void CWE690_NULL_Deref_From_Return__int_calloc_67_bad(void) { undefined8 uVar1; uVar1 = func_0x00400a90(1,4); CWE690_NULL_Deref_From_Return__int_calloc_67b_badSink(uVar1); return; }
['gcc']
8,291
void CWE690_NULL_Deref_From_Return__int_calloc_67_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111353/CWE690_NULL_Deref_From_Return__int_calloc_67a.c
CWE690_NULL_Deref_From_Return__int_calloc_67_good
void CWE690_NULL_Deref_From_Return__int_calloc_67_good(void) { goodB2G(); return; }
['gcc']
8,292
void CWE690_NULL_Deref_From_Return__int_calloc_67b_badSink(CWE690_NULL_Deref_From_Return__int_calloc_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/111353/CWE690_NULL_Deref_From_Return__int_calloc_67b.c
CWE690_NULL_Deref_From_Return__int_calloc_67b_badSink
void CWE690_NULL_Deref_From_Return__int_calloc_67b_badSink(undefined4 *param_1) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); return; }
['gcc']
8,293
void CWE690_NULL_Deref_From_Return__int_calloc_67b_goodB2GSink(CWE690_NULL_Deref_From_Return__int_calloc_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/111353/CWE690_NULL_Deref_From_Return__int_calloc_67b.c
CWE690_NULL_Deref_From_Return__int_calloc_67b_goodB2GSink
void CWE690_NULL_Deref_From_Return__int_calloc_67b_goodB2GSink(undefined4 *param_1) { if (param_1 != (undefined4 *)0x0) { *param_1 = 5; printIntLine(*param_1); func_0x00400a20(param_1); } return; }
['gcc']
8,294
void CWE690_NULL_Deref_From_Return__int_malloc_08_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)malloc(1*sizeof(int)); if(staticReturnsTrue()) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(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/111369/CWE690_NULL_Deref_From_Return__int_malloc_08.c
CWE690_NULL_Deref_From_Return__int_malloc_08_bad
void CWE690_NULL_Deref_From_Return__int_malloc_08_bad(void) { int iVar1; undefined4 *puVar2; puVar2 = (undefined4 *)func_0x00400ab0(4); iVar1 = staticReturnsTrue(); if (iVar1 != 0) { *puVar2 = 5; printIntLine(*puVar2); func_0x00400a20(puVar2); } return; }
['gcc']
8,295
void CWE690_NULL_Deref_From_Return__int_malloc_08_good() { goodB2G1(); goodB2G2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111369/CWE690_NULL_Deref_From_Return__int_malloc_08.c
CWE690_NULL_Deref_From_Return__int_malloc_08_good
void CWE690_NULL_Deref_From_Return__int_malloc_08_good(void) { goodB2G1(); goodB2G2(); return; }
['gcc']
8,296
void CWE690_NULL_Deref_From_Return__int_malloc_11_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)malloc(1*sizeof(int)); if(globalReturnsTrue()) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(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/111372/CWE690_NULL_Deref_From_Return__int_malloc_11.c
CWE690_NULL_Deref_From_Return__int_malloc_11_bad
void CWE690_NULL_Deref_From_Return__int_malloc_11_bad(void) { int iVar1; undefined4 *puVar2; puVar2 = (undefined4 *)func_0x00400ab0(4); iVar1 = globalReturnsTrue(); if (iVar1 != 0) { *puVar2 = 5; printIntLine(*puVar2); func_0x00400a20(puVar2); } return; }
['gcc']
8,297
void CWE690_NULL_Deref_From_Return__int_malloc_11_good() { goodB2G1(); goodB2G2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111372/CWE690_NULL_Deref_From_Return__int_malloc_11.c
CWE690_NULL_Deref_From_Return__int_malloc_11_good
void CWE690_NULL_Deref_From_Return__int_malloc_11_good(void) { goodB2G1(); goodB2G2(); return; }
['gcc']
8,298
void CWE690_NULL_Deref_From_Return__int_malloc_12_bad() { int * data; data = NULL; /* Initialize data */ /* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */ data = (int *)malloc(1*sizeof(int)); if(globalReturnsTrueOrFalse()) { /* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */ data[0] = 5; printIntLine(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] = 5; printIntLine(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/111373/CWE690_NULL_Deref_From_Return__int_malloc_12.c
CWE690_NULL_Deref_From_Return__int_malloc_12_bad
void CWE690_NULL_Deref_From_Return__int_malloc_12_bad(void) { int iVar1; undefined4 *puVar2; puVar2 = (undefined4 *)func_0x00400ab0(4); iVar1 = globalReturnsTrueOrFalse(); if (iVar1 == 0) { if (puVar2 != (undefined4 *)0x0) { *puVar2 = 5; printIntLine(*puVar2); func_0x00400a20(puVar2); } } else { *puVar2 = 5; printIntLine(*puVar2); func_0x00400a20(puVar2); } return; }
['gcc']
8,299
void CWE690_NULL_Deref_From_Return__int_malloc_12_good() { goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111373/CWE690_NULL_Deref_From_Return__int_malloc_12.c
CWE690_NULL_Deref_From_Return__int_malloc_12_good
void CWE690_NULL_Deref_From_Return__int_malloc_12_good(void) { goodB2G(); return; }
['gcc']