feat: 集成 LLVM IR 混淆体系、Route 2 全量合规与系统调用调度加固
- defender: 扩展 IGDispatch/IGArchiveGuard/IGAntiHook/IGObjCBaseline/IGResolve,支持 Route 2 静态库桥接 (IGThreadID.c) 与防重签名检测 - llvm_passes: 新增 IGObfuscator LLVM IR 插件源码(控制流平坦化、字符串加密、间接跳转/调用、不透明常量/字段、MBA、函数外提、基本块拆分、反 Hook 序言) - tools & config: 新增 Xcode 归档编译/链接包装器、LLVM 自愈工具链 (ig_toolchain_resolver)、IPA 审计门禁、崩溃符号还原及最新 ig_llvm_policy.json(文件级匹配 + 3.0 全业务 Handler 平坦化) - tests & docs: 补齐 M0~M3、Pass 单测及系统调用调度/Route 2/LLVM 方案文档;.gitignore 忽略 *.bc 与 .obfuscate_extraction_cache.json
This commit is contained in:
@@ -19,6 +19,14 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(DEBUG) || defined(IG_OBSERVATION)
|
||||
#define IG_DIAGNOSTIC_STRINGS 1
|
||||
#define IG_DIAG_STR(s) (s)
|
||||
#else
|
||||
#define IG_DIAGNOSTIC_STRINGS 0
|
||||
#define IG_DIAG_STR(s) ((const char *)0)
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
IG_CLEAR = 0, /* 未发现异常证据 */
|
||||
IG_DETECTED = 1, /* 命中威胁证据 */
|
||||
|
||||
Reference in New Issue
Block a user