Registry / utility / x-arch

x-arch

JSON →
library0.28.0gogounverified

Provides libraries for decoding and encoding architecture-specific binary formats like x86, ARM, and RISC-V.

go get golang.org/x/arch
INSTALL
IMPORT
SIG · X-ARCH
X
x-arch
utilitygov0.28.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

x86asm
golang.org/x/arch/x86/x86asm

Decodes x86 machine code instructions.

package main import ( "fmt" "golang.org/x/arch/x86/x86asm" ) func main() { data := []byte{0x48, 0x89, 0xe5} inst, err := x86asm.Decode(data, 64) if err != nil { panic(err) } fmt.Println(inst) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.28.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
x-arch — go get x-arch · libregistry