theos集成obfuscator-llvm

A toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.

Build:

Makefile:

TARGET_CC = /Users/zhaobaolin/work/tools/obfuscator/build/bin/clang
TARGET_CXX = /Users/zhaobaolin/work/tools/obfuscator/build/bin/clang++
_THEOS_TARGET_CFLAGS += -mllvm -fla -mllvm -sub
_THEOS_TARGET_CXXFLAGS += -mllvm -fla -mllvm -sub 

注:该开源库只包含了llvm核心和clang,如果代码中用了c++相关的代码,需要下载libcxxabi lldcompiler-rtlibcxx 后一起编译。

发表评论