Frama-C:
Plug-ins:
Libraries:

Frama-C API - Mt_lib

val compare_tag : 'a -> 'a -> int

Compare the tags of two OCaml values (or their values if they are integers). Can be used to implement the generic cases of compare functions on inductive types. Not for the casual user.

val comp : ('a -> 'b -> int) -> 'a -> 'b -> ('c -> 'd -> int) -> 'c -> 'd -> int
type 'a conversion_with_warning = [
  1. | `Success of 'a
  2. | `WithWarning of (Stdlib.Format.formatter -> unit) * 'a
]

Conversion from something into something else. Returns a formatter that prints the error in case of failure

type 'a conversion = [
  1. | `Success of 'a
  2. | `Failure of Stdlib.Format.formatter -> unit
]
val escape_non_utf8 : string -> string
val clear_value_results : unit -> unit

Clear the results of the value analysis

val mthread_h : unit -> Frama_c_kernel.Filepath.t

Location of the header file "mthread.h"

val sanitize_filename : ?char:char -> string -> string

Remove specialchars forbidden in file names