package soteria

  1. Overview
  2. Docs
Soteria is a toolkit for writing symbolic bug-finding tools

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.2.3.tar.gz
md5=22e0fc3f97555ac35b96fae10817a887
sha512=10457c9d1302e3f3018dca652cdf81f0cdfd461a79eca1a8a8b754e964a47f7f35c10a8c07aff8f5193ee7e794440635d788d91925ce75fb8280b60b4f0d6663

doc/soteria/Soteria/Symex/Fuel_gauge/index.html

Module Symex.Fuel_gauge

type exhaust =
  1. | Exhausted
  2. | Not_exhausted
module Fuel_value : sig ... end
type t = {
  1. steps : Fuel_value.t;
    (*

    The number of steps that can be taken per branch.

    *)
  2. branching : Fuel_value.t;
    (*

    Number of times branching happens. Careful, the total number of branches is potentially exponential in the number of branchings

    *)
}
val infinite : t
val is_infinite : t -> bool
val consume_fuel_steps : int -> t -> exhaust * t
val consume_branching : int -> t -> exhaust * t
val take_branches : 'a Soteria.Soteria_std.List.t -> t -> 'a Soteria.Soteria_std.List.t * t

Receives a list and a fuel gauge and returns a list that contains at most as many elements as the fuel gauge allows. It also returns the updated fuel gauge.

module Cli : sig ... end