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

Method main

src/test/resources/dataflow/constprop/alias/Array.java:3–12  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

1class Array {
2
3 public static void main(String[] args) {
4 int[] a1 = {1, 2, 3, 5, 7, 9};
5 int x = a1[3];
6 int[] a2 = new int[3];
7 a2[0] = 666;
8 a2[1] = 888;
9 a2[2] = 999;
10 int y = a2[1];
11 int z = a2[2];
12 }
13}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected