Skip to content
This repository was archived by the owner on Oct 29, 2026. It is now read-only.

Latest commit

 

History

History
115 lines (100 loc) · 5.7 KB

README.md

File metadata and controls

115 lines (100 loc) · 5.7 KB

API coverage inventory

Generated by python tools/update_progress.py from imports.json and the adapter registries.

The denominator is unique (library install name, imported symbol) pairs in 20 Intel images. It covers direct imports from the recorded slices. It does not include transitive dependencies, unobserved APIs, implementation completeness or runtime test results. ARM64 images are excluded.

Per-program imports

Image Adapters available Missing API coverage
AU Lab 90 / 603 513 14.93%
Pixie 21 / 134 113 15.67%
LogTool 25 / 34 9 73.53%
Quartz Debug 51 / 420 369 12.14%
Server 41 / 232 191 17.67%
HomeKit Accessory Simulator 35 / 319 284 10.97%
IORegistryExplorer 23 / 188 165 12.23%
Network Link Conditioner 23 / 105 82 21.90%
NLCBackgroundApp 15 / 38 23 39.47%
com.apple.Network-Link-Conditioner.remoteservice 6 / 16 10 37.50%
PacketLogger 50 / 219 169 22.83%
Printer Simulator 30 / 135 105 22.22%
PrinterSimulatorServer 84 / 463 379 18.14%
Clipboard Viewer 11 / 55 44 20.00%
CrashReporterPrefs 3 / 20 17 15.00%
Icon Composer 8 / 115 107 6.96%
Icon Composer QuickLook Preview 11 / 74 63 14.86%
Icon Composer Thumbnail 10 / 64 54 15.62%
jq 1.8.2 136 / 136 0 100.00%
ripgrep 15.2.0 131 / 131 0 100.00%

A 100% row means the direct import names have adapters, not that the program is fully supported. jq and ripgrep have recorded execution tests. The Apple applications have inspection evidence only.

Missing APIs used by the most targets

Imported symbol Library Intel images using it
_OBJC_METACLASS_$_NSObject Objective-C 18
_OBJC_CLASS_$_NSObject Objective-C 16
___CFConstantStringClassReference CoreFoundation 15
_NSLog Foundation 13
_OBJC_CLASS_$_NSString Foundation 12
_NSApplicationMain AppKit 11
_OBJC_CLASS_$_NSDictionary CoreFoundation 11
_OBJC_CLASS_$_NSColor AppKit 10
_OBJC_CLASS_$_NSMutableArray CoreFoundation 10
_OBJC_CLASS_$_NSBundle Foundation 10
_OBJC_CLASS_$_NSNumber Foundation 10
_objc_enumerationMutation Objective-C 10
_objc_msgSend_stret Objective-C 10
_objc_opt_class Objective-C 10
_NSFontAttributeName AppKit 9
_OBJC_CLASS_$_NSImage AppKit 9
_OBJC_CLASS_$_NSWorkspace AppKit 9
_OBJC_CLASS_$_NSArray CoreFoundation 9
_OBJC_CLASS_$_NSMutableData CoreFoundation 9
_OBJC_CLASS_$_NSMutableDictionary CoreFoundation 9
_OBJC_CLASS_$_NSUserDefaults CoreFoundation 9
_OBJC_CLASS_$_NSMutableString Foundation 9
_objc_getProperty Objective-C 9
_objc_setProperty_atomic Objective-C 9
_NSApp AppKit 8

Full missing lists, library names and target hashes: status.json.

Library ordinals come from nlist_64.n_desc, as specified in the Apple Mach-O header. Only exact supported library install names are matched. Imported data symbols are included. The terminating dyld_stub_binder diagnostic is not counted as an API adapter.

Refresh source coverage after adding adapters with python tools/update_progress.py. Use --refresh-imports only when updating the artifact inventory; this requires the local hash-matched files under target/artifacts and the pinned jq download. The refresh cross-checks Apple import names and library order against the existing Rust inspection reports. No target is executed.

Public API surface

The tables above count only symbols the inspected binaries import. This section counts every symbol exported by the selected subsystem headers in this catalog, taken from pinned commits of Libc@71bbe350ab, libclosure@3668b0837f, libdispatch@2361ffb78a, libpthread@42d026df5b, xnu@f6217f891a (see public-api.json; regenerate with python tools/extract_public_api.py). It does not say which symbols real programs call.

Subsystem Adapters available Of which partial Missing Coverage
All catalogued public APIs 239 / 432 66 193 55.32%
libdispatch queues 36 / 36 8 0 100.00%
libdispatch objects 15 / 15 3 0 100.00%
libdispatch groups 8 / 8 0 0 100.00%
libdispatch semaphores 3 / 3 0 0 100.00%
libdispatch once and time 4 / 4 0 0 100.00%
libdispatch block objects 7 / 7 2 0 100.00%
libdispatch sources 26 / 26 9 0 100.00%
libdispatch data 0 / 10 0 10 0.00%
libdispatch I/O 0 / 13 0 13 0.00%
libdispatch workloops 0 / 4 0 4 0.00%
Block runtime 6 / 6 2 0 100.00%
POSIX signals 23 / 28 10 5 82.14%
pthread QoS 8 / 8 7 0 100.00%
Mach VM routines 6 / 42 6 36 14.29%
sysctl calls 3 / 3 0 0 100.00%
sysctl names 75 / 135 1 60 55.56%
libproc 5 / 31 4 26 16.13%
posix_spawn 9 / 35 9 26 25.71%
fork, exec and wait 5 / 18 5 13 27.78%

A partial adapter implements only part of its contract; the reason for each is in partial-api.json. Missing public symbols are listed per subsystem under public_api.missing in status.json.

Registry extraction covers the current Rust symbol matches and C LOOKUP/LM registrations. If a new adapter library or registration style is added, update registry() and available() in the generator as part of that change. Counts indicate a registration exists, not complete API semantics.