Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 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/link/internal/ld/elf.go

    		eh.Ident[elf.EI_CLASS] = byte(elf.ELFCLASS32)
    	}
    	if ctxt.Arch.ByteOrder == binary.BigEndian {
    		eh.Ident[elf.EI_DATA] = byte(elf.ELFDATA2MSB)
    	} else {
    		eh.Ident[elf.EI_DATA] = byte(elf.ELFDATA2LSB)
    	}
    	eh.Ident[elf.EI_VERSION] = byte(elf.EV_CURRENT)
    
    	if ctxt.LinkMode == LinkExternal {
    		eh.Type = uint16(elf.ET_REL)
    	} else if ctxt.BuildMode == BuildModePIE {
    		eh.Type = uint16(elf.ET_DYN)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  5. src/debug/elf/elf.go

     * $FreeBSD: src/sys/i386/include/elf.h,v 1.16 2004/08/02 19:12:17 dfr Exp $
     * $FreeBSD: src/sys/powerpc/include/elf.h,v 1.7 2004/11/02 09:47:01 ssouhlal Exp $
     * $FreeBSD: src/sys/sparc64/include/elf.h,v 1.12 2003/09/25 01:10:26 peter Exp $
     * "System V ABI" (http://www.sco.com/developers/gabi/latest/ch4.eheader.html)
     * "ELF for the ARMĀ® 64-bit Architecture (AArch64)" (ARM IHI 0056B)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/debug/elf/file.go

    resources, or cause panics.
    */
    package elf
    
    import (
    	"bytes"
    	"compress/zlib"
    	"debug/dwarf"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"internal/saferio"
    	"internal/zstd"
    	"io"
    	"os"
    	"strings"
    	"unsafe"
    )
    
    // TODO: error reporting detail
    
    /*
     * Internal ELF representation
     */
    
    // A FileHeader represents an ELF file header.
    type FileHeader struct {
    	Class      Class
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top