Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 184 for elf_ (0.05 sec)

  1. src/debug/dwarf/open.go

    // Rather than calling this function directly, clients should typically use
    // the DWARF method of the File type of the appropriate package [debug/elf],
    // [debug/macho], or [debug/pe].
    //
    // The []byte arguments are the data from the corresponding debug section
    // in the object file; for example, for an ELF object, abbrev is the contents of
    // the ".debug_abbrev" section.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testerrors/testdata/err5.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    //line /tmp/_cgo_.go:1
    //go:cgo_dynamic_linker "/elf/interp"
    // ERROR MESSAGE: only allowed in cgo-generated code
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:40:57 UTC 2023
    - 304 bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    -     by constructing a non GOT reference to the symbol, the dynamic
    -     address of the symbol we compute using adrp/add to compute the
    -     symbol's address relative to the PC. */
    -
    -  ElfW(Addr) static_addr;
    -  ElfW(Addr) dynamic_addr;
    -
    -  asm ("					\n\
    -	adrp	%1, _dl_start;			\n\
    -        add	%1, %1, #:lo12:_dl_start        \n\
    -        ldr	%w0, 1f				\n\
    -	b	2f				\n\
    -1:	.word	_dl_start			\n\
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  4. src/go/internal/gccgoimporter/importer.go

    	goimporterMagic = "\n$$ "
    	archiveMagic    = "!<ar"
    	aixbigafMagic   = "<big"
    )
    
    // Opens the export data file at the given path. If this is an ELF file,
    // searches for and opens the .go_export section. If this is an archive,
    // reads the export data from the first member, which is assumed to be an ELF file.
    // This is intended to replicate the logic in gofrontend.
    func openExportFile(fpath string) (reader io.ReadSeeker, closer io.Closer, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 6.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    		return elfexec.FindTextProgHeader(ef), nil
    	}
    
    	// Fetch all the loadable segments.
    	var phdrs []elf.ProgHeader
    	for i := range ef.Progs {
    		if ef.Progs[i].Type == elf.PT_LOAD {
    			phdrs = append(phdrs, ef.Progs[i].ProgHeader)
    		}
    	}
    	// Some ELF files don't contain any loadable program segments, e.g. .ko
    	// kernel modules. It's not an error to have no header in such cases.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/link.go

    // THE SOFTWARE.
    
    package ld
    
    import (
    	"bufio"
    	"cmd/internal/objabi"
    	"cmd/link/internal/loader"
    	"cmd/link/internal/sym"
    	"debug/elf"
    	"fmt"
    )
    
    type Shlib struct {
    	Path string
    	Hash []byte
    	Deps []string
    	File *elf.File
    }
    
    // Link holds the context for writing object code from a compiler
    // or for reading that input into the linker.
    type Link struct {
    	Target
    	ErrorReporter
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/debug/dwarf/testdata/typedef.c

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
    Linux ELF:
    gcc -gdwarf-2 -m64 -c typedef.c && gcc -gdwarf-2 -m64 -o typedef.elf typedef.o
    
    OS X Mach-O:
    gcc -gdwarf-2 -m64 -c typedef.c -o typedef.macho
    gcc -gdwarf-4 -m64 -c typedef.c -o typedef.macho4
    */
    #include <complex.h>
    
    typedef volatile int* t_ptr_volatile_int;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 02 19:56:24 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  10. api/go1.16.txt

    pkg debug/elf, const DT_CONFIG = 1879047930
    pkg debug/elf, const DT_CONFIG DynTag
    pkg debug/elf, const DT_DEPAUDIT = 1879047931
    pkg debug/elf, const DT_DEPAUDIT DynTag
    pkg debug/elf, const DT_FEATURE = 1879047676
    pkg debug/elf, const DT_FEATURE DynTag
    pkg debug/elf, const DT_FILTER = 2147483647
    pkg debug/elf, const DT_FILTER DynTag
    pkg debug/elf, const DT_FLAGS_1 = 1879048187
    pkg debug/elf, const DT_FLAGS_1 DynTag
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
Back to top