Commit 272e20ed authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[Eva] Fix a few typos

parent 1fb898cc
......@@ -362,7 +362,7 @@ module type S = sig
that depend on the memory location [loc].
If the first argument is not None, it contains the logical clause being
interpreted and the pre-state in which the terms of the clause are
evaluated. The clause can be an \assign, \allocated or \free clause.
evaluated. The clause can be an assigns, allocates or frees clause.
[loc] is then the memory location concerned by the clause. *)
val logic_assign: (logic_assign * state) option -> location -> state -> state
......
......@@ -286,7 +286,7 @@ module Restrict
(* This module propagates states of type [(state * mode) option]:
- None is propagated as long as no functions from [Scope.functions]
is analyzed.
are analyzed.
- then the current [mode] is propagated alongside the state. Queries and
transfer functions are applied accordingly. The current mode is replaced
at function calls by [mode.calls]. *)
......@@ -422,7 +422,7 @@ module Restrict
(* Starts an analysis at call [call] with state [state]. The domain was not
enabled before this call: the concrete arguments may contain variables that
have never been introduced into the state, so we should not use them. This
function only introduce the formal parameters in the state. *)
function only introduces the formal parameters in the state. *)
let start_analysis call state =
let formals = List.map (fun argument -> argument.formal) call.arguments in
let kind = Abstract_domain.Formal call.kf in
......
......@@ -20,7 +20,7 @@
(* *)
(**************************************************************************)
(** This module defines the mode to restrict an abstract domains on specific
(** This module defines the mode to restrict an abstract domain on specific
functions. *)
(** Permission for an abstract domain to read/write its state.
......
......@@ -25,9 +25,9 @@
(** {2 Registration of abstractions.} *)
(** Dynamic registration of the abstractions to be used in an Eva analysis:
- value abstractions, detailled in the {Abstract_value} signature;
- location abstractions, detailled in the {Abstract_location} signature;
- state abstractions, or abstract domains, detailled in {Abstract_domain}.
- value abstractions, detailed in the {Abstract_value} signature;
- location abstractions, detailed in the {Abstract_location} signature;
- state abstractions, or abstract domains, detailed in {Abstract_domain}.
*)
(** Module types of value abstractions: either a single leaf module, or
......@@ -138,7 +138,7 @@ val register_hook: ((module S) -> (module S)) -> unit
(** {2 Configuration of an analysis.} *)
(** Configuration defining the abstractions to be used in an analysis.
A configuration is a set of flags, i.e. a set of abstract domain. Each flag
A configuration is a set of flags, i.e. a set of abstract domains. Each flag
comes with an optional mode. None is the default mode: the given domain is
enabled for the whole analysis. See {!Domain_mode} for more details. *)
module Config : sig
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment