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