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
Deploy
Releases
Container Registry
Model registry
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
pub
frama-c
Commits
e59f37f9
Commit
e59f37f9
authored
11 years ago
by
Julien Signoles
Browse files
Options
Downloads
Patches
Plain Diff
[E-ACSL] hopefully lsl-cloud will be happy
parent
8aa4fa00
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/plugins/e-acsl/Makefile.in
+1
-8
1 addition, 8 deletions
src/plugins/e-acsl/Makefile.in
src/plugins/e-acsl/pre_visit.ml
+3
-1
3 additions, 1 deletion
src/plugins/e-acsl/pre_visit.ml
src/plugins/e-acsl/tests/test_config.in
+1
-1
1 addition, 1 deletion
src/plugins/e-acsl/tests/test_config.in
with
5 additions
and
10 deletions
src/plugins/e-acsl/Makefile.in
+
1
−
8
View file @
e59f37f9
...
...
@@ -220,17 +220,10 @@ include $(FRAMAC_SHARE)/Makefile.dynamic
ifeq
(@MAY_RUN_TESTS@,yes)
ifeq
($(FRAMAC_INTERNAL),yes)
E_ACSL_SHARE
=
-e-acsl-share
./share/e-acsl
else
E_ACSL_SHARE
=
endif
$(E_ACSL_DIR)/tests/test_config
:
$(E_ACSL_DIR)/tests/test_config.in
\
$(E_ACSL_DIR)/Makefile
$(
PRINT_MAKING
)
$@
$(
SED
)
-e
"s|@SHARE@|
$(
E_ACSL_SHARE
)
|g"
\
-e
"s|@SEDCMD@|
`
which
sed
`
|g"
$<
>
$@
$(
SED
)
-e
"s|@SEDCMD@|
`
which
sed
`
|g"
$<
>
$@
endif
...
...
This diff is collapsed.
Click to expand it.
src/plugins/e-acsl/pre_visit.ml
+
3
−
1
View file @
e59f37f9
...
...
@@ -292,7 +292,9 @@ class dup_functions_visitor prj = object (self)
->
self
#
next
()
;
let
name
=
"__e_acsl_"
^
vi
.
vname
in
let
new_vi
=
Project
.
on
prj
(
Cil
.
makeGlobalVar
name
)
vi
.
vtype
in
let
new_vi
=
Project
.
on
prj
(
Cil
.
makeGlobalVar
~
generated
:
true
name
)
vi
.
vtype
in
Cil_datatype
.
Varinfo
.
Hashtbl
.
add
fct_tbl
vi
new_vi
;
Cil
.
DoChildrenPost
(
fun
l
->
match
l
with
...
...
This diff is collapsed.
Click to expand it.
src/plugins/e-acsl/tests/test_config.in
+
1
−
1
View file @
e59f37f9
CMD: @frama-c@
@SHARE@
CMD: @frama-c@
-e-acsl-share ./share/e-acsl
OPT: -e-acsl-check -e-acsl-verbose 0
FILTER:@SEDCMD@ -e "s|[a-zA-Z/\\]\+frama_c_project_e-acsl_[a-z0-9]*|PROJECT_FILE|" -e "s|`readlink -f $FRAMAC_SHARE`|FRAMAC_SHARE|g" -e "s|../../share|FRAMAC_SHARE|g" -e "s|./share/e-acsl|FRAMAC_SHARE/e-acsl|g" -e "s|share/e-acsl|FRAMAC_SHARE/e-acsl|g"
COMMENT: The last regex works around the tendency of Frama-C to transform
...
...
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