Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Charles Southerland
frama-c
Commits
890b6e80
Commit
890b6e80
authored
9 years ago
by
Julien Signoles
Browse files
Options
Downloads
Patches
Plain Diff
search .h in E-ACSL memory model by default
parent
40d1cbce
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/e-acsl/doc/Changelog
+2
-0
2 additions, 0 deletions
src/plugins/e-acsl/doc/Changelog
src/plugins/e-acsl/main.ml
+5
-2
5 additions, 2 deletions
src/plugins/e-acsl/main.ml
with
7 additions
and
2 deletions
src/plugins/e-acsl/doc/Changelog
+
2
−
0
View file @
890b6e80
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
# E-ACSL: the Whole E-ACSL plug-in
# E-ACSL: the Whole E-ACSL plug-in
###############################################################################
###############################################################################
- E-ACSL [2015/05/27] Search .h in the E-ACSL memory model by
default (easier to use declarations like __memory_size).
- E-ACSL [2015/05/27] Compatibility with new Frama-C Sodium option
- E-ACSL [2015/05/27] Compatibility with new Frama-C Sodium option
-frama-c-stdlib.
-frama-c-stdlib.
-* E-ACSL [2015/04/28] Fix bug when using fopen.
-* E-ACSL [2015/04/28] Fix bug when using fopen.
...
...
This diff is collapsed.
Click to expand it.
src/plugins/e-acsl/main.ml
+
5
−
2
View file @
890b6e80
...
@@ -51,9 +51,12 @@ let extended_ast_project: extended_project ref = ref To_be_extended
...
@@ -51,9 +51,12 @@ let extended_ast_project: extended_project ref = ref To_be_extended
let
unmemoized_extend_ast
()
=
let
unmemoized_extend_ast
()
=
let
extend
()
=
let
extend
()
=
let
share
=
Options
.
Share
.
dir
~
error
:
true
()
in
Options
.
feedback
~
level
:
3
"setting kernel options for E-ACSL."
;
Options
.
feedback
~
level
:
3
"setting kernel options for E-ACSL."
;
Kernel
.
CppExtraArgs
.
add
Kernel
.
CppExtraArgs
.
add
(
Pretty_utils
.
sfprintf
" -DE_ACSL_MACHDEP=%s"
(
Kernel
.
Machdep
.
get
()
));
(
Pretty_utils
.
sfprintf
" -DE_ACSL_MACHDEP=%s -I%s/memory_model"
(
Kernel
.
Machdep
.
get
()
)
share
);
Kernel
.
Keep_unused_specified_functions
.
off
()
;
Kernel
.
Keep_unused_specified_functions
.
off
()
;
let
ppc
,
ppk
=
File
.
get_preprocessor_command
()
in
let
ppc
,
ppk
=
File
.
get_preprocessor_command
()
in
let
register
s
=
let
register
s
=
...
@@ -61,7 +64,7 @@ let unmemoized_extend_ast () =
...
@@ -61,7 +64,7 @@ let unmemoized_extend_ast () =
(
File
.
NeedCPP
(
File
.
NeedCPP
(
s
,
(
s
,
ppc
ppc
^
Pretty_utils
.
sfprintf
" -I%s"
(
Options
.
Share
.
dir
~
error
:
true
()
)
,
^
Pretty_utils
.
sfprintf
" -I%s"
share
,
ppk
))
ppk
))
in
in
List
.
iter
register
(
Misc
.
library_files
()
)
List
.
iter
register
(
Misc
.
library_files
()
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment