Spec.Sourceinclude TaintTraceElem.Sinclude Ppx_compare_lib.Comparable.S with type t := tval compare : t Base__Ppx_compare_lib.compareinclude Ppx_compare_lib.Equal.S with type t := tval equal : t Base__Ppx_compare_lib.equalmodule Kind : TaintTraceElem.Kindval call_site : t -> CallSite.tval make : ?indexes:IStdlib.IntSet.t -> Kind.t -> CallSite.t -> tval with_callsite : t -> CallSite.t -> tval pp : Absint.TaintTraceElem.F.formatter -> t -> unitmodule Set : IStdlib.PrettyPrintable.PPSet with type elt = ttype spec = {source : t;type of the returned source
*)index : int option;index of the returned source if Some; return value if None
*)}val get :
caller_pname:IR.Procname.t ->
CallSite.t ->
HilExp.t list ->
IR.Tenv.t ->
spec listreturn Some (taint spec) if the call site with the given actuals is a taint source, None otherwise
val get_tainted_formals :
IR.Procdesc.t ->
IR.Tenv.t ->
(IR.Mangled.t * IR.Typ.t * t option) listreturn each formal of the function paired with either Some(source) if the formal is a taint source, or None if the formal is not a taint source