diff options
| author | iximeow <me@iximeow.net> | 2026-03-09 06:31:07 +0000 |
|---|---|---|
| committer | iximeow <me@iximeow.net> | 2026-03-09 06:31:07 +0000 |
| commit | a93d5f01a6e890edc15e315dd1167f4e8e063cfd (patch) | |
| tree | 229753fb72bcf71ee74cb33b43b2be26b75f6281 /test/lib_test.rs | |
| parent | b584449c7e3f33ca281f83ec7baa00649f04d361 (diff) | |
stop relying on mmio for behavior validation
first, the vcpu is configured with 1G pages, which confound linux's
gva->gpa translation done as part of instruction emulation. this means
that we get bogus faults in perfectly valid virtual addresses that the
hardware can use, but linux cannot.
second, relying on mmio means every mmio-trapped instruction is actually
testing yaxpeax-x86 semantics against linux x86 emulation. while this is
interesting, it is not the goal of the tests. maybe some later day!
finally, write_matches_reg() had an inappropriate mask for what bits can
be written given a certain register size.
Diffstat (limited to 'test/lib_test.rs')
0 files changed, 0 insertions, 0 deletions
