Documentation
¶
Overview ¶
Package arch defines CPU architecture identifiers shared by binary parsers and decoder adapters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arch ¶
type Arch uint8
Arch is a format-neutral CPU architecture selector. Container loaders map ELF/Mach-O/PE machine fields onto these values; decoder packages consume them.
const ( ArchUnknown Arch = iota ArchX86 // 32-bit x86 ArchAMD64 // x86-64 ArchARM64 // AArch64 ArchRISCV64 // 64-bit RISC-V ArchARM // 32-bit ARM (A32, little-endian) ArchPPC64 // 64-bit PowerPC, big-endian ArchPPC64LE // 64-bit PowerPC, little-endian ArchS390X // IBM Z (s390x, big-endian) ArchLoong64 // LoongArch 64 (little-endian) ArchPPC // 32-bit PowerPC, big-endian ArchPPCLE // 32-bit PowerPC, little-endian )
Click to show internal directories.
Click to hide internal directories.