WanQingGit
WanQingGit
这个最好看一下源码,参考源码是怎么读取的,或者直接copy过来也行的,代码不是很复杂
设备是piexl xl,android10
我通过观察源码,发现loadLibrary方法有注解 @CallerSensitive,而String的startswith没有,是不是这个原因导致失败的
那大佬能修复这个bug吗?
并没有hook成功,没有执行hook代码,不过应该是librarySearchPath不正确,谢谢。
whale可以hook成功,执行hook代码,但同样也会报dlopen failed: library "libhello.so" not found,它应该是这种原因造成的
I fixed the problem that the jni type name was wrong for arrays of type primary. Here's my fix https://zhuanlan.zhihu.com/p/696631835
function makeBaseJniObjectTypeName(typeName) { if (typeName.length === 1) return typeName let convertType = typeName.replace(/\./g, '/') if (convertType[0] !== 'L'){ convertType = 'L' + convertType +';' } return convertType } function makeJniObjectTypeName(typeName)...