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

Method forLoop

src/test/resources/controlflow/CFG.java:19–25  ·  view source on GitHub ↗
(int n)

Source from the content-addressed store, hash-verified

17 }
18
19 int forLoop(int n) {
20 int[] a = new int[n];
21 for (int i = 0; i < n; ++i) {
22 a[i] = i * i;
23 }
24 return a[0];
25 }
26
27 int whileLoop(int n) {
28 int i = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected