Module ClangTrace.Source
include Absint.TaintTraceElem.S
module Kind : Absint.TaintTraceElem.Kind
val call_site : t -> Absint.CallSite.t
val kind : t -> Kind.t
val make : ?indexes:IStdlib.IntSet.t -> Kind.t -> Absint.CallSite.t -> t
val with_callsite : t -> Absint.CallSite.t -> t
val pp : Absint.TaintTraceElem.F.formatter -> t -> unit
module Set : IStdlib.PrettyPrintable.PPSet with type PPSet.elt = t
type 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 -> Absint.CallSite.t -> Absint.HilExp.t list -> IR.Tenv.t -> spec list
return 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) list
return 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