C++: Fix warnings.

This commit is contained in:
Geoffrey White
2020-01-28 14:46:12 +00:00
parent 01dc3661b7
commit b1f66ae825

View File

@@ -149,9 +149,9 @@ abstract class FormattingFunction extends ArrayFunction, TaintFunction {
not exists(getSizeParameterIndex())
}
predicate hasArrayInput(int bufParam) { bufParam = getFormatParameterIndex() }
override predicate hasArrayInput(int bufParam) { bufParam = getFormatParameterIndex() }
predicate hasArrayOutput(int bufParam) { bufParam = getOutputParameterIndex() }
override predicate hasArrayOutput(int bufParam) { bufParam = getOutputParameterIndex() }
override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) {
input.isParameterDeref(getFormatParameterIndex()) and