package dap

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. memory_reference : string;
    (*

    Memory reference to the base location containing the instructions to disassemble.

    *)
  2. offset : int option;
    (*

    Optional offset (in bytes) to be applied to the reference location before disassembling. Can be negative.

    *)
  3. instruction_offset : int option;
    (*

    Optional offset (in instructions) to be applied after the byte offset (if any) before disassembling. Can be negative.

    *)
  4. instruction_count : int;
    (*

    Number of instructions to disassemble starting at the specified location and offset. An adapter must return exactly this number of instructions - any unavailable instructions should be replaced with an implementation-defined 'invalid instruction' value.

    *)
  5. resolve_symbols : bool option;
    (*

    If true, the adapter should attempt to resolve memory addresses and other values to symbolic names.

    *)
}

Arguments for 'disassemble' request.

val make : memory_reference:string -> ?offset:int option -> ?instruction_offset:int option -> instruction_count:int -> ?resolve_symbols:bool option -> unit -> t
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
OCaml

Innovation. Community. Security.