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 |
|---|---|---|---|---|---|---|---|---|
7,700 | void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_64b_goodG2BSink(void * dataVoidPtr)
{
/* cast void pointer to a pointer of the appropriate type */
int * dataPtr = (int *)dataVoidPtr;
/* dereference dataPtr into data */
int data = (*dataPtr);
{
size_t i;
int *intPointer;
/* POTENTIAL FLAW: if data * sizeof(int) > SIZE_MAX, overflows to a small value
* so that the for loop doing the initialization causes a buffer overflow */
intPointer = (int*)malloc(data * sizeof(int));
for (i = 0; i < (size_t)data; i++)
{
intPointer[i] = 0; /* Potentially writes beyond the boundary of intPointer */
}
printIntLine(intPointer[0]);
free(intPointer);
}
} | ['/* cast void pointer to a pointer of the appropriate type */', '/* dereference dataPtr into data */', '/* POTENTIAL FLAW: if data * sizeof(int) > SIZE_MAX, overflows to a small value\r\n * so that the for loop doing the initialization causes a buffer overflow */', '/* Potentially writes beyond the boundary of intPointer */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110588/CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_64b.c | CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_64b_goodG2BSink |
void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_64b_goodG2BSink(int *param_1)
{
int iVar1;
undefined4 *puVar2;
ulong uStack_10;
iVar1 = *param_1;
puVar2 = (undefined4 *)func_0x00400ab0((long)iVar1 << 2);
for (uStack_10 = 0; uStack_10 < (ulong)(long)iVar1; uStack_10 = uStack_10 + 1) {
puVar2[uStack_10] = 0;
}
printIntLine(*puVar2);
func_0x00400a20(puVar2);
return;
}
| ['gcc'] |
7,701 | void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66_bad()
{
int data;
int dataArray[5];
/* Initialize data */
data = -1;
/* POTENTIAL FLAW: Set data to a random value */
data = RAND32();
/* put data in array */
dataArray[2] = data;
CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66b_badSink(dataArray);
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Set data to a random value */', '/* put data in array */'] | ['CWE680'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110590/CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66a.c | CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66_bad |
void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66_bad(void)
{
int iVar1;
int iVar2;
undefined auStack_38 [8];
uint uStack_30;
uint uStack_1c;
uStack_1c = 0xffffffff;
iVar1 = func_0x00400ae0();
iVar2 = func_0x00400ae0();
uStack_30 = func_0x00400ae0();
uStack_30 = uStack_30 ^ iVar1 << 0x1e ^ iVar2 << 0xf;
uStack_1c = uStack_30;
CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66b_badSink(auStack_38);
return;
}
| ['gcc'] |
7,702 | void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110590/CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66a.c | CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66_good |
void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
7,703 | void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66b_badSink(int dataArray[])
{
/* copy data out of dataArray */
int data = dataArray[2];
{
size_t i;
int *intPointer;
/* POTENTIAL FLAW: if data * sizeof(int) > SIZE_MAX, overflows to a small value
* so that the for loop doing the initialization causes a buffer overflow */
intPointer = (int*)malloc(data * sizeof(int));
for (i = 0; i < (size_t)data; i++)
{
intPointer[i] = 0; /* Potentially writes beyond the boundary of intPointer */
}
printIntLine(intPointer[0]);
free(intPointer);
}
} | ['/* copy data out of dataArray */', '/* POTENTIAL FLAW: if data * sizeof(int) > SIZE_MAX, overflows to a small value\r\n * so that the for loop doing the initialization causes a buffer overflow */', '/* Potentially writes beyond the boundary of intPointer */'] | ['CWE680'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110590/CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66b.c | CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66b_badSink |
void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66b_badSink(long param_1)
{
int iVar1;
undefined4 *puVar2;
ulong uStack_10;
iVar1 = *(int *)(param_1 + 8);
puVar2 = (undefined4 *)func_0x00400ab0((long)iVar1 << 2);
for (uStack_10 = 0; uStack_10 < (ulong)(long)iVar1; uStack_10 = uStack_10 + 1) {
puVar2[uStack_10] = 0;
}
printIntLine(*puVar2);
func_0x00400a20(puVar2);
return;
}
| ['gcc'] |
7,704 | void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66b_goodG2BSink(int dataArray[])
{
int data = dataArray[2];
{
size_t i;
int *intPointer;
/* POTENTIAL FLAW: if data * sizeof(int) > SIZE_MAX, overflows to a small value
* so that the for loop doing the initialization causes a buffer overflow */
intPointer = (int*)malloc(data * sizeof(int));
for (i = 0; i < (size_t)data; i++)
{
intPointer[i] = 0; /* Potentially writes beyond the boundary of intPointer */
}
printIntLine(intPointer[0]);
free(intPointer);
}
} | ['/* POTENTIAL FLAW: if data * sizeof(int) > SIZE_MAX, overflows to a small value\r\n * so that the for loop doing the initialization causes a buffer overflow */', '/* Potentially writes beyond the boundary of intPointer */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110590/CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66b.c | CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66b_goodG2BSink |
void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_66b_goodG2BSink(long param_1)
{
int iVar1;
undefined4 *puVar2;
ulong uStack_10;
iVar1 = *(int *)(param_1 + 8);
puVar2 = (undefined4 *)func_0x00400ab0((long)iVar1 << 2);
for (uStack_10 = 0; uStack_10 < (ulong)(long)iVar1; uStack_10 = uStack_10 + 1) {
puVar2[uStack_10] = 0;
}
printIntLine(*puVar2);
func_0x00400a20(puVar2);
return;
}
| ['gcc'] |
7,705 | void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67_bad()
{
int data;
CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67_structType myStruct;
/* Initialize data */
data = -1;
/* POTENTIAL FLAW: Set data to a random value */
data = RAND32();
myStruct.structFirst = data;
CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67b_badSink(myStruct);
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Set data to a random value */'] | ['CWE680'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110591/CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67a.c | CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67_bad |
void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67_bad(void)
{
int iVar1;
int iVar2;
uint uVar3;
iVar1 = func_0x00400ae0();
iVar2 = func_0x00400ae0();
uVar3 = func_0x00400ae0();
CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67b_badSink
(uVar3 ^ iVar1 << 0x1e ^ iVar2 << 0xf);
return;
}
| ['gcc'] |
7,706 | void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67_good()
{
goodG2B();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110591/CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67a.c | CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67_good |
void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67_good(void)
{
goodG2B();
return;
}
| ['gcc'] |
7,707 | void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67b_badSink(CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67_structType myStruct)
{
int data = myStruct.structFirst;
{
size_t i;
int *intPointer;
/* POTENTIAL FLAW: if data * sizeof(int) > SIZE_MAX, overflows to a small value
* so that the for loop doing the initialization causes a buffer overflow */
intPointer = (int*)malloc(data * sizeof(int));
for (i = 0; i < (size_t)data; i++)
{
intPointer[i] = 0; /* Potentially writes beyond the boundary of intPointer */
}
printIntLine(intPointer[0]);
free(intPointer);
}
} | ['/* POTENTIAL FLAW: if data * sizeof(int) > SIZE_MAX, overflows to a small value\r\n * so that the for loop doing the initialization causes a buffer overflow */', '/* Potentially writes beyond the boundary of intPointer */'] | ['CWE680'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110591/CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67b.c | CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67b_badSink |
void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67b_badSink(int param_1)
{
undefined4 *puVar1;
ulong uStack_10;
puVar1 = (undefined4 *)func_0x00400ab0((long)param_1 << 2);
for (uStack_10 = 0; uStack_10 < (ulong)(long)param_1; uStack_10 = uStack_10 + 1) {
puVar1[uStack_10] = 0;
}
printIntLine(*puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,708 | void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67b_goodG2BSink(CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67_structType myStruct)
{
int data = myStruct.structFirst;
{
size_t i;
int *intPointer;
/* POTENTIAL FLAW: if data * sizeof(int) > SIZE_MAX, overflows to a small value
* so that the for loop doing the initialization causes a buffer overflow */
intPointer = (int*)malloc(data * sizeof(int));
for (i = 0; i < (size_t)data; i++)
{
intPointer[i] = 0; /* Potentially writes beyond the boundary of intPointer */
}
printIntLine(intPointer[0]);
free(intPointer);
}
} | ['/* POTENTIAL FLAW: if data * sizeof(int) > SIZE_MAX, overflows to a small value\r\n * so that the for loop doing the initialization causes a buffer overflow */', '/* Potentially writes beyond the boundary of intPointer */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110591/CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67b.c | CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67b_goodG2BSink |
void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_rand_67b_goodG2BSink(int param_1)
{
undefined4 *puVar1;
ulong uStack_10;
puVar1 = (undefined4 *)func_0x00400ab0((long)param_1 << 2);
for (uStack_10 = 0; uStack_10 < (ulong)(long)param_1; uStack_10 = uStack_10 + 1) {
puVar1[uStack_10] = 0;
}
printIntLine(*puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,709 | void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_08_bad()
{
if(staticReturnsTrue())
{
{
char inputBuffer[CHAR_ARRAY_SIZE];
double doubleNumber = 0;
/* Enter: 1e-50, result should be 0.0 (for bad case)
*
* Note: alternate input
* 999999999999999999999999999999999999999999999999999999999999999
*/
if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL)
{
/* Read a double */
doubleNumber = atof(inputBuffer);
}
else
{
printLine("fgets() failed.");
}
/* FLAW: should not cast without checking if conversion is safe */
printFloatLine((float)doubleNumber);
}
}
} | ['/* Enter: 1e-50, result should be 0.0 (for bad case)\r\n *\r\n * Note: alternate input\r\n * 999999999999999999999999999999999999999999999999999999999999999\r\n */', '/* Read a double */', '/* FLAW: should not cast without checking if conversion is safe */'] | ['CWE681'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110895/CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_08.c | CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_08_bad |
void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_08_bad(void)
{
int iVar1;
long lVar2;
undefined auVar3 [16];
undefined auVar4 [16];
undefined auVar5 [16];
undefined auStack_118 [264];
double dStack_10;
undefined auVar6 [12];
undefined8 extraout_XMM0_Qb;
undefined8 extraout_XMM0_Qb_00;
iVar1 = staticReturnsTrue();
if (iVar1 != 0) {
dStack_10 = 0.0;
lVar2 = func_0x00400ac0(auStack_118,0x100,stdin);
if (lVar2 == 0) {
auVar4._0_8_ = printLine(&UNK_00401214);
auVar4._8_8_ = extraout_XMM0_Qb_00;
auVar6 = auVar4._4_12_;
}
else {
auVar3._0_8_ = (double)func_0x00400a70(auStack_118);
auVar3._8_8_ = extraout_XMM0_Qb;
auVar6 = auVar3._4_12_;
dStack_10 = auVar3._0_8_;
}
auVar5._0_4_ = (float)dStack_10;
auVar5._4_12_ = auVar6;
printFloatLine(auVar5._0_8_);
}
return;
}
| ['gcc'] |
7,710 | void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_08_good()
{
good1();
good2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110895/CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_08.c | CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_08_good |
void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_08_good(void)
{
good1();
good2();
return;
}
| ['gcc'] |
7,711 | void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_11_bad()
{
if(globalReturnsTrue())
{
{
char inputBuffer[CHAR_ARRAY_SIZE];
double doubleNumber = 0;
/* Enter: 1e-50, result should be 0.0 (for bad case)
*
* Note: alternate input
* 999999999999999999999999999999999999999999999999999999999999999
*/
if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL)
{
/* Read a double */
doubleNumber = atof(inputBuffer);
}
else
{
printLine("fgets() failed.");
}
/* FLAW: should not cast without checking if conversion is safe */
printFloatLine((float)doubleNumber);
}
}
} | ['/* Enter: 1e-50, result should be 0.0 (for bad case)\r\n *\r\n * Note: alternate input\r\n * 999999999999999999999999999999999999999999999999999999999999999\r\n */', '/* Read a double */', '/* FLAW: should not cast without checking if conversion is safe */'] | ['CWE681'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110898/CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_11.c | CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_11_bad |
void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_11_bad(void)
{
int iVar1;
long lVar2;
undefined auVar3 [16];
undefined auVar4 [16];
undefined auVar5 [16];
undefined auStack_118 [264];
double dStack_10;
undefined auVar6 [12];
undefined8 extraout_XMM0_Qb;
undefined8 extraout_XMM0_Qb_00;
iVar1 = globalReturnsTrue();
if (iVar1 != 0) {
dStack_10 = 0.0;
lVar2 = func_0x00400ac0(auStack_118,0x100,stdin);
if (lVar2 == 0) {
auVar4._0_8_ = printLine(&UNK_00401204);
auVar4._8_8_ = extraout_XMM0_Qb_00;
auVar6 = auVar4._4_12_;
}
else {
auVar3._0_8_ = (double)func_0x00400a70(auStack_118);
auVar3._8_8_ = extraout_XMM0_Qb;
auVar6 = auVar3._4_12_;
dStack_10 = auVar3._0_8_;
}
auVar5._0_4_ = (float)dStack_10;
auVar5._4_12_ = auVar6;
printFloatLine(auVar5._0_8_);
}
return;
}
| ['gcc'] |
7,712 | void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_11_good()
{
good1();
good2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110898/CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_11.c | CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_11_good |
void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_11_good(void)
{
good1();
good2();
return;
}
| ['gcc'] |
7,713 | void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_12_bad()
{
if(globalReturnsTrueOrFalse())
{
{
char inputBuffer[CHAR_ARRAY_SIZE];
double doubleNumber = 0;
/* Enter: 1e-50, result should be 0.0 (for bad case)
*
* Note: alternate input
* 999999999999999999999999999999999999999999999999999999999999999
*/
if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL)
{
/* Read a double */
doubleNumber = atof(inputBuffer);
}
else
{
printLine("fgets() failed.");
}
/* FLAW: should not cast without checking if conversion is safe */
printFloatLine((float)doubleNumber);
}
}
else
{
{
char inputBuffer[CHAR_ARRAY_SIZE];
double doubleNumber = 0;
/* Enter: 1e-50, result should be 0.0 (for bad case)
*
* Note: alternate input
* 999999999999999999999999999999999999999999999999999999999999999
*/
if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL)
{
/* Read a double */
doubleNumber = atof(inputBuffer);
}
else
{
printLine("fgets() failed.");
}
/* FIX: check to make sure conversion is safe */
if (doubleNumber > FLT_MAX || doubleNumber < FLT_MIN)
{
printLine("Value is too small or large to be represented as a float");
}
else
{
printFloatLine((float)doubleNumber);
}
}
}
} | ['/* Enter: 1e-50, result should be 0.0 (for bad case)\r\n *\r\n * Note: alternate input\r\n * 999999999999999999999999999999999999999999999999999999999999999\r\n */', '/* Read a double */', '/* FLAW: should not cast without checking if conversion is safe */', '/* Enter: 1e-50, result should be 0.0 (for bad case)\r\n *\r\n * Note: alternate input\r\n * 999999999999999999999999999999999999999999999999999999999999999\r\n */', '/* Read a double */', '/* FIX: check to make sure conversion is safe */'] | ['CWE681'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110899/CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_12.c | CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_12_bad |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_12_bad(void)
{
int iVar1;
long lVar2;
undefined auVar3 [16];
undefined auVar4 [16];
undefined auVar5 [16];
undefined auStack_118 [256];
double dStack_18;
double dStack_10;
undefined auVar6 [12];
undefined8 extraout_XMM0_Qb;
undefined8 extraout_XMM0_Qb_00;
iVar1 = globalReturnsTrueOrFalse();
if (iVar1 == 0) {
dStack_18 = 0.0;
lVar2 = func_0x00400ac0(auStack_118,0x100,stdin);
if (lVar2 == 0) {
printLine(&UNK_00401288);
}
else {
dStack_18 = (double)func_0x00400a70(auStack_118);
}
if ((_UNK_004012f8 < dStack_18) || (dStack_18 < _UNK_00401300)) {
printLine(&UNK_00401298);
}
else {
printFloatLine((float)dStack_18);
}
}
else {
dStack_10 = 0.0;
lVar2 = func_0x00400ac0(auStack_118,0x100,stdin);
if (lVar2 == 0) {
auVar4._0_8_ = printLine(&UNK_00401288);
auVar4._8_8_ = extraout_XMM0_Qb_00;
auVar6 = auVar4._4_12_;
}
else {
auVar3._0_8_ = (double)func_0x00400a70(auStack_118);
auVar3._8_8_ = extraout_XMM0_Qb;
auVar6 = auVar3._4_12_;
dStack_10 = auVar3._0_8_;
}
auVar5._0_4_ = (float)dStack_10;
auVar5._4_12_ = auVar6;
printFloatLine(auVar5._0_8_);
}
return;
}
| ['gcc'] |
7,714 | void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_12_good()
{
good1();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110899/CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_12.c | CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_12_good |
void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_12_good(void)
{
good1();
return;
}
| ['gcc'] |
7,715 | void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_17_bad()
{
int j;
for(j = 0; j < 1; j++)
{
{
char inputBuffer[CHAR_ARRAY_SIZE];
double doubleNumber = 0;
/* Enter: 1e-50, result should be 0.0 (for bad case)
*
* Note: alternate input
* 999999999999999999999999999999999999999999999999999999999999999
*/
if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL)
{
/* Read a double */
doubleNumber = atof(inputBuffer);
}
else
{
printLine("fgets() failed.");
}
/* FLAW: should not cast without checking if conversion is safe */
printFloatLine((float)doubleNumber);
}
}
} | ['/* Enter: 1e-50, result should be 0.0 (for bad case)\r\n *\r\n * Note: alternate input\r\n * 999999999999999999999999999999999999999999999999999999999999999\r\n */', '/* Read a double */', '/* FLAW: should not cast without checking if conversion is safe */'] | ['CWE681'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110904/CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_17.c | CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_17_bad |
void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_17_bad(void)
{
long lVar1;
undefined auVar2 [16];
undefined auVar3 [16];
undefined auVar4 [16];
undefined auStack_118 [256];
double dStack_18;
int iStack_c;
undefined auVar5 [12];
undefined8 extraout_XMM0_Qb;
undefined8 extraout_XMM0_Qb_00;
for (iStack_c = 0; iStack_c < 1; iStack_c = iStack_c + 1) {
dStack_18 = 0.0;
lVar1 = func_0x00400ac0(auStack_118,0x100,stdin);
if (lVar1 == 0) {
auVar3._0_8_ = printLine(&UNK_00401204);
auVar3._8_8_ = extraout_XMM0_Qb_00;
auVar5 = auVar3._4_12_;
}
else {
auVar2._0_8_ = (double)func_0x00400a70(auStack_118);
auVar2._8_8_ = extraout_XMM0_Qb;
auVar5 = auVar2._4_12_;
dStack_18 = auVar2._0_8_;
}
auVar4._0_4_ = (float)dStack_18;
auVar4._4_12_ = auVar5;
printFloatLine(auVar4._0_8_);
}
return;
}
| ['gcc'] |
7,716 | void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_17_good()
{
good1();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110904/CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_17.c | CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_17_good |
void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2float_17_good(void)
{
good1();
return;
}
| ['gcc'] |
7,717 | void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_08_bad()
{
if(staticReturnsTrue())
{
{
char inputBuffer[CHAR_ARRAY_SIZE];
double doubleNumber = 0;
/* Enter: 1e20f, result should be 2147483647 (for bad case) */
if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL)
{
/* Read a double */
doubleNumber = atof(inputBuffer);
}
else
{
printLine("fgets() failed.");
}
/* FLAW: should not cast without checking if conversion is safe */
printIntLine((int)doubleNumber);
}
}
} | ['/* Enter: 1e20f, result should be 2147483647 (for bad case) */', '/* Read a double */', '/* FLAW: should not cast without checking if conversion is safe */'] | ['CWE681'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110913/CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_08.c | CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_08_bad |
void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_08_bad(void)
{
int iVar1;
long lVar2;
undefined auStack_118 [264];
double dStack_10;
iVar1 = staticReturnsTrue();
if (iVar1 != 0) {
dStack_10 = 0.0;
lVar2 = func_0x00400ac0(auStack_118,0x100,stdin);
if (lVar2 == 0) {
printLine(&UNK_00401224);
}
else {
dStack_10 = (double)func_0x00400a70(auStack_118);
}
printIntLine((int)dStack_10);
}
return;
}
| ['gcc'] |
7,718 | void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_08_good()
{
good1();
good2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110913/CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_08.c | CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_08_good |
void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_08_good(void)
{
good1();
good2();
return;
}
| ['gcc'] |
7,719 | void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_11_bad()
{
if(globalReturnsTrue())
{
{
char inputBuffer[CHAR_ARRAY_SIZE];
double doubleNumber = 0;
/* Enter: 1e20f, result should be 2147483647 (for bad case) */
if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL)
{
/* Read a double */
doubleNumber = atof(inputBuffer);
}
else
{
printLine("fgets() failed.");
}
/* FLAW: should not cast without checking if conversion is safe */
printIntLine((int)doubleNumber);
}
}
} | ['/* Enter: 1e20f, result should be 2147483647 (for bad case) */', '/* Read a double */', '/* FLAW: should not cast without checking if conversion is safe */'] | ['CWE681'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110916/CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_11.c | CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_11_bad |
void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_11_bad(void)
{
int iVar1;
long lVar2;
undefined auStack_118 [264];
double dStack_10;
iVar1 = globalReturnsTrue();
if (iVar1 != 0) {
dStack_10 = 0.0;
lVar2 = func_0x00400ac0(auStack_118,0x100,stdin);
if (lVar2 == 0) {
printLine(&UNK_00401204);
}
else {
dStack_10 = (double)func_0x00400a70(auStack_118);
}
printIntLine((int)dStack_10);
}
return;
}
| ['gcc'] |
7,720 | void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_11_good()
{
good1();
good2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110916/CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_11.c | CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_11_good |
void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_11_good(void)
{
good1();
good2();
return;
}
| ['gcc'] |
7,721 | void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_12_bad()
{
if(globalReturnsTrueOrFalse())
{
{
char inputBuffer[CHAR_ARRAY_SIZE];
double doubleNumber = 0;
/* Enter: 1e20f, result should be 2147483647 (for bad case) */
if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL)
{
/* Read a double */
doubleNumber = atof(inputBuffer);
}
else
{
printLine("fgets() failed.");
}
/* FLAW: should not cast without checking if conversion is safe */
printIntLine((int)doubleNumber);
}
}
else
{
{
char inputBuffer[CHAR_ARRAY_SIZE];
double doubleNumber = 0;
/* Enter: 1e-50, result should be 0.0 (for bad case)
*
* Note: alternate input
* 999999999999999999999999999999999999999999999999999999999999999
*/
if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL)
{
/* Read a double */
doubleNumber = atof(inputBuffer);
}
else
{
printLine("fgets() failed.");
}
/* FIX: check to make sure conversion is safe */
if (doubleNumber > INT_MAX || doubleNumber < INT_MIN)
{
printLine("Value is too small or large to be represented as an int");
}
else
{
printIntLine((int)doubleNumber);
}
}
}
} | ['/* Enter: 1e20f, result should be 2147483647 (for bad case) */', '/* Read a double */', '/* FLAW: should not cast without checking if conversion is safe */', '/* Enter: 1e-50, result should be 0.0 (for bad case)\r\n *\r\n * Note: alternate input\r\n * 999999999999999999999999999999999999999999999999999999999999999\r\n */', '/* Read a double */', '/* FIX: check to make sure conversion is safe */'] | ['CWE681'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110917/CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_12.c | CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_12_bad |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_12_bad(void)
{
int iVar1;
long lVar2;
undefined auStack_118 [256];
double dStack_18;
double dStack_10;
iVar1 = globalReturnsTrueOrFalse();
if (iVar1 == 0) {
dStack_18 = 0.0;
lVar2 = func_0x00400ac0(auStack_118,0x100,stdin);
if (lVar2 == 0) {
printLine(&UNK_00401298);
}
else {
dStack_18 = (double)func_0x00400a70(auStack_118);
}
if ((_UNK_00401300 < dStack_18) || (dStack_18 < _UNK_00401308)) {
printLine(&UNK_004012a8);
}
else {
printIntLine((int)dStack_18);
}
}
else {
dStack_10 = 0.0;
lVar2 = func_0x00400ac0(auStack_118,0x100,stdin);
if (lVar2 == 0) {
printLine(&UNK_00401298);
}
else {
dStack_10 = (double)func_0x00400a70(auStack_118);
}
printIntLine((int)dStack_10);
}
return;
}
| ['gcc'] |
7,722 | void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_12_good()
{
good1();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110917/CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_12.c | CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_12_good |
void CWE681_Incorrect_Conversion_Between_Numeric_Types__double2int_12_good(void)
{
good1();
return;
}
| ['gcc'] |
7,723 | void CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_08_bad()
{
if(staticReturnsTrue())
{
{
char dest[DEST_SIZE];
/* FLAW: Incorrect number of arguments */
sprintf(dest, "%s %s", SOURCE_STRING);
printLine(dest);
}
}
} | ['/* FLAW: Incorrect number of arguments */'] | ['CWE685'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110949/CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_08.c | CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_08_bad |
void CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_08_bad(void)
{
int iVar1;
undefined auStack_78 [112];
iVar1 = staticReturnsTrue();
if (iVar1 != 0) {
func_0x00400a80(auStack_78,&UNK_00401158,&UNK_00401154);
printLine(auStack_78);
}
return;
}
| ['gcc'] |
7,724 | void CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_08_good()
{
good1();
good2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110949/CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_08.c | CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_08_good |
void CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_08_good(void)
{
good1();
good2();
return;
}
| ['gcc'] |
7,725 | void CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_11_bad()
{
if(globalReturnsTrue())
{
{
char dest[DEST_SIZE];
/* FLAW: Incorrect number of arguments */
sprintf(dest, "%s %s", SOURCE_STRING);
printLine(dest);
}
}
} | ['/* FLAW: Incorrect number of arguments */'] | ['CWE685'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110952/CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_11.c | CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_11_bad |
void CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_11_bad(void)
{
int iVar1;
undefined auStack_78 [112];
iVar1 = globalReturnsTrue();
if (iVar1 != 0) {
func_0x00400a80(auStack_78,&UNK_00401148,&UNK_00401144);
printLine(auStack_78);
}
return;
}
| ['gcc'] |
7,726 | void CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_11_good()
{
good1();
good2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110952/CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_11.c | CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_11_good |
void CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_11_good(void)
{
good1();
good2();
return;
}
| ['gcc'] |
7,727 | void CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_12_bad()
{
if(globalReturnsTrueOrFalse())
{
{
char dest[DEST_SIZE];
/* FLAW: Incorrect number of arguments */
sprintf(dest, "%s %s", SOURCE_STRING);
printLine(dest);
}
}
else
{
{
char dest[DEST_SIZE];
/* FIX: Use the correct number of arguments */
sprintf(dest, "%s %s", SOURCE_STRING, SOURCE_STRING);
printLine(dest);
}
}
} | ['/* FLAW: Incorrect number of arguments */', '/* FIX: Use the correct number of arguments */'] | ['CWE685'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110953/CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_12.c | CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_12_bad |
void CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_12_bad(void)
{
int iVar1;
undefined auStack_78 [112];
iVar1 = globalReturnsTrueOrFalse();
if (iVar1 == 0) {
func_0x00400a80(auStack_78,&UNK_00401178,&UNK_00401174,&UNK_00401174);
printLine(auStack_78);
}
else {
func_0x00400a80(auStack_78,&UNK_00401178,&UNK_00401174);
printLine(auStack_78);
}
return;
}
| ['gcc'] |
7,728 | void CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_12_good()
{
good1();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110953/CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_12.c | CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_12_good |
void CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_12_good(void)
{
good1();
return;
}
| ['gcc'] |
7,729 | void CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_08_bad()
{
if(staticReturnsTrue())
{
{
char dest[DEST_SIZE];
int intFive = 5;
/* FLAW: int argument passed, expecting string argument */
sprintf(dest, "%s", intFive);
printLine(dest);
}
}
} | ['/* FLAW: int argument passed, expecting string argument */'] | ['CWE688'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110967/CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_08.c | CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_08_bad |
void CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_08_bad(void)
{
int iVar1;
undefined auStack_78 [108];
undefined4 uStack_c;
iVar1 = staticReturnsTrue();
if (iVar1 != 0) {
uStack_c = 5;
func_0x00400a80(auStack_78,&UNK_00401154,5);
printLine(auStack_78);
}
return;
}
| ['gcc'] |
7,730 | void CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_08_good()
{
good1();
good2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110967/CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_08.c | CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_08_good |
void CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_08_good(void)
{
good1();
good2();
return;
}
| ['gcc'] |
7,731 | void CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_11_bad()
{
if(globalReturnsTrue())
{
{
char dest[DEST_SIZE];
int intFive = 5;
/* FLAW: int argument passed, expecting string argument */
sprintf(dest, "%s", intFive);
printLine(dest);
}
}
} | ['/* FLAW: int argument passed, expecting string argument */'] | ['CWE688'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110970/CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_11.c | CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_11_bad |
void CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_11_bad(void)
{
int iVar1;
undefined auStack_78 [108];
undefined4 uStack_c;
iVar1 = globalReturnsTrue();
if (iVar1 != 0) {
uStack_c = 5;
func_0x00400a80(auStack_78,&UNK_00401144,5);
printLine(auStack_78);
}
return;
}
| ['gcc'] |
7,732 | void CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_11_good()
{
good1();
good2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110970/CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_11.c | CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_11_good |
void CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_11_good(void)
{
good1();
good2();
return;
}
| ['gcc'] |
7,733 | void CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_12_bad()
{
if(globalReturnsTrueOrFalse())
{
{
char dest[DEST_SIZE];
int intFive = 5;
/* FLAW: int argument passed, expecting string argument */
sprintf(dest, "%s", intFive);
printLine(dest);
}
}
else
{
{
char dest[DEST_SIZE];
int intFive = 5;
/* FIX: use the correct format string */
sprintf(dest, "%d", intFive);
printLine(dest);
}
}
} | ['/* FLAW: int argument passed, expecting string argument */', '/* FIX: use the correct format string */'] | ['CWE688'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110971/CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_12.c | CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_12_bad |
void CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_12_bad(void)
{
int iVar1;
undefined auStack_78 [104];
undefined4 uStack_10;
undefined4 uStack_c;
iVar1 = globalReturnsTrueOrFalse();
if (iVar1 == 0) {
uStack_c = 5;
func_0x00400a80(auStack_78,&UNK_00401177,5);
printLine(auStack_78);
}
else {
uStack_10 = 5;
func_0x00400a80(auStack_78,&UNK_00401174,5);
printLine(auStack_78);
}
return;
}
| ['gcc'] |
7,734 | void CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_12_good()
{
good1();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110971/CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_12.c | CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_12_good |
void CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_12_good(void)
{
good1();
return;
}
| ['gcc'] |
7,735 | void CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_17_bad()
{
int j;
for(j = 0; j < 1; j++)
{
{
char dest[DEST_SIZE];
int intFive = 5;
/* FLAW: int argument passed, expecting string argument */
sprintf(dest, "%s", intFive);
printLine(dest);
}
}
} | ['/* FLAW: int argument passed, expecting string argument */'] | ['CWE688'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110976/CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_17.c | CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_17_bad |
void CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_17_bad(void)
{
undefined auStack_78 [104];
undefined4 uStack_10;
int iStack_c;
for (iStack_c = 0; iStack_c < 1; iStack_c = iStack_c + 1) {
uStack_10 = 5;
func_0x00400a80(auStack_78,&UNK_00401144,5);
printLine(auStack_78);
}
return;
}
| ['gcc'] |
7,736 | void CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_17_good()
{
good1();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110976/CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_17.c | CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_17_good |
void CWE688_Function_Call_With_Incorrect_Variable_or_Reference_as_Argument__basic_17_good(void)
{
good1();
return;
}
| ['gcc'] |
7,737 | void CWE690_NULL_Deref_From_Return__char_calloc_01_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110978/CWE690_NULL_Deref_From_Return__char_calloc_01.c | CWE690_NULL_Deref_From_Return__char_calloc_01_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_01_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,738 | void CWE690_NULL_Deref_From_Return__char_calloc_01_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110978/CWE690_NULL_Deref_From_Return__char_calloc_01.c | CWE690_NULL_Deref_From_Return__char_calloc_01_good |
void CWE690_NULL_Deref_From_Return__char_calloc_01_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,739 | void CWE690_NULL_Deref_From_Return__char_calloc_02_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
if(1)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110979/CWE690_NULL_Deref_From_Return__char_calloc_02.c | CWE690_NULL_Deref_From_Return__char_calloc_02_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_02_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,740 | void CWE690_NULL_Deref_From_Return__char_calloc_02_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110979/CWE690_NULL_Deref_From_Return__char_calloc_02.c | CWE690_NULL_Deref_From_Return__char_calloc_02_good |
void CWE690_NULL_Deref_From_Return__char_calloc_02_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,741 | void CWE690_NULL_Deref_From_Return__char_calloc_03_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
if(5==5)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110980/CWE690_NULL_Deref_From_Return__char_calloc_03.c | CWE690_NULL_Deref_From_Return__char_calloc_03_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_03_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,742 | void CWE690_NULL_Deref_From_Return__char_calloc_03_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110980/CWE690_NULL_Deref_From_Return__char_calloc_03.c | CWE690_NULL_Deref_From_Return__char_calloc_03_good |
void CWE690_NULL_Deref_From_Return__char_calloc_03_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,743 | void CWE690_NULL_Deref_From_Return__char_calloc_04_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
if(STATIC_CONST_TRUE)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110981/CWE690_NULL_Deref_From_Return__char_calloc_04.c | CWE690_NULL_Deref_From_Return__char_calloc_04_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_04_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,744 | void CWE690_NULL_Deref_From_Return__char_calloc_04_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110981/CWE690_NULL_Deref_From_Return__char_calloc_04.c | CWE690_NULL_Deref_From_Return__char_calloc_04_good |
void CWE690_NULL_Deref_From_Return__char_calloc_04_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,745 | void CWE690_NULL_Deref_From_Return__char_calloc_05_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
if(staticTrue)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110982/CWE690_NULL_Deref_From_Return__char_calloc_05.c | CWE690_NULL_Deref_From_Return__char_calloc_05_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_05_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
if (staticTrue != 0) {
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
7,746 | void CWE690_NULL_Deref_From_Return__char_calloc_05_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110982/CWE690_NULL_Deref_From_Return__char_calloc_05.c | CWE690_NULL_Deref_From_Return__char_calloc_05_good |
void CWE690_NULL_Deref_From_Return__char_calloc_05_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,747 | void CWE690_NULL_Deref_From_Return__char_calloc_06_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
if(STATIC_CONST_FIVE==5)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110983/CWE690_NULL_Deref_From_Return__char_calloc_06.c | CWE690_NULL_Deref_From_Return__char_calloc_06_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_06_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,748 | void CWE690_NULL_Deref_From_Return__char_calloc_06_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110983/CWE690_NULL_Deref_From_Return__char_calloc_06.c | CWE690_NULL_Deref_From_Return__char_calloc_06_good |
void CWE690_NULL_Deref_From_Return__char_calloc_06_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,749 | void CWE690_NULL_Deref_From_Return__char_calloc_07_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
if(staticFive==5)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110984/CWE690_NULL_Deref_From_Return__char_calloc_07.c | CWE690_NULL_Deref_From_Return__char_calloc_07_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_07_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
if (staticFive == 5) {
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
7,750 | void CWE690_NULL_Deref_From_Return__char_calloc_07_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110984/CWE690_NULL_Deref_From_Return__char_calloc_07.c | CWE690_NULL_Deref_From_Return__char_calloc_07_good |
void CWE690_NULL_Deref_From_Return__char_calloc_07_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,751 | void CWE690_NULL_Deref_From_Return__char_calloc_08_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
if(staticReturnsTrue())
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110985/CWE690_NULL_Deref_From_Return__char_calloc_08.c | CWE690_NULL_Deref_From_Return__char_calloc_08_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_08_bad(void)
{
int iVar1;
undefined8 *puVar2;
puVar2 = (undefined8 *)func_0x00400a90(0x14,1);
iVar1 = staticReturnsTrue();
if (iVar1 != 0) {
*puVar2 = 0x696c616974696e49;
*(undefined2 *)(puVar2 + 1) = 0x657a;
*(undefined *)((long)puVar2 + 10) = 0;
printLine(puVar2);
func_0x00400a20(puVar2);
}
return;
}
| ['gcc'] |
7,752 | void CWE690_NULL_Deref_From_Return__char_calloc_08_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110985/CWE690_NULL_Deref_From_Return__char_calloc_08.c | CWE690_NULL_Deref_From_Return__char_calloc_08_good |
void CWE690_NULL_Deref_From_Return__char_calloc_08_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,753 | void CWE690_NULL_Deref_From_Return__char_calloc_09_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
if(GLOBAL_CONST_TRUE)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110986/CWE690_NULL_Deref_From_Return__char_calloc_09.c | CWE690_NULL_Deref_From_Return__char_calloc_09_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_09_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
if (GLOBAL_CONST_TRUE != 0) {
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
7,754 | void CWE690_NULL_Deref_From_Return__char_calloc_09_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110986/CWE690_NULL_Deref_From_Return__char_calloc_09.c | CWE690_NULL_Deref_From_Return__char_calloc_09_good |
void CWE690_NULL_Deref_From_Return__char_calloc_09_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,755 | void CWE690_NULL_Deref_From_Return__char_calloc_10_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
if(globalTrue)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110987/CWE690_NULL_Deref_From_Return__char_calloc_10.c | CWE690_NULL_Deref_From_Return__char_calloc_10_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_10_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
if (globalTrue != 0) {
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
7,756 | void CWE690_NULL_Deref_From_Return__char_calloc_10_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110987/CWE690_NULL_Deref_From_Return__char_calloc_10.c | CWE690_NULL_Deref_From_Return__char_calloc_10_good |
void CWE690_NULL_Deref_From_Return__char_calloc_10_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,757 | void CWE690_NULL_Deref_From_Return__char_calloc_11_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
if(globalReturnsTrue())
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110988/CWE690_NULL_Deref_From_Return__char_calloc_11.c | CWE690_NULL_Deref_From_Return__char_calloc_11_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_11_bad(void)
{
int iVar1;
undefined8 *puVar2;
puVar2 = (undefined8 *)func_0x00400a90(0x14,1);
iVar1 = globalReturnsTrue();
if (iVar1 != 0) {
*puVar2 = 0x696c616974696e49;
*(undefined2 *)(puVar2 + 1) = 0x657a;
*(undefined *)((long)puVar2 + 10) = 0;
printLine(puVar2);
func_0x00400a20(puVar2);
}
return;
}
| ['gcc'] |
7,758 | void CWE690_NULL_Deref_From_Return__char_calloc_11_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110988/CWE690_NULL_Deref_From_Return__char_calloc_11.c | CWE690_NULL_Deref_From_Return__char_calloc_11_good |
void CWE690_NULL_Deref_From_Return__char_calloc_11_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,759 | void CWE690_NULL_Deref_From_Return__char_calloc_12_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
if(globalReturnsTrueOrFalse())
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
else
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
strcpy(data, "Initialize");
printLine(data);
free(data);
}
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */', '/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110989/CWE690_NULL_Deref_From_Return__char_calloc_12.c | CWE690_NULL_Deref_From_Return__char_calloc_12_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_12_bad(void)
{
int iVar1;
undefined8 *puVar2;
puVar2 = (undefined8 *)func_0x00400a90(0x14,1);
iVar1 = globalReturnsTrueOrFalse();
if (iVar1 == 0) {
if (puVar2 != (undefined8 *)0x0) {
*puVar2 = 0x696c616974696e49;
*(undefined2 *)(puVar2 + 1) = 0x657a;
*(undefined *)((long)puVar2 + 10) = 0;
printLine(puVar2);
func_0x00400a20(puVar2);
}
}
else {
*puVar2 = 0x696c616974696e49;
*(undefined2 *)(puVar2 + 1) = 0x657a;
*(undefined *)((long)puVar2 + 10) = 0;
printLine(puVar2);
func_0x00400a20(puVar2);
}
return;
}
| ['gcc'] |
7,760 | void CWE690_NULL_Deref_From_Return__char_calloc_12_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110989/CWE690_NULL_Deref_From_Return__char_calloc_12.c | CWE690_NULL_Deref_From_Return__char_calloc_12_good |
void CWE690_NULL_Deref_From_Return__char_calloc_12_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,761 | void CWE690_NULL_Deref_From_Return__char_calloc_13_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
if(GLOBAL_CONST_FIVE==5)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110990/CWE690_NULL_Deref_From_Return__char_calloc_13.c | CWE690_NULL_Deref_From_Return__char_calloc_13_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_13_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
if (GLOBAL_CONST_FIVE == 5) {
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
7,762 | void CWE690_NULL_Deref_From_Return__char_calloc_13_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110990/CWE690_NULL_Deref_From_Return__char_calloc_13.c | CWE690_NULL_Deref_From_Return__char_calloc_13_good |
void CWE690_NULL_Deref_From_Return__char_calloc_13_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,763 | void CWE690_NULL_Deref_From_Return__char_calloc_14_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
if(globalFive==5)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110991/CWE690_NULL_Deref_From_Return__char_calloc_14.c | CWE690_NULL_Deref_From_Return__char_calloc_14_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_14_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
if (globalFive == 5) {
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
7,764 | void CWE690_NULL_Deref_From_Return__char_calloc_14_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110991/CWE690_NULL_Deref_From_Return__char_calloc_14.c | CWE690_NULL_Deref_From_Return__char_calloc_14_good |
void CWE690_NULL_Deref_From_Return__char_calloc_14_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,765 | void CWE690_NULL_Deref_From_Return__char_calloc_15_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
switch(6)
{
case 6:
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
break;
default:
/* INCIDENTAL: CWE 561 Dead Code, the code below will never run */
printLine("Benign, fixed string");
break;
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */', '/* INCIDENTAL: CWE 561 Dead Code, the code below will never run */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110992/CWE690_NULL_Deref_From_Return__char_calloc_15.c | CWE690_NULL_Deref_From_Return__char_calloc_15_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_15_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,766 | void CWE690_NULL_Deref_From_Return__char_calloc_15_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110992/CWE690_NULL_Deref_From_Return__char_calloc_15.c | CWE690_NULL_Deref_From_Return__char_calloc_15_good |
void CWE690_NULL_Deref_From_Return__char_calloc_15_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,767 | void CWE690_NULL_Deref_From_Return__char_calloc_16_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
while(1)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
break;
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110993/CWE690_NULL_Deref_From_Return__char_calloc_16.c | CWE690_NULL_Deref_From_Return__char_calloc_16_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_16_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,768 | void CWE690_NULL_Deref_From_Return__char_calloc_16_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110993/CWE690_NULL_Deref_From_Return__char_calloc_16.c | CWE690_NULL_Deref_From_Return__char_calloc_16_good |
void CWE690_NULL_Deref_From_Return__char_calloc_16_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,769 | void CWE690_NULL_Deref_From_Return__char_calloc_17_bad()
{
int j;
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
for(j = 0; j < 1; j++)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110994/CWE690_NULL_Deref_From_Return__char_calloc_17.c | CWE690_NULL_Deref_From_Return__char_calloc_17_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_17_bad(void)
{
undefined8 *puVar1;
int iStack_c;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
for (iStack_c = 0; iStack_c < 1; iStack_c = iStack_c + 1) {
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
}
return;
}
| ['gcc'] |
7,770 | void CWE690_NULL_Deref_From_Return__char_calloc_17_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110994/CWE690_NULL_Deref_From_Return__char_calloc_17.c | CWE690_NULL_Deref_From_Return__char_calloc_17_good |
void CWE690_NULL_Deref_From_Return__char_calloc_17_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,771 | void CWE690_NULL_Deref_From_Return__char_calloc_18_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
goto sink;
sink:
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110995/CWE690_NULL_Deref_From_Return__char_calloc_18.c | CWE690_NULL_Deref_From_Return__char_calloc_18_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_18_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,772 | void CWE690_NULL_Deref_From_Return__char_calloc_18_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110995/CWE690_NULL_Deref_From_Return__char_calloc_18.c | CWE690_NULL_Deref_From_Return__char_calloc_18_good |
void CWE690_NULL_Deref_From_Return__char_calloc_18_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,773 | void CWE690_NULL_Deref_From_Return__char_calloc_21_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
badStatic = 1; /* true */
badSink(data);
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* true */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110996/CWE690_NULL_Deref_From_Return__char_calloc_21.c | CWE690_NULL_Deref_From_Return__char_calloc_21_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_21_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400a90(0x14,1);
badStatic = 1;
badSink(uVar1);
return;
}
| ['gcc'] |
7,774 | void CWE690_NULL_Deref_From_Return__char_calloc_21_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110996/CWE690_NULL_Deref_From_Return__char_calloc_21.c | CWE690_NULL_Deref_From_Return__char_calloc_21_good |
void CWE690_NULL_Deref_From_Return__char_calloc_21_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,775 | void CWE690_NULL_Deref_From_Return__char_calloc_22_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
CWE690_NULL_Deref_From_Return__char_calloc_22_badGlobal = 1; /* true */
CWE690_NULL_Deref_From_Return__char_calloc_22_badSink(data);
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* true */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110997/CWE690_NULL_Deref_From_Return__char_calloc_22a.c | CWE690_NULL_Deref_From_Return__char_calloc_22_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_22_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400a90(0x14,1);
CWE690_NULL_Deref_From_Return__char_calloc_22_badGlobal = 1;
CWE690_NULL_Deref_From_Return__char_calloc_22_badSink(uVar1);
return;
}
| ['gcc'] |
7,776 | void CWE690_NULL_Deref_From_Return__char_calloc_22_good()
{
goodB2G1();
goodB2G2();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110997/CWE690_NULL_Deref_From_Return__char_calloc_22a.c | CWE690_NULL_Deref_From_Return__char_calloc_22_good |
void CWE690_NULL_Deref_From_Return__char_calloc_22_good(void)
{
goodB2G1();
goodB2G2();
return;
}
| ['gcc'] |
7,777 | void CWE690_NULL_Deref_From_Return__char_calloc_22_badSink(char * data)
{
if(CWE690_NULL_Deref_From_Return__char_calloc_22_badGlobal)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110997/CWE690_NULL_Deref_From_Return__char_calloc_22b.c | CWE690_NULL_Deref_From_Return__char_calloc_22_badSink |
void CWE690_NULL_Deref_From_Return__char_calloc_22_badSink(undefined8 *param_1)
{
if (CWE690_NULL_Deref_From_Return__char_calloc_22_badGlobal != 0) {
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
7,778 | void CWE690_NULL_Deref_From_Return__char_calloc_22_goodB2G1Sink(char * data)
{
if(CWE690_NULL_Deref_From_Return__char_calloc_22_goodB2G1Global)
{
/* INCIDENTAL: CWE 561 Dead Code, the code below will never run */
printLine("Benign, fixed string");
}
else
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
strcpy(data, "Initialize");
printLine(data);
free(data);
}
}
} | ['/* INCIDENTAL: CWE 561 Dead Code, the code below will never run */', '/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110997/CWE690_NULL_Deref_From_Return__char_calloc_22b.c | CWE690_NULL_Deref_From_Return__char_calloc_22_goodB2G1Sink |
void CWE690_NULL_Deref_From_Return__char_calloc_22_goodB2G1Sink(undefined8 *param_1)
{
if (CWE690_NULL_Deref_From_Return__char_calloc_22_goodB2G1Global == 0) {
if (param_1 != (undefined8 *)0x0) {
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
}
}
else {
printLine(&UNK_00401294);
}
return;
}
| ['gcc'] |
7,779 | void CWE690_NULL_Deref_From_Return__char_calloc_22_goodB2G2Sink(char * data)
{
if(CWE690_NULL_Deref_From_Return__char_calloc_22_goodB2G2Global)
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
strcpy(data, "Initialize");
printLine(data);
free(data);
}
}
} | ['/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110997/CWE690_NULL_Deref_From_Return__char_calloc_22b.c | CWE690_NULL_Deref_From_Return__char_calloc_22_goodB2G2Sink |
void CWE690_NULL_Deref_From_Return__char_calloc_22_goodB2G2Sink(undefined8 *param_1)
{
if ((CWE690_NULL_Deref_From_Return__char_calloc_22_goodB2G2Global != 0) &&
(param_1 != (undefined8 *)0x0)) {
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
7,780 | void CWE690_NULL_Deref_From_Return__char_calloc_31_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
{
char * dataCopy = data;
char * data = dataCopy;
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110998/CWE690_NULL_Deref_From_Return__char_calloc_31.c | CWE690_NULL_Deref_From_Return__char_calloc_31_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_31_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,781 | void CWE690_NULL_Deref_From_Return__char_calloc_31_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110998/CWE690_NULL_Deref_From_Return__char_calloc_31.c | CWE690_NULL_Deref_From_Return__char_calloc_31_good |
void CWE690_NULL_Deref_From_Return__char_calloc_31_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,782 | void CWE690_NULL_Deref_From_Return__char_calloc_32_bad()
{
char * data;
char * *dataPtr1 = &data;
char * *dataPtr2 = &data;
data = NULL; /* Initialize data */
{
char * data = *dataPtr1;
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
*dataPtr1 = data;
}
{
char * data = *dataPtr2;
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110999/CWE690_NULL_Deref_From_Return__char_calloc_32.c | CWE690_NULL_Deref_From_Return__char_calloc_32_bad |
/* WARNING: Restarted to delay deadcode elimination for space: stack */
void CWE690_NULL_Deref_From_Return__char_calloc_32_bad(void)
{
undefined8 uStack_30;
undefined8 *puStack_28;
undefined8 uStack_20;
undefined8 *puStack_18;
undefined8 *puStack_10;
puStack_10 = &uStack_30;
puStack_18 = &uStack_30;
uStack_30 = 0;
uStack_20 = 0;
uStack_20 = func_0x00400a90(0x14,1);
*puStack_10 = uStack_20;
puStack_28 = (undefined8 *)*puStack_18;
*puStack_28 = 0x696c616974696e49;
*(undefined2 *)(puStack_28 + 1) = 0x657a;
*(undefined *)((long)puStack_28 + 10) = 0;
printLine(puStack_28);
func_0x00400a20(puStack_28);
return;
}
| ['gcc'] |
7,783 | void CWE690_NULL_Deref_From_Return__char_calloc_32_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/110999/CWE690_NULL_Deref_From_Return__char_calloc_32.c | CWE690_NULL_Deref_From_Return__char_calloc_32_good |
void CWE690_NULL_Deref_From_Return__char_calloc_32_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,784 | void CWE690_NULL_Deref_From_Return__char_calloc_34_bad()
{
char * data;
CWE690_NULL_Deref_From_Return__char_calloc_34_unionType myUnion;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
myUnion.unionFirst = data;
{
char * data = myUnion.unionSecond;
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111001/CWE690_NULL_Deref_From_Return__char_calloc_34.c | CWE690_NULL_Deref_From_Return__char_calloc_34_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_34_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)func_0x00400a90(0x14,1);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,785 | void CWE690_NULL_Deref_From_Return__char_calloc_34_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111001/CWE690_NULL_Deref_From_Return__char_calloc_34.c | CWE690_NULL_Deref_From_Return__char_calloc_34_good |
void CWE690_NULL_Deref_From_Return__char_calloc_34_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,786 | void CWE690_NULL_Deref_From_Return__char_calloc_41_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
badSink(data);
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111002/CWE690_NULL_Deref_From_Return__char_calloc_41.c | CWE690_NULL_Deref_From_Return__char_calloc_41_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_41_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400a90(0x14,1);
badSink(uVar1);
return;
}
| ['gcc'] |
7,787 | void CWE690_NULL_Deref_From_Return__char_calloc_41_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111002/CWE690_NULL_Deref_From_Return__char_calloc_41.c | CWE690_NULL_Deref_From_Return__char_calloc_41_good |
void CWE690_NULL_Deref_From_Return__char_calloc_41_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,788 | void CWE690_NULL_Deref_From_Return__char_calloc_42_bad()
{
char * data;
data = NULL; /* Initialize data */
data = badSource(data);
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
} | ['/* Initialize data */', '/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111003/CWE690_NULL_Deref_From_Return__char_calloc_42.c | CWE690_NULL_Deref_From_Return__char_calloc_42_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_42_bad(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)badSource(0);
*puVar1 = 0x696c616974696e49;
*(undefined2 *)(puVar1 + 1) = 0x657a;
*(undefined *)((long)puVar1 + 10) = 0;
printLine(puVar1);
func_0x00400a20(puVar1);
return;
}
| ['gcc'] |
7,789 | void CWE690_NULL_Deref_From_Return__char_calloc_42_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111003/CWE690_NULL_Deref_From_Return__char_calloc_42.c | CWE690_NULL_Deref_From_Return__char_calloc_42_good |
void CWE690_NULL_Deref_From_Return__char_calloc_42_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,790 | void CWE690_NULL_Deref_From_Return__char_calloc_51_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
CWE690_NULL_Deref_From_Return__char_calloc_51b_badSink(data);
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111007/CWE690_NULL_Deref_From_Return__char_calloc_51a.c | CWE690_NULL_Deref_From_Return__char_calloc_51_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_51_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400a90(0x14,1);
CWE690_NULL_Deref_From_Return__char_calloc_51b_badSink(uVar1);
return;
}
| ['gcc'] |
7,791 | void CWE690_NULL_Deref_From_Return__char_calloc_51_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111007/CWE690_NULL_Deref_From_Return__char_calloc_51a.c | CWE690_NULL_Deref_From_Return__char_calloc_51_good |
void CWE690_NULL_Deref_From_Return__char_calloc_51_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,792 | void CWE690_NULL_Deref_From_Return__char_calloc_51b_badSink(char * data)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
} | ['/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111007/CWE690_NULL_Deref_From_Return__char_calloc_51b.c | CWE690_NULL_Deref_From_Return__char_calloc_51b_badSink |
void CWE690_NULL_Deref_From_Return__char_calloc_51b_badSink(undefined8 *param_1)
{
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
7,793 | void CWE690_NULL_Deref_From_Return__char_calloc_51b_goodB2GSink(char * data)
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111007/CWE690_NULL_Deref_From_Return__char_calloc_51b.c | CWE690_NULL_Deref_From_Return__char_calloc_51b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_calloc_51b_goodB2GSink(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
7,794 | void CWE690_NULL_Deref_From_Return__char_calloc_52_bad()
{
char * data;
data = NULL; /* Initialize data */
/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */
data = (char *)calloc(20, sizeof(char));
CWE690_NULL_Deref_From_Return__char_calloc_52b_badSink(data);
} | ['/* Initialize data */', '/* POTENTIAL FLAW: Allocate memory without checking if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111008/CWE690_NULL_Deref_From_Return__char_calloc_52a.c | CWE690_NULL_Deref_From_Return__char_calloc_52_bad |
void CWE690_NULL_Deref_From_Return__char_calloc_52_bad(void)
{
undefined8 uVar1;
uVar1 = func_0x00400a90(0x14,1);
CWE690_NULL_Deref_From_Return__char_calloc_52b_badSink(uVar1);
return;
}
| ['gcc'] |
7,795 | void CWE690_NULL_Deref_From_Return__char_calloc_52_good()
{
goodB2G();
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111008/CWE690_NULL_Deref_From_Return__char_calloc_52a.c | CWE690_NULL_Deref_From_Return__char_calloc_52_good |
void CWE690_NULL_Deref_From_Return__char_calloc_52_good(void)
{
goodB2G();
return;
}
| ['gcc'] |
7,796 | void CWE690_NULL_Deref_From_Return__char_calloc_52b_badSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_calloc_52c_badSink(data);
} | [] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111008/CWE690_NULL_Deref_From_Return__char_calloc_52b.c | CWE690_NULL_Deref_From_Return__char_calloc_52b_badSink |
void CWE690_NULL_Deref_From_Return__char_calloc_52b_badSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_calloc_52c_badSink(param_1);
return;
}
| ['gcc'] |
7,797 | void CWE690_NULL_Deref_From_Return__char_calloc_52b_goodB2GSink(char * data)
{
CWE690_NULL_Deref_From_Return__char_calloc_52c_goodB2GSink(data);
} | [] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111008/CWE690_NULL_Deref_From_Return__char_calloc_52b.c | CWE690_NULL_Deref_From_Return__char_calloc_52b_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_calloc_52b_goodB2GSink(undefined8 param_1)
{
CWE690_NULL_Deref_From_Return__char_calloc_52c_goodB2GSink(param_1);
return;
}
| ['gcc'] |
7,798 | void CWE690_NULL_Deref_From_Return__char_calloc_52c_badSink(char * data)
{
/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */
strcpy(data, "Initialize");
printLine(data);
free(data);
} | ['/* FLAW: Initialize memory buffer without checking to see if the memory allocation function failed */'] | ['CWE690'] | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111008/CWE690_NULL_Deref_From_Return__char_calloc_52c.c | CWE690_NULL_Deref_From_Return__char_calloc_52c_badSink |
void CWE690_NULL_Deref_From_Return__char_calloc_52c_badSink(undefined8 *param_1)
{
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
return;
}
| ['gcc'] |
7,799 | void CWE690_NULL_Deref_From_Return__char_calloc_52c_goodB2GSink(char * data)
{
/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */
if (data != NULL)
{
strcpy(data, "Initialize");
printLine(data);
free(data);
}
} | ['/* FIX: Check to see if the memory allocation function was successful before initializing the memory buffer */'] | null | mvd | /work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/111008/CWE690_NULL_Deref_From_Return__char_calloc_52c.c | CWE690_NULL_Deref_From_Return__char_calloc_52c_goodB2GSink |
void CWE690_NULL_Deref_From_Return__char_calloc_52c_goodB2GSink(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 0x696c616974696e49;
*(undefined2 *)(param_1 + 1) = 0x657a;
*(undefined *)((long)param_1 + 10) = 0;
printLine(param_1);
func_0x00400a20(param_1);
}
return;
}
| ['gcc'] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.