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.
37 lines
856 B
37 lines
856 B
9 years ago
|
(*
|
||
|
* Copyright (c) 2016 - present Facebook, Inc.
|
||
|
* All rights reserved.
|
||
|
*
|
||
|
* This source code is licensed under the BSD style license found in the
|
||
|
* LICENSE file in the root directory of this source tree. An additional grant
|
||
|
* of patent rights can be found in the PATENTS file in the same directory.
|
||
|
*)
|
||
|
|
||
8 years ago
|
open! IStd
|
||
9 years ago
|
|
||
9 years ago
|
module type S = sig
|
||
9 years ago
|
module CFG : ProcCfg.S
|
||
8 years ago
|
module Domain : AbstractDomain.S
|
||
|
|
||
|
type extras
|
||
8 years ago
|
type instr
|
||
|
|
||
|
val exec_instr : Domain.astate -> extras ProcData.t -> CFG.node -> instr -> Domain.astate
|
||
|
end
|
||
|
|
||
|
module type SIL = sig
|
||
|
include (S with type instr := Sil.instr)
|
||
|
end
|
||
|
|
||
|
module type HIL = sig
|
||
|
include (S with type instr := HilInstr.t)
|
||
|
end
|
||
8 years ago
|
|
||
8 years ago
|
module type MakeSIL = functor (C : ProcCfg.S) -> sig
|
||
|
include (SIL with module CFG = C)
|
||
9 years ago
|
end
|
||
9 years ago
|
|
||
8 years ago
|
module type MakeHIL = functor (C : ProcCfg.S) -> sig
|
||
|
include (HIL with module CFG = C)
|
||
9 years ago
|
end
|