Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

438 B
Raw Blame
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 } : {}),
});