Documentation ¶
Index ¶
Constants ¶
View Source
const ( DelveHeaderNoteType = 0x444C5645 // DLVE DelveThreadNodeType = 0x444C5654 // DLVT DelveHeaderTargetPidPrefix = "Target Pid: " DelveHeaderEntryPointPrefix = "Entry Point: " )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WriteCloserSeeker ¶
WriteCloserSeeker is the union of io.Writer, io.Closer and io.Seeker.
type Writer ¶
type Writer struct { Err error Progs []*elf.ProgHeader // contains filtered or unexported fields }
Writer writes ELF files.
func (*Writer) Align ¶
Align writes as many padding bytes as needed to make the current file offset a multiple of align.
func (*Writer) WriteNotes ¶
func (w *Writer) WriteNotes(notes []Note) *elf.ProgHeader
WriteNotes writes notes to the current location, returns a ProgHeader describing the notes.
func (*Writer) WriteProgramHeaders ¶
func (w *Writer) WriteProgramHeaders()
WriteProgramHeaders writes the program headers at the current location and patches the file header accordingly.
Click to show internal directories.
Click to hide internal directories.