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

Get the endianness of this architecture.

Get this architecture's translator.

Get the default calling convention for this architecture.

Get the scalar used to represent the stack pointer by this architecture's translator.

Get the size of a natural word for this architecture in bits.

Clone into a boxed Architecture

Implementors