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:
shenlei
2026-11-24 15:00:07 +09:00
parent 1094cc2760
commit 704ee66834
106 changed files with 27487 additions and 286 deletions
+857
View File
@@ -0,0 +1,857 @@
{
"schema_version": 3,
"description": "Milestone 3+ + M1-M4 O-MVLL Core Pass Integration: Star-Switch + Indirect-Call + OpaqueConstants + MBA Arithmetic + OC/Swift hybrid compensation",
"flatten_topology": "sparse_switch",
"flatten_bogus_blocks": 2,
"flatten_split_linear_blocks": true,
"opaque_const_max_per_fn": 48,
"arithmetic_rounds": 1,
"arithmetic_max_per_fn": 96,
"string_encrypt_stack_max_len": 128,
"indirect_call_dual_table": true,
"opaque_const_exempt_functions": [
"rd_sd_sha256_transform"
],
"arithmetic_exempt_functions": [
"rd_sd_sha256_transform",
"rd_sd_md5_hex"
],
"indirect_branch_exempt_functions": [
"rd_sd_sha256_transform",
"rd_sd_md5_hex"
],
"exempt_path_substrings": [
"/Pods/",
"/Vendor/AliPlayerSDK_iOS/",
"/Vendor/TAI/",
"/readoorTests/",
"/DerivedData/"
],
"obfuscate_static_frameworks": [
"RDEpubReaderView",
"RDPDFReaderView"
],
"exempt_function_prefixes": [
"__ig_",
"ig_call_",
"ig_poison_",
"ig_sys_",
"ig_archive_",
"ig_anti_hook_warmup",
"ig_dispatch_warmup",
"ig_objc_baseline_init",
"_IG_dispatch_",
"IG_dispatch_",
"ig_a0",
"ig_a1",
"ig_a2",
"ig_a3",
"ig_a4",
"rd_a0",
"rd_a1",
"rd_a2",
"rd_a3",
"rd_a4",
"llvm.",
"__swift_"
],
"scrub_path_substrings": [
"/tmp/ig-ipa-work/",
"/tmp/ig-",
"/src/readoor/"
],
"string_encrypt_targets": [
{
"id": "objc_sts_jailbreak_str",
"path_contains": "STSJailbreakDetectTool.m"
},
{
"id": "c_rd_epub_keybox_str",
"path_contains": "RDEpubKeyBox.c"
},
{
"id": "c_rd_sd_keybox_str",
"path_contains": "RDSDKeyBox.c"
},
{
"id": "swift_rd_key_generator_str",
"path_contains": "RDKeyGenerator.swift"
},
{
"id": "objc_rd_epub_bridge_str",
"path_contains": "RDEpubCryptBridge.m"
},
{
"id": "core_security_dir_str",
"path_contains": "3.0/Base/Security/"
},
{
"id": "core_storekit_dir_str",
"path_contains": "3.0/Base/StoreKit/"
},
{
"id": "core_network_dir_str",
"path_contains": "3.0/Network/"
},
{
"id": "core_iap_handler_dir_str",
"path_contains": "3.0/Features/IAP/Handler/"
},
{
"id": "core_iap_controllers_dir_str",
"path_contains": "3.0/Features/IAP/Controllers/"
},
{
"id": "core_wallet_handler_dir_str",
"path_contains": "3.0/Features/IAP/WalletBill/Handler/"
},
{
"id": "core_vip_ext_dir_str",
"path_contains": "3.0/Features/VIP/Extension/"
},
{
"id": "core_vip_handler_dir_str",
"path_contains": "3.0/Features/VIP/Handler/"
},
{
"id": "core_vip_controllers_dir_str",
"path_contains": "3.0/Features/VIP/Controllers/"
},
{
"id": "core_login_handler_dir_str",
"path_contains": "3.0/Features/Account/Login/Handler/"
},
{
"id": "core_login_controllers_dir_str",
"path_contains": "3.0/Features/Account/Login/Controllers/"
},
{
"id": "core_login_ext_dir_str",
"path_contains": "3.0/Features/Account/Login/Extension/"
},
{
"id": "core_epub_30_dir_str",
"path_contains": "3.0/Features/ReadView/Epub/"
},
{
"id": "core_pdf_bridge_dir_str",
"path_contains": "3.0/Features/ReadView/PDF/Bridge/"
},
{
"id": "core_pdf_network_dir_str",
"path_contains": "3.0/Features/ReadView/PDF/Network/"
},
{
"id": "core_pdf_decrypt_uc_str",
"path_contains": "RDPDFDecryptPageUseCase.swift"
},
{
"id": "core_pdf_load_uc_str",
"path_contains": "RDPDFLoadBookUseCase.swift"
},
{
"id": "legacy_iap_handler_dir_str",
"path_contains": "BookShelf/Classes/Features/IAP/Handler/"
},
{
"id": "legacy_iap_ext_dir_str",
"path_contains": "BookShelf/Classes/Features/IAP/Extension/"
},
{
"id": "legacy_login_ext_dir_str",
"path_contains": "BookShelf/Classes/Features/Login/Extension/"
},
{
"id": "legacy_read_or_pay_ext_str",
"path_contains": "BookShelf/Classes/Extension/ControllersExtension/STSBaseViewController+STSReadOrPayExtension.m"
},
{
"id": "legacy_epub_login_or_pay_ext_str",
"path_contains": "BookView/EPUB/Core/Classes/STSBaseViewController+STSEpubViewLoginOrPayExtension.m"
},
{
"id": "legacy_pdf_login_or_pay_ext_str",
"path_contains": "BookView/PDF/Core/Classes/Stage/STSBaseViewController+STSPDFViewLoginOrPayExtension.m"
},
{
"id": "legacy_epub_loader_str",
"path_contains": "STSEpubWebResourceLoader.m"
},
{
"id": "legacy_epub_ctrl_str",
"path_contains": "RBCoreEpubLoadController.m"
},
{
"id": "legacy_epub_parser_str",
"path_contains": "EpubParser.m"
},
{
"id": "legacy_epub_chapter_str",
"path_contains": "EpubChapter.m"
},
{
"id": "legacy_epub_load_str",
"path_contains": "LoadEpub.m"
},
{
"id": "vendor_pdf_trial_str",
"path_contains": "Vendor/RDPDFReaderView/Sources/RDPDFReaderTrial.swift"
},
{
"id": "vendor_epub_core_str",
"path_contains": "Vendor/RDEpubReaderView/EPUBCore/"
}
],
"string_encrypt_objc_targets": [
{ "id": "objc_sts_jailbreak_cfstr", "path_contains": "STSJailbreakDetectTool.m" },
{ "id": "objc_rd_epub_bridge_cfstr", "path_contains": "RDEpubCryptBridge.m" },
{ "id": "core_security_dir_cfstr", "path_contains": "3.0/Base/Security/" },
{ "id": "legacy_iap_handler_cfstr", "path_contains": "BookShelf/Classes/Features/IAP/Handler/" },
{ "id": "objc_pay_ext_cfstr", "path_contains": "STSBaseViewController+STSPayExtension.m" },
{ "id": "objc_epub_login_pay_ext_cfstr", "path_contains": "STSBaseViewController+STSEpubViewLoginOrPayExtension.m" },
{ "id": "objc_pdf_login_pay_ext_cfstr", "path_contains": "STSBaseViewController+STSPDFViewLoginOrPayExtension.m" }
],
"string_encrypt_swift_targets": [
{ "id": "core_security_dir_swstr", "path_contains": "3.0/Base/Security/" },
{ "id": "core_storekit_dir_swstr", "path_contains": "3.0/Base/StoreKit/" },
{ "id": "core_network_dir_swstr", "path_contains": "3.0/Network/" },
{ "id": "core_iap_handler_dir_swstr", "path_contains": "3.0/Features/IAP/Handler/" },
{ "id": "core_epub_30_dir_swstr", "path_contains": "3.0/Features/ReadView/Epub/" },
{ "id": "vendor_pdf_trial_swstr", "path_contains": "Vendor/RDPDFReaderView/Sources/RDPDFReaderTrial.swift" },
{ "id": "vendor_epub_core_swstr", "path_contains": "Vendor/RDEpubReaderView/EPUBCore/" }
],
"indirect_call_same_image_prefixes": [
"rd_epub_",
"rd_sd_",
"rd_content_",
"rd_iap_",
"rd_sec_",
"ig_sub_",
"ig_defender_",
"ig_anti_",
"ig_resolve_",
"ig_verify_",
"ig_has_loaded_image_substr",
"ig_objc_baseline_",
"ig_resolve_verified"
],
"indirect_call_targets": [
{
"id": "app30_appconfig_icall",
"path_contains": "3.0/AppConfig/"
},
{
"id": "app30_base_icall",
"path_contains": "3.0/Base/"
},
{
"id": "app30_database_icall",
"path_contains": "3.0/Database/"
},
{
"id": "app30_features_icall",
"path_contains": "3.0/Features/"
},
{
"id": "app30_network_icall",
"path_contains": "3.0/Network/"
},
{
"id": "app30_router_icall",
"path_contains": "3.0/Router/"
},
{
"id": "app30_appdelegate_icall",
"path_contains": "3.0/RDAppDelegate.swift"
},
{
"id": "bookshelf_base_icall",
"path_contains": "BookShelf/Classes/Base/"
},
{
"id": "bookshelf_database_icall",
"path_contains": "BookShelf/Classes/Database/"
},
{
"id": "bookshelf_extension_icall",
"path_contains": "BookShelf/Classes/Extension/"
},
{
"id": "bookshelf_features_icall",
"path_contains": "BookShelf/Classes/Features/"
},
{
"id": "bookshelf_handler_icall",
"path_contains": "BookShelf/Classes/Handler/"
},
{
"id": "bookshelf_macro_icall",
"path_contains": "BookShelf/Classes/Macro/"
},
{
"id": "bookshelf_models_icall",
"path_contains": "BookShelf/Classes/Models/"
},
{
"id": "bookshelf_network_icall",
"path_contains": "BookShelf/Classes/Network/"
},
{
"id": "bookshelf_storage_icall",
"path_contains": "BookShelf/Classes/Storage/"
},
{
"id": "bookshelf_util_icall",
"path_contains": "BookShelf/Classes/Util/"
},
{
"id": "bookshelf_sts_root_icall",
"path_contains": "BookShelf/Classes/STS"
},
{
"id": "bookview_audio_icall",
"path_contains": "BookView/Audio/"
},
{
"id": "bookview_audiovideo_icall",
"path_contains": "BookView/Audio&Video/"
},
{
"id": "bookview_download_icall",
"path_contains": "BookView/BookDownLoad/"
},
{
"id": "bookview_common_icall",
"path_contains": "BookView/Common/"
},
{
"id": "bookview_epub_icall",
"path_contains": "BookView/EPUB/"
},
{
"id": "bookview_pdf_icall",
"path_contains": "BookView/PDF/"
},
{
"id": "bookview_ppt_icall",
"path_contains": "BookView/PPT/"
},
{
"id": "bookview_video_icall",
"path_contains": "BookView/Video/"
},
{
"id": "objc_sts_startup_icall",
"path_contains": "STSAppStartupProcess.m"
},
{
"id": "c_ig_defender_icall",
"path_contains": "3.0/Base/Security/IGDefender/"
},
{
"id": "vendor_pdf_trial_icall",
"path_contains": "Vendor/RDPDFReaderView/Sources/RDPDFReaderTrial.swift"
},
{
"id": "vendor_epub_core_icall",
"path_contains": "Vendor/RDEpubReaderView/EPUBCore/"
}
],
"flatten_targets": [
{
"id": "objc_sts_jailbreak_detect",
"path_contains": "STSJailbreakDetectTool.m"
},
{
"id": "swift_rd_injection_dyld_check",
"path_contains": "RDInjectionDetector.swift"
},
{
"id": "c_rd_epub_keybox_flatten",
"path_contains": "RDEpubKeyBox.c"
},
{
"id": "c_rd_epub_key_guard_flatten",
"path_contains": "RDEpubKeyGuard.c"
},
{
"id": "objc_rd_epub_bridge_flatten",
"path_contains": "RDEpubCryptBridge.m"
},
{
"id": "c_rd_sd_keybox_flatten",
"path_contains": "RDSDKeyBox.c"
},
{
"id": "swift_rd_key_generator_flatten",
"path_contains": "RDKeyGenerator.swift"
},
{
"id": "core_security_dir_flatten",
"path_contains": "3.0/Base/Security/"
},
{
"id": "core_storekit_dir_flatten",
"path_contains": "3.0/Base/StoreKit/"
},
{
"id": "core_network_dir_flatten",
"path_contains": "3.0/Network/"
},
{
"id": "swift_sd_signer_build_flatten",
"path_contains": "RDSDAuthV32Signer.swift"
},
{
"id": "objc_iap_verify_handler_keychain_flatten",
"path_contains": "STSIAPVerifyHandler.m"
},
{
"id": "core_iap_handler_dir_flatten",
"path_contains": "3.0/Features/IAP/Handler/"
},
{
"id": "core_iap_controllers_dir_flatten",
"path_contains": "3.0/Features/IAP/Controllers/"
},
{
"id": "core_wallet_handler_dir_flatten",
"path_contains": "3.0/Features/IAP/WalletBill/Handler/"
},
{
"id": "core_vip_ext_dir_flatten",
"path_contains": "3.0/Features/VIP/Extension/"
},
{
"id": "core_vip_handler_dir_flatten",
"path_contains": "3.0/Features/VIP/Handler/"
},
{
"id": "core_vip_controllers_dir_flatten",
"path_contains": "3.0/Features/VIP/Controllers/"
},
{
"id": "core_login_handler_dir_flatten",
"path_contains": "3.0/Features/Account/Login/Handler/"
},
{
"id": "core_login_controllers_dir_flatten",
"path_contains": "3.0/Features/Account/Login/Controllers/"
},
{
"id": "core_login_ext_dir_flatten",
"path_contains": "3.0/Features/Account/Login/Extension/"
},
{
"id": "core_epub_30_dir_flatten",
"path_contains": "3.0/Features/ReadView/Epub/"
},
{
"id": "core_pdf_bridge_dir_flatten",
"path_contains": "3.0/Features/ReadView/PDF/Bridge/"
},
{
"id": "core_pdf_network_dir_flatten",
"path_contains": "3.0/Features/ReadView/PDF/Network/"
},
{
"id": "core_pdf_decrypt_uc_flatten",
"path_contains": "RDPDFDecryptPageUseCase.swift"
},
{
"id": "core_pdf_load_uc_flatten",
"path_contains": "RDPDFLoadBookUseCase.swift"
},
{
"id": "legacy_iap_handler_dir_flatten",
"path_contains": "BookShelf/Classes/Features/IAP/Handler/"
},
{
"id": "legacy_iap_ext_dir_flatten",
"path_contains": "BookShelf/Classes/Features/IAP/Extension/"
},
{
"id": "legacy_login_ext_dir_flatten",
"path_contains": "BookShelf/Classes/Features/Login/Extension/"
},
{
"id": "legacy_read_or_pay_ext_flatten",
"path_contains": "BookShelf/Classes/Extension/ControllersExtension/STSBaseViewController+STSReadOrPayExtension.m"
},
{
"id": "legacy_epub_login_or_pay_ext_flatten",
"path_contains": "BookView/EPUB/Core/Classes/STSBaseViewController+STSEpubViewLoginOrPayExtension.m"
},
{
"id": "legacy_pdf_login_or_pay_ext_flatten",
"path_contains": "BookView/PDF/Core/Classes/Stage/STSBaseViewController+STSPDFViewLoginOrPayExtension.m"
},
{
"id": "legacy_iap_ctrl_flatten",
"path_contains": "BookShelf/Classes/Features/IAP/Controllers/"
},
{
"id": "legacy_epub_loader_flatten",
"path_contains": "STSEpubWebResourceLoader.m"
},
{
"id": "legacy_epub_ctrl_flatten",
"path_contains": "RBCoreEpubLoadController.m"
},
{
"id": "legacy_epub_parser_flatten",
"path_contains": "EpubParser.m"
},
{
"id": "legacy_epub_chapter_flatten",
"path_contains": "EpubChapter.m"
},
{
"id": "legacy_epub_load_flatten",
"path_contains": "LoadEpub.m"
},
{
"id": "c_ig_defender_flatten",
"path_contains": "IGDefender.c"
},
{
"id": "c_ig_anti_hook_flatten",
"path_contains": "IGAntiHook.c"
},
{
"id": "c_ig_anti_inject_flatten",
"path_contains": "IGAntiInject.c"
},
{
"id": "c_ig_anti_tamper_flatten",
"path_contains": "IGAntiTamper.c"
},
{
"id": "c_ig_resolve_flatten",
"path_contains": "IGResolve.c"
},
{
"id": "vendor_pdf_trial_flatten",
"path_contains": "Vendor/RDPDFReaderView/Sources/RDPDFReaderTrial.swift"
},
{
"id": "vendor_epub_core_flatten",
"path_contains": "Vendor/RDEpubReaderView/EPUBCore/"
},
{
"id": "core_personal_center_handler_dir_flatten",
"path_contains": "3.0/Features/PersonalCenter/Handler/"
},
{
"id": "core_account_userinfo_handler_dir_flatten",
"path_contains": "3.0/Features/Account/UserInfo/Handler/"
},
{
"id": "core_account_token_handler_flatten",
"path_contains": "3.0/Features/Account/Token/RDAccountTokenHandler.swift"
},
{
"id": "core_account_guest_handler_flatten",
"path_contains": "3.0/Features/Account/Guest/RDGuestHandler.swift"
},
{
"id": "core_appinfo_handler_dir_flatten",
"path_contains": "3.0/Features/AppInfo/Handler/"
},
{
"id": "core_appinfo_config_handler_flatten",
"path_contains": "3.0/Features/AppInfo/RDAppConfigHandler.swift"
},
{
"id": "core_appinfo_update_handler_flatten",
"path_contains": "3.0/Features/AppInfo/RDAppVersionUpdateHandler.swift"
},
{
"id": "core_detail_handler_dir_flatten",
"path_contains": "3.0/Features/Detail/Handler/"
},
{
"id": "core_home_handler_dir_flatten",
"path_contains": "3.0/Features/Home/Handler/"
},
{
"id": "core_learning_task_handler_dir_flatten",
"path_contains": "3.0/Features/LearningTask/Handler/"
},
{
"id": "core_message_handler_dir_flatten",
"path_contains": "3.0/Features/Message/Handler/"
},
{
"id": "core_pop_handler_dir_flatten",
"path_contains": "3.0/Features/Pop/RD/Handler/"
},
{
"id": "core_order_handler_dir_flatten",
"path_contains": "3.0/Features/PurchaseOrOrder/Handler/"
},
{
"id": "core_qrcode_handler_dir_flatten",
"path_contains": "3.0/Features/QRCode/Handler/"
},
{
"id": "core_readview_base_handler_dir_flatten",
"path_contains": "3.0/Features/ReadView/BaseHandler/"
},
{
"id": "core_readview_media_handler_dir_flatten",
"path_contains": "3.0/Features/ReadView/Media/Handler/"
},
{
"id": "core_readview_words_handler_dir_flatten",
"path_contains": "3.0/Features/ReadView/MemorizeWords/Handler/"
},
{
"id": "core_readview_practice_handler_dir_flatten",
"path_contains": "3.0/Features/ReadView/Practice/Handler/"
},
{
"id": "core_search_handler_dir_flatten",
"path_contains": "3.0/Features/Search/Handler/"
},
{
"id": "core_tabbar_handler_dir_flatten",
"path_contains": "3.0/Features/TabBar/Handler/"
},
{
"id": "core_third_redeem_handler_dir_flatten",
"path_contains": "3.0/Features/ThirdOrderRedeem/Handler/"
},
{
"id": "core_nmh_handler_dir_flatten",
"path_contains": "3.0/Features/ThirdPartyService/NMH/Handler/"
},
{
"id": "core_shenxue_handler_dir_flatten",
"path_contains": "3.0/Features/ThirdPartyService/ShenXue/Handler/"
},
{
"id": "core_tracker_handler_dir_flatten",
"path_contains": "3.0/Features/Tracker/CustomTracker/Handler/"
},
{
"id": "core_webview_handler_dir_flatten",
"path_contains": "3.0/Features/WebView/Handler/"
}
],
"opaque_const_targets": [
{ "id": "c_rd_sd_keybox_const", "path_contains": "RDSDKeyBox.c", "opaque_zero": true },
{ "id": "c_rd_epub_keybox_const", "path_contains": "RDEpubKeyBox.c", "opaque_zero": true },
{ "id": "c_rd_epub_key_guard_const", "path_contains": "RDEpubKeyGuard.c", "opaque_zero": true },
{ "id": "objc_rd_epub_bridge_const", "path_contains": "RDEpubCryptBridge.m" },
{ "id": "core_security_dir_const", "path_contains": "3.0/Base/Security/" },
{ "id": "c_ig_defender_const", "path_contains": "IGDefender/", "opaque_zero": true },
{ "id": "core_storekit_dir_const", "path_contains": "3.0/Base/StoreKit/" },
{ "id": "core_iap_handler_dir_const", "path_contains": "3.0/Features/IAP/Handler/" },
{ "id": "legacy_iap_handler_dir_const", "path_contains": "BookShelf/Classes/Features/IAP/Handler/" },
{ "id": "legacy_iap_ext_dir_const", "path_contains": "BookShelf/Classes/Features/IAP/Extension/" },
{ "id": "legacy_login_ext_dir_const", "path_contains": "BookShelf/Classes/Features/Login/Extension/" },
{ "id": "legacy_read_or_pay_ext_const", "path_contains": "STSBaseViewController+STSReadOrPayExtension.m" },
{ "id": "legacy_epub_login_pay_ext_const", "path_contains": "STSBaseViewController+STSEpubViewLoginOrPayExtension.m" },
{ "id": "legacy_pdf_login_pay_ext_const", "path_contains": "STSBaseViewController+STSPDFViewLoginOrPayExtension.m" },
{ "id": "swift_sd_signer_const", "path_contains": "RDSDAuthV32Signer.swift" },
{ "id": "swift_key_generator_const", "path_contains": "RDKeyGenerator.swift" },
{ "id": "vendor_pdf_trial_const", "path_contains": "Vendor/RDPDFReaderView/Sources/RDPDFReaderTrial.swift", "opaque_zero": true },
{ "id": "vendor_epub_core_const", "path_contains": "Vendor/RDEpubReaderView/EPUBCore/" }
],
"arithmetic_targets": [
{ "id": "c_rd_sd_keybox_arith", "path_contains": "RDSDKeyBox.c", "nonlinear_mba": true },
{ "id": "c_rd_epub_keybox_arith", "path_contains": "RDEpubKeyBox.c", "nonlinear_mba": true },
{ "id": "c_rd_epub_key_guard_arith", "path_contains": "RDEpubKeyGuard.c", "nonlinear_mba": true },
{ "id": "objc_rd_epub_bridge_arith", "path_contains": "RDEpubCryptBridge.m" },
{ "id": "core_security_dir_arith", "path_contains": "3.0/Base/Security/" },
{ "id": "c_ig_defender_arith", "path_contains": "IGDefender/", "nonlinear_mba": true },
{ "id": "core_storekit_dir_arith", "path_contains": "3.0/Base/StoreKit/" },
{ "id": "core_iap_handler_dir_arith", "path_contains": "3.0/Features/IAP/Handler/" },
{ "id": "legacy_iap_handler_dir_arith", "path_contains": "BookShelf/Classes/Features/IAP/Handler/" },
{ "id": "legacy_iap_ext_dir_arith", "path_contains": "BookShelf/Classes/Features/IAP/Extension/" },
{ "id": "legacy_login_ext_dir_arith", "path_contains": "BookShelf/Classes/Features/Login/Extension/" },
{ "id": "legacy_read_or_pay_ext_arith", "path_contains": "STSBaseViewController+STSReadOrPayExtension.m" },
{ "id": "legacy_epub_login_pay_ext_arith", "path_contains": "STSBaseViewController+STSEpubViewLoginOrPayExtension.m" },
{ "id": "legacy_pdf_login_pay_ext_arith", "path_contains": "STSBaseViewController+STSPDFViewLoginOrPayExtension.m" },
{ "id": "swift_sd_signer_arith", "path_contains": "RDSDAuthV32Signer.swift" },
{ "id": "swift_key_generator_arith", "path_contains": "RDKeyGenerator.swift" },
{ "id": "vendor_pdf_trial_arith", "path_contains": "Vendor/RDPDFReaderView/Sources/RDPDFReaderTrial.swift", "nonlinear_mba": true },
{ "id": "vendor_epub_core_arith", "path_contains": "Vendor/RDEpubReaderView/EPUBCore/" }
],
"indirect_branch_targets": [
{ "id": "c_rd_sd_keybox_ibr", "path_contains": "RDSDKeyBox.c" },
{ "id": "c_rd_epub_keybox_ibr", "path_contains": "RDEpubKeyBox.c" },
{ "id": "c_rd_epub_key_guard_ibr", "path_contains": "RDEpubKeyGuard.c" },
{ "id": "objc_rd_epub_bridge_ibr", "path_contains": "RDEpubCryptBridge.m" },
{ "id": "c_ig_defender_ibr", "path_contains": "IGDefender/" },
{ "id": "swift_injection_det_ibr", "path_contains": "RDInjectionDetector.swift" },
{ "id": "swift_jailbreak_det_ibr", "path_contains": "RDJailbreakDetector.swift" },
{ "id": "swift_sd_signer_ibr", "path_contains": "RDSDAuthV32Signer.swift" },
{ "id": "swift_iap_handler_ibr", "path_contains": "RDIAPHandler.swift" },
{ "id": "objc_iap_verify_handler_ibr", "path_contains": "STSIAPVerifyHandler.m" },
{ "id": "objc_pay_ext_ibr", "path_contains": "STSBaseViewController+STSPayExtension.m" },
{ "id": "objc_epub_login_pay_ext_ibr", "path_contains": "STSBaseViewController+STSEpubViewLoginOrPayExtension.m" },
{ "id": "objc_pdf_login_pay_ext_ibr", "path_contains": "STSBaseViewController+STSPDFViewLoginOrPayExtension.m" },
{ "id": "vendor_pdf_trial_ibr", "path_contains": "Vendor/RDPDFReaderView/Sources/RDPDFReaderTrial.swift" },
{ "id": "vendor_epub_core_ibr", "path_contains": "Vendor/RDEpubReaderView/EPUBCore/" }
],
"string_encrypt_stack_targets": [
{ "id": "c_rd_sd_keybox_sstr", "path_contains": "RDSDKeyBox.c" },
{ "id": "c_rd_epub_keybox_sstr", "path_contains": "RDEpubKeyBox.c" },
{ "id": "c_ig_defender_sstr", "path_contains": "IGDefender/" },
{ "id": "swift_rd_injection_sstr", "path_contains": "RDInjectionDetector.swift" }
],
"anti_hooking_targets": [
{ "id": "c_rd_sd_keybox_antihook", "path_contains": "RDSDKeyBox.c" },
{ "id": "c_rd_epub_keybox_antihook", "path_contains": "RDEpubKeyBox.c" },
{ "id": "c_rd_epub_key_guard_antihook", "path_contains": "RDEpubKeyGuard.c" },
{ "id": "c_ig_defender_antihook", "path_contains": "IGDefender/" }
],
"function_outline_max_per_fn": 2,
"function_outline_min_insts": 6,
"function_outline_exempt_functions": [
"rd_sd_sha256_transform",
"rd_sd_md5_hex"
],
"function_outline_targets": [
{ "id": "c_rd_sd_keybox_outline", "path_contains": "RDSDKeyBox.c" },
{ "id": "c_rd_epub_keybox_outline", "path_contains": "RDEpubKeyBox.c" },
{ "id": "c_rd_epub_key_guard_outline", "path_contains": "RDEpubKeyGuard.c" },
{ "id": "c_ig_defender_outline", "path_contains": "IGDefender/" },
{ "id": "swift_injection_det_outline", "path_contains": "RDInjectionDetector.swift" },
{ "id": "swift_iap_handler_outline", "path_contains": "RDIAPHandler.swift" },
{ "id": "objc_iap_verify_handler_outline", "path_contains": "STSIAPVerifyHandler.m" },
{ "id": "vendor_pdf_trial_outline", "path_contains": "Vendor/RDPDFReaderView/Sources/RDPDFReaderTrial.swift" }
],
"opaque_field_max_per_fn": 32,
"opaque_field_exempt_functions": [
"rd_sd_sha256_transform",
"rd_sd_md5_hex"
],
"opaque_field_targets": [
{ "id": "c_rd_sd_keybox_field", "path_contains": "RDSDKeyBox.c" },
{ "id": "c_rd_epub_keybox_field", "path_contains": "RDEpubKeyBox.c" },
{ "id": "c_rd_epub_key_guard_field", "path_contains": "RDEpubKeyGuard.c" },
{ "id": "c_ig_defender_field", "path_contains": "IGDefender/" },
{ "id": "objc_rd_epub_bridge_field", "path_contains": "RDEpubCryptBridge.m" },
{ "id": "core_security_dir_field", "path_contains": "3.0/Base/Security/" },
{ "id": "core_storekit_dir_field", "path_contains": "3.0/Base/StoreKit/" },
{ "id": "core_iap_handler_dir_field", "path_contains": "3.0/Features/IAP/Handler/" },
{ "id": "vendor_pdf_trial_field", "path_contains": "Vendor/RDPDFReaderView/Sources/RDPDFReaderTrial.swift" },
{ "id": "vendor_epub_core_field", "path_contains": "Vendor/RDEpubReaderView/EPUBCore/" }
],
"bb_split_max_per_fn": 4,
"bb_split_min_insts": 8,
"bb_split_exempt_functions": [
"rd_sd_sha256_transform",
"rd_sd_md5_hex"
],
"bb_split_targets": [
{ "id": "c_rd_sd_keybox_bbsplit", "path_contains": "RDSDKeyBox.c" },
{ "id": "c_rd_epub_keybox_bbsplit", "path_contains": "RDEpubKeyBox.c" },
{ "id": "c_rd_epub_key_guard_bbsplit", "path_contains": "RDEpubKeyGuard.c" },
{ "id": "c_ig_defender_bbsplit", "path_contains": "IGDefender/" },
{ "id": "swift_injection_det_bbsplit", "path_contains": "RDInjectionDetector.swift" },
{ "id": "swift_iap_handler_bbsplit", "path_contains": "RDIAPHandler.swift" },
{ "id": "objc_iap_verify_handler_bbsplit", "path_contains": "STSIAPVerifyHandler.m" },
{ "id": "vendor_pdf_trial_bbsplit", "path_contains": "Vendor/RDPDFReaderView/Sources/RDPDFReaderTrial.swift" },
{ "id": "vendor_epub_core_bbsplit", "path_contains": "Vendor/RDEpubReaderView/EPUBCore/" }
],
"required_targets": [
{
"id": "objc_sts_jailbreak_detect",
"path_contains": "STSJailbreakDetectTool.m",
"min_flattened": 1,
"min_strings_encrypted": 0
},
{
"id": "swift_rd_injection_dyld_check",
"path_contains": "RDInjectionDetector.swift",
"min_flattened": 1,
"min_strings_encrypted": 1
},
{
"id": "c_rd_epub_keybox",
"path_contains": "RDEpubKeyBox.c",
"symbol_contains": "rd_epub_derive_book_key",
"str_symbol_contains": "rd_",
"min_flattened": 1,
"min_strings_encrypted": 1,
"min_opaque_constants": 5,
"min_arithmetic_rewrites": 5,
"min_indirect_branches": 2,
"min_anti_hook_functions": 1
},
{
"id": "swift_epub_provider",
"path_contains": "RDEncryptedEpubResourceProvider.swift",
"min_flattened": 1,
"min_strings_encrypted": 0
},
{
"id": "c_rd_sd_keybox",
"path_contains": "RDSDKeyBox.c",
"min_flattened": 1,
"min_strings_encrypted": 4,
"min_opaque_constants": 10,
"min_arithmetic_rewrites": 10,
"min_indirect_branches": 5,
"min_anti_hook_functions": 1
},
{
"id": "swift_sd_key_manager",
"path_contains": "RDSDPrivateKeyManager.swift",
"min_flattened": 1,
"min_strings_encrypted": 0
},
{
"id": "swift_sd_signer",
"path_contains": "RDSDAuthV32Signer.swift",
"min_flattened": 1,
"min_strings_encrypted": 0
},
{
"id": "swift_iap_handler",
"path_contains": "RDIAPHandler.swift",
"min_flattened": 1,
"min_strings_encrypted": 0
},
{
"id": "objc_iap_verify_handler",
"path_contains": "STSIAPVerifyHandler.m",
"min_flattened": 1,
"min_strings_encrypted": 0
},
{
"id": "c_ig_defender_core",
"path_contains": "IGDefender/",
"min_flattened": 5,
"min_strings_encrypted": 0
},
{
"id": "objc_pay_ext_core",
"path_contains": "STSBaseViewController+STSPayExtension.m",
"min_flattened": 1,
"min_strings_encrypted": 0
},
{
"id": "objc_epub_login_pay_ext_core",
"path_contains": "STSBaseViewController+STSEpubViewLoginOrPayExtension.m",
"min_flattened": 1,
"min_strings_encrypted": 0
},
{
"id": "vendor_pdf_trial",
"path_contains": "Vendor/RDPDFReaderView/Sources/RDPDFReaderTrial.swift",
"min_flattened": 1,
"min_strings_encrypted": 0
},
{
"id": "vendor_epub_core",
"path_contains": "Vendor/RDEpubReaderView/EPUBCore/",
"min_flattened": 2,
"min_strings_encrypted": 0
}
]
}