Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOffsetsNotFound = errors.New("could not find offset")
ErrOffsetsNotFound is returned when the requested offsets cannot be found.
Functions ¶
This section is empty.
Types ¶
type DataMember ¶
DataMember defines a data structure.
type DataMemberOffset ¶
type DataMemberOffset struct { *DataMember Offset uint64 }
DataMemberOffset is the offset of a DataMember.
type Result ¶
type Result struct {
DataMembers []*DataMemberOffset
}
Results are all the returned offsets for a data member.
func FindOffsets ¶
func FindOffsets(file *os.File, dataMembers []*DataMember) (*Result, error)
FindOffsets finds all the dataMembers offsets.
Click to show internal directories.
Click to hide internal directories.