本文整理汇总了C++中ASSERT_NOT_IMPLEMENTED函数的典型用法代码示例。如果您正苦于以下问题:C++ ASSERT_NOT_IMPLEMENTED函数的具体用法?C++ ASSERT_NOT_IMPLEMENTED怎么用?C++ ASSERT_NOT_IMPLEMENTED使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ASSERT_NOT_IMPLEMENTED函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: insert_pop_all_registers
void
insert_pop_all_registers(dcontext_t *dcontext, clean_call_info_t *cci,
instrlist_t *ilist, instr_t *instr,
uint alignment)
{
ASSERT_NOT_IMPLEMENTED(false); /* FIXME i#1569 */
}
示例2: IOV_WriteIovToBuf
void
IOV_WriteIovToBuf(struct iovec* entries, // IN
int numEntries, // IN
uint8* bufOut, // OUT
size_t bufSize) // IN
{
size_t count = 0;
int i;
ASSERT(entries);
ASSERT(bufOut);
for (i = 0; i < numEntries; i++) {
size_t numBytes;
ASSERT(entries[i].iov_base);
ASSERT(entries[i].iov_base != LAZY_ALLOC_MAGIC);
numBytes = MIN(bufSize - count, entries[i].iov_len);
Util_Memcpy(&bufOut[count], entries[i].iov_base, numBytes);
count += numBytes;
if (count >= bufSize) {
return;
}
ASSERT_NOT_IMPLEMENTED(count <= bufSize);
}
}
示例3: insert_out_of_line_context_switch
int
insert_out_of_line_context_switch(dcontext_t *dcontext, instrlist_t *ilist,
instr_t *instr, bool save)
{
ASSERT_NOT_IMPLEMENTED(false); /* FIXME i#1569 */
return 0;
}
示例4: insert_push_immed_arch
void
insert_push_immed_arch(dcontext_t *dcontext, instr_t *src_inst, byte *encode_estimate,
ptr_int_t val, instrlist_t *ilist, instr_t *instr,
instr_t **first, instr_t **second)
{
ASSERT_NOT_IMPLEMENTED(false); /* FIXME i#1569 */
}
示例5: IOV_WriteBufToIov
void
IOV_WriteBufToIov(const uint8* bufIn, // IN
size_t bufSize, // IN
struct iovec* entries, // OUT
int numEntries) // IN
{
size_t count = 0;
int i;
ASSERT(entries);
ASSERT_BUG(29009, bufIn);
for (i = 0; i < numEntries; i++) {
size_t numBytes;
ASSERT(entries[i].iov_base);
ASSERT(entries[i].iov_base != LAZY_ALLOC_MAGIC);
numBytes = MIN(bufSize - count, entries[i].iov_len);
Util_Memcpy(entries[i].iov_base, &bufIn[count], numBytes);
count += numBytes;
if (count >= bufSize) {
return;
}
ASSERT_NOT_IMPLEMENTED(count <= bufSize);
}
}
示例6: check_undefined_exceptions
bool
check_undefined_exceptions(bool pushpop, bool write, app_loc_t *loc, app_pc addr,
uint sz, uint *shadow, dr_mcontext_t *mc, uint *idx)
{
ASSERT_NOT_IMPLEMENTED(); /* FIXME i#1726: NYI */
return false;
}
示例7: send_nudge_signal
/* XXX i#1286: move to nudge_macos.c once we implement that */
bool
send_nudge_signal(process_id_t pid, uint action_mask, client_id_t client_id,
uint64 client_arg)
{
ASSERT_NOT_IMPLEMENTED(false); /* FIXME i#1286: MacOS nudges NYI */
return false;
}
示例8: remangle_short_rewrite
byte *
remangle_short_rewrite(dcontext_t *dcontext,
instr_t *instr, byte *pc, app_pc target)
{
ASSERT_NOT_IMPLEMENTED(false); /* FIXME i#1569 */
return NULL;
}
示例9: check_undefined_reg_exceptions
bool
check_undefined_reg_exceptions(void *drcontext, app_loc_t *loc, reg_id_t reg,
dr_mcontext_t *mc, instr_t *inst)
{
ASSERT_NOT_IMPLEMENTED(); /* FIXME i#1726: NYI */
return false;
}
示例10: proc_fpstate_save_size
DR_API
size_t
proc_fpstate_save_size(void)
{
ASSERT_NOT_IMPLEMENTED(false); /* FIXME i#1569 */
return 0;
}
示例11: clean_call_opt_init
void
clean_call_opt_init(void)
{
/* FIXME i#1569: NYI on AArch64 */
ASSERT_NOT_IMPLEMENTED(INTERNAL_OPTION(opt_cleancall) == 0);
callee_info_init(&default_callee_info);
}
示例12: insert_parameter_preparation
uint
insert_parameter_preparation(dcontext_t *dcontext, instrlist_t *ilist, instr_t *instr,
bool clean_call, uint num_args, opnd_t *args)
{
ASSERT_NOT_IMPLEMENTED(false); /* FIXME i#1569 */
return 0;
}
示例13: RpcIn_RegisterCallback
void
RpcIn_RegisterCallback(RpcIn *in, // IN
const char *name, // IN
RpcIn_Callback cb, // IN
void *clientData) // IN
{
RpcInCallbackList *p;
Debug("Registering callback '%s'\n", name);
ASSERT(in);
ASSERT(name);
ASSERT(cb);
ASSERT(RpcInLookupCallback(in, name) == NULL); // not there yet
p = (RpcInCallbackList *) malloc(sizeof(RpcInCallbackList));
ASSERT_NOT_IMPLEMENTED(p);
p->length = strlen(name);
p->name = strdup(name);
p->callback = cb;
p->clientData = clientData;
p->next = in->callbacks;
in->callbacks = p;
}
示例14: dr_app_pc_as_load_target
DR_API
app_pc
dr_app_pc_as_load_target(dr_isa_mode_t isa_mode, app_pc pc)
{
ASSERT_NOT_IMPLEMENTED(false); /* FIXME i#1569 */
return 0;
}
示例15: decode_opcode_name
DR_API
const char *
decode_opcode_name(int opcode)
{
ASSERT_NOT_IMPLEMENTED(false); /* FIXME i#1569 */
return NULL;
}