package binsec

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Dwarf.LinesSource

Sourcetype entry = {
  1. addresses : Binsec_base.Virtual_address.t Binsec_base.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

Sourcetype t

load img extract and interpret the content of .debug_line section

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

fold f line iterate through the line matrix

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

iter f line same as fold but without return

include Binsec_base.Sigs.PRINTABLE with type t := t
Sourceval pp : Format.formatter -> t -> unit