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

Predicate functionArgumentMustBeNullTerminated

Holds if f is a (library) function whose ith argument must be null terminated.

Import path

import semmle.code.cpp.commons.NullTermination
predicate functionArgumentMustBeNullTerminated(Function f, int i)