Enum capstone_sys::cs_arch
source · #[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 PartialEq for cs_arch
impl PartialEq for cs_arch
impl Copy for cs_arch
impl Eq for cs_arch
impl StructuralPartialEq for cs_arch
Auto Trait Implementations§
impl RefUnwindSafe for cs_arch
impl Send for cs_arch
impl Sync for cs_arch
impl Unpin for cs_arch
impl UnwindSafe for cs_arch
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