前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >xcode 9.2 集成obfuscator-llvm

xcode 9.2 集成obfuscator-llvm

作者头像
obaby
发布2023-02-24 14:47:03
5360
发布2023-02-24 14:47:03
举报
文章被收录于专栏:obaby@mars

Obfuscator-LLVM is a project initiated in June 2010 by the information security group of the University of Applied Sciences and Arts Western Switzerland of Yverdon-les-Bains (HEIG-VD). The aim of this project is to provide an open-source fork of the LLVM compilation suite able to provide increased software security through code obfuscation and tamper-proofing. As we currently mostly work at the Intermediate Representation (IR) level, our tool is compatible with all programming languages (C, C++, Objective-C, Ada and Fortran) and target platforms (x86, x86-64, PowerPC, PowerPC-64, ARM, Thumb, SPARC, Alpha, CellSPU, MIPS, MSP430, SystemZ, and XCore) currently supported by LLVM.

对于这个插件,网上的安装文章相对来说还是挺多的,例如官方的文档https://github.com/obfuscator-llvm/obfuscator/wiki/Installation,再例如 http://www.exchen.net/ios-hacker-obfuscator-llvm-xcode%E9%9B%86%E6%88%90%E9%85%8D%E7%BD%AE.html。已经写的都非常详细了,按照上面的文章基本都可以配置好了,唯一需要注意的是如果xcode的版本不同,对应的里面的字符串可能不一致,例如:

代码语言:javascript
复制
<string>Apple LLVM 8.0</string> -> <string>Obfuscator 4.0</string>

如果用的是xcode9 那么应该是Apple LLVM 9.0。同时如果在编译之前没有安装cmake,可以通过homebrew来安装还是非常方便的。

代码语言:javascript
复制
brew install cmake

Homebrew installs the stuff you need that Apple didn’t.

如何安装homebrew请参考这个链接:https://brew.sh/

如果不想跳转上面的链接,直接在终端中执行下面的安装代码即可:

代码语言:javascript
复制
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

这里想说的是安装完成之后,还可能会出现别的问题,例如提示编译的时候提示下面的信息:

代码语言:javascript
复制
clang-4.0: error: cannot specify -o when generating multiple output files

解决方法也比较简单,禁用Enable Indexing while building 即可https://github.com/obfuscator-llvm/obfuscator/issues/108,如下图所示:

已知问题,xcode9.2 无法编译iOS项目。目前还没找到解决方案

插件地址:https://github.com/obaby/xcode-obfuscator-llvm-plugin

☆文章版权声明☆

* 网站名称:obaby@mars

* 网址:https://h4ck.org.cn/

* 本文标题: 《xcode 9.2 集成obfuscator-llvm》

* 本文链接:https://h4ck.org.cn/2018/01/xcode-9-2-%e9%9b%86%e6%88%90obfuscator-llvm/

* 转载文章请标明文章来源,原文标题以及原文链接。请遵从 《署名-非商业性使用-相同方式共享 2.5 中国大陆 (CC BY-NC-SA 2.5 CN) 》许可协议。


分享文章:

相关文章:

  1. T-PoT
  2. NSTask for iOS
  3. OSX pip3 install mysqlclient
  4. IOKit for iOS SDK 7.0
  5. 已损坏,无法打开。您应该将它移到废纸篓
  6. Domoticz Baby Weather Plugin
  7. Coffee script 语法高亮
  8. BroadlinkRM2 Domotizc Plugin插件
  9. Xcode6.3 archive Crash
  10. 蛋疼的Mac OS虚拟机和xcode 4.2
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2018年1月18日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 相关文章:
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档