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

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)