Inventors:
- Armonk NY, US
Alper Buyuktosunoglu - White Plains NY, US
Tong Chen - Yorktown Heights NY, US
International Classification:
G06F 21/57
G06F 9/38
G06F 9/30
Abstract:
In an approach to protecting against out-of-bounds buffer references, an apparatus comprises one or more processor cores and a bounds-checking functional unit in each processor core configured to manage bounds information for one or more memory buffers. When a buffer is allocated, an address range of the buffer is stored. When a pointer is assigned an address within the address range of the buffer, the address range of the buffer is associated with the pointer. When the pointer is used to compute an address for an operation, whether the address for the operation is within the address range associated with the pointer is determined. If the address is not within the address range associated with the pointer, signaling that an error has occurred.