Summary: Seems logical. Reviewed By: ezgicicek Differential Revision: D21022922 fbshipit-source-id: 1b8546332master
parent
c00de7ad27
commit
a0d1fee1dc
@ -0,0 +1,26 @@
|
||||
(*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*)
|
||||
|
||||
open! IStd
|
||||
module F = Format
|
||||
|
||||
module SkippedTrace = struct
|
||||
type t = PulseTrace.t [@@deriving compare]
|
||||
|
||||
let pp fmt =
|
||||
PulseTrace.pp fmt ~pp_immediate:(fun fmt ->
|
||||
F.pp_print_string fmt "call to skipped function occurs here" )
|
||||
|
||||
|
||||
let leq ~lhs ~rhs = phys_equal lhs rhs
|
||||
|
||||
let join s1 _ = s1
|
||||
|
||||
let widen ~prev ~next ~num_iters:_ = join prev next
|
||||
end
|
||||
|
||||
include AbstractDomain.Map (Procname) (SkippedTrace)
|
@ -0,0 +1,10 @@
|
||||
(*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*)
|
||||
|
||||
open! IStd
|
||||
|
||||
include AbstractDomain.MapS with type key = Procname.t and type value = PulseTrace.t
|
Loading…
Reference in new issue