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

Method main

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

Source from the content-addressed store, hash-verified

1class ArrayInter2 {
2
3 public static void main(String[] args) {
4 int[] a = new int[1];
5 set(a, 0, 777);
6 int x = get(a, 0);
7 }
8
9 static void set(int[] arr, int i, int v) {
10 arr[i] = v;

Callers

nothing calls this directly

Calls 2

setMethod · 0.95
getMethod · 0.95

Tested by

no test coverage detected