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 |
|---|---|---|---|---|---|---|---|---|
18,400 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64418/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,401 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52b_badSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52c_badSink(data);
} | [] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64418/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52b_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52b_badSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52c_badSink(param_1);
return;
}
| ['gcc'] |
18,402 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52b_goodG2BSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52c_goodG2BSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64418/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52b_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52b_goodG2BSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52c_goodG2BSink(param_1);
return;
}
| ['gcc'] |
18,403 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52c_badSink(int64_t * data)
{
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memmove(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64418/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52c.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52c_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52c_badSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_328 [100];
puVar2 = auStack_328;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a80(param_1,auStack_328,800);
printLongLongLine(*param_1);
return;
}
| ['gcc'] |
18,404 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52c_goodG2BSink(int64_t * data)
{
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memmove(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64418/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52c.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52c_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_52c_goodG2BSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_328 [100];
puVar2 = auStack_328;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a80(param_1,auStack_328,800);
printLongLongLine(*param_1);
return;
}
| ['gcc'] |
18,405 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53_bad()
{
int64_t * data;
int64_t * dataBadBuffer = (int64_t *)ALLOCA(50*sizeof(int64_t));
int64_t * dataGoodBuffer = (int64_t *)ALLOCA(100*sizeof(int64_t));
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53b_badSink(data);
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64419/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53_bad(void)
{
undefined auStack_4f0 [816];
undefined auStack_1c0 [416];
undefined *puStack_20;
undefined *puStack_18;
undefined *puStack_10;
puStack_20 = auStack_1c0;
puStack_18 = auStack_4f0;
puStack_10 = puStack_20;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53b_badSink(puStack_20,0x10,7);
return;
}
| ['gcc'] |
18,406 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64419/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,407 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53b_badSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53c_badSink(data);
} | [] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64419/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53b_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53b_badSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53c_badSink(param_1);
return;
}
| ['gcc'] |
18,408 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53b_goodG2BSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53c_goodG2BSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64419/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53b_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53b_goodG2BSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53c_goodG2BSink(param_1);
return;
}
| ['gcc'] |
18,409 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53c_badSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53d_badSink(data);
} | [] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64419/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53c.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53c_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53c_badSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53d_badSink(param_1);
return;
}
| ['gcc'] |
18,410 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53c_goodG2BSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53d_goodG2BSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64419/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53c.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53c_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53c_goodG2BSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53d_goodG2BSink(param_1);
return;
}
| ['gcc'] |
18,411 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53d_badSink(int64_t * data)
{
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memmove(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64419/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53d.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53d_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53d_badSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_328 [100];
puVar2 = auStack_328;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a80(param_1,auStack_328,800);
printLongLongLine(*param_1);
return;
}
| ['gcc'] |
18,412 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53d_goodG2BSink(int64_t * data)
{
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memmove(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64419/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53d.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53d_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_53d_goodG2BSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_328 [100];
puVar2 = auStack_328;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a80(param_1,auStack_328,800);
printLongLongLine(*param_1);
return;
}
| ['gcc'] |
18,413 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54_bad()
{
int64_t * data;
int64_t * dataBadBuffer = (int64_t *)ALLOCA(50*sizeof(int64_t));
int64_t * dataGoodBuffer = (int64_t *)ALLOCA(100*sizeof(int64_t));
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54b_badSink(data);
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64420/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54_bad(void)
{
undefined auStack_4f0 [816];
undefined auStack_1c0 [416];
undefined *puStack_20;
undefined *puStack_18;
undefined *puStack_10;
puStack_20 = auStack_1c0;
puStack_18 = auStack_4f0;
puStack_10 = puStack_20;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54b_badSink(puStack_20,0x10,7);
return;
}
| ['gcc'] |
18,414 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64420/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,415 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54b_badSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54c_badSink(data);
} | [] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64420/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54b_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54b_badSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54c_badSink(param_1);
return;
}
| ['gcc'] |
18,416 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54b_goodG2BSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54c_goodG2BSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64420/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54b_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54b_goodG2BSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54c_goodG2BSink(param_1);
return;
}
| ['gcc'] |
18,417 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54c_badSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54d_badSink(data);
} | [] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64420/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54c.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54c_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54c_badSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54d_badSink(param_1);
return;
}
| ['gcc'] |
18,418 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54c_goodG2BSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54d_goodG2BSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64420/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54c.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54c_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54c_goodG2BSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54d_goodG2BSink(param_1);
return;
}
| ['gcc'] |
18,419 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54d_badSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54e_badSink(data);
} | [] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64420/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54d.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54d_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54d_badSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54e_badSink(param_1);
return;
}
| ['gcc'] |
18,420 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54d_goodG2BSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54e_goodG2BSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64420/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54d.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54d_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54d_goodG2BSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54e_goodG2BSink(param_1);
return;
}
| ['gcc'] |
18,421 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54e_badSink(int64_t * data)
{
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memmove(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64420/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54e.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54e_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54e_badSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_328 [100];
puVar2 = auStack_328;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a80(param_1,auStack_328,800);
printLongLongLine(*param_1);
return;
}
| ['gcc'] |
18,422 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54e_goodG2BSink(int64_t * data)
{
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memmove(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64420/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54e.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54e_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_54e_goodG2BSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_328 [100];
puVar2 = auStack_328;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a80(param_1,auStack_328,800);
printLongLongLine(*param_1);
return;
}
| ['gcc'] |
18,423 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63_bad()
{
int64_t * data;
int64_t * dataBadBuffer = (int64_t *)ALLOCA(50*sizeof(int64_t));
int64_t * dataGoodBuffer = (int64_t *)ALLOCA(100*sizeof(int64_t));
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63b_badSink(&data);
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64421/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63_bad(void)
{
undefined auStack_4f0 [816];
undefined auStack_1c0 [416];
undefined *puStack_20;
undefined *puStack_18;
undefined *puStack_10;
puStack_20 = auStack_1c0;
puStack_18 = auStack_4f0;
puStack_10 = puStack_20;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63b_badSink(&puStack_20,0x10,7);
return;
}
| ['gcc'] |
18,424 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64421/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,425 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63b_badSink(int64_t * * dataPtr)
{
int64_t * data = *dataPtr;
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memmove(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64421/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63b_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63b_badSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_338 [101];
undefined8 *puStack_10;
puStack_10 = (undefined8 *)*param_1;
puVar2 = auStack_338;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a80(puStack_10,auStack_338,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,426 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63b_goodG2BSink(int64_t * * dataPtr)
{
int64_t * data = *dataPtr;
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memmove(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64421/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63b_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_63b_goodG2BSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_338 [101];
undefined8 *puStack_10;
puStack_10 = (undefined8 *)*param_1;
puVar2 = auStack_338;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a80(puStack_10,auStack_338,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,427 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64_bad()
{
int64_t * data;
int64_t * dataBadBuffer = (int64_t *)ALLOCA(50*sizeof(int64_t));
int64_t * dataGoodBuffer = (int64_t *)ALLOCA(100*sizeof(int64_t));
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64b_badSink(&data);
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64422/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64_bad(void)
{
undefined auStack_4f0 [816];
undefined auStack_1c0 [416];
undefined *puStack_20;
undefined *puStack_18;
undefined *puStack_10;
puStack_20 = auStack_1c0;
puStack_18 = auStack_4f0;
puStack_10 = puStack_20;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64b_badSink(&puStack_20,0x10,7);
return;
}
| ['gcc'] |
18,428 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64422/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,429 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64b_badSink(void * dataVoidPtr)
{
/* cast void pointer to a pointer of the appropriate type */
int64_t * * dataPtr = (int64_t * *)dataVoidPtr;
/* dereference dataPtr into data */
int64_t * data = (*dataPtr);
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memmove(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* cast void pointer to a pointer of the appropriate type */', '/* dereference dataPtr into data */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64422/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64b_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64b_badSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_338 [100];
undefined8 *puStack_18;
undefined8 *puStack_10;
puStack_18 = (undefined8 *)*param_1;
puVar2 = auStack_338;
puStack_10 = param_1;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a80(puStack_18,auStack_338,800);
printLongLongLine(*puStack_18);
return;
}
| ['gcc'] |
18,430 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64b_goodG2BSink(void * dataVoidPtr)
{
/* cast void pointer to a pointer of the appropriate type */
int64_t * * dataPtr = (int64_t * *)dataVoidPtr;
/* dereference dataPtr into data */
int64_t * data = (*dataPtr);
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memmove(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* cast void pointer to a pointer of the appropriate type */', '/* dereference dataPtr into data */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64422/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64b_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_64b_goodG2BSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_338 [100];
undefined8 *puStack_18;
undefined8 *puStack_10;
puStack_18 = (undefined8 *)*param_1;
puVar2 = auStack_338;
puStack_10 = param_1;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a80(puStack_18,auStack_338,800);
printLongLongLine(*puStack_18);
return;
}
| ['gcc'] |
18,431 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66_bad()
{
int64_t * data;
int64_t * dataArray[5];
int64_t * dataBadBuffer = (int64_t *)ALLOCA(50*sizeof(int64_t));
int64_t * dataGoodBuffer = (int64_t *)ALLOCA(100*sizeof(int64_t));
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
/* put data in array */
dataArray[2] = data;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66b_badSink(dataArray);
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', '/* put data in array */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64424/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66_bad(void)
{
undefined auStack_510 [816];
undefined auStack_1e0 [408];
undefined auStack_48 [16];
undefined *puStack_38;
undefined *puStack_20;
undefined *puStack_18;
undefined *puStack_10;
puStack_38 = auStack_1e0;
puStack_18 = auStack_510;
puStack_20 = puStack_38;
puStack_10 = puStack_38;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66b_badSink(auStack_48,0x10,7);
return;
}
| ['gcc'] |
18,432 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64424/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,433 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66b_badSink(int64_t * dataArray[])
{
/* copy data out of dataArray */
int64_t * data = dataArray[2];
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memmove(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* copy data out of dataArray */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64424/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66b_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66b_badSink(long param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_338 [101];
undefined8 *puStack_10;
puStack_10 = *(undefined8 **)(param_1 + 0x10);
puVar2 = auStack_338;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a80(puStack_10,auStack_338,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,434 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66b_goodG2BSink(int64_t * dataArray[])
{
int64_t * data = dataArray[2];
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memmove(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64424/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66b_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_66b_goodG2BSink(long param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_338 [101];
undefined8 *puStack_10;
puStack_10 = *(undefined8 **)(param_1 + 0x10);
puVar2 = auStack_338;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a80(puStack_10,auStack_338,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,435 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67_bad()
{
int64_t * data;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67_structType myStruct;
int64_t * dataBadBuffer = (int64_t *)ALLOCA(50*sizeof(int64_t));
int64_t * dataGoodBuffer = (int64_t *)ALLOCA(100*sizeof(int64_t));
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
myStruct.structFirst = data;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67b_badSink(myStruct);
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64425/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67_bad(void)
{
undefined auStack_4f0 [816];
undefined auStack_1c0 [408];
undefined *puStack_28;
undefined *puStack_20;
undefined *puStack_18;
undefined *puStack_10;
puStack_28 = auStack_1c0;
puStack_18 = auStack_4f0;
puStack_20 = puStack_28;
puStack_10 = puStack_28;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67b_badSink(puStack_28,0x10,7);
return;
}
| ['gcc'] |
18,436 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64425/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,437 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67b_badSink(CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67_structType myStruct)
{
int64_t * data = myStruct.structFirst;
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memmove(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64425/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67b_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67b_badSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_338 [101];
undefined8 *puStack_10;
puVar2 = auStack_338;
puStack_10 = param_1;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a80(puStack_10,auStack_338,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,438 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67b_goodG2BSink(CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67_structType myStruct)
{
int64_t * data = myStruct.structFirst;
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memmove(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64425/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67b_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_alloca_memmove_67b_goodG2BSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_338 [101];
undefined8 *puStack_10;
puVar2 = auStack_338;
puStack_10 = param_1;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a80(puStack_10,auStack_338,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,439 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_02_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
if(1)
{
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
}
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64473/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_02.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_02_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_02_bad(void)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_7e8 [200];
undefined8 auStack_1a8 [51];
undefined8 *puStack_10;
puStack_10 = auStack_1a8;
puVar2 = auStack_7e8;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(puStack_10,auStack_7e8,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,440 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_02_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64473/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_02.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_02_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_02_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
18,441 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_03_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
if(5==5)
{
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
}
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64474/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_03.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_03_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_03_bad(void)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_7e8 [200];
undefined8 auStack_1a8 [51];
undefined8 *puStack_10;
puStack_10 = auStack_1a8;
puVar2 = auStack_7e8;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(puStack_10,auStack_7e8,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,442 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_03_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64474/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_03.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_03_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_03_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
18,443 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_04_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
if(STATIC_CONST_TRUE)
{
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
}
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64475/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_04.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_04_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_04_bad(void)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_7e8 [200];
undefined8 auStack_1a8 [51];
undefined8 *puStack_10;
puStack_10 = auStack_1a8;
puVar2 = auStack_7e8;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(puStack_10,auStack_7e8,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,444 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_04_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64475/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_04.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_04_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_04_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
18,445 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_05_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
if(staticTrue)
{
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
}
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64476/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_05.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_05_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_05_bad(void)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_7e8 [200];
undefined8 auStack_1a8 [51];
undefined8 *puStack_10;
if (staticTrue != 0) {
puStack_10 = auStack_1a8;
}
puVar2 = auStack_7e8;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(puStack_10,auStack_7e8,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,446 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_05_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64476/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_05.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_05_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_05_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
18,447 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_06_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
if(STATIC_CONST_FIVE==5)
{
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
}
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64477/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_06.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_06_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_06_bad(void)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_7e8 [200];
undefined8 auStack_1a8 [51];
undefined8 *puStack_10;
puStack_10 = auStack_1a8;
puVar2 = auStack_7e8;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(puStack_10,auStack_7e8,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,448 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_06_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64477/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_06.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_06_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_06_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
18,449 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_07_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
if(staticFive==5)
{
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
}
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64478/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_07.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_07_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_07_bad(void)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_7e8 [200];
undefined8 auStack_1a8 [51];
undefined8 *puStack_10;
if (staticFive == 5) {
puStack_10 = auStack_1a8;
}
puVar2 = auStack_7e8;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(puStack_10,auStack_7e8,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,450 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_07_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64478/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_07.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_07_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_07_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
18,451 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_08_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
if(staticReturnsTrue())
{
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
}
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64479/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_08.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_08_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_08_bad(void)
{
int iVar1;
long lVar2;
undefined8 *puVar3;
byte bVar4;
undefined8 auStack_7e8 [200];
undefined8 auStack_1a8 [51];
undefined8 *puStack_10;
bVar4 = 0;
iVar1 = staticReturnsTrue();
if (iVar1 != 0) {
puStack_10 = auStack_1a8;
}
puVar3 = auStack_7e8;
for (lVar2 = 100; lVar2 != 0; lVar2 = lVar2 + -1) {
*puVar3 = 0;
puVar3 = puVar3 + (ulong)bVar4 * -2 + 1;
}
func_0x00400a70(puStack_10,auStack_7e8,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,452 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_08_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64479/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_08.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_08_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_08_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
18,453 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_09_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
if(GLOBAL_CONST_TRUE)
{
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
}
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64480/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_09.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_09_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_09_bad(void)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_7e8 [200];
undefined8 auStack_1a8 [51];
undefined8 *puStack_10;
if (GLOBAL_CONST_TRUE != 0) {
puStack_10 = auStack_1a8;
}
puVar2 = auStack_7e8;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(puStack_10,auStack_7e8,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,454 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_09_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64480/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_09.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_09_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_09_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
18,455 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_10_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
if(globalTrue)
{
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
}
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64481/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_10.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_10_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_10_bad(void)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_7e8 [200];
undefined8 auStack_1a8 [51];
undefined8 *puStack_10;
if (globalTrue != 0) {
puStack_10 = auStack_1a8;
}
puVar2 = auStack_7e8;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(puStack_10,auStack_7e8,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,456 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_10_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64481/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_10.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_10_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_10_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
18,457 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_11_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
if(globalReturnsTrue())
{
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
}
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64482/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_11.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_11_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_11_bad(void)
{
int iVar1;
long lVar2;
undefined8 *puVar3;
byte bVar4;
undefined8 auStack_7e8 [200];
undefined8 auStack_1a8 [51];
undefined8 *puStack_10;
bVar4 = 0;
iVar1 = globalReturnsTrue();
if (iVar1 != 0) {
puStack_10 = auStack_1a8;
}
puVar3 = auStack_7e8;
for (lVar2 = 100; lVar2 != 0; lVar2 = lVar2 + -1) {
*puVar3 = 0;
puVar3 = puVar3 + (ulong)bVar4 * -2 + 1;
}
func_0x00400a70(puStack_10,auStack_7e8,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,458 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_11_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64482/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_11.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_11_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_11_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
18,459 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_12_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
if(globalReturnsTrueOrFalse())
{
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
}
else
{
/* FIX: Set a pointer to a "large" buffer, thus avoiding buffer overflows in the sinks. */
data = dataGoodBuffer;
}
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', '/* FIX: Set a pointer to a "large" buffer, thus avoiding buffer overflows in the sinks. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64483/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_12.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_12_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_12_bad(void)
{
int iVar1;
long lVar2;
undefined8 *puVar3;
byte bVar4;
undefined8 auStack_7e8 [100];
undefined8 auStack_4c8 [100];
undefined8 auStack_1a8 [51];
undefined8 *puStack_10;
bVar4 = 0;
iVar1 = globalReturnsTrueOrFalse();
if (iVar1 == 0) {
puStack_10 = auStack_4c8;
}
else {
puStack_10 = auStack_1a8;
}
puVar3 = auStack_7e8;
for (lVar2 = 100; lVar2 != 0; lVar2 = lVar2 + -1) {
*puVar3 = 0;
puVar3 = puVar3 + (ulong)bVar4 * -2 + 1;
}
func_0x00400a70(puStack_10,auStack_7e8,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,460 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_12_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64483/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_12.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_12_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_12_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,461 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_13_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
if(GLOBAL_CONST_FIVE==5)
{
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
}
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64484/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_13.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_13_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_13_bad(void)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_7e8 [200];
undefined8 auStack_1a8 [51];
undefined8 *puStack_10;
if (GLOBAL_CONST_FIVE == 5) {
puStack_10 = auStack_1a8;
}
puVar2 = auStack_7e8;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(puStack_10,auStack_7e8,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,462 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_13_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64484/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_13.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_13_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_13_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
18,463 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_14_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
if(globalFive==5)
{
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
}
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64485/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_14.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_14_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_14_bad(void)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_7e8 [200];
undefined8 auStack_1a8 [51];
undefined8 *puStack_10;
if (globalFive == 5) {
puStack_10 = auStack_1a8;
}
puVar2 = auStack_7e8;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(puStack_10,auStack_7e8,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,464 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_14_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64485/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_14.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_14_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_14_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
18,465 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_15_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
switch(6)
{
case 6:
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
break;
default:
/* INCIDENTAL: CWE 561 Dead Code, the code below will never run */
printLine("Benign, fixed string");
break;
}
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', '/* INCIDENTAL: CWE 561 Dead Code, the code below will never run */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64486/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_15.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_15_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_15_bad(void)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_7e8 [200];
undefined8 auStack_1a8 [51];
undefined8 *puStack_10;
puStack_10 = auStack_1a8;
puVar2 = auStack_7e8;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(puStack_10,auStack_7e8,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,466 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_15_good()
{
goodG2B1();
goodG2B2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64486/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_15.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_15_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_15_good(void)
{
goodG2B1();
goodG2B2();
return;
}
| ['gcc'] |
18,467 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_16_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
while(1)
{
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
break;
}
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64487/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_16.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_16_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_16_bad(void)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_7e8 [200];
undefined8 auStack_1a8 [51];
undefined8 *puStack_10;
puStack_10 = auStack_1a8;
puVar2 = auStack_7e8;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(puStack_10,auStack_7e8,800);
printLongLongLine(*puStack_10);
return;
}
| ['gcc'] |
18,468 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_16_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64487/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_16.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_16_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_16_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,469 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_17_bad()
{
int i;
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
for(i = 0; i < 1; i++)
{
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
}
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64488/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_17.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_17_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_17_bad(void)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_7e8 [200];
undefined8 auStack_1a8 [50];
undefined8 *puStack_18;
int iStack_c;
for (iStack_c = 0; iStack_c < 1; iStack_c = iStack_c + 1) {
puStack_18 = auStack_1a8;
}
puVar2 = auStack_7e8;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(puStack_18,auStack_7e8,800);
printLongLongLine(*puStack_18);
return;
}
| ['gcc'] |
18,470 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_17_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64488/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_17.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_17_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_17_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,471 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_31_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
{
int64_t * dataCopy = data;
int64_t * data = dataCopy;
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64490/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_31.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_31_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_31_bad(void)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_7f8 [200];
undefined8 auStack_1b8 [51];
undefined8 *puStack_20;
undefined8 *puStack_18;
undefined8 *puStack_10;
puStack_20 = auStack_1b8;
puVar2 = auStack_7f8;
puStack_18 = puStack_20;
puStack_10 = puStack_20;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(puStack_20,auStack_7f8,800);
printLongLongLine(*puStack_20);
return;
}
| ['gcc'] |
18,472 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_31_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64490/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_31.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_31_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_31_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,473 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_32_bad()
{
int64_t * data;
int64_t * *dataPtr1 = &data;
int64_t * *dataPtr2 = &data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
{
int64_t * data = *dataPtr1;
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
*dataPtr1 = data;
}
{
int64_t * data = *dataPtr2;
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64491/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_32.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_32_bad |
/* WARNING: Heritage AFTER dead removal. Example location: s0xffffffffffffffd0 : 0x00400be2 */
/* WARNING: Restarted to delay deadcode elimination for space: stack */
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_32_bad(void)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_808 [200];
undefined8 auStack_1c8 [51];
undefined8 *puStack_30;
undefined8 *puStack_28;
undefined8 *puStack_20;
undefined8 **ppuStack_18;
undefined8 **ppuStack_10;
ppuStack_10 = &puStack_30;
ppuStack_18 = &puStack_30;
puStack_20 = auStack_1c8;
puStack_28 = puStack_30;
puVar2 = auStack_808;
puStack_30 = puStack_20;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(puStack_28,auStack_808,800);
printLongLongLine(*puStack_28);
return;
}
| ['gcc'] |
18,474 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_32_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64491/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_32.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_32_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_32_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,475 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_34_bad()
{
int64_t * data;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_34_unionType myUnion;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
myUnion.unionFirst = data;
{
int64_t * data = myUnion.unionSecond;
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
}
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */', "/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64493/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_34.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_34_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_34_bad(void)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_7f8 [200];
undefined8 auStack_1b8 [51];
undefined8 *puStack_20;
undefined8 *puStack_18;
undefined8 *puStack_10;
puStack_20 = auStack_1b8;
puVar2 = auStack_7f8;
puStack_18 = puStack_20;
puStack_10 = puStack_20;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(puStack_18,auStack_7f8,800);
printLongLongLine(*puStack_18);
return;
}
| ['gcc'] |
18,476 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_34_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64493/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_34.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_34_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_34_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,477 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41_badSink(int64_t * data)
{
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64494/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41_badSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_328 [100];
puVar2 = auStack_328;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(param_1,auStack_328,800);
printLongLongLine(*param_1);
return;
}
| ['gcc'] |
18,478 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41_badSink(data);
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64494/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41_bad(void)
{
undefined auStack_1a8 [408];
undefined *puStack_10;
puStack_10 = auStack_1a8;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41_badSink(puStack_10);
return;
}
| ['gcc'] |
18,479 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41_goodG2BSink(int64_t * data)
{
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64494/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41_goodG2BSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_328 [100];
puVar2 = auStack_328;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(param_1,auStack_328,800);
printLongLongLine(*param_1);
return;
}
| ['gcc'] |
18,480 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64494/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_41_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,481 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51b_badSink(data);
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64497/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51_bad(void)
{
undefined auStack_1a8 [408];
undefined *puStack_10;
puStack_10 = auStack_1a8;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51b_badSink(puStack_10);
return;
}
| ['gcc'] |
18,482 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64497/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,483 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51b_badSink(int64_t * data)
{
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64497/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51b_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51b_badSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_328 [100];
puVar2 = auStack_328;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(param_1,auStack_328,800);
printLongLongLine(*param_1);
return;
}
| ['gcc'] |
18,484 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51b_goodG2BSink(int64_t * data)
{
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64497/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51b_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_51b_goodG2BSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_328 [100];
puVar2 = auStack_328;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(param_1,auStack_328,800);
printLongLongLine(*param_1);
return;
}
| ['gcc'] |
18,485 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52b_badSink(data);
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64498/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52_bad(void)
{
undefined auStack_1a8 [408];
undefined *puStack_10;
puStack_10 = auStack_1a8;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52b_badSink(puStack_10);
return;
}
| ['gcc'] |
18,486 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64498/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,487 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52b_badSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52c_badSink(data);
} | [] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64498/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52b_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52b_badSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52c_badSink(param_1);
return;
}
| ['gcc'] |
18,488 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52b_goodG2BSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52c_goodG2BSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64498/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52b_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52b_goodG2BSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52c_goodG2BSink(param_1);
return;
}
| ['gcc'] |
18,489 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52c_badSink(int64_t * data)
{
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64498/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52c.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52c_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52c_badSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_328 [100];
puVar2 = auStack_328;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(param_1,auStack_328,800);
printLongLongLine(*param_1);
return;
}
| ['gcc'] |
18,490 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52c_goodG2BSink(int64_t * data)
{
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64498/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52c.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52c_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_52c_goodG2BSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_328 [100];
puVar2 = auStack_328;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(param_1,auStack_328,800);
printLongLongLine(*param_1);
return;
}
| ['gcc'] |
18,491 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53b_badSink(data);
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64499/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53_bad(void)
{
undefined auStack_1a8 [408];
undefined *puStack_10;
puStack_10 = auStack_1a8;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53b_badSink(puStack_10);
return;
}
| ['gcc'] |
18,492 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64499/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53_good |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
18,493 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53b_badSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53c_badSink(data);
} | [] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64499/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53b_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53b_badSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53c_badSink(param_1);
return;
}
| ['gcc'] |
18,494 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53b_goodG2BSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53c_goodG2BSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64499/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53b.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53b_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53b_goodG2BSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53c_goodG2BSink(param_1);
return;
}
| ['gcc'] |
18,495 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53c_badSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53d_badSink(data);
} | [] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64499/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53c.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53c_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53c_badSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53d_badSink(param_1);
return;
}
| ['gcc'] |
18,496 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53c_goodG2BSink(int64_t * data)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53d_goodG2BSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64499/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53c.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53c_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53c_goodG2BSink
(undefined8 param_1)
{
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53d_goodG2BSink(param_1);
return;
}
| ['gcc'] |
18,497 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53d_badSink(int64_t * data)
{
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64499/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53d.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53d_badSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53d_badSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_328 [100];
puVar2 = auStack_328;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(param_1,auStack_328,800);
printLongLongLine(*param_1);
return;
}
| ['gcc'] |
18,498 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53d_goodG2BSink(int64_t * data)
{
{
int64_t source[100] = {0}; /* fill with 0's */
/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */
memcpy(data, source, 100*sizeof(int64_t));
printLongLongLine(data[0]);
}
} | ["/* fill with 0's */", '/* POTENTIAL FLAW: Possible buffer overflow if data < 100 */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64499/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53d.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53d_goodG2BSink |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_53d_goodG2BSink
(undefined8 *param_1)
{
long lVar1;
undefined8 *puVar2;
undefined8 auStack_328 [100];
puVar2 = auStack_328;
for (lVar1 = 100; lVar1 != 0; lVar1 = lVar1 + -1) {
*puVar2 = 0;
puVar2 = puVar2 + 1;
}
func_0x00400a70(param_1,auStack_328,800);
printLongLongLine(*param_1);
return;
}
| ['gcc'] |
18,499 | void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_54_bad()
{
int64_t * data;
int64_t dataBadBuffer[50];
int64_t dataGoodBuffer[100];
/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination
* buffer in various memory copying functions using a "large" source buffer. */
data = dataBadBuffer;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_54b_badSink(data);
} | ['/* FLAW: Set a pointer to a "small" buffer. This buffer will be used in the sinks as a destination\r\n * buffer in various memory copying functions using a "large" source buffer. */'] | ['CWE121', 'CWE805'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/64500/CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_54a.c | CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_54_bad |
void CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_54_bad(void)
{
undefined auStack_1a8 [408];
undefined *puStack_10;
puStack_10 = auStack_1a8;
CWE121_Stack_Based_Buffer_Overflow__CWE805_int64_t_declare_memcpy_54b_badSink(puStack_10);
return;
}
| ['gcc'] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.