Module TOPLlib.Topl
val get_proc_attr : IR.Procname.t -> IR.ProcAttributes.t optionget_proc_attr proc_namereturns the attributes ofget_proc_desc proc_name
val get_proc_desc : IR.Procname.t -> IR.Procdesc.t optionReturns a synthesized Procdesc.t, when it corresponds to instrumentation for a TOPL property.
val sourcefile : unit -> IBase.SourceFile.tThe (fake) sourcefile in which synthesized code resides. This function has a side-effect, because that's how
SourceFileworks, so do NOT call when Topl is inactive.
val cfg : unit -> IR.Cfg.tThe CFG of the synthesized code. This function has a side-effect, because that's how
Cfgworks, so do NOT call when Topl is inactive.
val analyze_with_biabduction : (Biabduction.BiabductionSummary.t Absint.InterproceduralAnalysis.t -> Biabduction.BiabductionSummary.t option) -> Biabduction.BiabductionSummary.t Absint.InterproceduralAnalysis.t -> Biabduction.BiabductionSummary.t optionRun biabduction with Topl instrumentation if active. Inserts calls to the TOPL automaton. Mutates the arguments: it is the caller's responsibility to instrument procedures at most once.
val analyze_with_pulse : (Pulselib.PulseSummary.t Absint.InterproceduralAnalysis.t -> Pulselib.PulseSummary.t option) -> Pulselib.PulseSummary.t Absint.InterproceduralAnalysis.t -> Pulselib.PulseSummary.t optionRun pulse with Topl instrumentation if active. Inserts calls to the TOPL automaton. Mutates the arguments: it is the caller's responsibility to instrument procedures at most once.