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
/** Snapshot ordered MI records and retain their raw stream encodings. */
export const snapshotGdbCommandRecords = (records: readonly string[]) => {
  const snapshot = [...records];
  return {
    records: snapshot,
    console: snapshot.filter((line) => line.startsWith("~")).join("\n"),
    target: snapshot.filter((line) => line.startsWith("@")).join("\n"),
    log: snapshot.filter((line) => line.startsWith("&")).join("\n"),
  };
};