MCPcopy Create free account
hub / github.com/LFYSec/MScan / branchLoop

Method branchLoop

src/test/resources/dataflow/livevar/BranchLoop.java:14–29  ·  view source on GitHub ↗
(int c, boolean d)

Source from the content-addressed store, hash-verified

12 }
13
14 void branchLoop(int c, boolean d) {
15 int x, y, z;
16 x = 1;
17 y = 2;
18 if (c > 0) {
19 do {
20 x = y + 1;
21 y = 2 * z;
22 if (d) {
23 x = y + z;
24 }
25 z = 1;
26 } while (c < 20);
27 }
28 z = x;
29 }
30}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected