- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for SHT_DYNAMIC (0.09 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/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)