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)
- 求助 Find symbol "bep_load" failed: handle=0x40050000, LR=RX@0x4001f1f4[librand.so]0x1f1f4
- hook_add_new bug
- 请求支持套嵌调用 HOT 8
- 加载JNI_OnLoad后找不指定方法
- 尴尬了 android/webkit/CookieManager->getCookie(Ljava/lang/String;)Ljava/lang/String; 这个环境怎么补 HOT 1
- 大神 怎么补反射啊 HOT 1
- ARM64SyscallHandler -- handleInterrupt intno=2, NR=29, svcNumber=0x0, PC=RX@0x401dab0c[libc.so]0x6ab0c, LR=RX@0x401e424c[libc.so]0x7424c, syscall=null HOT 1
- How to analyze this error, can you achieve this for error
- 使用unidbg搞的第一个app就如此艰难,大佬能看下这个问题,快崩溃了, app是加固的 HOT 6
- getIFaceFlags: tun0 这个应该怎么搞 HOT 1
- so 加壳了 unidbg 能跑起来吗
- 关于unidbg模拟执行mtguard.so之mt3.0问题
- unidbg 执行SO里面的一个方法空指针异常
- 执行错误 HOT 2
- Can I changed emulator info?
- 这个环境怎么补啊,android/content/pm/Signature->toChars()[C
- nativeInitialize mmap failed[dynarmic.cpp->Java_com_github_unidbg_arm_backend_dynarmic_Dynarmic_nativeInitialize:583] size=0x8000000, errno=1455, msg=Unknown error terminate called after throwing an instance of 'Xbyak::Error' what(): can't alloc
- 开始模板启动就断点是什么情况啊?求大佬解答
- so 里面ftruncate方法时会报错
- 调用so的方法后怎么释放内存?我看这些都是GCRoot,调用次数多了直接内存吃满了
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.