Skip to main content

dr_alloc_flags_t_DR_ALLOC_CACHE_REACHABLE

Constant dr_alloc_flags_t_DR_ALLOC_CACHE_REACHABLE 

Source
pub const dr_alloc_flags_t_DR_ALLOC_CACHE_REACHABLE: dr_alloc_flags_t = 4;
Expand description

Allocate memory that is 32-bit-displacement reachable from the code caches and from the client library. Memory allocated through dr_thread_alloc(), dr_global_alloc(), and dr_nonheap_alloc() is also reachable, but for dr_custom_alloc(), the resulting memory is not reachable unless this flag is specified. If this flag is passed, the requested location (\p addr parameter) must be NULL. This flag is not compatible with #DR_ALLOC_LOW_2GB, #DR_ALLOC_FIXED_LOCATION, or #DR_ALLOC_NON_DR.