- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for elfgobuildid (0.17 sec)
-
src/cmd/link/internal/ld/elf.go
func elfbuildinfo(sh *ElfShdr, startva uint64, resoff uint64) int { n := int(ELF_NOTE_BUILDINFO_NAMESZ + Rnd(int64(len(buildinfo)), 4)) return elfnote(sh, startva, resoff, n) } func elfgobuildid(sh *ElfShdr, startva uint64, resoff uint64) int { n := len(ELF_NOTE_GO_NAME) + int(Rnd(int64(len(*flagBuildid)), 4)) return elfnote(sh, startva, resoff, n) } func elfwritebuildinfo(out *OutBuf) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
src/runtime/pprof/elf.go
) var ( errBadELF = errors.New("malformed ELF binary") errNoBuildID = errors.New("no NT_GNU_BUILD_ID found in ELF binary") ) // elfBuildID returns the GNU build ID of the named ELF binary, // without introducing a dependency on debug/elf and its dependencies. func elfBuildID(file string) (string, error) { buf := make([]byte, 256) f, err := os.Open(file) if err != nil { return "", err } defer f.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 08 01:09:18 UTC 2017 - 2.8K bytes - Viewed (0) -
src/runtime/pprof/proto.go
// Let's try not doing this and see what breaks. // If we do need it, it would go here, before we // enter the mappings into b.mem in the first place. buildID, _ := elfBuildID(file) addMapping(lo, hi, offset, file, buildID) } } func (b *profileBuilder) addMapping(lo, hi, offset uint64, file, buildID string) { b.addMappingEntry(lo, hi, offset, file, buildID, false) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 13 20:40:52 UTC 2023 - 25.7K bytes - Viewed (0)