CTSRD-CHERI / cheri-c-programming

CHERI C/C++ Programming Guide
28 stars 3 forks source link

Strengthen comments about allocators #17

Open jrtc27 opened 3 years ago

jrtc27 commented 3 years ago

One use case of these APIs is high-performance applications that contain custom memory allocators and wish to narrow the bounds of returned pointers.

This should more explicitly call out the fact that you must modify your allocator if you want spatial safety for the allocations it hands out.