Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ET_EXEC (0.14 sec)

  1. src/debug/elf/elf_test.go

    package elf
    
    import (
    	"fmt"
    	"testing"
    )
    
    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"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:36 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    		// address space. Assume that the address has already been
    		// adjusted, so no additional base adjustment is necessary.
    		return 0, nil
    	}
    
    	switch fh.Type {
    	case elf.ET_EXEC:
    		if loadSegment == nil {
    			// Assume fixed-address executable and so no adjustment.
    			return 0, nil
    		}
    		if stextOffset == nil && start > 0 && start < 0x8000000000000000 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/debug/elf/file.go

    	sectionData := func(i int, s *Section) ([]byte, error) {
    		b, err := s.Data()
    		if err != nil && uint64(len(b)) < s.Size {
    			return nil, err
    		}
    
    		if f.Type == ET_EXEC {
    			// Do not apply relocations to DWARF sections for ET_EXEC binaries.
    			// Relocations should already be applied, and .rela sections may
    			// contain incorrect data.
    			return b, nil
    		}
    
    		for _, r := range f.Sections {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  4. src/debug/elf/file_test.go

    	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},
    			{".interp", SHT_PROGBITS, SHF_ALLOC, 0x80480d4, 0xd4, 0x15, 0x0, 0x0, 0x1, 0x0, 0x15},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  5. src/debug/elf/elf.go

    // Type is found in Header.Type.
    type Type uint16
    
    const (
    	ET_NONE   Type = 0      /* Unknown type. */
    	ET_REL    Type = 1      /* Relocatable. */
    	ET_EXEC   Type = 2      /* Executable. */
    	ET_DYN    Type = 3      /* Shared object. */
    	ET_CORE   Type = 4      /* Core file. */
    	ET_LOOS   Type = 0xfe00 /* First operating system specific. */
    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/link/internal/ld/elf.go

    	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)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"EM_XGATE", Const, 11},
    		{"EM_XIMO16", Const, 11},
    		{"EM_XTENSA", Const, 11},
    		{"EM_Z80", Const, 11},
    		{"EM_ZSP", Const, 11},
    		{"ET_CORE", Const, 0},
    		{"ET_DYN", Const, 0},
    		{"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},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg debug/elf, const EM_V800 Machine
    pkg debug/elf, const EM_VPP500 Machine
    pkg debug/elf, const EM_X86_64 Machine
    pkg debug/elf, const ET_CORE Type
    pkg debug/elf, const ET_DYN Type
    pkg debug/elf, const ET_EXEC Type
    pkg debug/elf, const ET_HIOS Type
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  9. api/go1.1.txt

    pkg debug/elf, const EM_V800 = 36
    pkg debug/elf, const EM_VPP500 = 17
    pkg debug/elf, const EM_X86_64 = 62
    pkg debug/elf, const ET_CORE = 4
    pkg debug/elf, const ET_DYN = 3
    pkg debug/elf, const ET_EXEC = 2
    pkg debug/elf, const ET_HIOS = 65279
    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
    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