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

Method foo

src/test/resources/dataflow/ReachDef.java:6–16  ·  view source on GitHub ↗
(int a, int b, int c)

Source from the content-addressed store, hash-verified

4class ReachDef {
5
6 int foo(int a, int b, int c) {
7 int x;
8 if (a > 0) {
9 x = a;
10 } else {
11 x = b;
12 }
13 int y = x;
14 x = c;
15 return x;
16 }
17
18 int loop(int a, int b) {
19 int c;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected