Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 184 for elf_ (0.04 sec)

  1. 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)
  2. src/cmd/link/internal/arm/asm.go

    				out.Write32(uint32(elf.R_ARM_CALL) | uint32(elfsym)<<8)
    			} else {
    				out.Write32(uint32(elf.R_ARM_JUMP24) | uint32(elfsym)<<8)
    			}
    		} else {
    			return false
    		}
    	case objabi.R_TLS_LE:
    		out.Write32(uint32(elf.R_ARM_TLS_LE32) | uint32(elfsym)<<8)
    	case objabi.R_TLS_IE:
    		out.Write32(uint32(elf.R_ARM_TLS_IE32) | uint32(elfsym)<<8)
    	case objabi.R_GOTPCREL:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  3. test/fixedbugs/issue10607a.go

    package main
    
    import (
    	"bytes"
    	"debug/elf"
    	"fmt"
    	"os"
    )
    
    func main() {
    	f, err := elf.Open("/proc/self/exe")
    	if err != nil {
    		if os.IsNotExist(err) {
    			return
    		}
    		fmt.Fprintln(os.Stderr, "opening /proc/self/exe:", err)
    		os.Exit(1)
    	}
    
    	c := 0
    	fail := false
    	for i, s := range f.Sections {
    		if s.Type != elf.SHT_NOTE {
    			continue
    		}
    
    		d, err := s.Data()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 07 14:00:27 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  4. src/cmd/link/internal/amd64/asm.go

    				out.Write64(uint64(elf.R_X86_64_PLT32) | uint64(elfsym)<<32)
    			} else {
    				out.Write64(uint64(elf.R_X86_64_PC32) | uint64(elfsym)<<32)
    			}
    		} else {
    			return false
    		}
    	case objabi.R_GOTPCREL:
    		if siz == 4 {
    			out.Write64(uint64(elf.R_X86_64_GOTPCREL) | uint64(elfsym)<<32)
    		} else {
    			return false
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  5. src/debug/gosym/pclntab_test.go

    	f.Close()
    	return tab
    }
    
    func crack(file string, t *testing.T) (*elf.File, *Table) {
    	// Open self
    	f, err := elf.Open(file)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return parse(file, f, t)
    }
    
    func parse(file string, f *elf.File, t *testing.T) (*elf.File, *Table) {
    	s := f.Section(".gosymtab")
    	if s == nil {
    		t.Skip("no .gosymtab section")
    	}
    	symdat, err := s.Data()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 17:17:44 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/buildid_linux.go

    // one.
    
    import (
    	"bytes"
    	"debug/elf"
    	"os"
    	"testing"
    )
    
    func testBuildID(t *testing.T) {
    	f, err := elf.Open("/proc/self/exe")
    	if err != nil {
    		if os.IsNotExist(err) {
    			t.Skip("no /proc/self/exe")
    		}
    		t.Fatal("opening /proc/self/exe: ", err)
    	}
    	defer f.Close()
    
    	c := 0
    sections:
    	for i, s := range f.Sections {
    		if s.Type != elf.SHT_NOTE {
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testshared/shared_test.go

    	}
    }
    
    func hasDynTag(f *elf.File, tag elf.DynTag) bool {
    	ds := f.SectionByType(elf.SHT_DYNAMIC)
    	if ds == nil {
    		return false
    	}
    	d, err := ds.Data()
    	if err != nil {
    		return false
    	}
    	for len(d) > 0 {
    		var t elf.DynTag
    		switch f.Class {
    		case elf.ELFCLASS32:
    			t = elf.DynTag(f.ByteOrder.Uint32(d[0:4]))
    			d = d[8:]
    		case elf.ELFCLASS64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  8. src/debug/dwarf/entry_test.go

    		{0x10, nil},
    		{0x400611, nil},
    	}
    	testRanges(t, "testdata/line-gcc.elf", want)
    
    	want = []wantRange{
    		{0x401122, [][2]uint64{{0x401122, 0x401166}}},
    		{0x401165, [][2]uint64{{0x401122, 0x401166}}},
    		{0x401166, [][2]uint64{{0x401166, 0x401179}}},
    	}
    	testRanges(t, "testdata/line-gcc-dwarf5.elf", want)
    
    	want = []wantRange{
    		{0x401130, [][2]uint64{{0x401130, 0x40117e}}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:36 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testcarchive/carchive_test.go

    		case ".strtab":
    			want = elf.SHT_STRTAB
    		case ".init_array":
    			want = elf.SHT_INIT_ARRAY
    		case ".fini_array":
    			want = elf.SHT_FINI_ARRAY
    		case ".preinit_array":
    			want = elf.SHT_PREINIT_ARRAY
    		}
    		if want != elf.SHT_NULL && sec.Type != want {
    			t.Errorf("%s: incorrect section type in elf file at %d for section %q: got %v want %v", arname, off, sec.Name, sec.Type, want)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  10. src/cmd/link/doc.go

    into an executable binary.
    
    # Command Line
    
    Usage:
    
    	go tool link [flags] main.a
    
    Flags:
    
    	-B note
    		Add an ELF_NT_GNU_BUILD_ID note when using ELF.
    		The value should start with 0x and be an even number of hex digits.
    		Alternatively, you can pass "gobuildid" in order to derive the
    		GNU build ID from the Go build ID.
    	-E entry
    		Set entry symbol name.
    	-H type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:11:52 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top