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

Class CallSource

src/main/java/pascal/taie/analysis/pta/plugin/taint/CallSource.java:36–43  ·  view source on GitHub ↗

Represents sources which generates taint objects at method calls. @param method the method that generates taint object for variable at call site. @param index the index of the tainted variable at the call site. @param type type of the generated taint object.

Source from the content-addressed store, hash-verified

34 * @param type type of the generated taint object.
35 */
36record CallSource(JMethod method, int index, Type type) implements Source {
37
38 @Override
39 public String toString() {
40 return String.format("CallSource{%s/%s(%s)}",
41 method, InvokeUtils.toString(index), type);
42 }
43}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected