q/src/elf/SectionHeader.go
Eduard Urbach cc2e98ca49
All checks were successful
/ test (push) Successful in 15s
Added a linker
2025-06-23 16:19:16 +02:00

18 lines
No EOL
438 B
Go

package elf
// SectionHeaderSize is equal to the size of a section header in bytes.
const SectionHeaderSize = 64
// SectionHeader points to the data sections of our program.
type SectionHeader struct {
NameIndex int32
Type SectionType
Flags SectionFlags
VirtualAddress int64
Offset int64
SizeInFile int64
Link int32
Info int32
Align int64
EntrySize int64
}