Struct capstone_sys::cs_opt_mem [−][src]
#[repr(C)]pub struct cs_opt_mem { pub malloc: cs_malloc_t, pub calloc: cs_calloc_t, pub realloc: cs_realloc_t, pub free: cs_free_t, pub vsnprintf: cs_vsnprintf_t, }
Expand description
User-defined dynamic memory related functions: malloc/calloc/realloc/free/vsnprintf() By default, Capstone uses system’s malloc(), calloc(), realloc(), free() & vsnprintf().
Fields
malloc: cs_malloc_t
calloc: cs_calloc_t
realloc: cs_realloc_t
free: cs_free_t
vsnprintf: cs_vsnprintf_t