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

Member predicate StrncpyBA::getSizeExpr

Gets the expression that represents the size of the buffer access. The actual size is typically the value of this expression multiplied by the result of getSizeMult(), in bytes.

Expr getSizeExpr()