question about CVMJniInvokenative
i was porting cdc to my set-top-box, it's a project of this term. These days i'm trying to realization of CVMJniInvokenative function, SUN achieve the function using AT&T assembly, now i need to rewrite it using my STB assembly, and the problem is how can i call the native function in my assembly.
/* provided by SUN */
CVMjniInvokeNative(void * env, void * nativeCode, CVMUint32 * args,
ã€€ã€€ã€€ã€€ã€€ã€€ã€€ã€€CVMUint32 * terseSig, CVMInt32 argsSize, void * classObject,
ã€€ã€€ã€€ã€€ã€€ã€€ã€€ã€€ã€€ã€€CVMJNIReturnValue * returnValue)
ã€€ã€€ã€€ã€€call *12(%ebp) ã€€ã€€# f
what i can use is "fcall LABLE", fcall a label and a absolute address(i.g. fcall 0xc1222222) are both OK, but how can i call "void * nativeCode".
Waiting for your reply, thanks sincerely.