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

Class StoreArray

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

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

Source from the content-addressed store, hash-verified

29 * Representation of store array statement, e.g., a[..] = x.
30 */
31public class StoreArray extends ArrayStmt<ArrayAccess, Var> {
32
33 public StoreArray(ArrayAccess lvalue, Var rvalue) {
34 super(lvalue, rvalue);
35 lvalue.getBase().addStoreArray(this);
36 }
37
38 @Override
39 public ArrayAccess getArrayAccess() {
40 return getLValue();
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