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