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§
- Event
Record - A hardware event: the CPU stopped the normal instruction flow and entered a handler through the IDT.
- Instruction
Record - One executed (or attempted) instruction.
- Memory
Access - One memory access by one instruction or event.
- Record
Flags - Extra facts about a record.
- Sequence
- Where a record sits in the trace orderings.
Enums§
- Access
Class - Why the access happened.
- Access
Kind - The kind of a memory access.
- Access
Outcome - Whether the access happened.
- Event
Kind - How an event was delivered.
- Instruction
Outcome - What happened to the instruction.
- Trace
Item - One item of a per-vCPU trace stream.