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

Method getNode

src/main/java/pascal/taie/analysis/graph/cfg/StmtCFG.java:61–70  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

59 }
60
61 @Override
62 public Stmt getNode(int index) {
63 if (index == 0) {
64 return getEntry();
65 } else if (index == ir.getStmts().size() + 1) {
66 return getExit();
67 } else {
68 return ir.getStmt(index - 1);
69 }
70 }
71
72 @Override
73 public Set<Stmt> getNodes() {

Callers

nothing calls this directly

Calls 5

getEntryMethod · 0.65
sizeMethod · 0.65
getStmtsMethod · 0.65
getExitMethod · 0.65
getStmtMethod · 0.65

Tested by

no test coverage detected