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 d6578e1 commit 3926436Copy full SHA for 3926436
1 file changed
javascript/ql/src/semmle/javascript/dataflow/Nodes.qll
@@ -710,6 +710,9 @@ class ClassNode extends DataFlow::SourceNode {
710
t.start() and
711
result = getAReceiverNode()
712
or
713
+ // Use a parameter type as starting point of type tracking.
714
+ // Use `t.call()` to emulate the value being passed in through an unseen
715
+ // call site, but not out of the call again.
716
t.call() and
717
exists(Parameter param |
718
this = param.getTypeAnnotation().getClass() and
0 commit comments