Validity of valid pointer to struct member cannot be verified
ID0000712: This issue was created automatically from Mantis Issue 712. Further discussion may take place here.
Id | Project | Category | View | Due Date | Updated |
---|---|---|---|---|---|
ID0000712 | Frama-C | Plug-in > jessie | public | 2011-02-10 | 2011-02-10 |
Reporter | boris | Assigned To | cmarche | Resolution | open |
Priority | normal | Severity | major | Reproducibility | always |
Platform | - | OS | - | OS Version | - |
Product Version | Frama-C Carbon-20101202-beta2 | Target Version | - | Fixed in Version | - |
Description :
Jessie is unable to verify that &this->v is valid in the code below.
Additional Information :
typedef struct { int v; } A;
//@ requires \valid(this); void bar(int* this);
//@ requires \valid(this); void foo(A* this) { bar(&this->v); // fails to verify }