Registry / utility / twitchyliquid64-golang-asm

twitchyliquid64-golang-asm

JSON →
library0.15.1gogounverified

Package golang-asm provides Go bindings for assembling and disassembling x86/x64 machine code.

go get github.com/twitchyliquid64/golang-asm
INSTALL
IMPORT
SIG · TWITCHYLIQUID64-GO
T
twitchyliquid64-golang-asm
utilitygov0.15.1
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.

asm
github.com/twitchyliquid64/golang-asm

Assembles a simple x86 instruction and prints the resulting bytes.

package main import ( "fmt" "github.com/twitchyliquid64/golang-asm" ) func main() { code, _ := asm.Assemble("MOVQ $1, AX") fmt.Printf("%x\n", code) }
Debug
Known issues
breakingThis package is experimental and may have breaking changes.
fix
Pin to a specific version and test thoroughly.
affects: all
Upgrade
Version history
0.15.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
twitchyliquid64-golang-asm — go get twitchyliquid64-golang-asm · libregistry