CodeQL library for C/C++
Search

Predicate variadicFormatter

Holds if f is a function such as vprintf that has a format parameter (at formatParamIndex) and a variable argument list of type va_arg.

DEPRECATED: Use the four argument version instead.

Import path

import cpp
predicate variadicFormatter(Function f, int formatParamIndex)