mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
Update cpp/ql/lib/semmle/code/cpp/ir/dataflow/MustFlow.qll
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
edf629f5aa
commit
1bf430529b
@@ -61,7 +61,7 @@ private predicate flowsFromSource(DataFlow::Node node, MustFlowConfiguration con
|
||||
)
|
||||
}
|
||||
|
||||
/** Holds if `instr` flows to a sink. */
|
||||
/** Holds if `node` flows to a sink. */
|
||||
pragma[nomagic]
|
||||
private predicate flowsToSink(DataFlow::Node node, MustFlowConfiguration config) {
|
||||
flowsFromSource(node, pragma[only_bind_into](config)) and
|
||||
|
||||
Reference in New Issue
Block a user