On Mon, Nov 04, 2013 at 11:44:57AM +0100, Florian Weimer wrote: > More than a decade ago, there was some work in GCC and glibc about > propagating bounds information for pointers. I could find the old > web page on archive.org, but I'm wondering if there's a concise > report how it actually worked and how much software could be ported > over with what amount of effort. > One thing on my todo list is that you do not need these for bound functionality. For stack allocations _FORTIFY_SOURCE does good job.
For heap just write allocator that will for given address give start and end of allocated area. This can be made effective by keeping a hash table that will for each page give list of allocated areas. This is in my todo list.