美文网首页
iOS13 indirect_symbol_bindings[i

iOS13 indirect_symbol_bindings[i

作者: 答案MK | 来源:发表于2020-05-11 10:59 被阅读0次

    iOS13 使用RN 里的 fishhook 会造成崩溃

    找到 fishhook/fishhook.c perform_rebinding_with_section 方法里的

      indirect_symbol_bindings[i] = cur->rebindings[j].replacement;
    

    修改为

    if (i < (sizeof(indirect_symbol_bindings) / sizeof(indirect_symbol_bindings[0]))){
      indirect_symbol_bindings[i] = cur->rebindings[j].replacement;
    }
    

    相关文章

      网友评论

          本文标题:iOS13 indirect_symbol_bindings[i

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