buildid

package
v0.0.0-...-118e361 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromFile

func FromFile(f *os.File) (id string, err error)

FromFile reads the build ID from a binary by opening the file, but only reading the first 32 kB of the file. It also treats Go binaries specially, reading the build ID from designated sections. ELF binaries store the build ID in a proper PT_NOTE section.

Types

This section is empty.

Jump to

Keyboard shortcuts

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