Skip to content

Commit dbc6868

Browse files
owen-mcsmowton
andauthored
Update go/ql/lib/semmle/go/dataflow/internal/DataFlowNodes.qll
Co-authored-by: Chris Smowton <[email protected]>
1 parent 0895853 commit dbc6868

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

go/ql/lib/semmle/go/dataflow/internal/DataFlowNodes.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,8 +507,7 @@ module Public {
507507
FuncDef getACallee() { result = this.getACalleeIncludingExternals().getFuncDef() }
508508

509509
/**
510-
* As `getACalleeIncludingExternals`, except excluding external functions (those for which
511-
* we lack a definition, such as standard library functions).
510+
* Gets the definition of a possible target of this call, excluding targets reachable via virtual dispatch.
512511
*/
513512
Callable getACalleeWithoutVirtualDispatch() {
514513
result.asFunction() = this.getTarget()

0 commit comments

Comments
 (0)