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:
@@ -0,0 +1,144 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"description": "Production diagnostic event code mapping replacing plaintext business semantic log tags",
|
||||
"events": {
|
||||
"E-3101": "RD30EpubCoordinator: resource_resolve_failure",
|
||||
"E-3102": "RD30EpubCoordinator: reader_create",
|
||||
"E-3103": "RD30EpubCoordinator: reader_open_failure",
|
||||
"E-3104": "RD30EpubCoordinator: reader_open_success",
|
||||
"E-3105": "RD30EpubCoordinator: reader_trial_wall",
|
||||
"E-3106": "RD30EpubCoordinator: entry_open",
|
||||
"E-3107": "RD30EpubFileStore: local_cache_miss",
|
||||
"E-3108": "RD30EpubFileStore: local_cache_hit",
|
||||
"E-3109": "RD30EpubResourceService: resource_request_start",
|
||||
"E-3110": "RD30EpubResourceService: resource_resolved",
|
||||
"E-3111": "RD30EpubDownloadManager: download_start",
|
||||
"E-3112": "RD30EpubDownloadManager: download_cancel",
|
||||
"E-3113": "RD30EpubDownloadManager: download_complete",
|
||||
"E-3114": "RD30EpubDownloadManager: download_failure",
|
||||
"E-3115": "EpubParser: missing_container_xml",
|
||||
"E-3201": "RDPDFStsSimpleCryptBridge: decrypt_nil",
|
||||
"E-3202": "RDPDFDownloadAPIService: Range 下载非 206 响应: urlPath=",
|
||||
"E-3203": "RDPDFDownloadAPIService: Range 下载写入失败",
|
||||
"E-3204": "RDPDFDownloadAPIService: Range 下载失败",
|
||||
"E-3205": "RDPDFDownloadAPIService: 下载失败",
|
||||
"E-3206": "RDPDFLoadBookUseCase: API 失败",
|
||||
"E-3207": "RDPDFLoadBookUseCase: trial_auth_keya_nm 下载解压失败",
|
||||
"E-3208": "RDPDFLoadBookUseCase: Auth key 文件存在但为空/无法读取大小,删除后重新写入",
|
||||
"E-3209": "RDPDFLoadBookUseCase: Auth key 转换 Data 失败",
|
||||
"E-3210": "RDPDFLoadBookUseCase: Auth key base64 解码失败",
|
||||
"E-3211": "RDPDFLoadBookUseCase: Auth key 写入失败",
|
||||
"E-3212": "RDPDFLoadBookUseCase: 未取到 coursewareGuid,点读热区无法加载: sectionGuid=",
|
||||
"E-3213": "RDPDFDecryptPageUseCase: PDF 映射文件不存在",
|
||||
"E-3214": "RDPDFDecryptPageUseCase: Auth 映射文件不存在",
|
||||
"E-3215": "RDPDFDecryptPageUseCase: PDF 映射表解密失败: path=",
|
||||
"E-3216": "RDPDFDecryptPageUseCase: Auth 映射表解密失败: path=",
|
||||
"E-3217": "RDPDFDecryptPageUseCase: 映射表 JSON 解析失败: pdfPages存在=",
|
||||
"E-3218": "RDPDFDecryptPageUseCase: PDF 切片文件不存在",
|
||||
"E-3219": "RDPDFDecryptPageUseCase: Auth 文件不存在",
|
||||
"E-3220": "RDPDFDecryptPageUseCase: authMap 索引越界: pageIdx=",
|
||||
"E-3221": "RDPDFDecryptPageUseCase: auth data 长度为 0: start=",
|
||||
"E-3222": "RDPDFDecryptPageUseCase: auth data 越界: start+dataLen=",
|
||||
"E-3223": "RDPDFDecryptPageUseCase: 初始化解密引擎失败: deIndex=",
|
||||
"E-3224": "RDPDFDecryptPageUseCase: 合并解密失败: result=",
|
||||
"E-3225": "RDPDFDecryptPageUseCase: 重命名失败",
|
||||
"E-3226": "RDPDFDecryptPageUseCase: 读取 auth 文件失败",
|
||||
"E-3227": "RDPDFRenderPageUseCase: extractText: openDecryptedPage failed, bookId=",
|
||||
"E-3228": "RDPDFDownloadScheduler: downloadPdfPage: pdfMap 缺少页码 的字节偏移",
|
||||
"E-3229": "RDPDFReaderViewModel+SDKPageSource: 缺页插队下载失败: pageNo=",
|
||||
"E-3230": "RDPDFRenderPageUseCase: openDecryptedPage_file_missing",
|
||||
"E-3231": "RDPDFRenderPageUseCase: initializeParser_file_missing",
|
||||
"E-3232": "RDPDFRenderPageUseCase: initializeParser_init_failed",
|
||||
"E-3233": "RDPDFRenderPageUseCase: initializeParser_open_failed",
|
||||
"E-3234": "RDPDFBookReaderViewController: annotation_persistence_failed",
|
||||
"E-3235": "RDPDFReaderViewModel+SDKPageSource: sdk_page_render_failed",
|
||||
"E-3236": "RDPDFReaderViewModel: decryptAndPrepare_bookInfo_nil",
|
||||
"E-3237": "RDPDFReaderViewModel: decrypt_mapping_failed",
|
||||
"E-3238": "RDPDFReaderViewModel: missing_pdfMap_byte_range",
|
||||
"E-3239": "RDPDFReaderViewModel: initial_page_range_download_failed",
|
||||
"E-3240": "RDPDFReaderViewModel: initial_page_decrypt_failed",
|
||||
"E-3241": "RDPDFReaderViewModel: initial_page_render_failed",
|
||||
"E-3242": "RDPDFReaderViewModel: preload_page_decrypt_failed",
|
||||
"E-3301": "RDHLSLocalProxy: stale_port_listener_rebuild",
|
||||
"E-3302": "RDHLSLocalProxy: listener_start_failed",
|
||||
"E-3303": "RDHLSLocalProxy: listener_start_exception",
|
||||
"E-3304": "RDHLSLocalProxy: unsupported_playlist_fallback",
|
||||
"E-3305": "RDHLSLocalProxy: missing_stream_context",
|
||||
"E-3306": "RDHLSLocalProxy: segment_key_fetch_failed",
|
||||
"E-3307": "RDHLSLocalProxy: segment_aes128_decrypt_failed",
|
||||
"E-3308": "RDHLSLocalProxy: sps_pps_extract_failed",
|
||||
"E-3309": "RDHLSLocalProxy: upstream_fetch_failed",
|
||||
"E-4101": "RDSDPrivateKeyManager: missing_bundled_encrypted_key_blob",
|
||||
"E-4102": "RDSDPrivateKeyManager: aes_gcm_decrypt_bundled_key_failed",
|
||||
"E-4103": "RDSDPrivateKeyManager: derive_aes_key_or_slot_failed",
|
||||
"E-4104": "RDSDPrivateKeyManager: create_sec_key_from_pem_failed",
|
||||
"E-4105": "RDSDAuthV32Signer: missing_auth_token",
|
||||
"E-4106": "RDSDAuthV32Signer: missing_device_id_in_jwt",
|
||||
"E-4107": "RDSDAuthV32Signer: missing_required_request_headers",
|
||||
"E-4108": "RDSDAuthV32Signer: signing_key_unavailable",
|
||||
"E-4109": "RDSDAuthV32Signer: rsa_sign_failed",
|
||||
"E-4110": "RDSDAuthV32Signer: sec_key_create_signature_failed",
|
||||
"E-4111": "RDBaseNetworkService: auth_v32_sign_aborted",
|
||||
"E-4112": "RDBaseNetworkService: encrypted_endpoint_rejected_plaintext_json",
|
||||
"E-4113": "RDBaseNetworkService: encrypted_endpoint_malformed_error_or_html",
|
||||
"E-4114": "RDBaseNetworkService: encrypted_endpoint_decrypt_empty_or_nil",
|
||||
"E-4115": "RDBaseNetworkService: encrypted_endpoint_json_parse_failed",
|
||||
"E-4201": "RDAccountTokenHandler: startup_get_account_info_failed",
|
||||
"E-4202": "RDAccountTokenHandler: replace_token_sign_expired",
|
||||
"E-4203": "RDAccountTokenHandler: replace_token_retry_scheduled",
|
||||
"E-4204": "RDAccountTokenHandler: logout_before_guest_register_failed",
|
||||
"E-4205": "RDAccountTokenHandler: force_replace_token_for_device_id_migration",
|
||||
"E-5101": "RDIAPPurchaseManager: init_purchase_manager",
|
||||
"E-5102": "RDIAPPurchaseManager: deinit_purchase_manager",
|
||||
"E-5103": "RDIAPPurchaseManager: gate_claimed",
|
||||
"E-5104": "RDIAPPurchaseManager: gate_reclaimed_stale",
|
||||
"E-5105": "RDIAPPurchaseManager: gate_released",
|
||||
"E-5106": "RDIAPPurchaseManager: gate_release_noop",
|
||||
"E-5107": "RDIAPPurchaseManager: unfinished_order_matched",
|
||||
"E-5108": "RDIAPPurchaseManager: unfinished_order_lookup_failed",
|
||||
"E-5109": "RDIAPPurchaseManager: resume_missing_order_no_or_finished",
|
||||
"E-5110": "RDIAPPurchaseManager: resume_unfinished_iteration_failed",
|
||||
"E-5111": "RDIAPPurchaseManager: retry_pending_transaction_not_found_or_invalid",
|
||||
"E-5112": "RDIAPPurchaseManager: retry_pending_server_verified_success",
|
||||
"E-5113": "RDIAPPurchaseManager: retry_pending_server_verified_failed",
|
||||
"E-5114": "RDIAPPurchaseManager: retry_pending_server_confirming_or_error",
|
||||
"E-5115": "RDIAPPurchaseManager: handle_verified_transaction_success",
|
||||
"E-5116": "RDIAPPurchaseManager: handle_verified_transaction_failed_final",
|
||||
"E-5117": "RDIAPPurchaseManager: handle_verified_transaction_confirming",
|
||||
"E-5118": "RDIAPPurchaseManager: request_storekit_products_failed",
|
||||
"E-5119": "RDIAPPurchaseManager: process_claimed_purchase_success",
|
||||
"E-5120": "RDIAPPurchaseManager: process_claimed_purchase_failed_or_cancelled",
|
||||
"E-5121": "RDIAPPurchaseManager: process_claimed_purchase_confirming_or_pending",
|
||||
"E-5122": "RDIAPPurchaseManager: transaction_verification_or_refund_failed",
|
||||
"E-5123": "RDIAPHandler: request_apple_products_empty",
|
||||
"E-5124": "RDIAPHandler: submit_order_missing_pay_config",
|
||||
"E-5125": "RDIAPHandler: submit_order_reattach_pending_verifying_order",
|
||||
"E-5126": "RDIAPHandler: submit_order_reattach_unfinished_storekit_order",
|
||||
"E-5127": "RDIAPHandler: submit_order_create_trade_order_failed",
|
||||
"E-5128": "RDIAPHandler: to_purchase_existing_order_retry_or_abort",
|
||||
"E-5129": "RDIAPHandler: to_purchase_finish_state_dispatch",
|
||||
"E-5130": "RDIAPHandler: pending_purchase_timeout_triggered",
|
||||
"E-5131": "RDIAPHandler: server_check_transaction_success",
|
||||
"E-5132": "RDIAPHandler: server_check_transaction_failed",
|
||||
"E-5133": "RDIAPHandler: server_check_transaction_id_success",
|
||||
"E-5134": "RDIAPHandler: server_check_transaction_id_failed",
|
||||
"E-5135": "RDIAPHandler: request_server_check_apple_pay_config_unavailable",
|
||||
"E-5136": "RDIAPHandler: iap_purchase_result_no_pending_handler",
|
||||
"E-5191": "RDIAPPurchaseException: no_product_matched",
|
||||
"E-5192": "RDIAPPurchaseException: purchase_exception",
|
||||
"E-5193": "RDIAPPurchaseException: purchase_in_progress",
|
||||
"E-5194": "RDIAPPurchaseException: transaction_verification_failed",
|
||||
"E-6101": "RDSecurityGuard: high_confidence_degradation_triggered",
|
||||
"E-6102": "RDSecurityGuard: sensitive_operation_restricted",
|
||||
"E-6103": "RDSecurityGuard: policy_decision_evaluated",
|
||||
"E-6104": "RDSecurityGuard: risk_context_evaluated",
|
||||
"E-6105": "RDSecurityGuard: observation_record_write_failed",
|
||||
"E-6106": "RDInjectionDetector: whitelist_missing_or_corrupt",
|
||||
"E-6107": "RDInjectionDetector: whitelist_unparseable",
|
||||
"E-6108": "RDInjectionDetector: whitelist_hmac_mismatch",
|
||||
"E-6109": "RDInjectionDetector: release_whitelist_tamper_risk",
|
||||
"E-6110": "RDInjectionDetector: suspicious_dyld_insert_libraries",
|
||||
"E-6111": "RDInjectionDetector: skip_external_non_system_image",
|
||||
"E-6112": "RDInjectionDetector: unauthorized_image_detected"
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"schema_version": 2,
|
||||
"toolchains": {
|
||||
"27A9275:arm64": {
|
||||
"xcode_version": "27.1",
|
||||
"xcode_build": "27A9275",
|
||||
"sdk_version": "27.1",
|
||||
"host_arch": "arm64",
|
||||
"swiftlang_version": "Apple Swift version 6.4 (swiftlang-6.4.0.34.1 clang-2100.3.34.1)",
|
||||
"llvm_branch": "swift/release/6.4.0",
|
||||
"llvm_commit": "903b9faaae5c43ecc9b7e33f8db9c94c7429374a",
|
||||
"cmake_version": "cmake version 4.4.2",
|
||||
"opt_sha256": "186ed12397dcf585a2cfae94f16a3c15397684a75baec6e7a0dd8af27faf6e77",
|
||||
"bundle_path": "~/.cache/iosguard/bundles/igopt-27A9275-arm64.tar.gz",
|
||||
"bundle_sha256": "f1ced88b2ea544b15de911387c44feae5edbb80ce9dd96d8880423c4e2f604e6"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"by_xcode_build": {},
|
||||
"by_swiftlang": {
|
||||
"6.4.0": "swift/release/6.4.0"
|
||||
},
|
||||
"by_swift_major_minor": {
|
||||
"6.4": "swift/release/6.4.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user