buildid

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2019 License: GPL-2.0, GPL-2.0-or-later Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ElfNoteNameSzLength = 4
	ElfNoteDescSzLength = 4
	ElfNoteTypeLength   = 4
	GoElfNoteNameLength = 4

	ElfNoteNameSzIndex = 0
	ElfNoteDescSzIndex = ElfNoteNameSzIndex + ElfNoteNameSzLength
	ElfNoteTypeIndex   = ElfNoteDescSzIndex + ElfNoteDescSzLength
	ElfNoteNameIndex   = ElfNoteTypeIndex + ElfNoteTypeLength
	GoElfNoteDescIndex = ElfNoteNameIndex + GoElfNoteNameLength

	GoElfNoteNameEnd = ElfNoteNameIndex + GoElfNoteNameLength

	GoElfNoteType = 4
)

Variables

View Source
var GoElfNoteName = [GoElfNoteNameLength]byte{'G', 'o', 0, 0}

Functions

func New

func New(fn string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL