Skip to content

armgit / rea

Public Imported from GitHub
0

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

610 B
Raw Blame
import type {
  ExecutionOptions,
  ProviderIdentity,
} from "../AnalysisProvider.js";
import type { AnalysisError } from "../../domain/analysisErrorBase.js";
import type {
  InspectErlangBeamInput,
  ErlangBeam,
} from "../../domain/erlang/beam.js";
import type { Result } from "../../domain/result.js";

/** Stable read and BEAM IFF decoding, independent of a disassembler session. */
export interface BeamPort {
  readonly identity: ProviderIdentity;
  close?(): Promise<void>;
  inspect(
    input: InspectErlangBeamInput,
    options?: ExecutionOptions,
  ): Promise<Result<ErlangBeam, AnalysisError>>;
}