#[repr(u32)]
pub enum cs_arch {
Show 18 variants CS_ARCH_ARM = 0, CS_ARCH_ARM64 = 1, CS_ARCH_MIPS = 2, CS_ARCH_X86 = 3, CS_ARCH_PPC = 4, CS_ARCH_SPARC = 5, CS_ARCH_SYSZ = 6, CS_ARCH_XCORE = 7, CS_ARCH_M68K = 8, CS_ARCH_TMS320C64X = 9, CS_ARCH_M680X = 10, CS_ARCH_EVM = 11, CS_ARCH_MOS65XX = 12, CS_ARCH_WASM = 13, CS_ARCH_BPF = 14, CS_ARCH_RISCV = 15, CS_ARCH_MAX = 16, CS_ARCH_ALL = 65_535,
}
Expand description

Architecture type

Variants§

§

CS_ARCH_ARM = 0

< ARM architecture (including Thumb, Thumb-2)

§

CS_ARCH_ARM64 = 1

< ARM-64, also called AArch64

§

CS_ARCH_MIPS = 2

< Mips architecture

§

CS_ARCH_X86 = 3

< X86 architecture (including x86 & x86-64)

§

CS_ARCH_PPC = 4

< PowerPC architecture

§

CS_ARCH_SPARC = 5

< Sparc architecture

§

CS_ARCH_SYSZ = 6

< SystemZ architecture

§

CS_ARCH_XCORE = 7

< XCore architecture

§

CS_ARCH_M68K = 8

< 68K architecture

§

CS_ARCH_TMS320C64X = 9

< TMS320C64x architecture

§

CS_ARCH_M680X = 10

< 680X architecture

§

CS_ARCH_EVM = 11

< Ethereum architecture

§

CS_ARCH_MOS65XX = 12

< MOS65XX architecture (including MOS6502)

§

CS_ARCH_WASM = 13

< WebAssembly architecture

§

CS_ARCH_BPF = 14

< Berkeley Packet Filter architecture (including eBPF)

§

CS_ARCH_RISCV = 15

< RISCV architecture

§

CS_ARCH_MAX = 16

§

CS_ARCH_ALL = 65_535

Trait Implementations§

source§

impl Clone for cs_arch

source§

fn clone(&self) -> cs_arch

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for cs_arch

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for cs_arch

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for cs_arch

source§

fn eq(&self, other: &cs_arch) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for cs_arch

source§

impl Eq for cs_arch

source§

impl StructuralPartialEq for cs_arch

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.