C++: Fix formatting

This commit is contained in:
Mathias Vorreiter Pedersen
2020-01-28 10:22:33 +01:00
parent 130911ad44
commit 611d9553dd

View File

@@ -3,13 +3,9 @@ import semmle.code.cpp.security.Security
import semmle.code.cpp.security.TaintTracking as ASTTaintTracking
import semmle.code.cpp.ir.dataflow.DefaultTaintTracking as IRDefaultTaintTracking
predicate astFlow(Expr source, Element sink) {
ASTTaintTracking::tainted(source, sink)
}
predicate astFlow(Expr source, Element sink) { ASTTaintTracking::tainted(source, sink) }
predicate irFlow(Expr source, Element sink) {
IRDefaultTaintTracking::tainted(source, sink)
}
predicate irFlow(Expr source, Element sink) { IRDefaultTaintTracking::tainted(source, sink) }
from Expr source, Element sink, string note
where
@@ -20,4 +16,4 @@ where
irFlow(source, sink) and
not astFlow(source, sink) and
note = "IR only"
select source, sink, note
select source, sink, note