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

Method loopBranch

src/test/resources/dataflow/livevar/BranchLoop.java:3–12  ·  view source on GitHub ↗
(int m, int n, int k)

Source from the content-addressed store, hash-verified

1class BranchLoop {
2
3 int loopBranch(int m, int n, int k) {
4 int a, i;
5 for (i = m - 1; i < k; i++) {
6 if (i >= n) {
7 a = n;
8 }
9 a = a + i;
10 }
11 return a;
12 }
13
14 void branchLoop(int c, boolean d) {
15 int x, y, z;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected