--- title: "Extension API" layout: default permalink: /page_ext.html ---
DynamoRIO
Extension API
_dr_mcontext_t
Definition: dr_defines.h:765
drcallstack_walk_t
struct _drcallstack_walk_t drcallstack_walk_t
Definition: drcallstack.h:85
dr_abort
DR_API void dr_abort(void)
DR_ASSERT
#define DR_ASSERT(x)
Definition: dr_tools.h:99
drcallstack_init_walk
DR_EXPORT drcallstack_status_t drcallstack_init_walk(dr_mcontext_t *mc, OUT drcallstack_walk_t **walk)
_drcallstack_frame_t
Definition: drcallstack.h:73
droption.h
Options parsing support.
DROPTION_SCOPE_ALL
@ DROPTION_SCOPE_ALL
Definition: droption.h:74
drcallstack_status_t
drcallstack_status_t
Definition: drcallstack.h:53
droption_t
Definition: droption.h:402
droption_parser_t::usage_long
static std::string usage_long(unsigned int scope, std::string pre_name="----------\n", std::string post_name="\n", std::string pre_value="", std::string post_value="\n", std::string pre_desc="", std::string post_desc="\n")
Definition: droption.h:312
_drcallstack_frame_t::pc
app_pc pc
Definition: drcallstack.h:77
drwrap_get_mcontext
DR_EXPORT dr_mcontext_t * drwrap_get_mcontext(void *wrapcxt)
STDERR
#define STDERR
Definition: dr_defines.h:335
opnd_create_reg
DR_API INSTR_INLINE opnd_t opnd_create_reg(reg_id_t r)
drx_buf_insert_buf_store
DR_EXPORT bool drx_buf_insert_buf_store(void *drcontext, drx_buf_t *buf, instrlist_t *ilist, instr_t *where, reg_id_t buf_ptr, reg_id_t scratch, opnd_t opnd, opnd_size_t opsz, short offset)
dr_fprintf
DR_API ssize_t dr_fprintf(file_t f, const char *fmt,...)
OPSZ_PTR
#define OPSZ_PTR
Definition: dr_ir_opnd.h:228
DRCALLSTACK_SUCCESS
@ DRCALLSTACK_SUCCESS
Definition: drcallstack.h:54
DR_REG_NULL
@ DR_REG_NULL
Definition: dr_ir_opnd.h:292
DRCALLSTACK_NO_MORE_FRAMES
@ DRCALLSTACK_NO_MORE_FRAMES
Definition: drcallstack.h:55
drx_buf_insert_update_buf_ptr
DR_EXPORT void drx_buf_insert_update_buf_ptr(void *drcontext, drx_buf_t *buf, instrlist_t *ilist, instr_t *where, reg_id_t buf_ptr, reg_id_t scratch, ushort stride)
drcallstack_next_frame
DR_EXPORT drcallstack_status_t drcallstack_next_frame(drcallstack_walk_t *walk, OUT drcallstack_frame_t *frame)
drcallstack_cleanup_walk
DR_EXPORT drcallstack_status_t drcallstack_cleanup_walk(drcallstack_walk_t *walk)
drwrap_get_func
DR_EXPORT app_pc drwrap_get_func(void *wrapcxt)
dr_parse_options
static bool dr_parse_options(client_id_t client_id, std::string *error_msg, int *last_index)
Definition: droption.h:949
DROPTION_SCOPE_CLIENT
@ DROPTION_SCOPE_CLIENT
Definition: droption.h:71
droption_parser_t::parse_argv
static bool parse_argv(unsigned int scope, int argc, const char *argv[], std::string *error_msg, int *last_index)
Definition: droption.h:193
drx_buf_insert_load_buf_ptr
DR_EXPORT void drx_buf_insert_load_buf_ptr(void *drcontext, drx_buf_t *buf, instrlist_t *ilist, instr_t *where, reg_id_t buf_ptr)