mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Update ql/src/semmle/go/dataflow/internal/DataFlowDispatch.qll
Co-Authored-By: Sauyon Lee <sauyon@github.com>
This commit is contained in:
@@ -11,7 +11,7 @@ private predicate isInterfaceCallReceiver(DataFlow::CallNode call, DataFlow::Nod
|
||||
m = call.getCalleeName()
|
||||
}
|
||||
|
||||
/** Holds if `nd` may flow into the receiver value of `call`, which is an interface value. */
|
||||
/** Gets a data-flow node that may flow into the receiver value of `call`, which is an interface value. */
|
||||
private DataFlow::Node getInterfaceCallReceiverSource(DataFlow::CallNode call) {
|
||||
isInterfaceCallReceiver(call, result.getASuccessor*(), _)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user