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

Method undefined1

src/test/resources/dataflow/constprop/BranchUndef.java:3–11  ·  view source on GitHub ↗
(boolean b)

Source from the content-addressed store, hash-verified

1class BranchUndef {
2
3 void undefined1(boolean b) {
4 int x, undef;
5 if (b) {
6 x = undef;
7 } else {
8 x = 10;
9 }
10 int y = x;
11 }
12
13 void undefined2(boolean b) {
14 int undef;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected