(* * 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. *) open! IStd module type Kind = sig include TraceElem.Kind (** return Some kind if the given procname/actuals are a sink, None otherwise *) val get : Typ.Procname.t -> HilExp.t list -> Tenv.t -> (t * IntSet.t) option end module type S = sig include TraceElem.S (** return Some sink if the given call site/actuals are a sink, None otherwise *) val get : CallSite.t -> HilExp.t list -> Tenv.t -> t option (** return the indexes where taint can flow into the sink *) val indexes : t -> IntSet.t end module Make (Kind : Kind) : S with module Kind = Kind