吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 684|回复: 1
收起左侧

[其他求助] unidbg报错:Invalid memory read (UC_ERR_READ_UNMAPPED)

[复制链接]
还在学习呢 发表于 2024-7-13 15:56
25吾爱币
JNIEnv->NewByteArray(16) was called from RX@0x404299c8[libfekit.so]0xa99c8
JNIEnv->SetByteArrayRegion([B@61741715, 0, 16, unidbg@0xbffff191) was called from RX@0x40429a04[libfekit.so]0xa9a04
JNIEnv->GetArrayLength([B@61741715 => 16) was called from RX@0x407d0d6c[libfekit.so]0x450d6c
JNIEnv->GetByteArrayRegion([B@61741715, 0, 16, RW@0x40364050) was called from RX@0x40483128[libfekit.so]0x103128
JNIEnv->GetStringUtfChars("trpc.o3.ecdh_access.EcdhAccess.SsoEstablishShareKey") was called from RX@0x407d0aac[libfekit.so]0x450aac
JNIEnv->GetStringUTFLength("trpc.o3.ecdh_access.EcdhAccess.SsoEstablishShareKey") was called from RX@0x407d089c[libfekit.so]0x45089c
七月 13, 2024 1:45:16 下午 com.github.unidbg.arm.AbstractARM64Emulator hook
警告: Read memory failed: address=0x1fffe180e, size=1, value=0x0
七月 13, 2024 1:45:16 下午 com.github.unidbg.AbstractEmulator handleEmuException
警告: emulate RX@0x404183a0[libfekit.so]0x983a0 exception sp=unidbg@0xbfffd400, msg=unicorn.UnicornException: Invalid memory read (UC_ERR_READ_UNMAPPED), offset=82ms
Exception in thread "DefaultDispatcher-worker-8" java.lang.NullPointerException: null cannot be cast to non-null type com.tencent.mobileqq.sign.QQSecuritySign.SignResultObject
        at com.tencent.mobileqq.sign.QQSecuritySign.getSign(QQSecuritySign.kt:50)
        at com.tencent.mobileqq.sign.QQSecuritySign.getSign$default(QQSecuritySign.kt:49)
        at moe.fuqiuluo.net.EncoderKt$buildData$1$2$sign$1.invoke(Encoder.kt:104)
        at moe.fuqiuluo.net.EncoderKt$buildData$1$2$sign$1.invoke(Encoder.kt:103)
        at moe.fuqiuluo.unidbg.QSecVMWorker.work(QSecVm.kt:26)
        at moe.fuqiuluo.unidbg.pool.FixedWorkPoolKt.work(FixedWorkPool.kt:126)
        at moe.fuqiuluo.net.EncoderKt.buildData(Encoder.kt:103)
        at moe.fuqiuluo.net.EncoderKt.encode(Encoder.kt:156)
        at moe.fuqiuluo.net.SimpleClient$initConnection$2.invokeSuspend(SimpleClient.kt:65)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
        at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:100)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
        Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [CoroutineName(selector), StandaloneCoroutine{Cancelling}@13e8739f, Dispatchers.IO]


大佬可以私信帮忙看看吗

最佳答案

查看完整内容

打开unidbg 目录 下 src/test/resources/log4j.properties 这个文件 把log4j.logger.com.github.unidbg.AbstractEmulator=INFO 改成 =DEBUG 运行会断到出错的位置 , bt追溯调用堆栈 去ida里看最近的函数调用 哪里出了问题

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

4561fef 发表于 2024-7-13 15:56
打开unidbg 目录 下 src/test/resources/log4j.properties 这个文件  把log4j.logger.com.github.unidbg.AbstractEmulator=INFO 改成  =DEBUG
运行会断到出错的位置 , bt追溯调用堆栈  去ida里看最近的函数调用 哪里出了问题
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-12-13 02:42

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表