CodeQL library for C/C++
codeql/cpp-all 0.12.11 (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)