package binsec

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type entry = {
  1. addresses : int Interval.t;
  2. path : string;
  3. line : int;
  4. column : int;
  5. is_stmt : bool;
  6. basic_block : bool;
  7. discriminator : int;
}

represent one or more rows of the addresse / line matrix addresses the range of virtual addresses of the entry path the path of the processed file line the line of the source (starting from 1) column the column (non reliable, old compilers do not produce it) is_stmt if the entry correspond to a statement in the source basic_block if the entry is the start of a basic block discriminator an integer identifying the block to which the entry belong

type t
val load : Loader.Img.t -> t

load img extract and interpret the content of .debug_line section

val fold : ('a -> entry -> 'a) -> 'a -> t -> 'a

fold f line iterate through the line matrix

val iter : (entry -> unit) -> t -> unit

iter f line same as fold but without return

include Sigs.PRINTABLE with type t := t
val pp : Stdlib.Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.