Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大神 怎么补反射啊 #596

Open
userFund opened this issue Jan 11, 2024 · 1 comment
Open

大神 怎么补反射啊 #596

userFund opened this issue Jan 11, 2024 · 1 comment

Comments

@userFund
Copy link

userFund commented Jan 11, 2024

image
这个环境怎么补啊 补反射

NIEnv->GetStaticMethodID(com/msec/X3.r1(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field;) => 0x9f53ec17 was called from RX@0x400486a8[libmsec.so]0x486a8
JNIEnv->ToReflectedMethod(java/lang/Class, "getDeclaredMethod", not static) was called from RX@0x400594d8[libmsec.so]0x594d8
[14:02:02 184] WARN [com.github.unidbg.linux.ARM64SyscallHandler] (ARM64SyscallHandler:399) - handleInterrupt intno=2, NR=-130848, svcNumber=0x105, PC=unidbg@0xfffe00e4, LR=RX@0x400594d8[libmsec.so]0x594d8, syscall=null
java.lang.UnsupportedOperationException: java/lang/Class->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
at com.github.unidbg.linux.android.dvm.AbstractJni.toReflectedMethod(AbstractJni.java:1074)
at com.github.unidbg.linux.android.dvm.AbstractJni.toReflectedMethod(AbstractJni.java:1069)
at com.github.unidbg.linux.android.dvm.DvmMethod.toReflectedMethod(DvmMethod.java:244)
at com.github.unidbg.linux.android.dvm.DalvikVM64$6.handle(DalvikVM64.java:128)

@userFund userFund changed the title 大神 看看这个问题 大神 怎么补反射啊 Jan 11, 2024
@fxh615
Copy link

fxh615 commented Feb 3, 2024

return vm.resolveClass("java/lang/reflect/Method").newObject(signature);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants