pub struct Ai6WinDisasm {
stream: MemReader,
num_messages: u32,
code_offset: u32,
big_endian_addresses: Vec<u32>,
little_endian_addresses: Vec<u32>,
}Available on crate feature
silky only.Fields§
§stream: MemReader§num_messages: u32§code_offset: u32§big_endian_addresses: Vec<u32>§little_endian_addresses: Vec<u32>Implementations§
Trait Implementations§
Source§impl Debug for Ai6WinDisasm
impl Debug for Ai6WinDisasm
Source§impl Disasm for Ai6WinDisasm
impl Disasm for Ai6WinDisasm
fn stream(&self) -> &MemReader ⓘ
fn stream_mut(&mut self) -> &mut MemReader ⓘ
fn opcodes(&self) -> &'static Opcodes
fn operands(&self) -> &'static [(u8, &'static [Oper])]
fn syscalls(&self) -> &'static [Syscalls]
fn code_offset(&self) -> u32
fn big_endian_addresses(&self) -> &[u32]
fn push_big_endian_addresses(&mut self, addr: u32)
fn little_endian_addresses(&self) -> &[u32]
fn read_header(&mut self) -> Result<()>
fn read_instruction(&mut self) -> Result<(u8, Vec<Obj>)>
fn read_operand(&mut self, oper: Oper) -> Result<Obj>
fn read_code(&mut self) -> Result<Vec<SlikyString>>
Auto Trait Implementations§
impl Freeze for Ai6WinDisasm
impl RefUnwindSafe for Ai6WinDisasm
impl Send for Ai6WinDisasm
impl Sync for Ai6WinDisasm
impl Unpin for Ai6WinDisasm
impl UnwindSafe for Ai6WinDisasm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more