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

Method main

src/test/resources/pta/taint/BaseToResult.java:3–8  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

1class BaseToResult {
2
3 public static void main(String[] args) {
4 String taint = SourceSink.source();
5 String s1 = new String();
6 String s2 = taint.concat(s1);
7 SourceSink.sink(s2); // taint
8 }
9}

Callers

nothing calls this directly

Calls 3

sourceMethod · 0.95
sinkMethod · 0.95
concatMethod · 0.45

Tested by

no test coverage detected