Anonymous Login Frama-C issues should now be submitted on Frama-C's GitLab
2021-03-06 02:08 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002126Frama-CPlug-in > wppublic2016-01-26 08:43
Assigned Tocorrenson 
Product VersionFrama-C GIT, precise the release id 
Target VersionFixed in VersionFrama-C Magnesium 
Summary0002126: WP crashes on generation of PO for assigns clause (assertion failure in
DescriptionOn the example source below, frama-c -wp reduced.i crashes with the following error:
File "src/wp/", line 491, characters 54-60: Assertion failed

Apparently (by inferring why the offending function in MemVar got called), the p1+0 in the assigns for fn1 leads WP to think that p1 should be instantiated with an array (in particular, if you remove the +0, everything is fine).

-- reduced.i
/*@ assigns *(p1); */
int fn1(char *p1);

  assigns \nothing;
void fn2(void) {
  char pcr_index;
TagsNo tags attached.
Attached Files




correnson (manager)

Proved by Qed.

-Issue History
Date Modified Username Field Change
2015-06-02 08:52 virgile New Issue
2015-06-02 08:52 virgile Status new => assigned
2015-06-02 08:52 virgile Assigned To => correnson
2015-06-29 16:42 correnson Note Added: 0005951
2015-06-29 16:42 correnson Status assigned => resolved
2015-06-29 16:42 correnson Fixed in Version => Frama-C Magnesium
2015-06-29 16:42 correnson Resolution open => fixed
2016-01-26 08:43 signoles Status resolved => closed
+Issue History