Frama-C Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000923Frama-CPlug-in > jessiepublic2011-08-12 15:262011-08-12 15:26
Reporterjessie_user 
Assigned Tocmarche 
PrioritynormalSeveritymajorReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Product VersionFrama-C Carbon-20110201 
Target VersionFixed in Version 
Summary0000923: Jessie Plugin returns an error. Code with struct-statement, cannot be compiled.
Descriptionjessie --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 Informationstruct INTEGER32 {
    long long value;
};

typedef struct INTEGER32 int32;

/*@
    assigns \nothing;

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

}

TagsNo tags attached.
Attached Filesc file icon test_pointer_global.c [^] (150 bytes) 2011-08-12 15:26 [Show Content]

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-08-12 15:26 jessie_user New Issue
2011-08-12 15:26 jessie_user Status new => assigned
2011-08-12 15:26 jessie_user Assigned To => cmarche
2011-08-12 15:26 jessie_user File Added: test_pointer_global.c


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker