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

Method getDefs

src/main/java/pascal/taie/analysis/defuse/DefUse.java:64–67  ·  view source on GitHub ↗

@return definitions of var at stmt. If var is not used in stmt or it does not have any definitions, an empty set is returned.

(Stmt stmt, Var var)

Source from the content-addressed store, hash-verified

62 * have any definitions, an empty set is returned.
63 */
64 public Set<Stmt> getDefs(Stmt stmt, Var var) {
65 Objects.requireNonNull(defs, NULL_DEFS);
66 return defs.get(stmt, var);
67 }
68
69 /**
70 * @return uses of the variable defined by {@code stmt}.

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected