package binsec

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val uleb128 : cursor -> Loader_types.u64
val sleb128 : cursor -> Loader_types.s64
val bytes : cursor -> int -> string

bytes t len reads a string of exactly len bytes from t

val fixed_string : cursor -> int -> string

fixed_string t len reads a string of maximum len bytes from t, then advance to exactly len bytes.

val zero_string : string -> cursor -> ?maxlen:int -> unit -> string

zero_string msg t ?maxlen () reads a zero-terminated string from t, * stopping at the first zero or when maxlen is reached, if it was * provided.

OCaml

Innovation. Community. Security.