mirror of
https://github.com/morluto/rea
synced 2026-10-28 06:46:47 -04:00
7c207c7951
* feat(native): admit raw binaries with caller-supplied architecture and entry * fix(native): honor raw-binary preparation and entry identity * fix(ghidra): stream raw snapshot attestation with cancellation * fix(native): preserve and validate raw lifecycle entries --------- Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
12 lines
438 B
TypeScript
12 lines
438 B
TypeScript
import type { BinaryTarget } from "../../domain/binaryTargetTypes.js";
|
|
|
|
/** Preserve the admitted target interpretation in public lifecycle results. */
|
|
export const binaryTargetSummary = (target: BinaryTarget) => ({
|
|
path: target.path,
|
|
format: target.format,
|
|
kind: target.kind,
|
|
sha256: target.sha256,
|
|
architecture: target.architecture ?? null,
|
|
...(target.format === "raw-binary" ? { entry_point: target.entryPoint } : {}),
|
|
});
|