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

Class LoadArray

src/main/java/pascal/taie/ir/stmt/LoadArray.java:31–47  ·  view source on GitHub ↗

Representation of load array statement, e.g., x = a[..].

Source from the content-addressed store, hash-verified

29 * Representation of load array statement, e.g., x = a[..].
30 */
31public class LoadArray extends ArrayStmt<Var, ArrayAccess> {
32
33 public LoadArray(Var lvalue, ArrayAccess rvalue) {
34 super(lvalue, rvalue);
35 rvalue.getBase().addLoadArray(this);
36 }
37
38 @Override
39 public ArrayAccess getArrayAccess() {
40 return getRValue();
41 }
42
43 @Override
44 public <T> T accept(StmtVisitor<T> visitor) {
45 return visitor.visit(this);
46 }
47}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected