Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for SHT_PROGBITS (0.17 sec)

  1. src/debug/elf/file_test.go

    			{".debug_aranges", SHT_PROGBITS, 0x0, 0x0, 0x801, 0x20, 0x0, 0x0, 0x1, 0x0, 0x20},
    			{".debug_pubnames", SHT_PROGBITS, 0x0, 0x0, 0x821, 0x1b, 0x0, 0x0, 0x1, 0x0, 0x1b},
    			{".debug_info", SHT_PROGBITS, 0x0, 0x0, 0x83c, 0x11d, 0x0, 0x0, 0x1, 0x0, 0x11d},
    			{".debug_abbrev", SHT_PROGBITS, 0x0, 0x0, 0x959, 0x41, 0x0, 0x0, 0x1, 0x0, 0x41},
    			{".debug_line", SHT_PROGBITS, 0x0, 0x0, 0x99a, 0x35, 0x0, 0x0, 0x1, 0x0, 0x35},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  2. src/debug/elf/elf_test.go

    type nameTest struct {
    	val any
    	str string
    }
    
    var nameTests = []nameTest{
    	{ELFOSABI_LINUX, "ELFOSABI_LINUX"},
    	{ET_EXEC, "ET_EXEC"},
    	{EM_860, "EM_860"},
    	{SHN_LOPROC, "SHN_LOPROC"},
    	{SHT_PROGBITS, "SHT_PROGBITS"},
    	{SHF_MERGE + SHF_TLS, "SHF_MERGE+SHF_TLS"},
    	{PT_LOAD, "PT_LOAD"},
    	{PF_W + PF_R + 0x50, "PF_W+PF_R+0x50"},
    	{DT_SYMBOLIC, "DT_SYMBOLIC"},
    	{DF_BIND_NOW, "DF_BIND_NOW"},
    	{DF_1_PIE, "DF_1_PIE"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:36 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/elf.go

    		}
    
    		if elf.Machine(eh.Machine) == elf.EM_PPC64 {
    			sh := elfshname(".glink")
    			sh.Type = uint32(elf.SHT_PROGBITS)
    			sh.Flags = uint64(elf.SHF_ALLOC + elf.SHF_EXECINSTR)
    			sh.Addralign = 4
    			shsym(sh, ldr, ldr.Lookup(".glink", 0))
    		}
    
    		sh = elfshname(".plt")
    		sh.Type = uint32(elf.SHT_PROGBITS)
    		sh.Flags = uint64(elf.SHF_ALLOC + elf.SHF_EXECINSTR)
    		if elf.Machine(eh.Machine) == elf.EM_X86_64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  4. src/cmd/link/internal/loadelf/ldelf.go

    			if err != nil {
    				// TODO(dfc) should this return an error?
    				log.Printf("%s: %v", pn, err)
    			}
    			if found {
    				ehdrFlags = newEhdrFlags
    			}
    		}
    		if (sect.type_ != elf.SHT_PROGBITS && sect.type_ != elf.SHT_NOBITS) || sect.flags&elf.SHF_ALLOC == 0 {
    			continue
    		}
    		if sect.type_ != elf.SHT_NOBITS {
    			if err := elfmap(elfobj, sect); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/elf_test.go

    	// List of interesting sections. Here "interesting" means progbits/dynamic
    	// 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testcarchive/carchive_test.go

    		return
    	}
    	defer ef.Close()
    
    	// Verify section types.
    	for _, sec := range ef.Sections {
    		want := elf.SHT_NULL
    		switch sec.Name {
    		case ".text", ".data":
    			want = elf.SHT_PROGBITS
    		case ".bss":
    			want = elf.SHT_NOBITS
    		case ".symtab":
    			want = elf.SHT_SYMTAB
    		case ".strtab":
    			want = elf.SHT_STRTAB
    		case ".init_array":
    			want = elf.SHT_INIT_ARRAY
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  7. src/debug/elf/elf.go

    func (i SectionIndex) GoString() string { return stringName(uint32(i), shnStrings, true) }
    
    // Section type.
    type SectionType uint32
    
    const (
    	SHT_NULL           SectionType = 0          /* inactive */
    	SHT_PROGBITS       SectionType = 1          /* program defined information */
    	SHT_SYMTAB         SectionType = 2          /* symbol table section */
    	SHT_STRTAB         SectionType = 3          /* string table 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)
  8. src/cmd/link/internal/ld/lib.go

    	}
    }
    
    func readelfsymboldata(ctxt *Link, f *elf.File, sym *elf.Symbol) []byte {
    	data := make([]byte, sym.Size)
    	sect := f.Sections[sym.Section]
    	if sect.Type != elf.SHT_PROGBITS && sect.Type != elf.SHT_NOTE {
    		Errorf(nil, "reading %s from non-data section", sym.Name)
    	}
    	n, err := sect.ReadAt(data, int64(sym.Value-sect.Addr))
    	if uint64(n) != sym.Size {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"SHT_LOUSER", Const, 0},
    		{"SHT_MIPS_ABIFLAGS", Const, 17},
    		{"SHT_NOBITS", Const, 0},
    		{"SHT_NOTE", Const, 0},
    		{"SHT_NULL", Const, 0},
    		{"SHT_PREINIT_ARRAY", Const, 0},
    		{"SHT_PROGBITS", Const, 0},
    		{"SHT_REL", Const, 0},
    		{"SHT_RELA", Const, 0},
    		{"SHT_SHLIB", Const, 0},
    		{"SHT_STRTAB", Const, 0},
    		{"SHT_SYMTAB", Const, 0},
    		{"SHT_SYMTAB_SHNDX", 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)
  10. api/go1.txt

    pkg debug/elf, const SHT_NOBITS SectionType
    pkg debug/elf, const SHT_NOTE SectionType
    pkg debug/elf, const SHT_NULL SectionType
    pkg debug/elf, const SHT_PREINIT_ARRAY SectionType
    pkg debug/elf, const SHT_PROGBITS SectionType
    pkg debug/elf, const SHT_REL SectionType
    pkg debug/elf, const SHT_RELA SectionType
    pkg debug/elf, const SHT_SHLIB SectionType
    pkg debug/elf, const SHT_STRTAB 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)
Back to top