Documentation ¶
Overview ¶
Package coff provides COFF(Common Object File Format)-related functionalities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSectionExists = errors.New("section with given name already exists") ErrSectionNotFound = errors.New("section not found") )
common errors
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
File is a COFF file.
func (*File) AddSection ¶
AddSection adds section s to file.
type Relocation ¶
type Relocation interface {
VirtualAddress() uint32
}
Relocation is a COFF relocation.
Click to show internal directories.
Click to hide internal directories.