CodeQL library for Go
codeql/go-all 0.7.14 (changelog, source)
Search

Predicate CFG::hasEvaluationNode

Holds if e should have an evaluation node in the control-flow graph.

Excluded expressions include those not evaluated at runtime (e.g. identifiers, type expressions) and some logical expressions that are expressed as control-flow edges rather than having a specific evaluation node.

Import path

import semmle.go.controlflow.ControlFlowGraphImpl
predicate hasEvaluationNode(Expr e)