Skip to main content

dr_alloc_flags_t_DR_ALLOC_NON_HEAP

Constant dr_alloc_flags_t_DR_ALLOC_NON_HEAP 

Source
pub const dr_alloc_flags_t_DR_ALLOC_NON_HEAP: dr_alloc_flags_t = 1;
Expand description

If this flag is not specified, dr_custom_alloc() uses a managed heap to allocate the memory, just like dr_thread_alloc() or dr_global_alloc(). In that case, it ignores any requested protection bits (\p prot parameter), and the location (\p addr parameter) must be NULL. If this flag is specified, a page-aligned, separate block of memory is allocated, in a similar fashion to dr_nonheap_alloc().