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,600
void CWE665_Improper_Initialization__char_ncat_41_goodG2BSink(char * data) { { size_t sourceLen; char source[100]; memset(source, 'C', 100-1); /* fill with 'C's */ source[100-1] = '\0'; /* null terminate */ sourceLen = strlen(source); /* POTENTIAL FLAW: If data is not initialized properly, strncat() may not function correctly */ strncat(data, source, sourceLen); printLine(data); } }
["/* fill with 'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, strncat() may not function correctly */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109824/CWE665_Improper_Initialization__char_ncat_41.c
CWE665_Improper_Initialization__char_ncat_41_goodG2BSink
void CWE665_Improper_Initialization__char_ncat_41_goodG2BSink(undefined8 param_1) { undefined auStack_78 [99]; undefined uStack_15; undefined8 uStack_10; func_0x00400aa0(auStack_78,0x43,99); uStack_15 = 0; uStack_10 = func_0x00400a80(auStack_78); func_0x00400ab0(param_1,auStack_78,uStack_10); printLine(param_1); return; }
['gcc']
6,601
void CWE665_Improper_Initialization__char_ncat_41_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109824/CWE665_Improper_Initialization__char_ncat_41.c
CWE665_Improper_Initialization__char_ncat_41_good
void CWE665_Improper_Initialization__char_ncat_41_good(void) { goodG2B(); return; }
['gcc']
6,602
void CWE665_Improper_Initialization__char_ncat_42_bad() { char * data; char dataBuffer[100]; data = dataBuffer; data = badSource(data); { size_t sourceLen; char source[100]; memset(source, 'C', 100-1); /* fill with 'C's */ source[100-1] = '\0'; /* null terminate */ sourceLen = strlen(source); /* POTENTIAL FLAW: If data is not initialized properly, strncat() may not function correctly */ strncat(data, source, sourceLen); printLine(data); } }
["/* fill with 'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, strncat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109825/CWE665_Improper_Initialization__char_ncat_42.c
CWE665_Improper_Initialization__char_ncat_42_bad
void CWE665_Improper_Initialization__char_ncat_42_bad(void) { undefined auStack_f8 [99]; undefined uStack_95; undefined auStack_88 [112]; undefined8 uStack_18; undefined *puStack_10; puStack_10 = auStack_88; puStack_10 = (undefined *)badSource(puStack_10); func_0x00400aa0(auStack_f8,0x43,99); uStack_95 = 0; uStack_18 = func_0x00400a80(auStack_f8); func_0x00400ab0(puStack_10,auStack_f8,uStack_18); printLine(puStack_10); return; }
['gcc']
6,603
void CWE665_Improper_Initialization__char_ncat_42_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109825/CWE665_Improper_Initialization__char_ncat_42.c
CWE665_Improper_Initialization__char_ncat_42_good
void CWE665_Improper_Initialization__char_ncat_42_good(void) { goodG2B(); return; }
['gcc']
6,604
void CWE665_Improper_Initialization__char_ncat_44_bad() { char * data; /* define a function pointer */ void (*funcPtr) (char *) = badSink; char 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/109827/CWE665_Improper_Initialization__char_ncat_44.c
CWE665_Improper_Initialization__char_ncat_44_bad
void CWE665_Improper_Initialization__char_ncat_44_bad(void) { undefined auStack_88 [112]; undefined *puStack_18; code *pcStack_10; pcStack_10 = badSink; puStack_18 = auStack_88; badSink(puStack_18); return; }
['gcc']
6,605
void CWE665_Improper_Initialization__char_ncat_44_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109827/CWE665_Improper_Initialization__char_ncat_44.c
CWE665_Improper_Initialization__char_ncat_44_good
void CWE665_Improper_Initialization__char_ncat_44_good(void) { goodG2B(); return; }
['gcc']
6,606
void CWE665_Improper_Initialization__char_ncat_45_bad() { char * data; char dataBuffer[100]; data = dataBuffer; /* FLAW: Do not initialize data */ ; /* empty statement needed for some flow variants */ CWE665_Improper_Initialization__char_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/109828/CWE665_Improper_Initialization__char_ncat_45.c
CWE665_Improper_Initialization__char_ncat_45_bad
void CWE665_Improper_Initialization__char_ncat_45_bad(void) { undefined auStack_78 [104]; undefined *puStack_10; CWE665_Improper_Initialization__char_ncat_45_badData = auStack_78; puStack_10 = CWE665_Improper_Initialization__char_ncat_45_badData; badSink(); return; }
['gcc']
6,607
void CWE665_Improper_Initialization__char_ncat_45_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109828/CWE665_Improper_Initialization__char_ncat_45.c
CWE665_Improper_Initialization__char_ncat_45_good
void CWE665_Improper_Initialization__char_ncat_45_good(void) { goodG2B(); return; }
['gcc']
6,608
void CWE665_Improper_Initialization__char_ncat_51_bad() { char * data; char dataBuffer[100]; data = dataBuffer; /* FLAW: Do not initialize data */ ; /* empty statement needed for some flow variants */ CWE665_Improper_Initialization__char_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/109829/CWE665_Improper_Initialization__char_ncat_51a.c
CWE665_Improper_Initialization__char_ncat_51_bad
void CWE665_Improper_Initialization__char_ncat_51_bad(void) { undefined auStack_78 [104]; undefined *puStack_10; puStack_10 = auStack_78; CWE665_Improper_Initialization__char_ncat_51b_badSink(puStack_10); return; }
['gcc']
6,609
void CWE665_Improper_Initialization__char_ncat_51_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109829/CWE665_Improper_Initialization__char_ncat_51a.c
CWE665_Improper_Initialization__char_ncat_51_good
void CWE665_Improper_Initialization__char_ncat_51_good(void) { goodG2B(); return; }
['gcc']
6,610
void CWE665_Improper_Initialization__char_ncat_51b_badSink(char * data) { { size_t sourceLen; char source[100]; memset(source, 'C', 100-1); /* fill with 'C's */ source[100-1] = '\0'; /* null terminate */ sourceLen = strlen(source); /* POTENTIAL FLAW: If data is not initialized properly, strncat() may not function correctly */ strncat(data, source, sourceLen); printLine(data); } }
["/* fill with 'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, strncat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109829/CWE665_Improper_Initialization__char_ncat_51b.c
CWE665_Improper_Initialization__char_ncat_51b_badSink
void CWE665_Improper_Initialization__char_ncat_51b_badSink(undefined8 param_1) { undefined auStack_78 [99]; undefined uStack_15; undefined8 uStack_10; func_0x00400aa0(auStack_78,0x43,99); uStack_15 = 0; uStack_10 = func_0x00400a80(auStack_78); func_0x00400ab0(param_1,auStack_78,uStack_10); printLine(param_1); return; }
['gcc']
6,611
void CWE665_Improper_Initialization__char_ncat_51b_goodG2BSink(char * data) { { size_t sourceLen; char source[100]; memset(source, 'C', 100-1); /* fill with 'C's */ source[100-1] = '\0'; /* null terminate */ sourceLen = strlen(source); /* POTENTIAL FLAW: If data is not initialized properly, strncat() may not function correctly */ strncat(data, source, sourceLen); printLine(data); } }
["/* fill with 'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, strncat() may not function correctly */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109829/CWE665_Improper_Initialization__char_ncat_51b.c
CWE665_Improper_Initialization__char_ncat_51b_goodG2BSink
void CWE665_Improper_Initialization__char_ncat_51b_goodG2BSink(undefined8 param_1) { undefined auStack_78 [99]; undefined uStack_15; undefined8 uStack_10; func_0x00400aa0(auStack_78,0x43,99); uStack_15 = 0; uStack_10 = func_0x00400a80(auStack_78); func_0x00400ab0(param_1,auStack_78,uStack_10); printLine(param_1); return; }
['gcc']
6,612
void CWE665_Improper_Initialization__char_ncat_68_bad() { char * data; char dataBuffer[100]; data = dataBuffer; /* FLAW: Do not initialize data */ ; /* empty statement needed for some flow variants */ CWE665_Improper_Initialization__char_ncat_68_badData = data; CWE665_Improper_Initialization__char_ncat_68b_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/109840/CWE665_Improper_Initialization__char_ncat_68a.c
CWE665_Improper_Initialization__char_ncat_68_bad
void CWE665_Improper_Initialization__char_ncat_68_bad(void) { undefined auStack_78 [104]; undefined *puStack_10; CWE665_Improper_Initialization__char_ncat_68_badData = auStack_78; puStack_10 = CWE665_Improper_Initialization__char_ncat_68_badData; CWE665_Improper_Initialization__char_ncat_68b_badSink(); return; }
['gcc']
6,613
void CWE665_Improper_Initialization__char_ncat_68_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109840/CWE665_Improper_Initialization__char_ncat_68a.c
CWE665_Improper_Initialization__char_ncat_68_good
void CWE665_Improper_Initialization__char_ncat_68_good(void) { goodG2B(); return; }
['gcc']
6,614
void CWE665_Improper_Initialization__char_ncat_68b_badSink() { char * data = CWE665_Improper_Initialization__char_ncat_68_badData; { size_t sourceLen; char source[100]; memset(source, 'C', 100-1); /* fill with 'C's */ source[100-1] = '\0'; /* null terminate */ sourceLen = strlen(source); /* POTENTIAL FLAW: If data is not initialized properly, strncat() may not function correctly */ strncat(data, source, sourceLen); printLine(data); } }
["/* fill with 'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, strncat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109840/CWE665_Improper_Initialization__char_ncat_68b.c
CWE665_Improper_Initialization__char_ncat_68b_badSink
void CWE665_Improper_Initialization__char_ncat_68b_badSink(void) { undefined auStack_88 [99]; undefined uStack_25; undefined8 uStack_18; undefined8 uStack_10; uStack_10 = CWE665_Improper_Initialization__char_ncat_68_badData; func_0x00400aa0(auStack_88,0x43,99); uStack_25 = 0; uStack_18 = func_0x00400a80(auStack_88); func_0x00400ab0(uStack_10,auStack_88,uStack_18); printLine(uStack_10); return; }
['gcc']
6,615
void CWE665_Improper_Initialization__char_ncat_68b_goodG2BSink() { char * data = CWE665_Improper_Initialization__char_ncat_68_goodG2BData; { size_t sourceLen; char source[100]; memset(source, 'C', 100-1); /* fill with 'C's */ source[100-1] = '\0'; /* null terminate */ sourceLen = strlen(source); /* POTENTIAL FLAW: If data is not initialized properly, strncat() may not function correctly */ strncat(data, source, sourceLen); printLine(data); } }
["/* fill with 'C's */", '/* null terminate */', '/* POTENTIAL FLAW: If data is not initialized properly, strncat() may not function correctly */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109840/CWE665_Improper_Initialization__char_ncat_68b.c
CWE665_Improper_Initialization__char_ncat_68b_goodG2BSink
void CWE665_Improper_Initialization__char_ncat_68b_goodG2BSink(void) { undefined auStack_88 [99]; undefined uStack_25; undefined8 uStack_18; undefined8 uStack_10; uStack_10 = CWE665_Improper_Initialization__char_ncat_68_goodG2BData; func_0x00400aa0(auStack_88,0x43,99); uStack_25 = 0; uStack_18 = func_0x00400a80(auStack_88); func_0x00400ab0(uStack_10,auStack_88,uStack_18); printLine(uStack_10); return; }
['gcc']
6,616
void CWE665_Improper_Initialization__wchar_t_cat_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 */ } { 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); } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109851/CWE665_Improper_Initialization__wchar_t_cat_03.c
CWE665_Improper_Initialization__wchar_t_cat_03_bad
void CWE665_Improper_Initialization__wchar_t_cat_03_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,617
void CWE665_Improper_Initialization__wchar_t_cat_03_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109851/CWE665_Improper_Initialization__wchar_t_cat_03.c
CWE665_Improper_Initialization__wchar_t_cat_03_good
void CWE665_Improper_Initialization__wchar_t_cat_03_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
6,618
void CWE665_Improper_Initialization__wchar_t_cat_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 */ } { 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); } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109852/CWE665_Improper_Initialization__wchar_t_cat_04.c
CWE665_Improper_Initialization__wchar_t_cat_04_bad
void CWE665_Improper_Initialization__wchar_t_cat_04_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,619
void CWE665_Improper_Initialization__wchar_t_cat_04_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109852/CWE665_Improper_Initialization__wchar_t_cat_04.c
CWE665_Improper_Initialization__wchar_t_cat_04_good
void CWE665_Improper_Initialization__wchar_t_cat_04_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
6,620
void CWE665_Improper_Initialization__wchar_t_cat_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 */ } { 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); } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109853/CWE665_Improper_Initialization__wchar_t_cat_05.c
CWE665_Improper_Initialization__wchar_t_cat_05_bad
void CWE665_Improper_Initialization__wchar_t_cat_05_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,621
void CWE665_Improper_Initialization__wchar_t_cat_05_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109853/CWE665_Improper_Initialization__wchar_t_cat_05.c
CWE665_Improper_Initialization__wchar_t_cat_05_good
void CWE665_Improper_Initialization__wchar_t_cat_05_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
6,622
void CWE665_Improper_Initialization__wchar_t_cat_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 */ } { 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); } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109854/CWE665_Improper_Initialization__wchar_t_cat_06.c
CWE665_Improper_Initialization__wchar_t_cat_06_bad
void CWE665_Improper_Initialization__wchar_t_cat_06_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,623
void CWE665_Improper_Initialization__wchar_t_cat_06_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109854/CWE665_Improper_Initialization__wchar_t_cat_06.c
CWE665_Improper_Initialization__wchar_t_cat_06_good
void CWE665_Improper_Initialization__wchar_t_cat_06_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
6,624
void CWE665_Improper_Initialization__wchar_t_cat_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 */ } { 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); } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109855/CWE665_Improper_Initialization__wchar_t_cat_07.c
CWE665_Improper_Initialization__wchar_t_cat_07_bad
void CWE665_Improper_Initialization__wchar_t_cat_07_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,625
void CWE665_Improper_Initialization__wchar_t_cat_07_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109855/CWE665_Improper_Initialization__wchar_t_cat_07.c
CWE665_Improper_Initialization__wchar_t_cat_07_good
void CWE665_Improper_Initialization__wchar_t_cat_07_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
6,626
void CWE665_Improper_Initialization__wchar_t_cat_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 */ } { 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); } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109856/CWE665_Improper_Initialization__wchar_t_cat_08.c
CWE665_Improper_Initialization__wchar_t_cat_08_bad
void CWE665_Improper_Initialization__wchar_t_cat_08_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; staticReturnsTrue(); func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,627
void CWE665_Improper_Initialization__wchar_t_cat_08_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109856/CWE665_Improper_Initialization__wchar_t_cat_08.c
CWE665_Improper_Initialization__wchar_t_cat_08_good
void CWE665_Improper_Initialization__wchar_t_cat_08_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
6,628
void CWE665_Improper_Initialization__wchar_t_cat_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 */ } { 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); } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109857/CWE665_Improper_Initialization__wchar_t_cat_09.c
CWE665_Improper_Initialization__wchar_t_cat_09_bad
void CWE665_Improper_Initialization__wchar_t_cat_09_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,629
void CWE665_Improper_Initialization__wchar_t_cat_09_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109857/CWE665_Improper_Initialization__wchar_t_cat_09.c
CWE665_Improper_Initialization__wchar_t_cat_09_good
void CWE665_Improper_Initialization__wchar_t_cat_09_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
6,630
void CWE665_Improper_Initialization__wchar_t_cat_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 */ } { 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); } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109858/CWE665_Improper_Initialization__wchar_t_cat_10.c
CWE665_Improper_Initialization__wchar_t_cat_10_bad
void CWE665_Improper_Initialization__wchar_t_cat_10_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,631
void CWE665_Improper_Initialization__wchar_t_cat_10_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109858/CWE665_Improper_Initialization__wchar_t_cat_10.c
CWE665_Improper_Initialization__wchar_t_cat_10_good
void CWE665_Improper_Initialization__wchar_t_cat_10_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
6,632
void CWE665_Improper_Initialization__wchar_t_cat_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 */ } { 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); } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109859/CWE665_Improper_Initialization__wchar_t_cat_11.c
CWE665_Improper_Initialization__wchar_t_cat_11_bad
void CWE665_Improper_Initialization__wchar_t_cat_11_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; globalReturnsTrue(); func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,633
void CWE665_Improper_Initialization__wchar_t_cat_11_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109859/CWE665_Improper_Initialization__wchar_t_cat_11.c
CWE665_Improper_Initialization__wchar_t_cat_11_good
void CWE665_Improper_Initialization__wchar_t_cat_11_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
6,634
void CWE665_Improper_Initialization__wchar_t_cat_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 */ } { 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); } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109860/CWE665_Improper_Initialization__wchar_t_cat_12.c
CWE665_Improper_Initialization__wchar_t_cat_12_bad
void CWE665_Improper_Initialization__wchar_t_cat_12_bad(void) { int iVar1; undefined auStack_338 [396]; undefined4 uStack_1ac; undefined4 auStack_1a8 [102]; undefined4 *puStack_10; puStack_10 = auStack_1a8; iVar1 = globalReturnsTrueOrFalse(); if (iVar1 == 0) { *puStack_10 = 0; } func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,635
void CWE665_Improper_Initialization__wchar_t_cat_12_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109860/CWE665_Improper_Initialization__wchar_t_cat_12.c
CWE665_Improper_Initialization__wchar_t_cat_12_good
void CWE665_Improper_Initialization__wchar_t_cat_12_good(void) { goodG2B(); return; }
['gcc']
6,636
void CWE665_Improper_Initialization__wchar_t_cat_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 */ } { 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); } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109861/CWE665_Improper_Initialization__wchar_t_cat_13.c
CWE665_Improper_Initialization__wchar_t_cat_13_bad
void CWE665_Improper_Initialization__wchar_t_cat_13_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,637
void CWE665_Improper_Initialization__wchar_t_cat_13_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109861/CWE665_Improper_Initialization__wchar_t_cat_13.c
CWE665_Improper_Initialization__wchar_t_cat_13_good
void CWE665_Improper_Initialization__wchar_t_cat_13_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
6,638
void CWE665_Improper_Initialization__wchar_t_cat_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 */ } { 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); } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109862/CWE665_Improper_Initialization__wchar_t_cat_14.c
CWE665_Improper_Initialization__wchar_t_cat_14_bad
void CWE665_Improper_Initialization__wchar_t_cat_14_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,639
void CWE665_Improper_Initialization__wchar_t_cat_14_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109862/CWE665_Improper_Initialization__wchar_t_cat_14.c
CWE665_Improper_Initialization__wchar_t_cat_14_good
void CWE665_Improper_Initialization__wchar_t_cat_14_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
6,640
void CWE665_Improper_Initialization__wchar_t_cat_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; } { 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); } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109863/CWE665_Improper_Initialization__wchar_t_cat_15.c
CWE665_Improper_Initialization__wchar_t_cat_15_bad
void CWE665_Improper_Initialization__wchar_t_cat_15_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,641
void CWE665_Improper_Initialization__wchar_t_cat_15_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109863/CWE665_Improper_Initialization__wchar_t_cat_15.c
CWE665_Improper_Initialization__wchar_t_cat_15_good
void CWE665_Improper_Initialization__wchar_t_cat_15_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
6,642
void CWE665_Improper_Initialization__wchar_t_cat_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; } { 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); } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109864/CWE665_Improper_Initialization__wchar_t_cat_16.c
CWE665_Improper_Initialization__wchar_t_cat_16_bad
void CWE665_Improper_Initialization__wchar_t_cat_16_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,643
void CWE665_Improper_Initialization__wchar_t_cat_16_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109864/CWE665_Improper_Initialization__wchar_t_cat_16.c
CWE665_Improper_Initialization__wchar_t_cat_16_good
void CWE665_Improper_Initialization__wchar_t_cat_16_good(void) { goodG2B(); return; }
['gcc']
6,644
void CWE665_Improper_Initialization__wchar_t_cat_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 */ } { 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); } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109865/CWE665_Improper_Initialization__wchar_t_cat_17.c
CWE665_Improper_Initialization__wchar_t_cat_17_bad
void CWE665_Improper_Initialization__wchar_t_cat_17_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [400]; undefined *puStack_18; int iStack_c; puStack_18 = auStack_1a8; for (iStack_c = 0; iStack_c < 1; iStack_c = iStack_c + 1) { } func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_18,auStack_338); printWLine(puStack_18); return; }
['gcc']
6,645
void CWE665_Improper_Initialization__wchar_t_cat_17_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109865/CWE665_Improper_Initialization__wchar_t_cat_17.c
CWE665_Improper_Initialization__wchar_t_cat_17_good
void CWE665_Improper_Initialization__wchar_t_cat_17_good(void) { goodG2B(); return; }
['gcc']
6,646
void CWE665_Improper_Initialization__wchar_t_cat_21_bad() { wchar_t * data; wchar_t dataBuffer[100]; data = dataBuffer; badStatic = 1; /* true */ data = badSource(data); { 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); } }
['/* true */', "/* 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/109867/CWE665_Improper_Initialization__wchar_t_cat_21.c
CWE665_Improper_Initialization__wchar_t_cat_21_bad
void CWE665_Improper_Initialization__wchar_t_cat_21_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; badStatic = 1; puStack_10 = (undefined *)badSource(puStack_10); func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,647
void CWE665_Improper_Initialization__wchar_t_cat_21_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109867/CWE665_Improper_Initialization__wchar_t_cat_21.c
CWE665_Improper_Initialization__wchar_t_cat_21_good
void CWE665_Improper_Initialization__wchar_t_cat_21_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
6,648
void CWE665_Improper_Initialization__wchar_t_cat_22_bad() { wchar_t * data; wchar_t dataBuffer[100]; data = dataBuffer; CWE665_Improper_Initialization__wchar_t_cat_22_badGlobal = 1; /* true */ data = CWE665_Improper_Initialization__wchar_t_cat_22_badSource(data); { 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); } }
['/* true */', "/* 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/109868/CWE665_Improper_Initialization__wchar_t_cat_22a.c
CWE665_Improper_Initialization__wchar_t_cat_22_bad
void CWE665_Improper_Initialization__wchar_t_cat_22_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; CWE665_Improper_Initialization__wchar_t_cat_22_badGlobal = 1; puStack_10 = (undefined *)CWE665_Improper_Initialization__wchar_t_cat_22_badSource(puStack_10); func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,649
void CWE665_Improper_Initialization__wchar_t_cat_22_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109868/CWE665_Improper_Initialization__wchar_t_cat_22a.c
CWE665_Improper_Initialization__wchar_t_cat_22_good
void CWE665_Improper_Initialization__wchar_t_cat_22_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
6,650
wchar_t * CWE665_Improper_Initialization__wchar_t_cat_22_badSource(wchar_t * data) { if(CWE665_Improper_Initialization__wchar_t_cat_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/109868/CWE665_Improper_Initialization__wchar_t_cat_22b.c
CWE665_Improper_Initialization__wchar_t_cat_22_badSource
undefined8 CWE665_Improper_Initialization__wchar_t_cat_22_badSource(undefined8 param_1) { return param_1; }
['gcc']
6,651
wchar_t * CWE665_Improper_Initialization__wchar_t_cat_22_goodG2B1Source(wchar_t * data) { if(CWE665_Improper_Initialization__wchar_t_cat_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/109868/CWE665_Improper_Initialization__wchar_t_cat_22b.c
CWE665_Improper_Initialization__wchar_t_cat_22_goodG2B1Source
undefined4 * CWE665_Improper_Initialization__wchar_t_cat_22_goodG2B1Source(undefined4 *param_1) { if (CWE665_Improper_Initialization__wchar_t_cat_22_goodG2B1Global == 0) { *param_1 = 0; } else { printLine(&UNK_004012b4); } return param_1; }
['gcc']
6,652
wchar_t * CWE665_Improper_Initialization__wchar_t_cat_22_goodG2B2Source(wchar_t * data) { if(CWE665_Improper_Initialization__wchar_t_cat_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/109868/CWE665_Improper_Initialization__wchar_t_cat_22b.c
CWE665_Improper_Initialization__wchar_t_cat_22_goodG2B2Source
undefined4 * CWE665_Improper_Initialization__wchar_t_cat_22_goodG2B2Source(undefined4 *param_1) { if (CWE665_Improper_Initialization__wchar_t_cat_22_goodG2B2Global != 0) { *param_1 = 0; } return param_1; }
['gcc']
6,653
void CWE665_Improper_Initialization__wchar_t_cat_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; { 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); } } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109869/CWE665_Improper_Initialization__wchar_t_cat_31.c
CWE665_Improper_Initialization__wchar_t_cat_31_bad
void CWE665_Improper_Initialization__wchar_t_cat_31_bad(void) { undefined auStack_348 [396]; undefined4 uStack_1bc; undefined auStack_1b8 [408]; undefined *puStack_20; undefined *puStack_18; undefined *puStack_10; puStack_20 = auStack_1b8; puStack_18 = puStack_20; puStack_10 = puStack_20; func_0x00400a60(auStack_348,0x43,99); uStack_1bc = 0; func_0x00400a20(puStack_20,auStack_348); printWLine(puStack_20); return; }
['gcc']
6,654
void CWE665_Improper_Initialization__wchar_t_cat_31_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109869/CWE665_Improper_Initialization__wchar_t_cat_31.c
CWE665_Improper_Initialization__wchar_t_cat_31_good
void CWE665_Improper_Initialization__wchar_t_cat_31_good(void) { goodG2B(); return; }
['gcc']
6,655
void CWE665_Improper_Initialization__wchar_t_cat_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; { 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); } } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109870/CWE665_Improper_Initialization__wchar_t_cat_32.c
CWE665_Improper_Initialization__wchar_t_cat_32_bad
/* WARNING: Heritage AFTER dead removal. Example location: s0xffffffffffffffd0 : 0x00400c12 */ /* WARNING: Restarted to delay deadcode elimination for space: stack */ void CWE665_Improper_Initialization__wchar_t_cat_32_bad(void) { undefined auStack_358 [396]; undefined4 uStack_1cc; undefined auStack_1c8 [408]; undefined *puStack_30; undefined *puStack_28; undefined *puStack_20; undefined **ppuStack_18; undefined **ppuStack_10; ppuStack_10 = &puStack_30; ppuStack_18 = &puStack_30; puStack_30 = auStack_1c8; puStack_28 = puStack_30; puStack_20 = puStack_30; func_0x00400a60(auStack_358,0x43,99); uStack_1cc = 0; func_0x00400a20(puStack_28,auStack_358); printWLine(puStack_28); return; }
['gcc']
6,656
void CWE665_Improper_Initialization__wchar_t_cat_32_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109870/CWE665_Improper_Initialization__wchar_t_cat_32.c
CWE665_Improper_Initialization__wchar_t_cat_32_good
void CWE665_Improper_Initialization__wchar_t_cat_32_good(void) { goodG2B(); return; }
['gcc']
6,657
void CWE665_Improper_Initialization__wchar_t_cat_34_bad() { wchar_t * data; CWE665_Improper_Initialization__wchar_t_cat_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; { 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); } } }
['/* 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, wcscat() may not function correctly */']
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109872/CWE665_Improper_Initialization__wchar_t_cat_34.c
CWE665_Improper_Initialization__wchar_t_cat_34_bad
void CWE665_Improper_Initialization__wchar_t_cat_34_bad(void) { undefined auStack_348 [396]; undefined4 uStack_1bc; undefined auStack_1b8 [408]; undefined *puStack_20; undefined *puStack_18; undefined *puStack_10; puStack_20 = auStack_1b8; puStack_18 = puStack_20; puStack_10 = puStack_20; func_0x00400a60(auStack_348,0x43,99); uStack_1bc = 0; func_0x00400a20(puStack_18,auStack_348); printWLine(puStack_18); return; }
['gcc']
6,658
void CWE665_Improper_Initialization__wchar_t_cat_34_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109872/CWE665_Improper_Initialization__wchar_t_cat_34.c
CWE665_Improper_Initialization__wchar_t_cat_34_good
void CWE665_Improper_Initialization__wchar_t_cat_34_good(void) { goodG2B(); return; }
['gcc']
6,659
void CWE665_Improper_Initialization__wchar_t_cat_41_badSink(wchar_t * data) { { 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/109873/CWE665_Improper_Initialization__wchar_t_cat_41.c
CWE665_Improper_Initialization__wchar_t_cat_41_badSink
void CWE665_Improper_Initialization__wchar_t_cat_41_badSink(undefined8 param_1) { undefined auStack_198 [396]; undefined4 uStack_c; func_0x00400a60(auStack_198,0x43,99); uStack_c = 0; func_0x00400a20(param_1,auStack_198); printWLine(param_1); return; }
['gcc']
6,660
void CWE665_Improper_Initialization__wchar_t_cat_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_cat_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/109873/CWE665_Improper_Initialization__wchar_t_cat_41.c
CWE665_Improper_Initialization__wchar_t_cat_41_bad
void CWE665_Improper_Initialization__wchar_t_cat_41_bad(void) { undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; CWE665_Improper_Initialization__wchar_t_cat_41_badSink(puStack_10); return; }
['gcc']
6,661
void CWE665_Improper_Initialization__wchar_t_cat_41_goodG2BSink(wchar_t * data) { { 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/109873/CWE665_Improper_Initialization__wchar_t_cat_41.c
CWE665_Improper_Initialization__wchar_t_cat_41_goodG2BSink
void CWE665_Improper_Initialization__wchar_t_cat_41_goodG2BSink(undefined8 param_1) { undefined auStack_198 [396]; undefined4 uStack_c; func_0x00400a60(auStack_198,0x43,99); uStack_c = 0; func_0x00400a20(param_1,auStack_198); printWLine(param_1); return; }
['gcc']
6,662
void CWE665_Improper_Initialization__wchar_t_cat_41_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109873/CWE665_Improper_Initialization__wchar_t_cat_41.c
CWE665_Improper_Initialization__wchar_t_cat_41_good
void CWE665_Improper_Initialization__wchar_t_cat_41_good(void) { goodG2B(); return; }
['gcc']
6,663
void CWE665_Improper_Initialization__wchar_t_cat_42_bad() { wchar_t * data; wchar_t dataBuffer[100]; data = dataBuffer; data = badSource(data); { 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/109874/CWE665_Improper_Initialization__wchar_t_cat_42.c
CWE665_Improper_Initialization__wchar_t_cat_42_bad
void CWE665_Improper_Initialization__wchar_t_cat_42_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; puStack_10 = (undefined *)badSource(puStack_10); func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,664
void CWE665_Improper_Initialization__wchar_t_cat_42_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109874/CWE665_Improper_Initialization__wchar_t_cat_42.c
CWE665_Improper_Initialization__wchar_t_cat_42_good
void CWE665_Improper_Initialization__wchar_t_cat_42_good(void) { goodG2B(); return; }
['gcc']
6,665
void CWE665_Improper_Initialization__wchar_t_cat_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_cat_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/109878/CWE665_Improper_Initialization__wchar_t_cat_51a.c
CWE665_Improper_Initialization__wchar_t_cat_51_bad
void CWE665_Improper_Initialization__wchar_t_cat_51_bad(void) { undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; CWE665_Improper_Initialization__wchar_t_cat_51b_badSink(puStack_10); return; }
['gcc']
6,666
void CWE665_Improper_Initialization__wchar_t_cat_51_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109878/CWE665_Improper_Initialization__wchar_t_cat_51a.c
CWE665_Improper_Initialization__wchar_t_cat_51_good
void CWE665_Improper_Initialization__wchar_t_cat_51_good(void) { goodG2B(); return; }
['gcc']
6,667
void CWE665_Improper_Initialization__wchar_t_cat_51b_badSink(wchar_t * data) { { 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/109878/CWE665_Improper_Initialization__wchar_t_cat_51b.c
CWE665_Improper_Initialization__wchar_t_cat_51b_badSink
void CWE665_Improper_Initialization__wchar_t_cat_51b_badSink(undefined8 param_1) { undefined auStack_198 [396]; undefined4 uStack_c; func_0x00400a60(auStack_198,0x43,99); uStack_c = 0; func_0x00400a20(param_1,auStack_198); printWLine(param_1); return; }
['gcc']
6,668
void CWE665_Improper_Initialization__wchar_t_cat_51b_goodG2BSink(wchar_t * data) { { 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/109878/CWE665_Improper_Initialization__wchar_t_cat_51b.c
CWE665_Improper_Initialization__wchar_t_cat_51b_goodG2BSink
void CWE665_Improper_Initialization__wchar_t_cat_51b_goodG2BSink(undefined8 param_1) { undefined auStack_198 [396]; undefined4 uStack_c; func_0x00400a60(auStack_198,0x43,99); uStack_c = 0; func_0x00400a20(param_1,auStack_198); printWLine(param_1); return; }
['gcc']
6,669
void CWE665_Improper_Initialization__wchar_t_cat_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_cat_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/109879/CWE665_Improper_Initialization__wchar_t_cat_52a.c
CWE665_Improper_Initialization__wchar_t_cat_52_bad
void CWE665_Improper_Initialization__wchar_t_cat_52_bad(void) { undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; CWE665_Improper_Initialization__wchar_t_cat_52b_badSink(puStack_10); return; }
['gcc']
6,670
void CWE665_Improper_Initialization__wchar_t_cat_52_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109879/CWE665_Improper_Initialization__wchar_t_cat_52a.c
CWE665_Improper_Initialization__wchar_t_cat_52_good
void CWE665_Improper_Initialization__wchar_t_cat_52_good(void) { goodG2B(); return; }
['gcc']
6,671
void CWE665_Improper_Initialization__wchar_t_cat_52b_badSink(wchar_t * data) { CWE665_Improper_Initialization__wchar_t_cat_52c_badSink(data); }
[]
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109879/CWE665_Improper_Initialization__wchar_t_cat_52b.c
CWE665_Improper_Initialization__wchar_t_cat_52b_badSink
void CWE665_Improper_Initialization__wchar_t_cat_52b_badSink(undefined8 param_1) { CWE665_Improper_Initialization__wchar_t_cat_52c_badSink(param_1); return; }
['gcc']
6,672
void CWE665_Improper_Initialization__wchar_t_cat_52b_goodG2BSink(wchar_t * data) { CWE665_Improper_Initialization__wchar_t_cat_52c_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109879/CWE665_Improper_Initialization__wchar_t_cat_52b.c
CWE665_Improper_Initialization__wchar_t_cat_52b_goodG2BSink
void CWE665_Improper_Initialization__wchar_t_cat_52b_goodG2BSink(undefined8 param_1) { CWE665_Improper_Initialization__wchar_t_cat_52c_goodG2BSink(param_1); return; }
['gcc']
6,673
void CWE665_Improper_Initialization__wchar_t_cat_52c_badSink(wchar_t * data) { { 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/109879/CWE665_Improper_Initialization__wchar_t_cat_52c.c
CWE665_Improper_Initialization__wchar_t_cat_52c_badSink
void CWE665_Improper_Initialization__wchar_t_cat_52c_badSink(undefined8 param_1) { undefined auStack_198 [396]; undefined4 uStack_c; func_0x00400a60(auStack_198,0x43,99); uStack_c = 0; func_0x00400a20(param_1,auStack_198); printWLine(param_1); return; }
['gcc']
6,674
void CWE665_Improper_Initialization__wchar_t_cat_52c_goodG2BSink(wchar_t * data) { { 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/109879/CWE665_Improper_Initialization__wchar_t_cat_52c.c
CWE665_Improper_Initialization__wchar_t_cat_52c_goodG2BSink
void CWE665_Improper_Initialization__wchar_t_cat_52c_goodG2BSink(undefined8 param_1) { undefined auStack_198 [396]; undefined4 uStack_c; func_0x00400a60(auStack_198,0x43,99); uStack_c = 0; func_0x00400a20(param_1,auStack_198); printWLine(param_1); return; }
['gcc']
6,675
void CWE665_Improper_Initialization__wchar_t_cat_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_cat_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/109880/CWE665_Improper_Initialization__wchar_t_cat_53a.c
CWE665_Improper_Initialization__wchar_t_cat_53_bad
void CWE665_Improper_Initialization__wchar_t_cat_53_bad(void) { undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; CWE665_Improper_Initialization__wchar_t_cat_53b_badSink(puStack_10); return; }
['gcc']
6,676
void CWE665_Improper_Initialization__wchar_t_cat_53_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109880/CWE665_Improper_Initialization__wchar_t_cat_53a.c
CWE665_Improper_Initialization__wchar_t_cat_53_good
void CWE665_Improper_Initialization__wchar_t_cat_53_good(void) { goodG2B(); return; }
['gcc']
6,677
void CWE665_Improper_Initialization__wchar_t_cat_53b_badSink(wchar_t * data) { CWE665_Improper_Initialization__wchar_t_cat_53c_badSink(data); }
[]
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109880/CWE665_Improper_Initialization__wchar_t_cat_53b.c
CWE665_Improper_Initialization__wchar_t_cat_53b_badSink
void CWE665_Improper_Initialization__wchar_t_cat_53b_badSink(undefined8 param_1) { CWE665_Improper_Initialization__wchar_t_cat_53c_badSink(param_1); return; }
['gcc']
6,678
void CWE665_Improper_Initialization__wchar_t_cat_53b_goodG2BSink(wchar_t * data) { CWE665_Improper_Initialization__wchar_t_cat_53c_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109880/CWE665_Improper_Initialization__wchar_t_cat_53b.c
CWE665_Improper_Initialization__wchar_t_cat_53b_goodG2BSink
void CWE665_Improper_Initialization__wchar_t_cat_53b_goodG2BSink(undefined8 param_1) { CWE665_Improper_Initialization__wchar_t_cat_53c_goodG2BSink(param_1); return; }
['gcc']
6,679
void CWE665_Improper_Initialization__wchar_t_cat_53c_badSink(wchar_t * data) { CWE665_Improper_Initialization__wchar_t_cat_53d_badSink(data); }
[]
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109880/CWE665_Improper_Initialization__wchar_t_cat_53c.c
CWE665_Improper_Initialization__wchar_t_cat_53c_badSink
void CWE665_Improper_Initialization__wchar_t_cat_53c_badSink(undefined8 param_1) { CWE665_Improper_Initialization__wchar_t_cat_53d_badSink(param_1); return; }
['gcc']
6,680
void CWE665_Improper_Initialization__wchar_t_cat_53c_goodG2BSink(wchar_t * data) { CWE665_Improper_Initialization__wchar_t_cat_53d_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109880/CWE665_Improper_Initialization__wchar_t_cat_53c.c
CWE665_Improper_Initialization__wchar_t_cat_53c_goodG2BSink
void CWE665_Improper_Initialization__wchar_t_cat_53c_goodG2BSink(undefined8 param_1) { CWE665_Improper_Initialization__wchar_t_cat_53d_goodG2BSink(param_1); return; }
['gcc']
6,681
void CWE665_Improper_Initialization__wchar_t_cat_53d_badSink(wchar_t * data) { { 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/109880/CWE665_Improper_Initialization__wchar_t_cat_53d.c
CWE665_Improper_Initialization__wchar_t_cat_53d_badSink
void CWE665_Improper_Initialization__wchar_t_cat_53d_badSink(undefined8 param_1) { undefined auStack_198 [396]; undefined4 uStack_c; func_0x00400a60(auStack_198,0x43,99); uStack_c = 0; func_0x00400a20(param_1,auStack_198); printWLine(param_1); return; }
['gcc']
6,682
void CWE665_Improper_Initialization__wchar_t_cat_53d_goodG2BSink(wchar_t * data) { { 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/109880/CWE665_Improper_Initialization__wchar_t_cat_53d.c
CWE665_Improper_Initialization__wchar_t_cat_53d_goodG2BSink
void CWE665_Improper_Initialization__wchar_t_cat_53d_goodG2BSink(undefined8 param_1) { undefined auStack_198 [396]; undefined4 uStack_c; func_0x00400a60(auStack_198,0x43,99); uStack_c = 0; func_0x00400a20(param_1,auStack_198); printWLine(param_1); return; }
['gcc']
6,683
void CWE665_Improper_Initialization__wchar_t_cat_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_cat_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/109881/CWE665_Improper_Initialization__wchar_t_cat_54a.c
CWE665_Improper_Initialization__wchar_t_cat_54_bad
void CWE665_Improper_Initialization__wchar_t_cat_54_bad(void) { undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; CWE665_Improper_Initialization__wchar_t_cat_54b_badSink(puStack_10); return; }
['gcc']
6,684
void CWE665_Improper_Initialization__wchar_t_cat_54_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109881/CWE665_Improper_Initialization__wchar_t_cat_54a.c
CWE665_Improper_Initialization__wchar_t_cat_54_good
void CWE665_Improper_Initialization__wchar_t_cat_54_good(void) { goodG2B(); return; }
['gcc']
6,685
void CWE665_Improper_Initialization__wchar_t_cat_54b_badSink(wchar_t * data) { CWE665_Improper_Initialization__wchar_t_cat_54c_badSink(data); }
[]
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109881/CWE665_Improper_Initialization__wchar_t_cat_54b.c
CWE665_Improper_Initialization__wchar_t_cat_54b_badSink
void CWE665_Improper_Initialization__wchar_t_cat_54b_badSink(undefined8 param_1) { CWE665_Improper_Initialization__wchar_t_cat_54c_badSink(param_1); return; }
['gcc']
6,686
void CWE665_Improper_Initialization__wchar_t_cat_54b_goodG2BSink(wchar_t * data) { CWE665_Improper_Initialization__wchar_t_cat_54c_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109881/CWE665_Improper_Initialization__wchar_t_cat_54b.c
CWE665_Improper_Initialization__wchar_t_cat_54b_goodG2BSink
void CWE665_Improper_Initialization__wchar_t_cat_54b_goodG2BSink(undefined8 param_1) { CWE665_Improper_Initialization__wchar_t_cat_54c_goodG2BSink(param_1); return; }
['gcc']
6,687
void CWE665_Improper_Initialization__wchar_t_cat_54c_badSink(wchar_t * data) { CWE665_Improper_Initialization__wchar_t_cat_54d_badSink(data); }
[]
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109881/CWE665_Improper_Initialization__wchar_t_cat_54c.c
CWE665_Improper_Initialization__wchar_t_cat_54c_badSink
void CWE665_Improper_Initialization__wchar_t_cat_54c_badSink(undefined8 param_1) { CWE665_Improper_Initialization__wchar_t_cat_54d_badSink(param_1); return; }
['gcc']
6,688
void CWE665_Improper_Initialization__wchar_t_cat_54c_goodG2BSink(wchar_t * data) { CWE665_Improper_Initialization__wchar_t_cat_54d_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109881/CWE665_Improper_Initialization__wchar_t_cat_54c.c
CWE665_Improper_Initialization__wchar_t_cat_54c_goodG2BSink
void CWE665_Improper_Initialization__wchar_t_cat_54c_goodG2BSink(undefined8 param_1) { CWE665_Improper_Initialization__wchar_t_cat_54d_goodG2BSink(param_1); return; }
['gcc']
6,689
void CWE665_Improper_Initialization__wchar_t_cat_54d_badSink(wchar_t * data) { CWE665_Improper_Initialization__wchar_t_cat_54e_badSink(data); }
[]
['CWE665']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109881/CWE665_Improper_Initialization__wchar_t_cat_54d.c
CWE665_Improper_Initialization__wchar_t_cat_54d_badSink
void CWE665_Improper_Initialization__wchar_t_cat_54d_badSink(undefined8 param_1) { CWE665_Improper_Initialization__wchar_t_cat_54e_badSink(param_1); return; }
['gcc']
6,690
void CWE665_Improper_Initialization__wchar_t_cat_54d_goodG2BSink(wchar_t * data) { CWE665_Improper_Initialization__wchar_t_cat_54e_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109881/CWE665_Improper_Initialization__wchar_t_cat_54d.c
CWE665_Improper_Initialization__wchar_t_cat_54d_goodG2BSink
void CWE665_Improper_Initialization__wchar_t_cat_54d_goodG2BSink(undefined8 param_1) { CWE665_Improper_Initialization__wchar_t_cat_54e_goodG2BSink(param_1); return; }
['gcc']
6,691
void CWE665_Improper_Initialization__wchar_t_cat_54e_badSink(wchar_t * data) { { 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/109881/CWE665_Improper_Initialization__wchar_t_cat_54e.c
CWE665_Improper_Initialization__wchar_t_cat_54e_badSink
void CWE665_Improper_Initialization__wchar_t_cat_54e_badSink(undefined8 param_1) { undefined auStack_198 [396]; undefined4 uStack_c; func_0x00400a60(auStack_198,0x43,99); uStack_c = 0; func_0x00400a20(param_1,auStack_198); printWLine(param_1); return; }
['gcc']
6,692
void CWE665_Improper_Initialization__wchar_t_cat_54e_goodG2BSink(wchar_t * data) { { 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/109881/CWE665_Improper_Initialization__wchar_t_cat_54e.c
CWE665_Improper_Initialization__wchar_t_cat_54e_goodG2BSink
void CWE665_Improper_Initialization__wchar_t_cat_54e_goodG2BSink(undefined8 param_1) { undefined auStack_198 [396]; undefined4 uStack_c; func_0x00400a60(auStack_198,0x43,99); uStack_c = 0; func_0x00400a20(param_1,auStack_198); printWLine(param_1); return; }
['gcc']
6,693
void CWE665_Improper_Initialization__wchar_t_cat_61_bad() { wchar_t * data; wchar_t dataBuffer[100]; data = dataBuffer; data = CWE665_Improper_Initialization__wchar_t_cat_61b_badSource(data); { 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/109882/CWE665_Improper_Initialization__wchar_t_cat_61a.c
CWE665_Improper_Initialization__wchar_t_cat_61_bad
void CWE665_Improper_Initialization__wchar_t_cat_61_bad(void) { undefined auStack_338 [396]; undefined4 uStack_1ac; undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; puStack_10 = (undefined *)CWE665_Improper_Initialization__wchar_t_cat_61b_badSource(puStack_10); func_0x00400a60(auStack_338,0x43,99); uStack_1ac = 0; func_0x00400a20(puStack_10,auStack_338); printWLine(puStack_10); return; }
['gcc']
6,694
void CWE665_Improper_Initialization__wchar_t_cat_61_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109882/CWE665_Improper_Initialization__wchar_t_cat_61a.c
CWE665_Improper_Initialization__wchar_t_cat_61_good
void CWE665_Improper_Initialization__wchar_t_cat_61_good(void) { goodG2B(); return; }
['gcc']
6,695
wchar_t * CWE665_Improper_Initialization__wchar_t_cat_61b_badSource(wchar_t * data) { /* 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/109882/CWE665_Improper_Initialization__wchar_t_cat_61b.c
CWE665_Improper_Initialization__wchar_t_cat_61b_badSource
undefined8 CWE665_Improper_Initialization__wchar_t_cat_61b_badSource(undefined8 param_1) { return param_1; }
['gcc']
6,696
wchar_t * CWE665_Improper_Initialization__wchar_t_cat_61b_goodG2BSource(wchar_t * data) { /* 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/109882/CWE665_Improper_Initialization__wchar_t_cat_61b.c
CWE665_Improper_Initialization__wchar_t_cat_61b_goodG2BSource
undefined4 * CWE665_Improper_Initialization__wchar_t_cat_61b_goodG2BSource(undefined4 *param_1) { *param_1 = 0; return param_1; }
['gcc']
6,697
void CWE665_Improper_Initialization__wchar_t_cat_63_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_63b_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/109884/CWE665_Improper_Initialization__wchar_t_cat_63a.c
CWE665_Improper_Initialization__wchar_t_cat_63_bad
void CWE665_Improper_Initialization__wchar_t_cat_63_bad(void) { undefined auStack_1a8 [408]; undefined *puStack_10; puStack_10 = auStack_1a8; CWE665_Improper_Initialization__wchar_t_cat_63b_badSink(&puStack_10); return; }
['gcc']
6,698
void CWE665_Improper_Initialization__wchar_t_cat_63_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/109884/CWE665_Improper_Initialization__wchar_t_cat_63a.c
CWE665_Improper_Initialization__wchar_t_cat_63_good
void CWE665_Improper_Initialization__wchar_t_cat_63_good(void) { goodG2B(); return; }
['gcc']
6,699
void CWE665_Improper_Initialization__wchar_t_cat_63b_badSink(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 */']
['CWE665']
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_badSink
void CWE665_Improper_Initialization__wchar_t_cat_63b_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']