MCPcopy Create free account
hub / github.com/WINSDK/bite / Decoded

Interface Decoded

decoder/src/lib.rs:63–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63pub trait Decoded: ToTokens {
64 fn width(&self) -> usize;
65 fn tokens(&self, symbols: &Index) -> Vec<Token> {
66 let mut stream = TokenStream::new();
67 self.tokenize(&mut stream, symbols);
68 stream.inner
69 }
70 fn update_rel_addrs(&mut self, addr: usize, prev_inst: Option<&Self>);
71}
72
73pub trait Decodable {
74 type Instruction: Decoded;

Callers

nothing calls this directly

Implementers 6

lib.rsdecoder-mips/src/lib.rs
mod.rsdecoder-x86_64/src/protected_mode/mod.
mod.rsdecoder-x86_64/src/long_mode/mod.rs
armv7.rsdecoder-arm/src/armv7.rs
a64.rsdecoder-arm/src/armv8/a64.rs
lib.rsdecoder-riscv/src/lib.rs

Calls

no outgoing calls

Tested by

no test coverage detected