Documentation ¶
Overview ¶
A go library for writing ELF data using the built in [`elf/debug`](https://golang.org/pkg/debug/elf/) package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ELFFile ¶
type ELFFile struct { FileHeader FileHeader ProgramTable []ProgramSegment SectionTable []SectionHeader }
type FileHeader ¶
type FileHeader struct { // ident Class elf.Class Endianness elf.Data ABI elf.OSABI ABIVersion byte // Rest of struct Type elf.Type Arch elf.Machine // Change the following from uint64 to uint32 for 32 bit mode EntryPoint uint64 ProgramTableOffset uint64 SectionTableOffset uint64 Flags uint32 // Not used Shstrndx uint16 }
type ProgramSegment ¶
type SectionHeader ¶
type SectionHeader struct{}
Click to show internal directories.
Click to hide internal directories.