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
53,400
void CWE369_Divide_by_Zero__int_fgets_divide_66_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95096/CWE369_Divide_by_Zero__int_fgets_divide_66a.c
CWE369_Divide_by_Zero__int_fgets_divide_66_good
void CWE369_Divide_by_Zero__int_fgets_divide_66_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
53,401
void CWE369_Divide_by_Zero__int_fgets_divide_66b_badSink(int dataArray[]) { /* copy data out of dataArray */ int data = dataArray[2]; /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 / data); }
['/* copy data out of dataArray */', '/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95096/CWE369_Divide_by_Zero__int_fgets_divide_66b.c
CWE369_Divide_by_Zero__int_fgets_divide_66b_badSink
void CWE369_Divide_by_Zero__int_fgets_divide_66b_badSink(long param_1,undefined8 param_2) { printIntLine(100 / (long)*(int *)(param_1 + 8) & 0xffffffff,param_2, 100 % (long)*(int *)(param_1 + 8) & 0xffffffff); return; }
['gcc']
53,402
void CWE369_Divide_by_Zero__int_fgets_divide_66b_goodG2BSink(int dataArray[]) { int data = dataArray[2]; /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 / data); }
['/* POTENTIAL FLAW: Possibly divide by zero */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95096/CWE369_Divide_by_Zero__int_fgets_divide_66b.c
CWE369_Divide_by_Zero__int_fgets_divide_66b_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_divide_66b_goodG2BSink(long param_1,undefined8 param_2) { printIntLine(100 / (long)*(int *)(param_1 + 8) & 0xffffffff,param_2, 100 % (long)*(int *)(param_1 + 8) & 0xffffffff); return; }
['gcc']
53,403
void CWE369_Divide_by_Zero__int_fgets_divide_66b_goodB2GSink(int dataArray[]) { int data = dataArray[2]; /* FIX: test for a zero denominator */ if( data != 0 ) { printIntLine(100 / data); } else { printLine("This would result in a divide by zero"); } }
['/* FIX: test for a zero denominator */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95096/CWE369_Divide_by_Zero__int_fgets_divide_66b.c
CWE369_Divide_by_Zero__int_fgets_divide_66b_goodB2GSink
void CWE369_Divide_by_Zero__int_fgets_divide_66b_goodB2GSink(long param_1,undefined8 param_2) { int iVar1; iVar1 = *(int *)(param_1 + 8); if (iVar1 == 0) { printLine(&UNK_004012a8); } else { printIntLine(100 / (long)iVar1 & 0xffffffff,param_2,100 % (long)iVar1 & 0xffffffff); } return; }
['gcc']
53,404
void CWE369_Divide_by_Zero__int_fgets_divide_67_bad() { int data; CWE369_Divide_by_Zero__int_fgets_divide_67_structType myStruct; /* Initialize data */ data = -1; { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } myStruct.structFirst = data; CWE369_Divide_by_Zero__int_fgets_divide_67b_badSink(myStruct); }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95097/CWE369_Divide_by_Zero__int_fgets_divide_67a.c
CWE369_Divide_by_Zero__int_fgets_divide_67_bad
void CWE369_Divide_by_Zero__int_fgets_divide_67_bad(void) { long lVar1; undefined8 uStack_1e; undefined4 uStack_16; undefined2 uStack_12; undefined4 uStack_10; undefined4 uStack_c; uStack_c = 0xffffffff; uStack_1e = 0; uStack_16 = 0; uStack_12 = 0; lVar1 = func_0x00400ab0(&uStack_1e,0xe,stdin); if (lVar1 == 0) { printLine(&UNK_00401224); } else { uStack_c = func_0x00400b10(&uStack_1e); } uStack_10 = uStack_c; CWE369_Divide_by_Zero__int_fgets_divide_67b_badSink(uStack_c); return; }
['gcc']
53,405
void CWE369_Divide_by_Zero__int_fgets_divide_67_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95097/CWE369_Divide_by_Zero__int_fgets_divide_67a.c
CWE369_Divide_by_Zero__int_fgets_divide_67_good
void CWE369_Divide_by_Zero__int_fgets_divide_67_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
53,406
void CWE369_Divide_by_Zero__int_fgets_divide_67b_badSink(CWE369_Divide_by_Zero__int_fgets_divide_67_structType myStruct) { int data = myStruct.structFirst; /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 / data); }
['/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95097/CWE369_Divide_by_Zero__int_fgets_divide_67b.c
CWE369_Divide_by_Zero__int_fgets_divide_67b_badSink
void CWE369_Divide_by_Zero__int_fgets_divide_67b_badSink(int param_1,undefined8 param_2) { printIntLine(100 / (long)param_1 & 0xffffffff,param_2,100 % (long)param_1 & 0xffffffff); return; }
['gcc']
53,407
void CWE369_Divide_by_Zero__int_fgets_divide_67b_goodG2BSink(CWE369_Divide_by_Zero__int_fgets_divide_67_structType myStruct) { int data = myStruct.structFirst; /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 / data); }
['/* POTENTIAL FLAW: Possibly divide by zero */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95097/CWE369_Divide_by_Zero__int_fgets_divide_67b.c
CWE369_Divide_by_Zero__int_fgets_divide_67b_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_divide_67b_goodG2BSink(int param_1,undefined8 param_2) { printIntLine(100 / (long)param_1 & 0xffffffff,param_2,100 % (long)param_1 & 0xffffffff); return; }
['gcc']
53,408
void CWE369_Divide_by_Zero__int_fgets_divide_67b_goodB2GSink(CWE369_Divide_by_Zero__int_fgets_divide_67_structType myStruct) { int data = myStruct.structFirst; /* FIX: test for a zero denominator */ if( data != 0 ) { printIntLine(100 / data); } else { printLine("This would result in a divide by zero"); } }
['/* FIX: test for a zero denominator */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95097/CWE369_Divide_by_Zero__int_fgets_divide_67b.c
CWE369_Divide_by_Zero__int_fgets_divide_67b_goodB2GSink
void CWE369_Divide_by_Zero__int_fgets_divide_67b_goodB2GSink(int param_1,undefined8 param_2) { if (param_1 == 0) { printLine(&UNK_004012a8); } else { printIntLine(100 / (long)param_1 & 0xffffffff,param_2,100 % (long)param_1 & 0xffffffff); } return; }
['gcc']
53,409
void CWE369_Divide_by_Zero__int_fgets_modulo_08_bad() { int data; /* Initialize data */ data = -1; if(staticReturnsTrue()) { { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } } if(staticReturnsTrue()) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */', '/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95113/CWE369_Divide_by_Zero__int_fgets_modulo_08.c
CWE369_Divide_by_Zero__int_fgets_modulo_08_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_08_bad(void) { int iVar1; long lVar2; undefined8 uStack_1a; undefined4 uStack_12; undefined2 uStack_e; int iStack_c; iStack_c = -1; iVar1 = staticReturnsTrue(); if (iVar1 != 0) { uStack_1a = 0; uStack_12 = 0; uStack_e = 0; lVar2 = func_0x00400ab0(&uStack_1a,0xe,stdin); if (lVar2 == 0) { printLine(&UNK_00401234); } else { iStack_c = func_0x00400b10(&uStack_1a); } } iVar1 = staticReturnsTrue(); if (iVar1 != 0) { printIntLine(100 % (long)iStack_c & 0xffffffff); } return; }
['gcc']
53,410
void CWE369_Divide_by_Zero__int_fgets_modulo_08_good() { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95113/CWE369_Divide_by_Zero__int_fgets_modulo_08.c
CWE369_Divide_by_Zero__int_fgets_modulo_08_good
void CWE369_Divide_by_Zero__int_fgets_modulo_08_good(void) { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); return; }
['gcc']
53,411
void CWE369_Divide_by_Zero__int_fgets_modulo_11_bad() { int data; /* Initialize data */ data = -1; if(globalReturnsTrue()) { { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } } if(globalReturnsTrue()) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */', '/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95116/CWE369_Divide_by_Zero__int_fgets_modulo_11.c
CWE369_Divide_by_Zero__int_fgets_modulo_11_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_11_bad(void) { int iVar1; long lVar2; undefined8 uStack_1a; undefined4 uStack_12; undefined2 uStack_e; int iStack_c; iStack_c = -1; iVar1 = globalReturnsTrue(); if (iVar1 != 0) { uStack_1a = 0; uStack_12 = 0; uStack_e = 0; lVar2 = func_0x00400ab0(&uStack_1a,0xe,stdin); if (lVar2 == 0) { printLine(&UNK_00401224); } else { iStack_c = func_0x00400b10(&uStack_1a); } } iVar1 = globalReturnsTrue(); if (iVar1 != 0) { printIntLine(100 % (long)iStack_c & 0xffffffff); } return; }
['gcc']
53,412
void CWE369_Divide_by_Zero__int_fgets_modulo_11_good() { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95116/CWE369_Divide_by_Zero__int_fgets_modulo_11.c
CWE369_Divide_by_Zero__int_fgets_modulo_11_good
void CWE369_Divide_by_Zero__int_fgets_modulo_11_good(void) { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); return; }
['gcc']
53,413
void CWE369_Divide_by_Zero__int_fgets_modulo_12_bad() { int data; /* Initialize data */ data = -1; if(globalReturnsTrueOrFalse()) { { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } } else { /* FIX: Use a value not equal to zero */ data = 7; } if(globalReturnsTrueOrFalse()) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); } else { /* FIX: test for a zero denominator */ if( data != 0 ) { printIntLine(100 % data); } else { printLine("This would result in a divide by zero"); } } }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */', '/* FIX: Use a value not equal to zero */', '/* POTENTIAL FLAW: Possibly divide by zero */', '/* FIX: test for a zero denominator */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95117/CWE369_Divide_by_Zero__int_fgets_modulo_12.c
CWE369_Divide_by_Zero__int_fgets_modulo_12_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_12_bad(void) { int iVar1; long lVar2; undefined8 uStack_1a; undefined4 uStack_12; undefined2 uStack_e; int iStack_c; iStack_c = -1; iVar1 = globalReturnsTrueOrFalse(); if (iVar1 == 0) { iStack_c = 7; } else { uStack_1a = 0; uStack_12 = 0; uStack_e = 0; lVar2 = func_0x00400ab0(&uStack_1a,0xe,stdin); if (lVar2 == 0) { printLine(&UNK_00401258); } else { iStack_c = func_0x00400b10(&uStack_1a); } } iVar1 = globalReturnsTrueOrFalse(); if (iVar1 == 0) { if (iStack_c == 0) { printLine(&UNK_00401268); } else { printIntLine(100 % (long)iStack_c & 0xffffffff); } } else { printIntLine(100 % (long)iStack_c & 0xffffffff); } return; }
['gcc']
53,414
void CWE369_Divide_by_Zero__int_fgets_modulo_12_good() { goodB2G(); goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95117/CWE369_Divide_by_Zero__int_fgets_modulo_12.c
CWE369_Divide_by_Zero__int_fgets_modulo_12_good
void CWE369_Divide_by_Zero__int_fgets_modulo_12_good(void) { goodB2G(); goodG2B(); return; }
['gcc']
53,415
void CWE369_Divide_by_Zero__int_fgets_modulo_17_bad() { int i,j; int data; /* Initialize data */ data = -1; for(i = 0; i < 1; i++) { { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } } for(j = 0; j < 1; j++) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */', '/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95122/CWE369_Divide_by_Zero__int_fgets_modulo_17.c
CWE369_Divide_by_Zero__int_fgets_modulo_17_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_17_bad(void) { long lVar1; undefined8 uStack_22; undefined4 uStack_1a; undefined2 uStack_16; int iStack_14; int iStack_10; int iStack_c; iStack_14 = -1; for (iStack_c = 0; iStack_c < 1; iStack_c = iStack_c + 1) { uStack_22 = 0; uStack_1a = 0; uStack_16 = 0; lVar1 = func_0x00400ab0(&uStack_22,0xe,stdin); if (lVar1 == 0) { printLine(&UNK_00401224); } else { iStack_14 = func_0x00400b10(&uStack_22); } } for (iStack_10 = 0; iStack_10 < 1; iStack_10 = iStack_10 + 1) { printIntLine(100 % (long)iStack_14 & 0xffffffff); } return; }
['gcc']
53,416
void CWE369_Divide_by_Zero__int_fgets_modulo_17_good() { goodB2G(); goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95122/CWE369_Divide_by_Zero__int_fgets_modulo_17.c
CWE369_Divide_by_Zero__int_fgets_modulo_17_good
void CWE369_Divide_by_Zero__int_fgets_modulo_17_good(void) { goodB2G(); goodG2B(); return; }
['gcc']
53,417
void CWE369_Divide_by_Zero__int_fgets_modulo_21_bad() { int data; /* Initialize data */ data = -1; { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } badStatic = 1; /* true */ badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */', '/* true */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95124/CWE369_Divide_by_Zero__int_fgets_modulo_21.c
CWE369_Divide_by_Zero__int_fgets_modulo_21_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_21_bad(void) { long lVar1; undefined8 uStack_1a; undefined4 uStack_12; undefined2 uStack_e; undefined4 uStack_c; uStack_c = 0xffffffff; uStack_1a = 0; uStack_12 = 0; uStack_e = 0; lVar1 = func_0x00400ab0(&uStack_1a,0xe,stdin); if (lVar1 == 0) { printLine(&UNK_00401234); } else { uStack_c = func_0x00400b10(&uStack_1a); } badStatic = 1; badSink(uStack_c); return; }
['gcc']
53,418
void CWE369_Divide_by_Zero__int_fgets_modulo_21_good() { goodB2G1(); goodB2G2(); goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95124/CWE369_Divide_by_Zero__int_fgets_modulo_21.c
CWE369_Divide_by_Zero__int_fgets_modulo_21_good
void CWE369_Divide_by_Zero__int_fgets_modulo_21_good(void) { goodB2G1(); goodB2G2(); goodG2B(); return; }
['gcc']
53,419
void CWE369_Divide_by_Zero__int_fgets_modulo_22_bad() { int data; /* Initialize data */ data = -1; { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } CWE369_Divide_by_Zero__int_fgets_modulo_22_badGlobal = 1; /* true */ CWE369_Divide_by_Zero__int_fgets_modulo_22_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */', '/* true */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95125/CWE369_Divide_by_Zero__int_fgets_modulo_22a.c
CWE369_Divide_by_Zero__int_fgets_modulo_22_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_22_bad(void) { long lVar1; undefined8 uStack_1a; undefined4 uStack_12; undefined2 uStack_e; undefined4 uStack_c; uStack_c = 0xffffffff; uStack_1a = 0; uStack_12 = 0; uStack_e = 0; lVar1 = func_0x00400ab0(&uStack_1a,0xe,stdin); if (lVar1 == 0) { printLine(&UNK_00401234); } else { uStack_c = func_0x00400b10(&uStack_1a); } CWE369_Divide_by_Zero__int_fgets_modulo_22_badGlobal = 1; CWE369_Divide_by_Zero__int_fgets_modulo_22_badSink(uStack_c); return; }
['gcc']
53,420
void CWE369_Divide_by_Zero__int_fgets_modulo_22_good() { goodB2G1(); goodB2G2(); goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95125/CWE369_Divide_by_Zero__int_fgets_modulo_22a.c
CWE369_Divide_by_Zero__int_fgets_modulo_22_good
void CWE369_Divide_by_Zero__int_fgets_modulo_22_good(void) { goodB2G1(); goodB2G2(); goodG2B(); return; }
['gcc']
53,421
void CWE369_Divide_by_Zero__int_fgets_modulo_22_badSink(int data) { if(CWE369_Divide_by_Zero__int_fgets_modulo_22_badGlobal) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); } }
['/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95125/CWE369_Divide_by_Zero__int_fgets_modulo_22b.c
CWE369_Divide_by_Zero__int_fgets_modulo_22_badSink
void CWE369_Divide_by_Zero__int_fgets_modulo_22_badSink(int param_1) { if (CWE369_Divide_by_Zero__int_fgets_modulo_22_badGlobal != 0) { printIntLine(100 % (long)param_1 & 0xffffffff); } return; }
['gcc']
53,422
void CWE369_Divide_by_Zero__int_fgets_modulo_22_goodB2G1Sink(int data) { if(CWE369_Divide_by_Zero__int_fgets_modulo_22_goodB2G1Global) { /* INCIDENTAL: CWE 561 Dead Code, the code below will never run */ printLine("Benign, fixed string"); } else { /* FIX: test for a zero denominator */ if( data != 0 ) { printIntLine(100 % data); } else { printLine("This would result in a divide by zero"); } } }
['/* INCIDENTAL: CWE 561 Dead Code, the code below will never run */', '/* FIX: test for a zero denominator */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95125/CWE369_Divide_by_Zero__int_fgets_modulo_22b.c
CWE369_Divide_by_Zero__int_fgets_modulo_22_goodB2G1Sink
void CWE369_Divide_by_Zero__int_fgets_modulo_22_goodB2G1Sink(int param_1) { if (CWE369_Divide_by_Zero__int_fgets_modulo_22_goodB2G1Global == 0) { if (param_1 == 0) { printLine(&UNK_00401390); } else { printIntLine(100 % (long)param_1 & 0xffffffff); } } else { printLine(&UNK_00401378); } return; }
['gcc']
53,423
void CWE369_Divide_by_Zero__int_fgets_modulo_22_goodB2G2Sink(int data) { if(CWE369_Divide_by_Zero__int_fgets_modulo_22_goodB2G2Global) { /* FIX: test for a zero denominator */ if( data != 0 ) { printIntLine(100 % data); } else { printLine("This would result in a divide by zero"); } } }
['/* FIX: test for a zero denominator */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95125/CWE369_Divide_by_Zero__int_fgets_modulo_22b.c
CWE369_Divide_by_Zero__int_fgets_modulo_22_goodB2G2Sink
void CWE369_Divide_by_Zero__int_fgets_modulo_22_goodB2G2Sink(int param_1) { if (CWE369_Divide_by_Zero__int_fgets_modulo_22_goodB2G2Global != 0) { if (param_1 == 0) { printLine(&UNK_00401390); } else { printIntLine(100 % (long)param_1 & 0xffffffff); } } return; }
['gcc']
53,424
void CWE369_Divide_by_Zero__int_fgets_modulo_22_goodG2BSink(int data) { if(CWE369_Divide_by_Zero__int_fgets_modulo_22_goodG2BGlobal) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); } }
['/* POTENTIAL FLAW: Possibly divide by zero */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95125/CWE369_Divide_by_Zero__int_fgets_modulo_22b.c
CWE369_Divide_by_Zero__int_fgets_modulo_22_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_modulo_22_goodG2BSink(int param_1) { if (CWE369_Divide_by_Zero__int_fgets_modulo_22_goodG2BGlobal != 0) { printIntLine(100 % (long)param_1 & 0xffffffff); } return; }
['gcc']
53,425
void CWE369_Divide_by_Zero__int_fgets_modulo_31_bad() { int data; /* Initialize data */ data = -1; { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } { int dataCopy = data; int data = dataCopy; /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */', '/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95126/CWE369_Divide_by_Zero__int_fgets_modulo_31.c
CWE369_Divide_by_Zero__int_fgets_modulo_31_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_31_bad(void) { long lVar1; undefined8 uStack_22; undefined4 uStack_1a; undefined2 uStack_16; int iStack_14; int iStack_10; int iStack_c; iStack_c = -1; uStack_22 = 0; uStack_1a = 0; uStack_16 = 0; lVar1 = func_0x00400ab0(&uStack_22,0xe,stdin); if (lVar1 == 0) { printLine(&UNK_00401214); } else { iStack_c = func_0x00400b10(&uStack_22); } iStack_10 = iStack_c; iStack_14 = iStack_c; printIntLine(100 % (long)iStack_c & 0xffffffff); return; }
['gcc']
53,426
void CWE369_Divide_by_Zero__int_fgets_modulo_31_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95126/CWE369_Divide_by_Zero__int_fgets_modulo_31.c
CWE369_Divide_by_Zero__int_fgets_modulo_31_good
void CWE369_Divide_by_Zero__int_fgets_modulo_31_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
53,427
void CWE369_Divide_by_Zero__int_fgets_modulo_34_bad() { int data; CWE369_Divide_by_Zero__int_fgets_modulo_34_unionType myUnion; /* Initialize data */ data = -1; { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } myUnion.unionFirst = data; { int data = myUnion.unionSecond; /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */', '/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95129/CWE369_Divide_by_Zero__int_fgets_modulo_34.c
CWE369_Divide_by_Zero__int_fgets_modulo_34_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_34_bad(void) { long lVar1; undefined8 uStack_22; undefined4 uStack_1a; undefined2 uStack_16; int iStack_14; int iStack_10; int iStack_c; iStack_c = -1; uStack_22 = 0; uStack_1a = 0; uStack_16 = 0; lVar1 = func_0x00400ab0(&uStack_22,0xe,stdin); if (lVar1 == 0) { printLine(&UNK_00401214); } else { iStack_c = func_0x00400b10(&uStack_22); } iStack_14 = iStack_c; iStack_10 = iStack_c; printIntLine(100 % (long)iStack_c & 0xffffffff); return; }
['gcc']
53,428
void CWE369_Divide_by_Zero__int_fgets_modulo_34_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95129/CWE369_Divide_by_Zero__int_fgets_modulo_34.c
CWE369_Divide_by_Zero__int_fgets_modulo_34_good
void CWE369_Divide_by_Zero__int_fgets_modulo_34_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
53,429
void CWE369_Divide_by_Zero__int_fgets_modulo_41_bad() { int data; /* Initialize data */ data = -1; { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95130/CWE369_Divide_by_Zero__int_fgets_modulo_41.c
CWE369_Divide_by_Zero__int_fgets_modulo_41_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_41_bad(void) { long lVar1; undefined8 uStack_1a; undefined4 uStack_12; undefined2 uStack_e; undefined4 uStack_c; uStack_c = 0xffffffff; uStack_1a = 0; uStack_12 = 0; uStack_e = 0; lVar1 = func_0x00400ab0(&uStack_1a,0xe,stdin); if (lVar1 == 0) { printLine(&UNK_00401214); } else { uStack_c = func_0x00400b10(&uStack_1a); } badSink(uStack_c); return; }
['gcc']
53,430
void CWE369_Divide_by_Zero__int_fgets_modulo_41_good() { goodB2G(); goodG2B(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95130/CWE369_Divide_by_Zero__int_fgets_modulo_41.c
CWE369_Divide_by_Zero__int_fgets_modulo_41_good
void CWE369_Divide_by_Zero__int_fgets_modulo_41_good(void) { goodB2G(); goodG2B(); return; }
['gcc']
53,431
void CWE369_Divide_by_Zero__int_fgets_modulo_51_bad() { int data; /* Initialize data */ data = -1; { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } CWE369_Divide_by_Zero__int_fgets_modulo_51b_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95135/CWE369_Divide_by_Zero__int_fgets_modulo_51a.c
CWE369_Divide_by_Zero__int_fgets_modulo_51_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_51_bad(void) { long lVar1; undefined8 uStack_1a; undefined4 uStack_12; undefined2 uStack_e; undefined4 uStack_c; uStack_c = 0xffffffff; uStack_1a = 0; uStack_12 = 0; uStack_e = 0; lVar1 = func_0x00400ab0(&uStack_1a,0xe,stdin); if (lVar1 == 0) { printLine(&UNK_00401214); } else { uStack_c = func_0x00400b10(&uStack_1a); } CWE369_Divide_by_Zero__int_fgets_modulo_51b_badSink(uStack_c); return; }
['gcc']
53,432
void CWE369_Divide_by_Zero__int_fgets_modulo_51_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95135/CWE369_Divide_by_Zero__int_fgets_modulo_51a.c
CWE369_Divide_by_Zero__int_fgets_modulo_51_good
void CWE369_Divide_by_Zero__int_fgets_modulo_51_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
53,433
void CWE369_Divide_by_Zero__int_fgets_modulo_51b_badSink(int data) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); }
['/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95135/CWE369_Divide_by_Zero__int_fgets_modulo_51b.c
CWE369_Divide_by_Zero__int_fgets_modulo_51b_badSink
void CWE369_Divide_by_Zero__int_fgets_modulo_51b_badSink(int param_1) { printIntLine(100 % (long)param_1 & 0xffffffff); return; }
['gcc']
53,434
void CWE369_Divide_by_Zero__int_fgets_modulo_51b_goodG2BSink(int data) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); }
['/* POTENTIAL FLAW: Possibly divide by zero */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95135/CWE369_Divide_by_Zero__int_fgets_modulo_51b.c
CWE369_Divide_by_Zero__int_fgets_modulo_51b_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_modulo_51b_goodG2BSink(int param_1) { printIntLine(100 % (long)param_1 & 0xffffffff); return; }
['gcc']
53,435
void CWE369_Divide_by_Zero__int_fgets_modulo_51b_goodB2GSink(int data) { /* FIX: test for a zero denominator */ if( data != 0 ) { printIntLine(100 % data); } else { printLine("This would result in a divide by zero"); } }
['/* FIX: test for a zero denominator */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95135/CWE369_Divide_by_Zero__int_fgets_modulo_51b.c
CWE369_Divide_by_Zero__int_fgets_modulo_51b_goodB2GSink
void CWE369_Divide_by_Zero__int_fgets_modulo_51b_goodB2GSink(int param_1) { if (param_1 == 0) { printLine(&UNK_00401288); } else { printIntLine(100 % (long)param_1 & 0xffffffff); } return; }
['gcc']
53,436
void CWE369_Divide_by_Zero__int_fgets_modulo_52_bad() { int data; /* Initialize data */ data = -1; { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } CWE369_Divide_by_Zero__int_fgets_modulo_52b_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95136/CWE369_Divide_by_Zero__int_fgets_modulo_52a.c
CWE369_Divide_by_Zero__int_fgets_modulo_52_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_52_bad(void) { long lVar1; undefined8 uStack_1a; undefined4 uStack_12; undefined2 uStack_e; undefined4 uStack_c; uStack_c = 0xffffffff; uStack_1a = 0; uStack_12 = 0; uStack_e = 0; lVar1 = func_0x00400ab0(&uStack_1a,0xe,stdin); if (lVar1 == 0) { printLine(&UNK_00401234); } else { uStack_c = func_0x00400b10(&uStack_1a); } CWE369_Divide_by_Zero__int_fgets_modulo_52b_badSink(uStack_c); return; }
['gcc']
53,437
void CWE369_Divide_by_Zero__int_fgets_modulo_52_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95136/CWE369_Divide_by_Zero__int_fgets_modulo_52a.c
CWE369_Divide_by_Zero__int_fgets_modulo_52_good
void CWE369_Divide_by_Zero__int_fgets_modulo_52_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
53,438
void CWE369_Divide_by_Zero__int_fgets_modulo_52b_badSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_52c_badSink(data); }
[]
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95136/CWE369_Divide_by_Zero__int_fgets_modulo_52b.c
CWE369_Divide_by_Zero__int_fgets_modulo_52b_badSink
void CWE369_Divide_by_Zero__int_fgets_modulo_52b_badSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_52c_badSink(param_1); return; }
['gcc']
53,439
void CWE369_Divide_by_Zero__int_fgets_modulo_52b_goodG2BSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_52c_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95136/CWE369_Divide_by_Zero__int_fgets_modulo_52b.c
CWE369_Divide_by_Zero__int_fgets_modulo_52b_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_modulo_52b_goodG2BSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_52c_goodG2BSink(param_1); return; }
['gcc']
53,440
void CWE369_Divide_by_Zero__int_fgets_modulo_52b_goodB2GSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_52c_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95136/CWE369_Divide_by_Zero__int_fgets_modulo_52b.c
CWE369_Divide_by_Zero__int_fgets_modulo_52b_goodB2GSink
void CWE369_Divide_by_Zero__int_fgets_modulo_52b_goodB2GSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_52c_goodB2GSink(param_1); return; }
['gcc']
53,441
void CWE369_Divide_by_Zero__int_fgets_modulo_52c_badSink(int data) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); }
['/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95136/CWE369_Divide_by_Zero__int_fgets_modulo_52c.c
CWE369_Divide_by_Zero__int_fgets_modulo_52c_badSink
void CWE369_Divide_by_Zero__int_fgets_modulo_52c_badSink(int param_1) { printIntLine(100 % (long)param_1 & 0xffffffff); return; }
['gcc']
53,442
void CWE369_Divide_by_Zero__int_fgets_modulo_52c_goodG2BSink(int data) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); }
['/* POTENTIAL FLAW: Possibly divide by zero */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95136/CWE369_Divide_by_Zero__int_fgets_modulo_52c.c
CWE369_Divide_by_Zero__int_fgets_modulo_52c_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_modulo_52c_goodG2BSink(int param_1) { printIntLine(100 % (long)param_1 & 0xffffffff); return; }
['gcc']
53,443
void CWE369_Divide_by_Zero__int_fgets_modulo_52c_goodB2GSink(int data) { /* FIX: test for a zero denominator */ if( data != 0 ) { printIntLine(100 % data); } else { printLine("This would result in a divide by zero"); } }
['/* FIX: test for a zero denominator */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95136/CWE369_Divide_by_Zero__int_fgets_modulo_52c.c
CWE369_Divide_by_Zero__int_fgets_modulo_52c_goodB2GSink
void CWE369_Divide_by_Zero__int_fgets_modulo_52c_goodB2GSink(int param_1) { if (param_1 == 0) { printLine(&UNK_004012b8); } else { printIntLine(100 % (long)param_1 & 0xffffffff); } return; }
['gcc']
53,444
void CWE369_Divide_by_Zero__int_fgets_modulo_53_bad() { int data; /* Initialize data */ data = -1; { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } CWE369_Divide_by_Zero__int_fgets_modulo_53b_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95137/CWE369_Divide_by_Zero__int_fgets_modulo_53a.c
CWE369_Divide_by_Zero__int_fgets_modulo_53_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_53_bad(void) { long lVar1; undefined8 uStack_1a; undefined4 uStack_12; undefined2 uStack_e; undefined4 uStack_c; uStack_c = 0xffffffff; uStack_1a = 0; uStack_12 = 0; uStack_e = 0; lVar1 = func_0x00400ab0(&uStack_1a,0xe,stdin); if (lVar1 == 0) { printLine(&UNK_00401244); } else { uStack_c = func_0x00400b10(&uStack_1a); } CWE369_Divide_by_Zero__int_fgets_modulo_53b_badSink(uStack_c); return; }
['gcc']
53,445
void CWE369_Divide_by_Zero__int_fgets_modulo_53_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95137/CWE369_Divide_by_Zero__int_fgets_modulo_53a.c
CWE369_Divide_by_Zero__int_fgets_modulo_53_good
void CWE369_Divide_by_Zero__int_fgets_modulo_53_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
53,446
void CWE369_Divide_by_Zero__int_fgets_modulo_53b_badSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_53c_badSink(data); }
[]
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95137/CWE369_Divide_by_Zero__int_fgets_modulo_53b.c
CWE369_Divide_by_Zero__int_fgets_modulo_53b_badSink
void CWE369_Divide_by_Zero__int_fgets_modulo_53b_badSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_53c_badSink(param_1); return; }
['gcc']
53,447
void CWE369_Divide_by_Zero__int_fgets_modulo_53b_goodG2BSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_53c_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95137/CWE369_Divide_by_Zero__int_fgets_modulo_53b.c
CWE369_Divide_by_Zero__int_fgets_modulo_53b_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_modulo_53b_goodG2BSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_53c_goodG2BSink(param_1); return; }
['gcc']
53,448
void CWE369_Divide_by_Zero__int_fgets_modulo_53b_goodB2GSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_53c_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95137/CWE369_Divide_by_Zero__int_fgets_modulo_53b.c
CWE369_Divide_by_Zero__int_fgets_modulo_53b_goodB2GSink
void CWE369_Divide_by_Zero__int_fgets_modulo_53b_goodB2GSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_53c_goodB2GSink(param_1); return; }
['gcc']
53,449
void CWE369_Divide_by_Zero__int_fgets_modulo_53c_badSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_53d_badSink(data); }
[]
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95137/CWE369_Divide_by_Zero__int_fgets_modulo_53c.c
CWE369_Divide_by_Zero__int_fgets_modulo_53c_badSink
void CWE369_Divide_by_Zero__int_fgets_modulo_53c_badSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_53d_badSink(param_1); return; }
['gcc']
53,450
void CWE369_Divide_by_Zero__int_fgets_modulo_53c_goodG2BSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_53d_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95137/CWE369_Divide_by_Zero__int_fgets_modulo_53c.c
CWE369_Divide_by_Zero__int_fgets_modulo_53c_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_modulo_53c_goodG2BSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_53d_goodG2BSink(param_1); return; }
['gcc']
53,451
void CWE369_Divide_by_Zero__int_fgets_modulo_53c_goodB2GSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_53d_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95137/CWE369_Divide_by_Zero__int_fgets_modulo_53c.c
CWE369_Divide_by_Zero__int_fgets_modulo_53c_goodB2GSink
void CWE369_Divide_by_Zero__int_fgets_modulo_53c_goodB2GSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_53d_goodB2GSink(param_1); return; }
['gcc']
53,452
void CWE369_Divide_by_Zero__int_fgets_modulo_53d_badSink(int data) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); }
['/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95137/CWE369_Divide_by_Zero__int_fgets_modulo_53d.c
CWE369_Divide_by_Zero__int_fgets_modulo_53d_badSink
void CWE369_Divide_by_Zero__int_fgets_modulo_53d_badSink(int param_1) { printIntLine(100 % (long)param_1 & 0xffffffff); return; }
['gcc']
53,453
void CWE369_Divide_by_Zero__int_fgets_modulo_53d_goodG2BSink(int data) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); }
['/* POTENTIAL FLAW: Possibly divide by zero */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95137/CWE369_Divide_by_Zero__int_fgets_modulo_53d.c
CWE369_Divide_by_Zero__int_fgets_modulo_53d_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_modulo_53d_goodG2BSink(int param_1) { printIntLine(100 % (long)param_1 & 0xffffffff); return; }
['gcc']
53,454
void CWE369_Divide_by_Zero__int_fgets_modulo_53d_goodB2GSink(int data) { /* FIX: test for a zero denominator */ if( data != 0 ) { printIntLine(100 % data); } else { printLine("This would result in a divide by zero"); } }
['/* FIX: test for a zero denominator */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95137/CWE369_Divide_by_Zero__int_fgets_modulo_53d.c
CWE369_Divide_by_Zero__int_fgets_modulo_53d_goodB2GSink
void CWE369_Divide_by_Zero__int_fgets_modulo_53d_goodB2GSink(int param_1) { if (param_1 == 0) { printLine(&UNK_004012e8); } else { printIntLine(100 % (long)param_1 & 0xffffffff); } return; }
['gcc']
53,455
void CWE369_Divide_by_Zero__int_fgets_modulo_54_bad() { int data; /* Initialize data */ data = -1; { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } CWE369_Divide_by_Zero__int_fgets_modulo_54b_badSink(data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95138/CWE369_Divide_by_Zero__int_fgets_modulo_54a.c
CWE369_Divide_by_Zero__int_fgets_modulo_54_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_54_bad(void) { long lVar1; undefined8 uStack_1a; undefined4 uStack_12; undefined2 uStack_e; undefined4 uStack_c; uStack_c = 0xffffffff; uStack_1a = 0; uStack_12 = 0; uStack_e = 0; lVar1 = func_0x00400ab0(&uStack_1a,0xe,stdin); if (lVar1 == 0) { printLine(&UNK_00401264); } else { uStack_c = func_0x00400b10(&uStack_1a); } CWE369_Divide_by_Zero__int_fgets_modulo_54b_badSink(uStack_c); return; }
['gcc']
53,456
void CWE369_Divide_by_Zero__int_fgets_modulo_54_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95138/CWE369_Divide_by_Zero__int_fgets_modulo_54a.c
CWE369_Divide_by_Zero__int_fgets_modulo_54_good
void CWE369_Divide_by_Zero__int_fgets_modulo_54_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
53,457
void CWE369_Divide_by_Zero__int_fgets_modulo_54b_badSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_54c_badSink(data); }
[]
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95138/CWE369_Divide_by_Zero__int_fgets_modulo_54b.c
CWE369_Divide_by_Zero__int_fgets_modulo_54b_badSink
void CWE369_Divide_by_Zero__int_fgets_modulo_54b_badSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_54c_badSink(param_1); return; }
['gcc']
53,458
void CWE369_Divide_by_Zero__int_fgets_modulo_54b_goodG2BSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_54c_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95138/CWE369_Divide_by_Zero__int_fgets_modulo_54b.c
CWE369_Divide_by_Zero__int_fgets_modulo_54b_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_modulo_54b_goodG2BSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_54c_goodG2BSink(param_1); return; }
['gcc']
53,459
void CWE369_Divide_by_Zero__int_fgets_modulo_54b_goodB2GSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_54c_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95138/CWE369_Divide_by_Zero__int_fgets_modulo_54b.c
CWE369_Divide_by_Zero__int_fgets_modulo_54b_goodB2GSink
void CWE369_Divide_by_Zero__int_fgets_modulo_54b_goodB2GSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_54c_goodB2GSink(param_1); return; }
['gcc']
53,460
void CWE369_Divide_by_Zero__int_fgets_modulo_54c_badSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_54d_badSink(data); }
[]
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95138/CWE369_Divide_by_Zero__int_fgets_modulo_54c.c
CWE369_Divide_by_Zero__int_fgets_modulo_54c_badSink
void CWE369_Divide_by_Zero__int_fgets_modulo_54c_badSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_54d_badSink(param_1); return; }
['gcc']
53,461
void CWE369_Divide_by_Zero__int_fgets_modulo_54c_goodG2BSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_54d_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95138/CWE369_Divide_by_Zero__int_fgets_modulo_54c.c
CWE369_Divide_by_Zero__int_fgets_modulo_54c_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_modulo_54c_goodG2BSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_54d_goodG2BSink(param_1); return; }
['gcc']
53,462
void CWE369_Divide_by_Zero__int_fgets_modulo_54c_goodB2GSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_54d_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95138/CWE369_Divide_by_Zero__int_fgets_modulo_54c.c
CWE369_Divide_by_Zero__int_fgets_modulo_54c_goodB2GSink
void CWE369_Divide_by_Zero__int_fgets_modulo_54c_goodB2GSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_54d_goodB2GSink(param_1); return; }
['gcc']
53,463
void CWE369_Divide_by_Zero__int_fgets_modulo_54d_badSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_54e_badSink(data); }
[]
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95138/CWE369_Divide_by_Zero__int_fgets_modulo_54d.c
CWE369_Divide_by_Zero__int_fgets_modulo_54d_badSink
void CWE369_Divide_by_Zero__int_fgets_modulo_54d_badSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_54e_badSink(param_1); return; }
['gcc']
53,464
void CWE369_Divide_by_Zero__int_fgets_modulo_54d_goodG2BSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_54e_goodG2BSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95138/CWE369_Divide_by_Zero__int_fgets_modulo_54d.c
CWE369_Divide_by_Zero__int_fgets_modulo_54d_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_modulo_54d_goodG2BSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_54e_goodG2BSink(param_1); return; }
['gcc']
53,465
void CWE369_Divide_by_Zero__int_fgets_modulo_54d_goodB2GSink(int data) { CWE369_Divide_by_Zero__int_fgets_modulo_54e_goodB2GSink(data); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95138/CWE369_Divide_by_Zero__int_fgets_modulo_54d.c
CWE369_Divide_by_Zero__int_fgets_modulo_54d_goodB2GSink
void CWE369_Divide_by_Zero__int_fgets_modulo_54d_goodB2GSink(undefined4 param_1) { CWE369_Divide_by_Zero__int_fgets_modulo_54e_goodB2GSink(param_1); return; }
['gcc']
53,466
void CWE369_Divide_by_Zero__int_fgets_modulo_54e_badSink(int data) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); }
['/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95138/CWE369_Divide_by_Zero__int_fgets_modulo_54e.c
CWE369_Divide_by_Zero__int_fgets_modulo_54e_badSink
void CWE369_Divide_by_Zero__int_fgets_modulo_54e_badSink(int param_1) { printIntLine(100 % (long)param_1 & 0xffffffff); return; }
['gcc']
53,467
void CWE369_Divide_by_Zero__int_fgets_modulo_54e_goodG2BSink(int data) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); }
['/* POTENTIAL FLAW: Possibly divide by zero */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95138/CWE369_Divide_by_Zero__int_fgets_modulo_54e.c
CWE369_Divide_by_Zero__int_fgets_modulo_54e_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_modulo_54e_goodG2BSink(int param_1) { printIntLine(100 % (long)param_1 & 0xffffffff); return; }
['gcc']
53,468
void CWE369_Divide_by_Zero__int_fgets_modulo_54e_goodB2GSink(int data) { /* FIX: test for a zero denominator */ if( data != 0 ) { printIntLine(100 % data); } else { printLine("This would result in a divide by zero"); } }
['/* FIX: test for a zero denominator */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95138/CWE369_Divide_by_Zero__int_fgets_modulo_54e.c
CWE369_Divide_by_Zero__int_fgets_modulo_54e_goodB2GSink
void CWE369_Divide_by_Zero__int_fgets_modulo_54e_goodB2GSink(int param_1) { if (param_1 == 0) { printLine(&UNK_00401318); } else { printIntLine(100 % (long)param_1 & 0xffffffff); } return; }
['gcc']
53,469
void CWE369_Divide_by_Zero__int_fgets_modulo_63_bad() { int data; /* Initialize data */ data = -1; { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } CWE369_Divide_by_Zero__int_fgets_modulo_63b_badSink(&data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95141/CWE369_Divide_by_Zero__int_fgets_modulo_63a.c
CWE369_Divide_by_Zero__int_fgets_modulo_63_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_63_bad(void) { long lVar1; undefined8 uStack_1a; undefined4 uStack_12; undefined2 uStack_e; undefined4 uStack_c; uStack_c = 0xffffffff; uStack_1a = 0; uStack_12 = 0; uStack_e = 0; lVar1 = func_0x00400ab0(&uStack_1a,0xe,stdin); if (lVar1 == 0) { printLine(&UNK_00401224); } else { uStack_c = func_0x00400b10(&uStack_1a); } CWE369_Divide_by_Zero__int_fgets_modulo_63b_badSink(&uStack_c); return; }
['gcc']
53,470
void CWE369_Divide_by_Zero__int_fgets_modulo_63_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95141/CWE369_Divide_by_Zero__int_fgets_modulo_63a.c
CWE369_Divide_by_Zero__int_fgets_modulo_63_good
void CWE369_Divide_by_Zero__int_fgets_modulo_63_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
53,471
void CWE369_Divide_by_Zero__int_fgets_modulo_63b_badSink(int * dataPtr) { int data = *dataPtr; /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); }
['/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95141/CWE369_Divide_by_Zero__int_fgets_modulo_63b.c
CWE369_Divide_by_Zero__int_fgets_modulo_63b_badSink
void CWE369_Divide_by_Zero__int_fgets_modulo_63b_badSink(int *param_1) { printIntLine(100 % (long)*param_1 & 0xffffffff); return; }
['gcc']
53,472
void CWE369_Divide_by_Zero__int_fgets_modulo_63b_goodG2BSink(int * dataPtr) { int data = *dataPtr; /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); }
['/* POTENTIAL FLAW: Possibly divide by zero */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95141/CWE369_Divide_by_Zero__int_fgets_modulo_63b.c
CWE369_Divide_by_Zero__int_fgets_modulo_63b_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_modulo_63b_goodG2BSink(int *param_1) { printIntLine(100 % (long)*param_1 & 0xffffffff); return; }
['gcc']
53,473
void CWE369_Divide_by_Zero__int_fgets_modulo_63b_goodB2GSink(int * dataPtr) { int data = *dataPtr; /* FIX: test for a zero denominator */ if( data != 0 ) { printIntLine(100 % data); } else { printLine("This would result in a divide by zero"); } }
['/* FIX: test for a zero denominator */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95141/CWE369_Divide_by_Zero__int_fgets_modulo_63b.c
CWE369_Divide_by_Zero__int_fgets_modulo_63b_goodB2GSink
void CWE369_Divide_by_Zero__int_fgets_modulo_63b_goodB2GSink(int *param_1) { if (*param_1 == 0) { printLine(&UNK_004012a8); } else { printIntLine(100 % (long)*param_1 & 0xffffffff); } return; }
['gcc']
53,474
void CWE369_Divide_by_Zero__int_fgets_modulo_64_bad() { int data; /* Initialize data */ data = -1; { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } CWE369_Divide_by_Zero__int_fgets_modulo_64b_badSink(&data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95142/CWE369_Divide_by_Zero__int_fgets_modulo_64a.c
CWE369_Divide_by_Zero__int_fgets_modulo_64_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_64_bad(void) { long lVar1; undefined8 uStack_1a; undefined4 uStack_12; undefined2 uStack_e; undefined4 uStack_c; uStack_c = 0xffffffff; uStack_1a = 0; uStack_12 = 0; uStack_e = 0; lVar1 = func_0x00400ab0(&uStack_1a,0xe,stdin); if (lVar1 == 0) { printLine(&UNK_00401234); } else { uStack_c = func_0x00400b10(&uStack_1a); } CWE369_Divide_by_Zero__int_fgets_modulo_64b_badSink(&uStack_c); return; }
['gcc']
53,475
void CWE369_Divide_by_Zero__int_fgets_modulo_64_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95142/CWE369_Divide_by_Zero__int_fgets_modulo_64a.c
CWE369_Divide_by_Zero__int_fgets_modulo_64_good
void CWE369_Divide_by_Zero__int_fgets_modulo_64_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
53,476
void CWE369_Divide_by_Zero__int_fgets_modulo_64b_badSink(void * dataVoidPtr) { /* cast void pointer to a pointer of the appropriate type */ int * dataPtr = (int *)dataVoidPtr; /* dereference dataPtr into data */ int data = (*dataPtr); /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); }
['/* cast void pointer to a pointer of the appropriate type */', '/* dereference dataPtr into data */', '/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95142/CWE369_Divide_by_Zero__int_fgets_modulo_64b.c
CWE369_Divide_by_Zero__int_fgets_modulo_64b_badSink
void CWE369_Divide_by_Zero__int_fgets_modulo_64b_badSink(int *param_1) { printIntLine(100 % (long)*param_1 & 0xffffffff); return; }
['gcc']
53,477
void CWE369_Divide_by_Zero__int_fgets_modulo_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); /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); }
['/* cast void pointer to a pointer of the appropriate type */', '/* dereference dataPtr into data */', '/* POTENTIAL FLAW: Possibly divide by zero */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95142/CWE369_Divide_by_Zero__int_fgets_modulo_64b.c
CWE369_Divide_by_Zero__int_fgets_modulo_64b_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_modulo_64b_goodG2BSink(int *param_1) { printIntLine(100 % (long)*param_1 & 0xffffffff); return; }
['gcc']
53,478
void CWE369_Divide_by_Zero__int_fgets_modulo_64b_goodB2GSink(void * dataVoidPtr) { /* cast void pointer to a pointer of the appropriate type */ int * dataPtr = (int *)dataVoidPtr; /* dereference dataPtr into data */ int data = (*dataPtr); /* FIX: test for a zero denominator */ if( data != 0 ) { printIntLine(100 % data); } else { printLine("This would result in a divide by zero"); } }
['/* cast void pointer to a pointer of the appropriate type */', '/* dereference dataPtr into data */', '/* FIX: test for a zero denominator */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95142/CWE369_Divide_by_Zero__int_fgets_modulo_64b.c
CWE369_Divide_by_Zero__int_fgets_modulo_64b_goodB2GSink
void CWE369_Divide_by_Zero__int_fgets_modulo_64b_goodB2GSink(int *param_1) { if (*param_1 == 0) { printLine(&UNK_004012b8); } else { printIntLine(100 % (long)*param_1 & 0xffffffff); } return; }
['gcc']
53,479
void CWE369_Divide_by_Zero__int_fgets_modulo_66_bad() { int data; int dataArray[5]; /* Initialize data */ data = -1; { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } /* put data in array */ dataArray[2] = data; CWE369_Divide_by_Zero__int_fgets_modulo_66b_badSink(dataArray); }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */', '/* put data in array */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95144/CWE369_Divide_by_Zero__int_fgets_modulo_66a.c
CWE369_Divide_by_Zero__int_fgets_modulo_66_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_66_bad(void) { long lVar1; undefined8 uStack_36; undefined4 uStack_2e; undefined2 uStack_2a; undefined auStack_28 [8]; undefined4 uStack_20; undefined4 uStack_c; uStack_c = 0xffffffff; uStack_36 = 0; uStack_2e = 0; uStack_2a = 0; lVar1 = func_0x00400ab0(&uStack_36,0xe,stdin); if (lVar1 == 0) { printLine(&UNK_00401234); } else { uStack_c = func_0x00400b10(&uStack_36); } uStack_20 = uStack_c; CWE369_Divide_by_Zero__int_fgets_modulo_66b_badSink(auStack_28); return; }
['gcc']
53,480
void CWE369_Divide_by_Zero__int_fgets_modulo_66_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95144/CWE369_Divide_by_Zero__int_fgets_modulo_66a.c
CWE369_Divide_by_Zero__int_fgets_modulo_66_good
void CWE369_Divide_by_Zero__int_fgets_modulo_66_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
53,481
void CWE369_Divide_by_Zero__int_fgets_modulo_66b_badSink(int dataArray[]) { /* copy data out of dataArray */ int data = dataArray[2]; /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); }
['/* copy data out of dataArray */', '/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95144/CWE369_Divide_by_Zero__int_fgets_modulo_66b.c
CWE369_Divide_by_Zero__int_fgets_modulo_66b_badSink
void CWE369_Divide_by_Zero__int_fgets_modulo_66b_badSink(long param_1) { printIntLine(100 % (long)*(int *)(param_1 + 8) & 0xffffffff); return; }
['gcc']
53,482
void CWE369_Divide_by_Zero__int_fgets_modulo_66b_goodG2BSink(int dataArray[]) { int data = dataArray[2]; /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); }
['/* POTENTIAL FLAW: Possibly divide by zero */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95144/CWE369_Divide_by_Zero__int_fgets_modulo_66b.c
CWE369_Divide_by_Zero__int_fgets_modulo_66b_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_modulo_66b_goodG2BSink(long param_1) { printIntLine(100 % (long)*(int *)(param_1 + 8) & 0xffffffff); return; }
['gcc']
53,483
void CWE369_Divide_by_Zero__int_fgets_modulo_66b_goodB2GSink(int dataArray[]) { int data = dataArray[2]; /* FIX: test for a zero denominator */ if( data != 0 ) { printIntLine(100 % data); } else { printLine("This would result in a divide by zero"); } }
['/* FIX: test for a zero denominator */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95144/CWE369_Divide_by_Zero__int_fgets_modulo_66b.c
CWE369_Divide_by_Zero__int_fgets_modulo_66b_goodB2GSink
void CWE369_Divide_by_Zero__int_fgets_modulo_66b_goodB2GSink(long param_1) { if (*(int *)(param_1 + 8) == 0) { printLine(&UNK_004012b8); } else { printIntLine(100 % (long)*(int *)(param_1 + 8) & 0xffffffff); } return; }
['gcc']
53,484
void CWE369_Divide_by_Zero__int_fgets_modulo_67_bad() { int data; CWE369_Divide_by_Zero__int_fgets_modulo_67_structType myStruct; /* Initialize data */ data = -1; { char inputBuffer[CHAR_ARRAY_SIZE] = ""; /* POTENTIAL FLAW: Read data from the console using fgets() */ if (fgets(inputBuffer, CHAR_ARRAY_SIZE, stdin) != NULL) { /* Convert to int */ data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } myStruct.structFirst = data; CWE369_Divide_by_Zero__int_fgets_modulo_67b_badSink(myStruct); }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data from the console using fgets() */', '/* Convert to int */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95145/CWE369_Divide_by_Zero__int_fgets_modulo_67a.c
CWE369_Divide_by_Zero__int_fgets_modulo_67_bad
void CWE369_Divide_by_Zero__int_fgets_modulo_67_bad(void) { long lVar1; undefined8 uStack_1e; undefined4 uStack_16; undefined2 uStack_12; undefined4 uStack_10; undefined4 uStack_c; uStack_c = 0xffffffff; uStack_1e = 0; uStack_16 = 0; uStack_12 = 0; lVar1 = func_0x00400ab0(&uStack_1e,0xe,stdin); if (lVar1 == 0) { printLine(&UNK_00401224); } else { uStack_c = func_0x00400b10(&uStack_1e); } uStack_10 = uStack_c; CWE369_Divide_by_Zero__int_fgets_modulo_67b_badSink(uStack_c); return; }
['gcc']
53,485
void CWE369_Divide_by_Zero__int_fgets_modulo_67_good() { goodG2B(); goodB2G(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95145/CWE369_Divide_by_Zero__int_fgets_modulo_67a.c
CWE369_Divide_by_Zero__int_fgets_modulo_67_good
void CWE369_Divide_by_Zero__int_fgets_modulo_67_good(void) { goodG2B(); goodB2G(); return; }
['gcc']
53,486
void CWE369_Divide_by_Zero__int_fgets_modulo_67b_badSink(CWE369_Divide_by_Zero__int_fgets_modulo_67_structType myStruct) { int data = myStruct.structFirst; /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); }
['/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95145/CWE369_Divide_by_Zero__int_fgets_modulo_67b.c
CWE369_Divide_by_Zero__int_fgets_modulo_67b_badSink
void CWE369_Divide_by_Zero__int_fgets_modulo_67b_badSink(int param_1) { printIntLine(100 % (long)param_1 & 0xffffffff); return; }
['gcc']
53,487
void CWE369_Divide_by_Zero__int_fgets_modulo_67b_goodG2BSink(CWE369_Divide_by_Zero__int_fgets_modulo_67_structType myStruct) { int data = myStruct.structFirst; /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 % data); }
['/* POTENTIAL FLAW: Possibly divide by zero */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95145/CWE369_Divide_by_Zero__int_fgets_modulo_67b.c
CWE369_Divide_by_Zero__int_fgets_modulo_67b_goodG2BSink
void CWE369_Divide_by_Zero__int_fgets_modulo_67b_goodG2BSink(int param_1) { printIntLine(100 % (long)param_1 & 0xffffffff); return; }
['gcc']
53,488
void CWE369_Divide_by_Zero__int_fgets_modulo_67b_goodB2GSink(CWE369_Divide_by_Zero__int_fgets_modulo_67_structType myStruct) { int data = myStruct.structFirst; /* FIX: test for a zero denominator */ if( data != 0 ) { printIntLine(100 % data); } else { printLine("This would result in a divide by zero"); } }
['/* FIX: test for a zero denominator */']
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95145/CWE369_Divide_by_Zero__int_fgets_modulo_67b.c
CWE369_Divide_by_Zero__int_fgets_modulo_67b_goodB2GSink
void CWE369_Divide_by_Zero__int_fgets_modulo_67b_goodB2GSink(int param_1) { if (param_1 == 0) { printLine(&UNK_004012a8); } else { printIntLine(100 % (long)param_1 & 0xffffffff); } return; }
['gcc']
53,489
void CWE369_Divide_by_Zero__int_listen_socket_divide_01_bad() { int data; /* Initialize data */ data = -1; { #ifdef _WIN32 WSADATA wsaData; int wsaDataInit = 0; #endif int recvResult; struct sockaddr_in service; SOCKET listenSocket = INVALID_SOCKET; SOCKET acceptSocket = INVALID_SOCKET; char inputBuffer[CHAR_ARRAY_SIZE]; do { #ifdef _WIN32 if (WSAStartup(MAKEWORD(2,2), &wsaData) != NO_ERROR) { break; } wsaDataInit = 1; #endif /* POTENTIAL FLAW: Read data using a listen socket */ listenSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (listenSocket == INVALID_SOCKET) { break; } memset(&service, 0, sizeof(service)); service.sin_family = AF_INET; service.sin_addr.s_addr = INADDR_ANY; service.sin_port = htons(TCP_PORT); if (bind(listenSocket, (struct sockaddr*)&service, sizeof(service)) == SOCKET_ERROR) { break; } if (listen(listenSocket, LISTEN_BACKLOG) == SOCKET_ERROR) { break; } acceptSocket = accept(listenSocket, NULL, NULL); if (acceptSocket == SOCKET_ERROR) { break; } /* Abort on error or the connection was closed */ recvResult = recv(acceptSocket, inputBuffer, CHAR_ARRAY_SIZE - 1, 0); if (recvResult == SOCKET_ERROR || recvResult == 0) { break; } /* NUL-terminate the string */ inputBuffer[recvResult] = '\0'; /* Convert to int */ data = atoi(inputBuffer); } while (0); if (listenSocket != INVALID_SOCKET) { CLOSE_SOCKET(listenSocket); } if (acceptSocket != INVALID_SOCKET) { CLOSE_SOCKET(acceptSocket); } #ifdef _WIN32 if (wsaDataInit) { WSACleanup(); } #endif } /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 / data); }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data using a listen socket */', '/* Abort on error or the connection was closed */', '/* NUL-terminate the string */', '/* Convert to int */', '/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95250/CWE369_Divide_by_Zero__int_listen_socket_divide_01.c
CWE369_Divide_by_Zero__int_listen_socket_divide_01_bad
void CWE369_Divide_by_Zero__int_listen_socket_divide_01_bad(void) { int iVar1; undefined auStack_36 [14]; undefined2 uStack_28; undefined2 uStack_26; undefined4 uStack_24; int iStack_18; int iStack_14; int iStack_10; int iStack_c; iStack_c = -1; iStack_14 = 0xffffffff; iStack_10 = -1; iStack_14 = func_0x00400d40(2,1,6); if (iStack_14 != -1) { func_0x00400c50(&uStack_28,0,0x10); uStack_28 = 2; uStack_24 = 0; uStack_26 = func_0x00400c30(0x6987); iVar1 = func_0x00400cf0(iStack_14,&uStack_28,0x10); if ((((iVar1 != -1) && (iVar1 = func_0x00400ce0(iStack_14,5), iVar1 != -1)) && (iStack_10 = func_0x00400d00(iStack_14,0,0), iStack_10 != -1)) && ((iStack_18 = func_0x00400c00(iStack_10,auStack_36,0xd,0), iStack_18 != -1 && (iStack_18 != 0)))) { auStack_36[iStack_18] = 0; iStack_c = func_0x00400d10(auStack_36); } } if (iStack_14 != -1) { func_0x00400c60(iStack_14); } if (iStack_10 != -1) { func_0x00400c60(iStack_10); } printIntLine(100 / (long)iStack_c & 0xffffffff); return; }
['gcc']
53,490
void CWE369_Divide_by_Zero__int_listen_socket_divide_02_bad() { int data; /* Initialize data */ data = -1; if(1) { { #ifdef _WIN32 WSADATA wsaData; int wsaDataInit = 0; #endif int recvResult; struct sockaddr_in service; SOCKET listenSocket = INVALID_SOCKET; SOCKET acceptSocket = INVALID_SOCKET; char inputBuffer[CHAR_ARRAY_SIZE]; do { #ifdef _WIN32 if (WSAStartup(MAKEWORD(2,2), &wsaData) != NO_ERROR) { break; } wsaDataInit = 1; #endif /* POTENTIAL FLAW: Read data using a listen socket */ listenSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (listenSocket == INVALID_SOCKET) { break; } memset(&service, 0, sizeof(service)); service.sin_family = AF_INET; service.sin_addr.s_addr = INADDR_ANY; service.sin_port = htons(TCP_PORT); if (bind(listenSocket, (struct sockaddr*)&service, sizeof(service)) == SOCKET_ERROR) { break; } if (listen(listenSocket, LISTEN_BACKLOG) == SOCKET_ERROR) { break; } acceptSocket = accept(listenSocket, NULL, NULL); if (acceptSocket == SOCKET_ERROR) { break; } /* Abort on error or the connection was closed */ recvResult = recv(acceptSocket, inputBuffer, CHAR_ARRAY_SIZE - 1, 0); if (recvResult == SOCKET_ERROR || recvResult == 0) { break; } /* NUL-terminate the string */ inputBuffer[recvResult] = '\0'; /* Convert to int */ data = atoi(inputBuffer); } while (0); if (listenSocket != INVALID_SOCKET) { CLOSE_SOCKET(listenSocket); } if (acceptSocket != INVALID_SOCKET) { CLOSE_SOCKET(acceptSocket); } #ifdef _WIN32 if (wsaDataInit) { WSACleanup(); } #endif } } if(1) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 / data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data using a listen socket */', '/* Abort on error or the connection was closed */', '/* NUL-terminate the string */', '/* Convert to int */', '/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95251/CWE369_Divide_by_Zero__int_listen_socket_divide_02.c
CWE369_Divide_by_Zero__int_listen_socket_divide_02_bad
void CWE369_Divide_by_Zero__int_listen_socket_divide_02_bad(void) { int iVar1; undefined auStack_36 [14]; undefined2 uStack_28; undefined2 uStack_26; undefined4 uStack_24; int iStack_18; int iStack_14; int iStack_10; int iStack_c; iStack_c = -1; iStack_14 = 0xffffffff; iStack_10 = -1; iStack_14 = func_0x00400d40(2,1,6); if (iStack_14 != -1) { func_0x00400c50(&uStack_28,0,0x10); uStack_28 = 2; uStack_24 = 0; uStack_26 = func_0x00400c30(0x6987); iVar1 = func_0x00400cf0(iStack_14,&uStack_28,0x10); if ((((iVar1 != -1) && (iVar1 = func_0x00400ce0(iStack_14,5), iVar1 != -1)) && (iStack_10 = func_0x00400d00(iStack_14,0,0), iStack_10 != -1)) && ((iStack_18 = func_0x00400c00(iStack_10,auStack_36,0xd,0), iStack_18 != -1 && (iStack_18 != 0)))) { auStack_36[iStack_18] = 0; iStack_c = func_0x00400d10(auStack_36); } } if (iStack_14 != -1) { func_0x00400c60(iStack_14); } if (iStack_10 != -1) { func_0x00400c60(iStack_10); } printIntLine(100 / (long)iStack_c & 0xffffffff); return; }
['gcc']
53,491
void CWE369_Divide_by_Zero__int_listen_socket_divide_02_good() { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95251/CWE369_Divide_by_Zero__int_listen_socket_divide_02.c
CWE369_Divide_by_Zero__int_listen_socket_divide_02_good
void CWE369_Divide_by_Zero__int_listen_socket_divide_02_good(void) { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); return; }
['gcc']
53,492
void CWE369_Divide_by_Zero__int_listen_socket_divide_03_bad() { int data; /* Initialize data */ data = -1; if(5==5) { { #ifdef _WIN32 WSADATA wsaData; int wsaDataInit = 0; #endif int recvResult; struct sockaddr_in service; SOCKET listenSocket = INVALID_SOCKET; SOCKET acceptSocket = INVALID_SOCKET; char inputBuffer[CHAR_ARRAY_SIZE]; do { #ifdef _WIN32 if (WSAStartup(MAKEWORD(2,2), &wsaData) != NO_ERROR) { break; } wsaDataInit = 1; #endif /* POTENTIAL FLAW: Read data using a listen socket */ listenSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (listenSocket == INVALID_SOCKET) { break; } memset(&service, 0, sizeof(service)); service.sin_family = AF_INET; service.sin_addr.s_addr = INADDR_ANY; service.sin_port = htons(TCP_PORT); if (bind(listenSocket, (struct sockaddr*)&service, sizeof(service)) == SOCKET_ERROR) { break; } if (listen(listenSocket, LISTEN_BACKLOG) == SOCKET_ERROR) { break; } acceptSocket = accept(listenSocket, NULL, NULL); if (acceptSocket == SOCKET_ERROR) { break; } /* Abort on error or the connection was closed */ recvResult = recv(acceptSocket, inputBuffer, CHAR_ARRAY_SIZE - 1, 0); if (recvResult == SOCKET_ERROR || recvResult == 0) { break; } /* NUL-terminate the string */ inputBuffer[recvResult] = '\0'; /* Convert to int */ data = atoi(inputBuffer); } while (0); if (listenSocket != INVALID_SOCKET) { CLOSE_SOCKET(listenSocket); } if (acceptSocket != INVALID_SOCKET) { CLOSE_SOCKET(acceptSocket); } #ifdef _WIN32 if (wsaDataInit) { WSACleanup(); } #endif } } if(5==5) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 / data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data using a listen socket */', '/* Abort on error or the connection was closed */', '/* NUL-terminate the string */', '/* Convert to int */', '/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95252/CWE369_Divide_by_Zero__int_listen_socket_divide_03.c
CWE369_Divide_by_Zero__int_listen_socket_divide_03_bad
void CWE369_Divide_by_Zero__int_listen_socket_divide_03_bad(void) { int iVar1; undefined auStack_36 [14]; undefined2 uStack_28; undefined2 uStack_26; undefined4 uStack_24; int iStack_18; int iStack_14; int iStack_10; int iStack_c; iStack_c = -1; iStack_14 = 0xffffffff; iStack_10 = -1; iStack_14 = func_0x00400d40(2,1,6); if (iStack_14 != -1) { func_0x00400c50(&uStack_28,0,0x10); uStack_28 = 2; uStack_24 = 0; uStack_26 = func_0x00400c30(0x6987); iVar1 = func_0x00400cf0(iStack_14,&uStack_28,0x10); if ((((iVar1 != -1) && (iVar1 = func_0x00400ce0(iStack_14,5), iVar1 != -1)) && (iStack_10 = func_0x00400d00(iStack_14,0,0), iStack_10 != -1)) && ((iStack_18 = func_0x00400c00(iStack_10,auStack_36,0xd,0), iStack_18 != -1 && (iStack_18 != 0)))) { auStack_36[iStack_18] = 0; iStack_c = func_0x00400d10(auStack_36); } } if (iStack_14 != -1) { func_0x00400c60(iStack_14); } if (iStack_10 != -1) { func_0x00400c60(iStack_10); } printIntLine(100 / (long)iStack_c & 0xffffffff); return; }
['gcc']
53,493
void CWE369_Divide_by_Zero__int_listen_socket_divide_03_good() { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95252/CWE369_Divide_by_Zero__int_listen_socket_divide_03.c
CWE369_Divide_by_Zero__int_listen_socket_divide_03_good
void CWE369_Divide_by_Zero__int_listen_socket_divide_03_good(void) { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); return; }
['gcc']
53,494
void CWE369_Divide_by_Zero__int_listen_socket_divide_04_bad() { int data; /* Initialize data */ data = -1; if(STATIC_CONST_TRUE) { { #ifdef _WIN32 WSADATA wsaData; int wsaDataInit = 0; #endif int recvResult; struct sockaddr_in service; SOCKET listenSocket = INVALID_SOCKET; SOCKET acceptSocket = INVALID_SOCKET; char inputBuffer[CHAR_ARRAY_SIZE]; do { #ifdef _WIN32 if (WSAStartup(MAKEWORD(2,2), &wsaData) != NO_ERROR) { break; } wsaDataInit = 1; #endif /* POTENTIAL FLAW: Read data using a listen socket */ listenSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (listenSocket == INVALID_SOCKET) { break; } memset(&service, 0, sizeof(service)); service.sin_family = AF_INET; service.sin_addr.s_addr = INADDR_ANY; service.sin_port = htons(TCP_PORT); if (bind(listenSocket, (struct sockaddr*)&service, sizeof(service)) == SOCKET_ERROR) { break; } if (listen(listenSocket, LISTEN_BACKLOG) == SOCKET_ERROR) { break; } acceptSocket = accept(listenSocket, NULL, NULL); if (acceptSocket == SOCKET_ERROR) { break; } /* Abort on error or the connection was closed */ recvResult = recv(acceptSocket, inputBuffer, CHAR_ARRAY_SIZE - 1, 0); if (recvResult == SOCKET_ERROR || recvResult == 0) { break; } /* NUL-terminate the string */ inputBuffer[recvResult] = '\0'; /* Convert to int */ data = atoi(inputBuffer); } while (0); if (listenSocket != INVALID_SOCKET) { CLOSE_SOCKET(listenSocket); } if (acceptSocket != INVALID_SOCKET) { CLOSE_SOCKET(acceptSocket); } #ifdef _WIN32 if (wsaDataInit) { WSACleanup(); } #endif } } if(STATIC_CONST_TRUE) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 / data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data using a listen socket */', '/* Abort on error or the connection was closed */', '/* NUL-terminate the string */', '/* Convert to int */', '/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95253/CWE369_Divide_by_Zero__int_listen_socket_divide_04.c
CWE369_Divide_by_Zero__int_listen_socket_divide_04_bad
void CWE369_Divide_by_Zero__int_listen_socket_divide_04_bad(void) { int iVar1; undefined auStack_36 [14]; undefined2 uStack_28; undefined2 uStack_26; undefined4 uStack_24; int iStack_18; int iStack_14; int iStack_10; int iStack_c; iStack_c = -1; iStack_14 = 0xffffffff; iStack_10 = -1; iStack_14 = func_0x00400d40(2,1,6); if (iStack_14 != -1) { func_0x00400c50(&uStack_28,0,0x10); uStack_28 = 2; uStack_24 = 0; uStack_26 = func_0x00400c30(0x6987); iVar1 = func_0x00400cf0(iStack_14,&uStack_28,0x10); if ((((iVar1 != -1) && (iVar1 = func_0x00400ce0(iStack_14,5), iVar1 != -1)) && (iStack_10 = func_0x00400d00(iStack_14,0,0), iStack_10 != -1)) && ((iStack_18 = func_0x00400c00(iStack_10,auStack_36,0xd,0), iStack_18 != -1 && (iStack_18 != 0)))) { auStack_36[iStack_18] = 0; iStack_c = func_0x00400d10(auStack_36); } } if (iStack_14 != -1) { func_0x00400c60(iStack_14); } if (iStack_10 != -1) { func_0x00400c60(iStack_10); } printIntLine(100 / (long)iStack_c & 0xffffffff); return; }
['gcc']
53,495
void CWE369_Divide_by_Zero__int_listen_socket_divide_04_good() { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95253/CWE369_Divide_by_Zero__int_listen_socket_divide_04.c
CWE369_Divide_by_Zero__int_listen_socket_divide_04_good
void CWE369_Divide_by_Zero__int_listen_socket_divide_04_good(void) { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); return; }
['gcc']
53,496
void CWE369_Divide_by_Zero__int_listen_socket_divide_05_bad() { int data; /* Initialize data */ data = -1; if(staticTrue) { { #ifdef _WIN32 WSADATA wsaData; int wsaDataInit = 0; #endif int recvResult; struct sockaddr_in service; SOCKET listenSocket = INVALID_SOCKET; SOCKET acceptSocket = INVALID_SOCKET; char inputBuffer[CHAR_ARRAY_SIZE]; do { #ifdef _WIN32 if (WSAStartup(MAKEWORD(2,2), &wsaData) != NO_ERROR) { break; } wsaDataInit = 1; #endif /* POTENTIAL FLAW: Read data using a listen socket */ listenSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (listenSocket == INVALID_SOCKET) { break; } memset(&service, 0, sizeof(service)); service.sin_family = AF_INET; service.sin_addr.s_addr = INADDR_ANY; service.sin_port = htons(TCP_PORT); if (bind(listenSocket, (struct sockaddr*)&service, sizeof(service)) == SOCKET_ERROR) { break; } if (listen(listenSocket, LISTEN_BACKLOG) == SOCKET_ERROR) { break; } acceptSocket = accept(listenSocket, NULL, NULL); if (acceptSocket == SOCKET_ERROR) { break; } /* Abort on error or the connection was closed */ recvResult = recv(acceptSocket, inputBuffer, CHAR_ARRAY_SIZE - 1, 0); if (recvResult == SOCKET_ERROR || recvResult == 0) { break; } /* NUL-terminate the string */ inputBuffer[recvResult] = '\0'; /* Convert to int */ data = atoi(inputBuffer); } while (0); if (listenSocket != INVALID_SOCKET) { CLOSE_SOCKET(listenSocket); } if (acceptSocket != INVALID_SOCKET) { CLOSE_SOCKET(acceptSocket); } #ifdef _WIN32 if (wsaDataInit) { WSACleanup(); } #endif } } if(staticTrue) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 / data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data using a listen socket */', '/* Abort on error or the connection was closed */', '/* NUL-terminate the string */', '/* Convert to int */', '/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95254/CWE369_Divide_by_Zero__int_listen_socket_divide_05.c
CWE369_Divide_by_Zero__int_listen_socket_divide_05_bad
void CWE369_Divide_by_Zero__int_listen_socket_divide_05_bad(void) { int iVar1; undefined auStack_36 [14]; undefined2 uStack_28; undefined2 uStack_26; undefined4 uStack_24; int iStack_18; int iStack_14; int iStack_10; int iStack_c; iStack_c = -1; if (staticTrue != 0) { iStack_14 = 0xffffffff; iStack_10 = -1; iStack_14 = func_0x00400d40(2,1,6); if (iStack_14 != -1) { func_0x00400c50(&uStack_28,0,0x10); uStack_28 = 2; uStack_24 = 0; uStack_26 = func_0x00400c30(0x6987); iVar1 = func_0x00400cf0(iStack_14,&uStack_28,0x10); if ((((iVar1 != -1) && (iVar1 = func_0x00400ce0(iStack_14,5), iVar1 != -1)) && (iStack_10 = func_0x00400d00(iStack_14,0,0), iStack_10 != -1)) && ((iStack_18 = func_0x00400c00(iStack_10,auStack_36,0xd,0), iStack_18 != -1 && (iStack_18 != 0)))) { auStack_36[iStack_18] = 0; iStack_c = func_0x00400d10(auStack_36); } } if (iStack_14 != -1) { func_0x00400c60(iStack_14); } if (iStack_10 != -1) { func_0x00400c60(iStack_10); } } if (staticTrue != 0) { printIntLine(100 / (long)iStack_c & 0xffffffff); } return; }
['gcc']
53,497
void CWE369_Divide_by_Zero__int_listen_socket_divide_05_good() { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95254/CWE369_Divide_by_Zero__int_listen_socket_divide_05.c
CWE369_Divide_by_Zero__int_listen_socket_divide_05_good
void CWE369_Divide_by_Zero__int_listen_socket_divide_05_good(void) { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); return; }
['gcc']
53,498
void CWE369_Divide_by_Zero__int_listen_socket_divide_06_bad() { int data; /* Initialize data */ data = -1; if(STATIC_CONST_FIVE==5) { { #ifdef _WIN32 WSADATA wsaData; int wsaDataInit = 0; #endif int recvResult; struct sockaddr_in service; SOCKET listenSocket = INVALID_SOCKET; SOCKET acceptSocket = INVALID_SOCKET; char inputBuffer[CHAR_ARRAY_SIZE]; do { #ifdef _WIN32 if (WSAStartup(MAKEWORD(2,2), &wsaData) != NO_ERROR) { break; } wsaDataInit = 1; #endif /* POTENTIAL FLAW: Read data using a listen socket */ listenSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (listenSocket == INVALID_SOCKET) { break; } memset(&service, 0, sizeof(service)); service.sin_family = AF_INET; service.sin_addr.s_addr = INADDR_ANY; service.sin_port = htons(TCP_PORT); if (bind(listenSocket, (struct sockaddr*)&service, sizeof(service)) == SOCKET_ERROR) { break; } if (listen(listenSocket, LISTEN_BACKLOG) == SOCKET_ERROR) { break; } acceptSocket = accept(listenSocket, NULL, NULL); if (acceptSocket == SOCKET_ERROR) { break; } /* Abort on error or the connection was closed */ recvResult = recv(acceptSocket, inputBuffer, CHAR_ARRAY_SIZE - 1, 0); if (recvResult == SOCKET_ERROR || recvResult == 0) { break; } /* NUL-terminate the string */ inputBuffer[recvResult] = '\0'; /* Convert to int */ data = atoi(inputBuffer); } while (0); if (listenSocket != INVALID_SOCKET) { CLOSE_SOCKET(listenSocket); } if (acceptSocket != INVALID_SOCKET) { CLOSE_SOCKET(acceptSocket); } #ifdef _WIN32 if (wsaDataInit) { WSACleanup(); } #endif } } if(STATIC_CONST_FIVE==5) { /* POTENTIAL FLAW: Possibly divide by zero */ printIntLine(100 / data); } }
['/* Initialize data */', '/* POTENTIAL FLAW: Read data using a listen socket */', '/* Abort on error or the connection was closed */', '/* NUL-terminate the string */', '/* Convert to int */', '/* POTENTIAL FLAW: Possibly divide by zero */']
['CWE369']
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95255/CWE369_Divide_by_Zero__int_listen_socket_divide_06.c
CWE369_Divide_by_Zero__int_listen_socket_divide_06_bad
void CWE369_Divide_by_Zero__int_listen_socket_divide_06_bad(void) { int iVar1; undefined auStack_36 [14]; undefined2 uStack_28; undefined2 uStack_26; undefined4 uStack_24; int iStack_18; int iStack_14; int iStack_10; int iStack_c; iStack_c = -1; iStack_14 = 0xffffffff; iStack_10 = -1; iStack_14 = func_0x00400d40(2,1,6); if (iStack_14 != -1) { func_0x00400c50(&uStack_28,0,0x10); uStack_28 = 2; uStack_24 = 0; uStack_26 = func_0x00400c30(0x6987); iVar1 = func_0x00400cf0(iStack_14,&uStack_28,0x10); if ((((iVar1 != -1) && (iVar1 = func_0x00400ce0(iStack_14,5), iVar1 != -1)) && (iStack_10 = func_0x00400d00(iStack_14,0,0), iStack_10 != -1)) && ((iStack_18 = func_0x00400c00(iStack_10,auStack_36,0xd,0), iStack_18 != -1 && (iStack_18 != 0)))) { auStack_36[iStack_18] = 0; iStack_c = func_0x00400d10(auStack_36); } } if (iStack_14 != -1) { func_0x00400c60(iStack_14); } if (iStack_10 != -1) { func_0x00400c60(iStack_10); } printIntLine(100 / (long)iStack_c & 0xffffffff); return; }
['gcc']
53,499
void CWE369_Divide_by_Zero__int_listen_socket_divide_06_good() { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); }
[]
null
mvd
/work/xgk011/.cache/huggingface/datasets/downloads/extracted/486fbd3d4a8ebc225e93d9cfb666bef6ac127e67788d52f03aa0e741860aa84a/muVulDeePecker-master/source files/upload_source_1/95255/CWE369_Divide_by_Zero__int_listen_socket_divide_06.c
CWE369_Divide_by_Zero__int_listen_socket_divide_06_good
void CWE369_Divide_by_Zero__int_listen_socket_divide_06_good(void) { goodB2G1(); goodB2G2(); goodG2B1(); goodG2B2(); return; }
['gcc']