How to exclude a range of virtual addresses that can be returned by malloc() in C?

45 Views Asked by At

Upon success, malloc() returns a pointer to a newly allocated memory. The pointer is a virtual address. By default, there is no control on what virtual address the malloc() returns. Is there a way to exclude a range of virtual addresses so that malloc() does not return addresses from this range to the pointer?

0

There are 0 best solutions below