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

Method main

src/test/resources/dataflow/constprop/alias/ArrayCorner.java:2–19  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

1class ArrayCorner {
2 public static void main(String[] args) {
3 int x = 1;
4 if (x > 0) {
5 x = 2;
6 }
7
8 corner1(x);
9 corner2(x);
10 corner3(x);
11 corner4(x);
12 corner5(x);
13 corner6(x);
14 corner7(x);
15 corner8(x);
16 corner9();
17 corner10();
18 corner11();
19 }
20
21 //corner1~corner8: different situation of NAC index store and load
22

Callers

nothing calls this directly

Calls 11

corner1Method · 0.95
corner2Method · 0.95
corner3Method · 0.95
corner4Method · 0.95
corner5Method · 0.95
corner6Method · 0.95
corner7Method · 0.95
corner8Method · 0.95
corner9Method · 0.95
corner10Method · 0.95
corner11Method · 0.95

Tested by

no test coverage detected