What is go-macho and when to use it
masterThe go-macho package provides advanced access to and creation of Mach-O object files. It is a more feature-rich alternative to Go's standard debug/macho library.
Use go-macho if you need to:
- Cover ALL load commands and architectures.
- Generate nice summary string outputs for Mach-O files.
- Create custom Mach-O files.
- Parse Objective-C runtime information (using the non-fragile runtime ABI; note that legacy
__OBJCmetadata is detected but reported as unsupported). - Parse Swift runtime information.
- Read or write code signature information.
- Parse fixup chain information.