mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Crypto: Simplifying expression for ql-for-ql alert.
This commit is contained in:
@@ -109,7 +109,7 @@ module WrapperArgFlowConfig implements DataFlow::ConfigSig {
|
|||||||
predicate isBarrierOut(DataFlow::Node node) {
|
predicate isBarrierOut(DataFlow::Node node) {
|
||||||
// stop all flow out of a call return
|
// stop all flow out of a call return
|
||||||
// TODO: this might be too strict and remove taint flow, need to reassess
|
// TODO: this might be too strict and remove taint flow, need to reassess
|
||||||
exists(Call c | c = node.asExpr()) or
|
node.asExpr() instanceof Call or
|
||||||
node = any(Crypto::FlowAwareElement element).getInputNode()
|
node = any(Crypto::FlowAwareElement element).getInputNode()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user