Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obj-C编译的时候,还是会出问题 #4

Open
Dendim0n opened this issue Jul 4, 2017 · 10 comments
Open

Obj-C编译的时候,还是会出问题 #4

Dendim0n opened this issue Jul 4, 2017 · 10 comments

Comments

@Dendim0n
Copy link

Dendim0n commented Jul 4, 2017

以下是编译器错误:
Assertion failed: (S1->getType() == S2->getType() && "Cannot create binary operator with two operands of differing type!"), function Create, file /Users/renqiming/Documents/iOS/Armariris/lib/IR/Instructions.cpp, line 2149.

这里是定位的错误位置:
StringObfuscation.cpp, line 180.

@Dendim0n
Copy link
Author

Dendim0n commented Jul 5, 2017

打印出的getType()->getTypeID()是一样的,但是getType()的值是不一样的。。。

@remi-chyan
Copy link

作者回复说他没有oc环境,hhhh

@PhD-5
Copy link

PhD-5 commented Jul 13, 2017

我也遇到了同样的问题...楼上解决了吗?
强行mutate type后,虽然create的时候不会出问题,但是后面还是会出问题

@GJ641102478
Copy link

为什么我在Xcode中编译的时候报的错误是:/Users/guo/Demo/DemoProject/DemoProject/User.h:9:9: fatal error: could not build module 'Foundation'
#import <Foundation/Foundation.h>

3 errors generated.
Command /Users/guo/Work/Armariris/obf/build/bin/clang failed with exit code 1

@Batxent
Copy link

Batxent commented Jun 25, 2018

@GJBlog 我们遇到的问题类似,请问有后来有解决方案吗?

@AllocAndInit
Copy link

AllocAndInit commented Jul 5, 2018

@GJBlog @Batxent 可以将 ollvm 升级到 5.0 ,可以解决这个问题,ollvm 5. 0 的地址是这个

https://github.com/Qrilee/llvm-obfuscator

@joy0304
Copy link

joy0304 commented Jul 11, 2018

@AllocAndInit 我是 llvm 6 也有这个问题

@AllocAndInit
Copy link

AllocAndInit commented Jul 12, 2018

@joy0304 我这边用的是 4.0 的版本,也是有这个问题,后来升级到 5.0 就好了,Xcode 版本为 9.4,你的Xcode 版本是多少

@joy0304
Copy link

joy0304 commented Jul 19, 2018

9.4.1

@AllocAndInit
Copy link

@joy0304 这个我就不太清楚了,推荐使用这个 https://github.com/HikariObfuscator/Hikari ,功能比 ollvm 要强大

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants