Expand description
Cross-process exploration statistics.
All statistics live in MAP_SHARED memory so they are visible
across fork() boundaries. Atomic operations use Relaxed ordering
because the fork tree is sequential (parent waits on each child).
Structs§
- Exploration
Stats - Snapshot of exploration statistics for test assertions.
- Shared
Recipe - Shared recipe storage for the bug-finding timeline.
- Shared
Stats - Global exploration statistics in shared memory.
Constants§
- MAX_
RECIPE_ ENTRIES - Maximum number of recipe entries.
Functions§
- decrement_
energy ⚠ - Try to consume one unit of energy. Returns
trueif successful. - get_
bug_ recipe - Get the bug recipe if one was captured.
- get_
exploration_ stats - Get a snapshot of the current exploration statistics.
- init_
shared_ recipe - Allocate and initialize shared recipe storage.
- init_
shared_ stats - Allocate and initialize shared stats.
- reset_
shared_ ⚠recipe - Reset shared recipe for a new seed in multi-seed exploration.
- reset_
shared_ ⚠stats - Reset shared stats for a new seed in multi-seed exploration.