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,100 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_41_bad()
{
int64_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (int64_t *)malloc(1*sizeof(int64_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/111242/CWE690_NULL_Deref_From_Return__int64_t_malloc_41.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_41_bad |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_41_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ab0(8);
badSink(uVar1);
return;
}
| ['gcc'] |
8,101 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_41_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111242/CWE690_NULL_Deref_From_Return__int64_t_malloc_41.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_41_good |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_41_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,102 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_42_bad()
{
int64_t * data;
data = NULL; /* Initialize data */
data = 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/111243/CWE690_NULL_Deref_From_Return__int64_t_malloc_42.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_42_bad |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_42_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)badSource(0);
*puVar1 = 5;
printLongLongLine(*puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
8,103 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_42_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111243/CWE690_NULL_Deref_From_Return__int64_t_malloc_42.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_42_good |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_42_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,104 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_51_bad()
{
int64_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (int64_t *)malloc(1*sizeof(int64_t));
CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111247/CWE690_NULL_Deref_From_Return__int64_t_malloc_51a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_51_bad |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_51_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ab0(8);
CWE690_NULL_Deref_From_Return__int64_t_malloc_51b_badSink(uVar1);
return;
}
| ['gcc'] |
8,105 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_51_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111247/CWE690_NULL_Deref_From_Return__int64_t_malloc_51a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_51_good |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_51_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,106 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_51b_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/111247/CWE690_NULL_Deref_From_Return__int64_t_malloc_51b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_51b_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_51b_badSink(undefined8 *param_1)
{
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
8,107 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_51b_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/111247/CWE690_NULL_Deref_From_Return__int64_t_malloc_51b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_51b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_51b_goodB2GSink(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
8,108 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_52_bad()
{
int64_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (int64_t *)malloc(1*sizeof(int64_t));
CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111248/CWE690_NULL_Deref_From_Return__int64_t_malloc_52a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_52_bad |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_52_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ab0(8);
CWE690_NULL_Deref_From_Return__int64_t_malloc_52b_badSink(uVar1);
return;
}
| ['gcc'] |
8,109 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_52_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111248/CWE690_NULL_Deref_From_Return__int64_t_malloc_52a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_52_good |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_52_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,110 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_52b_badSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_52c_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111248/CWE690_NULL_Deref_From_Return__int64_t_malloc_52b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_52b_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_52b_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_52c_badSink(param_1);
return;
}
| ['gcc'] |
8,111 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_52b_goodB2GSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_52c_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111248/CWE690_NULL_Deref_From_Return__int64_t_malloc_52b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_52b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_52b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_52c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,112 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_52c_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/111248/CWE690_NULL_Deref_From_Return__int64_t_malloc_52c.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_52c_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_52c_badSink(undefined8 *param_1)
{
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
8,113 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_52c_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/111248/CWE690_NULL_Deref_From_Return__int64_t_malloc_52c.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_52c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_52c_goodB2GSink(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
8,114 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_53_bad()
{
int64_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (int64_t *)malloc(1*sizeof(int64_t));
CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111249/CWE690_NULL_Deref_From_Return__int64_t_malloc_53a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_53_bad |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_53_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ab0(8);
CWE690_NULL_Deref_From_Return__int64_t_malloc_53b_badSink(uVar1);
return;
}
| ['gcc'] |
8,115 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_53_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111249/CWE690_NULL_Deref_From_Return__int64_t_malloc_53a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_53_good |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_53_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,116 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_53b_badSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_53c_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111249/CWE690_NULL_Deref_From_Return__int64_t_malloc_53b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_53b_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_53b_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_53c_badSink(param_1);
return;
}
| ['gcc'] |
8,117 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_53b_goodB2GSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_53c_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111249/CWE690_NULL_Deref_From_Return__int64_t_malloc_53b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_53b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_53b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_53c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,118 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_53c_badSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_53d_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111249/CWE690_NULL_Deref_From_Return__int64_t_malloc_53c.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_53c_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_53c_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_53d_badSink(param_1);
return;
}
| ['gcc'] |
8,119 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_53c_goodB2GSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_53d_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111249/CWE690_NULL_Deref_From_Return__int64_t_malloc_53c.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_53c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_53c_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_53d_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,120 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_53d_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/111249/CWE690_NULL_Deref_From_Return__int64_t_malloc_53d.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_53d_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_53d_badSink(undefined8 *param_1)
{
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
8,121 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_53d_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/111249/CWE690_NULL_Deref_From_Return__int64_t_malloc_53d.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_53d_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_53d_goodB2GSink(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
8,122 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_54_bad()
{
int64_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (int64_t *)malloc(1*sizeof(int64_t));
CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111250/CWE690_NULL_Deref_From_Return__int64_t_malloc_54a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_54_bad |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_54_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ab0(8);
CWE690_NULL_Deref_From_Return__int64_t_malloc_54b_badSink(uVar1);
return;
}
| ['gcc'] |
8,123 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_54_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111250/CWE690_NULL_Deref_From_Return__int64_t_malloc_54a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_54_good |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_54_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,124 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_54b_badSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_54c_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111250/CWE690_NULL_Deref_From_Return__int64_t_malloc_54b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_54b_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_54b_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_54c_badSink(param_1);
return;
}
| ['gcc'] |
8,125 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_54b_goodB2GSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_54c_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111250/CWE690_NULL_Deref_From_Return__int64_t_malloc_54b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_54b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_54b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_54c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,126 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_54c_badSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_54d_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111250/CWE690_NULL_Deref_From_Return__int64_t_malloc_54c.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_54c_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_54c_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_54d_badSink(param_1);
return;
}
| ['gcc'] |
8,127 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_54c_goodB2GSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_54d_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111250/CWE690_NULL_Deref_From_Return__int64_t_malloc_54c.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_54c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_54c_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_54d_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,128 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_54d_badSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_54e_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111250/CWE690_NULL_Deref_From_Return__int64_t_malloc_54d.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_54d_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_54d_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_54e_badSink(param_1);
return;
}
| ['gcc'] |
8,129 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_54d_goodB2GSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_54e_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111250/CWE690_NULL_Deref_From_Return__int64_t_malloc_54d.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_54d_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_54d_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_malloc_54e_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,130 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111250/CWE690_NULL_Deref_From_Return__int64_t_malloc_54e.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_54e_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_54e_badSink(undefined8 *param_1)
{
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
8,131 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111250/CWE690_NULL_Deref_From_Return__int64_t_malloc_54e.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_54e_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_54e_goodB2GSink(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
8,132 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_61_bad()
{
int64_t * data;
data = NULL; /* Initialize data */
data = CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111251/CWE690_NULL_Deref_From_Return__int64_t_malloc_61a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_61_bad |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_61_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)CWE690_NULL_Deref_From_Return__int64_t_malloc_61b_badSource(0);
*puVar1 = 5;
printLongLongLine(*puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
8,133 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_61_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111251/CWE690_NULL_Deref_From_Return__int64_t_malloc_61a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_61_good |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_61_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,134 | int64_t * CWE690_NULL_Deref_From_Return__int64_t_malloc_61b_badSource(int64_t * data)
{
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (int64_t *)malloc(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/111251/CWE690_NULL_Deref_From_Return__int64_t_malloc_61b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_61b_badSource |
undefined8 CWE690_NULL_Deref_From_Return__int64_t_malloc_61b_badSource(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ab0(8);
return uVar1;
}
| ['gcc'] |
8,135 | int64_t * CWE690_NULL_Deref_From_Return__int64_t_malloc_61b_goodB2GSource(int64_t * data)
{
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (int64_t *)malloc(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/111251/CWE690_NULL_Deref_From_Return__int64_t_malloc_61b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_61b_goodB2GSource |
undefined8 CWE690_NULL_Deref_From_Return__int64_t_malloc_61b_goodB2GSource(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ab0(8);
return uVar1;
}
| ['gcc'] |
8,136 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_63_bad()
{
int64_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (int64_t *)malloc(1*sizeof(int64_t));
CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111253/CWE690_NULL_Deref_From_Return__int64_t_malloc_63a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_63_bad |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_63_bad(void)
{
undefined8 uStack_10;
uStack_10 = 0;
uStack_10 = func_0x00400ab0(8);
CWE690_NULL_Deref_From_Return__int64_t_malloc_63b_badSink(&uStack_10);
return;
}
| ['gcc'] |
8,137 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_63_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111253/CWE690_NULL_Deref_From_Return__int64_t_malloc_63a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_63_good |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_63_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,138 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111253/CWE690_NULL_Deref_From_Return__int64_t_malloc_63b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_63b_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_63b_badSink(undefined8 *param_1)
{
param_1 = (undefined8 *)*param_1;
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
8,139 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111253/CWE690_NULL_Deref_From_Return__int64_t_malloc_63b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_63b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_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,140 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_64_bad()
{
int64_t * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (int64_t *)malloc(1*sizeof(int64_t));
CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111254/CWE690_NULL_Deref_From_Return__int64_t_malloc_64a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_64_bad |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_64_bad(void)
{
undefined8 uStack_10;
uStack_10 = 0;
uStack_10 = func_0x00400ab0(8);
CWE690_NULL_Deref_From_Return__int64_t_malloc_64b_badSink(&uStack_10);
return;
}
| ['gcc'] |
8,141 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_64_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111254/CWE690_NULL_Deref_From_Return__int64_t_malloc_64a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_64_good |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_64_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,142 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111254/CWE690_NULL_Deref_From_Return__int64_t_malloc_64b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_64b_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_64b_badSink(undefined8 *param_1)
{
param_1 = (undefined8 *)*param_1;
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
8,143 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111254/CWE690_NULL_Deref_From_Return__int64_t_malloc_64b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_64b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_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,144 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_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 *)malloc(1*sizeof(int64_t));
/* put data in array */
dataArray[2] = data;
CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111256/CWE690_NULL_Deref_From_Return__int64_t_malloc_66a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_66_bad |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_66_bad(void)
{
undefined auStack_38 [16];
undefined8 uStack_28;
undefined8 uStack_10;
uStack_10 = 0;
uStack_28 = func_0x00400ab0(8);
uStack_10 = uStack_28;
CWE690_NULL_Deref_From_Return__int64_t_malloc_66b_badSink(auStack_38);
return;
}
| ['gcc'] |
8,145 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_66_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111256/CWE690_NULL_Deref_From_Return__int64_t_malloc_66a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_66_good |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_66_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,146 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111256/CWE690_NULL_Deref_From_Return__int64_t_malloc_66b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_66b_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_66b_badSink(long param_1)
{
undefined8 *puVar1;
puVar1 = *(undefined8 **)(param_1 + 0x10);
*puVar1 = 5;
printLongLongLine(*puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
8,147 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111256/CWE690_NULL_Deref_From_Return__int64_t_malloc_66b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_66b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_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,148 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_67_bad()
{
int64_t * data;
CWE690_NULL_Deref_From_Return__int64_t_malloc_67_structType myStruct;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (int64_t *)malloc(1*sizeof(int64_t));
myStruct.structFirst = data;
CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111257/CWE690_NULL_Deref_From_Return__int64_t_malloc_67a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_67_bad |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_67_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ab0(8);
CWE690_NULL_Deref_From_Return__int64_t_malloc_67b_badSink(uVar1);
return;
}
| ['gcc'] |
8,149 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_67_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111257/CWE690_NULL_Deref_From_Return__int64_t_malloc_67a.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_67_good |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_67_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,150 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_67b_badSink(CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111257/CWE690_NULL_Deref_From_Return__int64_t_malloc_67b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_67b_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_67b_badSink(undefined8 *param_1)
{
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
8,151 | void CWE690_NULL_Deref_From_Return__int64_t_malloc_67b_goodB2GSink(CWE690_NULL_Deref_From_Return__int64_t_malloc_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/111257/CWE690_NULL_Deref_From_Return__int64_t_malloc_67b.c | CWE690_NULL_Deref_From_Return__int64_t_malloc_67b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_malloc_67b_goodB2GSink(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
8,152 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_08_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));
if(staticReturnsTrue())
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
data[0] = 5LL;
printLongLongLine(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/111273/CWE690_NULL_Deref_From_Return__int64_t_realloc_08.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_08_bad |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_08_bad(void)
{
int iVar1;
undefined8 *puVar2;
puVar2 = (undefined8 *)func_0x00400ad0(0,8);
iVar1 = staticReturnsTrue();
if (iVar1 != 0) {
*puVar2 = 5;
printLongLongLine(*puVar2);
func_0x00400a20(puVar2);
}
return;
}
| ['gcc'] |
8,153 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_08_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111273/CWE690_NULL_Deref_From_Return__int64_t_realloc_08.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_08_good |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_08_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
8,154 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_11_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));
if(globalReturnsTrue())
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
data[0] = 5LL;
printLongLongLine(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/111276/CWE690_NULL_Deref_From_Return__int64_t_realloc_11.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_11_bad |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_11_bad(void)
{
int iVar1;
undefined8 *puVar2;
puVar2 = (undefined8 *)func_0x00400ad0(0,8);
iVar1 = globalReturnsTrue();
if (iVar1 != 0) {
*puVar2 = 5;
printLongLongLine(*puVar2);
func_0x00400a20(puVar2);
}
return;
}
| ['gcc'] |
8,155 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_11_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111276/CWE690_NULL_Deref_From_Return__int64_t_realloc_11.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_11_good |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_11_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
8,156 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_12_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));
if(globalReturnsTrueOrFalse())
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
data[0] = 5LL;
printLongLongLine(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] = 5LL;
printLongLongLine(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/111277/CWE690_NULL_Deref_From_Return__int64_t_realloc_12.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_12_bad |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_12_bad(void)
{
int iVar1;
undefined8 *puVar2;
puVar2 = (undefined8 *)func_0x00400ad0(0,8);
iVar1 = globalReturnsTrueOrFalse();
if (iVar1 == 0) {
if (puVar2 != (undefined8 *)0x0) {
*puVar2 = 5;
printLongLongLine(*puVar2);
func_0x00400a20(puVar2);
}
}
else {
*puVar2 = 5;
printLongLongLine(*puVar2);
func_0x00400a20(puVar2);
}
return;
}
| ['gcc'] |
8,157 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_12_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111277/CWE690_NULL_Deref_From_Return__int64_t_realloc_12.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_12_good |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_12_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,158 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_21_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));
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/111284/CWE690_NULL_Deref_From_Return__int64_t_realloc_21.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_21_bad |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_21_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0,8);
badStatic = 1;
badSink(uVar1);
return;
}
| ['gcc'] |
8,159 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_21_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111284/CWE690_NULL_Deref_From_Return__int64_t_realloc_21.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_21_good |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_21_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
8,160 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_22_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_22_badGlobal = 1; /* true */
CWE690_NULL_Deref_From_Return__int64_t_realloc_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/111285/CWE690_NULL_Deref_From_Return__int64_t_realloc_22a.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_22_bad |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_22_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0,8);
CWE690_NULL_Deref_From_Return__int64_t_realloc_22_badGlobal = 1;
CWE690_NULL_Deref_From_Return__int64_t_realloc_22_badSink(uVar1);
return;
}
| ['gcc'] |
8,161 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_22_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111285/CWE690_NULL_Deref_From_Return__int64_t_realloc_22a.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_22_good |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_22_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
8,162 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_22_badSink(int64_t * data)
{
if(CWE690_NULL_Deref_From_Return__int64_t_realloc_22_badGlobal)
{
/* 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/111285/CWE690_NULL_Deref_From_Return__int64_t_realloc_22b.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_22_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_22_badSink(undefined8 *param_1)
{
if (CWE690_NULL_Deref_From_Return__int64_t_realloc_22_badGlobal != 0) {
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
8,163 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_22_goodB2G1Sink(int64_t * data)
{
if(CWE690_NULL_Deref_From_Return__int64_t_realloc_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] = 5LL;
printLongLongLine(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/111285/CWE690_NULL_Deref_From_Return__int64_t_realloc_22b.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_22_goodB2G1Sink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_22_goodB2G1Sink(undefined8 *param_1)
{
if (CWE690_NULL_Deref_From_Return__int64_t_realloc_22_goodB2G1Global == 0) {
if (param_1 != (undefined8 *)0x0) {
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
}
}
else {
printLine(&UNK_00401284);
}
return;
}
| ['gcc'] |
8,164 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_22_goodB2G2Sink(int64_t * data)
{
if(CWE690_NULL_Deref_From_Return__int64_t_realloc_22_goodB2G2Global)
{
/* 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/111285/CWE690_NULL_Deref_From_Return__int64_t_realloc_22b.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_22_goodB2G2Sink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_22_goodB2G2Sink(undefined8 *param_1)
{
if ((CWE690_NULL_Deref_From_Return__int64_t_realloc_22_goodB2G2Global != 0) &&
(param_1 != (undefined8 *)0x0)) {
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
8,165 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_31_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));
{
int64_t * dataCopy = data;
int64_t * data = dataCopy;
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
data[0] = 5LL;
printLongLongLine(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/111286/CWE690_NULL_Deref_From_Return__int64_t_realloc_31.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_31_bad |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_31_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,8);
*puVar1 = 5;
printLongLongLine(*puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
8,166 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_31_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111286/CWE690_NULL_Deref_From_Return__int64_t_realloc_31.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_31_good |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_31_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,167 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_32_bad()
{
int64_t * data;
int64_t * *dataPtr1 = &data;
int64_t * *dataPtr2 = &data;
data = NULL; /* Initialize data */
{
int64_t * data = *dataPtr1;
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (int64_t *)realloc(data, 1*sizeof(int64_t));
*dataPtr1 = data;
}
{
int64_t * data = *dataPtr2;
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
data[0] = 5LL;
printLongLongLine(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/111287/CWE690_NULL_Deref_From_Return__int64_t_realloc_32.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_32_bad |
/* WARNING: Restarted to delay deadcode elimination for space: stack */
void CWE690_NULL_Deref_From_Return__int64_t_realloc_32_bad(void)
{
undefined8 uStack_30;
undefined8 *puStack_28;
undefined8 uStack_20;
undefined8 *puStack_18;
undefined8 *puStack_10;
puStack_10 = &uStack_30;
puStack_18 = &uStack_30;
uStack_30 = 0;
uStack_20 = 0;
uStack_20 = func_0x00400ad0(0,8);
*puStack_10 = uStack_20;
puStack_28 = (undefined8 *)*puStack_18;
*puStack_28 = 5;
printLongLongLine(*puStack_28);
func_0x00400a20(puStack_28);
return;
}
| ['gcc'] |
8,168 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_32_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111287/CWE690_NULL_Deref_From_Return__int64_t_realloc_32.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_32_good |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_32_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,169 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_34_bad()
{
int64_t * data;
CWE690_NULL_Deref_From_Return__int64_t_realloc_34_unionType myUnion;
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));
myUnion.unionFirst = data;
{
int64_t * data = myUnion.unionSecond;
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
data[0] = 5LL;
printLongLongLine(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/111289/CWE690_NULL_Deref_From_Return__int64_t_realloc_34.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_34_bad |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_34_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,8);
*puVar1 = 5;
printLongLongLine(*puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
8,170 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_34_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111289/CWE690_NULL_Deref_From_Return__int64_t_realloc_34.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_34_good |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_34_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,171 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_41_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));
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/111290/CWE690_NULL_Deref_From_Return__int64_t_realloc_41.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_41_bad |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_41_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0,8);
badSink(uVar1);
return;
}
| ['gcc'] |
8,172 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_41_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111290/CWE690_NULL_Deref_From_Return__int64_t_realloc_41.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_41_good |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_41_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,173 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_42_bad()
{
int64_t * data;
data = NULL; /* Initialize data */
data = 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/111291/CWE690_NULL_Deref_From_Return__int64_t_realloc_42.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_42_bad |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_42_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)badSource(0);
*puVar1 = 5;
printLongLongLine(*puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
8,174 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_42_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111291/CWE690_NULL_Deref_From_Return__int64_t_realloc_42.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_42_good |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_42_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,175 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_51_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_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/111295/CWE690_NULL_Deref_From_Return__int64_t_realloc_51a.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_51_bad |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_51_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0,8);
CWE690_NULL_Deref_From_Return__int64_t_realloc_51b_badSink(uVar1);
return;
}
| ['gcc'] |
8,176 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_51_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111295/CWE690_NULL_Deref_From_Return__int64_t_realloc_51a.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_51_good |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_51_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,177 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_51b_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/111295/CWE690_NULL_Deref_From_Return__int64_t_realloc_51b.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_51b_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_51b_badSink(undefined8 *param_1)
{
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
8,178 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_51b_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/111295/CWE690_NULL_Deref_From_Return__int64_t_realloc_51b.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_51b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_51b_goodB2GSink(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
8,179 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_52_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_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/111296/CWE690_NULL_Deref_From_Return__int64_t_realloc_52a.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_52_bad |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_52_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0,8);
CWE690_NULL_Deref_From_Return__int64_t_realloc_52b_badSink(uVar1);
return;
}
| ['gcc'] |
8,180 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_52_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111296/CWE690_NULL_Deref_From_Return__int64_t_realloc_52a.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_52_good |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_52_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,181 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_52b_badSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_52c_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111296/CWE690_NULL_Deref_From_Return__int64_t_realloc_52b.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_52b_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_52b_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_52c_badSink(param_1);
return;
}
| ['gcc'] |
8,182 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_52b_goodB2GSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_52c_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111296/CWE690_NULL_Deref_From_Return__int64_t_realloc_52b.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_52b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_52b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_52c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,183 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_52c_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/111296/CWE690_NULL_Deref_From_Return__int64_t_realloc_52c.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_52c_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_52c_badSink(undefined8 *param_1)
{
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
8,184 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_52c_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/111296/CWE690_NULL_Deref_From_Return__int64_t_realloc_52c.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_52c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_52c_goodB2GSink(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
8,185 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_53_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_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/111297/CWE690_NULL_Deref_From_Return__int64_t_realloc_53a.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_53_bad |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_53_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0,8);
CWE690_NULL_Deref_From_Return__int64_t_realloc_53b_badSink(uVar1);
return;
}
| ['gcc'] |
8,186 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_53_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111297/CWE690_NULL_Deref_From_Return__int64_t_realloc_53a.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_53_good |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_53_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,187 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_53b_badSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_53c_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111297/CWE690_NULL_Deref_From_Return__int64_t_realloc_53b.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_53b_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_53b_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_53c_badSink(param_1);
return;
}
| ['gcc'] |
8,188 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_53b_goodB2GSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_53c_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111297/CWE690_NULL_Deref_From_Return__int64_t_realloc_53b.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_53b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_53b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_53c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,189 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_53c_badSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_53d_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111297/CWE690_NULL_Deref_From_Return__int64_t_realloc_53c.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_53c_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_53c_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_53d_badSink(param_1);
return;
}
| ['gcc'] |
8,190 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_53c_goodB2GSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_53d_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111297/CWE690_NULL_Deref_From_Return__int64_t_realloc_53c.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_53c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_53c_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_53d_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,191 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_53d_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/111297/CWE690_NULL_Deref_From_Return__int64_t_realloc_53d.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_53d_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_53d_badSink(undefined8 *param_1)
{
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
8,192 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_53d_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/111297/CWE690_NULL_Deref_From_Return__int64_t_realloc_53d.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_53d_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_53d_goodB2GSink(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 5;
printLongLongLine(*param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
8,193 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_54_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_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/111298/CWE690_NULL_Deref_From_Return__int64_t_realloc_54a.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_54_bad |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_54_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0,8);
CWE690_NULL_Deref_From_Return__int64_t_realloc_54b_badSink(uVar1);
return;
}
| ['gcc'] |
8,194 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_54_good()
{
goodB2G();
} | [] | 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_54a.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_54_good |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_54_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
8,195 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_54b_badSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_54c_badSink(data);
} | [] | ['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_54b.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_54b_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_54b_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_54c_badSink(param_1);
return;
}
| ['gcc'] |
8,196 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_54b_goodB2GSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_54c_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_54b.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_54b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_54b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_54c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,197 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_54c_badSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_54d_badSink(data);
} | [] | ['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_54c.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_54c_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_54c_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_54d_badSink(param_1);
return;
}
| ['gcc'] |
8,198 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_54c_goodB2GSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_54d_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_54c.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_54c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_54c_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_54d_goodB2GSink(param_1);
return;
}
| ['gcc'] |
8,199 | void CWE690_NULL_Deref_From_Return__int64_t_realloc_54d_badSink(int64_t * data)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_54e_badSink(data);
} | [] | ['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_54d.c | CWE690_NULL_Deref_From_Return__int64_t_realloc_54d_badSink |
void CWE690_NULL_Deref_From_Return__int64_t_realloc_54d_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__int64_t_realloc_54e_badSink(param_1);
return;
}
| ['gcc'] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.