test: reproduce native import retention without managed caller

This commit is contained in:
Joseph Doherty
2026-11-10 17:39:00 -05:00
parent 041189aa6d
commit 1298ecc194
14 changed files with 619 additions and 29 deletions
@@ -217,3 +217,10 @@ then executed 200 successful create/delete/CFRelease operations and kept native
AppleDatabase at 1 throughout. That negative result rules out empty native
create/delete/release alone as sufficient here; it does not identify the
private-key/certificate import retaining owner.
The subsequent [installed native bridge import control](NATIVE_IMPORT.md)
reproduced AppleDatabase growth from 1 to 201 in a measured C process with no
managed caller. Native deletes returned zero in that control, all returned CF
owners balanced, and keychain files/FDs stayed zero. The installed bridge and
Security.framework remain in the path; their respective retaining ownership
is unresolved. The native delete statuses of this managed A/B remain unobserved.