-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
This issue is generated by Vulcan for commit: 60f16e0
Coverage: 100.00 percent
Click here for a list of target sources
There is(are) 1/7 failed test(s)
Click here for the failed test commands
- [FAILED] bash -c "./test 6"
Click here for FL information
Clicking on the link, you take the page with code highlighted.
- Here is most suspicious code piece.
Line 16 in 60f16e0
printf("fix here\n");
Recommend debugging here.
Click below the collapsed section for more FL information.
25 patch(es) generaetd by vulcan
plausible patch diff info
--- __backup0 2023-08-31 02:14:29.459693000 +0000
+++ example.c 2023-08-31 02:14:40.519693000 +0000
@@ -12,9 +12,10 @@
} else {
if (x > y) {
ret = y;
- } else if (x > z) {
+ } else { ret = (y);
+if (x > z) {
printf("fix here\n");
}
- }
+ }}
return ret;
-}
\ No newline at end of file
+}
--- __backup0 2023-08-31 02:14:29.459693000 +0000
+++ example.c 2023-08-31 02:14:40.509693000 +0000
@@ -10,11 +10,11 @@
ret = x;
}
} else {
- if (x > y) {
- ret = y;
- } else if (x > z) {
- printf("fix here\n");
- }
+ if ((x > y) || (y < 5)) {
+ ret = y;
+} else if (x > z) {
+ printf("fix here\n");
+}
}
return ret;
-}
\ No newline at end of file
+}
--- __backup0 2023-08-31 02:14:29.459693000 +0000
+++ example.c 2023-08-31 02:14:40.509693000 +0000
@@ -10,11 +10,11 @@
ret = x;
}
} else {
- if (x > y) {
- ret = y;
- } else if (x > z) {
- printf("fix here\n");
- }
+ if ((x > y) || (y != 5)) {
+ ret = y;
+} else if (x > z) {
+ printf("fix here\n");
+}
}
return ret;
-}
\ No newline at end of file
+}
--- __backup0 2023-08-31 02:14:29.459693000 +0000
+++ example.c 2023-08-31 02:14:40.509693000 +0000
@@ -10,11 +10,11 @@
ret = x;
}
} else {
- if (x > y) {
- ret = y;
- } else if (x > z) {
- printf("fix here\n");
- }
+ if ((x > y) || (z < 5)) {
+ ret = y;
+} else if (x > z) {
+ printf("fix here\n");
+}
}
return ret;
-}
\ No newline at end of file
+}
--- __backup0 2023-08-31 02:14:29.459693000 +0000
+++ example.c 2023-08-31 02:14:40.499693000 +0000
@@ -13,8 +13,9 @@
if (x > y) {
ret = y;
} else if (x > z) {
- printf("fix here\n");
+ ret = x;
+printf("fix here\n");
}
}
return ret;
-}
\ No newline at end of file
+}
--- __backup0 2023-08-31 02:14:29.459693000 +0000
+++ example.c 2023-08-31 02:14:40.519693000 +0000
@@ -10,11 +10,11 @@
ret = x;
}
} else {
- if (x > y) {
- ret = y;
- } else if (x > z) {
- printf("fix here\n");
- }
+ if ((x > y) || (1)) {
+ ret = y;
+} else if (x > z) {
+ printf("fix here\n");
+}
}
return ret;
-}
\ No newline at end of file
+}
--- __backup0 2023-08-31 02:14:29.459693000 +0000
+++ example.c 2023-08-31 02:14:40.519693000 +0000
@@ -10,11 +10,11 @@
ret = x;
}
} else {
- if (x > y) {
- ret = y;
- } else if (x > z) {
- printf("fix here\n");
- }
+ if ((x > y) || (ret == 3)) {
+ ret = y;
+} else if (x > z) {
+ printf("fix here\n");
+}
}
return ret;
-}
\ No newline at end of file
+}
--- __backup0 2023-08-31 02:14:29.459693000 +0000
+++ example.c 2023-08-31 02:14:40.499693000 +0000
@@ -10,11 +10,12 @@
ret = x;
}
} else {
- if (x > y) {
+ ret = x;
+if (x > y) {
ret = y;
} else if (x > z) {
printf("fix here\n");
}
}
return ret;
-}
\ No newline at end of file
+}
--- __backup0 2023-08-31 02:14:29.459693000 +0000
+++ example.c 2023-08-31 02:14:40.509693000 +0000
@@ -10,11 +10,12 @@
ret = x;
}
} else {
- if (x > y) {
+ ret = (x);
+if (x > y) {
ret = y;
} else if (x > z) {
printf("fix here\n");
}
}
return ret;
-}
\ No newline at end of file
+}
--- __backup0 2023-08-31 02:14:29.459693000 +0000
+++ example.c 2023-08-31 02:14:40.509693000 +0000
@@ -10,11 +10,12 @@
ret = x;
}
} else {
- if (x > y) {
+ ret = (y);
+if (x > y) {
ret = y;
} else if (x > z) {
printf("fix here\n");
}
}
return ret;
-}
\ No newline at end of file
+}
Metadata
Metadata
Assignees
Labels
No labels