Package macho implements access to and creation of Mach-O object files.
This package goes beyond the Go's debug/macho
to:
$ go get github.com/blacktop/go-macho
package main
import "github.com/blacktop/go-macho"
func main() {
m, err := macho.Open("/path/to/macho")
if err != nil {
panic(err)
}
defer m.Close()
fmt.Println(m.FileTOC.String())
}
MIT Copyright (c) 2020-2024 blacktop