You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
666 B
21 lines
666 B
6 years ago
|
(*
|
||
6 years ago
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
6 years ago
|
*
|
||
|
* This source code is licensed under the MIT license found in the
|
||
|
* LICENSE file in the root directory of this source tree.
|
||
|
*)
|
||
|
|
||
|
(** The analysis' semantics of control flow. *)
|
||
|
|
||
6 years ago
|
type exec_opts =
|
||
|
{ bound: int (** Loop/recursion unrolling bound *)
|
||
5 years ago
|
; skip_throw: bool (** Treat throw as unreachable *)
|
||
5 years ago
|
; function_summaries: bool (** Use function summarisation *)
|
||
5 years ago
|
; entry_points: string list
|
||
5 years ago
|
; globals: Domain_used_globals.r }
|
||
6 years ago
|
|
||
5 years ago
|
module Make (Dom : Domain_intf.Dom) : sig
|
||
5 years ago
|
val exec_pgm : exec_opts -> Llair.t -> unit
|
||
5 years ago
|
val compute_summaries : exec_opts -> Llair.t -> Dom.summary list Reg.Map.t
|
||
5 years ago
|
end
|