core/heap.c
/* Returns whether entirely within the region we reserved from the OS for doling
 * out internally via our vm_heap_t
 */
Returns whether entirely within the region we reserved from the OS for doling
out internally via our vm_heap_t
Returns whether entirely within the region we reserved from the OS for doling out internally via our vm_heap_t
bool
is_vmm_reserved_address(byte *pc, size_t size)
{
    ASSERT(heapmgt != NULL);
    return (heapmgt != NULL && heapmgt->vmheap.start_addr != NULL &&
            pc >= heapmgt->vmheap.start_addr &&
            (pc < ((byte *)POINTER_MAX) - size)  &&
            (pc + size) <= heapmgt->vmheap.end_addr);
}
bool is_vmm_reserved_address ( byte * pc , size_t size ) { ASSERT ( heapmgt != NULL ) ; return ( heapmgt != NULL && heapmgt -> vmheap . start_addr != NULL && pc >= heapmgt -> vmheap . start_addr && ( pc < ( ( byte * ) POINTER_MAX ) - size ) && ( pc + size ) <= heapmgt -> vmheap . end_addr ) ; }
Returns whether entirely within the region we reserved from the OS for doling
 out internally via our vm_heap_t
Returns whether entirely within the region we reserved from the OS for doling out internally via our vm_heap_t
/* Case 10293: we don't call vmm_is_reserved_unit to avoid its
     * assert, which we want to maintain for callers only dealing with
     * DR-allocated addresses, while this routine is called w/ random
     * addresses
     */ /* i#14: workaround for gcc 4.3.0 bug */ /* no overflow */