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