Skip to main content

Module record

Module record 

Source
Expand description

The trace records: what one executed instruction (or one interrupt) looks like after the tracer has finished with it.

These types are the tracer’s intermediate representation. They hold more than MacSim can use (guest-physical addresses, CR3, privilege level, faults, interrupts), and are written in full to the extended .kvt trace. The macsim module turns them into the narrower MacSim format.

Structs§

EventRecord
A hardware event: the CPU stopped the normal instruction flow and entered a handler through the IDT.
InstructionRecord
One executed (or attempted) instruction.
MemoryAccess
One memory access by one instruction or event.
RecordFlags
Extra facts about a record.
Sequence
Where a record sits in the trace orderings.

Enums§

AccessClass
Why the access happened.
AccessKind
The kind of a memory access.
AccessOutcome
Whether the access happened.
EventKind
How an event was delivered.
InstructionOutcome
What happened to the instruction.
TraceItem
One item of a per-vCPU trace stream.