2.0 KiB
2.0 KiB
SBOM Bom-Ref Linkage in Binary Function Identity
Module
BinaryIndex
Status
IMPLEMENTED
Description
Extended function identity model (SymbolSignatureV2) with SBOM bom-ref linkage following the format module:bom-ref:offset:canonical-IR-hash. Includes IBomRefResolver interface for resolving binary artifacts to SBOM component references with graceful fallback.
Implementation Details
- Modules:
src/BinaryIndex/__Libraries/StellaOps.BinaryIndex.DeltaSig/ - Key Classes:
DeltaSigPredicateV2(src/BinaryIndex/__Libraries/StellaOps.BinaryIndex.DeltaSig/Attestation/DeltaSigPredicateV2.cs) - V2 predicate including SBOM bom-ref linkage in function identity recordsDeltaSigVexBridge(src/BinaryIndex/__Libraries/StellaOps.BinaryIndex.DeltaSig/VexIntegration/DeltaSigVexBridge.cs) - VEX bridge uses symbol provenance (which includes SBOM refs) to enrich VEX observationsGroundTruthProvenanceResolver(src/BinaryIndex/__Libraries/StellaOps.BinaryIndex.DeltaSig/Provenance/GroundTruthProvenanceResolver.cs) - enriches function matches withSymbolProvenanceincluding source referencesModels.cs(src/BinaryIndex/__Libraries/StellaOps.BinaryIndex.DeltaSig/Models.cs) -SymbolMatchResultwithSymbolProvenanceproperty for bom-ref linkage
- Interfaces:
ISymbolProvenanceResolver(src/BinaryIndex/__Libraries/StellaOps.BinaryIndex.DeltaSig/Provenance/ISymbolProvenanceResolver.cs) - resolvesSymbolProvenanceV2with batch lookup support - Source: SPRINT_20260118_026_BinaryIndex_deltasig_enhancements.md
E2E Test Plan
- Resolve a binary function to its SBOM bom-ref via
ISymbolProvenanceResolverand verify the linkage format - Verify
DeltaSigPredicateV2includes bom-ref linkage in function identity records - Verify
DeltaSigVexBridgeincludes provenance source from SBOM in VEX observations - Verify batch lookup via
BatchLookupAsyncresolves multiple symbols efficiently - Verify graceful fallback when SBOM bom-ref is not available (function identity still works without it)