Skip to main content

Module trace

Module trace 

Source
Expand description

Reads the trace written by the injected runtime (src/runtime/tmt_rt.rs).

Lines are tab separated:

  • O <site> <test> <rels> <unvalued> <max_neg|-> <min_pos|-> <unfloat> <f_max_neg|-> <f_min_pos|->: cumulative summary of a comparison
  • R <site> <test> <bits>: a statement site was executed
  • L <site> <test> <bits>: observations at && / || (cumulative)
  • A <site> <test> <bits>: observations at an arithmetic operator (cumulative)
  • B <site> <test> <bits>: values a -> bool function returned (cumulative)
  • T <site> <lhs_min> <lhs_max> <rhs_min> <rhs_max>: integer type bounds of the operands

A process killed mid-write can leave a truncated last line; malformed lines are skipped and counted rather than trusted.

Structs§

Trace
TypeBounds

Constants§

UNKNOWN_TEST
Test name used when the observing thread is not a libtest test thread.