rea-agents - v2.1.0
    Preparing search index...

    Function parseGhidraSessionInfo

    • Require exact run, provider, and profile identity from the Java bridge.

      Parameters

      • value: JSONType
      • expected: {
            profileDigest: string;
            providerVersion: string;
            runId: string;
            targetSha256: string;
        }

      Returns Result<
          {
              analysis_complete: boolean;
              analysis_timed_out: boolean;
              bridge_version: 4;
              capabilities: (
                  | "analyze_function"
                  | "address_name"
                  | "list_documents"
                  | "list_names"
                  | "list_procedures"
                  | "list_segments"
                  | "list_strings"
                  | "procedure_address"
                  | "procedure_assembly"
                  | "procedure_callees"
                  | "procedure_callers"
                  | "procedure_info"
                  | "procedure_references"
                  | "procedure_pseudo_code"
                  | "resolve_containing_procedure"
                  | "search_procedures"
                  | "search_strings"
                  | "xrefs"
                  | "shutdown"
                  | "ping"
              )[];
              name: "REA Ghidra bridge";
              profile_digest: string;
              provider: { id: "ghidra"; version: string };
              read_only: true;
              run_id: string;
              target: {
                  compiler_spec_id: string;
                  default_address_space: string;
                  image_base: string;
                  language_id: string;
                  name: string;
                  sha256: string;
              };
          },
          Error,
      >