Added Mach-O file format
This commit is contained in:
13
src/macho/Header.go
Normal file
13
src/macho/Header.go
Normal file
@ -0,0 +1,13 @@
|
||||
package macho
|
||||
|
||||
// Header contains general information.
|
||||
type Header struct {
|
||||
Magic uint32
|
||||
Architecture CPU
|
||||
MicroArchitecture uint32
|
||||
Type HeaderType
|
||||
NumCommands uint32
|
||||
SizeCommands uint32
|
||||
Flags HeaderFlags
|
||||
Reserved uint32
|
||||
}
|
Reference in New Issue
Block a user