Build an artifact you can inspect
The example is a small C program with a catalog workflow and a named workflow_checksum function. The verifier compiles arm64 and x86_64 into one Mach-O executable. It then extracts each slice, reads its header and symbols, and runs the host-native program.
This is a teaching fixture with source included. It does not demonstrate recovery of a commercial app, a stripped binary, a protected method or a private API. Its job is to make the inspection steps and evidence clear before they are applied to a larger artifact.
Download and run the checks
You need macOS, Xcode Command Line Tools and Bun. Download the Mac inspection example, unpack it and run this command from the unpacked folder:
bun scripts/verify-macos-fixture.tsThe verifier creates its own temporary directory and removes the generated binaries after the run. The archive keeps the C source and verification script so you can rebuild and compare the results.
Check the architecture before reading code
Apple describes universal macOS binaries as a way to ship code for Apple Silicon and Intel Macs in one artifact. The architecture changes which machine code you inspect. A result from one slice is not proof about every other slice.
For a manual run, move into public/demo/macos in the unpacked folder:
clang -Wall -Wextra -Werror -O0 -arch arm64 -arch x86_64 fixture.c -o workflow-fixture
lipo -archs workflow-fixture
lipo workflow-fixture -thin arm64 -output workflow-arm64
otool -hv workflow-arm64
nm workflow-arm64
./workflow-fixture catalogThe observed architecture list was x86_64 arm64. The verifier also extracts and inspects the Intel slice. It checks for a 64-bit Mach-O header and the _workflow_checksum symbol in each slice. This fixture keeps symbols; names in a stripped app require separate recovery work.
Verify behavior with an independent result
The host-native run returned this output:
{"workflow":"catalog","checksum":"75f68d18"}The TypeScript verifier calculates the same FNV-1a value independently. Missing or unknown workflow arguments exit with status 2. FNV-1a is a non-cryptographic checksum here; it is not an authentication signature or encryption.
| Evidence | Observed coverage |
|---|---|
| Compiled architectures | arm64 and x86_64 |
| Header and symbol inspection | Both slices |
| Native execution | arm64 host |
| Invalid inputs | Two cases rejected |
| Intel execution | Not tested |
Use the same evidence record for a Mac app
For a larger app, record the bundle and executable versions, architectures and hashes first. Follow the selected action through the main process, frameworks and helpers. A symbol list does not prove that a function runs, and a successful launch does not prove that a network workflow is complete.
Code signing is a separate part of the artifact record. Apple explains the signed content in TN3126: Inside Code Signing: Hashes. This fixture does not test notarization, signing repair, sandbox permissions or helper authorization.
Use macOS reverse engineering for binary and runtime analysis or Mac app API extraction for a callable integration. The Swift request-signing example checks request bytes, while the complete client demo shows the broader delivery formats.
Reviewed 17 October 2026 · SReverse