Frama-C API - FileIndex
Globals associated to filename.
val self : State.tThe state kind corresponding to the table of global C symbols.
Getters
val get_symbols : Filepath.t -> Cil_types.global listAll global C symbols of the given module.
val get_files : unit -> Filepath.t listGet the files list containing all global C symbols.
Searching among all global C symbols
val get_globals : Filepath.t -> (Cil_types.varinfo * Cil_types.initinfo) listGlobal variables of the given module for the kernel user interface
val get_global_annotations : Filepath.t -> Cil_types.global_annotation listGlobal annotations of the given module for the kernel user interface
val get_functions : ?declarations:bool -> Filepath.t -> Cil_types.kernel_function listGlobal functions of the given module for the kernel user interface. If declarations is true, functions declared in a module but defined in another module are only reported in the latter (default is false).
val kernel_function_of_local_var_or_param_varinfo : Cil_types.varinfo -> Cil_types.kernel_function * boolkernel_function where the local variable or formal parameter is declared. The boolean result is true for a formal parameter.
val remove_global_annotations : Cil_types.global_annotation -> unit