module RTL:sig
..end
val mk_api_name : string -> string
Prefix a name (of a variable or a function) with a string that identifies it as belonging to the public API of E-ACSL runtime library
val mk_temporal_name : string -> string
Prefix a name (of a variable or a function) with a string that identifies it as belonging to the public API of E-ACSL runtime library dealing with temporal analysis.
val mk_gen_name : string -> string
Prefix a name (of a variable or a function) with a string indicating that this name has been generated during instrumentation phase.
val is_generated_name : string -> bool
true
if the prefix of the given name indicates that it has been
generated by E-ACSL instrumentation (see mk_gen_name
function).val is_generated_kf : Cil_types.kernel_function -> bool
Same as is_generated_name
but for kernel functions
val is_rtl_name : string -> bool
true
if the prefix of the given name indicates that it
belongs to the public API of the E-ACSL Runtime Libraryval is_generated_literal_string_name : string -> bool
Same as is_generated_name
but indicates that the name represents a local
variable that replaced a literal string.
val get_original_name : Cil_types.kernel_function -> string
Retrieve the name of the kernel function and strip prefix that indicates that it has been generated by the instrumentation.
val get_rtl_replacement_name : string -> string
Given the name of C library function return the name of the RTL function that potentially replaces it.
val has_rtl_replacement : string -> bool
Given the name of C library function return true if there is a drop-in replacement function for it in the RTL.