Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 77 for elf_ (0.04 sec)

  1. 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)
  2. src/debug/dwarf/line_test.go

    		{Address: 0x40101d, EndSequence: true},
    	}
    	files := [][]*LineFile{{file}}
    
    	testLineTable(t, want, files, elfData(t, "testdata/rnglistx.elf"))
    }
    
    func TestLineSeek(t *testing.T) {
    	d := elfData(t, "testdata/line-gcc.elf")
    
    	// Get the line table for the first CU.
    	cu, err := d.Reader().Next()
    	if err != nil {
    		t.Fatal("d.Reader().Next:", err)
    	}
    	lr, err := d.LineReader(cu)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:36 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/platform/internal/ReadelfBinaryInfoTest.groovy

            def inputLines = input.readLines()
    
            then:
            ReadelfBinaryInfo.readArch(inputLines).isI386() == true
    
            where:
            [language, input] << [
                ["English", """
    ELF Header:
     Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
     Class:                             ELF32
     Data:                              2's complement, little endian
     Version:                           1 (current)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 23:09:11 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. src/cmd/dist/util.go

    }
    
    func min(a, b int) int {
    	if a < b {
    		return a
    	}
    	return b
    }
    
    // elfIsLittleEndian detects if the ELF file is little endian.
    func elfIsLittleEndian(fn string) bool {
    	// read the ELF file header to determine the endianness without using the
    	// debug/elf package.
    	file, err := os.Open(fn)
    	if err != nil {
    		fatalf("failed to open file to determine endianness: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 17:50:29 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/decodesym.go

    	rs := decodeRelocSym(ctxt.loader, s, &relocs, 2*int32(ctxt.Arch.PtrSize)+8+1*int32(ctxt.Arch.PtrSize))
    	return ctxt.loader.Data(rs)
    }
    
    // Find the elf.Section of a given shared library that contains a given address.
    func findShlibSection(ctxt *Link, path string, addr uint64) *elf.Section {
    	for _, shlib := range ctxt.Shlibs {
    		if shlib.Path == path {
    			for _, sect := range shlib.File.Sections[1:] { // skip the NULL section
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/amd64/versions_test.go

    // which does not respect GOAMD64, so we skip the test if boringcrypto is enabled.
    //go:build !boringcrypto
    
    package amd64_test
    
    import (
    	"bufio"
    	"debug/elf"
    	"debug/macho"
    	"errors"
    	"fmt"
    	"go/build"
    	"internal/testenv"
    	"io"
    	"math"
    	"math/bits"
    	"os"
    	"os/exec"
    	"regexp"
    	"runtime"
    	"strconv"
    	"strings"
    	"testing"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/go.go

    package ld
    
    import (
    	"cmd/internal/bio"
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"cmd/internal/sys"
    	"cmd/link/internal/loader"
    	"cmd/link/internal/sym"
    	"debug/elf"
    	"encoding/json"
    	"fmt"
    	"io"
    	"os"
    	"sort"
    	"strconv"
    	"strings"
    )
    
    // go-specific code shared across loaders (5l, 6l, 8l).
    
    // TODO:
    //	generate debugging section in binary.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/s390x/a.out.go

    	REGCTXT = REG_R12 // context for closures
    	REGG    = REG_R13 // G
    	REG_LR  = REG_R14 // link register
    	REGSP   = REG_R15 // stack pointer
    )
    
    // LINUX for zSeries ELF Application Binary Interface Supplement
    // https://refspecs.linuxfoundation.org/ELF/zSeries/lzsabi0_zSeries/x1472.html
    var S390XDWARFRegisters = map[int16]int16{}
    
    func init() {
    	// f assigns dwarfregisters[from:to by step] = (base):((to-from)/step+base)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 16:41:03 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  9. api/go1.18.txt

    pkg debug/buildinfo, type BuildInfo = debug.BuildInfo
    pkg debug/dwarf, type BasicType struct, DataBitOffset int64
    pkg debug/dwarf, type StructField struct, DataBitOffset int64
    pkg debug/elf, const R_PPC64_RELATIVE = 22
    pkg debug/elf, const R_PPC64_RELATIVE R_PPC64
    pkg debug/plan9obj, var ErrNoSymbols error
    pkg go/ast, method (*IndexListExpr) End() token.Pos
    pkg go/ast, method (*IndexListExpr) Pos() token.Pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  10. api/go1.12.txt

    pkg crypto/tls, const VersionTLS13 = 772
    pkg crypto/tls, const VersionTLS13 ideal-int
    pkg crypto/tls, type RecordHeaderError struct, Conn net.Conn
    pkg debug/elf, const R_RISCV_32_PCREL = 57
    pkg debug/elf, const R_RISCV_32_PCREL R_RISCV
    pkg debug/pe, const IMAGE_FILE_MACHINE_ARMNT = 452
    pkg debug/pe, const IMAGE_FILE_MACHINE_ARMNT ideal-int
    pkg expvar, method (*Map) Delete(string)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
Back to top