Module IncorrectPointerScalingCommon

Shared utilities for the CWE-468 queries.

Import path

Security.CWE.CWE-468.IncorrectPointerScalingCommon

Imports

cpp

Provides classes and predicates for working with C/C++/ObjC/ObjC++ code.

Predicates

addWithSizeof

Holds if the pointer e is added to the sizeof expression sizeofExpr (which may first be multiplied by another expression), and sizeofParam is sizeofExpr’s type parameter.