mirror of
https://github.com/github/codeql.git
synced 2026-04-22 23:35:14 +02:00
Update go/ql/lib/semmle/go/dataflow/internal/DataFlowNodes.qll
Co-authored-by: Chris Smowton <smowton@github.com>
This commit is contained in:
@@ -507,8 +507,7 @@ module Public {
|
||||
FuncDef getACallee() { result = this.getACalleeIncludingExternals().getFuncDef() }
|
||||
|
||||
/**
|
||||
* As `getACalleeIncludingExternals`, except excluding external functions (those for which
|
||||
* we lack a definition, such as standard library functions).
|
||||
* Gets the definition of a possible target of this call, excluding targets reachable via virtual dispatch.
|
||||
*/
|
||||
Callable getACalleeWithoutVirtualDispatch() {
|
||||
result.asFunction() = this.getTarget()
|
||||
|
||||
Reference in New Issue
Block a user