2021-02-27 10:52 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000926Frama-CPlug-in > wppublic2011-10-10 14:14
Assigned Tocorrenson 
Product VersionFrama-C Carbon-20110201 
Target VersionFixed in VersionFrama-C Nitrogen-20111001 
Summary0000926: wp-plugin does not generate coq *.v goals.
DescriptionWp plugin for carbon-20110201 does not generate coq proover goals.
In carbon-beta2 there is no such error.

frama-c -wp-help
Plug-in name: WP 0.3

frama-c -version
Version: Carbon-20110201

Ocaml-version: 64 bit, we have not GUI installed.

frama-c -wp -wp-out wp_longlong -wp-rte test_wp_longlong.c

ls wp_longlong/

store_add_assert_1_rte_body.txt store_add_assert_2_rte_head.txt store_add_post_1_A_body.txt
store_add_assert_1_rte_head.txt store_add_assert_3_rte_body.txt store_add_post_1_A_head.txt
store_add_assert_2_rte_body.txt store_add_assert_3_rte_head.txt store_env1.txt

There are no *.v coq-files.

Example with another options: (-wp-proof coq)
frama-c -wp -wp-out wp_longlong -wp-proof coq -wp-rte test_wp_longlong.c

wp_longlong Directory with goals to prove contains:
ls wp_longlong/
store_add_assert_1_rte_body.txt store_add_assert_2_rte_head.txt store_add_assert_3_rte_log.txt store_env1.txt wp.vo
store_add_assert_1_rte_head.txt store_add_assert_2_rte_log.txt store_add_post_1_A_body.txt store_env1.v
store_add_assert_1_rte_log.txt store_add_assert_3_rte_body.txt store_add_post_1_A_head.txt store_env1.vo
store_add_assert_2_rte_body.txt store_add_assert_3_rte_head.txt store_add_post_1_A_log.txt store_model.vo

There are no coq *.v files, only store_env1.v without goals to proof.

TagsNo tags attached.
Attached Files
  • c file icon test_wp_longlong.c (251 bytes) 2011-08-15 17:53 -
    struct INTEGER32 {
    //	int value; // Ok
    	long long value; // Fails
    typedef struct INTEGER32 int32;
      	  requires \valid(x) && \valid(y);
    	ensures A:  \valid(x);
    void add (int32* x, int32* y){
    	int32 erg;
    	erg.value = x->value + y->value;
    c file icon test_wp_longlong.c (251 bytes) 2011-08-15 17:53 +




jessie_user (reporter)

I have tried it this on 2 different installations of frama-c (carbon-201102)


correnson (manager)

Use -wp-check coq


correnson (manager)

Better handling of proof-obilgation exports in future release.
Work-around: -wp-check coq

-Issue History
Date Modified Username Field Change
2011-08-15 17:53 jessie_user New Issue
2011-08-15 17:53 jessie_user Status new => assigned
2011-08-15 17:53 jessie_user Assigned To => correnson
2011-08-15 17:53 jessie_user File Added: test_wp_longlong.c
2011-08-15 17:54 jessie_user Note Added: 0002147
2011-09-30 13:31 correnson Note Added: 0002364
2011-09-30 13:32 correnson Note Added: 0002365
2011-09-30 13:32 correnson Status assigned => closed
2011-09-30 13:32 correnson Resolution open => fixed
2011-09-30 13:35 correnson Status closed => resolved
2011-10-10 14:13 signoles Fixed in Version => Frama-C Nitrogen-20111001
2011-10-10 14:14 signoles Status resolved => closed
+Issue History