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,900 | void CWE690_NULL_Deref_From_Return__struct_realloc_53b_goodB2GSink(twoIntsStruct * data)
{
CWE690_NULL_Deref_From_Return__struct_realloc_53c_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111729/CWE690_NULL_Deref_From_Return__struct_realloc_53b.c | CWE690_NULL_Deref_From_Return__struct_realloc_53b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_53b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__struct_realloc_53c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,901 | void CWE690_NULL_Deref_From_Return__struct_realloc_53c_badSink(twoIntsStruct * data)
{
CWE690_NULL_Deref_From_Return__struct_realloc_53d_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111729/CWE690_NULL_Deref_From_Return__struct_realloc_53c.c | CWE690_NULL_Deref_From_Return__struct_realloc_53c_badSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_53c_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__struct_realloc_53d_badSink(param_1);
return;
}
| ['gcc'] |
8,902 | void CWE690_NULL_Deref_From_Return__struct_realloc_53c_goodB2GSink(twoIntsStruct * data)
{
CWE690_NULL_Deref_From_Return__struct_realloc_53d_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111729/CWE690_NULL_Deref_From_Return__struct_realloc_53c.c | CWE690_NULL_Deref_From_Return__struct_realloc_53c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_53c_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__struct_realloc_53d_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,903 | void CWE690_NULL_Deref_From_Return__struct_realloc_53d_badSink(twoIntsStruct * data)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
data[0].intOne = 1;
data[0].intTwo = 1;
printStructLine(&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/111729/CWE690_NULL_Deref_From_Return__struct_realloc_53d.c | CWE690_NULL_Deref_From_Return__struct_realloc_53d_badSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_53d_badSink(undefined4 *param_1)
{
*param_1 = 1;
param_1[1] = 1;
printStructLine(param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
8,904 | void CWE690_NULL_Deref_From_Return__struct_realloc_53d_goodB2GSink(twoIntsStruct * data)
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
data[0].intOne = 1;
data[0].intTwo = 1;
printStructLine(&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/111729/CWE690_NULL_Deref_From_Return__struct_realloc_53d.c | CWE690_NULL_Deref_From_Return__struct_realloc_53d_goodB2GSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_53d_goodB2GSink(undefined4 *param_1)
{
if (param_1 != (undefined4 *)0x0) {
*param_1 = 1;
param_1[1] = 1;
printStructLine(param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
8,905 | void CWE690_NULL_Deref_From_Return__struct_realloc_54_bad()
{
twoIntsStruct * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (twoIntsStruct *)realloc(data, 1*sizeof(twoIntsStruct));
CWE690_NULL_Deref_From_Return__struct_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/111730/CWE690_NULL_Deref_From_Return__struct_realloc_54a.c | CWE690_NULL_Deref_From_Return__struct_realloc_54_bad |
void CWE690_NULL_Deref_From_Return__struct_realloc_54_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0,8);
CWE690_NULL_Deref_From_Return__struct_realloc_54b_badSink(uVar1);
return;
}
| ['gcc'] |
8,906 | void CWE690_NULL_Deref_From_Return__struct_realloc_54_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111730/CWE690_NULL_Deref_From_Return__struct_realloc_54a.c | CWE690_NULL_Deref_From_Return__struct_realloc_54_good |
void CWE690_NULL_Deref_From_Return__struct_realloc_54_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,907 | void CWE690_NULL_Deref_From_Return__struct_realloc_54b_badSink(twoIntsStruct * data)
{
CWE690_NULL_Deref_From_Return__struct_realloc_54c_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111730/CWE690_NULL_Deref_From_Return__struct_realloc_54b.c | CWE690_NULL_Deref_From_Return__struct_realloc_54b_badSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_54b_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__struct_realloc_54c_badSink(param_1);
return;
}
| ['gcc'] |
8,908 | void CWE690_NULL_Deref_From_Return__struct_realloc_54b_goodB2GSink(twoIntsStruct * data)
{
CWE690_NULL_Deref_From_Return__struct_realloc_54c_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111730/CWE690_NULL_Deref_From_Return__struct_realloc_54b.c | CWE690_NULL_Deref_From_Return__struct_realloc_54b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_54b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__struct_realloc_54c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,909 | void CWE690_NULL_Deref_From_Return__struct_realloc_54c_badSink(twoIntsStruct * data)
{
CWE690_NULL_Deref_From_Return__struct_realloc_54d_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111730/CWE690_NULL_Deref_From_Return__struct_realloc_54c.c | CWE690_NULL_Deref_From_Return__struct_realloc_54c_badSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_54c_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__struct_realloc_54d_badSink(param_1);
return;
}
| ['gcc'] |
8,910 | void CWE690_NULL_Deref_From_Return__struct_realloc_54c_goodB2GSink(twoIntsStruct * data)
{
CWE690_NULL_Deref_From_Return__struct_realloc_54d_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111730/CWE690_NULL_Deref_From_Return__struct_realloc_54c.c | CWE690_NULL_Deref_From_Return__struct_realloc_54c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_54c_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__struct_realloc_54d_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,911 | void CWE690_NULL_Deref_From_Return__struct_realloc_54d_badSink(twoIntsStruct * data)
{
CWE690_NULL_Deref_From_Return__struct_realloc_54e_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111730/CWE690_NULL_Deref_From_Return__struct_realloc_54d.c | CWE690_NULL_Deref_From_Return__struct_realloc_54d_badSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_54d_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__struct_realloc_54e_badSink(param_1);
return;
}
| ['gcc'] |
8,912 | void CWE690_NULL_Deref_From_Return__struct_realloc_54d_goodB2GSink(twoIntsStruct * data)
{
CWE690_NULL_Deref_From_Return__struct_realloc_54e_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111730/CWE690_NULL_Deref_From_Return__struct_realloc_54d.c | CWE690_NULL_Deref_From_Return__struct_realloc_54d_goodB2GSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_54d_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__struct_realloc_54e_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,913 | void CWE690_NULL_Deref_From_Return__struct_realloc_54e_badSink(twoIntsStruct * data)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
data[0].intOne = 1;
data[0].intTwo = 1;
printStructLine(&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/111730/CWE690_NULL_Deref_From_Return__struct_realloc_54e.c | CWE690_NULL_Deref_From_Return__struct_realloc_54e_badSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_54e_badSink(undefined4 *param_1)
{
*param_1 = 1;
param_1[1] = 1;
printStructLine(param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
8,914 | void CWE690_NULL_Deref_From_Return__struct_realloc_54e_goodB2GSink(twoIntsStruct * data)
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
data[0].intOne = 1;
data[0].intTwo = 1;
printStructLine(&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/111730/CWE690_NULL_Deref_From_Return__struct_realloc_54e.c | CWE690_NULL_Deref_From_Return__struct_realloc_54e_goodB2GSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_54e_goodB2GSink(undefined4 *param_1)
{
if (param_1 != (undefined4 *)0x0) {
*param_1 = 1;
param_1[1] = 1;
printStructLine(param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
8,915 | void CWE690_NULL_Deref_From_Return__struct_realloc_61_bad()
{
twoIntsStruct * data;
data = NULL; /* Initialize data */
data = CWE690_NULL_Deref_From_Return__struct_realloc_61b_badSource(data);
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
data[0].intOne = 1;
data[0].intTwo = 1;
printStructLine(&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/111731/CWE690_NULL_Deref_From_Return__struct_realloc_61a.c | CWE690_NULL_Deref_From_Return__struct_realloc_61_bad |
void CWE690_NULL_Deref_From_Return__struct_realloc_61_bad(void)
{
undefined4 *puVar1;
puVar1 = (undefined4 *)CWE690_NULL_Deref_From_Return__struct_realloc_61b_badSource(0);
*puVar1 = 1;
puVar1[1] = 1;
printStructLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
8,916 | void CWE690_NULL_Deref_From_Return__struct_realloc_61_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111731/CWE690_NULL_Deref_From_Return__struct_realloc_61a.c | CWE690_NULL_Deref_From_Return__struct_realloc_61_good |
void CWE690_NULL_Deref_From_Return__struct_realloc_61_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,917 | twoIntsStruct * CWE690_NULL_Deref_From_Return__struct_realloc_61b_badSource(twoIntsStruct * data)
{
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (twoIntsStruct *)realloc(data, 1*sizeof(twoIntsStruct));
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/111731/CWE690_NULL_Deref_From_Return__struct_realloc_61b.c | CWE690_NULL_Deref_From_Return__struct_realloc_61b_badSource |
undefined8 CWE690_NULL_Deref_From_Return__struct_realloc_61b_badSource(undefined8 param_1)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(param_1,8);
return uVar1;
}
| ['gcc'] |
8,918 | twoIntsStruct * CWE690_NULL_Deref_From_Return__struct_realloc_61b_goodB2GSource(twoIntsStruct * data)
{
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (twoIntsStruct *)realloc(data, 1*sizeof(twoIntsStruct));
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/111731/CWE690_NULL_Deref_From_Return__struct_realloc_61b.c | CWE690_NULL_Deref_From_Return__struct_realloc_61b_goodB2GSource |
undefined8 CWE690_NULL_Deref_From_Return__struct_realloc_61b_goodB2GSource(undefined8 param_1)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(param_1,8);
return uVar1;
}
| ['gcc'] |
8,919 | void CWE690_NULL_Deref_From_Return__struct_realloc_63_bad()
{
twoIntsStruct * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (twoIntsStruct *)realloc(data, 1*sizeof(twoIntsStruct));
CWE690_NULL_Deref_From_Return__struct_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/111733/CWE690_NULL_Deref_From_Return__struct_realloc_63a.c | CWE690_NULL_Deref_From_Return__struct_realloc_63_bad |
void CWE690_NULL_Deref_From_Return__struct_realloc_63_bad(void)
{
undefined8 uStack_10;
uStack_10 = 0;
uStack_10 = func_0x00400ad0(0,8);
CWE690_NULL_Deref_From_Return__struct_realloc_63b_badSink(&uStack_10);
return;
}
| ['gcc'] |
8,920 | void CWE690_NULL_Deref_From_Return__struct_realloc_63_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111733/CWE690_NULL_Deref_From_Return__struct_realloc_63a.c | CWE690_NULL_Deref_From_Return__struct_realloc_63_good |
void CWE690_NULL_Deref_From_Return__struct_realloc_63_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,921 | void CWE690_NULL_Deref_From_Return__struct_realloc_63b_badSink(twoIntsStruct * * dataPtr)
{
twoIntsStruct * data = *dataPtr;
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
data[0].intOne = 1;
data[0].intTwo = 1;
printStructLine(&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/111733/CWE690_NULL_Deref_From_Return__struct_realloc_63b.c | CWE690_NULL_Deref_From_Return__struct_realloc_63b_badSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_63b_badSink(undefined8 *param_1)
{
undefined4 *puVar1;
puVar1 = (undefined4 *)*param_1;
*puVar1 = 1;
puVar1[1] = 1;
printStructLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
8,922 | void CWE690_NULL_Deref_From_Return__struct_realloc_63b_goodB2GSink(twoIntsStruct * * dataPtr)
{
twoIntsStruct * data = *dataPtr;
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
data[0].intOne = 1;
data[0].intTwo = 1;
printStructLine(&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/111733/CWE690_NULL_Deref_From_Return__struct_realloc_63b.c | CWE690_NULL_Deref_From_Return__struct_realloc_63b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_63b_goodB2GSink(undefined8 *param_1)
{
undefined4 *puVar1;
puVar1 = (undefined4 *)*param_1;
if (puVar1 != (undefined4 *)0x0) {
*puVar1 = 1;
puVar1[1] = 1;
printStructLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
8,923 | void CWE690_NULL_Deref_From_Return__struct_realloc_64_bad()
{
twoIntsStruct * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (twoIntsStruct *)realloc(data, 1*sizeof(twoIntsStruct));
CWE690_NULL_Deref_From_Return__struct_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/111734/CWE690_NULL_Deref_From_Return__struct_realloc_64a.c | CWE690_NULL_Deref_From_Return__struct_realloc_64_bad |
void CWE690_NULL_Deref_From_Return__struct_realloc_64_bad(void)
{
undefined8 uStack_10;
uStack_10 = 0;
uStack_10 = func_0x00400ad0(0,8);
CWE690_NULL_Deref_From_Return__struct_realloc_64b_badSink(&uStack_10);
return;
}
| ['gcc'] |
8,924 | void CWE690_NULL_Deref_From_Return__struct_realloc_64_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111734/CWE690_NULL_Deref_From_Return__struct_realloc_64a.c | CWE690_NULL_Deref_From_Return__struct_realloc_64_good |
void CWE690_NULL_Deref_From_Return__struct_realloc_64_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,925 | void CWE690_NULL_Deref_From_Return__struct_realloc_64b_badSink(void * dataVoidPtr)
{
/* cast void pointer to a pointer of the appropriate type */
twoIntsStruct * * dataPtr = (twoIntsStruct * *)dataVoidPtr;
/* dereference dataPtr into data */
twoIntsStruct * data = (*dataPtr);
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
data[0].intOne = 1;
data[0].intTwo = 1;
printStructLine(&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/111734/CWE690_NULL_Deref_From_Return__struct_realloc_64b.c | CWE690_NULL_Deref_From_Return__struct_realloc_64b_badSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_64b_badSink(undefined8 *param_1)
{
undefined4 *puVar1;
puVar1 = (undefined4 *)*param_1;
*puVar1 = 1;
puVar1[1] = 1;
printStructLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
8,926 | void CWE690_NULL_Deref_From_Return__struct_realloc_64b_goodB2GSink(void * dataVoidPtr)
{
/* cast void pointer to a pointer of the appropriate type */
twoIntsStruct * * dataPtr = (twoIntsStruct * *)dataVoidPtr;
/* dereference dataPtr into data */
twoIntsStruct * data = (*dataPtr);
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
data[0].intOne = 1;
data[0].intTwo = 1;
printStructLine(&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/111734/CWE690_NULL_Deref_From_Return__struct_realloc_64b.c | CWE690_NULL_Deref_From_Return__struct_realloc_64b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_64b_goodB2GSink(undefined8 *param_1)
{
undefined4 *puVar1;
puVar1 = (undefined4 *)*param_1;
if (puVar1 != (undefined4 *)0x0) {
*puVar1 = 1;
puVar1[1] = 1;
printStructLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
8,927 | void CWE690_NULL_Deref_From_Return__struct_realloc_66_bad()
{
twoIntsStruct * data;
twoIntsStruct * dataArray[5];
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (twoIntsStruct *)realloc(data, 1*sizeof(twoIntsStruct));
/* put data in array */
dataArray[2] = data;
CWE690_NULL_Deref_From_Return__struct_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/111736/CWE690_NULL_Deref_From_Return__struct_realloc_66a.c | CWE690_NULL_Deref_From_Return__struct_realloc_66_bad |
void CWE690_NULL_Deref_From_Return__struct_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__struct_realloc_66b_badSink(auStack_38);
return;
}
| ['gcc'] |
8,928 | void CWE690_NULL_Deref_From_Return__struct_realloc_66_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111736/CWE690_NULL_Deref_From_Return__struct_realloc_66a.c | CWE690_NULL_Deref_From_Return__struct_realloc_66_good |
void CWE690_NULL_Deref_From_Return__struct_realloc_66_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,929 | void CWE690_NULL_Deref_From_Return__struct_realloc_66b_badSink(twoIntsStruct * dataArray[])
{
/* copy data out of dataArray */
twoIntsStruct * data = dataArray[2];
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
data[0].intOne = 1;
data[0].intTwo = 1;
printStructLine(&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/111736/CWE690_NULL_Deref_From_Return__struct_realloc_66b.c | CWE690_NULL_Deref_From_Return__struct_realloc_66b_badSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_66b_badSink(long param_1)
{
undefined4 *puVar1;
puVar1 = *(undefined4 **)(param_1 + 0x10);
*puVar1 = 1;
puVar1[1] = 1;
printStructLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
8,930 | void CWE690_NULL_Deref_From_Return__struct_realloc_66b_goodB2GSink(twoIntsStruct * dataArray[])
{
twoIntsStruct * data = dataArray[2];
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
data[0].intOne = 1;
data[0].intTwo = 1;
printStructLine(&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/111736/CWE690_NULL_Deref_From_Return__struct_realloc_66b.c | CWE690_NULL_Deref_From_Return__struct_realloc_66b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_66b_goodB2GSink(long param_1)
{
undefined4 *puVar1;
puVar1 = *(undefined4 **)(param_1 + 0x10);
if (puVar1 != (undefined4 *)0x0) {
*puVar1 = 1;
puVar1[1] = 1;
printStructLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
8,931 | void CWE690_NULL_Deref_From_Return__struct_realloc_67_bad()
{
twoIntsStruct * data;
CWE690_NULL_Deref_From_Return__struct_realloc_67_structType myStruct;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (twoIntsStruct *)realloc(data, 1*sizeof(twoIntsStruct));
myStruct.structFirst = data;
CWE690_NULL_Deref_From_Return__struct_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/111737/CWE690_NULL_Deref_From_Return__struct_realloc_67a.c | CWE690_NULL_Deref_From_Return__struct_realloc_67_bad |
void CWE690_NULL_Deref_From_Return__struct_realloc_67_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0,8);
CWE690_NULL_Deref_From_Return__struct_realloc_67b_badSink(uVar1);
return;
}
| ['gcc'] |
8,932 | void CWE690_NULL_Deref_From_Return__struct_realloc_67_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111737/CWE690_NULL_Deref_From_Return__struct_realloc_67a.c | CWE690_NULL_Deref_From_Return__struct_realloc_67_good |
void CWE690_NULL_Deref_From_Return__struct_realloc_67_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,933 | void CWE690_NULL_Deref_From_Return__struct_realloc_67b_badSink(CWE690_NULL_Deref_From_Return__struct_realloc_67_structType myStruct)
{
twoIntsStruct * data = myStruct.structFirst;
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
data[0].intOne = 1;
data[0].intTwo = 1;
printStructLine(&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/111737/CWE690_NULL_Deref_From_Return__struct_realloc_67b.c | CWE690_NULL_Deref_From_Return__struct_realloc_67b_badSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_67b_badSink(undefined4 *param_1)
{
*param_1 = 1;
param_1[1] = 1;
printStructLine(param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
8,934 | void CWE690_NULL_Deref_From_Return__struct_realloc_67b_goodB2GSink(CWE690_NULL_Deref_From_Return__struct_realloc_67_structType myStruct)
{
twoIntsStruct * data = myStruct.structFirst;
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
data[0].intOne = 1;
data[0].intTwo = 1;
printStructLine(&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/111737/CWE690_NULL_Deref_From_Return__struct_realloc_67b.c | CWE690_NULL_Deref_From_Return__struct_realloc_67b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__struct_realloc_67b_goodB2GSink(undefined4 *param_1)
{
if (param_1 != (undefined4 *)0x0) {
*param_1 = 1;
param_1[1] = 1;
printStructLine(param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
8,935 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_01_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
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/111794/CWE690_NULL_Deref_From_Return__wchar_t_calloc_01.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_01_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_01_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0x14,4);
func_0x00400ae0(uVar1,&UNK_004011f8);
printWLine(uVar1);
func_0x00400a60(uVar1);
return;
}
| ['gcc'] |
8,936 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_01_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111794/CWE690_NULL_Deref_From_Return__wchar_t_calloc_01.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_01_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_01_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,937 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_03_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
if(5==5)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
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/111796/CWE690_NULL_Deref_From_Return__wchar_t_calloc_03.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_03_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_03_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0x14,4);
func_0x00400ae0(uVar1,&UNK_004011f8);
printWLine(uVar1);
func_0x00400a60(uVar1);
return;
}
| ['gcc'] |
8,938 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_03_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111796/CWE690_NULL_Deref_From_Return__wchar_t_calloc_03.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_03_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_03_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
8,939 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_05_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
if(staticTrue)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
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/111798/CWE690_NULL_Deref_From_Return__wchar_t_calloc_05.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_05_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_05_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0x14,4);
if (staticTrue != 0) {
func_0x00400ae0(uVar1,&UNK_004011f8);
printWLine(uVar1);
func_0x00400a60(uVar1);
}
return;
}
| ['gcc'] |
8,940 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_05_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111798/CWE690_NULL_Deref_From_Return__wchar_t_calloc_05.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_05_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_05_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
8,941 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_06_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
if(STATIC_CONST_FIVE==5)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
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/111799/CWE690_NULL_Deref_From_Return__wchar_t_calloc_06.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_06_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_06_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0x14,4);
func_0x00400ae0(uVar1,&UNK_00401200);
printWLine(uVar1);
func_0x00400a60(uVar1);
return;
}
| ['gcc'] |
8,942 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_06_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111799/CWE690_NULL_Deref_From_Return__wchar_t_calloc_06.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_06_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_06_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
8,943 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_08_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
if(staticReturnsTrue())
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
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/111801/CWE690_NULL_Deref_From_Return__wchar_t_calloc_08.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_08_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_08_bad(void)
{
int iVar1;
undefined8 uVar2;
uVar2 = func_0x00400ad0(0x14,4);
iVar1 = staticReturnsTrue();
if (iVar1 != 0) {
func_0x00400ae0(uVar2,&UNK_00401218);
printWLine(uVar2);
func_0x00400a60(uVar2);
}
return;
}
| ['gcc'] |
8,944 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_08_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111801/CWE690_NULL_Deref_From_Return__wchar_t_calloc_08.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_08_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_08_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
8,945 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_11_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
if(globalReturnsTrue())
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
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/111804/CWE690_NULL_Deref_From_Return__wchar_t_calloc_11.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_11_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_11_bad(void)
{
int iVar1;
undefined8 uVar2;
uVar2 = func_0x00400ad0(0x14,4);
iVar1 = globalReturnsTrue();
if (iVar1 != 0) {
func_0x00400ae0(uVar2,&UNK_00401208);
printWLine(uVar2);
func_0x00400a60(uVar2);
}
return;
}
| ['gcc'] |
8,946 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_11_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111804/CWE690_NULL_Deref_From_Return__wchar_t_calloc_11.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_11_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_11_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
8,947 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_12_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
if(globalReturnsTrueOrFalse())
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
free(data);
}
else
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
wcscpy(data, L"Initialize");
printWLine(data);
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/111805/CWE690_NULL_Deref_From_Return__wchar_t_calloc_12.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_12_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_12_bad(void)
{
int iVar1;
long lVar2;
lVar2 = func_0x00400ad0(0x14,4);
iVar1 = globalReturnsTrueOrFalse();
if (iVar1 == 0) {
if (lVar2 != 0) {
func_0x00400ae0(lVar2,&UNK_00401238);
printWLine(lVar2);
func_0x00400a60(lVar2);
}
}
else {
func_0x00400ae0(lVar2,&UNK_00401238);
printWLine(lVar2);
func_0x00400a60(lVar2);
}
return;
}
| ['gcc'] |
8,948 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_12_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111805/CWE690_NULL_Deref_From_Return__wchar_t_calloc_12.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_12_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_12_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,949 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_15_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
switch(6)
{
case 6:
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
free(data);
break;
default:
/* INCIDENTAL: CWE 561 Dead Code, the code below will never run */
printLine("Benign, fixed string");
break;
}
} | ['/* 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 */', '/* INCIDENTAL: CWE 561 Dead Code, the code below will never run */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111808/CWE690_NULL_Deref_From_Return__wchar_t_calloc_15.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_15_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_15_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0x14,4);
func_0x00400ae0(uVar1,&UNK_004011f8);
printWLine(uVar1);
func_0x00400a60(uVar1);
return;
}
| ['gcc'] |
8,950 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_15_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111808/CWE690_NULL_Deref_From_Return__wchar_t_calloc_15.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_15_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_15_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
8,951 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_16_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
while(1)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
free(data);
break;
}
} | ['/* 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/111809/CWE690_NULL_Deref_From_Return__wchar_t_calloc_16.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_16_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_16_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0x14,4);
func_0x00400ae0(uVar1,&UNK_004011f8);
printWLine(uVar1);
func_0x00400a60(uVar1);
return;
}
| ['gcc'] |
8,952 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_16_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111809/CWE690_NULL_Deref_From_Return__wchar_t_calloc_16.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_16_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_16_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,953 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_17_bad()
{
int j;
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
for(j = 0; j < 1; j++)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
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/111810/CWE690_NULL_Deref_From_Return__wchar_t_calloc_17.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_17_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_17_bad(void)
{
undefined8 uVar1;
int iStack_c;
uVar1 = func_0x00400ad0(0x14,4);
for (iStack_c = 0; iStack_c < 1; iStack_c = iStack_c + 1) {
func_0x00400ae0(uVar1,&UNK_00401208);
printWLine(uVar1);
func_0x00400a60(uVar1);
}
return;
}
| ['gcc'] |
8,954 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_17_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111810/CWE690_NULL_Deref_From_Return__wchar_t_calloc_17.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_17_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_17_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,955 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_18_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
goto sink;
sink:
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
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/111811/CWE690_NULL_Deref_From_Return__wchar_t_calloc_18.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_18_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_18_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0x14,4);
func_0x00400ae0(uVar1,&UNK_004011f8);
printWLine(uVar1);
func_0x00400a60(uVar1);
return;
}
| ['gcc'] |
8,956 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_18_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111811/CWE690_NULL_Deref_From_Return__wchar_t_calloc_18.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_18_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_18_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,957 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_21_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
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/111812/CWE690_NULL_Deref_From_Return__wchar_t_calloc_21.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_21_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_21_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0x14,4);
badStatic = 1;
badSink(uVar1);
return;
}
| ['gcc'] |
8,958 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_21_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111812/CWE690_NULL_Deref_From_Return__wchar_t_calloc_21.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_21_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_21_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
8,959 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_badGlobal = 1; /* true */
CWE690_NULL_Deref_From_Return__wchar_t_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/111813/CWE690_NULL_Deref_From_Return__wchar_t_calloc_22a.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0x14,4);
CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_badGlobal = 1;
CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_badSink(uVar1);
return;
}
| ['gcc'] |
8,960 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111813/CWE690_NULL_Deref_From_Return__wchar_t_calloc_22a.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
8,961 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_badSink(wchar_t * data)
{
if(CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_badGlobal)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
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/111813/CWE690_NULL_Deref_From_Return__wchar_t_calloc_22b.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_badSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_badSink(undefined8 param_1)
{
if (CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_badGlobal != 0) {
func_0x00400ae0(param_1,&UNK_00401228);
printWLine(param_1);
func_0x00400a60(param_1);
}
return;
}
| ['gcc'] |
8,962 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_goodB2G1Sink(wchar_t * data)
{
if(CWE690_NULL_Deref_From_Return__wchar_t_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)
{
wcscpy(data, L"Initialize");
printWLine(data);
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/111813/CWE690_NULL_Deref_From_Return__wchar_t_calloc_22b.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_goodB2G1Sink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_goodB2G1Sink(long param_1)
{
if (CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_goodB2G1Global == 0) {
if (param_1 != 0) {
func_0x00400ae0(param_1,&UNK_004012f0);
printWLine(param_1);
func_0x00400a60(param_1);
}
}
else {
printLine(&UNK_004012d8);
}
return;
}
| ['gcc'] |
8,963 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_goodB2G2Sink(wchar_t * data)
{
if(CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_goodB2G2Global)
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
wcscpy(data, L"Initialize");
printWLine(data);
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/111813/CWE690_NULL_Deref_From_Return__wchar_t_calloc_22b.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_goodB2G2Sink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_goodB2G2Sink(long param_1)
{
if ((CWE690_NULL_Deref_From_Return__wchar_t_calloc_22_goodB2G2Global != 0) && (param_1 != 0)) {
func_0x00400ae0(param_1,&UNK_004012f0);
printWLine(param_1);
func_0x00400a60(param_1);
}
return;
}
| ['gcc'] |
8,964 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_31_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
{
wchar_t * dataCopy = data;
wchar_t * data = dataCopy;
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
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/111814/CWE690_NULL_Deref_From_Return__wchar_t_calloc_31.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_31_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_31_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0x14,4);
func_0x00400ae0(uVar1,&UNK_00401208);
printWLine(uVar1);
func_0x00400a60(uVar1);
return;
}
| ['gcc'] |
8,965 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_31_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111814/CWE690_NULL_Deref_From_Return__wchar_t_calloc_31.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_31_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_31_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,966 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_32_bad()
{
wchar_t * data;
wchar_t * *dataPtr1 = &data;
wchar_t * *dataPtr2 = &data;
data = NULL; /* Initialize data */
{
wchar_t * data = *dataPtr1;
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
*dataPtr1 = data;
}
{
wchar_t * data = *dataPtr2;
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
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/111815/CWE690_NULL_Deref_From_Return__wchar_t_calloc_32.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_32_bad |
/* WARNING: Restarted to delay deadcode elimination for space: stack */
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_32_bad(void)
{
undefined8 uStack_30;
undefined8 uStack_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_0x00400ad0(0x14,4);
*puStack_10 = uStack_20;
uStack_28 = *puStack_18;
func_0x00400ae0(uStack_28,&UNK_00401228);
printWLine(uStack_28);
func_0x00400a60(uStack_28);
return;
}
| ['gcc'] |
8,967 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_32_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111815/CWE690_NULL_Deref_From_Return__wchar_t_calloc_32.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_32_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_32_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,968 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_34_bad()
{
wchar_t * data;
CWE690_NULL_Deref_From_Return__wchar_t_calloc_34_unionType myUnion;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
myUnion.unionFirst = data;
{
wchar_t * data = myUnion.unionSecond;
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
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/111817/CWE690_NULL_Deref_From_Return__wchar_t_calloc_34.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_34_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_34_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0x14,4);
func_0x00400ae0(uVar1,&UNK_00401208);
printWLine(uVar1);
func_0x00400a60(uVar1);
return;
}
| ['gcc'] |
8,969 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_34_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111817/CWE690_NULL_Deref_From_Return__wchar_t_calloc_34.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_34_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_34_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,970 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_41_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
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/111818/CWE690_NULL_Deref_From_Return__wchar_t_calloc_41.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_41_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_41_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0x14,4);
badSink(uVar1);
return;
}
| ['gcc'] |
8,971 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_41_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111818/CWE690_NULL_Deref_From_Return__wchar_t_calloc_41.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_41_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_41_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,972 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_42_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
data = badSource(data);
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
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/111819/CWE690_NULL_Deref_From_Return__wchar_t_calloc_42.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_42_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_42_bad(void)
{
undefined8 uVar1;
uVar1 = badSource(0);
func_0x00400ae0(uVar1,&UNK_00401218);
printWLine(uVar1);
func_0x00400a60(uVar1);
return;
}
| ['gcc'] |
8,973 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_42_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111819/CWE690_NULL_Deref_From_Return__wchar_t_calloc_42.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_42_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_42_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,974 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_51_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
CWE690_NULL_Deref_From_Return__wchar_t_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/111823/CWE690_NULL_Deref_From_Return__wchar_t_calloc_51a.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_51_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_51_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0x14,4);
CWE690_NULL_Deref_From_Return__wchar_t_calloc_51b_badSink(uVar1);
return;
}
| ['gcc'] |
8,975 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_51_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111823/CWE690_NULL_Deref_From_Return__wchar_t_calloc_51a.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_51_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_51_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,976 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_51b_badSink(wchar_t * data)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
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/111823/CWE690_NULL_Deref_From_Return__wchar_t_calloc_51b.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_51b_badSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_51b_badSink(undefined8 param_1)
{
func_0x00400ae0(param_1,&UNK_00401208);
printWLine(param_1);
func_0x00400a60(param_1);
return;
}
| ['gcc'] |
8,977 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_51b_goodB2GSink(wchar_t * data)
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
wcscpy(data, L"Initialize");
printWLine(data);
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/111823/CWE690_NULL_Deref_From_Return__wchar_t_calloc_51b.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_51b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_51b_goodB2GSink(long param_1)
{
if (param_1 != 0) {
func_0x00400ae0(param_1,&UNK_00401228);
printWLine(param_1);
func_0x00400a60(param_1);
}
return;
}
| ['gcc'] |
8,978 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_52_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
CWE690_NULL_Deref_From_Return__wchar_t_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/111824/CWE690_NULL_Deref_From_Return__wchar_t_calloc_52a.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_52_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_52_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0x14,4);
CWE690_NULL_Deref_From_Return__wchar_t_calloc_52b_badSink(uVar1);
return;
}
| ['gcc'] |
8,979 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_52_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111824/CWE690_NULL_Deref_From_Return__wchar_t_calloc_52a.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_52_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_52_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,980 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_52b_badSink(wchar_t * data)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_52c_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111824/CWE690_NULL_Deref_From_Return__wchar_t_calloc_52b.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_52b_badSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_52b_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_52c_badSink(param_1);
return;
}
| ['gcc'] |
8,981 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_52b_goodB2GSink(wchar_t * data)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_52c_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111824/CWE690_NULL_Deref_From_Return__wchar_t_calloc_52b.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_52b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_52b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_52c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,982 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_52c_badSink(wchar_t * data)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
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/111824/CWE690_NULL_Deref_From_Return__wchar_t_calloc_52c.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_52c_badSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_52c_badSink(undefined8 param_1)
{
func_0x00400ae0(param_1,&UNK_00401228);
printWLine(param_1);
func_0x00400a60(param_1);
return;
}
| ['gcc'] |
8,983 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_52c_goodB2GSink(wchar_t * data)
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
wcscpy(data, L"Initialize");
printWLine(data);
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/111824/CWE690_NULL_Deref_From_Return__wchar_t_calloc_52c.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_52c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_52c_goodB2GSink(long param_1)
{
if (param_1 != 0) {
func_0x00400ae0(param_1,&UNK_00401248);
printWLine(param_1);
func_0x00400a60(param_1);
}
return;
}
| ['gcc'] |
8,984 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_53_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
CWE690_NULL_Deref_From_Return__wchar_t_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/111825/CWE690_NULL_Deref_From_Return__wchar_t_calloc_53a.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_53_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_53_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0x14,4);
CWE690_NULL_Deref_From_Return__wchar_t_calloc_53b_badSink(uVar1);
return;
}
| ['gcc'] |
8,985 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_53_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111825/CWE690_NULL_Deref_From_Return__wchar_t_calloc_53a.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_53_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_53_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,986 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_53b_badSink(wchar_t * data)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_53c_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111825/CWE690_NULL_Deref_From_Return__wchar_t_calloc_53b.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_53b_badSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_53b_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_53c_badSink(param_1);
return;
}
| ['gcc'] |
8,987 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_53b_goodB2GSink(wchar_t * data)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_53c_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111825/CWE690_NULL_Deref_From_Return__wchar_t_calloc_53b.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_53b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_53b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_53c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,988 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_53c_badSink(wchar_t * data)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_53d_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111825/CWE690_NULL_Deref_From_Return__wchar_t_calloc_53c.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_53c_badSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_53c_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_53d_badSink(param_1);
return;
}
| ['gcc'] |
8,989 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_53c_goodB2GSink(wchar_t * data)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_53d_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111825/CWE690_NULL_Deref_From_Return__wchar_t_calloc_53c.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_53c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_53c_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_53d_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,990 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_53d_badSink(wchar_t * data)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
wcscpy(data, L"Initialize");
printWLine(data);
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/111825/CWE690_NULL_Deref_From_Return__wchar_t_calloc_53d.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_53d_badSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_53d_badSink(undefined8 param_1)
{
func_0x00400ae0(param_1,&UNK_00401248);
printWLine(param_1);
func_0x00400a60(param_1);
return;
}
| ['gcc'] |
8,991 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_53d_goodB2GSink(wchar_t * data)
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
wcscpy(data, L"Initialize");
printWLine(data);
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/111825/CWE690_NULL_Deref_From_Return__wchar_t_calloc_53d.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_53d_goodB2GSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_53d_goodB2GSink(long param_1)
{
if (param_1 != 0) {
func_0x00400ae0(param_1,&UNK_00401258);
printWLine(param_1);
func_0x00400a60(param_1);
}
return;
}
| ['gcc'] |
8,992 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_54_bad()
{
wchar_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (wchar_t *)calloc(20, sizeof(wchar_t));
CWE690_NULL_Deref_From_Return__wchar_t_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/111826/CWE690_NULL_Deref_From_Return__wchar_t_calloc_54a.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_54_bad |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_54_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0x14,4);
CWE690_NULL_Deref_From_Return__wchar_t_calloc_54b_badSink(uVar1);
return;
}
| ['gcc'] |
8,993 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_54_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111826/CWE690_NULL_Deref_From_Return__wchar_t_calloc_54a.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_54_good |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_54_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,994 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_54b_badSink(wchar_t * data)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_54c_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111826/CWE690_NULL_Deref_From_Return__wchar_t_calloc_54b.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_54b_badSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_54b_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_54c_badSink(param_1);
return;
}
| ['gcc'] |
8,995 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_54b_goodB2GSink(wchar_t * data)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_54c_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111826/CWE690_NULL_Deref_From_Return__wchar_t_calloc_54b.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_54b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_54b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_54c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,996 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_54c_badSink(wchar_t * data)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_54d_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111826/CWE690_NULL_Deref_From_Return__wchar_t_calloc_54c.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_54c_badSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_54c_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_54d_badSink(param_1);
return;
}
| ['gcc'] |
8,997 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_54c_goodB2GSink(wchar_t * data)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_54d_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111826/CWE690_NULL_Deref_From_Return__wchar_t_calloc_54c.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_54c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_54c_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_54d_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,998 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_54d_badSink(wchar_t * data)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_54e_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111826/CWE690_NULL_Deref_From_Return__wchar_t_calloc_54d.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_54d_badSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_54d_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_54e_badSink(param_1);
return;
}
| ['gcc'] |
8,999 | void CWE690_NULL_Deref_From_Return__wchar_t_calloc_54d_goodB2GSink(wchar_t * data)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_54e_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111826/CWE690_NULL_Deref_From_Return__wchar_t_calloc_54d.c | CWE690_NULL_Deref_From_Return__wchar_t_calloc_54d_goodB2GSink |
void CWE690_NULL_Deref_From_Return__wchar_t_calloc_54d_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__wchar_t_calloc_54e_goodB2GSink(param_1);
return;
}
| ['gcc'] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.