- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ProgramHeadersForMapping (0.24 sec)
-
src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go
if p.Type == elf.PT_LOAD && p.Flags&elf.PF_X != 0 && s.Addr >= p.Vaddr && s.Addr < p.Vaddr+p.Memsz { return &p.ProgHeader } } } } return nil } // ProgramHeadersForMapping returns the program segment headers that overlap // the runtime mapping with file offset mapOff and memory size mapSz. We skip // over segments zero file size because their file offset values are unreliable.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 13.9K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go
// kernel modules. It's not an error to have no header in such cases. if len(phdrs) == 0 { return nil, nil } // Get all program headers associated with the mapping. headers := elfexec.ProgramHeadersForMapping(phdrs, m.offset, m.limit-m.start) if len(headers) == 0 { return nil, errors.New("no program header matches mapping info") } if len(headers) == 1 { return headers[0], nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 22.3K bytes - Viewed (0)