Merge pull request #11693 from jketema/argv-param-flowsource

C++: Define the `argv` flow source in terms the input parameter
This commit is contained in:
Mathias Vorreiter Pedersen
2022-12-20 09:30:19 +00:00
committed by GitHub
15 changed files with 69 additions and 47 deletions

View File

@@ -91,8 +91,6 @@ class TaintedPathConfiguration extends TaintTracking::Configuration {
)
}
override predicate isSanitizerIn(DataFlow::Node node) { this.isSource(node) }
override predicate isSanitizer(DataFlow::Node node) {
node.asExpr().(Call).getTarget().getUnspecifiedType() instanceof ArithmeticType
or