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
c8f85d9f
Commit
c8f85d9f
authored
6 years ago
by
Julien Signoles
Browse files
Options
Downloads
Patches
Plain Diff
comments
parent
275b0201
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/e-acsl/interval_system.ml
+3
-4
3 additions, 4 deletions
src/plugins/e-acsl/interval_system.ml
with
3 additions
and
4 deletions
src/plugins/e-acsl/interval_system.ml
+
3
−
4
View file @
c8f85d9f
...
@@ -124,10 +124,10 @@ let build ~infer t =
...
@@ -124,10 +124,10 @@ let build ~infer t =
let
args_lty
=
List
.
map2
let
args_lty
=
List
.
map2
(
fun
lv
arg
->
(
fun
lv
arg
->
try
try
(* speed-up convergence *)
(* speed-up convergence; because of this approximation, no need to
associate [i] to [lv] in [Interval.Env]: the very same interval
will be computed anyway. *)
let
i
=
interv_of_typ_containing_interv
(
infer
arg
)
in
let
i
=
interv_of_typ_containing_interv
(
infer
arg
)
in
(* TODO: *)
(* Env.add lv i;*)
Ctype
(
TInt
(
ikind_of_interv
i
,
[]
))
Ctype
(
TInt
(
ikind_of_interv
i
,
[]
))
with
with
|
Cil
.
Not_representable
->
Linteger
|
Cil
.
Not_representable
->
Linteger
...
@@ -151,7 +151,6 @@ let build ~infer t =
...
@@ -151,7 +151,6 @@ let build ~infer t =
let
ieqs
=
Ivar
.
Map
.
add
ivar
iexp
ieqs
in
let
ieqs
=
Ivar
.
Map
.
add
ivar
iexp
ieqs
in
ieqs
,
ivars
ieqs
,
ivars
in
in
(* List.iter (fun lv -> Env.remove lv) li.l_profile;*)
Ivar
ivar
,
ieqs
,
ivars
Ivar
ivar
,
ieqs
,
ivars
end
else
end
else
(
try
Iconst
(
infer
t
)
,
ieqs
,
ivars
(
try
Iconst
(
infer
t
)
,
ieqs
,
ivars
...
...
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