Module Goblint_lib.LoopTermination

Termination analysis for loops and goto statements (termination).

val loop_counters : GoblintCil.stmt TerminationPreprocessing.VarToStmt.t Stdlib.ref

Contains all loop counter variables (varinfo) and maps them to their corresponding loop statement.

val check_bounded : ('a, 'b, 'c, 'd) Analyses.ctx -> GoblintCil.varinfo -> bool

Checks whether a variable can be bounded.

module Statements : sig ... end

We want to record termination information of loops and use the loop * statements for that. We use this lifting because we need to have a * lattice.

The termination analysis considering loops and gotos