Skip to content
Snippets Groups Projects
Commit aa45ddc7 authored by Julien Signoles's avatar Julien Signoles
Browse files

propagate kernel changes (split of Plugin)

parent 80230733
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,7 @@ module Full_mmodel = ...@@ -83,7 +83,7 @@ module Full_mmodel =
let help = "maximal memory-related instrumentation" let help = "maximal memory-related instrumentation"
end) end)
let () = Plugin.set_group help let () = Parameter_customize.set_group help
module Version = module Version =
False False
(struct (struct
......
...@@ -20,17 +20,15 @@ ...@@ -20,17 +20,15 @@
(* *) (* *)
(**************************************************************************) (**************************************************************************)
open Plugin include Plugin.S (** implementation of Log.S for E-ACSL *)
include S (** implementation of Log.S for E-ACSL *) module Check: Parameter_sig.Bool
module Run: Parameter_sig.Bool
module Check: Bool module Valid: Parameter_sig.Bool
module Run: Bool module Prepare: Parameter_sig.Bool
module Valid: Bool module Gmp_only: Parameter_sig.Bool
module Prepare: Bool module Full_mmodel: Parameter_sig.Bool
module Gmp_only: Bool module Project_name: Parameter_sig.String
module Full_mmodel: Bool
module Project_name: String
val must_visit: unit -> bool val must_visit: unit -> bool
......
...@@ -358,7 +358,7 @@ if there are memory-related annotations.@]" ...@@ -358,7 +358,7 @@ if there are memory-related annotations.@]"
f) f)
initializer initializer
Project.copy ~selection:(Plugin.get_selection ()) prj; Project.copy ~selection:(Parameter_state.get_selection ()) prj;
reset () reset ()
end end
......
...@@ -239,8 +239,7 @@ let type_constant ty = function ...@@ -239,8 +239,7 @@ let type_constant ty = function
| LStr _ | LWStr _ | LReal _ | LEnum _ -> No_integral ty | LStr _ | LWStr _ | LReal _ | LEnum _ -> No_integral ty
let size_of ty = let size_of ty =
try int_to_interv (Cil.bytesSizeOf ty) (* Fluorine version: try int_to_interv (Cil.bytesSizeOf ty)
(Cil.sizeOf_int ty) *)
with Cil.SizeOfError _ -> eacsl_typ_of_typ Cil.ulongLongType with Cil.SizeOfError _ -> eacsl_typ_of_typ Cil.ulongLongType
let align_of ty = int_to_interv (Cil.bytesAlignOf ty) let align_of ty = int_to_interv (Cil.bytesAlignOf ty)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment