Skip to content

Commit 89f7604

Browse files
committed
1 parent e0d16a8 commit 89f7604

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

go/ql/lib/semmle/go/security/CommandInjection.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ module CommandInjection {
2424
}
2525

2626
predicate isBarrier(DataFlow::Node node) { node instanceof Sanitizer }
27+
28+
predicate observeDiffInformedIncrementalMode() { any() }
2729
}
2830

2931
/**
@@ -80,6 +82,8 @@ module CommandInjection {
8082
node instanceof Sanitizer or
8183
node = any(ArgumentArrayWithDoubleDash array).getASanitizedElement()
8284
}
85+
86+
predicate observeDiffInformedIncrementalMode() { any() }
8387
}
8488

8589
/**

0 commit comments

Comments
 (0)