feat(llvm): 加固 SD 签名与内购交易关键分支

This commit is contained in:
shenlei
2026-11-24 16:37:52 +09:00
parent 704ee66834
commit 47a7acc741
5 changed files with 38 additions and 3 deletions
+2 -1
View File
@@ -964,7 +964,8 @@ def build_ipa(scheme: str, output_dir: Path, seed: str, expected_binaries: int,
)
assert icall_gate['gate_passed'], f"IndirectCallGate failed: {icall_gate['violations']}"
ibr_gate = verify_macho_indirect_branches.verify_binary_indirect_branches(
main_bin, dwarf_bin, obf_audit
main_bin, dwarf_bin, obf_audit,
required_sources=policy.get('required_indirect_branch_sources') or (),
)
print(
f"[IndirectBranchGate] verified={ibr_gate['verified_ibr_count']}/{ibr_gate['linked_checked_count']} "