Show: Delphi C++
Display Preferences

PointerSub -- Use of Pointer Subtraction to Determine Size

From RAD Studio
Jump to: navigation, search

Go Up to C++ Audits

Description

PointerSub checks for subtractions of one pointer from another to determine the size of an element.

The application subtracts one pointer from another in order to determine size, but this calculation can be incorrect if the pointers do not belong to the same memory chunk.

See Also

Personal tools
RAD Studio 10.2 Tokyo
In other languages
Previous Versions
Assistance