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
f440916e
Commit
f440916e
authored
4 years ago
by
Valentin Perrelle
Committed by
Virgile Prevosto
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] Export a function to enable global value partitioning
parent
e00de35e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/plugins/value/Eva.mli
+4
-0
4 additions, 0 deletions
src/plugins/value/Eva.mli
src/plugins/value/value_parameters.ml
+3
-0
3 additions, 0 deletions
src/plugins/value/value_parameters.ml
src/plugins/value/value_parameters.mli
+4
-0
4 additions, 0 deletions
src/plugins/value/value_parameters.mli
with
11 additions
and
0 deletions
src/plugins/value/Eva.mli
+
4
−
0
View file @
f440916e
...
@@ -40,6 +40,10 @@ module Value_parameters: sig
...
@@ -40,6 +40,10 @@ module Value_parameters: sig
to interpret calls to function [kf].
to interpret calls to function [kf].
Raises [Not_found] if there is no builtin of name [name]. *)
Raises [Not_found] if there is no builtin of name [name]. *)
val
use_builtin
:
Cil_types
.
kernel_function
->
string
->
unit
val
use_builtin
:
Cil_types
.
kernel_function
->
string
->
unit
(** [use_global_value_partitioning vi] instructs the analysis to use
value partitioning on the global variable [vi]. *)
val
use_global_value_partitioning
:
Cil_types
.
varinfo
->
unit
end
end
module
Eval_terms
:
sig
module
Eval_terms
:
sig
...
...
This diff is collapsed.
Click to expand it.
src/plugins/value/value_parameters.ml
+
3
−
0
View file @
f440916e
...
@@ -800,6 +800,9 @@ module ValuePartitioning =
...
@@ -800,6 +800,9 @@ module ValuePartitioning =
end
)
end
)
let
()
=
add_precision_dep
ValuePartitioning
.
parameter
let
()
=
add_precision_dep
ValuePartitioning
.
parameter
let
use_global_value_partitioning
vi
=
ValuePartitioning
.
add
vi
.
Cil_types
.
vname
let
()
=
Parameter_customize
.
set_group
precision_tuning
let
()
=
Parameter_customize
.
set_group
precision_tuning
module
SplitLimit
=
module
SplitLimit
=
Int
Int
...
...
This diff is collapsed.
Click to expand it.
src/plugins/value/value_parameters.mli
+
4
−
0
View file @
f440916e
...
@@ -228,6 +228,10 @@ val enabled_domains: unit -> (string * string) list
...
@@ -228,6 +228,10 @@ val enabled_domains: unit -> (string * string) list
builtin `b`. *)
builtin `b`. *)
val
use_builtin
:
Cil_types
.
kernel_function
->
string
->
unit
val
use_builtin
:
Cil_types
.
kernel_function
->
string
->
unit
(** [use_global_value_partitioning vi] enable value partitioning on the global
variable `vi`. *)
val
use_global_value_partitioning
:
Cil_types
.
varinfo
->
unit
(*
(*
Local Variables:
Local Variables:
compile-command: "make -C ../../.."
compile-command: "make -C ../../.."
...
...
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