View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000932 | Frama-C | Kernel | public | 2011-08-23 16:09 | 2014-02-12 16:58 | ||||
Reporter | signoles | ||||||||
Assigned To | signoles | ||||||||
Priority | low | Severity | tweak | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Product Version | Frama-C Carbon-20110201 | ||||||||
Target Version | Fixed in Version | Frama-C Oxygen-20120901 | |||||||
Summary | 0000932: Journalisation of dynamic functions using abstract types does not work | ||||||||
Description | All in the title... | ||||||||
Steps To Reproduce | With the attached files, run: $ frama-c -load-script cpt.ml -load-script use.ml -journal-enable Then read the generated journal. | ||||||||
Additional Information | For fixing this issue, the journal must generate "let module" in such cases. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
![]() |
|
signoles (manager) 2011-08-23 16:10 |
Seem not possible to load 2 different files... Here is cpt.ml: let mk () = ref 0 let incr c = incr c; !c include Datatype.Make(struct (* order of lines below does matter *) include Datatype.Serializable_undefined include Datatype.Ref(Datatype.Int) let name = "Cpt.t" end) let mk = Dynamic.register ~journalize:true ~plugin:"Cpt" "mk" (Datatype.func Datatype.unit ty) mk let incr = Dynamic.register ~journalize:true ~plugin:"Cpt" "incr" (Datatype.func ty Datatype.int) incr |
signoles (manager) 2012-07-31 11:48 |
Generating "let module" in journal is pretty cool :). |
signoles (manager) 2014-02-12 16:58 |
Fix committed to stable/neon branch. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-08-23 16:09 | signoles | New Issue | |
2011-08-23 16:09 | signoles | Status | new => assigned |
2011-08-23 16:09 | signoles | Assigned To | => signoles |
2011-08-23 16:09 | signoles | File Added: use.ml | |
2011-08-23 16:10 | signoles | Note Added: 0002163 | |
2011-08-23 16:10 | signoles | Status | assigned => confirmed |
2012-07-31 11:48 | svn | ||
2012-07-31 11:48 | svn | Status | confirmed => resolved |
2012-07-31 11:48 | svn | Resolution | open => fixed |
2012-07-31 11:48 | signoles | Note Added: 0003343 | |
2012-09-19 17:15 | signoles | Fixed in Version | => Frama-C Oxygen-20120901 |
2012-09-19 17:16 | signoles | Status | resolved => closed |
2013-12-19 01:11 | signoles | Source_changeset_attached | => framac master 34e2e221 |
2014-02-12 16:53 | signoles | Source_changeset_attached | => framac stable/neon 34e2e221 |
2014-02-12 16:58 | signoles | Note Added: 0004629 | |
2014-02-12 16:58 | signoles | Status | closed => resolved |