Improved flow analysis in general and especially for "for" loops. Added more

tests.
This commit is contained in:
Kugel Fuhr
2025-07-20 09:07:31 +02:00
parent 8ac25376a0
commit 70c1bd5e3c
7 changed files with 192 additions and 38 deletions

View File

@@ -63,8 +63,18 @@ static int f6(void)
return a;
}
int main(void)
static int f7(void)
{
return f1() + f2() + f3() + f4() + f5() + f6();
while (a) {
return a;
}
/* Reachable */
a = 2;
return a;
}
int main(void)
{
return f1() + f2() + f3() + f4() + f5() + f6() + f7();
}