qtil
advanced-security/qtil-cpp 0.0.4
Search

Member predicate ScanfFormatLiteral::getFormat

Gets the format string itself, transformed as follows:

  • ‘%%’ is replaced with ‘_’ (this avoids accidentally processing them as format specifiers)
  • ‘%*’ is replaced with ‘_’ (%*any is matched but not assigned to an argument)
string getFormat()