- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for PT_NOTE (0.09 sec)
-
src/cmd/internal/buildid/buildid_test.go
if err2 != nil { t.Fatal(err2) } id, err = ReadFile(tmp) if id != newID || err != nil { t.Errorf("ReadFile(%s after Rewrite) = %q, %v, want %q, nil", f, id, err, newID) } // Test an ELF PT_NOTE segment with an Align field of 0. // Do this by rewriting the file data. if strings.Contains(name, "elf") { // We only expect a 64-bit ELF file. if elf.Class(data[elf.EI_CLASS]) != elf.ELFCLASS64 { continue
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:28 UTC 2024 - 6.6K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go
Desc []byte // Contents of the "desc" field. Type uint32 // Contents of the "type" field. } // parseNotes returns the notes from a SHT_NOTE section or PT_NOTE segment. func parseNotes(reader io.Reader, alignment int, order binary.ByteOrder) ([]elfNote, error) { r := bufio.NewReader(reader) // padding returns the number of bytes required to pad the given size to an
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/link/internal/ld/elf.go
startva := *FlagTextAddr - int64(HEADR) resoff := elfreserve var pph *ElfPhdr var pnote *ElfPhdr getpnote := func() *ElfPhdr { if pnote == nil { pnote = newElfPhdr() pnote.Type = elf.PT_NOTE pnote.Flags = elf.PF_R } return pnote } if *flagRace && ctxt.IsNetbsd() { sh := elfshname(".note.netbsd.pax") resoff -= int64(elfnetbsdpax(sh, uint64(startva), uint64(resoff)))
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/debug/elf/elf.go
PT_NULL ProgType = 0 /* Unused entry. */ PT_LOAD ProgType = 1 /* Loadable segment. */ PT_DYNAMIC ProgType = 2 /* Dynamic linking information segment. */ PT_INTERP ProgType = 3 /* Pathname of interpreter. */ PT_NOTE ProgType = 4 /* Auxiliary information. */ PT_SHLIB ProgType = 5 /* Reserved (not used). */ PT_PHDR ProgType = 6 /* Location of program header itself. */ PT_TLS ProgType = 7 /* Thread local storage segment */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 00:01:16 UTC 2024 - 134.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"PT_LOOS", Const, 0}, {"PT_LOPROC", Const, 0}, {"PT_MIPS_ABIFLAGS", Const, 16}, {"PT_MIPS_OPTIONS", Const, 16}, {"PT_MIPS_REGINFO", Const, 16}, {"PT_MIPS_RTPROC", Const, 16}, {"PT_NOTE", Const, 0}, {"PT_NULL", Const, 0}, {"PT_OPENBSD_BOOTDATA", Const, 16}, {"PT_OPENBSD_RANDOMIZE", Const, 16}, {"PT_OPENBSD_WXNEEDED", Const, 16}, {"PT_PAX_FLAGS", Const, 16}, {"PT_PHDR", Const, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)