Add trace_dylib_resolution (CLI trace-dylib-resolution) to the artifact family. For the active Mach-O, or every executable in the active .app (the main app, XPC services, extensions, login items, helpers), it reports which file each dylib load reaches and how. A pure TypeScript reader decodes FAT and Mach-O load commands: LC_LOAD/WEAK/REEXPORT/LAZY/UPWARD_DYLIB, including the newer dylib_use_command encoding with weak, re-export, upward and delayed-init flags, plus LC_ID_DYLIB, LC_RPATH, LC_DYLD_ENVIRONMENT and code-signature presence. Malformed tables are reported with the failing command instead of being guessed. Resolution follows dyld: - @executable_path comes from each process root; - @loader_path comes from the loading image, or from the owner of the LC_RPATH entry being expanded; - @rpath searches the loader's rpaths first, then up the load chain; - dependencies load dependents-first in load-command order, once per process, and a matching install name reuses an already loaded image; - symlinks are followed inside the analyzed root, and escapes stop. Every candidate path is reported with its outcome. Each edge resolves to resolved, conditional (an outside-root candidate such as /usr/lib/swift precedes), unresolved, or undetermined. Absolute and shared-cache system paths are never checked against the host. Derived findings cover unresolved required or weak loads, absent earlier @rpath candidates (with library validation left unknown), and LC_DYLD_ENVIRONMENT. verify:macos-bundle now also: - checks every traced image against otool -l; - asserts each resolution status on a clang-built fixture that adds a missing Overrides rpath, an absolute rpath, and a delay-init library; - compares the predicted load order of two process roots with what dyld loads under DYLD_PRINT_LIBRARIES. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
202 lines
5.1 KiB
JSON
202 lines
5.1 KiB
JSON
{
|
|
"manifest_id": "ecm_833521668577f2ca68cb5f93d29c32bf514a2f5cffd17c32f04584e341177e39",
|
|
"verifier": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
},
|
|
"environment": {
|
|
"platform": "portable",
|
|
"architecture": "portable",
|
|
"runtime": "node",
|
|
"runtime_version": "portable"
|
|
},
|
|
"skill_digests": [
|
|
{
|
|
"skill_id": "reverse-engineer-anything",
|
|
"sha256": "9e3fff18418fb7ee5d59de8ca3346fc6607cd810394893ffbcee4b134f2532e0"
|
|
}
|
|
],
|
|
"claims": [
|
|
{
|
|
"claim_id": "managed.application-graph-projection",
|
|
"scenario": {
|
|
"id": "managed-application-graph-projection",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"f17fe6286cb07c6385e786e0aa877564d44123197f02617dfec70c537a33e4ea"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.decompiler-reconstruction-import",
|
|
"scenario": {
|
|
"id": "decompiler-reconstruction-import",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"cead4cc99733e4e56a5fd0cec8a0813bbc24e249aa72a10eca4c47ee3b0e129d"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.dotnet-framework-x86-pinvoke",
|
|
"scenario": {
|
|
"id": "dotnet-framework-x86-pinvoke",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"f17fe6286cb07c6385e786e0aa877564d44123197f02617dfec70c537a33e4ea"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.ilspy-reconstruction-oracle",
|
|
"scenario": {
|
|
"id": "ilspy-reconstruction-oracle",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.malformed-metadata",
|
|
"scenario": {
|
|
"id": "malformed-metadata",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"827e10b6391d29edca48c191e2ddd79f3bc1165e46e4ba2f4edf41ab60f45e78"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.managed-native-verification",
|
|
"scenario": {
|
|
"id": "managed-native-verification",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"9999999999999999999999999999999999999999999999999999999999999999",
|
|
"f17fe6286cb07c6385e786e0aa877564d44123197f02617dfec70c537a33e4ea"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.modern-dotnet-anycpu",
|
|
"scenario": {
|
|
"id": "modern-dotnet-anycpu",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"92b588ae43d418117fa108c0004b5d0451f6112238d21bad8d75c0eb1da860f0"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.mvid-and-token-drift",
|
|
"scenario": {
|
|
"id": "mvid-and-token-drift",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"276395c671a656ab57d583158443c10de552dccfb37dc97cd013f673c0f86b43",
|
|
"ef009dab7424fdeba996f2524dbe86fd899c96394498cca0463fcfdb228c5572"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.not-managed",
|
|
"scenario": {
|
|
"id": "not-managed",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"de74dab8ab034054a811d4248efcda0bed505187a061a806e274ae87bc453754"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.operator-local-manifest",
|
|
"scenario": {
|
|
"id": "operator-local-manifest",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.operator-manifest-self-test",
|
|
"scenario": {
|
|
"id": "operator-manifest-self-test",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"cdc11ec7fd0f392e43b9b23971cb41ec49fd0a997fc33c24fcc553cd4386ae37"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.unicode-obfuscated-identifiers",
|
|
"scenario": {
|
|
"id": "unicode-obfuscated-identifiers",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"cead4cc99733e4e56a5fd0cec8a0813bbc24e249aa72a10eca4c47ee3b0e129d"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.x64-ready-to-run-native-body",
|
|
"scenario": {
|
|
"id": "x64-ready-to-run-native-body",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"e47402428322cdcb06f561036d7d108528cbc6e262d92a21f869218a20c80bfb"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
}
|
|
]
|
|
}
|