美文网首页
dumpdecrypted 解密过程问题总结

dumpdecrypted 解密过程问题总结

作者: 屋顶花园 | 来源:发表于2021-02-22 09:39 被阅读0次

    1、签名问题

    报错信息

    dyld: warning: could not load inserted library 'dumpdecrypted.dylib' into hardened process because no suitable image found.  Did find:

    dumpdecrypted.dylib: code signature in (dumpdecrypted.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.

    Abort trap: 6

    解决方案使用ldid工具的ldid -S dumpdecrypted.dylib命令给dumpdecrypted.dylib签名

    2、Xcode SDK版本与越狱手机iOS SDK版本不一致

    dyld: Symbol not found: ___chkstk_darwin

      Referenced from: dumpdecrypted.dylib (which was built for iOS 14.0)

      Expected in: /usr/lib/libSystem.B.dylib

     in dumpdecrypted.dylib

    Abort trap: 6

    修改dumpdecrypted 文件夹中make脚本,修改CFLAGS = -target arm64-apple-ios12.0 ,版本号为越狱机器的版本号

    重新make

    3、编译架构问题

    clang:error: invalid iOS deployment version '-target arm64-apple-ios12.0', iOS 10 is the maximum deployment target for 32-bit targets [-Winvalid-ios-deployment-target]

    修改make脚本中的GCC_UNIVERSAL=$(GCC_BASE) -arch arm64  去除多余架构

    相关文章

      网友评论

          本文标题:dumpdecrypted 解密过程问题总结

          本文链接:https://www.haomeiwen.com/subject/lvkhfltx.html