package p4spectec

  1. Overview
  2. Docs
P4-SpecTec: A mechanization toolchain for the P4 Programming Language

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.2.tar.gz
md5=1a3bc0a385fe1ecf403c019f49aa6de6
sha512=5d20b5821f33e2a3a5419b208606f27c01511994c2b3b1e1cdf4c077056dfd0aa81682af0720e1060ee2bfb0341918fcc4c53159820205a2bc32b725e5c1a714

doc/p4spectec.backend_testgen_neg/Backend_testgen_neg/Config/index.html

Module Backend_testgen_neg.ConfigSource

module DCov_single = Coverage.Dangling.Single
module DCov_multi = Coverage.Dangling.Multi
module Type = Runtime.Type
Sourceval samples_close_miss : int
Sourceval samples_derivation_source : int
Sourceval trials_mutation : int
Sourceval trials_seed : int
Sourceval timeout_seed : int
Sourcetype specenv = {
  1. simulator : (module Sim.SIM);
  2. printer : Lang.Sl.value -> string;
  3. spec : Sim.spec;
  4. relname : string;
  5. tdenv : Runtime.Testgen_neg.Envs.TDEnv.t;
  6. mixopenv : Runtime.Testgen_neg.Envs.MixopEnv.t;
  7. includes_p4 : string list;
}
Sourcetype storage = {
  1. dirname_gen : string;
  2. dirname_log : string;
  3. dirname_query : string;
  4. dirname_close_miss_p4 : string;
  5. dirname_welltyped_p4 : string;
  6. dirname_illtyped_p4 : string;
}
Sourcetype seed = {
  1. mutable cover : DCov_multi.Cover.t;
}
Sourcetype t = {
  1. rand : int;
  2. modes : Modes.t;
  3. specenv : specenv;
  4. storage : storage;
  5. seed : seed;
}
Sourceval init_specenv : Lang.Sl.spec -> string -> string list -> specenv
Sourceval init_storage : string -> storage
Sourceval init_seed : DCov_multi.t -> seed
Sourceval init : int option -> Modes.t -> specenv -> storage -> seed -> t
Sourceval update_hit_seed : t -> string -> bool -> Domain.Lib.IIdSet.t -> unit
Sourceval update_close_miss_seed : t -> string -> Domain.Lib.IIdSet.t -> unit