CodeQL library for C/C++
codeql/cpp-all 2.0.1-dev (changelog, source)
Search

Member predicate ScanfFormatLiteral::getMaxConvertedLength

Gets the maximum length of the string that can be produced by the nth conversion specifier of this format string; fails if no estimate is possible (or implemented).

int getMaxConvertedLength(int n)