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 |
|---|---|---|---|---|---|---|---|---|
6,700 | void CWE665_Improper_Initialization__wchar_t_cat_63b_goodG2BSink(wchar_t * * dataPtr)
{
wchar_t * data = *dataPtr;
{
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
/* POTENTIAL FLAW: If data is not initialized properly, wcscat() may not function correctly */
wcscat(data, source);
printWLine(data);
}
} | ["/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcscat() may not function correctly */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109884/CWE665_Improper_Initialization__wchar_t_cat_63b.c | CWE665_Improper_Initialization__wchar_t_cat_63b_goodG2BSink |
void CWE665_Improper_Initialization__wchar_t_cat_63b_goodG2BSink(undefined8 *param_1)
{
undefined auStack_1a8 [396];
undefined4 uStack_1c;
undefined8 uStack_10;
uStack_10 = *param_1;
func_0x00400a60(auStack_1a8,0x43,99);
uStack_1c = 0;
func_0x00400a20(uStack_10,auStack_1a8);
printWLine(uStack_10);
return;
}
| ['gcc'] |
6,701 | void CWE665_Improper_Initialization__wchar_t_cat_64_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
CWE665_Improper_Initialization__wchar_t_cat_64b_badSink(&data);
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109885/CWE665_Improper_Initialization__wchar_t_cat_64a.c | CWE665_Improper_Initialization__wchar_t_cat_64_bad |
void CWE665_Improper_Initialization__wchar_t_cat_64_bad(void)
{
undefined auStack_1a8 [408];
undefined *puStack_10;
puStack_10 = auStack_1a8;
CWE665_Improper_Initialization__wchar_t_cat_64b_badSink(&puStack_10);
return;
}
| ['gcc'] |
6,702 | void CWE665_Improper_Initialization__wchar_t_cat_64_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109885/CWE665_Improper_Initialization__wchar_t_cat_64a.c | CWE665_Improper_Initialization__wchar_t_cat_64_good |
void CWE665_Improper_Initialization__wchar_t_cat_64_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,703 | void CWE665_Improper_Initialization__wchar_t_cat_64b_badSink(void * dataVoidPtr)
{
/* cast void pointer to a pointer of the appropriate type */
wchar_t * * dataPtr = (wchar_t * *)dataVoidPtr;
/* dereference dataPtr into data */
wchar_t * data = (*dataPtr);
{
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
/* POTENTIAL FLAW: If data is not initialized properly, wcscat() may not function correctly */
wcscat(data, source);
printWLine(data);
}
} | ['/* cast void pointer to a pointer of the appropriate type */', '/* dereference dataPtr into data */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcscat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109885/CWE665_Improper_Initialization__wchar_t_cat_64b.c | CWE665_Improper_Initialization__wchar_t_cat_64b_badSink |
void CWE665_Improper_Initialization__wchar_t_cat_64b_badSink(undefined8 *param_1)
{
undefined auStack_1a8 [396];
undefined4 uStack_1c;
undefined8 uStack_18;
undefined8 *puStack_10;
uStack_18 = *param_1;
puStack_10 = param_1;
func_0x00400a60(auStack_1a8,0x43,99);
uStack_1c = 0;
func_0x00400a20(uStack_18,auStack_1a8);
printWLine(uStack_18);
return;
}
| ['gcc'] |
6,704 | void CWE665_Improper_Initialization__wchar_t_cat_64b_goodG2BSink(void * dataVoidPtr)
{
/* cast void pointer to a pointer of the appropriate type */
wchar_t * * dataPtr = (wchar_t * *)dataVoidPtr;
/* dereference dataPtr into data */
wchar_t * data = (*dataPtr);
{
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
/* POTENTIAL FLAW: If data is not initialized properly, wcscat() may not function correctly */
wcscat(data, source);
printWLine(data);
}
} | ['/* cast void pointer to a pointer of the appropriate type */', '/* dereference dataPtr into data */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcscat() may not function correctly */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109885/CWE665_Improper_Initialization__wchar_t_cat_64b.c | CWE665_Improper_Initialization__wchar_t_cat_64b_goodG2BSink |
void CWE665_Improper_Initialization__wchar_t_cat_64b_goodG2BSink(undefined8 *param_1)
{
undefined auStack_1a8 [396];
undefined4 uStack_1c;
undefined8 uStack_18;
undefined8 *puStack_10;
uStack_18 = *param_1;
puStack_10 = param_1;
func_0x00400a60(auStack_1a8,0x43,99);
uStack_1c = 0;
func_0x00400a20(uStack_18,auStack_1a8);
printWLine(uStack_18);
return;
}
| ['gcc'] |
6,705 | void CWE665_Improper_Initialization__wchar_t_cat_66_bad()
{
wchar_t * data;
wchar_t * dataArray[5];
wchar_t dataBuffer[100];
data = dataBuffer;
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
/* put data in array */
dataArray[2] = data;
CWE665_Improper_Initialization__wchar_t_cat_66b_badSink(dataArray);
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', '/* put data in array */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109887/CWE665_Improper_Initialization__wchar_t_cat_66a.c | CWE665_Improper_Initialization__wchar_t_cat_66_bad |
void CWE665_Improper_Initialization__wchar_t_cat_66_bad(void)
{
undefined auStack_1c8 [400];
undefined auStack_38 [16];
undefined *puStack_28;
undefined *puStack_10;
puStack_28 = auStack_1c8;
puStack_10 = puStack_28;
CWE665_Improper_Initialization__wchar_t_cat_66b_badSink(auStack_38);
return;
}
| ['gcc'] |
6,706 | void CWE665_Improper_Initialization__wchar_t_cat_66_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109887/CWE665_Improper_Initialization__wchar_t_cat_66a.c | CWE665_Improper_Initialization__wchar_t_cat_66_good |
void CWE665_Improper_Initialization__wchar_t_cat_66_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,707 | void CWE665_Improper_Initialization__wchar_t_cat_66b_badSink(wchar_t * dataArray[])
{
/* copy data out of dataArray */
wchar_t * data = dataArray[2];
{
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
/* POTENTIAL FLAW: If data is not initialized properly, wcscat() may not function correctly */
wcscat(data, source);
printWLine(data);
}
} | ['/* copy data out of dataArray */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcscat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109887/CWE665_Improper_Initialization__wchar_t_cat_66b.c | CWE665_Improper_Initialization__wchar_t_cat_66b_badSink |
void CWE665_Improper_Initialization__wchar_t_cat_66b_badSink(long param_1)
{
undefined auStack_1a8 [396];
undefined4 uStack_1c;
undefined8 uStack_10;
uStack_10 = *(undefined8 *)(param_1 + 0x10);
func_0x00400a60(auStack_1a8,0x43,99);
uStack_1c = 0;
func_0x00400a20(uStack_10,auStack_1a8);
printWLine(uStack_10);
return;
}
| ['gcc'] |
6,708 | void CWE665_Improper_Initialization__wchar_t_cat_66b_goodG2BSink(wchar_t * dataArray[])
{
wchar_t * data = dataArray[2];
{
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
/* POTENTIAL FLAW: If data is not initialized properly, wcscat() may not function correctly */
wcscat(data, source);
printWLine(data);
}
} | ["/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcscat() may not function correctly */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109887/CWE665_Improper_Initialization__wchar_t_cat_66b.c | CWE665_Improper_Initialization__wchar_t_cat_66b_goodG2BSink |
void CWE665_Improper_Initialization__wchar_t_cat_66b_goodG2BSink(long param_1)
{
undefined auStack_1a8 [396];
undefined4 uStack_1c;
undefined8 uStack_10;
uStack_10 = *(undefined8 *)(param_1 + 0x10);
func_0x00400a60(auStack_1a8,0x43,99);
uStack_1c = 0;
func_0x00400a20(uStack_10,auStack_1a8);
printWLine(uStack_10);
return;
}
| ['gcc'] |
6,709 | void CWE665_Improper_Initialization__wchar_t_cat_67_bad()
{
wchar_t * data;
CWE665_Improper_Initialization__wchar_t_cat_67_structType myStruct;
wchar_t dataBuffer[100];
data = dataBuffer;
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
myStruct.structFirst = data;
CWE665_Improper_Initialization__wchar_t_cat_67b_badSink(myStruct);
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109888/CWE665_Improper_Initialization__wchar_t_cat_67a.c | CWE665_Improper_Initialization__wchar_t_cat_67_bad |
void CWE665_Improper_Initialization__wchar_t_cat_67_bad(void)
{
undefined auStack_1a8 [400];
undefined *puStack_18;
undefined *puStack_10;
puStack_18 = auStack_1a8;
puStack_10 = puStack_18;
CWE665_Improper_Initialization__wchar_t_cat_67b_badSink(puStack_18);
return;
}
| ['gcc'] |
6,710 | void CWE665_Improper_Initialization__wchar_t_cat_67_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109888/CWE665_Improper_Initialization__wchar_t_cat_67a.c | CWE665_Improper_Initialization__wchar_t_cat_67_good |
void CWE665_Improper_Initialization__wchar_t_cat_67_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,711 | void CWE665_Improper_Initialization__wchar_t_cat_67b_badSink(CWE665_Improper_Initialization__wchar_t_cat_67_structType myStruct)
{
wchar_t * data = myStruct.structFirst;
{
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
/* POTENTIAL FLAW: If data is not initialized properly, wcscat() may not function correctly */
wcscat(data, source);
printWLine(data);
}
} | ["/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcscat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109888/CWE665_Improper_Initialization__wchar_t_cat_67b.c | CWE665_Improper_Initialization__wchar_t_cat_67b_badSink |
void CWE665_Improper_Initialization__wchar_t_cat_67b_badSink(undefined8 param_1)
{
undefined auStack_1a8 [396];
undefined4 uStack_1c;
undefined8 uStack_10;
uStack_10 = param_1;
func_0x00400a60(auStack_1a8,0x43,99);
uStack_1c = 0;
func_0x00400a20(uStack_10,auStack_1a8);
printWLine(uStack_10);
return;
}
| ['gcc'] |
6,712 | void CWE665_Improper_Initialization__wchar_t_cat_67b_goodG2BSink(CWE665_Improper_Initialization__wchar_t_cat_67_structType myStruct)
{
wchar_t * data = myStruct.structFirst;
{
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
/* POTENTIAL FLAW: If data is not initialized properly, wcscat() may not function correctly */
wcscat(data, source);
printWLine(data);
}
} | ["/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcscat() may not function correctly */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109888/CWE665_Improper_Initialization__wchar_t_cat_67b.c | CWE665_Improper_Initialization__wchar_t_cat_67b_goodG2BSink |
void CWE665_Improper_Initialization__wchar_t_cat_67b_goodG2BSink(undefined8 param_1)
{
undefined auStack_1a8 [396];
undefined4 uStack_1c;
undefined8 uStack_10;
uStack_10 = param_1;
func_0x00400a60(auStack_1a8,0x43,99);
uStack_1c = 0;
func_0x00400a20(uStack_10,auStack_1a8);
printWLine(uStack_10);
return;
}
| ['gcc'] |
6,713 | void CWE665_Improper_Initialization__wchar_t_ncat_01_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109897/CWE665_Improper_Initialization__wchar_t_ncat_01.c | CWE665_Improper_Initialization__wchar_t_ncat_01_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_01_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,714 | void CWE665_Improper_Initialization__wchar_t_ncat_01_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109897/CWE665_Improper_Initialization__wchar_t_ncat_01.c | CWE665_Improper_Initialization__wchar_t_ncat_01_good |
void CWE665_Improper_Initialization__wchar_t_ncat_01_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,715 | void CWE665_Improper_Initialization__wchar_t_ncat_02_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
if(1)
{
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
}
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109898/CWE665_Improper_Initialization__wchar_t_ncat_02.c | CWE665_Improper_Initialization__wchar_t_ncat_02_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_02_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,716 | void CWE665_Improper_Initialization__wchar_t_ncat_02_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109898/CWE665_Improper_Initialization__wchar_t_ncat_02.c | CWE665_Improper_Initialization__wchar_t_ncat_02_good |
void CWE665_Improper_Initialization__wchar_t_ncat_02_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
6,717 | void CWE665_Improper_Initialization__wchar_t_ncat_03_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
if(5==5)
{
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
}
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109899/CWE665_Improper_Initialization__wchar_t_ncat_03.c | CWE665_Improper_Initialization__wchar_t_ncat_03_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_03_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,718 | void CWE665_Improper_Initialization__wchar_t_ncat_03_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109899/CWE665_Improper_Initialization__wchar_t_ncat_03.c | CWE665_Improper_Initialization__wchar_t_ncat_03_good |
void CWE665_Improper_Initialization__wchar_t_ncat_03_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
6,719 | void CWE665_Improper_Initialization__wchar_t_ncat_04_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
if(STATIC_CONST_TRUE)
{
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
}
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109900/CWE665_Improper_Initialization__wchar_t_ncat_04.c | CWE665_Improper_Initialization__wchar_t_ncat_04_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_04_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,720 | void CWE665_Improper_Initialization__wchar_t_ncat_04_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109900/CWE665_Improper_Initialization__wchar_t_ncat_04.c | CWE665_Improper_Initialization__wchar_t_ncat_04_good |
void CWE665_Improper_Initialization__wchar_t_ncat_04_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
6,721 | void CWE665_Improper_Initialization__wchar_t_ncat_05_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
if(staticTrue)
{
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
}
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109901/CWE665_Improper_Initialization__wchar_t_ncat_05.c | CWE665_Improper_Initialization__wchar_t_ncat_05_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_05_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,722 | void CWE665_Improper_Initialization__wchar_t_ncat_05_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109901/CWE665_Improper_Initialization__wchar_t_ncat_05.c | CWE665_Improper_Initialization__wchar_t_ncat_05_good |
void CWE665_Improper_Initialization__wchar_t_ncat_05_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
6,723 | void CWE665_Improper_Initialization__wchar_t_ncat_06_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
if(STATIC_CONST_FIVE==5)
{
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
}
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109902/CWE665_Improper_Initialization__wchar_t_ncat_06.c | CWE665_Improper_Initialization__wchar_t_ncat_06_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_06_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,724 | void CWE665_Improper_Initialization__wchar_t_ncat_06_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109902/CWE665_Improper_Initialization__wchar_t_ncat_06.c | CWE665_Improper_Initialization__wchar_t_ncat_06_good |
void CWE665_Improper_Initialization__wchar_t_ncat_06_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
6,725 | void CWE665_Improper_Initialization__wchar_t_ncat_07_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
if(staticFive==5)
{
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
}
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109903/CWE665_Improper_Initialization__wchar_t_ncat_07.c | CWE665_Improper_Initialization__wchar_t_ncat_07_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_07_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,726 | void CWE665_Improper_Initialization__wchar_t_ncat_07_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109903/CWE665_Improper_Initialization__wchar_t_ncat_07.c | CWE665_Improper_Initialization__wchar_t_ncat_07_good |
void CWE665_Improper_Initialization__wchar_t_ncat_07_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
6,727 | void CWE665_Improper_Initialization__wchar_t_ncat_08_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
if(staticReturnsTrue())
{
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
}
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109904/CWE665_Improper_Initialization__wchar_t_ncat_08.c | CWE665_Improper_Initialization__wchar_t_ncat_08_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_08_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
staticReturnsTrue();
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,728 | void CWE665_Improper_Initialization__wchar_t_ncat_08_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109904/CWE665_Improper_Initialization__wchar_t_ncat_08.c | CWE665_Improper_Initialization__wchar_t_ncat_08_good |
void CWE665_Improper_Initialization__wchar_t_ncat_08_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
6,729 | void CWE665_Improper_Initialization__wchar_t_ncat_09_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
if(GLOBAL_CONST_TRUE)
{
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
}
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109905/CWE665_Improper_Initialization__wchar_t_ncat_09.c | CWE665_Improper_Initialization__wchar_t_ncat_09_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_09_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,730 | void CWE665_Improper_Initialization__wchar_t_ncat_09_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109905/CWE665_Improper_Initialization__wchar_t_ncat_09.c | CWE665_Improper_Initialization__wchar_t_ncat_09_good |
void CWE665_Improper_Initialization__wchar_t_ncat_09_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
6,731 | void CWE665_Improper_Initialization__wchar_t_ncat_10_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
if(globalTrue)
{
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
}
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109906/CWE665_Improper_Initialization__wchar_t_ncat_10.c | CWE665_Improper_Initialization__wchar_t_ncat_10_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_10_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,732 | void CWE665_Improper_Initialization__wchar_t_ncat_10_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109906/CWE665_Improper_Initialization__wchar_t_ncat_10.c | CWE665_Improper_Initialization__wchar_t_ncat_10_good |
void CWE665_Improper_Initialization__wchar_t_ncat_10_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
6,733 | void CWE665_Improper_Initialization__wchar_t_ncat_11_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
if(globalReturnsTrue())
{
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
}
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109907/CWE665_Improper_Initialization__wchar_t_ncat_11.c | CWE665_Improper_Initialization__wchar_t_ncat_11_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_11_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
globalReturnsTrue();
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,734 | void CWE665_Improper_Initialization__wchar_t_ncat_11_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109907/CWE665_Improper_Initialization__wchar_t_ncat_11.c | CWE665_Improper_Initialization__wchar_t_ncat_11_good |
void CWE665_Improper_Initialization__wchar_t_ncat_11_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
6,735 | void CWE665_Improper_Initialization__wchar_t_ncat_12_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
if(globalReturnsTrueOrFalse())
{
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
}
else
{
/* FIX: Properly initialize data */
data[0] = L'\0'; /* null terminate */
}
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', '/* FIX: Properly initialize data */', '/* null terminate */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109908/CWE665_Improper_Initialization__wchar_t_ncat_12.c | CWE665_Improper_Initialization__wchar_t_ncat_12_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_12_bad(void)
{
int iVar1;
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined4 auStack_1a8 [100];
undefined8 uStack_18;
undefined4 *puStack_10;
puStack_10 = auStack_1a8;
iVar1 = globalReturnsTrueOrFalse();
if (iVar1 == 0) {
*puStack_10 = 0;
}
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,736 | void CWE665_Improper_Initialization__wchar_t_ncat_12_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109908/CWE665_Improper_Initialization__wchar_t_ncat_12.c | CWE665_Improper_Initialization__wchar_t_ncat_12_good |
void CWE665_Improper_Initialization__wchar_t_ncat_12_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,737 | void CWE665_Improper_Initialization__wchar_t_ncat_13_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
if(GLOBAL_CONST_FIVE==5)
{
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
}
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109909/CWE665_Improper_Initialization__wchar_t_ncat_13.c | CWE665_Improper_Initialization__wchar_t_ncat_13_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_13_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,738 | void CWE665_Improper_Initialization__wchar_t_ncat_13_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109909/CWE665_Improper_Initialization__wchar_t_ncat_13.c | CWE665_Improper_Initialization__wchar_t_ncat_13_good |
void CWE665_Improper_Initialization__wchar_t_ncat_13_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
6,739 | void CWE665_Improper_Initialization__wchar_t_ncat_14_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
if(globalFive==5)
{
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
}
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109910/CWE665_Improper_Initialization__wchar_t_ncat_14.c | CWE665_Improper_Initialization__wchar_t_ncat_14_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_14_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,740 | void CWE665_Improper_Initialization__wchar_t_ncat_14_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109910/CWE665_Improper_Initialization__wchar_t_ncat_14.c | CWE665_Improper_Initialization__wchar_t_ncat_14_good |
void CWE665_Improper_Initialization__wchar_t_ncat_14_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
6,741 | void CWE665_Improper_Initialization__wchar_t_ncat_15_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
switch(6)
{
case 6:
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
break;
default:
/* INCIDENTAL: CWE 561 Dead Code, the code below will never run */
printLine("Benign, fixed string");
break;
}
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', '/* INCIDENTAL: CWE 561 Dead Code, the code below will never run */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109911/CWE665_Improper_Initialization__wchar_t_ncat_15.c | CWE665_Improper_Initialization__wchar_t_ncat_15_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_15_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,742 | void CWE665_Improper_Initialization__wchar_t_ncat_15_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109911/CWE665_Improper_Initialization__wchar_t_ncat_15.c | CWE665_Improper_Initialization__wchar_t_ncat_15_good |
void CWE665_Improper_Initialization__wchar_t_ncat_15_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
6,743 | void CWE665_Improper_Initialization__wchar_t_ncat_16_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
while(1)
{
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
break;
}
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109912/CWE665_Improper_Initialization__wchar_t_ncat_16.c | CWE665_Improper_Initialization__wchar_t_ncat_16_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_16_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,744 | void CWE665_Improper_Initialization__wchar_t_ncat_16_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109912/CWE665_Improper_Initialization__wchar_t_ncat_16.c | CWE665_Improper_Initialization__wchar_t_ncat_16_good |
void CWE665_Improper_Initialization__wchar_t_ncat_16_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,745 | void CWE665_Improper_Initialization__wchar_t_ncat_17_bad()
{
int i;
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
for(i = 0; i < 1; i++)
{
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
}
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109913/CWE665_Improper_Initialization__wchar_t_ncat_17.c | CWE665_Improper_Initialization__wchar_t_ncat_17_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_17_bad(void)
{
undefined auStack_348 [396];
undefined4 uStack_1bc;
undefined auStack_1b8 [408];
undefined8 uStack_20;
undefined *puStack_18;
int iStack_c;
puStack_18 = auStack_1b8;
for (iStack_c = 0; iStack_c < 1; iStack_c = iStack_c + 1) {
}
func_0x00400ab0(auStack_348,0x43,99);
uStack_1bc = 0;
uStack_20 = func_0x00400aa0(auStack_348);
func_0x00400a70(puStack_18,auStack_348,uStack_20);
printWLine(puStack_18);
return;
}
| ['gcc'] |
6,746 | void CWE665_Improper_Initialization__wchar_t_ncat_17_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109913/CWE665_Improper_Initialization__wchar_t_ncat_17.c | CWE665_Improper_Initialization__wchar_t_ncat_17_good |
void CWE665_Improper_Initialization__wchar_t_ncat_17_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,747 | void CWE665_Improper_Initialization__wchar_t_ncat_18_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
goto source;
source:
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109914/CWE665_Improper_Initialization__wchar_t_ncat_18.c | CWE665_Improper_Initialization__wchar_t_ncat_18_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_18_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,748 | void CWE665_Improper_Initialization__wchar_t_ncat_18_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109914/CWE665_Improper_Initialization__wchar_t_ncat_18.c | CWE665_Improper_Initialization__wchar_t_ncat_18_good |
void CWE665_Improper_Initialization__wchar_t_ncat_18_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,749 | void CWE665_Improper_Initialization__wchar_t_ncat_21_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
badStatic = 1; /* true */
data = badSource(data);
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* true */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109915/CWE665_Improper_Initialization__wchar_t_ncat_21.c | CWE665_Improper_Initialization__wchar_t_ncat_21_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_21_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
badStatic = 1;
puStack_10 = (undefined *)badSource(puStack_10);
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,750 | void CWE665_Improper_Initialization__wchar_t_ncat_21_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109915/CWE665_Improper_Initialization__wchar_t_ncat_21.c | CWE665_Improper_Initialization__wchar_t_ncat_21_good |
void CWE665_Improper_Initialization__wchar_t_ncat_21_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
6,751 | void CWE665_Improper_Initialization__wchar_t_ncat_22_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
CWE665_Improper_Initialization__wchar_t_ncat_22_badGlobal = 1; /* true */
data = CWE665_Improper_Initialization__wchar_t_ncat_22_badSource(data);
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ['/* true */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109916/CWE665_Improper_Initialization__wchar_t_ncat_22a.c | CWE665_Improper_Initialization__wchar_t_ncat_22_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_22_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
CWE665_Improper_Initialization__wchar_t_ncat_22_badGlobal = 1;
puStack_10 = (undefined *)CWE665_Improper_Initialization__wchar_t_ncat_22_badSource(puStack_10);
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,752 | void CWE665_Improper_Initialization__wchar_t_ncat_22_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109916/CWE665_Improper_Initialization__wchar_t_ncat_22a.c | CWE665_Improper_Initialization__wchar_t_ncat_22_good |
void CWE665_Improper_Initialization__wchar_t_ncat_22_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
6,753 | wchar_t * CWE665_Improper_Initialization__wchar_t_ncat_22_badSource(wchar_t * data)
{
if(CWE665_Improper_Initialization__wchar_t_ncat_22_badGlobal)
{
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
}
return data;
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109916/CWE665_Improper_Initialization__wchar_t_ncat_22b.c | CWE665_Improper_Initialization__wchar_t_ncat_22_badSource |
undefined8 CWE665_Improper_Initialization__wchar_t_ncat_22_badSource(undefined8 param_1)
{
return param_1;
}
| ['gcc'] |
6,754 | wchar_t * CWE665_Improper_Initialization__wchar_t_ncat_22_goodG2B1Source(wchar_t * data)
{
if(CWE665_Improper_Initialization__wchar_t_ncat_22_goodG2B1Global)
{
/* INCIDENTAL: CWE 561 Dead Code, the code below will never run */
printLine("Benign, fixed string");
}
else
{
/* FIX: Properly initialize data */
data[0] = L'\0'; /* null terminate */
}
return data;
} | ['/* INCIDENTAL: CWE 561 Dead Code, the code below will never run */', '/* FIX: Properly initialize data */', '/* null terminate */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109916/CWE665_Improper_Initialization__wchar_t_ncat_22b.c | CWE665_Improper_Initialization__wchar_t_ncat_22_goodG2B1Source |
undefined4 * CWE665_Improper_Initialization__wchar_t_ncat_22_goodG2B1Source(undefined4 *param_1)
{
if (CWE665_Improper_Initialization__wchar_t_ncat_22_goodG2B1Global == 0) {
*param_1 = 0;
}
else {
printLine(&UNK_00401334);
}
return param_1;
}
| ['gcc'] |
6,755 | wchar_t * CWE665_Improper_Initialization__wchar_t_ncat_22_goodG2B2Source(wchar_t * data)
{
if(CWE665_Improper_Initialization__wchar_t_ncat_22_goodG2B2Global)
{
/* FIX: Properly initialize data */
data[0] = L'\0'; /* null terminate */
}
return data;
} | ['/* FIX: Properly initialize data */', '/* null terminate */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109916/CWE665_Improper_Initialization__wchar_t_ncat_22b.c | CWE665_Improper_Initialization__wchar_t_ncat_22_goodG2B2Source |
undefined4 * CWE665_Improper_Initialization__wchar_t_ncat_22_goodG2B2Source(undefined4 *param_1)
{
if (CWE665_Improper_Initialization__wchar_t_ncat_22_goodG2B2Global != 0) {
*param_1 = 0;
}
return param_1;
}
| ['gcc'] |
6,756 | void CWE665_Improper_Initialization__wchar_t_ncat_31_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
{
wchar_t * dataCopy = data;
wchar_t * data = dataCopy;
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109917/CWE665_Improper_Initialization__wchar_t_ncat_31.c | CWE665_Improper_Initialization__wchar_t_ncat_31_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_31_bad(void)
{
undefined auStack_348 [396];
undefined4 uStack_1bc;
undefined auStack_1b8 [400];
undefined8 uStack_28;
undefined *puStack_20;
undefined *puStack_18;
undefined *puStack_10;
puStack_20 = auStack_1b8;
puStack_18 = puStack_20;
puStack_10 = puStack_20;
func_0x00400ab0(auStack_348,0x43,99);
uStack_1bc = 0;
uStack_28 = func_0x00400aa0(auStack_348);
func_0x00400a70(puStack_20,auStack_348,uStack_28);
printWLine(puStack_20);
return;
}
| ['gcc'] |
6,757 | void CWE665_Improper_Initialization__wchar_t_ncat_31_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109917/CWE665_Improper_Initialization__wchar_t_ncat_31.c | CWE665_Improper_Initialization__wchar_t_ncat_31_good |
void CWE665_Improper_Initialization__wchar_t_ncat_31_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,758 | void CWE665_Improper_Initialization__wchar_t_ncat_32_bad()
{
wchar_t * data;
wchar_t * *dataPtr1 = &data;
wchar_t * *dataPtr2 = &data;
wchar_t dataBuffer[100];
data = dataBuffer;
{
wchar_t * data = *dataPtr1;
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
*dataPtr1 = data;
}
{
wchar_t * data = *dataPtr2;
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109918/CWE665_Improper_Initialization__wchar_t_ncat_32.c | CWE665_Improper_Initialization__wchar_t_ncat_32_bad |
/* WARNING: Heritage AFTER dead removal. Example location: s0xffffffffffffffc8 : 0x00400c62 */
/* WARNING: Restarted to delay deadcode elimination for space: stack */
void CWE665_Improper_Initialization__wchar_t_ncat_32_bad(void)
{
undefined auStack_358 [396];
undefined4 uStack_1cc;
undefined auStack_1c8 [400];
undefined *puStack_38;
undefined8 uStack_30;
undefined *puStack_28;
undefined *puStack_20;
undefined **ppuStack_18;
undefined **ppuStack_10;
ppuStack_10 = &puStack_38;
ppuStack_18 = &puStack_38;
puStack_38 = auStack_1c8;
puStack_28 = puStack_38;
puStack_20 = puStack_38;
func_0x00400ab0(auStack_358,0x43,99);
uStack_1cc = 0;
uStack_30 = func_0x00400aa0(auStack_358);
func_0x00400a70(puStack_28,auStack_358,uStack_30);
printWLine(puStack_28);
return;
}
| ['gcc'] |
6,759 | void CWE665_Improper_Initialization__wchar_t_ncat_32_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109918/CWE665_Improper_Initialization__wchar_t_ncat_32.c | CWE665_Improper_Initialization__wchar_t_ncat_32_good |
void CWE665_Improper_Initialization__wchar_t_ncat_32_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,760 | void CWE665_Improper_Initialization__wchar_t_ncat_34_bad()
{
wchar_t * data;
CWE665_Improper_Initialization__wchar_t_ncat_34_unionType myUnion;
wchar_t dataBuffer[100];
data = dataBuffer;
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
myUnion.unionFirst = data;
{
wchar_t * data = myUnion.unionSecond;
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
}
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', "/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109920/CWE665_Improper_Initialization__wchar_t_ncat_34.c | CWE665_Improper_Initialization__wchar_t_ncat_34_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_34_bad(void)
{
undefined auStack_348 [396];
undefined4 uStack_1bc;
undefined auStack_1b8 [400];
undefined *puStack_28;
undefined8 uStack_20;
undefined *puStack_18;
undefined *puStack_10;
puStack_28 = auStack_1b8;
puStack_18 = puStack_28;
puStack_10 = puStack_28;
func_0x00400ab0(auStack_348,0x43,99);
uStack_1bc = 0;
uStack_20 = func_0x00400aa0(auStack_348);
func_0x00400a70(puStack_18,auStack_348,uStack_20);
printWLine(puStack_18);
return;
}
| ['gcc'] |
6,761 | void CWE665_Improper_Initialization__wchar_t_ncat_34_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109920/CWE665_Improper_Initialization__wchar_t_ncat_34.c | CWE665_Improper_Initialization__wchar_t_ncat_34_good |
void CWE665_Improper_Initialization__wchar_t_ncat_34_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,762 | void CWE665_Improper_Initialization__wchar_t_ncat_41_badSink(wchar_t * data)
{
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ["/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109921/CWE665_Improper_Initialization__wchar_t_ncat_41.c | CWE665_Improper_Initialization__wchar_t_ncat_41_badSink |
void CWE665_Improper_Initialization__wchar_t_ncat_41_badSink(undefined8 param_1)
{
undefined auStack_1a8 [396];
undefined4 uStack_1c;
undefined8 uStack_10;
func_0x00400ab0(auStack_1a8,0x43,99);
uStack_1c = 0;
uStack_10 = func_0x00400aa0(auStack_1a8);
func_0x00400a70(param_1,auStack_1a8,uStack_10);
printWLine(param_1);
return;
}
| ['gcc'] |
6,763 | void CWE665_Improper_Initialization__wchar_t_ncat_41_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
CWE665_Improper_Initialization__wchar_t_ncat_41_badSink(data);
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109921/CWE665_Improper_Initialization__wchar_t_ncat_41.c | CWE665_Improper_Initialization__wchar_t_ncat_41_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_41_bad(void)
{
undefined auStack_1a8 [408];
undefined *puStack_10;
puStack_10 = auStack_1a8;
CWE665_Improper_Initialization__wchar_t_ncat_41_badSink(puStack_10);
return;
}
| ['gcc'] |
6,764 | void CWE665_Improper_Initialization__wchar_t_ncat_41_goodG2BSink(wchar_t * data)
{
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ["/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109921/CWE665_Improper_Initialization__wchar_t_ncat_41.c | CWE665_Improper_Initialization__wchar_t_ncat_41_goodG2BSink |
void CWE665_Improper_Initialization__wchar_t_ncat_41_goodG2BSink(undefined8 param_1)
{
undefined auStack_1a8 [396];
undefined4 uStack_1c;
undefined8 uStack_10;
func_0x00400ab0(auStack_1a8,0x43,99);
uStack_1c = 0;
uStack_10 = func_0x00400aa0(auStack_1a8);
func_0x00400a70(param_1,auStack_1a8,uStack_10);
printWLine(param_1);
return;
}
| ['gcc'] |
6,765 | void CWE665_Improper_Initialization__wchar_t_ncat_41_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109921/CWE665_Improper_Initialization__wchar_t_ncat_41.c | CWE665_Improper_Initialization__wchar_t_ncat_41_good |
void CWE665_Improper_Initialization__wchar_t_ncat_41_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,766 | void CWE665_Improper_Initialization__wchar_t_ncat_42_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
data = badSource(data);
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ["/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109922/CWE665_Improper_Initialization__wchar_t_ncat_42.c | CWE665_Improper_Initialization__wchar_t_ncat_42_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_42_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
puStack_10 = (undefined *)badSource(puStack_10);
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
6,767 | void CWE665_Improper_Initialization__wchar_t_ncat_42_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109922/CWE665_Improper_Initialization__wchar_t_ncat_42.c | CWE665_Improper_Initialization__wchar_t_ncat_42_good |
void CWE665_Improper_Initialization__wchar_t_ncat_42_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,768 | void CWE665_Improper_Initialization__wchar_t_ncat_44_bad()
{
wchar_t * data;
/* define a function pointer */
void (*funcPtr) (wchar_t *) = badSink;
wchar_t dataBuffer[100];
data = dataBuffer;
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
/* use the function pointer */
funcPtr(data);
} | ['/* define a function pointer */', '/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */', '/* use the function pointer */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109924/CWE665_Improper_Initialization__wchar_t_ncat_44.c | CWE665_Improper_Initialization__wchar_t_ncat_44_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_44_bad(void)
{
undefined auStack_1a8 [400];
undefined *puStack_18;
code *pcStack_10;
pcStack_10 = badSink;
puStack_18 = auStack_1a8;
badSink(puStack_18);
return;
}
| ['gcc'] |
6,769 | void CWE665_Improper_Initialization__wchar_t_ncat_44_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109924/CWE665_Improper_Initialization__wchar_t_ncat_44.c | CWE665_Improper_Initialization__wchar_t_ncat_44_good |
void CWE665_Improper_Initialization__wchar_t_ncat_44_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,770 | void CWE665_Improper_Initialization__wchar_t_ncat_45_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
CWE665_Improper_Initialization__wchar_t_ncat_45_badData = data;
badSink();
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109925/CWE665_Improper_Initialization__wchar_t_ncat_45.c | CWE665_Improper_Initialization__wchar_t_ncat_45_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_45_bad(void)
{
undefined auStack_1a8 [408];
undefined *puStack_10;
CWE665_Improper_Initialization__wchar_t_ncat_45_badData = auStack_1a8;
puStack_10 = CWE665_Improper_Initialization__wchar_t_ncat_45_badData;
badSink();
return;
}
| ['gcc'] |
6,771 | void CWE665_Improper_Initialization__wchar_t_ncat_45_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109925/CWE665_Improper_Initialization__wchar_t_ncat_45.c | CWE665_Improper_Initialization__wchar_t_ncat_45_good |
void CWE665_Improper_Initialization__wchar_t_ncat_45_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,772 | void CWE665_Improper_Initialization__wchar_t_ncat_51_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
CWE665_Improper_Initialization__wchar_t_ncat_51b_badSink(data);
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109926/CWE665_Improper_Initialization__wchar_t_ncat_51a.c | CWE665_Improper_Initialization__wchar_t_ncat_51_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_51_bad(void)
{
undefined auStack_1a8 [408];
undefined *puStack_10;
puStack_10 = auStack_1a8;
CWE665_Improper_Initialization__wchar_t_ncat_51b_badSink(puStack_10);
return;
}
| ['gcc'] |
6,773 | void CWE665_Improper_Initialization__wchar_t_ncat_51_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109926/CWE665_Improper_Initialization__wchar_t_ncat_51a.c | CWE665_Improper_Initialization__wchar_t_ncat_51_good |
void CWE665_Improper_Initialization__wchar_t_ncat_51_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,774 | void CWE665_Improper_Initialization__wchar_t_ncat_51b_badSink(wchar_t * data)
{
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ["/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109926/CWE665_Improper_Initialization__wchar_t_ncat_51b.c | CWE665_Improper_Initialization__wchar_t_ncat_51b_badSink |
void CWE665_Improper_Initialization__wchar_t_ncat_51b_badSink(undefined8 param_1)
{
undefined auStack_1a8 [396];
undefined4 uStack_1c;
undefined8 uStack_10;
func_0x00400ab0(auStack_1a8,0x43,99);
uStack_1c = 0;
uStack_10 = func_0x00400aa0(auStack_1a8);
func_0x00400a70(param_1,auStack_1a8,uStack_10);
printWLine(param_1);
return;
}
| ['gcc'] |
6,775 | void CWE665_Improper_Initialization__wchar_t_ncat_51b_goodG2BSink(wchar_t * data)
{
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ["/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109926/CWE665_Improper_Initialization__wchar_t_ncat_51b.c | CWE665_Improper_Initialization__wchar_t_ncat_51b_goodG2BSink |
void CWE665_Improper_Initialization__wchar_t_ncat_51b_goodG2BSink(undefined8 param_1)
{
undefined auStack_1a8 [396];
undefined4 uStack_1c;
undefined8 uStack_10;
func_0x00400ab0(auStack_1a8,0x43,99);
uStack_1c = 0;
uStack_10 = func_0x00400aa0(auStack_1a8);
func_0x00400a70(param_1,auStack_1a8,uStack_10);
printWLine(param_1);
return;
}
| ['gcc'] |
6,776 | void CWE665_Improper_Initialization__wchar_t_ncat_52_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
CWE665_Improper_Initialization__wchar_t_ncat_52b_badSink(data);
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109927/CWE665_Improper_Initialization__wchar_t_ncat_52a.c | CWE665_Improper_Initialization__wchar_t_ncat_52_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_52_bad(void)
{
undefined auStack_1a8 [408];
undefined *puStack_10;
puStack_10 = auStack_1a8;
CWE665_Improper_Initialization__wchar_t_ncat_52b_badSink(puStack_10);
return;
}
| ['gcc'] |
6,777 | void CWE665_Improper_Initialization__wchar_t_ncat_52_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109927/CWE665_Improper_Initialization__wchar_t_ncat_52a.c | CWE665_Improper_Initialization__wchar_t_ncat_52_good |
void CWE665_Improper_Initialization__wchar_t_ncat_52_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,778 | void CWE665_Improper_Initialization__wchar_t_ncat_52b_badSink(wchar_t * data)
{
CWE665_Improper_Initialization__wchar_t_ncat_52c_badSink(data);
} | [] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109927/CWE665_Improper_Initialization__wchar_t_ncat_52b.c | CWE665_Improper_Initialization__wchar_t_ncat_52b_badSink |
void CWE665_Improper_Initialization__wchar_t_ncat_52b_badSink(undefined8 param_1)
{
CWE665_Improper_Initialization__wchar_t_ncat_52c_badSink(param_1);
return;
}
| ['gcc'] |
6,779 | void CWE665_Improper_Initialization__wchar_t_ncat_52b_goodG2BSink(wchar_t * data)
{
CWE665_Improper_Initialization__wchar_t_ncat_52c_goodG2BSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109927/CWE665_Improper_Initialization__wchar_t_ncat_52b.c | CWE665_Improper_Initialization__wchar_t_ncat_52b_goodG2BSink |
void CWE665_Improper_Initialization__wchar_t_ncat_52b_goodG2BSink(undefined8 param_1)
{
CWE665_Improper_Initialization__wchar_t_ncat_52c_goodG2BSink(param_1);
return;
}
| ['gcc'] |
6,780 | void CWE665_Improper_Initialization__wchar_t_ncat_52c_badSink(wchar_t * data)
{
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ["/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109927/CWE665_Improper_Initialization__wchar_t_ncat_52c.c | CWE665_Improper_Initialization__wchar_t_ncat_52c_badSink |
void CWE665_Improper_Initialization__wchar_t_ncat_52c_badSink(undefined8 param_1)
{
undefined auStack_1a8 [396];
undefined4 uStack_1c;
undefined8 uStack_10;
func_0x00400ab0(auStack_1a8,0x43,99);
uStack_1c = 0;
uStack_10 = func_0x00400aa0(auStack_1a8);
func_0x00400a70(param_1,auStack_1a8,uStack_10);
printWLine(param_1);
return;
}
| ['gcc'] |
6,781 | void CWE665_Improper_Initialization__wchar_t_ncat_52c_goodG2BSink(wchar_t * data)
{
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ["/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109927/CWE665_Improper_Initialization__wchar_t_ncat_52c.c | CWE665_Improper_Initialization__wchar_t_ncat_52c_goodG2BSink |
void CWE665_Improper_Initialization__wchar_t_ncat_52c_goodG2BSink(undefined8 param_1)
{
undefined auStack_1a8 [396];
undefined4 uStack_1c;
undefined8 uStack_10;
func_0x00400ab0(auStack_1a8,0x43,99);
uStack_1c = 0;
uStack_10 = func_0x00400aa0(auStack_1a8);
func_0x00400a70(param_1,auStack_1a8,uStack_10);
printWLine(param_1);
return;
}
| ['gcc'] |
6,782 | void CWE665_Improper_Initialization__wchar_t_ncat_53_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
CWE665_Improper_Initialization__wchar_t_ncat_53b_badSink(data);
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109928/CWE665_Improper_Initialization__wchar_t_ncat_53a.c | CWE665_Improper_Initialization__wchar_t_ncat_53_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_53_bad(void)
{
undefined auStack_1a8 [408];
undefined *puStack_10;
puStack_10 = auStack_1a8;
CWE665_Improper_Initialization__wchar_t_ncat_53b_badSink(puStack_10);
return;
}
| ['gcc'] |
6,783 | void CWE665_Improper_Initialization__wchar_t_ncat_53_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109928/CWE665_Improper_Initialization__wchar_t_ncat_53a.c | CWE665_Improper_Initialization__wchar_t_ncat_53_good |
void CWE665_Improper_Initialization__wchar_t_ncat_53_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,784 | void CWE665_Improper_Initialization__wchar_t_ncat_53b_badSink(wchar_t * data)
{
CWE665_Improper_Initialization__wchar_t_ncat_53c_badSink(data);
} | [] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109928/CWE665_Improper_Initialization__wchar_t_ncat_53b.c | CWE665_Improper_Initialization__wchar_t_ncat_53b_badSink |
void CWE665_Improper_Initialization__wchar_t_ncat_53b_badSink(undefined8 param_1)
{
CWE665_Improper_Initialization__wchar_t_ncat_53c_badSink(param_1);
return;
}
| ['gcc'] |
6,785 | void CWE665_Improper_Initialization__wchar_t_ncat_53b_goodG2BSink(wchar_t * data)
{
CWE665_Improper_Initialization__wchar_t_ncat_53c_goodG2BSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109928/CWE665_Improper_Initialization__wchar_t_ncat_53b.c | CWE665_Improper_Initialization__wchar_t_ncat_53b_goodG2BSink |
void CWE665_Improper_Initialization__wchar_t_ncat_53b_goodG2BSink(undefined8 param_1)
{
CWE665_Improper_Initialization__wchar_t_ncat_53c_goodG2BSink(param_1);
return;
}
| ['gcc'] |
6,786 | void CWE665_Improper_Initialization__wchar_t_ncat_53c_badSink(wchar_t * data)
{
CWE665_Improper_Initialization__wchar_t_ncat_53d_badSink(data);
} | [] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109928/CWE665_Improper_Initialization__wchar_t_ncat_53c.c | CWE665_Improper_Initialization__wchar_t_ncat_53c_badSink |
void CWE665_Improper_Initialization__wchar_t_ncat_53c_badSink(undefined8 param_1)
{
CWE665_Improper_Initialization__wchar_t_ncat_53d_badSink(param_1);
return;
}
| ['gcc'] |
6,787 | void CWE665_Improper_Initialization__wchar_t_ncat_53c_goodG2BSink(wchar_t * data)
{
CWE665_Improper_Initialization__wchar_t_ncat_53d_goodG2BSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109928/CWE665_Improper_Initialization__wchar_t_ncat_53c.c | CWE665_Improper_Initialization__wchar_t_ncat_53c_goodG2BSink |
void CWE665_Improper_Initialization__wchar_t_ncat_53c_goodG2BSink(undefined8 param_1)
{
CWE665_Improper_Initialization__wchar_t_ncat_53d_goodG2BSink(param_1);
return;
}
| ['gcc'] |
6,788 | void CWE665_Improper_Initialization__wchar_t_ncat_53d_goodG2BSink(wchar_t * data)
{
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ["/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109928/CWE665_Improper_Initialization__wchar_t_ncat_53d.c | CWE665_Improper_Initialization__wchar_t_ncat_53d_goodG2BSink |
void CWE665_Improper_Initialization__wchar_t_ncat_53d_goodG2BSink(undefined8 param_1)
{
undefined auStack_1a8 [396];
undefined4 uStack_1c;
undefined8 uStack_10;
func_0x00400ab0(auStack_1a8,0x43,99);
uStack_1c = 0;
uStack_10 = func_0x00400aa0(auStack_1a8);
func_0x00400a70(param_1,auStack_1a8,uStack_10);
printWLine(param_1);
return;
}
| ['gcc'] |
6,789 | void CWE665_Improper_Initialization__wchar_t_ncat_54_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
/* FLAW: Do not initialize data */
; /* empty statement needed for some flow variants */
CWE665_Improper_Initialization__wchar_t_ncat_54b_badSink(data);
} | ['/* FLAW: Do not initialize data */', '/* empty statement needed for some flow variants */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109929/CWE665_Improper_Initialization__wchar_t_ncat_54a.c | CWE665_Improper_Initialization__wchar_t_ncat_54_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_54_bad(void)
{
undefined auStack_1a8 [408];
undefined *puStack_10;
puStack_10 = auStack_1a8;
CWE665_Improper_Initialization__wchar_t_ncat_54b_badSink(puStack_10);
return;
}
| ['gcc'] |
6,790 | void CWE665_Improper_Initialization__wchar_t_ncat_54_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109929/CWE665_Improper_Initialization__wchar_t_ncat_54a.c | CWE665_Improper_Initialization__wchar_t_ncat_54_good |
void CWE665_Improper_Initialization__wchar_t_ncat_54_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
6,791 | void CWE665_Improper_Initialization__wchar_t_ncat_54b_badSink(wchar_t * data)
{
CWE665_Improper_Initialization__wchar_t_ncat_54c_badSink(data);
} | [] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109929/CWE665_Improper_Initialization__wchar_t_ncat_54b.c | CWE665_Improper_Initialization__wchar_t_ncat_54b_badSink |
void CWE665_Improper_Initialization__wchar_t_ncat_54b_badSink(undefined8 param_1)
{
CWE665_Improper_Initialization__wchar_t_ncat_54c_badSink(param_1);
return;
}
| ['gcc'] |
6,792 | void CWE665_Improper_Initialization__wchar_t_ncat_54b_goodG2BSink(wchar_t * data)
{
CWE665_Improper_Initialization__wchar_t_ncat_54c_goodG2BSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109929/CWE665_Improper_Initialization__wchar_t_ncat_54b.c | CWE665_Improper_Initialization__wchar_t_ncat_54b_goodG2BSink |
void CWE665_Improper_Initialization__wchar_t_ncat_54b_goodG2BSink(undefined8 param_1)
{
CWE665_Improper_Initialization__wchar_t_ncat_54c_goodG2BSink(param_1);
return;
}
| ['gcc'] |
6,793 | void CWE665_Improper_Initialization__wchar_t_ncat_54c_badSink(wchar_t * data)
{
CWE665_Improper_Initialization__wchar_t_ncat_54d_badSink(data);
} | [] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109929/CWE665_Improper_Initialization__wchar_t_ncat_54c.c | CWE665_Improper_Initialization__wchar_t_ncat_54c_badSink |
void CWE665_Improper_Initialization__wchar_t_ncat_54c_badSink(undefined8 param_1)
{
CWE665_Improper_Initialization__wchar_t_ncat_54d_badSink(param_1);
return;
}
| ['gcc'] |
6,794 | void CWE665_Improper_Initialization__wchar_t_ncat_54c_goodG2BSink(wchar_t * data)
{
CWE665_Improper_Initialization__wchar_t_ncat_54d_goodG2BSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109929/CWE665_Improper_Initialization__wchar_t_ncat_54c.c | CWE665_Improper_Initialization__wchar_t_ncat_54c_goodG2BSink |
void CWE665_Improper_Initialization__wchar_t_ncat_54c_goodG2BSink(undefined8 param_1)
{
CWE665_Improper_Initialization__wchar_t_ncat_54d_goodG2BSink(param_1);
return;
}
| ['gcc'] |
6,795 | void CWE665_Improper_Initialization__wchar_t_ncat_54d_badSink(wchar_t * data)
{
CWE665_Improper_Initialization__wchar_t_ncat_54e_badSink(data);
} | [] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109929/CWE665_Improper_Initialization__wchar_t_ncat_54d.c | CWE665_Improper_Initialization__wchar_t_ncat_54d_badSink |
void CWE665_Improper_Initialization__wchar_t_ncat_54d_badSink(undefined8 param_1)
{
CWE665_Improper_Initialization__wchar_t_ncat_54e_badSink(param_1);
return;
}
| ['gcc'] |
6,796 | void CWE665_Improper_Initialization__wchar_t_ncat_54d_goodG2BSink(wchar_t * data)
{
CWE665_Improper_Initialization__wchar_t_ncat_54e_goodG2BSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109929/CWE665_Improper_Initialization__wchar_t_ncat_54d.c | CWE665_Improper_Initialization__wchar_t_ncat_54d_goodG2BSink |
void CWE665_Improper_Initialization__wchar_t_ncat_54d_goodG2BSink(undefined8 param_1)
{
CWE665_Improper_Initialization__wchar_t_ncat_54e_goodG2BSink(param_1);
return;
}
| ['gcc'] |
6,797 | void CWE665_Improper_Initialization__wchar_t_ncat_54e_badSink(wchar_t * data)
{
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ["/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109929/CWE665_Improper_Initialization__wchar_t_ncat_54e.c | CWE665_Improper_Initialization__wchar_t_ncat_54e_badSink |
void CWE665_Improper_Initialization__wchar_t_ncat_54e_badSink(undefined8 param_1)
{
undefined auStack_1a8 [396];
undefined4 uStack_1c;
undefined8 uStack_10;
func_0x00400ab0(auStack_1a8,0x43,99);
uStack_1c = 0;
uStack_10 = func_0x00400aa0(auStack_1a8);
func_0x00400a70(param_1,auStack_1a8,uStack_10);
printWLine(param_1);
return;
}
| ['gcc'] |
6,798 | void CWE665_Improper_Initialization__wchar_t_ncat_54e_goodG2BSink(wchar_t * data)
{
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ["/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109929/CWE665_Improper_Initialization__wchar_t_ncat_54e.c | CWE665_Improper_Initialization__wchar_t_ncat_54e_goodG2BSink |
void CWE665_Improper_Initialization__wchar_t_ncat_54e_goodG2BSink(undefined8 param_1)
{
undefined auStack_1a8 [396];
undefined4 uStack_1c;
undefined8 uStack_10;
func_0x00400ab0(auStack_1a8,0x43,99);
uStack_1c = 0;
uStack_10 = func_0x00400aa0(auStack_1a8);
func_0x00400a70(param_1,auStack_1a8,uStack_10);
printWLine(param_1);
return;
}
| ['gcc'] |
6,799 | void CWE665_Improper_Initialization__wchar_t_ncat_61_bad()
{
wchar_t * data;
wchar_t dataBuffer[100];
data = dataBuffer;
data = CWE665_Improper_Initialization__wchar_t_ncat_61b_badSource(data);
{
size_t sourceLen;
wchar_t source[100];
wmemset(source, L'C', 100-1); /* fill with L'C's */
source[100-1] = L'\0'; /* null terminate */
sourceLen = wcslen(source);
/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */
wcsncat(data, source, sourceLen);
printWLine(data);
}
} | ["/* fill with L'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, wcsncat() may not function correctly */'] | ['CWE665'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109930/CWE665_Improper_Initialization__wchar_t_ncat_61a.c | CWE665_Improper_Initialization__wchar_t_ncat_61_bad |
void CWE665_Improper_Initialization__wchar_t_ncat_61_bad(void)
{
undefined auStack_338 [396];
undefined4 uStack_1ac;
undefined auStack_1a8 [400];
undefined8 uStack_18;
undefined *puStack_10;
puStack_10 = auStack_1a8;
puStack_10 = (undefined *)CWE665_Improper_Initialization__wchar_t_ncat_61b_badSource(puStack_10);
func_0x00400ab0(auStack_338,0x43,99);
uStack_1ac = 0;
uStack_18 = func_0x00400aa0(auStack_338);
func_0x00400a70(puStack_10,auStack_338,uStack_18);
printWLine(puStack_10);
return;
}
| ['gcc'] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.