use the Query.qll pattern

This commit is contained in:
Erik Krogh Kristensen
2022-04-12 15:52:52 +02:00
parent 8fb54c3f32
commit 688b2b6898
3 changed files with 73 additions and 76 deletions

View File

@@ -12,7 +12,7 @@
import javascript
import DataFlow::PathGraph
import experimental.semmle.javascript.security.dataflow.ResourceExhaustion::ResourceExhaustion
import experimental.semmle.javascript.security.dataflow.ResourceExhaustionQuery
from Configuration dataflow, DataFlow::PathNode source, DataFlow::PathNode sink
where dataflow.hasFlowPath(source, sink)