Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F frama-c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 168
    • Issues 168
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • frama-c
  • Issues
  • #932

Option -wp-qed-checks generates invalid At-Ergo files

ID0002031: This issue was created automatically from Mantis Issue 2031. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0002031 Frama-C Plug-in > wp public 2014-12-15 2014-12-16
Reporter dmentre Assigned To correnson Resolution no change required
Priority normal Severity minor Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Neon-20140301 Target Version - Fixed in Version -

Description :

When running Frama-C / WP with -wp-qed-checks option, most of generated ALt-Ergo files are truncated and thus invalid.

For example, on following file: """ /*@ requires 0 <= x <= 10; ensures 1 <= \result <= 11; */ int f(int x) { return x + 1; } """

and calling Frama-C with: frama-c -wp-out out -wp -wp-qed-checks f_wp.c

Here is one of generated files: """ $ cat out/typed/Qed_19_20.ergo (* ---------------------------------------------------------- ) ( --- Qed-19-20 --- ) ( ---------------------------------------------------------- *)

goal Qed_19_20: (0 < """

Best regards, david

Steps To Reproduce :

$ cat > f_wp.c /*@ requires 0 <= x <= 10; ensures 1 <= \result <= 11; */ int f(int x) { return x + 1; } ^D

$ frama-c -wp-out out -wp -wp-qed-checks f_wp.c

$ cat out/typed/Qed_19_20.ergo

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking