Frama-C API - Types
Types, or type-related information.
The two functions below are suitable for use in functor Logic_typing.Make
val find_enum_tag : string -> Cil_types.exp * Cil_types.typFind an enum constant from its name in the AST.
val mem_type : Logic_typing.type_namespace -> string -> boolval find_type : Logic_typing.type_namespace -> string -> Cil_types.typFind a type from its name in the AST.
val iter_types : (string -> Cil_types.typ -> Logic_typing.type_namespace -> unit) -> unitIteration on named types (typedefs, structs, unions, enums). The first argument is the name of type.
val global : Logic_typing.type_namespace -> string -> Cil_types.globalFind the global that defines the corresponding type.
