8000 GitHub - appsworld/go-macho: Package macho implements access to and creation of Mach-O object files.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

appsworld/go-macho

 
 

Repository files navigation

go-macho

Go Go Reference License

Package macho implements access to and creation of Mach-O object files.


Why 🤔

This package goes beyond the Go's debug/macho to:

  • Cover ALL load commands and architectures
  • Provide nice summary string output
  • Allow for creating custom MachO files
  • Parse Objective-C runtime information
  • Parse Swift runtime information
  • Parse code signature information
  • Parse fixup chain information

Install

$ go get github.com/appsworld/go-macho

Getting Started

package main

import "github.com/appsworld/go-macho"

func main() {
    m, err := macho.Open("/path/to/macho")
    if err != nil {
        panic(err)
    }
    defer m.Close()

    fmt.Println(m.FileTOC.String())
}

License

MIT Copyright (c) 2020-2022 blacktop

About

Package macho implements access to and creation of Mach-O object files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.8%
  • Makefile 0.2%
0