Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89a6cdc commit 818e75bCopy full SHA for 818e75b
1 file changed
java/ql/src/Telemetry/ExternalAPI.qll
@@ -48,15 +48,15 @@ class ExternalAPI extends Callable {
48
private DataFlow::Node getAnInput() {
49
exists(Call call | call.getCallee().getSourceDeclaration() = this |
50
result.asExpr().(Argument).getCall() = call or
51
- result.(ArgumentNode).getCall() = call
+ result.(ArgumentNode).getCall().asCall() = call
52
)
53
}
54
55
/** Gets a node that is an output from a call to this API. */
56
private DataFlow::Node getAnOutput() {
57
58
result.asExpr() = call or
59
- result.(DataFlow::PostUpdateNode).getPreUpdateNode().(ArgumentNode).getCall() = call
+ result.(DataFlow::PostUpdateNode).getPreUpdateNode().(ArgumentNode).getCall().asCall() = call
60
61
62
0 commit comments