package dap

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

    The address of the instruction. Treated as a hex value if prefixed with '0x', or as a decimal value otherwise.

    *)
  2. instruction_bytes : string option;
    (*

    Optional raw bytes representing the instruction and its operands, in an implementation-defined format.

    *)
  3. instruction : string;
    (*

    Text representing the instruction and its operands, in an implementation-defined format.

    *)
  4. symbol : string option;
    (*

    Name of the symbol that corresponds with the location of this instruction, if any.

    *)
  5. location : Source.t option;
    (*

    Source location that corresponds to this instruction, if any. Should always be set (if available) on the first instruction returned, but can be omitted afterwards if this instruction maps to the same source file as the previous instruction.

    *)
  6. line : int option;
    (*

    The line within the source location that corresponds to this instruction, if any.

    *)
  7. column : int option;
    (*

    The column within the line that corresponds to this instruction, if any.

    *)
  8. end_line : int option;
    (*

    The end line of the range that corresponds to this instruction, if any.

    *)
  9. end_column : int option;
    (*

    The end column of the range that corresponds to this instruction, if any.

    *)
}

Represents a single disassembled instruction.

val make : address:string -> ?instruction_bytes:string option -> instruction:string -> ?symbol:string option -> ?location:Source.t option -> ?line:int option -> ?column:int option -> ?end_line:int option -> ?end_column:int 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.