DynamoRIO
|
drtable.h File Reference
Header for DynamoRIO DrTable Extension. More...
Macros | |
#define | DRTABLE_INVALID_INDEX ((ptr_uint_t)-1) |
Enumerations | |
enum | drtable_flags_t { DRTABLE_MEM_REACHABLE = 0x1, DRTABLE_MEM_32BIT = 0x2, DRTABLE_ALLOC_COMPACT = 0x4 } |
Functions | |
void * | drtable_create (ptr_uint_t capacity, size_t entry_size, uint flags, bool synch, void(*free_entry_func)(ptr_uint_t idx, void *entry, void *user_data)) |
void * | drtable_alloc (void *tab, ptr_uint_t num_entries, ptr_uint_t *idx_ptr) |
void | drtable_destroy (void *tab, void *user_data) |
void | drtable_iterate (void *tab, void *iter_data, bool(*iter_func)(ptr_uint_t id, void *, void *)) |
void * | drtable_get_entry (void *tab, ptr_uint_t idx) |
ptr_uint_t | drtable_get_index (void *tab, void *ptr) |
void | drtable_lock (void *tab) |
void | drtable_unlock (void *tab) |
ptr_uint_t | drtable_num_entries (void *tab) |
ptr_uint_t | drtable_dump_entries (void *tab, file_t log) |
Detailed Description
Header for DynamoRIO DrTable Extension.