Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e98485d

Browse files
geoffw0MathiasVP
andauthored
Update cpp/ql/lib/semmle/code/cpp/dataflow/internal/FlowSummaryImpl.qll
Co-authored-by: Mathias Vorreiter Pedersen <[email protected]>
1 parent f6b412e commit e98485d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/ql/lib/semmle/code/cpp/dataflow/internal/FlowSummaryImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ module SourceSinkInterpretationInput implements
119119
DataFlowCallable asCallable() { result.(Function) = this.asElement() }
120120

121121
/** Gets the target of this call, if any. */
122-
Element getCallTarget() { result = this.asCall().getAst().(Call).getTarget() }
122+
Element getCallTarget() { result = this.asCall().getStaticCallTarget() }
123123

124124
/** Gets a textual representation of this node. */
125125
string toString() {

0 commit comments

Comments
 (0)