- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for PF_X (0.08 sec)
-
src/debug/elf/file_test.go
{".strtab", SHT_STRTAB, 0x0, 0x0, 0x1468, 0x206, 0x0, 0x0, 0x1, 0x0, 0x206}, }, []ProgHeader{ {PT_PHDR, PF_R + PF_X, 0x34, 0x8048034, 0x8048034, 0xa0, 0xa0, 0x4}, {PT_INTERP, PF_R, 0xd4, 0x80480d4, 0x80480d4, 0x15, 0x15, 0x1}, {PT_LOAD, PF_R + PF_X, 0x0, 0x8048000, 0x8048000, 0x5fb, 0x5fb, 0x1000}, {PT_LOAD, PF_R + PF_W, 0x5fc, 0x80495fc, 0x80495fc, 0xd8, 0xf8, 0x1000},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 60.1K bytes - Viewed (0) -
src/cmd/internal/objfile/elf.go
return "ppc64" case elf.EM_S390: return "s390x" } return "" } func (f *elfFile) loadAddress() (uint64, error) { for _, p := range f.elf.Progs { if p.Type == elf.PT_LOAD && p.Flags&elf.PF_X != 0 { // The memory mapping that contains the segment // starts at an aligned address. Apparently this // is what pprof expects, as it uses this and the // start address of the mapping to compute PC
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 20:44:50 UTC 2023 - 3.9K bytes - Viewed (0) -
src/debug/buildinfo/buildinfo.go
for _, s := range x.f.Sections { if s.Name == ".go.buildinfo" { return s.Addr, s.Size } } for _, p := range x.f.Progs { if p.Type == elf.PT_LOAD && p.Flags&(elf.PF_X|elf.PF_W) == elf.PF_W { return p.Vaddr, p.Memsz } } return 0, 0 } // peExe is the PE (Windows Portable Executable) implementation of the exe interface. type peExe struct { f *pe.File }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 12.6K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go
for _, s := range f.Sections { if s.Name == ".text" { // Find the LOAD segment containing the .text section. for _, p := range f.Progs { 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
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
} base, err := elfexec.GetBase(&ef.FileHeader, ph, f.m.kernelOffset, f.m.start, f.m.limit, f.m.offset) if err != nil { return err } f.base = base f.isData = ph != nil && ph.Flags&elf.PF_X == 0 return nil } func (f *file) Name() string { return f.name } func (f *file) ObjAddr(addr uint64) (uint64, error) { f.baseOnce.Do(func() { f.baseErr = f.computeBase(addr) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 22.3K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
ph := newElfPhdr() ph.Type = elf.PT_LOAD if seg.Rwx&4 != 0 { ph.Flags |= elf.PF_R } if seg.Rwx&2 != 0 { ph.Flags |= elf.PF_W } if seg.Rwx&1 != 0 { ph.Flags |= elf.PF_X } ph.Vaddr = seg.Vaddr ph.Paddr = seg.Vaddr ph.Memsz = seg.Length ph.Off = seg.Fileoff ph.Filesz = seg.Filelen ph.Align = uint64(*FlagRound) return ph }
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
// Prog.Flag type ProgFlag uint32 const ( PF_X ProgFlag = 0x1 /* Executable. */ PF_W ProgFlag = 0x2 /* Writable. */ PF_R ProgFlag = 0x4 /* Readable. */ PF_MASKOS ProgFlag = 0x0ff00000 /* Operating system-specific. */ PF_MASKPROC ProgFlag = 0xf0000000 /* Processor-specific. */ ) var pfStrings = []intName{ {0x1, "PF_X"}, {0x2, "PF_W"}, {0x4, "PF_R"}, }
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
{"NType", Type, 0}, {"NewFile", Func, 0}, {"OSABI", Type, 0}, {"Open", Func, 0}, {"PF_MASKOS", Const, 0}, {"PF_MASKPROC", Const, 0}, {"PF_R", Const, 0}, {"PF_W", Const, 0}, {"PF_X", Const, 0}, {"PT_AARCH64_ARCHEXT", Const, 16}, {"PT_AARCH64_UNWIND", Const, 16}, {"PT_ARM_ARCHEXT", Const, 16}, {"PT_ARM_EXIDX", Const, 16}, {"PT_DYNAMIC", 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) -
api/go1.txt
pkg debug/elf, const NT_PRSTATUS NType pkg debug/elf, const PF_MASKOS ProgFlag pkg debug/elf, const PF_MASKPROC ProgFlag pkg debug/elf, const PF_R ProgFlag pkg debug/elf, const PF_W ProgFlag pkg debug/elf, const PF_X ProgFlag pkg debug/elf, const PT_DYNAMIC ProgType pkg debug/elf, const PT_HIOS ProgType pkg debug/elf, const PT_HIPROC ProgType pkg debug/elf, const PT_INTERP ProgType pkg debug/elf, const PT_LOAD ProgType
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
api/go1.1.txt
pkg debug/elf, const NT_PRSTATUS = 1 pkg debug/elf, const PF_MASKOS = 267386880 pkg debug/elf, const PF_MASKPROC = 4026531840 pkg debug/elf, const PF_R = 4 pkg debug/elf, const PF_W = 2 pkg debug/elf, const PF_X = 1 pkg debug/elf, const PT_DYNAMIC = 2 pkg debug/elf, const PT_HIOS = 1879048191 pkg debug/elf, const PT_HIPROC = 2147483647 pkg debug/elf, const PT_INTERP = 3 pkg debug/elf, const PT_LOAD = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)