From 97dbde69221127d2552cb4fc442b90a2c0ff2a95 Mon Sep 17 00:00:00 2001 From: iximeow Date: Fri, 19 Jun 2026 03:02:35 +0000 Subject: 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. --- test/protected_mode/display.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/protected_mode/display.rs') diff --git a/test/protected_mode/display.rs b/test/protected_mode/display.rs index f9e0d6a..905a91f 100644 --- a/test/protected_mode/display.rs +++ b/test/protected_mode/display.rs @@ -1,3 +1,5 @@ +mod display_rules; + use std::fmt::Write; use yaxpeax_arch::{AddressBase, Decoder, LengthedInstruction}; -- cgit v1.1