Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
frama-c
Commits
078a1a27
Commit
078a1a27
authored
Oct 15, 2020
by
Basile Desloges
Browse files
[eacsl] Add tests for memory models compilation
parent
4774cd29
Changes
8
Hide whitespace changes
Inline
Side-by-side
src/plugins/e-acsl/tests/special/e-acsl-bittree-model.c
0 → 100644
View file @
078a1a27
/* run.config_ci, run.config_dev
COMMENT: Compile RTL with bittree memory model
STDOPT:#"-e-acsl-full-mtracking"
MACRO: ROOT_EACSL_GCC_OPTS_EXT --full-mtracking --memory-model bittree
*/
int
main
()
{
return
0
;
}
src/plugins/e-acsl/tests/special/e-acsl-segment-model.c
0 → 100644
View file @
078a1a27
/* run.config_ci, run.config_dev
COMMENT: Compile RTL with segment memory model
STDOPT:#"-e-acsl-full-mtracking"
MACRO: ROOT_EACSL_GCC_OPTS_EXT --full-mtracking --memory-model segment
*/
int
main
()
{
return
0
;
}
src/plugins/e-acsl/tests/special/oracle_ci/e-acsl-bittree-model.res.oracle
0 → 100644
View file @
078a1a27
[e-acsl] beginning translation.
[e-acsl] translation done in project "e-acsl".
src/plugins/e-acsl/tests/special/oracle_ci/e-acsl-segment-model.res.oracle
0 → 100644
View file @
078a1a27
[e-acsl] beginning translation.
[e-acsl] translation done in project "e-acsl".
src/plugins/e-acsl/tests/special/oracle_ci/gen_e-acsl-bittree-model.c
0 → 100644
View file @
078a1a27
/* Generated by Frama-C */
#include "stddef.h"
#include "stdio.h"
int
main
(
void
)
{
int
__retres
;
__e_acsl_memory_init
((
int
*
)
0
,(
char
***
)
0
,(
size_t
)
8
);
__e_acsl_store_block
((
void
*
)(
&
__retres
),(
size_t
)
4
);
__e_acsl_full_init
((
void
*
)(
&
__retres
));
__retres
=
0
;
__e_acsl_delete_block
((
void
*
)(
&
__retres
));
__e_acsl_memory_clean
();
return
__retres
;
}
src/plugins/e-acsl/tests/special/oracle_ci/gen_e-acsl-segment-model.c
0 → 100644
View file @
078a1a27
/* Generated by Frama-C */
#include "stddef.h"
#include "stdio.h"
int
main
(
void
)
{
int
__retres
;
__e_acsl_memory_init
((
int
*
)
0
,(
char
***
)
0
,(
size_t
)
8
);
__e_acsl_store_block
((
void
*
)(
&
__retres
),(
size_t
)
4
);
__e_acsl_full_init
((
void
*
)(
&
__retres
));
__retres
=
0
;
__e_acsl_delete_block
((
void
*
)(
&
__retres
));
__e_acsl_memory_clean
();
return
__retres
;
}
src/plugins/e-acsl/tests/special/oracle_dev/e-acsl-bittree-model.e-acsl.err.log
0 → 100644
View file @
078a1a27
src/plugins/e-acsl/tests/special/oracle_dev/e-acsl-segment-model.e-acsl.err.log
0 → 100644
View file @
078a1a27
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment