char* frame::c_entry_point() { frame* s = sender(); if ( s == NULL ) return NULL; char* r = s->real_return_addr(); // where sender will return into if (Memory->code->contains(r)) return NULL; int32* callp = (int32*) r; if (callp == NULL || !isCall(callp)) return NULL; return (char*)getCallImm(callp); }
char* sendDesc::jump_addr() { int32* c = (int32*)jump_addr_addr(); return (char*) getCallImm(c); }