Skip to content
Snippets Groups Projects
Commit 2d8a008b authored by Julien Signoles's avatar Julien Signoles
Browse files

Merge branch 'bugfix/kostyantyn/mmodel-initializers' into 'master'

Bugfix in memory model initialization

The E-ACSL instrumentation engine does instrument `__e_acsl_memory_init` function (which initializes a memory model) if there are no variables to track. This is a shortcoming because a program might still need to track its memory state, for instance the following program: 

```
int main(void) {
    /* Allocation increases */
    char *a = malloc(7);
    /* @assert (__heap_size == 7);  */
}
``` 
This merge request suggests a fix for this issue.


See merge request !42
parents d2b54b02 e71e9f81
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment