Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ NAC
Method
NAC
src/test/resources/dataflow/constprop/SimpleBranch.java:3–11 ·
view source on GitHub ↗
(int p)
Source
from the content-addressed store, hash-verified
1
class
SimpleBranch {
2
3
static
void
NAC(
int
p) {
4
int
x;
5
if
(p > 0) {
6
x = 1;
7
}
else
{
8
x = 2;
9
}
10
int
y = x;
11
}
12
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected