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.
inherit Frama_c_kernel.Cil.cilVisitor
method frama_c_plain_copy : frama_c_visitor
same as plain_copy_visitor but for frama-c specific methods
method vstmt_aux : Frama_c_kernel.Cil_types.stmt -> Frama_c_kernel.Cil_types.stmt Frama_c_kernel.Cil.visitAction
Replacement of vstmt.
method vglob_aux : Frama_c_kernel.Cil_types.global -> Frama_c_kernel.Cil_types.global list Frama_c_kernel.Cil.visitAction
Replacement of vglob.
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.