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
3,000
void CWE459_Incomplete_Cleanup__char_17_good() { good1(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104301/CWE459_Incomplete_Cleanup__char_17.c
CWE459_Incomplete_Cleanup__char_17_good
void CWE459_Incomplete_Cleanup__char_17_good(void) { good1(); return; }
['gcc']
3,001
void CWE459_Incomplete_Cleanup__char_18_bad() { goto sink; sink: { char * filename; char tmpl[] = "badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, "w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104302/CWE459_Incomplete_Cleanup__char_18.c
CWE459_Incomplete_Cleanup__char_18_bad
void CWE459_Incomplete_Cleanup__char_18_bad(void) { undefined8 uStack_22; undefined2 uStack_1a; long lStack_18; long lStack_10; uStack_22 = 0x5858585858646162; uStack_1a = 0x58; lStack_10 = func_0x00400b80(&uStack_22); if (lStack_10 != 0) { lStack_18 = func_0x00400b40(lStack_10,&UNK_00401254); if (lStack_18 != 0) { func_0x00400b50(&UNK_00401256,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } } return; }
['gcc']
3,002
void CWE459_Incomplete_Cleanup__char_18_good() { good1(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104302/CWE459_Incomplete_Cleanup__char_18.c
CWE459_Incomplete_Cleanup__char_18_good
void CWE459_Incomplete_Cleanup__char_18_good(void) { good1(); return; }
['gcc']
3,003
void CWE459_Incomplete_Cleanup__wchar_t_01_bad() { { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104303/CWE459_Incomplete_Cleanup__wchar_t_01.c
CWE459_Incomplete_Cleanup__wchar_t_01_bad
void CWE459_Incomplete_Cleanup__wchar_t_01_bad(void) { undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_18; long lStack_10; uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_10 = func_0x00400b80(&uStack_48); if (lStack_10 != 0) { lStack_18 = func_0x00400b40(lStack_10,&UNK_00401284); if (lStack_18 != 0) { func_0x00400b50(&UNK_0040128c,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } } return; }
['gcc']
3,004
void CWE459_Incomplete_Cleanup__wchar_t_01_good() { good1(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104303/CWE459_Incomplete_Cleanup__wchar_t_01.c
CWE459_Incomplete_Cleanup__wchar_t_01_good
void CWE459_Incomplete_Cleanup__wchar_t_01_good(void) { good1(); return; }
['gcc']
3,005
void CWE459_Incomplete_Cleanup__wchar_t_02_bad() { if(1) { { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104304/CWE459_Incomplete_Cleanup__wchar_t_02.c
CWE459_Incomplete_Cleanup__wchar_t_02_bad
void CWE459_Incomplete_Cleanup__wchar_t_02_bad(void) { undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_18; long lStack_10; uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_10 = func_0x00400b80(&uStack_48); if (lStack_10 != 0) { lStack_18 = func_0x00400b40(lStack_10,&UNK_00401284); if (lStack_18 != 0) { func_0x00400b50(&UNK_0040128c,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } } return; }
['gcc']
3,006
void CWE459_Incomplete_Cleanup__wchar_t_02_good() { good1(); good2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104304/CWE459_Incomplete_Cleanup__wchar_t_02.c
CWE459_Incomplete_Cleanup__wchar_t_02_good
void CWE459_Incomplete_Cleanup__wchar_t_02_good(void) { good1(); good2(); return; }
['gcc']
3,007
void CWE459_Incomplete_Cleanup__wchar_t_03_bad() { if(5==5) { { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104305/CWE459_Incomplete_Cleanup__wchar_t_03.c
CWE459_Incomplete_Cleanup__wchar_t_03_bad
void CWE459_Incomplete_Cleanup__wchar_t_03_bad(void) { undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_18; long lStack_10; uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_10 = func_0x00400b80(&uStack_48); if (lStack_10 != 0) { lStack_18 = func_0x00400b40(lStack_10,&UNK_00401284); if (lStack_18 != 0) { func_0x00400b50(&UNK_0040128c,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } } return; }
['gcc']
3,008
void CWE459_Incomplete_Cleanup__wchar_t_03_good() { good1(); good2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104305/CWE459_Incomplete_Cleanup__wchar_t_03.c
CWE459_Incomplete_Cleanup__wchar_t_03_good
void CWE459_Incomplete_Cleanup__wchar_t_03_good(void) { good1(); good2(); return; }
['gcc']
3,009
void CWE459_Incomplete_Cleanup__wchar_t_04_bad() { if(STATIC_CONST_TRUE) { { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104306/CWE459_Incomplete_Cleanup__wchar_t_04.c
CWE459_Incomplete_Cleanup__wchar_t_04_bad
void CWE459_Incomplete_Cleanup__wchar_t_04_bad(void) { undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_18; long lStack_10; uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_10 = func_0x00400b80(&uStack_48); if ((lStack_10 != 0) && (lStack_18 = func_0x00400b40(lStack_10,&UNK_0040129c), lStack_18 != 0)) { func_0x00400b50(&UNK_004012a4,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } return; }
['gcc']
3,010
void CWE459_Incomplete_Cleanup__wchar_t_04_good() { good1(); good2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104306/CWE459_Incomplete_Cleanup__wchar_t_04.c
CWE459_Incomplete_Cleanup__wchar_t_04_good
void CWE459_Incomplete_Cleanup__wchar_t_04_good(void) { good1(); good2(); return; }
['gcc']
3,011
void CWE459_Incomplete_Cleanup__wchar_t_05_bad() { if(staticTrue) { { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104307/CWE459_Incomplete_Cleanup__wchar_t_05.c
CWE459_Incomplete_Cleanup__wchar_t_05_bad
void CWE459_Incomplete_Cleanup__wchar_t_05_bad(void) { undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_18; long lStack_10; if (staticTrue != 0) { uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_10 = func_0x00400b80(&uStack_48); if (lStack_10 != 0) { lStack_18 = func_0x00400b40(lStack_10,&UNK_00401294); if (lStack_18 != 0) { func_0x00400b50(&UNK_0040129c,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } } } return; }
['gcc']
3,012
void CWE459_Incomplete_Cleanup__wchar_t_05_good() { good1(); good2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104307/CWE459_Incomplete_Cleanup__wchar_t_05.c
CWE459_Incomplete_Cleanup__wchar_t_05_good
void CWE459_Incomplete_Cleanup__wchar_t_05_good(void) { good1(); good2(); return; }
['gcc']
3,013
void CWE459_Incomplete_Cleanup__wchar_t_06_bad() { if(STATIC_CONST_FIVE==5) { { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104308/CWE459_Incomplete_Cleanup__wchar_t_06.c
CWE459_Incomplete_Cleanup__wchar_t_06_bad
void CWE459_Incomplete_Cleanup__wchar_t_06_bad(void) { undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_18; long lStack_10; uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_10 = func_0x00400b80(&uStack_48); if ((lStack_10 != 0) && (lStack_18 = func_0x00400b40(lStack_10,&UNK_00401298), lStack_18 != 0)) { func_0x00400b50(&UNK_004012a0,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } return; }
['gcc']
3,014
void CWE459_Incomplete_Cleanup__wchar_t_06_good() { good1(); good2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104308/CWE459_Incomplete_Cleanup__wchar_t_06.c
CWE459_Incomplete_Cleanup__wchar_t_06_good
void CWE459_Incomplete_Cleanup__wchar_t_06_good(void) { good1(); good2(); return; }
['gcc']
3,015
void CWE459_Incomplete_Cleanup__wchar_t_07_bad() { if(staticFive==5) { { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104309/CWE459_Incomplete_Cleanup__wchar_t_07.c
CWE459_Incomplete_Cleanup__wchar_t_07_bad
void CWE459_Incomplete_Cleanup__wchar_t_07_bad(void) { undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_18; long lStack_10; if (staticFive == 5) { uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_10 = func_0x00400b80(&uStack_48); if (lStack_10 != 0) { lStack_18 = func_0x00400b40(lStack_10,&UNK_00401294); if (lStack_18 != 0) { func_0x00400b50(&UNK_0040129c,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } } } return; }
['gcc']
3,016
void CWE459_Incomplete_Cleanup__wchar_t_07_good() { good1(); good2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104309/CWE459_Incomplete_Cleanup__wchar_t_07.c
CWE459_Incomplete_Cleanup__wchar_t_07_good
void CWE459_Incomplete_Cleanup__wchar_t_07_good(void) { good1(); good2(); return; }
['gcc']
3,017
void CWE459_Incomplete_Cleanup__wchar_t_08_bad() { if(staticReturnsTrue()) { { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104310/CWE459_Incomplete_Cleanup__wchar_t_08.c
CWE459_Incomplete_Cleanup__wchar_t_08_bad
void CWE459_Incomplete_Cleanup__wchar_t_08_bad(void) { int iVar1; undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_18; long lStack_10; iVar1 = staticReturnsTrue(); if (iVar1 != 0) { uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_10 = func_0x00400b80(&uStack_48); if (lStack_10 != 0) { lStack_18 = func_0x00400b40(lStack_10,&UNK_004012b4); if (lStack_18 != 0) { func_0x00400b50(&UNK_004012bc,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } } } return; }
['gcc']
3,018
void CWE459_Incomplete_Cleanup__wchar_t_08_good() { good1(); good2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104310/CWE459_Incomplete_Cleanup__wchar_t_08.c
CWE459_Incomplete_Cleanup__wchar_t_08_good
void CWE459_Incomplete_Cleanup__wchar_t_08_good(void) { good1(); good2(); return; }
['gcc']
3,019
void CWE459_Incomplete_Cleanup__wchar_t_09_bad() { if(GLOBAL_CONST_TRUE) { { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104311/CWE459_Incomplete_Cleanup__wchar_t_09.c
CWE459_Incomplete_Cleanup__wchar_t_09_bad
void CWE459_Incomplete_Cleanup__wchar_t_09_bad(void) { undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_18; long lStack_10; if (GLOBAL_CONST_TRUE != 0) { uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_10 = func_0x00400b80(&uStack_48); if (lStack_10 != 0) { lStack_18 = func_0x00400b40(lStack_10,&UNK_00401294); if (lStack_18 != 0) { func_0x00400b50(&UNK_0040129c,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } } } return; }
['gcc']
3,020
void CWE459_Incomplete_Cleanup__wchar_t_09_good() { good1(); good2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104311/CWE459_Incomplete_Cleanup__wchar_t_09.c
CWE459_Incomplete_Cleanup__wchar_t_09_good
void CWE459_Incomplete_Cleanup__wchar_t_09_good(void) { good1(); good2(); return; }
['gcc']
3,021
void CWE459_Incomplete_Cleanup__wchar_t_10_bad() { if(globalTrue) { { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104312/CWE459_Incomplete_Cleanup__wchar_t_10.c
CWE459_Incomplete_Cleanup__wchar_t_10_bad
void CWE459_Incomplete_Cleanup__wchar_t_10_bad(void) { undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_18; long lStack_10; if (globalTrue != 0) { uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_10 = func_0x00400b80(&uStack_48); if (lStack_10 != 0) { lStack_18 = func_0x00400b40(lStack_10,&UNK_00401294); if (lStack_18 != 0) { func_0x00400b50(&UNK_0040129c,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } } } return; }
['gcc']
3,022
void CWE459_Incomplete_Cleanup__wchar_t_10_good() { good1(); good2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104312/CWE459_Incomplete_Cleanup__wchar_t_10.c
CWE459_Incomplete_Cleanup__wchar_t_10_good
void CWE459_Incomplete_Cleanup__wchar_t_10_good(void) { good1(); good2(); return; }
['gcc']
3,023
void CWE459_Incomplete_Cleanup__wchar_t_11_bad() { if(globalReturnsTrue()) { { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104313/CWE459_Incomplete_Cleanup__wchar_t_11.c
CWE459_Incomplete_Cleanup__wchar_t_11_bad
void CWE459_Incomplete_Cleanup__wchar_t_11_bad(void) { int iVar1; undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_18; long lStack_10; iVar1 = globalReturnsTrue(); if (iVar1 != 0) { uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_10 = func_0x00400b80(&uStack_48); if (lStack_10 != 0) { lStack_18 = func_0x00400b40(lStack_10,&UNK_00401294); if (lStack_18 != 0) { func_0x00400b50(&UNK_0040129c,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } } } return; }
['gcc']
3,024
void CWE459_Incomplete_Cleanup__wchar_t_11_good() { good1(); good2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104313/CWE459_Incomplete_Cleanup__wchar_t_11.c
CWE459_Incomplete_Cleanup__wchar_t_11_good
void CWE459_Incomplete_Cleanup__wchar_t_11_good(void) { good1(); good2(); return; }
['gcc']
3,025
void CWE459_Incomplete_Cleanup__wchar_t_12_bad() { if(globalReturnsTrueOrFalse()) { { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } } else { { wchar_t * filename; wchar_t tmpl[] = L"goodXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FIX: Unlink the temporary file */ UNLINK(filename); /* EXPECTED INCIDENTAL: CWE367 TOCTOU - This POSIX API is essentially insecure by design */ } } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */", '/* Establish that this is a temporary file and that it should be deleted */', '/* FIX: Unlink the temporary file */', '/* EXPECTED INCIDENTAL: CWE367 TOCTOU - This POSIX API is essentially insecure by design */']
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104314/CWE459_Incomplete_Cleanup__wchar_t_12.c
CWE459_Incomplete_Cleanup__wchar_t_12_bad
void CWE459_Incomplete_Cleanup__wchar_t_12_bad(void) { int iVar1; undefined8 uStack_58; undefined8 uStack_50; undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined4 uStack_30; long lStack_28; long lStack_20; long lStack_18; long lStack_10; iVar1 = globalReturnsTrueOrFalse(); if (iVar1 == 0) { uStack_58 = 0x6f00000067; uStack_50 = 0x640000006f; uStack_48 = 0x5800000058; uStack_40 = 0x5800000058; uStack_38 = 0x5800000058; uStack_30 = 0; lStack_10 = func_0x00400c10(&uStack_58); if (lStack_10 != 0) { lStack_18 = func_0x00400bd0(lStack_10,&UNK_004013e4); if (lStack_18 != 0) { func_0x00400be0(&UNK_004013ec,1,0xe,lStack_18); func_0x00400b40(lStack_18); func_0x00400b10(lStack_10); } } } else { uStack_58 = 0x6100000062; uStack_50 = 0x5800000064; uStack_48 = 0x5800000058; uStack_40 = 0x5800000058; uStack_38 = 0x58; lStack_20 = func_0x00400c10(&uStack_58); if (lStack_20 != 0) { lStack_28 = func_0x00400bd0(lStack_20,&UNK_004013e4); if (lStack_28 != 0) { func_0x00400be0(&UNK_004013ec,1,0xe,lStack_28); func_0x00400b40(lStack_28); } } } return; }
['gcc']
3,026
void CWE459_Incomplete_Cleanup__wchar_t_12_good() { good1(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104314/CWE459_Incomplete_Cleanup__wchar_t_12.c
CWE459_Incomplete_Cleanup__wchar_t_12_good
void CWE459_Incomplete_Cleanup__wchar_t_12_good(void) { good1(); return; }
['gcc']
3,027
void CWE459_Incomplete_Cleanup__wchar_t_13_bad() { if(GLOBAL_CONST_FIVE==5) { { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104315/CWE459_Incomplete_Cleanup__wchar_t_13.c
CWE459_Incomplete_Cleanup__wchar_t_13_bad
void CWE459_Incomplete_Cleanup__wchar_t_13_bad(void) { undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_18; long lStack_10; if (GLOBAL_CONST_FIVE == 5) { uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_10 = func_0x00400b80(&uStack_48); if (lStack_10 != 0) { lStack_18 = func_0x00400b40(lStack_10,&UNK_00401294); if (lStack_18 != 0) { func_0x00400b50(&UNK_0040129c,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } } } return; }
['gcc']
3,028
void CWE459_Incomplete_Cleanup__wchar_t_13_good() { good1(); good2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104315/CWE459_Incomplete_Cleanup__wchar_t_13.c
CWE459_Incomplete_Cleanup__wchar_t_13_good
void CWE459_Incomplete_Cleanup__wchar_t_13_good(void) { good1(); good2(); return; }
['gcc']
3,029
void CWE459_Incomplete_Cleanup__wchar_t_14_bad() { if(globalFive==5) { { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104316/CWE459_Incomplete_Cleanup__wchar_t_14.c
CWE459_Incomplete_Cleanup__wchar_t_14_bad
void CWE459_Incomplete_Cleanup__wchar_t_14_bad(void) { undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_18; long lStack_10; if (globalFive == 5) { uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_10 = func_0x00400b80(&uStack_48); if (lStack_10 != 0) { lStack_18 = func_0x00400b40(lStack_10,&UNK_00401294); if (lStack_18 != 0) { func_0x00400b50(&UNK_0040129c,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } } } return; }
['gcc']
3,030
void CWE459_Incomplete_Cleanup__wchar_t_14_good() { good1(); good2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104316/CWE459_Incomplete_Cleanup__wchar_t_14.c
CWE459_Incomplete_Cleanup__wchar_t_14_good
void CWE459_Incomplete_Cleanup__wchar_t_14_good(void) { good1(); good2(); return; }
['gcc']
3,031
void CWE459_Incomplete_Cleanup__wchar_t_15_bad() { switch(6) { case 6: { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } break; default: /* INCIDENTAL: CWE 561 Dead Code, the code below will never run */ printLine("Benign, fixed string"); break; } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */", '/* INCIDENTAL: CWE 561 Dead Code, the code below will never run */']
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104317/CWE459_Incomplete_Cleanup__wchar_t_15.c
CWE459_Incomplete_Cleanup__wchar_t_15_bad
void CWE459_Incomplete_Cleanup__wchar_t_15_bad(void) { undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_18; long lStack_10; uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_10 = func_0x00400b80(&uStack_48); if (lStack_10 != 0) { lStack_18 = func_0x00400b40(lStack_10,&UNK_00401284); if (lStack_18 != 0) { func_0x00400b50(&UNK_0040128c,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } } return; }
['gcc']
3,032
void CWE459_Incomplete_Cleanup__wchar_t_15_good() { good1(); good2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104317/CWE459_Incomplete_Cleanup__wchar_t_15.c
CWE459_Incomplete_Cleanup__wchar_t_15_good
void CWE459_Incomplete_Cleanup__wchar_t_15_good(void) { good1(); good2(); return; }
['gcc']
3,033
void CWE459_Incomplete_Cleanup__wchar_t_16_bad() { while(1) { { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } break; } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104318/CWE459_Incomplete_Cleanup__wchar_t_16.c
CWE459_Incomplete_Cleanup__wchar_t_16_bad
void CWE459_Incomplete_Cleanup__wchar_t_16_bad(void) { undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_18; long lStack_10; uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_10 = func_0x00400b80(&uStack_48); if (lStack_10 != 0) { lStack_18 = func_0x00400b40(lStack_10,&UNK_00401284); if (lStack_18 != 0) { func_0x00400b50(&UNK_0040128c,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } } return; }
['gcc']
3,034
void CWE459_Incomplete_Cleanup__wchar_t_16_good() { good1(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104318/CWE459_Incomplete_Cleanup__wchar_t_16.c
CWE459_Incomplete_Cleanup__wchar_t_16_good
void CWE459_Incomplete_Cleanup__wchar_t_16_good(void) { good1(); return; }
['gcc']
3,035
void CWE459_Incomplete_Cleanup__wchar_t_17_bad() { int j; for(j = 0; j < 1; j++) { { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104319/CWE459_Incomplete_Cleanup__wchar_t_17.c
CWE459_Incomplete_Cleanup__wchar_t_17_bad
void CWE459_Incomplete_Cleanup__wchar_t_17_bad(void) { undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_20; long lStack_18; int iStack_c; for (iStack_c = 0; iStack_c < 1; iStack_c = iStack_c + 1) { uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_18 = func_0x00400b80(&uStack_48); if (lStack_18 != 0) { lStack_20 = func_0x00400b40(lStack_18,&UNK_004012a4); if (lStack_20 != 0) { func_0x00400b50(&UNK_004012ac,1,0xe,lStack_20); func_0x00400ab0(lStack_20); } } } return; }
['gcc']
3,036
void CWE459_Incomplete_Cleanup__wchar_t_17_good() { good1(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104319/CWE459_Incomplete_Cleanup__wchar_t_17.c
CWE459_Incomplete_Cleanup__wchar_t_17_good
void CWE459_Incomplete_Cleanup__wchar_t_17_good(void) { good1(); return; }
['gcc']
3,037
void CWE459_Incomplete_Cleanup__wchar_t_18_bad() { goto sink; sink: { wchar_t * filename; wchar_t tmpl[] = L"badXXXXXX"; FILE *pFile; /* Establish that this is a temporary file and that it should be deleted */ filename = MKTEMP(tmpl); if (filename != NULL) { pFile = FOPEN(filename, L"w"); if (pFile != NULL) { fprintf(pFile, "Temporary file"); fclose(pFile); /* FLAW: We don't unlink */ } } } }
['/* Establish that this is a temporary file and that it should be deleted */', "/* FLAW: We don't unlink */"]
['CWE459']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104320/CWE459_Incomplete_Cleanup__wchar_t_18.c
CWE459_Incomplete_Cleanup__wchar_t_18_bad
void CWE459_Incomplete_Cleanup__wchar_t_18_bad(void) { undefined8 uStack_48; undefined8 uStack_40; undefined8 uStack_38; undefined8 uStack_30; undefined8 uStack_28; long lStack_18; long lStack_10; uStack_48 = 0x6100000062; uStack_40 = 0x5800000064; uStack_38 = 0x5800000058; uStack_30 = 0x5800000058; uStack_28 = 0x58; lStack_10 = func_0x00400b80(&uStack_48); if (lStack_10 != 0) { lStack_18 = func_0x00400b40(lStack_10,&UNK_00401284); if (lStack_18 != 0) { func_0x00400b50(&UNK_0040128c,1,0xe,lStack_18); func_0x00400ab0(lStack_18); } } return; }
['gcc']
3,038
void CWE459_Incomplete_Cleanup__wchar_t_18_good() { good1(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104320/CWE459_Incomplete_Cleanup__wchar_t_18.c
CWE459_Incomplete_Cleanup__wchar_t_18_good
void CWE459_Incomplete_Cleanup__wchar_t_18_good(void) { good1(); return; }
['gcc']
3,039
void CWE464_Addition_of_Data_Structure_Sentinel__basic_01_bad() { char data; data = ' '; { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */', '/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104321/CWE464_Addition_of_Data_Structure_Sentinel__basic_01.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_01_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_01_bad(void) { undefined uStack_f; undefined uStack_e; undefined uStack_d; undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_9 = 0x20; uStack_b = func_0x00400ae0(stdin); uStack_a = 0; uStack_e = func_0x00400b10(&uStack_b); uStack_f = 0x78; uStack_d = 0x7a; uStack_c = 0; uStack_9 = uStack_e; printLine(&uStack_f); return; }
['gcc']
3,040
void CWE464_Addition_of_Data_Structure_Sentinel__basic_01_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104321/CWE464_Addition_of_Data_Structure_Sentinel__basic_01.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_01_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_01_good(void) { goodG2B(); return; }
['gcc']
3,041
void CWE464_Addition_of_Data_Structure_Sentinel__basic_02_bad() { char data; data = ' '; if(1) { { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } } { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */', '/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104322/CWE464_Addition_of_Data_Structure_Sentinel__basic_02.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_02_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_02_bad(void) { undefined uStack_f; undefined uStack_e; undefined uStack_d; undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_9 = 0x20; uStack_b = func_0x00400ae0(stdin); uStack_a = 0; uStack_e = func_0x00400b10(&uStack_b); uStack_f = 0x78; uStack_d = 0x7a; uStack_c = 0; uStack_9 = uStack_e; printLine(&uStack_f); return; }
['gcc']
3,042
void CWE464_Addition_of_Data_Structure_Sentinel__basic_02_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104322/CWE464_Addition_of_Data_Structure_Sentinel__basic_02.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_02_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_02_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
3,043
void CWE464_Addition_of_Data_Structure_Sentinel__basic_03_bad() { char data; data = ' '; if(5==5) { { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } } { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */', '/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104323/CWE464_Addition_of_Data_Structure_Sentinel__basic_03.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_03_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_03_bad(void) { undefined uStack_f; undefined uStack_e; undefined uStack_d; undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_9 = 0x20; uStack_b = func_0x00400ae0(stdin); uStack_a = 0; uStack_e = func_0x00400b10(&uStack_b); uStack_f = 0x78; uStack_d = 0x7a; uStack_c = 0; uStack_9 = uStack_e; printLine(&uStack_f); return; }
['gcc']
3,044
void CWE464_Addition_of_Data_Structure_Sentinel__basic_03_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104323/CWE464_Addition_of_Data_Structure_Sentinel__basic_03.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_03_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_03_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
3,045
void CWE464_Addition_of_Data_Structure_Sentinel__basic_04_bad() { char data; data = ' '; if(STATIC_CONST_TRUE) { { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } } { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */', '/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104324/CWE464_Addition_of_Data_Structure_Sentinel__basic_04.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_04_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_04_bad(void) { undefined uStack_f; undefined uStack_e; undefined uStack_d; undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_9 = 0x20; uStack_b = func_0x00400ae0(stdin); uStack_a = 0; uStack_e = func_0x00400b10(&uStack_b); uStack_f = 0x78; uStack_d = 0x7a; uStack_c = 0; uStack_9 = uStack_e; printLine(&uStack_f); return; }
['gcc']
3,046
void CWE464_Addition_of_Data_Structure_Sentinel__basic_04_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104324/CWE464_Addition_of_Data_Structure_Sentinel__basic_04.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_04_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_04_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
3,047
void CWE464_Addition_of_Data_Structure_Sentinel__basic_05_bad() { char data; data = ' '; if(staticTrue) { { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } } { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */', '/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104325/CWE464_Addition_of_Data_Structure_Sentinel__basic_05.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_05_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_05_bad(void) { undefined uStack_f; undefined uStack_e; undefined uStack_d; undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_9 = 0x20; if (staticTrue != 0) { uStack_b = func_0x00400ae0(stdin); uStack_a = 0; uStack_9 = func_0x00400b10(&uStack_b); } uStack_f = 0x78; uStack_e = uStack_9; uStack_d = 0x7a; uStack_c = 0; printLine(&uStack_f); return; }
['gcc']
3,048
void CWE464_Addition_of_Data_Structure_Sentinel__basic_05_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104325/CWE464_Addition_of_Data_Structure_Sentinel__basic_05.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_05_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_05_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
3,049
void CWE464_Addition_of_Data_Structure_Sentinel__basic_06_bad() { char data; data = ' '; if(STATIC_CONST_FIVE==5) { { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } } { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */', '/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104326/CWE464_Addition_of_Data_Structure_Sentinel__basic_06.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_06_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_06_bad(void) { undefined uStack_f; undefined uStack_e; undefined uStack_d; undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_9 = 0x20; uStack_b = func_0x00400ae0(stdin); uStack_a = 0; uStack_e = func_0x00400b10(&uStack_b); uStack_f = 0x78; uStack_d = 0x7a; uStack_c = 0; uStack_9 = uStack_e; printLine(&uStack_f); return; }
['gcc']
3,050
void CWE464_Addition_of_Data_Structure_Sentinel__basic_06_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104326/CWE464_Addition_of_Data_Structure_Sentinel__basic_06.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_06_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_06_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
3,051
void CWE464_Addition_of_Data_Structure_Sentinel__basic_07_bad() { char data; data = ' '; if(staticFive==5) { { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } } { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */', '/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104327/CWE464_Addition_of_Data_Structure_Sentinel__basic_07.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_07_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_07_bad(void) { undefined uStack_f; undefined uStack_e; undefined uStack_d; undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_9 = 0x20; if (staticFive == 5) { uStack_b = func_0x00400ae0(stdin); uStack_a = 0; uStack_9 = func_0x00400b10(&uStack_b); } uStack_f = 0x78; uStack_e = uStack_9; uStack_d = 0x7a; uStack_c = 0; printLine(&uStack_f); return; }
['gcc']
3,052
void CWE464_Addition_of_Data_Structure_Sentinel__basic_07_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104327/CWE464_Addition_of_Data_Structure_Sentinel__basic_07.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_07_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_07_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
3,053
void CWE464_Addition_of_Data_Structure_Sentinel__basic_08_bad() { char data; data = ' '; if(staticReturnsTrue()) { { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } } { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */', '/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104328/CWE464_Addition_of_Data_Structure_Sentinel__basic_08.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_08_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_08_bad(void) { int iVar1; undefined uStack_f; undefined uStack_e; undefined uStack_d; undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_9 = 0x20; iVar1 = staticReturnsTrue(); if (iVar1 != 0) { uStack_b = func_0x00400ae0(stdin); uStack_a = 0; uStack_9 = func_0x00400b10(&uStack_b); } uStack_f = 0x78; uStack_e = uStack_9; uStack_d = 0x7a; uStack_c = 0; printLine(&uStack_f); return; }
['gcc']
3,054
void CWE464_Addition_of_Data_Structure_Sentinel__basic_08_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104328/CWE464_Addition_of_Data_Structure_Sentinel__basic_08.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_08_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_08_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
3,055
void CWE464_Addition_of_Data_Structure_Sentinel__basic_09_bad() { char data; data = ' '; if(GLOBAL_CONST_TRUE) { { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } } { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */', '/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104329/CWE464_Addition_of_Data_Structure_Sentinel__basic_09.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_09_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_09_bad(void) { undefined uStack_f; undefined uStack_e; undefined uStack_d; undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_9 = 0x20; if (GLOBAL_CONST_TRUE != 0) { uStack_b = func_0x00400ae0(stdin); uStack_a = 0; uStack_9 = func_0x00400b10(&uStack_b); } uStack_f = 0x78; uStack_e = uStack_9; uStack_d = 0x7a; uStack_c = 0; printLine(&uStack_f); return; }
['gcc']
3,056
void CWE464_Addition_of_Data_Structure_Sentinel__basic_09_good() { goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104329/CWE464_Addition_of_Data_Structure_Sentinel__basic_09.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_09_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_09_good(void) { goodG2B1(); goodG2B2(); return; }
['gcc']
3,057
void CWE464_Addition_of_Data_Structure_Sentinel__basic_31_bad() { char data; data = ' '; { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } { char dataCopy = data; char data = dataCopy; { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } } }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */', '/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104341/CWE464_Addition_of_Data_Structure_Sentinel__basic_31.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_31_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_31_bad(void) { undefined uStack_11; undefined uStack_10; undefined uStack_f; undefined uStack_e; undefined uStack_d; undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_9 = 0x20; uStack_d = func_0x00400ae0(stdin); uStack_c = 0; uStack_10 = func_0x00400b10(&uStack_d); uStack_11 = 0x78; uStack_f = 0x7a; uStack_e = 0; uStack_b = uStack_10; uStack_a = uStack_10; uStack_9 = uStack_10; printLine(&uStack_11); return; }
['gcc']
3,058
void CWE464_Addition_of_Data_Structure_Sentinel__basic_31_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104341/CWE464_Addition_of_Data_Structure_Sentinel__basic_31.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_31_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_31_good(void) { goodG2B(); return; }
['gcc']
3,059
void CWE464_Addition_of_Data_Structure_Sentinel__basic_32_bad() { char data; char *dataPtr1 = &data; char *dataPtr2 = &data; data = ' '; { char data = *dataPtr1; { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } *dataPtr1 = data; } { char data = *dataPtr2; { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } } }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */', '/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104342/CWE464_Addition_of_Data_Structure_Sentinel__basic_32.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_32_bad
/* WARNING: Restarted to delay deadcode elimination for space: stack */ void CWE464_Addition_of_Data_Structure_Sentinel__basic_32_bad(void) { undefined uStack_21; undefined uStack_20; undefined uStack_1f; undefined uStack_1e; undefined uStack_1d; undefined uStack_1c; undefined uStack_1b; undefined uStack_1a; undefined uStack_19; undefined *puStack_18; undefined *puStack_10; puStack_10 = &uStack_1b; puStack_18 = &uStack_1b; uStack_1b = 0x20; uStack_19 = 0x20; uStack_1d = func_0x00400ae0(stdin); uStack_1c = 0; uStack_19 = func_0x00400b10(&uStack_1d); *puStack_10 = uStack_19; uStack_20 = *puStack_18; uStack_21 = 0x78; uStack_1f = 0x7a; uStack_1e = 0; uStack_1a = uStack_20; printLine(&uStack_21); return; }
['gcc']
3,060
void CWE464_Addition_of_Data_Structure_Sentinel__basic_32_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104342/CWE464_Addition_of_Data_Structure_Sentinel__basic_32.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_32_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_32_good(void) { goodG2B(); return; }
['gcc']
3,061
void CWE464_Addition_of_Data_Structure_Sentinel__basic_34_bad() { char data; CWE464_Addition_of_Data_Structure_Sentinel__basic_34_unionType myUnion; data = ' '; { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } myUnion.unionFirst = data; { char data = myUnion.unionSecond; { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } } }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */', '/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104344/CWE464_Addition_of_Data_Structure_Sentinel__basic_34.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_34_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_34_bad(void) { undefined uStack_11; undefined uStack_10; undefined uStack_f; undefined uStack_e; undefined uStack_d; undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_9 = 0x20; uStack_d = func_0x00400ae0(stdin); uStack_c = 0; uStack_10 = func_0x00400b10(&uStack_d); uStack_11 = 0x78; uStack_f = 0x7a; uStack_e = 0; uStack_b = uStack_10; uStack_a = uStack_10; uStack_9 = uStack_10; printLine(&uStack_11); return; }
['gcc']
3,062
void CWE464_Addition_of_Data_Structure_Sentinel__basic_34_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104344/CWE464_Addition_of_Data_Structure_Sentinel__basic_34.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_34_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_34_good(void) { goodG2B(); return; }
['gcc']
3,063
void CWE464_Addition_of_Data_Structure_Sentinel__basic_41_badSink(char data) { { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104345/CWE464_Addition_of_Data_Structure_Sentinel__basic_41.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_41_badSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_41_badSink(undefined param_1) { undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_c = 0x78; uStack_a = 0x7a; uStack_9 = 0; uStack_b = param_1; printLine(&uStack_c); return; }
['gcc']
3,064
void CWE464_Addition_of_Data_Structure_Sentinel__basic_41_bad() { char data; data = ' '; { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } CWE464_Addition_of_Data_Structure_Sentinel__basic_41_badSink(data); }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104345/CWE464_Addition_of_Data_Structure_Sentinel__basic_41.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_41_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_41_bad(void) { undefined uStack_b; undefined uStack_a; char cStack_9; cStack_9 = 0x20; uStack_b = func_0x00400ae0(stdin); uStack_a = 0; cStack_9 = func_0x00400b10(&uStack_b); CWE464_Addition_of_Data_Structure_Sentinel__basic_41_badSink((int)cStack_9); return; }
['gcc']
3,065
void CWE464_Addition_of_Data_Structure_Sentinel__basic_41_goodG2BSink(char data) { { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104345/CWE464_Addition_of_Data_Structure_Sentinel__basic_41.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_41_goodG2BSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_41_goodG2BSink(undefined param_1) { undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_c = 0x78; uStack_a = 0x7a; uStack_9 = 0; uStack_b = param_1; printLine(&uStack_c); return; }
['gcc']
3,066
void CWE464_Addition_of_Data_Structure_Sentinel__basic_41_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104345/CWE464_Addition_of_Data_Structure_Sentinel__basic_41.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_41_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_41_good(void) { goodG2B(); return; }
['gcc']
3,067
void CWE464_Addition_of_Data_Structure_Sentinel__basic_51_bad() { char data; data = ' '; { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } CWE464_Addition_of_Data_Structure_Sentinel__basic_51b_badSink(data); }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104350/CWE464_Addition_of_Data_Structure_Sentinel__basic_51a.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_51_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_51_bad(void) { undefined uStack_b; undefined uStack_a; char cStack_9; cStack_9 = 0x20; uStack_b = func_0x00400ae0(stdin); uStack_a = 0; cStack_9 = func_0x00400b10(&uStack_b); CWE464_Addition_of_Data_Structure_Sentinel__basic_51b_badSink((int)cStack_9); return; }
['gcc']
3,068
void CWE464_Addition_of_Data_Structure_Sentinel__basic_51_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104350/CWE464_Addition_of_Data_Structure_Sentinel__basic_51a.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_51_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_51_good(void) { goodG2B(); return; }
['gcc']
3,069
void CWE464_Addition_of_Data_Structure_Sentinel__basic_51b_badSink(char data) { { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104350/CWE464_Addition_of_Data_Structure_Sentinel__basic_51b.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_51b_badSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_51b_badSink(undefined param_1) { undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_c = 0x78; uStack_a = 0x7a; uStack_9 = 0; uStack_b = param_1; printLine(&uStack_c); return; }
['gcc']
3,070
void CWE464_Addition_of_Data_Structure_Sentinel__basic_51b_goodG2BSink(char data) { { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104350/CWE464_Addition_of_Data_Structure_Sentinel__basic_51b.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_51b_goodG2BSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_51b_goodG2BSink(undefined param_1) { undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_c = 0x78; uStack_a = 0x7a; uStack_9 = 0; uStack_b = param_1; printLine(&uStack_c); return; }
['gcc']
3,071
void CWE464_Addition_of_Data_Structure_Sentinel__basic_52_bad() { char data; data = ' '; { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } CWE464_Addition_of_Data_Structure_Sentinel__basic_52b_badSink(data); }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104351/CWE464_Addition_of_Data_Structure_Sentinel__basic_52a.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_52_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_52_bad(void) { undefined uStack_b; undefined uStack_a; char cStack_9; cStack_9 = 0x20; uStack_b = func_0x00400ae0(stdin); uStack_a = 0; cStack_9 = func_0x00400b10(&uStack_b); CWE464_Addition_of_Data_Structure_Sentinel__basic_52b_badSink((int)cStack_9); return; }
['gcc']
3,072
void CWE464_Addition_of_Data_Structure_Sentinel__basic_52_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104351/CWE464_Addition_of_Data_Structure_Sentinel__basic_52a.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_52_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_52_good(void) { goodG2B(); return; }
['gcc']
3,073
void CWE464_Addition_of_Data_Structure_Sentinel__basic_52b_badSink(char data) { CWE464_Addition_of_Data_Structure_Sentinel__basic_52c_badSink(data); }
[]
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104351/CWE464_Addition_of_Data_Structure_Sentinel__basic_52b.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_52b_badSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_52b_badSink(char param_1) { CWE464_Addition_of_Data_Structure_Sentinel__basic_52c_badSink((int)param_1); return; }
['gcc']
3,074
void CWE464_Addition_of_Data_Structure_Sentinel__basic_52b_goodG2BSink(char data) { CWE464_Addition_of_Data_Structure_Sentinel__basic_52c_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104351/CWE464_Addition_of_Data_Structure_Sentinel__basic_52b.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_52b_goodG2BSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_52b_goodG2BSink(char param_1) { CWE464_Addition_of_Data_Structure_Sentinel__basic_52c_goodG2BSink((int)param_1); return; }
['gcc']
3,075
void CWE464_Addition_of_Data_Structure_Sentinel__basic_52c_badSink(char data) { { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104351/CWE464_Addition_of_Data_Structure_Sentinel__basic_52c.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_52c_badSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_52c_badSink(undefined param_1) { undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_c = 0x78; uStack_a = 0x7a; uStack_9 = 0; uStack_b = param_1; printLine(&uStack_c); return; }
['gcc']
3,076
void CWE464_Addition_of_Data_Structure_Sentinel__basic_52c_goodG2BSink(char data) { { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104351/CWE464_Addition_of_Data_Structure_Sentinel__basic_52c.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_52c_goodG2BSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_52c_goodG2BSink(undefined param_1) { undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_c = 0x78; uStack_a = 0x7a; uStack_9 = 0; uStack_b = param_1; printLine(&uStack_c); return; }
['gcc']
3,077
void CWE464_Addition_of_Data_Structure_Sentinel__basic_53_bad() { char data; data = ' '; { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } CWE464_Addition_of_Data_Structure_Sentinel__basic_53b_badSink(data); }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104352/CWE464_Addition_of_Data_Structure_Sentinel__basic_53a.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_53_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_53_bad(void) { undefined uStack_b; undefined uStack_a; char cStack_9; cStack_9 = 0x20; uStack_b = func_0x00400ae0(stdin); uStack_a = 0; cStack_9 = func_0x00400b10(&uStack_b); CWE464_Addition_of_Data_Structure_Sentinel__basic_53b_badSink((int)cStack_9); return; }
['gcc']
3,078
void CWE464_Addition_of_Data_Structure_Sentinel__basic_53_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104352/CWE464_Addition_of_Data_Structure_Sentinel__basic_53a.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_53_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_53_good(void) { goodG2B(); return; }
['gcc']
3,079
void CWE464_Addition_of_Data_Structure_Sentinel__basic_53b_badSink(char data) { CWE464_Addition_of_Data_Structure_Sentinel__basic_53c_badSink(data); }
[]
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104352/CWE464_Addition_of_Data_Structure_Sentinel__basic_53b.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_53b_badSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_53b_badSink(char param_1) { CWE464_Addition_of_Data_Structure_Sentinel__basic_53c_badSink((int)param_1); return; }
['gcc']
3,080
void CWE464_Addition_of_Data_Structure_Sentinel__basic_53b_goodG2BSink(char data) { CWE464_Addition_of_Data_Structure_Sentinel__basic_53c_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104352/CWE464_Addition_of_Data_Structure_Sentinel__basic_53b.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_53b_goodG2BSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_53b_goodG2BSink(char param_1) { CWE464_Addition_of_Data_Structure_Sentinel__basic_53c_goodG2BSink((int)param_1); return; }
['gcc']
3,081
void CWE464_Addition_of_Data_Structure_Sentinel__basic_53c_badSink(char data) { CWE464_Addition_of_Data_Structure_Sentinel__basic_53d_badSink(data); }
[]
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104352/CWE464_Addition_of_Data_Structure_Sentinel__basic_53c.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_53c_badSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_53c_badSink(char param_1) { CWE464_Addition_of_Data_Structure_Sentinel__basic_53d_badSink((int)param_1); return; }
['gcc']
3,082
void CWE464_Addition_of_Data_Structure_Sentinel__basic_53c_goodG2BSink(char data) { CWE464_Addition_of_Data_Structure_Sentinel__basic_53d_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104352/CWE464_Addition_of_Data_Structure_Sentinel__basic_53c.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_53c_goodG2BSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_53c_goodG2BSink(char param_1) { CWE464_Addition_of_Data_Structure_Sentinel__basic_53d_goodG2BSink((int)param_1); return; }
['gcc']
3,083
void CWE464_Addition_of_Data_Structure_Sentinel__basic_53d_badSink(char data) { { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104352/CWE464_Addition_of_Data_Structure_Sentinel__basic_53d.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_53d_badSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_53d_badSink(undefined param_1) { undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_c = 0x78; uStack_a = 0x7a; uStack_9 = 0; uStack_b = param_1; printLine(&uStack_c); return; }
['gcc']
3,084
void CWE464_Addition_of_Data_Structure_Sentinel__basic_53d_goodG2BSink(char data) { { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104352/CWE464_Addition_of_Data_Structure_Sentinel__basic_53d.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_53d_goodG2BSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_53d_goodG2BSink(undefined param_1) { undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_c = 0x78; uStack_a = 0x7a; uStack_9 = 0; uStack_b = param_1; printLine(&uStack_c); return; }
['gcc']
3,085
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54_bad() { char data; data = ' '; { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } CWE464_Addition_of_Data_Structure_Sentinel__basic_54b_badSink(data); }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104353/CWE464_Addition_of_Data_Structure_Sentinel__basic_54a.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_54_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54_bad(void) { undefined uStack_b; undefined uStack_a; char cStack_9; cStack_9 = 0x20; uStack_b = func_0x00400ae0(stdin); uStack_a = 0; cStack_9 = func_0x00400b10(&uStack_b); CWE464_Addition_of_Data_Structure_Sentinel__basic_54b_badSink((int)cStack_9); return; }
['gcc']
3,086
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104353/CWE464_Addition_of_Data_Structure_Sentinel__basic_54a.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_54_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54_good(void) { goodG2B(); return; }
['gcc']
3,087
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54b_badSink(char data) { CWE464_Addition_of_Data_Structure_Sentinel__basic_54c_badSink(data); }
[]
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104353/CWE464_Addition_of_Data_Structure_Sentinel__basic_54b.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_54b_badSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54b_badSink(char param_1) { CWE464_Addition_of_Data_Structure_Sentinel__basic_54c_badSink((int)param_1); return; }
['gcc']
3,088
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54b_goodG2BSink(char data) { CWE464_Addition_of_Data_Structure_Sentinel__basic_54c_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104353/CWE464_Addition_of_Data_Structure_Sentinel__basic_54b.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_54b_goodG2BSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54b_goodG2BSink(char param_1) { CWE464_Addition_of_Data_Structure_Sentinel__basic_54c_goodG2BSink((int)param_1); return; }
['gcc']
3,089
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54c_badSink(char data) { CWE464_Addition_of_Data_Structure_Sentinel__basic_54d_badSink(data); }
[]
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104353/CWE464_Addition_of_Data_Structure_Sentinel__basic_54c.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_54c_badSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54c_badSink(char param_1) { CWE464_Addition_of_Data_Structure_Sentinel__basic_54d_badSink((int)param_1); return; }
['gcc']
3,090
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54c_goodG2BSink(char data) { CWE464_Addition_of_Data_Structure_Sentinel__basic_54d_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104353/CWE464_Addition_of_Data_Structure_Sentinel__basic_54c.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_54c_goodG2BSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54c_goodG2BSink(char param_1) { CWE464_Addition_of_Data_Structure_Sentinel__basic_54d_goodG2BSink((int)param_1); return; }
['gcc']
3,091
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54d_badSink(char data) { CWE464_Addition_of_Data_Structure_Sentinel__basic_54e_badSink(data); }
[]
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104353/CWE464_Addition_of_Data_Structure_Sentinel__basic_54d.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_54d_badSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54d_badSink(char param_1) { CWE464_Addition_of_Data_Structure_Sentinel__basic_54e_badSink((int)param_1); return; }
['gcc']
3,092
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54d_goodG2BSink(char data) { CWE464_Addition_of_Data_Structure_Sentinel__basic_54e_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104353/CWE464_Addition_of_Data_Structure_Sentinel__basic_54d.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_54d_goodG2BSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54d_goodG2BSink(char param_1) { CWE464_Addition_of_Data_Structure_Sentinel__basic_54e_goodG2BSink((int)param_1); return; }
['gcc']
3,093
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54e_badSink(char data) { { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104353/CWE464_Addition_of_Data_Structure_Sentinel__basic_54e.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_54e_badSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54e_badSink(undefined param_1) { undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_c = 0x78; uStack_a = 0x7a; uStack_9 = 0; uStack_b = param_1; printLine(&uStack_c); return; }
['gcc']
3,094
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54e_goodG2BSink(char data) { { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104353/CWE464_Addition_of_Data_Structure_Sentinel__basic_54e.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_54e_goodG2BSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_54e_goodG2BSink(undefined param_1) { undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_c = 0x78; uStack_a = 0x7a; uStack_9 = 0; uStack_b = param_1; printLine(&uStack_c); return; }
['gcc']
3,095
void CWE464_Addition_of_Data_Structure_Sentinel__basic_63_bad() { char data; data = ' '; { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } CWE464_Addition_of_Data_Structure_Sentinel__basic_63b_badSink(&data); }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104356/CWE464_Addition_of_Data_Structure_Sentinel__basic_63a.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_63_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_63_bad(void) { undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_9 = 0x20; uStack_b = func_0x00400ae0(stdin); uStack_a = 0; uStack_9 = func_0x00400b10(&uStack_b); CWE464_Addition_of_Data_Structure_Sentinel__basic_63b_badSink(&uStack_9); return; }
['gcc']
3,096
void CWE464_Addition_of_Data_Structure_Sentinel__basic_63_good() { goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104356/CWE464_Addition_of_Data_Structure_Sentinel__basic_63a.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_63_good
void CWE464_Addition_of_Data_Structure_Sentinel__basic_63_good(void) { goodG2B(); return; }
['gcc']
3,097
void CWE464_Addition_of_Data_Structure_Sentinel__basic_63b_badSink(char * dataPtr) { char data = *dataPtr; { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104356/CWE464_Addition_of_Data_Structure_Sentinel__basic_63b.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_63b_badSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_63b_badSink(undefined *param_1) { undefined uStack_d; undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_c = *param_1; uStack_d = 0x78; uStack_b = 0x7a; uStack_a = 0; uStack_9 = uStack_c; printLine(&uStack_d); return; }
['gcc']
3,098
void CWE464_Addition_of_Data_Structure_Sentinel__basic_63b_goodG2BSink(char * dataPtr) { char data = *dataPtr; { char charArraySink[4]; charArraySink[0] = 'x'; /* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */ charArraySink[1] = data; charArraySink[2] = 'z'; charArraySink[3] = '\0'; printLine(charArraySink); } }
['/* POTENTIAL FLAW: If data is null, the rest of the array will not be printed */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104356/CWE464_Addition_of_Data_Structure_Sentinel__basic_63b.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_63b_goodG2BSink
void CWE464_Addition_of_Data_Structure_Sentinel__basic_63b_goodG2BSink(undefined *param_1) { undefined uStack_d; undefined uStack_c; undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_c = *param_1; uStack_d = 0x78; uStack_b = 0x7a; uStack_a = 0; uStack_9 = uStack_c; printLine(&uStack_d); return; }
['gcc']
3,099
void CWE464_Addition_of_Data_Structure_Sentinel__basic_64_bad() { char data; data = ' '; { char charArraySource[2]; charArraySource[0] = (char)getc(stdin); charArraySource[1] = '\0'; /* FLAW: If the character entered on the command line is not an int, * a null value will be returned */ data = (char)atoi(charArraySource); } CWE464_Addition_of_Data_Structure_Sentinel__basic_64b_badSink(&data); }
['/* FLAW: If the character entered on the command line is not an int,\r\n * a null value will be returned */']
['CWE464']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/104357/CWE464_Addition_of_Data_Structure_Sentinel__basic_64a.c
CWE464_Addition_of_Data_Structure_Sentinel__basic_64_bad
void CWE464_Addition_of_Data_Structure_Sentinel__basic_64_bad(void) { undefined uStack_b; undefined uStack_a; undefined uStack_9; uStack_9 = 0x20; uStack_b = func_0x00400ae0(stdin); uStack_a = 0; uStack_9 = func_0x00400b10(&uStack_b); CWE464_Addition_of_Data_Structure_Sentinel__basic_64b_badSink(&uStack_9); return; }
['gcc']