diff options
author | bloodstalker <thabogre@gmail.com> | 2016-12-31 17:07:29 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-12-31 17:07:29 +0000 |
commit | 9e042ab7157bb9396511bacae7b3f76645caa691 (patch) | |
tree | 5ecb8e5239f5a25a3ed5f42c474881d718f3595c /test | |
parent | started adding custom cl options to mutator-lvl0 (diff) | |
download | mutator-9e042ab7157bb9396511bacae7b3f76645caa691.tar.gz mutator-9e042ab7157bb9396511bacae7b3f76645caa691.zip |
updated
Diffstat (limited to 'test')
-rw-r--r-- | test/testFuncs1.c | 18 | ||||
-rw-r--r-- | test/testFuncs2.c | 4 | ||||
-rw-r--r-- | test/testFuncs3.c | 11 |
3 files changed, 33 insertions, 0 deletions
diff --git a/test/testFuncs1.c b/test/testFuncs1.c index 838b599..fc1c25d 100644 --- a/test/testFuncs1.c +++ b/test/testFuncs1.c @@ -1040,6 +1040,8 @@ void test28(void) int i;
int j;
int k;
+ int flag = 0;
+ int counter = 0;
for (i = 0; i < 10; i++)
{
@@ -1058,6 +1060,22 @@ void test28(void) i = j - k;
}
+ for (i = 0; flag == 1; i++)
+ {
+ if (i > 10)
+ {
+ flag = 1;
+ }
+ }
+
+ for (i = 0; flag == 1, counter++; i++)
+ {
+ if (i > 10)
+ {
+ flag = 1;
+ }
+ }
+
for (k = 0, i = 0; i < 10, k < 10; ++i, k++)
{
k = i + j;
diff --git a/test/testFuncs2.c b/test/testFuncs2.c index 9bddcc6..4bd6ec3 100644 --- a/test/testFuncs2.c +++ b/test/testFuncs2.c @@ -102,6 +102,8 @@ int bubu; int fufu; double badboy = 0.0; +int hiddenvisibility; + int incompletearr1[10]; union u3; @@ -145,6 +147,8 @@ static void test33(void) long int b; int sum; + int hiddenvisibility; + sum = dudu + bubu + fufu; MINUS(a, b); diff --git a/test/testFuncs3.c b/test/testFuncs3.c index ee0e2c4..9a7df7d 100644 --- a/test/testFuncs3.c +++ b/test/testFuncs3.c @@ -26,4 +26,15 @@ void tddfunc1 (void) iz2 = iz3; n1 = n2; +} + +void tddfunc2(void) +{ + static int staticint1; + + unsigned short int port = 0x5aU; + unsigned short int result_8; + //uint16_t result_16; + //uint16_t mode; + result_8 = (~port) >> 4; }
\ No newline at end of file |