Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for elf_ (0.05 sec)

  1. src/cmd/link/internal/ld/elf_test.go

    	defer fi.Close()
    
    	elfFile, err := elf.NewFile(fi)
    	if err != nil {
    		t.Skip("The system may not support ELF, skipped.")
    	}
    	defer elfFile.Close()
    
    	// 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
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    		$2 ~ /^E([ABCD]X|[BIS]P|[SD]I|S|FL)$/ {next}  # 386 registers
    		$2 ~ /^(SIGEV_|SIGSTKSZ|SIGRT(MIN|MAX))/ {next}
    		$2 ~ /^(SCM_SRCRT)$/ {next}
    		$2 ~ /^(MAP_FAILED)$/ {next}
    		$2 ~ /^ELF_.*$/ {next}# <asm/elf.h> contains ELF_ARCH, etc.
    
    		$2 ~ /^EXTATTR_NAMESPACE_NAMES/ ||
    		$2 ~ /^EXTATTR_NAMESPACE_[A-Z]+_STRING/ {next}
    
    		$2 !~ /^ECCAPBITS/ &&
    		$2 !~ /^ETH_/ &&
    		$2 !~ /^EPROC_/ &&
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/ppc64/obj9.go

    // prologue.
    func isNOTOCfunc(name string) bool {
    	switch {
    	case name == "runtime.duffzero":
    		return true
    	case name == "runtime.duffcopy":
    		return true
    	case strings.HasPrefix(name, "runtime.elf_"):
    		return true
    	default:
    		return false
    	}
    }
    
    // Try converting FMOVD/FMOVS to XXSPLTIDP. If it is converted,
    // return true.
    func convertFMOVtoXXSPLTIDP(p *obj.Prog) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    // section or nil if the segment cannot be found.
    func FindTextProgHeader(f *elf.File) *elf.ProgHeader {
    	for _, s := range f.Sections {
    		if s.Name == ".text" {
    			// Find the LOAD segment containing the .text section.
    			for _, p := range f.Progs {
    				if p.Type == elf.PT_LOAD && p.Flags&elf.PF_X != 0 && s.Addr >= p.Vaddr && s.Addr < p.Vaddr+p.Memsz {
    					return &p.ProgHeader
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. api/go1.23.txt

    pkg debug/elf, const PT_OPENBSD_NOBTCFI = 1705237480 #66054
    pkg debug/elf, const PT_OPENBSD_NOBTCFI ProgType #66054
    pkg debug/elf, const STT_GNU_IFUNC = 10 #66836
    pkg debug/elf, const STT_GNU_IFUNC SymType #66836
    pkg debug/elf, const STT_RELC = 8 #66836
    pkg debug/elf, const STT_RELC SymType #66836
    pkg debug/elf, const STT_SRELC = 9 #66836
    pkg debug/elf, const STT_SRELC SymType #66836
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. src/debug/buildinfo/buildinfo.go

    func (x *elfExe) DataStart() (uint64, uint64) {
    	for _, s := range x.f.Sections {
    		if s.Name == ".go.buildinfo" {
    			return s.Addr, s.Size
    		}
    	}
    	for _, p := range x.f.Progs {
    		if p.Type == elf.PT_LOAD && p.Flags&(elf.PF_X|elf.PF_W) == elf.PF_W {
    			return p.Vaddr, p.Memsz
    		}
    	}
    	return 0, 0
    }
    
    // peExe is the PE (Windows Portable Executable) implementation of the exe interface.
    type peExe struct {
    	f *pe.File
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. src/cmd/link/internal/loong64/obj.go

    		Archinit:         archinit,
    		Archreloc:        archreloc,
    		Archrelocvariant: archrelocvariant,
    		Extreloc:         extreloc,
    		Machoreloc1:      machoreloc1,
    		Gentext:          gentext,
    
    		ELF: ld.ELFArch{
    			Linuxdynld:     "/lib64/ld-linux-loongarch-lp64d.so.1",
    			LinuxdynldMusl: "/lib/ld-musl-loongarch64.so.1",
    			Freebsddynld:   "XXX",
    			Openbsddynld:   "XXX",
    			Netbsddynld:    "XXX",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 13:49:14 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    		return elfexec.FindTextProgHeader(ef), nil
    	}
    
    	// Fetch all the loadable segments.
    	var phdrs []elf.ProgHeader
    	for i := range ef.Progs {
    		if ef.Progs[i].Type == elf.PT_LOAD {
    			phdrs = append(phdrs, ef.Progs[i].ProgHeader)
    		}
    	}
    	// Some ELF files don't contain any loadable program segments, e.g. .ko
    	// kernel modules. It's not an error to have no header in such cases.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/main.go

    	flag.Var(&ctxt.BuildMode, "buildmode", "set build `mode`")
    	flag.BoolVar(&ctxt.compressDWARF, "compressdwarf", true, "compress DWARF if possible")
    	objabi.Flagfn1("B", "add an ELF NT_GNU_BUILD_ID `note` when using ELF; use \"gobuildid\" to generate it from the Go build ID", addbuildinfo)
    	objabi.Flagfn1("L", "add specified `directory` to library path", func(a string) { Lflag(ctxt, a) })
    	objabi.AddVersionFlag() // -V
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. 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)
Back to top