Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for EV_CURRENT (0.17 sec)

  1. src/debug/elf/file_test.go

    	sections []SectionHeader
    	progs    []ProgHeader
    	needed   []string
    	symbols  []Symbol
    }
    
    var fileTests = []fileTest{
    	{
    		"testdata/gcc-386-freebsd-exec",
    		FileHeader{ELFCLASS32, ELFDATA2LSB, EV_CURRENT, ELFOSABI_FREEBSD, 0, binary.LittleEndian, ET_EXEC, EM_386, 0x80483cc},
    		[]SectionHeader{
    			{"", SHT_NULL, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
    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/cmd/link/internal/ld/elf.go

    	}
    	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 {
    		eh.Type = uint16(elf.ET_EXEC)
    	}
    
    	if ctxt.LinkMode != LinkExternal {
    		eh.Entry = uint64(Entryvalue(ctxt))
    	}
    
    	eh.Version = uint32(elf.EV_CURRENT)
    
    	if pph != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  3. src/debug/elf/elf.go

    const ELFMAG = "\177ELF"
    
    // Version is found in Header.Ident[EI_VERSION] and Header.Version.
    type Version byte
    
    const (
    	EV_NONE    Version = 0
    	EV_CURRENT Version = 1
    )
    
    var versionStrings = []intName{
    	{0, "EV_NONE"},
    	{1, "EV_CURRENT"},
    }
    
    func (i Version) String() string   { return stringName(uint32(i), versionStrings, false) }
    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/debug/elf/file.go

    	case ELFDATA2MSB:
    		bo = binary.BigEndian
    	default:
    		return nil, &FormatError{0, "unknown ELF data encoding", f.Data}
    	}
    	f.ByteOrder = bo
    
    	f.Version = Version(ident[EI_VERSION])
    	if f.Version != EV_CURRENT {
    		return nil, &FormatError{0, "unknown ELF version", f.Version}
    	}
    
    	f.OSABI = OSABI(ident[EI_OSABI])
    	f.ABIVersion = ident[EI_ABIVERSION]
    
    	// Read ELF file header
    	var phoff int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ET_EXEC", Const, 0},
    		{"ET_HIOS", Const, 0},
    		{"ET_HIPROC", Const, 0},
    		{"ET_LOOS", Const, 0},
    		{"ET_LOPROC", Const, 0},
    		{"ET_NONE", Const, 0},
    		{"ET_REL", Const, 0},
    		{"EV_CURRENT", Const, 0},
    		{"EV_NONE", Const, 0},
    		{"ErrNoSymbols", Var, 4},
    		{"File", Type, 0},
    		{"File.FileHeader", Field, 0},
    		{"File.Progs", Field, 0},
    		{"File.Sections", 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)
  6. api/go1.txt

    pkg debug/elf, const ET_HIPROC Type
    pkg debug/elf, const ET_LOOS Type
    pkg debug/elf, const ET_LOPROC Type
    pkg debug/elf, const ET_NONE Type
    pkg debug/elf, const ET_REL Type
    pkg debug/elf, const EV_CURRENT Version
    pkg debug/elf, const EV_NONE Version
    pkg debug/elf, const NT_FPREGSET NType
    pkg debug/elf, const NT_PRPSINFO NType
    pkg debug/elf, const NT_PRSTATUS NType
    pkg debug/elf, const PF_MASKOS ProgFlag
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  7. api/go1.1.txt

    pkg debug/elf, const ET_HIPROC = 65535
    pkg debug/elf, const ET_LOOS = 65024
    pkg debug/elf, const ET_LOPROC = 65280
    pkg debug/elf, const ET_NONE = 0
    pkg debug/elf, const ET_REL = 1
    pkg debug/elf, const EV_CURRENT = 1
    pkg debug/elf, const EV_NONE = 0
    pkg debug/elf, const NT_FPREGSET = 2
    pkg debug/elf, const NT_PRPSINFO = 3
    pkg debug/elf, const NT_PRSTATUS = 1
    pkg debug/elf, const PF_MASKOS = 267386880
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top