Comments (2)
之前还有一个这个错误,我通过重写方法解决,是不是类似这样。
[19:10:05 026] WARN [cn.banny.unidbg.linux.ARMSyscallHandler] (ARMSyscallHandler:346) - handleInterrupt intno=2, NR=1467298506, svcNumber=0x10d, PC=unicorn@0xfffe00b4, syscall=null
java.lang.AbstractMethodError: java/io/ByteArrayInputStream-><init>([B)V
at cn.banny.unidbg.linux.android.dvm.AbstractJni.newObjectV(AbstractJni.java:261)
at com.douyin.DouyinHelper.newObjectV(DouyinHelper.java:100)
@Override
public DvmObject newObjectV(BaseVM vm, DvmClass dvmClass, String signature, VaList vaList) {
switch (signature) {
case "java/io/ByteArrayInputStream-><init>([B)V":
ByteArray bytes = vaList.getObject(0);
ByteArrayInputStream input = new ByteArrayInputStream(bytes.getValue());
System.out.println("byte input stream" + bytes.getValue());
return new ByteArrayInputStreamObject(vm, input);
}
return super.newObjectV(vm, dvmClass, signature, vaList);
}
from unidbg.
是的,类似这样重写,实现对应的jni调用
from unidbg.
Related Issues (20)
- 执行结果返回空JNIEnv->SetByteArrayRegion([B@0x, 0, 0, unidbg@0xbffff6b1) was called from RX@0x400d55dc[libfekit.so]0xd55dc
- unidbg-boot-server报错,求大佬帮看看
- 怎样移除断点
- 大佬们这个环境要咋补呢,init方法它没得返回值,必然会调用callVoidMethod这个方法,这个方法只有一个出路就是抛出异常 HOT 1
- 系统调用找不到,提示127,怎么解决呀。0.9。7版本 HOT 2
- 多线程支持
- unidbg调用so层函数Refmd5sec报错BackendException,(Refmd5sec是反射调用了java层的一个生成md5的方法)
- 多线程pthread_attr_setstacksize执行异常
- 如何补一个返回 HashMap 的环境?
- 黑盒调用so文件种函数的问题请教,数组参数该如何传入
- Map<String, List<String>>参数如何构造啊啊啊啊,求解 HOT 2
- 如何补 KeyStore 的环境? HOT 1
- 非标准文件该怎样补
- AndroidModule VirtualModule执行上的一些小问题 HOT 3
- 没有对 SocketIO.SOCK_RAW 进行模拟
- 大佬,clock_gettime clk_id=2 报错问题,能否解决下 HOT 1
- 求大佬指点,这种环境怎么补,全网也没找到相似的例子。 HOT 3
- 这哪个app
- 怎么用vscode调试?
- 调用方法时报错 --- svc number :243184,求教各位大佬如何解决
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unidbg.