Skip to content
Commit eeefd07f authored by Peter Mitsis's avatar Peter Mitsis Committed by Chris Friedt
Browse files

include: util: Add Z_DETECT_POINTER_OVERFLOW()



The Z_DETECT_POINTER_OVERFLOW() macro is intended detect whether
or not a buffer spans a region of memory that goes beyond the
highest possible address (thereby overflowing the pointer).

Signed-off-by: default avatarPeter Mitsis <peter.mitsis@intel.com>
parent d013132f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment