Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ST_TYPE (0.32 sec)

  1. src/cmd/link/internal/loadelf/ldelf.go

    		elfsym.name = cstring(elfobj.symstr.base[b.Name:])
    		elfsym.value = b.Value
    		elfsym.size = b.Size
    		elfsym.shndx = elf.SectionIndex(b.Shndx)
    		elfsym.bind = elf.ST_BIND(b.Info)
    		elfsym.type_ = elf.ST_TYPE(b.Info)
    		elfsym.other = b.Other
    	} else {
    		b := new(elf.Sym32)
    		binary.Read(bytes.NewReader(elfobj.symtab.base[i*elf.Sym32Size:(i+1)*elf.Sym32Size]), elfobj.e, b)
    		elfsym.name = cstring(elfobj.symstr.base[b.Name:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/lib.go

    	}
    
    	for _, elfsym := range syms {
    		if elf.ST_TYPE(elfsym.Info) == elf.STT_NOTYPE || elf.ST_TYPE(elfsym.Info) == elf.STT_SECTION {
    			continue
    		}
    
    		// Symbols whose names start with "type:" are compiler generated,
    		// so make functions with that prefix internal.
    		ver := 0
    		symname := elfsym.Name // (unmangled) symbol name
    		if elf.ST_TYPE(elfsym.Info) == elf.STT_FUNC && strings.HasPrefix(elfsym.Name, "type:") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  3. src/debug/elf/elf.go

    	Name  uint32
    	Value uint32
    	Size  uint32
    	Info  uint8
    	Other uint8
    	Shndx uint16
    }
    
    const Sym32Size = 16
    
    func ST_BIND(info uint8) SymBind { return SymBind(info >> 4) }
    func ST_TYPE(info uint8) SymType { return SymType(info & 0xF) }
    func ST_INFO(bind SymBind, typ SymType) uint8 {
    	return uint8(bind)<<4 | uint8(typ)&0xf
    }
    func ST_VISIBILITY(other uint8) SymVis { return SymVis(other & 3) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"STT_TLS", Const, 0},
    		{"STV_DEFAULT", Const, 0},
    		{"STV_HIDDEN", Const, 0},
    		{"STV_INTERNAL", Const, 0},
    		{"STV_PROTECTED", Const, 0},
    		{"ST_BIND", Func, 0},
    		{"ST_INFO", Func, 0},
    		{"ST_TYPE", Func, 0},
    		{"ST_VISIBILITY", Func, 0},
    		{"Section", Type, 0},
    		{"Section.ReaderAt", Field, 0},
    		{"Section.SectionHeader", Field, 0},
    		{"Section32", Type, 0},
    		{"Section32.Addr", Field, 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)
Back to top