Added Mach-O file format

This commit is contained in:
Eduard Urbach 2024-08-11 21:15:47 +02:00
parent 7c81c3451f
commit af259b364c
Signed by: eduard
GPG key ID: 49226B848C78F6C8
10 changed files with 266 additions and 4 deletions

16
src/macho/Segment64.go Normal file
View file

@ -0,0 +1,16 @@
package macho
// Segment64 is a segment load command.
type Segment64 struct {
LoadCommand
Length uint32
Name [16]byte
Address uint64
SizeInMemory uint64
Offset uint64
SizeInFile uint64
MaxProt Prot
InitProt Prot
NumSections uint32
Flag uint32
}