core/x86/instrument.c
/* Inserts a complete call to callee with the passed-in arguments */
Inserts a complete call to callee with the passed-in arguments
Inserts a complete call to callee with the passed - in arguments
void
dr_insert_call(void *drcontext, instrlist_t *ilist, instr_t *where,
               void *callee, uint num_args, ...)
{
    dcontext_t *dcontext = (dcontext_t *) drcontext;
    va_list ap;
    CLIENT_ASSERT(drcontext != NULL, "dr_insert_call: drcontext cannot be NULL");
    va_start(ap, num_args);
    insert_meta_call_vargs(dcontext, ilist, where, false,
                           callee, num_args, ap);
    va_end(ap);
}
void dr_insert_call ( void * drcontext , instrlist_t * ilist , instr_t * where , void * callee , uint num_args , ... ) { dcontext_t * dcontext = ( dcontext_t * ) drcontext ; va_list ap ; CLIENT_ASSERT ( drcontext != NULL , " " ) ; va_start ( ap , num_args ) ; insert_meta_call_vargs ( dcontext , ilist , where , false , callee , num_args , ap ) ; va_end ( ap ) ; }
Inserts a complete call to callee with the passed-in arguments
Inserts a complete call to callee with the passed - in arguments
/* we don't check for GLOBAL_DCONTEXT since DR internally calls this */ /*not clean*/