package frama-c

  1. Overview
  2. Docs

doc/frama-c.kernel/Frama_c_kernel/Sanitizer/index.html

Module Frama_c_kernel.Sanitizer

Sanitizer

Keeps only alpha-numerical characters. Separator '_' is allowed, but leading, trailing and consecutive separators are removed.

type buffer
val create : ?truncate:bool -> int -> buffer
val clear : buffer -> unit
val add_sep : buffer -> unit

Adds '_' character

val add_char : buffer -> char -> unit
val add_string : buffer -> string -> unit
val add_list : buffer -> string list -> unit

Separated with '_'

val contents : buffer -> string
OCaml

Innovation. Community. Security.

On This Page
  1. Sanitizer