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

Method main

src/test/resources/sideeffect/Arrays.java:49–66  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

47
48 ///// Entry function ///////////////////////////////////////////////////////
49 public static void main(String[] args) {
50 ArrayWrapper aw = new ArrayWrapper();
51 Tree l = new Tree();
52 Tree r = new Tree();
53 Tree[] ts = {new Tree(l, r), new Tree()};
54 int[] is = {1, 2, 3};
55 aw.trees = ts;
56
57 intArrayCopyFst(is, is);
58 treeArrayCopyFst(ts, ts);
59 treeArrayCopyAllLoop(ts, ts);
60 treeArrayPtrAssign(aw, ts);
61 treeArrayPtrReturn(aw);
62
63 intArrayCopyFstTransfer(is, is);
64 treeArrayCopyFstTransfer(ts, ts);
65 treeArrayCopyAllLoopTransfer(ts, ts);
66 }
67}

Callers

nothing calls this directly

Calls 8

intArrayCopyFstMethod · 0.95
treeArrayCopyFstMethod · 0.95
treeArrayCopyAllLoopMethod · 0.95
treeArrayPtrAssignMethod · 0.95
treeArrayPtrReturnMethod · 0.95

Tested by

no test coverage detected