module Metrics_base:sig..end
Defining base metrics and operations on those
val html_tag_functions : Format.formatter_tag_functions
val mk_hdr : int -> Format.formatter -> string -> unitlevel ppf hdr_strg produces a title from hdr_strg with an
underline of the same length.
The character of the underline is set according to level:module BasicMetrics:sig..end
module VInfoMap:FCMap.Swith type key = Cil_types.varinfo
module VInfoSet:FCSet.Swith type elt = Cil_types.varinfo
val pretty_set : Format.formatter -> int VInfoMap.t -> unit
Other pretty-printing and formatting utilities
val pretty_extern_vars : Format.formatter -> VInfoSet.t -> unit
val number_entry_points : int VInfoMap.t -> intval pretty_entry_points : Format.formatter -> int VInfoMap.t -> unit
val file_of_vinfodef : Cil_types.varinfo -> stringval file_of_fundef : Cil_types.fundec -> stringval extract_fundef_name : Cabs.single_name -> string
val get_filename : Cabs.definition -> string
type output_type =
| |
Html |
| |
Text |
val get_file_type : string -> output_typeextension sets the output type according to extension.
Raises an error if extension is not among supported extensions or is empty.val consider_function : Cil_types.varinfo -> boolvinfo returns false if the varinfo is not a function we
are interested in.
For example, builtins should not be part of the analysis and return false.
Skip them using this auxiliary function.val consider_variable : Cil_types.varinfo -> boolconsider_variable vinfo returns false if the varinfo is not an object
variable we are interested in. Currently excluded variables are those
declared with attribute __FRAMA_C_MODEL__val float_to_string : float -> string