Skip to content

Mach-O parser for golang, as an supplement for official package debug/macho.

Notifications You must be signed in to change notification settings

jqnote/macho-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-macho

v0.1.0 Build Status


The go-macho package is a Mach-O parser for golang, as an supplement for official package debug/macho.

It's under development now.

这是一个 macho 文件的小工具,补充官方库不支持获取符号表 uuid 信息的功能。依然处于开发阶段,属于玩具,不建议使用到任何环境。

Get

go get github.com/jqnote/macho-go

Do Sth.

var name string = "path/to/your/macho/file"

macho, _ := NewMacho(name)
uuids := macho.GetUUIDS()
fmt.Printf("UUIDS\n%v\n", uuids)

var uuid string
uuid, _ = macho.GetUUIDByName("arm64")
fmt.Printf("uuid of arm64\n%v\n", uuid)

Other

About

Mach-O parser for golang, as an supplement for official package debug/macho.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages