Simplified executable file formats
This commit is contained in:
parent
1cb93b39a7
commit
999e60e294
29 changed files with 236 additions and 218 deletions
18
src/exe/macho/Segment64.go
Normal file
18
src/exe/macho/Segment64.go
Normal file
|
@ -0,0 +1,18 @@
|
|||
package macho
|
||||
|
||||
const Segment64Size = 72
|
||||
|
||||
// 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue