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
1,300
void CWE415_Double_Free__malloc_free_long_66b_badSink(long * dataArray[]) { /* copy data out of dataArray */ long * data = dataArray[2]; /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* copy data out of dataArray */', '/* POTENTIAL FLAW: Possibly freeing memory twice */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101425/CWE415_Double_Free__malloc_free_long_66b.c
CWE415_Double_Free__malloc_free_long_66b_badSink
void CWE415_Double_Free__malloc_free_long_66b_badSink(long param_1) { func_0x00400a20(*(undefined8 *)(param_1 + 0x10)); return; }
['gcc']
1,301
void CWE415_Double_Free__malloc_free_long_66b_goodG2BSink(long * dataArray[]) { long * data = dataArray[2]; /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101425/CWE415_Double_Free__malloc_free_long_66b.c
CWE415_Double_Free__malloc_free_long_66b_goodG2BSink
void CWE415_Double_Free__malloc_free_long_66b_goodG2BSink(long param_1) { func_0x00400a20(*(undefined8 *)(param_1 + 0x10)); return; }
['gcc']
1,302
void CWE415_Double_Free__malloc_free_long_66b_goodB2GSink(long * dataArray[]) { long * data = dataArray[2]; /* do nothing */ /* FIX: Don't attempt to free the memory */ ; /* empty statement needed for some flow variants */ }
['/* do nothing */', "/* FIX: Don't attempt to free the memory */", '/* empty statement needed for some flow variants */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101425/CWE415_Double_Free__malloc_free_long_66b.c
CWE415_Double_Free__malloc_free_long_66b_goodB2GSink
void CWE415_Double_Free__malloc_free_long_66b_goodB2GSink(void) { return; }
['gcc']
1,303
void CWE415_Double_Free__malloc_free_long_67_bad() { long * data; CWE415_Double_Free__malloc_free_long_67_structType myStruct; /* Initialize data */ data = NULL; data = (long *)malloc(100*sizeof(long)); /* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */ free(data); myStruct.structFirst = data; CWE415_Double_Free__malloc_free_long_67b_badSink(myStruct); }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101426/CWE415_Double_Free__malloc_free_long_67a.c
CWE415_Double_Free__malloc_free_long_67_bad
void CWE415_Double_Free__malloc_free_long_67_bad(void) { undefined8 uVar1; uVar1 = func_0x00400ab0(800); func_0x00400a20(uVar1); CWE415_Double_Free__malloc_free_long_67b_badSink(uVar1); return; }
['gcc']
1,304
void CWE415_Double_Free__malloc_free_long_67_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101426/CWE415_Double_Free__malloc_free_long_67a.c
CWE415_Double_Free__malloc_free_long_67_good
void CWE415_Double_Free__malloc_free_long_67_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
1,305
void CWE415_Double_Free__malloc_free_long_67b_badSink(CWE415_Double_Free__malloc_free_long_67_structType myStruct) { long * data = myStruct.structFirst; /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101426/CWE415_Double_Free__malloc_free_long_67b.c
CWE415_Double_Free__malloc_free_long_67b_badSink
void CWE415_Double_Free__malloc_free_long_67b_badSink(undefined8 param_1) { func_0x00400a20(param_1); return; }
['gcc']
1,306
void CWE415_Double_Free__malloc_free_long_67b_goodG2BSink(CWE415_Double_Free__malloc_free_long_67_structType myStruct) { long * data = myStruct.structFirst; /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101426/CWE415_Double_Free__malloc_free_long_67b.c
CWE415_Double_Free__malloc_free_long_67b_goodG2BSink
void CWE415_Double_Free__malloc_free_long_67b_goodG2BSink(undefined8 param_1) { func_0x00400a20(param_1); return; }
['gcc']
1,307
void CWE415_Double_Free__malloc_free_long_67b_goodB2GSink(CWE415_Double_Free__malloc_free_long_67_structType myStruct) { long * data = myStruct.structFirst; /* do nothing */ /* FIX: Don't attempt to free the memory */ ; /* empty statement needed for some flow variants */ }
['/* do nothing */', "/* FIX: Don't attempt to free the memory */", '/* empty statement needed for some flow variants */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101426/CWE415_Double_Free__malloc_free_long_67b.c
CWE415_Double_Free__malloc_free_long_67b_goodB2GSink
void CWE415_Double_Free__malloc_free_long_67b_goodB2GSink(void) { return; }
['gcc']
1,308
void CWE415_Double_Free__malloc_free_struct_08_bad() { twoIntsStruct * data; /* Initialize data */ data = NULL; if(staticReturnsTrue()) { data = (twoIntsStruct *)malloc(100*sizeof(twoIntsStruct)); /* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */ free(data); } if(staticReturnsTrue()) { /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */', '/* POTENTIAL FLAW: Possibly freeing memory twice */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101442/CWE415_Double_Free__malloc_free_struct_08.c
CWE415_Double_Free__malloc_free_struct_08_bad
void CWE415_Double_Free__malloc_free_struct_08_bad(void) { int iVar1; undefined8 uStack_10; uStack_10 = 0; iVar1 = staticReturnsTrue(); if (iVar1 != 0) { uStack_10 = func_0x00400ab0(800); func_0x00400a20(uStack_10); } iVar1 = staticReturnsTrue(); if (iVar1 != 0) { func_0x00400a20(uStack_10); } return; }
['gcc']
1,309
void CWE415_Double_Free__malloc_free_struct_08_good() { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101442/CWE415_Double_Free__malloc_free_struct_08.c
CWE415_Double_Free__malloc_free_struct_08_good
void CWE415_Double_Free__malloc_free_struct_08_good(void) { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); return; }
['gcc']
1,310
void CWE415_Double_Free__malloc_free_struct_11_bad() { twoIntsStruct * data; /* Initialize data */ data = NULL; if(globalReturnsTrue()) { data = (twoIntsStruct *)malloc(100*sizeof(twoIntsStruct)); /* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */ free(data); } if(globalReturnsTrue()) { /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */', '/* POTENTIAL FLAW: Possibly freeing memory twice */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101445/CWE415_Double_Free__malloc_free_struct_11.c
CWE415_Double_Free__malloc_free_struct_11_bad
void CWE415_Double_Free__malloc_free_struct_11_bad(void) { int iVar1; undefined8 uStack_10; uStack_10 = 0; iVar1 = globalReturnsTrue(); if (iVar1 != 0) { uStack_10 = func_0x00400ab0(800); func_0x00400a20(uStack_10); } iVar1 = globalReturnsTrue(); if (iVar1 != 0) { func_0x00400a20(uStack_10); } return; }
['gcc']
1,311
void CWE415_Double_Free__malloc_free_struct_11_good() { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101445/CWE415_Double_Free__malloc_free_struct_11.c
CWE415_Double_Free__malloc_free_struct_11_good
void CWE415_Double_Free__malloc_free_struct_11_good(void) { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); return; }
['gcc']
1,312
void CWE415_Double_Free__malloc_free_struct_12_bad() { twoIntsStruct * data; /* Initialize data */ data = NULL; if(globalReturnsTrueOrFalse()) { data = (twoIntsStruct *)malloc(100*sizeof(twoIntsStruct)); /* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */ free(data); } else { data = (twoIntsStruct *)malloc(100*sizeof(twoIntsStruct)); /* FIX: Do NOT free data in the source - the bad sink frees data */ } if(globalReturnsTrueOrFalse()) { /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); } else { /* do nothing */ /* FIX: Don't attempt to free the memory */ ; /* empty statement needed for some flow variants */ } }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */', '/* FIX: Do NOT free data in the source - the bad sink frees data */', '/* POTENTIAL FLAW: Possibly freeing memory twice */', '/* do nothing */', "/* FIX: Don't attempt to free the memory */", '/* empty statement needed for some flow variants */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101446/CWE415_Double_Free__malloc_free_struct_12.c
CWE415_Double_Free__malloc_free_struct_12_bad
void CWE415_Double_Free__malloc_free_struct_12_bad(void) { int iVar1; undefined8 uStack_10; iVar1 = globalReturnsTrueOrFalse(); if (iVar1 == 0) { uStack_10 = func_0x00400ab0(800); } else { uStack_10 = func_0x00400ab0(800); func_0x00400a20(uStack_10); } iVar1 = globalReturnsTrueOrFalse(); if (iVar1 != 0) { func_0x00400a20(uStack_10); } return; }
['gcc']
1,313
void CWE415_Double_Free__malloc_free_struct_12_good() { goodB2G(); goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101446/CWE415_Double_Free__malloc_free_struct_12.c
CWE415_Double_Free__malloc_free_struct_12_good
void CWE415_Double_Free__malloc_free_struct_12_good(void) { goodB2G(); goodG2B(); return; }
['gcc']
1,314
void CWE415_Double_Free__malloc_free_struct_53_bad() { twoIntsStruct * data; /* Initialize data */ data = NULL; data = (twoIntsStruct *)malloc(100*sizeof(twoIntsStruct)); /* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */ free(data); CWE415_Double_Free__malloc_free_struct_53b_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101466/CWE415_Double_Free__malloc_free_struct_53a.c
CWE415_Double_Free__malloc_free_struct_53_bad
void CWE415_Double_Free__malloc_free_struct_53_bad(void) { undefined8 uVar1; uVar1 = func_0x00400ab0(800); func_0x00400a20(uVar1); CWE415_Double_Free__malloc_free_struct_53b_badSink(uVar1); return; }
['gcc']
1,315
void CWE415_Double_Free__malloc_free_struct_53_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101466/CWE415_Double_Free__malloc_free_struct_53a.c
CWE415_Double_Free__malloc_free_struct_53_good
void CWE415_Double_Free__malloc_free_struct_53_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
1,316
void CWE415_Double_Free__malloc_free_struct_53b_badSink(twoIntsStruct * data) { CWE415_Double_Free__malloc_free_struct_53c_badSink(data); }
[]
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101466/CWE415_Double_Free__malloc_free_struct_53b.c
CWE415_Double_Free__malloc_free_struct_53b_badSink
void CWE415_Double_Free__malloc_free_struct_53b_badSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_struct_53c_badSink(param_1); return; }
['gcc']
1,317
void CWE415_Double_Free__malloc_free_struct_53b_goodG2BSink(twoIntsStruct * data) { CWE415_Double_Free__malloc_free_struct_53c_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101466/CWE415_Double_Free__malloc_free_struct_53b.c
CWE415_Double_Free__malloc_free_struct_53b_goodG2BSink
void CWE415_Double_Free__malloc_free_struct_53b_goodG2BSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_struct_53c_goodG2BSink(param_1); return; }
['gcc']
1,318
void CWE415_Double_Free__malloc_free_struct_53b_goodB2GSink(twoIntsStruct * data) { CWE415_Double_Free__malloc_free_struct_53c_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101466/CWE415_Double_Free__malloc_free_struct_53b.c
CWE415_Double_Free__malloc_free_struct_53b_goodB2GSink
void CWE415_Double_Free__malloc_free_struct_53b_goodB2GSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_struct_53c_goodB2GSink(param_1); return; }
['gcc']
1,319
void CWE415_Double_Free__malloc_free_struct_53c_badSink(twoIntsStruct * data) { CWE415_Double_Free__malloc_free_struct_53d_badSink(data); }
[]
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101466/CWE415_Double_Free__malloc_free_struct_53c.c
CWE415_Double_Free__malloc_free_struct_53c_badSink
void CWE415_Double_Free__malloc_free_struct_53c_badSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_struct_53d_badSink(param_1); return; }
['gcc']
1,320
void CWE415_Double_Free__malloc_free_struct_53c_goodG2BSink(twoIntsStruct * data) { CWE415_Double_Free__malloc_free_struct_53d_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101466/CWE415_Double_Free__malloc_free_struct_53c.c
CWE415_Double_Free__malloc_free_struct_53c_goodG2BSink
void CWE415_Double_Free__malloc_free_struct_53c_goodG2BSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_struct_53d_goodG2BSink(param_1); return; }
['gcc']
1,321
void CWE415_Double_Free__malloc_free_struct_53c_goodB2GSink(twoIntsStruct * data) { CWE415_Double_Free__malloc_free_struct_53d_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101466/CWE415_Double_Free__malloc_free_struct_53c.c
CWE415_Double_Free__malloc_free_struct_53c_goodB2GSink
void CWE415_Double_Free__malloc_free_struct_53c_goodB2GSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_struct_53d_goodB2GSink(param_1); return; }
['gcc']
1,322
void CWE415_Double_Free__malloc_free_struct_53d_badSink(twoIntsStruct * data) { /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101466/CWE415_Double_Free__malloc_free_struct_53d.c
CWE415_Double_Free__malloc_free_struct_53d_badSink
void CWE415_Double_Free__malloc_free_struct_53d_badSink(undefined8 param_1) { func_0x00400a20(param_1); return; }
['gcc']
1,323
void CWE415_Double_Free__malloc_free_struct_53d_goodG2BSink(twoIntsStruct * data) { /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101466/CWE415_Double_Free__malloc_free_struct_53d.c
CWE415_Double_Free__malloc_free_struct_53d_goodG2BSink
void CWE415_Double_Free__malloc_free_struct_53d_goodG2BSink(undefined8 param_1) { func_0x00400a20(param_1); return; }
['gcc']
1,324
void CWE415_Double_Free__malloc_free_struct_53d_goodB2GSink(twoIntsStruct * data) { /* do nothing */ /* FIX: Don't attempt to free the memory */ ; /* empty statement needed for some flow variants */ }
['/* do nothing */', "/* FIX: Don't attempt to free the memory */", '/* empty statement needed for some flow variants */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101466/CWE415_Double_Free__malloc_free_struct_53d.c
CWE415_Double_Free__malloc_free_struct_53d_goodB2GSink
void CWE415_Double_Free__malloc_free_struct_53d_goodB2GSink(void) { return; }
['gcc']
1,325
void CWE415_Double_Free__malloc_free_struct_54_bad() { twoIntsStruct * data; /* Initialize data */ data = NULL; data = (twoIntsStruct *)malloc(100*sizeof(twoIntsStruct)); /* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */ free(data); CWE415_Double_Free__malloc_free_struct_54b_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101467/CWE415_Double_Free__malloc_free_struct_54a.c
CWE415_Double_Free__malloc_free_struct_54_bad
void CWE415_Double_Free__malloc_free_struct_54_bad(void) { undefined8 uVar1; uVar1 = func_0x00400ab0(800); func_0x00400a20(uVar1); CWE415_Double_Free__malloc_free_struct_54b_badSink(uVar1); return; }
['gcc']
1,326
void CWE415_Double_Free__malloc_free_struct_54_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101467/CWE415_Double_Free__malloc_free_struct_54a.c
CWE415_Double_Free__malloc_free_struct_54_good
void CWE415_Double_Free__malloc_free_struct_54_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
1,327
void CWE415_Double_Free__malloc_free_struct_54b_badSink(twoIntsStruct * data) { CWE415_Double_Free__malloc_free_struct_54c_badSink(data); }
[]
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101467/CWE415_Double_Free__malloc_free_struct_54b.c
CWE415_Double_Free__malloc_free_struct_54b_badSink
void CWE415_Double_Free__malloc_free_struct_54b_badSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_struct_54c_badSink(param_1); return; }
['gcc']
1,328
void CWE415_Double_Free__malloc_free_struct_54b_goodG2BSink(twoIntsStruct * data) { CWE415_Double_Free__malloc_free_struct_54c_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101467/CWE415_Double_Free__malloc_free_struct_54b.c
CWE415_Double_Free__malloc_free_struct_54b_goodG2BSink
void CWE415_Double_Free__malloc_free_struct_54b_goodG2BSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_struct_54c_goodG2BSink(param_1); return; }
['gcc']
1,329
void CWE415_Double_Free__malloc_free_struct_54b_goodB2GSink(twoIntsStruct * data) { CWE415_Double_Free__malloc_free_struct_54c_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101467/CWE415_Double_Free__malloc_free_struct_54b.c
CWE415_Double_Free__malloc_free_struct_54b_goodB2GSink
void CWE415_Double_Free__malloc_free_struct_54b_goodB2GSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_struct_54c_goodB2GSink(param_1); return; }
['gcc']
1,330
void CWE415_Double_Free__malloc_free_struct_54c_badSink(twoIntsStruct * data) { CWE415_Double_Free__malloc_free_struct_54d_badSink(data); }
[]
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101467/CWE415_Double_Free__malloc_free_struct_54c.c
CWE415_Double_Free__malloc_free_struct_54c_badSink
void CWE415_Double_Free__malloc_free_struct_54c_badSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_struct_54d_badSink(param_1); return; }
['gcc']
1,331
void CWE415_Double_Free__malloc_free_struct_54c_goodG2BSink(twoIntsStruct * data) { CWE415_Double_Free__malloc_free_struct_54d_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101467/CWE415_Double_Free__malloc_free_struct_54c.c
CWE415_Double_Free__malloc_free_struct_54c_goodG2BSink
void CWE415_Double_Free__malloc_free_struct_54c_goodG2BSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_struct_54d_goodG2BSink(param_1); return; }
['gcc']
1,332
void CWE415_Double_Free__malloc_free_struct_54c_goodB2GSink(twoIntsStruct * data) { CWE415_Double_Free__malloc_free_struct_54d_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101467/CWE415_Double_Free__malloc_free_struct_54c.c
CWE415_Double_Free__malloc_free_struct_54c_goodB2GSink
void CWE415_Double_Free__malloc_free_struct_54c_goodB2GSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_struct_54d_goodB2GSink(param_1); return; }
['gcc']
1,333
void CWE415_Double_Free__malloc_free_struct_54d_badSink(twoIntsStruct * data) { CWE415_Double_Free__malloc_free_struct_54e_badSink(data); }
[]
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101467/CWE415_Double_Free__malloc_free_struct_54d.c
CWE415_Double_Free__malloc_free_struct_54d_badSink
void CWE415_Double_Free__malloc_free_struct_54d_badSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_struct_54e_badSink(param_1); return; }
['gcc']
1,334
void CWE415_Double_Free__malloc_free_struct_54d_goodG2BSink(twoIntsStruct * data) { CWE415_Double_Free__malloc_free_struct_54e_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101467/CWE415_Double_Free__malloc_free_struct_54d.c
CWE415_Double_Free__malloc_free_struct_54d_goodG2BSink
void CWE415_Double_Free__malloc_free_struct_54d_goodG2BSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_struct_54e_goodG2BSink(param_1); return; }
['gcc']
1,335
void CWE415_Double_Free__malloc_free_struct_54d_goodB2GSink(twoIntsStruct * data) { CWE415_Double_Free__malloc_free_struct_54e_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101467/CWE415_Double_Free__malloc_free_struct_54d.c
CWE415_Double_Free__malloc_free_struct_54d_goodB2GSink
void CWE415_Double_Free__malloc_free_struct_54d_goodB2GSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_struct_54e_goodB2GSink(param_1); return; }
['gcc']
1,336
void CWE415_Double_Free__malloc_free_struct_54e_badSink(twoIntsStruct * data) { /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101467/CWE415_Double_Free__malloc_free_struct_54e.c
CWE415_Double_Free__malloc_free_struct_54e_badSink
void CWE415_Double_Free__malloc_free_struct_54e_badSink(undefined8 param_1) { func_0x00400a20(param_1); return; }
['gcc']
1,337
void CWE415_Double_Free__malloc_free_struct_54e_goodG2BSink(twoIntsStruct * data) { /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101467/CWE415_Double_Free__malloc_free_struct_54e.c
CWE415_Double_Free__malloc_free_struct_54e_goodG2BSink
void CWE415_Double_Free__malloc_free_struct_54e_goodG2BSink(undefined8 param_1) { func_0x00400a20(param_1); return; }
['gcc']
1,338
void CWE415_Double_Free__malloc_free_struct_54e_goodB2GSink(twoIntsStruct * data) { /* do nothing */ /* FIX: Don't attempt to free the memory */ ; /* empty statement needed for some flow variants */ }
['/* do nothing */', "/* FIX: Don't attempt to free the memory */", '/* empty statement needed for some flow variants */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101467/CWE415_Double_Free__malloc_free_struct_54e.c
CWE415_Double_Free__malloc_free_struct_54e_goodB2GSink
void CWE415_Double_Free__malloc_free_struct_54e_goodB2GSink(void) { return; }
['gcc']
1,339
void CWE415_Double_Free__malloc_free_struct_66_bad() { twoIntsStruct * data; twoIntsStruct * dataArray[5]; /* Initialize data */ data = NULL; data = (twoIntsStruct *)malloc(100*sizeof(twoIntsStruct)); /* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */ free(data); /* put data in array */ dataArray[2] = data; CWE415_Double_Free__malloc_free_struct_66b_badSink(dataArray); }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */', '/* put data in array */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101473/CWE415_Double_Free__malloc_free_struct_66a.c
CWE415_Double_Free__malloc_free_struct_66_bad
void CWE415_Double_Free__malloc_free_struct_66_bad(void) { undefined auStack_38 [16]; undefined8 uStack_28; undefined8 uStack_10; uStack_10 = 0; uStack_10 = func_0x00400ab0(800); func_0x00400a20(uStack_10); uStack_28 = uStack_10; CWE415_Double_Free__malloc_free_struct_66b_badSink(auStack_38); return; }
['gcc']
1,340
void CWE415_Double_Free__malloc_free_struct_66_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101473/CWE415_Double_Free__malloc_free_struct_66a.c
CWE415_Double_Free__malloc_free_struct_66_good
void CWE415_Double_Free__malloc_free_struct_66_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
1,341
void CWE415_Double_Free__malloc_free_struct_66b_badSink(twoIntsStruct * dataArray[]) { /* copy data out of dataArray */ twoIntsStruct * data = dataArray[2]; /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* copy data out of dataArray */', '/* POTENTIAL FLAW: Possibly freeing memory twice */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101473/CWE415_Double_Free__malloc_free_struct_66b.c
CWE415_Double_Free__malloc_free_struct_66b_badSink
void CWE415_Double_Free__malloc_free_struct_66b_badSink(long param_1) { func_0x00400a20(*(undefined8 *)(param_1 + 0x10)); return; }
['gcc']
1,342
void CWE415_Double_Free__malloc_free_struct_66b_goodG2BSink(twoIntsStruct * dataArray[]) { twoIntsStruct * data = dataArray[2]; /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101473/CWE415_Double_Free__malloc_free_struct_66b.c
CWE415_Double_Free__malloc_free_struct_66b_goodG2BSink
void CWE415_Double_Free__malloc_free_struct_66b_goodG2BSink(long param_1) { func_0x00400a20(*(undefined8 *)(param_1 + 0x10)); return; }
['gcc']
1,343
void CWE415_Double_Free__malloc_free_struct_66b_goodB2GSink(twoIntsStruct * dataArray[]) { twoIntsStruct * data = dataArray[2]; /* do nothing */ /* FIX: Don't attempt to free the memory */ ; /* empty statement needed for some flow variants */ }
['/* do nothing */', "/* FIX: Don't attempt to free the memory */", '/* empty statement needed for some flow variants */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101473/CWE415_Double_Free__malloc_free_struct_66b.c
CWE415_Double_Free__malloc_free_struct_66b_goodB2GSink
void CWE415_Double_Free__malloc_free_struct_66b_goodB2GSink(void) { return; }
['gcc']
1,344
void CWE415_Double_Free__malloc_free_struct_67_bad() { twoIntsStruct * data; CWE415_Double_Free__malloc_free_struct_67_structType myStruct; /* Initialize data */ data = NULL; data = (twoIntsStruct *)malloc(100*sizeof(twoIntsStruct)); /* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */ free(data); myStruct.structFirst = data; CWE415_Double_Free__malloc_free_struct_67b_badSink(myStruct); }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101474/CWE415_Double_Free__malloc_free_struct_67a.c
CWE415_Double_Free__malloc_free_struct_67_bad
void CWE415_Double_Free__malloc_free_struct_67_bad(void) { undefined8 uVar1; uVar1 = func_0x00400ab0(800); func_0x00400a20(uVar1); CWE415_Double_Free__malloc_free_struct_67b_badSink(uVar1); return; }
['gcc']
1,345
void CWE415_Double_Free__malloc_free_struct_67_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101474/CWE415_Double_Free__malloc_free_struct_67a.c
CWE415_Double_Free__malloc_free_struct_67_good
void CWE415_Double_Free__malloc_free_struct_67_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
1,346
void CWE415_Double_Free__malloc_free_struct_67b_badSink(CWE415_Double_Free__malloc_free_struct_67_structType myStruct) { twoIntsStruct * data = myStruct.structFirst; /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101474/CWE415_Double_Free__malloc_free_struct_67b.c
CWE415_Double_Free__malloc_free_struct_67b_badSink
void CWE415_Double_Free__malloc_free_struct_67b_badSink(undefined8 param_1) { func_0x00400a20(param_1); return; }
['gcc']
1,347
void CWE415_Double_Free__malloc_free_struct_67b_goodG2BSink(CWE415_Double_Free__malloc_free_struct_67_structType myStruct) { twoIntsStruct * data = myStruct.structFirst; /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101474/CWE415_Double_Free__malloc_free_struct_67b.c
CWE415_Double_Free__malloc_free_struct_67b_goodG2BSink
void CWE415_Double_Free__malloc_free_struct_67b_goodG2BSink(undefined8 param_1) { func_0x00400a20(param_1); return; }
['gcc']
1,348
void CWE415_Double_Free__malloc_free_struct_67b_goodB2GSink(CWE415_Double_Free__malloc_free_struct_67_structType myStruct) { twoIntsStruct * data = myStruct.structFirst; /* do nothing */ /* FIX: Don't attempt to free the memory */ ; /* empty statement needed for some flow variants */ }
['/* do nothing */', "/* FIX: Don't attempt to free the memory */", '/* empty statement needed for some flow variants */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101474/CWE415_Double_Free__malloc_free_struct_67b.c
CWE415_Double_Free__malloc_free_struct_67b_goodB2GSink
void CWE415_Double_Free__malloc_free_struct_67b_goodB2GSink(void) { return; }
['gcc']
1,349
void CWE415_Double_Free__malloc_free_wchar_t_53_bad() { wchar_t * data; /* Initialize data */ data = NULL; data = (wchar_t *)malloc(100*sizeof(wchar_t)); /* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */ free(data); CWE415_Double_Free__malloc_free_wchar_t_53b_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101514/CWE415_Double_Free__malloc_free_wchar_t_53a.c
CWE415_Double_Free__malloc_free_wchar_t_53_bad
void CWE415_Double_Free__malloc_free_wchar_t_53_bad(void) { undefined8 uVar1; uVar1 = func_0x00400ab0(400); func_0x00400a20(uVar1); CWE415_Double_Free__malloc_free_wchar_t_53b_badSink(uVar1); return; }
['gcc']
1,350
void CWE415_Double_Free__malloc_free_wchar_t_53_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101514/CWE415_Double_Free__malloc_free_wchar_t_53a.c
CWE415_Double_Free__malloc_free_wchar_t_53_good
void CWE415_Double_Free__malloc_free_wchar_t_53_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
1,351
void CWE415_Double_Free__malloc_free_wchar_t_53b_badSink(wchar_t * data) { CWE415_Double_Free__malloc_free_wchar_t_53c_badSink(data); }
[]
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101514/CWE415_Double_Free__malloc_free_wchar_t_53b.c
CWE415_Double_Free__malloc_free_wchar_t_53b_badSink
void CWE415_Double_Free__malloc_free_wchar_t_53b_badSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_wchar_t_53c_badSink(param_1); return; }
['gcc']
1,352
void CWE415_Double_Free__malloc_free_wchar_t_53b_goodG2BSink(wchar_t * data) { CWE415_Double_Free__malloc_free_wchar_t_53c_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101514/CWE415_Double_Free__malloc_free_wchar_t_53b.c
CWE415_Double_Free__malloc_free_wchar_t_53b_goodG2BSink
void CWE415_Double_Free__malloc_free_wchar_t_53b_goodG2BSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_wchar_t_53c_goodG2BSink(param_1); return; }
['gcc']
1,353
void CWE415_Double_Free__malloc_free_wchar_t_53b_goodB2GSink(wchar_t * data) { CWE415_Double_Free__malloc_free_wchar_t_53c_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101514/CWE415_Double_Free__malloc_free_wchar_t_53b.c
CWE415_Double_Free__malloc_free_wchar_t_53b_goodB2GSink
void CWE415_Double_Free__malloc_free_wchar_t_53b_goodB2GSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_wchar_t_53c_goodB2GSink(param_1); return; }
['gcc']
1,354
void CWE415_Double_Free__malloc_free_wchar_t_53c_badSink(wchar_t * data) { CWE415_Double_Free__malloc_free_wchar_t_53d_badSink(data); }
[]
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101514/CWE415_Double_Free__malloc_free_wchar_t_53c.c
CWE415_Double_Free__malloc_free_wchar_t_53c_badSink
void CWE415_Double_Free__malloc_free_wchar_t_53c_badSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_wchar_t_53d_badSink(param_1); return; }
['gcc']
1,355
void CWE415_Double_Free__malloc_free_wchar_t_53c_goodG2BSink(wchar_t * data) { CWE415_Double_Free__malloc_free_wchar_t_53d_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101514/CWE415_Double_Free__malloc_free_wchar_t_53c.c
CWE415_Double_Free__malloc_free_wchar_t_53c_goodG2BSink
void CWE415_Double_Free__malloc_free_wchar_t_53c_goodG2BSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_wchar_t_53d_goodG2BSink(param_1); return; }
['gcc']
1,356
void CWE415_Double_Free__malloc_free_wchar_t_53c_goodB2GSink(wchar_t * data) { CWE415_Double_Free__malloc_free_wchar_t_53d_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101514/CWE415_Double_Free__malloc_free_wchar_t_53c.c
CWE415_Double_Free__malloc_free_wchar_t_53c_goodB2GSink
void CWE415_Double_Free__malloc_free_wchar_t_53c_goodB2GSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_wchar_t_53d_goodB2GSink(param_1); return; }
['gcc']
1,357
void CWE415_Double_Free__malloc_free_wchar_t_53d_badSink(wchar_t * data) { /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101514/CWE415_Double_Free__malloc_free_wchar_t_53d.c
CWE415_Double_Free__malloc_free_wchar_t_53d_badSink
void CWE415_Double_Free__malloc_free_wchar_t_53d_badSink(undefined8 param_1) { func_0x00400a20(param_1); return; }
['gcc']
1,358
void CWE415_Double_Free__malloc_free_wchar_t_53d_goodG2BSink(wchar_t * data) { /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101514/CWE415_Double_Free__malloc_free_wchar_t_53d.c
CWE415_Double_Free__malloc_free_wchar_t_53d_goodG2BSink
void CWE415_Double_Free__malloc_free_wchar_t_53d_goodG2BSink(undefined8 param_1) { func_0x00400a20(param_1); return; }
['gcc']
1,359
void CWE415_Double_Free__malloc_free_wchar_t_53d_goodB2GSink(wchar_t * data) { /* do nothing */ /* FIX: Don't attempt to free the memory */ ; /* empty statement needed for some flow variants */ }
['/* do nothing */', "/* FIX: Don't attempt to free the memory */", '/* empty statement needed for some flow variants */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101514/CWE415_Double_Free__malloc_free_wchar_t_53d.c
CWE415_Double_Free__malloc_free_wchar_t_53d_goodB2GSink
void CWE415_Double_Free__malloc_free_wchar_t_53d_goodB2GSink(void) { return; }
['gcc']
1,360
void CWE415_Double_Free__malloc_free_wchar_t_54_bad() { wchar_t * data; /* Initialize data */ data = NULL; data = (wchar_t *)malloc(100*sizeof(wchar_t)); /* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */ free(data); CWE415_Double_Free__malloc_free_wchar_t_54b_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101515/CWE415_Double_Free__malloc_free_wchar_t_54a.c
CWE415_Double_Free__malloc_free_wchar_t_54_bad
void CWE415_Double_Free__malloc_free_wchar_t_54_bad(void) { undefined8 uVar1; uVar1 = func_0x00400ab0(400); func_0x00400a20(uVar1); CWE415_Double_Free__malloc_free_wchar_t_54b_badSink(uVar1); return; }
['gcc']
1,361
void CWE415_Double_Free__malloc_free_wchar_t_54_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101515/CWE415_Double_Free__malloc_free_wchar_t_54a.c
CWE415_Double_Free__malloc_free_wchar_t_54_good
void CWE415_Double_Free__malloc_free_wchar_t_54_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
1,362
void CWE415_Double_Free__malloc_free_wchar_t_54b_badSink(wchar_t * data) { CWE415_Double_Free__malloc_free_wchar_t_54c_badSink(data); }
[]
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101515/CWE415_Double_Free__malloc_free_wchar_t_54b.c
CWE415_Double_Free__malloc_free_wchar_t_54b_badSink
void CWE415_Double_Free__malloc_free_wchar_t_54b_badSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_wchar_t_54c_badSink(param_1); return; }
['gcc']
1,363
void CWE415_Double_Free__malloc_free_wchar_t_54b_goodG2BSink(wchar_t * data) { CWE415_Double_Free__malloc_free_wchar_t_54c_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101515/CWE415_Double_Free__malloc_free_wchar_t_54b.c
CWE415_Double_Free__malloc_free_wchar_t_54b_goodG2BSink
void CWE415_Double_Free__malloc_free_wchar_t_54b_goodG2BSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_wchar_t_54c_goodG2BSink(param_1); return; }
['gcc']
1,364
void CWE415_Double_Free__malloc_free_wchar_t_54b_goodB2GSink(wchar_t * data) { CWE415_Double_Free__malloc_free_wchar_t_54c_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101515/CWE415_Double_Free__malloc_free_wchar_t_54b.c
CWE415_Double_Free__malloc_free_wchar_t_54b_goodB2GSink
void CWE415_Double_Free__malloc_free_wchar_t_54b_goodB2GSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_wchar_t_54c_goodB2GSink(param_1); return; }
['gcc']
1,365
void CWE415_Double_Free__malloc_free_wchar_t_54c_badSink(wchar_t * data) { CWE415_Double_Free__malloc_free_wchar_t_54d_badSink(data); }
[]
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101515/CWE415_Double_Free__malloc_free_wchar_t_54c.c
CWE415_Double_Free__malloc_free_wchar_t_54c_badSink
void CWE415_Double_Free__malloc_free_wchar_t_54c_badSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_wchar_t_54d_badSink(param_1); return; }
['gcc']
1,366
void CWE415_Double_Free__malloc_free_wchar_t_54c_goodG2BSink(wchar_t * data) { CWE415_Double_Free__malloc_free_wchar_t_54d_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101515/CWE415_Double_Free__malloc_free_wchar_t_54c.c
CWE415_Double_Free__malloc_free_wchar_t_54c_goodG2BSink
void CWE415_Double_Free__malloc_free_wchar_t_54c_goodG2BSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_wchar_t_54d_goodG2BSink(param_1); return; }
['gcc']
1,367
void CWE415_Double_Free__malloc_free_wchar_t_54c_goodB2GSink(wchar_t * data) { CWE415_Double_Free__malloc_free_wchar_t_54d_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101515/CWE415_Double_Free__malloc_free_wchar_t_54c.c
CWE415_Double_Free__malloc_free_wchar_t_54c_goodB2GSink
void CWE415_Double_Free__malloc_free_wchar_t_54c_goodB2GSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_wchar_t_54d_goodB2GSink(param_1); return; }
['gcc']
1,368
void CWE415_Double_Free__malloc_free_wchar_t_54d_badSink(wchar_t * data) { CWE415_Double_Free__malloc_free_wchar_t_54e_badSink(data); }
[]
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101515/CWE415_Double_Free__malloc_free_wchar_t_54d.c
CWE415_Double_Free__malloc_free_wchar_t_54d_badSink
void CWE415_Double_Free__malloc_free_wchar_t_54d_badSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_wchar_t_54e_badSink(param_1); return; }
['gcc']
1,369
void CWE415_Double_Free__malloc_free_wchar_t_54d_goodG2BSink(wchar_t * data) { CWE415_Double_Free__malloc_free_wchar_t_54e_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101515/CWE415_Double_Free__malloc_free_wchar_t_54d.c
CWE415_Double_Free__malloc_free_wchar_t_54d_goodG2BSink
void CWE415_Double_Free__malloc_free_wchar_t_54d_goodG2BSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_wchar_t_54e_goodG2BSink(param_1); return; }
['gcc']
1,370
void CWE415_Double_Free__malloc_free_wchar_t_54d_goodB2GSink(wchar_t * data) { CWE415_Double_Free__malloc_free_wchar_t_54e_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101515/CWE415_Double_Free__malloc_free_wchar_t_54d.c
CWE415_Double_Free__malloc_free_wchar_t_54d_goodB2GSink
void CWE415_Double_Free__malloc_free_wchar_t_54d_goodB2GSink(undefined8 param_1) { CWE415_Double_Free__malloc_free_wchar_t_54e_goodB2GSink(param_1); return; }
['gcc']
1,371
void CWE415_Double_Free__malloc_free_wchar_t_54e_badSink(wchar_t * data) { /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101515/CWE415_Double_Free__malloc_free_wchar_t_54e.c
CWE415_Double_Free__malloc_free_wchar_t_54e_badSink
void CWE415_Double_Free__malloc_free_wchar_t_54e_badSink(undefined8 param_1) { func_0x00400a20(param_1); return; }
['gcc']
1,372
void CWE415_Double_Free__malloc_free_wchar_t_54e_goodG2BSink(wchar_t * data) { /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101515/CWE415_Double_Free__malloc_free_wchar_t_54e.c
CWE415_Double_Free__malloc_free_wchar_t_54e_goodG2BSink
void CWE415_Double_Free__malloc_free_wchar_t_54e_goodG2BSink(undefined8 param_1) { func_0x00400a20(param_1); return; }
['gcc']
1,373
void CWE415_Double_Free__malloc_free_wchar_t_54e_goodB2GSink(wchar_t * data) { /* do nothing */ /* FIX: Don't attempt to free the memory */ ; /* empty statement needed for some flow variants */ }
['/* do nothing */', "/* FIX: Don't attempt to free the memory */", '/* empty statement needed for some flow variants */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101515/CWE415_Double_Free__malloc_free_wchar_t_54e.c
CWE415_Double_Free__malloc_free_wchar_t_54e_goodB2GSink
void CWE415_Double_Free__malloc_free_wchar_t_54e_goodB2GSink(void) { return; }
['gcc']
1,374
void CWE415_Double_Free__malloc_free_wchar_t_66_bad() { wchar_t * data; wchar_t * dataArray[5]; /* Initialize data */ data = NULL; data = (wchar_t *)malloc(100*sizeof(wchar_t)); /* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */ free(data); /* put data in array */ dataArray[2] = data; CWE415_Double_Free__malloc_free_wchar_t_66b_badSink(dataArray); }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */', '/* put data in array */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101521/CWE415_Double_Free__malloc_free_wchar_t_66a.c
CWE415_Double_Free__malloc_free_wchar_t_66_bad
void CWE415_Double_Free__malloc_free_wchar_t_66_bad(void) { undefined auStack_38 [16]; undefined8 uStack_28; undefined8 uStack_10; uStack_10 = 0; uStack_10 = func_0x00400ab0(400); func_0x00400a20(uStack_10); uStack_28 = uStack_10; CWE415_Double_Free__malloc_free_wchar_t_66b_badSink(auStack_38); return; }
['gcc']
1,375
void CWE415_Double_Free__malloc_free_wchar_t_66_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101521/CWE415_Double_Free__malloc_free_wchar_t_66a.c
CWE415_Double_Free__malloc_free_wchar_t_66_good
void CWE415_Double_Free__malloc_free_wchar_t_66_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
1,376
void CWE415_Double_Free__malloc_free_wchar_t_66b_badSink(wchar_t * dataArray[]) { /* copy data out of dataArray */ wchar_t * data = dataArray[2]; /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* copy data out of dataArray */', '/* POTENTIAL FLAW: Possibly freeing memory twice */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101521/CWE415_Double_Free__malloc_free_wchar_t_66b.c
CWE415_Double_Free__malloc_free_wchar_t_66b_badSink
void CWE415_Double_Free__malloc_free_wchar_t_66b_badSink(long param_1) { func_0x00400a20(*(undefined8 *)(param_1 + 0x10)); return; }
['gcc']
1,377
void CWE415_Double_Free__malloc_free_wchar_t_66b_goodG2BSink(wchar_t * dataArray[]) { wchar_t * data = dataArray[2]; /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101521/CWE415_Double_Free__malloc_free_wchar_t_66b.c
CWE415_Double_Free__malloc_free_wchar_t_66b_goodG2BSink
void CWE415_Double_Free__malloc_free_wchar_t_66b_goodG2BSink(long param_1) { func_0x00400a20(*(undefined8 *)(param_1 + 0x10)); return; }
['gcc']
1,378
void CWE415_Double_Free__malloc_free_wchar_t_66b_goodB2GSink(wchar_t * dataArray[]) { wchar_t * data = dataArray[2]; /* do nothing */ /* FIX: Don't attempt to free the memory */ ; /* empty statement needed for some flow variants */ }
['/* do nothing */', "/* FIX: Don't attempt to free the memory */", '/* empty statement needed for some flow variants */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101521/CWE415_Double_Free__malloc_free_wchar_t_66b.c
CWE415_Double_Free__malloc_free_wchar_t_66b_goodB2GSink
void CWE415_Double_Free__malloc_free_wchar_t_66b_goodB2GSink(void) { return; }
['gcc']
1,379
void CWE415_Double_Free__malloc_free_wchar_t_67_bad() { wchar_t * data; CWE415_Double_Free__malloc_free_wchar_t_67_structType myStruct; /* Initialize data */ data = NULL; data = (wchar_t *)malloc(100*sizeof(wchar_t)); /* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */ free(data); myStruct.structFirst = data; CWE415_Double_Free__malloc_free_wchar_t_67b_badSink(myStruct); }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink frees data as well */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101522/CWE415_Double_Free__malloc_free_wchar_t_67a.c
CWE415_Double_Free__malloc_free_wchar_t_67_bad
void CWE415_Double_Free__malloc_free_wchar_t_67_bad(void) { undefined8 uVar1; uVar1 = func_0x00400ab0(400); func_0x00400a20(uVar1); CWE415_Double_Free__malloc_free_wchar_t_67b_badSink(uVar1); return; }
['gcc']
1,380
void CWE415_Double_Free__malloc_free_wchar_t_67_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101522/CWE415_Double_Free__malloc_free_wchar_t_67a.c
CWE415_Double_Free__malloc_free_wchar_t_67_good
void CWE415_Double_Free__malloc_free_wchar_t_67_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
1,381
void CWE415_Double_Free__malloc_free_wchar_t_67b_badSink(CWE415_Double_Free__malloc_free_wchar_t_67_structType myStruct) { wchar_t * data = myStruct.structFirst; /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
['CWE415']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101522/CWE415_Double_Free__malloc_free_wchar_t_67b.c
CWE415_Double_Free__malloc_free_wchar_t_67b_badSink
void CWE415_Double_Free__malloc_free_wchar_t_67b_badSink(undefined8 param_1) { func_0x00400a20(param_1); return; }
['gcc']
1,382
void CWE415_Double_Free__malloc_free_wchar_t_67b_goodG2BSink(CWE415_Double_Free__malloc_free_wchar_t_67_structType myStruct) { wchar_t * data = myStruct.structFirst; /* POTENTIAL FLAW: Possibly freeing memory twice */ free(data); }
['/* POTENTIAL FLAW: Possibly freeing memory twice */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101522/CWE415_Double_Free__malloc_free_wchar_t_67b.c
CWE415_Double_Free__malloc_free_wchar_t_67b_goodG2BSink
void CWE415_Double_Free__malloc_free_wchar_t_67b_goodG2BSink(undefined8 param_1) { func_0x00400a20(param_1); return; }
['gcc']
1,383
void CWE415_Double_Free__malloc_free_wchar_t_67b_goodB2GSink(CWE415_Double_Free__malloc_free_wchar_t_67_structType myStruct) { wchar_t * data = myStruct.structFirst; /* do nothing */ /* FIX: Don't attempt to free the memory */ ; /* empty statement needed for some flow variants */ }
['/* do nothing */', "/* FIX: Don't attempt to free the memory */", '/* empty statement needed for some flow variants */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/101522/CWE415_Double_Free__malloc_free_wchar_t_67b.c
CWE415_Double_Free__malloc_free_wchar_t_67b_goodB2GSink
void CWE415_Double_Free__malloc_free_wchar_t_67b_goodB2GSink(void) { return; }
['gcc']
1,384
void CWE416_Use_After_Free__malloc_free_char_01_bad() { char * data; /* Initialize data */ data = NULL; data = (char *)malloc(100*sizeof(char)); memset(data, 'A', 100-1); data[100-1] = '\0'; /* POTENTIAL FLAW: Free data in the source - the bad sink attempts to use data */ free(data); /* POTENTIAL FLAW: Use of data that may have been freed */ printLine(data); /* POTENTIAL INCIDENTAL - Possible memory leak here if data was not freed */ }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink attempts to use data */', '/* POTENTIAL FLAW: Use of data that may have been freed */', '/* POTENTIAL INCIDENTAL - Possible memory leak here if data was not freed */']
['CWE416']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/102205/CWE416_Use_After_Free__malloc_free_char_01.c
CWE416_Use_After_Free__malloc_free_char_01_bad
void CWE416_Use_After_Free__malloc_free_char_01_bad(void) { long lVar1; lVar1 = func_0x00400b00(100); func_0x00400aa0(lVar1,0x41,99); *(undefined *)(lVar1 + 99) = 0; func_0x00400a60(lVar1); printLine(lVar1); return; }
['gcc']
1,385
void CWE416_Use_After_Free__malloc_free_char_01_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/102205/CWE416_Use_After_Free__malloc_free_char_01.c
CWE416_Use_After_Free__malloc_free_char_01_good
void CWE416_Use_After_Free__malloc_free_char_01_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
1,386
void CWE416_Use_After_Free__malloc_free_char_02_bad() { char * data; /* Initialize data */ data = NULL; if(1) { data = (char *)malloc(100*sizeof(char)); memset(data, 'A', 100-1); data[100-1] = '\0'; /* POTENTIAL FLAW: Free data in the source - the bad sink attempts to use data */ free(data); } if(1) { /* POTENTIAL FLAW: Use of data that may have been freed */ printLine(data); /* POTENTIAL INCIDENTAL - Possible memory leak here if data was not freed */ } }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink attempts to use data */', '/* POTENTIAL FLAW: Use of data that may have been freed */', '/* POTENTIAL INCIDENTAL - Possible memory leak here if data was not freed */']
['CWE416']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/102206/CWE416_Use_After_Free__malloc_free_char_02.c
CWE416_Use_After_Free__malloc_free_char_02_bad
void CWE416_Use_After_Free__malloc_free_char_02_bad(void) { long lVar1; lVar1 = func_0x00400b00(100); func_0x00400aa0(lVar1,0x41,99); *(undefined *)(lVar1 + 99) = 0; func_0x00400a60(lVar1); printLine(lVar1); return; }
['gcc']
1,387
void CWE416_Use_After_Free__malloc_free_char_02_good() { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/102206/CWE416_Use_After_Free__malloc_free_char_02.c
CWE416_Use_After_Free__malloc_free_char_02_good
void CWE416_Use_After_Free__malloc_free_char_02_good(void) { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); return; }
['gcc']
1,388
void CWE416_Use_After_Free__malloc_free_char_03_bad() { char * data; /* Initialize data */ data = NULL; if(5==5) { data = (char *)malloc(100*sizeof(char)); memset(data, 'A', 100-1); data[100-1] = '\0'; /* POTENTIAL FLAW: Free data in the source - the bad sink attempts to use data */ free(data); } if(5==5) { /* POTENTIAL FLAW: Use of data that may have been freed */ printLine(data); /* POTENTIAL INCIDENTAL - Possible memory leak here if data was not freed */ } }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink attempts to use data */', '/* POTENTIAL FLAW: Use of data that may have been freed */', '/* POTENTIAL INCIDENTAL - Possible memory leak here if data was not freed */']
['CWE416']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/102207/CWE416_Use_After_Free__malloc_free_char_03.c
CWE416_Use_After_Free__malloc_free_char_03_bad
void CWE416_Use_After_Free__malloc_free_char_03_bad(void) { long lVar1; lVar1 = func_0x00400b00(100); func_0x00400aa0(lVar1,0x41,99); *(undefined *)(lVar1 + 99) = 0; func_0x00400a60(lVar1); printLine(lVar1); return; }
['gcc']
1,389
void CWE416_Use_After_Free__malloc_free_char_03_good() { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/102207/CWE416_Use_After_Free__malloc_free_char_03.c
CWE416_Use_After_Free__malloc_free_char_03_good
void CWE416_Use_After_Free__malloc_free_char_03_good(void) { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); return; }
['gcc']
1,390
void CWE416_Use_After_Free__malloc_free_char_04_bad() { char * data; /* Initialize data */ data = NULL; if(STATIC_CONST_TRUE) { data = (char *)malloc(100*sizeof(char)); memset(data, 'A', 100-1); data[100-1] = '\0'; /* POTENTIAL FLAW: Free data in the source - the bad sink attempts to use data */ free(data); } if(STATIC_CONST_TRUE) { /* POTENTIAL FLAW: Use of data that may have been freed */ printLine(data); /* POTENTIAL INCIDENTAL - Possible memory leak here if data was not freed */ } }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink attempts to use data */', '/* POTENTIAL FLAW: Use of data that may have been freed */', '/* POTENTIAL INCIDENTAL - Possible memory leak here if data was not freed */']
['CWE416']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/102208/CWE416_Use_After_Free__malloc_free_char_04.c
CWE416_Use_After_Free__malloc_free_char_04_bad
void CWE416_Use_After_Free__malloc_free_char_04_bad(void) { long lVar1; lVar1 = func_0x00400b00(100); func_0x00400aa0(lVar1,0x41,99); *(undefined *)(lVar1 + 99) = 0; func_0x00400a60(lVar1); printLine(lVar1); return; }
['gcc']
1,391
void CWE416_Use_After_Free__malloc_free_char_04_good() { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/102208/CWE416_Use_After_Free__malloc_free_char_04.c
CWE416_Use_After_Free__malloc_free_char_04_good
void CWE416_Use_After_Free__malloc_free_char_04_good(void) { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); return; }
['gcc']
1,392
void CWE416_Use_After_Free__malloc_free_char_05_bad() { char * data; /* Initialize data */ data = NULL; if(staticTrue) { data = (char *)malloc(100*sizeof(char)); memset(data, 'A', 100-1); data[100-1] = '\0'; /* POTENTIAL FLAW: Free data in the source - the bad sink attempts to use data */ free(data); } if(staticTrue) { /* POTENTIAL FLAW: Use of data that may have been freed */ printLine(data); /* POTENTIAL INCIDENTAL - Possible memory leak here if data was not freed */ } }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink attempts to use data */', '/* POTENTIAL FLAW: Use of data that may have been freed */', '/* POTENTIAL INCIDENTAL - Possible memory leak here if data was not freed */']
['CWE416']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/102209/CWE416_Use_After_Free__malloc_free_char_05.c
CWE416_Use_After_Free__malloc_free_char_05_bad
void CWE416_Use_After_Free__malloc_free_char_05_bad(void) { long lStack_10; lStack_10 = 0; if (staticTrue != 0) { lStack_10 = func_0x00400b00(100); func_0x00400aa0(lStack_10,0x41,99); *(undefined *)(lStack_10 + 99) = 0; func_0x00400a60(lStack_10); } if (staticTrue != 0) { printLine(lStack_10); } return; }
['gcc']
1,393
void CWE416_Use_After_Free__malloc_free_char_05_good() { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/102209/CWE416_Use_After_Free__malloc_free_char_05.c
CWE416_Use_After_Free__malloc_free_char_05_good
void CWE416_Use_After_Free__malloc_free_char_05_good(void) { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); return; }
['gcc']
1,394
void CWE416_Use_After_Free__malloc_free_char_06_bad() { char * data; /* Initialize data */ data = NULL; if(STATIC_CONST_FIVE==5) { data = (char *)malloc(100*sizeof(char)); memset(data, 'A', 100-1); data[100-1] = '\0'; /* POTENTIAL FLAW: Free data in the source - the bad sink attempts to use data */ free(data); } if(STATIC_CONST_FIVE==5) { /* POTENTIAL FLAW: Use of data that may have been freed */ printLine(data); /* POTENTIAL INCIDENTAL - Possible memory leak here if data was not freed */ } }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink attempts to use data */', '/* POTENTIAL FLAW: Use of data that may have been freed */', '/* POTENTIAL INCIDENTAL - Possible memory leak here if data was not freed */']
['CWE416']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/102210/CWE416_Use_After_Free__malloc_free_char_06.c
CWE416_Use_After_Free__malloc_free_char_06_bad
void CWE416_Use_After_Free__malloc_free_char_06_bad(void) { long lVar1; lVar1 = func_0x00400b00(100); func_0x00400aa0(lVar1,0x41,99); *(undefined *)(lVar1 + 99) = 0; func_0x00400a60(lVar1); printLine(lVar1); return; }
['gcc']
1,395
void CWE416_Use_After_Free__malloc_free_char_06_good() { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/102210/CWE416_Use_After_Free__malloc_free_char_06.c
CWE416_Use_After_Free__malloc_free_char_06_good
void CWE416_Use_After_Free__malloc_free_char_06_good(void) { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); return; }
['gcc']
1,396
void CWE416_Use_After_Free__malloc_free_char_07_bad() { char * data; /* Initialize data */ data = NULL; if(staticFive==5) { data = (char *)malloc(100*sizeof(char)); memset(data, 'A', 100-1); data[100-1] = '\0'; /* POTENTIAL FLAW: Free data in the source - the bad sink attempts to use data */ free(data); } if(staticFive==5) { /* POTENTIAL FLAW: Use of data that may have been freed */ printLine(data); /* POTENTIAL INCIDENTAL - Possible memory leak here if data was not freed */ } }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink attempts to use data */', '/* POTENTIAL FLAW: Use of data that may have been freed */', '/* POTENTIAL INCIDENTAL - Possible memory leak here if data was not freed */']
['CWE416']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/102211/CWE416_Use_After_Free__malloc_free_char_07.c
CWE416_Use_After_Free__malloc_free_char_07_bad
void CWE416_Use_After_Free__malloc_free_char_07_bad(void) { long lStack_10; lStack_10 = 0; if (staticFive == 5) { lStack_10 = func_0x00400b00(100); func_0x00400aa0(lStack_10,0x41,99); *(undefined *)(lStack_10 + 99) = 0; func_0x00400a60(lStack_10); } if (staticFive == 5) { printLine(lStack_10); } return; }
['gcc']
1,397
void CWE416_Use_After_Free__malloc_free_char_07_good() { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/102211/CWE416_Use_After_Free__malloc_free_char_07.c
CWE416_Use_After_Free__malloc_free_char_07_good
void CWE416_Use_After_Free__malloc_free_char_07_good(void) { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); return; }
['gcc']
1,398
void CWE416_Use_After_Free__malloc_free_char_08_bad() { char * data; /* Initialize data */ data = NULL; if(staticReturnsTrue()) { data = (char *)malloc(100*sizeof(char)); memset(data, 'A', 100-1); data[100-1] = '\0'; /* POTENTIAL FLAW: Free data in the source - the bad sink attempts to use data */ free(data); } if(staticReturnsTrue()) { /* POTENTIAL FLAW: Use of data that may have been freed */ printLine(data); /* POTENTIAL INCIDENTAL - Possible memory leak here if data was not freed */ } }
['/* Initialize data */', '/* POTENTIAL FLAW: Free data in the source - the bad sink attempts to use data */', '/* POTENTIAL FLAW: Use of data that may have been freed */', '/* POTENTIAL INCIDENTAL - Possible memory leak here if data was not freed */']
['CWE416']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/102212/CWE416_Use_After_Free__malloc_free_char_08.c
CWE416_Use_After_Free__malloc_free_char_08_bad
void CWE416_Use_After_Free__malloc_free_char_08_bad(void) { int iVar1; long lStack_10; lStack_10 = 0; iVar1 = staticReturnsTrue(); if (iVar1 != 0) { lStack_10 = func_0x00400b00(100); func_0x00400aa0(lStack_10,0x41,99); *(undefined *)(lStack_10 + 99) = 0; func_0x00400a60(lStack_10); } iVar1 = staticReturnsTrue(); if (iVar1 != 0) { printLine(lStack_10); } return; }
['gcc']
1,399
void CWE416_Use_After_Free__malloc_free_char_08_good() { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/102212/CWE416_Use_After_Free__malloc_free_char_08.c
CWE416_Use_After_Free__malloc_free_char_08_good
void CWE416_Use_After_Free__malloc_free_char_08_good(void) { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); return; }
['gcc']