mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
C++: autoformat
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
import semmle.code.cpp.ir.dataflow.DefaultTaintTracking
|
||||
|
||||
class SourceConfiguration extends TaintedWithPath::TaintTrackingConfiguration {
|
||||
override predicate isSink(Element e) {
|
||||
any()
|
||||
}
|
||||
override predicate isSink(Element e) { any() }
|
||||
}
|
||||
|
||||
from Expr source, Element tainted
|
||||
where
|
||||
TaintedWithPath::taintedWithPath(source, tainted, _, _) and
|
||||
not tainted.getLocation().getFile().getExtension() = "h"
|
||||
select source, tainted
|
||||
select source, tainted
|
||||
|
||||
Reference in New Issue
Block a user