Added Mach-O file format
This commit is contained in:
parent
7c81c3451f
commit
af259b364c
10 changed files with 266 additions and 4 deletions
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue