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