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

Member predicate StrcpyFunction::hasSpecificWriteSideEffect

Holds if the value pointed to by the parameter at index i is written to. buffer is true if the write may be at an offset. mustWrite is true if the write is unconditional.

predicate hasSpecificWriteSideEffect(ParameterIndex i, boolean buffer, boolean mustWrite)