Frama-C-discuss mailing list archives
This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Frama-c-discuss] How to specify the options when calling wp_compute?
- Subject: [Frama-c-discuss] How to specify the options when calling wp_compute?
- From: njucslzh0714 at gmail.com (刘自恒)
- Date: Thu, 3 Nov 2011 22:24:07 +0800
- In-reply-to: <CALiiei44YrBTUXN609VgLXd1xRNcVEDObkvT4BYA_aJfCcYaAw@mail.gmail.com>
- References: <CALiiei44YrBTUXN609VgLXd1xRNcVEDObkvT4BYA_aJfCcYaAw@mail.gmail.com>
Hi, I have specified the options already. I used the version-Carbon before and the way you said is not supported. Now I move my work to Nitrogen and it works. I find a small problem. If wp plugin is loaded as follow: let module OLS = Datatype.Option(Datatype.List(Datatype.String)) in let module OKF = Datatype.Option(Kernel_function) in let module OP = Datatype.Option(Property) in let wp_compute = Dynamic.get ~plugin:"Wp" "wp_compute" (Datatype.func3 OKF.ty OLS.ty OP.ty Datatype.unit) in wp_compute (Some(kf)) bhv (Some(ip)); and the type of bhv is: string list option When the value of bhv as None(another case is not tested), it will raise an exception ,described as follow: Unexpected error (Type.Make_tbl(Key)(Info).Incompatible_type("Wp.wp_compute has type Cil_datatype.Kf.t option -> string list -> identified property option -> unit but is used with type Cil_datatype.Kf.t option -> string list option -> identified property option -> unit.")). I wonder how it is. Thank you for your kindness. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20111103/79aa8cfc/attachment.htm>
- References:
- [Frama-c-discuss] How to specify the options when calling wp_compute?
- From: njucslzh0714 at gmail.com (刘自恒)
- [Frama-c-discuss] How to specify the options when calling wp_compute?
- Prev by Date: [Frama-c-discuss] Code doesn't verify anymore with new Frama-C/Jessie release
- Next by Date: [Frama-c-discuss] How to specify the options when calling wp_compute?
- Previous by thread: [Frama-c-discuss] How to specify the options when calling wp_compute?
- Next by thread: [Frama-c-discuss] How to specify the options when calling wp_compute?
- Index(es):