- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for SHT_DYNAMIC (0.16 sec)
-
src/cmd/cgo/internal/testcshared/cshared_test.go
if err != nil { t.Fatalf("elf.Open failed: %v", err) } defer f.Close() ds := f.SectionByType(elf.SHT_DYNAMIC) if ds == nil { t.Fatalf("no SHT_DYNAMIC section") } d, err := ds.Data() if err != nil { t.Fatalf("can't read SHT_DYNAMIC contents: %v", err) } for len(d) > 0 { var tag elf.DynTag switch f.Class { case elf.ELFCLASS32:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 21K bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/carchive_test.go
} } } func hasDynTag(t *testing.T, f *elf.File, tag elf.DynTag) bool { ds := f.SectionByType(elf.SHT_DYNAMIC) if ds == nil { t.Error("no SHT_DYNAMIC section") return false } d, err := ds.Data() if err != nil { t.Errorf("can't read SHT_DYNAMIC contents: %v", err) return false } for len(d) > 0 { var t elf.DynTag switch f.Class {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:43:51 UTC 2023 - 34.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf_test.go
// and loadable (has an address), nonzero size. secs := []*elf.Section{} for _, s := range elfFile.Sections { if s.Type != elf.SHT_PROGBITS && s.Type != elf.SHT_DYNAMIC { continue } if s.Addr == 0 || s.Size == 0 { continue } secs = append(secs, s) } secOverlaps := func(s1, s2 *elf.Section) bool { st1 := s1.Addr st2 := s2.Addr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 13:44:07 UTC 2024 - 16.6K bytes - Viewed (0) -
src/debug/elf/file.go
switch tag { case DT_NEEDED, DT_SONAME, DT_RPATH, DT_RUNPATH: default: return nil, fmt.Errorf("non-string-valued tag %v", tag) } ds := f.SectionByType(SHT_DYNAMIC) if ds == nil { // not dynamic, so no libraries return nil, nil } d, err := ds.Data() if err != nil { return nil, err } dynSize := 8 if f.Class == ELFCLASS64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:49:58 UTC 2024 - 43.1K bytes - Viewed (0) -
src/debug/elf/file_test.go
{".data", SHT_PROGBITS, SHF_WRITE + SHF_ALLOC, 0x80495fc, 0x5fc, 0xc, 0x0, 0x0, 0x4, 0x0, 0xc}, {".eh_frame", SHT_PROGBITS, SHF_ALLOC, 0x8049608, 0x608, 0x4, 0x0, 0x0, 0x4, 0x0, 0x4}, {".dynamic", SHT_DYNAMIC, SHF_WRITE + SHF_ALLOC, 0x804960c, 0x60c, 0x98, 0x4, 0x0, 0x4, 0x8, 0x98}, {".ctors", SHT_PROGBITS, SHF_WRITE + SHF_ALLOC, 0x80496a4, 0x6a4, 0x8, 0x0, 0x0, 0x4, 0x0, 0x8},
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/cgo/internal/testshared/shared_test.go
globalSkip(t) _, err := os.Stat(filepath.Join(gorootInstallDir, soname)) if err != nil { t.Error(err) } } func hasDynTag(f *elf.File, tag elf.DynTag) bool { ds := f.SectionByType(elf.SHT_DYNAMIC) if ds == nil { return false } d, err := ds.Data() if err != nil { return false } for len(d) > 0 { var t elf.DynTag switch f.Class { case elf.ELFCLASS32:
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/debug/elf/elf.go
SHT_RELA SectionType = 4 /* relocation section with addends */ SHT_HASH SectionType = 5 /* symbol hash table section */ SHT_DYNAMIC SectionType = 6 /* dynamic section */ SHT_NOTE SectionType = 7 /* note section */ SHT_NOBITS SectionType = 8 /* no space section */
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
sh.Link = uint32(elfshname(".dynsym").shnum) shsym(sh, ldr, ldr.Lookup(".hash", 0)) /* sh and elf.PT_DYNAMIC for .dynamic section */ sh = elfshname(".dynamic") sh.Type = uint32(elf.SHT_DYNAMIC) sh.Flags = uint64(elf.SHF_ALLOC + elf.SHF_WRITE) sh.Entsize = 2 * uint64(ctxt.Arch.RegSize) sh.Addralign = uint64(ctxt.Arch.RegSize) sh.Link = uint32(elfshname(".dynstr").shnum)
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
{"SHN_HIRESERVE", Const, 0}, {"SHN_LOOS", Const, 0}, {"SHN_LOPROC", Const, 0}, {"SHN_LORESERVE", Const, 0}, {"SHN_UNDEF", Const, 0}, {"SHN_XINDEX", Const, 0}, {"SHT_DYNAMIC", Const, 0}, {"SHT_DYNSYM", Const, 0}, {"SHT_FINI_ARRAY", Const, 0}, {"SHT_GNU_ATTRIBUTES", Const, 0}, {"SHT_GNU_HASH", Const, 0}, {"SHT_GNU_LIBLIST", Const, 0}, {"SHT_GNU_VERDEF", 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 SHN_LOPROC SectionIndex pkg debug/elf, const SHN_LORESERVE SectionIndex pkg debug/elf, const SHN_UNDEF SectionIndex pkg debug/elf, const SHN_XINDEX SectionIndex pkg debug/elf, const SHT_DYNAMIC SectionType pkg debug/elf, const SHT_DYNSYM SectionType pkg debug/elf, const SHT_FINI_ARRAY SectionType pkg debug/elf, const SHT_GNU_ATTRIBUTES SectionType pkg debug/elf, const SHT_GNU_HASH SectionType
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)