diff options
| author | iximeow <me@iximeow.net> | 2026-06-19 03:02:35 +0000 |
|---|---|---|
| committer | iximeow <me@iximeow.net> | 2026-07-05 00:09:22 +0000 |
| commit | 97dbde69221127d2552cb4fc442b90a2c0ff2a95 (patch) | |
| tree | d31f0fb9c01d3729e8a491f12e59268b466d1178 /test/long_mode/display.rs | |
| parent | b35fd33629ab53925302f34747faf86ee2f90ace (diff) | |
add DisplayRules, docs, doc tests, ..
this includes `trait DisplayRules` as a generic mechanism to control
parts of instruction printing, a `DefaultRules` for the existing
formatting style, and `AbsoluteAddressFormatter` to print instructions
as at some location in an address space.
Diffstat (limited to 'test/long_mode/display.rs')
| -rw-r--r-- | test/long_mode/display.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/long_mode/display.rs b/test/long_mode/display.rs index 22fd787..36c4ecb 100644 --- a/test/long_mode/display.rs +++ b/test/long_mode/display.rs @@ -1,3 +1,5 @@ +mod display_rules; + use std::fmt::Write; use yaxpeax_arch::{AddressBase, Decoder, LengthedInstruction}; |
