Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ main
Method
main
src/test/resources/pta/taint/FieldTaint.java:3–9 ·
view source on GitHub ↗
(String[] args)
Source
from the content-addressed store, hash-verified
1
class
FieldTaint {
2
3
public
static
void
main(String[] args) {
4
A a =
new
A();
5
B b =
new
B();
6
b.g = a;
7
b.g.f = SourceSink.source();
8
foo(b);
9
}
10
11
static
void
foo(B b) {
12
SourceSink.sink(b.g.f);
// taint
Callers
nothing calls this directly
Calls
2
source
Method · 0.95
foo
Method · 0.95
Tested by
no test coverage detected