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 |
|---|---|---|---|---|---|---|---|---|
7,900 | void CWE690_NULL_Deref_From_Return__char_malloc_53_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111057/CWE690_NULL_Deref_From_Return__char_malloc_53a.c | CWE690_NULL_Deref_From_Return__char_malloc_53_good |
void CWE690_NULL_Deref_From_Return__char_malloc_53_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,901 | void CWE690_NULL_Deref_From_Return__char_malloc_53b_badSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_malloc_53c_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111057/CWE690_NULL_Deref_From_Return__char_malloc_53b.c | CWE690_NULL_Deref_From_Return__char_malloc_53b_badSink |
void CWE690_NULL_Deref_From_Return__char_malloc_53b_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_malloc_53c_badSink(param_1);
return;
}
| ['gcc'] |
7,902 | void CWE690_NULL_Deref_From_Return__char_malloc_53b_goodB2GSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_malloc_53c_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111057/CWE690_NULL_Deref_From_Return__char_malloc_53b.c | CWE690_NULL_Deref_From_Return__char_malloc_53b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_malloc_53b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_malloc_53c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
7,903 | void CWE690_NULL_Deref_From_Return__char_malloc_53c_badSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_malloc_53d_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111057/CWE690_NULL_Deref_From_Return__char_malloc_53c.c | CWE690_NULL_Deref_From_Return__char_malloc_53c_badSink |
void CWE690_NULL_Deref_From_Return__char_malloc_53c_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_malloc_53d_badSink(param_1);
return;
}
| ['gcc'] |
7,904 | void CWE690_NULL_Deref_From_Return__char_malloc_53c_goodB2GSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_malloc_53d_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111057/CWE690_NULL_Deref_From_Return__char_malloc_53c.c | CWE690_NULL_Deref_From_Return__char_malloc_53c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_malloc_53c_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_malloc_53d_goodB2GSink(param_1);
return;
}
| ['gcc'] |
7,905 | void CWE690_NULL_Deref_From_Return__char_malloc_53d_badSink(char * data)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111057/CWE690_NULL_Deref_From_Return__char_malloc_53d.c | CWE690_NULL_Deref_From_Return__char_malloc_53d_badSink |
void CWE690_NULL_Deref_From_Return__char_malloc_53d_badSink(undefined8 *param_1)
{
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
7,906 | void CWE690_NULL_Deref_From_Return__char_malloc_53d_goodB2GSink(char * data)
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
strcpy(data, "Initialize");
printLine(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/111057/CWE690_NULL_Deref_From_Return__char_malloc_53d.c | CWE690_NULL_Deref_From_Return__char_malloc_53d_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_malloc_53d_goodB2GSink(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
7,907 | void CWE690_NULL_Deref_From_Return__char_malloc_54_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)malloc(20*sizeof(char));
CWE690_NULL_Deref_From_Return__char_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/111058/CWE690_NULL_Deref_From_Return__char_malloc_54a.c | CWE690_NULL_Deref_From_Return__char_malloc_54_bad |
void CWE690_NULL_Deref_From_Return__char_malloc_54_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ab0(0x14);
CWE690_NULL_Deref_From_Return__char_malloc_54b_badSink(uVar1);
return;
}
| ['gcc'] |
7,908 | void CWE690_NULL_Deref_From_Return__char_malloc_54_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111058/CWE690_NULL_Deref_From_Return__char_malloc_54a.c | CWE690_NULL_Deref_From_Return__char_malloc_54_good |
void CWE690_NULL_Deref_From_Return__char_malloc_54_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,909 | void CWE690_NULL_Deref_From_Return__char_malloc_54b_badSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_malloc_54c_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111058/CWE690_NULL_Deref_From_Return__char_malloc_54b.c | CWE690_NULL_Deref_From_Return__char_malloc_54b_badSink |
void CWE690_NULL_Deref_From_Return__char_malloc_54b_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_malloc_54c_badSink(param_1);
return;
}
| ['gcc'] |
7,910 | void CWE690_NULL_Deref_From_Return__char_malloc_54b_goodB2GSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_malloc_54c_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111058/CWE690_NULL_Deref_From_Return__char_malloc_54b.c | CWE690_NULL_Deref_From_Return__char_malloc_54b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_malloc_54b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_malloc_54c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
7,911 | void CWE690_NULL_Deref_From_Return__char_malloc_54c_badSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_malloc_54d_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111058/CWE690_NULL_Deref_From_Return__char_malloc_54c.c | CWE690_NULL_Deref_From_Return__char_malloc_54c_badSink |
void CWE690_NULL_Deref_From_Return__char_malloc_54c_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_malloc_54d_badSink(param_1);
return;
}
| ['gcc'] |
7,912 | void CWE690_NULL_Deref_From_Return__char_malloc_54c_goodB2GSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_malloc_54d_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111058/CWE690_NULL_Deref_From_Return__char_malloc_54c.c | CWE690_NULL_Deref_From_Return__char_malloc_54c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_malloc_54c_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_malloc_54d_goodB2GSink(param_1);
return;
}
| ['gcc'] |
7,913 | void CWE690_NULL_Deref_From_Return__char_malloc_54d_badSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_malloc_54e_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111058/CWE690_NULL_Deref_From_Return__char_malloc_54d.c | CWE690_NULL_Deref_From_Return__char_malloc_54d_badSink |
void CWE690_NULL_Deref_From_Return__char_malloc_54d_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_malloc_54e_badSink(param_1);
return;
}
| ['gcc'] |
7,914 | void CWE690_NULL_Deref_From_Return__char_malloc_54d_goodB2GSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_malloc_54e_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111058/CWE690_NULL_Deref_From_Return__char_malloc_54d.c | CWE690_NULL_Deref_From_Return__char_malloc_54d_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_malloc_54d_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_malloc_54e_goodB2GSink(param_1);
return;
}
| ['gcc'] |
7,915 | void CWE690_NULL_Deref_From_Return__char_malloc_54e_badSink(char * data)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111058/CWE690_NULL_Deref_From_Return__char_malloc_54e.c | CWE690_NULL_Deref_From_Return__char_malloc_54e_badSink |
void CWE690_NULL_Deref_From_Return__char_malloc_54e_badSink(undefined8 *param_1)
{
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
7,916 | void CWE690_NULL_Deref_From_Return__char_malloc_54e_goodB2GSink(char * data)
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
strcpy(data, "Initialize");
printLine(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/111058/CWE690_NULL_Deref_From_Return__char_malloc_54e.c | CWE690_NULL_Deref_From_Return__char_malloc_54e_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_malloc_54e_goodB2GSink(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
7,917 | void CWE690_NULL_Deref_From_Return__char_malloc_61_bad()
{
char * data;
data = NULL; /* Initialize data */
data = CWE690_NULL_Deref_From_Return__char_malloc_61b_badSource(data);
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111059/CWE690_NULL_Deref_From_Return__char_malloc_61a.c | CWE690_NULL_Deref_From_Return__char_malloc_61_bad |
void CWE690_NULL_Deref_From_Return__char_malloc_61_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)CWE690_NULL_Deref_From_Return__char_malloc_61b_badSource(0);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,918 | void CWE690_NULL_Deref_From_Return__char_malloc_61_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111059/CWE690_NULL_Deref_From_Return__char_malloc_61a.c | CWE690_NULL_Deref_From_Return__char_malloc_61_good |
void CWE690_NULL_Deref_From_Return__char_malloc_61_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,919 | char * CWE690_NULL_Deref_From_Return__char_malloc_61b_badSource(char * data)
{
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)malloc(20*sizeof(char));
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/111059/CWE690_NULL_Deref_From_Return__char_malloc_61b.c | CWE690_NULL_Deref_From_Return__char_malloc_61b_badSource |
undefined8 CWE690_NULL_Deref_From_Return__char_malloc_61b_badSource(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ab0(0x14);
return uVar1;
}
| ['gcc'] |
7,920 | char * CWE690_NULL_Deref_From_Return__char_malloc_61b_goodB2GSource(char * data)
{
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)malloc(20*sizeof(char));
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/111059/CWE690_NULL_Deref_From_Return__char_malloc_61b.c | CWE690_NULL_Deref_From_Return__char_malloc_61b_goodB2GSource |
undefined8 CWE690_NULL_Deref_From_Return__char_malloc_61b_goodB2GSource(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ab0(0x14);
return uVar1;
}
| ['gcc'] |
7,921 | void CWE690_NULL_Deref_From_Return__char_realloc_01_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111074/CWE690_NULL_Deref_From_Return__char_realloc_01.c | CWE690_NULL_Deref_From_Return__char_realloc_01_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_01_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,922 | void CWE690_NULL_Deref_From_Return__char_realloc_01_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111074/CWE690_NULL_Deref_From_Return__char_realloc_01.c | CWE690_NULL_Deref_From_Return__char_realloc_01_good |
void CWE690_NULL_Deref_From_Return__char_realloc_01_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,923 | void CWE690_NULL_Deref_From_Return__char_realloc_02_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
if(1)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111075/CWE690_NULL_Deref_From_Return__char_realloc_02.c | CWE690_NULL_Deref_From_Return__char_realloc_02_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_02_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,924 | void CWE690_NULL_Deref_From_Return__char_realloc_02_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111075/CWE690_NULL_Deref_From_Return__char_realloc_02.c | CWE690_NULL_Deref_From_Return__char_realloc_02_good |
void CWE690_NULL_Deref_From_Return__char_realloc_02_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,925 | void CWE690_NULL_Deref_From_Return__char_realloc_03_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
if(5==5)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111076/CWE690_NULL_Deref_From_Return__char_realloc_03.c | CWE690_NULL_Deref_From_Return__char_realloc_03_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_03_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,926 | void CWE690_NULL_Deref_From_Return__char_realloc_03_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111076/CWE690_NULL_Deref_From_Return__char_realloc_03.c | CWE690_NULL_Deref_From_Return__char_realloc_03_good |
void CWE690_NULL_Deref_From_Return__char_realloc_03_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,927 | void CWE690_NULL_Deref_From_Return__char_realloc_04_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
if(STATIC_CONST_TRUE)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111077/CWE690_NULL_Deref_From_Return__char_realloc_04.c | CWE690_NULL_Deref_From_Return__char_realloc_04_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_04_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,928 | void CWE690_NULL_Deref_From_Return__char_realloc_04_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111077/CWE690_NULL_Deref_From_Return__char_realloc_04.c | CWE690_NULL_Deref_From_Return__char_realloc_04_good |
void CWE690_NULL_Deref_From_Return__char_realloc_04_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,929 | void CWE690_NULL_Deref_From_Return__char_realloc_05_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
if(staticTrue)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111078/CWE690_NULL_Deref_From_Return__char_realloc_05.c | CWE690_NULL_Deref_From_Return__char_realloc_05_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_05_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
if (staticTrue != 0) {
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
7,930 | void CWE690_NULL_Deref_From_Return__char_realloc_05_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111078/CWE690_NULL_Deref_From_Return__char_realloc_05.c | CWE690_NULL_Deref_From_Return__char_realloc_05_good |
void CWE690_NULL_Deref_From_Return__char_realloc_05_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,931 | void CWE690_NULL_Deref_From_Return__char_realloc_06_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
if(STATIC_CONST_FIVE==5)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111079/CWE690_NULL_Deref_From_Return__char_realloc_06.c | CWE690_NULL_Deref_From_Return__char_realloc_06_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_06_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,932 | void CWE690_NULL_Deref_From_Return__char_realloc_06_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111079/CWE690_NULL_Deref_From_Return__char_realloc_06.c | CWE690_NULL_Deref_From_Return__char_realloc_06_good |
void CWE690_NULL_Deref_From_Return__char_realloc_06_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,933 | void CWE690_NULL_Deref_From_Return__char_realloc_07_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
if(staticFive==5)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111080/CWE690_NULL_Deref_From_Return__char_realloc_07.c | CWE690_NULL_Deref_From_Return__char_realloc_07_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_07_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
if (staticFive == 5) {
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
7,934 | void CWE690_NULL_Deref_From_Return__char_realloc_07_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111080/CWE690_NULL_Deref_From_Return__char_realloc_07.c | CWE690_NULL_Deref_From_Return__char_realloc_07_good |
void CWE690_NULL_Deref_From_Return__char_realloc_07_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,935 | void CWE690_NULL_Deref_From_Return__char_realloc_08_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
if(staticReturnsTrue())
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111081/CWE690_NULL_Deref_From_Return__char_realloc_08.c | CWE690_NULL_Deref_From_Return__char_realloc_08_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_08_bad(void)
{
int iVar1;
undefined8 *puVar2;
puVar2 = (undefined8 *)func_0x00400ad0(0,0x14);
iVar1 = staticReturnsTrue();
if (iVar1 != 0) {
*puVar2 = 0x696c616974696e49;
*(undefined2 *)(puVar2 + 1) = 0x657a;
*(undefined *)((long)puVar2 + 10) = 0;
printLine(puVar2);
func_0x00400a20(puVar2);
}
return;
}
| ['gcc'] |
7,936 | void CWE690_NULL_Deref_From_Return__char_realloc_08_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111081/CWE690_NULL_Deref_From_Return__char_realloc_08.c | CWE690_NULL_Deref_From_Return__char_realloc_08_good |
void CWE690_NULL_Deref_From_Return__char_realloc_08_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,937 | void CWE690_NULL_Deref_From_Return__char_realloc_09_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
if(GLOBAL_CONST_TRUE)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111082/CWE690_NULL_Deref_From_Return__char_realloc_09.c | CWE690_NULL_Deref_From_Return__char_realloc_09_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_09_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
if (GLOBAL_CONST_TRUE != 0) {
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
7,938 | void CWE690_NULL_Deref_From_Return__char_realloc_09_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111082/CWE690_NULL_Deref_From_Return__char_realloc_09.c | CWE690_NULL_Deref_From_Return__char_realloc_09_good |
void CWE690_NULL_Deref_From_Return__char_realloc_09_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,939 | void CWE690_NULL_Deref_From_Return__char_realloc_10_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
if(globalTrue)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111083/CWE690_NULL_Deref_From_Return__char_realloc_10.c | CWE690_NULL_Deref_From_Return__char_realloc_10_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_10_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
if (globalTrue != 0) {
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
7,940 | void CWE690_NULL_Deref_From_Return__char_realloc_10_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111083/CWE690_NULL_Deref_From_Return__char_realloc_10.c | CWE690_NULL_Deref_From_Return__char_realloc_10_good |
void CWE690_NULL_Deref_From_Return__char_realloc_10_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,941 | void CWE690_NULL_Deref_From_Return__char_realloc_11_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
if(globalReturnsTrue())
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111084/CWE690_NULL_Deref_From_Return__char_realloc_11.c | CWE690_NULL_Deref_From_Return__char_realloc_11_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_11_bad(void)
{
int iVar1;
undefined8 *puVar2;
puVar2 = (undefined8 *)func_0x00400ad0(0,0x14);
iVar1 = globalReturnsTrue();
if (iVar1 != 0) {
*puVar2 = 0x696c616974696e49;
*(undefined2 *)(puVar2 + 1) = 0x657a;
*(undefined *)((long)puVar2 + 10) = 0;
printLine(puVar2);
func_0x00400a20(puVar2);
}
return;
}
| ['gcc'] |
7,942 | void CWE690_NULL_Deref_From_Return__char_realloc_11_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111084/CWE690_NULL_Deref_From_Return__char_realloc_11.c | CWE690_NULL_Deref_From_Return__char_realloc_11_good |
void CWE690_NULL_Deref_From_Return__char_realloc_11_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,943 | void CWE690_NULL_Deref_From_Return__char_realloc_12_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
if(globalReturnsTrueOrFalse())
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
else
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
strcpy(data, "Initialize");
printLine(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/111085/CWE690_NULL_Deref_From_Return__char_realloc_12.c | CWE690_NULL_Deref_From_Return__char_realloc_12_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_12_bad(void)
{
int iVar1;
undefined8 *puVar2;
puVar2 = (undefined8 *)func_0x00400ad0(0,0x14);
iVar1 = globalReturnsTrueOrFalse();
if (iVar1 == 0) {
if (puVar2 != (undefined8 *)0x0) {
*puVar2 = 0x696c616974696e49;
*(undefined2 *)(puVar2 + 1) = 0x657a;
*(undefined *)((long)puVar2 + 10) = 0;
printLine(puVar2);
func_0x00400a20(puVar2);
}
}
else {
*puVar2 = 0x696c616974696e49;
*(undefined2 *)(puVar2 + 1) = 0x657a;
*(undefined *)((long)puVar2 + 10) = 0;
printLine(puVar2);
func_0x00400a20(puVar2);
}
return;
}
| ['gcc'] |
7,944 | void CWE690_NULL_Deref_From_Return__char_realloc_12_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111085/CWE690_NULL_Deref_From_Return__char_realloc_12.c | CWE690_NULL_Deref_From_Return__char_realloc_12_good |
void CWE690_NULL_Deref_From_Return__char_realloc_12_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,945 | void CWE690_NULL_Deref_From_Return__char_realloc_13_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
if(GLOBAL_CONST_FIVE==5)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111086/CWE690_NULL_Deref_From_Return__char_realloc_13.c | CWE690_NULL_Deref_From_Return__char_realloc_13_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_13_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
if (GLOBAL_CONST_FIVE == 5) {
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
7,946 | void CWE690_NULL_Deref_From_Return__char_realloc_13_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111086/CWE690_NULL_Deref_From_Return__char_realloc_13.c | CWE690_NULL_Deref_From_Return__char_realloc_13_good |
void CWE690_NULL_Deref_From_Return__char_realloc_13_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,947 | void CWE690_NULL_Deref_From_Return__char_realloc_14_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
if(globalFive==5)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111087/CWE690_NULL_Deref_From_Return__char_realloc_14.c | CWE690_NULL_Deref_From_Return__char_realloc_14_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_14_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
if (globalFive == 5) {
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
7,948 | void CWE690_NULL_Deref_From_Return__char_realloc_14_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111087/CWE690_NULL_Deref_From_Return__char_realloc_14.c | CWE690_NULL_Deref_From_Return__char_realloc_14_good |
void CWE690_NULL_Deref_From_Return__char_realloc_14_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,949 | void CWE690_NULL_Deref_From_Return__char_realloc_15_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
switch(6)
{
case 6:
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111088/CWE690_NULL_Deref_From_Return__char_realloc_15.c | CWE690_NULL_Deref_From_Return__char_realloc_15_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_15_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,950 | void CWE690_NULL_Deref_From_Return__char_realloc_15_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111088/CWE690_NULL_Deref_From_Return__char_realloc_15.c | CWE690_NULL_Deref_From_Return__char_realloc_15_good |
void CWE690_NULL_Deref_From_Return__char_realloc_15_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,951 | void CWE690_NULL_Deref_From_Return__char_realloc_16_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
while(1)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111089/CWE690_NULL_Deref_From_Return__char_realloc_16.c | CWE690_NULL_Deref_From_Return__char_realloc_16_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_16_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,952 | void CWE690_NULL_Deref_From_Return__char_realloc_16_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111089/CWE690_NULL_Deref_From_Return__char_realloc_16.c | CWE690_NULL_Deref_From_Return__char_realloc_16_good |
void CWE690_NULL_Deref_From_Return__char_realloc_16_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,953 | void CWE690_NULL_Deref_From_Return__char_realloc_17_bad()
{
int j;
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
for(j = 0; j < 1; j++)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111090/CWE690_NULL_Deref_From_Return__char_realloc_17.c | CWE690_NULL_Deref_From_Return__char_realloc_17_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_17_bad(void)
{
undefined8 *puVar1;
int iStack_c;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
for (iStack_c = 0; iStack_c < 1; iStack_c = iStack_c + 1) {
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
7,954 | void CWE690_NULL_Deref_From_Return__char_realloc_17_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111090/CWE690_NULL_Deref_From_Return__char_realloc_17.c | CWE690_NULL_Deref_From_Return__char_realloc_17_good |
void CWE690_NULL_Deref_From_Return__char_realloc_17_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,955 | void CWE690_NULL_Deref_From_Return__char_realloc_18_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
goto sink;
sink:
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111091/CWE690_NULL_Deref_From_Return__char_realloc_18.c | CWE690_NULL_Deref_From_Return__char_realloc_18_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_18_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,956 | void CWE690_NULL_Deref_From_Return__char_realloc_18_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111091/CWE690_NULL_Deref_From_Return__char_realloc_18.c | CWE690_NULL_Deref_From_Return__char_realloc_18_good |
void CWE690_NULL_Deref_From_Return__char_realloc_18_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,957 | void CWE690_NULL_Deref_From_Return__char_realloc_21_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
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/111092/CWE690_NULL_Deref_From_Return__char_realloc_21.c | CWE690_NULL_Deref_From_Return__char_realloc_21_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_21_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0,0x14);
badStatic = 1;
badSink(uVar1);
return;
}
| ['gcc'] |
7,958 | void CWE690_NULL_Deref_From_Return__char_realloc_21_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111092/CWE690_NULL_Deref_From_Return__char_realloc_21.c | CWE690_NULL_Deref_From_Return__char_realloc_21_good |
void CWE690_NULL_Deref_From_Return__char_realloc_21_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,959 | void CWE690_NULL_Deref_From_Return__char_realloc_22_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
CWE690_NULL_Deref_From_Return__char_realloc_22_badGlobal = 1; /* true */
CWE690_NULL_Deref_From_Return__char_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/111093/CWE690_NULL_Deref_From_Return__char_realloc_22a.c | CWE690_NULL_Deref_From_Return__char_realloc_22_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_22_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0,0x14);
CWE690_NULL_Deref_From_Return__char_realloc_22_badGlobal = 1;
CWE690_NULL_Deref_From_Return__char_realloc_22_badSink(uVar1);
return;
}
| ['gcc'] |
7,960 | void CWE690_NULL_Deref_From_Return__char_realloc_22_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111093/CWE690_NULL_Deref_From_Return__char_realloc_22a.c | CWE690_NULL_Deref_From_Return__char_realloc_22_good |
void CWE690_NULL_Deref_From_Return__char_realloc_22_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,961 | void CWE690_NULL_Deref_From_Return__char_realloc_22_badSink(char * data)
{
if(CWE690_NULL_Deref_From_Return__char_realloc_22_badGlobal)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111093/CWE690_NULL_Deref_From_Return__char_realloc_22b.c | CWE690_NULL_Deref_From_Return__char_realloc_22_badSink |
void CWE690_NULL_Deref_From_Return__char_realloc_22_badSink(undefined8 *param_1)
{
if (CWE690_NULL_Deref_From_Return__char_realloc_22_badGlobal != 0) {
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
7,962 | void CWE690_NULL_Deref_From_Return__char_realloc_22_goodB2G1Sink(char * data)
{
if(CWE690_NULL_Deref_From_Return__char_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)
{
strcpy(data, "Initialize");
printLine(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/111093/CWE690_NULL_Deref_From_Return__char_realloc_22b.c | CWE690_NULL_Deref_From_Return__char_realloc_22_goodB2G1Sink |
void CWE690_NULL_Deref_From_Return__char_realloc_22_goodB2G1Sink(undefined8 *param_1)
{
if (CWE690_NULL_Deref_From_Return__char_realloc_22_goodB2G1Global == 0) {
if (param_1 != (undefined8 *)0x0) {
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
}
}
else {
printLine(&UNK_00401294);
}
return;
}
| ['gcc'] |
7,963 | void CWE690_NULL_Deref_From_Return__char_realloc_22_goodB2G2Sink(char * data)
{
if(CWE690_NULL_Deref_From_Return__char_realloc_22_goodB2G2Global)
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
strcpy(data, "Initialize");
printLine(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/111093/CWE690_NULL_Deref_From_Return__char_realloc_22b.c | CWE690_NULL_Deref_From_Return__char_realloc_22_goodB2G2Sink |
void CWE690_NULL_Deref_From_Return__char_realloc_22_goodB2G2Sink(undefined8 *param_1)
{
if ((CWE690_NULL_Deref_From_Return__char_realloc_22_goodB2G2Global != 0) &&
(param_1 != (undefined8 *)0x0)) {
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
7,964 | void CWE690_NULL_Deref_From_Return__char_realloc_31_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
{
char * dataCopy = data;
char * data = dataCopy;
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111094/CWE690_NULL_Deref_From_Return__char_realloc_31.c | CWE690_NULL_Deref_From_Return__char_realloc_31_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_31_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,965 | void CWE690_NULL_Deref_From_Return__char_realloc_31_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111094/CWE690_NULL_Deref_From_Return__char_realloc_31.c | CWE690_NULL_Deref_From_Return__char_realloc_31_good |
void CWE690_NULL_Deref_From_Return__char_realloc_31_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,966 | void CWE690_NULL_Deref_From_Return__char_realloc_32_bad()
{
char * data;
char * *dataPtr1 = &data;
char * *dataPtr2 = &data;
data = NULL; /* Initialize data */
{
char * data = *dataPtr1;
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
*dataPtr1 = data;
}
{
char * data = *dataPtr2;
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111095/CWE690_NULL_Deref_From_Return__char_realloc_32.c | CWE690_NULL_Deref_From_Return__char_realloc_32_bad |
/* WARNING: Restarted to delay deadcode elimination for space: stack */
void CWE690_NULL_Deref_From_Return__char_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,0x14);
*puStack_10 = uStack_20;
puStack_28 = (undefined8 *)*puStack_18;
*puStack_28 = 0x696c616974696e49;
*(undefined2 *)(puStack_28 + 1) = 0x657a;
*(undefined *)((long)puStack_28 + 10) = 0;
printLine(puStack_28);
func_0x00400a20(puStack_28);
return;
}
| ['gcc'] |
7,967 | void CWE690_NULL_Deref_From_Return__char_realloc_32_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111095/CWE690_NULL_Deref_From_Return__char_realloc_32.c | CWE690_NULL_Deref_From_Return__char_realloc_32_good |
void CWE690_NULL_Deref_From_Return__char_realloc_32_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,968 | void CWE690_NULL_Deref_From_Return__char_realloc_34_bad()
{
char * data;
CWE690_NULL_Deref_From_Return__char_realloc_34_unionType myUnion;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
myUnion.unionFirst = data;
{
char * data = myUnion.unionSecond;
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111097/CWE690_NULL_Deref_From_Return__char_realloc_34.c | CWE690_NULL_Deref_From_Return__char_realloc_34_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_34_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400ad0(0,0x14);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,969 | void CWE690_NULL_Deref_From_Return__char_realloc_34_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111097/CWE690_NULL_Deref_From_Return__char_realloc_34.c | CWE690_NULL_Deref_From_Return__char_realloc_34_good |
void CWE690_NULL_Deref_From_Return__char_realloc_34_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,970 | void CWE690_NULL_Deref_From_Return__char_realloc_41_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
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/111098/CWE690_NULL_Deref_From_Return__char_realloc_41.c | CWE690_NULL_Deref_From_Return__char_realloc_41_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_41_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0,0x14);
badSink(uVar1);
return;
}
| ['gcc'] |
7,971 | void CWE690_NULL_Deref_From_Return__char_realloc_41_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111098/CWE690_NULL_Deref_From_Return__char_realloc_41.c | CWE690_NULL_Deref_From_Return__char_realloc_41_good |
void CWE690_NULL_Deref_From_Return__char_realloc_41_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,972 | void CWE690_NULL_Deref_From_Return__char_realloc_42_bad()
{
char * data;
data = NULL; /* Initialize data */
data = badSource(data);
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111099/CWE690_NULL_Deref_From_Return__char_realloc_42.c | CWE690_NULL_Deref_From_Return__char_realloc_42_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_42_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)badSource(0);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,973 | void CWE690_NULL_Deref_From_Return__char_realloc_42_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111099/CWE690_NULL_Deref_From_Return__char_realloc_42.c | CWE690_NULL_Deref_From_Return__char_realloc_42_good |
void CWE690_NULL_Deref_From_Return__char_realloc_42_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,974 | void CWE690_NULL_Deref_From_Return__char_realloc_51_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
CWE690_NULL_Deref_From_Return__char_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/111103/CWE690_NULL_Deref_From_Return__char_realloc_51a.c | CWE690_NULL_Deref_From_Return__char_realloc_51_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_51_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0,0x14);
CWE690_NULL_Deref_From_Return__char_realloc_51b_badSink(uVar1);
return;
}
| ['gcc'] |
7,975 | void CWE690_NULL_Deref_From_Return__char_realloc_51_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111103/CWE690_NULL_Deref_From_Return__char_realloc_51a.c | CWE690_NULL_Deref_From_Return__char_realloc_51_good |
void CWE690_NULL_Deref_From_Return__char_realloc_51_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,976 | void CWE690_NULL_Deref_From_Return__char_realloc_51b_badSink(char * data)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111103/CWE690_NULL_Deref_From_Return__char_realloc_51b.c | CWE690_NULL_Deref_From_Return__char_realloc_51b_badSink |
void CWE690_NULL_Deref_From_Return__char_realloc_51b_badSink(undefined8 *param_1)
{
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
7,977 | void CWE690_NULL_Deref_From_Return__char_realloc_51b_goodB2GSink(char * data)
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
strcpy(data, "Initialize");
printLine(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/111103/CWE690_NULL_Deref_From_Return__char_realloc_51b.c | CWE690_NULL_Deref_From_Return__char_realloc_51b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_realloc_51b_goodB2GSink(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
7,978 | void CWE690_NULL_Deref_From_Return__char_realloc_52_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
CWE690_NULL_Deref_From_Return__char_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/111104/CWE690_NULL_Deref_From_Return__char_realloc_52a.c | CWE690_NULL_Deref_From_Return__char_realloc_52_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_52_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0,0x14);
CWE690_NULL_Deref_From_Return__char_realloc_52b_badSink(uVar1);
return;
}
| ['gcc'] |
7,979 | void CWE690_NULL_Deref_From_Return__char_realloc_52_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111104/CWE690_NULL_Deref_From_Return__char_realloc_52a.c | CWE690_NULL_Deref_From_Return__char_realloc_52_good |
void CWE690_NULL_Deref_From_Return__char_realloc_52_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,980 | void CWE690_NULL_Deref_From_Return__char_realloc_52b_badSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_realloc_52c_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111104/CWE690_NULL_Deref_From_Return__char_realloc_52b.c | CWE690_NULL_Deref_From_Return__char_realloc_52b_badSink |
void CWE690_NULL_Deref_From_Return__char_realloc_52b_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_realloc_52c_badSink(param_1);
return;
}
| ['gcc'] |
7,981 | void CWE690_NULL_Deref_From_Return__char_realloc_52b_goodB2GSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_realloc_52c_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111104/CWE690_NULL_Deref_From_Return__char_realloc_52b.c | CWE690_NULL_Deref_From_Return__char_realloc_52b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_realloc_52b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_realloc_52c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
7,982 | void CWE690_NULL_Deref_From_Return__char_realloc_52c_badSink(char * data)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111104/CWE690_NULL_Deref_From_Return__char_realloc_52c.c | CWE690_NULL_Deref_From_Return__char_realloc_52c_badSink |
void CWE690_NULL_Deref_From_Return__char_realloc_52c_badSink(undefined8 *param_1)
{
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
7,983 | void CWE690_NULL_Deref_From_Return__char_realloc_52c_goodB2GSink(char * data)
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
strcpy(data, "Initialize");
printLine(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/111104/CWE690_NULL_Deref_From_Return__char_realloc_52c.c | CWE690_NULL_Deref_From_Return__char_realloc_52c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_realloc_52c_goodB2GSink(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
7,984 | void CWE690_NULL_Deref_From_Return__char_realloc_53_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
CWE690_NULL_Deref_From_Return__char_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/111105/CWE690_NULL_Deref_From_Return__char_realloc_53a.c | CWE690_NULL_Deref_From_Return__char_realloc_53_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_53_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0,0x14);
CWE690_NULL_Deref_From_Return__char_realloc_53b_badSink(uVar1);
return;
}
| ['gcc'] |
7,985 | void CWE690_NULL_Deref_From_Return__char_realloc_53_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111105/CWE690_NULL_Deref_From_Return__char_realloc_53a.c | CWE690_NULL_Deref_From_Return__char_realloc_53_good |
void CWE690_NULL_Deref_From_Return__char_realloc_53_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,986 | void CWE690_NULL_Deref_From_Return__char_realloc_53b_badSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_realloc_53c_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111105/CWE690_NULL_Deref_From_Return__char_realloc_53b.c | CWE690_NULL_Deref_From_Return__char_realloc_53b_badSink |
void CWE690_NULL_Deref_From_Return__char_realloc_53b_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_realloc_53c_badSink(param_1);
return;
}
| ['gcc'] |
7,987 | void CWE690_NULL_Deref_From_Return__char_realloc_53b_goodB2GSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_realloc_53c_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111105/CWE690_NULL_Deref_From_Return__char_realloc_53b.c | CWE690_NULL_Deref_From_Return__char_realloc_53b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_realloc_53b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_realloc_53c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
7,988 | void CWE690_NULL_Deref_From_Return__char_realloc_53c_badSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_realloc_53d_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111105/CWE690_NULL_Deref_From_Return__char_realloc_53c.c | CWE690_NULL_Deref_From_Return__char_realloc_53c_badSink |
void CWE690_NULL_Deref_From_Return__char_realloc_53c_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_realloc_53d_badSink(param_1);
return;
}
| ['gcc'] |
7,989 | void CWE690_NULL_Deref_From_Return__char_realloc_53c_goodB2GSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_realloc_53d_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111105/CWE690_NULL_Deref_From_Return__char_realloc_53c.c | CWE690_NULL_Deref_From_Return__char_realloc_53c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_realloc_53c_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_realloc_53d_goodB2GSink(param_1);
return;
}
| ['gcc'] |
7,990 | void CWE690_NULL_Deref_From_Return__char_realloc_53d_badSink(char * data)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(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/111105/CWE690_NULL_Deref_From_Return__char_realloc_53d.c | CWE690_NULL_Deref_From_Return__char_realloc_53d_badSink |
void CWE690_NULL_Deref_From_Return__char_realloc_53d_badSink(undefined8 *param_1)
{
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
7,991 | void CWE690_NULL_Deref_From_Return__char_realloc_53d_goodB2GSink(char * data)
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
strcpy(data, "Initialize");
printLine(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/111105/CWE690_NULL_Deref_From_Return__char_realloc_53d.c | CWE690_NULL_Deref_From_Return__char_realloc_53d_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_realloc_53d_goodB2GSink(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
7,992 | void CWE690_NULL_Deref_From_Return__char_realloc_54_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)realloc(data, 20*sizeof(char));
CWE690_NULL_Deref_From_Return__char_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/111106/CWE690_NULL_Deref_From_Return__char_realloc_54a.c | CWE690_NULL_Deref_From_Return__char_realloc_54_bad |
void CWE690_NULL_Deref_From_Return__char_realloc_54_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400ad0(0,0x14);
CWE690_NULL_Deref_From_Return__char_realloc_54b_badSink(uVar1);
return;
}
| ['gcc'] |
7,993 | void CWE690_NULL_Deref_From_Return__char_realloc_54_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111106/CWE690_NULL_Deref_From_Return__char_realloc_54a.c | CWE690_NULL_Deref_From_Return__char_realloc_54_good |
void CWE690_NULL_Deref_From_Return__char_realloc_54_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,994 | void CWE690_NULL_Deref_From_Return__char_realloc_54b_badSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_realloc_54c_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111106/CWE690_NULL_Deref_From_Return__char_realloc_54b.c | CWE690_NULL_Deref_From_Return__char_realloc_54b_badSink |
void CWE690_NULL_Deref_From_Return__char_realloc_54b_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_realloc_54c_badSink(param_1);
return;
}
| ['gcc'] |
7,995 | void CWE690_NULL_Deref_From_Return__char_realloc_54b_goodB2GSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_realloc_54c_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111106/CWE690_NULL_Deref_From_Return__char_realloc_54b.c | CWE690_NULL_Deref_From_Return__char_realloc_54b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_realloc_54b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_realloc_54c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
7,996 | void CWE690_NULL_Deref_From_Return__char_realloc_54c_badSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_realloc_54d_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111106/CWE690_NULL_Deref_From_Return__char_realloc_54c.c | CWE690_NULL_Deref_From_Return__char_realloc_54c_badSink |
void CWE690_NULL_Deref_From_Return__char_realloc_54c_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_realloc_54d_badSink(param_1);
return;
}
| ['gcc'] |
7,997 | void CWE690_NULL_Deref_From_Return__char_realloc_54c_goodB2GSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_realloc_54d_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111106/CWE690_NULL_Deref_From_Return__char_realloc_54c.c | CWE690_NULL_Deref_From_Return__char_realloc_54c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_realloc_54c_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_realloc_54d_goodB2GSink(param_1);
return;
}
| ['gcc'] |
7,998 | void CWE690_NULL_Deref_From_Return__char_realloc_54d_badSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_realloc_54e_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111106/CWE690_NULL_Deref_From_Return__char_realloc_54d.c | CWE690_NULL_Deref_From_Return__char_realloc_54d_badSink |
void CWE690_NULL_Deref_From_Return__char_realloc_54d_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_realloc_54e_badSink(param_1);
return;
}
| ['gcc'] |
7,999 | void CWE690_NULL_Deref_From_Return__char_realloc_54d_goodB2GSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_realloc_54e_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111106/CWE690_NULL_Deref_From_Return__char_realloc_54d.c | CWE690_NULL_Deref_From_Return__char_realloc_54d_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_realloc_54d_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_realloc_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.