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;
}
网友评论