Frama-C:
Plug-ins:
Libraries:

Frama-C API - frama_c_copy

Copying visitor. The Project.t argument specifies in which project the visitor creates the new values. (Technically, the method fill_global_tables is called inside this project.) See File.init_project_from_visitor and create_project_from_visitor for possible uses.

method frama_c_plain_copy : frama_c_visitor

same as plain_copy_visitor but for frama-c specific methods

method current_kf : Frama_c_kernel.Cil_types.kernel_function option

link to the kernel function currently being visited. NB: for copy visitors, the link is to the original kf (anyway, the new kf is created only after the visit is over).

method set_current_kf : Frama_c_kernel.Cil_types.kernel_function -> unit

Internal use only.

method reset_current_kf : unit -> unit

Internal use only.