CodeQL library for C/C++
codeql/cpp-all 1.1.2-dev (changelog, source)

Member predicate SideEffectFunction::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)