Trait falcon::architecture::Architecture [−][src]
pub trait Architecture: Debug + Send + Sync { fn endian(&self) -> Endian; fn translator(&self) -> Box<Translator>; fn calling_convention(&self) -> CallingConvention; fn stack_pointer(&self) -> Scalar; fn word_size(&self) -> usize; fn box_clone(&self) -> Box<Architecture>; }
Necessary functions for analysis over architectures.
Required Methods
fn endian(&self) -> Endian
Get the endianness of this architecture.
fn translator(&self) -> Box<Translator>
Get this architecture's translator.
fn calling_convention(&self) -> CallingConvention
Get the default calling convention for this architecture.
fn stack_pointer(&self) -> Scalar
Get the scalar used to represent the stack pointer by this architecture's translator.
fn word_size(&self) -> usize
Get the size of a natural word for this architecture in bits.
fn box_clone(&self) -> Box<Architecture>
Clone into a boxed Architecture