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

Member predicate FormatLiteral::getMaxConvertedLengthLimited

Gets the maximum length of the string that can be produced by this format string, except that float to string conversions are assumed to be 8 characters. This is helpful for determining whether a buffer overflow is caused by long float to string conversions.

int getMaxConvertedLengthLimited()