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/protected_mode | |
parent | e893398115da3c5f636bc908666e0fb65e4d78d7 (diff) |
fuzz DisplayStyle::C and fix corresponding issues1.1.4
Diffstat (limited to 'src/protected_mode')
-rw-r--r-- | src/protected_mode/display.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/protected_mode/display.rs b/src/protected_mode/display.rs index c2b52eb..69cdbc7 100644 --- a/src/protected_mode/display.rs +++ b/src/protected_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) + } } } |