Module trace
Expand description
An optional log of draws, to compare the port’s draws with the original’s.
The original’s draws are recorded in the emulator (tools/emu/rng_trace.py), and
tools/triage/rngdiff.py finds the first draw that differs. Only the outermost draw of a call
is recorded (rand_float calling rand logs once), with the location of the Rust caller.
Structs§
- Draw
- One recorded draw.