Skip to content

GitLab

  • Menu
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • 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
  • #2181
Closed
Open
Created Aug 12, 2011 by mantis-gitlab-migration@mantis-gitlab-migration

Jessie Plugin returns an error. Code with struct-statement, cannot be compiled.

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


Id Project Category View Due Date Updated
ID0000923 Frama-C Plug-in > jessie public 2011-08-12 2011-08-12
Reporter jessie_user Assigned To cmarche Resolution open
Priority normal Severity major Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Carbon-20110201 Target Version - Fixed in Version -

Description :

jessie --version: This is Jessie version 2.28, compiled on Mo 25. Jul 11:25:42 CEST 2011

frama-c -version Version: Carbon-20101202-beta2 Compilation date: Fri Jul 22 11:14:08 CEST 2011

The following code for coq theorem prover cannot be compiled. pragma SeparationPolicy (none) resolves the problem, but you have too much goals to proof.

To reproduce: frama-c -jessie -jessie-atp coq test_pointer_global.c

This produces:

frama-c -jessie -jessie-atp coq test_pointer_global.c [kernel] preprocessing with "gcc -C -E -I. -dD test_pointer_global.c" [jessie] Starting Jessie translation [jessie] Producing Jessie files in subdir test_pointer_global.jessie [jessie] File test_pointer_global.jessie/test_pointer_global.jc written. [jessie] File test_pointer_global.jessie/test_pointer_global.cloc written. [jessie] Calling Jessie tool in subdir test_pointer_global.jessie Generating Why function add [jessie] Calling VCs generator. why -coq [...] why/test_pointer_global.why File "why/test_pointer_global.why", line 220, characters 16-44: Unbound variable INTEGER32_erg_1_alloc_table make: *** [coq/test_pointer_global_why.v] Fehler 1 [jessie] user error: Jessie subprocess failed: make -f test_pointer_global.makefile coq

Additional Information :

struct INTEGER32 { long long value; };

typedef struct INTEGER32 int32;

/*@ assigns \nothing;

*/ void add (void){ int32 erg; erg.value = 0;

}

Attachments

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