Frama-C Bug Tracking System - Frama-C | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001194 | Frama-C | Plug-in > scope | public | 2012-06-11 12:09 | 2012-09-19 17:16 |
Reporter | Anne | ||||
---|---|---|---|---|---|
Assigned To | yakobowski | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | Frama-C Nitrogen-20111001 | ||||
Target Version | Fixed in Version | Frama-C Oxygen-20120901 | |||
Summary | 0001194: imprecision in PDG when unreachable statements | ||||
Description | The PDG computation propagates a state that roughly maps zones to PDG nodes. It uses a Lmap_bitwise.Location_map_bitwise. After an unreachable statement, the state is said to be "empty" instead of "bottom", which leads to some imprecision when merging with another state because instead of having: { x --> XXX } U bottom = { x --> XXX } we get : { x --> XXX } U { } = { x --> XXX or SELF } Please, ask if you need more information to fix it. | ||||
Additional Information | Can see the problem with the enclosed script : and pdg_pb.c : int main (void) { int x = 0; char * name = get_name (); if (x > 0) { x ++; } f (name); return x; } $ frama-c pdg_pb.c -load-script pdg_pb.ml | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://bts.frama-c.com/file_download.php?file_id=394&type=bug |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2012-06-11 12:09 | Anne | New Issue | |||
2012-06-11 12:09 | Anne | Status | new => assigned | ||
2012-06-11 12:09 | Anne | Assigned To | => yakobowski | ||
2012-06-11 12:09 | Anne | File Added: pdg_pb.ml | |||
2012-06-11 12:23 | Anne | Note Added: 0003101 | |||
2012-06-12 11:10 | yakobowski | Note Added: 0003104 | |||
2012-06-12 11:15 | Anne | Note Added: 0003105 | |||
2012-06-12 14:26 | Anne | Note Added: 0003106 | |||
2012-06-12 15:19 | yakobowski | Note Added: 0003107 | |||
2012-06-12 15:51 | Anne | Note Added: 0003108 | |||
2012-06-12 17:57 | yakobowski | Note Added: 0003111 | |||
2012-06-12 17:57 | yakobowski | Status | assigned => resolved | ||
2012-06-12 17:57 | yakobowski | Resolution | open => fixed | ||
2012-09-19 17:15 | signoles | Fixed in Version | => Frama-C Oxygen-20120901 | ||
2012-09-19 17:16 | signoles | Status | resolved => closed |