diff options
author | iximeow <me@iximeow.net> | 2022-01-12 15:46:39 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2022-01-12 15:46:39 -0800 |
commit | e80b5622ec956a92f24ce6487fb0d76e9c541515 (patch) | |
tree | d7907a83716b2a1a2ca51d37533f4dec3e9f58af /src/real_mode/display.rs | |
parent | e893398115da3c5f636bc908666e0fb65e4d78d7 (diff) |
fuzz DisplayStyle::C and fix corresponding issues1.1.4
Diffstat (limited to 'src/real_mode/display.rs')
-rw-r--r-- | src/real_mode/display.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/real_mode/display.rs b/src/real_mode/display.rs index 0ae0a46..070ca56 100644 --- a/src/real_mode/display.rs +++ b/src/real_mode/display.rs @@ -3545,7 +3545,9 @@ fn contextualize_c<T: fmt::Write, Y: YaxColors>(instr: &Instruction, colors: &Y, write!(out, "${}", colors.number(signed_i32_hex(rel))) } } - _ => { unreachable!() } + other => { + write!(out, "{}", other) + } } } |