示例#1
0
void (*x86_get_func( struct x86_function *p ))(void)
{
   DUMP_END();
   if (DISASSEM && p->store)
      debug_printf("disassemble %p %p\n", p->store, p->csr);

   if (p->store == p->error_overflow)
      return (void (*)(void)) NULL;
   else
      return (void (*)(void)) p->store;
}
示例#2
0
void (*ppc_get_func(struct ppc_function *p))(void)
{
#if 0
   DUMP_END();
   if (DISASSEM && p->store)
      debug_printf("disassemble %p %p\n", p->store, p->csr);

   if (p->store == p->error_overflow)
      return (void (*)(void)) NULL;
   else
#endif
      return (void (*)(void)) pointer_to_func(p->store);
}