- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ET_DYN (5.37 sec)
-
src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go
} return start, nil case elf.ET_DYN: // The process mapping information, start = start of virtual address range, // and offset = offset in the executable file of the start address, tells us // that a runtime virtual address x maps to a file offset // fx = x - start + offset. if loadSegment == nil { return start - offset, nil } // Kernels compiled as PIE can be ET_DYN as well. Use heuristic, similar to
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/cgo/internal/testshared/shared_test.go
} func checkPIE(t *testing.T, name string) { f, err := elf.Open(name) if err != nil { t.Fatal("elf.Open failed: ", err) } defer f.Close() if f.Type != elf.ET_DYN { t.Errorf("%s has type %v, want ET_DYN", name, f.Type) } if hasDynTag(f, elf.DT_TEXTREL) { t.Errorf("%s has DT_TEXTREL set", name) } } func TestTrivialPIE(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 26 01:54:41 UTC 2023 - 36.3K bytes - Viewed (0) -
src/cmd/go/go_test.go
switch runtime.GOOS { case "linux", "android", "freebsd": f, err := elf.Open(obj) if err != nil { t.Fatal(err) } defer f.Close() if f.Type != elf.ET_DYN { t.Errorf("PIE type must be ET_DYN, but %s", f.Type) } case "darwin", "ios": f, err := macho.Open(obj) if err != nil { t.Fatal(err) } defer f.Close() if f.Flags&macho.FlagDyldLink == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
src/debug/elf/elf.go
// Type is found in Header.Type. type Type uint16 const ( ET_NONE Type = 0 /* Unknown type. */ ET_REL Type = 1 /* Relocatable. */ ET_EXEC Type = 2 /* Executable. */ ET_DYN Type = 3 /* Shared object. */ ET_CORE Type = 4 /* Core file. */ ET_LOOS Type = 0xfe00 /* First operating system specific. */ ET_HIOS Type = 0xfeff /* Last operating system-specific. */
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/link/internal/ld/elf.go
} eh.Ident[elf.EI_VERSION] = byte(elf.EV_CURRENT) if ctxt.LinkMode == LinkExternal { eh.Type = uint16(elf.ET_REL) } else if ctxt.BuildMode == BuildModePIE { eh.Type = uint16(elf.ET_DYN) } else { eh.Type = uint16(elf.ET_EXEC) } if ctxt.LinkMode != LinkExternal { eh.Entry = uint64(Entryvalue(ctxt)) } eh.Version = uint32(elf.EV_CURRENT) if pph != nil {
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/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"EM_XCORE", Const, 11}, {"EM_XGATE", Const, 11}, {"EM_XIMO16", Const, 11}, {"EM_XTENSA", Const, 11}, {"EM_Z80", Const, 11}, {"EM_ZSP", Const, 11}, {"ET_CORE", Const, 0}, {"ET_DYN", Const, 0}, {"ET_EXEC", Const, 0}, {"ET_HIOS", Const, 0}, {"ET_HIPROC", Const, 0}, {"ET_LOOS", Const, 0}, {"ET_LOPROC", Const, 0}, {"ET_NONE", Const, 0}, {"ET_REL", 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 EM_TRICORE Machine pkg debug/elf, const EM_V800 Machine pkg debug/elf, const EM_VPP500 Machine pkg debug/elf, const EM_X86_64 Machine pkg debug/elf, const ET_CORE Type pkg debug/elf, const ET_DYN Type pkg debug/elf, const ET_EXEC Type pkg debug/elf, const ET_HIOS Type pkg debug/elf, const ET_HIPROC Type pkg debug/elf, const ET_LOOS Type pkg debug/elf, const ET_LOPROC Type
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 EM_TRICORE = 44 pkg debug/elf, const EM_V800 = 36 pkg debug/elf, const EM_VPP500 = 17 pkg debug/elf, const EM_X86_64 = 62 pkg debug/elf, const ET_CORE = 4 pkg debug/elf, const ET_DYN = 3 pkg debug/elf, const ET_EXEC = 2 pkg debug/elf, const ET_HIOS = 65279 pkg debug/elf, const ET_HIPROC = 65535 pkg debug/elf, const ET_LOOS = 65024 pkg debug/elf, const ET_LOPROC = 65280
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)