package binsec

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

General BINSEC related utilities

exception UserFriendlyParseError of string

the exception for errors in read_* functions. Use `to_string` on it to get * a user-friendly error message

val read_file : parser:('a -> Stdlib.Lexing.lexbuf -> 'b) -> lexer:'a -> filename:string -> 'b

parses a file with nice error messages

val read_string : parser:('a -> Stdlib.Lexing.lexbuf -> 'b) -> lexer:'a -> string:string -> 'b

parses the content of a string with nice error messages

val read_dba_file : string -> Dba_types.program
exception Invalid_dba_string of string
val instruction_of_string : string -> Dba.Instr.t
OCaml

Innovation. Community. Security.