We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c22442 commit ee62f2aCopy full SHA for ee62f2a
1 file changed
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DefaultTaintTrackingImpl.qll
@@ -622,6 +622,8 @@ module TaintedWithPath {
622
623
private predicate isGlobalVariablePathNode(WrapPathNode n) {
624
n.inner().getNode().asVariable() instanceof GlobalOrNamespaceVariable
625
+ or
626
+ n.inner().getNode().asIndirectVariable() instanceof GlobalOrNamespaceVariable
627
}
628
629
private predicate edgesWithoutGlobals(PathNode a, PathNode b) {
0 commit comments