Files
iOSGuard/config/ig_llvm_policy_m1_group_b.json
T
shenlei 704ee66834 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
2026-11-24 15:00:07 +09:00

122 lines
3.2 KiB
JSON

{
"schema_version": 1,
"description": "Milestone 1 Round 1 Group B policy: flatten + controlled string encrypt pre-cleanup EPUB call chain + M0 targets",
"exempt_path_substrings": [
"/Pods/",
"/Vendor/",
"/IGDefender/",
"/readoorTests/",
"/DerivedData/"
],
"exempt_function_prefixes": [
"__ig_",
"ig_defender_",
"ig_call_",
"ig_poison_",
"ig_sys_",
"ig_a",
"ig_archive_",
"_IG_dispatch_",
"IG_dispatch_",
"llvm."
],
"string_encrypt_targets": [
{
"id": "objc_sts_jailbreak_str",
"path_contains": "STSJailbreakDetectTool.m"
},
{
"id": "swift_rd_injection_str",
"path_contains": "RDInjectionDetector.swift"
},
{
"id": "swift_epub_provider_str",
"path_contains": "RDEncryptedEpubResourceProvider.swift"
},
{
"id": "objc_epub_loader_str",
"path_contains": "STSEpubWebResourceLoader.m"
},
{
"id": "objc_epub_parser_str",
"path_contains": "EpubParser.m"
}
],
"flatten_targets": [
{
"id": "objc_sts_jailbreak_detect",
"path_contains": "STSJailbreakDetectTool.m",
"function_contains": "detectCurrentDeviceIsJailbroken"
},
{
"id": "swift_rd_injection_dyld_check",
"path_contains": "RDInjectionDetector.swift",
"function_contains": "32hasSuspiciousDyldInsertLibraries"
},
{
"id": "swift_epub_provider_flatten",
"path_contains": "RDEncryptedEpubResourceProvider.swift"
},
{
"id": "swift_epub_launcher_flatten",
"path_contains": "RDEpubReaderLauncher.swift",
"function_contains": "makeReader"
},
{
"id": "swift_epub_coordinator_flatten",
"path_contains": "RD30EpubCoordinator.swift",
"function_contains": "openReader"
},
{
"id": "swift_epub_service_flatten",
"path_contains": "RD30EpubResourceService.swift",
"function_contains": "parse"
},
{
"id": "objc_epub_web_loader_flatten",
"path_contains": "STSEpubWebResourceLoader.m",
"function_contains": "obtainLocalResource"
},
{
"id": "objc_epub_parser_flatten",
"path_contains": "EpubParser.m",
"function_contains": "initWithEPubPath"
},
{
"id": "objc_epub_chapter_flatten",
"path_contains": "EpubChapter.m",
"function_contains": "initWithPath"
}
],
"required_targets": [
{
"id": "objc_sts_jailbreak_detect",
"path_contains": "STSJailbreakDetectTool.m",
"symbol_contains": "detectCurrentDeviceIsJailbroken",
"min_flattened": 1,
"min_strings_encrypted": 1
},
{
"id": "swift_rd_injection_dyld_check",
"path_contains": "RDInjectionDetector.swift",
"symbol_contains": "32hasSuspiciousDyldInsertLibraries",
"str_symbol_contains": "19RDInjectionDetectorC",
"min_flattened": 1,
"min_strings_encrypted": 1
},
{
"id": "swift_epub_provider",
"path_contains": "RDEncryptedEpubResourceProvider.swift",
"min_flattened": 1,
"min_strings_encrypted": 0
},
{
"id": "objc_epub_web_loader",
"path_contains": "STSEpubWebResourceLoader.m",
"symbol_contains": "obtainLocalResource",
"min_flattened": 1,
"min_strings_encrypted": 0
}
]
}