Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaLawall committed May 21, 2016
1 parent 347f0ec commit 78d0be7
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 13 deletions.
1 change: 0 additions & 1 deletion demos/exists1.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ int main(void)
a = 10;
b();

c = 400;
c();

return 0;
Expand Down
2 changes: 1 addition & 1 deletion demos/exists1.cocci
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// this rule lacks exists, without exists, all control flows possible
// This rule lacks exists, without exists, all control flows possible
// must match the rule when + or - is used. In the case of exists1.c only
// one possible control flow exists, the flow is completely linear.
@r@
Expand Down
2 changes: 0 additions & 2 deletions demos/exists1.res
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@ int main(void)
a = 10;
b();

c = 400;

return 0;
}
1 change: 0 additions & 1 deletion demos/exists2.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ int main(void)
a = 10;
b();

c = 400;
if (a > 5)
c();

Expand Down
2 changes: 1 addition & 1 deletion demos/exists2.cocci
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// this rule lacks exists, without exists, all control flows possible
// This rule lacks exists, without exists, all control flows possible
// must match the rule. In the case of exists2.c two possible control
// flows exists on main():
// 1. b() --> a > 5 --> c();
Expand Down
1 change: 0 additions & 1 deletion demos/exists2.res
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ int main(void)
a = 10;
b();

c = 400;
if (a > 5)
c();

Expand Down
1 change: 0 additions & 1 deletion demos/exists3.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ int main(void)
a = 10;
b();

c = 400;
if (a > 5)
c();

Expand Down
2 changes: 1 addition & 1 deletion demos/exists3.cocci
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// this rule uses exists, with it, the rule is successful if at least
// This rule uses exists, with it, the rule is successful if at least
// one of the possible control flows possible match.
// exists3.c has two possible control flows on main():
// 1. b() --> a > 5 --> c();
Expand Down
1 change: 0 additions & 1 deletion demos/exists3.res
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ int main(void)
a = 10;
b();

c = 400;
if (a > 5)
{}

Expand Down
1 change: 0 additions & 1 deletion demos/exists4.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ int main(void)
a = 10;
b();

c = 400;
if (a > 5)
c();

Expand Down
2 changes: 1 addition & 1 deletion demos/exists4.cocci
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// this rule uses forall, with it, all control flows must match.
// This rule uses forall, with it, all control flows must match.
//
// The exists4.c was extended to add a c() in comparison to exists2.c
// this is done to show that using forall will still have an effect
Expand Down
1 change: 0 additions & 1 deletion demos/exists4.res
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ int main(void)
a = 10;
b();

c = 400;
if (a > 5)
c();

Expand Down

0 comments on commit 78d0be7

Please sign in to comment.