Goblint_lib.TerminationPreprocessingmodule VarToStmt : sig ... endval counter_ikind : GoblintCil.ikindval counter_typ : GoblintCil.typval min_int_exp : GoblintCil.expclass loopCounterVisitor : GoblintCil.stmt VarToStmt.t ref -> GoblintCil.fundec -> object ... endtype jump = {jump_stmt : GoblintCil.stmt;jump_loc : GoblintCil.location;target_stmt : GoblintCil.stmt;}A jump of a goto (or asm goto) statement jump_stmt at jump_loc to target_stmt.
class jumpCollector : jump list ref -> GoblintCil.stmt list ref -> object ... endCollects the jumps of gotos into jumps and the continue statements of loops into continue_stmts.
val jumps_backwards : jump -> boolWhether jump goes backwards, i.e., to a statement with a smaller or equal sid.
val upjumping_gotos : GoblintCil.fundec -> GoblintCil.location listLocations of the gotos in fd that jump backwards. Jumps to the continue statement of a loop are not included, since the loop counter bounds them. The CFG of fd must already be computed, as this relies on sids and on the continue statements of loops introduced by prepareCFG.