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
b72bf1fd
Commit
b72bf1fd
authored
2 years ago
by
David Bühler
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] API: exports analysis computation state and hook.
parent
8e3ec58b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/value/engine/analysis.mli
+12
-13
12 additions, 13 deletions
src/plugins/value/engine/analysis.mli
with
12 additions
and
13 deletions
src/plugins/value/engine/analysis.mli
+
12
−
13
View file @
b72bf1fd
...
...
@@ -74,19 +74,6 @@ val register_hook: ((module S) -> unit) -> unit
is changed. This happens when a new analysis is run with different
abstractions than before, or when the current project is changed. *)
type
computation_state
=
NotComputed
|
Computing
|
Computed
|
Aborted
(** Computation state of the analysis. *)
val
current_computation_state
:
unit
->
computation_state
(** Get the current computation state of the analysis, updated by
[force_compute] and states updates. *)
val
register_computation_hook
:
?
on
:
computation_state
->
(
computation_state
->
unit
)
->
unit
(** Registers a hook that will be called each time the analysis starts or
finishes. If [on] is given, the hook will only be called when the
analysis switches to this specific state. *)
val
force_compute
:
unit
->
unit
(** Perform a full analysis, starting from the [main] function. *)
...
...
@@ -106,6 +93,18 @@ val is_computed : unit -> bool
val
self
:
State
.
t
(** Internal state of Eva analysis from projects viewpoint. *)
type
computation_state
=
NotComputed
|
Computing
|
Computed
|
Aborted
(** Computation state of the analysis. *)
val
current_computation_state
:
unit
->
computation_state
(** Get the current computation state of the analysis, updated by
[force_compute] and states updates. *)
val
register_computation_hook
:
?
on
:
computation_state
->
(
computation_state
->
unit
)
->
unit
(** Registers a hook that will be called each time the analysis starts or
finishes. If [on] is given, the hook will only be called when the
analysis switches to this specific state. *)
(** Kind of results for the analysis of a function body. *)
type
results
=
...
...
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